docs.go 819 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808
  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": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1065. "name": "querytype",
  1066. "in": "query",
  1067. "required": true
  1068. }
  1069. ],
  1070. "responses": {
  1071. "200": {
  1072. "description": "OK",
  1073. "schema": {
  1074. "type": "array",
  1075. "items": {
  1076. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1077. }
  1078. }
  1079. },
  1080. "500": {
  1081. "description": "Internal Server Error",
  1082. "schema": {
  1083. "$ref": "#/definitions/app.Response"
  1084. }
  1085. }
  1086. }
  1087. }
  1088. },
  1089. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1090. "get": {
  1091. "security": [
  1092. {
  1093. "ApiKeyAuth": []
  1094. }
  1095. ],
  1096. "produces": [
  1097. "application/json"
  1098. ],
  1099. "tags": [
  1100. "企业风险管理(app)"
  1101. ],
  1102. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1103. "parameters": [
  1104. {
  1105. "type": "integer",
  1106. "description": "用户ID",
  1107. "name": "userid",
  1108. "in": "query"
  1109. },
  1110. {
  1111. "type": "integer",
  1112. "description": "主账号id",
  1113. "name": "accountid",
  1114. "in": "query"
  1115. }
  1116. ],
  1117. "responses": {
  1118. "200": {
  1119. "description": "OK",
  1120. "schema": {
  1121. "type": "array",
  1122. "items": {
  1123. "$ref": "#/definitions/models.MainAccountInfo"
  1124. }
  1125. }
  1126. },
  1127. "500": {
  1128. "description": "Internal Server Error",
  1129. "schema": {
  1130. "$ref": "#/definitions/app.Response"
  1131. }
  1132. }
  1133. }
  1134. }
  1135. },
  1136. "/Ermcp/QueryAccMgrRole": {
  1137. "get": {
  1138. "security": [
  1139. {
  1140. "ApiKeyAuth": []
  1141. }
  1142. ],
  1143. "produces": [
  1144. "application/json"
  1145. ],
  1146. "tags": [
  1147. "企业风险管理(app)"
  1148. ],
  1149. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1150. "parameters": [
  1151. {
  1152. "type": "integer",
  1153. "description": "用户ID",
  1154. "name": "userid",
  1155. "in": "query",
  1156. "required": true
  1157. }
  1158. ],
  1159. "responses": {
  1160. "200": {
  1161. "description": "OK",
  1162. "schema": {
  1163. "type": "array",
  1164. "items": {
  1165. "$ref": "#/definitions/models.ErmcpRole"
  1166. }
  1167. }
  1168. },
  1169. "500": {
  1170. "description": "Internal Server Error",
  1171. "schema": {
  1172. "$ref": "#/definitions/app.Response"
  1173. }
  1174. }
  1175. }
  1176. }
  1177. },
  1178. "/Ermcp/QueryAccMgrRoleMenu": {
  1179. "get": {
  1180. "security": [
  1181. {
  1182. "ApiKeyAuth": []
  1183. }
  1184. ],
  1185. "produces": [
  1186. "application/json"
  1187. ],
  1188. "tags": [
  1189. "企业风险管理(app)"
  1190. ],
  1191. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1192. "parameters": [
  1193. {
  1194. "type": "integer",
  1195. "description": "用户ID",
  1196. "name": "userid",
  1197. "in": "query",
  1198. "required": true
  1199. },
  1200. {
  1201. "type": "string",
  1202. "description": "角色id(可多个,逗号隔开)",
  1203. "name": "roleid",
  1204. "in": "query"
  1205. }
  1206. ],
  1207. "responses": {
  1208. "200": {
  1209. "description": "OK",
  1210. "schema": {
  1211. "type": "array",
  1212. "items": {
  1213. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1214. }
  1215. }
  1216. },
  1217. "500": {
  1218. "description": "Internal Server Error",
  1219. "schema": {
  1220. "$ref": "#/definitions/app.Response"
  1221. }
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1227. "get": {
  1228. "security": [
  1229. {
  1230. "ApiKeyAuth": []
  1231. }
  1232. ],
  1233. "produces": [
  1234. "application/json"
  1235. ],
  1236. "tags": [
  1237. "企业风险管理(app)"
  1238. ],
  1239. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1240. "parameters": [
  1241. {
  1242. "type": "integer",
  1243. "description": "用户ID",
  1244. "name": "userid",
  1245. "in": "query",
  1246. "required": true
  1247. },
  1248. {
  1249. "type": "integer",
  1250. "description": "账号id",
  1251. "name": "accountid",
  1252. "in": "query"
  1253. }
  1254. ],
  1255. "responses": {
  1256. "200": {
  1257. "description": "OK",
  1258. "schema": {
  1259. "type": "array",
  1260. "items": {
  1261. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1262. }
  1263. }
  1264. },
  1265. "500": {
  1266. "description": "Internal Server Error",
  1267. "schema": {
  1268. "$ref": "#/definitions/app.Response"
  1269. }
  1270. }
  1271. }
  1272. }
  1273. },
  1274. "/Ermcp/QueryAccMgrTaaccount": {
  1275. "get": {
  1276. "security": [
  1277. {
  1278. "ApiKeyAuth": []
  1279. }
  1280. ],
  1281. "produces": [
  1282. "application/json"
  1283. ],
  1284. "tags": [
  1285. "企业风险管理(app)"
  1286. ],
  1287. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1288. "parameters": [
  1289. {
  1290. "type": "integer",
  1291. "description": "用户ID",
  1292. "name": "userid",
  1293. "in": "query",
  1294. "required": true
  1295. }
  1296. ],
  1297. "responses": {
  1298. "200": {
  1299. "description": "OK",
  1300. "schema": {
  1301. "type": "array",
  1302. "items": {
  1303. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1304. }
  1305. }
  1306. },
  1307. "500": {
  1308. "description": "Internal Server Error",
  1309. "schema": {
  1310. "$ref": "#/definitions/app.Response"
  1311. }
  1312. }
  1313. }
  1314. }
  1315. },
  1316. "/Ermcp/QueryAvaildGoodsGroup": {
  1317. "get": {
  1318. "security": [
  1319. {
  1320. "ApiKeyAuth": []
  1321. }
  1322. ],
  1323. "produces": [
  1324. "application/json"
  1325. ],
  1326. "tags": [
  1327. "企业风险管理(app)"
  1328. ],
  1329. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1330. "parameters": [
  1331. {
  1332. "type": "integer",
  1333. "description": "所属机构ID",
  1334. "name": "userid",
  1335. "in": "query",
  1336. "required": true
  1337. }
  1338. ],
  1339. "responses": {
  1340. "200": {
  1341. "description": "OK",
  1342. "schema": {
  1343. "type": "array",
  1344. "items": {
  1345. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1346. }
  1347. }
  1348. },
  1349. "500": {
  1350. "description": "Internal Server Error",
  1351. "schema": {
  1352. "$ref": "#/definitions/app.Response"
  1353. }
  1354. }
  1355. }
  1356. }
  1357. },
  1358. "/Ermcp/QueryChangeLog": {
  1359. "get": {
  1360. "security": [
  1361. {
  1362. "ApiKeyAuth": []
  1363. }
  1364. ],
  1365. "produces": [
  1366. "application/json"
  1367. ],
  1368. "tags": [
  1369. "企业风险管理(app)"
  1370. ],
  1371. "summary": "查询变更记录",
  1372. "parameters": [
  1373. {
  1374. "type": "string",
  1375. "description": "合同ID",
  1376. "name": "RelatedId",
  1377. "in": "query",
  1378. "required": true
  1379. }
  1380. ],
  1381. "responses": {
  1382. "200": {
  1383. "description": "OK",
  1384. "schema": {
  1385. "type": "array",
  1386. "items": {
  1387. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1388. }
  1389. }
  1390. },
  1391. "500": {
  1392. "description": "Internal Server Error",
  1393. "schema": {
  1394. "$ref": "#/definitions/app.Response"
  1395. }
  1396. }
  1397. }
  1398. }
  1399. },
  1400. "/Ermcp/QueryErmcpHisOrderDetails": {
  1401. "get": {
  1402. "security": [
  1403. {
  1404. "ApiKeyAuth": []
  1405. }
  1406. ],
  1407. "produces": [
  1408. "application/json"
  1409. ],
  1410. "tags": [
  1411. "企业风险管理(app)"
  1412. ],
  1413. "summary": "获取企业风管期货历史委托单信息",
  1414. "parameters": [
  1415. {
  1416. "type": "integer",
  1417. "description": "资金账户ID",
  1418. "name": "accountID",
  1419. "in": "query",
  1420. "required": true
  1421. },
  1422. {
  1423. "type": "string",
  1424. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1425. "name": "startDate",
  1426. "in": "query"
  1427. },
  1428. {
  1429. "type": "string",
  1430. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1431. "name": "endDate",
  1432. "in": "query"
  1433. }
  1434. ],
  1435. "responses": {
  1436. "200": {
  1437. "description": "OK",
  1438. "schema": {
  1439. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1440. }
  1441. },
  1442. "500": {
  1443. "description": "Internal Server Error",
  1444. "schema": {
  1445. "$ref": "#/definitions/app.Response"
  1446. }
  1447. }
  1448. }
  1449. }
  1450. },
  1451. "/Ermcp/QueryErmcpHisTradeDetails": {
  1452. "get": {
  1453. "security": [
  1454. {
  1455. "ApiKeyAuth": []
  1456. }
  1457. ],
  1458. "produces": [
  1459. "application/json"
  1460. ],
  1461. "tags": [
  1462. "企业风险管理(app)"
  1463. ],
  1464. "summary": "获取企业风管期货历史成交单信息",
  1465. "parameters": [
  1466. {
  1467. "type": "integer",
  1468. "description": "资金账户ID",
  1469. "name": "accountID",
  1470. "in": "query",
  1471. "required": true
  1472. },
  1473. {
  1474. "type": "integer",
  1475. "description": "商品ID",
  1476. "name": "goodsID",
  1477. "in": "query"
  1478. },
  1479. {
  1480. "type": "integer",
  1481. "description": "买卖方向,0:买 1:卖",
  1482. "name": "buyOrSell",
  1483. "in": "query"
  1484. },
  1485. {
  1486. "type": "integer",
  1487. "description": "关联委托单号",
  1488. "name": "orderID",
  1489. "in": "query"
  1490. },
  1491. {
  1492. "type": "string",
  1493. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1494. "name": "startDate",
  1495. "in": "query"
  1496. },
  1497. {
  1498. "type": "string",
  1499. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1500. "name": "endDate",
  1501. "in": "query"
  1502. }
  1503. ],
  1504. "responses": {
  1505. "200": {
  1506. "description": "OK",
  1507. "schema": {
  1508. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1509. }
  1510. },
  1511. "500": {
  1512. "description": "Internal Server Error",
  1513. "schema": {
  1514. "$ref": "#/definitions/app.Response"
  1515. }
  1516. }
  1517. }
  1518. }
  1519. },
  1520. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1521. "get": {
  1522. "security": [
  1523. {
  1524. "ApiKeyAuth": []
  1525. }
  1526. ],
  1527. "produces": [
  1528. "application/json"
  1529. ],
  1530. "tags": [
  1531. "企业风险管理(app)"
  1532. ],
  1533. "summary": "获取企业风管期货内部持仓单信息",
  1534. "parameters": [
  1535. {
  1536. "type": "integer",
  1537. "description": "资金账户ID",
  1538. "name": "accountID",
  1539. "in": "query",
  1540. "required": true
  1541. },
  1542. {
  1543. "type": "integer",
  1544. "description": "商品ID",
  1545. "name": "goodsID",
  1546. "in": "query"
  1547. },
  1548. {
  1549. "type": "integer",
  1550. "description": "买卖方向,0:买 1:卖",
  1551. "name": "buyOrSell",
  1552. "in": "query"
  1553. }
  1554. ],
  1555. "responses": {
  1556. "200": {
  1557. "description": "OK",
  1558. "schema": {
  1559. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1560. }
  1561. },
  1562. "500": {
  1563. "description": "Internal Server Error",
  1564. "schema": {
  1565. "$ref": "#/definitions/app.Response"
  1566. }
  1567. }
  1568. }
  1569. }
  1570. },
  1571. "/Ermcp/QueryErmcpOrderDetails": {
  1572. "get": {
  1573. "security": [
  1574. {
  1575. "ApiKeyAuth": []
  1576. }
  1577. ],
  1578. "produces": [
  1579. "application/json"
  1580. ],
  1581. "tags": [
  1582. "企业风险管理(app)"
  1583. ],
  1584. "summary": "获取企业风管期货委托单信息",
  1585. "parameters": [
  1586. {
  1587. "type": "integer",
  1588. "description": "资金账户ID",
  1589. "name": "accountID",
  1590. "in": "query",
  1591. "required": true
  1592. }
  1593. ],
  1594. "responses": {
  1595. "200": {
  1596. "description": "OK",
  1597. "schema": {
  1598. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/app.Response"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/Ermcp/QueryErmcpTradeDetails": {
  1611. "get": {
  1612. "security": [
  1613. {
  1614. "ApiKeyAuth": []
  1615. }
  1616. ],
  1617. "produces": [
  1618. "application/json"
  1619. ],
  1620. "tags": [
  1621. "企业风险管理(app)"
  1622. ],
  1623. "summary": "获取企业风管期货成交单信息",
  1624. "parameters": [
  1625. {
  1626. "type": "integer",
  1627. "description": "资金账户ID",
  1628. "name": "accountID",
  1629. "in": "query",
  1630. "required": true
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "商品ID",
  1635. "name": "goodsID",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "买卖方向,0:买 1:卖",
  1641. "name": "buyOrSell",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "integer",
  1646. "description": "关联委托单号",
  1647. "name": "orderID",
  1648. "in": "query"
  1649. }
  1650. ],
  1651. "responses": {
  1652. "200": {
  1653. "description": "OK",
  1654. "schema": {
  1655. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1656. }
  1657. },
  1658. "500": {
  1659. "description": "Internal Server Error",
  1660. "schema": {
  1661. "$ref": "#/definitions/app.Response"
  1662. }
  1663. }
  1664. }
  1665. }
  1666. },
  1667. "/Ermcp/QueryErmcpTradePosition": {
  1668. "get": {
  1669. "security": [
  1670. {
  1671. "ApiKeyAuth": []
  1672. }
  1673. ],
  1674. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1675. "produces": [
  1676. "application/json"
  1677. ],
  1678. "tags": [
  1679. "企业风险管理(app)"
  1680. ],
  1681. "summary": "获取企业风管期货持仓头寸信息",
  1682. "parameters": [
  1683. {
  1684. "type": "integer",
  1685. "description": "资金账户ID",
  1686. "name": "accountID",
  1687. "in": "query",
  1688. "required": true
  1689. },
  1690. {
  1691. "type": "integer",
  1692. "description": "所属市场ID",
  1693. "name": "marketID",
  1694. "in": "query"
  1695. }
  1696. ],
  1697. "responses": {
  1698. "200": {
  1699. "description": "OK",
  1700. "schema": {
  1701. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1702. }
  1703. },
  1704. "500": {
  1705. "description": "Internal Server Error",
  1706. "schema": {
  1707. "$ref": "#/definitions/app.Response"
  1708. }
  1709. }
  1710. }
  1711. }
  1712. },
  1713. "/Ermcp/QueryExposureDetail": {
  1714. "get": {
  1715. "security": [
  1716. {
  1717. "ApiKeyAuth": []
  1718. }
  1719. ],
  1720. "produces": [
  1721. "application/json"
  1722. ],
  1723. "tags": [
  1724. "企业风险管理(app)"
  1725. ],
  1726. "summary": "查询敞口现货明细",
  1727. "parameters": [
  1728. {
  1729. "type": "integer",
  1730. "description": "所属机构ID",
  1731. "name": "areaUserId",
  1732. "in": "query",
  1733. "required": true
  1734. },
  1735. {
  1736. "type": "integer",
  1737. "description": "套保商品",
  1738. "name": "middleGoodsId",
  1739. "in": "query",
  1740. "required": true
  1741. }
  1742. ],
  1743. "responses": {
  1744. "200": {
  1745. "description": "OK",
  1746. "schema": {
  1747. "type": "array",
  1748. "items": {
  1749. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1750. }
  1751. }
  1752. },
  1753. "500": {
  1754. "description": "Internal Server Error",
  1755. "schema": {
  1756. "$ref": "#/definitions/app.Response"
  1757. }
  1758. }
  1759. }
  1760. }
  1761. },
  1762. "/Ermcp/QueryExposureHedgePosition": {
  1763. "get": {
  1764. "security": [
  1765. {
  1766. "ApiKeyAuth": []
  1767. }
  1768. ],
  1769. "produces": [
  1770. "application/json"
  1771. ],
  1772. "tags": [
  1773. "企业风险管理(app)"
  1774. ],
  1775. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1776. "parameters": [
  1777. {
  1778. "type": "integer",
  1779. "description": "用户id",
  1780. "name": "userid",
  1781. "in": "query",
  1782. "required": true
  1783. }
  1784. ],
  1785. "responses": {
  1786. "200": {
  1787. "description": "OK",
  1788. "schema": {
  1789. "type": "array",
  1790. "items": {
  1791. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1792. }
  1793. }
  1794. },
  1795. "500": {
  1796. "description": "Internal Server Error",
  1797. "schema": {
  1798. "$ref": "#/definitions/app.Response"
  1799. }
  1800. }
  1801. }
  1802. }
  1803. },
  1804. "/Ermcp/QueryExposureHedgePositionDetail": {
  1805. "get": {
  1806. "security": [
  1807. {
  1808. "ApiKeyAuth": []
  1809. }
  1810. ],
  1811. "produces": [
  1812. "application/json"
  1813. ],
  1814. "tags": [
  1815. "企业风险管理(app)"
  1816. ],
  1817. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1818. "parameters": [
  1819. {
  1820. "type": "integer",
  1821. "description": "所属机构ID",
  1822. "name": "userid",
  1823. "in": "query",
  1824. "required": true
  1825. },
  1826. {
  1827. "type": "integer",
  1828. "description": "商品id",
  1829. "name": "goodsId",
  1830. "in": "query",
  1831. "required": true
  1832. }
  1833. ],
  1834. "responses": {
  1835. "200": {
  1836. "description": "OK",
  1837. "schema": {
  1838. "type": "array",
  1839. "items": {
  1840. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1841. }
  1842. }
  1843. },
  1844. "500": {
  1845. "description": "Internal Server Error",
  1846. "schema": {
  1847. "$ref": "#/definitions/app.Response"
  1848. }
  1849. }
  1850. }
  1851. }
  1852. },
  1853. "/Ermcp/QueryExposureSpot": {
  1854. "get": {
  1855. "security": [
  1856. {
  1857. "ApiKeyAuth": []
  1858. }
  1859. ],
  1860. "produces": [
  1861. "application/json"
  1862. ],
  1863. "tags": [
  1864. "企业风险管理(app)"
  1865. ],
  1866. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1867. "parameters": [
  1868. {
  1869. "type": "integer",
  1870. "description": "所属机构ID",
  1871. "name": "areaUserId",
  1872. "in": "query",
  1873. "required": true
  1874. }
  1875. ],
  1876. "responses": {
  1877. "200": {
  1878. "description": "OK",
  1879. "schema": {
  1880. "type": "array",
  1881. "items": {
  1882. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1883. }
  1884. }
  1885. },
  1886. "500": {
  1887. "description": "Internal Server Error",
  1888. "schema": {
  1889. "$ref": "#/definitions/app.Response"
  1890. }
  1891. }
  1892. }
  1893. }
  1894. },
  1895. "/Ermcp/QueryExposureSpotDetail": {
  1896. "get": {
  1897. "security": [
  1898. {
  1899. "ApiKeyAuth": []
  1900. }
  1901. ],
  1902. "produces": [
  1903. "application/json"
  1904. ],
  1905. "tags": [
  1906. "企业风险管理(app)"
  1907. ],
  1908. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1909. "parameters": [
  1910. {
  1911. "type": "integer",
  1912. "description": "所属机构ID",
  1913. "name": "areaUserId",
  1914. "in": "query",
  1915. "required": true
  1916. },
  1917. {
  1918. "type": "integer",
  1919. "description": "现货品种ID",
  1920. "name": "wrstandardId",
  1921. "in": "query",
  1922. "required": true
  1923. }
  1924. ],
  1925. "responses": {
  1926. "200": {
  1927. "description": "OK",
  1928. "schema": {
  1929. "type": "array",
  1930. "items": {
  1931. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1932. }
  1933. }
  1934. },
  1935. "500": {
  1936. "description": "Internal Server Error",
  1937. "schema": {
  1938. "$ref": "#/definitions/app.Response"
  1939. }
  1940. }
  1941. }
  1942. }
  1943. },
  1944. "/Ermcp/QueryFuturesCompany": {
  1945. "get": {
  1946. "security": [
  1947. {
  1948. "ApiKeyAuth": []
  1949. }
  1950. ],
  1951. "produces": [
  1952. "application/json"
  1953. ],
  1954. "tags": [
  1955. "企业风险管理(app)"
  1956. ],
  1957. "summary": "查询期货公司",
  1958. "responses": {
  1959. "200": {
  1960. "description": "OK",
  1961. "schema": {
  1962. "type": "array",
  1963. "items": {
  1964. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  1965. }
  1966. }
  1967. },
  1968. "500": {
  1969. "description": "Internal Server Error",
  1970. "schema": {
  1971. "$ref": "#/definitions/app.Response"
  1972. }
  1973. }
  1974. }
  1975. }
  1976. },
  1977. "/Ermcp/QueryGGConvertConfig": {
  1978. "get": {
  1979. "security": [
  1980. {
  1981. "ApiKeyAuth": []
  1982. }
  1983. ],
  1984. "produces": [
  1985. "application/json"
  1986. ],
  1987. "tags": [
  1988. "企业风险管理(app)"
  1989. ],
  1990. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1991. "parameters": [
  1992. {
  1993. "type": "integer",
  1994. "description": "品种id(不填则查所有)",
  1995. "name": "goodsgroupid",
  1996. "in": "query"
  1997. }
  1998. ],
  1999. "responses": {
  2000. "200": {
  2001. "description": "OK",
  2002. "schema": {
  2003. "type": "array",
  2004. "items": {
  2005. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2006. }
  2007. }
  2008. },
  2009. "500": {
  2010. "description": "Internal Server Error",
  2011. "schema": {
  2012. "$ref": "#/definitions/app.Response"
  2013. }
  2014. }
  2015. }
  2016. }
  2017. },
  2018. "/Ermcp/QueryGoodsBrand": {
  2019. "get": {
  2020. "security": [
  2021. {
  2022. "ApiKeyAuth": []
  2023. }
  2024. ],
  2025. "produces": [
  2026. "application/json"
  2027. ],
  2028. "tags": [
  2029. "企业风险管理(app)"
  2030. ],
  2031. "summary": "查询商品品牌",
  2032. "parameters": [
  2033. {
  2034. "type": "integer",
  2035. "description": "用户ID",
  2036. "name": "userid",
  2037. "in": "query",
  2038. "required": true
  2039. },
  2040. {
  2041. "type": "integer",
  2042. "description": "现货商品ID",
  2043. "name": "wrstandardid",
  2044. "in": "query"
  2045. }
  2046. ],
  2047. "responses": {
  2048. "200": {
  2049. "description": "OK",
  2050. "schema": {
  2051. "type": "array",
  2052. "items": {
  2053. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2054. }
  2055. }
  2056. },
  2057. "500": {
  2058. "description": "Internal Server Error",
  2059. "schema": {
  2060. "$ref": "#/definitions/app.Response"
  2061. }
  2062. }
  2063. }
  2064. }
  2065. },
  2066. "/Ermcp/QueryGoodsModel": {
  2067. "get": {
  2068. "security": [
  2069. {
  2070. "ApiKeyAuth": []
  2071. }
  2072. ],
  2073. "produces": [
  2074. "application/json"
  2075. ],
  2076. "tags": [
  2077. "企业风险管理(app)"
  2078. ],
  2079. "summary": "查询商品型号",
  2080. "parameters": [
  2081. {
  2082. "type": "integer",
  2083. "description": "用户ID",
  2084. "name": "userid",
  2085. "in": "query",
  2086. "required": true
  2087. }
  2088. ],
  2089. "responses": {
  2090. "200": {
  2091. "description": "OK",
  2092. "schema": {
  2093. "type": "array",
  2094. "items": {
  2095. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2096. }
  2097. }
  2098. },
  2099. "500": {
  2100. "description": "Internal Server Error",
  2101. "schema": {
  2102. "$ref": "#/definitions/app.Response"
  2103. }
  2104. }
  2105. }
  2106. }
  2107. },
  2108. "/Ermcp/QueryHisExposure": {
  2109. "get": {
  2110. "security": [
  2111. {
  2112. "ApiKeyAuth": []
  2113. }
  2114. ],
  2115. "produces": [
  2116. "application/json"
  2117. ],
  2118. "tags": [
  2119. "企业风险管理(app)"
  2120. ],
  2121. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2122. "parameters": [
  2123. {
  2124. "type": "integer",
  2125. "description": "用户id",
  2126. "name": "userid",
  2127. "in": "query",
  2128. "required": true
  2129. },
  2130. {
  2131. "type": "integer",
  2132. "description": "每个品种记录数",
  2133. "name": "lastNum",
  2134. "in": "query",
  2135. "required": true
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "OK",
  2141. "schema": {
  2142. "type": "array",
  2143. "items": {
  2144. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2145. }
  2146. }
  2147. },
  2148. "500": {
  2149. "description": "Internal Server Error",
  2150. "schema": {
  2151. "$ref": "#/definitions/app.Response"
  2152. }
  2153. }
  2154. }
  2155. }
  2156. },
  2157. "/Ermcp/QueryMiddleGoods": {
  2158. "get": {
  2159. "security": [
  2160. {
  2161. "ApiKeyAuth": []
  2162. }
  2163. ],
  2164. "produces": [
  2165. "application/json"
  2166. ],
  2167. "tags": [
  2168. "企业风险管理(app)"
  2169. ],
  2170. "summary": "查询套保品种(菜单:套保品种)",
  2171. "parameters": [
  2172. {
  2173. "type": "integer",
  2174. "description": "所属机构ID",
  2175. "name": "userid",
  2176. "in": "query",
  2177. "required": true
  2178. },
  2179. {
  2180. "type": "integer",
  2181. "description": "状态 0-停用 1-正常",
  2182. "name": "status",
  2183. "in": "query",
  2184. "required": true
  2185. }
  2186. ],
  2187. "responses": {
  2188. "200": {
  2189. "description": "OK",
  2190. "schema": {
  2191. "type": "array",
  2192. "items": {
  2193. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2194. }
  2195. }
  2196. },
  2197. "500": {
  2198. "description": "Internal Server Error",
  2199. "schema": {
  2200. "$ref": "#/definitions/app.Response"
  2201. }
  2202. }
  2203. }
  2204. }
  2205. },
  2206. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2207. "get": {
  2208. "security": [
  2209. {
  2210. "ApiKeyAuth": []
  2211. }
  2212. ],
  2213. "produces": [
  2214. "application/json"
  2215. ],
  2216. "tags": [
  2217. "企业风险管理(app)"
  2218. ],
  2219. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2220. "parameters": [
  2221. {
  2222. "type": "integer",
  2223. "description": "所属机构ID",
  2224. "name": "userid",
  2225. "in": "query",
  2226. "required": true
  2227. },
  2228. {
  2229. "type": "integer",
  2230. "description": "套保品种id",
  2231. "name": "middlegoodsid",
  2232. "in": "query",
  2233. "required": true
  2234. }
  2235. ],
  2236. "responses": {
  2237. "200": {
  2238. "description": "OK",
  2239. "schema": {
  2240. "type": "array",
  2241. "items": {
  2242. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2243. }
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Ermcp/QueryMiddleGoodsDetail": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "企业风险管理(app)"
  2267. ],
  2268. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2269. "parameters": [
  2270. {
  2271. "type": "integer",
  2272. "description": "所属机构ID",
  2273. "name": "userid",
  2274. "in": "query",
  2275. "required": true
  2276. },
  2277. {
  2278. "type": "integer",
  2279. "description": "套保品种id",
  2280. "name": "middlegoodsid",
  2281. "in": "query"
  2282. }
  2283. ],
  2284. "responses": {
  2285. "200": {
  2286. "description": "OK",
  2287. "schema": {
  2288. "type": "array",
  2289. "items": {
  2290. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2291. }
  2292. }
  2293. },
  2294. "500": {
  2295. "description": "Internal Server Error",
  2296. "schema": {
  2297. "$ref": "#/definitions/app.Response"
  2298. }
  2299. }
  2300. }
  2301. }
  2302. },
  2303. "/Ermcp/QueryPendingAuditInfo": {
  2304. "get": {
  2305. "security": [
  2306. {
  2307. "ApiKeyAuth": []
  2308. }
  2309. ],
  2310. "produces": [
  2311. "application/json"
  2312. ],
  2313. "tags": [
  2314. "企业风险管理(app)"
  2315. ],
  2316. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2317. "parameters": [
  2318. {
  2319. "type": "integer",
  2320. "description": "用户ID",
  2321. "name": "UserId",
  2322. "in": "query",
  2323. "required": true
  2324. }
  2325. ],
  2326. "responses": {
  2327. "200": {
  2328. "description": "OK",
  2329. "schema": {
  2330. "type": "array",
  2331. "items": {
  2332. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2333. }
  2334. }
  2335. },
  2336. "500": {
  2337. "description": "Internal Server Error",
  2338. "schema": {
  2339. "$ref": "#/definitions/app.Response"
  2340. }
  2341. }
  2342. }
  2343. }
  2344. },
  2345. "/Ermcp/QueryRealtimeExposure": {
  2346. "get": {
  2347. "security": [
  2348. {
  2349. "ApiKeyAuth": []
  2350. }
  2351. ],
  2352. "produces": [
  2353. "application/json"
  2354. ],
  2355. "tags": [
  2356. "企业风险管理(app)"
  2357. ],
  2358. "summary": "查询实时敞口",
  2359. "parameters": [
  2360. {
  2361. "type": "integer",
  2362. "description": "所属机构ID",
  2363. "name": "userid",
  2364. "in": "query",
  2365. "required": true
  2366. }
  2367. ],
  2368. "responses": {
  2369. "200": {
  2370. "description": "OK",
  2371. "schema": {
  2372. "type": "array",
  2373. "items": {
  2374. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2375. }
  2376. }
  2377. },
  2378. "500": {
  2379. "description": "Internal Server Error",
  2380. "schema": {
  2381. "$ref": "#/definitions/app.Response"
  2382. }
  2383. }
  2384. }
  2385. }
  2386. },
  2387. "/Ermcp/QueryRealtimeExposurePosition": {
  2388. "get": {
  2389. "security": [
  2390. {
  2391. "ApiKeyAuth": []
  2392. }
  2393. ],
  2394. "produces": [
  2395. "application/json"
  2396. ],
  2397. "tags": [
  2398. "企业风险管理(app)"
  2399. ],
  2400. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2401. "parameters": [
  2402. {
  2403. "type": "integer",
  2404. "description": "用户id",
  2405. "name": "userid",
  2406. "in": "query",
  2407. "required": true
  2408. },
  2409. {
  2410. "type": "integer",
  2411. "description": "套保商品ID",
  2412. "name": "middleGoodsId",
  2413. "in": "query",
  2414. "required": true
  2415. }
  2416. ],
  2417. "responses": {
  2418. "200": {
  2419. "description": "OK",
  2420. "schema": {
  2421. "type": "array",
  2422. "items": {
  2423. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2424. }
  2425. }
  2426. },
  2427. "500": {
  2428. "description": "Internal Server Error",
  2429. "schema": {
  2430. "$ref": "#/definitions/app.Response"
  2431. }
  2432. }
  2433. }
  2434. }
  2435. },
  2436. "/Ermcp/QueryTradeConfigTMP": {
  2437. "get": {
  2438. "security": [
  2439. {
  2440. "ApiKeyAuth": []
  2441. }
  2442. ],
  2443. "produces": [
  2444. "application/json"
  2445. ],
  2446. "tags": [
  2447. "企业风险管理(app)"
  2448. ],
  2449. "summary": "查询交易模板配置",
  2450. "parameters": [
  2451. {
  2452. "type": "integer",
  2453. "description": "所属机构id",
  2454. "name": "areauserid",
  2455. "in": "query"
  2456. }
  2457. ],
  2458. "responses": {
  2459. "200": {
  2460. "description": "OK",
  2461. "schema": {
  2462. "type": "array",
  2463. "items": {
  2464. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2465. }
  2466. }
  2467. },
  2468. "500": {
  2469. "description": "Internal Server Error",
  2470. "schema": {
  2471. "$ref": "#/definitions/app.Response"
  2472. }
  2473. }
  2474. }
  2475. }
  2476. },
  2477. "/Ermcp/QueryUserInfo": {
  2478. "get": {
  2479. "security": [
  2480. {
  2481. "ApiKeyAuth": []
  2482. }
  2483. ],
  2484. "produces": [
  2485. "application/json"
  2486. ],
  2487. "tags": [
  2488. "企业风险管理(app)"
  2489. ],
  2490. "summary": "查询客户资料",
  2491. "parameters": [
  2492. {
  2493. "type": "integer",
  2494. "description": "所属机构用户ID",
  2495. "name": "MemberUserID",
  2496. "in": "query",
  2497. "required": true
  2498. },
  2499. {
  2500. "type": "integer",
  2501. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2502. "name": "queryType",
  2503. "in": "query",
  2504. "required": true
  2505. }
  2506. ],
  2507. "responses": {
  2508. "200": {
  2509. "description": "OK",
  2510. "schema": {
  2511. "type": "array",
  2512. "items": {
  2513. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2514. }
  2515. }
  2516. },
  2517. "500": {
  2518. "description": "Internal Server Error",
  2519. "schema": {
  2520. "$ref": "#/definitions/app.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/Ermcp/QueryWarehouseInfo": {
  2527. "get": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "produces": [
  2534. "application/json"
  2535. ],
  2536. "tags": [
  2537. "企业风险管理(app)"
  2538. ],
  2539. "summary": "查询仓库信息",
  2540. "parameters": [
  2541. {
  2542. "type": "integer",
  2543. "description": "用户ID",
  2544. "name": "userid",
  2545. "in": "query",
  2546. "required": true
  2547. },
  2548. {
  2549. "type": "string",
  2550. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2551. "name": "status",
  2552. "in": "query"
  2553. }
  2554. ],
  2555. "responses": {
  2556. "200": {
  2557. "description": "OK",
  2558. "schema": {
  2559. "type": "array",
  2560. "items": {
  2561. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2562. }
  2563. }
  2564. },
  2565. "500": {
  2566. "description": "Internal Server Error",
  2567. "schema": {
  2568. "$ref": "#/definitions/app.Response"
  2569. }
  2570. }
  2571. }
  2572. }
  2573. },
  2574. "/Ermcp3/QryReckonAreaExpourse": {
  2575. "get": {
  2576. "security": [
  2577. {
  2578. "ApiKeyAuth": []
  2579. }
  2580. ],
  2581. "produces": [
  2582. "application/json"
  2583. ],
  2584. "tags": [
  2585. "企业风险管理v3(app)"
  2586. ],
  2587. "summary": "查询敞口日报表(报表/敞口报表/日报表)",
  2588. "parameters": [
  2589. {
  2590. "type": "integer",
  2591. "description": "用户ID",
  2592. "name": "userid",
  2593. "in": "query",
  2594. "required": true
  2595. },
  2596. {
  2597. "type": "string",
  2598. "description": "交易日(YYYYMMDD)",
  2599. "name": "tradedate",
  2600. "in": "query",
  2601. "required": true
  2602. }
  2603. ],
  2604. "responses": {
  2605. "200": {
  2606. "description": "OK",
  2607. "schema": {
  2608. "type": "array",
  2609. "items": {
  2610. "$ref": "#/definitions/models.Ermcp3ReckonExpourse"
  2611. }
  2612. }
  2613. },
  2614. "500": {
  2615. "description": "Internal Server Error",
  2616. "schema": {
  2617. "$ref": "#/definitions/app.Response"
  2618. }
  2619. }
  2620. }
  2621. }
  2622. },
  2623. "/Ermcp3/QryReportAreaExpourse": {
  2624. "get": {
  2625. "security": [
  2626. {
  2627. "ApiKeyAuth": []
  2628. }
  2629. ],
  2630. "produces": [
  2631. "application/json"
  2632. ],
  2633. "tags": [
  2634. "企业风险管理v3(app)"
  2635. ],
  2636. "summary": "查询敞口周期报表(报表/敞口报表/周(月、季、年)报表)",
  2637. "parameters": [
  2638. {
  2639. "type": "integer",
  2640. "description": "用户ID",
  2641. "name": "userid",
  2642. "in": "query",
  2643. "required": true
  2644. },
  2645. {
  2646. "type": "integer",
  2647. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2648. "name": "cycletype",
  2649. "in": "query",
  2650. "required": true
  2651. },
  2652. {
  2653. "type": "string",
  2654. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  2655. "name": "cycletime",
  2656. "in": "query",
  2657. "required": true
  2658. }
  2659. ],
  2660. "responses": {
  2661. "200": {
  2662. "description": "OK",
  2663. "schema": {
  2664. "type": "array",
  2665. "items": {
  2666. "$ref": "#/definitions/models.Ermcp3ReportExpourse"
  2667. }
  2668. }
  2669. },
  2670. "500": {
  2671. "description": "Internal Server Error",
  2672. "schema": {
  2673. "$ref": "#/definitions/app.Response"
  2674. }
  2675. }
  2676. }
  2677. }
  2678. },
  2679. "/Ermcp3/QryReportAreaSpotPL": {
  2680. "get": {
  2681. "security": [
  2682. {
  2683. "ApiKeyAuth": []
  2684. }
  2685. ],
  2686. "produces": [
  2687. "application/json"
  2688. ],
  2689. "tags": [
  2690. "企业风险管理v3(app)"
  2691. ],
  2692. "summary": "查询现货损益报表(现货损益报表)",
  2693. "parameters": [
  2694. {
  2695. "type": "integer",
  2696. "description": "用户ID",
  2697. "name": "userid",
  2698. "in": "query",
  2699. "required": true
  2700. },
  2701. {
  2702. "type": "integer",
  2703. "description": "查询类型 1-日报表 2-月报表",
  2704. "name": "querytype",
  2705. "in": "query",
  2706. "required": true
  2707. },
  2708. {
  2709. "type": "string",
  2710. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2711. "name": "querydate",
  2712. "in": "query",
  2713. "required": true
  2714. },
  2715. {
  2716. "type": "integer",
  2717. "description": "现货商品ID",
  2718. "name": "deliverygoodsid",
  2719. "in": "query"
  2720. },
  2721. {
  2722. "type": "integer",
  2723. "description": "品牌ID",
  2724. "name": "spotgoodsbrandid",
  2725. "in": "query"
  2726. },
  2727. {
  2728. "type": "integer",
  2729. "description": "品类ID",
  2730. "name": "wrstandardid",
  2731. "in": "query"
  2732. }
  2733. ],
  2734. "responses": {
  2735. "200": {
  2736. "description": "OK",
  2737. "schema": {
  2738. "type": "array",
  2739. "items": {
  2740. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  2741. }
  2742. }
  2743. },
  2744. "500": {
  2745. "description": "Internal Server Error",
  2746. "schema": {
  2747. "$ref": "#/definitions/app.Response"
  2748. }
  2749. }
  2750. }
  2751. }
  2752. },
  2753. "/Ermcp3/QryReportDayFinanceFp": {
  2754. "get": {
  2755. "security": [
  2756. {
  2757. "ApiKeyAuth": []
  2758. }
  2759. ],
  2760. "produces": [
  2761. "application/json"
  2762. ],
  2763. "tags": [
  2764. "企业风险管理v3(app)"
  2765. ],
  2766. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  2767. "parameters": [
  2768. {
  2769. "type": "integer",
  2770. "description": "用户ID",
  2771. "name": "userid",
  2772. "in": "query",
  2773. "required": true
  2774. },
  2775. {
  2776. "type": "string",
  2777. "description": "交易日(格式:yyyyMMdd)",
  2778. "name": "tradedate",
  2779. "in": "query",
  2780. "required": true
  2781. }
  2782. ],
  2783. "responses": {
  2784. "200": {
  2785. "description": "OK",
  2786. "schema": {
  2787. "type": "array",
  2788. "items": {
  2789. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2790. }
  2791. }
  2792. },
  2793. "500": {
  2794. "description": "Internal Server Error",
  2795. "schema": {
  2796. "$ref": "#/definitions/app.Response"
  2797. }
  2798. }
  2799. }
  2800. }
  2801. },
  2802. "/Ermcp3/QryReportDayFinanceKx": {
  2803. "get": {
  2804. "security": [
  2805. {
  2806. "ApiKeyAuth": []
  2807. }
  2808. ],
  2809. "produces": [
  2810. "application/json"
  2811. ],
  2812. "tags": [
  2813. "企业风险管理v3(app)"
  2814. ],
  2815. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  2816. "parameters": [
  2817. {
  2818. "type": "integer",
  2819. "description": "用户ID",
  2820. "name": "userid",
  2821. "in": "query",
  2822. "required": true
  2823. },
  2824. {
  2825. "type": "string",
  2826. "description": "交易日(格式:yyyyMMdd)",
  2827. "name": "tradedate",
  2828. "in": "query",
  2829. "required": true
  2830. }
  2831. ],
  2832. "responses": {
  2833. "200": {
  2834. "description": "OK",
  2835. "schema": {
  2836. "type": "array",
  2837. "items": {
  2838. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2839. }
  2840. }
  2841. },
  2842. "500": {
  2843. "description": "Internal Server Error",
  2844. "schema": {
  2845. "$ref": "#/definitions/app.Response"
  2846. }
  2847. }
  2848. }
  2849. }
  2850. },
  2851. "/Ermcp3/QryReportDaySpot": {
  2852. "get": {
  2853. "security": [
  2854. {
  2855. "ApiKeyAuth": []
  2856. }
  2857. ],
  2858. "produces": [
  2859. "application/json"
  2860. ],
  2861. "tags": [
  2862. "企业风险管理v3(app)"
  2863. ],
  2864. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  2865. "parameters": [
  2866. {
  2867. "type": "integer",
  2868. "description": "用户id",
  2869. "name": "userid",
  2870. "in": "query",
  2871. "required": true
  2872. },
  2873. {
  2874. "type": "string",
  2875. "description": "交易日(格式:yyyyMMdd)",
  2876. "name": "reckondate",
  2877. "in": "query",
  2878. "required": true
  2879. },
  2880. {
  2881. "type": "integer",
  2882. "description": "期货账户ID",
  2883. "name": "accountid",
  2884. "in": "query"
  2885. },
  2886. {
  2887. "type": "integer",
  2888. "description": "现货品种ID",
  2889. "name": "deliverygoodsid",
  2890. "in": "query"
  2891. },
  2892. {
  2893. "type": "integer",
  2894. "description": "品类ID",
  2895. "name": "wrstandardid",
  2896. "in": "query"
  2897. },
  2898. {
  2899. "type": "integer",
  2900. "description": "现货品牌ID",
  2901. "name": "spotgoodsbrandid",
  2902. "in": "query"
  2903. }
  2904. ],
  2905. "responses": {
  2906. "200": {
  2907. "description": "OK",
  2908. "schema": {
  2909. "type": "array",
  2910. "items": {
  2911. "$ref": "#/definitions/models.Ermcp3ReckonAreaSpotSub"
  2912. }
  2913. }
  2914. },
  2915. "500": {
  2916. "description": "Internal Server Error",
  2917. "schema": {
  2918. "$ref": "#/definitions/app.Response"
  2919. }
  2920. }
  2921. }
  2922. }
  2923. },
  2924. "/Ermcp3/QryReportDaySpotDetail": {
  2925. "get": {
  2926. "security": [
  2927. {
  2928. "ApiKeyAuth": []
  2929. }
  2930. ],
  2931. "produces": [
  2932. "application/json"
  2933. ],
  2934. "tags": [
  2935. "企业风险管理v3(app)"
  2936. ],
  2937. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  2938. "parameters": [
  2939. {
  2940. "type": "integer",
  2941. "description": "用户ID",
  2942. "name": "userid",
  2943. "in": "query",
  2944. "required": true
  2945. },
  2946. {
  2947. "type": "integer",
  2948. "description": "现货商品id",
  2949. "name": "deliverygoodsid",
  2950. "in": "query",
  2951. "required": true
  2952. },
  2953. {
  2954. "type": "string",
  2955. "description": "交易日(格式:yyyyMMdd)",
  2956. "name": "tradedate",
  2957. "in": "query",
  2958. "required": true
  2959. },
  2960. {
  2961. "type": "integer",
  2962. "description": "品类ID",
  2963. "name": "wrstandardid",
  2964. "in": "query"
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "现货品牌ID",
  2969. "name": "spotgoodsbrandid",
  2970. "in": "query"
  2971. }
  2972. ],
  2973. "responses": {
  2974. "200": {
  2975. "description": "OK",
  2976. "schema": {
  2977. "type": "array",
  2978. "items": {
  2979. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2980. }
  2981. }
  2982. },
  2983. "500": {
  2984. "description": "Internal Server Error",
  2985. "schema": {
  2986. "$ref": "#/definitions/app.Response"
  2987. }
  2988. }
  2989. }
  2990. }
  2991. },
  2992. "/Ermcp3/QryReportMonthSpot": {
  2993. "get": {
  2994. "security": [
  2995. {
  2996. "ApiKeyAuth": []
  2997. }
  2998. ],
  2999. "produces": [
  3000. "application/json"
  3001. ],
  3002. "tags": [
  3003. "企业风险管理v3(app)"
  3004. ],
  3005. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  3006. "parameters": [
  3007. {
  3008. "type": "integer",
  3009. "description": "用户id",
  3010. "name": "userid",
  3011. "in": "query",
  3012. "required": true
  3013. },
  3014. {
  3015. "type": "integer",
  3016. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3017. "name": "cycletype",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  3024. "name": "cycletime",
  3025. "in": "query",
  3026. "required": true
  3027. },
  3028. {
  3029. "type": "integer",
  3030. "description": "期货账户ID",
  3031. "name": "accountid",
  3032. "in": "query"
  3033. },
  3034. {
  3035. "type": "integer",
  3036. "description": "现货品种ID",
  3037. "name": "deliverygoodsid",
  3038. "in": "query"
  3039. },
  3040. {
  3041. "type": "integer",
  3042. "description": "品类ID",
  3043. "name": "wrstandardid",
  3044. "in": "query"
  3045. },
  3046. {
  3047. "type": "integer",
  3048. "description": "现货品牌ID",
  3049. "name": "spotgoodsbrandid",
  3050. "in": "query"
  3051. }
  3052. ],
  3053. "responses": {
  3054. "200": {
  3055. "description": "OK",
  3056. "schema": {
  3057. "type": "array",
  3058. "items": {
  3059. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  3060. }
  3061. }
  3062. },
  3063. "500": {
  3064. "description": "Internal Server Error",
  3065. "schema": {
  3066. "$ref": "#/definitions/app.Response"
  3067. }
  3068. }
  3069. }
  3070. }
  3071. },
  3072. "/Ermcp3/QryReportMonthSpotDetail": {
  3073. "get": {
  3074. "security": [
  3075. {
  3076. "ApiKeyAuth": []
  3077. }
  3078. ],
  3079. "produces": [
  3080. "application/json"
  3081. ],
  3082. "tags": [
  3083. "企业风险管理v3(app)"
  3084. ],
  3085. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  3086. "parameters": [
  3087. {
  3088. "type": "integer",
  3089. "description": "用户id",
  3090. "name": "userid",
  3091. "in": "query",
  3092. "required": true
  3093. },
  3094. {
  3095. "type": "integer",
  3096. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3097. "name": "cycletype",
  3098. "in": "query",
  3099. "required": true
  3100. },
  3101. {
  3102. "type": "string",
  3103. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  3104. "name": "cycletime",
  3105. "in": "query",
  3106. "required": true
  3107. },
  3108. {
  3109. "type": "integer",
  3110. "description": "期货账户ID",
  3111. "name": "accountid",
  3112. "in": "query"
  3113. },
  3114. {
  3115. "type": "integer",
  3116. "description": "现货品种ID",
  3117. "name": "deliverygoodsid",
  3118. "in": "query"
  3119. },
  3120. {
  3121. "type": "integer",
  3122. "description": "品类ID",
  3123. "name": "wrstandardid",
  3124. "in": "query"
  3125. },
  3126. {
  3127. "type": "integer",
  3128. "description": "现货品牌ID",
  3129. "name": "spotgoodsbrandid",
  3130. "in": "query"
  3131. }
  3132. ],
  3133. "responses": {
  3134. "200": {
  3135. "description": "OK",
  3136. "schema": {
  3137. "type": "array",
  3138. "items": {
  3139. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  3140. }
  3141. }
  3142. },
  3143. "500": {
  3144. "description": "Internal Server Error",
  3145. "schema": {
  3146. "$ref": "#/definitions/app.Response"
  3147. }
  3148. }
  3149. }
  3150. }
  3151. },
  3152. "/Ermcp3/QueryAreaStock": {
  3153. "get": {
  3154. "security": [
  3155. {
  3156. "ApiKeyAuth": []
  3157. }
  3158. ],
  3159. "produces": [
  3160. "application/json"
  3161. ],
  3162. "tags": [
  3163. "企业风险管理v3(app)"
  3164. ],
  3165. "summary": "查询机构库存(库存管理/当前库存)",
  3166. "parameters": [
  3167. {
  3168. "type": "integer",
  3169. "description": "用户ID",
  3170. "name": "userid",
  3171. "in": "query",
  3172. "required": true
  3173. }
  3174. ],
  3175. "responses": {
  3176. "200": {
  3177. "description": "OK",
  3178. "schema": {
  3179. "type": "array",
  3180. "items": {
  3181. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3182. }
  3183. }
  3184. },
  3185. "500": {
  3186. "description": "Internal Server Error",
  3187. "schema": {
  3188. "$ref": "#/definitions/app.Response"
  3189. }
  3190. }
  3191. }
  3192. }
  3193. },
  3194. "/Ermcp3/QueryAreaStockApply": {
  3195. "get": {
  3196. "security": [
  3197. {
  3198. "ApiKeyAuth": []
  3199. }
  3200. ],
  3201. "produces": [
  3202. "application/json"
  3203. ],
  3204. "tags": [
  3205. "企业风险管理v3(app)"
  3206. ],
  3207. "summary": "查询库存申请(出入库记录|库存审核)",
  3208. "parameters": [
  3209. {
  3210. "type": "integer",
  3211. "description": "用户ID",
  3212. "name": "userid",
  3213. "in": "query",
  3214. "required": true
  3215. },
  3216. {
  3217. "type": "integer",
  3218. "description": "现货商品ID",
  3219. "name": "deliverygoodsid",
  3220. "in": "query"
  3221. },
  3222. {
  3223. "type": "string",
  3224. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3225. "name": "inouttype",
  3226. "in": "query"
  3227. },
  3228. {
  3229. "type": "integer",
  3230. "description": "合同ID",
  3231. "name": "spotcontractid",
  3232. "in": "query"
  3233. },
  3234. {
  3235. "type": "integer",
  3236. "description": "品类ID",
  3237. "name": "wrstandardid",
  3238. "in": "query"
  3239. },
  3240. {
  3241. "type": "integer",
  3242. "description": "品牌ID",
  3243. "name": "spotgoodsbrandid",
  3244. "in": "query"
  3245. },
  3246. {
  3247. "type": "integer",
  3248. "description": "仓库ID",
  3249. "name": "warehouseinfoid",
  3250. "in": "query"
  3251. },
  3252. {
  3253. "type": "string",
  3254. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3255. "name": "applystatus",
  3256. "in": "query"
  3257. }
  3258. ],
  3259. "responses": {
  3260. "200": {
  3261. "description": "OK",
  3262. "schema": {
  3263. "type": "array",
  3264. "items": {
  3265. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3266. }
  3267. }
  3268. },
  3269. "500": {
  3270. "description": "Internal Server Error",
  3271. "schema": {
  3272. "$ref": "#/definitions/app.Response"
  3273. }
  3274. }
  3275. }
  3276. }
  3277. },
  3278. "/Ermcp3/QueryAreaStockApplySum": {
  3279. "get": {
  3280. "security": [
  3281. {
  3282. "ApiKeyAuth": []
  3283. }
  3284. ],
  3285. "produces": [
  3286. "application/json"
  3287. ],
  3288. "tags": [
  3289. "企业风险管理v3(app)"
  3290. ],
  3291. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3292. "parameters": [
  3293. {
  3294. "type": "integer",
  3295. "description": "合同ID",
  3296. "name": "spotcontractid",
  3297. "in": "query"
  3298. }
  3299. ],
  3300. "responses": {
  3301. "200": {
  3302. "description": "OK",
  3303. "schema": {
  3304. "type": "array",
  3305. "items": {
  3306. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3307. }
  3308. }
  3309. },
  3310. "500": {
  3311. "description": "Internal Server Error",
  3312. "schema": {
  3313. "$ref": "#/definitions/app.Response"
  3314. }
  3315. }
  3316. }
  3317. }
  3318. },
  3319. "/Ermcp3/QueryAreaStockReport": {
  3320. "get": {
  3321. "security": [
  3322. {
  3323. "ApiKeyAuth": []
  3324. }
  3325. ],
  3326. "produces": [
  3327. "application/json"
  3328. ],
  3329. "tags": [
  3330. "企业风险管理v3(app)"
  3331. ],
  3332. "summary": "查询库存报表",
  3333. "parameters": [
  3334. {
  3335. "type": "integer",
  3336. "description": "用户ID",
  3337. "name": "userid",
  3338. "in": "query",
  3339. "required": true
  3340. },
  3341. {
  3342. "type": "integer",
  3343. "description": "查询类型 1-日报表 2-月报表",
  3344. "name": "querytype",
  3345. "in": "query",
  3346. "required": true
  3347. },
  3348. {
  3349. "type": "string",
  3350. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  3351. "name": "querydate",
  3352. "in": "query",
  3353. "required": true
  3354. },
  3355. {
  3356. "type": "integer",
  3357. "description": "现货商品ID",
  3358. "name": "deliverygoodsid",
  3359. "in": "query"
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "品类ID",
  3364. "name": "wrstandardid",
  3365. "in": "query"
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "品牌ID",
  3370. "name": "spotgoodsbrandid",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "仓库ID",
  3376. "name": "warehouseinfoid",
  3377. "in": "query"
  3378. }
  3379. ],
  3380. "responses": {
  3381. "200": {
  3382. "description": "OK",
  3383. "schema": {
  3384. "type": "array",
  3385. "items": {
  3386. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  3387. }
  3388. }
  3389. },
  3390. "500": {
  3391. "description": "Internal Server Error",
  3392. "schema": {
  3393. "$ref": "#/definitions/app.Response"
  3394. }
  3395. }
  3396. }
  3397. }
  3398. },
  3399. "/Ermcp3/QueryAreaStockReportDetail": {
  3400. "get": {
  3401. "security": [
  3402. {
  3403. "ApiKeyAuth": []
  3404. }
  3405. ],
  3406. "produces": [
  3407. "application/json"
  3408. ],
  3409. "tags": [
  3410. "企业风险管理v3(app)"
  3411. ],
  3412. "summary": "查询库存报表明细",
  3413. "parameters": [
  3414. {
  3415. "type": "integer",
  3416. "description": "用户ID",
  3417. "name": "userid",
  3418. "in": "query",
  3419. "required": true
  3420. },
  3421. {
  3422. "type": "integer",
  3423. "description": "查询类型 1-日报表明细 2-月报表明细",
  3424. "name": "querytype",
  3425. "in": "query",
  3426. "required": true
  3427. },
  3428. {
  3429. "type": "integer",
  3430. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  3431. "name": "detailtype",
  3432. "in": "query",
  3433. "required": true
  3434. },
  3435. {
  3436. "type": "string",
  3437. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  3438. "name": "querydate",
  3439. "in": "query",
  3440. "required": true
  3441. },
  3442. {
  3443. "type": "integer",
  3444. "description": "现货商品ID",
  3445. "name": "deliverygoodsid",
  3446. "in": "query"
  3447. },
  3448. {
  3449. "type": "integer",
  3450. "description": "品类ID",
  3451. "name": "wrstandardid",
  3452. "in": "query"
  3453. },
  3454. {
  3455. "type": "integer",
  3456. "description": "品牌ID",
  3457. "name": "spotgoodsbrandid",
  3458. "in": "query"
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "仓库ID",
  3463. "name": "warehouseinfoid",
  3464. "in": "query"
  3465. }
  3466. ],
  3467. "responses": {
  3468. "200": {
  3469. "description": "OK",
  3470. "schema": {
  3471. "type": "array",
  3472. "items": {
  3473. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3474. }
  3475. }
  3476. },
  3477. "500": {
  3478. "description": "Internal Server Error",
  3479. "schema": {
  3480. "$ref": "#/definitions/app.Response"
  3481. }
  3482. }
  3483. }
  3484. }
  3485. },
  3486. "/Ermcp3/QueryDGFactoryItem": {
  3487. "get": {
  3488. "security": [
  3489. {
  3490. "ApiKeyAuth": []
  3491. }
  3492. ],
  3493. "produces": [
  3494. "application/json"
  3495. ],
  3496. "tags": [
  3497. "企业风险管理v3(app)"
  3498. ],
  3499. "summary": "查询品种要素定义项",
  3500. "parameters": [
  3501. {
  3502. "type": "integer",
  3503. "description": "用户id",
  3504. "name": "userid",
  3505. "in": "query"
  3506. },
  3507. {
  3508. "type": "integer",
  3509. "description": "用户类型 2-机构 7-企业成员",
  3510. "name": "usertype",
  3511. "in": "query"
  3512. },
  3513. {
  3514. "type": "integer",
  3515. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3516. "name": "dgfactoryitemid",
  3517. "in": "query"
  3518. },
  3519. {
  3520. "type": "integer",
  3521. "description": "现货品种ID",
  3522. "name": "deliverygoodsid",
  3523. "in": "query"
  3524. },
  3525. {
  3526. "type": "integer",
  3527. "description": "要素项类型",
  3528. "name": "dgfactoryitemtypeid",
  3529. "in": "query"
  3530. },
  3531. {
  3532. "type": "integer",
  3533. "description": "顺序",
  3534. "name": "orderindex",
  3535. "in": "query"
  3536. }
  3537. ],
  3538. "responses": {
  3539. "200": {
  3540. "description": "OK",
  3541. "schema": {
  3542. "type": "array",
  3543. "items": {
  3544. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3545. }
  3546. }
  3547. },
  3548. "500": {
  3549. "description": "Internal Server Error",
  3550. "schema": {
  3551. "$ref": "#/definitions/app.Response"
  3552. }
  3553. }
  3554. }
  3555. }
  3556. },
  3557. "/Ermcp3/QueryDeliveryGoods": {
  3558. "get": {
  3559. "security": [
  3560. {
  3561. "ApiKeyAuth": []
  3562. }
  3563. ],
  3564. "produces": [
  3565. "application/json"
  3566. ],
  3567. "tags": [
  3568. "企业风险管理v3(app)"
  3569. ],
  3570. "summary": "查询现货商品",
  3571. "parameters": [
  3572. {
  3573. "type": "integer",
  3574. "description": "用户id",
  3575. "name": "userid",
  3576. "in": "query",
  3577. "required": true
  3578. },
  3579. {
  3580. "type": "integer",
  3581. "description": "用户类型 2-机构 7-企业成员",
  3582. "name": "usertype",
  3583. "in": "query"
  3584. },
  3585. {
  3586. "type": "integer",
  3587. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3588. "name": "excludecfg",
  3589. "in": "query"
  3590. }
  3591. ],
  3592. "responses": {
  3593. "200": {
  3594. "description": "OK",
  3595. "schema": {
  3596. "type": "array",
  3597. "items": {
  3598. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3599. }
  3600. }
  3601. },
  3602. "500": {
  3603. "description": "Internal Server Error",
  3604. "schema": {
  3605. "$ref": "#/definitions/app.Response"
  3606. }
  3607. }
  3608. }
  3609. }
  3610. },
  3611. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3612. "get": {
  3613. "security": [
  3614. {
  3615. "ApiKeyAuth": []
  3616. }
  3617. ],
  3618. "produces": [
  3619. "application/json"
  3620. ],
  3621. "tags": [
  3622. "企业风险管理v3(app)"
  3623. ],
  3624. "summary": "查询现货商品详情",
  3625. "parameters": [
  3626. {
  3627. "type": "integer",
  3628. "description": "用户id",
  3629. "name": "userid",
  3630. "in": "query",
  3631. "required": true
  3632. },
  3633. {
  3634. "type": "integer",
  3635. "description": "用户类型 2-机构 7-企业成员",
  3636. "name": "usertype",
  3637. "in": "query"
  3638. },
  3639. {
  3640. "type": "integer",
  3641. "description": "现货商品id",
  3642. "name": "deliverygoodsid",
  3643. "in": "query"
  3644. }
  3645. ],
  3646. "responses": {
  3647. "200": {
  3648. "description": "OK",
  3649. "schema": {
  3650. "type": "array",
  3651. "items": {
  3652. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3653. }
  3654. }
  3655. },
  3656. "500": {
  3657. "description": "Internal Server Error",
  3658. "schema": {
  3659. "$ref": "#/definitions/app.Response"
  3660. }
  3661. }
  3662. }
  3663. }
  3664. },
  3665. "/Ermcp3/QueryExposureDetail": {
  3666. "get": {
  3667. "security": [
  3668. {
  3669. "ApiKeyAuth": []
  3670. }
  3671. ],
  3672. "produces": [
  3673. "application/json"
  3674. ],
  3675. "tags": [
  3676. "企业风险管理v3(app)"
  3677. ],
  3678. "summary": "查询敞口现货明细",
  3679. "parameters": [
  3680. {
  3681. "type": "integer",
  3682. "description": "用户id",
  3683. "name": "userid",
  3684. "in": "query",
  3685. "required": true
  3686. },
  3687. {
  3688. "type": "integer",
  3689. "description": "用户类型 2-机构 7-企业成员",
  3690. "name": "usertype",
  3691. "in": "query"
  3692. },
  3693. {
  3694. "type": "integer",
  3695. "description": "套保商品",
  3696. "name": "middlegoodsid",
  3697. "in": "query",
  3698. "required": true
  3699. }
  3700. ],
  3701. "responses": {
  3702. "200": {
  3703. "description": "OK",
  3704. "schema": {
  3705. "type": "array",
  3706. "items": {
  3707. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3708. }
  3709. }
  3710. },
  3711. "500": {
  3712. "description": "Internal Server Error",
  3713. "schema": {
  3714. "$ref": "#/definitions/app.Response"
  3715. }
  3716. }
  3717. }
  3718. }
  3719. },
  3720. "/Ermcp3/QueryExposureSpot": {
  3721. "get": {
  3722. "security": [
  3723. {
  3724. "ApiKeyAuth": []
  3725. }
  3726. ],
  3727. "produces": [
  3728. "application/json"
  3729. ],
  3730. "tags": [
  3731. "企业风险管理v3(app)"
  3732. ],
  3733. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3734. "parameters": [
  3735. {
  3736. "type": "integer",
  3737. "description": "用户id",
  3738. "name": "userid",
  3739. "in": "query",
  3740. "required": true
  3741. },
  3742. {
  3743. "type": "integer",
  3744. "description": "用户类型 2-机构 7-企业成员",
  3745. "name": "usertype",
  3746. "in": "query"
  3747. }
  3748. ],
  3749. "responses": {
  3750. "200": {
  3751. "description": "OK",
  3752. "schema": {
  3753. "type": "array",
  3754. "items": {
  3755. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3756. }
  3757. }
  3758. },
  3759. "500": {
  3760. "description": "Internal Server Error",
  3761. "schema": {
  3762. "$ref": "#/definitions/app.Response"
  3763. }
  3764. }
  3765. }
  3766. }
  3767. },
  3768. "/Ermcp3/QueryExposureSpotDetail": {
  3769. "get": {
  3770. "security": [
  3771. {
  3772. "ApiKeyAuth": []
  3773. }
  3774. ],
  3775. "produces": [
  3776. "application/json"
  3777. ],
  3778. "tags": [
  3779. "企业风险管理v3(app)"
  3780. ],
  3781. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3782. "parameters": [
  3783. {
  3784. "type": "integer",
  3785. "description": "用户id",
  3786. "name": "userid",
  3787. "in": "query",
  3788. "required": true
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "用户类型 2-机构 7-企业成员",
  3793. "name": "usertype",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "现货品种ID",
  3799. "name": "deliverygoodsid",
  3800. "in": "query",
  3801. "required": true
  3802. }
  3803. ],
  3804. "responses": {
  3805. "200": {
  3806. "description": "OK",
  3807. "schema": {
  3808. "type": "array",
  3809. "items": {
  3810. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3811. }
  3812. }
  3813. },
  3814. "500": {
  3815. "description": "Internal Server Error",
  3816. "schema": {
  3817. "$ref": "#/definitions/app.Response"
  3818. }
  3819. }
  3820. }
  3821. }
  3822. },
  3823. "/Ermcp3/QueryGoodsGroup": {
  3824. "get": {
  3825. "security": [
  3826. {
  3827. "ApiKeyAuth": []
  3828. }
  3829. ],
  3830. "produces": [
  3831. "application/json"
  3832. ],
  3833. "tags": [
  3834. "企业风险管理v3(app)"
  3835. ],
  3836. "summary": "查询期货商品组",
  3837. "parameters": [
  3838. {
  3839. "type": "integer",
  3840. "description": "用户id",
  3841. "name": "userid",
  3842. "in": "query",
  3843. "required": true
  3844. },
  3845. {
  3846. "type": "integer",
  3847. "description": "用户类型 2-机构 7-企业成员",
  3848. "name": "usertype",
  3849. "in": "query"
  3850. },
  3851. {
  3852. "type": "integer",
  3853. "description": "排除套保品中已关联的商品组 1-排除",
  3854. "name": "excludecfg",
  3855. "in": "query"
  3856. }
  3857. ],
  3858. "responses": {
  3859. "200": {
  3860. "description": "OK",
  3861. "schema": {
  3862. "type": "array",
  3863. "items": {
  3864. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3865. }
  3866. }
  3867. },
  3868. "500": {
  3869. "description": "Internal Server Error",
  3870. "schema": {
  3871. "$ref": "#/definitions/app.Response"
  3872. }
  3873. }
  3874. }
  3875. }
  3876. },
  3877. "/Ermcp3/QueryGoodsWrstandard": {
  3878. "get": {
  3879. "security": [
  3880. {
  3881. "ApiKeyAuth": []
  3882. }
  3883. ],
  3884. "produces": [
  3885. "application/json"
  3886. ],
  3887. "tags": [
  3888. "企业风险管理v3(app)"
  3889. ],
  3890. "summary": "查询商品品类",
  3891. "parameters": [
  3892. {
  3893. "type": "integer",
  3894. "description": "用户id",
  3895. "name": "userid",
  3896. "in": "query",
  3897. "required": true
  3898. },
  3899. {
  3900. "type": "integer",
  3901. "description": "用户类型 2-机构 7-企业成员",
  3902. "name": "usertype",
  3903. "in": "query"
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "现货商品id",
  3908. "name": "deliverygoodsid",
  3909. "in": "query"
  3910. }
  3911. ],
  3912. "responses": {
  3913. "200": {
  3914. "description": "OK",
  3915. "schema": {
  3916. "type": "array",
  3917. "items": {
  3918. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3919. }
  3920. }
  3921. },
  3922. "500": {
  3923. "description": "Internal Server Error",
  3924. "schema": {
  3925. "$ref": "#/definitions/app.Response"
  3926. }
  3927. }
  3928. }
  3929. }
  3930. },
  3931. "/Ermcp3/QueryGoodsbrand": {
  3932. "get": {
  3933. "security": [
  3934. {
  3935. "ApiKeyAuth": []
  3936. }
  3937. ],
  3938. "produces": [
  3939. "application/json"
  3940. ],
  3941. "tags": [
  3942. "企业风险管理v3(app)"
  3943. ],
  3944. "summary": "查询商品品牌",
  3945. "parameters": [
  3946. {
  3947. "type": "integer",
  3948. "description": "用户id",
  3949. "name": "userid",
  3950. "in": "query",
  3951. "required": true
  3952. },
  3953. {
  3954. "type": "integer",
  3955. "description": "用户类型 2-机构 7-企业成员",
  3956. "name": "usertype",
  3957. "in": "query"
  3958. }
  3959. ],
  3960. "responses": {
  3961. "200": {
  3962. "description": "OK",
  3963. "schema": {
  3964. "type": "array",
  3965. "items": {
  3966. "$ref": "#/definitions/models.Ermcp3Brand"
  3967. }
  3968. }
  3969. },
  3970. "500": {
  3971. "description": "Internal Server Error",
  3972. "schema": {
  3973. "$ref": "#/definitions/app.Response"
  3974. }
  3975. }
  3976. }
  3977. }
  3978. },
  3979. "/Ermcp3/QueryHedgePlan": {
  3980. "get": {
  3981. "security": [
  3982. {
  3983. "ApiKeyAuth": []
  3984. }
  3985. ],
  3986. "produces": [
  3987. "application/json"
  3988. ],
  3989. "tags": [
  3990. "企业风险管理v3(app)"
  3991. ],
  3992. "summary": "查询套保计划",
  3993. "parameters": [
  3994. {
  3995. "type": "integer",
  3996. "description": "用户ID",
  3997. "name": "userid",
  3998. "in": "query",
  3999. "required": true
  4000. },
  4001. {
  4002. "type": "integer",
  4003. "description": "用户类型 2-机构 7-企业成员",
  4004. "name": "usertype",
  4005. "in": "query"
  4006. },
  4007. {
  4008. "type": "string",
  4009. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4010. "name": "hedgeplanstatus",
  4011. "in": "query",
  4012. "required": true
  4013. }
  4014. ],
  4015. "responses": {
  4016. "200": {
  4017. "description": "OK",
  4018. "schema": {
  4019. "type": "array",
  4020. "items": {
  4021. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4022. }
  4023. }
  4024. },
  4025. "500": {
  4026. "description": "Internal Server Error",
  4027. "schema": {
  4028. "$ref": "#/definitions/app.Response"
  4029. }
  4030. }
  4031. }
  4032. }
  4033. },
  4034. "/Ermcp3/QueryMiddleGoodsDetail": {
  4035. "get": {
  4036. "security": [
  4037. {
  4038. "ApiKeyAuth": []
  4039. }
  4040. ],
  4041. "produces": [
  4042. "application/json"
  4043. ],
  4044. "tags": [
  4045. "企业风险管理v3(app)"
  4046. ],
  4047. "summary": "查询套保品种详情(套保品种/商品详情)",
  4048. "parameters": [
  4049. {
  4050. "type": "integer",
  4051. "description": "用户id",
  4052. "name": "userid",
  4053. "in": "query",
  4054. "required": true
  4055. },
  4056. {
  4057. "type": "integer",
  4058. "description": "用户类型 2-机构 7-企业成员",
  4059. "name": "usertype",
  4060. "in": "query"
  4061. },
  4062. {
  4063. "type": "integer",
  4064. "description": "套保品种id",
  4065. "name": "middlegoodsid",
  4066. "in": "query"
  4067. }
  4068. ],
  4069. "responses": {
  4070. "200": {
  4071. "description": "OK",
  4072. "schema": {
  4073. "type": "array",
  4074. "items": {
  4075. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4076. }
  4077. }
  4078. },
  4079. "500": {
  4080. "description": "Internal Server Error",
  4081. "schema": {
  4082. "$ref": "#/definitions/app.Response"
  4083. }
  4084. }
  4085. }
  4086. }
  4087. },
  4088. "/Ermcp3/QuerySpotContract": {
  4089. "get": {
  4090. "security": [
  4091. {
  4092. "ApiKeyAuth": []
  4093. }
  4094. ],
  4095. "produces": [
  4096. "application/json"
  4097. ],
  4098. "tags": [
  4099. "企业风险管理v3(app)"
  4100. ],
  4101. "summary": "查询现货合同",
  4102. "parameters": [
  4103. {
  4104. "type": "integer",
  4105. "description": "用户id",
  4106. "name": "userid",
  4107. "in": "query",
  4108. "required": true
  4109. },
  4110. {
  4111. "type": "integer",
  4112. "description": "用户类型 2-机构 7-企业成员",
  4113. "name": "usertype",
  4114. "in": "query"
  4115. },
  4116. {
  4117. "type": "integer",
  4118. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4119. "name": "querytype",
  4120. "in": "query",
  4121. "required": true
  4122. },
  4123. {
  4124. "type": "string",
  4125. "description": "合同ID(SpotContractId)",
  4126. "name": "contractid",
  4127. "in": "query"
  4128. }
  4129. ],
  4130. "responses": {
  4131. "200": {
  4132. "description": "OK",
  4133. "schema": {
  4134. "type": "array",
  4135. "items": {
  4136. "$ref": "#/definitions/models.Ermcp3Contract"
  4137. }
  4138. }
  4139. },
  4140. "500": {
  4141. "description": "Internal Server Error",
  4142. "schema": {
  4143. "$ref": "#/definitions/app.Response"
  4144. }
  4145. }
  4146. }
  4147. }
  4148. },
  4149. "/Ermcp3/QuerySpotContractBS": {
  4150. "get": {
  4151. "security": [
  4152. {
  4153. "ApiKeyAuth": []
  4154. }
  4155. ],
  4156. "produces": [
  4157. "application/json"
  4158. ],
  4159. "tags": [
  4160. "企业风险管理v3(app)"
  4161. ],
  4162. "summary": "查询合同(采购/销售)",
  4163. "parameters": [
  4164. {
  4165. "type": "integer",
  4166. "description": "用户id",
  4167. "name": "userid",
  4168. "in": "query",
  4169. "required": true
  4170. },
  4171. {
  4172. "type": "integer",
  4173. "description": "用户类型 2-机构 7-企业成员",
  4174. "name": "usertype",
  4175. "in": "query"
  4176. },
  4177. {
  4178. "type": "integer",
  4179. "description": "合同类型 1-采购, -1-销售",
  4180. "name": "contracttype",
  4181. "in": "query",
  4182. "required": true
  4183. },
  4184. {
  4185. "type": "integer",
  4186. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4187. "name": "querytype",
  4188. "in": "query",
  4189. "required": true
  4190. },
  4191. {
  4192. "type": "string",
  4193. "description": "合同ID(SpotContractId)",
  4194. "name": "contractid",
  4195. "in": "query"
  4196. }
  4197. ],
  4198. "responses": {
  4199. "200": {
  4200. "description": "OK",
  4201. "schema": {
  4202. "type": "array",
  4203. "items": {
  4204. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4205. }
  4206. }
  4207. },
  4208. "500": {
  4209. "description": "Internal Server Error",
  4210. "schema": {
  4211. "$ref": "#/definitions/app.Response"
  4212. }
  4213. }
  4214. }
  4215. }
  4216. },
  4217. "/Ermcp3/QuerySpotGoodsPrice": {
  4218. "get": {
  4219. "security": [
  4220. {
  4221. "ApiKeyAuth": []
  4222. }
  4223. ],
  4224. "produces": [
  4225. "application/json"
  4226. ],
  4227. "tags": [
  4228. "企业风险管理v3(app)"
  4229. ],
  4230. "summary": "查询现货市价(现货市价)",
  4231. "parameters": [
  4232. {
  4233. "type": "integer",
  4234. "description": "用户ID",
  4235. "name": "userid",
  4236. "in": "query",
  4237. "required": true
  4238. }
  4239. ],
  4240. "responses": {
  4241. "200": {
  4242. "description": "OK",
  4243. "schema": {
  4244. "type": "array",
  4245. "items": {
  4246. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4247. }
  4248. }
  4249. },
  4250. "500": {
  4251. "description": "Internal Server Error",
  4252. "schema": {
  4253. "$ref": "#/definitions/app.Response"
  4254. }
  4255. }
  4256. }
  4257. }
  4258. },
  4259. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4260. "get": {
  4261. "security": [
  4262. {
  4263. "ApiKeyAuth": []
  4264. }
  4265. ],
  4266. "produces": [
  4267. "application/json"
  4268. ],
  4269. "tags": [
  4270. "企业风险管理v3(app)"
  4271. ],
  4272. "summary": "查询现货市价详情(现货市价/详情)",
  4273. "parameters": [
  4274. {
  4275. "type": "integer",
  4276. "description": "用户ID",
  4277. "name": "userid",
  4278. "in": "query",
  4279. "required": true
  4280. },
  4281. {
  4282. "type": "integer",
  4283. "description": "现货商品ID",
  4284. "name": "deliverygoodsid",
  4285. "in": "query",
  4286. "required": true
  4287. },
  4288. {
  4289. "type": "integer",
  4290. "description": "品牌ID",
  4291. "name": "brandid",
  4292. "in": "query"
  4293. },
  4294. {
  4295. "type": "integer",
  4296. "description": "品类ID",
  4297. "name": "wrstandardid",
  4298. "in": "query"
  4299. }
  4300. ],
  4301. "responses": {
  4302. "200": {
  4303. "description": "OK",
  4304. "schema": {
  4305. "type": "array",
  4306. "items": {
  4307. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4308. }
  4309. }
  4310. },
  4311. "500": {
  4312. "description": "Internal Server Error",
  4313. "schema": {
  4314. "$ref": "#/definitions/app.Response"
  4315. }
  4316. }
  4317. }
  4318. }
  4319. },
  4320. "/Erms2/QueryArbitrageStrategy": {
  4321. "get": {
  4322. "security": [
  4323. {
  4324. "ApiKeyAuth": []
  4325. }
  4326. ],
  4327. "produces": [
  4328. "application/json"
  4329. ],
  4330. "tags": [
  4331. "风险管理"
  4332. ],
  4333. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4334. "parameters": [
  4335. {
  4336. "type": "integer",
  4337. "description": "账户ID",
  4338. "name": "userid",
  4339. "in": "query",
  4340. "required": true
  4341. },
  4342. {
  4343. "type": "string",
  4344. "description": "商品组ID(品种ID)",
  4345. "name": "goodsgroupid",
  4346. "in": "query"
  4347. }
  4348. ],
  4349. "responses": {
  4350. "200": {
  4351. "description": "OK",
  4352. "schema": {
  4353. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4354. }
  4355. },
  4356. "500": {
  4357. "description": "Internal Server Error",
  4358. "schema": {
  4359. "$ref": "#/definitions/app.Response"
  4360. }
  4361. }
  4362. }
  4363. }
  4364. },
  4365. "/Erms2/QueryInnerTradeDetail": {
  4366. "get": {
  4367. "security": [
  4368. {
  4369. "ApiKeyAuth": []
  4370. }
  4371. ],
  4372. "produces": [
  4373. "application/json"
  4374. ],
  4375. "tags": [
  4376. "风险管理"
  4377. ],
  4378. "summary": "查询内部成交单信息",
  4379. "parameters": [
  4380. {
  4381. "type": "integer",
  4382. "description": "资金账户",
  4383. "name": "accountid",
  4384. "in": "query",
  4385. "required": true
  4386. }
  4387. ],
  4388. "responses": {
  4389. "200": {
  4390. "description": "OK",
  4391. "schema": {
  4392. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4393. }
  4394. },
  4395. "500": {
  4396. "description": "Internal Server Error",
  4397. "schema": {
  4398. "$ref": "#/definitions/app.Response"
  4399. }
  4400. }
  4401. }
  4402. }
  4403. },
  4404. "/Erms2/QuerySpotContract": {
  4405. "get": {
  4406. "security": [
  4407. {
  4408. "ApiKeyAuth": []
  4409. }
  4410. ],
  4411. "produces": [
  4412. "application/json"
  4413. ],
  4414. "tags": [
  4415. "风险管理"
  4416. ],
  4417. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4418. "parameters": [
  4419. {
  4420. "type": "integer",
  4421. "description": "策略申请ID",
  4422. "name": "asapplyid",
  4423. "in": "query",
  4424. "required": true
  4425. },
  4426. {
  4427. "type": "integer",
  4428. "description": "现货合同ID",
  4429. "name": "spotcontractid",
  4430. "in": "query"
  4431. }
  4432. ],
  4433. "responses": {
  4434. "200": {
  4435. "description": "OK",
  4436. "schema": {
  4437. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4438. }
  4439. },
  4440. "500": {
  4441. "description": "Internal Server Error",
  4442. "schema": {
  4443. "$ref": "#/definitions/app.Response"
  4444. }
  4445. }
  4446. }
  4447. }
  4448. },
  4449. "/Erms3/AddErms2ASApply": {
  4450. "post": {
  4451. "security": [
  4452. {
  4453. "ApiKeyAuth": []
  4454. }
  4455. ],
  4456. "produces": [
  4457. "application/json"
  4458. ],
  4459. "tags": [
  4460. "风险管理v3"
  4461. ],
  4462. "summary": "新增期现套利业务申请",
  4463. "parameters": [
  4464. {
  4465. "description": "申请参数",
  4466. "name": "jsonBody",
  4467. "in": "body",
  4468. "required": true,
  4469. "schema": {
  4470. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4471. }
  4472. }
  4473. ],
  4474. "responses": {
  4475. "200": {
  4476. "description": "OK",
  4477. "schema": {
  4478. "$ref": "#/definitions/app.Response"
  4479. }
  4480. },
  4481. "500": {
  4482. "description": "Internal Server Error",
  4483. "schema": {
  4484. "$ref": "#/definitions/app.Response"
  4485. }
  4486. }
  4487. }
  4488. }
  4489. },
  4490. "/Erms3/AddErms2SpotTradeApply": {
  4491. "post": {
  4492. "security": [
  4493. {
  4494. "ApiKeyAuth": []
  4495. }
  4496. ],
  4497. "produces": [
  4498. "application/json"
  4499. ],
  4500. "tags": [
  4501. "风险管理v3"
  4502. ],
  4503. "summary": "新增现货贸易业务申请",
  4504. "parameters": [
  4505. {
  4506. "description": "申请参数",
  4507. "name": "jsonBody",
  4508. "in": "body",
  4509. "required": true,
  4510. "schema": {
  4511. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4512. }
  4513. }
  4514. ],
  4515. "responses": {
  4516. "200": {
  4517. "description": "OK",
  4518. "schema": {
  4519. "$ref": "#/definitions/app.Response"
  4520. }
  4521. },
  4522. "500": {
  4523. "description": "Internal Server Error",
  4524. "schema": {
  4525. "$ref": "#/definitions/app.Response"
  4526. }
  4527. }
  4528. }
  4529. }
  4530. },
  4531. "/Erms3/AddSpotContractApply": {
  4532. "post": {
  4533. "security": [
  4534. {
  4535. "ApiKeyAuth": []
  4536. }
  4537. ],
  4538. "produces": [
  4539. "application/json"
  4540. ],
  4541. "tags": [
  4542. "风险管理v3"
  4543. ],
  4544. "summary": "新增现货合同申请",
  4545. "parameters": [
  4546. {
  4547. "description": "申请参数",
  4548. "name": "jsonBody",
  4549. "in": "body",
  4550. "required": true,
  4551. "schema": {
  4552. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4553. }
  4554. }
  4555. ],
  4556. "responses": {
  4557. "200": {
  4558. "description": "OK",
  4559. "schema": {
  4560. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4561. }
  4562. },
  4563. "500": {
  4564. "description": "Internal Server Error",
  4565. "schema": {
  4566. "$ref": "#/definitions/app.Response"
  4567. }
  4568. }
  4569. }
  4570. }
  4571. },
  4572. "/Erms3/AddUserInfoApply": {
  4573. "post": {
  4574. "security": [
  4575. {
  4576. "ApiKeyAuth": []
  4577. }
  4578. ],
  4579. "produces": [
  4580. "application/json"
  4581. ],
  4582. "tags": [
  4583. "风险管理v3"
  4584. ],
  4585. "summary": "新增客户申请",
  4586. "parameters": [
  4587. {
  4588. "description": "用户信息",
  4589. "name": "jsonBody",
  4590. "in": "body",
  4591. "required": true,
  4592. "schema": {
  4593. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4594. }
  4595. }
  4596. ],
  4597. "responses": {
  4598. "200": {
  4599. "description": "OK",
  4600. "schema": {
  4601. "$ref": "#/definitions/app.Response"
  4602. }
  4603. },
  4604. "500": {
  4605. "description": "Internal Server Error",
  4606. "schema": {
  4607. "$ref": "#/definitions/app.Response"
  4608. }
  4609. }
  4610. }
  4611. }
  4612. },
  4613. "/Erms3/DeleteUserInfoApply": {
  4614. "get": {
  4615. "security": [
  4616. {
  4617. "ApiKeyAuth": []
  4618. }
  4619. ],
  4620. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4621. "produces": [
  4622. "application/json"
  4623. ],
  4624. "tags": [
  4625. "风险管理v3"
  4626. ],
  4627. "summary": "删除客户申请",
  4628. "parameters": [
  4629. {
  4630. "type": "integer",
  4631. "description": "用户ID",
  4632. "name": "userID",
  4633. "in": "query",
  4634. "required": true
  4635. }
  4636. ],
  4637. "responses": {
  4638. "200": {
  4639. "description": "OK",
  4640. "schema": {
  4641. "$ref": "#/definitions/app.Response"
  4642. }
  4643. },
  4644. "500": {
  4645. "description": "Internal Server Error",
  4646. "schema": {
  4647. "$ref": "#/definitions/app.Response"
  4648. }
  4649. }
  4650. }
  4651. }
  4652. },
  4653. "/Erms3/ModifyUserInfoApply": {
  4654. "post": {
  4655. "security": [
  4656. {
  4657. "ApiKeyAuth": []
  4658. }
  4659. ],
  4660. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4661. "produces": [
  4662. "application/json"
  4663. ],
  4664. "tags": [
  4665. "风险管理v3"
  4666. ],
  4667. "summary": "修改客户申请",
  4668. "parameters": [
  4669. {
  4670. "description": "用户信息",
  4671. "name": "jsonBody",
  4672. "in": "body",
  4673. "required": true,
  4674. "schema": {
  4675. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4676. }
  4677. }
  4678. ],
  4679. "responses": {
  4680. "200": {
  4681. "description": "OK",
  4682. "schema": {
  4683. "$ref": "#/definitions/app.Response"
  4684. }
  4685. },
  4686. "500": {
  4687. "description": "Internal Server Error",
  4688. "schema": {
  4689. "$ref": "#/definitions/app.Response"
  4690. }
  4691. }
  4692. }
  4693. }
  4694. },
  4695. "/Erms3/QueryBusinessInfo": {
  4696. "get": {
  4697. "security": [
  4698. {
  4699. "ApiKeyAuth": []
  4700. }
  4701. ],
  4702. "produces": [
  4703. "application/json"
  4704. ],
  4705. "tags": [
  4706. "风险管理v3"
  4707. ],
  4708. "summary": "查询业务表单数据",
  4709. "parameters": [
  4710. {
  4711. "type": "string",
  4712. "description": "资金账号ID列表,用逗号分隔",
  4713. "name": "accountids",
  4714. "in": "query",
  4715. "required": true
  4716. },
  4717. {
  4718. "type": "integer",
  4719. "description": "状态,0为未结束 1为已结束",
  4720. "name": "status",
  4721. "in": "query",
  4722. "required": true
  4723. }
  4724. ],
  4725. "responses": {
  4726. "200": {
  4727. "description": "OK",
  4728. "schema": {
  4729. "type": "array",
  4730. "items": {
  4731. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4732. }
  4733. }
  4734. },
  4735. "500": {
  4736. "description": "Internal Server Error",
  4737. "schema": {
  4738. "$ref": "#/definitions/app.Response"
  4739. }
  4740. }
  4741. }
  4742. }
  4743. },
  4744. "/Erms3/QueryPendingAuditContract": {
  4745. "get": {
  4746. "security": [
  4747. {
  4748. "ApiKeyAuth": []
  4749. }
  4750. ],
  4751. "produces": [
  4752. "application/json"
  4753. ],
  4754. "tags": [
  4755. "风险管理v3"
  4756. ],
  4757. "summary": "查询待审核合同",
  4758. "parameters": [
  4759. {
  4760. "type": "string",
  4761. "description": "资金账号ID列表,逗号隔开",
  4762. "name": "accountids",
  4763. "in": "query",
  4764. "required": true
  4765. },
  4766. {
  4767. "type": "integer",
  4768. "description": "合同类型 1-采购 -1-销售",
  4769. "name": "contracttype",
  4770. "in": "query",
  4771. "required": true
  4772. },
  4773. {
  4774. "type": "integer",
  4775. "description": "合同模式 1-普通 2-回购",
  4776. "name": "contractmode",
  4777. "in": "query",
  4778. "required": true
  4779. }
  4780. ],
  4781. "responses": {
  4782. "200": {
  4783. "description": "OK",
  4784. "schema": {
  4785. "type": "array",
  4786. "items": {
  4787. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4788. }
  4789. }
  4790. },
  4791. "500": {
  4792. "description": "Internal Server Error",
  4793. "schema": {
  4794. "$ref": "#/definitions/app.Response"
  4795. }
  4796. }
  4797. }
  4798. }
  4799. },
  4800. "/Erms3/QueryPendingBusiness": {
  4801. "get": {
  4802. "security": [
  4803. {
  4804. "ApiKeyAuth": []
  4805. }
  4806. ],
  4807. "produces": [
  4808. "application/json"
  4809. ],
  4810. "tags": [
  4811. "风险管理v3"
  4812. ],
  4813. "summary": "查询待审核基差贸易业务",
  4814. "parameters": [
  4815. {
  4816. "type": "string",
  4817. "description": "资金账号ID列表,逗号隔开",
  4818. "name": "accountids",
  4819. "in": "query",
  4820. "required": true
  4821. }
  4822. ],
  4823. "responses": {
  4824. "200": {
  4825. "description": "OK",
  4826. "schema": {
  4827. "type": "array",
  4828. "items": {
  4829. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4830. }
  4831. }
  4832. },
  4833. "500": {
  4834. "description": "Internal Server Error",
  4835. "schema": {
  4836. "$ref": "#/definitions/app.Response"
  4837. }
  4838. }
  4839. }
  4840. }
  4841. },
  4842. "/Erms3/QuerySpotContractAppleForm": {
  4843. "get": {
  4844. "security": [
  4845. {
  4846. "ApiKeyAuth": []
  4847. }
  4848. ],
  4849. "produces": [
  4850. "application/json"
  4851. ],
  4852. "tags": [
  4853. "风险管理v3"
  4854. ],
  4855. "summary": "查询合同申请表单数据",
  4856. "parameters": [
  4857. {
  4858. "type": "integer",
  4859. "description": "登录账号",
  4860. "name": "loginID",
  4861. "in": "query",
  4862. "required": true
  4863. }
  4864. ],
  4865. "responses": {
  4866. "200": {
  4867. "description": "OK",
  4868. "schema": {
  4869. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4870. }
  4871. },
  4872. "500": {
  4873. "description": "Internal Server Error",
  4874. "schema": {
  4875. "$ref": "#/definitions/app.Response"
  4876. }
  4877. }
  4878. }
  4879. }
  4880. },
  4881. "/Erms3/QuerySpotContractDetail": {
  4882. "get": {
  4883. "security": [
  4884. {
  4885. "ApiKeyAuth": []
  4886. }
  4887. ],
  4888. "produces": [
  4889. "application/json"
  4890. ],
  4891. "tags": [
  4892. "风险管理v3"
  4893. ],
  4894. "summary": "查询合同详细信息",
  4895. "parameters": [
  4896. {
  4897. "type": "string",
  4898. "description": "资金账号ID列表,用逗号分隔",
  4899. "name": "accountids",
  4900. "in": "query",
  4901. "required": true
  4902. },
  4903. {
  4904. "type": "integer",
  4905. "description": "合同类型,1为采购合同 -1为销售合同",
  4906. "name": "contracttype",
  4907. "in": "query",
  4908. "required": true
  4909. },
  4910. {
  4911. "type": "integer",
  4912. "description": "合同模式,1为普通合同 2为回购销售合同",
  4913. "name": "contractmode",
  4914. "in": "query",
  4915. "required": true
  4916. },
  4917. {
  4918. "type": "integer",
  4919. "description": "状态,0为履约中 1为已完成",
  4920. "name": "status",
  4921. "in": "query",
  4922. "required": true
  4923. }
  4924. ],
  4925. "responses": {
  4926. "200": {
  4927. "description": "OK",
  4928. "schema": {
  4929. "type": "array",
  4930. "items": {
  4931. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4932. }
  4933. }
  4934. },
  4935. "500": {
  4936. "description": "Internal Server Error",
  4937. "schema": {
  4938. "$ref": "#/definitions/app.Response"
  4939. }
  4940. }
  4941. }
  4942. }
  4943. },
  4944. "/Erms3/QueryUserInfoApplies": {
  4945. "get": {
  4946. "security": [
  4947. {
  4948. "ApiKeyAuth": []
  4949. }
  4950. ],
  4951. "produces": [
  4952. "application/json"
  4953. ],
  4954. "tags": [
  4955. "风险管理v3"
  4956. ],
  4957. "summary": "客户申请信息查询",
  4958. "parameters": [
  4959. {
  4960. "type": "integer",
  4961. "description": "页码",
  4962. "name": "page",
  4963. "in": "query"
  4964. },
  4965. {
  4966. "type": "integer",
  4967. "description": "每页条数",
  4968. "name": "pagesize",
  4969. "in": "query"
  4970. },
  4971. {
  4972. "type": "string",
  4973. "description": "客户名称,支持模糊查询",
  4974. "name": "userName",
  4975. "in": "query"
  4976. }
  4977. ],
  4978. "responses": {
  4979. "200": {
  4980. "description": "OK",
  4981. "schema": {
  4982. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4983. }
  4984. },
  4985. "500": {
  4986. "description": "Internal Server Error",
  4987. "schema": {
  4988. "$ref": "#/definitions/app.Response"
  4989. }
  4990. }
  4991. }
  4992. }
  4993. },
  4994. "/Erms3/QueryUserInfos": {
  4995. "get": {
  4996. "security": [
  4997. {
  4998. "ApiKeyAuth": []
  4999. }
  5000. ],
  5001. "produces": [
  5002. "application/json"
  5003. ],
  5004. "tags": [
  5005. "风险管理v3"
  5006. ],
  5007. "summary": "客户信息查询",
  5008. "parameters": [
  5009. {
  5010. "type": "integer",
  5011. "description": "页码",
  5012. "name": "page",
  5013. "in": "query"
  5014. },
  5015. {
  5016. "type": "integer",
  5017. "description": "每页条数",
  5018. "name": "pagesize",
  5019. "in": "query"
  5020. },
  5021. {
  5022. "type": "string",
  5023. "description": "客户名称,支持模糊查询",
  5024. "name": "userName",
  5025. "in": "query"
  5026. }
  5027. ],
  5028. "responses": {
  5029. "200": {
  5030. "description": "OK",
  5031. "schema": {
  5032. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5033. }
  5034. },
  5035. "500": {
  5036. "description": "Internal Server Error",
  5037. "schema": {
  5038. "$ref": "#/definitions/app.Response"
  5039. }
  5040. }
  5041. }
  5042. }
  5043. },
  5044. "/HSBY/GetHsbyMyCount": {
  5045. "get": {
  5046. "security": [
  5047. {
  5048. "ApiKeyAuth": []
  5049. }
  5050. ],
  5051. "description": "说明: 不包括已完成的数量。",
  5052. "produces": [
  5053. "application/json"
  5054. ],
  5055. "tags": [
  5056. "定制【海商报业】"
  5057. ],
  5058. "summary": "获取我的订单与包裹数量",
  5059. "parameters": [
  5060. {
  5061. "type": "string",
  5062. "description": "资金账户列表,格式:1,2,3",
  5063. "name": "accountIDs",
  5064. "in": "query",
  5065. "required": true
  5066. }
  5067. ],
  5068. "responses": {
  5069. "200": {
  5070. "description": "OK",
  5071. "schema": {
  5072. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5073. }
  5074. },
  5075. "500": {
  5076. "description": "Internal Server Error",
  5077. "schema": {
  5078. "$ref": "#/definitions/app.Response"
  5079. }
  5080. }
  5081. }
  5082. }
  5083. },
  5084. "/HSBY/QueryClientFixedADConfigs": {
  5085. "get": {
  5086. "security": [
  5087. {
  5088. "ApiKeyAuth": []
  5089. }
  5090. ],
  5091. "produces": [
  5092. "application/json"
  5093. ],
  5094. "tags": [
  5095. "定制【海商报业】"
  5096. ],
  5097. "summary": "获取终端固定广告配置",
  5098. "responses": {
  5099. "200": {
  5100. "description": "OK",
  5101. "schema": {
  5102. "$ref": "#/definitions/models.Clientfixedadconfig"
  5103. }
  5104. },
  5105. "500": {
  5106. "description": "Internal Server Error",
  5107. "schema": {
  5108. "$ref": "#/definitions/app.Response"
  5109. }
  5110. }
  5111. }
  5112. }
  5113. },
  5114. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5115. "get": {
  5116. "security": [
  5117. {
  5118. "ApiKeyAuth": []
  5119. }
  5120. ],
  5121. "produces": [
  5122. "application/json"
  5123. ],
  5124. "tags": [
  5125. "定制【海商报业】"
  5126. ],
  5127. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5128. "parameters": [
  5129. {
  5130. "type": "integer",
  5131. "description": "页码",
  5132. "name": "page",
  5133. "in": "query"
  5134. },
  5135. {
  5136. "type": "integer",
  5137. "description": "每页条数",
  5138. "name": "pagesize",
  5139. "in": "query"
  5140. },
  5141. {
  5142. "type": "string",
  5143. "description": "资金账户列表,格式:1,2,3",
  5144. "name": "accountIDs",
  5145. "in": "query",
  5146. "required": true
  5147. }
  5148. ],
  5149. "responses": {
  5150. "200": {
  5151. "description": "OK",
  5152. "schema": {
  5153. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5154. }
  5155. },
  5156. "500": {
  5157. "description": "Internal Server Error",
  5158. "schema": {
  5159. "$ref": "#/definitions/app.Response"
  5160. }
  5161. }
  5162. }
  5163. }
  5164. },
  5165. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5166. "get": {
  5167. "security": [
  5168. {
  5169. "ApiKeyAuth": []
  5170. }
  5171. ],
  5172. "description": "说明:查询结果已按委托价格和委托时间排序",
  5173. "produces": [
  5174. "application/json"
  5175. ],
  5176. "tags": [
  5177. "定制【海商报业】"
  5178. ],
  5179. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5180. "parameters": [
  5181. {
  5182. "type": "integer",
  5183. "description": "商品ID",
  5184. "name": "goodsID",
  5185. "in": "query",
  5186. "required": true
  5187. },
  5188. {
  5189. "type": "string",
  5190. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5191. "name": "accountIDs",
  5192. "in": "query"
  5193. },
  5194. {
  5195. "type": "integer",
  5196. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5197. "name": "buyOrSell",
  5198. "in": "query"
  5199. },
  5200. {
  5201. "type": "number",
  5202. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5203. "name": "price",
  5204. "in": "query"
  5205. },
  5206. {
  5207. "type": "integer",
  5208. "description": "档位,不传则默认为3档",
  5209. "name": "speed",
  5210. "in": "query"
  5211. }
  5212. ],
  5213. "responses": {
  5214. "200": {
  5215. "description": "OK",
  5216. "schema": {
  5217. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5218. }
  5219. },
  5220. "500": {
  5221. "description": "Internal Server Error",
  5222. "schema": {
  5223. "$ref": "#/definitions/app.Response"
  5224. }
  5225. }
  5226. }
  5227. }
  5228. },
  5229. "/HSBY/QueryHsbyListingGoodsDetail": {
  5230. "get": {
  5231. "security": [
  5232. {
  5233. "ApiKeyAuth": []
  5234. }
  5235. ],
  5236. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5237. "produces": [
  5238. "application/json"
  5239. ],
  5240. "tags": [
  5241. "定制【海商报业】"
  5242. ],
  5243. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5244. "parameters": [
  5245. {
  5246. "type": "integer",
  5247. "description": "商品ID",
  5248. "name": "goodsID",
  5249. "in": "query",
  5250. "required": true
  5251. },
  5252. {
  5253. "type": "integer",
  5254. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5255. "name": "accountID",
  5256. "in": "query"
  5257. }
  5258. ],
  5259. "responses": {
  5260. "200": {
  5261. "description": "OK",
  5262. "schema": {
  5263. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5264. }
  5265. },
  5266. "500": {
  5267. "description": "Internal Server Error",
  5268. "schema": {
  5269. "$ref": "#/definitions/app.Response"
  5270. }
  5271. }
  5272. }
  5273. }
  5274. },
  5275. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5276. "get": {
  5277. "security": [
  5278. {
  5279. "ApiKeyAuth": []
  5280. }
  5281. ],
  5282. "produces": [
  5283. "application/json"
  5284. ],
  5285. "tags": [
  5286. "定制【海商报业】"
  5287. ],
  5288. "summary": "查询三级市场(商城)商品信息详情",
  5289. "parameters": [
  5290. {
  5291. "type": "integer",
  5292. "description": "委托单号",
  5293. "name": "orderID",
  5294. "in": "query",
  5295. "required": true
  5296. },
  5297. {
  5298. "type": "integer",
  5299. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5300. "name": "accountID",
  5301. "in": "query"
  5302. }
  5303. ],
  5304. "responses": {
  5305. "200": {
  5306. "description": "OK",
  5307. "schema": {
  5308. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5309. }
  5310. },
  5311. "500": {
  5312. "description": "Internal Server Error",
  5313. "schema": {
  5314. "$ref": "#/definitions/app.Response"
  5315. }
  5316. }
  5317. }
  5318. }
  5319. },
  5320. "/HSBY/QueryHsbyMarketGoodses": {
  5321. "get": {
  5322. "security": [
  5323. {
  5324. "ApiKeyAuth": []
  5325. }
  5326. ],
  5327. "produces": [
  5328. "application/json"
  5329. ],
  5330. "tags": [
  5331. "定制【海商报业】"
  5332. ],
  5333. "summary": "查询特卖商品列表(三级商城)",
  5334. "parameters": [
  5335. {
  5336. "type": "integer",
  5337. "description": "页码",
  5338. "name": "page",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "integer",
  5343. "description": "每页条数",
  5344. "name": "pagesize",
  5345. "in": "query"
  5346. },
  5347. {
  5348. "type": "string",
  5349. "description": "市场ID列表,格式:1,2,3",
  5350. "name": "marketIDs",
  5351. "in": "query",
  5352. "required": true
  5353. },
  5354. {
  5355. "type": "integer",
  5356. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5357. "name": "accountID",
  5358. "in": "query",
  5359. "required": true
  5360. },
  5361. {
  5362. "type": "integer",
  5363. "description": "类别ID",
  5364. "name": "categoryID",
  5365. "in": "query"
  5366. },
  5367. {
  5368. "type": "string",
  5369. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5370. "name": "goodsIDs",
  5371. "in": "query"
  5372. },
  5373. {
  5374. "type": "integer",
  5375. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5376. "name": "couponTypeID",
  5377. "in": "query"
  5378. }
  5379. ],
  5380. "responses": {
  5381. "200": {
  5382. "description": "OK",
  5383. "schema": {
  5384. "$ref": "#/definitions/models.HsbyMarketGoods"
  5385. }
  5386. },
  5387. "500": {
  5388. "description": "Internal Server Error",
  5389. "schema": {
  5390. "$ref": "#/definitions/app.Response"
  5391. }
  5392. }
  5393. }
  5394. }
  5395. },
  5396. "/HSBY/QueryHsbyMarkets": {
  5397. "get": {
  5398. "security": [
  5399. {
  5400. "ApiKeyAuth": []
  5401. }
  5402. ],
  5403. "produces": [
  5404. "application/json"
  5405. ],
  5406. "tags": [
  5407. "定制【海商报业】"
  5408. ],
  5409. "summary": "查询海商报业相关市场信息",
  5410. "responses": {
  5411. "200": {
  5412. "description": "OK",
  5413. "schema": {
  5414. "$ref": "#/definitions/models.HsbyMarketInfo"
  5415. }
  5416. },
  5417. "500": {
  5418. "description": "Internal Server Error",
  5419. "schema": {
  5420. "$ref": "#/definitions/app.Response"
  5421. }
  5422. }
  5423. }
  5424. }
  5425. },
  5426. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5427. "get": {
  5428. "security": [
  5429. {
  5430. "ApiKeyAuth": []
  5431. }
  5432. ],
  5433. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5434. "produces": [
  5435. "application/json"
  5436. ],
  5437. "tags": [
  5438. "定制【海商报业】"
  5439. ],
  5440. "summary": "查询“我的订单”信息",
  5441. "parameters": [
  5442. {
  5443. "type": "string",
  5444. "description": "资金账户列表,格式:1,2,3",
  5445. "name": "accountIDs",
  5446. "in": "query",
  5447. "required": true
  5448. }
  5449. ],
  5450. "responses": {
  5451. "200": {
  5452. "description": "OK",
  5453. "schema": {
  5454. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5455. }
  5456. },
  5457. "500": {
  5458. "description": "Internal Server Error",
  5459. "schema": {
  5460. "$ref": "#/definitions/app.Response"
  5461. }
  5462. }
  5463. }
  5464. }
  5465. },
  5466. "/HSBY/QueryHsbyMyGoods": {
  5467. "get": {
  5468. "security": [
  5469. {
  5470. "ApiKeyAuth": []
  5471. }
  5472. ],
  5473. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5474. "produces": [
  5475. "application/json"
  5476. ],
  5477. "tags": [
  5478. "定制【海商报业】"
  5479. ],
  5480. "summary": "查询“我的商品”信息",
  5481. "parameters": [
  5482. {
  5483. "type": "string",
  5484. "description": "资金账户列表,格式:1,2,3",
  5485. "name": "accountIDs",
  5486. "in": "query",
  5487. "required": true
  5488. }
  5489. ],
  5490. "responses": {
  5491. "200": {
  5492. "description": "OK",
  5493. "schema": {
  5494. "$ref": "#/definitions/models.HsbyMyGoods"
  5495. }
  5496. },
  5497. "500": {
  5498. "description": "Internal Server Error",
  5499. "schema": {
  5500. "$ref": "#/definitions/app.Response"
  5501. }
  5502. }
  5503. }
  5504. }
  5505. },
  5506. "/HSBY/QueryHsbyMyPackages": {
  5507. "get": {
  5508. "security": [
  5509. {
  5510. "ApiKeyAuth": []
  5511. }
  5512. ],
  5513. "produces": [
  5514. "application/json"
  5515. ],
  5516. "tags": [
  5517. "定制【海商报业】"
  5518. ],
  5519. "summary": "查询我的包裹信息",
  5520. "parameters": [
  5521. {
  5522. "type": "string",
  5523. "description": "资金账户列表,格式:1,2,3",
  5524. "name": "accountIDs",
  5525. "in": "query",
  5526. "required": true
  5527. },
  5528. {
  5529. "type": "integer",
  5530. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5531. "name": "takeOrderStatus",
  5532. "in": "query"
  5533. }
  5534. ],
  5535. "responses": {
  5536. "200": {
  5537. "description": "OK",
  5538. "schema": {
  5539. "$ref": "#/definitions/models.HsbyMyPackage"
  5540. }
  5541. },
  5542. "500": {
  5543. "description": "Internal Server Error",
  5544. "schema": {
  5545. "$ref": "#/definitions/app.Response"
  5546. }
  5547. }
  5548. }
  5549. }
  5550. },
  5551. "/HSBY/QueryHsbyPreGoodsDetail": {
  5552. "get": {
  5553. "security": [
  5554. {
  5555. "ApiKeyAuth": []
  5556. }
  5557. ],
  5558. "produces": [
  5559. "application/json"
  5560. ],
  5561. "tags": [
  5562. "定制【海商报业】"
  5563. ],
  5564. "summary": "查询一级市场(预售)商品信息详情",
  5565. "parameters": [
  5566. {
  5567. "type": "integer",
  5568. "description": "商品ID",
  5569. "name": "goodsID",
  5570. "in": "query",
  5571. "required": true
  5572. },
  5573. {
  5574. "type": "integer",
  5575. "description": "资金账户,主要用于获取预售商品购买上限",
  5576. "name": "accountID",
  5577. "in": "query"
  5578. }
  5579. ],
  5580. "responses": {
  5581. "200": {
  5582. "description": "OK",
  5583. "schema": {
  5584. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5585. }
  5586. },
  5587. "500": {
  5588. "description": "Internal Server Error",
  5589. "schema": {
  5590. "$ref": "#/definitions/app.Response"
  5591. }
  5592. }
  5593. }
  5594. }
  5595. },
  5596. "/HSBY/QueryHsbyPreGoodses": {
  5597. "get": {
  5598. "security": [
  5599. {
  5600. "ApiKeyAuth": []
  5601. }
  5602. ],
  5603. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5604. "produces": [
  5605. "application/json"
  5606. ],
  5607. "tags": [
  5608. "定制【海商报业】"
  5609. ],
  5610. "summary": "查询新品上市商品列表(一级市场预售)",
  5611. "parameters": [
  5612. {
  5613. "type": "integer",
  5614. "description": "页码",
  5615. "name": "page",
  5616. "in": "query"
  5617. },
  5618. {
  5619. "type": "integer",
  5620. "description": "每页条数",
  5621. "name": "pagesize",
  5622. "in": "query"
  5623. },
  5624. {
  5625. "type": "string",
  5626. "description": "市场ID列表,格式:1,2,3",
  5627. "name": "marketIDs",
  5628. "in": "query",
  5629. "required": true
  5630. },
  5631. {
  5632. "type": "integer",
  5633. "description": "目的地(省)ID",
  5634. "name": "descProvinceID",
  5635. "in": "query"
  5636. },
  5637. {
  5638. "type": "integer",
  5639. "description": "目的地(市)ID",
  5640. "name": "descCityID",
  5641. "in": "query"
  5642. }
  5643. ],
  5644. "responses": {
  5645. "200": {
  5646. "description": "OK",
  5647. "schema": {
  5648. "$ref": "#/definitions/models.HsbyPreGoods"
  5649. }
  5650. },
  5651. "500": {
  5652. "description": "Internal Server Error",
  5653. "schema": {
  5654. "$ref": "#/definitions/app.Response"
  5655. }
  5656. }
  5657. }
  5658. }
  5659. },
  5660. "/HSBY/QueryHsbySellMyDetails": {
  5661. "get": {
  5662. "security": [
  5663. {
  5664. "ApiKeyAuth": []
  5665. }
  5666. ],
  5667. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5668. "produces": [
  5669. "application/json"
  5670. ],
  5671. "tags": [
  5672. "定制【海商报业】"
  5673. ],
  5674. "summary": "查询\"我的闲置\"单据信息",
  5675. "parameters": [
  5676. {
  5677. "type": "integer",
  5678. "description": "页码",
  5679. "name": "page",
  5680. "in": "query"
  5681. },
  5682. {
  5683. "type": "integer",
  5684. "description": "每页条数",
  5685. "name": "pagesize",
  5686. "in": "query"
  5687. },
  5688. {
  5689. "type": "string",
  5690. "description": "资金账户列表,格式:1,2,3",
  5691. "name": "accountIDs",
  5692. "in": "query",
  5693. "required": true
  5694. },
  5695. {
  5696. "type": "integer",
  5697. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5698. "name": "orderType",
  5699. "in": "query"
  5700. }
  5701. ],
  5702. "responses": {
  5703. "200": {
  5704. "description": "OK",
  5705. "schema": {
  5706. "$ref": "#/definitions/models.HsbySellMyDetail"
  5707. }
  5708. },
  5709. "500": {
  5710. "description": "Internal Server Error",
  5711. "schema": {
  5712. "$ref": "#/definitions/app.Response"
  5713. }
  5714. }
  5715. }
  5716. }
  5717. },
  5718. "/HSBY/QueryHsbyTopGoodses": {
  5719. "get": {
  5720. "security": [
  5721. {
  5722. "ApiKeyAuth": []
  5723. }
  5724. ],
  5725. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5726. "produces": [
  5727. "application/json"
  5728. ],
  5729. "tags": [
  5730. "定制【海商报业】"
  5731. ],
  5732. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5733. "parameters": [
  5734. {
  5735. "type": "integer",
  5736. "description": "页码",
  5737. "name": "page",
  5738. "in": "query"
  5739. },
  5740. {
  5741. "type": "integer",
  5742. "description": "每页条数",
  5743. "name": "pagesize",
  5744. "in": "query"
  5745. },
  5746. {
  5747. "type": "string",
  5748. "description": "市场ID列表,格式:1,2,3",
  5749. "name": "marketIDs",
  5750. "in": "query",
  5751. "required": true
  5752. },
  5753. {
  5754. "type": "integer",
  5755. "description": "目的地(省)ID",
  5756. "name": "descProvinceID",
  5757. "in": "query"
  5758. },
  5759. {
  5760. "type": "integer",
  5761. "description": "目的地(市)ID",
  5762. "name": "descCityID",
  5763. "in": "query"
  5764. }
  5765. ],
  5766. "responses": {
  5767. "200": {
  5768. "description": "OK",
  5769. "schema": {
  5770. "$ref": "#/definitions/models.HsbyTopGoods"
  5771. }
  5772. },
  5773. "500": {
  5774. "description": "Internal Server Error",
  5775. "schema": {
  5776. "$ref": "#/definitions/app.Response"
  5777. }
  5778. }
  5779. }
  5780. }
  5781. },
  5782. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5783. "get": {
  5784. "security": [
  5785. {
  5786. "ApiKeyAuth": []
  5787. }
  5788. ],
  5789. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5790. "produces": [
  5791. "application/json"
  5792. ],
  5793. "tags": [
  5794. "定制【海商报业】"
  5795. ],
  5796. "summary": "查询游客三级市场(商城)商品信息详情",
  5797. "parameters": [
  5798. {
  5799. "type": "integer",
  5800. "description": "商品ID",
  5801. "name": "goodsID",
  5802. "in": "query",
  5803. "required": true
  5804. }
  5805. ],
  5806. "responses": {
  5807. "200": {
  5808. "description": "OK",
  5809. "schema": {
  5810. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5811. }
  5812. },
  5813. "500": {
  5814. "description": "Internal Server Error",
  5815. "schema": {
  5816. "$ref": "#/definitions/app.Response"
  5817. }
  5818. }
  5819. }
  5820. }
  5821. },
  5822. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5823. "get": {
  5824. "security": [
  5825. {
  5826. "ApiKeyAuth": []
  5827. }
  5828. ],
  5829. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5830. "produces": [
  5831. "application/json"
  5832. ],
  5833. "tags": [
  5834. "定制【海商报业】"
  5835. ],
  5836. "summary": "查询游客特卖商品列表(三级商城)",
  5837. "parameters": [
  5838. {
  5839. "type": "integer",
  5840. "description": "页码",
  5841. "name": "page",
  5842. "in": "query"
  5843. },
  5844. {
  5845. "type": "integer",
  5846. "description": "每页条数",
  5847. "name": "pagesize",
  5848. "in": "query"
  5849. },
  5850. {
  5851. "type": "string",
  5852. "description": "市场ID列表,格式:1,2,3",
  5853. "name": "marketIDs",
  5854. "in": "query",
  5855. "required": true
  5856. },
  5857. {
  5858. "type": "integer",
  5859. "description": "类别ID",
  5860. "name": "categoryID",
  5861. "in": "query"
  5862. },
  5863. {
  5864. "type": "string",
  5865. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5866. "name": "goodsIDs",
  5867. "in": "query"
  5868. }
  5869. ],
  5870. "responses": {
  5871. "200": {
  5872. "description": "OK",
  5873. "schema": {
  5874. "$ref": "#/definitions/models.HsbyMarketGoods"
  5875. }
  5876. },
  5877. "500": {
  5878. "description": "Internal Server Error",
  5879. "schema": {
  5880. "$ref": "#/definitions/app.Response"
  5881. }
  5882. }
  5883. }
  5884. }
  5885. },
  5886. "/HSBY/QueryMyCollectionOrders": {
  5887. "get": {
  5888. "security": [
  5889. {
  5890. "ApiKeyAuth": []
  5891. }
  5892. ],
  5893. "produces": [
  5894. "application/json"
  5895. ],
  5896. "tags": [
  5897. "定制【海商报业】"
  5898. ],
  5899. "summary": "我的闲置中收款信息查询",
  5900. "parameters": [
  5901. {
  5902. "type": "integer",
  5903. "description": "页码",
  5904. "name": "page",
  5905. "in": "query"
  5906. },
  5907. {
  5908. "type": "integer",
  5909. "description": "每页条数",
  5910. "name": "pagesize",
  5911. "in": "query"
  5912. },
  5913. {
  5914. "type": "string",
  5915. "description": "资金账户,格式:1,2,3",
  5916. "name": "accountIDs",
  5917. "in": "query",
  5918. "required": true
  5919. }
  5920. ],
  5921. "responses": {
  5922. "200": {
  5923. "description": "OK",
  5924. "schema": {
  5925. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5926. }
  5927. },
  5928. "500": {
  5929. "description": "Internal Server Error",
  5930. "schema": {
  5931. "$ref": "#/definitions/app.Response"
  5932. }
  5933. }
  5934. }
  5935. }
  5936. },
  5937. "/HSBY/QueryMyCouponHolds": {
  5938. "get": {
  5939. "security": [
  5940. {
  5941. "ApiKeyAuth": []
  5942. }
  5943. ],
  5944. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  5945. "produces": [
  5946. "application/json"
  5947. ],
  5948. "tags": [
  5949. "定制【海商报业】"
  5950. ],
  5951. "summary": "我的优惠卷持仓查询",
  5952. "parameters": [
  5953. {
  5954. "type": "string",
  5955. "description": "资金账户列表,格式:1,2,3",
  5956. "name": "accountIDs",
  5957. "in": "query",
  5958. "required": true
  5959. },
  5960. {
  5961. "type": "string",
  5962. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5963. "name": "holdStatus",
  5964. "in": "query"
  5965. }
  5966. ],
  5967. "responses": {
  5968. "200": {
  5969. "description": "OK",
  5970. "schema": {
  5971. "$ref": "#/definitions/models.MyCouponHold"
  5972. }
  5973. },
  5974. "500": {
  5975. "description": "Internal Server Error",
  5976. "schema": {
  5977. "$ref": "#/definitions/app.Response"
  5978. }
  5979. }
  5980. }
  5981. }
  5982. },
  5983. "/HSBY/QueryMyCoupons": {
  5984. "get": {
  5985. "security": [
  5986. {
  5987. "ApiKeyAuth": []
  5988. }
  5989. ],
  5990. "produces": [
  5991. "application/json"
  5992. ],
  5993. "tags": [
  5994. "定制【海商报业】"
  5995. ],
  5996. "summary": "我的优惠卷查询",
  5997. "parameters": [
  5998. {
  5999. "type": "string",
  6000. "description": "资金账户列表,格式:1,2,3",
  6001. "name": "accountIDs",
  6002. "in": "query",
  6003. "required": true
  6004. },
  6005. {
  6006. "type": "integer",
  6007. "description": "商品ID, 一般与sellUserID配套传入",
  6008. "name": "goodsID",
  6009. "in": "query"
  6010. },
  6011. {
  6012. "type": "integer",
  6013. "description": "卖方UserID",
  6014. "name": "sellUserID",
  6015. "in": "query"
  6016. }
  6017. ],
  6018. "responses": {
  6019. "200": {
  6020. "description": "OK",
  6021. "schema": {
  6022. "$ref": "#/definitions/models.MyCoupon"
  6023. }
  6024. },
  6025. "500": {
  6026. "description": "Internal Server Error",
  6027. "schema": {
  6028. "$ref": "#/definitions/app.Response"
  6029. }
  6030. }
  6031. }
  6032. }
  6033. },
  6034. "/HSBY/QueryMyPayOrders": {
  6035. "get": {
  6036. "security": [
  6037. {
  6038. "ApiKeyAuth": []
  6039. }
  6040. ],
  6041. "produces": [
  6042. "application/json"
  6043. ],
  6044. "tags": [
  6045. "定制【海商报业】"
  6046. ],
  6047. "summary": "获取我的订单中待付款信息",
  6048. "parameters": [
  6049. {
  6050. "type": "integer",
  6051. "description": "页码",
  6052. "name": "page",
  6053. "in": "query"
  6054. },
  6055. {
  6056. "type": "integer",
  6057. "description": "每页条数",
  6058. "name": "pagesize",
  6059. "in": "query"
  6060. },
  6061. {
  6062. "type": "string",
  6063. "description": "资金账户列表,格式:1,2,3",
  6064. "name": "accountIDs",
  6065. "in": "query",
  6066. "required": true
  6067. },
  6068. {
  6069. "type": "integer",
  6070. "description": "买方委托单号",
  6071. "name": "buyOrderID",
  6072. "in": "query"
  6073. },
  6074. {
  6075. "type": "integer",
  6076. "description": "卖方委托单号",
  6077. "name": "sellOrderID",
  6078. "in": "query"
  6079. }
  6080. ],
  6081. "responses": {
  6082. "200": {
  6083. "description": "OK",
  6084. "schema": {
  6085. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6086. }
  6087. },
  6088. "500": {
  6089. "description": "Internal Server Error",
  6090. "schema": {
  6091. "$ref": "#/definitions/app.Response"
  6092. }
  6093. }
  6094. }
  6095. }
  6096. },
  6097. "/HSBY/QueryMyUsedCoupon": {
  6098. "get": {
  6099. "security": [
  6100. {
  6101. "ApiKeyAuth": []
  6102. }
  6103. ],
  6104. "produces": [
  6105. "application/json"
  6106. ],
  6107. "tags": [
  6108. "定制【海商报业】"
  6109. ],
  6110. "summary": "已使用优惠卷查询",
  6111. "parameters": [
  6112. {
  6113. "type": "string",
  6114. "description": "资金账户列表,格式:1,2,3",
  6115. "name": "accountIDs",
  6116. "in": "query",
  6117. "required": true
  6118. }
  6119. ],
  6120. "responses": {
  6121. "200": {
  6122. "description": "OK",
  6123. "schema": {
  6124. "$ref": "#/definitions/models.MyUsedCoupon"
  6125. }
  6126. },
  6127. "500": {
  6128. "description": "Internal Server Error",
  6129. "schema": {
  6130. "$ref": "#/definitions/app.Response"
  6131. }
  6132. }
  6133. }
  6134. }
  6135. },
  6136. "/HSBY/QueryProvincesAndCities": {
  6137. "get": {
  6138. "security": [
  6139. {
  6140. "ApiKeyAuth": []
  6141. }
  6142. ],
  6143. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6144. "produces": [
  6145. "application/json"
  6146. ],
  6147. "tags": [
  6148. "定制【海商报业】"
  6149. ],
  6150. "summary": "查询省市信息(不包括区)",
  6151. "parameters": [
  6152. {
  6153. "type": "integer",
  6154. "description": "省ID",
  6155. "name": "provinceID",
  6156. "in": "query"
  6157. }
  6158. ],
  6159. "responses": {
  6160. "200": {
  6161. "description": "OK",
  6162. "schema": {
  6163. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6164. }
  6165. },
  6166. "500": {
  6167. "description": "Internal Server Error",
  6168. "schema": {
  6169. "$ref": "#/definitions/app.Response"
  6170. }
  6171. }
  6172. }
  6173. }
  6174. },
  6175. "/HSBY/SetHsbyMyPackagesStatus": {
  6176. "post": {
  6177. "security": [
  6178. {
  6179. "ApiKeyAuth": []
  6180. }
  6181. ],
  6182. "produces": [
  6183. "application/json"
  6184. ],
  6185. "tags": [
  6186. "定制【海商报业】"
  6187. ],
  6188. "summary": "设置我的包裹已收货状态",
  6189. "parameters": [
  6190. {
  6191. "type": "string",
  6192. "description": "提货单号",
  6193. "name": "takeOrderID",
  6194. "in": "query",
  6195. "required": true
  6196. },
  6197. {
  6198. "type": "integer",
  6199. "description": "资金账号",
  6200. "name": "accountID",
  6201. "in": "query",
  6202. "required": true
  6203. }
  6204. ],
  6205. "responses": {
  6206. "200": {
  6207. "description": "OK",
  6208. "schema": {
  6209. "$ref": "#/definitions/app.Response"
  6210. }
  6211. },
  6212. "500": {
  6213. "description": "Internal Server Error",
  6214. "schema": {
  6215. "$ref": "#/definitions/app.Response"
  6216. }
  6217. }
  6218. }
  6219. }
  6220. },
  6221. "/Market/QueryGoodsesByLoginID": {
  6222. "get": {
  6223. "security": [
  6224. {
  6225. "ApiKeyAuth": []
  6226. }
  6227. ],
  6228. "produces": [
  6229. "application/json"
  6230. ],
  6231. "tags": [
  6232. "通用市场"
  6233. ],
  6234. "summary": "获取登录账号有权限的商品信息",
  6235. "parameters": [
  6236. {
  6237. "type": "integer",
  6238. "description": "登录账号",
  6239. "name": "loginID",
  6240. "in": "query",
  6241. "required": true
  6242. },
  6243. {
  6244. "type": "string",
  6245. "description": "市场ID列表,格式:1,2,3",
  6246. "name": "marketIDs",
  6247. "in": "query"
  6248. }
  6249. ],
  6250. "responses": {
  6251. "200": {
  6252. "description": "OK",
  6253. "schema": {
  6254. "$ref": "#/definitions/models.Goods"
  6255. }
  6256. },
  6257. "500": {
  6258. "description": "Internal Server Error",
  6259. "schema": {
  6260. "$ref": "#/definitions/app.Response"
  6261. }
  6262. }
  6263. }
  6264. }
  6265. },
  6266. "/Market/QueryMarketRun": {
  6267. "get": {
  6268. "security": [
  6269. {
  6270. "ApiKeyAuth": []
  6271. }
  6272. ],
  6273. "produces": [
  6274. "application/json"
  6275. ],
  6276. "tags": [
  6277. "通用市场"
  6278. ],
  6279. "summary": "查询市场运行信息",
  6280. "parameters": [
  6281. {
  6282. "type": "integer",
  6283. "description": "市场ID,不传返回所有",
  6284. "name": "marketID",
  6285. "in": "query"
  6286. }
  6287. ],
  6288. "responses": {
  6289. "200": {
  6290. "description": "OK",
  6291. "schema": {
  6292. "$ref": "#/definitions/models.Marketrun"
  6293. }
  6294. },
  6295. "500": {
  6296. "description": "Internal Server Error",
  6297. "schema": {
  6298. "$ref": "#/definitions/app.Response"
  6299. }
  6300. }
  6301. }
  6302. }
  6303. },
  6304. "/Market/QueryMarketsByLoginID": {
  6305. "get": {
  6306. "security": [
  6307. {
  6308. "ApiKeyAuth": []
  6309. }
  6310. ],
  6311. "produces": [
  6312. "application/json"
  6313. ],
  6314. "tags": [
  6315. "通用市场"
  6316. ],
  6317. "summary": "获取登录账号有权限的市场信息",
  6318. "parameters": [
  6319. {
  6320. "type": "integer",
  6321. "description": "登录账号",
  6322. "name": "loginID",
  6323. "in": "query",
  6324. "required": true
  6325. }
  6326. ],
  6327. "responses": {
  6328. "200": {
  6329. "description": "OK",
  6330. "schema": {
  6331. "$ref": "#/definitions/models.Market"
  6332. }
  6333. },
  6334. "500": {
  6335. "description": "Internal Server Error",
  6336. "schema": {
  6337. "$ref": "#/definitions/app.Response"
  6338. }
  6339. }
  6340. }
  6341. }
  6342. },
  6343. "/Order/QueryHisTradeDetail": {
  6344. "get": {
  6345. "security": [
  6346. {
  6347. "ApiKeyAuth": []
  6348. }
  6349. ],
  6350. "produces": [
  6351. "application/json"
  6352. ],
  6353. "tags": [
  6354. "通用单据"
  6355. ],
  6356. "summary": "历史成交单查询(合约市场)",
  6357. "parameters": [
  6358. {
  6359. "type": "string",
  6360. "description": "资金账户 - 格式:1,2,3",
  6361. "name": "accountID",
  6362. "in": "query",
  6363. "required": true
  6364. },
  6365. {
  6366. "type": "integer",
  6367. "description": "成交单号",
  6368. "name": "tradeID",
  6369. "in": "query"
  6370. },
  6371. {
  6372. "type": "integer",
  6373. "description": "委托单号",
  6374. "name": "orderID",
  6375. "in": "query"
  6376. },
  6377. {
  6378. "type": "string",
  6379. "description": "交易模式 - 格式:1,2,3",
  6380. "name": "tradeMode",
  6381. "in": "query"
  6382. },
  6383. {
  6384. "type": "integer",
  6385. "description": "委托单据类型",
  6386. "name": "buildType",
  6387. "in": "query"
  6388. },
  6389. {
  6390. "type": "string",
  6391. "description": "成交类别 - 格式:1,2,3",
  6392. "name": "tradeType",
  6393. "in": "query"
  6394. },
  6395. {
  6396. "type": "string",
  6397. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6398. "name": "startDate",
  6399. "in": "query"
  6400. },
  6401. {
  6402. "type": "string",
  6403. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6404. "name": "endDate",
  6405. "in": "query"
  6406. }
  6407. ],
  6408. "responses": {
  6409. "200": {
  6410. "description": "OK",
  6411. "schema": {
  6412. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6413. }
  6414. },
  6415. "500": {
  6416. "description": "Internal Server Error",
  6417. "schema": {
  6418. "$ref": "#/definitions/app.Response"
  6419. }
  6420. }
  6421. }
  6422. }
  6423. },
  6424. "/Order/QueryHisTradeOrderDetail": {
  6425. "get": {
  6426. "security": [
  6427. {
  6428. "ApiKeyAuth": []
  6429. }
  6430. ],
  6431. "produces": [
  6432. "application/json"
  6433. ],
  6434. "tags": [
  6435. "通用单据"
  6436. ],
  6437. "summary": "历史委托单查询请求(合约市场)",
  6438. "parameters": [
  6439. {
  6440. "type": "string",
  6441. "description": "资金账户 - 格式:1,2,3",
  6442. "name": "accountID",
  6443. "in": "query",
  6444. "required": true
  6445. },
  6446. {
  6447. "type": "string",
  6448. "description": "交易模式 - 格式:1,2,3",
  6449. "name": "tradeMode",
  6450. "in": "query"
  6451. },
  6452. {
  6453. "type": "string",
  6454. "description": "委托状态 - 格式:1,2,3",
  6455. "name": "orderStatus",
  6456. "in": "query"
  6457. },
  6458. {
  6459. "type": "integer",
  6460. "description": "委托单号",
  6461. "name": "orderID",
  6462. "in": "query"
  6463. },
  6464. {
  6465. "type": "string",
  6466. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6467. "name": "startDate",
  6468. "in": "query"
  6469. },
  6470. {
  6471. "type": "string",
  6472. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6473. "name": "endDate",
  6474. "in": "query"
  6475. }
  6476. ],
  6477. "responses": {
  6478. "200": {
  6479. "description": "OK",
  6480. "schema": {
  6481. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6482. }
  6483. },
  6484. "500": {
  6485. "description": "Internal Server Error",
  6486. "schema": {
  6487. "$ref": "#/definitions/app.Response"
  6488. }
  6489. }
  6490. }
  6491. }
  6492. },
  6493. "/Order/QueryTradeDetail": {
  6494. "get": {
  6495. "security": [
  6496. {
  6497. "ApiKeyAuth": []
  6498. }
  6499. ],
  6500. "produces": [
  6501. "application/json"
  6502. ],
  6503. "tags": [
  6504. "通用单据"
  6505. ],
  6506. "summary": "成交单查询(合约市场)",
  6507. "parameters": [
  6508. {
  6509. "type": "string",
  6510. "description": "资金账户 - 格式:1,2,3",
  6511. "name": "accountID",
  6512. "in": "query",
  6513. "required": true
  6514. },
  6515. {
  6516. "type": "integer",
  6517. "description": "成交单号",
  6518. "name": "tradeID",
  6519. "in": "query"
  6520. },
  6521. {
  6522. "type": "integer",
  6523. "description": "委托单号",
  6524. "name": "orderID",
  6525. "in": "query"
  6526. },
  6527. {
  6528. "type": "string",
  6529. "description": "交易模式 - 格式:1,2,3",
  6530. "name": "tradeMode",
  6531. "in": "query"
  6532. },
  6533. {
  6534. "type": "integer",
  6535. "description": "委托单据类型",
  6536. "name": "buildType",
  6537. "in": "query"
  6538. },
  6539. {
  6540. "type": "string",
  6541. "description": "成交类别 - 格式:1,2,3",
  6542. "name": "tradeType",
  6543. "in": "query"
  6544. }
  6545. ],
  6546. "responses": {
  6547. "200": {
  6548. "description": "OK",
  6549. "schema": {
  6550. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6551. }
  6552. },
  6553. "500": {
  6554. "description": "Internal Server Error",
  6555. "schema": {
  6556. "$ref": "#/definitions/app.Response"
  6557. }
  6558. }
  6559. }
  6560. }
  6561. },
  6562. "/Order/QueryTradeOrderDetail": {
  6563. "get": {
  6564. "security": [
  6565. {
  6566. "ApiKeyAuth": []
  6567. }
  6568. ],
  6569. "produces": [
  6570. "application/json"
  6571. ],
  6572. "tags": [
  6573. "通用单据"
  6574. ],
  6575. "summary": "委托单查询请求(合约市场)",
  6576. "parameters": [
  6577. {
  6578. "type": "string",
  6579. "description": "资金账户 - 格式:1,2,3",
  6580. "name": "accountID",
  6581. "in": "query",
  6582. "required": true
  6583. },
  6584. {
  6585. "type": "string",
  6586. "description": "交易模式 - 格式:1,2,3",
  6587. "name": "tradeMode",
  6588. "in": "query"
  6589. },
  6590. {
  6591. "type": "string",
  6592. "description": "委托状态 - 格式:1,2,3",
  6593. "name": "orderStatus",
  6594. "in": "query"
  6595. },
  6596. {
  6597. "type": "integer",
  6598. "description": "委托单号",
  6599. "name": "orderID",
  6600. "in": "query"
  6601. }
  6602. ],
  6603. "responses": {
  6604. "200": {
  6605. "description": "OK",
  6606. "schema": {
  6607. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6608. }
  6609. },
  6610. "500": {
  6611. "description": "Internal Server Error",
  6612. "schema": {
  6613. "$ref": "#/definitions/app.Response"
  6614. }
  6615. }
  6616. }
  6617. }
  6618. },
  6619. "/Order/QueryTradePosition": {
  6620. "get": {
  6621. "security": [
  6622. {
  6623. "ApiKeyAuth": []
  6624. }
  6625. ],
  6626. "produces": [
  6627. "application/json"
  6628. ],
  6629. "tags": [
  6630. "通用单据"
  6631. ],
  6632. "summary": "持仓汇总查询(合约市场)",
  6633. "parameters": [
  6634. {
  6635. "type": "string",
  6636. "description": "资金账户 - 格式:1,2,3",
  6637. "name": "accountID",
  6638. "in": "query",
  6639. "required": true
  6640. },
  6641. {
  6642. "type": "string",
  6643. "description": "交易模式 - 格式:1,2,3",
  6644. "name": "tradeMode",
  6645. "in": "query"
  6646. }
  6647. ],
  6648. "responses": {
  6649. "200": {
  6650. "description": "OK",
  6651. "schema": {
  6652. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6653. }
  6654. },
  6655. "500": {
  6656. "description": "Internal Server Error",
  6657. "schema": {
  6658. "$ref": "#/definitions/app.Response"
  6659. }
  6660. }
  6661. }
  6662. }
  6663. },
  6664. "/Quote/QueryHistoryDatas": {
  6665. "get": {
  6666. "security": [
  6667. {
  6668. "ApiKeyAuth": []
  6669. }
  6670. ],
  6671. "produces": [
  6672. "application/json"
  6673. ],
  6674. "tags": [
  6675. "行情服务"
  6676. ],
  6677. "summary": "查询行情历史数据",
  6678. "parameters": [
  6679. {
  6680. "type": "integer",
  6681. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6682. "name": "cycleType",
  6683. "in": "query",
  6684. "required": true
  6685. },
  6686. {
  6687. "type": "string",
  6688. "description": "商品代码",
  6689. "name": "goodsCode",
  6690. "in": "query",
  6691. "required": true
  6692. },
  6693. {
  6694. "type": "string",
  6695. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6696. "name": "startTime",
  6697. "in": "query"
  6698. },
  6699. {
  6700. "type": "string",
  6701. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6702. "name": "endTime",
  6703. "in": "query"
  6704. },
  6705. {
  6706. "type": "integer",
  6707. "description": "条数",
  6708. "name": "count",
  6709. "in": "query"
  6710. },
  6711. {
  6712. "type": "boolean",
  6713. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6714. "name": "isAsc",
  6715. "in": "query"
  6716. }
  6717. ],
  6718. "responses": {
  6719. "200": {
  6720. "description": "OK",
  6721. "schema": {
  6722. "$ref": "#/definitions/quote.HistoryData"
  6723. }
  6724. },
  6725. "500": {
  6726. "description": "Internal Server Error",
  6727. "schema": {
  6728. "$ref": "#/definitions/app.Response"
  6729. }
  6730. }
  6731. }
  6732. }
  6733. },
  6734. "/Quote/QueryHistoryTikDatas": {
  6735. "get": {
  6736. "security": [
  6737. {
  6738. "ApiKeyAuth": []
  6739. }
  6740. ],
  6741. "produces": [
  6742. "application/json"
  6743. ],
  6744. "tags": [
  6745. "行情服务"
  6746. ],
  6747. "summary": "查询行情Tik数据",
  6748. "parameters": [
  6749. {
  6750. "type": "string",
  6751. "description": "商品代码",
  6752. "name": "goodsCode",
  6753. "in": "query",
  6754. "required": true
  6755. },
  6756. {
  6757. "type": "string",
  6758. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6759. "name": "startTime",
  6760. "in": "query"
  6761. },
  6762. {
  6763. "type": "string",
  6764. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6765. "name": "endTime",
  6766. "in": "query"
  6767. },
  6768. {
  6769. "type": "integer",
  6770. "description": "条数",
  6771. "name": "count",
  6772. "in": "query"
  6773. },
  6774. {
  6775. "type": "boolean",
  6776. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6777. "name": "isAsc",
  6778. "in": "query"
  6779. }
  6780. ],
  6781. "responses": {
  6782. "200": {
  6783. "description": "OK",
  6784. "schema": {
  6785. "$ref": "#/definitions/quote.HistoryTikData"
  6786. }
  6787. },
  6788. "500": {
  6789. "description": "Internal Server Error",
  6790. "schema": {
  6791. "$ref": "#/definitions/app.Response"
  6792. }
  6793. }
  6794. }
  6795. }
  6796. },
  6797. "/Quote/QueryQuoteDay": {
  6798. "get": {
  6799. "security": [
  6800. {
  6801. "ApiKeyAuth": []
  6802. }
  6803. ],
  6804. "produces": [
  6805. "application/json"
  6806. ],
  6807. "tags": [
  6808. "行情服务"
  6809. ],
  6810. "summary": "获取商品盘面信息",
  6811. "parameters": [
  6812. {
  6813. "type": "string",
  6814. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6815. "name": "goodsCodes",
  6816. "in": "query",
  6817. "required": true
  6818. }
  6819. ],
  6820. "responses": {
  6821. "200": {
  6822. "description": "OK",
  6823. "schema": {
  6824. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6825. }
  6826. },
  6827. "500": {
  6828. "description": "Internal Server Error",
  6829. "schema": {
  6830. "$ref": "#/definitions/app.Response"
  6831. }
  6832. }
  6833. }
  6834. }
  6835. },
  6836. "/Quote/QueryTSData": {
  6837. "get": {
  6838. "security": [
  6839. {
  6840. "ApiKeyAuth": []
  6841. }
  6842. ],
  6843. "produces": [
  6844. "application/json"
  6845. ],
  6846. "tags": [
  6847. "行情服务"
  6848. ],
  6849. "summary": "分时图数据查询",
  6850. "parameters": [
  6851. {
  6852. "type": "string",
  6853. "description": "商品代码",
  6854. "name": "goodsCode",
  6855. "in": "query",
  6856. "required": true
  6857. }
  6858. ],
  6859. "responses": {
  6860. "200": {
  6861. "description": "OK",
  6862. "schema": {
  6863. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6864. }
  6865. },
  6866. "500": {
  6867. "description": "Internal Server Error",
  6868. "schema": {
  6869. "$ref": "#/definitions/app.Response"
  6870. }
  6871. }
  6872. }
  6873. }
  6874. },
  6875. "/SZDZ/QueryConvertConfig": {
  6876. "get": {
  6877. "security": [
  6878. {
  6879. "ApiKeyAuth": []
  6880. }
  6881. ],
  6882. "produces": [
  6883. "application/json"
  6884. ],
  6885. "tags": [
  6886. "定制【尚志大宗】"
  6887. ],
  6888. "summary": "查询交易系统转换设置",
  6889. "parameters": [
  6890. {
  6891. "type": "integer",
  6892. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6893. "name": "convertType",
  6894. "in": "query"
  6895. },
  6896. {
  6897. "type": "string",
  6898. "description": "外部商品代码[JD\\PD]",
  6899. "name": "outerGoodsCode",
  6900. "in": "query"
  6901. },
  6902. {
  6903. "type": "string",
  6904. "description": "内部商品ID列表[交易],格式:1,2,3",
  6905. "name": "innerGoodsIDs",
  6906. "in": "query"
  6907. }
  6908. ],
  6909. "responses": {
  6910. "200": {
  6911. "description": "OK",
  6912. "schema": {
  6913. "$ref": "#/definitions/models.Szdz3convertconfig"
  6914. }
  6915. },
  6916. "500": {
  6917. "description": "Internal Server Error",
  6918. "schema": {
  6919. "$ref": "#/definitions/app.Response"
  6920. }
  6921. }
  6922. }
  6923. }
  6924. },
  6925. "/SZDZ/QueryConvertLog": {
  6926. "get": {
  6927. "security": [
  6928. {
  6929. "ApiKeyAuth": []
  6930. }
  6931. ],
  6932. "produces": [
  6933. "application/json"
  6934. ],
  6935. "tags": [
  6936. "定制【尚志大宗】"
  6937. ],
  6938. "summary": "交易系统转换流水查询",
  6939. "parameters": [
  6940. {
  6941. "type": "string",
  6942. "description": "资金账户 - 格式:1,2,3",
  6943. "name": "accountID",
  6944. "in": "query",
  6945. "required": true
  6946. },
  6947. {
  6948. "type": "string",
  6949. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6950. "name": "startDate",
  6951. "in": "query"
  6952. },
  6953. {
  6954. "type": "string",
  6955. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6956. "name": "endDate",
  6957. "in": "query"
  6958. }
  6959. ],
  6960. "responses": {
  6961. "200": {
  6962. "description": "OK",
  6963. "schema": {
  6964. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6965. }
  6966. },
  6967. "500": {
  6968. "description": "Internal Server Error",
  6969. "schema": {
  6970. "$ref": "#/definitions/app.Response"
  6971. }
  6972. }
  6973. }
  6974. }
  6975. },
  6976. "/SZDZ/QueryGoodsPickup": {
  6977. "get": {
  6978. "security": [
  6979. {
  6980. "ApiKeyAuth": []
  6981. }
  6982. ],
  6983. "produces": [
  6984. "application/json"
  6985. ],
  6986. "tags": [
  6987. "定制【尚志大宗】"
  6988. ],
  6989. "summary": "商品提货单查询",
  6990. "parameters": [
  6991. {
  6992. "type": "string",
  6993. "description": "资金账户 - 格式:1,2,3",
  6994. "name": "accountID",
  6995. "in": "query",
  6996. "required": true
  6997. },
  6998. {
  6999. "type": "integer",
  7000. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7001. "name": "takeOrderStatus",
  7002. "in": "query"
  7003. }
  7004. ],
  7005. "responses": {
  7006. "200": {
  7007. "description": "OK",
  7008. "schema": {
  7009. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7010. }
  7011. },
  7012. "500": {
  7013. "description": "Internal Server Error",
  7014. "schema": {
  7015. "$ref": "#/definitions/app.Response"
  7016. }
  7017. }
  7018. }
  7019. }
  7020. },
  7021. "/SZDZ/QueryRecieptOrder": {
  7022. "get": {
  7023. "security": [
  7024. {
  7025. "ApiKeyAuth": []
  7026. }
  7027. ],
  7028. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7029. "produces": [
  7030. "application/json"
  7031. ],
  7032. "tags": [
  7033. "定制【尚志大宗】"
  7034. ],
  7035. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7036. "parameters": [
  7037. {
  7038. "type": "integer",
  7039. "description": "页码",
  7040. "name": "page",
  7041. "in": "query"
  7042. },
  7043. {
  7044. "type": "integer",
  7045. "description": "每页条数",
  7046. "name": "pagesize",
  7047. "in": "query"
  7048. },
  7049. {
  7050. "type": "integer",
  7051. "description": "商品ID",
  7052. "name": "goodsID",
  7053. "in": "query",
  7054. "required": true
  7055. },
  7056. {
  7057. "type": "string",
  7058. "description": "所属账户名称",
  7059. "name": "accountName",
  7060. "in": "query"
  7061. },
  7062. {
  7063. "type": "integer",
  7064. "description": "市场ID",
  7065. "name": "marketID",
  7066. "in": "query"
  7067. },
  7068. {
  7069. "type": "integer",
  7070. "description": "方向 - 0:买 1:卖",
  7071. "name": "buyorsell",
  7072. "in": "query",
  7073. "required": true
  7074. }
  7075. ],
  7076. "responses": {
  7077. "200": {
  7078. "description": "OK",
  7079. "schema": {
  7080. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7081. }
  7082. },
  7083. "500": {
  7084. "description": "Internal Server Error",
  7085. "schema": {
  7086. "$ref": "#/definitions/app.Response"
  7087. }
  7088. }
  7089. }
  7090. }
  7091. },
  7092. "/SZDZ/QuerySZDZTradePosition": {
  7093. "get": {
  7094. "security": [
  7095. {
  7096. "ApiKeyAuth": []
  7097. }
  7098. ],
  7099. "produces": [
  7100. "application/json"
  7101. ],
  7102. "tags": [
  7103. "定制【尚志大宗】"
  7104. ],
  7105. "summary": "持仓汇总查询(尚志大宗)",
  7106. "parameters": [
  7107. {
  7108. "type": "integer",
  7109. "description": "资金账户",
  7110. "name": "accountID",
  7111. "in": "query",
  7112. "required": true
  7113. }
  7114. ],
  7115. "responses": {
  7116. "200": {
  7117. "description": "OK",
  7118. "schema": {
  7119. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7120. }
  7121. },
  7122. "500": {
  7123. "description": "Internal Server Error",
  7124. "schema": {
  7125. "$ref": "#/definitions/app.Response"
  7126. }
  7127. }
  7128. }
  7129. }
  7130. },
  7131. "/SZDZ/SearchWhite": {
  7132. "get": {
  7133. "security": [
  7134. {
  7135. "ApiKeyAuth": []
  7136. }
  7137. ],
  7138. "produces": [
  7139. "application/json"
  7140. ],
  7141. "tags": [
  7142. "定制【尚志大宗】"
  7143. ],
  7144. "summary": "搜索白名单",
  7145. "parameters": [
  7146. {
  7147. "type": "integer",
  7148. "description": "用户ID",
  7149. "name": "userID",
  7150. "in": "query",
  7151. "required": true
  7152. }
  7153. ],
  7154. "responses": {
  7155. "200": {
  7156. "description": "OK",
  7157. "schema": {
  7158. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7159. }
  7160. },
  7161. "500": {
  7162. "description": "Internal Server Error",
  7163. "schema": {
  7164. "$ref": "#/definitions/app.Response"
  7165. }
  7166. }
  7167. }
  7168. }
  7169. },
  7170. "/Search/SearchGoodses": {
  7171. "get": {
  7172. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7173. "produces": [
  7174. "application/json"
  7175. ],
  7176. "tags": [
  7177. "检索服务"
  7178. ],
  7179. "summary": "检索商品信息",
  7180. "parameters": [
  7181. {
  7182. "type": "string",
  7183. "description": "检索内容",
  7184. "name": "content",
  7185. "in": "query",
  7186. "required": true
  7187. },
  7188. {
  7189. "type": "string",
  7190. "description": "交易模式,格式:1,2,3",
  7191. "name": "tradeModes",
  7192. "in": "query"
  7193. }
  7194. ],
  7195. "responses": {
  7196. "200": {
  7197. "description": "OK",
  7198. "schema": {
  7199. "$ref": "#/definitions/models.SearchGoods"
  7200. }
  7201. },
  7202. "500": {
  7203. "description": "Internal Server Error",
  7204. "schema": {
  7205. "$ref": "#/definitions/app.Response"
  7206. }
  7207. }
  7208. }
  7209. }
  7210. },
  7211. "/TaAccount/GetTaAccounts": {
  7212. "get": {
  7213. "security": [
  7214. {
  7215. "ApiKeyAuth": []
  7216. }
  7217. ],
  7218. "produces": [
  7219. "application/json"
  7220. ],
  7221. "tags": [
  7222. "资金账户"
  7223. ],
  7224. "summary": "获取资金账户信息",
  7225. "parameters": [
  7226. {
  7227. "type": "integer",
  7228. "description": "登录账户",
  7229. "name": "loginID",
  7230. "in": "query",
  7231. "required": true
  7232. },
  7233. {
  7234. "type": "integer",
  7235. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7236. "name": "taAccountType",
  7237. "in": "query"
  7238. }
  7239. ],
  7240. "responses": {
  7241. "200": {
  7242. "description": "OK",
  7243. "schema": {
  7244. "$ref": "#/definitions/models.Taaccount"
  7245. }
  7246. },
  7247. "500": {
  7248. "description": "Internal Server Error",
  7249. "schema": {
  7250. "$ref": "#/definitions/app.Response"
  7251. }
  7252. }
  7253. }
  7254. }
  7255. },
  7256. "/TaAccount/QueryAmountLog": {
  7257. "get": {
  7258. "security": [
  7259. {
  7260. "ApiKeyAuth": []
  7261. }
  7262. ],
  7263. "produces": [
  7264. "application/json"
  7265. ],
  7266. "tags": [
  7267. "资金账户"
  7268. ],
  7269. "summary": "资金流水查询(当前)",
  7270. "parameters": [
  7271. {
  7272. "type": "integer",
  7273. "description": "页码",
  7274. "name": "page",
  7275. "in": "query"
  7276. },
  7277. {
  7278. "type": "integer",
  7279. "description": "每页条数",
  7280. "name": "pagesize",
  7281. "in": "query"
  7282. },
  7283. {
  7284. "type": "string",
  7285. "description": "资金账户 - 格式:1,2,3",
  7286. "name": "accountID",
  7287. "in": "query",
  7288. "required": true
  7289. },
  7290. {
  7291. "type": "string",
  7292. "description": "资金操作类型 - 格式:1,2,3",
  7293. "name": "OperateType",
  7294. "in": "query"
  7295. }
  7296. ],
  7297. "responses": {
  7298. "200": {
  7299. "description": "OK",
  7300. "schema": {
  7301. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7302. }
  7303. },
  7304. "500": {
  7305. "description": "Internal Server Error",
  7306. "schema": {
  7307. "$ref": "#/definitions/app.Response"
  7308. }
  7309. }
  7310. }
  7311. }
  7312. },
  7313. "/TaAccount/QueryHisAmountLog": {
  7314. "get": {
  7315. "security": [
  7316. {
  7317. "ApiKeyAuth": []
  7318. }
  7319. ],
  7320. "produces": [
  7321. "application/json"
  7322. ],
  7323. "tags": [
  7324. "资金账户"
  7325. ],
  7326. "summary": "资金流水查询(历史)",
  7327. "parameters": [
  7328. {
  7329. "type": "integer",
  7330. "description": "页码",
  7331. "name": "page",
  7332. "in": "query"
  7333. },
  7334. {
  7335. "type": "integer",
  7336. "description": "每页条数",
  7337. "name": "pagesize",
  7338. "in": "query"
  7339. },
  7340. {
  7341. "type": "string",
  7342. "description": "资金账户 - 格式:1,2,3",
  7343. "name": "accountID",
  7344. "in": "query",
  7345. "required": true
  7346. },
  7347. {
  7348. "type": "string",
  7349. "description": "资金操作类型 - 格式:1,2,3",
  7350. "name": "OperateType",
  7351. "in": "query"
  7352. },
  7353. {
  7354. "type": "string",
  7355. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7356. "name": "startDate",
  7357. "in": "query"
  7358. },
  7359. {
  7360. "type": "string",
  7361. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7362. "name": "endDate",
  7363. "in": "query"
  7364. }
  7365. ],
  7366. "responses": {
  7367. "200": {
  7368. "description": "OK",
  7369. "schema": {
  7370. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7371. }
  7372. },
  7373. "500": {
  7374. "description": "Internal Server Error",
  7375. "schema": {
  7376. "$ref": "#/definitions/app.Response"
  7377. }
  7378. }
  7379. }
  7380. }
  7381. },
  7382. "/Trade/QueryRecieptOrder": {
  7383. "get": {
  7384. "security": [
  7385. {
  7386. "ApiKeyAuth": []
  7387. }
  7388. ],
  7389. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7390. "produces": [
  7391. "application/json"
  7392. ],
  7393. "tags": [
  7394. "通用交易"
  7395. ],
  7396. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7397. "parameters": [
  7398. {
  7399. "type": "integer",
  7400. "description": "页码",
  7401. "name": "page",
  7402. "in": "query"
  7403. },
  7404. {
  7405. "type": "integer",
  7406. "description": "每页条数",
  7407. "name": "pagesize",
  7408. "in": "query"
  7409. },
  7410. {
  7411. "type": "integer",
  7412. "description": "商品ID",
  7413. "name": "goodsID",
  7414. "in": "query",
  7415. "required": true
  7416. },
  7417. {
  7418. "type": "string",
  7419. "description": "所属账户名称",
  7420. "name": "accountName",
  7421. "in": "query"
  7422. },
  7423. {
  7424. "type": "integer",
  7425. "description": "市场ID",
  7426. "name": "marketID",
  7427. "in": "query"
  7428. },
  7429. {
  7430. "type": "integer",
  7431. "description": "方向 - 0:买 1:卖",
  7432. "name": "buyorsell",
  7433. "in": "query",
  7434. "required": true
  7435. }
  7436. ],
  7437. "responses": {
  7438. "200": {
  7439. "description": "OK",
  7440. "schema": {
  7441. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7442. }
  7443. },
  7444. "500": {
  7445. "description": "Internal Server Error",
  7446. "schema": {
  7447. "$ref": "#/definitions/app.Response"
  7448. }
  7449. }
  7450. }
  7451. }
  7452. },
  7453. "/User/AddMessageBoard": {
  7454. "post": {
  7455. "security": [
  7456. {
  7457. "ApiKeyAuth": []
  7458. }
  7459. ],
  7460. "produces": [
  7461. "application/json"
  7462. ],
  7463. "tags": [
  7464. "用户信息"
  7465. ],
  7466. "summary": "添加用户留言板信息",
  7467. "parameters": [
  7468. {
  7469. "type": "integer",
  7470. "description": "用户ID",
  7471. "name": "userID",
  7472. "in": "query",
  7473. "required": true
  7474. },
  7475. {
  7476. "type": "string",
  7477. "description": "留言信息",
  7478. "name": "message",
  7479. "in": "query",
  7480. "required": true
  7481. },
  7482. {
  7483. "type": "string",
  7484. "description": "联系电话",
  7485. "name": "contactNum",
  7486. "in": "query",
  7487. "required": true
  7488. }
  7489. ],
  7490. "responses": {
  7491. "200": {
  7492. "description": "OK",
  7493. "schema": {
  7494. "$ref": "#/definitions/app.Response"
  7495. }
  7496. },
  7497. "500": {
  7498. "description": "Internal Server Error",
  7499. "schema": {
  7500. "$ref": "#/definitions/app.Response"
  7501. }
  7502. }
  7503. }
  7504. }
  7505. },
  7506. "/User/AddUserFavoriteGoods": {
  7507. "post": {
  7508. "security": [
  7509. {
  7510. "ApiKeyAuth": []
  7511. }
  7512. ],
  7513. "produces": [
  7514. "application/json"
  7515. ],
  7516. "tags": [
  7517. "用户信息"
  7518. ],
  7519. "summary": "添加用户商品收藏信息",
  7520. "parameters": [
  7521. {
  7522. "type": "integer",
  7523. "description": "用户ID",
  7524. "name": "userID",
  7525. "in": "query",
  7526. "required": true
  7527. },
  7528. {
  7529. "type": "integer",
  7530. "description": "商品ID",
  7531. "name": "goodsID",
  7532. "in": "query",
  7533. "required": true
  7534. }
  7535. ],
  7536. "responses": {
  7537. "200": {
  7538. "description": "OK",
  7539. "schema": {
  7540. "$ref": "#/definitions/app.Response"
  7541. }
  7542. },
  7543. "500": {
  7544. "description": "Internal Server Error",
  7545. "schema": {
  7546. "$ref": "#/definitions/app.Response"
  7547. }
  7548. }
  7549. }
  7550. }
  7551. },
  7552. "/User/GetLoginID": {
  7553. "get": {
  7554. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7555. "produces": [
  7556. "application/json"
  7557. ],
  7558. "tags": [
  7559. "用户信息"
  7560. ],
  7561. "summary": "获取登录ID",
  7562. "parameters": [
  7563. {
  7564. "type": "string",
  7565. "description": "登录代码",
  7566. "name": "username",
  7567. "in": "query",
  7568. "required": true
  7569. }
  7570. ],
  7571. "responses": {
  7572. "200": {
  7573. "description": "OK",
  7574. "schema": {
  7575. "$ref": "#/definitions/app.Response"
  7576. }
  7577. },
  7578. "500": {
  7579. "description": "Internal Server Error",
  7580. "schema": {
  7581. "$ref": "#/definitions/app.Response"
  7582. }
  7583. }
  7584. }
  7585. }
  7586. },
  7587. "/User/GetUserAccount": {
  7588. "get": {
  7589. "security": [
  7590. {
  7591. "ApiKeyAuth": []
  7592. }
  7593. ],
  7594. "produces": [
  7595. "application/json"
  7596. ],
  7597. "tags": [
  7598. "用户信息"
  7599. ],
  7600. "summary": "获取用户账号信息",
  7601. "parameters": [
  7602. {
  7603. "type": "integer",
  7604. "description": "用户ID",
  7605. "name": "userID",
  7606. "in": "query",
  7607. "required": true
  7608. }
  7609. ],
  7610. "responses": {
  7611. "200": {
  7612. "description": "OK",
  7613. "schema": {
  7614. "$ref": "#/definitions/models.Useraccount"
  7615. }
  7616. },
  7617. "500": {
  7618. "description": "Internal Server Error",
  7619. "schema": {
  7620. "$ref": "#/definitions/app.Response"
  7621. }
  7622. }
  7623. }
  7624. }
  7625. },
  7626. "/User/GetUserAuthStatus": {
  7627. "get": {
  7628. "security": [
  7629. {
  7630. "ApiKeyAuth": []
  7631. }
  7632. ],
  7633. "produces": [
  7634. "application/json"
  7635. ],
  7636. "tags": [
  7637. "用户信息"
  7638. ],
  7639. "summary": "获取用户实名认证状态",
  7640. "parameters": [
  7641. {
  7642. "type": "integer",
  7643. "description": "用户ID",
  7644. "name": "userID",
  7645. "in": "query",
  7646. "required": true
  7647. }
  7648. ],
  7649. "responses": {
  7650. "200": {
  7651. "description": "OK",
  7652. "schema": {
  7653. "$ref": "#/definitions/app.Response"
  7654. }
  7655. },
  7656. "500": {
  7657. "description": "Internal Server Error",
  7658. "schema": {
  7659. "$ref": "#/definitions/app.Response"
  7660. }
  7661. }
  7662. }
  7663. }
  7664. },
  7665. "/User/LoginQuery": {
  7666. "get": {
  7667. "security": [
  7668. {
  7669. "ApiKeyAuth": []
  7670. }
  7671. ],
  7672. "produces": [
  7673. "application/json"
  7674. ],
  7675. "tags": [
  7676. "用户信息"
  7677. ],
  7678. "summary": "账户登录后信息查询",
  7679. "parameters": [
  7680. {
  7681. "type": "integer",
  7682. "description": "登录账号",
  7683. "name": "loginID",
  7684. "in": "query",
  7685. "required": true
  7686. }
  7687. ],
  7688. "responses": {
  7689. "200": {
  7690. "description": "OK",
  7691. "schema": {
  7692. "$ref": "#/definitions/user.LoginQueryRsp"
  7693. }
  7694. },
  7695. "500": {
  7696. "description": "Internal Server Error",
  7697. "schema": {
  7698. "$ref": "#/definitions/app.Response"
  7699. }
  7700. }
  7701. }
  7702. }
  7703. },
  7704. "/User/QueryMessageBoard": {
  7705. "get": {
  7706. "security": [
  7707. {
  7708. "ApiKeyAuth": []
  7709. }
  7710. ],
  7711. "produces": [
  7712. "application/json"
  7713. ],
  7714. "tags": [
  7715. "用户信息"
  7716. ],
  7717. "summary": "获取用户留言板信息",
  7718. "parameters": [
  7719. {
  7720. "type": "integer",
  7721. "description": "用户ID",
  7722. "name": "userID",
  7723. "in": "query",
  7724. "required": true
  7725. }
  7726. ],
  7727. "responses": {
  7728. "200": {
  7729. "description": "OK",
  7730. "schema": {
  7731. "$ref": "#/definitions/models.Messageboard"
  7732. }
  7733. },
  7734. "500": {
  7735. "description": "Internal Server Error",
  7736. "schema": {
  7737. "$ref": "#/definitions/app.Response"
  7738. }
  7739. }
  7740. }
  7741. }
  7742. },
  7743. "/User/QueryUserFavoriteGoodses": {
  7744. "get": {
  7745. "security": [
  7746. {
  7747. "ApiKeyAuth": []
  7748. }
  7749. ],
  7750. "produces": [
  7751. "application/json"
  7752. ],
  7753. "tags": [
  7754. "用户信息"
  7755. ],
  7756. "summary": "获取用户商品收藏信息",
  7757. "parameters": [
  7758. {
  7759. "type": "integer",
  7760. "description": "用户ID",
  7761. "name": "userID",
  7762. "in": "query",
  7763. "required": true
  7764. }
  7765. ],
  7766. "responses": {
  7767. "200": {
  7768. "description": "OK",
  7769. "schema": {
  7770. "$ref": "#/definitions/models.Userfavoritegoods"
  7771. }
  7772. },
  7773. "500": {
  7774. "description": "Internal Server Error",
  7775. "schema": {
  7776. "$ref": "#/definitions/app.Response"
  7777. }
  7778. }
  7779. }
  7780. }
  7781. },
  7782. "/User/QueryUserInfo": {
  7783. "get": {
  7784. "security": [
  7785. {
  7786. "ApiKeyAuth": []
  7787. }
  7788. ],
  7789. "produces": [
  7790. "application/json"
  7791. ],
  7792. "tags": [
  7793. "用户信息"
  7794. ],
  7795. "summary": "获取用户信息",
  7796. "parameters": [
  7797. {
  7798. "type": "integer",
  7799. "description": "用户ID",
  7800. "name": "userID",
  7801. "in": "query",
  7802. "required": true
  7803. },
  7804. {
  7805. "type": "boolean",
  7806. "description": "是否解密",
  7807. "name": "isDecrypt",
  7808. "in": "query"
  7809. }
  7810. ],
  7811. "responses": {
  7812. "200": {
  7813. "description": "OK",
  7814. "schema": {
  7815. "$ref": "#/definitions/models.Userinfo"
  7816. }
  7817. },
  7818. "500": {
  7819. "description": "Internal Server Error",
  7820. "schema": {
  7821. "$ref": "#/definitions/app.Response"
  7822. }
  7823. }
  7824. }
  7825. }
  7826. },
  7827. "/User/QueryUserReferNum": {
  7828. "get": {
  7829. "produces": [
  7830. "application/json"
  7831. ],
  7832. "tags": [
  7833. "用户信息"
  7834. ],
  7835. "summary": "获取用户邀请码",
  7836. "parameters": [
  7837. {
  7838. "type": "integer",
  7839. "description": "用户ID",
  7840. "name": "userID",
  7841. "in": "query",
  7842. "required": true
  7843. }
  7844. ],
  7845. "responses": {
  7846. "200": {
  7847. "description": "OK",
  7848. "schema": {
  7849. "$ref": "#/definitions/app.Response"
  7850. }
  7851. },
  7852. "500": {
  7853. "description": "Internal Server Error",
  7854. "schema": {
  7855. "$ref": "#/definitions/app.Response"
  7856. }
  7857. }
  7858. }
  7859. }
  7860. },
  7861. "/User/RemoveUserFavoriteGoods": {
  7862. "post": {
  7863. "security": [
  7864. {
  7865. "ApiKeyAuth": []
  7866. }
  7867. ],
  7868. "produces": [
  7869. "application/json"
  7870. ],
  7871. "tags": [
  7872. "用户信息"
  7873. ],
  7874. "summary": "移除用户商品收藏信息",
  7875. "parameters": [
  7876. {
  7877. "type": "integer",
  7878. "description": "用户ID",
  7879. "name": "userID",
  7880. "in": "query",
  7881. "required": true
  7882. },
  7883. {
  7884. "type": "integer",
  7885. "description": "商品ID",
  7886. "name": "goodsID",
  7887. "in": "query",
  7888. "required": true
  7889. }
  7890. ],
  7891. "responses": {
  7892. "200": {
  7893. "description": "OK",
  7894. "schema": {
  7895. "$ref": "#/definitions/app.Response"
  7896. }
  7897. },
  7898. "500": {
  7899. "description": "Internal Server Error",
  7900. "schema": {
  7901. "$ref": "#/definitions/app.Response"
  7902. }
  7903. }
  7904. }
  7905. }
  7906. },
  7907. "/User/UpdateUserAccountStatus": {
  7908. "post": {
  7909. "security": [
  7910. {
  7911. "ApiKeyAuth": []
  7912. }
  7913. ],
  7914. "produces": [
  7915. "application/json"
  7916. ],
  7917. "tags": [
  7918. "用户信息"
  7919. ],
  7920. "summary": "更新用户状态",
  7921. "parameters": [
  7922. {
  7923. "type": "integer",
  7924. "description": "用户ID",
  7925. "name": "userID",
  7926. "in": "query",
  7927. "required": true
  7928. },
  7929. {
  7930. "type": "integer",
  7931. "description": "账户状态 - 4:正常 6:注销(停用)",
  7932. "name": "accountStatus",
  7933. "in": "query",
  7934. "required": true
  7935. }
  7936. ],
  7937. "responses": {
  7938. "200": {
  7939. "description": "OK",
  7940. "schema": {
  7941. "$ref": "#/definitions/app.Response"
  7942. }
  7943. },
  7944. "500": {
  7945. "description": "Internal Server Error",
  7946. "schema": {
  7947. "$ref": "#/definitions/app.Response"
  7948. }
  7949. }
  7950. }
  7951. }
  7952. },
  7953. "/WRTrade/GetAllDeliveryGoods": {
  7954. "get": {
  7955. "security": [
  7956. {
  7957. "ApiKeyAuth": []
  7958. },
  7959. {
  7960. "ApiKeyAuth": []
  7961. }
  7962. ],
  7963. "produces": [
  7964. "application/json",
  7965. "application/json"
  7966. ],
  7967. "tags": [
  7968. "仓单贸易",
  7969. "仓单贸易"
  7970. ],
  7971. "summary": "获取带仓单分类的种类信息",
  7972. "responses": {
  7973. "200": {
  7974. "description": "OK",
  7975. "schema": {
  7976. "$ref": "#/definitions/app.Response"
  7977. }
  7978. },
  7979. "500": {
  7980. "description": "Internal Server Error",
  7981. "schema": {
  7982. "$ref": "#/definitions/app.Response"
  7983. }
  7984. }
  7985. }
  7986. }
  7987. }
  7988. },
  7989. "definitions": {
  7990. "app.Response": {
  7991. "type": "object",
  7992. "properties": {
  7993. "code": {
  7994. "type": "integer"
  7995. },
  7996. "data": {
  7997. "type": "object"
  7998. },
  7999. "msg": {
  8000. "type": "string"
  8001. },
  8002. "page": {
  8003. "description": "页码",
  8004. "type": "integer"
  8005. },
  8006. "pagesize": {
  8007. "description": "每页条数",
  8008. "type": "integer"
  8009. },
  8010. "total": {
  8011. "description": "总条数",
  8012. "type": "integer"
  8013. }
  8014. }
  8015. },
  8016. "common.ClientMenu": {
  8017. "type": "object",
  8018. "properties": {
  8019. "children": {
  8020. "description": "子菜单列表",
  8021. "type": "array",
  8022. "items": {
  8023. "$ref": "#/definitions/common.ClientMenu"
  8024. }
  8025. },
  8026. "code": {
  8027. "description": "ID",
  8028. "type": "string"
  8029. },
  8030. "isshow": {
  8031. "description": "是否显示",
  8032. "type": "boolean"
  8033. },
  8034. "rulekey": {
  8035. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8036. "type": "string"
  8037. },
  8038. "sort": {
  8039. "description": "排序",
  8040. "type": "integer"
  8041. },
  8042. "title": {
  8043. "description": "标题",
  8044. "type": "string"
  8045. },
  8046. "type": {
  8047. "description": "类型,1:菜单 2:按钮",
  8048. "type": "integer"
  8049. }
  8050. }
  8051. },
  8052. "common.QueryImageConfigsRsp": {
  8053. "type": "object",
  8054. "required": [
  8055. "configid"
  8056. ],
  8057. "properties": {
  8058. "areauserid": {
  8059. "description": "所属机构ID",
  8060. "type": "integer"
  8061. },
  8062. "configid": {
  8063. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8064. "type": "integer"
  8065. },
  8066. "createdate": {
  8067. "description": "创建时间",
  8068. "type": "string"
  8069. },
  8070. "creatorid": {
  8071. "description": "创建人",
  8072. "type": "integer"
  8073. },
  8074. "imagepath": {
  8075. "description": "图片",
  8076. "type": "string"
  8077. },
  8078. "imagetype": {
  8079. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8080. "type": "integer"
  8081. },
  8082. "isshow": {
  8083. "description": "是否展示 - 0:不展示 1:展示",
  8084. "type": "integer"
  8085. },
  8086. "marketid": {
  8087. "description": "市场ID",
  8088. "type": "integer"
  8089. },
  8090. "modifierid": {
  8091. "description": "操作人",
  8092. "type": "integer"
  8093. },
  8094. "sort": {
  8095. "description": "排序",
  8096. "type": "integer"
  8097. },
  8098. "title": {
  8099. "description": "标题",
  8100. "type": "string"
  8101. },
  8102. "trademode": {
  8103. "description": "交易模式",
  8104. "type": "integer"
  8105. },
  8106. "updatedate": {
  8107. "description": "修改时间",
  8108. "type": "string"
  8109. },
  8110. "url": {
  8111. "description": "链接(地址或商品ID)",
  8112. "type": "string"
  8113. },
  8114. "urltype": {
  8115. "description": "链接类型 - 1:直接地址 2:商品ID",
  8116. "type": "integer"
  8117. }
  8118. }
  8119. },
  8120. "common.QueryNoticeRsp": {
  8121. "type": "object",
  8122. "required": [
  8123. "autoid"
  8124. ],
  8125. "properties": {
  8126. "auditoruserid": {
  8127. "description": "审核人",
  8128. "type": "integer"
  8129. },
  8130. "auditremark": {
  8131. "description": "审核备注",
  8132. "type": "string"
  8133. },
  8134. "audittime": {
  8135. "description": "审核日期",
  8136. "type": "string"
  8137. },
  8138. "autoid": {
  8139. "description": "自增ID",
  8140. "type": "integer"
  8141. },
  8142. "content": {
  8143. "description": "内容",
  8144. "type": "string"
  8145. },
  8146. "createtime": {
  8147. "description": "创建时间",
  8148. "type": "string"
  8149. },
  8150. "creatorid": {
  8151. "description": "建仓人",
  8152. "type": "integer"
  8153. },
  8154. "endtime": {
  8155. "description": "结束时间",
  8156. "type": "string"
  8157. },
  8158. "istop": {
  8159. "description": "是否置顶 - 0:不置顶 1:置顶",
  8160. "type": "integer"
  8161. },
  8162. "msgiconurl": {
  8163. "description": "消息图标Url",
  8164. "type": "string"
  8165. },
  8166. "msgtype": {
  8167. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8168. "type": "integer"
  8169. },
  8170. "publisher": {
  8171. "description": "消息发布者",
  8172. "type": "string"
  8173. },
  8174. "readed": {
  8175. "description": "是否已读",
  8176. "type": "boolean"
  8177. },
  8178. "scheduletime": {
  8179. "description": "计划发送时间",
  8180. "type": "string"
  8181. },
  8182. "sendtype": {
  8183. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8184. "type": "integer"
  8185. },
  8186. "sentstatus": {
  8187. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8188. "type": "integer"
  8189. },
  8190. "title": {
  8191. "description": "标题",
  8192. "type": "string"
  8193. },
  8194. "userid": {
  8195. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8196. "type": "integer"
  8197. }
  8198. }
  8199. },
  8200. "common.QueryProvincesAndCitiesRsp": {
  8201. "type": "object",
  8202. "properties": {
  8203. "cities": {
  8204. "description": "市",
  8205. "type": "array",
  8206. "items": {
  8207. "$ref": "#/definitions/models.Division"
  8208. }
  8209. },
  8210. "province": {
  8211. "description": "省",
  8212. "type": "object",
  8213. "$ref": "#/definitions/models.Division"
  8214. }
  8215. }
  8216. },
  8217. "common.QueryTableDefineRsp": {
  8218. "type": "object",
  8219. "required": [
  8220. "tablekey"
  8221. ],
  8222. "properties": {
  8223. "columns": {
  8224. "description": "列头信息数组",
  8225. "type": "array",
  8226. "items": {
  8227. "$ref": "#/definitions/models.Tablecolumnconfig"
  8228. }
  8229. },
  8230. "remark": {
  8231. "description": "Remark",
  8232. "type": "string"
  8233. },
  8234. "tabelmenu": {
  8235. "description": "列表菜单",
  8236. "type": "string"
  8237. },
  8238. "tablekey": {
  8239. "description": "列表Key",
  8240. "type": "string"
  8241. },
  8242. "tablename": {
  8243. "description": "列表名称",
  8244. "type": "string"
  8245. },
  8246. "tabletype": {
  8247. "description": "列表类型 - 1:管理端 2:终端",
  8248. "type": "integer"
  8249. }
  8250. }
  8251. },
  8252. "common.QueryTraderMenuRsp": {
  8253. "type": "object",
  8254. "properties": {
  8255. "OperationMenu": {
  8256. "description": "功能菜单",
  8257. "type": "array",
  8258. "items": {
  8259. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8260. }
  8261. },
  8262. "QuoteMenu": {
  8263. "description": "报价牌分类菜单",
  8264. "type": "array",
  8265. "items": {
  8266. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8267. }
  8268. }
  8269. }
  8270. },
  8271. "cptrade.Cptradepositioncancel": {
  8272. "type": "object",
  8273. "required": [
  8274. "cancelid"
  8275. ],
  8276. "properties": {
  8277. "accountid": {
  8278. "description": "申请人账户ID",
  8279. "type": "integer"
  8280. },
  8281. "applystatus": {
  8282. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8283. "type": "integer"
  8284. },
  8285. "applytime": {
  8286. "description": "申请时间",
  8287. "type": "string"
  8288. },
  8289. "cancelid": {
  8290. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8291. "type": "integer"
  8292. },
  8293. "cancelqty": {
  8294. "description": "注销数量",
  8295. "type": "integer"
  8296. },
  8297. "createtime": {
  8298. "description": "创建时间",
  8299. "type": "string"
  8300. },
  8301. "creatorid": {
  8302. "description": "创建人ID",
  8303. "type": "integer"
  8304. },
  8305. "creatorname": {
  8306. "description": "创建人",
  8307. "type": "string"
  8308. },
  8309. "goodscode": {
  8310. "description": "订单商品代码",
  8311. "type": "string"
  8312. },
  8313. "goodsid": {
  8314. "description": "商品ID",
  8315. "type": "integer"
  8316. },
  8317. "goodsname": {
  8318. "description": "订单商品名称",
  8319. "type": "string"
  8320. },
  8321. "goodunit": {
  8322. "description": "报价单位",
  8323. "type": "string"
  8324. },
  8325. "handlestatus": {
  8326. "description": "处理状态",
  8327. "type": "integer"
  8328. },
  8329. "marketid": {
  8330. "description": "市场ID",
  8331. "type": "integer"
  8332. },
  8333. "marketname": {
  8334. "description": "市场名称",
  8335. "type": "string"
  8336. },
  8337. "tradedate": {
  8338. "description": "交易日(yyyyMMdd)",
  8339. "type": "string"
  8340. },
  8341. "userid": {
  8342. "description": "申请人ID",
  8343. "type": "integer"
  8344. }
  8345. }
  8346. },
  8347. "cptrade.Cptradepresaleapply": {
  8348. "type": "object",
  8349. "required": [
  8350. "applyid"
  8351. ],
  8352. "properties": {
  8353. "accountid": {
  8354. "description": "申请人账户ID",
  8355. "type": "integer"
  8356. },
  8357. "applyid": {
  8358. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8359. "type": "integer"
  8360. },
  8361. "applyremark": {
  8362. "description": "申请备注",
  8363. "type": "string"
  8364. },
  8365. "applystatus": {
  8366. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8367. "type": "integer"
  8368. },
  8369. "applytime": {
  8370. "description": "申请时间",
  8371. "type": "string"
  8372. },
  8373. "attachmenturl": {
  8374. "description": "附件地址",
  8375. "type": "string"
  8376. },
  8377. "endtime": {
  8378. "description": "预售结束时间",
  8379. "type": "string"
  8380. },
  8381. "goodscode": {
  8382. "description": "商品代码",
  8383. "type": "string"
  8384. },
  8385. "goodsid": {
  8386. "description": "商品ID",
  8387. "type": "integer"
  8388. },
  8389. "goodsname": {
  8390. "description": "商品名称",
  8391. "type": "string"
  8392. },
  8393. "goodunit": {
  8394. "description": "报价单位",
  8395. "type": "string"
  8396. },
  8397. "handlestatus": {
  8398. "description": "处理状态",
  8399. "type": "integer"
  8400. },
  8401. "marketid": {
  8402. "description": "预售市场ID",
  8403. "type": "integer"
  8404. },
  8405. "marketname": {
  8406. "description": "预售市场名称",
  8407. "type": "string"
  8408. },
  8409. "presaleqty": {
  8410. "description": "预售数量",
  8411. "type": "integer"
  8412. },
  8413. "relatedgoodscode": {
  8414. "description": "关联交易合约代码",
  8415. "type": "string"
  8416. },
  8417. "relatedgoodsid": {
  8418. "description": "关联交易合约ID",
  8419. "type": "integer"
  8420. },
  8421. "relatedgoodsname": {
  8422. "description": "关联交易合约名称",
  8423. "type": "string"
  8424. },
  8425. "starttime": {
  8426. "description": "预售开始时间",
  8427. "type": "string"
  8428. },
  8429. "tradedate": {
  8430. "description": "交易日(yyyyMMdd)",
  8431. "type": "string"
  8432. },
  8433. "trademode": {
  8434. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8435. "type": "integer"
  8436. },
  8437. "userid": {
  8438. "description": "申请人ID",
  8439. "type": "integer"
  8440. }
  8441. }
  8442. },
  8443. "cptrade.Cptradeusergoodsdata": {
  8444. "type": "object",
  8445. "required": [
  8446. "accountid",
  8447. "goodsid"
  8448. ],
  8449. "properties": {
  8450. "EnabledQty": {
  8451. "description": "可用量",
  8452. "type": "integer"
  8453. },
  8454. "GoodsCode": {
  8455. "description": "订单商品代码",
  8456. "type": "string"
  8457. },
  8458. "GoodsName": {
  8459. "description": "订单商品名称",
  8460. "type": "string"
  8461. },
  8462. "WRStandardCode": {
  8463. "description": "仓单标准代码",
  8464. "type": "string"
  8465. },
  8466. "WRStandardName": {
  8467. "description": "仓单标准名称",
  8468. "type": "string"
  8469. },
  8470. "accountid": {
  8471. "description": "账户ID",
  8472. "type": "integer"
  8473. },
  8474. "cancelqty": {
  8475. "description": "注销量",
  8476. "type": "integer"
  8477. },
  8478. "curpresaleqty": {
  8479. "description": "当前预售量",
  8480. "type": "integer"
  8481. },
  8482. "deliveryqty": {
  8483. "description": "交割量",
  8484. "type": "integer"
  8485. },
  8486. "freezeamount": {
  8487. "description": "冻结金额",
  8488. "type": "number"
  8489. },
  8490. "goodsid": {
  8491. "description": "商品ID",
  8492. "type": "integer"
  8493. },
  8494. "goodunit": {
  8495. "description": "报价单位",
  8496. "type": "string"
  8497. },
  8498. "hasspotfreeze": {
  8499. "description": "是否有现货冻结 - 0:否 1:有",
  8500. "type": "integer"
  8501. },
  8502. "inqty": {
  8503. "description": "转入量(总数量)",
  8504. "type": "integer"
  8505. },
  8506. "marketid": {
  8507. "description": "市场ID",
  8508. "type": "integer"
  8509. },
  8510. "presaledamount": {
  8511. "description": "已预售总金额",
  8512. "type": "integer"
  8513. },
  8514. "presaledqty": {
  8515. "description": "已预售量",
  8516. "type": "integer"
  8517. },
  8518. "userid": {
  8519. "description": "用户ID",
  8520. "type": "integer"
  8521. },
  8522. "wrstandardid": {
  8523. "description": "仓单标准ID",
  8524. "type": "integer"
  8525. }
  8526. }
  8527. },
  8528. "cptrade.QueryCPTradeMyBidRsp": {
  8529. "type": "object",
  8530. "required": [
  8531. "accountid",
  8532. "goodsid",
  8533. "marketid",
  8534. "orderid",
  8535. "orderqty",
  8536. "ordertime",
  8537. "tradeprice",
  8538. "tradeqty"
  8539. ],
  8540. "properties": {
  8541. "accountid": {
  8542. "description": "账户ID[报价币种]",
  8543. "type": "integer"
  8544. },
  8545. "goodsid": {
  8546. "description": "商品ID",
  8547. "type": "integer"
  8548. },
  8549. "goodunit": {
  8550. "description": "报价单位",
  8551. "type": "string"
  8552. },
  8553. "marketid": {
  8554. "description": "市场ID",
  8555. "type": "integer"
  8556. },
  8557. "orderid": {
  8558. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8559. "type": "integer"
  8560. },
  8561. "orderprice": {
  8562. "description": "委托价格",
  8563. "type": "number"
  8564. },
  8565. "orderqty": {
  8566. "description": "委托数量",
  8567. "type": "integer"
  8568. },
  8569. "ordertime": {
  8570. "description": "委托时间",
  8571. "type": "string"
  8572. },
  8573. "ordertotalprice": {
  8574. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8575. "type": "number"
  8576. },
  8577. "ordertotalweight": {
  8578. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8579. "type": "integer"
  8580. },
  8581. "totaltotalprice": {
  8582. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8583. "type": "number"
  8584. },
  8585. "tradeprice": {
  8586. "description": "成交价格",
  8587. "type": "number"
  8588. },
  8589. "tradeqty": {
  8590. "description": "成交数量",
  8591. "type": "integer"
  8592. }
  8593. }
  8594. },
  8595. "cptrade.QueryCPTradeOrderDetailRsq": {
  8596. "type": "object",
  8597. "required": [
  8598. "accountid",
  8599. "buildtype",
  8600. "buyorsell",
  8601. "goodsid",
  8602. "marketid",
  8603. "memberuserid",
  8604. "operatetype",
  8605. "orderqty",
  8606. "ordertime",
  8607. "pricemode",
  8608. "strorderid",
  8609. "tradedate",
  8610. "validtype"
  8611. ],
  8612. "properties": {
  8613. "accountid": {
  8614. "description": "账户ID[报价币种]",
  8615. "type": "integer"
  8616. },
  8617. "buildtype": {
  8618. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8619. "type": "integer"
  8620. },
  8621. "buyorsell": {
  8622. "description": "买卖 - 0:买 1:卖",
  8623. "type": "integer"
  8624. },
  8625. "cancelorderid": {
  8626. "description": "撤单单号(撤单时填写)",
  8627. "type": "integer"
  8628. },
  8629. "cancelqty": {
  8630. "description": "撤单数量",
  8631. "type": "integer"
  8632. },
  8633. "clientordertime": {
  8634. "description": "客户端委托时间",
  8635. "type": "string"
  8636. },
  8637. "clientticket": {
  8638. "description": "客户端流水号",
  8639. "type": "string"
  8640. },
  8641. "clienttype": {
  8642. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8643. "type": "integer"
  8644. },
  8645. "closeexchagechargevalue": {
  8646. "description": "平仓交易所手续费设置值",
  8647. "type": "number"
  8648. },
  8649. "closefeealgorithm": {
  8650. "description": "平仓手续费收取方式 1:比率 2:固定",
  8651. "type": "integer"
  8652. },
  8653. "closefreezecharge": {
  8654. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8655. "type": "number"
  8656. },
  8657. "closememberchargevalue": {
  8658. "description": "平仓会员手续费设置值",
  8659. "type": "number"
  8660. },
  8661. "closeqty": {
  8662. "description": "平仓数量(先建后平操作 需要记录)",
  8663. "type": "integer"
  8664. },
  8665. "closetradeqty": {
  8666. "description": "平仓成交数量(先建后平操作,需要记录)",
  8667. "type": "integer"
  8668. },
  8669. "closeunfreezecharge": {
  8670. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8671. "type": "number"
  8672. },
  8673. "delistingtype": {
  8674. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8675. "type": "integer"
  8676. },
  8677. "freezecharge": {
  8678. "description": "冻结手续费",
  8679. "type": "number"
  8680. },
  8681. "freezemargin": {
  8682. "description": "冻结保证金(冻结交易金额)",
  8683. "type": "number"
  8684. },
  8685. "gcaccountid": {
  8686. "description": "账户ID[合约币种]",
  8687. "type": "integer"
  8688. },
  8689. "goodsid": {
  8690. "description": "商品ID",
  8691. "type": "integer"
  8692. },
  8693. "isconfirmexercise": {
  8694. "description": "是否确认行权- 0:否 1:是",
  8695. "type": "integer"
  8696. },
  8697. "ispreexercise": {
  8698. "description": "是否预申报- 0:否 1:是",
  8699. "type": "integer"
  8700. },
  8701. "listingselecttype": {
  8702. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8703. "type": "integer"
  8704. },
  8705. "marginalgorithm": {
  8706. "description": "保证金收取方式 1:比率 2:固定",
  8707. "type": "integer"
  8708. },
  8709. "marginvalue": {
  8710. "description": "即市保证金设置值",
  8711. "type": "number"
  8712. },
  8713. "marketid": {
  8714. "description": "市场ID",
  8715. "type": "integer"
  8716. },
  8717. "marketmaxsub": {
  8718. "description": "市价最大偏移范围",
  8719. "type": "number"
  8720. },
  8721. "memberuserid": {
  8722. "description": "所属会员UserID",
  8723. "type": "integer"
  8724. },
  8725. "openexchagechargevalue": {
  8726. "description": "建仓交易所手续费设置值",
  8727. "type": "number"
  8728. },
  8729. "openfeealgorithm": {
  8730. "description": "建仓手续费收取方式 1:比率 2:固定",
  8731. "type": "integer"
  8732. },
  8733. "openfreezecharge": {
  8734. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8735. "type": "number"
  8736. },
  8737. "openmemberchargevalue": {
  8738. "description": "建仓会员手续费设置值",
  8739. "type": "number"
  8740. },
  8741. "openqty": {
  8742. "description": "开仓数量(先建后平操作,需要记录)",
  8743. "type": "integer"
  8744. },
  8745. "opentradeqty": {
  8746. "description": "开仓成交数量(先建后平操作,需要记录)",
  8747. "type": "integer"
  8748. },
  8749. "openunfreezecharge": {
  8750. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8751. "type": "number"
  8752. },
  8753. "operatetype": {
  8754. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8755. "type": "integer"
  8756. },
  8757. "operatorid": {
  8758. "description": "登录账号(LoginID)",
  8759. "type": "integer"
  8760. },
  8761. "optiontype": {
  8762. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8763. "type": "integer"
  8764. },
  8765. "orderprice": {
  8766. "description": "委托价格",
  8767. "type": "number"
  8768. },
  8769. "orderqty": {
  8770. "description": "委托数量",
  8771. "type": "integer"
  8772. },
  8773. "ordersrc": {
  8774. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8775. "type": "integer"
  8776. },
  8777. "orderstatus": {
  8778. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8779. "type": "integer"
  8780. },
  8781. "ordertime": {
  8782. "description": "委托时间",
  8783. "type": "string"
  8784. },
  8785. "preexerciseprice": {
  8786. "description": "预申报价格",
  8787. "type": "number"
  8788. },
  8789. "premium": {
  8790. "description": "权利金",
  8791. "type": "number"
  8792. },
  8793. "preorderid": {
  8794. "description": "关联预埋单号(止盈止损单时填写)",
  8795. "type": "integer"
  8796. },
  8797. "pricemode": {
  8798. "description": "取价方式 - 1:市价 2: 限价",
  8799. "type": "integer"
  8800. },
  8801. "quoteid": {
  8802. "description": "报价单ID",
  8803. "type": "integer"
  8804. },
  8805. "relatedid": {
  8806. "description": "关联单号(交割单)",
  8807. "type": "integer"
  8808. },
  8809. "retcode": {
  8810. "description": "错误代码",
  8811. "type": "integer"
  8812. },
  8813. "sessionid": {
  8814. "description": "会话ID",
  8815. "type": "integer"
  8816. },
  8817. "strorderid": {
  8818. "description": "委托单号",
  8819. "type": "string"
  8820. },
  8821. "tradedate": {
  8822. "description": "交易日(yyyyMMdd)",
  8823. "type": "string"
  8824. },
  8825. "tradeproperty": {
  8826. "description": "交易属性",
  8827. "type": "integer"
  8828. },
  8829. "tradeqty": {
  8830. "description": "成交数量",
  8831. "type": "integer"
  8832. },
  8833. "unfreezecharge": {
  8834. "description": "解冻手续费",
  8835. "type": "number"
  8836. },
  8837. "unfreezemargin": {
  8838. "description": "解冻保证金",
  8839. "type": "number"
  8840. },
  8841. "updatetime": {
  8842. "description": "更新时间",
  8843. "type": "string"
  8844. },
  8845. "uuid": {
  8846. "description": "发起端唯一id",
  8847. "type": "string"
  8848. },
  8849. "validtime": {
  8850. "description": "有效期限",
  8851. "type": "string"
  8852. },
  8853. "validtype": {
  8854. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8855. "type": "integer"
  8856. },
  8857. "volumetype": {
  8858. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8859. "type": "integer"
  8860. }
  8861. }
  8862. },
  8863. "cptrade.QueryMyCPTradeGoodsRsp": {
  8864. "type": "object",
  8865. "required": [
  8866. "goodscode",
  8867. "goodsid",
  8868. "goodsname",
  8869. "marketid",
  8870. "relatedgoodscode",
  8871. "relatedgoodsname"
  8872. ],
  8873. "properties": {
  8874. "accountid": {
  8875. "description": "卖方账户ID",
  8876. "type": "integer"
  8877. },
  8878. "agreeunit": {
  8879. "description": "合约单位",
  8880. "type": "number"
  8881. },
  8882. "applyid": {
  8883. "description": "关联申请ID",
  8884. "type": "integer"
  8885. },
  8886. "attachmenturl": {
  8887. "description": "附件地址",
  8888. "type": "string"
  8889. },
  8890. "createtime": {
  8891. "description": "创建时间",
  8892. "type": "string"
  8893. },
  8894. "currencyid": {
  8895. "description": "报价货币ID",
  8896. "type": "integer"
  8897. },
  8898. "decimalplace": {
  8899. "description": "报价小数位",
  8900. "type": "integer"
  8901. },
  8902. "endtime": {
  8903. "description": "预售结束时间",
  8904. "type": "string"
  8905. },
  8906. "floorprice": {
  8907. "description": "底价[大宗式竞拍]",
  8908. "type": "number"
  8909. },
  8910. "goodscode": {
  8911. "description": "商品代码(预售)",
  8912. "type": "string"
  8913. },
  8914. "goodsdetail": {
  8915. "description": "详情[大宗]",
  8916. "type": "string"
  8917. },
  8918. "goodsid": {
  8919. "description": "商品ID(自增ID SEQ_GOODS)",
  8920. "type": "integer"
  8921. },
  8922. "goodsname": {
  8923. "description": "商品名称(预售)",
  8924. "type": "string"
  8925. },
  8926. "goodunit": {
  8927. "description": "报价单位",
  8928. "type": "string"
  8929. },
  8930. "goodunitid": {
  8931. "description": "报价单位ID",
  8932. "type": "integer"
  8933. },
  8934. "marketid": {
  8935. "description": "所属市场ID",
  8936. "type": "integer"
  8937. },
  8938. "marketname": {
  8939. "description": "预售市场名称",
  8940. "type": "string"
  8941. },
  8942. "presaledamount": {
  8943. "description": "已预售总金额(预售结束时更新)",
  8944. "type": "number"
  8945. },
  8946. "presaledqty": {
  8947. "description": "已预售量(预售结束时更新)",
  8948. "type": "integer"
  8949. },
  8950. "presalemode": {
  8951. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8952. "type": "integer"
  8953. },
  8954. "presaleqty": {
  8955. "description": "预售数量",
  8956. "type": "integer"
  8957. },
  8958. "refprice": {
  8959. "description": "参考价格[一口价]",
  8960. "type": "number"
  8961. },
  8962. "relatedgoodscode": {
  8963. "description": "商品代码(订单)",
  8964. "type": "string"
  8965. },
  8966. "relatedgoodsid": {
  8967. "description": "关联交易合约ID",
  8968. "type": "integer"
  8969. },
  8970. "relatedgoodsname": {
  8971. "description": "商品名称(订单)",
  8972. "type": "string"
  8973. },
  8974. "relatedmarketid": {
  8975. "description": "关联交易合约市场ID",
  8976. "type": "integer"
  8977. },
  8978. "sellstatus": {
  8979. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8980. "type": "integer"
  8981. },
  8982. "startprice": {
  8983. "description": "起拍价[大宗式竞拍]",
  8984. "type": "number"
  8985. },
  8986. "starttime": {
  8987. "description": "预售开始时间",
  8988. "type": "string"
  8989. },
  8990. "tradedate": {
  8991. "description": "交易日(yyyyMMdd)",
  8992. "type": "string"
  8993. },
  8994. "tradeprice": {
  8995. "description": "成交价[大宗]",
  8996. "type": "number"
  8997. },
  8998. "userid": {
  8999. "description": "卖方用户ID",
  9000. "type": "integer"
  9001. }
  9002. }
  9003. },
  9004. "cptrade.QueryPresaleGoodsExRsp": {
  9005. "type": "object",
  9006. "required": [
  9007. "goodsid"
  9008. ],
  9009. "properties": {
  9010. "attachmenturl": {
  9011. "description": "附件地址",
  9012. "type": "string"
  9013. },
  9014. "createtime": {
  9015. "description": "创建时间",
  9016. "type": "string"
  9017. },
  9018. "endtime": {
  9019. "description": "预售结束时间",
  9020. "type": "string"
  9021. },
  9022. "floorprice": {
  9023. "description": "底价[大宗式竞拍]",
  9024. "type": "number"
  9025. },
  9026. "goodsdetail": {
  9027. "description": "详情[大宗]",
  9028. "type": "string"
  9029. },
  9030. "goodsid": {
  9031. "description": "商品ID(预售)",
  9032. "type": "integer"
  9033. },
  9034. "goodunit": {
  9035. "description": "报价单位",
  9036. "type": "string"
  9037. },
  9038. "marketid": {
  9039. "description": "预售市场ID - 根据预售模式选择市场",
  9040. "type": "integer"
  9041. },
  9042. "presaledamount": {
  9043. "description": "已预售总金额(预售结束时更新)",
  9044. "type": "number"
  9045. },
  9046. "presaledqty": {
  9047. "description": "已预售量(预售结束时更新)",
  9048. "type": "integer"
  9049. },
  9050. "presalemode": {
  9051. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9052. "type": "integer"
  9053. },
  9054. "presaleqty": {
  9055. "description": "预售数量",
  9056. "type": "integer"
  9057. },
  9058. "refprice": {
  9059. "description": "参考价格[一口价]",
  9060. "type": "number"
  9061. },
  9062. "relatedgoodsid": {
  9063. "description": "关联交易合约ID",
  9064. "type": "integer"
  9065. },
  9066. "relatedmarketid": {
  9067. "description": "关联交易合约市场ID",
  9068. "type": "integer"
  9069. },
  9070. "sellstatus": {
  9071. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9072. "type": "integer"
  9073. },
  9074. "startprice": {
  9075. "description": "起拍价[大宗式竞拍]",
  9076. "type": "number"
  9077. },
  9078. "starttime": {
  9079. "description": "预售开始时间",
  9080. "type": "string"
  9081. },
  9082. "tradedate": {
  9083. "description": "交易日(yyyyMMdd)",
  9084. "type": "string"
  9085. },
  9086. "tradeprice": {
  9087. "description": "成交价[大宗]",
  9088. "type": "number"
  9089. }
  9090. }
  9091. },
  9092. "delivery.QueryDeliveryRelationRsp": {
  9093. "type": "object",
  9094. "required": [
  9095. "begindate",
  9096. "enddate",
  9097. "goodsid",
  9098. "mindeliveryqty",
  9099. "xdeliveryratio"
  9100. ],
  9101. "properties": {
  9102. "begindate": {
  9103. "description": "起始日期(yyyyMMdd)",
  9104. "type": "string"
  9105. },
  9106. "buytemplateid": {
  9107. "description": "买履约计划模板ID",
  9108. "type": "integer"
  9109. },
  9110. "deliverygoodscode": {
  9111. "description": "品种代码",
  9112. "type": "string"
  9113. },
  9114. "deliverygoodsid": {
  9115. "description": "交割商品",
  9116. "type": "integer"
  9117. },
  9118. "deliverygoodsname": {
  9119. "description": "品种名称",
  9120. "type": "string"
  9121. },
  9122. "deliverymode": {
  9123. "description": "交割方式 - 1:点选式 2:申报式",
  9124. "type": "integer"
  9125. },
  9126. "deliverypricerule": {
  9127. "description": "交割价规则- 1:行情价 2:建仓价",
  9128. "type": "integer"
  9129. },
  9130. "deliverytype": {
  9131. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9132. "type": "integer"
  9133. },
  9134. "enddate": {
  9135. "description": "结束日期(yyyyMMdd)",
  9136. "type": "string"
  9137. },
  9138. "goodscode": {
  9139. "description": "商品代码",
  9140. "type": "string"
  9141. },
  9142. "goodsid": {
  9143. "description": "交易合约ID",
  9144. "type": "integer"
  9145. },
  9146. "goodsname": {
  9147. "description": "商品名称",
  9148. "type": "string"
  9149. },
  9150. "marketid": {
  9151. "description": "市场ID",
  9152. "type": "integer"
  9153. },
  9154. "mindeliveryqty": {
  9155. "description": "最小交割系数(K)",
  9156. "type": "integer"
  9157. },
  9158. "p2deliveryprice": {
  9159. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9160. "type": "number"
  9161. },
  9162. "p2deliveryratio": {
  9163. "description": "P2合约系数(p)",
  9164. "type": "integer"
  9165. },
  9166. "p2goodsid": {
  9167. "description": "P2合约ID",
  9168. "type": "integer"
  9169. },
  9170. "p2pricemode": {
  9171. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9172. "type": "integer"
  9173. },
  9174. "pdeliveryprice": {
  9175. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9176. "type": "number"
  9177. },
  9178. "pdeliveryratio": {
  9179. "description": "P合约系数(n)",
  9180. "type": "integer"
  9181. },
  9182. "pgoodsid": {
  9183. "description": "P合约ID",
  9184. "type": "integer"
  9185. },
  9186. "ppricemode": {
  9187. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9188. "type": "integer"
  9189. },
  9190. "rratio": {
  9191. "description": "兑换系数(R)",
  9192. "type": "integer"
  9193. },
  9194. "rratio1": {
  9195. "description": "兑换系数(交易合约)(R1)",
  9196. "type": "integer"
  9197. },
  9198. "rratio2": {
  9199. "description": "兑换系数(仓单标准)(R2)",
  9200. "type": "integer"
  9201. },
  9202. "selltemplateid": {
  9203. "description": "卖履约计划模板ID",
  9204. "type": "integer"
  9205. },
  9206. "wrstandardid": {
  9207. "description": "仓单标准ID",
  9208. "type": "integer"
  9209. },
  9210. "xdeliveryratio": {
  9211. "description": "交易合约系数(m)",
  9212. "type": "integer"
  9213. }
  9214. }
  9215. },
  9216. "ermcp.ExposureDetailRsp": {
  9217. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9218. },
  9219. "ermcp.ExposureHedgePosDetailRsp": {
  9220. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9221. },
  9222. "ermcp.ExposureHedgePositionRsp": {
  9223. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9224. },
  9225. "ermcp.ExposureSpotDetailRsp": {
  9226. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9227. },
  9228. "ermcp.ExposureSpotRsp": {
  9229. "$ref": "#/definitions/models.AreaSpotModel"
  9230. },
  9231. "ermcp.HisExposureRsp": {
  9232. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9233. },
  9234. "ermcp.PendingAuditCntRsp": {
  9235. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9236. },
  9237. "ermcp.QryAvalidGPRsp": {
  9238. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9239. },
  9240. "ermcp.QryGGCovertCfgRsp": {
  9241. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9242. },
  9243. "ermcp.QryMGChangeLogRsp": {
  9244. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9245. },
  9246. "ermcp.QryMiddleGoodsDetailRsp": {
  9247. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9248. },
  9249. "ermcp.QryMiddleGoodsRsp": {
  9250. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9251. },
  9252. "ermcp.QryOPLogRsp": {
  9253. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9254. },
  9255. "ermcp.QryUserInfoRsp": {
  9256. "$ref": "#/definitions/models.ErmcpUserModel"
  9257. },
  9258. "ermcp.QryWarehouseRsp": {
  9259. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9260. },
  9261. "ermcp.QueryErmcpTradePositionRsp": {
  9262. "type": "object",
  9263. "properties": {
  9264. "agreeunit": {
  9265. "description": "合约单位",
  9266. "type": "number"
  9267. },
  9268. "buyorsell": {
  9269. "description": "方向 - 0:买 1:卖",
  9270. "type": "integer"
  9271. },
  9272. "curpositionqty": {
  9273. "description": "持仓(总仓数量, 期末头寸)",
  9274. "type": "integer"
  9275. },
  9276. "curtdposition": {
  9277. "description": "今仓数量(期末今日头寸)",
  9278. "type": "integer"
  9279. },
  9280. "curtdpositionenabled": {
  9281. "description": "今仓可用",
  9282. "type": "integer"
  9283. },
  9284. "decimalplace": {
  9285. "description": "报价小数位",
  9286. "type": "integer"
  9287. },
  9288. "enableqty": {
  9289. "description": "可用(总仓可用)",
  9290. "type": "integer"
  9291. },
  9292. "exexchangename": {
  9293. "description": "外部交易所名称",
  9294. "type": "string"
  9295. },
  9296. "goodscode": {
  9297. "description": "商品代码(内部)",
  9298. "type": "string"
  9299. },
  9300. "goodsid": {
  9301. "description": "商品ID(自增ID SEQ_GOODS)",
  9302. "type": "integer"
  9303. },
  9304. "goodsname": {
  9305. "description": "商品名称",
  9306. "type": "string"
  9307. },
  9308. "last": {
  9309. "description": "现价",
  9310. "type": "number"
  9311. },
  9312. "marketid": {
  9313. "description": "所属市场ID",
  9314. "type": "integer"
  9315. },
  9316. "openaverageprice": {
  9317. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9318. "type": "number"
  9319. },
  9320. "opencost": {
  9321. "description": "开仓成本",
  9322. "type": "number"
  9323. },
  9324. "openpl": {
  9325. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9326. "type": "number"
  9327. },
  9328. "outgoodscode": {
  9329. "description": "商品代码(外部)",
  9330. "type": "string"
  9331. },
  9332. "positionaverageprice": {
  9333. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9334. "type": "number"
  9335. },
  9336. "positioncost": {
  9337. "description": "持仓成本",
  9338. "type": "number"
  9339. },
  9340. "positionpl": {
  9341. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9342. "type": "number"
  9343. },
  9344. "positionplrate": {
  9345. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9346. "type": "number"
  9347. },
  9348. "usedmargin": {
  9349. "description": "占用保证金",
  9350. "type": "number"
  9351. }
  9352. }
  9353. },
  9354. "ermcp.RealtimeExposurePositionRsp": {
  9355. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9356. },
  9357. "ermcp.RealtimeExposureRsp": {
  9358. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9359. },
  9360. "erms2.QueryArbitrageStrategyRsp": {
  9361. "type": "object",
  9362. "required": [
  9363. "asapplyid"
  9364. ],
  9365. "properties": {
  9366. "applybasis": {
  9367. "description": "申请基差",
  9368. "type": "number"
  9369. },
  9370. "asapplyid": {
  9371. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9372. "type": "string"
  9373. },
  9374. "asname": {
  9375. "description": "策略名称",
  9376. "type": "string"
  9377. },
  9378. "asno": {
  9379. "description": "策略编号",
  9380. "type": "string"
  9381. },
  9382. "basischangepl": {
  9383. "description": "基差变动损益[结算更新]",
  9384. "type": "number"
  9385. },
  9386. "biztype": {
  9387. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9388. "type": "integer"
  9389. },
  9390. "closetradedate": {
  9391. "description": "完结交易日(yyyyMMdd)",
  9392. "type": "string"
  9393. },
  9394. "curbasis": {
  9395. "description": "当前基差[结算更新]",
  9396. "type": "number"
  9397. },
  9398. "deliverygoodsid": {
  9399. "description": "现货品种ID",
  9400. "type": "integer"
  9401. },
  9402. "futureavgprice": {
  9403. "description": "期货建仓均价",
  9404. "type": "number"
  9405. },
  9406. "futurecloseamount": {
  9407. "description": "期货平仓金额",
  9408. "type": "number"
  9409. },
  9410. "futurecloseqty": {
  9411. "description": "期货平仓数量",
  9412. "type": "number"
  9413. },
  9414. "futureopenamount": {
  9415. "description": "期货开仓金额",
  9416. "type": "number"
  9417. },
  9418. "futureopenqty": {
  9419. "description": "期货开仓数量",
  9420. "type": "number"
  9421. },
  9422. "futurepl": {
  9423. "description": "期货总盈亏[结算更新]",
  9424. "type": "number"
  9425. },
  9426. "futureqty": {
  9427. "description": "期货持仓数量",
  9428. "type": "number"
  9429. },
  9430. "futurequote": {
  9431. "description": "期货额度",
  9432. "type": "number"
  9433. },
  9434. "goodsgroupid": {
  9435. "description": "期货品种ID",
  9436. "type": "integer"
  9437. },
  9438. "marketid": {
  9439. "description": "市场ID",
  9440. "type": "integer"
  9441. },
  9442. "netexposure": {
  9443. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9444. "type": "number"
  9445. },
  9446. "netexposurepl": {
  9447. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9448. "type": "number"
  9449. },
  9450. "netexposurerate": {
  9451. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9452. "type": "number"
  9453. },
  9454. "openbasis": {
  9455. "description": "建仓基差",
  9456. "type": "number"
  9457. },
  9458. "pricedspotqty": {
  9459. "description": "已定价现货数量",
  9460. "type": "number"
  9461. },
  9462. "pricedspotqtynotax": {
  9463. "description": "已定价现货不含税数量",
  9464. "type": "number"
  9465. },
  9466. "remark": {
  9467. "description": "备注",
  9468. "type": "string"
  9469. },
  9470. "spotavgprice": {
  9471. "description": "现货均价",
  9472. "type": "number"
  9473. },
  9474. "spotbuyamount": {
  9475. "description": "现货采购金额",
  9476. "type": "number"
  9477. },
  9478. "spotbuyqty": {
  9479. "description": "现货采购数量",
  9480. "type": "number"
  9481. },
  9482. "spotpl": {
  9483. "description": "现货总盈亏[结算更新]",
  9484. "type": "number"
  9485. },
  9486. "spotquota": {
  9487. "description": "现货额度",
  9488. "type": "number"
  9489. },
  9490. "spotsellamount": {
  9491. "description": "现货销售金额",
  9492. "type": "number"
  9493. },
  9494. "spotsellqty": {
  9495. "description": "现货销售数量",
  9496. "type": "number"
  9497. },
  9498. "spotusedquota": {
  9499. "description": "现货占用资金",
  9500. "type": "number"
  9501. },
  9502. "strategystatus": {
  9503. "description": "策略状态 - 0:未结束 1:已结束",
  9504. "type": "integer"
  9505. },
  9506. "totalpl": {
  9507. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9508. "type": "number"
  9509. },
  9510. "tradedate": {
  9511. "description": "交易日(yyyyMMdd)",
  9512. "type": "string"
  9513. },
  9514. "updatetime": {
  9515. "description": "更新时间",
  9516. "type": "string"
  9517. },
  9518. "usedquota": {
  9519. "description": "已占用资金",
  9520. "type": "number"
  9521. },
  9522. "userid": {
  9523. "description": "所属机构",
  9524. "type": "integer"
  9525. }
  9526. }
  9527. },
  9528. "erms2.QueryInnerTradeDetailRsp": {
  9529. "type": "object",
  9530. "required": [
  9531. "asapplyid",
  9532. "buyorsell",
  9533. "goodscode",
  9534. "goodsgroupid",
  9535. "goodsgroupname",
  9536. "goodsname",
  9537. "tradeid"
  9538. ],
  9539. "properties": {
  9540. "accountid": {
  9541. "description": "账号ID",
  9542. "type": "integer"
  9543. },
  9544. "agreeunit": {
  9545. "description": "合约单位",
  9546. "type": "number"
  9547. },
  9548. "asapplyid": {
  9549. "description": "策略申请ID",
  9550. "type": "integer"
  9551. },
  9552. "asname": {
  9553. "description": "策略名称",
  9554. "type": "string"
  9555. },
  9556. "asno": {
  9557. "description": "策略编号",
  9558. "type": "string"
  9559. },
  9560. "buyorsell": {
  9561. "description": "方向 - 0:买 1:卖",
  9562. "type": "integer"
  9563. },
  9564. "channelbuildtype": {
  9565. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9566. "type": "integer"
  9567. },
  9568. "closetype": {
  9569. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9570. "type": "integer"
  9571. },
  9572. "decimalplace": {
  9573. "description": "报价小数位",
  9574. "type": "integer"
  9575. },
  9576. "detailtype": {
  9577. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9578. "type": "integer"
  9579. },
  9580. "exexchangecode": {
  9581. "description": "外部交易所代码",
  9582. "type": "string"
  9583. },
  9584. "exexchangename": {
  9585. "description": "外部交易所名称",
  9586. "type": "string"
  9587. },
  9588. "goodscode": {
  9589. "description": "商品代码(合约)",
  9590. "type": "string"
  9591. },
  9592. "goodsgroupid": {
  9593. "description": "商品组ID(品种ID)",
  9594. "type": "integer"
  9595. },
  9596. "goodsgroupname": {
  9597. "description": "商品组名称(品种)",
  9598. "type": "string"
  9599. },
  9600. "goodsid": {
  9601. "description": "商品ID",
  9602. "type": "integer"
  9603. },
  9604. "goodsname": {
  9605. "description": "商品名称(合约)",
  9606. "type": "string"
  9607. },
  9608. "goodunit": {
  9609. "description": "报价单位",
  9610. "type": "string"
  9611. },
  9612. "marketid": {
  9613. "description": "市场ID",
  9614. "type": "integer"
  9615. },
  9616. "orderid": {
  9617. "description": "委托单号",
  9618. "type": "string"
  9619. },
  9620. "outgoodscode": {
  9621. "description": "商品代码(外部)",
  9622. "type": "string"
  9623. },
  9624. "relatedouttradeid": {
  9625. "description": "关联外部成交单ID",
  9626. "type": "string"
  9627. },
  9628. "remark": {
  9629. "description": "备注",
  9630. "type": "string"
  9631. },
  9632. "spotcontractid": {
  9633. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9634. "type": "integer"
  9635. },
  9636. "spotcontractno": {
  9637. "description": "现货合同编号",
  9638. "type": "string"
  9639. },
  9640. "tradeid": {
  9641. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9642. "type": "string"
  9643. },
  9644. "tradeprice": {
  9645. "description": "成交价格",
  9646. "type": "number"
  9647. },
  9648. "tradeqty": {
  9649. "description": "成交数量",
  9650. "type": "integer"
  9651. },
  9652. "tradetime": {
  9653. "description": "成交时间",
  9654. "type": "string"
  9655. },
  9656. "updatetime": {
  9657. "description": "更新时间",
  9658. "type": "string"
  9659. }
  9660. }
  9661. },
  9662. "erms2.QuerySpotContractRsp": {
  9663. "type": "object",
  9664. "required": [
  9665. "spotcontractid"
  9666. ],
  9667. "properties": {
  9668. "accountid": {
  9669. "description": "资金账户ID",
  9670. "type": "integer"
  9671. },
  9672. "areauserid": {
  9673. "description": "所属机构",
  9674. "type": "integer"
  9675. },
  9676. "closedate": {
  9677. "description": "终止日期",
  9678. "type": "string"
  9679. },
  9680. "closeremark": {
  9681. "description": "结束备注",
  9682. "type": "string"
  9683. },
  9684. "closetradedate": {
  9685. "description": "完结交易日(yyyyMMdd)",
  9686. "type": "string"
  9687. },
  9688. "closetype": {
  9689. "description": "终止类型 - 1:违约 2:提前终止",
  9690. "type": "integer"
  9691. },
  9692. "contractamount": {
  9693. "description": "合同金额",
  9694. "type": "number"
  9695. },
  9696. "contractattachment": {
  9697. "description": "合同附件",
  9698. "type": "string"
  9699. },
  9700. "contractno": {
  9701. "description": "现货合同编号",
  9702. "type": "string"
  9703. },
  9704. "contractqty": {
  9705. "description": "合同数量(数值) (用于计算)",
  9706. "type": "number"
  9707. },
  9708. "contractqtychar": {
  9709. "description": "合同数量\\已订价数量 (用于显示)",
  9710. "type": "string"
  9711. },
  9712. "contractstatus": {
  9713. "description": "合同状态 - 0:未结束 1:已结束",
  9714. "type": "integer"
  9715. },
  9716. "contracttype": {
  9717. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9718. "type": "integer"
  9719. },
  9720. "customeraccountid": {
  9721. "description": "客户资金账户ID",
  9722. "type": "integer"
  9723. },
  9724. "customeruserid": {
  9725. "description": "客户ID",
  9726. "type": "integer"
  9727. },
  9728. "deliverygoodsdesc": {
  9729. "description": "品种说明",
  9730. "type": "string"
  9731. },
  9732. "deliverygoodsid": {
  9733. "description": "现货品种ID",
  9734. "type": "integer"
  9735. },
  9736. "handlestatus": {
  9737. "description": "处理状态",
  9738. "type": "integer"
  9739. },
  9740. "invoiceatt": {
  9741. "description": "发票附件",
  9742. "type": "string"
  9743. },
  9744. "invoicedatetime": {
  9745. "description": "开收票更新时间",
  9746. "type": "string"
  9747. },
  9748. "invoiceopentime": {
  9749. "description": "开票时间",
  9750. "type": "string"
  9751. },
  9752. "invoiceremark": {
  9753. "description": "发票备注",
  9754. "type": "string"
  9755. },
  9756. "invoicestatus": {
  9757. "description": "开收票状态 - 0:未开票 1:已开票",
  9758. "type": "integer"
  9759. },
  9760. "lastdate": {
  9761. "description": "交货时间",
  9762. "type": "string"
  9763. },
  9764. "marketid": {
  9765. "description": "市场ID",
  9766. "type": "integer"
  9767. },
  9768. "paydatetime": {
  9769. "description": "收付款更新时间",
  9770. "type": "string"
  9771. },
  9772. "payremark": {
  9773. "description": "收付款备注",
  9774. "type": "string"
  9775. },
  9776. "paystatus": {
  9777. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9778. "type": "integer"
  9779. },
  9780. "positionqty": {
  9781. "description": "头寸数量 - 合同数量去小数部分",
  9782. "type": "integer"
  9783. },
  9784. "producttype": {
  9785. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9786. "type": "integer"
  9787. },
  9788. "relatedqty": {
  9789. "description": "已关联数量",
  9790. "type": "number"
  9791. },
  9792. "relatedstatus": {
  9793. "description": "关联完结状态 - 0:未结束 1:已结束",
  9794. "type": "integer"
  9795. },
  9796. "remark": {
  9797. "description": "备注",
  9798. "type": "string"
  9799. },
  9800. "signdate": {
  9801. "description": "签订日期",
  9802. "type": "string"
  9803. },
  9804. "spotcontractid": {
  9805. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9806. "type": "string"
  9807. },
  9808. "spotdatetime": {
  9809. "description": "收发货更新时间",
  9810. "type": "string"
  9811. },
  9812. "spotprice": {
  9813. "description": "价格",
  9814. "type": "number"
  9815. },
  9816. "spotremark": {
  9817. "description": "收发货备注",
  9818. "type": "string"
  9819. },
  9820. "spotstatus": {
  9821. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9822. "type": "integer"
  9823. },
  9824. "tradedate": {
  9825. "description": "交易日(yyyyMMdd)",
  9826. "type": "string"
  9827. },
  9828. "userid": {
  9829. "description": "业务员用户ID",
  9830. "type": "integer"
  9831. },
  9832. "warehouseid": {
  9833. "description": "仓库ID",
  9834. "type": "integer"
  9835. },
  9836. "wrfactortypeid": {
  9837. "description": "仓单要素类型ID",
  9838. "type": "integer"
  9839. },
  9840. "wrstandardid": {
  9841. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9842. "type": "integer"
  9843. }
  9844. }
  9845. },
  9846. "erms3.AddErms2ASApplyReq": {
  9847. "type": "object",
  9848. "required": [
  9849. "asapplyid"
  9850. ],
  9851. "properties": {
  9852. "applybasis": {
  9853. "description": "申请基差",
  9854. "type": "number"
  9855. },
  9856. "applystatus": {
  9857. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9858. "type": "integer"
  9859. },
  9860. "asapplyid": {
  9861. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9862. "type": "integer"
  9863. },
  9864. "asname": {
  9865. "description": "策略名称",
  9866. "type": "string"
  9867. },
  9868. "asno": {
  9869. "description": "策略编号",
  9870. "type": "string"
  9871. },
  9872. "auditid": {
  9873. "description": "审核人",
  9874. "type": "integer"
  9875. },
  9876. "auditremark": {
  9877. "description": "审核备注",
  9878. "type": "string"
  9879. },
  9880. "audittime": {
  9881. "description": "审核时间",
  9882. "type": "string"
  9883. },
  9884. "biztype": {
  9885. "description": "业务类型 - 1:正向套利 2:反向套利",
  9886. "type": "integer"
  9887. },
  9888. "createtime": {
  9889. "description": "创建时间",
  9890. "type": "string"
  9891. },
  9892. "creatorid": {
  9893. "description": "创建人",
  9894. "type": "integer"
  9895. },
  9896. "deliverygoodsid": {
  9897. "description": "现货品种ID",
  9898. "type": "integer"
  9899. },
  9900. "futurequote": {
  9901. "description": "期货额度",
  9902. "type": "number"
  9903. },
  9904. "goodsgroupid": {
  9905. "description": "期货品种ID",
  9906. "type": "integer"
  9907. },
  9908. "marketid": {
  9909. "description": "市场ID",
  9910. "type": "integer"
  9911. },
  9912. "remark": {
  9913. "description": "备注",
  9914. "type": "string"
  9915. },
  9916. "spotquota": {
  9917. "description": "现货额度",
  9918. "type": "number"
  9919. },
  9920. "tradedate": {
  9921. "description": "交易日(yyyyMMdd)",
  9922. "type": "string"
  9923. },
  9924. "userid": {
  9925. "description": "所属机构",
  9926. "type": "integer"
  9927. }
  9928. }
  9929. },
  9930. "erms3.AddErms2SpotTradeApplyReq": {
  9931. "type": "object",
  9932. "required": [
  9933. "spottradeid"
  9934. ],
  9935. "properties": {
  9936. "applyjsondetail": {
  9937. "description": "申请明细(JSON)",
  9938. "type": "string"
  9939. },
  9940. "applystatus": {
  9941. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9942. "type": "integer"
  9943. },
  9944. "areauserid": {
  9945. "description": "所属机构",
  9946. "type": "integer"
  9947. },
  9948. "auditid": {
  9949. "description": "审核人",
  9950. "type": "integer"
  9951. },
  9952. "auditremark": {
  9953. "description": "审核备注",
  9954. "type": "string"
  9955. },
  9956. "audittime": {
  9957. "description": "审核时间",
  9958. "type": "string"
  9959. },
  9960. "createtime": {
  9961. "description": "创建时间",
  9962. "type": "string"
  9963. },
  9964. "creatorid": {
  9965. "description": "创建人",
  9966. "type": "integer"
  9967. },
  9968. "deliverygoodsid": {
  9969. "description": "现货品种ID",
  9970. "type": "integer"
  9971. },
  9972. "futureaccountid": {
  9973. "description": "期货资金账户",
  9974. "type": "integer"
  9975. },
  9976. "goodsgroupid": {
  9977. "description": "期货品种",
  9978. "type": "integer"
  9979. },
  9980. "marketid": {
  9981. "description": "市场ID",
  9982. "type": "integer"
  9983. },
  9984. "remark": {
  9985. "description": "备注",
  9986. "type": "string"
  9987. },
  9988. "spotaccountid": {
  9989. "description": "现货资金账户",
  9990. "type": "integer"
  9991. },
  9992. "spottradeid": {
  9993. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9994. "type": "integer"
  9995. },
  9996. "spottradename": {
  9997. "description": "业务名称",
  9998. "type": "string"
  9999. },
  10000. "spottradeno": {
  10001. "description": "业务编号",
  10002. "type": "string"
  10003. },
  10004. "tradedate": {
  10005. "description": "交易日(yyyyMMdd)",
  10006. "type": "string"
  10007. },
  10008. "wrstandardid": {
  10009. "description": "仓单标准ID",
  10010. "type": "integer"
  10011. }
  10012. }
  10013. },
  10014. "erms3.AddSpotContractApplyReq": {
  10015. "type": "object",
  10016. "required": [
  10017. "accountid",
  10018. "areauserid",
  10019. "contractno",
  10020. "contracttype",
  10021. "customeraccountid",
  10022. "customeruserid",
  10023. "details",
  10024. "orimargin",
  10025. "signdate"
  10026. ],
  10027. "properties": {
  10028. "accountid": {
  10029. "description": "资金账户ID",
  10030. "type": "integer"
  10031. },
  10032. "areauserid": {
  10033. "description": "所属机构",
  10034. "type": "integer"
  10035. },
  10036. "contractattachment": {
  10037. "description": "合同附件",
  10038. "type": "string"
  10039. },
  10040. "contractno": {
  10041. "description": "现货合同编号",
  10042. "type": "string"
  10043. },
  10044. "contracttype": {
  10045. "description": "现货合同类型 - 1:采购 -1:销售",
  10046. "type": "integer"
  10047. },
  10048. "creatorid": {
  10049. "description": "申请人",
  10050. "type": "integer"
  10051. },
  10052. "customeraccountid": {
  10053. "description": "客户资金账户ID",
  10054. "type": "integer"
  10055. },
  10056. "customeruserid": {
  10057. "description": "客户ID",
  10058. "type": "integer"
  10059. },
  10060. "details": {
  10061. "description": "明细",
  10062. "type": "array",
  10063. "items": {
  10064. "$ref": "#/definitions/erms3.SoptContractDetail"
  10065. }
  10066. },
  10067. "orimargin": {
  10068. "description": "初始保证金",
  10069. "type": "number"
  10070. },
  10071. "remark": {
  10072. "description": "备注",
  10073. "type": "string"
  10074. },
  10075. "signdate": {
  10076. "description": "签订日期",
  10077. "type": "string"
  10078. }
  10079. }
  10080. },
  10081. "erms3.AddSpotContractApplyRsp": {
  10082. "type": "object",
  10083. "required": [
  10084. "contractno"
  10085. ],
  10086. "properties": {
  10087. "contractno": {
  10088. "description": "现货合同编号",
  10089. "type": "string"
  10090. },
  10091. "spotcontractid": {
  10092. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10093. "type": "integer"
  10094. }
  10095. }
  10096. },
  10097. "erms3.AddUserInfoApplyReq": {
  10098. "type": "object",
  10099. "required": [
  10100. "userid"
  10101. ],
  10102. "properties": {
  10103. "accountid": {
  10104. "description": "交易系统帐号Id (加密存储)",
  10105. "type": "integer"
  10106. },
  10107. "areacode": {
  10108. "description": "机构代码",
  10109. "type": "string"
  10110. },
  10111. "areaid": {
  10112. "description": "机构Id",
  10113. "type": "integer"
  10114. },
  10115. "attachment1": {
  10116. "description": "附件1",
  10117. "type": "string"
  10118. },
  10119. "attachment2": {
  10120. "description": "附件2",
  10121. "type": "string"
  10122. },
  10123. "attachment3": {
  10124. "description": "附件3",
  10125. "type": "string"
  10126. },
  10127. "attachment4": {
  10128. "description": "附件4",
  10129. "type": "string"
  10130. },
  10131. "attachment5": {
  10132. "description": "附件5",
  10133. "type": "string"
  10134. },
  10135. "auditedby": {
  10136. "description": "审核人",
  10137. "type": "string"
  10138. },
  10139. "auditime": {
  10140. "description": "审核时间",
  10141. "type": "string"
  10142. },
  10143. "auditsrc": {
  10144. "description": "审核来源 - 1:管理端 2:终端",
  10145. "type": "integer"
  10146. },
  10147. "bankaccount": {
  10148. "description": "银行帐号 (加密存储)",
  10149. "type": "string"
  10150. },
  10151. "bankaccountname": {
  10152. "description": "收款人名称",
  10153. "type": "string"
  10154. },
  10155. "bankcardbackphotourl": {
  10156. "description": "银行卡背面照地址",
  10157. "type": "string"
  10158. },
  10159. "bankcardfrontphotourl": {
  10160. "description": "银行卡正面照地址",
  10161. "type": "string"
  10162. },
  10163. "bankid": {
  10164. "description": "银行编码",
  10165. "type": "string"
  10166. },
  10167. "bankname": {
  10168. "description": "银行名称",
  10169. "type": "string"
  10170. },
  10171. "bankpictureurl": {
  10172. "description": "银行卡正面地址",
  10173. "type": "string"
  10174. },
  10175. "biznature": {
  10176. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10177. "type": "integer"
  10178. },
  10179. "bizscope": {
  10180. "description": "企业经营范围(企业)",
  10181. "type": "string"
  10182. },
  10183. "biztype": {
  10184. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10185. "type": "integer"
  10186. },
  10187. "brokerid": {
  10188. "description": "经纪人ID(加密存储)",
  10189. "type": "string"
  10190. },
  10191. "cardaddress": {
  10192. "description": "证件地址 (加密存储)",
  10193. "type": "string"
  10194. },
  10195. "cardbackphotourl": {
  10196. "description": "背面证件照地址",
  10197. "type": "string"
  10198. },
  10199. "cardfrontphotourl": {
  10200. "description": "正面证件照地址",
  10201. "type": "string"
  10202. },
  10203. "cardnum": {
  10204. "description": "证件号码 (加密存储)",
  10205. "type": "string"
  10206. },
  10207. "cardtype": {
  10208. "description": "证件类型",
  10209. "type": "integer"
  10210. },
  10211. "cityid": {
  10212. "description": "市",
  10213. "type": "integer"
  10214. },
  10215. "company": {
  10216. "description": "公司(个人)",
  10217. "type": "string"
  10218. },
  10219. "contactcardbackphotourl": {
  10220. "description": "联系人证件背面图片地址",
  10221. "type": "string"
  10222. },
  10223. "contactcardfrontphotourl": {
  10224. "description": "联系人证件正面图片地址",
  10225. "type": "string"
  10226. },
  10227. "contactname": {
  10228. "description": "联系人",
  10229. "type": "string"
  10230. },
  10231. "countryid": {
  10232. "description": "国家",
  10233. "type": "integer"
  10234. },
  10235. "createtime": {
  10236. "description": "开户申请时间",
  10237. "type": "string"
  10238. },
  10239. "cusbankid": {
  10240. "description": "签约类型",
  10241. "type": "string"
  10242. },
  10243. "cusbankname": {
  10244. "description": "签约类型名称",
  10245. "type": "string"
  10246. },
  10247. "customername": {
  10248. "description": "客户名称(企业名称)",
  10249. "type": "string"
  10250. },
  10251. "districtid": {
  10252. "description": "地区",
  10253. "type": "integer"
  10254. },
  10255. "email": {
  10256. "description": "Email地址(加密存储)",
  10257. "type": "string"
  10258. },
  10259. "halfbodyphotourl": {
  10260. "description": "半身照地址",
  10261. "type": "string"
  10262. },
  10263. "headurl": {
  10264. "description": "头像地址",
  10265. "type": "string"
  10266. },
  10267. "ipaddress": {
  10268. "description": "IP地址",
  10269. "type": "string"
  10270. },
  10271. "isvalidate": {
  10272. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10273. "type": "string"
  10274. },
  10275. "legalcardbackphotourl": {
  10276. "description": "法人身份证背面照地址",
  10277. "type": "string"
  10278. },
  10279. "legalcardfrontphotourl": {
  10280. "description": "法人身份证正面照地址",
  10281. "type": "string"
  10282. },
  10283. "legalpersonname": {
  10284. "description": "法人姓名(企业)",
  10285. "type": "string"
  10286. },
  10287. "logincode": {
  10288. "description": "登录帐号 (加密存储)",
  10289. "type": "string"
  10290. },
  10291. "memberareaid": {
  10292. "description": "所属会员ID",
  10293. "type": "integer"
  10294. },
  10295. "mobile2": {
  10296. "description": "手机号码[明文-尚志]",
  10297. "type": "string"
  10298. },
  10299. "mobilephone": {
  10300. "description": "手机号码 (加密存储)",
  10301. "type": "string"
  10302. },
  10303. "modifiedby": {
  10304. "description": "修改人帐号",
  10305. "type": "integer"
  10306. },
  10307. "modifiedtime": {
  10308. "description": "修改时间",
  10309. "type": "string"
  10310. },
  10311. "nickname": {
  10312. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10313. "type": "string"
  10314. },
  10315. "openmode": {
  10316. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10317. "type": "integer"
  10318. },
  10319. "otherurl": {
  10320. "description": "其它图片地址[使用分号分隔]",
  10321. "type": "string"
  10322. },
  10323. "postalcode": {
  10324. "description": "邮政编码",
  10325. "type": "string"
  10326. },
  10327. "provinceid": {
  10328. "description": "省",
  10329. "type": "integer"
  10330. },
  10331. "proxystatementurl": {
  10332. "description": "授权委托书",
  10333. "type": "string"
  10334. },
  10335. "qq": {
  10336. "description": "QQ(加密存储",
  10337. "type": "string"
  10338. },
  10339. "referral": {
  10340. "description": "推荐人编码",
  10341. "type": "string"
  10342. },
  10343. "remark": {
  10344. "description": "备注",
  10345. "type": "string"
  10346. },
  10347. "removebeforestatus": {
  10348. "description": "REMOVEBEFORESTATUS",
  10349. "type": "integer"
  10350. },
  10351. "sex": {
  10352. "description": "性别 - 0:女 1:男",
  10353. "type": "integer"
  10354. },
  10355. "signedstatus": {
  10356. "description": "账户一号签签约状态",
  10357. "type": "integer"
  10358. },
  10359. "signpdfurl": {
  10360. "description": "签约pdf文件",
  10361. "type": "string"
  10362. },
  10363. "subbranch": {
  10364. "description": "开户支行",
  10365. "type": "string"
  10366. },
  10367. "taxpayernum": {
  10368. "description": "纳税人识别号",
  10369. "type": "string"
  10370. },
  10371. "telphone": {
  10372. "description": "联系电话(加密存储)",
  10373. "type": "string"
  10374. },
  10375. "userid": {
  10376. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  10377. "type": "integer"
  10378. },
  10379. "userinfotype": {
  10380. "description": "用户信息类型 - 1:个人 2:企业",
  10381. "type": "integer"
  10382. },
  10383. "username": {
  10384. "description": "用户姓名",
  10385. "type": "string"
  10386. },
  10387. "userstate": {
  10388. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10389. "type": "integer"
  10390. },
  10391. "usertype": {
  10392. "description": "用户类型 - 1:投资者 2:机构",
  10393. "type": "integer"
  10394. },
  10395. "videourl": {
  10396. "description": "视频地址",
  10397. "type": "string"
  10398. },
  10399. "wechat": {
  10400. "description": "微信号 (加密存储)",
  10401. "type": "string"
  10402. }
  10403. }
  10404. },
  10405. "erms3.CustomerInfo": {
  10406. "type": "object",
  10407. "required": [
  10408. "userid"
  10409. ],
  10410. "properties": {
  10411. "accountids": {
  10412. "description": "资金账户ID列表",
  10413. "type": "array",
  10414. "items": {
  10415. "type": "integer"
  10416. }
  10417. },
  10418. "customername": {
  10419. "description": "名称(企业名称)",
  10420. "type": "string"
  10421. },
  10422. "mobile": {
  10423. "description": "手机号码",
  10424. "type": "string"
  10425. },
  10426. "userid": {
  10427. "description": "用户ID",
  10428. "type": "integer"
  10429. }
  10430. }
  10431. },
  10432. "erms3.ModifyUserInfoApplyReq": {
  10433. "type": "object",
  10434. "required": [
  10435. "userid"
  10436. ],
  10437. "properties": {
  10438. "accountid": {
  10439. "description": "交易系统帐号Id (加密存储)",
  10440. "type": "integer"
  10441. },
  10442. "areacode": {
  10443. "description": "机构代码",
  10444. "type": "string"
  10445. },
  10446. "areaid": {
  10447. "description": "机构Id",
  10448. "type": "integer"
  10449. },
  10450. "attachment1": {
  10451. "description": "附件1",
  10452. "type": "string"
  10453. },
  10454. "attachment2": {
  10455. "description": "附件2",
  10456. "type": "string"
  10457. },
  10458. "attachment3": {
  10459. "description": "附件3",
  10460. "type": "string"
  10461. },
  10462. "attachment4": {
  10463. "description": "附件4",
  10464. "type": "string"
  10465. },
  10466. "attachment5": {
  10467. "description": "附件5",
  10468. "type": "string"
  10469. },
  10470. "auditedby": {
  10471. "description": "审核人",
  10472. "type": "string"
  10473. },
  10474. "auditime": {
  10475. "description": "审核时间",
  10476. "type": "string"
  10477. },
  10478. "auditsrc": {
  10479. "description": "审核来源 - 1:管理端 2:终端",
  10480. "type": "integer"
  10481. },
  10482. "bankaccount": {
  10483. "description": "银行帐号 (加密存储)",
  10484. "type": "string"
  10485. },
  10486. "bankaccountname": {
  10487. "description": "收款人名称",
  10488. "type": "string"
  10489. },
  10490. "bankcardbackphotourl": {
  10491. "description": "银行卡背面照地址",
  10492. "type": "string"
  10493. },
  10494. "bankcardfrontphotourl": {
  10495. "description": "银行卡正面照地址",
  10496. "type": "string"
  10497. },
  10498. "bankid": {
  10499. "description": "银行编码",
  10500. "type": "string"
  10501. },
  10502. "bankname": {
  10503. "description": "银行名称",
  10504. "type": "string"
  10505. },
  10506. "bankpictureurl": {
  10507. "description": "银行卡正面地址",
  10508. "type": "string"
  10509. },
  10510. "biznature": {
  10511. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10512. "type": "integer"
  10513. },
  10514. "bizscope": {
  10515. "description": "企业经营范围(企业)",
  10516. "type": "string"
  10517. },
  10518. "biztype": {
  10519. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10520. "type": "integer"
  10521. },
  10522. "brokerid": {
  10523. "description": "经纪人ID(加密存储)",
  10524. "type": "string"
  10525. },
  10526. "cardaddress": {
  10527. "description": "证件地址 (加密存储)",
  10528. "type": "string"
  10529. },
  10530. "cardbackphotourl": {
  10531. "description": "背面证件照地址",
  10532. "type": "string"
  10533. },
  10534. "cardfrontphotourl": {
  10535. "description": "正面证件照地址",
  10536. "type": "string"
  10537. },
  10538. "cardnum": {
  10539. "description": "证件号码 (加密存储)",
  10540. "type": "string"
  10541. },
  10542. "cardtype": {
  10543. "description": "证件类型",
  10544. "type": "integer"
  10545. },
  10546. "cityid": {
  10547. "description": "市",
  10548. "type": "integer"
  10549. },
  10550. "company": {
  10551. "description": "公司(个人)",
  10552. "type": "string"
  10553. },
  10554. "contactcardbackphotourl": {
  10555. "description": "联系人证件背面图片地址",
  10556. "type": "string"
  10557. },
  10558. "contactcardfrontphotourl": {
  10559. "description": "联系人证件正面图片地址",
  10560. "type": "string"
  10561. },
  10562. "contactname": {
  10563. "description": "联系人",
  10564. "type": "string"
  10565. },
  10566. "countryid": {
  10567. "description": "国家",
  10568. "type": "integer"
  10569. },
  10570. "createtime": {
  10571. "description": "开户申请时间",
  10572. "type": "string"
  10573. },
  10574. "cusbankid": {
  10575. "description": "签约类型",
  10576. "type": "string"
  10577. },
  10578. "cusbankname": {
  10579. "description": "签约类型名称",
  10580. "type": "string"
  10581. },
  10582. "customername": {
  10583. "description": "客户名称(企业名称)",
  10584. "type": "string"
  10585. },
  10586. "districtid": {
  10587. "description": "地区",
  10588. "type": "integer"
  10589. },
  10590. "email": {
  10591. "description": "Email地址(加密存储)",
  10592. "type": "string"
  10593. },
  10594. "halfbodyphotourl": {
  10595. "description": "半身照地址",
  10596. "type": "string"
  10597. },
  10598. "headurl": {
  10599. "description": "头像地址",
  10600. "type": "string"
  10601. },
  10602. "ipaddress": {
  10603. "description": "IP地址",
  10604. "type": "string"
  10605. },
  10606. "isvalidate": {
  10607. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10608. "type": "string"
  10609. },
  10610. "legalcardbackphotourl": {
  10611. "description": "法人身份证背面照地址",
  10612. "type": "string"
  10613. },
  10614. "legalcardfrontphotourl": {
  10615. "description": "法人身份证正面照地址",
  10616. "type": "string"
  10617. },
  10618. "legalpersonname": {
  10619. "description": "法人姓名(企业)",
  10620. "type": "string"
  10621. },
  10622. "logincode": {
  10623. "description": "登录帐号 (加密存储)",
  10624. "type": "string"
  10625. },
  10626. "memberareaid": {
  10627. "description": "所属会员ID",
  10628. "type": "integer"
  10629. },
  10630. "mobile2": {
  10631. "description": "手机号码[明文-尚志]",
  10632. "type": "string"
  10633. },
  10634. "mobilephone": {
  10635. "description": "手机号码 (加密存储)",
  10636. "type": "string"
  10637. },
  10638. "modifiedby": {
  10639. "description": "修改人帐号",
  10640. "type": "integer"
  10641. },
  10642. "modifiedtime": {
  10643. "description": "修改时间",
  10644. "type": "string"
  10645. },
  10646. "nickname": {
  10647. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10648. "type": "string"
  10649. },
  10650. "openmode": {
  10651. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10652. "type": "integer"
  10653. },
  10654. "otherurl": {
  10655. "description": "其它图片地址[使用分号分隔]",
  10656. "type": "string"
  10657. },
  10658. "postalcode": {
  10659. "description": "邮政编码",
  10660. "type": "string"
  10661. },
  10662. "provinceid": {
  10663. "description": "省",
  10664. "type": "integer"
  10665. },
  10666. "proxystatementurl": {
  10667. "description": "授权委托书",
  10668. "type": "string"
  10669. },
  10670. "qq": {
  10671. "description": "QQ(加密存储",
  10672. "type": "string"
  10673. },
  10674. "referral": {
  10675. "description": "推荐人编码",
  10676. "type": "string"
  10677. },
  10678. "remark": {
  10679. "description": "备注",
  10680. "type": "string"
  10681. },
  10682. "removebeforestatus": {
  10683. "description": "REMOVEBEFORESTATUS",
  10684. "type": "integer"
  10685. },
  10686. "sex": {
  10687. "description": "性别 - 0:女 1:男",
  10688. "type": "integer"
  10689. },
  10690. "signedstatus": {
  10691. "description": "账户一号签签约状态",
  10692. "type": "integer"
  10693. },
  10694. "signpdfurl": {
  10695. "description": "签约pdf文件",
  10696. "type": "string"
  10697. },
  10698. "subbranch": {
  10699. "description": "开户支行",
  10700. "type": "string"
  10701. },
  10702. "taxpayernum": {
  10703. "description": "纳税人识别号",
  10704. "type": "string"
  10705. },
  10706. "telphone": {
  10707. "description": "联系电话(加密存储)",
  10708. "type": "string"
  10709. },
  10710. "userid": {
  10711. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  10712. "type": "integer"
  10713. },
  10714. "userinfotype": {
  10715. "description": "用户信息类型 - 1:个人 2:企业",
  10716. "type": "integer"
  10717. },
  10718. "username": {
  10719. "description": "用户姓名",
  10720. "type": "string"
  10721. },
  10722. "userstate": {
  10723. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10724. "type": "integer"
  10725. },
  10726. "usertype": {
  10727. "description": "用户类型 - 1:投资者 2:机构",
  10728. "type": "integer"
  10729. },
  10730. "videourl": {
  10731. "description": "视频地址",
  10732. "type": "string"
  10733. },
  10734. "wechat": {
  10735. "description": "微信号 (加密存储)",
  10736. "type": "string"
  10737. }
  10738. }
  10739. },
  10740. "erms3.QryAuditContractRsp": {
  10741. "type": "object",
  10742. "required": [
  10743. "matchcustomername",
  10744. "spotcontractid"
  10745. ],
  10746. "properties": {
  10747. "accountid": {
  10748. "description": "交易员ID",
  10749. "type": "string"
  10750. },
  10751. "applystatus": {
  10752. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10753. "type": "integer"
  10754. },
  10755. "curdeliveryqty": {
  10756. "description": "未交收量",
  10757. "type": "integer"
  10758. },
  10759. "customername": {
  10760. "description": "采购方ID",
  10761. "type": "string"
  10762. },
  10763. "deliverygoodsid": {
  10764. "description": "品种ID",
  10765. "type": "string"
  10766. },
  10767. "deliveryqty": {
  10768. "description": "交收量",
  10769. "type": "integer"
  10770. },
  10771. "enumdicname": {
  10772. "description": "单位名称",
  10773. "type": "string"
  10774. },
  10775. "matchaccountid": {
  10776. "description": "业务员ID",
  10777. "type": "string"
  10778. },
  10779. "matchcustomername": {
  10780. "description": "销售方ID",
  10781. "type": "string"
  10782. },
  10783. "pricedqty": {
  10784. "description": "定价量",
  10785. "type": "number"
  10786. },
  10787. "signdate": {
  10788. "description": "签订日期",
  10789. "type": "string"
  10790. },
  10791. "spotcontractid": {
  10792. "description": "合同ID",
  10793. "type": "string"
  10794. },
  10795. "totaldqty": {
  10796. "description": "合同量",
  10797. "type": "number"
  10798. },
  10799. "unpricedqty": {
  10800. "description": "未定价量",
  10801. "type": "number"
  10802. },
  10803. "wrstandardname": {
  10804. "description": "商品名称",
  10805. "type": "string"
  10806. }
  10807. }
  10808. },
  10809. "erms3.QryPendingBizRsp": {
  10810. "$ref": "#/definitions/models.PendingAuditBizModel"
  10811. },
  10812. "erms3.QueryBusinessInfoRsp": {
  10813. "type": "object",
  10814. "properties": {
  10815. "businessid": {
  10816. "description": "业务ID.",
  10817. "type": "integer"
  10818. },
  10819. "buyamount": {
  10820. "description": "采购额.",
  10821. "type": "number"
  10822. },
  10823. "buyqty": {
  10824. "description": "采购量.",
  10825. "type": "string"
  10826. },
  10827. "futurepl": {
  10828. "description": "期货盈亏.",
  10829. "type": "number"
  10830. },
  10831. "futureqty": {
  10832. "description": "期货敞口.",
  10833. "type": "string"
  10834. },
  10835. "goodsid": {
  10836. "description": "商品名称/商品代码.",
  10837. "type": "string"
  10838. },
  10839. "hedgingqty": {
  10840. "description": "套保量.",
  10841. "type": "string"
  10842. },
  10843. "sellamount": {
  10844. "description": "销售额.",
  10845. "type": "number"
  10846. },
  10847. "sellqty": {
  10848. "description": "销售量.",
  10849. "type": "string"
  10850. },
  10851. "spotmarketvalue": {
  10852. "description": "现货市值.",
  10853. "type": "number"
  10854. },
  10855. "spotpl": {
  10856. "description": "浮动权益.",
  10857. "type": "number"
  10858. },
  10859. "spotqty": {
  10860. "description": "现货量.",
  10861. "type": "string"
  10862. },
  10863. "statu": {
  10864. "description": "状态,0-未结束 1-已结束.",
  10865. "type": "integer"
  10866. },
  10867. "totalpl": {
  10868. "description": "总盈亏.",
  10869. "type": "number"
  10870. },
  10871. "totalqty": {
  10872. "description": "总敞口.",
  10873. "type": "string"
  10874. },
  10875. "type": {
  10876. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10877. "type": "integer"
  10878. }
  10879. }
  10880. },
  10881. "erms3.QuerySpotContractAppleFormRsp": {
  10882. "type": "object",
  10883. "properties": {
  10884. "goodses": {
  10885. "description": "合约列表",
  10886. "type": "array",
  10887. "items": {
  10888. "$ref": "#/definitions/models.GoodsIDAndName"
  10889. }
  10890. },
  10891. "oppositeusers": {
  10892. "description": "对方账号列表",
  10893. "type": "array",
  10894. "items": {
  10895. "$ref": "#/definitions/erms3.CustomerInfo"
  10896. }
  10897. },
  10898. "ouruser": {
  10899. "description": "我方账号",
  10900. "type": "object",
  10901. "$ref": "#/definitions/erms3.CustomerInfo"
  10902. },
  10903. "warehouseinfos": {
  10904. "description": "仓库信息列表",
  10905. "type": "array",
  10906. "items": {
  10907. "$ref": "#/definitions/models.Warehouseinfo"
  10908. }
  10909. },
  10910. "wrstandards": {
  10911. "description": "仓单标准列表",
  10912. "type": "array",
  10913. "items": {
  10914. "$ref": "#/definitions/models.WRStandardInfo"
  10915. }
  10916. }
  10917. }
  10918. },
  10919. "erms3.QuerySpotContractInfoRsp": {
  10920. "type": "object",
  10921. "properties": {
  10922. "accountid": {
  10923. "description": "表示交易员ID.",
  10924. "type": "integer"
  10925. },
  10926. "curdeliveryqty": {
  10927. "description": "表示未交收量.",
  10928. "type": "number"
  10929. },
  10930. "customername": {
  10931. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10932. "type": "string"
  10933. },
  10934. "deliverygoodsid": {
  10935. "description": "表示品种ID.",
  10936. "type": "string"
  10937. },
  10938. "deliveryqty": {
  10939. "description": "表示交收量.",
  10940. "type": "number"
  10941. },
  10942. "matchaccountid": {
  10943. "description": "表示业务员ID.",
  10944. "type": "integer"
  10945. },
  10946. "matchcustomername": {
  10947. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10948. "type": "string"
  10949. },
  10950. "priceqty": {
  10951. "description": "表示定价量.",
  10952. "type": "number"
  10953. },
  10954. "relatedbizid": {
  10955. "description": "表示业务ID.",
  10956. "type": "string"
  10957. },
  10958. "signdate": {
  10959. "description": "表示签订日期.",
  10960. "type": "string"
  10961. },
  10962. "spotcontractid": {
  10963. "description": "合同ID",
  10964. "type": "string"
  10965. },
  10966. "status": {
  10967. "description": "表示状态,0-履约中 1-已完成.",
  10968. "type": "integer"
  10969. },
  10970. "totalqty": {
  10971. "description": "表示合同量.",
  10972. "type": "number"
  10973. },
  10974. "unpricedqty": {
  10975. "description": "表示未定价量.",
  10976. "type": "number"
  10977. },
  10978. "wrstandardname": {
  10979. "description": "表示商品ID.",
  10980. "type": "string"
  10981. }
  10982. }
  10983. },
  10984. "erms3.QueryUserInfoAppliesRsp": {
  10985. "type": "object",
  10986. "required": [
  10987. "userid"
  10988. ],
  10989. "properties": {
  10990. "biznature": {
  10991. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10992. "type": "integer"
  10993. },
  10994. "contactname": {
  10995. "description": "联系人",
  10996. "type": "string"
  10997. },
  10998. "createtime": {
  10999. "description": "开户申请时间",
  11000. "type": "string"
  11001. },
  11002. "userid": {
  11003. "description": "用户ID(自增ID)",
  11004. "type": "integer"
  11005. },
  11006. "userinfotype": {
  11007. "description": "用户信息类型 - 1:个人 2:企业",
  11008. "type": "integer"
  11009. },
  11010. "username": {
  11011. "description": "用户姓名",
  11012. "type": "string"
  11013. },
  11014. "userstate": {
  11015. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11016. "type": "integer"
  11017. }
  11018. }
  11019. },
  11020. "erms3.QueryUserInfosRsp": {
  11021. "type": "object",
  11022. "required": [
  11023. "userid"
  11024. ],
  11025. "properties": {
  11026. "biznature": {
  11027. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11028. "type": "integer"
  11029. },
  11030. "contactname": {
  11031. "description": "联系人",
  11032. "type": "string"
  11033. },
  11034. "customername": {
  11035. "description": "客户名称(企业名称)",
  11036. "type": "string"
  11037. },
  11038. "userid": {
  11039. "description": "用户ID",
  11040. "type": "integer"
  11041. },
  11042. "userinfotype": {
  11043. "description": "用户信息类型 - 1:个人 2:企业",
  11044. "type": "integer"
  11045. },
  11046. "userstatus": {
  11047. "description": "用户状态 - 1:正常 2:注销",
  11048. "type": "integer"
  11049. }
  11050. }
  11051. },
  11052. "erms3.SoptContractDetail": {
  11053. "type": "object",
  11054. "required": [
  11055. "deliverygoodsid",
  11056. "producttype",
  11057. "unitname",
  11058. "warehouseid",
  11059. "wrstandardid",
  11060. "wrstandardname"
  11061. ],
  11062. "properties": {
  11063. "deliverygoodsdesc": {
  11064. "description": "现货品种说明",
  11065. "type": "string"
  11066. },
  11067. "deliverygoodsid": {
  11068. "description": "现货品种ID",
  11069. "type": "integer"
  11070. },
  11071. "deliverygoodsname": {
  11072. "description": "现货品种名称",
  11073. "type": "string"
  11074. },
  11075. "pointdesc": {
  11076. "description": "点价描述",
  11077. "type": "string"
  11078. },
  11079. "producttype": {
  11080. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11081. "type": "integer"
  11082. },
  11083. "producttypename": {
  11084. "description": "产品类型名称",
  11085. "type": "string"
  11086. },
  11087. "spotPointOrderVoList": {
  11088. "description": "点价列表",
  11089. "type": "array",
  11090. "items": {
  11091. "$ref": "#/definitions/erms3.SpotPointOrder"
  11092. }
  11093. },
  11094. "spotPriceOrderList": {
  11095. "description": "定价列表",
  11096. "type": "array",
  11097. "items": {
  11098. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11099. }
  11100. },
  11101. "unitname": {
  11102. "description": "单位名称",
  11103. "type": "string"
  11104. },
  11105. "warehouseid": {
  11106. "description": "仓库ID",
  11107. "type": "integer"
  11108. },
  11109. "warehousename": {
  11110. "description": "仓库名称",
  11111. "type": "string"
  11112. },
  11113. "wrstandardid": {
  11114. "description": "交易标的ID",
  11115. "type": "integer"
  11116. },
  11117. "wrstandardname": {
  11118. "description": "交易标的名称",
  11119. "type": "string"
  11120. }
  11121. }
  11122. },
  11123. "erms3.SpotPointOrder": {
  11124. "type": "object",
  11125. "required": [
  11126. "basic",
  11127. "goodsid",
  11128. "qty"
  11129. ],
  11130. "properties": {
  11131. "basic": {
  11132. "description": "基差",
  11133. "type": "number"
  11134. },
  11135. "deliveryenddate": {
  11136. "description": "交收结束日期",
  11137. "type": "string"
  11138. },
  11139. "deliverystartdate": {
  11140. "description": "交收开始日期",
  11141. "type": "string"
  11142. },
  11143. "enddate": {
  11144. "description": "点价结束日期",
  11145. "type": "string"
  11146. },
  11147. "goodsid": {
  11148. "description": "商品ID",
  11149. "type": "integer"
  11150. },
  11151. "goodsname": {
  11152. "description": "商品名称",
  11153. "type": "string"
  11154. },
  11155. "qty": {
  11156. "description": "数量",
  11157. "type": "number"
  11158. },
  11159. "startdate": {
  11160. "description": "点价开始日期",
  11161. "type": "string"
  11162. }
  11163. }
  11164. },
  11165. "erms3.SpotPriceOrder": {
  11166. "type": "object",
  11167. "required": [
  11168. "amount",
  11169. "price",
  11170. "qty"
  11171. ],
  11172. "properties": {
  11173. "amount": {
  11174. "description": "金额",
  11175. "type": "number"
  11176. },
  11177. "deliveryenddate": {
  11178. "description": "交收结束日期",
  11179. "type": "string"
  11180. },
  11181. "deliverystartdate": {
  11182. "description": "交收开始日期",
  11183. "type": "string"
  11184. },
  11185. "price": {
  11186. "description": "价格",
  11187. "type": "number"
  11188. },
  11189. "qty": {
  11190. "description": "数量",
  11191. "type": "number"
  11192. }
  11193. }
  11194. },
  11195. "hsby.GetHsbyMyCountRsp": {
  11196. "type": "object",
  11197. "properties": {
  11198. "myCouponCount": {
  11199. "description": "我的优惠卷数量",
  11200. "type": "integer"
  11201. },
  11202. "myOrderDetailListingCount": {
  11203. "description": "我的订单求购中数量",
  11204. "type": "integer"
  11205. },
  11206. "myOrderDetailPreCount": {
  11207. "description": "我的订单抢购中数量",
  11208. "type": "integer"
  11209. },
  11210. "myPackageUnReceiveCount": {
  11211. "description": "我的包裹待收货数量",
  11212. "type": "integer"
  11213. },
  11214. "myPackageUnSendCount": {
  11215. "description": "我的包裹待发货数量",
  11216. "type": "integer"
  11217. },
  11218. "myPayOrderCount": {
  11219. "description": "我的订单待付款数量",
  11220. "type": "integer"
  11221. }
  11222. }
  11223. },
  11224. "hsby.QueryProvincesAndCitiesRsp": {
  11225. "type": "object",
  11226. "properties": {
  11227. "cities": {
  11228. "description": "市",
  11229. "type": "array",
  11230. "items": {
  11231. "$ref": "#/definitions/models.Division"
  11232. }
  11233. },
  11234. "province": {
  11235. "description": "省",
  11236. "type": "object",
  11237. "$ref": "#/definitions/models.Division"
  11238. }
  11239. }
  11240. },
  11241. "models.AreaSpotModel": {
  11242. "type": "object",
  11243. "properties": {
  11244. "areauserid": {
  11245. "description": "所属机构",
  11246. "type": "integer"
  11247. },
  11248. "decreaseqty": {
  11249. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11250. "type": "number"
  11251. },
  11252. "increaseqty": {
  11253. "description": "增加数量=销售计划数量+采购已定价数量",
  11254. "type": "number"
  11255. },
  11256. "oritoalspotqty": {
  11257. "description": "昨日数量",
  11258. "type": "number"
  11259. },
  11260. "totalspotqty": {
  11261. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11262. "type": "number"
  11263. },
  11264. "updatetime": {
  11265. "description": "更新时间",
  11266. "type": "string"
  11267. },
  11268. "wrstandardcode": {
  11269. "description": "现货品种代码",
  11270. "type": "string"
  11271. },
  11272. "wrstandardid": {
  11273. "description": "现货商品ID",
  11274. "type": "integer"
  11275. },
  11276. "wrstandardname": {
  11277. "description": "现货品种",
  11278. "type": "string"
  11279. }
  11280. }
  11281. },
  11282. "models.Clientfixedadconfig": {
  11283. "type": "object",
  11284. "required": [
  11285. "adsort",
  11286. "adtype"
  11287. ],
  11288. "properties": {
  11289. "adsort": {
  11290. "description": "排序",
  11291. "type": "integer"
  11292. },
  11293. "adtype": {
  11294. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11295. "type": "integer"
  11296. },
  11297. "areauserid": {
  11298. "description": "所属机构ID",
  11299. "type": "integer"
  11300. },
  11301. "createdate": {
  11302. "description": "创建时间",
  11303. "type": "string"
  11304. },
  11305. "creatorid": {
  11306. "description": "创建人",
  11307. "type": "integer"
  11308. },
  11309. "imagepath": {
  11310. "description": "图片",
  11311. "type": "string"
  11312. },
  11313. "isshow": {
  11314. "description": "是否展示 - 0:不展示 1:展示",
  11315. "type": "integer"
  11316. },
  11317. "modifierid": {
  11318. "description": "操作人",
  11319. "type": "integer"
  11320. },
  11321. "recsize": {
  11322. "description": "推荐尺寸",
  11323. "type": "string"
  11324. },
  11325. "title": {
  11326. "description": "标题",
  11327. "type": "string"
  11328. },
  11329. "updatedate": {
  11330. "description": "更新时间",
  11331. "type": "string"
  11332. },
  11333. "urlcontent": {
  11334. "description": "链接(地址或商品ID)",
  11335. "type": "string"
  11336. },
  11337. "urltype": {
  11338. "description": "链接类型 - 1:直接地址 2:商品ID",
  11339. "type": "integer"
  11340. }
  11341. }
  11342. },
  11343. "models.Division": {
  11344. "type": "object",
  11345. "required": [
  11346. "autoid",
  11347. "divisioncode"
  11348. ],
  11349. "properties": {
  11350. "autoid": {
  11351. "description": "自增ID",
  11352. "type": "integer"
  11353. },
  11354. "divisioncode": {
  11355. "description": "行政代码",
  11356. "type": "string"
  11357. },
  11358. "divisionlevel": {
  11359. "description": "行政级别",
  11360. "type": "string"
  11361. },
  11362. "divisionname": {
  11363. "description": "行政名称",
  11364. "type": "string"
  11365. },
  11366. "modifierid": {
  11367. "description": "修改人",
  11368. "type": "integer"
  11369. },
  11370. "modifytime": {
  11371. "description": "修改时间",
  11372. "type": "string"
  11373. },
  11374. "parentcode": {
  11375. "description": "上级行政代码",
  11376. "type": "string"
  11377. },
  11378. "pathname": {
  11379. "description": "路径名称",
  11380. "type": "string"
  11381. },
  11382. "postcode": {
  11383. "description": "邮政编码",
  11384. "type": "string"
  11385. },
  11386. "separablename": {
  11387. "description": "可拆分的全称",
  11388. "type": "string"
  11389. },
  11390. "shortcode": {
  11391. "description": "地区简码",
  11392. "type": "string"
  11393. }
  11394. }
  11395. },
  11396. "models.Enumdicitem": {
  11397. "type": "object",
  11398. "required": [
  11399. "autoid",
  11400. "enumdiccode",
  11401. "enumdicid",
  11402. "enumitemname"
  11403. ],
  11404. "properties": {
  11405. "autoid": {
  11406. "description": "自增ID",
  11407. "type": "integer"
  11408. },
  11409. "bankmappedvalue": {
  11410. "description": "银行服务对应值",
  11411. "type": "string"
  11412. },
  11413. "enumdiccode": {
  11414. "description": "所属枚举代码",
  11415. "type": "string"
  11416. },
  11417. "enumdicid": {
  11418. "description": "所属枚举ID",
  11419. "type": "integer"
  11420. },
  11421. "enumdicname": {
  11422. "description": "枚举项名称",
  11423. "type": "string"
  11424. },
  11425. "enumitemname": {
  11426. "description": "枚举项值",
  11427. "type": "integer"
  11428. },
  11429. "enumitemstatus": {
  11430. "description": "枚举项状态 - 1.启用 2.不启用",
  11431. "type": "integer"
  11432. },
  11433. "enumitemvalue": {
  11434. "description": "通用值 - [币种通用简写]",
  11435. "type": "string"
  11436. },
  11437. "param1": {
  11438. "description": "参数1[币种:币种小数位]",
  11439. "type": "string"
  11440. },
  11441. "param2": {
  11442. "description": "参数1[币种:币种显示单位]",
  11443. "type": "string"
  11444. },
  11445. "remark": {
  11446. "description": "备注",
  11447. "type": "string"
  11448. }
  11449. }
  11450. },
  11451. "models.Ermcp3AreaSpot": {
  11452. "type": "object",
  11453. "properties": {
  11454. "areauserid": {
  11455. "description": "所属机构",
  11456. "type": "integer"
  11457. },
  11458. "decreaseqty": {
  11459. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11460. "type": "number"
  11461. },
  11462. "deliverygoodscode": {
  11463. "description": "现货品种代码",
  11464. "type": "string"
  11465. },
  11466. "deliverygoodsid": {
  11467. "description": "现货品种id",
  11468. "type": "integer"
  11469. },
  11470. "deliverygoodsname": {
  11471. "description": "现货品种名称",
  11472. "type": "string"
  11473. },
  11474. "enumdicname": {
  11475. "description": "单位名称",
  11476. "type": "string"
  11477. },
  11478. "goodsunitid": {
  11479. "description": "现货品种单位id",
  11480. "type": "integer"
  11481. },
  11482. "increaseqty": {
  11483. "description": "增加数量=销售计划数量+采购已定价数量",
  11484. "type": "number"
  11485. },
  11486. "oritoalspotqty": {
  11487. "description": "昨日数量",
  11488. "type": "number"
  11489. },
  11490. "totalspotqty": {
  11491. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11492. "type": "number"
  11493. },
  11494. "updatetime": {
  11495. "description": "更新时间",
  11496. "type": "string"
  11497. }
  11498. }
  11499. },
  11500. "models.Ermcp3AreaSpotDetail": {
  11501. "type": "object",
  11502. "properties": {
  11503. "contracttype": {
  11504. "description": "合同类型 1-采购 -1-销售",
  11505. "type": "integer"
  11506. },
  11507. "createtime": {
  11508. "description": "创建时间",
  11509. "type": "string"
  11510. },
  11511. "deliverygoodscode": {
  11512. "description": "现货品种代码",
  11513. "type": "string"
  11514. },
  11515. "deliverygoodsid": {
  11516. "description": "现货品种id",
  11517. "type": "integer"
  11518. },
  11519. "deliverygoodsname": {
  11520. "description": "现货品种名称",
  11521. "type": "string"
  11522. },
  11523. "enumdicname": {
  11524. "description": "现货商品单位名称",
  11525. "type": "string"
  11526. },
  11527. "logtype": {
  11528. "description": "记录类型 1-套保 2-现货合同",
  11529. "type": "integer"
  11530. },
  11531. "qty": {
  11532. "description": "数量",
  11533. "type": "number"
  11534. },
  11535. "recordname": {
  11536. "description": "类型名称",
  11537. "type": "string"
  11538. },
  11539. "relatedid": {
  11540. "description": "套保计划ID/现货合同ID",
  11541. "type": "string"
  11542. },
  11543. "relatedno": {
  11544. "description": "编号",
  11545. "type": "string"
  11546. },
  11547. "strtime": {
  11548. "description": "时间",
  11549. "type": "string"
  11550. }
  11551. }
  11552. },
  11553. "models.Ermcp3AreaStock": {
  11554. "type": "object",
  11555. "required": [
  11556. "userid"
  11557. ],
  11558. "properties": {
  11559. "brandname": {
  11560. "description": "品牌名称",
  11561. "type": "string"
  11562. },
  11563. "curstock": {
  11564. "description": "期末库存量(今日量)",
  11565. "type": "number"
  11566. },
  11567. "deliverygoodscode": {
  11568. "description": "现货品种代码",
  11569. "type": "string"
  11570. },
  11571. "deliverygoodsid": {
  11572. "description": "现货品种id",
  11573. "type": "integer"
  11574. },
  11575. "deliverygoodsname": {
  11576. "description": "现货品种名称",
  11577. "type": "string"
  11578. },
  11579. "enumdicname": {
  11580. "description": "单位名称",
  11581. "type": "string"
  11582. },
  11583. "goodsunitid": {
  11584. "description": "现货商品单位id",
  11585. "type": "integer"
  11586. },
  11587. "oristock": {
  11588. "description": "期初库存量(昨日量)",
  11589. "type": "number"
  11590. },
  11591. "spotgoodsbrandid": {
  11592. "description": "现货品牌ID",
  11593. "type": "integer"
  11594. },
  11595. "todaybuyinqty": {
  11596. "description": "今日采购入库量",
  11597. "type": "number"
  11598. },
  11599. "todayproduceinqty": {
  11600. "description": "今日生产入库量",
  11601. "type": "number"
  11602. },
  11603. "todayproduceoutqty": {
  11604. "description": "今日生产出库量",
  11605. "type": "number"
  11606. },
  11607. "todayselloutqty": {
  11608. "description": "今日销售出库量",
  11609. "type": "number"
  11610. },
  11611. "unitid": {
  11612. "description": "单位id",
  11613. "type": "integer"
  11614. },
  11615. "updatetime": {
  11616. "description": "更新时间",
  11617. "type": "string"
  11618. },
  11619. "userid": {
  11620. "description": "机构ID",
  11621. "type": "integer"
  11622. },
  11623. "username": {
  11624. "description": "机构名称",
  11625. "type": "string"
  11626. },
  11627. "warehousecode": {
  11628. "description": "仓库代码",
  11629. "type": "string"
  11630. },
  11631. "warehouseinfoid": {
  11632. "description": "仓库ID",
  11633. "type": "string"
  11634. },
  11635. "warehousename": {
  11636. "description": "仓库名称",
  11637. "type": "string"
  11638. },
  11639. "warehousetype": {
  11640. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11641. "type": "integer"
  11642. },
  11643. "wrstandardcode": {
  11644. "description": "品类代码",
  11645. "type": "string"
  11646. },
  11647. "wrstandardid": {
  11648. "description": "品类ID",
  11649. "type": "string"
  11650. },
  11651. "wrstandardname": {
  11652. "description": "品类名称",
  11653. "type": "string"
  11654. }
  11655. }
  11656. },
  11657. "models.Ermcp3AreaStockApply": {
  11658. "type": "object",
  11659. "properties": {
  11660. "applyid": {
  11661. "description": "申请人",
  11662. "type": "integer"
  11663. },
  11664. "applyname": {
  11665. "description": "申请人名称",
  11666. "type": "string"
  11667. },
  11668. "applyremark": {
  11669. "description": "申请备注",
  11670. "type": "string"
  11671. },
  11672. "applysrc": {
  11673. "description": "申请来源 - 1:管理端 2:终端",
  11674. "type": "integer"
  11675. },
  11676. "applystatus": {
  11677. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11678. "type": "integer"
  11679. },
  11680. "applytime": {
  11681. "description": "申请时间",
  11682. "type": "string"
  11683. },
  11684. "auditid": {
  11685. "description": "审核人",
  11686. "type": "integer"
  11687. },
  11688. "auditname": {
  11689. "description": "审核人名称",
  11690. "type": "string"
  11691. },
  11692. "auditremark": {
  11693. "description": "审核备注",
  11694. "type": "string"
  11695. },
  11696. "auditsrc": {
  11697. "description": "审核来源 - 1:管理端 2:终端",
  11698. "type": "integer"
  11699. },
  11700. "audittime": {
  11701. "description": "审核时间",
  11702. "type": "string"
  11703. },
  11704. "audittradedate": {
  11705. "description": "审核交易日(yyyyMMdd)",
  11706. "type": "string"
  11707. },
  11708. "brandname": {
  11709. "description": "品牌名称",
  11710. "type": "string"
  11711. },
  11712. "buynickname": {
  11713. "description": "采购方昵称",
  11714. "type": "string"
  11715. },
  11716. "buyuserid": {
  11717. "description": "采购方userid",
  11718. "type": "integer"
  11719. },
  11720. "buyusername": {
  11721. "description": "采购方名称",
  11722. "type": "string"
  11723. },
  11724. "contractno": {
  11725. "description": "合同编号",
  11726. "type": "string"
  11727. },
  11728. "contractqty": {
  11729. "description": "合同量",
  11730. "type": "number"
  11731. },
  11732. "contracttype": {
  11733. "description": "现货合同类型 - 1:采购 -1:销售",
  11734. "type": "integer"
  11735. },
  11736. "deliverygoodscode": {
  11737. "description": "现货品种代码",
  11738. "type": "string"
  11739. },
  11740. "deliverygoodsid": {
  11741. "description": "现货品种id",
  11742. "type": "integer"
  11743. },
  11744. "deliverygoodsname": {
  11745. "description": "现货品种名称",
  11746. "type": "string"
  11747. },
  11748. "detailjson": {
  11749. "description": "明细数据",
  11750. "type": "string"
  11751. },
  11752. "enumdicname": {
  11753. "description": "现货商品单位名称",
  11754. "type": "string"
  11755. },
  11756. "inoutapplyid": {
  11757. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11758. "type": "string"
  11759. },
  11760. "inouttype": {
  11761. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  11762. "type": "integer"
  11763. },
  11764. "pricetype": {
  11765. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11766. "type": "integer"
  11767. },
  11768. "qty": {
  11769. "description": "数量",
  11770. "type": "number"
  11771. },
  11772. "sellnickname": {
  11773. "description": "销售方昵称",
  11774. "type": "string"
  11775. },
  11776. "selluserid": {
  11777. "description": "销售方userid",
  11778. "type": "integer"
  11779. },
  11780. "sellusername": {
  11781. "description": "销售方名称",
  11782. "type": "string"
  11783. },
  11784. "spotcontractid": {
  11785. "description": "关联现货合同ID",
  11786. "type": "string"
  11787. },
  11788. "spotgoodsbrandid": {
  11789. "description": "现货品牌ID",
  11790. "type": "integer"
  11791. },
  11792. "unitid": {
  11793. "description": "单位id",
  11794. "type": "integer"
  11795. },
  11796. "userid": {
  11797. "description": "机构ID",
  11798. "type": "integer"
  11799. },
  11800. "warehousecode": {
  11801. "description": "仓库代码",
  11802. "type": "string"
  11803. },
  11804. "warehouseinfoid": {
  11805. "description": "现货仓库ID",
  11806. "type": "string"
  11807. },
  11808. "warehousename": {
  11809. "description": "仓库名称",
  11810. "type": "string"
  11811. },
  11812. "warehousetype": {
  11813. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11814. "type": "integer"
  11815. },
  11816. "wrstandardcode": {
  11817. "description": "品类代码",
  11818. "type": "string"
  11819. },
  11820. "wrstandardid": {
  11821. "description": "品类ID",
  11822. "type": "integer"
  11823. },
  11824. "wrstandardname": {
  11825. "description": "品类名称",
  11826. "type": "string"
  11827. }
  11828. }
  11829. },
  11830. "models.Ermcp3AreaStockApplySum": {
  11831. "type": "object",
  11832. "properties": {
  11833. "brandname": {
  11834. "description": "品牌名称",
  11835. "type": "string"
  11836. },
  11837. "inouttype": {
  11838. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11839. "type": "integer"
  11840. },
  11841. "spotcontractid": {
  11842. "description": "关联现货合同ID",
  11843. "type": "string"
  11844. },
  11845. "spotgoodsbrandid": {
  11846. "description": "品牌id",
  11847. "type": "integer"
  11848. },
  11849. "totalqty": {
  11850. "description": "总数量",
  11851. "type": "number"
  11852. },
  11853. "wrstandardid": {
  11854. "description": "品类id",
  11855. "type": "integer"
  11856. },
  11857. "wrstandardname": {
  11858. "description": "品类名称",
  11859. "type": "string"
  11860. }
  11861. }
  11862. },
  11863. "models.Ermcp3AreaStockReport": {
  11864. "type": "object",
  11865. "properties": {
  11866. "brandname": {
  11867. "description": "品牌名称",
  11868. "type": "string"
  11869. },
  11870. "curstock": {
  11871. "description": "期末库存量",
  11872. "type": "number"
  11873. },
  11874. "deliverygoodscode": {
  11875. "description": "现货品种代码",
  11876. "type": "string"
  11877. },
  11878. "deliverygoodsid": {
  11879. "description": "现货品种id",
  11880. "type": "integer"
  11881. },
  11882. "deliverygoodsname": {
  11883. "description": "现货品种名称",
  11884. "type": "string"
  11885. },
  11886. "enumdicname": {
  11887. "description": "单位名称",
  11888. "type": "string"
  11889. },
  11890. "goodsunitid": {
  11891. "description": "现货单位id",
  11892. "type": "integer"
  11893. },
  11894. "oristock": {
  11895. "description": "期初库存量",
  11896. "type": "number"
  11897. },
  11898. "spotgoodsbrandid": {
  11899. "description": "现货品牌ID",
  11900. "type": "integer"
  11901. },
  11902. "todaybuyinqty": {
  11903. "description": "今日采购入库量",
  11904. "type": "number"
  11905. },
  11906. "todayproduceinqty": {
  11907. "description": "今日生产入库量",
  11908. "type": "number"
  11909. },
  11910. "todayproduceoutqty": {
  11911. "description": "今日生产出库量",
  11912. "type": "number"
  11913. },
  11914. "todayselloutqty": {
  11915. "description": "今日销售出库量",
  11916. "type": "number"
  11917. },
  11918. "unitid": {
  11919. "description": "品类单位id",
  11920. "type": "integer"
  11921. },
  11922. "updatetime": {
  11923. "description": "更新时间",
  11924. "type": "string"
  11925. },
  11926. "userid": {
  11927. "description": "机构ID",
  11928. "type": "integer"
  11929. },
  11930. "username": {
  11931. "description": "机构名称",
  11932. "type": "string"
  11933. },
  11934. "warehousecode": {
  11935. "description": "仓库代码",
  11936. "type": "string"
  11937. },
  11938. "warehouseinfoid": {
  11939. "description": "仓库ID",
  11940. "type": "string"
  11941. },
  11942. "warehousename": {
  11943. "description": "仓库名称",
  11944. "type": "string"
  11945. },
  11946. "warehousetype": {
  11947. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11948. "type": "integer"
  11949. },
  11950. "wrstandardcode": {
  11951. "description": "品类代码",
  11952. "type": "string"
  11953. },
  11954. "wrstandardid": {
  11955. "description": "品类ID",
  11956. "type": "integer"
  11957. },
  11958. "wrstandardname": {
  11959. "description": "品类名称",
  11960. "type": "string"
  11961. }
  11962. }
  11963. },
  11964. "models.Ermcp3Brand": {
  11965. "type": "object",
  11966. "properties": {
  11967. "areauserid": {
  11968. "description": "用户id",
  11969. "type": "integer"
  11970. },
  11971. "brandid": {
  11972. "description": "品牌id",
  11973. "type": "integer"
  11974. },
  11975. "brandname": {
  11976. "description": "品牌名称",
  11977. "type": "string"
  11978. },
  11979. "deliverygoodsid": {
  11980. "description": "品种ID",
  11981. "type": "integer"
  11982. }
  11983. }
  11984. },
  11985. "models.Ermcp3Contract": {
  11986. "type": "object",
  11987. "properties": {
  11988. "accountid": {
  11989. "description": "期货账户id",
  11990. "type": "string"
  11991. },
  11992. "amount": {
  11993. "description": "金额 [1:一口价、3:暂定价]",
  11994. "type": "number"
  11995. },
  11996. "attachment": {
  11997. "description": "附件",
  11998. "type": "string"
  11999. },
  12000. "auditremark": {
  12001. "description": "审核意见",
  12002. "type": "string"
  12003. },
  12004. "audittime": {
  12005. "description": "审核时间",
  12006. "type": "string"
  12007. },
  12008. "biztype": {
  12009. "description": "业务类型 1-套保 2-套利",
  12010. "type": "integer"
  12011. },
  12012. "brandname": {
  12013. "description": "品牌名称",
  12014. "type": "string"
  12015. },
  12016. "buynickname": {
  12017. "description": "销售方昵称",
  12018. "type": "string"
  12019. },
  12020. "buyuserid": {
  12021. "description": "采购方ID",
  12022. "type": "integer"
  12023. },
  12024. "buyusername": {
  12025. "description": "采购方名称",
  12026. "type": "string"
  12027. },
  12028. "contracctstatus": {
  12029. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12030. "type": "integer"
  12031. },
  12032. "contractmargin": {
  12033. "description": "合同保证金",
  12034. "type": "number"
  12035. },
  12036. "contractno": {
  12037. "description": "现货合同编号",
  12038. "type": "string"
  12039. },
  12040. "contracttype": {
  12041. "description": "现货合同类型 - 1:采购 -1:销售",
  12042. "type": "integer"
  12043. },
  12044. "convertfactor": {
  12045. "description": "标仓系数(品类)",
  12046. "type": "number"
  12047. },
  12048. "createtime": {
  12049. "description": "创建时间",
  12050. "type": "string"
  12051. },
  12052. "currencyid": {
  12053. "description": "币种id",
  12054. "type": "integer"
  12055. },
  12056. "currencyname": {
  12057. "description": "币种名称",
  12058. "type": "string"
  12059. },
  12060. "deliveryenddate": {
  12061. "description": "交收期(结束)",
  12062. "type": "string"
  12063. },
  12064. "deliverygoodscode": {
  12065. "description": "现货品种代码",
  12066. "type": "string"
  12067. },
  12068. "deliverygoodsid": {
  12069. "description": "现货品种ID",
  12070. "type": "integer"
  12071. },
  12072. "deliverygoodsname": {
  12073. "description": "现货品种名称",
  12074. "type": "string"
  12075. },
  12076. "deliverystartdate": {
  12077. "description": "交收期(开始)",
  12078. "type": "string"
  12079. },
  12080. "enddate": {
  12081. "description": "点价结束日期 [2:点价 3:暂定价]",
  12082. "type": "string"
  12083. },
  12084. "enumdicname": {
  12085. "description": "单位名称",
  12086. "type": "string"
  12087. },
  12088. "goodscode": {
  12089. "description": "点价合约代码",
  12090. "type": "string"
  12091. },
  12092. "goodsid": {
  12093. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12094. "type": "integer"
  12095. },
  12096. "goodsname": {
  12097. "description": "点价商品名称",
  12098. "type": "string"
  12099. },
  12100. "margin": {
  12101. "description": "当前保证金",
  12102. "type": "number"
  12103. },
  12104. "meruserid": {
  12105. "description": "跟单员id",
  12106. "type": "integer"
  12107. },
  12108. "meruserlogincode": {
  12109. "description": "跟单员登录代码",
  12110. "type": "string"
  12111. },
  12112. "price": {
  12113. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12114. "type": "number"
  12115. },
  12116. "pricemove": {
  12117. "description": "升贴水 [2:点价 3:暂定价]",
  12118. "type": "number"
  12119. },
  12120. "pricetype": {
  12121. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12122. "type": "integer"
  12123. },
  12124. "producttype": {
  12125. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12126. "type": "integer"
  12127. },
  12128. "qty": {
  12129. "description": "数量",
  12130. "type": "number"
  12131. },
  12132. "remark": {
  12133. "description": "备注",
  12134. "type": "string"
  12135. },
  12136. "saleuserid": {
  12137. "description": "业务员id",
  12138. "type": "integer"
  12139. },
  12140. "saleuserlogincode": {
  12141. "description": "业务员登录代码",
  12142. "type": "string"
  12143. },
  12144. "sellnickname": {
  12145. "description": "采购方昵称",
  12146. "type": "string"
  12147. },
  12148. "selluserid": {
  12149. "description": "销售方ID",
  12150. "type": "integer"
  12151. },
  12152. "sellusername": {
  12153. "description": "销售方名称",
  12154. "type": "string"
  12155. },
  12156. "spotcontractid": {
  12157. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12158. "type": "string"
  12159. },
  12160. "spotgoodsbrandid": {
  12161. "description": "现货品牌ID(DGFactoryItem表的ID)",
  12162. "type": "integer"
  12163. },
  12164. "spotgoodsdesc": {
  12165. "description": "商品型号",
  12166. "type": "string"
  12167. },
  12168. "startdate": {
  12169. "description": "点价开始日期 [2:点价 3:暂定价]",
  12170. "type": "string"
  12171. },
  12172. "tradeuserid": {
  12173. "description": "交易员id",
  12174. "type": "integer"
  12175. },
  12176. "tradeuserlogincode": {
  12177. "description": "交易员登录代码",
  12178. "type": "string"
  12179. },
  12180. "tradeusername": {
  12181. "description": "交易员名称",
  12182. "type": "string"
  12183. },
  12184. "unitid": {
  12185. "description": "单位id(取品类上的单位id)",
  12186. "type": "integer"
  12187. },
  12188. "updatetime": {
  12189. "description": "更新时间",
  12190. "type": "string"
  12191. },
  12192. "userid": {
  12193. "description": "所属机构ID",
  12194. "type": "integer"
  12195. },
  12196. "wrstandardcode": {
  12197. "description": "品类代码",
  12198. "type": "string"
  12199. },
  12200. "wrstandardid": {
  12201. "description": "品类ID",
  12202. "type": "integer"
  12203. },
  12204. "wrstandardname": {
  12205. "description": "品类名称",
  12206. "type": "string"
  12207. }
  12208. }
  12209. },
  12210. "models.Ermcp3ExposureDetail": {
  12211. "type": "object",
  12212. "properties": {
  12213. "areauserid": {
  12214. "description": "机构ID",
  12215. "type": "integer"
  12216. },
  12217. "changeQty": {
  12218. "description": "套保变动量",
  12219. "type": "number"
  12220. },
  12221. "contracttype": {
  12222. "description": "现货合同类型 - 1:采购 -1:销售",
  12223. "type": "integer"
  12224. },
  12225. "convertfactor": {
  12226. "description": "标仓系数",
  12227. "type": "number"
  12228. },
  12229. "convertratio": {
  12230. "description": "套保系数",
  12231. "type": "number"
  12232. },
  12233. "createtime": {
  12234. "description": "时间",
  12235. "type": "string"
  12236. },
  12237. "deliverygoodscode": {
  12238. "description": "现货品种代码",
  12239. "type": "string"
  12240. },
  12241. "deliverygoodsid": {
  12242. "description": "现货品种id",
  12243. "type": "integer"
  12244. },
  12245. "deliverygoodsname": {
  12246. "description": "现货品种名称",
  12247. "type": "string"
  12248. },
  12249. "enumdicname": {
  12250. "description": "现货商品单位名称",
  12251. "type": "string"
  12252. },
  12253. "logtype": {
  12254. "description": "类型 - 1:套保计划 2:现货合同",
  12255. "type": "integer"
  12256. },
  12257. "middlegoodsId": {
  12258. "description": "套保商品id",
  12259. "type": "integer"
  12260. },
  12261. "middlegoodscode": {
  12262. "description": "套保商品代码",
  12263. "type": "string"
  12264. },
  12265. "middlegoodsname": {
  12266. "description": "套保商品名称",
  12267. "type": "string"
  12268. },
  12269. "qty": {
  12270. "description": "数量",
  12271. "type": "number"
  12272. },
  12273. "relateNo": {
  12274. "description": "现货合同/套保计划编号",
  12275. "type": "string"
  12276. }
  12277. }
  12278. },
  12279. "models.Ermcp3Goods": {
  12280. "type": "object",
  12281. "properties": {
  12282. "agreeunit": {
  12283. "description": "合约单位(合约乘数)",
  12284. "type": "number"
  12285. },
  12286. "enumdicname": {
  12287. "description": "单位名称",
  12288. "type": "string"
  12289. },
  12290. "exexchangecode": {
  12291. "description": "交易所代码",
  12292. "type": "string"
  12293. },
  12294. "goodscode": {
  12295. "description": "期货商品代码",
  12296. "type": "string"
  12297. },
  12298. "goodsid": {
  12299. "description": "期货商品id",
  12300. "type": "integer"
  12301. },
  12302. "goodsname": {
  12303. "description": "期货商品名称",
  12304. "type": "string"
  12305. }
  12306. }
  12307. },
  12308. "models.Ermcp3GoodsGroup": {
  12309. "type": "object",
  12310. "required": [
  12311. "areauserid"
  12312. ],
  12313. "properties": {
  12314. "agreeunit": {
  12315. "description": "合约单位",
  12316. "type": "number"
  12317. },
  12318. "areauserid": {
  12319. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  12320. "type": "integer"
  12321. },
  12322. "canshort": {
  12323. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12324. "type": "integer"
  12325. },
  12326. "closepricemode": {
  12327. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12328. "type": "integer"
  12329. },
  12330. "createtime": {
  12331. "description": "创建时间",
  12332. "type": "string"
  12333. },
  12334. "creatorid": {
  12335. "description": "创建人",
  12336. "type": "integer"
  12337. },
  12338. "currencyid": {
  12339. "description": "报价货币ID",
  12340. "type": "integer"
  12341. },
  12342. "decimalplace": {
  12343. "description": "报价小数位",
  12344. "type": "integer"
  12345. },
  12346. "enumdicname": {
  12347. "description": "单位名称",
  12348. "type": "string"
  12349. },
  12350. "excludecfg": {
  12351. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  12352. "type": "integer"
  12353. },
  12354. "exexchangeid": {
  12355. "description": "外部交易所ID[通道交易]",
  12356. "type": "integer"
  12357. },
  12358. "goodsgroupid": {
  12359. "description": "商品组ID(自增ID)",
  12360. "type": "integer"
  12361. },
  12362. "goodsgroupname": {
  12363. "description": "商品组名称",
  12364. "type": "string"
  12365. },
  12366. "goodsgroupstatus": {
  12367. "description": "商品组状态 - 1:正常 2:注销",
  12368. "type": "integer"
  12369. },
  12370. "goodunitid": {
  12371. "description": "报价单位ID",
  12372. "type": "integer"
  12373. },
  12374. "groupcategroyid": {
  12375. "description": "品种分类ID",
  12376. "type": "integer"
  12377. },
  12378. "innerdealmode": {
  12379. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12380. "type": "integer"
  12381. },
  12382. "marketid": {
  12383. "description": "所属市场ID",
  12384. "type": "integer"
  12385. },
  12386. "modifierid": {
  12387. "description": "修改人",
  12388. "type": "integer"
  12389. },
  12390. "modifytime": {
  12391. "description": "修改时间",
  12392. "type": "string"
  12393. },
  12394. "outerdealmode": {
  12395. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12396. "type": "integer"
  12397. },
  12398. "outergroupcode": {
  12399. "description": "外部商品组代码[通道交易]",
  12400. "type": "string"
  12401. },
  12402. "quoteminunit": {
  12403. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12404. "type": "integer"
  12405. },
  12406. "quotesourcegroupid": {
  12407. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12408. "type": "integer"
  12409. },
  12410. "syncgoodsqty": {
  12411. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12412. "type": "integer"
  12413. }
  12414. }
  12415. },
  12416. "models.Ermcp3GoodsGroupEx": {
  12417. "type": "object",
  12418. "properties": {
  12419. "convertratio": {
  12420. "description": "折算系数(品种系数)",
  12421. "type": "number"
  12422. },
  12423. "enumdicname": {
  12424. "description": "单位名称",
  12425. "type": "string"
  12426. },
  12427. "exexchangecode": {
  12428. "description": "交易所代码",
  12429. "type": "string"
  12430. },
  12431. "glist": {
  12432. "description": "合约列表",
  12433. "type": "array",
  12434. "items": {
  12435. "$ref": "#/definitions/models.Ermcp3Goods"
  12436. }
  12437. },
  12438. "goodsgroupid": {
  12439. "description": "商品组id",
  12440. "type": "integer"
  12441. },
  12442. "goodsgroupname": {
  12443. "description": "商品组名称",
  12444. "type": "string"
  12445. },
  12446. "goodsunitid": {
  12447. "description": "单位id",
  12448. "type": "integer"
  12449. },
  12450. "middlegoodsid": {
  12451. "description": "套保商品id",
  12452. "type": "integer"
  12453. }
  12454. }
  12455. },
  12456. "models.Ermcp3HedgePlan": {
  12457. "type": "object",
  12458. "properties": {
  12459. "accountid": {
  12460. "description": "资金账号",
  12461. "type": "integer"
  12462. },
  12463. "areauserid": {
  12464. "description": "用户ID",
  12465. "type": "integer"
  12466. },
  12467. "audittime": {
  12468. "description": "审核时间",
  12469. "type": "string"
  12470. },
  12471. "contracttype": {
  12472. "description": "计划类型 - 1:采购 -1:销售",
  12473. "type": "integer"
  12474. },
  12475. "convertfactor": {
  12476. "description": "标仓系数",
  12477. "type": "number"
  12478. },
  12479. "createtime": {
  12480. "description": "创建时间",
  12481. "type": "string"
  12482. },
  12483. "currencyid": {
  12484. "description": "币种id",
  12485. "type": "integer"
  12486. },
  12487. "currencyname": {
  12488. "description": "币种名称",
  12489. "type": "string"
  12490. },
  12491. "deliverygoodscode": {
  12492. "description": "现货品种代码",
  12493. "type": "string"
  12494. },
  12495. "deliverygoodsid": {
  12496. "description": "现货品种ID",
  12497. "type": "integer"
  12498. },
  12499. "deliverygoodsname": {
  12500. "description": "现货品种名称",
  12501. "type": "string"
  12502. },
  12503. "enumdicname": {
  12504. "description": "单位名称(现货商品)",
  12505. "type": "string"
  12506. },
  12507. "hedgeplanid": {
  12508. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  12509. "type": "string"
  12510. },
  12511. "hedgeplanno": {
  12512. "description": "套保计划编号(名称)",
  12513. "type": "string"
  12514. },
  12515. "hedgeplanstatus": {
  12516. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12517. "type": "integer"
  12518. },
  12519. "planqty": {
  12520. "description": "计划数量",
  12521. "type": "number"
  12522. },
  12523. "plantime": {
  12524. "description": "计划时间",
  12525. "type": "string"
  12526. },
  12527. "producttype": {
  12528. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12529. "type": "integer"
  12530. },
  12531. "remark": {
  12532. "description": "备注",
  12533. "type": "string"
  12534. },
  12535. "spotgoodsdesc": {
  12536. "description": "商品型号",
  12537. "type": "string"
  12538. },
  12539. "taaccountname": {
  12540. "description": "资金账号名称",
  12541. "type": "string"
  12542. },
  12543. "tradeuserid": {
  12544. "description": "交易用户id",
  12545. "type": "integer"
  12546. },
  12547. "tradeusername": {
  12548. "description": "交易用户名称",
  12549. "type": "string"
  12550. },
  12551. "unitid": {
  12552. "description": "单位id(现货商品)",
  12553. "type": "integer"
  12554. },
  12555. "updatetime": {
  12556. "description": "更新时间",
  12557. "type": "string"
  12558. },
  12559. "wrstandardcode": {
  12560. "description": "品类代码",
  12561. "type": "string"
  12562. },
  12563. "wrstandardid": {
  12564. "description": "品类id",
  12565. "type": "integer"
  12566. },
  12567. "wrstandardname": {
  12568. "description": "品类名称",
  12569. "type": "string"
  12570. },
  12571. "wrunitid": {
  12572. "description": "品类单位id",
  12573. "type": "integer"
  12574. },
  12575. "wrunitidame": {
  12576. "description": "品类单位名称",
  12577. "type": "string"
  12578. }
  12579. }
  12580. },
  12581. "models.Ermcp3MiddleGoodsDetail2": {
  12582. "type": "object",
  12583. "properties": {
  12584. "convertratio": {
  12585. "description": "套保系数(折算系数)",
  12586. "type": "number"
  12587. },
  12588. "gplist": {
  12589. "description": "关联商品组列表",
  12590. "type": "array",
  12591. "items": {
  12592. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  12593. }
  12594. },
  12595. "mg": {
  12596. "description": "套保商品信息",
  12597. "type": "object",
  12598. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12599. }
  12600. }
  12601. },
  12602. "models.Ermcp3MiddleGoodsDetailEx": {
  12603. "type": "object",
  12604. "properties": {
  12605. "dglist": {
  12606. "description": "关联的现货品种列表",
  12607. "type": "array",
  12608. "items": {
  12609. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  12610. }
  12611. },
  12612. "gplist": {
  12613. "description": "关联商品组列表",
  12614. "type": "array",
  12615. "items": {
  12616. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  12617. }
  12618. },
  12619. "mg": {
  12620. "description": "套保商品信息",
  12621. "type": "object",
  12622. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12623. }
  12624. }
  12625. },
  12626. "models.Ermcp3ReckonAreaSpotSub": {
  12627. "type": "object",
  12628. "required": [
  12629. "areauserid",
  12630. "reckondate"
  12631. ],
  12632. "properties": {
  12633. "accountid": {
  12634. "description": "期货账户ID",
  12635. "type": "integer"
  12636. },
  12637. "accountname": {
  12638. "description": "所属机构名称",
  12639. "type": "string"
  12640. },
  12641. "areauserid": {
  12642. "description": "账户所属机构",
  12643. "type": "integer"
  12644. },
  12645. "biztype": {
  12646. "description": "业务类型 1-套保 2-套利",
  12647. "type": "integer"
  12648. },
  12649. "brandname": {
  12650. "description": "品牌名称",
  12651. "type": "string"
  12652. },
  12653. "buycontractinqty": {
  12654. "description": "采购合同入库量",
  12655. "type": "number"
  12656. },
  12657. "buypricedamount": {
  12658. "description": "采购合同已定价金额",
  12659. "type": "number"
  12660. },
  12661. "buypricedqty": {
  12662. "description": "采购合同已定价数量",
  12663. "type": "number"
  12664. },
  12665. "buyreckonqty": {
  12666. "description": "采购合同交收量",
  12667. "type": "number"
  12668. },
  12669. "currencyid": {
  12670. "description": "币种id",
  12671. "type": "integer"
  12672. },
  12673. "currencyname": {
  12674. "description": "币种名称",
  12675. "type": "string"
  12676. },
  12677. "deliverygoodscode": {
  12678. "description": "现货商品代码",
  12679. "type": "string"
  12680. },
  12681. "deliverygoodsid": {
  12682. "description": "现货品种ID",
  12683. "type": "integer"
  12684. },
  12685. "deliverygoodsname": {
  12686. "description": "现货商品名称",
  12687. "type": "string"
  12688. },
  12689. "enumdicname": {
  12690. "description": "现货商品单位名称",
  12691. "type": "string"
  12692. },
  12693. "goodsunitid": {
  12694. "description": "现货商品单位id",
  12695. "type": "integer"
  12696. },
  12697. "oribuycontractinqty": {
  12698. "description": "期初采购合同入库量",
  12699. "type": "number"
  12700. },
  12701. "oribuypricedamount": {
  12702. "description": "期初采购合同已定价金额",
  12703. "type": "number"
  12704. },
  12705. "oribuypricedqty": {
  12706. "description": "期初采购合同已定价数量",
  12707. "type": "number"
  12708. },
  12709. "oribuyreckonqty": {
  12710. "description": "期初采购合同交收量",
  12711. "type": "number"
  12712. },
  12713. "oriproduceinqty": {
  12714. "description": "期初生产入库量",
  12715. "type": "number"
  12716. },
  12717. "oriproduceoutqty": {
  12718. "description": "期初生产出库量",
  12719. "type": "number"
  12720. },
  12721. "orisellcontractoutqty": {
  12722. "description": "期初销售合同出库量",
  12723. "type": "number"
  12724. },
  12725. "orisellpricedamount": {
  12726. "description": "期初销售合同已定价金额",
  12727. "type": "number"
  12728. },
  12729. "orisellpricedqty": {
  12730. "description": "期初销售合同已定价数量",
  12731. "type": "number"
  12732. },
  12733. "orisellreckonqty": {
  12734. "description": "期初销售合同交收量",
  12735. "type": "number"
  12736. },
  12737. "produceinqty": {
  12738. "description": "生产入库量",
  12739. "type": "number"
  12740. },
  12741. "produceoutqty": {
  12742. "description": "生产出库量",
  12743. "type": "number"
  12744. },
  12745. "reckondate": {
  12746. "description": "日照时期(yyyyMMdd)",
  12747. "type": "string"
  12748. },
  12749. "sellcontractoutqty": {
  12750. "description": "销售合同出库量",
  12751. "type": "number"
  12752. },
  12753. "sellpricedamount": {
  12754. "description": "销售合同已定价金额",
  12755. "type": "number"
  12756. },
  12757. "sellpricedqty": {
  12758. "description": "销售合同已定价数量",
  12759. "type": "number"
  12760. },
  12761. "sellreckonqty": {
  12762. "description": "销售合同交收量",
  12763. "type": "number"
  12764. },
  12765. "spotgoodsbrandid": {
  12766. "description": "现货品牌ID",
  12767. "type": "integer"
  12768. },
  12769. "todaybuyreckonqty": {
  12770. "description": "今日采购合同已确定数量",
  12771. "type": "number"
  12772. },
  12773. "todaysellreckonqty": {
  12774. "description": "今日销售合同已确定数量",
  12775. "type": "number"
  12776. },
  12777. "totalbuypricedqty": {
  12778. "description": "采购定价量 = 期末 - 期初",
  12779. "type": "number"
  12780. },
  12781. "totalsellpricedqty": {
  12782. "description": "销售定价量 = 期末 - 期初",
  12783. "type": "number"
  12784. },
  12785. "totalspotqty": {
  12786. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量",
  12787. "type": "number"
  12788. },
  12789. "updatetime": {
  12790. "description": "更新时间",
  12791. "type": "string"
  12792. },
  12793. "wrfactortypeid": {
  12794. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12795. "type": "integer"
  12796. },
  12797. "wrstandardcode": {
  12798. "description": "品类代码",
  12799. "type": "string"
  12800. },
  12801. "wrstandardid": {
  12802. "description": "现货品类ID",
  12803. "type": "integer"
  12804. },
  12805. "wrstandardname": {
  12806. "description": "品类名称",
  12807. "type": "string"
  12808. }
  12809. }
  12810. },
  12811. "models.Ermcp3ReckonExpourse": {
  12812. "type": "object",
  12813. "properties": {
  12814. "accountid": {
  12815. "description": "期货账户ID (作废, 默认为0)",
  12816. "type": "integer"
  12817. },
  12818. "accountname": {
  12819. "description": "机构名称",
  12820. "type": "string"
  12821. },
  12822. "arbitrageqty": {
  12823. "description": "套利量",
  12824. "type": "number"
  12825. },
  12826. "areauserid": {
  12827. "description": "所属机构\\交易用户ID",
  12828. "type": "integer"
  12829. },
  12830. "buyfutureqty": {
  12831. "description": "买入期货数量",
  12832. "type": "number"
  12833. },
  12834. "buyplanqty": {
  12835. "description": "采购计划数量",
  12836. "type": "number"
  12837. },
  12838. "buypricedqty": {
  12839. "description": "采购合同已定价数量",
  12840. "type": "number"
  12841. },
  12842. "diffexposure": {
  12843. "description": "变动量(套保敞口)",
  12844. "type": "number"
  12845. },
  12846. "difffutuqty": {
  12847. "description": "变动量(期货)",
  12848. "type": "number"
  12849. },
  12850. "diffhedgeqty": {
  12851. "description": "变动量(现货应套保总量)",
  12852. "type": "number"
  12853. },
  12854. "diffmgqtya": {
  12855. "description": "套保变动量",
  12856. "type": "number"
  12857. },
  12858. "diffmgqtyb": {
  12859. "description": "套利变动量",
  12860. "type": "number"
  12861. },
  12862. "diffqty": {
  12863. "description": "变动量(总敞口)",
  12864. "type": "number"
  12865. },
  12866. "diffspotqty": {
  12867. "description": "变动量(现货)",
  12868. "type": "number"
  12869. },
  12870. "enumdicname": {
  12871. "description": "单位名称",
  12872. "type": "string"
  12873. },
  12874. "hedgeqty": {
  12875. "description": "套保量",
  12876. "type": "number"
  12877. },
  12878. "mgneedhedgeratio": {
  12879. "description": "套保比例(套保品的)",
  12880. "type": "number"
  12881. },
  12882. "middlegoodsid": {
  12883. "description": "套保品种ID",
  12884. "type": "integer"
  12885. },
  12886. "middlegoodsnam": {
  12887. "description": "套保商品名称",
  12888. "type": "string"
  12889. },
  12890. "middlgoodscode": {
  12891. "description": "套保商品代码",
  12892. "type": "string"
  12893. },
  12894. "needarbitrageqty": {
  12895. "description": "应套利量",
  12896. "type": "number"
  12897. },
  12898. "needarbitrageratio": {
  12899. "description": "套利比例(套保品的)",
  12900. "type": "number"
  12901. },
  12902. "needhedgeexposoure": {
  12903. "description": "应套保敞口(套保敞口)",
  12904. "type": "number"
  12905. },
  12906. "needhedgeqty": {
  12907. "description": "应套保量",
  12908. "type": "number"
  12909. },
  12910. "needhedgeratio": {
  12911. "description": "应套保敞口比例",
  12912. "type": "number"
  12913. },
  12914. "oriarbitrageqty": {
  12915. "description": "期初套利量",
  12916. "type": "number"
  12917. },
  12918. "oribuyfutureqty": {
  12919. "description": "期初买入期货数量",
  12920. "type": "number"
  12921. },
  12922. "oribuyplanqty": {
  12923. "description": "期初采购计划数量",
  12924. "type": "number"
  12925. },
  12926. "oribuypricedqty": {
  12927. "description": "期初采购合同已定价数量",
  12928. "type": "number"
  12929. },
  12930. "orihedgeqty": {
  12931. "description": "期初套保量",
  12932. "type": "number"
  12933. },
  12934. "orineedarbitrageqty": {
  12935. "description": "期初应套利量",
  12936. "type": "number"
  12937. },
  12938. "orineedhedgeexposoure": {
  12939. "description": "期初应套保敞口",
  12940. "type": "number"
  12941. },
  12942. "orineedhedgeqty": {
  12943. "description": "期初应套保量",
  12944. "type": "number"
  12945. },
  12946. "orisellfutureqty": {
  12947. "description": "期初卖出期货数量",
  12948. "type": "number"
  12949. },
  12950. "orisellplanqty": {
  12951. "description": "期初销售计划数量",
  12952. "type": "number"
  12953. },
  12954. "orisellpricedqty": {
  12955. "description": "期初销售合同已定价数量",
  12956. "type": "number"
  12957. },
  12958. "oritotalexposure": {
  12959. "description": "期初实时总敞口",
  12960. "type": "number"
  12961. },
  12962. "oritotalfutureqty": {
  12963. "description": "期初期货头寸总量",
  12964. "type": "number"
  12965. },
  12966. "oritotalneedhedgeqty": {
  12967. "description": "期初应套保总量",
  12968. "type": "number"
  12969. },
  12970. "oritotalspotqty": {
  12971. "description": "期初现货头寸总量",
  12972. "type": "number"
  12973. },
  12974. "reckondate": {
  12975. "description": "日照时期(yyyyMMdd)",
  12976. "type": "string"
  12977. },
  12978. "sellfutureqty": {
  12979. "description": "卖出期货数量",
  12980. "type": "number"
  12981. },
  12982. "sellplanqty": {
  12983. "description": "销售计划数量",
  12984. "type": "number"
  12985. },
  12986. "sellpricedqty": {
  12987. "description": "销售合同已定价数量",
  12988. "type": "number"
  12989. },
  12990. "totalexposure": {
  12991. "description": "实时总敞口(总敞口)",
  12992. "type": "number"
  12993. },
  12994. "totalfutureqty": {
  12995. "description": "期货头寸总量(期货总量)",
  12996. "type": "number"
  12997. },
  12998. "totalhedgeratio": {
  12999. "description": "敞口比例",
  13000. "type": "number"
  13001. },
  13002. "totalneedhedgeqty": {
  13003. "description": "应套保总量(现货应套保总量)",
  13004. "type": "number"
  13005. },
  13006. "totalspotqty": {
  13007. "description": "现货头寸总量",
  13008. "type": "number"
  13009. },
  13010. "unitid": {
  13011. "description": "单位id",
  13012. "type": "integer"
  13013. },
  13014. "updatetime": {
  13015. "description": "更新时间",
  13016. "type": "string"
  13017. }
  13018. }
  13019. },
  13020. "models.Ermcp3ReportAreaSpotPL": {
  13021. "type": "object",
  13022. "properties": {
  13023. "actualpl": {
  13024. "description": "实际损益",
  13025. "type": "number"
  13026. },
  13027. "areauserid": {
  13028. "description": "所属机构",
  13029. "type": "integer"
  13030. },
  13031. "biztype": {
  13032. "description": "业务类型 1-套保 2-套利",
  13033. "type": "integer"
  13034. },
  13035. "brandname": {
  13036. "description": "品牌名称",
  13037. "type": "string"
  13038. },
  13039. "curamount": {
  13040. "description": "期末额",
  13041. "type": "number"
  13042. },
  13043. "curaverageprice": {
  13044. "description": "期末均价",
  13045. "type": "number"
  13046. },
  13047. "curbuyamount": {
  13048. "description": "期末采购总额(采购额)",
  13049. "type": "number"
  13050. },
  13051. "curbuyqty": {
  13052. "description": "期末采购总量",
  13053. "type": "number"
  13054. },
  13055. "curmarketvalue": {
  13056. "description": "参考市值",
  13057. "type": "number"
  13058. },
  13059. "curqty": {
  13060. "description": "期末量",
  13061. "type": "number"
  13062. },
  13063. "currencyid": {
  13064. "description": "币种id",
  13065. "type": "integer"
  13066. },
  13067. "currencyname": {
  13068. "description": "币种名称",
  13069. "type": "string"
  13070. },
  13071. "cursellamount": {
  13072. "description": "期末销售总额(销售额)",
  13073. "type": "number"
  13074. },
  13075. "cursellqty": {
  13076. "description": "期末销售总量",
  13077. "type": "number"
  13078. },
  13079. "curspotprice": {
  13080. "description": "参考市价",
  13081. "type": "number"
  13082. },
  13083. "deliverygoodscode": {
  13084. "description": "现货品种代码",
  13085. "type": "string"
  13086. },
  13087. "deliverygoodsid": {
  13088. "description": "现货品种id",
  13089. "type": "integer"
  13090. },
  13091. "deliverygoodsname": {
  13092. "description": "现货品种名称",
  13093. "type": "string"
  13094. },
  13095. "enumdicname": {
  13096. "description": "现货商品单位名称",
  13097. "type": "string"
  13098. },
  13099. "floatpl": {
  13100. "description": "浮动损益",
  13101. "type": "number"
  13102. },
  13103. "gbenumdicname": {
  13104. "description": "品类单位名称",
  13105. "type": "string"
  13106. },
  13107. "gbunitid": {
  13108. "description": "现货单位id",
  13109. "type": "integer"
  13110. },
  13111. "modelname": {
  13112. "description": "品类名称",
  13113. "type": "string"
  13114. },
  13115. "oriamount": {
  13116. "description": "期初额",
  13117. "type": "number"
  13118. },
  13119. "oriaverageprice": {
  13120. "description": "期初均价",
  13121. "type": "number"
  13122. },
  13123. "oribuyamount": {
  13124. "description": "期初采购总额",
  13125. "type": "number"
  13126. },
  13127. "oribuyqty": {
  13128. "description": "期初采购总量",
  13129. "type": "number"
  13130. },
  13131. "oriqty": {
  13132. "description": "期初量",
  13133. "type": "number"
  13134. },
  13135. "orisellamount": {
  13136. "description": "期初销售总额",
  13137. "type": "number"
  13138. },
  13139. "orisellqty": {
  13140. "description": "期初销售总量",
  13141. "type": "number"
  13142. },
  13143. "spotgoodsbrandid": {
  13144. "description": "现货品牌ID",
  13145. "type": "integer"
  13146. },
  13147. "todaybuyamount": {
  13148. "description": "今日采购额",
  13149. "type": "number"
  13150. },
  13151. "todaybuyaverageprice": {
  13152. "description": "今日采购均价(采购均价)",
  13153. "type": "number"
  13154. },
  13155. "todaybuyqty": {
  13156. "description": "今日采购量(采购增量)",
  13157. "type": "number"
  13158. },
  13159. "todaysellamount": {
  13160. "description": "今日销售额",
  13161. "type": "number"
  13162. },
  13163. "todaysellaverageprice": {
  13164. "description": "今日销售均价(销售均价)",
  13165. "type": "number"
  13166. },
  13167. "todaysellqty": {
  13168. "description": "今日销售量(销售增量)",
  13169. "type": "number"
  13170. },
  13171. "unitid": {
  13172. "description": "品类单位id",
  13173. "type": "integer"
  13174. },
  13175. "updatetime": {
  13176. "description": "更新时间",
  13177. "type": "string"
  13178. },
  13179. "wrstandardcode": {
  13180. "description": "品类代码",
  13181. "type": "string"
  13182. },
  13183. "wrstandardid": {
  13184. "description": "品类ID",
  13185. "type": "integer"
  13186. },
  13187. "wrstandardname": {
  13188. "description": "品类名称",
  13189. "type": "string"
  13190. }
  13191. }
  13192. },
  13193. "models.Ermcp3ReportAreaSpotSub": {
  13194. "type": "object",
  13195. "required": [
  13196. "areauserid"
  13197. ],
  13198. "properties": {
  13199. "accountid": {
  13200. "description": "期货账户ID",
  13201. "type": "integer"
  13202. },
  13203. "accountname": {
  13204. "description": "所属机构名称",
  13205. "type": "string"
  13206. },
  13207. "areauserid": {
  13208. "description": "账户所属机构",
  13209. "type": "integer"
  13210. },
  13211. "biztype": {
  13212. "description": "业务类型 1-套保 2-套利",
  13213. "type": "integer"
  13214. },
  13215. "brandname": {
  13216. "description": "品牌名称",
  13217. "type": "string"
  13218. },
  13219. "buycontractinqty": {
  13220. "description": "采购合同入库量【期末】",
  13221. "type": "number"
  13222. },
  13223. "buypricedamount": {
  13224. "description": "采购合同已定价金额【期末】",
  13225. "type": "number"
  13226. },
  13227. "buypricedqty": {
  13228. "description": "采购合同已定价数量【期末】",
  13229. "type": "number"
  13230. },
  13231. "buyreckonqty": {
  13232. "description": "采购合同交收量【期末】",
  13233. "type": "number"
  13234. },
  13235. "currencyid": {
  13236. "description": "币种id",
  13237. "type": "integer"
  13238. },
  13239. "currencyname": {
  13240. "description": "币种名称",
  13241. "type": "string"
  13242. },
  13243. "cycletime": {
  13244. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13245. "type": "string"
  13246. },
  13247. "cycletype": {
  13248. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13249. "type": "integer"
  13250. },
  13251. "deliverygoodscode": {
  13252. "description": "现货商品代码",
  13253. "type": "string"
  13254. },
  13255. "deliverygoodsid": {
  13256. "description": "现货品种ID",
  13257. "type": "integer"
  13258. },
  13259. "deliverygoodsname": {
  13260. "description": "现货商品名称",
  13261. "type": "string"
  13262. },
  13263. "enumdicname": {
  13264. "description": "现货商品单位名称",
  13265. "type": "string"
  13266. },
  13267. "goodsunitid": {
  13268. "description": "现货商品单位id",
  13269. "type": "integer"
  13270. },
  13271. "oribuycontractinqty": {
  13272. "description": "期初采购合同入库量【期初】",
  13273. "type": "number"
  13274. },
  13275. "oribuypricedamount": {
  13276. "description": "期初采购合同已定价金额【期初】",
  13277. "type": "number"
  13278. },
  13279. "oribuypricedqty": {
  13280. "description": "期初采购合同已定价数量【期初】",
  13281. "type": "number"
  13282. },
  13283. "oribuyreckonqty": {
  13284. "description": "期初采购合同交收量【期初】",
  13285. "type": "number"
  13286. },
  13287. "oriproduceinqty": {
  13288. "description": "期初生产入库量【期初】",
  13289. "type": "number"
  13290. },
  13291. "oriproduceoutqty": {
  13292. "description": "期初生产出库量【期初】",
  13293. "type": "number"
  13294. },
  13295. "orisellcontractoutqty": {
  13296. "description": "期初销售合同出库量【期初】",
  13297. "type": "number"
  13298. },
  13299. "orisellpricedamount": {
  13300. "description": "期初销售合同已定价金额【期初】",
  13301. "type": "number"
  13302. },
  13303. "orisellpricedqty": {
  13304. "description": "期初销售合同已定价数量【期初】",
  13305. "type": "number"
  13306. },
  13307. "orisellreckonqty": {
  13308. "description": "期初销售合同交收量【期初】",
  13309. "type": "number"
  13310. },
  13311. "produceinqty": {
  13312. "description": "生产入库量【期末】",
  13313. "type": "number"
  13314. },
  13315. "produceoutqty": {
  13316. "description": "生产出库量【期末】",
  13317. "type": "number"
  13318. },
  13319. "sellcontractoutqty": {
  13320. "description": "销售合同出库量【期末】",
  13321. "type": "number"
  13322. },
  13323. "sellpricedamount": {
  13324. "description": "销售合同已定价金额【期末】",
  13325. "type": "number"
  13326. },
  13327. "sellpricedqty": {
  13328. "description": "销售合同已定价数量【期末】",
  13329. "type": "number"
  13330. },
  13331. "sellreckonqty": {
  13332. "description": "销售合同交收量【期末】",
  13333. "type": "number"
  13334. },
  13335. "spotgoodsbrandid": {
  13336. "description": "现货品牌ID",
  13337. "type": "integer"
  13338. },
  13339. "todaybuyreckonqty": {
  13340. "description": "今日采购合同已确定数量【汇总】",
  13341. "type": "number"
  13342. },
  13343. "todaysellreckonqty": {
  13344. "description": "今日销售合同已确定数量【汇总】",
  13345. "type": "number"
  13346. },
  13347. "totalbuypricedqty": {
  13348. "description": "采购定价量 = 期末 - 期初",
  13349. "type": "number"
  13350. },
  13351. "totalsellpricedqty": {
  13352. "description": "销售定价量 = 期末 - 期初",
  13353. "type": "number"
  13354. },
  13355. "totalspotqty": {
  13356. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】",
  13357. "type": "number"
  13358. },
  13359. "updatetime": {
  13360. "description": "更新时间",
  13361. "type": "string"
  13362. },
  13363. "wrfactortypeid": {
  13364. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13365. "type": "integer"
  13366. },
  13367. "wrstandardcode": {
  13368. "description": "品类代码",
  13369. "type": "string"
  13370. },
  13371. "wrstandardid": {
  13372. "description": "品类ID",
  13373. "type": "integer"
  13374. },
  13375. "wrstandardname": {
  13376. "description": "品类名称",
  13377. "type": "string"
  13378. }
  13379. }
  13380. },
  13381. "models.Ermcp3ReportExpourse": {
  13382. "type": "object",
  13383. "properties": {
  13384. "accountid": {
  13385. "description": "期货账户ID (作废, 默认为0)",
  13386. "type": "integer"
  13387. },
  13388. "accountname": {
  13389. "description": "机构名称",
  13390. "type": "string"
  13391. },
  13392. "arbitrageqty": {
  13393. "description": "套利量",
  13394. "type": "number"
  13395. },
  13396. "areauserid": {
  13397. "description": "所属机构\\交易用户ID",
  13398. "type": "integer"
  13399. },
  13400. "buyfutureqty": {
  13401. "description": "买入期货数量",
  13402. "type": "number"
  13403. },
  13404. "buyplanqty": {
  13405. "description": "采购计划数量",
  13406. "type": "number"
  13407. },
  13408. "buypricedqty": {
  13409. "description": "采购合同已定价数量",
  13410. "type": "number"
  13411. },
  13412. "cycletime": {
  13413. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13414. "type": "string"
  13415. },
  13416. "cycletype": {
  13417. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13418. "type": "integer"
  13419. },
  13420. "diffexposure": {
  13421. "description": "变动量(套保敞口)",
  13422. "type": "number"
  13423. },
  13424. "difffutuqty": {
  13425. "description": "变动量(期货)",
  13426. "type": "number"
  13427. },
  13428. "diffhedgeqty": {
  13429. "description": "变动量(现货应套保总量)",
  13430. "type": "number"
  13431. },
  13432. "diffmgqtya": {
  13433. "description": "套保变动量",
  13434. "type": "number"
  13435. },
  13436. "diffmgqtyb": {
  13437. "description": "套利变动量",
  13438. "type": "number"
  13439. },
  13440. "diffqty": {
  13441. "description": "变动量(总敞口)",
  13442. "type": "number"
  13443. },
  13444. "diffspotqty": {
  13445. "description": "变动量(现货)",
  13446. "type": "number"
  13447. },
  13448. "enumdicname": {
  13449. "description": "单位名称",
  13450. "type": "string"
  13451. },
  13452. "hedgeqty": {
  13453. "description": "套保量",
  13454. "type": "number"
  13455. },
  13456. "mgneedhedgeratio": {
  13457. "description": "套保比例(套保品的)",
  13458. "type": "number"
  13459. },
  13460. "middlegoodsid": {
  13461. "description": "套保品种ID",
  13462. "type": "integer"
  13463. },
  13464. "middlegoodsnam": {
  13465. "description": "套保商品名称",
  13466. "type": "string"
  13467. },
  13468. "middlgoodscode": {
  13469. "description": "套保商品代码",
  13470. "type": "string"
  13471. },
  13472. "needarbitrageqty": {
  13473. "description": "应套利量",
  13474. "type": "number"
  13475. },
  13476. "needarbitrageratio": {
  13477. "description": "套利比例(套保品的)",
  13478. "type": "number"
  13479. },
  13480. "needhedgeexposoure": {
  13481. "description": "应套保敞口(套保敞口)",
  13482. "type": "number"
  13483. },
  13484. "needhedgeqty": {
  13485. "description": "应套保量",
  13486. "type": "number"
  13487. },
  13488. "needhedgeratio": {
  13489. "description": "应套保敞口比例",
  13490. "type": "number"
  13491. },
  13492. "oriarbitrageqty": {
  13493. "description": "期初套利量",
  13494. "type": "number"
  13495. },
  13496. "oribuyfutureqty": {
  13497. "description": "期初买入期货数量",
  13498. "type": "number"
  13499. },
  13500. "oribuyplanqty": {
  13501. "description": "期初采购计划数量",
  13502. "type": "number"
  13503. },
  13504. "oribuypricedqty": {
  13505. "description": "期初采购合同已定价数量",
  13506. "type": "number"
  13507. },
  13508. "orihedgeqty": {
  13509. "description": "期初套保量",
  13510. "type": "number"
  13511. },
  13512. "orineedarbitrageqty": {
  13513. "description": "期初应套利量",
  13514. "type": "number"
  13515. },
  13516. "orineedhedgeexposoure": {
  13517. "description": "期初应套保敞口",
  13518. "type": "number"
  13519. },
  13520. "orineedhedgeqty": {
  13521. "description": "期初应套保量",
  13522. "type": "number"
  13523. },
  13524. "orisellfutureqty": {
  13525. "description": "期初卖出期货数量",
  13526. "type": "number"
  13527. },
  13528. "orisellplanqty": {
  13529. "description": "期初销售计划数量",
  13530. "type": "number"
  13531. },
  13532. "orisellpricedqty": {
  13533. "description": "期初销售合同已定价数量",
  13534. "type": "number"
  13535. },
  13536. "oritotalexposure": {
  13537. "description": "期初实时总敞口",
  13538. "type": "number"
  13539. },
  13540. "oritotalfutureqty": {
  13541. "description": "期初期货头寸总量",
  13542. "type": "number"
  13543. },
  13544. "oritotalneedhedgeqty": {
  13545. "description": "期初应套保总量",
  13546. "type": "number"
  13547. },
  13548. "oritotalspotqty": {
  13549. "description": "期初现货头寸总量",
  13550. "type": "number"
  13551. },
  13552. "sellfutureqty": {
  13553. "description": "卖出期货数量",
  13554. "type": "number"
  13555. },
  13556. "sellplanqty": {
  13557. "description": "销售计划数量",
  13558. "type": "number"
  13559. },
  13560. "sellpricedqty": {
  13561. "description": "销售合同已定价数量",
  13562. "type": "number"
  13563. },
  13564. "totalexposure": {
  13565. "description": "实时总敞口(总敞口)",
  13566. "type": "number"
  13567. },
  13568. "totalfutureqty": {
  13569. "description": "期货头寸总量(期货总量)",
  13570. "type": "number"
  13571. },
  13572. "totalhedgeratio": {
  13573. "description": "敞口比例",
  13574. "type": "number"
  13575. },
  13576. "totalneedhedgeqty": {
  13577. "description": "应套保总量(现货应套保总量)",
  13578. "type": "number"
  13579. },
  13580. "totalspotqty": {
  13581. "description": "现货头寸总量",
  13582. "type": "number"
  13583. },
  13584. "unitid": {
  13585. "description": "单位id",
  13586. "type": "integer"
  13587. },
  13588. "updatetime": {
  13589. "description": "更新时间",
  13590. "type": "string"
  13591. }
  13592. }
  13593. },
  13594. "models.Ermcp3ReportOPLog": {
  13595. "type": "object",
  13596. "properties": {
  13597. "applyid": {
  13598. "description": "操作人",
  13599. "type": "integer"
  13600. },
  13601. "applyname": {
  13602. "description": "操作人名称",
  13603. "type": "string"
  13604. },
  13605. "biztype": {
  13606. "description": "业务类型 - 1:套保计划 2:现货合同",
  13607. "type": "integer"
  13608. },
  13609. "brandname": {
  13610. "description": "品牌名称",
  13611. "type": "string"
  13612. },
  13613. "contracttype": {
  13614. "description": "现货合同类型 - 1:采购 -1:销售",
  13615. "type": "integer"
  13616. },
  13617. "deliverygoodscode": {
  13618. "description": "现货品种代码",
  13619. "type": "string"
  13620. },
  13621. "deliverygoodsid": {
  13622. "description": "现货品种id",
  13623. "type": "integer"
  13624. },
  13625. "deliverygoodsname": {
  13626. "description": "现货品种名称",
  13627. "type": "string"
  13628. },
  13629. "enumdicName": {
  13630. "description": "单位名称",
  13631. "type": "string"
  13632. },
  13633. "logdatetime": {
  13634. "description": "流水日期(时间)",
  13635. "type": "string"
  13636. },
  13637. "logid": {
  13638. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  13639. "type": "string"
  13640. },
  13641. "logtypename": {
  13642. "description": "合同类型(名称)",
  13643. "type": "string"
  13644. },
  13645. "logvalue": {
  13646. "description": "数值",
  13647. "type": "string"
  13648. },
  13649. "operatelogtype": {
  13650. "description": "操作流水类型 -",
  13651. "type": "integer"
  13652. },
  13653. "optypename": {
  13654. "description": "流水类型名称",
  13655. "type": "string"
  13656. },
  13657. "relatedid": {
  13658. "description": "现货合同ID\\套保计划",
  13659. "type": "string"
  13660. },
  13661. "relatedno": {
  13662. "description": "合同编号",
  13663. "type": "string"
  13664. },
  13665. "spotgoodsbrandid": {
  13666. "description": "品牌id",
  13667. "type": "integer"
  13668. },
  13669. "tradedate": {
  13670. "description": "交易日(yyyyMMdd)",
  13671. "type": "string"
  13672. },
  13673. "userid": {
  13674. "description": "机构ID",
  13675. "type": "integer"
  13676. },
  13677. "wrstandardcode": {
  13678. "description": "品类代码",
  13679. "type": "string"
  13680. },
  13681. "wrstandardid": {
  13682. "description": "品类id",
  13683. "type": "integer"
  13684. },
  13685. "wrstandardname": {
  13686. "description": "品类名称",
  13687. "type": "string"
  13688. }
  13689. }
  13690. },
  13691. "models.Ermcp3SellBuyContract": {
  13692. "type": "object",
  13693. "properties": {
  13694. "accountname": {
  13695. "description": "账户名称",
  13696. "type": "string"
  13697. },
  13698. "attachment": {
  13699. "description": "附件",
  13700. "type": "string"
  13701. },
  13702. "audittime": {
  13703. "description": "审核时间",
  13704. "type": "string"
  13705. },
  13706. "brandname": {
  13707. "description": "品牌名称",
  13708. "type": "string"
  13709. },
  13710. "contracctstatus": {
  13711. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13712. "type": "integer"
  13713. },
  13714. "contractmargin": {
  13715. "description": "合同保证金",
  13716. "type": "number"
  13717. },
  13718. "contractno": {
  13719. "description": "合同编号",
  13720. "type": "string"
  13721. },
  13722. "contracttype": {
  13723. "description": "合同类型 1-采购, -1-销售",
  13724. "type": "integer"
  13725. },
  13726. "convertfactor": {
  13727. "description": "标仓系数(品类)",
  13728. "type": "number"
  13729. },
  13730. "createtime": {
  13731. "description": "创建时间",
  13732. "type": "string"
  13733. },
  13734. "daikaiamount": {
  13735. "description": "应收(开)票额",
  13736. "type": "number"
  13737. },
  13738. "deliveryenddate": {
  13739. "description": "交割结束日",
  13740. "type": "string"
  13741. },
  13742. "deliverygoodscode": {
  13743. "description": "现货品种代码",
  13744. "type": "string"
  13745. },
  13746. "deliverygoodsid": {
  13747. "description": "现货商品ID",
  13748. "type": "integer"
  13749. },
  13750. "deliverygoodsname": {
  13751. "description": "现货品种名称",
  13752. "type": "string"
  13753. },
  13754. "deliverystartdate": {
  13755. "description": "交割开始日",
  13756. "type": "string"
  13757. },
  13758. "enddate": {
  13759. "description": "点价结束日",
  13760. "type": "string"
  13761. },
  13762. "enumdicname": {
  13763. "description": "单位名称",
  13764. "type": "string"
  13765. },
  13766. "goodscode": {
  13767. "description": "点价商品代码",
  13768. "type": "string"
  13769. },
  13770. "goodsid": {
  13771. "description": "点价商品ID",
  13772. "type": "integer"
  13773. },
  13774. "goodsname": {
  13775. "description": "点价商品名称",
  13776. "type": "string"
  13777. },
  13778. "invoiceamount": {
  13779. "description": "已开票额",
  13780. "type": "number"
  13781. },
  13782. "loanamount": {
  13783. "description": "贷款总额=已定价额+调整金额",
  13784. "type": "number"
  13785. },
  13786. "margin": {
  13787. "description": "保证金",
  13788. "type": "number"
  13789. },
  13790. "nickname": {
  13791. "description": "账户昵称",
  13792. "type": "string"
  13793. },
  13794. "payamount": {
  13795. "description": "已收付额(收款或付款)",
  13796. "type": "number"
  13797. },
  13798. "preinvoiceamount": {
  13799. "description": "预收(开)票额",
  13800. "type": "number"
  13801. },
  13802. "prepayamount": {
  13803. "description": "预收付额",
  13804. "type": "number"
  13805. },
  13806. "price": {
  13807. "description": "价格",
  13808. "type": "number"
  13809. },
  13810. "pricedamount": {
  13811. "description": "已定价额",
  13812. "type": "number"
  13813. },
  13814. "pricedavg": {
  13815. "description": "已点均价",
  13816. "type": "number"
  13817. },
  13818. "pricedqty": {
  13819. "description": "已定价量",
  13820. "type": "number"
  13821. },
  13822. "pricemove": {
  13823. "description": "升贴水",
  13824. "type": "number"
  13825. },
  13826. "pricetype": {
  13827. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13828. "type": "integer"
  13829. },
  13830. "producttype": {
  13831. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13832. "type": "integer"
  13833. },
  13834. "qty": {
  13835. "description": "合同量",
  13836. "type": "number"
  13837. },
  13838. "reckonadjustamount": {
  13839. "description": "调整金额",
  13840. "type": "number"
  13841. },
  13842. "reckonedamount": {
  13843. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  13844. "type": "number"
  13845. },
  13846. "reckonotheramount": {
  13847. "description": "其它费用",
  13848. "type": "number"
  13849. },
  13850. "reckonrealqty": {
  13851. "description": "已确定量",
  13852. "type": "number"
  13853. },
  13854. "remark": {
  13855. "description": "备注",
  13856. "type": "string"
  13857. },
  13858. "spotcontractid": {
  13859. "description": "合同ID",
  13860. "type": "string"
  13861. },
  13862. "spotgoodsbrandid": {
  13863. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13864. "type": "integer"
  13865. },
  13866. "spotgoodsdesc": {
  13867. "description": "商品型号(商品规格)",
  13868. "type": "string"
  13869. },
  13870. "startdate": {
  13871. "description": "点价开始日",
  13872. "type": "string"
  13873. },
  13874. "totalamount": {
  13875. "description": "合计总额",
  13876. "type": "number"
  13877. },
  13878. "unpayamount": {
  13879. "description": "应收付款额(应支付或应收款)",
  13880. "type": "number"
  13881. },
  13882. "unpricedqty": {
  13883. "description": "未定价量",
  13884. "type": "number"
  13885. },
  13886. "unsureqty": {
  13887. "description": "未确定量",
  13888. "type": "number"
  13889. },
  13890. "userid": {
  13891. "description": "机构ID",
  13892. "type": "integer"
  13893. },
  13894. "wrstandardcode": {
  13895. "description": "品类代码",
  13896. "type": "string"
  13897. },
  13898. "wrstandardid": {
  13899. "description": "品类ID",
  13900. "type": "integer"
  13901. },
  13902. "wrstandardname": {
  13903. "description": "品类名称",
  13904. "type": "string"
  13905. }
  13906. }
  13907. },
  13908. "models.Ermcp3SpotGoodsPrice": {
  13909. "type": "object",
  13910. "properties": {
  13911. "areauserid": {
  13912. "description": "所属机构id",
  13913. "type": "integer"
  13914. },
  13915. "brandname": {
  13916. "description": "品牌名称",
  13917. "type": "string"
  13918. },
  13919. "currencyid": {
  13920. "description": "报价货币ID",
  13921. "type": "integer"
  13922. },
  13923. "currencyname": {
  13924. "description": "币种名称",
  13925. "type": "string"
  13926. },
  13927. "deliverygoodscode": {
  13928. "description": "现货商品代码",
  13929. "type": "string"
  13930. },
  13931. "deliverygoodsid": {
  13932. "description": "现货商品id",
  13933. "type": "integer"
  13934. },
  13935. "deliverygoodsname": {
  13936. "description": "现货商品名称",
  13937. "type": "string"
  13938. },
  13939. "enumdicname": {
  13940. "description": "现货商品单位名称",
  13941. "type": "string"
  13942. },
  13943. "gbenumdicname": {
  13944. "description": "品类单位名称",
  13945. "type": "string"
  13946. },
  13947. "gmunitid": {
  13948. "description": "品类单位id",
  13949. "type": "integer"
  13950. },
  13951. "isvalid": {
  13952. "description": "是否有效 - 0:无效 1:有效",
  13953. "type": "integer"
  13954. },
  13955. "operateid": {
  13956. "description": "最后操作人",
  13957. "type": "integer"
  13958. },
  13959. "operatesrc": {
  13960. "description": "最后操作来源 - 1:管理端 2:终端",
  13961. "type": "integer"
  13962. },
  13963. "operatetime": {
  13964. "description": "最后操作时间",
  13965. "type": "string"
  13966. },
  13967. "operatorname": {
  13968. "description": "操作人名称",
  13969. "type": "string"
  13970. },
  13971. "spotgoodsbrandid": {
  13972. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  13973. "type": "integer"
  13974. },
  13975. "spotgoodsprice": {
  13976. "description": "现货价格",
  13977. "type": "number"
  13978. },
  13979. "tradedate": {
  13980. "description": "交易日(yyyyMMdd)",
  13981. "type": "string"
  13982. },
  13983. "unitid": {
  13984. "description": "现货商品单位id",
  13985. "type": "integer"
  13986. },
  13987. "wrstandardcode": {
  13988. "description": "品类代码",
  13989. "type": "string"
  13990. },
  13991. "wrstandardid": {
  13992. "description": "现货品类ID(通用则为0)",
  13993. "type": "integer"
  13994. },
  13995. "wrstandardname": {
  13996. "description": "品类名称",
  13997. "type": "string"
  13998. }
  13999. }
  14000. },
  14001. "models.Ermcp3SpotGoodsPriceLog": {
  14002. "type": "object",
  14003. "properties": {
  14004. "areauserid": {
  14005. "description": "所属机构id",
  14006. "type": "integer"
  14007. },
  14008. "brandname": {
  14009. "description": "品牌名称",
  14010. "type": "string"
  14011. },
  14012. "currencyid": {
  14013. "description": "报价货币ID",
  14014. "type": "integer"
  14015. },
  14016. "deliverygoodscode": {
  14017. "description": "现货商品代码",
  14018. "type": "string"
  14019. },
  14020. "deliverygoodsid": {
  14021. "description": "现货商品id",
  14022. "type": "integer"
  14023. },
  14024. "deliverygoodsname": {
  14025. "description": "现货商品名称",
  14026. "type": "string"
  14027. },
  14028. "enumdicname": {
  14029. "description": "现货商品单位名称",
  14030. "type": "string"
  14031. },
  14032. "gbenumdicname": {
  14033. "description": "品类单位名称",
  14034. "type": "string"
  14035. },
  14036. "gmunitid": {
  14037. "description": "品类单位id",
  14038. "type": "integer"
  14039. },
  14040. "logid": {
  14041. "description": "日志id",
  14042. "type": "integer"
  14043. },
  14044. "operateid": {
  14045. "description": "最后操作人",
  14046. "type": "integer"
  14047. },
  14048. "operatesrc": {
  14049. "description": "最后操作来源 - 1:管理端 2:终端",
  14050. "type": "integer"
  14051. },
  14052. "operatetime": {
  14053. "description": "最后操作时间",
  14054. "type": "string"
  14055. },
  14056. "operatorname": {
  14057. "description": "操作人名称",
  14058. "type": "string"
  14059. },
  14060. "spotgoodsbrandid": {
  14061. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14062. "type": "integer"
  14063. },
  14064. "spotgoodsprice": {
  14065. "description": "现货价格",
  14066. "type": "number"
  14067. },
  14068. "tradedate": {
  14069. "description": "交易日(yyyyMMdd)",
  14070. "type": "string"
  14071. },
  14072. "unitid": {
  14073. "description": "现货商品单位id",
  14074. "type": "integer"
  14075. },
  14076. "wrstandardcode": {
  14077. "description": "品类代码",
  14078. "type": "string"
  14079. },
  14080. "wrstandardid": {
  14081. "description": "现货品类ID(通用则为0)",
  14082. "type": "integer"
  14083. },
  14084. "wrstandardname": {
  14085. "description": "品类名称",
  14086. "type": "string"
  14087. }
  14088. }
  14089. },
  14090. "models.Ermcp3Wrstandard": {
  14091. "type": "object",
  14092. "properties": {
  14093. "areauserid": {
  14094. "description": "所属机构",
  14095. "type": "integer"
  14096. },
  14097. "convertfactor": {
  14098. "description": "标仓系数",
  14099. "type": "number"
  14100. },
  14101. "createtime": {
  14102. "description": "创建时间",
  14103. "type": "string"
  14104. },
  14105. "creatorid": {
  14106. "description": "创建人",
  14107. "type": "integer"
  14108. },
  14109. "deliverygoodsid": {
  14110. "description": "现货品种ID",
  14111. "type": "integer"
  14112. },
  14113. "enumdicname": {
  14114. "description": "品类单位名称",
  14115. "type": "string"
  14116. },
  14117. "isvalid": {
  14118. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14119. "type": "integer"
  14120. },
  14121. "minivalue": {
  14122. "description": "最小变动值",
  14123. "type": "integer"
  14124. },
  14125. "minivaluedp": {
  14126. "description": "最小变动值小数位",
  14127. "type": "integer"
  14128. },
  14129. "realminivalue": {
  14130. "description": "实际最小变动值",
  14131. "type": "integer"
  14132. },
  14133. "realminivaluedp": {
  14134. "description": "实际最小变动值小数位",
  14135. "type": "integer"
  14136. },
  14137. "remark": {
  14138. "description": "备注",
  14139. "type": "string"
  14140. },
  14141. "unitid": {
  14142. "description": "品类单位ID",
  14143. "type": "integer"
  14144. },
  14145. "updatetime": {
  14146. "description": "更新时间",
  14147. "type": "string"
  14148. },
  14149. "wrstandardcode": {
  14150. "description": "品类代码",
  14151. "type": "string"
  14152. },
  14153. "wrstandardid": {
  14154. "description": "品类ID(SEQ_WRSTANDARD)",
  14155. "type": "integer"
  14156. },
  14157. "wrstandardname": {
  14158. "description": "品类名称",
  14159. "type": "string"
  14160. }
  14161. }
  14162. },
  14163. "models.ErmcpAreaSpotDetailModel": {
  14164. "type": "object",
  14165. "properties": {
  14166. "contracttype": {
  14167. "description": "合同类型 1-采购 -1-销售",
  14168. "type": "integer"
  14169. },
  14170. "createtime": {
  14171. "description": "创建时间",
  14172. "type": "string"
  14173. },
  14174. "enumdicname": {
  14175. "description": "现货商品单位名称",
  14176. "type": "string"
  14177. },
  14178. "logtype": {
  14179. "description": "记录类型 1-套保 2-现货合同",
  14180. "type": "integer"
  14181. },
  14182. "qty": {
  14183. "description": "数量",
  14184. "type": "number"
  14185. },
  14186. "recordname": {
  14187. "description": "类型名称",
  14188. "type": "string"
  14189. },
  14190. "relatedid": {
  14191. "description": "套保计划ID/现货合同ID",
  14192. "type": "string"
  14193. },
  14194. "relatedno": {
  14195. "description": "编号",
  14196. "type": "string"
  14197. },
  14198. "strtime": {
  14199. "description": "时间",
  14200. "type": "string"
  14201. },
  14202. "wrstandardcode": {
  14203. "description": "现货商品代码",
  14204. "type": "string"
  14205. },
  14206. "wrstandardname": {
  14207. "description": "现货商品名称",
  14208. "type": "string"
  14209. }
  14210. }
  14211. },
  14212. "models.ErmcpAvalidGoodsGroupModel": {
  14213. "type": "object",
  14214. "properties": {
  14215. "goodsgroupid": {
  14216. "description": "期货品种id",
  14217. "type": "integer"
  14218. },
  14219. "goodsgroupname": {
  14220. "description": "期货品种名称",
  14221. "type": "string"
  14222. },
  14223. "goodunitid": {
  14224. "description": "品种单位id",
  14225. "type": "integer"
  14226. },
  14227. "goodunitname": {
  14228. "description": "品种单位名称",
  14229. "type": "string"
  14230. },
  14231. "outergroupcode": {
  14232. "description": "期货品种代码",
  14233. "type": "string"
  14234. }
  14235. }
  14236. },
  14237. "models.ErmcpBizGroupEx": {
  14238. "type": "object",
  14239. "properties": {
  14240. "acclist": {
  14241. "description": "账号列表",
  14242. "type": "array",
  14243. "items": {
  14244. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  14245. }
  14246. },
  14247. "bizgroupid": {
  14248. "description": "业务分组id",
  14249. "type": "integer"
  14250. },
  14251. "biztype": {
  14252. "description": "业务类型 1-套保 2-套利",
  14253. "type": "integer"
  14254. },
  14255. "wrlist": {
  14256. "description": "现货商品表",
  14257. "type": "array",
  14258. "items": {
  14259. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  14260. }
  14261. }
  14262. }
  14263. },
  14264. "models.ErmcpBizGroupSpotGoods": {
  14265. "type": "object",
  14266. "properties": {
  14267. "areauserid": {
  14268. "description": "所属机构id",
  14269. "type": "integer"
  14270. },
  14271. "bizgroupid": {
  14272. "description": "分组id",
  14273. "type": "integer"
  14274. },
  14275. "biztype": {
  14276. "description": "业务类型 1-套保 2-套利",
  14277. "type": "integer"
  14278. },
  14279. "deliverygoodscode": {
  14280. "description": "现货商品代码",
  14281. "type": "string"
  14282. },
  14283. "deliverygoodsid": {
  14284. "description": "现货商品id",
  14285. "type": "integer"
  14286. },
  14287. "deliverygoodsname": {
  14288. "description": "现货商品名称",
  14289. "type": "string"
  14290. },
  14291. "unitid": {
  14292. "description": "现货商品单位id",
  14293. "type": "integer"
  14294. }
  14295. }
  14296. },
  14297. "models.ErmcpBizGroupTaAccount": {
  14298. "type": "object",
  14299. "properties": {
  14300. "accountid": {
  14301. "description": "账号id",
  14302. "type": "integer"
  14303. },
  14304. "accountname": {
  14305. "description": "账号名称",
  14306. "type": "string"
  14307. },
  14308. "areauserid": {
  14309. "description": "所属机构id",
  14310. "type": "integer"
  14311. },
  14312. "bizgroupid": {
  14313. "description": "业务分组id",
  14314. "type": "integer"
  14315. },
  14316. "ismain": {
  14317. "description": "是否主账号 1-是 0-否",
  14318. "type": "integer"
  14319. }
  14320. }
  14321. },
  14322. "models.ErmcpDGFactoryItem": {
  14323. "type": "object",
  14324. "properties": {
  14325. "areauserid": {
  14326. "description": "用户id",
  14327. "type": "integer"
  14328. },
  14329. "deliverygoodsid": {
  14330. "description": "现货品种ID",
  14331. "type": "integer"
  14332. },
  14333. "dgfactoryitemid": {
  14334. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  14335. "type": "integer"
  14336. },
  14337. "dgfactoryitemtypeid": {
  14338. "description": "要素项类型",
  14339. "type": "integer"
  14340. },
  14341. "dgfactoryitemvalue": {
  14342. "description": "要素项值(类型为仓库时填写仓库名称)",
  14343. "type": "string"
  14344. },
  14345. "isvalid": {
  14346. "description": "是否有效 - 0:无效 1:有效",
  14347. "type": "integer"
  14348. },
  14349. "orderindex": {
  14350. "description": "顺序",
  14351. "type": "integer"
  14352. },
  14353. "warehouseid": {
  14354. "description": "仓库ID(类型为仓库时填写)",
  14355. "type": "integer"
  14356. }
  14357. }
  14358. },
  14359. "models.ErmcpDeliveryGoods": {
  14360. "type": "object",
  14361. "properties": {
  14362. "agreeunit": {
  14363. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  14364. "type": "integer"
  14365. },
  14366. "areauserid": {
  14367. "description": "所属机构",
  14368. "type": "integer"
  14369. },
  14370. "auditflag": {
  14371. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  14372. "type": "integer"
  14373. },
  14374. "categoryid": {
  14375. "description": "类别ID(SEQ_WRCATEGORY)",
  14376. "type": "integer"
  14377. },
  14378. "deliverygoodscode": {
  14379. "description": "现货品种代码",
  14380. "type": "string"
  14381. },
  14382. "deliverygoodsid": {
  14383. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  14384. "type": "integer"
  14385. },
  14386. "deliverygoodsname": {
  14387. "description": "现货品种名称",
  14388. "type": "string"
  14389. },
  14390. "deliverygoodstype": {
  14391. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  14392. "type": "integer"
  14393. },
  14394. "dgstatus": {
  14395. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  14396. "type": "integer"
  14397. },
  14398. "enumdicname": {
  14399. "description": "现货品种单位名称",
  14400. "type": "string"
  14401. },
  14402. "goodsunitid": {
  14403. "description": "现货品种单位ID",
  14404. "type": "integer"
  14405. },
  14406. "isvalid": {
  14407. "description": "是否有效 - 0:无效 1:有效",
  14408. "type": "integer"
  14409. },
  14410. "qtydecimalplace": {
  14411. "description": "成交量小数位",
  14412. "type": "integer"
  14413. },
  14414. "remark": {
  14415. "description": "备注",
  14416. "type": "string"
  14417. },
  14418. "standardqty": {
  14419. "description": "标准数量(库位数量) [标准品特有]",
  14420. "type": "integer"
  14421. },
  14422. "standardqtyrange": {
  14423. "description": "标准数量偏差范围 [标准品特有]",
  14424. "type": "integer"
  14425. }
  14426. }
  14427. },
  14428. "models.ErmcpDeliveryGoodsDetail2": {
  14429. "type": "object",
  14430. "properties": {
  14431. "convertratio": {
  14432. "description": "套保系数(折算系数)",
  14433. "type": "number"
  14434. },
  14435. "data": {
  14436. "description": "现货商品基本信息(交割品种)",
  14437. "type": "object",
  14438. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  14439. },
  14440. "gblist": {
  14441. "description": "品牌列表",
  14442. "type": "array",
  14443. "items": {
  14444. "$ref": "#/definitions/models.Ermcp3Brand"
  14445. }
  14446. },
  14447. "gmlist": {
  14448. "description": "品类列表(仓单标准)",
  14449. "type": "array",
  14450. "items": {
  14451. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  14452. }
  14453. }
  14454. }
  14455. },
  14456. "models.ErmcpDeliveryGoodsDetailEx": {
  14457. "type": "object",
  14458. "properties": {
  14459. "data": {
  14460. "description": "现货商品基本信息(交割品种)",
  14461. "type": "object",
  14462. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  14463. },
  14464. "gblist": {
  14465. "description": "品牌列表",
  14466. "type": "array",
  14467. "items": {
  14468. "$ref": "#/definitions/models.Ermcp3Brand"
  14469. }
  14470. },
  14471. "gmlist": {
  14472. "description": "品类列表(仓单标准)",
  14473. "type": "array",
  14474. "items": {
  14475. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  14476. }
  14477. },
  14478. "mgList": {
  14479. "description": "套保列表",
  14480. "type": "array",
  14481. "items": {
  14482. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  14483. }
  14484. }
  14485. }
  14486. },
  14487. "models.ErmcpExposureDetailModel": {
  14488. "type": "object",
  14489. "properties": {
  14490. "areauserid": {
  14491. "description": "机构ID",
  14492. "type": "integer"
  14493. },
  14494. "changeQty": {
  14495. "description": "套保变动量",
  14496. "type": "number"
  14497. },
  14498. "contracttype": {
  14499. "description": "现货合同类型 - 1:采购 -1:销售",
  14500. "type": "integer"
  14501. },
  14502. "convertfactor": {
  14503. "description": "标仓系数",
  14504. "type": "number"
  14505. },
  14506. "convertratio": {
  14507. "description": "套保系数",
  14508. "type": "number"
  14509. },
  14510. "createtime": {
  14511. "description": "时间",
  14512. "type": "string"
  14513. },
  14514. "enumdicname": {
  14515. "description": "现货商品单位名称",
  14516. "type": "string"
  14517. },
  14518. "logtype": {
  14519. "description": "类型 - 1:套保计划 2:现货合同",
  14520. "type": "integer"
  14521. },
  14522. "middlegoodsId": {
  14523. "description": "套保商品id",
  14524. "type": "integer"
  14525. },
  14526. "middlegoodscode": {
  14527. "description": "套保商品代码",
  14528. "type": "string"
  14529. },
  14530. "middlegoodsname": {
  14531. "description": "套保商品名称",
  14532. "type": "string"
  14533. },
  14534. "qty": {
  14535. "description": "数量",
  14536. "type": "number"
  14537. },
  14538. "relateNo": {
  14539. "description": "现货合同/套保计划编号",
  14540. "type": "string"
  14541. },
  14542. "wrstandardcode": {
  14543. "description": "现货商品代码",
  14544. "type": "string"
  14545. },
  14546. "wrstandardid": {
  14547. "description": "现货商品ID",
  14548. "type": "integer"
  14549. },
  14550. "wrstandardname": {
  14551. "description": "现货商品名称",
  14552. "type": "string"
  14553. }
  14554. }
  14555. },
  14556. "models.ErmcpExposurePostion": {
  14557. "type": "object",
  14558. "properties": {
  14559. "agreeunit": {
  14560. "description": "合约单位",
  14561. "type": "string"
  14562. },
  14563. "areauserid": {
  14564. "description": "所属机构id",
  14565. "type": "integer"
  14566. },
  14567. "convertratio": {
  14568. "description": "期货品种系数(折算系数)",
  14569. "type": "number"
  14570. },
  14571. "curqty": {
  14572. "description": "当前持仓",
  14573. "type": "integer"
  14574. },
  14575. "diffhedgeqty": {
  14576. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  14577. "type": "number"
  14578. },
  14579. "diffqty": {
  14580. "description": "持仓变动量=当前持仓-昨日持仓",
  14581. "type": "integer"
  14582. },
  14583. "goodscode": {
  14584. "description": "商品代码",
  14585. "type": "string"
  14586. },
  14587. "goodsid": {
  14588. "description": "商品id",
  14589. "type": "integer"
  14590. },
  14591. "goodsname": {
  14592. "description": "商品名称",
  14593. "type": "string"
  14594. },
  14595. "middlegoodsid": {
  14596. "description": "套保商品id",
  14597. "type": "integer"
  14598. },
  14599. "ydqty": {
  14600. "description": "昨日持仓",
  14601. "type": "integer"
  14602. }
  14603. }
  14604. },
  14605. "models.ErmcpFuturesCompany": {
  14606. "type": "object",
  14607. "properties": {
  14608. "brokerid": {
  14609. "description": "经纪公司代码",
  14610. "type": "string"
  14611. },
  14612. "channeladdress": {
  14613. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  14614. "type": "string"
  14615. },
  14616. "channelid": {
  14617. "description": "对冲渠道ID",
  14618. "type": "string"
  14619. },
  14620. "createtime": {
  14621. "description": "创建时间",
  14622. "type": "string"
  14623. },
  14624. "creatorid": {
  14625. "description": "创建人",
  14626. "type": "string"
  14627. },
  14628. "fcid": {
  14629. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  14630. "type": "integer"
  14631. },
  14632. "fcname": {
  14633. "description": "期货公司名称",
  14634. "type": "string"
  14635. },
  14636. "isvalid": {
  14637. "description": "是否有效 - 0:无效 1:有效",
  14638. "type": "integer"
  14639. },
  14640. "mhpaddress": {
  14641. "description": "MHP服务地址(IP:Port)",
  14642. "type": "string"
  14643. },
  14644. "riskrulegroupid": {
  14645. "description": "风控规则组ID",
  14646. "type": "string"
  14647. },
  14648. "tradefeetmpid": {
  14649. "description": "手续费模板ID[TradeConfigTmpType为2]",
  14650. "type": "string"
  14651. },
  14652. "trademargintmpid": {
  14653. "description": "保证金模板ID [TradeConfigTmpType为1]",
  14654. "type": "string"
  14655. },
  14656. "traderatetmpid": {
  14657. "description": "汇率模板ID[TradeConfigTmpType为3]",
  14658. "type": "string"
  14659. },
  14660. "updatetime": {
  14661. "description": "更新时间",
  14662. "type": "string"
  14663. },
  14664. "updatorid": {
  14665. "description": "更新人",
  14666. "type": "string"
  14667. }
  14668. }
  14669. },
  14670. "models.ErmcpGGConvertCfg": {
  14671. "type": "object",
  14672. "properties": {
  14673. "convertratio": {
  14674. "description": "折算系数",
  14675. "type": "number"
  14676. },
  14677. "destgoodsgroupid": {
  14678. "description": "目标品种ID",
  14679. "type": "integer"
  14680. },
  14681. "dstcode": {
  14682. "description": "目录品种代码",
  14683. "type": "string"
  14684. },
  14685. "dstexchangecode": {
  14686. "description": "目标期货交易所",
  14687. "type": "string"
  14688. },
  14689. "dstname": {
  14690. "description": "目标品种名称",
  14691. "type": "string"
  14692. },
  14693. "dstunitid": {
  14694. "description": "目标品种单位ID",
  14695. "type": "integer"
  14696. },
  14697. "dstunitidname": {
  14698. "description": "目标品种单位名称",
  14699. "type": "string"
  14700. },
  14701. "modifytime": {
  14702. "description": "修改时间",
  14703. "type": "string"
  14704. },
  14705. "srccode": {
  14706. "description": "源品种代码",
  14707. "type": "string"
  14708. },
  14709. "srcexchangecode": {
  14710. "description": "源期货交易所",
  14711. "type": "string"
  14712. },
  14713. "srcgoodsgroupid": {
  14714. "description": "源品种ID",
  14715. "type": "integer"
  14716. },
  14717. "srcname": {
  14718. "description": "源品种名称",
  14719. "type": "string"
  14720. },
  14721. "srcunitid": {
  14722. "description": "源品种单位ID",
  14723. "type": "integer"
  14724. },
  14725. "srcunitidname": {
  14726. "description": "源品种单位名称",
  14727. "type": "string"
  14728. }
  14729. }
  14730. },
  14731. "models.ErmcpGoodsBrand": {
  14732. "type": "object",
  14733. "properties": {
  14734. "areauserid": {
  14735. "description": "所属机构",
  14736. "type": "integer"
  14737. },
  14738. "brandid": {
  14739. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  14740. "type": "integer"
  14741. },
  14742. "brandname": {
  14743. "description": "品牌名称",
  14744. "type": "string"
  14745. },
  14746. "createtime": {
  14747. "description": "创建时间",
  14748. "type": "string"
  14749. },
  14750. "creatorid": {
  14751. "description": "创建人",
  14752. "type": "integer"
  14753. },
  14754. "creatorsrc": {
  14755. "description": "创建人来源 - 1:管理端 2:终端",
  14756. "type": "integer"
  14757. },
  14758. "deliverygoodsid": {
  14759. "description": "现货品种ID",
  14760. "type": "integer"
  14761. },
  14762. "isvalid": {
  14763. "description": "是否有效 - 0:无效 1:有效",
  14764. "type": "integer"
  14765. },
  14766. "updatetime": {
  14767. "description": "更新时间",
  14768. "type": "string"
  14769. },
  14770. "updatorid": {
  14771. "description": "更新人",
  14772. "type": "integer"
  14773. },
  14774. "updatorsrc": {
  14775. "description": "更新人来源 - 1:管理端 2:终端",
  14776. "type": "integer"
  14777. },
  14778. "wrstandardid": {
  14779. "description": "现货商品ID",
  14780. "type": "integer"
  14781. }
  14782. }
  14783. },
  14784. "models.ErmcpGoodsModel": {
  14785. "type": "object",
  14786. "properties": {
  14787. "areauserid": {
  14788. "description": "所属机构",
  14789. "type": "integer"
  14790. },
  14791. "convertfactor": {
  14792. "description": "标仓系数",
  14793. "type": "number"
  14794. },
  14795. "createtime": {
  14796. "description": "创建时间",
  14797. "type": "string"
  14798. },
  14799. "creatorid": {
  14800. "description": "创建人",
  14801. "type": "integer"
  14802. },
  14803. "creatorsrc": {
  14804. "description": "创建人来源 - 1:管理端 2:终端",
  14805. "type": "integer"
  14806. },
  14807. "deliverygoodsid": {
  14808. "description": "现货品种ID",
  14809. "type": "integer"
  14810. },
  14811. "isvalid": {
  14812. "description": "是否有效 - 0:无效 1:有效",
  14813. "type": "integer"
  14814. },
  14815. "modelid": {
  14816. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  14817. "type": "integer"
  14818. },
  14819. "modelname": {
  14820. "description": "型号名称",
  14821. "type": "string"
  14822. },
  14823. "updatetime": {
  14824. "description": "更新时间",
  14825. "type": "string"
  14826. },
  14827. "updatorid": {
  14828. "description": "更新人",
  14829. "type": "integer"
  14830. },
  14831. "updatorsrc": {
  14832. "description": "更新人来源 - 1:管理端 2:终端",
  14833. "type": "integer"
  14834. },
  14835. "wrstandardid": {
  14836. "description": "现货商品ID",
  14837. "type": "integer"
  14838. }
  14839. }
  14840. },
  14841. "models.ErmcpHedgePosition": {
  14842. "type": "object",
  14843. "properties": {
  14844. "accountid": {
  14845. "description": "资金账号[外部母账户]",
  14846. "type": "integer"
  14847. },
  14848. "curbuyposition": {
  14849. "description": "期末买头寸",
  14850. "type": "integer"
  14851. },
  14852. "cursellposition": {
  14853. "description": "期末卖头寸",
  14854. "type": "integer"
  14855. },
  14856. "curtdbuyposition": {
  14857. "description": "期末今日买头寸",
  14858. "type": "integer"
  14859. },
  14860. "curtdsellposition": {
  14861. "description": "期末今日卖头寸",
  14862. "type": "integer"
  14863. },
  14864. "curydbuyposition": {
  14865. "description": "期末上日买头寸",
  14866. "type": "integer"
  14867. },
  14868. "curydsellposition": {
  14869. "description": "期末上日卖头寸",
  14870. "type": "integer"
  14871. },
  14872. "decreaseqty": {
  14873. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14874. "type": "integer"
  14875. },
  14876. "fretdbuyposition": {
  14877. "description": "冻结今日买头寸",
  14878. "type": "integer"
  14879. },
  14880. "fretdsellposition": {
  14881. "description": "冻结今日卖头寸",
  14882. "type": "integer"
  14883. },
  14884. "freydbuyposition": {
  14885. "description": "冻结上日买头寸",
  14886. "type": "integer"
  14887. },
  14888. "freydsellposition": {
  14889. "description": "冻结上日卖头寸",
  14890. "type": "integer"
  14891. },
  14892. "goodscode": {
  14893. "description": "商品代码",
  14894. "type": "string"
  14895. },
  14896. "goodsid": {
  14897. "description": "商品id",
  14898. "type": "integer"
  14899. },
  14900. "goodsname": {
  14901. "description": "商品名称",
  14902. "type": "string"
  14903. },
  14904. "hedgeaccountcode": {
  14905. "description": "对冲账号",
  14906. "type": "string"
  14907. },
  14908. "hedgegoodsid": {
  14909. "description": "对冲合约ID",
  14910. "type": "integer"
  14911. },
  14912. "increaseqty": {
  14913. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14914. "type": "integer"
  14915. },
  14916. "marketid": {
  14917. "description": "市场ID",
  14918. "type": "integer"
  14919. },
  14920. "relateduserid": {
  14921. "description": "关联用户id",
  14922. "type": "integer"
  14923. },
  14924. "totalcurqty": {
  14925. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14926. "type": "integer"
  14927. },
  14928. "totalydqty": {
  14929. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14930. "type": "integer"
  14931. },
  14932. "tradedate": {
  14933. "description": "交易日(yyyyMMdd)",
  14934. "type": "string"
  14935. },
  14936. "ydbuyposition": {
  14937. "description": "期初买头寸",
  14938. "type": "integer"
  14939. },
  14940. "ydsellposition": {
  14941. "description": "期初卖头寸",
  14942. "type": "integer"
  14943. }
  14944. }
  14945. },
  14946. "models.ErmcpHedgePositionDetail": {
  14947. "type": "object",
  14948. "properties": {
  14949. "buyorsell": {
  14950. "description": "买卖方向 0-买 1-卖",
  14951. "type": "integer"
  14952. },
  14953. "channelbuildtype": {
  14954. "description": "开平方向 1-建仓 2-平仓",
  14955. "type": "integer"
  14956. },
  14957. "goodscode": {
  14958. "description": "商品代码",
  14959. "type": "string"
  14960. },
  14961. "goodsname": {
  14962. "description": "商品名称",
  14963. "type": "string"
  14964. },
  14965. "hedgegoodsid": {
  14966. "description": "商品id",
  14967. "type": "integer"
  14968. },
  14969. "tradeqty": {
  14970. "description": "数量(成交数量)",
  14971. "type": "integer"
  14972. },
  14973. "tradetime": {
  14974. "description": "时间(成交时间)",
  14975. "type": "string"
  14976. }
  14977. }
  14978. },
  14979. "models.ErmcpHisExposure": {
  14980. "type": "object",
  14981. "properties": {
  14982. "needhedgeexposoure": {
  14983. "description": "应套保敞口",
  14984. "type": "number"
  14985. },
  14986. "reckondate": {
  14987. "description": "日照时期(yyyyMMdd)",
  14988. "type": "string"
  14989. },
  14990. "totalexposure": {
  14991. "description": "总敞口",
  14992. "type": "number"
  14993. }
  14994. }
  14995. },
  14996. "models.ErmcpHisExposureS": {
  14997. "type": "object",
  14998. "properties": {
  14999. "data": {
  15000. "description": "历史敞口",
  15001. "type": "array",
  15002. "items": {
  15003. "$ref": "#/definitions/models.ErmcpHisExposure"
  15004. }
  15005. },
  15006. "enumdicname": {
  15007. "description": "单位名称",
  15008. "type": "string"
  15009. },
  15010. "middlegoodscode": {
  15011. "description": "套保品种代码",
  15012. "type": "string"
  15013. },
  15014. "middlegoodsid": {
  15015. "description": "套保品种ID",
  15016. "type": "integer"
  15017. },
  15018. "middlegoodsname": {
  15019. "description": "套保品种名称",
  15020. "type": "string"
  15021. }
  15022. }
  15023. },
  15024. "models.ErmcpLoginTaAccount": {
  15025. "type": "object",
  15026. "properties": {
  15027. "accountid": {
  15028. "description": "账号id",
  15029. "type": "integer"
  15030. },
  15031. "accountname": {
  15032. "description": "账号名称",
  15033. "type": "string"
  15034. }
  15035. }
  15036. },
  15037. "models.ErmcpLoginUser": {
  15038. "type": "object",
  15039. "properties": {
  15040. "acclist": {
  15041. "description": "关联资金账号",
  15042. "type": "array",
  15043. "items": {
  15044. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  15045. }
  15046. },
  15047. "accountname": {
  15048. "description": "用户名称",
  15049. "type": "string"
  15050. },
  15051. "clientroleid": {
  15052. "description": "角色id(usertype=2)",
  15053. "type": "integer"
  15054. },
  15055. "createtime": {
  15056. "description": "创建时间",
  15057. "type": "string"
  15058. },
  15059. "logincode": {
  15060. "description": "登录代码",
  15061. "type": "string"
  15062. },
  15063. "loginid": {
  15064. "description": "登录id(LOGINID)",
  15065. "type": "integer"
  15066. },
  15067. "loginname": {
  15068. "description": "登录名称(loginaccount表中的accountname字段)",
  15069. "type": "string"
  15070. },
  15071. "loginstatus": {
  15072. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  15073. "type": "integer"
  15074. },
  15075. "memberuserid": {
  15076. "description": "所属会员id",
  15077. "type": "integer"
  15078. },
  15079. "mobile": {
  15080. "description": "手机号",
  15081. "type": "string"
  15082. },
  15083. "modifytime": {
  15084. "description": "修改时间",
  15085. "type": "string"
  15086. },
  15087. "password": {
  15088. "description": "密码(不可解密)",
  15089. "type": "string"
  15090. },
  15091. "rolename": {
  15092. "description": "角色名称",
  15093. "type": "string"
  15094. },
  15095. "rolestatus": {
  15096. "description": "角色状态 1-启用 2-停用",
  15097. "type": "integer"
  15098. },
  15099. "roletype": {
  15100. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  15101. "type": "string"
  15102. },
  15103. "userid": {
  15104. "description": "用户id",
  15105. "type": "integer"
  15106. },
  15107. "usertype": {
  15108. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  15109. "type": "integer"
  15110. }
  15111. }
  15112. },
  15113. "models.ErmcpLoginUserEx": {
  15114. "type": "object",
  15115. "properties": {
  15116. "accountstatus": {
  15117. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  15118. "type": "integer"
  15119. },
  15120. "mobile": {
  15121. "description": "手机号",
  15122. "type": "string"
  15123. },
  15124. "querytype": {
  15125. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  15126. "type": "integer"
  15127. },
  15128. "roleid": {
  15129. "description": "角色id(交易账户-\u003e用户id)",
  15130. "type": "integer"
  15131. },
  15132. "rolename": {
  15133. "description": "角色名称(交易账户-\u003e用户名称)",
  15134. "type": "string"
  15135. },
  15136. "userlist": {
  15137. "description": "用户列表",
  15138. "type": "array",
  15139. "items": {
  15140. "$ref": "#/definitions/models.ErmcpLoginUser"
  15141. }
  15142. },
  15143. "usertype": {
  15144. "description": "用户类型 2-机构 7-企业成员(云平台)",
  15145. "type": "integer"
  15146. }
  15147. }
  15148. },
  15149. "models.ErmcpMiddleGoodsChangeLog": {
  15150. "type": "object",
  15151. "properties": {
  15152. "aftervalue": {
  15153. "description": "变更后",
  15154. "type": "number"
  15155. },
  15156. "applyid": {
  15157. "description": "操作人",
  15158. "type": "integer"
  15159. },
  15160. "applyname": {
  15161. "description": "操作人名称",
  15162. "type": "string"
  15163. },
  15164. "applysrc": {
  15165. "description": "操作来源 - 1:管理端 2:终端",
  15166. "type": "integer"
  15167. },
  15168. "beforevalue": {
  15169. "description": "变更前",
  15170. "type": "number"
  15171. },
  15172. "changelogtype": {
  15173. "description": "变更流水类型 - 1:套保比率变更",
  15174. "type": "integer"
  15175. },
  15176. "handlestatus": {
  15177. "description": "处理状态",
  15178. "type": "integer"
  15179. },
  15180. "logdatetime": {
  15181. "description": "流水日期",
  15182. "type": "string"
  15183. },
  15184. "logid": {
  15185. "description": "流水ID",
  15186. "type": "integer"
  15187. },
  15188. "logremark": {
  15189. "description": "流水备注",
  15190. "type": "string"
  15191. },
  15192. "middlegoodsid": {
  15193. "description": "套保品种ID",
  15194. "type": "integer"
  15195. },
  15196. "tradedate": {
  15197. "description": "交易日(yyyyMMdd)",
  15198. "type": "string"
  15199. },
  15200. "updatetime": {
  15201. "description": "更新时间",
  15202. "type": "string"
  15203. }
  15204. }
  15205. },
  15206. "models.ErmcpMiddleGoodsDetail": {
  15207. "type": "object",
  15208. "properties": {
  15209. "cvList": {
  15210. "description": "期货品种折算列表",
  15211. "type": "array",
  15212. "items": {
  15213. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15214. }
  15215. },
  15216. "mg": {
  15217. "description": "套保品种基本信息",
  15218. "type": "object",
  15219. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15220. },
  15221. "wrcList": {
  15222. "description": "现货品种列表(现货商品折算配置)",
  15223. "type": "array",
  15224. "items": {
  15225. "$ref": "#/definitions/models.WRSConverTDetail"
  15226. }
  15227. }
  15228. }
  15229. },
  15230. "models.ErmcpMiddleGoodsModel": {
  15231. "type": "object",
  15232. "properties": {
  15233. "areauserid": {
  15234. "description": "机构用户ID",
  15235. "type": "integer"
  15236. },
  15237. "createtime": {
  15238. "description": "修改时间",
  15239. "type": "string"
  15240. },
  15241. "enumdicname": {
  15242. "description": "单位名称",
  15243. "type": "string"
  15244. },
  15245. "evaluateratio": {
  15246. "description": "估价系数",
  15247. "type": "number"
  15248. },
  15249. "goodsgroupid": {
  15250. "description": "关联期货品种ID",
  15251. "type": "integer"
  15252. },
  15253. "goodsunitid": {
  15254. "description": "单位ID",
  15255. "type": "integer"
  15256. },
  15257. "isvalid": {
  15258. "description": "状态 0-无效(停用) 1-有效(正常)",
  15259. "type": "integer"
  15260. },
  15261. "middlegoodscode": {
  15262. "description": "套保品种代码",
  15263. "type": "string"
  15264. },
  15265. "middlegoodsid": {
  15266. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15267. "type": "integer"
  15268. },
  15269. "middlegoodsname": {
  15270. "description": "套保品种名称",
  15271. "type": "string"
  15272. },
  15273. "modifytime": {
  15274. "description": "修改时间",
  15275. "type": "string"
  15276. },
  15277. "needhedgeratio": {
  15278. "description": "套保比率",
  15279. "type": "number"
  15280. },
  15281. "qtydecimalplace": {
  15282. "description": "数量小数位",
  15283. "type": "integer"
  15284. },
  15285. "relatedgoodsid": {
  15286. "description": "关联交易商品ID",
  15287. "type": "integer"
  15288. },
  15289. "relatedgoodstype": {
  15290. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15291. "type": "integer"
  15292. },
  15293. "remark": {
  15294. "description": "备注",
  15295. "type": "string"
  15296. }
  15297. }
  15298. },
  15299. "models.ErmcpOPLogModel": {
  15300. "type": "object",
  15301. "properties": {
  15302. "aftervalue": {
  15303. "description": "变更后",
  15304. "type": "number"
  15305. },
  15306. "applyid": {
  15307. "description": "操作人ID",
  15308. "type": "string"
  15309. },
  15310. "applyname": {
  15311. "description": "操作人名称",
  15312. "type": "string"
  15313. },
  15314. "beforevalue": {
  15315. "description": "变更前",
  15316. "type": "number"
  15317. },
  15318. "biztype": {
  15319. "description": "业务类型 - 1:套保计划 2:现货合同",
  15320. "type": "integer"
  15321. },
  15322. "contracttype": {
  15323. "description": "现货合同类型 - 1:采购 -1:销售",
  15324. "type": "integer"
  15325. },
  15326. "logvalue": {
  15327. "description": "数值",
  15328. "type": "number"
  15329. },
  15330. "operatelogtype": {
  15331. "description": "操作流水类型",
  15332. "type": "integer"
  15333. },
  15334. "operatelogtypedesc": {
  15335. "description": "操作流水类型名称",
  15336. "type": "string"
  15337. },
  15338. "relatedid": {
  15339. "description": "现货合同ID\\套保计划",
  15340. "type": "string"
  15341. },
  15342. "updatetime": {
  15343. "description": "更新时间",
  15344. "type": "string"
  15345. }
  15346. }
  15347. },
  15348. "models.ErmcpPendingAudit": {
  15349. "type": "object",
  15350. "properties": {
  15351. "areastockqty": {
  15352. "description": "待审核数量: 库存申请",
  15353. "type": "integer"
  15354. },
  15355. "businessdjqty": {
  15356. "description": "待审核数量: 点价",
  15357. "type": "integer"
  15358. },
  15359. "businessfpqty": {
  15360. "description": "待审核数量: 发票",
  15361. "type": "integer"
  15362. },
  15363. "businessjsqty": {
  15364. "description": "待审核数量: 结算",
  15365. "type": "integer"
  15366. },
  15367. "businesskxqty": {
  15368. "description": "待审核数量: 款项",
  15369. "type": "integer"
  15370. },
  15371. "hedgeplanqty": {
  15372. "description": "待审核数量: 套保计划",
  15373. "type": "integer"
  15374. },
  15375. "spotcontractqty": {
  15376. "description": "待审核数量: 现货合同",
  15377. "type": "integer"
  15378. },
  15379. "userqty": {
  15380. "description": "待审核数量: 用户",
  15381. "type": "integer"
  15382. }
  15383. }
  15384. },
  15385. "models.ErmcpRealExposureModel": {
  15386. "type": "object",
  15387. "properties": {
  15388. "AreaUserID": {
  15389. "description": "所属机构",
  15390. "type": "integer"
  15391. },
  15392. "BuyFutureQty": {
  15393. "description": "买入期货数量",
  15394. "type": "number"
  15395. },
  15396. "BuyPlanQty": {
  15397. "description": "采购计划数量",
  15398. "type": "number"
  15399. },
  15400. "BuyPricedQty": {
  15401. "description": "采购合同已定价数量",
  15402. "type": "number"
  15403. },
  15404. "MiddleGoodsCode": {
  15405. "description": "套保品种代码",
  15406. "type": "string"
  15407. },
  15408. "MiddleGoodsHedgeRatio": {
  15409. "description": "应套保比例",
  15410. "type": "number"
  15411. },
  15412. "MiddleGoodsID": {
  15413. "description": "套保品种",
  15414. "type": "integer"
  15415. },
  15416. "MiddleGoodsName": {
  15417. "description": "套保品种名称",
  15418. "type": "string"
  15419. },
  15420. "NeedHedgeExposoure": {
  15421. "description": "应套保敞口",
  15422. "type": "number"
  15423. },
  15424. "NeedHedgeRatio": {
  15425. "description": "应套保敞口比例",
  15426. "type": "number"
  15427. },
  15428. "OriBuyFutureQty": {
  15429. "description": "期初买入期货数量",
  15430. "type": "number"
  15431. },
  15432. "OriBuyPlanQty": {
  15433. "description": "期初采购计划数量",
  15434. "type": "number"
  15435. },
  15436. "OriBuyPricedQty": {
  15437. "description": "期初采购合同已定价数量",
  15438. "type": "number"
  15439. },
  15440. "OriSellFutureQty": {
  15441. "description": "期初卖出期货数量",
  15442. "type": "number"
  15443. },
  15444. "OriSellPlanQty": {
  15445. "description": "期初销售计划数量",
  15446. "type": "number"
  15447. },
  15448. "OriSellPricedQty": {
  15449. "description": "期初销售合同已定价数量",
  15450. "type": "number"
  15451. },
  15452. "SellFutureQty": {
  15453. "description": "卖出期货数量",
  15454. "type": "number"
  15455. },
  15456. "SellPlanQty": {
  15457. "description": "销售计划数量",
  15458. "type": "number"
  15459. },
  15460. "SellPricedQty": {
  15461. "description": "销售合同已定价数量",
  15462. "type": "number"
  15463. },
  15464. "TotalExposure": {
  15465. "description": "总敞口",
  15466. "type": "number"
  15467. },
  15468. "TotalFutureQty": {
  15469. "description": "期货数量",
  15470. "type": "number"
  15471. },
  15472. "TotalHedgeRatio": {
  15473. "description": "敞口比例",
  15474. "type": "number"
  15475. },
  15476. "TotalNeedHedgeQty": {
  15477. "description": "期货应套保量",
  15478. "type": "number"
  15479. },
  15480. "TotalSpotQty": {
  15481. "description": "现货数量",
  15482. "type": "number"
  15483. },
  15484. "diffFutuQty": {
  15485. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  15486. "type": "number"
  15487. },
  15488. "diffSpotQty": {
  15489. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  15490. "type": "number"
  15491. },
  15492. "enumdicname": {
  15493. "description": "单位名称",
  15494. "type": "string"
  15495. },
  15496. "oriTotalFutuQty": {
  15497. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  15498. "type": "number"
  15499. },
  15500. "oriTotalSpotQty": {
  15501. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  15502. "type": "number"
  15503. }
  15504. }
  15505. },
  15506. "models.ErmcpRole": {
  15507. "type": "object",
  15508. "properties": {
  15509. "areauserid": {
  15510. "description": "所属机构",
  15511. "type": "integer"
  15512. },
  15513. "autoid": {
  15514. "description": "角色ID(自增ID)",
  15515. "type": "integer"
  15516. },
  15517. "modifierid": {
  15518. "description": "修改人(创建人)",
  15519. "type": "integer"
  15520. },
  15521. "modifiername": {
  15522. "description": "修改人名称",
  15523. "type": "string"
  15524. },
  15525. "modifytime": {
  15526. "description": "修改时间(创建时间)",
  15527. "type": "string"
  15528. },
  15529. "rolename": {
  15530. "description": "角色名称",
  15531. "type": "string"
  15532. },
  15533. "rolestatus": {
  15534. "description": "角色状态 - 1:启用 2:停用",
  15535. "type": "integer"
  15536. },
  15537. "roletype": {
  15538. "description": "角色类型 - 1- 管理端 2- 交易端",
  15539. "type": "integer"
  15540. }
  15541. }
  15542. },
  15543. "models.ErmcpRoleMenu": {
  15544. "type": "object",
  15545. "properties": {
  15546. "iconame": {
  15547. "description": "菜单图标",
  15548. "type": "string"
  15549. },
  15550. "ishadrole": {
  15551. "description": "是否有权限",
  15552. "type": "boolean"
  15553. },
  15554. "menutype": {
  15555. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  15556. "type": "integer"
  15557. },
  15558. "parentcode": {
  15559. "description": "上级资源代码",
  15560. "type": "string"
  15561. },
  15562. "remark": {
  15563. "description": "菜单备注",
  15564. "type": "string"
  15565. },
  15566. "resourcecode": {
  15567. "description": "菜单代码",
  15568. "type": "string"
  15569. },
  15570. "resourcelevel": {
  15571. "description": "级别",
  15572. "type": "integer"
  15573. },
  15574. "resourcename": {
  15575. "description": "菜单名称",
  15576. "type": "string"
  15577. },
  15578. "roleid": {
  15579. "description": "角色id",
  15580. "type": "integer"
  15581. },
  15582. "sort": {
  15583. "description": "排序",
  15584. "type": "integer"
  15585. },
  15586. "url": {
  15587. "description": "URL",
  15588. "type": "string"
  15589. },
  15590. "userid": {
  15591. "description": "用户id",
  15592. "type": "integer"
  15593. }
  15594. }
  15595. },
  15596. "models.ErmcpRoleMenuEx": {
  15597. "type": "object",
  15598. "properties": {
  15599. "menu": {
  15600. "description": "父级菜单",
  15601. "type": "object",
  15602. "$ref": "#/definitions/models.ErmcpRoleMenu"
  15603. },
  15604. "subMenu": {
  15605. "description": "子级菜单",
  15606. "type": "array",
  15607. "items": {
  15608. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  15609. }
  15610. }
  15611. }
  15612. },
  15613. "models.ErmcpTaAccount": {
  15614. "type": "object",
  15615. "properties": {
  15616. "accountid": {
  15617. "description": "账户id",
  15618. "type": "integer"
  15619. },
  15620. "accountname": {
  15621. "description": "账户名称",
  15622. "type": "string"
  15623. },
  15624. "currencyid": {
  15625. "description": "币种id",
  15626. "type": "integer"
  15627. },
  15628. "hedgeaccountcode": {
  15629. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  15630. "type": "string"
  15631. },
  15632. "ismain": {
  15633. "description": "是否主账户 0-否 1-是",
  15634. "type": "integer"
  15635. },
  15636. "parentaccountid": {
  15637. "description": "父账户id",
  15638. "type": "integer"
  15639. },
  15640. "relateduserid": {
  15641. "description": "关联userid",
  15642. "type": "integer"
  15643. },
  15644. "tradestatus": {
  15645. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15646. "type": "integer"
  15647. },
  15648. "userid": {
  15649. "description": "用户id",
  15650. "type": "integer"
  15651. }
  15652. }
  15653. },
  15654. "models.ErmcpTaAccountEx": {
  15655. "type": "object",
  15656. "properties": {
  15657. "mainAcc": {
  15658. "description": "主账号",
  15659. "type": "object",
  15660. "$ref": "#/definitions/models.ErmcpTaAccountM"
  15661. },
  15662. "subacclist": {
  15663. "description": "子账号列表",
  15664. "type": "array",
  15665. "items": {
  15666. "$ref": "#/definitions/models.ErmcpTaAccount"
  15667. }
  15668. }
  15669. }
  15670. },
  15671. "models.ErmcpTaAccountInfo": {
  15672. "type": "object",
  15673. "properties": {
  15674. "accountid": {
  15675. "description": "资金账户ID",
  15676. "type": "integer"
  15677. },
  15678. "accountname": {
  15679. "description": "账户名称",
  15680. "type": "string"
  15681. },
  15682. "balance": {
  15683. "description": "期初余额",
  15684. "type": "number"
  15685. },
  15686. "capitalbalance": {
  15687. "description": "本金余额[外部子账户实际出入金余额]",
  15688. "type": "number"
  15689. },
  15690. "closepl": {
  15691. "description": "今日平仓盈亏",
  15692. "type": "number"
  15693. },
  15694. "creditdecrease": {
  15695. "description": "今日授信减少",
  15696. "type": "number"
  15697. },
  15698. "creditincrease": {
  15699. "description": "今日授信增加",
  15700. "type": "number"
  15701. },
  15702. "curdebt": {
  15703. "description": "期末欠款",
  15704. "type": "number"
  15705. },
  15706. "currencyid": {
  15707. "description": "货币ID",
  15708. "type": "integer"
  15709. },
  15710. "currentbalance": {
  15711. "description": "期末余额",
  15712. "type": "number"
  15713. },
  15714. "freezecharge": {
  15715. "description": "手续费冻结",
  15716. "type": "number"
  15717. },
  15718. "freezemargin": {
  15719. "description": "冻结保证金",
  15720. "type": "number"
  15721. },
  15722. "fromaccountid": {
  15723. "description": "所属上级账户",
  15724. "type": "integer"
  15725. },
  15726. "inamount": {
  15727. "description": "今日入金金额(包括三方入金)",
  15728. "type": "number"
  15729. },
  15730. "ismain": {
  15731. "description": "是否母账号 0:不是母账户 1:是母账户",
  15732. "type": "integer"
  15733. },
  15734. "mortgagecredit": {
  15735. "description": "授信金额",
  15736. "type": "number"
  15737. },
  15738. "oridebt": {
  15739. "description": "期初欠款",
  15740. "type": "number"
  15741. },
  15742. "orifreezecharge": {
  15743. "description": "期初手续费冻结",
  15744. "type": "number"
  15745. },
  15746. "orifreezemargin": {
  15747. "description": "期初冻结保证金",
  15748. "type": "number"
  15749. },
  15750. "orimortgagecredit": {
  15751. "description": "期初授信金额",
  15752. "type": "number"
  15753. },
  15754. "oriothercredit": {
  15755. "description": "期初其它授信金额",
  15756. "type": "number"
  15757. },
  15758. "oriotherfreezemargin": {
  15759. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15760. "type": "number"
  15761. },
  15762. "orioutamountfreeze": {
  15763. "description": "期初出金冻结",
  15764. "type": "number"
  15765. },
  15766. "oriusedmargin": {
  15767. "description": "期初占用保证金",
  15768. "type": "number"
  15769. },
  15770. "othercredit": {
  15771. "description": "其它授信金额",
  15772. "type": "number"
  15773. },
  15774. "othercreditdecrease": {
  15775. "description": "今日其它授信减少",
  15776. "type": "number"
  15777. },
  15778. "othercreditincrease": {
  15779. "description": "今日其它授信增加",
  15780. "type": "number"
  15781. },
  15782. "otherfreezemargin": {
  15783. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15784. "type": "number"
  15785. },
  15786. "outamount": {
  15787. "description": "今日出金金额(包括三方出金)",
  15788. "type": "number"
  15789. },
  15790. "outamountfreeze": {
  15791. "description": "出金冻结",
  15792. "type": "number"
  15793. },
  15794. "outthreshold": {
  15795. "description": "出金阈值",
  15796. "type": "number"
  15797. },
  15798. "parentaccountid": {
  15799. "description": "所属根账号",
  15800. "type": "integer"
  15801. },
  15802. "paycharge": {
  15803. "description": "今日手续费支出",
  15804. "type": "number"
  15805. },
  15806. "relateduserid": {
  15807. "description": "关联用户",
  15808. "type": "integer"
  15809. },
  15810. "signstatus": {
  15811. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15812. "type": "integer"
  15813. },
  15814. "sublevelpath": {
  15815. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15816. "type": "string"
  15817. },
  15818. "taaccounttype": {
  15819. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15820. "type": "integer"
  15821. },
  15822. "thirdinamount": {
  15823. "description": "今日三方入金",
  15824. "type": "number"
  15825. },
  15826. "thirdoutamount": {
  15827. "description": "今日三方出金",
  15828. "type": "number"
  15829. },
  15830. "tradestatus": {
  15831. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15832. "type": "integer"
  15833. },
  15834. "transferamount": {
  15835. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15836. "type": "number"
  15837. },
  15838. "usedmargin": {
  15839. "description": "占用保证金",
  15840. "type": "number"
  15841. },
  15842. "userid": {
  15843. "description": "用户ID",
  15844. "type": "integer"
  15845. }
  15846. }
  15847. },
  15848. "models.ErmcpTaAccountM": {
  15849. "type": "object",
  15850. "properties": {
  15851. "accountid": {
  15852. "description": "账户id",
  15853. "type": "integer"
  15854. },
  15855. "accountname": {
  15856. "description": "账户名称",
  15857. "type": "string"
  15858. },
  15859. "currencyid": {
  15860. "description": "币种id",
  15861. "type": "integer"
  15862. },
  15863. "fcid": {
  15864. "description": "期货公司id",
  15865. "type": "integer"
  15866. },
  15867. "fcname": {
  15868. "description": "期货公司代码",
  15869. "type": "string"
  15870. },
  15871. "hedgeaccountcode": {
  15872. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  15873. "type": "string"
  15874. },
  15875. "ismain": {
  15876. "description": "是否主账户 0-否 1-是",
  15877. "type": "integer"
  15878. },
  15879. "parentaccountid": {
  15880. "description": "父账户id",
  15881. "type": "integer"
  15882. },
  15883. "relateduserid": {
  15884. "description": "关联userid",
  15885. "type": "integer"
  15886. },
  15887. "tradestatus": {
  15888. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15889. "type": "integer"
  15890. },
  15891. "userid": {
  15892. "description": "用户id",
  15893. "type": "integer"
  15894. }
  15895. }
  15896. },
  15897. "models.ErmcpTradeConfigTMP": {
  15898. "type": "object",
  15899. "properties": {
  15900. "areauserid": {
  15901. "description": "所属机构",
  15902. "type": "integer"
  15903. },
  15904. "basiccurrencyid": {
  15905. "description": "基本币种ID[汇率] - 目标币种",
  15906. "type": "integer"
  15907. },
  15908. "mainaccountid": {
  15909. "description": "主账户ID",
  15910. "type": "integer"
  15911. },
  15912. "modifierid": {
  15913. "description": "修改人",
  15914. "type": "integer"
  15915. },
  15916. "remark": {
  15917. "description": "备注",
  15918. "type": "string"
  15919. },
  15920. "tradeconfigtmpid": {
  15921. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  15922. "type": "integer"
  15923. },
  15924. "tradeconfigtmpname": {
  15925. "description": "交易配置模板名称",
  15926. "type": "string"
  15927. },
  15928. "tradeconfigtmptype": {
  15929. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  15930. "type": "integer"
  15931. },
  15932. "updatetime": {
  15933. "description": "更新时间",
  15934. "type": "string"
  15935. }
  15936. }
  15937. },
  15938. "models.ErmcpUserModel": {
  15939. "type": "object",
  15940. "properties": {
  15941. "address": {
  15942. "description": "通讯地址",
  15943. "type": "string"
  15944. },
  15945. "attachment1": {
  15946. "description": "附件1",
  15947. "type": "string"
  15948. },
  15949. "audittime": {
  15950. "description": "审核时间",
  15951. "type": "string"
  15952. },
  15953. "cardbackphotourl": {
  15954. "description": "证件反面图片地址",
  15955. "type": "string"
  15956. },
  15957. "cardfrontphotourl": {
  15958. "description": "证件正面图片地址",
  15959. "type": "string"
  15960. },
  15961. "cardnum": {
  15962. "description": "证件号码",
  15963. "type": "string"
  15964. },
  15965. "cardtype": {
  15966. "description": "证件类型",
  15967. "type": "integer"
  15968. },
  15969. "cardtypename": {
  15970. "description": "证件类型名称",
  15971. "type": "string"
  15972. },
  15973. "cityid": {
  15974. "description": "市",
  15975. "type": "integer"
  15976. },
  15977. "contactname": {
  15978. "description": "联系人",
  15979. "type": "string"
  15980. },
  15981. "countryid": {
  15982. "description": "国家",
  15983. "type": "integer"
  15984. },
  15985. "createtime": {
  15986. "description": "创建时间",
  15987. "type": "string"
  15988. },
  15989. "customername": {
  15990. "description": "企业名称",
  15991. "type": "string"
  15992. },
  15993. "districtid": {
  15994. "description": "区域",
  15995. "type": "integer"
  15996. },
  15997. "email": {
  15998. "description": "邮件",
  15999. "type": "string"
  16000. },
  16001. "legalpersonname": {
  16002. "description": "法人姓名(企业)",
  16003. "type": "string"
  16004. },
  16005. "memberuserid": {
  16006. "description": "所属机构ID",
  16007. "type": "integer"
  16008. },
  16009. "mobile": {
  16010. "description": "手机号码",
  16011. "type": "string"
  16012. },
  16013. "modifytime": {
  16014. "description": "修改时间",
  16015. "type": "string"
  16016. },
  16017. "nickname": {
  16018. "description": "昵称",
  16019. "type": "string"
  16020. },
  16021. "provinceid": {
  16022. "description": "省",
  16023. "type": "integer"
  16024. },
  16025. "remark": {
  16026. "description": "备注",
  16027. "type": "string"
  16028. },
  16029. "status": {
  16030. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16031. "type": "integer"
  16032. },
  16033. "statusdesc": {
  16034. "description": "账户状态中文描述",
  16035. "type": "string"
  16036. },
  16037. "taxpayernum": {
  16038. "description": "纳税人识别号",
  16039. "type": "string"
  16040. },
  16041. "telphone": {
  16042. "description": "联系电话",
  16043. "type": "string"
  16044. },
  16045. "userid": {
  16046. "description": "用户ID",
  16047. "type": "integer"
  16048. },
  16049. "userinfotype": {
  16050. "description": "客户类型",
  16051. "type": "string"
  16052. }
  16053. }
  16054. },
  16055. "models.ErmcpWareHouseInfo": {
  16056. "type": "object",
  16057. "properties": {
  16058. "address": {
  16059. "description": "详细地址",
  16060. "type": "string"
  16061. },
  16062. "areauserid": {
  16063. "description": "所属机构",
  16064. "type": "integer"
  16065. },
  16066. "autoid": {
  16067. "description": "自增ID(仓库ID)",
  16068. "type": "integer"
  16069. },
  16070. "cityid": {
  16071. "description": "市",
  16072. "type": "integer"
  16073. },
  16074. "contactname": {
  16075. "description": "联系人",
  16076. "type": "string"
  16077. },
  16078. "contactnum": {
  16079. "description": "联系电话",
  16080. "type": "string"
  16081. },
  16082. "countryid": {
  16083. "description": "国家",
  16084. "type": "integer"
  16085. },
  16086. "createtime": {
  16087. "description": "创建时间",
  16088. "type": "string"
  16089. },
  16090. "districtid": {
  16091. "description": "区",
  16092. "type": "integer"
  16093. },
  16094. "hasvideo": {
  16095. "description": "是否有视频 - 0:无 1:有",
  16096. "type": "integer"
  16097. },
  16098. "provinceid": {
  16099. "description": "省",
  16100. "type": "integer"
  16101. },
  16102. "remark": {
  16103. "description": "审核备注",
  16104. "type": "string"
  16105. },
  16106. "videourl": {
  16107. "description": "视频地址",
  16108. "type": "string"
  16109. },
  16110. "warehousecode": {
  16111. "description": "仓库代码",
  16112. "type": "string"
  16113. },
  16114. "warehousename": {
  16115. "description": "仓库名称",
  16116. "type": "string"
  16117. },
  16118. "warehousestatus": {
  16119. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16120. "type": "integer"
  16121. },
  16122. "warehousetype": {
  16123. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16124. "type": "integer"
  16125. }
  16126. }
  16127. },
  16128. "models.Externalexchange": {
  16129. "type": "object",
  16130. "required": [
  16131. "autoid"
  16132. ],
  16133. "properties": {
  16134. "autoid": {
  16135. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  16136. "type": "integer"
  16137. },
  16138. "exchangefullname": {
  16139. "description": "外部交易所全称",
  16140. "type": "string"
  16141. },
  16142. "exexchangecode": {
  16143. "description": "外部交易所代码",
  16144. "type": "string"
  16145. },
  16146. "exexchangename": {
  16147. "description": "外部交易所名称(简称)",
  16148. "type": "string"
  16149. },
  16150. "ismarketprice": {
  16151. "description": "是否支持市价 - 0:不支持 1:支持",
  16152. "type": "integer"
  16153. },
  16154. "quotegear": {
  16155. "description": "行情档位(1-10)",
  16156. "type": "integer"
  16157. },
  16158. "showbrokerflag": {
  16159. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  16160. "type": "integer"
  16161. },
  16162. "updatetime": {
  16163. "description": "更新时间",
  16164. "type": "string"
  16165. }
  16166. }
  16167. },
  16168. "models.Funcmenulist": {
  16169. "type": "object",
  16170. "required": [
  16171. "resourcecode"
  16172. ],
  16173. "properties": {
  16174. "iconame": {
  16175. "description": "菜单图标",
  16176. "type": "string"
  16177. },
  16178. "menutype": {
  16179. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  16180. "type": "integer"
  16181. },
  16182. "parentcode": {
  16183. "description": "上级资源代码",
  16184. "type": "string"
  16185. },
  16186. "remark": {
  16187. "description": "备注",
  16188. "type": "string"
  16189. },
  16190. "resourcecode": {
  16191. "description": "资源代码",
  16192. "type": "string"
  16193. },
  16194. "resourcelevel": {
  16195. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  16196. "type": "integer"
  16197. },
  16198. "resourcename": {
  16199. "description": "资源名",
  16200. "type": "string"
  16201. },
  16202. "sort": {
  16203. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  16204. "type": "integer"
  16205. },
  16206. "url": {
  16207. "description": "URL",
  16208. "type": "string"
  16209. }
  16210. }
  16211. },
  16212. "models.Goods": {
  16213. "type": "object",
  16214. "required": [
  16215. "goodscode",
  16216. "goodsid",
  16217. "goodsname",
  16218. "marketid"
  16219. ],
  16220. "properties": {
  16221. "agreeunit": {
  16222. "description": "合约单位",
  16223. "type": "number"
  16224. },
  16225. "auditaccountid": {
  16226. "description": "审核操作员账号",
  16227. "type": "integer"
  16228. },
  16229. "audittime": {
  16230. "description": "审核时间",
  16231. "type": "string"
  16232. },
  16233. "cancelaccountid": {
  16234. "description": "注销操作员账号",
  16235. "type": "integer"
  16236. },
  16237. "canceltime": {
  16238. "description": "注销时间",
  16239. "type": "string"
  16240. },
  16241. "closepricemode": {
  16242. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16243. "type": "integer"
  16244. },
  16245. "closepriceparam": {
  16246. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16247. "type": "number"
  16248. },
  16249. "createtime": {
  16250. "description": "创建时间",
  16251. "type": "string"
  16252. },
  16253. "creatorid": {
  16254. "description": "创建人",
  16255. "type": "integer"
  16256. },
  16257. "currencyid": {
  16258. "description": "报价货币ID",
  16259. "type": "integer"
  16260. },
  16261. "cutmode": {
  16262. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  16263. "type": "integer"
  16264. },
  16265. "decimalplace": {
  16266. "description": "报价小数位",
  16267. "type": "integer"
  16268. },
  16269. "delistingdate": {
  16270. "description": "商品退市时间(状态:退市) -- 已作废",
  16271. "type": "string"
  16272. },
  16273. "delistingmode": {
  16274. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  16275. "type": "integer"
  16276. },
  16277. "deliveryflag": {
  16278. "description": "交割标志 - 0:不可交割 1:可交割",
  16279. "type": "integer"
  16280. },
  16281. "forceclosemode": {
  16282. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  16283. "type": "integer"
  16284. },
  16285. "forceclosevalue": {
  16286. "description": "定期强平参数 [收益权]",
  16287. "type": "integer"
  16288. },
  16289. "goodscode": {
  16290. "description": "商品代码(内部)",
  16291. "type": "string"
  16292. },
  16293. "goodscurrencyid": {
  16294. "description": "合约货币ID",
  16295. "type": "integer"
  16296. },
  16297. "goodsgroupid": {
  16298. "description": "所属商品组ID",
  16299. "type": "integer"
  16300. },
  16301. "goodsid": {
  16302. "description": "商品ID(自增ID SEQ_GOODS)",
  16303. "type": "integer"
  16304. },
  16305. "goodsname": {
  16306. "description": "商品名称",
  16307. "type": "string"
  16308. },
  16309. "goodsquotetype": {
  16310. "description": "合约报价类型: 1-直接报价 2-间接报价",
  16311. "type": "integer"
  16312. },
  16313. "goodsstatus": {
  16314. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16315. "type": "integer"
  16316. },
  16317. "goodstradetype": {
  16318. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  16319. "type": "integer"
  16320. },
  16321. "goodunitid": {
  16322. "description": "报价单位ID",
  16323. "type": "integer"
  16324. },
  16325. "hasquoter": {
  16326. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  16327. "type": "integer"
  16328. },
  16329. "hqprotecttime": {
  16330. "description": "行情保护时间(秒)",
  16331. "type": "integer"
  16332. },
  16333. "innerdealmode": {
  16334. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16335. "type": "integer"
  16336. },
  16337. "isbuylimited": {
  16338. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16339. "type": "integer"
  16340. },
  16341. "lasttradedate": {
  16342. "description": "最后交易日期(状态:待退市)",
  16343. "type": "string"
  16344. },
  16345. "listingdate": {
  16346. "description": "交易开始日期",
  16347. "type": "string"
  16348. },
  16349. "marketid": {
  16350. "description": "所属市场ID",
  16351. "type": "integer"
  16352. },
  16353. "modifierid": {
  16354. "description": "修改人",
  16355. "type": "integer"
  16356. },
  16357. "modifystatus": {
  16358. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  16359. "type": "integer"
  16360. },
  16361. "modifytime": {
  16362. "description": "修改时间",
  16363. "type": "string"
  16364. },
  16365. "outerdealmode": {
  16366. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16367. "type": "integer"
  16368. },
  16369. "outgoodscode": {
  16370. "description": "商品代码(外部)",
  16371. "type": "string"
  16372. },
  16373. "qtydecimalplace": {
  16374. "description": "成交量小数位",
  16375. "type": "integer"
  16376. },
  16377. "quotegear": {
  16378. "description": "行情档位(1-10)",
  16379. "type": "integer"
  16380. },
  16381. "quoteminunit": {
  16382. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16383. "type": "integer"
  16384. },
  16385. "quoteshowtype": {
  16386. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  16387. "type": "integer"
  16388. },
  16389. "quoteshowtypeinterval": {
  16390. "description": "行情报价间隔时间(秒)(成交价时为0)",
  16391. "type": "integer"
  16392. },
  16393. "remark": {
  16394. "description": "备注",
  16395. "type": "string"
  16396. }
  16397. }
  16398. },
  16399. "models.GoodsIDAndName": {
  16400. "type": "object",
  16401. "required": [
  16402. "goodscode",
  16403. "goodsid",
  16404. "goodsname",
  16405. "marketid"
  16406. ],
  16407. "properties": {
  16408. "goodscode": {
  16409. "description": "商品代码(内部)",
  16410. "type": "string"
  16411. },
  16412. "goodsid": {
  16413. "description": "商品ID(自增ID SEQ_GOODS)",
  16414. "type": "integer"
  16415. },
  16416. "goodsname": {
  16417. "description": "商品名称",
  16418. "type": "string"
  16419. },
  16420. "marketid": {
  16421. "description": "所属市场ID",
  16422. "type": "integer"
  16423. }
  16424. }
  16425. },
  16426. "models.Goodsgroup": {
  16427. "type": "object",
  16428. "required": [
  16429. "goodsgroupid",
  16430. "goodsgroupname",
  16431. "goodsgroupstatus",
  16432. "marketid"
  16433. ],
  16434. "properties": {
  16435. "agreeunit": {
  16436. "description": "合约单位",
  16437. "type": "number"
  16438. },
  16439. "canshort": {
  16440. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16441. "type": "integer"
  16442. },
  16443. "closepricemode": {
  16444. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16445. "type": "integer"
  16446. },
  16447. "closepriceparam": {
  16448. "description": "强平最新价浮动比例 - 方式为2时使用",
  16449. "type": "number"
  16450. },
  16451. "createtime": {
  16452. "description": "创建时间",
  16453. "type": "string"
  16454. },
  16455. "creatorid": {
  16456. "description": "创建人",
  16457. "type": "integer"
  16458. },
  16459. "currencyid": {
  16460. "description": "报价货币ID",
  16461. "type": "integer"
  16462. },
  16463. "decimalplace": {
  16464. "description": "报价小数位",
  16465. "type": "integer"
  16466. },
  16467. "exercisetype": {
  16468. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  16469. "type": "integer"
  16470. },
  16471. "exexchangeid": {
  16472. "description": "外部交易所ID[通道交易]",
  16473. "type": "integer"
  16474. },
  16475. "goodsgroupid": {
  16476. "description": "商品组ID(自增ID)",
  16477. "type": "integer"
  16478. },
  16479. "goodsgroupname": {
  16480. "description": "商品组名称",
  16481. "type": "string"
  16482. },
  16483. "goodsgroupstatus": {
  16484. "description": "商品组状态 - 1:正常 2:注销",
  16485. "type": "integer"
  16486. },
  16487. "goodunitid": {
  16488. "description": "报价单位ID",
  16489. "type": "integer"
  16490. },
  16491. "innerdealmode": {
  16492. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16493. "type": "integer"
  16494. },
  16495. "isbuylimited": {
  16496. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16497. "type": "integer"
  16498. },
  16499. "marketid": {
  16500. "description": "所属市场ID",
  16501. "type": "integer"
  16502. },
  16503. "modifierid": {
  16504. "description": "修改人",
  16505. "type": "integer"
  16506. },
  16507. "modifytime": {
  16508. "description": "修改时间",
  16509. "type": "string"
  16510. },
  16511. "outerdealmode": {
  16512. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16513. "type": "integer"
  16514. },
  16515. "outergroupcode": {
  16516. "description": "外部商品组代码[通道交易]",
  16517. "type": "string"
  16518. },
  16519. "premiumdecimalplace": {
  16520. "description": "权利金小数位[场外期权]",
  16521. "type": "integer"
  16522. },
  16523. "premiumspreadalgorithm": {
  16524. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  16525. "type": "integer"
  16526. },
  16527. "premiumspreadvalue": {
  16528. "description": "权利金点差值[场外期权]",
  16529. "type": "number"
  16530. },
  16531. "qtydecimalplace": {
  16532. "description": "成交量小数位",
  16533. "type": "integer"
  16534. },
  16535. "quotegear": {
  16536. "description": "行情档位(1-10)",
  16537. "type": "integer"
  16538. },
  16539. "quoteminunit": {
  16540. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16541. "type": "integer"
  16542. },
  16543. "quoterid": {
  16544. "description": "报价商ID[场外期权]",
  16545. "type": "integer"
  16546. },
  16547. "quotesourcegroupid": {
  16548. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16549. "type": "integer"
  16550. },
  16551. "syncgoodsqty": {
  16552. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16553. "type": "integer"
  16554. }
  16555. }
  16556. },
  16557. "models.Goodssortbypreposition": {
  16558. "type": "object",
  16559. "required": [
  16560. "goodscode",
  16561. "tradedate"
  16562. ],
  16563. "properties": {
  16564. "goodscode": {
  16565. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  16566. "type": "string"
  16567. },
  16568. "goodsgroupcode": {
  16569. "description": "品种代码",
  16570. "type": "string"
  16571. },
  16572. "prepositionqty": {
  16573. "description": "昨持仓量",
  16574. "type": "integer"
  16575. },
  16576. "sortindex": {
  16577. "description": "排序",
  16578. "type": "integer"
  16579. },
  16580. "tradedate": {
  16581. "description": "交易日",
  16582. "type": "string"
  16583. },
  16584. "updatetime": {
  16585. "description": "更新时间",
  16586. "type": "string"
  16587. }
  16588. }
  16589. },
  16590. "models.Hedgeinnerholderdetail": {
  16591. "type": "object",
  16592. "required": [
  16593. "buyorsell",
  16594. "tradeid"
  16595. ],
  16596. "properties": {
  16597. "accountid": {
  16598. "description": "账号ID",
  16599. "type": "integer"
  16600. },
  16601. "buyorsell": {
  16602. "description": "方向 - 0:买 1:卖",
  16603. "type": "integer"
  16604. },
  16605. "freezeqty": {
  16606. "description": "冻结数量 - 按单平使用",
  16607. "type": "integer"
  16608. },
  16609. "goodsid": {
  16610. "description": "商品ID",
  16611. "type": "integer"
  16612. },
  16613. "holderamount": {
  16614. "description": "持仓金额 [商品币种]",
  16615. "type": "number"
  16616. },
  16617. "holderdays": {
  16618. "description": "剩余冻结天数",
  16619. "type": "integer"
  16620. },
  16621. "holderprice": {
  16622. "description": "持仓价格",
  16623. "type": "number"
  16624. },
  16625. "holderqty": {
  16626. "description": "持仓数量",
  16627. "type": "integer"
  16628. },
  16629. "marketid": {
  16630. "description": "市场ID",
  16631. "type": "integer"
  16632. },
  16633. "openprice": {
  16634. "description": "建仓价格",
  16635. "type": "number"
  16636. },
  16637. "openqty": {
  16638. "description": "建仓数量",
  16639. "type": "integer"
  16640. },
  16641. "parentaccountid": {
  16642. "description": "所属母账户",
  16643. "type": "integer"
  16644. },
  16645. "releaseamount": {
  16646. "description": "释放持仓金额[商品币种]",
  16647. "type": "number"
  16648. },
  16649. "tradeamount": {
  16650. "description": "成交金额[账户]",
  16651. "type": "number"
  16652. },
  16653. "tradedate": {
  16654. "description": "交易日(yyyyMMdd)",
  16655. "type": "string"
  16656. },
  16657. "tradeid": {
  16658. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16659. "type": "string"
  16660. },
  16661. "tradetime": {
  16662. "description": "交易时间",
  16663. "type": "string"
  16664. }
  16665. }
  16666. },
  16667. "models.Hedgemarketopenlog": {
  16668. "type": "object",
  16669. "required": [
  16670. "accountid"
  16671. ],
  16672. "properties": {
  16673. "accountid": {
  16674. "description": "资金账号[外部母账户]",
  16675. "type": "integer"
  16676. },
  16677. "fcname": {
  16678. "description": "期货公司名称",
  16679. "type": "string"
  16680. },
  16681. "handlestatus": {
  16682. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  16683. "type": "integer"
  16684. },
  16685. "marketid": {
  16686. "description": "市场ID",
  16687. "type": "integer"
  16688. },
  16689. "status": {
  16690. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  16691. "type": "integer"
  16692. },
  16693. "tradedate": {
  16694. "description": "交易日(yyyyMMdd)",
  16695. "type": "string"
  16696. },
  16697. "updatetime": {
  16698. "description": "更新时间",
  16699. "type": "string"
  16700. }
  16701. }
  16702. },
  16703. "models.HsbyBuyMyPayOrder": {
  16704. "type": "object",
  16705. "required": [
  16706. "goodscode",
  16707. "goodsname",
  16708. "tradeid",
  16709. "trademode"
  16710. ],
  16711. "properties": {
  16712. "agreeunit": {
  16713. "description": "合约单位",
  16714. "type": "number"
  16715. },
  16716. "buyaccountid": {
  16717. "description": "买方账号ID[报价币种]",
  16718. "type": "integer"
  16719. },
  16720. "buyorderid": {
  16721. "description": "买方委托单号",
  16722. "type": "string"
  16723. },
  16724. "createtime": {
  16725. "description": "创建时间",
  16726. "type": "string"
  16727. },
  16728. "currencysign": {
  16729. "description": "货币符号",
  16730. "type": "string"
  16731. },
  16732. "decimalplace": {
  16733. "description": "报价小数位",
  16734. "type": "integer"
  16735. },
  16736. "goodscode": {
  16737. "description": "商品代码(内部)",
  16738. "type": "string"
  16739. },
  16740. "goodsid": {
  16741. "description": "商品ID",
  16742. "type": "integer"
  16743. },
  16744. "goodsname": {
  16745. "description": "商品名称",
  16746. "type": "string"
  16747. },
  16748. "marketid": {
  16749. "description": "市场ID",
  16750. "type": "integer"
  16751. },
  16752. "offamount": {
  16753. "description": "优惠金额",
  16754. "type": "number"
  16755. },
  16756. "originalamount": {
  16757. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  16758. "type": "number"
  16759. },
  16760. "payamount": {
  16761. "description": "支付金额 = TradeAmount + TradeCharge",
  16762. "type": "number"
  16763. },
  16764. "payflag": {
  16765. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  16766. "type": "integer"
  16767. },
  16768. "paylimitedtime": {
  16769. "description": "支付期限",
  16770. "type": "string"
  16771. },
  16772. "paytime": {
  16773. "description": "付款时间",
  16774. "type": "string"
  16775. },
  16776. "picurls1": {
  16777. "description": "预售商品介绍图片[多张用逗号分隔]",
  16778. "type": "string"
  16779. },
  16780. "picurls2": {
  16781. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16782. "type": "string"
  16783. },
  16784. "sellaccountid": {
  16785. "description": "卖方账号ID[报价币种]",
  16786. "type": "integer"
  16787. },
  16788. "sellorderid": {
  16789. "description": "卖方委托单号",
  16790. "type": "string"
  16791. },
  16792. "tradeamount": {
  16793. "description": "成交金额",
  16794. "type": "number"
  16795. },
  16796. "tradecharge": {
  16797. "description": "成交手续费(买方)",
  16798. "type": "number"
  16799. },
  16800. "tradedate": {
  16801. "description": "交易日(yyyyMMdd)",
  16802. "type": "string"
  16803. },
  16804. "tradeid": {
  16805. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16806. "type": "string"
  16807. },
  16808. "trademode": {
  16809. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16810. "type": "integer"
  16811. },
  16812. "tradeprice": {
  16813. "description": "成交价格",
  16814. "type": "number"
  16815. },
  16816. "tradeqty": {
  16817. "description": "成交数量",
  16818. "type": "integer"
  16819. },
  16820. "vendorname1": {
  16821. "description": "预售商品供应商名称",
  16822. "type": "string"
  16823. },
  16824. "vendorname2": {
  16825. "description": "挂牌商品供应商名称",
  16826. "type": "string"
  16827. }
  16828. }
  16829. },
  16830. "models.HsbyBuyMyTradeDetail": {
  16831. "type": "object",
  16832. "required": [
  16833. "accountid",
  16834. "buyorsell",
  16835. "goodscode",
  16836. "goodsid",
  16837. "goodsname",
  16838. "marketid",
  16839. "orderid",
  16840. "qty",
  16841. "time",
  16842. "trademode"
  16843. ],
  16844. "properties": {
  16845. "accountid": {
  16846. "description": "账户ID[报价币种]",
  16847. "type": "integer"
  16848. },
  16849. "agreeunit": {
  16850. "description": "合约单位",
  16851. "type": "number"
  16852. },
  16853. "amount": {
  16854. "description": "金额 = 价格 * 数量 * 合约单位",
  16855. "type": "number"
  16856. },
  16857. "buyorsell": {
  16858. "description": "买卖 - 0:买 1:卖",
  16859. "type": "integer"
  16860. },
  16861. "currencysign": {
  16862. "description": "货币符号",
  16863. "type": "string"
  16864. },
  16865. "decimalplace": {
  16866. "description": "报价小数位",
  16867. "type": "integer"
  16868. },
  16869. "goodscode": {
  16870. "description": "商品代码(内部)",
  16871. "type": "string"
  16872. },
  16873. "goodsid": {
  16874. "description": "商品ID",
  16875. "type": "integer"
  16876. },
  16877. "goodsname": {
  16878. "description": "商品名称",
  16879. "type": "string"
  16880. },
  16881. "marketid": {
  16882. "description": "市场ID",
  16883. "type": "integer"
  16884. },
  16885. "orderamount": {
  16886. "description": "委托金额",
  16887. "type": "number"
  16888. },
  16889. "orderid": {
  16890. "description": "单号(成交单号)",
  16891. "type": "string"
  16892. },
  16893. "picurls1": {
  16894. "description": "预售商品介绍图片[多张用逗号分隔]",
  16895. "type": "string"
  16896. },
  16897. "picurls2": {
  16898. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16899. "type": "string"
  16900. },
  16901. "price": {
  16902. "description": "价格",
  16903. "type": "number"
  16904. },
  16905. "qty": {
  16906. "description": "数量",
  16907. "type": "integer"
  16908. },
  16909. "time": {
  16910. "description": "时间",
  16911. "type": "string"
  16912. },
  16913. "trademode": {
  16914. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16915. "type": "integer"
  16916. },
  16917. "vendorname1": {
  16918. "description": "预售商品供应商名称",
  16919. "type": "string"
  16920. },
  16921. "vendorname2": {
  16922. "description": "挂牌商品供应商名称",
  16923. "type": "string"
  16924. }
  16925. }
  16926. },
  16927. "models.HsbyGoodsOrderDetail": {
  16928. "type": "object",
  16929. "required": [
  16930. "buyorsell",
  16931. "orderid",
  16932. "ordertime"
  16933. ],
  16934. "properties": {
  16935. "buyorsell": {
  16936. "description": "买卖 - 0:买 1:卖",
  16937. "type": "integer"
  16938. },
  16939. "currencysign": {
  16940. "description": "货币符号",
  16941. "type": "string"
  16942. },
  16943. "customername": {
  16944. "description": "客户名称(企业名称),已脱敏",
  16945. "type": "string"
  16946. },
  16947. "enableqty": {
  16948. "description": "可用数量",
  16949. "type": "integer"
  16950. },
  16951. "goodunit": {
  16952. "description": "报价单位",
  16953. "type": "string"
  16954. },
  16955. "orderid": {
  16956. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16957. "type": "string"
  16958. },
  16959. "orderprice": {
  16960. "description": "委托价格",
  16961. "type": "number"
  16962. },
  16963. "ordertime": {
  16964. "description": "委托时间",
  16965. "type": "string"
  16966. }
  16967. }
  16968. },
  16969. "models.HsbyListingGoodsDetail": {
  16970. "type": "object",
  16971. "required": [
  16972. "goodscode",
  16973. "goodsid",
  16974. "goodsname",
  16975. "marketid",
  16976. "trademode"
  16977. ],
  16978. "properties": {
  16979. "agreeunit": {
  16980. "description": "合约单位",
  16981. "type": "number"
  16982. },
  16983. "buymaxqty": {
  16984. "description": "购买上限 [71] - 0为不限",
  16985. "type": "integer"
  16986. },
  16987. "currency": {
  16988. "description": "货币",
  16989. "type": "string"
  16990. },
  16991. "currencysign": {
  16992. "description": "货币符号",
  16993. "type": "string"
  16994. },
  16995. "decimalplace": {
  16996. "description": "报价小数位",
  16997. "type": "integer"
  16998. },
  16999. "desccityid": {
  17000. "description": "目的地(市)ID",
  17001. "type": "integer"
  17002. },
  17003. "descprovinceid": {
  17004. "description": "目的地(省)ID",
  17005. "type": "integer"
  17006. },
  17007. "goodscode": {
  17008. "description": "商品代码(内部)",
  17009. "type": "string"
  17010. },
  17011. "goodsdesc": {
  17012. "description": "商品详情",
  17013. "type": "string"
  17014. },
  17015. "goodsid": {
  17016. "description": "商品ID(自增ID SEQ_GOODS)",
  17017. "type": "integer"
  17018. },
  17019. "goodsname": {
  17020. "description": "商品名称",
  17021. "type": "string"
  17022. },
  17023. "goodsprice": {
  17024. "description": "商品价格",
  17025. "type": "number"
  17026. },
  17027. "hotindex": {
  17028. "description": "景点热度",
  17029. "type": "integer"
  17030. },
  17031. "last": {
  17032. "description": "现价",
  17033. "type": "number"
  17034. },
  17035. "limitdown": {
  17036. "description": "跌停价",
  17037. "type": "number"
  17038. },
  17039. "limitup": {
  17040. "description": "涨停价",
  17041. "type": "number"
  17042. },
  17043. "lotsize": {
  17044. "description": "手数最小变动单位",
  17045. "type": "integer"
  17046. },
  17047. "marketid": {
  17048. "description": "所属市场ID",
  17049. "type": "integer"
  17050. },
  17051. "picurls": {
  17052. "description": "介绍图片[多张用逗号分隔]",
  17053. "type": "string"
  17054. },
  17055. "quoteminunit": {
  17056. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17057. "type": "integer"
  17058. },
  17059. "stepvalue": {
  17060. "description": "价格最小变动单位",
  17061. "type": "number"
  17062. },
  17063. "trademode": {
  17064. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17065. "type": "integer"
  17066. },
  17067. "vendorattr": {
  17068. "description": "供应商附件(多张,逗号分隔)",
  17069. "type": "string"
  17070. },
  17071. "vendorname": {
  17072. "description": "供应商名称",
  17073. "type": "string"
  17074. },
  17075. "vendorphone": {
  17076. "description": "供应商客服电话",
  17077. "type": "string"
  17078. },
  17079. "videourls": {
  17080. "description": "介绍视频[多张用逗号分隔]",
  17081. "type": "string"
  17082. }
  17083. }
  17084. },
  17085. "models.HsbyMarketGoods": {
  17086. "type": "object",
  17087. "required": [
  17088. "accountid",
  17089. "buyorsell",
  17090. "goodscode",
  17091. "goodsid",
  17092. "goodsname",
  17093. "marketid",
  17094. "orderid",
  17095. "trademode"
  17096. ],
  17097. "properties": {
  17098. "accountid": {
  17099. "description": "账户ID[报价币种]",
  17100. "type": "integer"
  17101. },
  17102. "agreeunit": {
  17103. "description": "合约单位",
  17104. "type": "number"
  17105. },
  17106. "buyorsell": {
  17107. "description": "买卖 - 0:买 1:卖",
  17108. "type": "integer"
  17109. },
  17110. "categoryid": {
  17111. "description": "类别ID(WRCATEGORY)",
  17112. "type": "integer"
  17113. },
  17114. "currency": {
  17115. "description": "货币",
  17116. "type": "string"
  17117. },
  17118. "currencysign": {
  17119. "description": "货币符号",
  17120. "type": "string"
  17121. },
  17122. "customername": {
  17123. "description": "卖家名称",
  17124. "type": "string"
  17125. },
  17126. "decimalplace": {
  17127. "description": "报价小数位",
  17128. "type": "integer"
  17129. },
  17130. "goodscode": {
  17131. "description": "商品代码(内部)",
  17132. "type": "string"
  17133. },
  17134. "goodsid": {
  17135. "description": "商品ID",
  17136. "type": "integer"
  17137. },
  17138. "goodsname": {
  17139. "description": "商品名称",
  17140. "type": "string"
  17141. },
  17142. "goodsprice": {
  17143. "description": "商品价格",
  17144. "type": "number"
  17145. },
  17146. "hascoupon": {
  17147. "description": "是否可用优惠卷",
  17148. "type": "boolean"
  17149. },
  17150. "hotindex": {
  17151. "description": "景点热度",
  17152. "type": "integer"
  17153. },
  17154. "marketid": {
  17155. "description": "市场ID",
  17156. "type": "integer"
  17157. },
  17158. "orderid": {
  17159. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17160. "type": "string"
  17161. },
  17162. "orderprice": {
  17163. "description": "委托价格",
  17164. "type": "number"
  17165. },
  17166. "orderstatus": {
  17167. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17168. "type": "integer"
  17169. },
  17170. "picurls": {
  17171. "description": "介绍图片[多张用逗号分隔]",
  17172. "type": "string"
  17173. },
  17174. "quoteminunit": {
  17175. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17176. "type": "integer"
  17177. },
  17178. "sellUserID": {
  17179. "description": "卖方UserID",
  17180. "type": "integer"
  17181. },
  17182. "trademode": {
  17183. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17184. "type": "integer"
  17185. },
  17186. "videourls": {
  17187. "description": "介绍视频[多张用逗号分隔]",
  17188. "type": "string"
  17189. }
  17190. }
  17191. },
  17192. "models.HsbyMarketGoodsDetail": {
  17193. "type": "object",
  17194. "required": [
  17195. "accountid",
  17196. "buyorsell",
  17197. "goodscode",
  17198. "goodsid",
  17199. "goodsname",
  17200. "marketid",
  17201. "orderid",
  17202. "orderqty",
  17203. "trademode"
  17204. ],
  17205. "properties": {
  17206. "accountid": {
  17207. "description": "账户ID[报价币种]",
  17208. "type": "integer"
  17209. },
  17210. "agreeunit": {
  17211. "description": "合约单位",
  17212. "type": "number"
  17213. },
  17214. "buymaxqty": {
  17215. "description": "购买上限 [71] - 0为不限",
  17216. "type": "integer"
  17217. },
  17218. "buyorsell": {
  17219. "description": "买卖 - 0:买 1:卖",
  17220. "type": "integer"
  17221. },
  17222. "cancelqty": {
  17223. "description": "撤单数量",
  17224. "type": "integer"
  17225. },
  17226. "categoryid": {
  17227. "description": "类别ID(WRCATEGORY)",
  17228. "type": "integer"
  17229. },
  17230. "currency": {
  17231. "description": "货币",
  17232. "type": "string"
  17233. },
  17234. "currencysign": {
  17235. "description": "货币符号",
  17236. "type": "string"
  17237. },
  17238. "customername": {
  17239. "description": "卖家名称",
  17240. "type": "string"
  17241. },
  17242. "decimalplace": {
  17243. "description": "报价小数位",
  17244. "type": "integer"
  17245. },
  17246. "goodscode": {
  17247. "description": "商品代码(内部)",
  17248. "type": "string"
  17249. },
  17250. "goodsdesc": {
  17251. "description": "商品详情",
  17252. "type": "string"
  17253. },
  17254. "goodsid": {
  17255. "description": "商品ID",
  17256. "type": "integer"
  17257. },
  17258. "goodsname": {
  17259. "description": "商品名称",
  17260. "type": "string"
  17261. },
  17262. "goodsprice": {
  17263. "description": "商品价格",
  17264. "type": "number"
  17265. },
  17266. "hotindex": {
  17267. "description": "景点热度",
  17268. "type": "integer"
  17269. },
  17270. "lotsize": {
  17271. "description": "手数最小变动单位",
  17272. "type": "integer"
  17273. },
  17274. "marketid": {
  17275. "description": "市场ID",
  17276. "type": "integer"
  17277. },
  17278. "orderid": {
  17279. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17280. "type": "string"
  17281. },
  17282. "orderprice": {
  17283. "description": "委托价格",
  17284. "type": "number"
  17285. },
  17286. "orderqty": {
  17287. "description": "委托数量",
  17288. "type": "integer"
  17289. },
  17290. "orderstatus": {
  17291. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17292. "type": "integer"
  17293. },
  17294. "picurls": {
  17295. "description": "介绍图片[多张用逗号分隔]",
  17296. "type": "string"
  17297. },
  17298. "quoteminunit": {
  17299. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17300. "type": "integer"
  17301. },
  17302. "sellUserID": {
  17303. "description": "卖方UserID",
  17304. "type": "integer"
  17305. },
  17306. "trademode": {
  17307. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17308. "type": "integer"
  17309. },
  17310. "tradeqty": {
  17311. "description": "成交数量",
  17312. "type": "integer"
  17313. },
  17314. "vendorattr": {
  17315. "description": "供应商附件(多张,逗号分隔)",
  17316. "type": "string"
  17317. },
  17318. "vendorname": {
  17319. "description": "供应商名称",
  17320. "type": "string"
  17321. },
  17322. "vendorphone": {
  17323. "description": "供应商客服电话",
  17324. "type": "string"
  17325. },
  17326. "videourls": {
  17327. "description": "介绍视频[多张用逗号分隔]",
  17328. "type": "string"
  17329. }
  17330. }
  17331. },
  17332. "models.HsbyMarketInfo": {
  17333. "type": "object",
  17334. "required": [
  17335. "marketid",
  17336. "marketstatus",
  17337. "trademode"
  17338. ],
  17339. "properties": {
  17340. "marketid": {
  17341. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17342. "type": "integer"
  17343. },
  17344. "marketname": {
  17345. "description": "市场名称",
  17346. "type": "string"
  17347. },
  17348. "marketstatus": {
  17349. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  17350. "type": "integer"
  17351. },
  17352. "trademode": {
  17353. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17354. "type": "integer"
  17355. }
  17356. }
  17357. },
  17358. "models.HsbyMyGoods": {
  17359. "type": "object",
  17360. "required": [
  17361. "accountid",
  17362. "goodscode",
  17363. "goodsid",
  17364. "goodsname",
  17365. "marketid",
  17366. "trademode"
  17367. ],
  17368. "properties": {
  17369. "accountid": {
  17370. "description": "账号Id",
  17371. "type": "integer"
  17372. },
  17373. "agreeunit": {
  17374. "description": "合约单位",
  17375. "type": "number"
  17376. },
  17377. "buyaverageprice": {
  17378. "description": "持仓均价",
  17379. "type": "number"
  17380. },
  17381. "buycurholderamount": {
  17382. "description": "买当前持仓总金额[商品币种]",
  17383. "type": "number"
  17384. },
  17385. "buycurpositionqty": {
  17386. "description": "买当前持仓总数量",
  17387. "type": "integer"
  17388. },
  17389. "buymaxqty": {
  17390. "description": "购买上限 [71] - 0为不限",
  17391. "type": "integer"
  17392. },
  17393. "currencysign": {
  17394. "description": "货币符号",
  17395. "type": "string"
  17396. },
  17397. "decimalplace": {
  17398. "description": "报价小数位",
  17399. "type": "integer"
  17400. },
  17401. "enableqty": {
  17402. "description": "可用数量",
  17403. "type": "integer"
  17404. },
  17405. "goodscode": {
  17406. "description": "商品代码(内部)",
  17407. "type": "string"
  17408. },
  17409. "goodsid": {
  17410. "description": "商品Id",
  17411. "type": "integer"
  17412. },
  17413. "goodsname": {
  17414. "description": "商品名称",
  17415. "type": "string"
  17416. },
  17417. "goodsprice": {
  17418. "description": "商品价格",
  17419. "type": "number"
  17420. },
  17421. "goodsstatus": {
  17422. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17423. "type": "integer"
  17424. },
  17425. "last": {
  17426. "description": "现价(仅使用于挂牌点选)",
  17427. "type": "number"
  17428. },
  17429. "limitdown": {
  17430. "description": "跌停价(仅使用于挂牌点选)",
  17431. "type": "number"
  17432. },
  17433. "limitup": {
  17434. "description": "涨停价(仅使用于挂牌点选)",
  17435. "type": "number"
  17436. },
  17437. "lotsize": {
  17438. "description": "手数最小变动单位",
  17439. "type": "integer"
  17440. },
  17441. "marketid": {
  17442. "description": "所属市场ID",
  17443. "type": "integer"
  17444. },
  17445. "picurls": {
  17446. "description": "介绍图片[多张用逗号分隔]",
  17447. "type": "string"
  17448. },
  17449. "quoteminunit": {
  17450. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17451. "type": "integer"
  17452. },
  17453. "stepvalue": {
  17454. "description": "价格最小变动单位",
  17455. "type": "number"
  17456. },
  17457. "trademode": {
  17458. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17459. "type": "integer"
  17460. }
  17461. }
  17462. },
  17463. "models.HsbyMyPackage": {
  17464. "type": "object",
  17465. "required": [
  17466. "goodscode",
  17467. "goodsname",
  17468. "takeorderid",
  17469. "trademode"
  17470. ],
  17471. "properties": {
  17472. "accountid": {
  17473. "description": "账户ID",
  17474. "type": "integer"
  17475. },
  17476. "address": {
  17477. "description": "提货人详细地址",
  17478. "type": "string"
  17479. },
  17480. "agreeunit": {
  17481. "description": "合约单位",
  17482. "type": "number"
  17483. },
  17484. "amount": {
  17485. "description": "提货金额",
  17486. "type": "number"
  17487. },
  17488. "auditer": {
  17489. "description": "审核人",
  17490. "type": "integer"
  17491. },
  17492. "audittime": {
  17493. "description": "审核时间",
  17494. "type": "string"
  17495. },
  17496. "averageprice": {
  17497. "description": "均价",
  17498. "type": "number"
  17499. },
  17500. "cardnum": {
  17501. "description": "提货人证件号码",
  17502. "type": "string"
  17503. },
  17504. "cardtypeid": {
  17505. "description": "提货人证件类型",
  17506. "type": "integer"
  17507. },
  17508. "checkremark": {
  17509. "description": "审核备注",
  17510. "type": "string"
  17511. },
  17512. "currencysign": {
  17513. "description": "货币符号",
  17514. "type": "string"
  17515. },
  17516. "decimalplace": {
  17517. "description": "报价小数位",
  17518. "type": "integer"
  17519. },
  17520. "goodscode": {
  17521. "description": "商品代码(内部)",
  17522. "type": "string"
  17523. },
  17524. "goodsid": {
  17525. "description": "商品ID",
  17526. "type": "integer"
  17527. },
  17528. "goodsname": {
  17529. "description": "商品名称",
  17530. "type": "string"
  17531. },
  17532. "handlestatus": {
  17533. "description": "处理状态",
  17534. "type": "integer"
  17535. },
  17536. "marketid": {
  17537. "description": "市场ID",
  17538. "type": "integer"
  17539. },
  17540. "phonenum": {
  17541. "description": "提货人联系方式",
  17542. "type": "string"
  17543. },
  17544. "picurls": {
  17545. "description": "介绍图片[多张用逗号分隔]",
  17546. "type": "string"
  17547. },
  17548. "qty": {
  17549. "description": "提货数量",
  17550. "type": "number"
  17551. },
  17552. "recivername": {
  17553. "description": "提货人姓名",
  17554. "type": "string"
  17555. },
  17556. "reqtime": {
  17557. "description": "更新时间",
  17558. "type": "string"
  17559. },
  17560. "takemode": {
  17561. "description": "提货方式 - 2:自提 3:配送",
  17562. "type": "integer"
  17563. },
  17564. "takeorderid": {
  17565. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17566. "type": "string"
  17567. },
  17568. "takeorderstatus": {
  17569. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17570. "type": "integer"
  17571. },
  17572. "takeremark": {
  17573. "description": "提货备注",
  17574. "type": "string"
  17575. },
  17576. "tradedate": {
  17577. "description": "交易日(yyyyMMdd)",
  17578. "type": "string"
  17579. },
  17580. "trademode": {
  17581. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17582. "type": "integer"
  17583. },
  17584. "userid": {
  17585. "description": "用户ID",
  17586. "type": "integer"
  17587. },
  17588. "vendorname": {
  17589. "description": "供应商名称",
  17590. "type": "string"
  17591. }
  17592. }
  17593. },
  17594. "models.HsbyPreGoods": {
  17595. "type": "object",
  17596. "required": [
  17597. "goodscode",
  17598. "goodsid",
  17599. "goodsname",
  17600. "marketid",
  17601. "trademode"
  17602. ],
  17603. "properties": {
  17604. "agreeunit": {
  17605. "description": "合约单位",
  17606. "type": "number"
  17607. },
  17608. "currency": {
  17609. "description": "货币",
  17610. "type": "string"
  17611. },
  17612. "currencysign": {
  17613. "description": "货币符号",
  17614. "type": "string"
  17615. },
  17616. "decimalplace": {
  17617. "description": "报价小数位",
  17618. "type": "integer"
  17619. },
  17620. "desccityid": {
  17621. "description": "目的地(市)",
  17622. "type": "integer"
  17623. },
  17624. "descprovinceid": {
  17625. "description": "目的地(省)",
  17626. "type": "integer"
  17627. },
  17628. "enableqty": {
  17629. "description": "剩余数量",
  17630. "type": "integer"
  17631. },
  17632. "goodscode": {
  17633. "description": "商品代码(内部)",
  17634. "type": "string"
  17635. },
  17636. "goodsid": {
  17637. "description": "商品ID(自增ID SEQ_GOODS)",
  17638. "type": "integer"
  17639. },
  17640. "goodsname": {
  17641. "description": "商品名称",
  17642. "type": "string"
  17643. },
  17644. "goodsstatus": {
  17645. "description": "商品状态- 2:未上市 3:上市",
  17646. "type": "integer"
  17647. },
  17648. "lasttradedate": {
  17649. "description": "最后交易日期(状态:待退市)",
  17650. "type": "string"
  17651. },
  17652. "listingdate": {
  17653. "description": "交易开始日期",
  17654. "type": "string"
  17655. },
  17656. "marketid": {
  17657. "description": "所属市场ID",
  17658. "type": "integer"
  17659. },
  17660. "picurls": {
  17661. "description": "介绍图片[多张用逗号分隔]",
  17662. "type": "string"
  17663. },
  17664. "presaledqty": {
  17665. "description": "已预售量(预售结束时更新)",
  17666. "type": "integer"
  17667. },
  17668. "presaleqty": {
  17669. "description": "预售数量",
  17670. "type": "integer"
  17671. },
  17672. "quoteminunit": {
  17673. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17674. "type": "integer"
  17675. },
  17676. "refprice": {
  17677. "description": "参考价格[一口价]",
  17678. "type": "number"
  17679. },
  17680. "relatedgoodsid": {
  17681. "description": "关联交易合约ID",
  17682. "type": "integer"
  17683. },
  17684. "trademode": {
  17685. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17686. "type": "integer"
  17687. },
  17688. "videourls": {
  17689. "description": "介绍视频[多张用逗号分隔]",
  17690. "type": "string"
  17691. }
  17692. }
  17693. },
  17694. "models.HsbyPreGoodsDetail": {
  17695. "type": "object",
  17696. "required": [
  17697. "goodscode",
  17698. "goodsid",
  17699. "goodsname",
  17700. "marketid",
  17701. "trademode"
  17702. ],
  17703. "properties": {
  17704. "agreeunit": {
  17705. "description": "合约单位",
  17706. "type": "number"
  17707. },
  17708. "buymaxqty": {
  17709. "description": "购买上限 [71] - 0为不限",
  17710. "type": "integer"
  17711. },
  17712. "currency": {
  17713. "description": "货币",
  17714. "type": "string"
  17715. },
  17716. "currencysign": {
  17717. "description": "货币符号",
  17718. "type": "string"
  17719. },
  17720. "customername": {
  17721. "description": "发行单位",
  17722. "type": "string"
  17723. },
  17724. "decimalplace": {
  17725. "description": "报价小数位",
  17726. "type": "integer"
  17727. },
  17728. "desccityid": {
  17729. "description": "目的地(市)ID",
  17730. "type": "integer"
  17731. },
  17732. "descprovinceid": {
  17733. "description": "目的地(省)ID",
  17734. "type": "integer"
  17735. },
  17736. "enableqty": {
  17737. "description": "剩余数量",
  17738. "type": "integer"
  17739. },
  17740. "goodscode": {
  17741. "description": "商品代码(内部)",
  17742. "type": "string"
  17743. },
  17744. "goodsdesc": {
  17745. "description": "商品详情",
  17746. "type": "string"
  17747. },
  17748. "goodsid": {
  17749. "description": "商品ID(自增ID SEQ_GOODS)",
  17750. "type": "integer"
  17751. },
  17752. "goodsname": {
  17753. "description": "商品名称",
  17754. "type": "string"
  17755. },
  17756. "goodsstatus": {
  17757. "description": "商品状态- 2:未上市 3:上市",
  17758. "type": "integer"
  17759. },
  17760. "goodunit": {
  17761. "description": "报价单位",
  17762. "type": "string"
  17763. },
  17764. "lasttradedate": {
  17765. "description": "最后交易日期(状态:待退市)",
  17766. "type": "string"
  17767. },
  17768. "listingdate": {
  17769. "description": "交易开始日期",
  17770. "type": "string"
  17771. },
  17772. "lotsize": {
  17773. "description": "手数最小变动单位",
  17774. "type": "integer"
  17775. },
  17776. "marketid": {
  17777. "description": "所属市场ID",
  17778. "type": "integer"
  17779. },
  17780. "picurls": {
  17781. "description": "介绍图片[多张用逗号分隔]",
  17782. "type": "string"
  17783. },
  17784. "presaledqty": {
  17785. "description": "已预售量(预售结束时更新)",
  17786. "type": "integer"
  17787. },
  17788. "presaleqty": {
  17789. "description": "预售数量",
  17790. "type": "integer"
  17791. },
  17792. "quoteminunit": {
  17793. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17794. "type": "integer"
  17795. },
  17796. "refprice": {
  17797. "description": "参考价格[一口价]",
  17798. "type": "number"
  17799. },
  17800. "relatedgoodsid": {
  17801. "description": "关联交易合约ID",
  17802. "type": "integer"
  17803. },
  17804. "stepvalue": {
  17805. "description": "价格最小变动单位",
  17806. "type": "number"
  17807. },
  17808. "trademode": {
  17809. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17810. "type": "integer"
  17811. },
  17812. "vendorattr": {
  17813. "description": "供应商附件(多张,逗号分隔)",
  17814. "type": "string"
  17815. },
  17816. "vendorname": {
  17817. "description": "供应商名称",
  17818. "type": "string"
  17819. },
  17820. "vendorphone": {
  17821. "description": "供应商客服电话",
  17822. "type": "string"
  17823. },
  17824. "videourls": {
  17825. "description": "介绍视频[多张用逗号分隔]",
  17826. "type": "string"
  17827. }
  17828. }
  17829. },
  17830. "models.HsbySellCollectionOrder": {
  17831. "type": "object",
  17832. "required": [
  17833. "goodscode",
  17834. "goodsname",
  17835. "tradeid",
  17836. "trademode"
  17837. ],
  17838. "properties": {
  17839. "agreeunit": {
  17840. "description": "合约单位",
  17841. "type": "number"
  17842. },
  17843. "buyaccountid": {
  17844. "description": "买方账号ID[报价币种]",
  17845. "type": "integer"
  17846. },
  17847. "buyorderid": {
  17848. "description": "买方委托单号",
  17849. "type": "string"
  17850. },
  17851. "createtime": {
  17852. "description": "创建时间",
  17853. "type": "string"
  17854. },
  17855. "currencysign": {
  17856. "description": "货币符号",
  17857. "type": "string"
  17858. },
  17859. "decimalplace": {
  17860. "description": "报价小数位",
  17861. "type": "integer"
  17862. },
  17863. "goodscode": {
  17864. "description": "商品代码(内部)",
  17865. "type": "string"
  17866. },
  17867. "goodsid": {
  17868. "description": "商品ID",
  17869. "type": "integer"
  17870. },
  17871. "goodsname": {
  17872. "description": "商品名称",
  17873. "type": "string"
  17874. },
  17875. "marketid": {
  17876. "description": "市场ID",
  17877. "type": "integer"
  17878. },
  17879. "offamount": {
  17880. "description": "优惠金额",
  17881. "type": "number"
  17882. },
  17883. "payamount": {
  17884. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  17885. "type": "number"
  17886. },
  17887. "payflag": {
  17888. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17889. "type": "integer"
  17890. },
  17891. "paylimitedtime": {
  17892. "description": "支付期限",
  17893. "type": "string"
  17894. },
  17895. "paytime": {
  17896. "description": "付款时间",
  17897. "type": "string"
  17898. },
  17899. "picurls": {
  17900. "description": "商品介绍图片[多张用逗号分隔]",
  17901. "type": "string"
  17902. },
  17903. "sellaccountid": {
  17904. "description": "卖方账号ID[报价币种]",
  17905. "type": "integer"
  17906. },
  17907. "sellorderid": {
  17908. "description": "卖方委托单号",
  17909. "type": "string"
  17910. },
  17911. "tradeamount": {
  17912. "description": "成交金额",
  17913. "type": "number"
  17914. },
  17915. "tradecharge": {
  17916. "description": "成交手续费(买方)",
  17917. "type": "number"
  17918. },
  17919. "tradedate": {
  17920. "description": "交易日(yyyyMMdd)",
  17921. "type": "string"
  17922. },
  17923. "tradeid": {
  17924. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17925. "type": "string"
  17926. },
  17927. "trademode": {
  17928. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17929. "type": "integer"
  17930. },
  17931. "tradeprice": {
  17932. "description": "成交价格",
  17933. "type": "number"
  17934. },
  17935. "tradeqty": {
  17936. "description": "成交数量",
  17937. "type": "integer"
  17938. }
  17939. }
  17940. },
  17941. "models.HsbySellMyDetail": {
  17942. "type": "object",
  17943. "required": [
  17944. "accountid",
  17945. "buyorsell",
  17946. "goodscode",
  17947. "goodsid",
  17948. "goodsname",
  17949. "marketid",
  17950. "orderid",
  17951. "time",
  17952. "trademode"
  17953. ],
  17954. "properties": {
  17955. "accountid": {
  17956. "description": "账户ID[报价币种]",
  17957. "type": "integer"
  17958. },
  17959. "agreeunit": {
  17960. "description": "合约单位",
  17961. "type": "number"
  17962. },
  17963. "buyorsell": {
  17964. "description": "买卖 - 0:买 1:卖",
  17965. "type": "integer"
  17966. },
  17967. "currencysign": {
  17968. "description": "货币符号",
  17969. "type": "string"
  17970. },
  17971. "decimalplace": {
  17972. "description": "报价小数位",
  17973. "type": "integer"
  17974. },
  17975. "goodscode": {
  17976. "description": "商品代码(内部)",
  17977. "type": "string"
  17978. },
  17979. "goodsid": {
  17980. "description": "商品ID",
  17981. "type": "integer"
  17982. },
  17983. "goodsname": {
  17984. "description": "商品名称",
  17985. "type": "string"
  17986. },
  17987. "marketid": {
  17988. "description": "市场ID",
  17989. "type": "integer"
  17990. },
  17991. "orderid": {
  17992. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  17993. "type": "string"
  17994. },
  17995. "ordertype": {
  17996. "description": "单据类型:0 - 发布中, 1 - 已完成",
  17997. "type": "integer"
  17998. },
  17999. "picurls": {
  18000. "description": "介绍图片[多张用逗号分隔]",
  18001. "type": "string"
  18002. },
  18003. "price": {
  18004. "description": "价格",
  18005. "type": "number"
  18006. },
  18007. "qty": {
  18008. "description": "数量",
  18009. "type": "integer"
  18010. },
  18011. "time": {
  18012. "description": "时间",
  18013. "type": "string"
  18014. },
  18015. "trademode": {
  18016. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18017. "type": "integer"
  18018. },
  18019. "vendorname": {
  18020. "description": "供应商名称",
  18021. "type": "string"
  18022. }
  18023. }
  18024. },
  18025. "models.HsbyTopGoods": {
  18026. "type": "object",
  18027. "required": [
  18028. "goodscode",
  18029. "goodsid",
  18030. "goodsname",
  18031. "marketid",
  18032. "trademode"
  18033. ],
  18034. "properties": {
  18035. "agreeunit": {
  18036. "description": "合约单位",
  18037. "type": "number"
  18038. },
  18039. "currency": {
  18040. "description": "货币",
  18041. "type": "string"
  18042. },
  18043. "currencysign": {
  18044. "description": "货币符号",
  18045. "type": "string"
  18046. },
  18047. "decimalplace": {
  18048. "description": "报价小数位",
  18049. "type": "integer"
  18050. },
  18051. "desccityid": {
  18052. "description": "目的地(市)",
  18053. "type": "integer"
  18054. },
  18055. "descprovinceid": {
  18056. "description": "目的地(省)",
  18057. "type": "integer"
  18058. },
  18059. "goodscode": {
  18060. "description": "商品代码(内部)",
  18061. "type": "string"
  18062. },
  18063. "goodsid": {
  18064. "description": "商品ID(自增ID SEQ_GOODS)",
  18065. "type": "integer"
  18066. },
  18067. "goodsname": {
  18068. "description": "商品名称",
  18069. "type": "string"
  18070. },
  18071. "hotindex": {
  18072. "description": "景点热度",
  18073. "type": "integer"
  18074. },
  18075. "last": {
  18076. "description": "现价",
  18077. "type": "number"
  18078. },
  18079. "marketid": {
  18080. "description": "所属市场ID",
  18081. "type": "integer"
  18082. },
  18083. "picurls": {
  18084. "description": "介绍图片[多张用逗号分隔]",
  18085. "type": "string"
  18086. },
  18087. "quoteminunit": {
  18088. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18089. "type": "integer"
  18090. },
  18091. "trademode": {
  18092. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18093. "type": "integer"
  18094. },
  18095. "videourls": {
  18096. "description": "介绍视频[多张用逗号分隔]",
  18097. "type": "string"
  18098. }
  18099. }
  18100. },
  18101. "models.HybsMyBuyOrderDetail": {
  18102. "type": "object",
  18103. "required": [
  18104. "accountid",
  18105. "buyorsell",
  18106. "goodscode",
  18107. "goodsid",
  18108. "goodsname",
  18109. "marketid",
  18110. "orderid",
  18111. "orderqty",
  18112. "ordertime",
  18113. "trademode"
  18114. ],
  18115. "properties": {
  18116. "accountid": {
  18117. "description": "账户ID[报价币种]",
  18118. "type": "integer"
  18119. },
  18120. "agreeunit": {
  18121. "description": "合约单位",
  18122. "type": "number"
  18123. },
  18124. "buyorsell": {
  18125. "description": "买卖 - 0:买 1:卖",
  18126. "type": "integer"
  18127. },
  18128. "cancelqty": {
  18129. "description": "撤单数量",
  18130. "type": "integer"
  18131. },
  18132. "currencysign": {
  18133. "description": "货币符号",
  18134. "type": "string"
  18135. },
  18136. "decimalplace": {
  18137. "description": "报价小数位",
  18138. "type": "integer"
  18139. },
  18140. "goodscode": {
  18141. "description": "商品代码(内部)",
  18142. "type": "string"
  18143. },
  18144. "goodsid": {
  18145. "description": "商品ID",
  18146. "type": "integer"
  18147. },
  18148. "goodsname": {
  18149. "description": "商品名称",
  18150. "type": "string"
  18151. },
  18152. "listingselecttype": {
  18153. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18154. "type": "integer"
  18155. },
  18156. "marketid": {
  18157. "description": "市场ID",
  18158. "type": "integer"
  18159. },
  18160. "mybuystatus": {
  18161. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  18162. "type": "integer"
  18163. },
  18164. "orderamount": {
  18165. "description": "委托金额",
  18166. "type": "number"
  18167. },
  18168. "orderid": {
  18169. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18170. "type": "string"
  18171. },
  18172. "orderprice": {
  18173. "description": "委托价格",
  18174. "type": "number"
  18175. },
  18176. "orderqty": {
  18177. "description": "委托数量",
  18178. "type": "integer"
  18179. },
  18180. "orderstatus": {
  18181. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18182. "type": "integer"
  18183. },
  18184. "ordertime": {
  18185. "description": "委托时间",
  18186. "type": "string"
  18187. },
  18188. "picurls1": {
  18189. "description": "预售商品介绍图片[多张用逗号分隔]",
  18190. "type": "string"
  18191. },
  18192. "picurls2": {
  18193. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18194. "type": "string"
  18195. },
  18196. "trademode": {
  18197. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18198. "type": "integer"
  18199. },
  18200. "tradeqty": {
  18201. "description": "成交数量",
  18202. "type": "integer"
  18203. },
  18204. "vendorname1": {
  18205. "description": "预售商品供应商名称",
  18206. "type": "string"
  18207. },
  18208. "vendorname2": {
  18209. "description": "挂牌商品供应商名称",
  18210. "type": "string"
  18211. }
  18212. }
  18213. },
  18214. "models.Loginaccount": {
  18215. "type": "object",
  18216. "required": [
  18217. "loginid"
  18218. ],
  18219. "properties": {
  18220. "canoutin": {
  18221. "description": "是否可出入金 - 0:不可 1:可",
  18222. "type": "integer"
  18223. },
  18224. "clientroleid": {
  18225. "description": "终端角色ID",
  18226. "type": "integer"
  18227. },
  18228. "haslogined": {
  18229. "description": "是否已登录 - 0:未登录 1:已登录",
  18230. "type": "integer"
  18231. },
  18232. "hasupdatedpwd": {
  18233. "description": "是否已更改密码 - 0:未修改 1:已修改",
  18234. "type": "integer"
  18235. },
  18236. "lastloginip": {
  18237. "description": "最新登录地址",
  18238. "type": "string"
  18239. },
  18240. "lastloginmode": {
  18241. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18242. "type": "integer"
  18243. },
  18244. "lastloginremark": {
  18245. "description": "最新登录描述",
  18246. "type": "string"
  18247. },
  18248. "lastlogintime": {
  18249. "description": "最新登录时间",
  18250. "type": "string"
  18251. },
  18252. "logincode": {
  18253. "description": "登录代码",
  18254. "type": "string"
  18255. },
  18256. "loginfailnum": {
  18257. "description": "连续登录失败次数(登录成功时清零)",
  18258. "type": "integer"
  18259. },
  18260. "loginid": {
  18261. "description": "登陆账号",
  18262. "type": "integer"
  18263. },
  18264. "loginport": {
  18265. "description": "最新登录端口",
  18266. "type": "integer"
  18267. },
  18268. "loginstatus": {
  18269. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  18270. "type": "integer"
  18271. },
  18272. "loginusertype": {
  18273. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  18274. "type": "integer"
  18275. },
  18276. "modifierid": {
  18277. "description": "修改人",
  18278. "type": "integer"
  18279. },
  18280. "modifytime": {
  18281. "description": "修改时间",
  18282. "type": "string"
  18283. },
  18284. "pwdwrongcount": {
  18285. "description": "密码错误次数",
  18286. "type": "integer"
  18287. },
  18288. "taaccountrighttype": {
  18289. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  18290. "type": "integer"
  18291. },
  18292. "unfreezetime": {
  18293. "description": "账户解冻时间",
  18294. "type": "string"
  18295. },
  18296. "userid": {
  18297. "description": "用户ID",
  18298. "type": "integer"
  18299. }
  18300. }
  18301. },
  18302. "models.MainAccountInfo": {
  18303. "type": "object",
  18304. "properties": {
  18305. "accountid": {
  18306. "description": "账号id",
  18307. "type": "integer"
  18308. },
  18309. "accountname": {
  18310. "description": "账号名称(taaccount表中的名称)",
  18311. "type": "string"
  18312. },
  18313. "appid": {
  18314. "description": "AppID",
  18315. "type": "string"
  18316. },
  18317. "authcode": {
  18318. "description": "授权码",
  18319. "type": "string"
  18320. },
  18321. "brokerid": {
  18322. "description": "经纪商id",
  18323. "type": "string"
  18324. },
  18325. "fcid": {
  18326. "description": "期货公司id",
  18327. "type": "integer"
  18328. },
  18329. "fcname": {
  18330. "description": "期货公司代码",
  18331. "type": "string"
  18332. },
  18333. "hedgeaccountcode": {
  18334. "description": "外部账号代码(主账号登录代码)",
  18335. "type": "string"
  18336. },
  18337. "hedgeaccountpwd": {
  18338. "description": "密码",
  18339. "type": "string"
  18340. },
  18341. "ismain": {
  18342. "description": "是否主账号",
  18343. "type": "integer"
  18344. },
  18345. "relateduserid": {
  18346. "description": "关联用户id",
  18347. "type": "integer"
  18348. },
  18349. "userid": {
  18350. "description": "关联用户id",
  18351. "type": "integer"
  18352. }
  18353. }
  18354. },
  18355. "models.Market": {
  18356. "type": "object",
  18357. "required": [
  18358. "marketid",
  18359. "marketstatus",
  18360. "openmethod",
  18361. "reckonpricealgorithm",
  18362. "trademode",
  18363. "tradeproperty"
  18364. ],
  18365. "properties": {
  18366. "auctionwrtype": {
  18367. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  18368. "type": "integer"
  18369. },
  18370. "canacceptquote": {
  18371. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  18372. "type": "integer"
  18373. },
  18374. "cangoodsexercise": {
  18375. "description": "[期权]是否可现货行权- 0:否 1:是",
  18376. "type": "integer"
  18377. },
  18378. "cangoodsexercisetype": {
  18379. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  18380. "type": "integer"
  18381. },
  18382. "canmanualquotestrike": {
  18383. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  18384. "type": "integer"
  18385. },
  18386. "canmutistage": {
  18387. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  18388. "type": "integer"
  18389. },
  18390. "canpreexercise": {
  18391. "description": "[期权]是否可预申报- 0:否 1:是",
  18392. "type": "integer"
  18393. },
  18394. "clearinterval": {
  18395. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  18396. "type": "integer"
  18397. },
  18398. "contracttmp": {
  18399. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  18400. "type": "string"
  18401. },
  18402. "exchareaid": {
  18403. "description": "所属交易所,可以没有",
  18404. "type": "integer"
  18405. },
  18406. "goodstype": {
  18407. "description": "商品类型 - 1:交易商品 2:仓单商品",
  18408. "type": "integer"
  18409. },
  18410. "hasrebate": {
  18411. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  18412. "type": "integer"
  18413. },
  18414. "hastradecredit": {
  18415. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  18416. "type": "integer"
  18417. },
  18418. "haswr": {
  18419. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  18420. "type": "integer"
  18421. },
  18422. "isdeductmargin": {
  18423. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  18424. "type": "integer"
  18425. },
  18426. "isrecordsource": {
  18427. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  18428. "type": "integer"
  18429. },
  18430. "isreleasemargin": {
  18431. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  18432. "type": "integer"
  18433. },
  18434. "marginformula": {
  18435. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  18436. "type": "integer"
  18437. },
  18438. "marginformula2": {
  18439. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  18440. "type": "integer"
  18441. },
  18442. "marketid": {
  18443. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18444. "type": "integer"
  18445. },
  18446. "marketname": {
  18447. "description": "市场名称",
  18448. "type": "string"
  18449. },
  18450. "marketserviceid": {
  18451. "description": "市场服务ID",
  18452. "type": "integer"
  18453. },
  18454. "marketstatus": {
  18455. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18456. "type": "integer"
  18457. },
  18458. "markettype": {
  18459. "description": "市场类型- 1:非交易服务 2:交易服务",
  18460. "type": "integer"
  18461. },
  18462. "matchermode": {
  18463. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  18464. "type": "integer"
  18465. },
  18466. "openmethod": {
  18467. "description": "开盘模式 - 0 自动 1手动",
  18468. "type": "integer"
  18469. },
  18470. "otcuserid": {
  18471. "description": "场外期权做市商[场外期权]",
  18472. "type": "integer"
  18473. },
  18474. "outersynctime": {
  18475. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  18476. "type": "string"
  18477. },
  18478. "pendingflag": {
  18479. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  18480. "type": "integer"
  18481. },
  18482. "pendingtime": {
  18483. "description": "待开市时间[通道交易-对冲](HH:mm)",
  18484. "type": "string"
  18485. },
  18486. "performancetempid": {
  18487. "description": "履约计划模板ID - 作废",
  18488. "type": "integer"
  18489. },
  18490. "premiumquotemode": {
  18491. "description": "权利金报价方式 - 1:自动 2:手动",
  18492. "type": "integer"
  18493. },
  18494. "rebateratio": {
  18495. "description": "返利比率[竞价式]",
  18496. "type": "number"
  18497. },
  18498. "reckonorder": {
  18499. "description": "结算顺序",
  18500. "type": "integer"
  18501. },
  18502. "reckonpricealgorithm": {
  18503. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  18504. "type": "integer"
  18505. },
  18506. "reckonpriceparam": {
  18507. "description": "结算价参数",
  18508. "type": "integer"
  18509. },
  18510. "reckontime": {
  18511. "description": "结算时间[通道交易-对冲](HH:mm)",
  18512. "type": "string"
  18513. },
  18514. "roleprioritytype": {
  18515. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  18516. "type": "integer"
  18517. },
  18518. "selllistingauditflag": {
  18519. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  18520. "type": "integer"
  18521. },
  18522. "trademarkettype": {
  18523. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  18524. "type": "integer"
  18525. },
  18526. "trademode": {
  18527. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18528. "type": "integer"
  18529. },
  18530. "tradeproperty": {
  18531. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  18532. "type": "integer"
  18533. },
  18534. "tradetype": {
  18535. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  18536. "type": "integer"
  18537. }
  18538. }
  18539. },
  18540. "models.Marketrun": {
  18541. "type": "object",
  18542. "required": [
  18543. "marketid",
  18544. "nexttradedate",
  18545. "reckonflag",
  18546. "runstatus",
  18547. "tradedate",
  18548. "tradedate2"
  18549. ],
  18550. "properties": {
  18551. "afternexttradedate": {
  18552. "description": "下下交易日",
  18553. "type": "string"
  18554. },
  18555. "clearquoteflag": {
  18556. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  18557. "type": "integer"
  18558. },
  18559. "lastreckondate": {
  18560. "description": "最新交易日(结算成功)",
  18561. "type": "string"
  18562. },
  18563. "machinedate": {
  18564. "description": "机器时间",
  18565. "type": "string"
  18566. },
  18567. "manualflag": {
  18568. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  18569. "type": "integer"
  18570. },
  18571. "marketid": {
  18572. "description": "市场ID",
  18573. "type": "integer"
  18574. },
  18575. "nexttradedate": {
  18576. "description": "下一交易日",
  18577. "type": "string"
  18578. },
  18579. "pretradedate": {
  18580. "description": "上一交易日",
  18581. "type": "string"
  18582. },
  18583. "reckonflag": {
  18584. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  18585. "type": "integer"
  18586. },
  18587. "runstatus": {
  18588. "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.今日免清算",
  18589. "type": "integer"
  18590. },
  18591. "sectionid": {
  18592. "description": "时间段号[多时段时用]",
  18593. "type": "integer"
  18594. },
  18595. "tradedate": {
  18596. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  18597. "type": "string"
  18598. },
  18599. "tradedate2": {
  18600. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  18601. "type": "string"
  18602. },
  18603. "updatetime": {
  18604. "description": "更新时间",
  18605. "type": "string"
  18606. }
  18607. }
  18608. },
  18609. "models.Messageboard": {
  18610. "type": "object",
  18611. "required": [
  18612. "messageboardid"
  18613. ],
  18614. "properties": {
  18615. "contactnum": {
  18616. "description": "联系电话",
  18617. "type": "string"
  18618. },
  18619. "createtime": {
  18620. "description": "创建时间",
  18621. "type": "string"
  18622. },
  18623. "message": {
  18624. "description": "留言信息",
  18625. "type": "string"
  18626. },
  18627. "messageboardid": {
  18628. "description": "留言簿ID(SEQ_MessageBoard)",
  18629. "type": "integer"
  18630. },
  18631. "userid": {
  18632. "description": "用户ID",
  18633. "type": "integer"
  18634. }
  18635. }
  18636. },
  18637. "models.MyCoupon": {
  18638. "type": "object",
  18639. "required": [
  18640. "accountid",
  18641. "coupontypeid"
  18642. ],
  18643. "properties": {
  18644. "accountid": {
  18645. "description": "资金账户ID",
  18646. "type": "integer"
  18647. },
  18648. "areauserid": {
  18649. "description": "所属机构",
  18650. "type": "integer"
  18651. },
  18652. "conditionvalue": {
  18653. "description": "条件阈值(可为0)",
  18654. "type": "number"
  18655. },
  18656. "couponcategroy": {
  18657. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  18658. "type": "integer"
  18659. },
  18660. "couponname": {
  18661. "description": "优惠券名称",
  18662. "type": "string"
  18663. },
  18664. "coupontypeid": {
  18665. "description": "优惠券类型ID",
  18666. "type": "string"
  18667. },
  18668. "couponvalue": {
  18669. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18670. "type": "number"
  18671. },
  18672. "curfreezeqty": {
  18673. "description": "期末冻结数量",
  18674. "type": "integer"
  18675. },
  18676. "curqty": {
  18677. "description": "期末数量",
  18678. "type": "integer"
  18679. },
  18680. "isgeneral": {
  18681. "description": "是否通用券 - 0:否 1:是",
  18682. "type": "integer"
  18683. },
  18684. "isunusable": {
  18685. "description": "是否不可用",
  18686. "type": "boolean"
  18687. },
  18688. "limitedflag": {
  18689. "description": "是否指定商品 - 0:不限 1:限制",
  18690. "type": "integer"
  18691. },
  18692. "limitedgoodsids": {
  18693. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  18694. "type": "string"
  18695. },
  18696. "orifreezeqty": {
  18697. "description": "期初冻结数量",
  18698. "type": "integer"
  18699. },
  18700. "oriqty": {
  18701. "description": "期初数量",
  18702. "type": "integer"
  18703. },
  18704. "reasontype": {
  18705. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  18706. "type": "integer"
  18707. },
  18708. "todaydecrease": {
  18709. "description": "今日减少",
  18710. "type": "integer"
  18711. },
  18712. "todayincrease": {
  18713. "description": "今日增加",
  18714. "type": "integer"
  18715. },
  18716. "userid": {
  18717. "description": "用户ID",
  18718. "type": "integer"
  18719. },
  18720. "userscope": {
  18721. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  18722. "type": "string"
  18723. }
  18724. }
  18725. },
  18726. "models.MyCouponHold": {
  18727. "type": "object",
  18728. "required": [
  18729. "couponholdid"
  18730. ],
  18731. "properties": {
  18732. "accountid": {
  18733. "description": "资金账户ID",
  18734. "type": "integer"
  18735. },
  18736. "conditionvalue": {
  18737. "description": "条件阈值(可为0)",
  18738. "type": "number"
  18739. },
  18740. "couponcategroy": {
  18741. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  18742. "type": "integer"
  18743. },
  18744. "couponholdid": {
  18745. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  18746. "type": "string"
  18747. },
  18748. "couponname": {
  18749. "description": "优惠券名称",
  18750. "type": "string"
  18751. },
  18752. "coupontypeid": {
  18753. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  18754. "type": "string"
  18755. },
  18756. "couponvalue": {
  18757. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18758. "type": "number"
  18759. },
  18760. "createtime": {
  18761. "description": "创建时间",
  18762. "type": "string"
  18763. },
  18764. "enddate": {
  18765. "description": "结束日期",
  18766. "type": "string"
  18767. },
  18768. "giveapplyid": {
  18769. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  18770. "type": "integer"
  18771. },
  18772. "holdstatus": {
  18773. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  18774. "type": "integer"
  18775. },
  18776. "isgeneral": {
  18777. "description": "是否通用券 - 0:否 1:是",
  18778. "type": "integer"
  18779. },
  18780. "limitedflag": {
  18781. "description": "是否指定商品 - 0:不限 1:限制",
  18782. "type": "integer"
  18783. },
  18784. "limitedgoodsids": {
  18785. "description": "指定商品IDs[逗号分隔]",
  18786. "type": "string"
  18787. },
  18788. "qty": {
  18789. "description": "数量(按1平铺)",
  18790. "type": "integer"
  18791. },
  18792. "startdate": {
  18793. "description": "开始日期",
  18794. "type": "string"
  18795. },
  18796. "userid": {
  18797. "description": "用户ID",
  18798. "type": "integer"
  18799. },
  18800. "userscope": {
  18801. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  18802. "type": "string"
  18803. }
  18804. }
  18805. },
  18806. "models.MyUsedCoupon": {
  18807. "type": "object",
  18808. "required": [
  18809. "coupontypeid",
  18810. "orderid"
  18811. ],
  18812. "properties": {
  18813. "accountid": {
  18814. "description": "资金账户ID(买方)",
  18815. "type": "integer"
  18816. },
  18817. "conditionvalue": {
  18818. "description": "条件阈值(可为0)",
  18819. "type": "number"
  18820. },
  18821. "couponcategroy": {
  18822. "description": "种类 - 1:现金券 2:折扣券",
  18823. "type": "integer"
  18824. },
  18825. "couponname": {
  18826. "description": "优惠券名称",
  18827. "type": "string"
  18828. },
  18829. "coupontypeid": {
  18830. "description": "优惠券类型ID(买方)",
  18831. "type": "string"
  18832. },
  18833. "couponvalue": {
  18834. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  18835. "type": "number"
  18836. },
  18837. "createtime": {
  18838. "description": "创建时间",
  18839. "type": "string"
  18840. },
  18841. "goodsid": {
  18842. "description": "商品ID",
  18843. "type": "integer"
  18844. },
  18845. "handlestatus": {
  18846. "description": "处理状态",
  18847. "type": "integer"
  18848. },
  18849. "marketid": {
  18850. "description": "市场ID",
  18851. "type": "integer"
  18852. },
  18853. "offamount": {
  18854. "description": "优惠金额",
  18855. "type": "number"
  18856. },
  18857. "orderid": {
  18858. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18859. "type": "string"
  18860. },
  18861. "sellaccountid": {
  18862. "description": "资金账户ID(卖方)",
  18863. "type": "integer"
  18864. },
  18865. "tradeamount": {
  18866. "description": "成交金额",
  18867. "type": "number"
  18868. },
  18869. "tradeid": {
  18870. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18871. "type": "string"
  18872. },
  18873. "usedqty": {
  18874. "description": "使用数量",
  18875. "type": "integer"
  18876. }
  18877. }
  18878. },
  18879. "models.OperationPrimaryMenu": {
  18880. "type": "object",
  18881. "properties": {
  18882. "Children": {
  18883. "description": "二级功能菜单",
  18884. "type": "array",
  18885. "items": {
  18886. "$ref": "#/definitions/models.OperationSecondaryMenu"
  18887. }
  18888. },
  18889. "Key": {
  18890. "description": "菜单KEY",
  18891. "type": "string"
  18892. },
  18893. "Label": {
  18894. "description": "菜单标题",
  18895. "type": "string"
  18896. }
  18897. }
  18898. },
  18899. "models.OperationSecondaryMenu": {
  18900. "type": "object",
  18901. "properties": {
  18902. "Key": {
  18903. "description": "菜单KEY",
  18904. "type": "string"
  18905. },
  18906. "Label": {
  18907. "description": "菜单标题",
  18908. "type": "string"
  18909. },
  18910. "TabList": {
  18911. "description": "三级功能菜单",
  18912. "type": "array",
  18913. "items": {
  18914. "$ref": "#/definitions/models.OperationTabMenu"
  18915. }
  18916. }
  18917. }
  18918. },
  18919. "models.OperationTabMenu": {
  18920. "type": "object",
  18921. "properties": {
  18922. "Key": {
  18923. "description": "菜单KEY",
  18924. "type": "string"
  18925. },
  18926. "Label": {
  18927. "description": "菜单标题",
  18928. "type": "string"
  18929. }
  18930. }
  18931. },
  18932. "models.PendingAuditBizModel": {
  18933. "type": "object",
  18934. "properties": {
  18935. "accountid": {
  18936. "description": "现货账户",
  18937. "type": "string"
  18938. },
  18939. "areaname": {
  18940. "description": "所属部门",
  18941. "type": "string"
  18942. },
  18943. "bizid": {
  18944. "description": "业务ID",
  18945. "type": "string"
  18946. },
  18947. "bizname": {
  18948. "description": "业务名称",
  18949. "type": "string"
  18950. },
  18951. "status": {
  18952. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18953. "type": "integer"
  18954. },
  18955. "type": {
  18956. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18957. "type": "integer"
  18958. }
  18959. }
  18960. },
  18961. "models.QueryErrorInfosRsp": {
  18962. "type": "object",
  18963. "required": [
  18964. "errorid"
  18965. ],
  18966. "properties": {
  18967. "description": {
  18968. "description": "异常描述",
  18969. "type": "string"
  18970. },
  18971. "errorcode": {
  18972. "description": "异常代码",
  18973. "type": "string"
  18974. },
  18975. "errorid": {
  18976. "description": "异常ID",
  18977. "type": "integer"
  18978. },
  18979. "modulecode": {
  18980. "description": "所属模块",
  18981. "type": "string"
  18982. },
  18983. "operatecode": {
  18984. "description": "所属操作",
  18985. "type": "string"
  18986. },
  18987. "rownumber": {
  18988. "description": "行号",
  18989. "type": "string"
  18990. }
  18991. }
  18992. },
  18993. "models.QueryHedgeOrderDetailRsp": {
  18994. "type": "object",
  18995. "properties": {
  18996. "accountid": {
  18997. "description": "账户ID",
  18998. "type": "integer"
  18999. },
  19000. "buyorsell": {
  19001. "description": "买卖 - 0:买 1:卖",
  19002. "type": "integer"
  19003. },
  19004. "cancellogincode": {
  19005. "description": "撤单人",
  19006. "type": "string"
  19007. },
  19008. "channelbuildtype": {
  19009. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  19010. "type": "integer"
  19011. },
  19012. "channelinnerorderstatus": {
  19013. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  19014. "type": "integer"
  19015. },
  19016. "channeloperatetype": {
  19017. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  19018. "type": "integer"
  19019. },
  19020. "closetype": {
  19021. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19022. "type": "integer"
  19023. },
  19024. "curexchangerate": {
  19025. "description": "当前汇率",
  19026. "type": "number"
  19027. },
  19028. "exchangefullname": {
  19029. "description": "外部交易所全称",
  19030. "type": "string"
  19031. },
  19032. "goodscode": {
  19033. "description": "商品代码(内部)",
  19034. "type": "string"
  19035. },
  19036. "goodsid": {
  19037. "description": "商品ID",
  19038. "type": "integer"
  19039. },
  19040. "goodsname": {
  19041. "description": "商品名称",
  19042. "type": "string"
  19043. },
  19044. "marketid": {
  19045. "description": "市场ID",
  19046. "type": "integer"
  19047. },
  19048. "openfreezemargin": {
  19049. "description": "冻结保证金(冻结交易金额)",
  19050. "type": "number"
  19051. },
  19052. "orderid": {
  19053. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19054. "type": "string"
  19055. },
  19056. "orderlogincode": {
  19057. "description": "委托人",
  19058. "type": "string"
  19059. },
  19060. "orderprice": {
  19061. "description": "委托价格(账户)",
  19062. "type": "number"
  19063. },
  19064. "orderqty": {
  19065. "description": "委托数量",
  19066. "type": "integer"
  19067. },
  19068. "ordertime": {
  19069. "description": "委托时间",
  19070. "type": "string"
  19071. },
  19072. "pricemode": {
  19073. "description": "取价方式 - 1:市价 2: 限价",
  19074. "type": "integer"
  19075. },
  19076. "tradedate": {
  19077. "description": "交易日(yyyyMMdd)",
  19078. "type": "string"
  19079. },
  19080. "tradeqty": {
  19081. "description": "成交数量",
  19082. "type": "integer"
  19083. }
  19084. }
  19085. },
  19086. "models.QueryHedgeTradeDetailRsp": {
  19087. "type": "object",
  19088. "properties": {
  19089. "accountid": {
  19090. "description": "账号ID",
  19091. "type": "integer"
  19092. },
  19093. "buyorsell": {
  19094. "description": "方向 - 0:买 1:卖",
  19095. "type": "integer"
  19096. },
  19097. "channelbuildtype": {
  19098. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19099. "type": "integer"
  19100. },
  19101. "closecharge": {
  19102. "description": "平仓手续费(账户)",
  19103. "type": "number"
  19104. },
  19105. "closecharge2": {
  19106. "description": "平仓手续费(商品)",
  19107. "type": "number"
  19108. },
  19109. "closepl": {
  19110. "description": "平仓盈亏(账户)",
  19111. "type": "number"
  19112. },
  19113. "closepl2": {
  19114. "description": "平仓盈亏(商品)",
  19115. "type": "number"
  19116. },
  19117. "closepl3": {
  19118. "description": "平仓盈亏(账户)(逐笔)",
  19119. "type": "number"
  19120. },
  19121. "closepl4": {
  19122. "description": "平仓盈亏(商品)(逐笔)",
  19123. "type": "number"
  19124. },
  19125. "closetype": {
  19126. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19127. "type": "integer"
  19128. },
  19129. "curexchangerate": {
  19130. "description": "当前汇率",
  19131. "type": "number"
  19132. },
  19133. "exchangefullname": {
  19134. "description": "外部交易所全称",
  19135. "type": "string"
  19136. },
  19137. "goodscode": {
  19138. "description": "商品代码(内部)",
  19139. "type": "string"
  19140. },
  19141. "goodsid": {
  19142. "description": "商品ID",
  19143. "type": "integer"
  19144. },
  19145. "goodsname": {
  19146. "description": "商品名称",
  19147. "type": "string"
  19148. },
  19149. "marketid": {
  19150. "description": "市场ID",
  19151. "type": "integer"
  19152. },
  19153. "opencharge": {
  19154. "description": "建仓手续费(账户)",
  19155. "type": "number"
  19156. },
  19157. "opencharge2": {
  19158. "description": "建仓手续费(商品)",
  19159. "type": "number"
  19160. },
  19161. "orderid": {
  19162. "description": "委托单号",
  19163. "type": "string"
  19164. },
  19165. "orderlogincode": {
  19166. "description": "委托人",
  19167. "type": "string"
  19168. },
  19169. "tradeamount": {
  19170. "description": "成交金额(账户)",
  19171. "type": "number"
  19172. },
  19173. "tradedate": {
  19174. "description": "交易日(yyyyMMdd)",
  19175. "type": "string"
  19176. },
  19177. "tradeid": {
  19178. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19179. "type": "string"
  19180. },
  19181. "tradeprice": {
  19182. "description": "成交价格",
  19183. "type": "number"
  19184. },
  19185. "tradeqty": {
  19186. "description": "成交数量",
  19187. "type": "integer"
  19188. },
  19189. "tradetime": {
  19190. "description": "成交时间",
  19191. "type": "string"
  19192. },
  19193. "tradetype": {
  19194. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  19195. "type": "integer"
  19196. }
  19197. }
  19198. },
  19199. "models.QuotePrimaryMenu": {
  19200. "type": "object",
  19201. "properties": {
  19202. "Index": {
  19203. "description": "序号",
  19204. "type": "integer"
  19205. },
  19206. "Key": {
  19207. "description": "键名",
  19208. "type": "string"
  19209. },
  19210. "Name": {
  19211. "description": "菜单名称",
  19212. "type": "string"
  19213. },
  19214. "SubMenus": {
  19215. "description": "子菜单",
  19216. "type": "array",
  19217. "items": {
  19218. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  19219. }
  19220. },
  19221. "SubTitleType": {
  19222. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  19223. "type": "integer"
  19224. },
  19225. "TradeModes": {
  19226. "description": "包含市场交易类型",
  19227. "type": "string"
  19228. }
  19229. }
  19230. },
  19231. "models.QuoteSecondaryMenu": {
  19232. "type": "object",
  19233. "properties": {
  19234. "ExExchangeCode": {
  19235. "description": "外部交易所代码",
  19236. "type": "string"
  19237. },
  19238. "ExExchangeID": {
  19239. "description": "外部交易所ID",
  19240. "type": "integer"
  19241. },
  19242. "GoodsGroupIDs": {
  19243. "description": "商品组ID列表",
  19244. "type": "array",
  19245. "items": {
  19246. "type": "integer"
  19247. }
  19248. },
  19249. "Index": {
  19250. "description": "序号",
  19251. "type": "integer"
  19252. },
  19253. "MarketID": {
  19254. "description": "市场ID",
  19255. "type": "integer"
  19256. },
  19257. "MenuTitle": {
  19258. "description": "菜单标题(市场名称或外部交易所名称)",
  19259. "type": "string"
  19260. },
  19261. "TradeMode": {
  19262. "description": "交易模式",
  19263. "type": "integer"
  19264. }
  19265. }
  19266. },
  19267. "models.SearchGoods": {
  19268. "type": "object",
  19269. "required": [
  19270. "goodscode",
  19271. "goodsid",
  19272. "goodsname",
  19273. "marketid",
  19274. "trademode"
  19275. ],
  19276. "properties": {
  19277. "goodscode": {
  19278. "description": "商品代码(内部)",
  19279. "type": "string"
  19280. },
  19281. "goodsid": {
  19282. "description": "商品ID(自增ID SEQ_GOODS)",
  19283. "type": "integer"
  19284. },
  19285. "goodsname": {
  19286. "description": "商品名称",
  19287. "type": "string"
  19288. },
  19289. "marketid": {
  19290. "description": "所属市场ID",
  19291. "type": "integer"
  19292. },
  19293. "marketname": {
  19294. "description": "市场名称",
  19295. "type": "string"
  19296. },
  19297. "trademode": {
  19298. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19299. "type": "integer"
  19300. }
  19301. }
  19302. },
  19303. "models.Systemparam": {
  19304. "type": "object",
  19305. "required": [
  19306. "paramcode"
  19307. ],
  19308. "properties": {
  19309. "loginid": {
  19310. "description": "更新用户账号,登录账号",
  19311. "type": "string"
  19312. },
  19313. "modifyflag": {
  19314. "description": "修改标志0 不允许修改 1 允许修改",
  19315. "type": "integer"
  19316. },
  19317. "paramcode": {
  19318. "description": "参数代码",
  19319. "type": "string"
  19320. },
  19321. "paramname": {
  19322. "description": "参数名",
  19323. "type": "string"
  19324. },
  19325. "paramtype": {
  19326. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  19327. "type": "integer"
  19328. },
  19329. "paramvalue": {
  19330. "description": "参数值",
  19331. "type": "string"
  19332. },
  19333. "paramvalue2": {
  19334. "description": "参数值(CLOB)",
  19335. "type": "string"
  19336. },
  19337. "regexpress": {
  19338. "description": "正则表达式",
  19339. "type": "string"
  19340. },
  19341. "remark": {
  19342. "description": "备注",
  19343. "type": "string"
  19344. },
  19345. "serverip": {
  19346. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  19347. "type": "string"
  19348. },
  19349. "showflag": {
  19350. "description": "是否显示0 不显示 1 显示",
  19351. "type": "integer"
  19352. },
  19353. "updatetime": {
  19354. "description": "更新时间",
  19355. "type": "string"
  19356. },
  19357. "userid": {
  19358. "description": "更新用户ID",
  19359. "type": "integer"
  19360. }
  19361. }
  19362. },
  19363. "models.Szdz3convertconfig": {
  19364. "type": "object",
  19365. "required": [
  19366. "converttype",
  19367. "innergoodsid",
  19368. "outergoodscode"
  19369. ],
  19370. "properties": {
  19371. "canin": {
  19372. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  19373. "type": "integer"
  19374. },
  19375. "canout": {
  19376. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  19377. "type": "integer"
  19378. },
  19379. "converttype": {
  19380. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  19381. "type": "integer"
  19382. },
  19383. "createtime": {
  19384. "description": "创建时间",
  19385. "type": "string"
  19386. },
  19387. "creatorid": {
  19388. "description": "创建人",
  19389. "type": "integer"
  19390. },
  19391. "daymaxvalue": {
  19392. "description": "当日最大转入限制",
  19393. "type": "number"
  19394. },
  19395. "freezedays": {
  19396. "description": "冻结天数 [5:花生米转交易]",
  19397. "type": "integer"
  19398. },
  19399. "innergoodsid": {
  19400. "description": "内部商品ID[交易]",
  19401. "type": "integer"
  19402. },
  19403. "inratio": {
  19404. "description": "目标值",
  19405. "type": "integer"
  19406. },
  19407. "modifierid": {
  19408. "description": "修改人",
  19409. "type": "integer"
  19410. },
  19411. "modifytime": {
  19412. "description": "修改时间",
  19413. "type": "string"
  19414. },
  19415. "outergoodscode": {
  19416. "description": "外部商品代码[JD\\PD]",
  19417. "type": "string"
  19418. },
  19419. "outratio": {
  19420. "description": "源值",
  19421. "type": "integer"
  19422. },
  19423. "pddecimalplace": {
  19424. "description": "PD小数位",
  19425. "type": "integer"
  19426. },
  19427. "timemaxvalue": {
  19428. "description": "单次最大转入限制",
  19429. "type": "number"
  19430. },
  19431. "timeminvalue": {
  19432. "description": "单次最小转入限制",
  19433. "type": "number"
  19434. }
  19435. }
  19436. },
  19437. "models.Szdz3searchwhitelist": {
  19438. "type": "object",
  19439. "required": [
  19440. "userid"
  19441. ],
  19442. "properties": {
  19443. "createtime": {
  19444. "description": "创建时间",
  19445. "type": "string"
  19446. },
  19447. "creatorid": {
  19448. "description": "创建人",
  19449. "type": "integer"
  19450. },
  19451. "modifierid": {
  19452. "description": "修改人",
  19453. "type": "integer"
  19454. },
  19455. "modifytime": {
  19456. "description": "修改时间",
  19457. "type": "string"
  19458. },
  19459. "userid": {
  19460. "description": "用户ID",
  19461. "type": "integer"
  19462. }
  19463. }
  19464. },
  19465. "models.Taaccount": {
  19466. "type": "object",
  19467. "required": [
  19468. "accountid",
  19469. "userid"
  19470. ],
  19471. "properties": {
  19472. "accountflag": {
  19473. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  19474. "type": "integer"
  19475. },
  19476. "accountid": {
  19477. "description": "资金账户ID",
  19478. "type": "integer"
  19479. },
  19480. "accountname": {
  19481. "description": "账户名称",
  19482. "type": "string"
  19483. },
  19484. "balance": {
  19485. "description": "期初余额",
  19486. "type": "number"
  19487. },
  19488. "capitalbalance": {
  19489. "description": "本金余额[外部子账户实际出入金余额]",
  19490. "type": "number"
  19491. },
  19492. "changeflag": {
  19493. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  19494. "type": "integer"
  19495. },
  19496. "changetime": {
  19497. "description": "账户状态变更时间",
  19498. "type": "string"
  19499. },
  19500. "closepl": {
  19501. "description": "今日平仓盈亏",
  19502. "type": "number"
  19503. },
  19504. "creditdecrease": {
  19505. "description": "今日授信减少",
  19506. "type": "number"
  19507. },
  19508. "creditincrease": {
  19509. "description": "今日授信增加",
  19510. "type": "number"
  19511. },
  19512. "currencyid": {
  19513. "description": "货币ID",
  19514. "type": "integer"
  19515. },
  19516. "currentbalance": {
  19517. "description": "期末余额",
  19518. "type": "number"
  19519. },
  19520. "freezecharge": {
  19521. "description": "手续费冻结",
  19522. "type": "number"
  19523. },
  19524. "freezemargin": {
  19525. "description": "冻结保证金",
  19526. "type": "number"
  19527. },
  19528. "fromaccountid": {
  19529. "description": "所属上级账户",
  19530. "type": "integer"
  19531. },
  19532. "inamount": {
  19533. "description": "今日入金金额(包括三方入金)",
  19534. "type": "number"
  19535. },
  19536. "ismain": {
  19537. "description": "是否母账号 0:不是母账户 1:是母账户",
  19538. "type": "integer"
  19539. },
  19540. "ismarketaccount": {
  19541. "description": "是否机构接单账号 0:不是 1:是",
  19542. "type": "integer"
  19543. },
  19544. "isreckonaccount": {
  19545. "description": "是否机构分润账号 0:不是 1:是",
  19546. "type": "integer"
  19547. },
  19548. "mortgagecredit": {
  19549. "description": "授信金额",
  19550. "type": "number"
  19551. },
  19552. "orifreezecharge": {
  19553. "description": "期初手续费冻结",
  19554. "type": "number"
  19555. },
  19556. "orifreezemargin": {
  19557. "description": "期初冻结保证金",
  19558. "type": "number"
  19559. },
  19560. "orimortgagecredit": {
  19561. "description": "期初授信金额",
  19562. "type": "number"
  19563. },
  19564. "oriothercredit": {
  19565. "description": "期初其它授信金额",
  19566. "type": "number"
  19567. },
  19568. "oriotherfreezemargin": {
  19569. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19570. "type": "number"
  19571. },
  19572. "orioutamountfreeze": {
  19573. "description": "期初出金冻结",
  19574. "type": "number"
  19575. },
  19576. "oriusedmargin": {
  19577. "description": "期初占用保证金",
  19578. "type": "number"
  19579. },
  19580. "othercredit": {
  19581. "description": "其它授信金额",
  19582. "type": "number"
  19583. },
  19584. "othercreditdecrease": {
  19585. "description": "今日其它授信减少",
  19586. "type": "number"
  19587. },
  19588. "othercreditincrease": {
  19589. "description": "今日其它授信增加",
  19590. "type": "number"
  19591. },
  19592. "otherfreezemargin": {
  19593. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19594. "type": "number"
  19595. },
  19596. "otherincome": {
  19597. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  19598. "type": "number"
  19599. },
  19600. "otherpay": {
  19601. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  19602. "type": "number"
  19603. },
  19604. "outamount": {
  19605. "description": "今日出金金额(包括三方出金)",
  19606. "type": "number"
  19607. },
  19608. "outamountfreeze": {
  19609. "description": "出金冻结",
  19610. "type": "number"
  19611. },
  19612. "outthreshold": {
  19613. "description": "出金阈值",
  19614. "type": "number"
  19615. },
  19616. "parentaccountid": {
  19617. "description": "所属根账号",
  19618. "type": "integer"
  19619. },
  19620. "paycharge": {
  19621. "description": "今日手续费支出",
  19622. "type": "number"
  19623. },
  19624. "relatedaccountstatus": {
  19625. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  19626. "type": "integer"
  19627. },
  19628. "relateduserid": {
  19629. "description": "关联用户",
  19630. "type": "integer"
  19631. },
  19632. "serivcegroup": {
  19633. "description": "服务分组",
  19634. "type": "integer"
  19635. },
  19636. "signstatus": {
  19637. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19638. "type": "integer"
  19639. },
  19640. "sublevelpath": {
  19641. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19642. "type": "string"
  19643. },
  19644. "taaccounttype": {
  19645. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19646. "type": "integer"
  19647. },
  19648. "thirdinamount": {
  19649. "description": "今日三方入金",
  19650. "type": "number"
  19651. },
  19652. "thirdoutamount": {
  19653. "description": "今日三方出金",
  19654. "type": "number"
  19655. },
  19656. "tradestatus": {
  19657. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19658. "type": "integer"
  19659. },
  19660. "tradestatuschangetime": {
  19661. "description": "激活时间",
  19662. "type": "string"
  19663. },
  19664. "transferamount": {
  19665. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19666. "type": "number"
  19667. },
  19668. "usedmargin": {
  19669. "description": "占用保证金",
  19670. "type": "number"
  19671. },
  19672. "userid": {
  19673. "description": "用户ID",
  19674. "type": "integer"
  19675. }
  19676. }
  19677. },
  19678. "models.Tablecolumnconfig": {
  19679. "type": "object",
  19680. "required": [
  19681. "autoid"
  19682. ],
  19683. "properties": {
  19684. "aligntype": {
  19685. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  19686. "type": "integer"
  19687. },
  19688. "autoid": {
  19689. "description": "AutoID",
  19690. "type": "integer"
  19691. },
  19692. "columnfield": {
  19693. "description": "列字段",
  19694. "type": "string"
  19695. },
  19696. "columntitle": {
  19697. "description": "列Title",
  19698. "type": "string"
  19699. },
  19700. "columnwidth": {
  19701. "description": "列宽",
  19702. "type": "string"
  19703. },
  19704. "formatterstring": {
  19705. "description": "格式化字符",
  19706. "type": "string"
  19707. },
  19708. "formattertype": {
  19709. "description": "格式化类型",
  19710. "type": "string"
  19711. },
  19712. "groupname": {
  19713. "description": "表头分组名称",
  19714. "type": "string"
  19715. },
  19716. "isshow": {
  19717. "description": "是否显示 - 0:不显示 1:显示",
  19718. "type": "integer"
  19719. },
  19720. "needsummary": {
  19721. "description": "是否需要汇总 - 0:不需要 1:需要",
  19722. "type": "integer"
  19723. },
  19724. "orderindex": {
  19725. "description": "顺序",
  19726. "type": "integer"
  19727. },
  19728. "remark": {
  19729. "description": "备注",
  19730. "type": "string"
  19731. },
  19732. "summarytype": {
  19733. "description": "汇总类型 - 1:加总 2:最后一个",
  19734. "type": "integer"
  19735. },
  19736. "tablekey": {
  19737. "description": "列表Key",
  19738. "type": "string"
  19739. }
  19740. }
  19741. },
  19742. "models.Useraccount": {
  19743. "type": "object",
  19744. "required": [
  19745. "userid"
  19746. ],
  19747. "properties": {
  19748. "accountname": {
  19749. "description": "账户名称(机构名称)",
  19750. "type": "string"
  19751. },
  19752. "accountstatus": {
  19753. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19754. "type": "integer"
  19755. },
  19756. "auditremark": {
  19757. "description": "审核备注",
  19758. "type": "string"
  19759. },
  19760. "audittime": {
  19761. "description": "审核时间",
  19762. "type": "string"
  19763. },
  19764. "audituserid": {
  19765. "description": "审核人",
  19766. "type": "integer"
  19767. },
  19768. "broker": {
  19769. "description": "所属经纪人ID",
  19770. "type": "integer"
  19771. },
  19772. "canceltime": {
  19773. "description": "销户时间",
  19774. "type": "string"
  19775. },
  19776. "canceluserid": {
  19777. "description": "销户人",
  19778. "type": "integer"
  19779. },
  19780. "createtime": {
  19781. "description": "创建时间",
  19782. "type": "string"
  19783. },
  19784. "creatorid": {
  19785. "description": "创建人",
  19786. "type": "integer"
  19787. },
  19788. "hasauth": {
  19789. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19790. "type": "integer"
  19791. },
  19792. "isanonymous": {
  19793. "description": "是否匿名下单 - 0:否 1:是",
  19794. "type": "integer"
  19795. },
  19796. "maxinvestornum": {
  19797. "description": "最大用户数(经纪会员下投资者个数)",
  19798. "type": "integer"
  19799. },
  19800. "memberuserid": {
  19801. "description": "所属会员ID",
  19802. "type": "integer"
  19803. },
  19804. "modifierid": {
  19805. "description": "修改人",
  19806. "type": "integer"
  19807. },
  19808. "modifyremark": {
  19809. "description": "变更备注",
  19810. "type": "string"
  19811. },
  19812. "modifystatus": {
  19813. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19814. "type": "integer"
  19815. },
  19816. "modifytime": {
  19817. "description": "修改时间",
  19818. "type": "string"
  19819. },
  19820. "parentuserid": {
  19821. "description": "所属机构ID",
  19822. "type": "integer"
  19823. },
  19824. "reckonaccountid": {
  19825. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19826. "type": "integer"
  19827. },
  19828. "refercount": {
  19829. "description": "推荐总人数",
  19830. "type": "integer"
  19831. },
  19832. "refereeuserid": {
  19833. "description": "推荐人ID",
  19834. "type": "integer"
  19835. },
  19836. "refernum": {
  19837. "description": "推荐码",
  19838. "type": "string"
  19839. },
  19840. "subarealevelpath": {
  19841. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19842. "type": "string"
  19843. },
  19844. "userid": {
  19845. "description": "用户ID",
  19846. "type": "integer"
  19847. },
  19848. "usertype": {
  19849. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19850. "type": "integer"
  19851. }
  19852. }
  19853. },
  19854. "models.Userfavoritegoods": {
  19855. "type": "object",
  19856. "required": [
  19857. "goodsid"
  19858. ],
  19859. "properties": {
  19860. "goodsid": {
  19861. "description": "商品ID",
  19862. "type": "integer"
  19863. }
  19864. }
  19865. },
  19866. "models.Userinfo": {
  19867. "type": "object",
  19868. "required": [
  19869. "userid"
  19870. ],
  19871. "properties": {
  19872. "address": {
  19873. "description": "地址",
  19874. "type": "string"
  19875. },
  19876. "attachment1": {
  19877. "description": "附件1",
  19878. "type": "string"
  19879. },
  19880. "attachment2": {
  19881. "description": "附件2",
  19882. "type": "string"
  19883. },
  19884. "bankaccount": {
  19885. "description": "银行帐号 (加密存储)",
  19886. "type": "string"
  19887. },
  19888. "bankaccountname": {
  19889. "description": "收款人名称",
  19890. "type": "string"
  19891. },
  19892. "bankcardfrontphotourl": {
  19893. "description": "银行卡正面照地址",
  19894. "type": "string"
  19895. },
  19896. "bankid": {
  19897. "description": "银行编码",
  19898. "type": "string"
  19899. },
  19900. "bankname": {
  19901. "description": "银行名称",
  19902. "type": "string"
  19903. },
  19904. "biznature": {
  19905. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19906. "type": "integer"
  19907. },
  19908. "bizscope": {
  19909. "description": "企业经营范围(企业)",
  19910. "type": "string"
  19911. },
  19912. "cardbackphotourl": {
  19913. "description": "证件背面图片地址",
  19914. "type": "string"
  19915. },
  19916. "cardfrontphotourl": {
  19917. "description": "证件正面图片地址",
  19918. "type": "string"
  19919. },
  19920. "cardnum": {
  19921. "description": "证件号码(加密存储)",
  19922. "type": "string"
  19923. },
  19924. "cardtypeid": {
  19925. "description": "证件类型ID",
  19926. "type": "integer"
  19927. },
  19928. "cityid": {
  19929. "description": "市",
  19930. "type": "integer"
  19931. },
  19932. "company": {
  19933. "description": "公司(个人)",
  19934. "type": "string"
  19935. },
  19936. "contactname": {
  19937. "description": "联系人",
  19938. "type": "string"
  19939. },
  19940. "countryid": {
  19941. "description": "国家",
  19942. "type": "integer"
  19943. },
  19944. "createtime": {
  19945. "description": "创建时间",
  19946. "type": "string"
  19947. },
  19948. "creatorid": {
  19949. "description": "创建人",
  19950. "type": "integer"
  19951. },
  19952. "customername": {
  19953. "description": "客户名称(企业名称)",
  19954. "type": "string"
  19955. },
  19956. "districtid": {
  19957. "description": "地区",
  19958. "type": "integer"
  19959. },
  19960. "email": {
  19961. "description": "邮件(加密存储)",
  19962. "type": "string"
  19963. },
  19964. "fax": {
  19965. "description": "传真(加密存储)",
  19966. "type": "string"
  19967. },
  19968. "halfbodyphotourl": {
  19969. "description": "半身照地址",
  19970. "type": "string"
  19971. },
  19972. "hasencrypt": {
  19973. "description": "数据是否已加密 - 0:未加密 1:已加密",
  19974. "type": "integer"
  19975. },
  19976. "headurl": {
  19977. "description": "头像地址",
  19978. "type": "string"
  19979. },
  19980. "legalcardbackphotourl": {
  19981. "description": "法人身份证背面照地址",
  19982. "type": "string"
  19983. },
  19984. "legalcardfrontphotourl": {
  19985. "description": "法人身份证正面照地址",
  19986. "type": "string"
  19987. },
  19988. "legalpersonname": {
  19989. "description": "法人姓名(企业)",
  19990. "type": "string"
  19991. },
  19992. "mobile": {
  19993. "description": "手机号码(加密存储)",
  19994. "type": "string"
  19995. },
  19996. "mobile2": {
  19997. "description": "手机号码[明文-尚志]",
  19998. "type": "string"
  19999. },
  20000. "modifierid": {
  20001. "description": "修改人",
  20002. "type": "integer"
  20003. },
  20004. "modifiertime": {
  20005. "description": "修改时间",
  20006. "type": "string"
  20007. },
  20008. "needinvoice": {
  20009. "description": "是否需要发票 - 0:不需要 1:需要",
  20010. "type": "integer"
  20011. },
  20012. "nickname": {
  20013. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  20014. "type": "string"
  20015. },
  20016. "openmode": {
  20017. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  20018. "type": "integer"
  20019. },
  20020. "otherurl": {
  20021. "description": "其它图片地址[使用分号分隔]",
  20022. "type": "string"
  20023. },
  20024. "postalcode": {
  20025. "description": "邮政编码",
  20026. "type": "string"
  20027. },
  20028. "provinceid": {
  20029. "description": "省",
  20030. "type": "integer"
  20031. },
  20032. "qq": {
  20033. "description": "QQ(加密存储",
  20034. "type": "string"
  20035. },
  20036. "remark": {
  20037. "description": "备注",
  20038. "type": "string"
  20039. },
  20040. "sex": {
  20041. "description": "用户性别 0: 女 1: 男",
  20042. "type": "integer"
  20043. },
  20044. "signpdfurl": {
  20045. "description": "签约pdf文件",
  20046. "type": "string"
  20047. },
  20048. "telphone": {
  20049. "description": "联系电话(加密存储)",
  20050. "type": "string"
  20051. },
  20052. "userid": {
  20053. "description": "用户ID",
  20054. "type": "integer"
  20055. },
  20056. "userinfotype": {
  20057. "description": "用户信息类型 - 1:个人 2:企业",
  20058. "type": "integer"
  20059. },
  20060. "userstatus": {
  20061. "description": "用户状态 - 1:正常 2:注销",
  20062. "type": "integer"
  20063. },
  20064. "usertype": {
  20065. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20066. "type": "integer"
  20067. },
  20068. "wechat": {
  20069. "description": "微信(加密存储)",
  20070. "type": "string"
  20071. },
  20072. "wskhinfo": {
  20073. "description": "开户申请信息(JSON)",
  20074. "type": "string"
  20075. }
  20076. }
  20077. },
  20078. "models.WRSConverTDetail": {
  20079. "type": "object",
  20080. "properties": {
  20081. "convertratio": {
  20082. "description": "套保系数",
  20083. "type": "number"
  20084. },
  20085. "deliverygoodscode": {
  20086. "description": "现货商品代码",
  20087. "type": "string"
  20088. },
  20089. "deliverygoodsid": {
  20090. "description": "现货品种ID",
  20091. "type": "integer"
  20092. },
  20093. "deliverygoodsname": {
  20094. "description": "现货商品名称",
  20095. "type": "string"
  20096. },
  20097. "enumdicname": {
  20098. "description": "单位名称",
  20099. "type": "string"
  20100. },
  20101. "goodsunitid": {
  20102. "description": "套保品种单位id",
  20103. "type": "integer"
  20104. },
  20105. "middlegoodscode": {
  20106. "description": "套保品种代码",
  20107. "type": "string"
  20108. },
  20109. "middlegoodsid": {
  20110. "description": "套保品种ID",
  20111. "type": "integer"
  20112. },
  20113. "middlegoodsname": {
  20114. "description": "套保品种名称",
  20115. "type": "string"
  20116. },
  20117. "modifytime": {
  20118. "description": "修改时间",
  20119. "type": "string"
  20120. },
  20121. "wrstandardid": {
  20122. "description": "品类ID",
  20123. "type": "integer"
  20124. }
  20125. }
  20126. },
  20127. "models.WRStandardInfo": {
  20128. "type": "object",
  20129. "required": [
  20130. "wrstandardid"
  20131. ],
  20132. "properties": {
  20133. "areauserid": {
  20134. "description": "所属机构",
  20135. "type": "integer"
  20136. },
  20137. "convertfactor": {
  20138. "description": "标仓系数",
  20139. "type": "number"
  20140. },
  20141. "createtime": {
  20142. "description": "创建时间",
  20143. "type": "string"
  20144. },
  20145. "creatorid": {
  20146. "description": "创建人",
  20147. "type": "integer"
  20148. },
  20149. "deliverygoodsid": {
  20150. "description": "品种ID",
  20151. "type": "integer"
  20152. },
  20153. "deliverygoodsname": {
  20154. "description": "交割商品名称",
  20155. "type": "string"
  20156. },
  20157. "factoryitemjson": {
  20158. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  20159. "type": "string"
  20160. },
  20161. "isvalid": {
  20162. "description": "是否有效 - 0:无效 1:有效",
  20163. "type": "integer"
  20164. },
  20165. "minivalue": {
  20166. "description": "最小变动值",
  20167. "type": "integer"
  20168. },
  20169. "minivaluedp": {
  20170. "description": "最小变动值小数位",
  20171. "type": "integer"
  20172. },
  20173. "realminivalue": {
  20174. "description": "实际最小变动值",
  20175. "type": "integer"
  20176. },
  20177. "realminivaluedp": {
  20178. "description": "实际最小变动值小数位",
  20179. "type": "integer"
  20180. },
  20181. "remark": {
  20182. "description": "备注",
  20183. "type": "string"
  20184. },
  20185. "unitid": {
  20186. "description": "单位ID",
  20187. "type": "integer"
  20188. },
  20189. "unitname": {
  20190. "description": "单位",
  20191. "type": "string"
  20192. },
  20193. "updatetime": {
  20194. "description": "更新时间",
  20195. "type": "string"
  20196. },
  20197. "updatorid": {
  20198. "description": "更新人",
  20199. "type": "integer"
  20200. },
  20201. "wrsstatus": {
  20202. "description": "状态 - 作废 - 0:未激活 1:正常",
  20203. "type": "integer"
  20204. },
  20205. "wrstandardcode": {
  20206. "description": "现货品类代码",
  20207. "type": "string"
  20208. },
  20209. "wrstandardid": {
  20210. "description": "现货品类ID(SEQ_WRSTANDARD)",
  20211. "type": "integer"
  20212. },
  20213. "wrstandardname": {
  20214. "description": "现货品类名称",
  20215. "type": "string"
  20216. }
  20217. }
  20218. },
  20219. "models.Warehouseinfo": {
  20220. "type": "object",
  20221. "required": [
  20222. "autoid",
  20223. "warehousecode"
  20224. ],
  20225. "properties": {
  20226. "address": {
  20227. "description": "详细地址",
  20228. "type": "string"
  20229. },
  20230. "areauserid": {
  20231. "description": "所属机构",
  20232. "type": "integer"
  20233. },
  20234. "autoid": {
  20235. "description": "自增ID",
  20236. "type": "integer"
  20237. },
  20238. "cityid": {
  20239. "description": "市",
  20240. "type": "integer"
  20241. },
  20242. "contactname": {
  20243. "description": "联系人",
  20244. "type": "string"
  20245. },
  20246. "contactnum": {
  20247. "description": "联系电话",
  20248. "type": "string"
  20249. },
  20250. "countryid": {
  20251. "description": "国家",
  20252. "type": "integer"
  20253. },
  20254. "createtime": {
  20255. "description": "创建时间",
  20256. "type": "string"
  20257. },
  20258. "districtid": {
  20259. "description": "区",
  20260. "type": "integer"
  20261. },
  20262. "hasvideo": {
  20263. "description": "是否有视频 - 0:无 1:有",
  20264. "type": "integer"
  20265. },
  20266. "provinceid": {
  20267. "description": "省",
  20268. "type": "integer"
  20269. },
  20270. "remark": {
  20271. "description": "审核备注",
  20272. "type": "string"
  20273. },
  20274. "videourl": {
  20275. "description": "视频地址",
  20276. "type": "string"
  20277. },
  20278. "warehousecode": {
  20279. "description": "仓库代码",
  20280. "type": "string"
  20281. },
  20282. "warehousename": {
  20283. "description": "仓库名称",
  20284. "type": "string"
  20285. },
  20286. "warehousestatus": {
  20287. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20288. "type": "integer"
  20289. },
  20290. "warehousetype": {
  20291. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20292. "type": "integer"
  20293. }
  20294. }
  20295. },
  20296. "order.QueryHisTradeDetailRsp": {
  20297. "type": "object",
  20298. "required": [
  20299. "accountid",
  20300. "buyorsell",
  20301. "goodsid",
  20302. "histradedate",
  20303. "marketid",
  20304. "memberuserid",
  20305. "orderid",
  20306. "tradeamount",
  20307. "tradedate",
  20308. "tradeid",
  20309. "tradeprice",
  20310. "tradeqty",
  20311. "tradetime"
  20312. ],
  20313. "properties": {
  20314. "accountid": {
  20315. "description": "账户ID[报价币种]",
  20316. "type": "integer"
  20317. },
  20318. "buildtype": {
  20319. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20320. "type": "integer"
  20321. },
  20322. "buyorsell": {
  20323. "description": "方向 - 0:买 1:卖",
  20324. "type": "integer"
  20325. },
  20326. "charge": {
  20327. "description": "手续费",
  20328. "type": "number"
  20329. },
  20330. "closecharge": {
  20331. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20332. "type": "number"
  20333. },
  20334. "closeexchagechargevalue": {
  20335. "description": "平仓交易所手续费设置值",
  20336. "type": "number"
  20337. },
  20338. "closefeealgorithm": {
  20339. "description": "平仓手续费收取方式 1:比率 2:固定",
  20340. "type": "integer"
  20341. },
  20342. "closememberchargevalue": {
  20343. "description": "平仓会员手续费设置值",
  20344. "type": "number"
  20345. },
  20346. "closepl": {
  20347. "description": "平仓盈亏",
  20348. "type": "number"
  20349. },
  20350. "closepl2": {
  20351. "description": "平仓盈亏[逐笔]",
  20352. "type": "number"
  20353. },
  20354. "closeqty": {
  20355. "description": "平仓数量(先建后平操作 需要记录)",
  20356. "type": "integer"
  20357. },
  20358. "creditamount": {
  20359. "description": "授信金额",
  20360. "type": "number"
  20361. },
  20362. "gcaccountid": {
  20363. "description": "账户ID[合约币种]",
  20364. "type": "integer"
  20365. },
  20366. "goodscode": {
  20367. "description": "商品代码",
  20368. "type": "string"
  20369. },
  20370. "goodsid": {
  20371. "description": "商品ID",
  20372. "type": "integer"
  20373. },
  20374. "goodsname": {
  20375. "description": "商品名称",
  20376. "type": "string"
  20377. },
  20378. "histradedate": {
  20379. "description": "历史交易日",
  20380. "type": "string"
  20381. },
  20382. "intclosepl": {
  20383. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20384. "type": "integer"
  20385. },
  20386. "isconfirmexercise": {
  20387. "description": "是否确认行权- 0:否 1:是",
  20388. "type": "integer"
  20389. },
  20390. "ismain": {
  20391. "description": "是否主单 - 0:不是 1:是",
  20392. "type": "integer"
  20393. },
  20394. "ispreexercise": {
  20395. "description": "是否预申报- 0:否 1:是",
  20396. "type": "integer"
  20397. },
  20398. "isreckoned": {
  20399. "description": "是否结算 - 0:未结算 1:已结算",
  20400. "type": "integer"
  20401. },
  20402. "isvaliddata": {
  20403. "description": "是否有效 - 0:无效 1:有效",
  20404. "type": "integer"
  20405. },
  20406. "listingselecttype": {
  20407. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20408. "type": "integer"
  20409. },
  20410. "marketid": {
  20411. "description": "市场ID",
  20412. "type": "integer"
  20413. },
  20414. "marketname": {
  20415. "description": "市场名称",
  20416. "type": "string"
  20417. },
  20418. "matchaccountid": {
  20419. "description": "对手账号id",
  20420. "type": "integer"
  20421. },
  20422. "memberuserid": {
  20423. "description": "会员id 个人投资者 需要填写",
  20424. "type": "integer"
  20425. },
  20426. "opencharge": {
  20427. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20428. "type": "number"
  20429. },
  20430. "openexchagechargevalue": {
  20431. "description": "建仓交易所手续费设置值",
  20432. "type": "number"
  20433. },
  20434. "openfeealgorithm": {
  20435. "description": "建仓手续费收取方式 1:比率 2:固定",
  20436. "type": "integer"
  20437. },
  20438. "openmemberchargevalue": {
  20439. "description": "建仓会员手续费设置值",
  20440. "type": "number"
  20441. },
  20442. "openqty": {
  20443. "description": "开仓数量(先建后平操作 需要记录)",
  20444. "type": "integer"
  20445. },
  20446. "optiontype": {
  20447. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20448. "type": "integer"
  20449. },
  20450. "orderid": {
  20451. "description": "委托单号",
  20452. "type": "string"
  20453. },
  20454. "performanceplanid": {
  20455. "description": "履约计划ID[期权]",
  20456. "type": "integer"
  20457. },
  20458. "performancestatus": {
  20459. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20460. "type": "integer"
  20461. },
  20462. "preexerciseprice": {
  20463. "description": "预申报价格",
  20464. "type": "number"
  20465. },
  20466. "premium": {
  20467. "description": "权利金 - [持仓单的权利金]",
  20468. "type": "number"
  20469. },
  20470. "relatedouttradeid": {
  20471. "description": "关联外部成交单ID",
  20472. "type": "integer"
  20473. },
  20474. "status": {
  20475. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20476. "type": "integer"
  20477. },
  20478. "tradeamount": {
  20479. "description": "成交金额[账户币种,用于所有权]",
  20480. "type": "number"
  20481. },
  20482. "tradedate": {
  20483. "description": "交易日(yyyyMMdd)",
  20484. "type": "string"
  20485. },
  20486. "tradeid": {
  20487. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20488. "type": "string"
  20489. },
  20490. "trademode": {
  20491. "description": "交易模式",
  20492. "type": "integer"
  20493. },
  20494. "tradeprice": {
  20495. "description": "成交价格",
  20496. "type": "number"
  20497. },
  20498. "tradeproperty": {
  20499. "description": "交易属性",
  20500. "type": "integer"
  20501. },
  20502. "tradeqty": {
  20503. "description": "成交数量",
  20504. "type": "integer"
  20505. },
  20506. "tradetime": {
  20507. "description": "成交时间",
  20508. "type": "string"
  20509. },
  20510. "tradetype": {
  20511. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  20512. "type": "integer"
  20513. }
  20514. }
  20515. },
  20516. "order.QueryHisTradeOrderDetailRsp": {
  20517. "type": "object",
  20518. "required": [
  20519. "accountid",
  20520. "buildtype",
  20521. "buyorsell",
  20522. "goodsid",
  20523. "histradedate",
  20524. "marketid",
  20525. "memberuserid",
  20526. "operatetype",
  20527. "orderid",
  20528. "orderqty",
  20529. "ordertime",
  20530. "pricemode",
  20531. "tradedate",
  20532. "validtype"
  20533. ],
  20534. "properties": {
  20535. "accountid": {
  20536. "description": "账户ID[报价币种]",
  20537. "type": "integer"
  20538. },
  20539. "buildtype": {
  20540. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20541. "type": "integer"
  20542. },
  20543. "buyorsell": {
  20544. "description": "买卖 - 0:买 1:卖",
  20545. "type": "integer"
  20546. },
  20547. "cancelorderid": {
  20548. "description": "撤单单号(撤单时填写)",
  20549. "type": "string"
  20550. },
  20551. "cancelqty": {
  20552. "description": "撤单数量",
  20553. "type": "integer"
  20554. },
  20555. "clientordertime": {
  20556. "description": "客户端委托时间",
  20557. "type": "string"
  20558. },
  20559. "clientticket": {
  20560. "description": "客户端流水号",
  20561. "type": "string"
  20562. },
  20563. "clienttype": {
  20564. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20565. "type": "integer"
  20566. },
  20567. "closeexchagechargevalue": {
  20568. "description": "平仓交易所手续费设置值",
  20569. "type": "number"
  20570. },
  20571. "closefeealgorithm": {
  20572. "description": "平仓手续费收取方式 1:比率 2:固定",
  20573. "type": "integer"
  20574. },
  20575. "closefreezecharge": {
  20576. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20577. "type": "number"
  20578. },
  20579. "closememberchargevalue": {
  20580. "description": "平仓会员手续费设置值",
  20581. "type": "number"
  20582. },
  20583. "closeqty": {
  20584. "description": "平仓数量(先建后平操作 需要记录)",
  20585. "type": "integer"
  20586. },
  20587. "closetradeqty": {
  20588. "description": "平仓成交数量(先建后平操作,需要记录)",
  20589. "type": "integer"
  20590. },
  20591. "closeunfreezecharge": {
  20592. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20593. "type": "number"
  20594. },
  20595. "delistingtype": {
  20596. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20597. "type": "integer"
  20598. },
  20599. "freezecharge": {
  20600. "description": "冻结手续费",
  20601. "type": "number"
  20602. },
  20603. "freezemargin": {
  20604. "description": "冻结保证金(冻结交易金额)",
  20605. "type": "number"
  20606. },
  20607. "gcaccountid": {
  20608. "description": "账户ID[合约币种]",
  20609. "type": "integer"
  20610. },
  20611. "goodscode": {
  20612. "description": "商品代码",
  20613. "type": "string"
  20614. },
  20615. "goodsid": {
  20616. "description": "商品ID",
  20617. "type": "integer"
  20618. },
  20619. "goodsname": {
  20620. "description": "商品名称",
  20621. "type": "string"
  20622. },
  20623. "histradedate": {
  20624. "description": "历史交易日",
  20625. "type": "string"
  20626. },
  20627. "isconfirmexercise": {
  20628. "description": "是否确认行权- 0:否 1:是",
  20629. "type": "integer"
  20630. },
  20631. "ispreexercise": {
  20632. "description": "是否预申报- 0:否 1:是",
  20633. "type": "integer"
  20634. },
  20635. "isvaliddata": {
  20636. "description": "是否有效 - 0:无效 1:有效",
  20637. "type": "integer"
  20638. },
  20639. "listingselecttype": {
  20640. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20641. "type": "integer"
  20642. },
  20643. "marginalgorithm": {
  20644. "description": "保证金收取方式 1:比率 2:固定",
  20645. "type": "integer"
  20646. },
  20647. "marginvalue": {
  20648. "description": "即市保证金设置值",
  20649. "type": "number"
  20650. },
  20651. "marketid": {
  20652. "description": "市场ID",
  20653. "type": "integer"
  20654. },
  20655. "marketmaxsub": {
  20656. "description": "市价最大偏移范围",
  20657. "type": "number"
  20658. },
  20659. "marketname": {
  20660. "description": "市场名称",
  20661. "type": "string"
  20662. },
  20663. "memberuserid": {
  20664. "description": "所属会员UserID",
  20665. "type": "integer"
  20666. },
  20667. "openexchagechargevalue": {
  20668. "description": "建仓交易所手续费设置值",
  20669. "type": "number"
  20670. },
  20671. "openfeealgorithm": {
  20672. "description": "建仓手续费收取方式 1:比率 2:固定",
  20673. "type": "integer"
  20674. },
  20675. "openfreezecharge": {
  20676. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20677. "type": "number"
  20678. },
  20679. "openmemberchargevalue": {
  20680. "description": "建仓会员手续费设置值",
  20681. "type": "number"
  20682. },
  20683. "openqty": {
  20684. "description": "开仓数量(先建后平操作,需要记录)",
  20685. "type": "integer"
  20686. },
  20687. "opentradeqty": {
  20688. "description": "开仓成交数量(先建后平操作,需要记录)",
  20689. "type": "integer"
  20690. },
  20691. "openunfreezecharge": {
  20692. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20693. "type": "number"
  20694. },
  20695. "operatetype": {
  20696. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20697. "type": "integer"
  20698. },
  20699. "operatorid": {
  20700. "description": "登录账号(LoginID)",
  20701. "type": "integer"
  20702. },
  20703. "optiontype": {
  20704. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20705. "type": "integer"
  20706. },
  20707. "orderid": {
  20708. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20709. "type": "string"
  20710. },
  20711. "orderprice": {
  20712. "description": "委托价格",
  20713. "type": "number"
  20714. },
  20715. "orderqty": {
  20716. "description": "委托数量",
  20717. "type": "integer"
  20718. },
  20719. "ordersrc": {
  20720. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20721. "type": "integer"
  20722. },
  20723. "orderstatus": {
  20724. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20725. "type": "integer"
  20726. },
  20727. "ordertime": {
  20728. "description": "委托时间",
  20729. "type": "string"
  20730. },
  20731. "preexerciseprice": {
  20732. "description": "预申报价格",
  20733. "type": "number"
  20734. },
  20735. "premium": {
  20736. "description": "权利金",
  20737. "type": "number"
  20738. },
  20739. "preorderid": {
  20740. "description": "关联预埋单号(止盈止损单时填写)",
  20741. "type": "string"
  20742. },
  20743. "pricemode": {
  20744. "description": "取价方式 - 1:市价 2: 限价",
  20745. "type": "integer"
  20746. },
  20747. "quoteid": {
  20748. "description": "报价单ID",
  20749. "type": "integer"
  20750. },
  20751. "relatedid": {
  20752. "description": "关联单号(交割单)",
  20753. "type": "string"
  20754. },
  20755. "retcode": {
  20756. "description": "错误代码",
  20757. "type": "integer"
  20758. },
  20759. "sessionid": {
  20760. "description": "会话ID",
  20761. "type": "integer"
  20762. },
  20763. "tradedate": {
  20764. "description": "交易日(yyyyMMdd)",
  20765. "type": "string"
  20766. },
  20767. "trademode": {
  20768. "description": "交易模式",
  20769. "type": "integer"
  20770. },
  20771. "tradeproperty": {
  20772. "description": "交易属性",
  20773. "type": "integer"
  20774. },
  20775. "tradeqty": {
  20776. "description": "成交数量",
  20777. "type": "integer"
  20778. },
  20779. "unfreezecharge": {
  20780. "description": "解冻手续费",
  20781. "type": "number"
  20782. },
  20783. "unfreezemargin": {
  20784. "description": "解冻保证金",
  20785. "type": "number"
  20786. },
  20787. "updatetime": {
  20788. "description": "更新时间",
  20789. "type": "string"
  20790. },
  20791. "uuid": {
  20792. "description": "发起端唯一id",
  20793. "type": "string"
  20794. },
  20795. "validtime": {
  20796. "description": "有效期限",
  20797. "type": "string"
  20798. },
  20799. "validtype": {
  20800. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20801. "type": "integer"
  20802. },
  20803. "volumetype": {
  20804. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20805. "type": "integer"
  20806. }
  20807. }
  20808. },
  20809. "order.QueryTradeDetailRsp": {
  20810. "type": "object",
  20811. "required": [
  20812. "accountid",
  20813. "buyorsell",
  20814. "goodsid",
  20815. "marketid",
  20816. "memberuserid",
  20817. "orderid",
  20818. "tradeamount",
  20819. "tradedate",
  20820. "tradeid",
  20821. "tradeprice",
  20822. "tradeqty",
  20823. "tradetime"
  20824. ],
  20825. "properties": {
  20826. "accountid": {
  20827. "description": "账户ID[报价币种]",
  20828. "type": "integer"
  20829. },
  20830. "buildtype": {
  20831. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20832. "type": "integer"
  20833. },
  20834. "buyorsell": {
  20835. "description": "方向 - 0:买 1:卖",
  20836. "type": "integer"
  20837. },
  20838. "charge": {
  20839. "description": "手续费",
  20840. "type": "number"
  20841. },
  20842. "closecharge": {
  20843. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20844. "type": "number"
  20845. },
  20846. "closeexchagechargevalue": {
  20847. "description": "平仓交易所手续费设置值",
  20848. "type": "number"
  20849. },
  20850. "closefeealgorithm": {
  20851. "description": "平仓手续费收取方式 1:比率 2:固定",
  20852. "type": "integer"
  20853. },
  20854. "closememberchargevalue": {
  20855. "description": "平仓会员手续费设置值",
  20856. "type": "number"
  20857. },
  20858. "closepl": {
  20859. "description": "平仓盈亏",
  20860. "type": "number"
  20861. },
  20862. "closepl2": {
  20863. "description": "平仓盈亏[逐笔]",
  20864. "type": "number"
  20865. },
  20866. "closeqty": {
  20867. "description": "平仓数量(先建后平操作 需要记录)",
  20868. "type": "integer"
  20869. },
  20870. "creditamount": {
  20871. "description": "授信金额",
  20872. "type": "number"
  20873. },
  20874. "gcaccountid": {
  20875. "description": "账户ID[合约币种]",
  20876. "type": "integer"
  20877. },
  20878. "goodscode": {
  20879. "description": "商品代码",
  20880. "type": "string"
  20881. },
  20882. "goodsid": {
  20883. "description": "商品ID",
  20884. "type": "integer"
  20885. },
  20886. "goodsname": {
  20887. "description": "商品名称",
  20888. "type": "string"
  20889. },
  20890. "intclosepl": {
  20891. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20892. "type": "integer"
  20893. },
  20894. "isconfirmexercise": {
  20895. "description": "是否确认行权- 0:否 1:是",
  20896. "type": "integer"
  20897. },
  20898. "ismain": {
  20899. "description": "是否主单 - 0:不是 1:是",
  20900. "type": "integer"
  20901. },
  20902. "ispreexercise": {
  20903. "description": "是否预申报- 0:否 1:是",
  20904. "type": "integer"
  20905. },
  20906. "isreckoned": {
  20907. "description": "是否结算 - 0:未结算 1:已结算",
  20908. "type": "integer"
  20909. },
  20910. "listingselecttype": {
  20911. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20912. "type": "integer"
  20913. },
  20914. "marketid": {
  20915. "description": "市场ID",
  20916. "type": "integer"
  20917. },
  20918. "marketname": {
  20919. "description": "市场名称",
  20920. "type": "string"
  20921. },
  20922. "matchaccountid": {
  20923. "description": "对手账号id",
  20924. "type": "integer"
  20925. },
  20926. "memberuserid": {
  20927. "description": "会员id 个人投资者 需要填写",
  20928. "type": "integer"
  20929. },
  20930. "opencharge": {
  20931. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20932. "type": "number"
  20933. },
  20934. "openexchagechargevalue": {
  20935. "description": "建仓交易所手续费设置值",
  20936. "type": "number"
  20937. },
  20938. "openfeealgorithm": {
  20939. "description": "建仓手续费收取方式 1:比率 2:固定",
  20940. "type": "integer"
  20941. },
  20942. "openmemberchargevalue": {
  20943. "description": "建仓会员手续费设置值",
  20944. "type": "number"
  20945. },
  20946. "openqty": {
  20947. "description": "开仓数量(先建后平操作 需要记录)",
  20948. "type": "integer"
  20949. },
  20950. "optiontype": {
  20951. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20952. "type": "integer"
  20953. },
  20954. "orderid": {
  20955. "description": "委托单号",
  20956. "type": "string"
  20957. },
  20958. "performanceplanid": {
  20959. "description": "履约计划ID[期权]",
  20960. "type": "integer"
  20961. },
  20962. "performancestatus": {
  20963. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20964. "type": "integer"
  20965. },
  20966. "preexerciseprice": {
  20967. "description": "预申报价格",
  20968. "type": "number"
  20969. },
  20970. "premium": {
  20971. "description": "权利金 - [持仓单的权利金]",
  20972. "type": "number"
  20973. },
  20974. "relatedouttradeid": {
  20975. "description": "关联外部成交单ID",
  20976. "type": "integer"
  20977. },
  20978. "status": {
  20979. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20980. "type": "integer"
  20981. },
  20982. "tradeamount": {
  20983. "description": "成交金额[账户币种,用于所有权]",
  20984. "type": "number"
  20985. },
  20986. "tradedate": {
  20987. "description": "交易日(yyyyMMdd)",
  20988. "type": "string"
  20989. },
  20990. "tradeid": {
  20991. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20992. "type": "string"
  20993. },
  20994. "trademode": {
  20995. "description": "交易模式",
  20996. "type": "integer"
  20997. },
  20998. "tradeprice": {
  20999. "description": "成交价格",
  21000. "type": "number"
  21001. },
  21002. "tradeproperty": {
  21003. "description": "交易属性",
  21004. "type": "integer"
  21005. },
  21006. "tradeqty": {
  21007. "description": "成交数量",
  21008. "type": "integer"
  21009. },
  21010. "tradetime": {
  21011. "description": "成交时间",
  21012. "type": "string"
  21013. },
  21014. "tradetype": {
  21015. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21016. "type": "integer"
  21017. }
  21018. }
  21019. },
  21020. "order.QueryTradeOrderDetailRsp": {
  21021. "type": "object",
  21022. "required": [
  21023. "accountid",
  21024. "buildtype",
  21025. "buyorsell",
  21026. "goodsid",
  21027. "marketid",
  21028. "operatetype",
  21029. "orderqty",
  21030. "ordertime",
  21031. "pricemode",
  21032. "tradedate",
  21033. "validtype"
  21034. ],
  21035. "properties": {
  21036. "accountid": {
  21037. "description": "账户ID[报价币种]",
  21038. "type": "integer"
  21039. },
  21040. "buildtype": {
  21041. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21042. "type": "integer"
  21043. },
  21044. "buyorsell": {
  21045. "description": "买卖 - 0:买 1:卖",
  21046. "type": "integer"
  21047. },
  21048. "cancelorderid": {
  21049. "description": "撤单单号(撤单时填写)",
  21050. "type": "string"
  21051. },
  21052. "cancelqty": {
  21053. "description": "撤单数量",
  21054. "type": "integer"
  21055. },
  21056. "clienttype": {
  21057. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21058. "type": "integer"
  21059. },
  21060. "closefreezecharge": {
  21061. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21062. "type": "number"
  21063. },
  21064. "closeqty": {
  21065. "description": "平仓数量(先建后平操作 需要记录)",
  21066. "type": "integer"
  21067. },
  21068. "closetradeqty": {
  21069. "description": "平仓成交数量(先建后平操作,需要记录)",
  21070. "type": "integer"
  21071. },
  21072. "closeunfreezecharge": {
  21073. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21074. "type": "number"
  21075. },
  21076. "delistingtype": {
  21077. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21078. "type": "integer"
  21079. },
  21080. "enableqty": {
  21081. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  21082. "type": "integer"
  21083. },
  21084. "freezecharge": {
  21085. "description": "冻结手续费",
  21086. "type": "number"
  21087. },
  21088. "freezemargin": {
  21089. "description": "冻结保证金(冻结交易金额)",
  21090. "type": "number"
  21091. },
  21092. "goodscode": {
  21093. "description": "商品代码",
  21094. "type": "string"
  21095. },
  21096. "goodsid": {
  21097. "description": "商品ID",
  21098. "type": "integer"
  21099. },
  21100. "goodsname": {
  21101. "description": "商品名称",
  21102. "type": "string"
  21103. },
  21104. "listingselecttype": {
  21105. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21106. "type": "integer"
  21107. },
  21108. "marketid": {
  21109. "description": "市场ID",
  21110. "type": "integer"
  21111. },
  21112. "marketname": {
  21113. "description": "市场名称",
  21114. "type": "string"
  21115. },
  21116. "openfreezecharge": {
  21117. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21118. "type": "number"
  21119. },
  21120. "openqty": {
  21121. "description": "开仓数量(先建后平操作,需要记录)",
  21122. "type": "integer"
  21123. },
  21124. "opentradeqty": {
  21125. "description": "开仓成交数量(先建后平操作,需要记录)",
  21126. "type": "integer"
  21127. },
  21128. "openunfreezecharge": {
  21129. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21130. "type": "number"
  21131. },
  21132. "operatetype": {
  21133. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21134. "type": "integer"
  21135. },
  21136. "operatorid": {
  21137. "description": "登录账号(LoginID)",
  21138. "type": "integer"
  21139. },
  21140. "orderid": {
  21141. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21142. "type": "string"
  21143. },
  21144. "orderprice": {
  21145. "description": "委托价格",
  21146. "type": "number"
  21147. },
  21148. "orderqty": {
  21149. "description": "委托数量",
  21150. "type": "integer"
  21151. },
  21152. "ordersrc": {
  21153. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21154. "type": "integer"
  21155. },
  21156. "orderstatus": {
  21157. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21158. "type": "integer"
  21159. },
  21160. "ordertime": {
  21161. "description": "委托时间",
  21162. "type": "string"
  21163. },
  21164. "preorderid": {
  21165. "description": "关联预埋单号(止盈止损单时填写)",
  21166. "type": "string"
  21167. },
  21168. "pricemode": {
  21169. "description": "取价方式 - 1:市价 2: 限价",
  21170. "type": "integer"
  21171. },
  21172. "relatedid": {
  21173. "description": "关联单号(交割单)",
  21174. "type": "string"
  21175. },
  21176. "tradedate": {
  21177. "description": "交易日(yyyyMMdd)",
  21178. "type": "string"
  21179. },
  21180. "trademode": {
  21181. "description": "交易模式",
  21182. "type": "integer"
  21183. },
  21184. "tradeqty": {
  21185. "description": "成交数量",
  21186. "type": "integer"
  21187. },
  21188. "unfreezecharge": {
  21189. "description": "解冻手续费",
  21190. "type": "number"
  21191. },
  21192. "unfreezemargin": {
  21193. "description": "解冻保证金",
  21194. "type": "number"
  21195. },
  21196. "validtime": {
  21197. "description": "有效期限",
  21198. "type": "string"
  21199. },
  21200. "validtype": {
  21201. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21202. "type": "integer"
  21203. },
  21204. "volumetype": {
  21205. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21206. "type": "integer"
  21207. }
  21208. }
  21209. },
  21210. "order.QueryTradePositionRsp": {
  21211. "type": "object",
  21212. "required": [
  21213. "goodsid"
  21214. ],
  21215. "properties": {
  21216. "accountid": {
  21217. "description": "资金账户",
  21218. "type": "integer"
  21219. },
  21220. "agreeunit": {
  21221. "description": "合约单位",
  21222. "type": "number"
  21223. },
  21224. "averageprice": {
  21225. "description": "持仓均价",
  21226. "type": "number"
  21227. },
  21228. "buyorsell": {
  21229. "description": "方向 - 0:买 1:卖",
  21230. "type": "integer"
  21231. },
  21232. "closetotalqty": {
  21233. "description": "平仓总数量",
  21234. "type": "integer"
  21235. },
  21236. "curholderamount": {
  21237. "description": "当前持仓总金额[商品币种]",
  21238. "type": "number"
  21239. },
  21240. "curpositionqty": {
  21241. "description": "当前持仓总数量",
  21242. "type": "integer"
  21243. },
  21244. "currencyid": {
  21245. "description": "报价货币ID",
  21246. "type": "integer"
  21247. },
  21248. "curtdposition": {
  21249. "description": "期末今日头寸",
  21250. "type": "integer"
  21251. },
  21252. "decimalplace": {
  21253. "description": "报价小数位",
  21254. "type": "integer"
  21255. },
  21256. "enableqty": {
  21257. "description": "可用量",
  21258. "type": "integer"
  21259. },
  21260. "fretdposition": {
  21261. "description": "冻结今日头寸",
  21262. "type": "integer"
  21263. },
  21264. "frozenqty": {
  21265. "description": "持仓冻结数量",
  21266. "type": "integer"
  21267. },
  21268. "goodscode": {
  21269. "description": "商品代码",
  21270. "type": "string"
  21271. },
  21272. "goodsid": {
  21273. "description": "商品Id",
  21274. "type": "integer"
  21275. },
  21276. "goodsname": {
  21277. "description": "商品名称",
  21278. "type": "string"
  21279. },
  21280. "goodunit": {
  21281. "description": "报价单位",
  21282. "type": "string"
  21283. },
  21284. "goodunitid": {
  21285. "description": "报价单位ID",
  21286. "type": "integer"
  21287. },
  21288. "holderamount": {
  21289. "description": "期初持仓总金额[商品币种]",
  21290. "type": "number"
  21291. },
  21292. "marketid": {
  21293. "description": "所属市场ID",
  21294. "type": "integer"
  21295. },
  21296. "openreqqty": {
  21297. "description": "开仓申请数量(用于比较最大持仓数量)",
  21298. "type": "integer"
  21299. },
  21300. "opentotalqty": {
  21301. "description": "开仓总数量",
  21302. "type": "integer"
  21303. },
  21304. "otherfrozenqty": {
  21305. "description": "持仓其他冻结数量(交割冻结)",
  21306. "type": "integer"
  21307. },
  21308. "positionqty": {
  21309. "description": "期初持仓数量",
  21310. "type": "integer"
  21311. },
  21312. "tnqty": {
  21313. "description": "T+N冻结总量",
  21314. "type": "integer"
  21315. },
  21316. "tnusedqty": {
  21317. "description": "T+N使用量(可以使用T+N的冻结数量)",
  21318. "type": "integer"
  21319. },
  21320. "trademode": {
  21321. "description": "交易模式",
  21322. "type": "integer"
  21323. },
  21324. "usedmargin": {
  21325. "description": "占用保证金[商品币种]",
  21326. "type": "number"
  21327. }
  21328. }
  21329. },
  21330. "quote.HistoryData": {
  21331. "type": "object",
  21332. "properties": {
  21333. "c": {
  21334. "description": "收盘价",
  21335. "type": "number"
  21336. },
  21337. "f": {
  21338. "description": "是否补充数据",
  21339. "type": "boolean"
  21340. },
  21341. "h": {
  21342. "description": "最高价",
  21343. "type": "number"
  21344. },
  21345. "hv": {
  21346. "description": "持仓量",
  21347. "type": "integer"
  21348. },
  21349. "l": {
  21350. "description": "最低价",
  21351. "type": "number"
  21352. },
  21353. "o": {
  21354. "description": "开盘价",
  21355. "type": "number"
  21356. },
  21357. "s": {
  21358. "description": "结算价,日线周期(包括)以上才有",
  21359. "type": "number"
  21360. },
  21361. "ts": {
  21362. "description": "时间",
  21363. "type": "string"
  21364. },
  21365. "tt": {
  21366. "description": "总金额",
  21367. "type": "number"
  21368. },
  21369. "tv": {
  21370. "description": "总量",
  21371. "type": "integer"
  21372. }
  21373. }
  21374. },
  21375. "quote.HistoryTikData": {
  21376. "type": "object",
  21377. "properties": {
  21378. "AV": {
  21379. "description": "卖量",
  21380. "type": "integer"
  21381. },
  21382. "Ask": {
  21383. "description": "卖价",
  21384. "type": "number"
  21385. },
  21386. "BV": {
  21387. "description": "买量",
  21388. "type": "integer"
  21389. },
  21390. "Bid": {
  21391. "description": "买价",
  21392. "type": "number"
  21393. },
  21394. "HI": {
  21395. "description": "单笔持仓",
  21396. "type": "integer"
  21397. },
  21398. "HV": {
  21399. "description": "持仓量",
  21400. "type": "integer"
  21401. },
  21402. "PE": {
  21403. "description": "现价",
  21404. "type": "number"
  21405. },
  21406. "TDR": {
  21407. "description": "交易方向,0:买 1:卖",
  21408. "type": "integer"
  21409. },
  21410. "TK": {
  21411. "description": "交易类型",
  21412. "type": "integer"
  21413. },
  21414. "TS": {
  21415. "description": "行情时间文本",
  21416. "type": "string"
  21417. },
  21418. "TT": {
  21419. "description": "现金额",
  21420. "type": "number"
  21421. },
  21422. "Vol": {
  21423. "description": "现量",
  21424. "type": "integer"
  21425. }
  21426. }
  21427. },
  21428. "quote.QueryQuoteDayRsp": {
  21429. "type": "object",
  21430. "properties": {
  21431. "ask": {
  21432. "description": "卖1",
  21433. "type": "number"
  21434. },
  21435. "ask10": {
  21436. "description": "卖10",
  21437. "type": "number"
  21438. },
  21439. "ask2": {
  21440. "description": "卖2",
  21441. "type": "number"
  21442. },
  21443. "ask3": {
  21444. "description": "卖3",
  21445. "type": "number"
  21446. },
  21447. "ask4": {
  21448. "description": "卖4",
  21449. "type": "number"
  21450. },
  21451. "ask5": {
  21452. "description": "卖5",
  21453. "type": "number"
  21454. },
  21455. "ask6": {
  21456. "description": "卖6",
  21457. "type": "number"
  21458. },
  21459. "ask7": {
  21460. "description": "卖7",
  21461. "type": "number"
  21462. },
  21463. "ask8": {
  21464. "description": "卖8",
  21465. "type": "number"
  21466. },
  21467. "ask9": {
  21468. "description": "卖9",
  21469. "type": "number"
  21470. },
  21471. "askorderid": {
  21472. "description": "卖单号1",
  21473. "type": "integer"
  21474. },
  21475. "askorderid2": {
  21476. "description": "卖单号2",
  21477. "type": "integer"
  21478. },
  21479. "askorderid3": {
  21480. "description": "卖单号3",
  21481. "type": "integer"
  21482. },
  21483. "askorderid4": {
  21484. "description": "卖单号4",
  21485. "type": "integer"
  21486. },
  21487. "askorderid5": {
  21488. "description": "卖单号5",
  21489. "type": "integer"
  21490. },
  21491. "askordervolume": {
  21492. "description": "卖单量1",
  21493. "type": "integer"
  21494. },
  21495. "askordervolume10": {
  21496. "description": "卖单量10",
  21497. "type": "integer"
  21498. },
  21499. "askordervolume2": {
  21500. "description": "卖单量2",
  21501. "type": "integer"
  21502. },
  21503. "askordervolume3": {
  21504. "description": "卖单量3",
  21505. "type": "integer"
  21506. },
  21507. "askordervolume4": {
  21508. "description": "卖单量4",
  21509. "type": "integer"
  21510. },
  21511. "askordervolume5": {
  21512. "description": "卖单量5",
  21513. "type": "integer"
  21514. },
  21515. "askordervolume6": {
  21516. "description": "卖单量6",
  21517. "type": "integer"
  21518. },
  21519. "askordervolume7": {
  21520. "description": "卖单量7",
  21521. "type": "integer"
  21522. },
  21523. "askordervolume8": {
  21524. "description": "卖单量8",
  21525. "type": "integer"
  21526. },
  21527. "askordervolume9": {
  21528. "description": "卖单量9",
  21529. "type": "integer"
  21530. },
  21531. "askqueueinfo": {
  21532. "description": "大利市卖港股用",
  21533. "type": "string"
  21534. },
  21535. "askvolume": {
  21536. "description": "卖量1",
  21537. "type": "integer"
  21538. },
  21539. "askvolume10": {
  21540. "description": "卖量10",
  21541. "type": "integer"
  21542. },
  21543. "askvolume2": {
  21544. "description": "卖量2",
  21545. "type": "integer"
  21546. },
  21547. "askvolume3": {
  21548. "description": "卖量3",
  21549. "type": "integer"
  21550. },
  21551. "askvolume4": {
  21552. "description": "卖量4",
  21553. "type": "integer"
  21554. },
  21555. "askvolume5": {
  21556. "description": "卖量5",
  21557. "type": "integer"
  21558. },
  21559. "askvolume6": {
  21560. "description": "卖量6",
  21561. "type": "integer"
  21562. },
  21563. "askvolume7": {
  21564. "description": "卖量7",
  21565. "type": "integer"
  21566. },
  21567. "askvolume8": {
  21568. "description": "卖量8",
  21569. "type": "integer"
  21570. },
  21571. "askvolume9": {
  21572. "description": "卖量9",
  21573. "type": "integer"
  21574. },
  21575. "averageprice": {
  21576. "description": "均价",
  21577. "type": "number"
  21578. },
  21579. "bid": {
  21580. "description": "买1",
  21581. "type": "number"
  21582. },
  21583. "bid10": {
  21584. "description": "买10",
  21585. "type": "number"
  21586. },
  21587. "bid2": {
  21588. "description": "买2",
  21589. "type": "number"
  21590. },
  21591. "bid3": {
  21592. "description": "买3",
  21593. "type": "number"
  21594. },
  21595. "bid4": {
  21596. "description": "买4",
  21597. "type": "number"
  21598. },
  21599. "bid5": {
  21600. "description": "买5",
  21601. "type": "number"
  21602. },
  21603. "bid6": {
  21604. "description": "买6",
  21605. "type": "number"
  21606. },
  21607. "bid7": {
  21608. "description": "买7",
  21609. "type": "number"
  21610. },
  21611. "bid8": {
  21612. "description": "买8",
  21613. "type": "number"
  21614. },
  21615. "bid9": {
  21616. "description": "买9",
  21617. "type": "number"
  21618. },
  21619. "bidorderid": {
  21620. "description": "买单号1",
  21621. "type": "integer"
  21622. },
  21623. "bidorderid2": {
  21624. "description": "买单号2",
  21625. "type": "integer"
  21626. },
  21627. "bidorderid3": {
  21628. "description": "买单号3",
  21629. "type": "integer"
  21630. },
  21631. "bidorderid4": {
  21632. "description": "买单号4",
  21633. "type": "integer"
  21634. },
  21635. "bidorderid5": {
  21636. "description": "买单号5",
  21637. "type": "integer"
  21638. },
  21639. "bidordervolume": {
  21640. "description": "买单量1",
  21641. "type": "integer"
  21642. },
  21643. "bidordervolume10": {
  21644. "description": "买单量10",
  21645. "type": "integer"
  21646. },
  21647. "bidordervolume2": {
  21648. "description": "买单量2",
  21649. "type": "integer"
  21650. },
  21651. "bidordervolume3": {
  21652. "description": "买单量3",
  21653. "type": "integer"
  21654. },
  21655. "bidordervolume4": {
  21656. "description": "买单量4",
  21657. "type": "integer"
  21658. },
  21659. "bidordervolume5": {
  21660. "description": "买单量5",
  21661. "type": "integer"
  21662. },
  21663. "bidordervolume6": {
  21664. "description": "买单量6",
  21665. "type": "integer"
  21666. },
  21667. "bidordervolume7": {
  21668. "description": "买单量7",
  21669. "type": "integer"
  21670. },
  21671. "bidordervolume8": {
  21672. "description": "买单量8",
  21673. "type": "integer"
  21674. },
  21675. "bidordervolume9": {
  21676. "description": "买单量9",
  21677. "type": "integer"
  21678. },
  21679. "bidqueueinfo": {
  21680. "description": "大利市买港股用",
  21681. "type": "string"
  21682. },
  21683. "bidvolume": {
  21684. "description": "买量1",
  21685. "type": "integer"
  21686. },
  21687. "bidvolume10": {
  21688. "description": "买量10",
  21689. "type": "integer"
  21690. },
  21691. "bidvolume2": {
  21692. "description": "买量2",
  21693. "type": "integer"
  21694. },
  21695. "bidvolume3": {
  21696. "description": "买量3",
  21697. "type": "integer"
  21698. },
  21699. "bidvolume4": {
  21700. "description": "买量4",
  21701. "type": "integer"
  21702. },
  21703. "bidvolume5": {
  21704. "description": "买量5",
  21705. "type": "integer"
  21706. },
  21707. "bidvolume6": {
  21708. "description": "买量6",
  21709. "type": "integer"
  21710. },
  21711. "bidvolume7": {
  21712. "description": "买量7",
  21713. "type": "integer"
  21714. },
  21715. "bidvolume8": {
  21716. "description": "买量8",
  21717. "type": "integer"
  21718. },
  21719. "bidvolume9": {
  21720. "description": "买量9",
  21721. "type": "integer"
  21722. },
  21723. "calloptionpremiums": {
  21724. "description": "认购期权1",
  21725. "type": "integer"
  21726. },
  21727. "calloptionpremiums2": {
  21728. "description": "认购期权2",
  21729. "type": "integer"
  21730. },
  21731. "calloptionpremiums3": {
  21732. "description": "认购期权3",
  21733. "type": "integer"
  21734. },
  21735. "calloptionpremiums4": {
  21736. "description": "认购期权4",
  21737. "type": "integer"
  21738. },
  21739. "calloptionpremiums5": {
  21740. "description": "认购期权5",
  21741. "type": "integer"
  21742. },
  21743. "cleartime": {
  21744. "description": "清盘时间",
  21745. "type": "integer"
  21746. },
  21747. "exchangecode": {
  21748. "description": "交易所代码",
  21749. "type": "integer"
  21750. },
  21751. "exchangedate": {
  21752. "description": "交易日",
  21753. "type": "integer"
  21754. },
  21755. "goodscode": {
  21756. "description": "商品代码",
  21757. "type": "string"
  21758. },
  21759. "grepmarketprice": {
  21760. "description": "暗盘价 港股专用",
  21761. "type": "number"
  21762. },
  21763. "highest": {
  21764. "description": "最高价",
  21765. "type": "number"
  21766. },
  21767. "holdincrement": {
  21768. "description": "单笔持仓",
  21769. "type": "integer"
  21770. },
  21771. "holdvolume": {
  21772. "description": "持仓",
  21773. "type": "integer"
  21774. },
  21775. "iep": {
  21776. "description": "平衡价 港股专用",
  21777. "type": "number"
  21778. },
  21779. "iev": {
  21780. "description": "平衡量 港股专用",
  21781. "type": "number"
  21782. },
  21783. "inventory": {
  21784. "description": "库存",
  21785. "type": "integer"
  21786. },
  21787. "iscleared": {
  21788. "description": "是否清盘标志",
  21789. "type": "integer"
  21790. },
  21791. "issettled": {
  21792. "description": "是否结算标志",
  21793. "type": "integer"
  21794. },
  21795. "last": {
  21796. "description": "最新价",
  21797. "type": "number"
  21798. },
  21799. "lastlot": {
  21800. "description": "最新成交手数",
  21801. "type": "integer"
  21802. },
  21803. "lasttime": {
  21804. "description": "行情时间(只有现价变化行情时间才变化)",
  21805. "type": "string"
  21806. },
  21807. "lastturnover": {
  21808. "description": "最新成交金额",
  21809. "type": "number"
  21810. },
  21811. "lastvolume": {
  21812. "description": "最新成交量",
  21813. "type": "integer"
  21814. },
  21815. "limitdown": {
  21816. "description": "跌停价",
  21817. "type": "number"
  21818. },
  21819. "limitup": {
  21820. "description": "涨停价",
  21821. "type": "number"
  21822. },
  21823. "lowest": {
  21824. "description": "最低价",
  21825. "type": "number"
  21826. },
  21827. "nontotalholdervolume": {
  21828. "description": "非交易持仓量",
  21829. "type": "integer"
  21830. },
  21831. "nontotallot": {
  21832. "description": "非交易总手数",
  21833. "type": "integer"
  21834. },
  21835. "nontotalturnover": {
  21836. "description": "非交易总金额",
  21837. "type": "integer"
  21838. },
  21839. "nontotalvolume": {
  21840. "description": "非交易总量",
  21841. "type": "integer"
  21842. },
  21843. "opened": {
  21844. "description": "开盘价",
  21845. "type": "number"
  21846. },
  21847. "opentime": {
  21848. "description": "开盘时间",
  21849. "type": "string"
  21850. },
  21851. "orderid": {
  21852. "description": "序号",
  21853. "type": "integer"
  21854. },
  21855. "preclose": {
  21856. "description": "昨收",
  21857. "type": "number"
  21858. },
  21859. "preholdvolume": {
  21860. "description": "昨持仓",
  21861. "type": "integer"
  21862. },
  21863. "presettle": {
  21864. "description": "昨结价",
  21865. "type": "number"
  21866. },
  21867. "publictradetype": {
  21868. "description": "公共交易标志类型 港股专用",
  21869. "type": "string"
  21870. },
  21871. "putoptionpremiums": {
  21872. "description": "认沽期权1",
  21873. "type": "integer"
  21874. },
  21875. "putoptionpremiums2": {
  21876. "description": "认沽期权2",
  21877. "type": "integer"
  21878. },
  21879. "putoptionpremiums3": {
  21880. "description": "认沽期权3",
  21881. "type": "integer"
  21882. },
  21883. "putoptionpremiums4": {
  21884. "description": "认沽期权4",
  21885. "type": "integer"
  21886. },
  21887. "putoptionpremiums5": {
  21888. "description": "认沽期权5",
  21889. "type": "integer"
  21890. },
  21891. "settle": {
  21892. "description": "结算价",
  21893. "type": "number"
  21894. },
  21895. "strikeprice": {
  21896. "description": "发行价",
  21897. "type": "number"
  21898. },
  21899. "totalaskvolume": {
  21900. "description": "内盘",
  21901. "type": "integer"
  21902. },
  21903. "totalbidvolume": {
  21904. "description": "外盘",
  21905. "type": "integer"
  21906. },
  21907. "totallot": {
  21908. "description": "总手数",
  21909. "type": "integer"
  21910. },
  21911. "totalturnover": {
  21912. "description": "总金额",
  21913. "type": "number"
  21914. },
  21915. "totalvolume": {
  21916. "description": "总量",
  21917. "type": "integer"
  21918. },
  21919. "utclasttime": {
  21920. "description": "utc的行情时间",
  21921. "type": "string"
  21922. }
  21923. }
  21924. },
  21925. "quote.QueryTSDataRsp": {
  21926. "type": "object",
  21927. "properties": {
  21928. "Count": {
  21929. "description": "交易日应有数据个数",
  21930. "type": "integer"
  21931. },
  21932. "decimalPlace": {
  21933. "description": "小数位",
  21934. "type": "integer"
  21935. },
  21936. "endTime": {
  21937. "description": "结束时间",
  21938. "type": "string"
  21939. },
  21940. "goodsCode": {
  21941. "description": "商品代码",
  21942. "type": "string"
  21943. },
  21944. "historyDatas": {
  21945. "description": "历史数据",
  21946. "type": "array",
  21947. "items": {
  21948. "$ref": "#/definitions/quote.HistoryData"
  21949. }
  21950. },
  21951. "outGoodsCode": {
  21952. "description": "外部商品代码",
  21953. "type": "string"
  21954. },
  21955. "preSettle": {
  21956. "description": "昨结价",
  21957. "type": "number"
  21958. },
  21959. "runSteps": {
  21960. "description": "交易日开休市计划",
  21961. "type": "array",
  21962. "items": {
  21963. "$ref": "#/definitions/quote.TSDataRunStep"
  21964. }
  21965. },
  21966. "startTime": {
  21967. "description": "开始时间",
  21968. "type": "string"
  21969. },
  21970. "tradeDate": {
  21971. "description": "交易日",
  21972. "type": "string"
  21973. }
  21974. }
  21975. },
  21976. "quote.TSDataRunStep": {
  21977. "type": "object",
  21978. "properties": {
  21979. "end": {
  21980. "description": "真实结束时间",
  21981. "type": "string"
  21982. },
  21983. "endflag": {
  21984. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  21985. "type": "integer"
  21986. },
  21987. "endtime": {
  21988. "description": "结束时间(HH:mm)",
  21989. "type": "string"
  21990. },
  21991. "endweekday": {
  21992. "description": "结束周几",
  21993. "type": "integer"
  21994. },
  21995. "groupid": {
  21996. "description": "分组ID",
  21997. "type": "integer"
  21998. },
  21999. "runstep": {
  22000. "description": "运行阶段 - 2:连续交易",
  22001. "type": "integer"
  22002. },
  22003. "sectionid": {
  22004. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  22005. "type": "integer"
  22006. },
  22007. "start": {
  22008. "description": "真实开始时间",
  22009. "type": "string"
  22010. },
  22011. "startflag": {
  22012. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  22013. "type": "integer"
  22014. },
  22015. "starttime": {
  22016. "description": "起始时间(HH:mm)",
  22017. "type": "string"
  22018. },
  22019. "startweekday": {
  22020. "description": "起始周几",
  22021. "type": "integer"
  22022. },
  22023. "tradeweekday": {
  22024. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  22025. "type": "integer"
  22026. }
  22027. }
  22028. },
  22029. "szdz.QueryConvertLogRsp": {
  22030. "type": "object",
  22031. "required": [
  22032. "logid"
  22033. ],
  22034. "properties": {
  22035. "accountid": {
  22036. "description": "资金账户ID",
  22037. "type": "integer"
  22038. },
  22039. "clientticket": {
  22040. "description": "客户端流水号",
  22041. "type": "string"
  22042. },
  22043. "converttype": {
  22044. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  22045. "type": "integer"
  22046. },
  22047. "createtime": {
  22048. "description": "记账时间",
  22049. "type": "string"
  22050. },
  22051. "daymaxvalue": {
  22052. "description": "配置当日最大转入限制",
  22053. "type": "number"
  22054. },
  22055. "daymaxvalue2": {
  22056. "description": "配置当日最大转入限制(转入)",
  22057. "type": "number"
  22058. },
  22059. "goodscode": {
  22060. "description": "商品代码",
  22061. "type": "string"
  22062. },
  22063. "goodsname": {
  22064. "description": "商品名称",
  22065. "type": "string"
  22066. },
  22067. "handlestatus": {
  22068. "description": "处理状态",
  22069. "type": "integer"
  22070. },
  22071. "innergoodsid": {
  22072. "description": "内部商品ID",
  22073. "type": "integer"
  22074. },
  22075. "inratio": {
  22076. "description": "配置转入比值",
  22077. "type": "integer"
  22078. },
  22079. "invalue": {
  22080. "description": "目标值",
  22081. "type": "number"
  22082. },
  22083. "logid": {
  22084. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22085. "type": "integer"
  22086. },
  22087. "mobile": {
  22088. "description": "手机号码(加密存储)",
  22089. "type": "string"
  22090. },
  22091. "outergoodscode": {
  22092. "description": "外部商品代码[JD\\PD]",
  22093. "type": "string"
  22094. },
  22095. "outratio": {
  22096. "description": "配置转出比值",
  22097. "type": "integer"
  22098. },
  22099. "outvalue": {
  22100. "description": "源值",
  22101. "type": "number"
  22102. },
  22103. "pddecimalplace": {
  22104. "description": "PD小数位",
  22105. "type": "integer"
  22106. },
  22107. "qty": {
  22108. "description": "数量",
  22109. "type": "string"
  22110. },
  22111. "remark": {
  22112. "description": "备注",
  22113. "type": "string"
  22114. },
  22115. "sessionid": {
  22116. "description": "会话ID",
  22117. "type": "integer"
  22118. },
  22119. "timemaxvalue": {
  22120. "description": "配置单次最大转入限制",
  22121. "type": "number"
  22122. },
  22123. "timemaxvalue2": {
  22124. "description": "配置单次最大转入限制(转入)",
  22125. "type": "number"
  22126. },
  22127. "timeminvalue": {
  22128. "description": "配置单次最小数量限制",
  22129. "type": "number"
  22130. },
  22131. "timeminvalue2": {
  22132. "description": "配置单次最小数量限制(转入)",
  22133. "type": "number"
  22134. },
  22135. "tradedate": {
  22136. "description": "交易日(yyyyMMdd)",
  22137. "type": "string"
  22138. },
  22139. "userid": {
  22140. "description": "用户ID",
  22141. "type": "integer"
  22142. }
  22143. }
  22144. },
  22145. "szdz.QueryGoodsPickupRsp": {
  22146. "type": "object",
  22147. "required": [
  22148. "takeorderid"
  22149. ],
  22150. "properties": {
  22151. "accountid": {
  22152. "description": "账户ID",
  22153. "type": "integer"
  22154. },
  22155. "address": {
  22156. "description": "提货人详细地址",
  22157. "type": "string"
  22158. },
  22159. "auditer": {
  22160. "description": "审核人",
  22161. "type": "integer"
  22162. },
  22163. "audittime": {
  22164. "description": "审核时间",
  22165. "type": "string"
  22166. },
  22167. "cardnum": {
  22168. "description": "提货人证件号码",
  22169. "type": "string"
  22170. },
  22171. "cardtypeid": {
  22172. "description": "提货人证件类型",
  22173. "type": "integer"
  22174. },
  22175. "checkremark": {
  22176. "description": "审核备注",
  22177. "type": "string"
  22178. },
  22179. "goodscode": {
  22180. "description": "商品代码",
  22181. "type": "string"
  22182. },
  22183. "goodsid": {
  22184. "description": "商品ID",
  22185. "type": "integer"
  22186. },
  22187. "goodsname": {
  22188. "description": "商品名称",
  22189. "type": "string"
  22190. },
  22191. "handlestatus": {
  22192. "description": "处理状态",
  22193. "type": "integer"
  22194. },
  22195. "marketid": {
  22196. "description": "市场ID",
  22197. "type": "integer"
  22198. },
  22199. "phonenum": {
  22200. "description": "提货人联系方式",
  22201. "type": "string"
  22202. },
  22203. "qty": {
  22204. "description": "提货数量",
  22205. "type": "number"
  22206. },
  22207. "recivername": {
  22208. "description": "提货人姓名",
  22209. "type": "string"
  22210. },
  22211. "reqtime": {
  22212. "description": "更新时间",
  22213. "type": "string"
  22214. },
  22215. "takemode": {
  22216. "description": "提货方式 - 2:自提 3:配送",
  22217. "type": "integer"
  22218. },
  22219. "takeorderid": {
  22220. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22221. "type": "string"
  22222. },
  22223. "takeorderstatus": {
  22224. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22225. "type": "integer"
  22226. },
  22227. "takeremark": {
  22228. "description": "提货备注",
  22229. "type": "string"
  22230. },
  22231. "tradedate": {
  22232. "description": "交易日(yyyyMMdd)",
  22233. "type": "string"
  22234. },
  22235. "userid": {
  22236. "description": "用户ID",
  22237. "type": "integer"
  22238. }
  22239. }
  22240. },
  22241. "szdz.QueryRecieptOrderRsp": {
  22242. "type": "object",
  22243. "required": [
  22244. "ordertime"
  22245. ],
  22246. "properties": {
  22247. "accountName": {
  22248. "description": "所属账号名称(已脱敏)",
  22249. "type": "string"
  22250. },
  22251. "accountid": {
  22252. "description": "资金账号",
  22253. "type": "integer"
  22254. },
  22255. "buyorsell": {
  22256. "description": "方向 - 0:买 1:卖",
  22257. "type": "integer"
  22258. },
  22259. "enableqty": {
  22260. "description": "可摘数量",
  22261. "type": "integer"
  22262. },
  22263. "goodscode": {
  22264. "description": "商品代码",
  22265. "type": "string"
  22266. },
  22267. "goodsid": {
  22268. "description": "商品ID",
  22269. "type": "integer"
  22270. },
  22271. "goodsname": {
  22272. "description": "商品名称",
  22273. "type": "string"
  22274. },
  22275. "orderid": {
  22276. "description": "委托单号",
  22277. "type": "string"
  22278. },
  22279. "orderprice": {
  22280. "description": "委托价格",
  22281. "type": "number"
  22282. },
  22283. "ordertime": {
  22284. "description": "委托时间",
  22285. "type": "string"
  22286. },
  22287. "tradedate": {
  22288. "description": "交易日(yyyyMMdd)",
  22289. "type": "string"
  22290. }
  22291. }
  22292. },
  22293. "szdz.QuerySZDZTradePositionRsp": {
  22294. "type": "object",
  22295. "properties": {
  22296. "accountid": {
  22297. "description": "账号Id",
  22298. "type": "integer"
  22299. },
  22300. "agreeunit": {
  22301. "description": "合约单位",
  22302. "type": "number"
  22303. },
  22304. "averageprice": {
  22305. "description": "持仓均价",
  22306. "type": "number"
  22307. },
  22308. "buyorsell": {
  22309. "description": "方向 - 0:买 1:卖",
  22310. "type": "integer"
  22311. },
  22312. "closetotalqty": {
  22313. "description": "平仓总数量",
  22314. "type": "integer"
  22315. },
  22316. "curholderamount": {
  22317. "description": "当前持仓总金额",
  22318. "type": "number"
  22319. },
  22320. "curpositionqty": {
  22321. "description": "当前持仓总数量",
  22322. "type": "integer"
  22323. },
  22324. "currencyid": {
  22325. "description": "报价货币ID",
  22326. "type": "integer"
  22327. },
  22328. "curtdposition": {
  22329. "description": "期末今日头寸",
  22330. "type": "integer"
  22331. },
  22332. "decimalplace": {
  22333. "description": "报价小数位",
  22334. "type": "integer"
  22335. },
  22336. "enableqty": {
  22337. "description": "可用量",
  22338. "type": "integer"
  22339. },
  22340. "fretdposition": {
  22341. "description": "冻结今日头寸",
  22342. "type": "integer"
  22343. },
  22344. "frozenqty": {
  22345. "description": "持仓冻结数量",
  22346. "type": "integer"
  22347. },
  22348. "goodscode": {
  22349. "description": "商品代码(内部)",
  22350. "type": "string"
  22351. },
  22352. "goodsid": {
  22353. "description": "商品Id",
  22354. "type": "integer"
  22355. },
  22356. "goodsname": {
  22357. "description": "商品名称",
  22358. "type": "string"
  22359. },
  22360. "goodunit": {
  22361. "description": "报价单位",
  22362. "type": "string"
  22363. },
  22364. "goodunitid": {
  22365. "description": "报价单位ID",
  22366. "type": "integer"
  22367. },
  22368. "holderamount": {
  22369. "description": "期初持仓总金额",
  22370. "type": "number"
  22371. },
  22372. "marketid": {
  22373. "description": "市场ID",
  22374. "type": "integer"
  22375. },
  22376. "openreqqty": {
  22377. "description": "开仓申请数量",
  22378. "type": "integer"
  22379. },
  22380. "opentotalqty": {
  22381. "description": "开仓总数量",
  22382. "type": "integer"
  22383. },
  22384. "otherfrozenqty": {
  22385. "description": "持仓其他冻结数量(交割冻结)",
  22386. "type": "integer"
  22387. },
  22388. "positionqty": {
  22389. "description": "期初持仓数量",
  22390. "type": "integer"
  22391. },
  22392. "szdz3freezqty": {
  22393. "description": "尚志大宗转换冻结总数量",
  22394. "type": "integer"
  22395. },
  22396. "tnqty": {
  22397. "description": "T+N冻结总量",
  22398. "type": "integer"
  22399. },
  22400. "tnusedqty": {
  22401. "description": "T+N使用量",
  22402. "type": "integer"
  22403. },
  22404. "trademode": {
  22405. "description": "交易模式",
  22406. "type": "integer"
  22407. },
  22408. "usedmargin": {
  22409. "description": "占用保证金",
  22410. "type": "number"
  22411. }
  22412. }
  22413. },
  22414. "taaccount.QueryAmountLogRsp": {
  22415. "type": "object",
  22416. "required": [
  22417. "accountid",
  22418. "amount",
  22419. "amountadjusttype",
  22420. "autoid",
  22421. "balance",
  22422. "createtime",
  22423. "currentbalance",
  22424. "operatetype"
  22425. ],
  22426. "properties": {
  22427. "OPERATETYPENAME": {
  22428. "description": "资金操作类型名称",
  22429. "type": "string"
  22430. },
  22431. "accountid": {
  22432. "description": "资金账户ID",
  22433. "type": "integer"
  22434. },
  22435. "agoodscode": {
  22436. "description": "竞拍商品代码",
  22437. "type": "string"
  22438. },
  22439. "agoodsname": {
  22440. "description": "竞拍商品名称",
  22441. "type": "string"
  22442. },
  22443. "amount": {
  22444. "description": "资金金额",
  22445. "type": "number"
  22446. },
  22447. "amountadjusttype": {
  22448. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  22449. "type": "integer"
  22450. },
  22451. "autoid": {
  22452. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  22453. "type": "integer"
  22454. },
  22455. "balance": {
  22456. "description": "期初余额",
  22457. "type": "number"
  22458. },
  22459. "businesscode": {
  22460. "description": "业务编号",
  22461. "type": "integer"
  22462. },
  22463. "createtime": {
  22464. "description": "发生时间",
  22465. "type": "string"
  22466. },
  22467. "currencyid": {
  22468. "description": "币种ID",
  22469. "type": "integer"
  22470. },
  22471. "currentbalance": {
  22472. "description": "期末余额(变动后金额)",
  22473. "type": "number"
  22474. },
  22475. "dgoodscode": {
  22476. "description": "交割商品代码",
  22477. "type": "string"
  22478. },
  22479. "dgoodsname": {
  22480. "description": "交割商品名称",
  22481. "type": "string"
  22482. },
  22483. "goodscode": {
  22484. "description": "商品代码",
  22485. "type": "string"
  22486. },
  22487. "goodsid": {
  22488. "description": "商品ID",
  22489. "type": "integer"
  22490. },
  22491. "goodsname": {
  22492. "description": "商品名称",
  22493. "type": "string"
  22494. },
  22495. "marketid": {
  22496. "description": "市场ID",
  22497. "type": "integer"
  22498. },
  22499. "marketname": {
  22500. "description": "市场名称",
  22501. "type": "string"
  22502. },
  22503. "moneyticket": {
  22504. "description": "资金流水号:银行端流水号",
  22505. "type": "integer"
  22506. },
  22507. "operatetype": {
  22508. "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:营销收款",
  22509. "type": "integer"
  22510. },
  22511. "relationorderid": {
  22512. "description": "关联单号",
  22513. "type": "string"
  22514. },
  22515. "remark": {
  22516. "description": "备注",
  22517. "type": "string"
  22518. },
  22519. "trademode": {
  22520. "description": "交易模式",
  22521. "type": "integer"
  22522. }
  22523. }
  22524. },
  22525. "taaccount.QueryHisAmountLogRsp": {
  22526. "type": "object",
  22527. "required": [
  22528. "accountid",
  22529. "amount",
  22530. "amountadjusttype",
  22531. "autoid",
  22532. "balance",
  22533. "createtime",
  22534. "currentbalance",
  22535. "histradedate",
  22536. "operatetype"
  22537. ],
  22538. "properties": {
  22539. "OPERATETYPENAME": {
  22540. "description": "资金操作类型名称",
  22541. "type": "string"
  22542. },
  22543. "accountid": {
  22544. "description": "资金账户ID",
  22545. "type": "integer"
  22546. },
  22547. "agoodscode": {
  22548. "description": "竞拍商品代码",
  22549. "type": "string"
  22550. },
  22551. "agoodsname": {
  22552. "description": "竞拍商品名称",
  22553. "type": "string"
  22554. },
  22555. "amount": {
  22556. "description": "资金金额",
  22557. "type": "number"
  22558. },
  22559. "amountadjusttype": {
  22560. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  22561. "type": "integer"
  22562. },
  22563. "autoid": {
  22564. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  22565. "type": "integer"
  22566. },
  22567. "balance": {
  22568. "description": "期初余额",
  22569. "type": "number"
  22570. },
  22571. "businesscode": {
  22572. "description": "业务编号",
  22573. "type": "integer"
  22574. },
  22575. "createtime": {
  22576. "description": "发生时间",
  22577. "type": "string"
  22578. },
  22579. "currencyid": {
  22580. "description": "币种ID",
  22581. "type": "integer"
  22582. },
  22583. "currentbalance": {
  22584. "description": "期末余额(变动后金额)",
  22585. "type": "number"
  22586. },
  22587. "dgoodscode": {
  22588. "description": "交割商品代码",
  22589. "type": "string"
  22590. },
  22591. "dgoodsname": {
  22592. "description": "交割商品名称",
  22593. "type": "string"
  22594. },
  22595. "goodscode": {
  22596. "description": "商品代码",
  22597. "type": "string"
  22598. },
  22599. "goodsid": {
  22600. "description": "商品ID",
  22601. "type": "integer"
  22602. },
  22603. "goodsname": {
  22604. "description": "商品名称",
  22605. "type": "string"
  22606. },
  22607. "histradedate": {
  22608. "description": "历史交易日",
  22609. "type": "string"
  22610. },
  22611. "isvaliddata": {
  22612. "description": "是否有效 - 0:无效 1:有效",
  22613. "type": "integer"
  22614. },
  22615. "marketid": {
  22616. "description": "市场ID",
  22617. "type": "integer"
  22618. },
  22619. "marketname": {
  22620. "description": "市场名称",
  22621. "type": "string"
  22622. },
  22623. "moneyticket": {
  22624. "description": "资金流水号:银行端流水号",
  22625. "type": "integer"
  22626. },
  22627. "operatetype": {
  22628. "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:营销收款",
  22629. "type": "integer"
  22630. },
  22631. "relationorderid": {
  22632. "description": "关联单号",
  22633. "type": "string"
  22634. },
  22635. "remark": {
  22636. "description": "备注",
  22637. "type": "string"
  22638. },
  22639. "trademode": {
  22640. "description": "交易模式",
  22641. "type": "integer"
  22642. }
  22643. }
  22644. },
  22645. "trade.QueryRecieptOrderRsp": {
  22646. "type": "object",
  22647. "required": [
  22648. "ordertime"
  22649. ],
  22650. "properties": {
  22651. "accountName": {
  22652. "description": "所属账号名称(已脱敏)",
  22653. "type": "string"
  22654. },
  22655. "accountid": {
  22656. "description": "资金账号",
  22657. "type": "integer"
  22658. },
  22659. "buyorsell": {
  22660. "description": "方向 - 0:买 1:卖",
  22661. "type": "integer"
  22662. },
  22663. "enableqty": {
  22664. "description": "可摘数量",
  22665. "type": "integer"
  22666. },
  22667. "goodscode": {
  22668. "description": "商品代码",
  22669. "type": "string"
  22670. },
  22671. "goodsid": {
  22672. "description": "商品ID",
  22673. "type": "integer"
  22674. },
  22675. "goodsname": {
  22676. "description": "商品名称",
  22677. "type": "string"
  22678. },
  22679. "orderid": {
  22680. "description": "委托单号",
  22681. "type": "string"
  22682. },
  22683. "orderprice": {
  22684. "description": "委托价格",
  22685. "type": "number"
  22686. },
  22687. "ordertime": {
  22688. "description": "委托时间",
  22689. "type": "string"
  22690. },
  22691. "tradedate": {
  22692. "description": "交易日(yyyyMMdd)",
  22693. "type": "string"
  22694. }
  22695. }
  22696. },
  22697. "user.LoginQueryRsp": {
  22698. "type": "object",
  22699. "properties": {
  22700. "externalExchanges": {
  22701. "description": "外部交易所",
  22702. "type": "array",
  22703. "items": {
  22704. "$ref": "#/definitions/models.Externalexchange"
  22705. }
  22706. },
  22707. "goodsgroups": {
  22708. "description": "商品组",
  22709. "type": "array",
  22710. "items": {
  22711. "$ref": "#/definitions/models.Goodsgroup"
  22712. }
  22713. },
  22714. "loginAccount": {
  22715. "description": "登录账号",
  22716. "type": "object",
  22717. "$ref": "#/definitions/models.Loginaccount"
  22718. },
  22719. "markets": {
  22720. "description": "市场",
  22721. "type": "array",
  22722. "items": {
  22723. "$ref": "#/definitions/models.Market"
  22724. }
  22725. },
  22726. "systemParams": {
  22727. "description": "系统参数",
  22728. "type": "array",
  22729. "items": {
  22730. "$ref": "#/definitions/models.Systemparam"
  22731. }
  22732. },
  22733. "userAccount": {
  22734. "description": "用户账号",
  22735. "type": "object",
  22736. "$ref": "#/definitions/models.Useraccount"
  22737. },
  22738. "userInfo": {
  22739. "description": "用户信息",
  22740. "type": "object",
  22741. "$ref": "#/definitions/models.Userinfo"
  22742. },
  22743. "username": {
  22744. "description": "用户姓名",
  22745. "type": "string"
  22746. }
  22747. }
  22748. }
  22749. },
  22750. "securityDefinitions": {
  22751. "ApiKeyAuth": {
  22752. "type": "apiKey",
  22753. "name": "Authorization",
  22754. "in": "header"
  22755. }
  22756. }
  22757. }`
  22758. type swaggerInfo struct {
  22759. Version string
  22760. Host string
  22761. BasePath string
  22762. Schemes []string
  22763. Title string
  22764. Description string
  22765. }
  22766. // SwaggerInfo holds exported Swagger Info so clients can modify it
  22767. var SwaggerInfo = swaggerInfo{
  22768. Version: "1.0",
  22769. Host: "",
  22770. BasePath: "/api",
  22771. Schemes: []string{},
  22772. Title: "MTP2.0 查询服务 API",
  22773. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  22774. }
  22775. type s struct{}
  22776. func (s *s) ReadDoc() string {
  22777. sInfo := SwaggerInfo
  22778. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  22779. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  22780. "marshal": func(v interface{}) string {
  22781. a, _ := json.Marshal(v)
  22782. return string(a)
  22783. },
  22784. }).Parse(doc)
  22785. if err != nil {
  22786. return doc
  22787. }
  22788. var tpl bytes.Buffer
  22789. if err := t.Execute(&tpl, sInfo); err != nil {
  22790. return doc
  22791. }
  22792. return tpl.String()
  22793. }
  22794. func init() {
  22795. swag.Register(swag.Name, &s{})
  22796. }