docs.go 675 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetDivisions": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询区域信息",
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/models.Division"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/GetServerTime": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取服务器时间",
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/NoticeReaded": {
  452. "post": {
  453. "security": [
  454. {
  455. "ApiKeyAuth": []
  456. }
  457. ],
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "通知公告设置已读请求",
  465. "parameters": [
  466. {
  467. "type": "integer",
  468. "description": "登录账号",
  469. "name": "loginID",
  470. "in": "query",
  471. "required": true
  472. },
  473. {
  474. "type": "integer",
  475. "description": "通知公告ID",
  476. "name": "noticeID",
  477. "in": "query",
  478. "required": true
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/app.Response"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryErrorInfos": {
  498. "get": {
  499. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "获取数据库错误信息",
  507. "parameters": [
  508. {
  509. "type": "string",
  510. "description": "起始行号前索引",
  511. "name": "rowNumber",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryImageConfigs": {
  532. "get": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "通用服务"
  538. ],
  539. "summary": "查询轮播图配置信息",
  540. "parameters": [
  541. {
  542. "type": "integer",
  543. "description": "类型 - 1:App首页轮播 2:我的",
  544. "name": "imageType",
  545. "in": "query"
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "OK",
  551. "schema": {
  552. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  553. }
  554. },
  555. "500": {
  556. "description": "Internal Server Error",
  557. "schema": {
  558. "$ref": "#/definitions/app.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/Common/QueryNotice": {
  565. "get": {
  566. "security": [
  567. {
  568. "ApiKeyAuth": []
  569. }
  570. ],
  571. "produces": [
  572. "application/json"
  573. ],
  574. "tags": [
  575. "通用服务"
  576. ],
  577. "summary": "通知公告系统消息查询",
  578. "parameters": [
  579. {
  580. "type": "integer",
  581. "description": "页码",
  582. "name": "page",
  583. "in": "query"
  584. },
  585. {
  586. "type": "integer",
  587. "description": "每页条数",
  588. "name": "pagesize",
  589. "in": "query"
  590. },
  591. {
  592. "type": "integer",
  593. "description": "登录账号",
  594. "name": "loginID",
  595. "in": "query",
  596. "required": true
  597. },
  598. {
  599. "type": "integer",
  600. "description": "消息类型 - 1:公告通知 2:系统消息",
  601. "name": "msgType",
  602. "in": "query"
  603. },
  604. {
  605. "type": "boolean",
  606. "description": "是否只获取未读信息",
  607. "name": "onlyUnRead",
  608. "in": "query"
  609. },
  610. {
  611. "type": "integer",
  612. "description": "自增ID,传入后会返回这个ID后面的记录",
  613. "name": "lastID",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/common.QueryNoticeRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryProvincesAndCities": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询省市信息(不包括区)",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "省ID",
  646. "name": "provinceID",
  647. "in": "query"
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Common/QueryTableDefine": {
  667. "get": {
  668. "produces": [
  669. "application/json"
  670. ],
  671. "tags": [
  672. "通用服务"
  673. ],
  674. "summary": "查询交易端列表头信息",
  675. "parameters": [
  676. {
  677. "type": "string",
  678. "description": "表key",
  679. "name": "tableKey",
  680. "in": "query"
  681. },
  682. {
  683. "type": "integer",
  684. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  685. "name": "tableType",
  686. "in": "query"
  687. }
  688. ],
  689. "responses": {
  690. "200": {
  691. "description": "OK",
  692. "schema": {
  693. "$ref": "#/definitions/common.QueryTableDefineRsp"
  694. }
  695. },
  696. "500": {
  697. "description": "Internal Server Error",
  698. "schema": {
  699. "$ref": "#/definitions/app.Response"
  700. }
  701. }
  702. }
  703. }
  704. },
  705. "/Common/QueryTraderMenu": {
  706. "get": {
  707. "produces": [
  708. "application/json"
  709. ],
  710. "tags": [
  711. "通用服务"
  712. ],
  713. "summary": "查询交易端菜单",
  714. "parameters": [
  715. {
  716. "type": "integer",
  717. "description": "登录账号",
  718. "name": "loginid",
  719. "in": "query",
  720. "required": true
  721. }
  722. ],
  723. "responses": {
  724. "200": {
  725. "description": "OK",
  726. "schema": {
  727. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  728. }
  729. },
  730. "500": {
  731. "description": "Internal Server Error",
  732. "schema": {
  733. "$ref": "#/definitions/app.Response"
  734. }
  735. }
  736. }
  737. }
  738. },
  739. "/Delivery/QueryDeliveryRelation": {
  740. "get": {
  741. "security": [
  742. {
  743. "ApiKeyAuth": []
  744. }
  745. ],
  746. "produces": [
  747. "application/json"
  748. ],
  749. "tags": [
  750. "交割服务"
  751. ],
  752. "summary": "查询商品交割关系表",
  753. "parameters": [
  754. {
  755. "type": "integer",
  756. "description": "商品ID",
  757. "name": "goodsid",
  758. "in": "query"
  759. },
  760. {
  761. "type": "integer",
  762. "description": "品种ID",
  763. "name": "deliverygoodsid",
  764. "in": "query"
  765. },
  766. {
  767. "type": "integer",
  768. "description": "市场ID",
  769. "name": "marketid",
  770. "in": "query"
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Ermcp/GetErmcpGoods": {
  790. "get": {
  791. "security": [
  792. {
  793. "ApiKeyAuth": []
  794. }
  795. ],
  796. "produces": [
  797. "application/json"
  798. ],
  799. "tags": [
  800. "企业风险管理(app)"
  801. ],
  802. "summary": "查询企业风管期货商品信息",
  803. "parameters": [
  804. {
  805. "type": "string",
  806. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  807. "name": "lastUpdateTime",
  808. "in": "query"
  809. }
  810. ],
  811. "responses": {
  812. "200": {
  813. "description": "OK",
  814. "schema": {
  815. "$ref": "#/definitions/models.Goods"
  816. }
  817. },
  818. "500": {
  819. "description": "Internal Server Error",
  820. "schema": {
  821. "$ref": "#/definitions/app.Response"
  822. }
  823. }
  824. }
  825. }
  826. },
  827. "/Ermcp/QryReportDayExposure": {
  828. "get": {
  829. "security": [
  830. {
  831. "ApiKeyAuth": []
  832. }
  833. ],
  834. "produces": [
  835. "application/json"
  836. ],
  837. "tags": [
  838. "企业风险管理(app)"
  839. ],
  840. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  841. "parameters": [
  842. {
  843. "type": "integer",
  844. "description": "用户ID",
  845. "name": "userid",
  846. "in": "query",
  847. "required": true
  848. },
  849. {
  850. "type": "string",
  851. "description": "交易日(格式:yyyyMMdd)",
  852. "name": "tradedate",
  853. "in": "query",
  854. "required": true
  855. }
  856. ],
  857. "responses": {
  858. "200": {
  859. "description": "OK",
  860. "schema": {
  861. "type": "array",
  862. "items": {
  863. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  864. }
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/QryReportDayFinance": {
  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": "integer",
  893. "description": "用户ID",
  894. "name": "userid",
  895. "in": "query",
  896. "required": true
  897. },
  898. {
  899. "type": "string",
  900. "description": "交易日(格式:yyyyMMdd)",
  901. "name": "tradedate",
  902. "in": "query",
  903. "required": true
  904. }
  905. ],
  906. "responses": {
  907. "200": {
  908. "description": "OK",
  909. "schema": {
  910. "type": "array",
  911. "items": {
  912. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  913. }
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/Ermcp/QryReportDayFinanceFp": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "produces": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "企业风险管理(app)"
  937. ],
  938. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  939. "parameters": [
  940. {
  941. "type": "integer",
  942. "description": "用户ID",
  943. "name": "userid",
  944. "in": "query",
  945. "required": true
  946. },
  947. {
  948. "type": "string",
  949. "description": "交易日(格式:yyyyMMdd)",
  950. "name": "tradedate",
  951. "in": "query",
  952. "required": true
  953. }
  954. ],
  955. "responses": {
  956. "200": {
  957. "description": "OK",
  958. "schema": {
  959. "type": "array",
  960. "items": {
  961. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  962. }
  963. }
  964. },
  965. "500": {
  966. "description": "Internal Server Error",
  967. "schema": {
  968. "$ref": "#/definitions/app.Response"
  969. }
  970. }
  971. }
  972. }
  973. },
  974. "/Ermcp/QryReportDayFinanceKx": {
  975. "get": {
  976. "security": [
  977. {
  978. "ApiKeyAuth": []
  979. }
  980. ],
  981. "produces": [
  982. "application/json"
  983. ],
  984. "tags": [
  985. "企业风险管理(app)"
  986. ],
  987. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  988. "parameters": [
  989. {
  990. "type": "integer",
  991. "description": "用户ID",
  992. "name": "userid",
  993. "in": "query",
  994. "required": true
  995. },
  996. {
  997. "type": "string",
  998. "description": "交易日(格式:yyyyMMdd)",
  999. "name": "tradedate",
  1000. "in": "query",
  1001. "required": true
  1002. }
  1003. ],
  1004. "responses": {
  1005. "200": {
  1006. "description": "OK",
  1007. "schema": {
  1008. "type": "array",
  1009. "items": {
  1010. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1011. }
  1012. }
  1013. },
  1014. "500": {
  1015. "description": "Internal Server Error",
  1016. "schema": {
  1017. "$ref": "#/definitions/app.Response"
  1018. }
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "/Ermcp/QryReportDaySpot": {
  1024. "get": {
  1025. "security": [
  1026. {
  1027. "ApiKeyAuth": []
  1028. }
  1029. ],
  1030. "produces": [
  1031. "application/json"
  1032. ],
  1033. "tags": [
  1034. "企业风险管理(app)"
  1035. ],
  1036. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1037. "parameters": [
  1038. {
  1039. "type": "integer",
  1040. "description": "用户ID",
  1041. "name": "userid",
  1042. "in": "query",
  1043. "required": true
  1044. },
  1045. {
  1046. "type": "string",
  1047. "description": "交易日(格式:yyyyMMdd)",
  1048. "name": "tradedate",
  1049. "in": "query",
  1050. "required": true
  1051. }
  1052. ],
  1053. "responses": {
  1054. "200": {
  1055. "description": "OK",
  1056. "schema": {
  1057. "type": "array",
  1058. "items": {
  1059. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1060. }
  1061. }
  1062. },
  1063. "500": {
  1064. "description": "Internal Server Error",
  1065. "schema": {
  1066. "$ref": "#/definitions/app.Response"
  1067. }
  1068. }
  1069. }
  1070. }
  1071. },
  1072. "/Ermcp/QryReportDaySpotDetail": {
  1073. "get": {
  1074. "security": [
  1075. {
  1076. "ApiKeyAuth": []
  1077. }
  1078. ],
  1079. "produces": [
  1080. "application/json"
  1081. ],
  1082. "tags": [
  1083. "企业风险管理(app)"
  1084. ],
  1085. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1086. "parameters": [
  1087. {
  1088. "type": "integer",
  1089. "description": "用户ID",
  1090. "name": "userid",
  1091. "in": "query",
  1092. "required": true
  1093. },
  1094. {
  1095. "type": "integer",
  1096. "description": "现货商品id",
  1097. "name": "wrstandardid",
  1098. "in": "query",
  1099. "required": true
  1100. },
  1101. {
  1102. "type": "string",
  1103. "description": "交易日(格式:yyyyMMdd)",
  1104. "name": "tradedate",
  1105. "in": "query",
  1106. "required": true
  1107. }
  1108. ],
  1109. "responses": {
  1110. "200": {
  1111. "description": "OK",
  1112. "schema": {
  1113. "type": "array",
  1114. "items": {
  1115. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1116. }
  1117. }
  1118. },
  1119. "500": {
  1120. "description": "Internal Server Error",
  1121. "schema": {
  1122. "$ref": "#/definitions/app.Response"
  1123. }
  1124. }
  1125. }
  1126. }
  1127. },
  1128. "/Ermcp/QryReportMonthFinance": {
  1129. "get": {
  1130. "security": [
  1131. {
  1132. "ApiKeyAuth": []
  1133. }
  1134. ],
  1135. "produces": [
  1136. "application/json"
  1137. ],
  1138. "tags": [
  1139. "企业风险管理(app)"
  1140. ],
  1141. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1142. "parameters": [
  1143. {
  1144. "type": "integer",
  1145. "description": "用户ID",
  1146. "name": "userid",
  1147. "in": "query",
  1148. "required": true
  1149. },
  1150. {
  1151. "type": "string",
  1152. "description": "周期时间:月(格式:yyyyMM)",
  1153. "name": "cycletime",
  1154. "in": "query",
  1155. "required": true
  1156. }
  1157. ],
  1158. "responses": {
  1159. "200": {
  1160. "description": "OK",
  1161. "schema": {
  1162. "type": "array",
  1163. "items": {
  1164. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1165. }
  1166. }
  1167. },
  1168. "500": {
  1169. "description": "Internal Server Error",
  1170. "schema": {
  1171. "$ref": "#/definitions/app.Response"
  1172. }
  1173. }
  1174. }
  1175. }
  1176. },
  1177. "/Ermcp/QryReportMonthSpot": {
  1178. "get": {
  1179. "security": [
  1180. {
  1181. "ApiKeyAuth": []
  1182. }
  1183. ],
  1184. "produces": [
  1185. "application/json"
  1186. ],
  1187. "tags": [
  1188. "企业风险管理(app)"
  1189. ],
  1190. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1191. "parameters": [
  1192. {
  1193. "type": "integer",
  1194. "description": "用户ID",
  1195. "name": "userid",
  1196. "in": "query",
  1197. "required": true
  1198. },
  1199. {
  1200. "type": "string",
  1201. "description": "周期时间:月(格式:yyyyMM)",
  1202. "name": "cycletime",
  1203. "in": "query",
  1204. "required": true
  1205. }
  1206. ],
  1207. "responses": {
  1208. "200": {
  1209. "description": "OK",
  1210. "schema": {
  1211. "type": "array",
  1212. "items": {
  1213. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1214. }
  1215. }
  1216. },
  1217. "500": {
  1218. "description": "Internal Server Error",
  1219. "schema": {
  1220. "$ref": "#/definitions/app.Response"
  1221. }
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "/Ermcp/QryReportMonthSpotDetail": {
  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": "wrstandardid",
  1252. "in": "query",
  1253. "required": true
  1254. },
  1255. {
  1256. "type": "string",
  1257. "description": "周期时间:月(格式:yyyyMM)",
  1258. "name": "cycletime",
  1259. "in": "query",
  1260. "required": true
  1261. }
  1262. ],
  1263. "responses": {
  1264. "200": {
  1265. "description": "OK",
  1266. "schema": {
  1267. "type": "array",
  1268. "items": {
  1269. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1270. }
  1271. }
  1272. },
  1273. "500": {
  1274. "description": "Internal Server Error",
  1275. "schema": {
  1276. "$ref": "#/definitions/app.Response"
  1277. }
  1278. }
  1279. }
  1280. }
  1281. },
  1282. "/Ermcp/QueryAvaildGoodsGroup": {
  1283. "get": {
  1284. "security": [
  1285. {
  1286. "ApiKeyAuth": []
  1287. }
  1288. ],
  1289. "produces": [
  1290. "application/json"
  1291. ],
  1292. "tags": [
  1293. "企业风险管理(app)"
  1294. ],
  1295. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1296. "parameters": [
  1297. {
  1298. "type": "integer",
  1299. "description": "所属机构ID",
  1300. "name": "userid",
  1301. "in": "query",
  1302. "required": true
  1303. }
  1304. ],
  1305. "responses": {
  1306. "200": {
  1307. "description": "OK",
  1308. "schema": {
  1309. "type": "array",
  1310. "items": {
  1311. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1312. }
  1313. }
  1314. },
  1315. "500": {
  1316. "description": "Internal Server Error",
  1317. "schema": {
  1318. "$ref": "#/definitions/app.Response"
  1319. }
  1320. }
  1321. }
  1322. }
  1323. },
  1324. "/Ermcp/QueryBusinessDj": {
  1325. "get": {
  1326. "security": [
  1327. {
  1328. "ApiKeyAuth": []
  1329. }
  1330. ],
  1331. "produces": [
  1332. "application/json"
  1333. ],
  1334. "tags": [
  1335. "企业风险管理(app)"
  1336. ],
  1337. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1338. "parameters": [
  1339. {
  1340. "type": "integer",
  1341. "description": "用户ID",
  1342. "name": "UserId",
  1343. "in": "query",
  1344. "required": true
  1345. },
  1346. {
  1347. "type": "string",
  1348. "description": "现货合同ID, 不填则查所有",
  1349. "name": "relatedid",
  1350. "in": "query"
  1351. }
  1352. ],
  1353. "responses": {
  1354. "200": {
  1355. "description": "OK",
  1356. "schema": {
  1357. "type": "array",
  1358. "items": {
  1359. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1360. }
  1361. }
  1362. },
  1363. "500": {
  1364. "description": "Internal Server Error",
  1365. "schema": {
  1366. "$ref": "#/definitions/app.Response"
  1367. }
  1368. }
  1369. }
  1370. }
  1371. },
  1372. "/Ermcp/QueryBusinessFp": {
  1373. "get": {
  1374. "security": [
  1375. {
  1376. "ApiKeyAuth": []
  1377. }
  1378. ],
  1379. "produces": [
  1380. "application/json"
  1381. ],
  1382. "tags": [
  1383. "企业风险管理(app)"
  1384. ],
  1385. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1386. "parameters": [
  1387. {
  1388. "type": "integer",
  1389. "description": "用户ID",
  1390. "name": "UserId",
  1391. "in": "query",
  1392. "required": true
  1393. },
  1394. {
  1395. "type": "string",
  1396. "description": "现货合同ID, 不填则查所有",
  1397. "name": "relatedid",
  1398. "in": "query"
  1399. }
  1400. ],
  1401. "responses": {
  1402. "200": {
  1403. "description": "OK",
  1404. "schema": {
  1405. "type": "array",
  1406. "items": {
  1407. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1408. }
  1409. }
  1410. },
  1411. "500": {
  1412. "description": "Internal Server Error",
  1413. "schema": {
  1414. "$ref": "#/definitions/app.Response"
  1415. }
  1416. }
  1417. }
  1418. }
  1419. },
  1420. "/Ermcp/QueryBusinessJs": {
  1421. "get": {
  1422. "security": [
  1423. {
  1424. "ApiKeyAuth": []
  1425. }
  1426. ],
  1427. "produces": [
  1428. "application/json"
  1429. ],
  1430. "tags": [
  1431. "企业风险管理(app)"
  1432. ],
  1433. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1434. "parameters": [
  1435. {
  1436. "type": "integer",
  1437. "description": "用户ID",
  1438. "name": "UserId",
  1439. "in": "query",
  1440. "required": true
  1441. },
  1442. {
  1443. "type": "string",
  1444. "description": "现货合同ID, 不填则查所有",
  1445. "name": "relatedid",
  1446. "in": "query"
  1447. }
  1448. ],
  1449. "responses": {
  1450. "200": {
  1451. "description": "OK",
  1452. "schema": {
  1453. "type": "array",
  1454. "items": {
  1455. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1456. }
  1457. }
  1458. },
  1459. "500": {
  1460. "description": "Internal Server Error",
  1461. "schema": {
  1462. "$ref": "#/definitions/app.Response"
  1463. }
  1464. }
  1465. }
  1466. }
  1467. },
  1468. "/Ermcp/QueryBusinessJsEx": {
  1469. "get": {
  1470. "security": [
  1471. {
  1472. "ApiKeyAuth": []
  1473. }
  1474. ],
  1475. "produces": [
  1476. "application/json"
  1477. ],
  1478. "tags": [
  1479. "企业风险管理(app)"
  1480. ],
  1481. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1482. "parameters": [
  1483. {
  1484. "type": "integer",
  1485. "description": "用户ID",
  1486. "name": "UserId",
  1487. "in": "query",
  1488. "required": true
  1489. },
  1490. {
  1491. "type": "string",
  1492. "description": "现货合同ID, 不填则查所有",
  1493. "name": "relatedid",
  1494. "in": "query"
  1495. }
  1496. ],
  1497. "responses": {
  1498. "200": {
  1499. "description": "OK",
  1500. "schema": {
  1501. "type": "array",
  1502. "items": {
  1503. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1504. }
  1505. }
  1506. },
  1507. "500": {
  1508. "description": "Internal Server Error",
  1509. "schema": {
  1510. "$ref": "#/definitions/app.Response"
  1511. }
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "/Ermcp/QueryBusinessKx": {
  1517. "get": {
  1518. "security": [
  1519. {
  1520. "ApiKeyAuth": []
  1521. }
  1522. ],
  1523. "produces": [
  1524. "application/json"
  1525. ],
  1526. "tags": [
  1527. "企业风险管理(app)"
  1528. ],
  1529. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1530. "parameters": [
  1531. {
  1532. "type": "integer",
  1533. "description": "用户ID",
  1534. "name": "UserId",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "string",
  1540. "description": "现货合同ID, 不填则查所有",
  1541. "name": "relatedid",
  1542. "in": "query"
  1543. }
  1544. ],
  1545. "responses": {
  1546. "200": {
  1547. "description": "OK",
  1548. "schema": {
  1549. "type": "array",
  1550. "items": {
  1551. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1552. }
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/Ermcp/QueryChangeLog": {
  1565. "get": {
  1566. "security": [
  1567. {
  1568. "ApiKeyAuth": []
  1569. }
  1570. ],
  1571. "produces": [
  1572. "application/json"
  1573. ],
  1574. "tags": [
  1575. "企业风险管理(app)"
  1576. ],
  1577. "summary": "查询变更记录",
  1578. "parameters": [
  1579. {
  1580. "type": "string",
  1581. "description": "合同ID",
  1582. "name": "RelatedId",
  1583. "in": "query",
  1584. "required": true
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "OK",
  1590. "schema": {
  1591. "type": "array",
  1592. "items": {
  1593. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1594. }
  1595. }
  1596. },
  1597. "500": {
  1598. "description": "Internal Server Error",
  1599. "schema": {
  1600. "$ref": "#/definitions/app.Response"
  1601. }
  1602. }
  1603. }
  1604. }
  1605. },
  1606. "/Ermcp/QueryContract": {
  1607. "get": {
  1608. "security": [
  1609. {
  1610. "ApiKeyAuth": []
  1611. }
  1612. ],
  1613. "produces": [
  1614. "application/json"
  1615. ],
  1616. "tags": [
  1617. "企业风险管理(app)"
  1618. ],
  1619. "summary": "查询合同(采购和销售)",
  1620. "parameters": [
  1621. {
  1622. "type": "integer",
  1623. "description": "用户ID",
  1624. "name": "userId",
  1625. "in": "query",
  1626. "required": true
  1627. },
  1628. {
  1629. "type": "integer",
  1630. "description": "合同类型 1-采购, -1-销售",
  1631. "name": "contracttype",
  1632. "in": "query",
  1633. "required": true
  1634. },
  1635. {
  1636. "type": "integer",
  1637. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1638. "name": "querytype",
  1639. "in": "query",
  1640. "required": true
  1641. }
  1642. ],
  1643. "responses": {
  1644. "200": {
  1645. "description": "OK",
  1646. "schema": {
  1647. "type": "array",
  1648. "items": {
  1649. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1650. }
  1651. }
  1652. },
  1653. "500": {
  1654. "description": "Internal Server Error",
  1655. "schema": {
  1656. "$ref": "#/definitions/app.Response"
  1657. }
  1658. }
  1659. }
  1660. }
  1661. },
  1662. "/Ermcp/QueryErmcpHisOrderDetails": {
  1663. "get": {
  1664. "security": [
  1665. {
  1666. "ApiKeyAuth": []
  1667. }
  1668. ],
  1669. "produces": [
  1670. "application/json"
  1671. ],
  1672. "tags": [
  1673. "企业风险管理(app)"
  1674. ],
  1675. "summary": "获取企业风管期货历史委托单信息",
  1676. "parameters": [
  1677. {
  1678. "type": "integer",
  1679. "description": "资金账户ID",
  1680. "name": "accountID",
  1681. "in": "query",
  1682. "required": true
  1683. },
  1684. {
  1685. "type": "string",
  1686. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1687. "name": "startDate",
  1688. "in": "query"
  1689. },
  1690. {
  1691. "type": "string",
  1692. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1693. "name": "endDate",
  1694. "in": "query"
  1695. }
  1696. ],
  1697. "responses": {
  1698. "200": {
  1699. "description": "OK",
  1700. "schema": {
  1701. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1702. }
  1703. },
  1704. "500": {
  1705. "description": "Internal Server Error",
  1706. "schema": {
  1707. "$ref": "#/definitions/app.Response"
  1708. }
  1709. }
  1710. }
  1711. }
  1712. },
  1713. "/Ermcp/QueryErmcpHisTradeDetails": {
  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": "accountID",
  1732. "in": "query",
  1733. "required": true
  1734. },
  1735. {
  1736. "type": "integer",
  1737. "description": "商品ID",
  1738. "name": "goodsID",
  1739. "in": "query"
  1740. },
  1741. {
  1742. "type": "integer",
  1743. "description": "买卖方向,0:买 1:卖",
  1744. "name": "buyOrSell",
  1745. "in": "query"
  1746. },
  1747. {
  1748. "type": "string",
  1749. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1750. "name": "startDate",
  1751. "in": "query"
  1752. },
  1753. {
  1754. "type": "string",
  1755. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1756. "name": "endDate",
  1757. "in": "query"
  1758. }
  1759. ],
  1760. "responses": {
  1761. "200": {
  1762. "description": "OK",
  1763. "schema": {
  1764. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1765. }
  1766. },
  1767. "500": {
  1768. "description": "Internal Server Error",
  1769. "schema": {
  1770. "$ref": "#/definitions/app.Response"
  1771. }
  1772. }
  1773. }
  1774. }
  1775. },
  1776. "/Ermcp/QueryErmcpOrderDetails": {
  1777. "get": {
  1778. "security": [
  1779. {
  1780. "ApiKeyAuth": []
  1781. }
  1782. ],
  1783. "produces": [
  1784. "application/json"
  1785. ],
  1786. "tags": [
  1787. "企业风险管理(app)"
  1788. ],
  1789. "summary": "获取企业风管期货委托单信息",
  1790. "parameters": [
  1791. {
  1792. "type": "integer",
  1793. "description": "资金账户ID",
  1794. "name": "accountID",
  1795. "in": "query",
  1796. "required": true
  1797. }
  1798. ],
  1799. "responses": {
  1800. "200": {
  1801. "description": "OK",
  1802. "schema": {
  1803. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1804. }
  1805. },
  1806. "500": {
  1807. "description": "Internal Server Error",
  1808. "schema": {
  1809. "$ref": "#/definitions/app.Response"
  1810. }
  1811. }
  1812. }
  1813. }
  1814. },
  1815. "/Ermcp/QueryErmcpTradeDetails": {
  1816. "get": {
  1817. "security": [
  1818. {
  1819. "ApiKeyAuth": []
  1820. }
  1821. ],
  1822. "produces": [
  1823. "application/json"
  1824. ],
  1825. "tags": [
  1826. "企业风险管理(app)"
  1827. ],
  1828. "summary": "获取企业风管期货成交单信息",
  1829. "parameters": [
  1830. {
  1831. "type": "integer",
  1832. "description": "资金账户ID",
  1833. "name": "accountID",
  1834. "in": "query",
  1835. "required": true
  1836. },
  1837. {
  1838. "type": "integer",
  1839. "description": "商品ID",
  1840. "name": "goodsID",
  1841. "in": "query"
  1842. },
  1843. {
  1844. "type": "integer",
  1845. "description": "买卖方向,0:买 1:卖",
  1846. "name": "buyOrSell",
  1847. "in": "query"
  1848. }
  1849. ],
  1850. "responses": {
  1851. "200": {
  1852. "description": "OK",
  1853. "schema": {
  1854. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1855. }
  1856. },
  1857. "500": {
  1858. "description": "Internal Server Error",
  1859. "schema": {
  1860. "$ref": "#/definitions/app.Response"
  1861. }
  1862. }
  1863. }
  1864. }
  1865. },
  1866. "/Ermcp/QueryErmcpTradePosition": {
  1867. "get": {
  1868. "security": [
  1869. {
  1870. "ApiKeyAuth": []
  1871. }
  1872. ],
  1873. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1874. "produces": [
  1875. "application/json"
  1876. ],
  1877. "tags": [
  1878. "企业风险管理(app)"
  1879. ],
  1880. "summary": "获取企业风管期货持仓头寸信息",
  1881. "parameters": [
  1882. {
  1883. "type": "integer",
  1884. "description": "资金账户ID",
  1885. "name": "accountID",
  1886. "in": "query",
  1887. "required": true
  1888. },
  1889. {
  1890. "type": "integer",
  1891. "description": "所属市场ID",
  1892. "name": "marketID",
  1893. "in": "query"
  1894. }
  1895. ],
  1896. "responses": {
  1897. "200": {
  1898. "description": "OK",
  1899. "schema": {
  1900. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1901. }
  1902. },
  1903. "500": {
  1904. "description": "Internal Server Error",
  1905. "schema": {
  1906. "$ref": "#/definitions/app.Response"
  1907. }
  1908. }
  1909. }
  1910. }
  1911. },
  1912. "/Ermcp/QueryExposureDetail": {
  1913. "get": {
  1914. "security": [
  1915. {
  1916. "ApiKeyAuth": []
  1917. }
  1918. ],
  1919. "produces": [
  1920. "application/json"
  1921. ],
  1922. "tags": [
  1923. "企业风险管理(app)"
  1924. ],
  1925. "summary": "查询敞口现货明细",
  1926. "parameters": [
  1927. {
  1928. "type": "integer",
  1929. "description": "所属机构ID",
  1930. "name": "areaUserId",
  1931. "in": "query",
  1932. "required": true
  1933. },
  1934. {
  1935. "type": "integer",
  1936. "description": "套保商品",
  1937. "name": "middleGoodsId",
  1938. "in": "query",
  1939. "required": true
  1940. }
  1941. ],
  1942. "responses": {
  1943. "200": {
  1944. "description": "OK",
  1945. "schema": {
  1946. "type": "array",
  1947. "items": {
  1948. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1949. }
  1950. }
  1951. },
  1952. "500": {
  1953. "description": "Internal Server Error",
  1954. "schema": {
  1955. "$ref": "#/definitions/app.Response"
  1956. }
  1957. }
  1958. }
  1959. }
  1960. },
  1961. "/Ermcp/QueryExposureHedgePosition": {
  1962. "get": {
  1963. "security": [
  1964. {
  1965. "ApiKeyAuth": []
  1966. }
  1967. ],
  1968. "produces": [
  1969. "application/json"
  1970. ],
  1971. "tags": [
  1972. "企业风险管理(app)"
  1973. ],
  1974. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1975. "parameters": [
  1976. {
  1977. "type": "integer",
  1978. "description": "所属机构ID",
  1979. "name": "areaUserId",
  1980. "in": "query",
  1981. "required": true
  1982. }
  1983. ],
  1984. "responses": {
  1985. "200": {
  1986. "description": "OK",
  1987. "schema": {
  1988. "type": "array",
  1989. "items": {
  1990. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1991. }
  1992. }
  1993. },
  1994. "500": {
  1995. "description": "Internal Server Error",
  1996. "schema": {
  1997. "$ref": "#/definitions/app.Response"
  1998. }
  1999. }
  2000. }
  2001. }
  2002. },
  2003. "/Ermcp/QueryExposureHedgePositionDetail": {
  2004. "get": {
  2005. "security": [
  2006. {
  2007. "ApiKeyAuth": []
  2008. }
  2009. ],
  2010. "produces": [
  2011. "application/json"
  2012. ],
  2013. "tags": [
  2014. "企业风险管理(app)"
  2015. ],
  2016. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2017. "parameters": [
  2018. {
  2019. "type": "integer",
  2020. "description": "所属机构ID",
  2021. "name": "areaUserId",
  2022. "in": "query",
  2023. "required": true
  2024. },
  2025. {
  2026. "type": "integer",
  2027. "description": "商品id",
  2028. "name": "goodsId",
  2029. "in": "query",
  2030. "required": true
  2031. }
  2032. ],
  2033. "responses": {
  2034. "200": {
  2035. "description": "OK",
  2036. "schema": {
  2037. "type": "array",
  2038. "items": {
  2039. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2040. }
  2041. }
  2042. },
  2043. "500": {
  2044. "description": "Internal Server Error",
  2045. "schema": {
  2046. "$ref": "#/definitions/app.Response"
  2047. }
  2048. }
  2049. }
  2050. }
  2051. },
  2052. "/Ermcp/QueryExposureSpot": {
  2053. "get": {
  2054. "security": [
  2055. {
  2056. "ApiKeyAuth": []
  2057. }
  2058. ],
  2059. "produces": [
  2060. "application/json"
  2061. ],
  2062. "tags": [
  2063. "企业风险管理(app)"
  2064. ],
  2065. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2066. "parameters": [
  2067. {
  2068. "type": "integer",
  2069. "description": "所属机构ID",
  2070. "name": "areaUserId",
  2071. "in": "query",
  2072. "required": true
  2073. }
  2074. ],
  2075. "responses": {
  2076. "200": {
  2077. "description": "OK",
  2078. "schema": {
  2079. "type": "array",
  2080. "items": {
  2081. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2082. }
  2083. }
  2084. },
  2085. "500": {
  2086. "description": "Internal Server Error",
  2087. "schema": {
  2088. "$ref": "#/definitions/app.Response"
  2089. }
  2090. }
  2091. }
  2092. }
  2093. },
  2094. "/Ermcp/QueryExposureSpotDetail": {
  2095. "get": {
  2096. "security": [
  2097. {
  2098. "ApiKeyAuth": []
  2099. }
  2100. ],
  2101. "produces": [
  2102. "application/json"
  2103. ],
  2104. "tags": [
  2105. "企业风险管理(app)"
  2106. ],
  2107. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2108. "parameters": [
  2109. {
  2110. "type": "integer",
  2111. "description": "所属机构ID",
  2112. "name": "areaUserId",
  2113. "in": "query",
  2114. "required": true
  2115. },
  2116. {
  2117. "type": "integer",
  2118. "description": "现货品种ID",
  2119. "name": "wrstandardId",
  2120. "in": "query",
  2121. "required": true
  2122. }
  2123. ],
  2124. "responses": {
  2125. "200": {
  2126. "description": "OK",
  2127. "schema": {
  2128. "type": "array",
  2129. "items": {
  2130. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2131. }
  2132. }
  2133. },
  2134. "500": {
  2135. "description": "Internal Server Error",
  2136. "schema": {
  2137. "$ref": "#/definitions/app.Response"
  2138. }
  2139. }
  2140. }
  2141. }
  2142. },
  2143. "/Ermcp/QueryGGConvertConfig": {
  2144. "get": {
  2145. "security": [
  2146. {
  2147. "ApiKeyAuth": []
  2148. }
  2149. ],
  2150. "produces": [
  2151. "application/json"
  2152. ],
  2153. "tags": [
  2154. "企业风险管理(app)"
  2155. ],
  2156. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2157. "parameters": [
  2158. {
  2159. "type": "integer",
  2160. "description": "品种id(不填则查所有)",
  2161. "name": "goodsgroupid",
  2162. "in": "query"
  2163. }
  2164. ],
  2165. "responses": {
  2166. "200": {
  2167. "description": "OK",
  2168. "schema": {
  2169. "type": "array",
  2170. "items": {
  2171. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2172. }
  2173. }
  2174. },
  2175. "500": {
  2176. "description": "Internal Server Error",
  2177. "schema": {
  2178. "$ref": "#/definitions/app.Response"
  2179. }
  2180. }
  2181. }
  2182. }
  2183. },
  2184. "/Ermcp/QueryHedgePlan": {
  2185. "get": {
  2186. "security": [
  2187. {
  2188. "ApiKeyAuth": []
  2189. }
  2190. ],
  2191. "produces": [
  2192. "application/json"
  2193. ],
  2194. "tags": [
  2195. "企业风险管理(app)"
  2196. ],
  2197. "summary": "查询套保计划",
  2198. "parameters": [
  2199. {
  2200. "type": "integer",
  2201. "description": "用户ID",
  2202. "name": "userId",
  2203. "in": "query",
  2204. "required": true
  2205. },
  2206. {
  2207. "type": "string",
  2208. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2209. "name": "HedgePlanStatus",
  2210. "in": "query",
  2211. "required": true
  2212. }
  2213. ],
  2214. "responses": {
  2215. "200": {
  2216. "description": "OK",
  2217. "schema": {
  2218. "type": "array",
  2219. "items": {
  2220. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2221. }
  2222. }
  2223. },
  2224. "500": {
  2225. "description": "Internal Server Error",
  2226. "schema": {
  2227. "$ref": "#/definitions/app.Response"
  2228. }
  2229. }
  2230. }
  2231. }
  2232. },
  2233. "/Ermcp/QueryHisExposure": {
  2234. "get": {
  2235. "security": [
  2236. {
  2237. "ApiKeyAuth": []
  2238. }
  2239. ],
  2240. "produces": [
  2241. "application/json"
  2242. ],
  2243. "tags": [
  2244. "企业风险管理(app)"
  2245. ],
  2246. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2247. "parameters": [
  2248. {
  2249. "type": "integer",
  2250. "description": "所属机构ID",
  2251. "name": "areaUserId",
  2252. "in": "query",
  2253. "required": true
  2254. },
  2255. {
  2256. "type": "integer",
  2257. "description": "每个品种记录数",
  2258. "name": "lastNum",
  2259. "in": "query",
  2260. "required": true
  2261. }
  2262. ],
  2263. "responses": {
  2264. "200": {
  2265. "description": "OK",
  2266. "schema": {
  2267. "type": "array",
  2268. "items": {
  2269. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2270. }
  2271. }
  2272. },
  2273. "500": {
  2274. "description": "Internal Server Error",
  2275. "schema": {
  2276. "$ref": "#/definitions/app.Response"
  2277. }
  2278. }
  2279. }
  2280. }
  2281. },
  2282. "/Ermcp/QueryMiddleGoods": {
  2283. "get": {
  2284. "security": [
  2285. {
  2286. "ApiKeyAuth": []
  2287. }
  2288. ],
  2289. "produces": [
  2290. "application/json"
  2291. ],
  2292. "tags": [
  2293. "企业风险管理(app)"
  2294. ],
  2295. "summary": "查询套保品种(菜单:套保品种)",
  2296. "parameters": [
  2297. {
  2298. "type": "integer",
  2299. "description": "所属机构ID",
  2300. "name": "userid",
  2301. "in": "query",
  2302. "required": true
  2303. },
  2304. {
  2305. "type": "integer",
  2306. "description": "状态 0-停用 1-正常",
  2307. "name": "status",
  2308. "in": "query",
  2309. "required": true
  2310. }
  2311. ],
  2312. "responses": {
  2313. "200": {
  2314. "description": "OK",
  2315. "schema": {
  2316. "type": "array",
  2317. "items": {
  2318. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2319. }
  2320. }
  2321. },
  2322. "500": {
  2323. "description": "Internal Server Error",
  2324. "schema": {
  2325. "$ref": "#/definitions/app.Response"
  2326. }
  2327. }
  2328. }
  2329. }
  2330. },
  2331. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2332. "get": {
  2333. "security": [
  2334. {
  2335. "ApiKeyAuth": []
  2336. }
  2337. ],
  2338. "produces": [
  2339. "application/json"
  2340. ],
  2341. "tags": [
  2342. "企业风险管理(app)"
  2343. ],
  2344. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2345. "parameters": [
  2346. {
  2347. "type": "integer",
  2348. "description": "所属机构ID",
  2349. "name": "userid",
  2350. "in": "query",
  2351. "required": true
  2352. },
  2353. {
  2354. "type": "integer",
  2355. "description": "套保品种id",
  2356. "name": "middlegoodsid",
  2357. "in": "query",
  2358. "required": true
  2359. }
  2360. ],
  2361. "responses": {
  2362. "200": {
  2363. "description": "OK",
  2364. "schema": {
  2365. "type": "array",
  2366. "items": {
  2367. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2368. }
  2369. }
  2370. },
  2371. "500": {
  2372. "description": "Internal Server Error",
  2373. "schema": {
  2374. "$ref": "#/definitions/app.Response"
  2375. }
  2376. }
  2377. }
  2378. }
  2379. },
  2380. "/Ermcp/QueryMiddleGoodsDetail": {
  2381. "get": {
  2382. "security": [
  2383. {
  2384. "ApiKeyAuth": []
  2385. }
  2386. ],
  2387. "produces": [
  2388. "application/json"
  2389. ],
  2390. "tags": [
  2391. "企业风险管理(app)"
  2392. ],
  2393. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2394. "parameters": [
  2395. {
  2396. "type": "integer",
  2397. "description": "所属机构ID",
  2398. "name": "userid",
  2399. "in": "query",
  2400. "required": true
  2401. },
  2402. {
  2403. "type": "integer",
  2404. "description": "套保品种id",
  2405. "name": "middlegoodsid",
  2406. "in": "query",
  2407. "required": true
  2408. }
  2409. ],
  2410. "responses": {
  2411. "200": {
  2412. "description": "OK",
  2413. "schema": {
  2414. "type": "array",
  2415. "items": {
  2416. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2417. }
  2418. }
  2419. },
  2420. "500": {
  2421. "description": "Internal Server Error",
  2422. "schema": {
  2423. "$ref": "#/definitions/app.Response"
  2424. }
  2425. }
  2426. }
  2427. }
  2428. },
  2429. "/Ermcp/QueryPendingAuditInfo": {
  2430. "get": {
  2431. "security": [
  2432. {
  2433. "ApiKeyAuth": []
  2434. }
  2435. ],
  2436. "produces": [
  2437. "application/json"
  2438. ],
  2439. "tags": [
  2440. "企业风险管理(app)"
  2441. ],
  2442. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2443. "parameters": [
  2444. {
  2445. "type": "integer",
  2446. "description": "用户ID",
  2447. "name": "UserId",
  2448. "in": "query",
  2449. "required": true
  2450. }
  2451. ],
  2452. "responses": {
  2453. "200": {
  2454. "description": "OK",
  2455. "schema": {
  2456. "type": "array",
  2457. "items": {
  2458. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2459. }
  2460. }
  2461. },
  2462. "500": {
  2463. "description": "Internal Server Error",
  2464. "schema": {
  2465. "$ref": "#/definitions/app.Response"
  2466. }
  2467. }
  2468. }
  2469. }
  2470. },
  2471. "/Ermcp/QueryRealtimeExposure": {
  2472. "get": {
  2473. "security": [
  2474. {
  2475. "ApiKeyAuth": []
  2476. }
  2477. ],
  2478. "produces": [
  2479. "application/json"
  2480. ],
  2481. "tags": [
  2482. "企业风险管理(app)"
  2483. ],
  2484. "summary": "查询实时敞口",
  2485. "parameters": [
  2486. {
  2487. "type": "integer",
  2488. "description": "所属机构ID",
  2489. "name": "AreaUserID",
  2490. "in": "query",
  2491. "required": true
  2492. }
  2493. ],
  2494. "responses": {
  2495. "200": {
  2496. "description": "OK",
  2497. "schema": {
  2498. "type": "array",
  2499. "items": {
  2500. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2501. }
  2502. }
  2503. },
  2504. "500": {
  2505. "description": "Internal Server Error",
  2506. "schema": {
  2507. "$ref": "#/definitions/app.Response"
  2508. }
  2509. }
  2510. }
  2511. }
  2512. },
  2513. "/Ermcp/QueryRealtimeExposurePosition": {
  2514. "get": {
  2515. "security": [
  2516. {
  2517. "ApiKeyAuth": []
  2518. }
  2519. ],
  2520. "produces": [
  2521. "application/json"
  2522. ],
  2523. "tags": [
  2524. "企业风险管理(app)"
  2525. ],
  2526. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2527. "parameters": [
  2528. {
  2529. "type": "integer",
  2530. "description": "所属机构ID",
  2531. "name": "areaUserId",
  2532. "in": "query",
  2533. "required": true
  2534. },
  2535. {
  2536. "type": "integer",
  2537. "description": "套保商品ID",
  2538. "name": "middleGoodsId",
  2539. "in": "query",
  2540. "required": true
  2541. }
  2542. ],
  2543. "responses": {
  2544. "200": {
  2545. "description": "OK",
  2546. "schema": {
  2547. "type": "array",
  2548. "items": {
  2549. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2550. }
  2551. }
  2552. },
  2553. "500": {
  2554. "description": "Internal Server Error",
  2555. "schema": {
  2556. "$ref": "#/definitions/app.Response"
  2557. }
  2558. }
  2559. }
  2560. }
  2561. },
  2562. "/Ermcp/QuerySpotContract": {
  2563. "get": {
  2564. "security": [
  2565. {
  2566. "ApiKeyAuth": []
  2567. }
  2568. ],
  2569. "produces": [
  2570. "application/json"
  2571. ],
  2572. "tags": [
  2573. "企业风险管理(app)"
  2574. ],
  2575. "summary": "查询现货合同(对应现货合同菜单)",
  2576. "parameters": [
  2577. {
  2578. "type": "integer",
  2579. "description": "用户ID",
  2580. "name": "userId",
  2581. "in": "query",
  2582. "required": true
  2583. },
  2584. {
  2585. "type": "integer",
  2586. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2587. "name": "QueryType",
  2588. "in": "query",
  2589. "required": true
  2590. }
  2591. ],
  2592. "responses": {
  2593. "200": {
  2594. "description": "OK",
  2595. "schema": {
  2596. "type": "array",
  2597. "items": {
  2598. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2599. }
  2600. }
  2601. },
  2602. "500": {
  2603. "description": "Internal Server Error",
  2604. "schema": {
  2605. "$ref": "#/definitions/app.Response"
  2606. }
  2607. }
  2608. }
  2609. }
  2610. },
  2611. "/Ermcp/QueryUserInfo": {
  2612. "get": {
  2613. "security": [
  2614. {
  2615. "ApiKeyAuth": []
  2616. }
  2617. ],
  2618. "produces": [
  2619. "application/json"
  2620. ],
  2621. "tags": [
  2622. "企业风险管理(app)"
  2623. ],
  2624. "summary": "查询客户资料",
  2625. "parameters": [
  2626. {
  2627. "type": "integer",
  2628. "description": "所属机构用户ID",
  2629. "name": "MemberUserID",
  2630. "in": "query",
  2631. "required": true
  2632. },
  2633. {
  2634. "type": "integer",
  2635. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2636. "name": "queryType",
  2637. "in": "query",
  2638. "required": true
  2639. }
  2640. ],
  2641. "responses": {
  2642. "200": {
  2643. "description": "OK",
  2644. "schema": {
  2645. "type": "array",
  2646. "items": {
  2647. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2648. }
  2649. }
  2650. },
  2651. "500": {
  2652. "description": "Internal Server Error",
  2653. "schema": {
  2654. "$ref": "#/definitions/app.Response"
  2655. }
  2656. }
  2657. }
  2658. }
  2659. },
  2660. "/Ermcp/QueryWrStandard": {
  2661. "get": {
  2662. "security": [
  2663. {
  2664. "ApiKeyAuth": []
  2665. }
  2666. ],
  2667. "produces": [
  2668. "application/json"
  2669. ],
  2670. "tags": [
  2671. "企业风险管理(app)"
  2672. ],
  2673. "summary": "查询现货商品",
  2674. "parameters": [
  2675. {
  2676. "type": "integer",
  2677. "description": "所属机构ID",
  2678. "name": "userid",
  2679. "in": "query",
  2680. "required": true
  2681. },
  2682. {
  2683. "type": "integer",
  2684. "description": "状态 0-停用 1-正常",
  2685. "name": "status",
  2686. "in": "query",
  2687. "required": true
  2688. }
  2689. ],
  2690. "responses": {
  2691. "200": {
  2692. "description": "OK",
  2693. "schema": {
  2694. "type": "array",
  2695. "items": {
  2696. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2697. }
  2698. }
  2699. },
  2700. "500": {
  2701. "description": "Internal Server Error",
  2702. "schema": {
  2703. "$ref": "#/definitions/app.Response"
  2704. }
  2705. }
  2706. }
  2707. }
  2708. },
  2709. "/Ermcp/QueryWrStandardDetail": {
  2710. "get": {
  2711. "security": [
  2712. {
  2713. "ApiKeyAuth": []
  2714. }
  2715. ],
  2716. "produces": [
  2717. "application/json"
  2718. ],
  2719. "tags": [
  2720. "企业风险管理(app)"
  2721. ],
  2722. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2723. "parameters": [
  2724. {
  2725. "type": "integer",
  2726. "description": "所属机构ID",
  2727. "name": "userid",
  2728. "in": "query",
  2729. "required": true
  2730. },
  2731. {
  2732. "type": "integer",
  2733. "description": "现货商品ID",
  2734. "name": "wrstandardid",
  2735. "in": "query",
  2736. "required": true
  2737. },
  2738. {
  2739. "type": "integer",
  2740. "description": "可不填, 1-查询关联交易商品",
  2741. "name": "goods",
  2742. "in": "query"
  2743. }
  2744. ],
  2745. "responses": {
  2746. "200": {
  2747. "description": "OK",
  2748. "schema": {
  2749. "type": "array",
  2750. "items": {
  2751. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2752. }
  2753. }
  2754. },
  2755. "500": {
  2756. "description": "Internal Server Error",
  2757. "schema": {
  2758. "$ref": "#/definitions/app.Response"
  2759. }
  2760. }
  2761. }
  2762. }
  2763. },
  2764. "/Erms2/QueryArbitrageStrategy": {
  2765. "get": {
  2766. "security": [
  2767. {
  2768. "ApiKeyAuth": []
  2769. }
  2770. ],
  2771. "produces": [
  2772. "application/json"
  2773. ],
  2774. "tags": [
  2775. "风险管理"
  2776. ],
  2777. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2778. "parameters": [
  2779. {
  2780. "type": "integer",
  2781. "description": "账户ID",
  2782. "name": "userid",
  2783. "in": "query",
  2784. "required": true
  2785. },
  2786. {
  2787. "type": "string",
  2788. "description": "商品组ID(品种ID)",
  2789. "name": "goodsgroupid",
  2790. "in": "query"
  2791. }
  2792. ],
  2793. "responses": {
  2794. "200": {
  2795. "description": "OK",
  2796. "schema": {
  2797. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2798. }
  2799. },
  2800. "500": {
  2801. "description": "Internal Server Error",
  2802. "schema": {
  2803. "$ref": "#/definitions/app.Response"
  2804. }
  2805. }
  2806. }
  2807. }
  2808. },
  2809. "/Erms2/QueryInnerTradeDetail": {
  2810. "get": {
  2811. "security": [
  2812. {
  2813. "ApiKeyAuth": []
  2814. }
  2815. ],
  2816. "produces": [
  2817. "application/json"
  2818. ],
  2819. "tags": [
  2820. "风险管理"
  2821. ],
  2822. "summary": "查询内部成交单信息",
  2823. "parameters": [
  2824. {
  2825. "type": "integer",
  2826. "description": "资金账户",
  2827. "name": "accountid",
  2828. "in": "query",
  2829. "required": true
  2830. }
  2831. ],
  2832. "responses": {
  2833. "200": {
  2834. "description": "OK",
  2835. "schema": {
  2836. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2837. }
  2838. },
  2839. "500": {
  2840. "description": "Internal Server Error",
  2841. "schema": {
  2842. "$ref": "#/definitions/app.Response"
  2843. }
  2844. }
  2845. }
  2846. }
  2847. },
  2848. "/Erms2/QuerySpotContract": {
  2849. "get": {
  2850. "security": [
  2851. {
  2852. "ApiKeyAuth": []
  2853. }
  2854. ],
  2855. "produces": [
  2856. "application/json"
  2857. ],
  2858. "tags": [
  2859. "风险管理"
  2860. ],
  2861. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2862. "parameters": [
  2863. {
  2864. "type": "integer",
  2865. "description": "策略申请ID",
  2866. "name": "asapplyid",
  2867. "in": "query",
  2868. "required": true
  2869. },
  2870. {
  2871. "type": "integer",
  2872. "description": "现货合同ID",
  2873. "name": "spotcontractid",
  2874. "in": "query"
  2875. }
  2876. ],
  2877. "responses": {
  2878. "200": {
  2879. "description": "OK",
  2880. "schema": {
  2881. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2882. }
  2883. },
  2884. "500": {
  2885. "description": "Internal Server Error",
  2886. "schema": {
  2887. "$ref": "#/definitions/app.Response"
  2888. }
  2889. }
  2890. }
  2891. }
  2892. },
  2893. "/Erms3/AddErms2ASApply": {
  2894. "post": {
  2895. "security": [
  2896. {
  2897. "ApiKeyAuth": []
  2898. }
  2899. ],
  2900. "produces": [
  2901. "application/json"
  2902. ],
  2903. "tags": [
  2904. "风险管理v3"
  2905. ],
  2906. "summary": "新增期现套利业务申请",
  2907. "parameters": [
  2908. {
  2909. "description": "申请参数",
  2910. "name": "jsonBody",
  2911. "in": "body",
  2912. "required": true,
  2913. "schema": {
  2914. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2915. }
  2916. }
  2917. ],
  2918. "responses": {
  2919. "200": {
  2920. "description": "OK",
  2921. "schema": {
  2922. "$ref": "#/definitions/app.Response"
  2923. }
  2924. },
  2925. "500": {
  2926. "description": "Internal Server Error",
  2927. "schema": {
  2928. "$ref": "#/definitions/app.Response"
  2929. }
  2930. }
  2931. }
  2932. }
  2933. },
  2934. "/Erms3/AddErms2SpotTradeApply": {
  2935. "post": {
  2936. "security": [
  2937. {
  2938. "ApiKeyAuth": []
  2939. }
  2940. ],
  2941. "produces": [
  2942. "application/json"
  2943. ],
  2944. "tags": [
  2945. "风险管理v3"
  2946. ],
  2947. "summary": "新增现货贸易业务申请",
  2948. "parameters": [
  2949. {
  2950. "description": "申请参数",
  2951. "name": "jsonBody",
  2952. "in": "body",
  2953. "required": true,
  2954. "schema": {
  2955. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2956. }
  2957. }
  2958. ],
  2959. "responses": {
  2960. "200": {
  2961. "description": "OK",
  2962. "schema": {
  2963. "$ref": "#/definitions/app.Response"
  2964. }
  2965. },
  2966. "500": {
  2967. "description": "Internal Server Error",
  2968. "schema": {
  2969. "$ref": "#/definitions/app.Response"
  2970. }
  2971. }
  2972. }
  2973. }
  2974. },
  2975. "/Erms3/AddSpotContractApply": {
  2976. "post": {
  2977. "security": [
  2978. {
  2979. "ApiKeyAuth": []
  2980. }
  2981. ],
  2982. "produces": [
  2983. "application/json"
  2984. ],
  2985. "tags": [
  2986. "风险管理v3"
  2987. ],
  2988. "summary": "新增现货合同申请",
  2989. "parameters": [
  2990. {
  2991. "description": "申请参数",
  2992. "name": "jsonBody",
  2993. "in": "body",
  2994. "required": true,
  2995. "schema": {
  2996. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2997. }
  2998. }
  2999. ],
  3000. "responses": {
  3001. "200": {
  3002. "description": "OK",
  3003. "schema": {
  3004. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3005. }
  3006. },
  3007. "500": {
  3008. "description": "Internal Server Error",
  3009. "schema": {
  3010. "$ref": "#/definitions/app.Response"
  3011. }
  3012. }
  3013. }
  3014. }
  3015. },
  3016. "/Erms3/AddUserInfoApply": {
  3017. "post": {
  3018. "security": [
  3019. {
  3020. "ApiKeyAuth": []
  3021. }
  3022. ],
  3023. "produces": [
  3024. "application/json"
  3025. ],
  3026. "tags": [
  3027. "风险管理v3"
  3028. ],
  3029. "summary": "新增客户申请",
  3030. "parameters": [
  3031. {
  3032. "description": "用户信息",
  3033. "name": "jsonBody",
  3034. "in": "body",
  3035. "required": true,
  3036. "schema": {
  3037. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3038. }
  3039. }
  3040. ],
  3041. "responses": {
  3042. "200": {
  3043. "description": "OK",
  3044. "schema": {
  3045. "$ref": "#/definitions/app.Response"
  3046. }
  3047. },
  3048. "500": {
  3049. "description": "Internal Server Error",
  3050. "schema": {
  3051. "$ref": "#/definitions/app.Response"
  3052. }
  3053. }
  3054. }
  3055. }
  3056. },
  3057. "/Erms3/ModifyUserInfoApply": {
  3058. "post": {
  3059. "security": [
  3060. {
  3061. "ApiKeyAuth": []
  3062. }
  3063. ],
  3064. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3065. "produces": [
  3066. "application/json"
  3067. ],
  3068. "tags": [
  3069. "风险管理v3"
  3070. ],
  3071. "summary": "修改客户申请",
  3072. "parameters": [
  3073. {
  3074. "description": "用户信息",
  3075. "name": "jsonBody",
  3076. "in": "body",
  3077. "required": true,
  3078. "schema": {
  3079. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3080. }
  3081. }
  3082. ],
  3083. "responses": {
  3084. "200": {
  3085. "description": "OK",
  3086. "schema": {
  3087. "$ref": "#/definitions/app.Response"
  3088. }
  3089. },
  3090. "500": {
  3091. "description": "Internal Server Error",
  3092. "schema": {
  3093. "$ref": "#/definitions/app.Response"
  3094. }
  3095. }
  3096. }
  3097. }
  3098. },
  3099. "/Erms3/QueryBusinessInfo": {
  3100. "get": {
  3101. "security": [
  3102. {
  3103. "ApiKeyAuth": []
  3104. }
  3105. ],
  3106. "produces": [
  3107. "application/json"
  3108. ],
  3109. "tags": [
  3110. "风险管理v3"
  3111. ],
  3112. "summary": "查询业务表单数据",
  3113. "parameters": [
  3114. {
  3115. "type": "string",
  3116. "description": "资金账号ID列表,用逗号分隔",
  3117. "name": "accountids",
  3118. "in": "query",
  3119. "required": true
  3120. },
  3121. {
  3122. "type": "integer",
  3123. "description": "状态,0为未结束 1为已结束",
  3124. "name": "status",
  3125. "in": "query",
  3126. "required": true
  3127. }
  3128. ],
  3129. "responses": {
  3130. "200": {
  3131. "description": "OK",
  3132. "schema": {
  3133. "type": "array",
  3134. "items": {
  3135. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3136. }
  3137. }
  3138. },
  3139. "500": {
  3140. "description": "Internal Server Error",
  3141. "schema": {
  3142. "$ref": "#/definitions/app.Response"
  3143. }
  3144. }
  3145. }
  3146. }
  3147. },
  3148. "/Erms3/QueryPendingAuditContract": {
  3149. "get": {
  3150. "security": [
  3151. {
  3152. "ApiKeyAuth": []
  3153. }
  3154. ],
  3155. "produces": [
  3156. "application/json"
  3157. ],
  3158. "tags": [
  3159. "风险管理v3"
  3160. ],
  3161. "summary": "查询待审核合同",
  3162. "parameters": [
  3163. {
  3164. "type": "string",
  3165. "description": "资金账号ID列表,逗号隔开",
  3166. "name": "accountids",
  3167. "in": "query",
  3168. "required": true
  3169. },
  3170. {
  3171. "type": "integer",
  3172. "description": "合同类型 1-采购 -1-销售",
  3173. "name": "contracttype",
  3174. "in": "query",
  3175. "required": true
  3176. },
  3177. {
  3178. "type": "integer",
  3179. "description": "合同模式 1-普通 2-回购",
  3180. "name": "contractmode",
  3181. "in": "query",
  3182. "required": true
  3183. }
  3184. ],
  3185. "responses": {
  3186. "200": {
  3187. "description": "OK",
  3188. "schema": {
  3189. "type": "array",
  3190. "items": {
  3191. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3192. }
  3193. }
  3194. },
  3195. "500": {
  3196. "description": "Internal Server Error",
  3197. "schema": {
  3198. "$ref": "#/definitions/app.Response"
  3199. }
  3200. }
  3201. }
  3202. }
  3203. },
  3204. "/Erms3/QueryPendingBusiness": {
  3205. "get": {
  3206. "security": [
  3207. {
  3208. "ApiKeyAuth": []
  3209. }
  3210. ],
  3211. "produces": [
  3212. "application/json"
  3213. ],
  3214. "tags": [
  3215. "风险管理v3"
  3216. ],
  3217. "summary": "查询待审核基差贸易业务",
  3218. "parameters": [
  3219. {
  3220. "type": "string",
  3221. "description": "资金账号ID列表,逗号隔开",
  3222. "name": "accountids",
  3223. "in": "query",
  3224. "required": true
  3225. }
  3226. ],
  3227. "responses": {
  3228. "200": {
  3229. "description": "OK",
  3230. "schema": {
  3231. "type": "array",
  3232. "items": {
  3233. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3234. }
  3235. }
  3236. },
  3237. "500": {
  3238. "description": "Internal Server Error",
  3239. "schema": {
  3240. "$ref": "#/definitions/app.Response"
  3241. }
  3242. }
  3243. }
  3244. }
  3245. },
  3246. "/Erms3/QuerySpotContractAppleForm": {
  3247. "get": {
  3248. "security": [
  3249. {
  3250. "ApiKeyAuth": []
  3251. }
  3252. ],
  3253. "produces": [
  3254. "application/json"
  3255. ],
  3256. "tags": [
  3257. "风险管理v3"
  3258. ],
  3259. "summary": "查询合同申请表单数据",
  3260. "parameters": [
  3261. {
  3262. "type": "integer",
  3263. "description": "登录账号",
  3264. "name": "loginID",
  3265. "in": "query",
  3266. "required": true
  3267. }
  3268. ],
  3269. "responses": {
  3270. "200": {
  3271. "description": "OK",
  3272. "schema": {
  3273. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3274. }
  3275. },
  3276. "500": {
  3277. "description": "Internal Server Error",
  3278. "schema": {
  3279. "$ref": "#/definitions/app.Response"
  3280. }
  3281. }
  3282. }
  3283. }
  3284. },
  3285. "/Erms3/QuerySpotContractDetail": {
  3286. "get": {
  3287. "security": [
  3288. {
  3289. "ApiKeyAuth": []
  3290. }
  3291. ],
  3292. "produces": [
  3293. "application/json"
  3294. ],
  3295. "tags": [
  3296. "风险管理v3"
  3297. ],
  3298. "summary": "查询合同详细信息",
  3299. "parameters": [
  3300. {
  3301. "type": "string",
  3302. "description": "资金账号ID列表,用逗号分隔",
  3303. "name": "accountids",
  3304. "in": "query",
  3305. "required": true
  3306. },
  3307. {
  3308. "type": "integer",
  3309. "description": "合同类型,1为采购合同 -1为销售合同",
  3310. "name": "contracttype",
  3311. "in": "query",
  3312. "required": true
  3313. },
  3314. {
  3315. "type": "integer",
  3316. "description": "合同模式,1为普通合同 2为回购销售合同",
  3317. "name": "contractmode",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "状态,0为履约中 1为已完成",
  3324. "name": "status",
  3325. "in": "query",
  3326. "required": true
  3327. }
  3328. ],
  3329. "responses": {
  3330. "200": {
  3331. "description": "OK",
  3332. "schema": {
  3333. "type": "array",
  3334. "items": {
  3335. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3336. }
  3337. }
  3338. },
  3339. "500": {
  3340. "description": "Internal Server Error",
  3341. "schema": {
  3342. "$ref": "#/definitions/app.Response"
  3343. }
  3344. }
  3345. }
  3346. }
  3347. },
  3348. "/Erms3/QueryUserInfoApplies": {
  3349. "get": {
  3350. "security": [
  3351. {
  3352. "ApiKeyAuth": []
  3353. }
  3354. ],
  3355. "produces": [
  3356. "application/json"
  3357. ],
  3358. "tags": [
  3359. "风险管理v3"
  3360. ],
  3361. "summary": "客户申请信息查询",
  3362. "parameters": [
  3363. {
  3364. "type": "integer",
  3365. "description": "页码",
  3366. "name": "page",
  3367. "in": "query"
  3368. },
  3369. {
  3370. "type": "integer",
  3371. "description": "每页条数",
  3372. "name": "pagesize",
  3373. "in": "query"
  3374. },
  3375. {
  3376. "type": "string",
  3377. "description": "客户名称,支持模糊查询",
  3378. "name": "userName",
  3379. "in": "query"
  3380. }
  3381. ],
  3382. "responses": {
  3383. "200": {
  3384. "description": "OK",
  3385. "schema": {
  3386. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3387. }
  3388. },
  3389. "500": {
  3390. "description": "Internal Server Error",
  3391. "schema": {
  3392. "$ref": "#/definitions/app.Response"
  3393. }
  3394. }
  3395. }
  3396. }
  3397. },
  3398. "/Erms3/QueryUserInfos": {
  3399. "get": {
  3400. "security": [
  3401. {
  3402. "ApiKeyAuth": []
  3403. }
  3404. ],
  3405. "produces": [
  3406. "application/json"
  3407. ],
  3408. "tags": [
  3409. "风险管理v3"
  3410. ],
  3411. "summary": "客户信息查询",
  3412. "parameters": [
  3413. {
  3414. "type": "integer",
  3415. "description": "页码",
  3416. "name": "page",
  3417. "in": "query"
  3418. },
  3419. {
  3420. "type": "integer",
  3421. "description": "每页条数",
  3422. "name": "pagesize",
  3423. "in": "query"
  3424. },
  3425. {
  3426. "type": "string",
  3427. "description": "客户名称,支持模糊查询",
  3428. "name": "userName",
  3429. "in": "query"
  3430. }
  3431. ],
  3432. "responses": {
  3433. "200": {
  3434. "description": "OK",
  3435. "schema": {
  3436. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3437. }
  3438. },
  3439. "500": {
  3440. "description": "Internal Server Error",
  3441. "schema": {
  3442. "$ref": "#/definitions/app.Response"
  3443. }
  3444. }
  3445. }
  3446. }
  3447. },
  3448. "/HSBY/GetHsbyMyCount": {
  3449. "get": {
  3450. "security": [
  3451. {
  3452. "ApiKeyAuth": []
  3453. }
  3454. ],
  3455. "description": "说明: 不包括已完成的数量。",
  3456. "produces": [
  3457. "application/json"
  3458. ],
  3459. "tags": [
  3460. "定制【海商报业】"
  3461. ],
  3462. "summary": "获取我的订单与包裹数量",
  3463. "parameters": [
  3464. {
  3465. "type": "string",
  3466. "description": "资金账户列表,格式:1,2,3",
  3467. "name": "accountIDs",
  3468. "in": "query",
  3469. "required": true
  3470. }
  3471. ],
  3472. "responses": {
  3473. "200": {
  3474. "description": "OK",
  3475. "schema": {
  3476. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3477. }
  3478. },
  3479. "500": {
  3480. "description": "Internal Server Error",
  3481. "schema": {
  3482. "$ref": "#/definitions/app.Response"
  3483. }
  3484. }
  3485. }
  3486. }
  3487. },
  3488. "/HSBY/QueryClientFixedADConfigs": {
  3489. "get": {
  3490. "security": [
  3491. {
  3492. "ApiKeyAuth": []
  3493. }
  3494. ],
  3495. "produces": [
  3496. "application/json"
  3497. ],
  3498. "tags": [
  3499. "定制【海商报业】"
  3500. ],
  3501. "summary": "获取终端固定广告配置",
  3502. "responses": {
  3503. "200": {
  3504. "description": "OK",
  3505. "schema": {
  3506. "$ref": "#/definitions/models.Clientfixedadconfig"
  3507. }
  3508. },
  3509. "500": {
  3510. "description": "Internal Server Error",
  3511. "schema": {
  3512. "$ref": "#/definitions/app.Response"
  3513. }
  3514. }
  3515. }
  3516. }
  3517. },
  3518. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3519. "get": {
  3520. "security": [
  3521. {
  3522. "ApiKeyAuth": []
  3523. }
  3524. ],
  3525. "produces": [
  3526. "application/json"
  3527. ],
  3528. "tags": [
  3529. "定制【海商报业】"
  3530. ],
  3531. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3532. "parameters": [
  3533. {
  3534. "type": "integer",
  3535. "description": "页码",
  3536. "name": "page",
  3537. "in": "query"
  3538. },
  3539. {
  3540. "type": "integer",
  3541. "description": "每页条数",
  3542. "name": "pagesize",
  3543. "in": "query"
  3544. },
  3545. {
  3546. "type": "string",
  3547. "description": "资金账户列表,格式:1,2,3",
  3548. "name": "accountIDs",
  3549. "in": "query",
  3550. "required": true
  3551. }
  3552. ],
  3553. "responses": {
  3554. "200": {
  3555. "description": "OK",
  3556. "schema": {
  3557. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3558. }
  3559. },
  3560. "500": {
  3561. "description": "Internal Server Error",
  3562. "schema": {
  3563. "$ref": "#/definitions/app.Response"
  3564. }
  3565. }
  3566. }
  3567. }
  3568. },
  3569. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3570. "get": {
  3571. "security": [
  3572. {
  3573. "ApiKeyAuth": []
  3574. }
  3575. ],
  3576. "description": "说明:查询结果已按委托价格和委托时间排序",
  3577. "produces": [
  3578. "application/json"
  3579. ],
  3580. "tags": [
  3581. "定制【海商报业】"
  3582. ],
  3583. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3584. "parameters": [
  3585. {
  3586. "type": "integer",
  3587. "description": "商品ID",
  3588. "name": "goodsID",
  3589. "in": "query",
  3590. "required": true
  3591. },
  3592. {
  3593. "type": "string",
  3594. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3595. "name": "accountIDs",
  3596. "in": "query"
  3597. },
  3598. {
  3599. "type": "integer",
  3600. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3601. "name": "buyOrSell",
  3602. "in": "query"
  3603. },
  3604. {
  3605. "type": "number",
  3606. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3607. "name": "price",
  3608. "in": "query"
  3609. },
  3610. {
  3611. "type": "integer",
  3612. "description": "档位,不传则默认为3档",
  3613. "name": "speed",
  3614. "in": "query"
  3615. }
  3616. ],
  3617. "responses": {
  3618. "200": {
  3619. "description": "OK",
  3620. "schema": {
  3621. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3622. }
  3623. },
  3624. "500": {
  3625. "description": "Internal Server Error",
  3626. "schema": {
  3627. "$ref": "#/definitions/app.Response"
  3628. }
  3629. }
  3630. }
  3631. }
  3632. },
  3633. "/HSBY/QueryHsbyListingGoodsDetail": {
  3634. "get": {
  3635. "security": [
  3636. {
  3637. "ApiKeyAuth": []
  3638. }
  3639. ],
  3640. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3641. "produces": [
  3642. "application/json"
  3643. ],
  3644. "tags": [
  3645. "定制【海商报业】"
  3646. ],
  3647. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3648. "parameters": [
  3649. {
  3650. "type": "integer",
  3651. "description": "商品ID",
  3652. "name": "goodsID",
  3653. "in": "query",
  3654. "required": true
  3655. },
  3656. {
  3657. "type": "integer",
  3658. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3659. "name": "accountID",
  3660. "in": "query"
  3661. }
  3662. ],
  3663. "responses": {
  3664. "200": {
  3665. "description": "OK",
  3666. "schema": {
  3667. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3668. }
  3669. },
  3670. "500": {
  3671. "description": "Internal Server Error",
  3672. "schema": {
  3673. "$ref": "#/definitions/app.Response"
  3674. }
  3675. }
  3676. }
  3677. }
  3678. },
  3679. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3680. "get": {
  3681. "security": [
  3682. {
  3683. "ApiKeyAuth": []
  3684. }
  3685. ],
  3686. "produces": [
  3687. "application/json"
  3688. ],
  3689. "tags": [
  3690. "定制【海商报业】"
  3691. ],
  3692. "summary": "查询三级市场(商城)商品信息详情",
  3693. "parameters": [
  3694. {
  3695. "type": "integer",
  3696. "description": "委托单号",
  3697. "name": "orderID",
  3698. "in": "query",
  3699. "required": true
  3700. },
  3701. {
  3702. "type": "integer",
  3703. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3704. "name": "accountID",
  3705. "in": "query"
  3706. }
  3707. ],
  3708. "responses": {
  3709. "200": {
  3710. "description": "OK",
  3711. "schema": {
  3712. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3713. }
  3714. },
  3715. "500": {
  3716. "description": "Internal Server Error",
  3717. "schema": {
  3718. "$ref": "#/definitions/app.Response"
  3719. }
  3720. }
  3721. }
  3722. }
  3723. },
  3724. "/HSBY/QueryHsbyMarketGoodses": {
  3725. "get": {
  3726. "security": [
  3727. {
  3728. "ApiKeyAuth": []
  3729. }
  3730. ],
  3731. "produces": [
  3732. "application/json"
  3733. ],
  3734. "tags": [
  3735. "定制【海商报业】"
  3736. ],
  3737. "summary": "查询特卖商品列表(三级商城)",
  3738. "parameters": [
  3739. {
  3740. "type": "integer",
  3741. "description": "页码",
  3742. "name": "page",
  3743. "in": "query"
  3744. },
  3745. {
  3746. "type": "integer",
  3747. "description": "每页条数",
  3748. "name": "pagesize",
  3749. "in": "query"
  3750. },
  3751. {
  3752. "type": "string",
  3753. "description": "市场ID列表,格式:1,2,3",
  3754. "name": "marketIDs",
  3755. "in": "query",
  3756. "required": true
  3757. },
  3758. {
  3759. "type": "integer",
  3760. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3761. "name": "accountID",
  3762. "in": "query",
  3763. "required": true
  3764. },
  3765. {
  3766. "type": "integer",
  3767. "description": "类别ID",
  3768. "name": "categoryID",
  3769. "in": "query"
  3770. },
  3771. {
  3772. "type": "string",
  3773. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3774. "name": "goodsIDs",
  3775. "in": "query"
  3776. },
  3777. {
  3778. "type": "integer",
  3779. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3780. "name": "couponTypeID",
  3781. "in": "query"
  3782. }
  3783. ],
  3784. "responses": {
  3785. "200": {
  3786. "description": "OK",
  3787. "schema": {
  3788. "$ref": "#/definitions/models.HsbyMarketGoods"
  3789. }
  3790. },
  3791. "500": {
  3792. "description": "Internal Server Error",
  3793. "schema": {
  3794. "$ref": "#/definitions/app.Response"
  3795. }
  3796. }
  3797. }
  3798. }
  3799. },
  3800. "/HSBY/QueryHsbyMarkets": {
  3801. "get": {
  3802. "security": [
  3803. {
  3804. "ApiKeyAuth": []
  3805. }
  3806. ],
  3807. "produces": [
  3808. "application/json"
  3809. ],
  3810. "tags": [
  3811. "定制【海商报业】"
  3812. ],
  3813. "summary": "查询海商报业相关市场信息",
  3814. "responses": {
  3815. "200": {
  3816. "description": "OK",
  3817. "schema": {
  3818. "$ref": "#/definitions/models.HsbyMarketInfo"
  3819. }
  3820. },
  3821. "500": {
  3822. "description": "Internal Server Error",
  3823. "schema": {
  3824. "$ref": "#/definitions/app.Response"
  3825. }
  3826. }
  3827. }
  3828. }
  3829. },
  3830. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3831. "get": {
  3832. "security": [
  3833. {
  3834. "ApiKeyAuth": []
  3835. }
  3836. ],
  3837. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3838. "produces": [
  3839. "application/json"
  3840. ],
  3841. "tags": [
  3842. "定制【海商报业】"
  3843. ],
  3844. "summary": "查询“我的订单”信息",
  3845. "parameters": [
  3846. {
  3847. "type": "string",
  3848. "description": "资金账户列表,格式:1,2,3",
  3849. "name": "accountIDs",
  3850. "in": "query",
  3851. "required": true
  3852. }
  3853. ],
  3854. "responses": {
  3855. "200": {
  3856. "description": "OK",
  3857. "schema": {
  3858. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3859. }
  3860. },
  3861. "500": {
  3862. "description": "Internal Server Error",
  3863. "schema": {
  3864. "$ref": "#/definitions/app.Response"
  3865. }
  3866. }
  3867. }
  3868. }
  3869. },
  3870. "/HSBY/QueryHsbyMyGoods": {
  3871. "get": {
  3872. "security": [
  3873. {
  3874. "ApiKeyAuth": []
  3875. }
  3876. ],
  3877. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3878. "produces": [
  3879. "application/json"
  3880. ],
  3881. "tags": [
  3882. "定制【海商报业】"
  3883. ],
  3884. "summary": "查询“我的商品”信息",
  3885. "parameters": [
  3886. {
  3887. "type": "string",
  3888. "description": "资金账户列表,格式:1,2,3",
  3889. "name": "accountIDs",
  3890. "in": "query",
  3891. "required": true
  3892. }
  3893. ],
  3894. "responses": {
  3895. "200": {
  3896. "description": "OK",
  3897. "schema": {
  3898. "$ref": "#/definitions/models.HsbyMyGoods"
  3899. }
  3900. },
  3901. "500": {
  3902. "description": "Internal Server Error",
  3903. "schema": {
  3904. "$ref": "#/definitions/app.Response"
  3905. }
  3906. }
  3907. }
  3908. }
  3909. },
  3910. "/HSBY/QueryHsbyMyPackages": {
  3911. "get": {
  3912. "security": [
  3913. {
  3914. "ApiKeyAuth": []
  3915. }
  3916. ],
  3917. "produces": [
  3918. "application/json"
  3919. ],
  3920. "tags": [
  3921. "定制【海商报业】"
  3922. ],
  3923. "summary": "查询我的包裹信息",
  3924. "parameters": [
  3925. {
  3926. "type": "string",
  3927. "description": "资金账户列表,格式:1,2,3",
  3928. "name": "accountIDs",
  3929. "in": "query",
  3930. "required": true
  3931. },
  3932. {
  3933. "type": "integer",
  3934. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3935. "name": "takeOrderStatus",
  3936. "in": "query"
  3937. }
  3938. ],
  3939. "responses": {
  3940. "200": {
  3941. "description": "OK",
  3942. "schema": {
  3943. "$ref": "#/definitions/models.HsbyMyPackage"
  3944. }
  3945. },
  3946. "500": {
  3947. "description": "Internal Server Error",
  3948. "schema": {
  3949. "$ref": "#/definitions/app.Response"
  3950. }
  3951. }
  3952. }
  3953. }
  3954. },
  3955. "/HSBY/QueryHsbyPreGoodsDetail": {
  3956. "get": {
  3957. "security": [
  3958. {
  3959. "ApiKeyAuth": []
  3960. }
  3961. ],
  3962. "produces": [
  3963. "application/json"
  3964. ],
  3965. "tags": [
  3966. "定制【海商报业】"
  3967. ],
  3968. "summary": "查询一级市场(预售)商品信息详情",
  3969. "parameters": [
  3970. {
  3971. "type": "integer",
  3972. "description": "商品ID",
  3973. "name": "goodsID",
  3974. "in": "query",
  3975. "required": true
  3976. },
  3977. {
  3978. "type": "integer",
  3979. "description": "资金账户,主要用于获取预售商品购买上限",
  3980. "name": "accountID",
  3981. "in": "query"
  3982. }
  3983. ],
  3984. "responses": {
  3985. "200": {
  3986. "description": "OK",
  3987. "schema": {
  3988. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/HSBY/QueryHsbyPreGoodses": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4008. "produces": [
  4009. "application/json"
  4010. ],
  4011. "tags": [
  4012. "定制【海商报业】"
  4013. ],
  4014. "summary": "查询新品上市商品列表(一级市场预售)",
  4015. "parameters": [
  4016. {
  4017. "type": "integer",
  4018. "description": "页码",
  4019. "name": "page",
  4020. "in": "query"
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "每页条数",
  4025. "name": "pagesize",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "string",
  4030. "description": "市场ID列表,格式:1,2,3",
  4031. "name": "marketIDs",
  4032. "in": "query",
  4033. "required": true
  4034. },
  4035. {
  4036. "type": "integer",
  4037. "description": "目的地(省)ID",
  4038. "name": "descProvinceID",
  4039. "in": "query"
  4040. },
  4041. {
  4042. "type": "integer",
  4043. "description": "目的地(市)ID",
  4044. "name": "descCityID",
  4045. "in": "query"
  4046. }
  4047. ],
  4048. "responses": {
  4049. "200": {
  4050. "description": "OK",
  4051. "schema": {
  4052. "$ref": "#/definitions/models.HsbyPreGoods"
  4053. }
  4054. },
  4055. "500": {
  4056. "description": "Internal Server Error",
  4057. "schema": {
  4058. "$ref": "#/definitions/app.Response"
  4059. }
  4060. }
  4061. }
  4062. }
  4063. },
  4064. "/HSBY/QueryHsbySellMyDetails": {
  4065. "get": {
  4066. "security": [
  4067. {
  4068. "ApiKeyAuth": []
  4069. }
  4070. ],
  4071. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4072. "produces": [
  4073. "application/json"
  4074. ],
  4075. "tags": [
  4076. "定制【海商报业】"
  4077. ],
  4078. "summary": "查询\"我的闲置\"单据信息",
  4079. "parameters": [
  4080. {
  4081. "type": "integer",
  4082. "description": "页码",
  4083. "name": "page",
  4084. "in": "query"
  4085. },
  4086. {
  4087. "type": "integer",
  4088. "description": "每页条数",
  4089. "name": "pagesize",
  4090. "in": "query"
  4091. },
  4092. {
  4093. "type": "string",
  4094. "description": "资金账户列表,格式:1,2,3",
  4095. "name": "accountIDs",
  4096. "in": "query",
  4097. "required": true
  4098. },
  4099. {
  4100. "type": "integer",
  4101. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4102. "name": "orderType",
  4103. "in": "query"
  4104. }
  4105. ],
  4106. "responses": {
  4107. "200": {
  4108. "description": "OK",
  4109. "schema": {
  4110. "$ref": "#/definitions/models.HsbySellMyDetail"
  4111. }
  4112. },
  4113. "500": {
  4114. "description": "Internal Server Error",
  4115. "schema": {
  4116. "$ref": "#/definitions/app.Response"
  4117. }
  4118. }
  4119. }
  4120. }
  4121. },
  4122. "/HSBY/QueryHsbyTopGoodses": {
  4123. "get": {
  4124. "security": [
  4125. {
  4126. "ApiKeyAuth": []
  4127. }
  4128. ],
  4129. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4130. "produces": [
  4131. "application/json"
  4132. ],
  4133. "tags": [
  4134. "定制【海商报业】"
  4135. ],
  4136. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4137. "parameters": [
  4138. {
  4139. "type": "integer",
  4140. "description": "页码",
  4141. "name": "page",
  4142. "in": "query"
  4143. },
  4144. {
  4145. "type": "integer",
  4146. "description": "每页条数",
  4147. "name": "pagesize",
  4148. "in": "query"
  4149. },
  4150. {
  4151. "type": "string",
  4152. "description": "市场ID列表,格式:1,2,3",
  4153. "name": "marketIDs",
  4154. "in": "query",
  4155. "required": true
  4156. },
  4157. {
  4158. "type": "integer",
  4159. "description": "目的地(省)ID",
  4160. "name": "descProvinceID",
  4161. "in": "query"
  4162. },
  4163. {
  4164. "type": "integer",
  4165. "description": "目的地(市)ID",
  4166. "name": "descCityID",
  4167. "in": "query"
  4168. }
  4169. ],
  4170. "responses": {
  4171. "200": {
  4172. "description": "OK",
  4173. "schema": {
  4174. "$ref": "#/definitions/models.HsbyTopGoods"
  4175. }
  4176. },
  4177. "500": {
  4178. "description": "Internal Server Error",
  4179. "schema": {
  4180. "$ref": "#/definitions/app.Response"
  4181. }
  4182. }
  4183. }
  4184. }
  4185. },
  4186. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4187. "get": {
  4188. "security": [
  4189. {
  4190. "ApiKeyAuth": []
  4191. }
  4192. ],
  4193. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4194. "produces": [
  4195. "application/json"
  4196. ],
  4197. "tags": [
  4198. "定制【海商报业】"
  4199. ],
  4200. "summary": "查询游客三级市场(商城)商品信息详情",
  4201. "parameters": [
  4202. {
  4203. "type": "integer",
  4204. "description": "商品ID",
  4205. "name": "goodsID",
  4206. "in": "query",
  4207. "required": true
  4208. }
  4209. ],
  4210. "responses": {
  4211. "200": {
  4212. "description": "OK",
  4213. "schema": {
  4214. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4215. }
  4216. },
  4217. "500": {
  4218. "description": "Internal Server Error",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. }
  4223. }
  4224. }
  4225. },
  4226. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4227. "get": {
  4228. "security": [
  4229. {
  4230. "ApiKeyAuth": []
  4231. }
  4232. ],
  4233. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4234. "produces": [
  4235. "application/json"
  4236. ],
  4237. "tags": [
  4238. "定制【海商报业】"
  4239. ],
  4240. "summary": "查询游客特卖商品列表(三级商城)",
  4241. "parameters": [
  4242. {
  4243. "type": "integer",
  4244. "description": "页码",
  4245. "name": "page",
  4246. "in": "query"
  4247. },
  4248. {
  4249. "type": "integer",
  4250. "description": "每页条数",
  4251. "name": "pagesize",
  4252. "in": "query"
  4253. },
  4254. {
  4255. "type": "string",
  4256. "description": "市场ID列表,格式:1,2,3",
  4257. "name": "marketIDs",
  4258. "in": "query",
  4259. "required": true
  4260. },
  4261. {
  4262. "type": "integer",
  4263. "description": "类别ID",
  4264. "name": "categoryID",
  4265. "in": "query"
  4266. },
  4267. {
  4268. "type": "string",
  4269. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4270. "name": "goodsIDs",
  4271. "in": "query"
  4272. }
  4273. ],
  4274. "responses": {
  4275. "200": {
  4276. "description": "OK",
  4277. "schema": {
  4278. "$ref": "#/definitions/models.HsbyMarketGoods"
  4279. }
  4280. },
  4281. "500": {
  4282. "description": "Internal Server Error",
  4283. "schema": {
  4284. "$ref": "#/definitions/app.Response"
  4285. }
  4286. }
  4287. }
  4288. }
  4289. },
  4290. "/HSBY/QueryMyCollectionOrders": {
  4291. "get": {
  4292. "security": [
  4293. {
  4294. "ApiKeyAuth": []
  4295. }
  4296. ],
  4297. "produces": [
  4298. "application/json"
  4299. ],
  4300. "tags": [
  4301. "定制【海商报业】"
  4302. ],
  4303. "summary": "我的闲置中收款信息查询",
  4304. "parameters": [
  4305. {
  4306. "type": "integer",
  4307. "description": "页码",
  4308. "name": "page",
  4309. "in": "query"
  4310. },
  4311. {
  4312. "type": "integer",
  4313. "description": "每页条数",
  4314. "name": "pagesize",
  4315. "in": "query"
  4316. },
  4317. {
  4318. "type": "string",
  4319. "description": "资金账户,格式:1,2,3",
  4320. "name": "accountIDs",
  4321. "in": "query",
  4322. "required": true
  4323. }
  4324. ],
  4325. "responses": {
  4326. "200": {
  4327. "description": "OK",
  4328. "schema": {
  4329. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4330. }
  4331. },
  4332. "500": {
  4333. "description": "Internal Server Error",
  4334. "schema": {
  4335. "$ref": "#/definitions/app.Response"
  4336. }
  4337. }
  4338. }
  4339. }
  4340. },
  4341. "/HSBY/QueryMyCouponHolds": {
  4342. "get": {
  4343. "security": [
  4344. {
  4345. "ApiKeyAuth": []
  4346. }
  4347. ],
  4348. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4349. "produces": [
  4350. "application/json"
  4351. ],
  4352. "tags": [
  4353. "定制【海商报业】"
  4354. ],
  4355. "summary": "我的优惠卷持仓查询",
  4356. "parameters": [
  4357. {
  4358. "type": "string",
  4359. "description": "资金账户列表,格式:1,2,3",
  4360. "name": "accountIDs",
  4361. "in": "query",
  4362. "required": true
  4363. },
  4364. {
  4365. "type": "string",
  4366. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4367. "name": "holdStatus",
  4368. "in": "query"
  4369. }
  4370. ],
  4371. "responses": {
  4372. "200": {
  4373. "description": "OK",
  4374. "schema": {
  4375. "$ref": "#/definitions/models.MyCouponHold"
  4376. }
  4377. },
  4378. "500": {
  4379. "description": "Internal Server Error",
  4380. "schema": {
  4381. "$ref": "#/definitions/app.Response"
  4382. }
  4383. }
  4384. }
  4385. }
  4386. },
  4387. "/HSBY/QueryMyCoupons": {
  4388. "get": {
  4389. "security": [
  4390. {
  4391. "ApiKeyAuth": []
  4392. }
  4393. ],
  4394. "produces": [
  4395. "application/json"
  4396. ],
  4397. "tags": [
  4398. "定制【海商报业】"
  4399. ],
  4400. "summary": "我的优惠卷查询",
  4401. "parameters": [
  4402. {
  4403. "type": "string",
  4404. "description": "资金账户列表,格式:1,2,3",
  4405. "name": "accountIDs",
  4406. "in": "query",
  4407. "required": true
  4408. },
  4409. {
  4410. "type": "integer",
  4411. "description": "商品ID, 一般与sellUserID配套传入",
  4412. "name": "goodsID",
  4413. "in": "query"
  4414. },
  4415. {
  4416. "type": "integer",
  4417. "description": "卖方UserID",
  4418. "name": "sellUserID",
  4419. "in": "query"
  4420. }
  4421. ],
  4422. "responses": {
  4423. "200": {
  4424. "description": "OK",
  4425. "schema": {
  4426. "$ref": "#/definitions/models.MyCoupon"
  4427. }
  4428. },
  4429. "500": {
  4430. "description": "Internal Server Error",
  4431. "schema": {
  4432. "$ref": "#/definitions/app.Response"
  4433. }
  4434. }
  4435. }
  4436. }
  4437. },
  4438. "/HSBY/QueryMyPayOrders": {
  4439. "get": {
  4440. "security": [
  4441. {
  4442. "ApiKeyAuth": []
  4443. }
  4444. ],
  4445. "produces": [
  4446. "application/json"
  4447. ],
  4448. "tags": [
  4449. "定制【海商报业】"
  4450. ],
  4451. "summary": "获取我的订单中待付款信息",
  4452. "parameters": [
  4453. {
  4454. "type": "integer",
  4455. "description": "页码",
  4456. "name": "page",
  4457. "in": "query"
  4458. },
  4459. {
  4460. "type": "integer",
  4461. "description": "每页条数",
  4462. "name": "pagesize",
  4463. "in": "query"
  4464. },
  4465. {
  4466. "type": "string",
  4467. "description": "资金账户列表,格式:1,2,3",
  4468. "name": "accountIDs",
  4469. "in": "query",
  4470. "required": true
  4471. },
  4472. {
  4473. "type": "integer",
  4474. "description": "买方委托单号",
  4475. "name": "buyOrderID",
  4476. "in": "query"
  4477. },
  4478. {
  4479. "type": "integer",
  4480. "description": "卖方委托单号",
  4481. "name": "sellOrderID",
  4482. "in": "query"
  4483. }
  4484. ],
  4485. "responses": {
  4486. "200": {
  4487. "description": "OK",
  4488. "schema": {
  4489. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4490. }
  4491. },
  4492. "500": {
  4493. "description": "Internal Server Error",
  4494. "schema": {
  4495. "$ref": "#/definitions/app.Response"
  4496. }
  4497. }
  4498. }
  4499. }
  4500. },
  4501. "/HSBY/QueryMyUsedCoupon": {
  4502. "get": {
  4503. "security": [
  4504. {
  4505. "ApiKeyAuth": []
  4506. }
  4507. ],
  4508. "produces": [
  4509. "application/json"
  4510. ],
  4511. "tags": [
  4512. "定制【海商报业】"
  4513. ],
  4514. "summary": "已使用优惠卷查询",
  4515. "parameters": [
  4516. {
  4517. "type": "string",
  4518. "description": "资金账户列表,格式:1,2,3",
  4519. "name": "accountIDs",
  4520. "in": "query",
  4521. "required": true
  4522. }
  4523. ],
  4524. "responses": {
  4525. "200": {
  4526. "description": "OK",
  4527. "schema": {
  4528. "$ref": "#/definitions/models.MyUsedCoupon"
  4529. }
  4530. },
  4531. "500": {
  4532. "description": "Internal Server Error",
  4533. "schema": {
  4534. "$ref": "#/definitions/app.Response"
  4535. }
  4536. }
  4537. }
  4538. }
  4539. },
  4540. "/HSBY/QueryProvincesAndCities": {
  4541. "get": {
  4542. "security": [
  4543. {
  4544. "ApiKeyAuth": []
  4545. }
  4546. ],
  4547. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4548. "produces": [
  4549. "application/json"
  4550. ],
  4551. "tags": [
  4552. "定制【海商报业】"
  4553. ],
  4554. "summary": "查询省市信息(不包括区)",
  4555. "parameters": [
  4556. {
  4557. "type": "integer",
  4558. "description": "省ID",
  4559. "name": "provinceID",
  4560. "in": "query"
  4561. }
  4562. ],
  4563. "responses": {
  4564. "200": {
  4565. "description": "OK",
  4566. "schema": {
  4567. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4568. }
  4569. },
  4570. "500": {
  4571. "description": "Internal Server Error",
  4572. "schema": {
  4573. "$ref": "#/definitions/app.Response"
  4574. }
  4575. }
  4576. }
  4577. }
  4578. },
  4579. "/HSBY/SetHsbyMyPackagesStatus": {
  4580. "post": {
  4581. "security": [
  4582. {
  4583. "ApiKeyAuth": []
  4584. }
  4585. ],
  4586. "produces": [
  4587. "application/json"
  4588. ],
  4589. "tags": [
  4590. "定制【海商报业】"
  4591. ],
  4592. "summary": "设置我的包裹已收货状态",
  4593. "parameters": [
  4594. {
  4595. "type": "string",
  4596. "description": "提货单号",
  4597. "name": "takeOrderID",
  4598. "in": "query",
  4599. "required": true
  4600. },
  4601. {
  4602. "type": "integer",
  4603. "description": "资金账号",
  4604. "name": "accountID",
  4605. "in": "query",
  4606. "required": true
  4607. }
  4608. ],
  4609. "responses": {
  4610. "200": {
  4611. "description": "OK",
  4612. "schema": {
  4613. "$ref": "#/definitions/app.Response"
  4614. }
  4615. },
  4616. "500": {
  4617. "description": "Internal Server Error",
  4618. "schema": {
  4619. "$ref": "#/definitions/app.Response"
  4620. }
  4621. }
  4622. }
  4623. }
  4624. },
  4625. "/Market/QueryGoodsesByLoginID": {
  4626. "get": {
  4627. "security": [
  4628. {
  4629. "ApiKeyAuth": []
  4630. }
  4631. ],
  4632. "produces": [
  4633. "application/json"
  4634. ],
  4635. "tags": [
  4636. "通用市场"
  4637. ],
  4638. "summary": "获取登录账号有权限的商品信息",
  4639. "parameters": [
  4640. {
  4641. "type": "integer",
  4642. "description": "登录账号",
  4643. "name": "loginID",
  4644. "in": "query",
  4645. "required": true
  4646. },
  4647. {
  4648. "type": "string",
  4649. "description": "市场ID列表,格式:1,2,3",
  4650. "name": "marketIDs",
  4651. "in": "query"
  4652. }
  4653. ],
  4654. "responses": {
  4655. "200": {
  4656. "description": "OK",
  4657. "schema": {
  4658. "$ref": "#/definitions/models.Goods"
  4659. }
  4660. },
  4661. "500": {
  4662. "description": "Internal Server Error",
  4663. "schema": {
  4664. "$ref": "#/definitions/app.Response"
  4665. }
  4666. }
  4667. }
  4668. }
  4669. },
  4670. "/Market/QueryMarketRun": {
  4671. "get": {
  4672. "security": [
  4673. {
  4674. "ApiKeyAuth": []
  4675. }
  4676. ],
  4677. "produces": [
  4678. "application/json"
  4679. ],
  4680. "tags": [
  4681. "通用市场"
  4682. ],
  4683. "summary": "查询市场运行信息",
  4684. "parameters": [
  4685. {
  4686. "type": "integer",
  4687. "description": "市场ID,不传返回所有",
  4688. "name": "marketID",
  4689. "in": "query"
  4690. }
  4691. ],
  4692. "responses": {
  4693. "200": {
  4694. "description": "OK",
  4695. "schema": {
  4696. "$ref": "#/definitions/models.Marketrun"
  4697. }
  4698. },
  4699. "500": {
  4700. "description": "Internal Server Error",
  4701. "schema": {
  4702. "$ref": "#/definitions/app.Response"
  4703. }
  4704. }
  4705. }
  4706. }
  4707. },
  4708. "/Market/QueryMarketsByLoginID": {
  4709. "get": {
  4710. "security": [
  4711. {
  4712. "ApiKeyAuth": []
  4713. }
  4714. ],
  4715. "produces": [
  4716. "application/json"
  4717. ],
  4718. "tags": [
  4719. "通用市场"
  4720. ],
  4721. "summary": "获取登录账号有权限的市场信息",
  4722. "parameters": [
  4723. {
  4724. "type": "integer",
  4725. "description": "登录账号",
  4726. "name": "loginID",
  4727. "in": "query",
  4728. "required": true
  4729. }
  4730. ],
  4731. "responses": {
  4732. "200": {
  4733. "description": "OK",
  4734. "schema": {
  4735. "$ref": "#/definitions/models.Market"
  4736. }
  4737. },
  4738. "500": {
  4739. "description": "Internal Server Error",
  4740. "schema": {
  4741. "$ref": "#/definitions/app.Response"
  4742. }
  4743. }
  4744. }
  4745. }
  4746. },
  4747. "/Order/QueryHisTradeDetail": {
  4748. "get": {
  4749. "security": [
  4750. {
  4751. "ApiKeyAuth": []
  4752. }
  4753. ],
  4754. "produces": [
  4755. "application/json"
  4756. ],
  4757. "tags": [
  4758. "通用单据"
  4759. ],
  4760. "summary": "历史成交单查询(合约市场)",
  4761. "parameters": [
  4762. {
  4763. "type": "string",
  4764. "description": "资金账户 - 格式:1,2,3",
  4765. "name": "accountID",
  4766. "in": "query",
  4767. "required": true
  4768. },
  4769. {
  4770. "type": "integer",
  4771. "description": "成交单号",
  4772. "name": "tradeID",
  4773. "in": "query"
  4774. },
  4775. {
  4776. "type": "integer",
  4777. "description": "委托单号",
  4778. "name": "orderID",
  4779. "in": "query"
  4780. },
  4781. {
  4782. "type": "string",
  4783. "description": "交易模式 - 格式:1,2,3",
  4784. "name": "tradeMode",
  4785. "in": "query"
  4786. },
  4787. {
  4788. "type": "integer",
  4789. "description": "委托单据类型",
  4790. "name": "buildType",
  4791. "in": "query"
  4792. },
  4793. {
  4794. "type": "string",
  4795. "description": "成交类别 - 格式:1,2,3",
  4796. "name": "tradeType",
  4797. "in": "query"
  4798. },
  4799. {
  4800. "type": "string",
  4801. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4802. "name": "startDate",
  4803. "in": "query"
  4804. },
  4805. {
  4806. "type": "string",
  4807. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4808. "name": "endDate",
  4809. "in": "query"
  4810. }
  4811. ],
  4812. "responses": {
  4813. "200": {
  4814. "description": "OK",
  4815. "schema": {
  4816. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4817. }
  4818. },
  4819. "500": {
  4820. "description": "Internal Server Error",
  4821. "schema": {
  4822. "$ref": "#/definitions/app.Response"
  4823. }
  4824. }
  4825. }
  4826. }
  4827. },
  4828. "/Order/QueryHisTradeOrderDetail": {
  4829. "get": {
  4830. "security": [
  4831. {
  4832. "ApiKeyAuth": []
  4833. }
  4834. ],
  4835. "produces": [
  4836. "application/json"
  4837. ],
  4838. "tags": [
  4839. "通用单据"
  4840. ],
  4841. "summary": "历史委托单查询请求(合约市场)",
  4842. "parameters": [
  4843. {
  4844. "type": "string",
  4845. "description": "资金账户 - 格式:1,2,3",
  4846. "name": "accountID",
  4847. "in": "query",
  4848. "required": true
  4849. },
  4850. {
  4851. "type": "string",
  4852. "description": "交易模式 - 格式:1,2,3",
  4853. "name": "tradeMode",
  4854. "in": "query"
  4855. },
  4856. {
  4857. "type": "string",
  4858. "description": "委托状态 - 格式:1,2,3",
  4859. "name": "orderStatus",
  4860. "in": "query"
  4861. },
  4862. {
  4863. "type": "integer",
  4864. "description": "委托单号",
  4865. "name": "orderID",
  4866. "in": "query"
  4867. },
  4868. {
  4869. "type": "string",
  4870. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4871. "name": "startDate",
  4872. "in": "query"
  4873. },
  4874. {
  4875. "type": "string",
  4876. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4877. "name": "endDate",
  4878. "in": "query"
  4879. }
  4880. ],
  4881. "responses": {
  4882. "200": {
  4883. "description": "OK",
  4884. "schema": {
  4885. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4886. }
  4887. },
  4888. "500": {
  4889. "description": "Internal Server Error",
  4890. "schema": {
  4891. "$ref": "#/definitions/app.Response"
  4892. }
  4893. }
  4894. }
  4895. }
  4896. },
  4897. "/Order/QueryTradeDetail": {
  4898. "get": {
  4899. "security": [
  4900. {
  4901. "ApiKeyAuth": []
  4902. }
  4903. ],
  4904. "produces": [
  4905. "application/json"
  4906. ],
  4907. "tags": [
  4908. "通用单据"
  4909. ],
  4910. "summary": "成交单查询(合约市场)",
  4911. "parameters": [
  4912. {
  4913. "type": "string",
  4914. "description": "资金账户 - 格式:1,2,3",
  4915. "name": "accountID",
  4916. "in": "query",
  4917. "required": true
  4918. },
  4919. {
  4920. "type": "integer",
  4921. "description": "成交单号",
  4922. "name": "tradeID",
  4923. "in": "query"
  4924. },
  4925. {
  4926. "type": "integer",
  4927. "description": "委托单号",
  4928. "name": "orderID",
  4929. "in": "query"
  4930. },
  4931. {
  4932. "type": "string",
  4933. "description": "交易模式 - 格式:1,2,3",
  4934. "name": "tradeMode",
  4935. "in": "query"
  4936. },
  4937. {
  4938. "type": "integer",
  4939. "description": "委托单据类型",
  4940. "name": "buildType",
  4941. "in": "query"
  4942. },
  4943. {
  4944. "type": "string",
  4945. "description": "成交类别 - 格式:1,2,3",
  4946. "name": "tradeType",
  4947. "in": "query"
  4948. }
  4949. ],
  4950. "responses": {
  4951. "200": {
  4952. "description": "OK",
  4953. "schema": {
  4954. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4955. }
  4956. },
  4957. "500": {
  4958. "description": "Internal Server Error",
  4959. "schema": {
  4960. "$ref": "#/definitions/app.Response"
  4961. }
  4962. }
  4963. }
  4964. }
  4965. },
  4966. "/Order/QueryTradeOrderDetail": {
  4967. "get": {
  4968. "security": [
  4969. {
  4970. "ApiKeyAuth": []
  4971. }
  4972. ],
  4973. "produces": [
  4974. "application/json"
  4975. ],
  4976. "tags": [
  4977. "通用单据"
  4978. ],
  4979. "summary": "委托单查询请求(合约市场)",
  4980. "parameters": [
  4981. {
  4982. "type": "string",
  4983. "description": "资金账户 - 格式:1,2,3",
  4984. "name": "accountID",
  4985. "in": "query",
  4986. "required": true
  4987. },
  4988. {
  4989. "type": "string",
  4990. "description": "交易模式 - 格式:1,2,3",
  4991. "name": "tradeMode",
  4992. "in": "query"
  4993. },
  4994. {
  4995. "type": "string",
  4996. "description": "委托状态 - 格式:1,2,3",
  4997. "name": "orderStatus",
  4998. "in": "query"
  4999. },
  5000. {
  5001. "type": "integer",
  5002. "description": "委托单号",
  5003. "name": "orderID",
  5004. "in": "query"
  5005. }
  5006. ],
  5007. "responses": {
  5008. "200": {
  5009. "description": "OK",
  5010. "schema": {
  5011. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5012. }
  5013. },
  5014. "500": {
  5015. "description": "Internal Server Error",
  5016. "schema": {
  5017. "$ref": "#/definitions/app.Response"
  5018. }
  5019. }
  5020. }
  5021. }
  5022. },
  5023. "/Order/QueryTradePosition": {
  5024. "get": {
  5025. "security": [
  5026. {
  5027. "ApiKeyAuth": []
  5028. }
  5029. ],
  5030. "produces": [
  5031. "application/json"
  5032. ],
  5033. "tags": [
  5034. "通用单据"
  5035. ],
  5036. "summary": "持仓汇总查询(合约市场)",
  5037. "parameters": [
  5038. {
  5039. "type": "string",
  5040. "description": "资金账户 - 格式:1,2,3",
  5041. "name": "accountID",
  5042. "in": "query",
  5043. "required": true
  5044. },
  5045. {
  5046. "type": "string",
  5047. "description": "交易模式 - 格式:1,2,3",
  5048. "name": "tradeMode",
  5049. "in": "query"
  5050. }
  5051. ],
  5052. "responses": {
  5053. "200": {
  5054. "description": "OK",
  5055. "schema": {
  5056. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5057. }
  5058. },
  5059. "500": {
  5060. "description": "Internal Server Error",
  5061. "schema": {
  5062. "$ref": "#/definitions/app.Response"
  5063. }
  5064. }
  5065. }
  5066. }
  5067. },
  5068. "/Quote/QueryHistoryDatas": {
  5069. "get": {
  5070. "security": [
  5071. {
  5072. "ApiKeyAuth": []
  5073. }
  5074. ],
  5075. "produces": [
  5076. "application/json"
  5077. ],
  5078. "tags": [
  5079. "行情服务"
  5080. ],
  5081. "summary": "查询行情历史数据",
  5082. "parameters": [
  5083. {
  5084. "type": "integer",
  5085. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5086. "name": "cycleType",
  5087. "in": "query",
  5088. "required": true
  5089. },
  5090. {
  5091. "type": "string",
  5092. "description": "商品代码",
  5093. "name": "goodsCode",
  5094. "in": "query",
  5095. "required": true
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5100. "name": "startTime",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5106. "name": "endTime",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "integer",
  5111. "description": "条数",
  5112. "name": "count",
  5113. "in": "query"
  5114. },
  5115. {
  5116. "type": "boolean",
  5117. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5118. "name": "isAsc",
  5119. "in": "query"
  5120. }
  5121. ],
  5122. "responses": {
  5123. "200": {
  5124. "description": "OK",
  5125. "schema": {
  5126. "$ref": "#/definitions/quote.HistoryData"
  5127. }
  5128. },
  5129. "500": {
  5130. "description": "Internal Server Error",
  5131. "schema": {
  5132. "$ref": "#/definitions/app.Response"
  5133. }
  5134. }
  5135. }
  5136. }
  5137. },
  5138. "/Quote/QueryHistoryTikDatas": {
  5139. "get": {
  5140. "security": [
  5141. {
  5142. "ApiKeyAuth": []
  5143. }
  5144. ],
  5145. "produces": [
  5146. "application/json"
  5147. ],
  5148. "tags": [
  5149. "行情服务"
  5150. ],
  5151. "summary": "查询行情Tik数据",
  5152. "parameters": [
  5153. {
  5154. "type": "string",
  5155. "description": "商品代码",
  5156. "name": "goodsCode",
  5157. "in": "query",
  5158. "required": true
  5159. },
  5160. {
  5161. "type": "string",
  5162. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5163. "name": "startTime",
  5164. "in": "query"
  5165. },
  5166. {
  5167. "type": "string",
  5168. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5169. "name": "endTime",
  5170. "in": "query"
  5171. },
  5172. {
  5173. "type": "integer",
  5174. "description": "条数",
  5175. "name": "count",
  5176. "in": "query"
  5177. },
  5178. {
  5179. "type": "boolean",
  5180. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5181. "name": "isAsc",
  5182. "in": "query"
  5183. }
  5184. ],
  5185. "responses": {
  5186. "200": {
  5187. "description": "OK",
  5188. "schema": {
  5189. "$ref": "#/definitions/quote.HistoryTikData"
  5190. }
  5191. },
  5192. "500": {
  5193. "description": "Internal Server Error",
  5194. "schema": {
  5195. "$ref": "#/definitions/app.Response"
  5196. }
  5197. }
  5198. }
  5199. }
  5200. },
  5201. "/Quote/QueryQuoteDay": {
  5202. "get": {
  5203. "security": [
  5204. {
  5205. "ApiKeyAuth": []
  5206. }
  5207. ],
  5208. "produces": [
  5209. "application/json"
  5210. ],
  5211. "tags": [
  5212. "行情服务"
  5213. ],
  5214. "summary": "获取商品盘面信息",
  5215. "parameters": [
  5216. {
  5217. "type": "string",
  5218. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5219. "name": "goodsCodes",
  5220. "in": "query",
  5221. "required": true
  5222. }
  5223. ],
  5224. "responses": {
  5225. "200": {
  5226. "description": "OK",
  5227. "schema": {
  5228. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5229. }
  5230. },
  5231. "500": {
  5232. "description": "Internal Server Error",
  5233. "schema": {
  5234. "$ref": "#/definitions/app.Response"
  5235. }
  5236. }
  5237. }
  5238. }
  5239. },
  5240. "/Quote/QueryTSData": {
  5241. "get": {
  5242. "security": [
  5243. {
  5244. "ApiKeyAuth": []
  5245. }
  5246. ],
  5247. "produces": [
  5248. "application/json"
  5249. ],
  5250. "tags": [
  5251. "行情服务"
  5252. ],
  5253. "summary": "分时图数据查询",
  5254. "parameters": [
  5255. {
  5256. "type": "string",
  5257. "description": "商品代码",
  5258. "name": "goodsCode",
  5259. "in": "query",
  5260. "required": true
  5261. }
  5262. ],
  5263. "responses": {
  5264. "200": {
  5265. "description": "OK",
  5266. "schema": {
  5267. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5268. }
  5269. },
  5270. "500": {
  5271. "description": "Internal Server Error",
  5272. "schema": {
  5273. "$ref": "#/definitions/app.Response"
  5274. }
  5275. }
  5276. }
  5277. }
  5278. },
  5279. "/SZDZ/QueryConvertConfig": {
  5280. "get": {
  5281. "security": [
  5282. {
  5283. "ApiKeyAuth": []
  5284. }
  5285. ],
  5286. "produces": [
  5287. "application/json"
  5288. ],
  5289. "tags": [
  5290. "定制【尚志大宗】"
  5291. ],
  5292. "summary": "查询交易系统转换设置",
  5293. "parameters": [
  5294. {
  5295. "type": "integer",
  5296. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5297. "name": "convertType",
  5298. "in": "query"
  5299. },
  5300. {
  5301. "type": "string",
  5302. "description": "外部商品代码[JD\\PD]",
  5303. "name": "outerGoodsCode",
  5304. "in": "query"
  5305. },
  5306. {
  5307. "type": "string",
  5308. "description": "内部商品ID列表[交易],格式:1,2,3",
  5309. "name": "innerGoodsIDs",
  5310. "in": "query"
  5311. }
  5312. ],
  5313. "responses": {
  5314. "200": {
  5315. "description": "OK",
  5316. "schema": {
  5317. "$ref": "#/definitions/models.Szdz3convertconfig"
  5318. }
  5319. },
  5320. "500": {
  5321. "description": "Internal Server Error",
  5322. "schema": {
  5323. "$ref": "#/definitions/app.Response"
  5324. }
  5325. }
  5326. }
  5327. }
  5328. },
  5329. "/SZDZ/QueryConvertLog": {
  5330. "get": {
  5331. "security": [
  5332. {
  5333. "ApiKeyAuth": []
  5334. }
  5335. ],
  5336. "produces": [
  5337. "application/json"
  5338. ],
  5339. "tags": [
  5340. "定制【尚志大宗】"
  5341. ],
  5342. "summary": "交易系统转换流水查询",
  5343. "parameters": [
  5344. {
  5345. "type": "string",
  5346. "description": "资金账户 - 格式:1,2,3",
  5347. "name": "accountID",
  5348. "in": "query",
  5349. "required": true
  5350. },
  5351. {
  5352. "type": "string",
  5353. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5354. "name": "startDate",
  5355. "in": "query"
  5356. },
  5357. {
  5358. "type": "string",
  5359. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5360. "name": "endDate",
  5361. "in": "query"
  5362. }
  5363. ],
  5364. "responses": {
  5365. "200": {
  5366. "description": "OK",
  5367. "schema": {
  5368. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5369. }
  5370. },
  5371. "500": {
  5372. "description": "Internal Server Error",
  5373. "schema": {
  5374. "$ref": "#/definitions/app.Response"
  5375. }
  5376. }
  5377. }
  5378. }
  5379. },
  5380. "/SZDZ/QueryGoodsPickup": {
  5381. "get": {
  5382. "security": [
  5383. {
  5384. "ApiKeyAuth": []
  5385. }
  5386. ],
  5387. "produces": [
  5388. "application/json"
  5389. ],
  5390. "tags": [
  5391. "定制【尚志大宗】"
  5392. ],
  5393. "summary": "商品提货单查询",
  5394. "parameters": [
  5395. {
  5396. "type": "string",
  5397. "description": "资金账户 - 格式:1,2,3",
  5398. "name": "accountID",
  5399. "in": "query",
  5400. "required": true
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5405. "name": "takeOrderStatus",
  5406. "in": "query"
  5407. }
  5408. ],
  5409. "responses": {
  5410. "200": {
  5411. "description": "OK",
  5412. "schema": {
  5413. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5414. }
  5415. },
  5416. "500": {
  5417. "description": "Internal Server Error",
  5418. "schema": {
  5419. "$ref": "#/definitions/app.Response"
  5420. }
  5421. }
  5422. }
  5423. }
  5424. },
  5425. "/SZDZ/QueryRecieptOrder": {
  5426. "get": {
  5427. "security": [
  5428. {
  5429. "ApiKeyAuth": []
  5430. }
  5431. ],
  5432. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5433. "produces": [
  5434. "application/json"
  5435. ],
  5436. "tags": [
  5437. "定制【尚志大宗】"
  5438. ],
  5439. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5440. "parameters": [
  5441. {
  5442. "type": "integer",
  5443. "description": "页码",
  5444. "name": "page",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "integer",
  5449. "description": "每页条数",
  5450. "name": "pagesize",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "商品ID",
  5456. "name": "goodsID",
  5457. "in": "query",
  5458. "required": true
  5459. },
  5460. {
  5461. "type": "string",
  5462. "description": "所属账户名称",
  5463. "name": "accountName",
  5464. "in": "query"
  5465. },
  5466. {
  5467. "type": "integer",
  5468. "description": "市场ID",
  5469. "name": "marketID",
  5470. "in": "query"
  5471. },
  5472. {
  5473. "type": "integer",
  5474. "description": "方向 - 0:买 1:卖",
  5475. "name": "buyorsell",
  5476. "in": "query",
  5477. "required": true
  5478. }
  5479. ],
  5480. "responses": {
  5481. "200": {
  5482. "description": "OK",
  5483. "schema": {
  5484. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5485. }
  5486. },
  5487. "500": {
  5488. "description": "Internal Server Error",
  5489. "schema": {
  5490. "$ref": "#/definitions/app.Response"
  5491. }
  5492. }
  5493. }
  5494. }
  5495. },
  5496. "/SZDZ/QuerySZDZTradePosition": {
  5497. "get": {
  5498. "security": [
  5499. {
  5500. "ApiKeyAuth": []
  5501. }
  5502. ],
  5503. "produces": [
  5504. "application/json"
  5505. ],
  5506. "tags": [
  5507. "定制【尚志大宗】"
  5508. ],
  5509. "summary": "持仓汇总查询(尚志大宗)",
  5510. "parameters": [
  5511. {
  5512. "type": "integer",
  5513. "description": "资金账户",
  5514. "name": "accountID",
  5515. "in": "query",
  5516. "required": true
  5517. }
  5518. ],
  5519. "responses": {
  5520. "200": {
  5521. "description": "OK",
  5522. "schema": {
  5523. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5524. }
  5525. },
  5526. "500": {
  5527. "description": "Internal Server Error",
  5528. "schema": {
  5529. "$ref": "#/definitions/app.Response"
  5530. }
  5531. }
  5532. }
  5533. }
  5534. },
  5535. "/SZDZ/SearchWhite": {
  5536. "get": {
  5537. "security": [
  5538. {
  5539. "ApiKeyAuth": []
  5540. }
  5541. ],
  5542. "produces": [
  5543. "application/json"
  5544. ],
  5545. "tags": [
  5546. "定制【尚志大宗】"
  5547. ],
  5548. "summary": "搜索白名单",
  5549. "parameters": [
  5550. {
  5551. "type": "integer",
  5552. "description": "用户ID",
  5553. "name": "userID",
  5554. "in": "query",
  5555. "required": true
  5556. }
  5557. ],
  5558. "responses": {
  5559. "200": {
  5560. "description": "OK",
  5561. "schema": {
  5562. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5563. }
  5564. },
  5565. "500": {
  5566. "description": "Internal Server Error",
  5567. "schema": {
  5568. "$ref": "#/definitions/app.Response"
  5569. }
  5570. }
  5571. }
  5572. }
  5573. },
  5574. "/Search/SearchGoodses": {
  5575. "get": {
  5576. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5577. "produces": [
  5578. "application/json"
  5579. ],
  5580. "tags": [
  5581. "检索服务"
  5582. ],
  5583. "summary": "检索商品信息",
  5584. "parameters": [
  5585. {
  5586. "type": "string",
  5587. "description": "检索内容",
  5588. "name": "content",
  5589. "in": "query",
  5590. "required": true
  5591. },
  5592. {
  5593. "type": "string",
  5594. "description": "交易模式,格式:1,2,3",
  5595. "name": "tradeModes",
  5596. "in": "query"
  5597. }
  5598. ],
  5599. "responses": {
  5600. "200": {
  5601. "description": "OK",
  5602. "schema": {
  5603. "$ref": "#/definitions/models.SearchGoods"
  5604. }
  5605. },
  5606. "500": {
  5607. "description": "Internal Server Error",
  5608. "schema": {
  5609. "$ref": "#/definitions/app.Response"
  5610. }
  5611. }
  5612. }
  5613. }
  5614. },
  5615. "/TaAccount/GetTaAccounts": {
  5616. "get": {
  5617. "security": [
  5618. {
  5619. "ApiKeyAuth": []
  5620. }
  5621. ],
  5622. "produces": [
  5623. "application/json"
  5624. ],
  5625. "tags": [
  5626. "资金账户"
  5627. ],
  5628. "summary": "获取资金账户信息",
  5629. "parameters": [
  5630. {
  5631. "type": "integer",
  5632. "description": "登录账户",
  5633. "name": "loginID",
  5634. "in": "query",
  5635. "required": true
  5636. },
  5637. {
  5638. "type": "integer",
  5639. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5640. "name": "taAccountType",
  5641. "in": "query"
  5642. }
  5643. ],
  5644. "responses": {
  5645. "200": {
  5646. "description": "OK",
  5647. "schema": {
  5648. "$ref": "#/definitions/models.Taaccount"
  5649. }
  5650. },
  5651. "500": {
  5652. "description": "Internal Server Error",
  5653. "schema": {
  5654. "$ref": "#/definitions/app.Response"
  5655. }
  5656. }
  5657. }
  5658. }
  5659. },
  5660. "/TaAccount/QueryAmountLog": {
  5661. "get": {
  5662. "security": [
  5663. {
  5664. "ApiKeyAuth": []
  5665. }
  5666. ],
  5667. "produces": [
  5668. "application/json"
  5669. ],
  5670. "tags": [
  5671. "资金账户"
  5672. ],
  5673. "summary": "资金流水查询(当前)",
  5674. "parameters": [
  5675. {
  5676. "type": "integer",
  5677. "description": "页码",
  5678. "name": "page",
  5679. "in": "query"
  5680. },
  5681. {
  5682. "type": "integer",
  5683. "description": "每页条数",
  5684. "name": "pagesize",
  5685. "in": "query"
  5686. },
  5687. {
  5688. "type": "string",
  5689. "description": "资金账户 - 格式:1,2,3",
  5690. "name": "accountID",
  5691. "in": "query",
  5692. "required": true
  5693. },
  5694. {
  5695. "type": "string",
  5696. "description": "资金操作类型 - 格式:1,2,3",
  5697. "name": "OperateType",
  5698. "in": "query"
  5699. }
  5700. ],
  5701. "responses": {
  5702. "200": {
  5703. "description": "OK",
  5704. "schema": {
  5705. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5706. }
  5707. },
  5708. "500": {
  5709. "description": "Internal Server Error",
  5710. "schema": {
  5711. "$ref": "#/definitions/app.Response"
  5712. }
  5713. }
  5714. }
  5715. }
  5716. },
  5717. "/TaAccount/QueryHisAmountLog": {
  5718. "get": {
  5719. "security": [
  5720. {
  5721. "ApiKeyAuth": []
  5722. }
  5723. ],
  5724. "produces": [
  5725. "application/json"
  5726. ],
  5727. "tags": [
  5728. "资金账户"
  5729. ],
  5730. "summary": "资金流水查询(历史)",
  5731. "parameters": [
  5732. {
  5733. "type": "integer",
  5734. "description": "页码",
  5735. "name": "page",
  5736. "in": "query"
  5737. },
  5738. {
  5739. "type": "integer",
  5740. "description": "每页条数",
  5741. "name": "pagesize",
  5742. "in": "query"
  5743. },
  5744. {
  5745. "type": "string",
  5746. "description": "资金账户 - 格式:1,2,3",
  5747. "name": "accountID",
  5748. "in": "query",
  5749. "required": true
  5750. },
  5751. {
  5752. "type": "string",
  5753. "description": "资金操作类型 - 格式:1,2,3",
  5754. "name": "OperateType",
  5755. "in": "query"
  5756. },
  5757. {
  5758. "type": "string",
  5759. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5760. "name": "startDate",
  5761. "in": "query"
  5762. },
  5763. {
  5764. "type": "string",
  5765. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5766. "name": "endDate",
  5767. "in": "query"
  5768. }
  5769. ],
  5770. "responses": {
  5771. "200": {
  5772. "description": "OK",
  5773. "schema": {
  5774. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5775. }
  5776. },
  5777. "500": {
  5778. "description": "Internal Server Error",
  5779. "schema": {
  5780. "$ref": "#/definitions/app.Response"
  5781. }
  5782. }
  5783. }
  5784. }
  5785. },
  5786. "/Trade/QueryRecieptOrder": {
  5787. "get": {
  5788. "security": [
  5789. {
  5790. "ApiKeyAuth": []
  5791. }
  5792. ],
  5793. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5794. "produces": [
  5795. "application/json"
  5796. ],
  5797. "tags": [
  5798. "通用交易"
  5799. ],
  5800. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5801. "parameters": [
  5802. {
  5803. "type": "integer",
  5804. "description": "页码",
  5805. "name": "page",
  5806. "in": "query"
  5807. },
  5808. {
  5809. "type": "integer",
  5810. "description": "每页条数",
  5811. "name": "pagesize",
  5812. "in": "query"
  5813. },
  5814. {
  5815. "type": "integer",
  5816. "description": "商品ID",
  5817. "name": "goodsID",
  5818. "in": "query",
  5819. "required": true
  5820. },
  5821. {
  5822. "type": "string",
  5823. "description": "所属账户名称",
  5824. "name": "accountName",
  5825. "in": "query"
  5826. },
  5827. {
  5828. "type": "integer",
  5829. "description": "市场ID",
  5830. "name": "marketID",
  5831. "in": "query"
  5832. },
  5833. {
  5834. "type": "integer",
  5835. "description": "方向 - 0:买 1:卖",
  5836. "name": "buyorsell",
  5837. "in": "query",
  5838. "required": true
  5839. }
  5840. ],
  5841. "responses": {
  5842. "200": {
  5843. "description": "OK",
  5844. "schema": {
  5845. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5846. }
  5847. },
  5848. "500": {
  5849. "description": "Internal Server Error",
  5850. "schema": {
  5851. "$ref": "#/definitions/app.Response"
  5852. }
  5853. }
  5854. }
  5855. }
  5856. },
  5857. "/User/AddMessageBoard": {
  5858. "post": {
  5859. "security": [
  5860. {
  5861. "ApiKeyAuth": []
  5862. }
  5863. ],
  5864. "produces": [
  5865. "application/json"
  5866. ],
  5867. "tags": [
  5868. "用户信息"
  5869. ],
  5870. "summary": "添加用户留言板信息",
  5871. "parameters": [
  5872. {
  5873. "type": "integer",
  5874. "description": "用户ID",
  5875. "name": "userID",
  5876. "in": "query",
  5877. "required": true
  5878. },
  5879. {
  5880. "type": "string",
  5881. "description": "留言信息",
  5882. "name": "message",
  5883. "in": "query",
  5884. "required": true
  5885. },
  5886. {
  5887. "type": "string",
  5888. "description": "联系电话",
  5889. "name": "contactNum",
  5890. "in": "query",
  5891. "required": true
  5892. }
  5893. ],
  5894. "responses": {
  5895. "200": {
  5896. "description": "OK",
  5897. "schema": {
  5898. "$ref": "#/definitions/app.Response"
  5899. }
  5900. },
  5901. "500": {
  5902. "description": "Internal Server Error",
  5903. "schema": {
  5904. "$ref": "#/definitions/app.Response"
  5905. }
  5906. }
  5907. }
  5908. }
  5909. },
  5910. "/User/AddUserFavoriteGoods": {
  5911. "post": {
  5912. "security": [
  5913. {
  5914. "ApiKeyAuth": []
  5915. }
  5916. ],
  5917. "produces": [
  5918. "application/json"
  5919. ],
  5920. "tags": [
  5921. "用户信息"
  5922. ],
  5923. "summary": "添加用户商品收藏信息",
  5924. "parameters": [
  5925. {
  5926. "type": "integer",
  5927. "description": "用户ID",
  5928. "name": "userID",
  5929. "in": "query",
  5930. "required": true
  5931. },
  5932. {
  5933. "type": "integer",
  5934. "description": "商品ID",
  5935. "name": "goodsID",
  5936. "in": "query",
  5937. "required": true
  5938. }
  5939. ],
  5940. "responses": {
  5941. "200": {
  5942. "description": "OK",
  5943. "schema": {
  5944. "$ref": "#/definitions/app.Response"
  5945. }
  5946. },
  5947. "500": {
  5948. "description": "Internal Server Error",
  5949. "schema": {
  5950. "$ref": "#/definitions/app.Response"
  5951. }
  5952. }
  5953. }
  5954. }
  5955. },
  5956. "/User/GetLoginID": {
  5957. "get": {
  5958. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5959. "produces": [
  5960. "application/json"
  5961. ],
  5962. "tags": [
  5963. "用户信息"
  5964. ],
  5965. "summary": "获取登录ID",
  5966. "parameters": [
  5967. {
  5968. "type": "string",
  5969. "description": "登录代码",
  5970. "name": "username",
  5971. "in": "query",
  5972. "required": true
  5973. }
  5974. ],
  5975. "responses": {
  5976. "200": {
  5977. "description": "OK",
  5978. "schema": {
  5979. "$ref": "#/definitions/app.Response"
  5980. }
  5981. },
  5982. "500": {
  5983. "description": "Internal Server Error",
  5984. "schema": {
  5985. "$ref": "#/definitions/app.Response"
  5986. }
  5987. }
  5988. }
  5989. }
  5990. },
  5991. "/User/GetUserAccount": {
  5992. "get": {
  5993. "security": [
  5994. {
  5995. "ApiKeyAuth": []
  5996. }
  5997. ],
  5998. "produces": [
  5999. "application/json"
  6000. ],
  6001. "tags": [
  6002. "用户信息"
  6003. ],
  6004. "summary": "获取用户账号信息",
  6005. "parameters": [
  6006. {
  6007. "type": "integer",
  6008. "description": "用户ID",
  6009. "name": "userID",
  6010. "in": "query",
  6011. "required": true
  6012. }
  6013. ],
  6014. "responses": {
  6015. "200": {
  6016. "description": "OK",
  6017. "schema": {
  6018. "$ref": "#/definitions/models.Useraccount"
  6019. }
  6020. },
  6021. "500": {
  6022. "description": "Internal Server Error",
  6023. "schema": {
  6024. "$ref": "#/definitions/app.Response"
  6025. }
  6026. }
  6027. }
  6028. }
  6029. },
  6030. "/User/GetUserAuthStatus": {
  6031. "get": {
  6032. "security": [
  6033. {
  6034. "ApiKeyAuth": []
  6035. }
  6036. ],
  6037. "produces": [
  6038. "application/json"
  6039. ],
  6040. "tags": [
  6041. "用户信息"
  6042. ],
  6043. "summary": "获取用户实名认证状态",
  6044. "parameters": [
  6045. {
  6046. "type": "integer",
  6047. "description": "用户ID",
  6048. "name": "userID",
  6049. "in": "query",
  6050. "required": true
  6051. }
  6052. ],
  6053. "responses": {
  6054. "200": {
  6055. "description": "OK",
  6056. "schema": {
  6057. "$ref": "#/definitions/app.Response"
  6058. }
  6059. },
  6060. "500": {
  6061. "description": "Internal Server Error",
  6062. "schema": {
  6063. "$ref": "#/definitions/app.Response"
  6064. }
  6065. }
  6066. }
  6067. }
  6068. },
  6069. "/User/LoginQuery": {
  6070. "get": {
  6071. "security": [
  6072. {
  6073. "ApiKeyAuth": []
  6074. }
  6075. ],
  6076. "produces": [
  6077. "application/json"
  6078. ],
  6079. "tags": [
  6080. "用户信息"
  6081. ],
  6082. "summary": "账户登录后信息查询",
  6083. "parameters": [
  6084. {
  6085. "type": "integer",
  6086. "description": "登录账号",
  6087. "name": "loginID",
  6088. "in": "query",
  6089. "required": true
  6090. }
  6091. ],
  6092. "responses": {
  6093. "200": {
  6094. "description": "OK",
  6095. "schema": {
  6096. "$ref": "#/definitions/user.LoginQueryRsp"
  6097. }
  6098. },
  6099. "500": {
  6100. "description": "Internal Server Error",
  6101. "schema": {
  6102. "$ref": "#/definitions/app.Response"
  6103. }
  6104. }
  6105. }
  6106. }
  6107. },
  6108. "/User/QueryMessageBoard": {
  6109. "get": {
  6110. "security": [
  6111. {
  6112. "ApiKeyAuth": []
  6113. }
  6114. ],
  6115. "produces": [
  6116. "application/json"
  6117. ],
  6118. "tags": [
  6119. "用户信息"
  6120. ],
  6121. "summary": "获取用户留言板信息",
  6122. "parameters": [
  6123. {
  6124. "type": "integer",
  6125. "description": "用户ID",
  6126. "name": "userID",
  6127. "in": "query",
  6128. "required": true
  6129. }
  6130. ],
  6131. "responses": {
  6132. "200": {
  6133. "description": "OK",
  6134. "schema": {
  6135. "$ref": "#/definitions/models.Messageboard"
  6136. }
  6137. },
  6138. "500": {
  6139. "description": "Internal Server Error",
  6140. "schema": {
  6141. "$ref": "#/definitions/app.Response"
  6142. }
  6143. }
  6144. }
  6145. }
  6146. },
  6147. "/User/QueryUserFavoriteGoodses": {
  6148. "get": {
  6149. "security": [
  6150. {
  6151. "ApiKeyAuth": []
  6152. }
  6153. ],
  6154. "produces": [
  6155. "application/json"
  6156. ],
  6157. "tags": [
  6158. "用户信息"
  6159. ],
  6160. "summary": "获取用户商品收藏信息",
  6161. "parameters": [
  6162. {
  6163. "type": "integer",
  6164. "description": "用户ID",
  6165. "name": "userID",
  6166. "in": "query",
  6167. "required": true
  6168. }
  6169. ],
  6170. "responses": {
  6171. "200": {
  6172. "description": "OK",
  6173. "schema": {
  6174. "$ref": "#/definitions/models.Userfavoritegoods"
  6175. }
  6176. },
  6177. "500": {
  6178. "description": "Internal Server Error",
  6179. "schema": {
  6180. "$ref": "#/definitions/app.Response"
  6181. }
  6182. }
  6183. }
  6184. }
  6185. },
  6186. "/User/QueryUserInfo": {
  6187. "get": {
  6188. "security": [
  6189. {
  6190. "ApiKeyAuth": []
  6191. }
  6192. ],
  6193. "produces": [
  6194. "application/json"
  6195. ],
  6196. "tags": [
  6197. "用户信息"
  6198. ],
  6199. "summary": "获取用户信息",
  6200. "parameters": [
  6201. {
  6202. "type": "integer",
  6203. "description": "用户ID",
  6204. "name": "userID",
  6205. "in": "query",
  6206. "required": true
  6207. }
  6208. ],
  6209. "responses": {
  6210. "200": {
  6211. "description": "OK",
  6212. "schema": {
  6213. "$ref": "#/definitions/models.Userinfo"
  6214. }
  6215. },
  6216. "500": {
  6217. "description": "Internal Server Error",
  6218. "schema": {
  6219. "$ref": "#/definitions/app.Response"
  6220. }
  6221. }
  6222. }
  6223. }
  6224. },
  6225. "/User/QueryUserReferNum": {
  6226. "get": {
  6227. "produces": [
  6228. "application/json"
  6229. ],
  6230. "tags": [
  6231. "用户信息"
  6232. ],
  6233. "summary": "获取用户邀请码",
  6234. "parameters": [
  6235. {
  6236. "type": "integer",
  6237. "description": "用户ID",
  6238. "name": "userID",
  6239. "in": "query",
  6240. "required": true
  6241. }
  6242. ],
  6243. "responses": {
  6244. "200": {
  6245. "description": "OK",
  6246. "schema": {
  6247. "$ref": "#/definitions/app.Response"
  6248. }
  6249. },
  6250. "500": {
  6251. "description": "Internal Server Error",
  6252. "schema": {
  6253. "$ref": "#/definitions/app.Response"
  6254. }
  6255. }
  6256. }
  6257. }
  6258. },
  6259. "/User/RemoveUserFavoriteGoods": {
  6260. "post": {
  6261. "security": [
  6262. {
  6263. "ApiKeyAuth": []
  6264. }
  6265. ],
  6266. "produces": [
  6267. "application/json"
  6268. ],
  6269. "tags": [
  6270. "用户信息"
  6271. ],
  6272. "summary": "移除用户商品收藏信息",
  6273. "parameters": [
  6274. {
  6275. "type": "integer",
  6276. "description": "用户ID",
  6277. "name": "userID",
  6278. "in": "query",
  6279. "required": true
  6280. },
  6281. {
  6282. "type": "integer",
  6283. "description": "商品ID",
  6284. "name": "goodsID",
  6285. "in": "query",
  6286. "required": true
  6287. }
  6288. ],
  6289. "responses": {
  6290. "200": {
  6291. "description": "OK",
  6292. "schema": {
  6293. "$ref": "#/definitions/app.Response"
  6294. }
  6295. },
  6296. "500": {
  6297. "description": "Internal Server Error",
  6298. "schema": {
  6299. "$ref": "#/definitions/app.Response"
  6300. }
  6301. }
  6302. }
  6303. }
  6304. },
  6305. "/User/UpdateUserAccountStatus": {
  6306. "post": {
  6307. "security": [
  6308. {
  6309. "ApiKeyAuth": []
  6310. }
  6311. ],
  6312. "produces": [
  6313. "application/json"
  6314. ],
  6315. "tags": [
  6316. "用户信息"
  6317. ],
  6318. "summary": "更新用户状态",
  6319. "parameters": [
  6320. {
  6321. "type": "integer",
  6322. "description": "用户ID",
  6323. "name": "userID",
  6324. "in": "query",
  6325. "required": true
  6326. },
  6327. {
  6328. "type": "integer",
  6329. "description": "账户状态 - 4:正常 6:注销(停用)",
  6330. "name": "accountStatus",
  6331. "in": "query",
  6332. "required": true
  6333. }
  6334. ],
  6335. "responses": {
  6336. "200": {
  6337. "description": "OK",
  6338. "schema": {
  6339. "$ref": "#/definitions/app.Response"
  6340. }
  6341. },
  6342. "500": {
  6343. "description": "Internal Server Error",
  6344. "schema": {
  6345. "$ref": "#/definitions/app.Response"
  6346. }
  6347. }
  6348. }
  6349. }
  6350. },
  6351. "/WR/GetWRCategoryInfo": {
  6352. "get": {
  6353. "produces": [
  6354. "application/json"
  6355. ],
  6356. "tags": [
  6357. "仓单服务"
  6358. ],
  6359. "summary": "获取现货分类信息",
  6360. "responses": {
  6361. "200": {
  6362. "description": "OK",
  6363. "schema": {
  6364. "$ref": "#/definitions/models.WRCategoryTree"
  6365. }
  6366. },
  6367. "500": {
  6368. "description": "Internal Server Error",
  6369. "schema": {
  6370. "$ref": "#/definitions/app.Response"
  6371. }
  6372. }
  6373. }
  6374. }
  6375. },
  6376. "/WRTrade/GetAllDeliveryGoods": {
  6377. "get": {
  6378. "security": [
  6379. {
  6380. "ApiKeyAuth": []
  6381. },
  6382. {
  6383. "ApiKeyAuth": []
  6384. }
  6385. ],
  6386. "produces": [
  6387. "application/json",
  6388. "application/json"
  6389. ],
  6390. "tags": [
  6391. "仓单贸易",
  6392. "仓单贸易"
  6393. ],
  6394. "summary": "获取带仓单分类的种类信息",
  6395. "responses": {
  6396. "200": {
  6397. "description": "OK",
  6398. "schema": {
  6399. "$ref": "#/definitions/app.Response"
  6400. }
  6401. },
  6402. "500": {
  6403. "description": "Internal Server Error",
  6404. "schema": {
  6405. "$ref": "#/definitions/app.Response"
  6406. }
  6407. }
  6408. }
  6409. }
  6410. }
  6411. },
  6412. "definitions": {
  6413. "app.Response": {
  6414. "type": "object",
  6415. "properties": {
  6416. "code": {
  6417. "type": "integer"
  6418. },
  6419. "data": {
  6420. "type": "object"
  6421. },
  6422. "msg": {
  6423. "type": "string"
  6424. },
  6425. "page": {
  6426. "description": "页码",
  6427. "type": "integer"
  6428. },
  6429. "pagesize": {
  6430. "description": "每页条数",
  6431. "type": "integer"
  6432. },
  6433. "total": {
  6434. "description": "总条数",
  6435. "type": "integer"
  6436. }
  6437. }
  6438. },
  6439. "common.QueryImageConfigsRsp": {
  6440. "type": "object",
  6441. "required": [
  6442. "configid"
  6443. ],
  6444. "properties": {
  6445. "areauserid": {
  6446. "description": "所属机构ID",
  6447. "type": "integer"
  6448. },
  6449. "configid": {
  6450. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6451. "type": "integer"
  6452. },
  6453. "createdate": {
  6454. "description": "创建时间",
  6455. "type": "string"
  6456. },
  6457. "creatorid": {
  6458. "description": "创建人",
  6459. "type": "integer"
  6460. },
  6461. "imagepath": {
  6462. "description": "图片",
  6463. "type": "string"
  6464. },
  6465. "imagetype": {
  6466. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6467. "type": "integer"
  6468. },
  6469. "isshow": {
  6470. "description": "是否展示 - 0:不展示 1:展示",
  6471. "type": "integer"
  6472. },
  6473. "marketid": {
  6474. "description": "市场ID",
  6475. "type": "integer"
  6476. },
  6477. "modifierid": {
  6478. "description": "操作人",
  6479. "type": "integer"
  6480. },
  6481. "sort": {
  6482. "description": "排序",
  6483. "type": "integer"
  6484. },
  6485. "title": {
  6486. "description": "标题",
  6487. "type": "string"
  6488. },
  6489. "trademode": {
  6490. "description": "交易模式",
  6491. "type": "integer"
  6492. },
  6493. "updatedate": {
  6494. "description": "修改时间",
  6495. "type": "string"
  6496. },
  6497. "url": {
  6498. "description": "链接(地址或商品ID)",
  6499. "type": "string"
  6500. },
  6501. "urltype": {
  6502. "description": "链接类型 - 1:直接地址 2:商品ID",
  6503. "type": "integer"
  6504. }
  6505. }
  6506. },
  6507. "common.QueryNoticeRsp": {
  6508. "type": "object",
  6509. "required": [
  6510. "autoid"
  6511. ],
  6512. "properties": {
  6513. "auditoruserid": {
  6514. "description": "审核人",
  6515. "type": "integer"
  6516. },
  6517. "auditremark": {
  6518. "description": "审核备注",
  6519. "type": "string"
  6520. },
  6521. "audittime": {
  6522. "description": "审核日期",
  6523. "type": "string"
  6524. },
  6525. "autoid": {
  6526. "description": "自增ID",
  6527. "type": "integer"
  6528. },
  6529. "content": {
  6530. "description": "内容",
  6531. "type": "string"
  6532. },
  6533. "createtime": {
  6534. "description": "创建时间",
  6535. "type": "string"
  6536. },
  6537. "creatorid": {
  6538. "description": "建仓人",
  6539. "type": "integer"
  6540. },
  6541. "endtime": {
  6542. "description": "结束时间",
  6543. "type": "string"
  6544. },
  6545. "istop": {
  6546. "description": "是否置顶 - 0:不置顶 1:置顶",
  6547. "type": "integer"
  6548. },
  6549. "msgiconurl": {
  6550. "description": "消息图标Url",
  6551. "type": "string"
  6552. },
  6553. "msgtype": {
  6554. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6555. "type": "integer"
  6556. },
  6557. "publisher": {
  6558. "description": "消息发布者",
  6559. "type": "string"
  6560. },
  6561. "readed": {
  6562. "description": "是否已读",
  6563. "type": "boolean"
  6564. },
  6565. "scheduletime": {
  6566. "description": "计划发送时间",
  6567. "type": "string"
  6568. },
  6569. "sendtype": {
  6570. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6571. "type": "integer"
  6572. },
  6573. "sentstatus": {
  6574. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6575. "type": "integer"
  6576. },
  6577. "title": {
  6578. "description": "标题",
  6579. "type": "string"
  6580. },
  6581. "userid": {
  6582. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6583. "type": "integer"
  6584. }
  6585. }
  6586. },
  6587. "common.QueryProvincesAndCitiesRsp": {
  6588. "type": "object",
  6589. "properties": {
  6590. "cities": {
  6591. "description": "市",
  6592. "type": "array",
  6593. "items": {
  6594. "$ref": "#/definitions/models.Division"
  6595. }
  6596. },
  6597. "province": {
  6598. "description": "省",
  6599. "$ref": "#/definitions/models.Division"
  6600. }
  6601. }
  6602. },
  6603. "common.QueryTableDefineRsp": {
  6604. "type": "object",
  6605. "required": [
  6606. "tablekey"
  6607. ],
  6608. "properties": {
  6609. "columns": {
  6610. "description": "列头信息数组",
  6611. "type": "array",
  6612. "items": {
  6613. "$ref": "#/definitions/models.Tablecolumnconfig"
  6614. }
  6615. },
  6616. "remark": {
  6617. "description": "Remark",
  6618. "type": "string"
  6619. },
  6620. "tabelmenu": {
  6621. "description": "列表菜单",
  6622. "type": "string"
  6623. },
  6624. "tablekey": {
  6625. "description": "列表Key",
  6626. "type": "string"
  6627. },
  6628. "tablename": {
  6629. "description": "列表名称",
  6630. "type": "string"
  6631. },
  6632. "tabletype": {
  6633. "description": "列表类型 - 1:管理端 2:终端",
  6634. "type": "integer"
  6635. }
  6636. }
  6637. },
  6638. "common.QueryTraderMenuRsp": {
  6639. "type": "object",
  6640. "properties": {
  6641. "OperationMenu": {
  6642. "description": "功能菜单",
  6643. "type": "array",
  6644. "items": {
  6645. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6646. }
  6647. },
  6648. "QuoteMenu": {
  6649. "description": "报价牌分类菜单",
  6650. "type": "array",
  6651. "items": {
  6652. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6653. }
  6654. }
  6655. }
  6656. },
  6657. "cptrade.Cptradepositioncancel": {
  6658. "type": "object",
  6659. "required": [
  6660. "cancelid"
  6661. ],
  6662. "properties": {
  6663. "accountid": {
  6664. "description": "申请人账户ID",
  6665. "type": "integer"
  6666. },
  6667. "applystatus": {
  6668. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6669. "type": "integer"
  6670. },
  6671. "applytime": {
  6672. "description": "申请时间",
  6673. "type": "string"
  6674. },
  6675. "cancelid": {
  6676. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6677. "type": "integer"
  6678. },
  6679. "cancelqty": {
  6680. "description": "注销数量",
  6681. "type": "integer"
  6682. },
  6683. "createtime": {
  6684. "description": "创建时间",
  6685. "type": "string"
  6686. },
  6687. "creatorid": {
  6688. "description": "创建人ID",
  6689. "type": "integer"
  6690. },
  6691. "creatorname": {
  6692. "description": "创建人",
  6693. "type": "string"
  6694. },
  6695. "goodscode": {
  6696. "description": "订单商品代码",
  6697. "type": "string"
  6698. },
  6699. "goodsid": {
  6700. "description": "商品ID",
  6701. "type": "integer"
  6702. },
  6703. "goodsname": {
  6704. "description": "订单商品名称",
  6705. "type": "string"
  6706. },
  6707. "goodunit": {
  6708. "description": "报价单位",
  6709. "type": "string"
  6710. },
  6711. "handlestatus": {
  6712. "description": "处理状态",
  6713. "type": "integer"
  6714. },
  6715. "marketid": {
  6716. "description": "市场ID",
  6717. "type": "integer"
  6718. },
  6719. "marketname": {
  6720. "description": "市场名称",
  6721. "type": "string"
  6722. },
  6723. "tradedate": {
  6724. "description": "交易日(yyyyMMdd)",
  6725. "type": "string"
  6726. },
  6727. "userid": {
  6728. "description": "申请人ID",
  6729. "type": "integer"
  6730. }
  6731. }
  6732. },
  6733. "cptrade.Cptradepresaleapply": {
  6734. "type": "object",
  6735. "required": [
  6736. "applyid"
  6737. ],
  6738. "properties": {
  6739. "accountid": {
  6740. "description": "申请人账户ID",
  6741. "type": "integer"
  6742. },
  6743. "applyid": {
  6744. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6745. "type": "integer"
  6746. },
  6747. "applyremark": {
  6748. "description": "申请备注",
  6749. "type": "string"
  6750. },
  6751. "applystatus": {
  6752. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6753. "type": "integer"
  6754. },
  6755. "applytime": {
  6756. "description": "申请时间",
  6757. "type": "string"
  6758. },
  6759. "attachmenturl": {
  6760. "description": "附件地址",
  6761. "type": "string"
  6762. },
  6763. "endtime": {
  6764. "description": "预售结束时间",
  6765. "type": "string"
  6766. },
  6767. "goodscode": {
  6768. "description": "商品代码",
  6769. "type": "string"
  6770. },
  6771. "goodsid": {
  6772. "description": "商品ID",
  6773. "type": "integer"
  6774. },
  6775. "goodsname": {
  6776. "description": "商品名称",
  6777. "type": "string"
  6778. },
  6779. "goodunit": {
  6780. "description": "报价单位",
  6781. "type": "string"
  6782. },
  6783. "handlestatus": {
  6784. "description": "处理状态",
  6785. "type": "integer"
  6786. },
  6787. "marketid": {
  6788. "description": "预售市场ID",
  6789. "type": "integer"
  6790. },
  6791. "marketname": {
  6792. "description": "预售市场名称",
  6793. "type": "string"
  6794. },
  6795. "presaleqty": {
  6796. "description": "预售数量",
  6797. "type": "integer"
  6798. },
  6799. "relatedgoodscode": {
  6800. "description": "关联交易合约代码",
  6801. "type": "string"
  6802. },
  6803. "relatedgoodsid": {
  6804. "description": "关联交易合约ID",
  6805. "type": "integer"
  6806. },
  6807. "relatedgoodsname": {
  6808. "description": "关联交易合约名称",
  6809. "type": "string"
  6810. },
  6811. "starttime": {
  6812. "description": "预售开始时间",
  6813. "type": "string"
  6814. },
  6815. "tradedate": {
  6816. "description": "交易日(yyyyMMdd)",
  6817. "type": "string"
  6818. },
  6819. "trademode": {
  6820. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6821. "type": "integer"
  6822. },
  6823. "userid": {
  6824. "description": "申请人ID",
  6825. "type": "integer"
  6826. }
  6827. }
  6828. },
  6829. "cptrade.Cptradeusergoodsdata": {
  6830. "type": "object",
  6831. "required": [
  6832. "accountid",
  6833. "goodsid"
  6834. ],
  6835. "properties": {
  6836. "EnabledQty": {
  6837. "description": "可用量",
  6838. "type": "integer"
  6839. },
  6840. "GoodsCode": {
  6841. "description": "订单商品代码",
  6842. "type": "string"
  6843. },
  6844. "GoodsName": {
  6845. "description": "订单商品名称",
  6846. "type": "string"
  6847. },
  6848. "WRStandardCode": {
  6849. "description": "仓单标准代码",
  6850. "type": "string"
  6851. },
  6852. "WRStandardName": {
  6853. "description": "仓单标准名称",
  6854. "type": "string"
  6855. },
  6856. "accountid": {
  6857. "description": "账户ID",
  6858. "type": "integer"
  6859. },
  6860. "cancelqty": {
  6861. "description": "注销量",
  6862. "type": "integer"
  6863. },
  6864. "curpresaleqty": {
  6865. "description": "当前预售量",
  6866. "type": "integer"
  6867. },
  6868. "deliveryqty": {
  6869. "description": "交割量",
  6870. "type": "integer"
  6871. },
  6872. "freezeamount": {
  6873. "description": "冻结金额",
  6874. "type": "number"
  6875. },
  6876. "goodsid": {
  6877. "description": "商品ID",
  6878. "type": "integer"
  6879. },
  6880. "goodunit": {
  6881. "description": "报价单位",
  6882. "type": "string"
  6883. },
  6884. "hasspotfreeze": {
  6885. "description": "是否有现货冻结 - 0:否 1:有",
  6886. "type": "integer"
  6887. },
  6888. "inqty": {
  6889. "description": "转入量(总数量)",
  6890. "type": "integer"
  6891. },
  6892. "marketid": {
  6893. "description": "市场ID",
  6894. "type": "integer"
  6895. },
  6896. "presaledamount": {
  6897. "description": "已预售总金额",
  6898. "type": "integer"
  6899. },
  6900. "presaledqty": {
  6901. "description": "已预售量",
  6902. "type": "integer"
  6903. },
  6904. "userid": {
  6905. "description": "用户ID",
  6906. "type": "integer"
  6907. },
  6908. "wrstandardid": {
  6909. "description": "仓单标准ID",
  6910. "type": "integer"
  6911. }
  6912. }
  6913. },
  6914. "cptrade.QueryCPTradeMyBidRsp": {
  6915. "type": "object",
  6916. "required": [
  6917. "accountid",
  6918. "goodsid",
  6919. "marketid",
  6920. "orderid",
  6921. "orderqty",
  6922. "ordertime",
  6923. "tradeprice",
  6924. "tradeqty"
  6925. ],
  6926. "properties": {
  6927. "accountid": {
  6928. "description": "账户ID[报价币种]",
  6929. "type": "integer"
  6930. },
  6931. "goodsid": {
  6932. "description": "商品ID",
  6933. "type": "integer"
  6934. },
  6935. "goodunit": {
  6936. "description": "报价单位",
  6937. "type": "string"
  6938. },
  6939. "marketid": {
  6940. "description": "市场ID",
  6941. "type": "integer"
  6942. },
  6943. "orderid": {
  6944. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6945. "type": "integer"
  6946. },
  6947. "orderprice": {
  6948. "description": "委托价格",
  6949. "type": "number"
  6950. },
  6951. "orderqty": {
  6952. "description": "委托数量",
  6953. "type": "integer"
  6954. },
  6955. "ordertime": {
  6956. "description": "委托时间",
  6957. "type": "string"
  6958. },
  6959. "ordertotalprice": {
  6960. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6961. "type": "number"
  6962. },
  6963. "ordertotalweight": {
  6964. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6965. "type": "integer"
  6966. },
  6967. "totaltotalprice": {
  6968. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6969. "type": "number"
  6970. },
  6971. "tradeprice": {
  6972. "description": "成交价格",
  6973. "type": "number"
  6974. },
  6975. "tradeqty": {
  6976. "description": "成交数量",
  6977. "type": "integer"
  6978. }
  6979. }
  6980. },
  6981. "cptrade.QueryCPTradeOrderDetailRsq": {
  6982. "type": "object",
  6983. "required": [
  6984. "accountid",
  6985. "buildtype",
  6986. "buyorsell",
  6987. "goodsid",
  6988. "marketid",
  6989. "memberuserid",
  6990. "operatetype",
  6991. "orderqty",
  6992. "ordertime",
  6993. "pricemode",
  6994. "strorderid",
  6995. "tradedate",
  6996. "validtype"
  6997. ],
  6998. "properties": {
  6999. "accountid": {
  7000. "description": "账户ID[报价币种]",
  7001. "type": "integer"
  7002. },
  7003. "buildtype": {
  7004. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7005. "type": "integer"
  7006. },
  7007. "buyorsell": {
  7008. "description": "买卖 - 0:买 1:卖",
  7009. "type": "integer"
  7010. },
  7011. "cancelorderid": {
  7012. "description": "撤单单号(撤单时填写)",
  7013. "type": "integer"
  7014. },
  7015. "cancelqty": {
  7016. "description": "撤单数量",
  7017. "type": "integer"
  7018. },
  7019. "clientordertime": {
  7020. "description": "客户端委托时间",
  7021. "type": "string"
  7022. },
  7023. "clientticket": {
  7024. "description": "客户端流水号",
  7025. "type": "string"
  7026. },
  7027. "clienttype": {
  7028. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7029. "type": "integer"
  7030. },
  7031. "closeexchagechargevalue": {
  7032. "description": "平仓交易所手续费设置值",
  7033. "type": "number"
  7034. },
  7035. "closefeealgorithm": {
  7036. "description": "平仓手续费收取方式 1:比率 2:固定",
  7037. "type": "integer"
  7038. },
  7039. "closefreezecharge": {
  7040. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7041. "type": "number"
  7042. },
  7043. "closememberchargevalue": {
  7044. "description": "平仓会员手续费设置值",
  7045. "type": "number"
  7046. },
  7047. "closeqty": {
  7048. "description": "平仓数量(先建后平操作 需要记录)",
  7049. "type": "integer"
  7050. },
  7051. "closetradeqty": {
  7052. "description": "平仓成交数量(先建后平操作,需要记录)",
  7053. "type": "integer"
  7054. },
  7055. "closeunfreezecharge": {
  7056. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7057. "type": "number"
  7058. },
  7059. "delistingtype": {
  7060. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7061. "type": "integer"
  7062. },
  7063. "freezecharge": {
  7064. "description": "冻结手续费",
  7065. "type": "number"
  7066. },
  7067. "freezemargin": {
  7068. "description": "冻结保证金(冻结交易金额)",
  7069. "type": "number"
  7070. },
  7071. "gcaccountid": {
  7072. "description": "账户ID[合约币种]",
  7073. "type": "integer"
  7074. },
  7075. "goodsid": {
  7076. "description": "商品ID",
  7077. "type": "integer"
  7078. },
  7079. "isconfirmexercise": {
  7080. "description": "是否确认行权- 0:否 1:是",
  7081. "type": "integer"
  7082. },
  7083. "ispreexercise": {
  7084. "description": "是否预申报- 0:否 1:是",
  7085. "type": "integer"
  7086. },
  7087. "listingselecttype": {
  7088. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7089. "type": "integer"
  7090. },
  7091. "marginalgorithm": {
  7092. "description": "保证金收取方式 1:比率 2:固定",
  7093. "type": "integer"
  7094. },
  7095. "marginvalue": {
  7096. "description": "即市保证金设置值",
  7097. "type": "number"
  7098. },
  7099. "marketid": {
  7100. "description": "市场ID",
  7101. "type": "integer"
  7102. },
  7103. "marketmaxsub": {
  7104. "description": "市价最大偏移范围",
  7105. "type": "number"
  7106. },
  7107. "memberuserid": {
  7108. "description": "所属会员UserID",
  7109. "type": "integer"
  7110. },
  7111. "openexchagechargevalue": {
  7112. "description": "建仓交易所手续费设置值",
  7113. "type": "number"
  7114. },
  7115. "openfeealgorithm": {
  7116. "description": "建仓手续费收取方式 1:比率 2:固定",
  7117. "type": "integer"
  7118. },
  7119. "openfreezecharge": {
  7120. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7121. "type": "number"
  7122. },
  7123. "openmemberchargevalue": {
  7124. "description": "建仓会员手续费设置值",
  7125. "type": "number"
  7126. },
  7127. "openqty": {
  7128. "description": "开仓数量(先建后平操作,需要记录)",
  7129. "type": "integer"
  7130. },
  7131. "opentradeqty": {
  7132. "description": "开仓成交数量(先建后平操作,需要记录)",
  7133. "type": "integer"
  7134. },
  7135. "openunfreezecharge": {
  7136. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7137. "type": "number"
  7138. },
  7139. "operatetype": {
  7140. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7141. "type": "integer"
  7142. },
  7143. "operatorid": {
  7144. "description": "登录账号(LoginID)",
  7145. "type": "integer"
  7146. },
  7147. "optiontype": {
  7148. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7149. "type": "integer"
  7150. },
  7151. "orderprice": {
  7152. "description": "委托价格",
  7153. "type": "number"
  7154. },
  7155. "orderqty": {
  7156. "description": "委托数量",
  7157. "type": "integer"
  7158. },
  7159. "ordersrc": {
  7160. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7161. "type": "integer"
  7162. },
  7163. "orderstatus": {
  7164. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7165. "type": "integer"
  7166. },
  7167. "ordertime": {
  7168. "description": "委托时间",
  7169. "type": "string"
  7170. },
  7171. "preexerciseprice": {
  7172. "description": "预申报价格",
  7173. "type": "number"
  7174. },
  7175. "premium": {
  7176. "description": "权利金",
  7177. "type": "number"
  7178. },
  7179. "preorderid": {
  7180. "description": "关联预埋单号(止盈止损单时填写)",
  7181. "type": "integer"
  7182. },
  7183. "pricemode": {
  7184. "description": "取价方式 - 1:市价 2: 限价",
  7185. "type": "integer"
  7186. },
  7187. "quoteid": {
  7188. "description": "报价单ID",
  7189. "type": "integer"
  7190. },
  7191. "relatedid": {
  7192. "description": "关联单号(交割单)",
  7193. "type": "integer"
  7194. },
  7195. "retcode": {
  7196. "description": "错误代码",
  7197. "type": "integer"
  7198. },
  7199. "sessionid": {
  7200. "description": "会话ID",
  7201. "type": "integer"
  7202. },
  7203. "strorderid": {
  7204. "description": "委托单号",
  7205. "type": "string"
  7206. },
  7207. "tradedate": {
  7208. "description": "交易日(yyyyMMdd)",
  7209. "type": "string"
  7210. },
  7211. "tradeproperty": {
  7212. "description": "交易属性",
  7213. "type": "integer"
  7214. },
  7215. "tradeqty": {
  7216. "description": "成交数量",
  7217. "type": "integer"
  7218. },
  7219. "unfreezecharge": {
  7220. "description": "解冻手续费",
  7221. "type": "number"
  7222. },
  7223. "unfreezemargin": {
  7224. "description": "解冻保证金",
  7225. "type": "number"
  7226. },
  7227. "updatetime": {
  7228. "description": "更新时间",
  7229. "type": "string"
  7230. },
  7231. "uuid": {
  7232. "description": "发起端唯一id",
  7233. "type": "string"
  7234. },
  7235. "validtime": {
  7236. "description": "有效期限",
  7237. "type": "string"
  7238. },
  7239. "validtype": {
  7240. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7241. "type": "integer"
  7242. },
  7243. "volumetype": {
  7244. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7245. "type": "integer"
  7246. }
  7247. }
  7248. },
  7249. "cptrade.QueryMyCPTradeGoodsRsp": {
  7250. "type": "object",
  7251. "required": [
  7252. "goodscode",
  7253. "goodsid",
  7254. "goodsname",
  7255. "marketid",
  7256. "relatedgoodscode",
  7257. "relatedgoodsname"
  7258. ],
  7259. "properties": {
  7260. "accountid": {
  7261. "description": "卖方账户ID",
  7262. "type": "integer"
  7263. },
  7264. "agreeunit": {
  7265. "description": "合约单位",
  7266. "type": "number"
  7267. },
  7268. "applyid": {
  7269. "description": "关联申请ID",
  7270. "type": "integer"
  7271. },
  7272. "attachmenturl": {
  7273. "description": "附件地址",
  7274. "type": "string"
  7275. },
  7276. "createtime": {
  7277. "description": "创建时间",
  7278. "type": "string"
  7279. },
  7280. "currencyid": {
  7281. "description": "报价货币ID",
  7282. "type": "integer"
  7283. },
  7284. "decimalplace": {
  7285. "description": "报价小数位",
  7286. "type": "integer"
  7287. },
  7288. "endtime": {
  7289. "description": "预售结束时间",
  7290. "type": "string"
  7291. },
  7292. "floorprice": {
  7293. "description": "底价[大宗式竞拍]",
  7294. "type": "number"
  7295. },
  7296. "goodscode": {
  7297. "description": "商品代码(预售)",
  7298. "type": "string"
  7299. },
  7300. "goodsdetail": {
  7301. "description": "详情[大宗]",
  7302. "type": "string"
  7303. },
  7304. "goodsid": {
  7305. "description": "商品ID(自增ID SEQ_GOODS)",
  7306. "type": "integer"
  7307. },
  7308. "goodsname": {
  7309. "description": "商品名称(预售)",
  7310. "type": "string"
  7311. },
  7312. "goodunit": {
  7313. "description": "报价单位",
  7314. "type": "string"
  7315. },
  7316. "goodunitid": {
  7317. "description": "报价单位ID",
  7318. "type": "integer"
  7319. },
  7320. "marketid": {
  7321. "description": "所属市场ID",
  7322. "type": "integer"
  7323. },
  7324. "marketname": {
  7325. "description": "预售市场名称",
  7326. "type": "string"
  7327. },
  7328. "presaledamount": {
  7329. "description": "已预售总金额(预售结束时更新)",
  7330. "type": "number"
  7331. },
  7332. "presaledqty": {
  7333. "description": "已预售量(预售结束时更新)",
  7334. "type": "integer"
  7335. },
  7336. "presalemode": {
  7337. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7338. "type": "integer"
  7339. },
  7340. "presaleqty": {
  7341. "description": "预售数量",
  7342. "type": "integer"
  7343. },
  7344. "refprice": {
  7345. "description": "参考价格[一口价]",
  7346. "type": "number"
  7347. },
  7348. "relatedgoodscode": {
  7349. "description": "商品代码(订单)",
  7350. "type": "string"
  7351. },
  7352. "relatedgoodsid": {
  7353. "description": "关联交易合约ID",
  7354. "type": "integer"
  7355. },
  7356. "relatedgoodsname": {
  7357. "description": "商品名称(订单)",
  7358. "type": "string"
  7359. },
  7360. "relatedmarketid": {
  7361. "description": "关联交易合约市场ID",
  7362. "type": "integer"
  7363. },
  7364. "sellstatus": {
  7365. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7366. "type": "integer"
  7367. },
  7368. "startprice": {
  7369. "description": "起拍价[大宗式竞拍]",
  7370. "type": "number"
  7371. },
  7372. "starttime": {
  7373. "description": "预售开始时间",
  7374. "type": "string"
  7375. },
  7376. "tradedate": {
  7377. "description": "交易日(yyyyMMdd)",
  7378. "type": "string"
  7379. },
  7380. "tradeprice": {
  7381. "description": "成交价[大宗]",
  7382. "type": "number"
  7383. },
  7384. "userid": {
  7385. "description": "卖方用户ID",
  7386. "type": "integer"
  7387. }
  7388. }
  7389. },
  7390. "cptrade.QueryPresaleGoodsExRsp": {
  7391. "type": "object",
  7392. "required": [
  7393. "goodsid"
  7394. ],
  7395. "properties": {
  7396. "attachmenturl": {
  7397. "description": "附件地址",
  7398. "type": "string"
  7399. },
  7400. "createtime": {
  7401. "description": "创建时间",
  7402. "type": "string"
  7403. },
  7404. "endtime": {
  7405. "description": "预售结束时间",
  7406. "type": "string"
  7407. },
  7408. "floorprice": {
  7409. "description": "底价[大宗式竞拍]",
  7410. "type": "number"
  7411. },
  7412. "goodsdetail": {
  7413. "description": "详情[大宗]",
  7414. "type": "string"
  7415. },
  7416. "goodsid": {
  7417. "description": "商品ID(预售)",
  7418. "type": "integer"
  7419. },
  7420. "goodunit": {
  7421. "description": "报价单位",
  7422. "type": "string"
  7423. },
  7424. "marketid": {
  7425. "description": "预售市场ID - 根据预售模式选择市场",
  7426. "type": "integer"
  7427. },
  7428. "presaledamount": {
  7429. "description": "已预售总金额(预售结束时更新)",
  7430. "type": "number"
  7431. },
  7432. "presaledqty": {
  7433. "description": "已预售量(预售结束时更新)",
  7434. "type": "integer"
  7435. },
  7436. "presalemode": {
  7437. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7438. "type": "integer"
  7439. },
  7440. "presaleqty": {
  7441. "description": "预售数量",
  7442. "type": "integer"
  7443. },
  7444. "refprice": {
  7445. "description": "参考价格[一口价]",
  7446. "type": "number"
  7447. },
  7448. "relatedgoodsid": {
  7449. "description": "关联交易合约ID",
  7450. "type": "integer"
  7451. },
  7452. "relatedmarketid": {
  7453. "description": "关联交易合约市场ID",
  7454. "type": "integer"
  7455. },
  7456. "sellstatus": {
  7457. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7458. "type": "integer"
  7459. },
  7460. "startprice": {
  7461. "description": "起拍价[大宗式竞拍]",
  7462. "type": "number"
  7463. },
  7464. "starttime": {
  7465. "description": "预售开始时间",
  7466. "type": "string"
  7467. },
  7468. "tradedate": {
  7469. "description": "交易日(yyyyMMdd)",
  7470. "type": "string"
  7471. },
  7472. "tradeprice": {
  7473. "description": "成交价[大宗]",
  7474. "type": "number"
  7475. }
  7476. }
  7477. },
  7478. "delivery.QueryDeliveryRelationRsp": {
  7479. "type": "object",
  7480. "required": [
  7481. "begindate",
  7482. "enddate",
  7483. "goodsid",
  7484. "mindeliveryqty",
  7485. "xdeliveryratio"
  7486. ],
  7487. "properties": {
  7488. "begindate": {
  7489. "description": "起始日期(yyyyMMdd)",
  7490. "type": "string"
  7491. },
  7492. "buytemplateid": {
  7493. "description": "买履约计划模板ID",
  7494. "type": "integer"
  7495. },
  7496. "deliverygoodscode": {
  7497. "description": "品种代码",
  7498. "type": "string"
  7499. },
  7500. "deliverygoodsid": {
  7501. "description": "交割商品",
  7502. "type": "integer"
  7503. },
  7504. "deliverygoodsname": {
  7505. "description": "品种名称",
  7506. "type": "string"
  7507. },
  7508. "deliverymode": {
  7509. "description": "交割方式 - 1:点选式 2:申报式",
  7510. "type": "integer"
  7511. },
  7512. "deliverypricerule": {
  7513. "description": "交割价规则- 1:行情价 2:建仓价",
  7514. "type": "integer"
  7515. },
  7516. "deliverytype": {
  7517. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7518. "type": "integer"
  7519. },
  7520. "enddate": {
  7521. "description": "结束日期(yyyyMMdd)",
  7522. "type": "string"
  7523. },
  7524. "goodscode": {
  7525. "description": "商品代码",
  7526. "type": "string"
  7527. },
  7528. "goodsid": {
  7529. "description": "交易合约ID",
  7530. "type": "integer"
  7531. },
  7532. "goodsname": {
  7533. "description": "商品名称",
  7534. "type": "string"
  7535. },
  7536. "marketid": {
  7537. "description": "市场ID",
  7538. "type": "integer"
  7539. },
  7540. "mindeliveryqty": {
  7541. "description": "最小交割系数(K)",
  7542. "type": "integer"
  7543. },
  7544. "p2deliveryprice": {
  7545. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7546. "type": "number"
  7547. },
  7548. "p2deliveryratio": {
  7549. "description": "P2合约系数(p)",
  7550. "type": "integer"
  7551. },
  7552. "p2goodsid": {
  7553. "description": "P2合约ID",
  7554. "type": "integer"
  7555. },
  7556. "p2pricemode": {
  7557. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7558. "type": "integer"
  7559. },
  7560. "pdeliveryprice": {
  7561. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7562. "type": "number"
  7563. },
  7564. "pdeliveryratio": {
  7565. "description": "P合约系数(n)",
  7566. "type": "integer"
  7567. },
  7568. "pgoodsid": {
  7569. "description": "P合约ID",
  7570. "type": "integer"
  7571. },
  7572. "ppricemode": {
  7573. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7574. "type": "integer"
  7575. },
  7576. "rratio": {
  7577. "description": "兑换系数(R)",
  7578. "type": "integer"
  7579. },
  7580. "rratio1": {
  7581. "description": "兑换系数(交易合约)(R1)",
  7582. "type": "integer"
  7583. },
  7584. "rratio2": {
  7585. "description": "兑换系数(仓单标准)(R2)",
  7586. "type": "integer"
  7587. },
  7588. "selltemplateid": {
  7589. "description": "卖履约计划模板ID",
  7590. "type": "integer"
  7591. },
  7592. "wrstandardid": {
  7593. "description": "仓单标准ID",
  7594. "type": "integer"
  7595. },
  7596. "xdeliveryratio": {
  7597. "description": "交易合约系数(m)",
  7598. "type": "integer"
  7599. }
  7600. }
  7601. },
  7602. "ermcp.ExposureDetailRsp": {
  7603. "type": "object",
  7604. "properties": {
  7605. "areauserid": {
  7606. "description": "机构ID",
  7607. "type": "integer"
  7608. },
  7609. "changeQty": {
  7610. "description": "套保变动量",
  7611. "type": "number"
  7612. },
  7613. "contracttype": {
  7614. "description": "现货合同类型 - 1:采购 -1:销售",
  7615. "type": "integer"
  7616. },
  7617. "convertfactor": {
  7618. "description": "标仓系数",
  7619. "type": "number"
  7620. },
  7621. "convertratio": {
  7622. "description": "套保系数",
  7623. "type": "number"
  7624. },
  7625. "createtime": {
  7626. "description": "时间",
  7627. "type": "string"
  7628. },
  7629. "enumdicname": {
  7630. "description": "现货商品单位名称",
  7631. "type": "string"
  7632. },
  7633. "logtype": {
  7634. "description": "类型 - 1:套保计划 2:现货合同",
  7635. "type": "integer"
  7636. },
  7637. "middlegoodsId": {
  7638. "description": "套保商品id",
  7639. "type": "integer"
  7640. },
  7641. "middlegoodscode": {
  7642. "description": "套保商品代码",
  7643. "type": "string"
  7644. },
  7645. "middlegoodsname": {
  7646. "description": "套保商品名称",
  7647. "type": "string"
  7648. },
  7649. "qty": {
  7650. "description": "数量",
  7651. "type": "number"
  7652. },
  7653. "relateNo": {
  7654. "description": "现货合同/套保计划编号",
  7655. "type": "string"
  7656. },
  7657. "wrstandardcode": {
  7658. "description": "现货商品代码",
  7659. "type": "string"
  7660. },
  7661. "wrstandardid": {
  7662. "description": "现货商品ID",
  7663. "type": "integer"
  7664. },
  7665. "wrstandardname": {
  7666. "description": "现货商品名称",
  7667. "type": "string"
  7668. }
  7669. }
  7670. },
  7671. "ermcp.ExposureHedgePosDetailRsp": {
  7672. "type": "object",
  7673. "properties": {
  7674. "buyorsell": {
  7675. "description": "买卖方向 0-买 1-卖",
  7676. "type": "integer"
  7677. },
  7678. "channelbuildtype": {
  7679. "description": "开平方向 1-建仓 2-平仓",
  7680. "type": "integer"
  7681. },
  7682. "goodscode": {
  7683. "description": "商品代码",
  7684. "type": "string"
  7685. },
  7686. "goodsname": {
  7687. "description": "商品名称",
  7688. "type": "string"
  7689. },
  7690. "hedgegoodsid": {
  7691. "description": "商品id",
  7692. "type": "integer"
  7693. },
  7694. "tradeqty": {
  7695. "description": "数量(成交数量)",
  7696. "type": "integer"
  7697. },
  7698. "tradetime": {
  7699. "description": "时间(成交时间)",
  7700. "type": "string"
  7701. }
  7702. }
  7703. },
  7704. "ermcp.ExposureHedgePositionRsp": {
  7705. "type": "object",
  7706. "properties": {
  7707. "accountid": {
  7708. "description": "资金账号[外部母账户]",
  7709. "type": "integer"
  7710. },
  7711. "curbuyposition": {
  7712. "description": "期末买头寸",
  7713. "type": "integer"
  7714. },
  7715. "cursellposition": {
  7716. "description": "期末卖头寸",
  7717. "type": "integer"
  7718. },
  7719. "curtdbuyposition": {
  7720. "description": "期末今日买头寸",
  7721. "type": "integer"
  7722. },
  7723. "curtdsellposition": {
  7724. "description": "期末今日卖头寸",
  7725. "type": "integer"
  7726. },
  7727. "curydbuyposition": {
  7728. "description": "期末上日买头寸",
  7729. "type": "integer"
  7730. },
  7731. "curydsellposition": {
  7732. "description": "期末上日卖头寸",
  7733. "type": "integer"
  7734. },
  7735. "decreaseqty": {
  7736. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7737. "type": "integer"
  7738. },
  7739. "fretdbuyposition": {
  7740. "description": "冻结今日买头寸",
  7741. "type": "integer"
  7742. },
  7743. "fretdsellposition": {
  7744. "description": "冻结今日卖头寸",
  7745. "type": "integer"
  7746. },
  7747. "freydbuyposition": {
  7748. "description": "冻结上日买头寸",
  7749. "type": "integer"
  7750. },
  7751. "freydsellposition": {
  7752. "description": "冻结上日卖头寸",
  7753. "type": "integer"
  7754. },
  7755. "goodscode": {
  7756. "description": "商品代码",
  7757. "type": "string"
  7758. },
  7759. "goodsid": {
  7760. "description": "商品id",
  7761. "type": "integer"
  7762. },
  7763. "goodsname": {
  7764. "description": "商品名称",
  7765. "type": "string"
  7766. },
  7767. "hedgeaccountcode": {
  7768. "description": "对冲账号",
  7769. "type": "string"
  7770. },
  7771. "hedgegoodsid": {
  7772. "description": "对冲合约ID",
  7773. "type": "integer"
  7774. },
  7775. "increaseqty": {
  7776. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7777. "type": "integer"
  7778. },
  7779. "marketid": {
  7780. "description": "市场ID",
  7781. "type": "integer"
  7782. },
  7783. "relateduserid": {
  7784. "description": "关联用户id",
  7785. "type": "integer"
  7786. },
  7787. "totalcurqty": {
  7788. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7789. "type": "integer"
  7790. },
  7791. "totalydqty": {
  7792. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7793. "type": "integer"
  7794. },
  7795. "tradedate": {
  7796. "description": "交易日(yyyyMMdd)",
  7797. "type": "string"
  7798. },
  7799. "ydbuyposition": {
  7800. "description": "期初买头寸",
  7801. "type": "integer"
  7802. },
  7803. "ydsellposition": {
  7804. "description": "期初卖头寸",
  7805. "type": "integer"
  7806. }
  7807. }
  7808. },
  7809. "ermcp.ExposureSpotDetailRsp": {
  7810. "type": "object",
  7811. "properties": {
  7812. "contracttype": {
  7813. "description": "合同类型 1-采购 -1-销售",
  7814. "type": "integer"
  7815. },
  7816. "createtime": {
  7817. "description": "创建时间",
  7818. "type": "string"
  7819. },
  7820. "enumdicname": {
  7821. "description": "现货商品单位名称",
  7822. "type": "string"
  7823. },
  7824. "logtype": {
  7825. "description": "记录类型 1-套保 2-现货合同",
  7826. "type": "integer"
  7827. },
  7828. "qty": {
  7829. "description": "数量",
  7830. "type": "number"
  7831. },
  7832. "recordname": {
  7833. "description": "类型名称",
  7834. "type": "string"
  7835. },
  7836. "relatedid": {
  7837. "description": "套保计划ID/现货合同ID",
  7838. "type": "string"
  7839. },
  7840. "relatedno": {
  7841. "description": "编号",
  7842. "type": "string"
  7843. },
  7844. "strtime": {
  7845. "description": "时间",
  7846. "type": "string"
  7847. },
  7848. "wrstandardcode": {
  7849. "description": "现货商品代码",
  7850. "type": "string"
  7851. },
  7852. "wrstandardname": {
  7853. "description": "现货商品名称",
  7854. "type": "string"
  7855. }
  7856. }
  7857. },
  7858. "ermcp.ExposureSpotRsp": {
  7859. "type": "object",
  7860. "properties": {
  7861. "areauserid": {
  7862. "description": "所属机构",
  7863. "type": "integer"
  7864. },
  7865. "decreaseqty": {
  7866. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7867. "type": "number"
  7868. },
  7869. "increaseqty": {
  7870. "description": "增加数量=销售计划数量+采购已定价数量",
  7871. "type": "number"
  7872. },
  7873. "oritoalspotqty": {
  7874. "description": "昨日数量",
  7875. "type": "number"
  7876. },
  7877. "totalspotqty": {
  7878. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7879. "type": "number"
  7880. },
  7881. "updatetime": {
  7882. "description": "更新时间",
  7883. "type": "string"
  7884. },
  7885. "wrstandardcode": {
  7886. "description": "现货品种代码",
  7887. "type": "string"
  7888. },
  7889. "wrstandardid": {
  7890. "description": "现货商品ID",
  7891. "type": "integer"
  7892. },
  7893. "wrstandardname": {
  7894. "description": "现货品种",
  7895. "type": "string"
  7896. }
  7897. }
  7898. },
  7899. "ermcp.HisExposureRsp": {
  7900. "type": "object",
  7901. "properties": {
  7902. "data": {
  7903. "description": "历史敞口",
  7904. "type": "array",
  7905. "items": {
  7906. "$ref": "#/definitions/models.ErmcpHisExposure"
  7907. }
  7908. },
  7909. "enumdicname": {
  7910. "description": "单位名称",
  7911. "type": "string"
  7912. },
  7913. "middlegoodscode": {
  7914. "description": "套保品种代码",
  7915. "type": "string"
  7916. },
  7917. "middlegoodsid": {
  7918. "description": "套保品种ID",
  7919. "type": "integer"
  7920. },
  7921. "middlegoodsname": {
  7922. "description": "套保品种名称",
  7923. "type": "string"
  7924. }
  7925. }
  7926. },
  7927. "ermcp.PendingAuditCntRsp": {
  7928. "type": "object",
  7929. "properties": {
  7930. "businessdjqty": {
  7931. "description": "待审核数量: 点价",
  7932. "type": "integer"
  7933. },
  7934. "businessfpqty": {
  7935. "description": "待审核数量: 发票",
  7936. "type": "integer"
  7937. },
  7938. "businessjsqty": {
  7939. "description": "待审核数量: 结算",
  7940. "type": "integer"
  7941. },
  7942. "businesskxqty": {
  7943. "description": "待审核数量: 款项",
  7944. "type": "integer"
  7945. },
  7946. "hedgeplanqty": {
  7947. "description": "待审核数量: 套保计划",
  7948. "type": "integer"
  7949. },
  7950. "spotcontractqty": {
  7951. "description": "待审核数量: 现货合同",
  7952. "type": "integer"
  7953. },
  7954. "userqty": {
  7955. "description": "待审核数量: 用户",
  7956. "type": "integer"
  7957. }
  7958. }
  7959. },
  7960. "ermcp.QryAvalidGPRsp": {
  7961. "type": "object",
  7962. "properties": {
  7963. "goodsgroupid": {
  7964. "description": "期货品种id",
  7965. "type": "integer"
  7966. },
  7967. "goodsgroupname": {
  7968. "description": "期货品种名称",
  7969. "type": "string"
  7970. },
  7971. "goodunitid": {
  7972. "description": "品种单位id",
  7973. "type": "integer"
  7974. },
  7975. "goodunitname": {
  7976. "description": "品种单位名称",
  7977. "type": "string"
  7978. },
  7979. "outergroupcode": {
  7980. "description": "期货品种代码",
  7981. "type": "string"
  7982. }
  7983. }
  7984. },
  7985. "ermcp.QryBusinessDjRsp": {
  7986. "type": "object",
  7987. "properties": {
  7988. "amount": {
  7989. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7990. "type": "number"
  7991. },
  7992. "applyid": {
  7993. "description": "申请人",
  7994. "type": "string"
  7995. },
  7996. "applyname": {
  7997. "description": "申请人名称",
  7998. "type": "string"
  7999. },
  8000. "applystatus": {
  8001. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8002. "type": "integer"
  8003. },
  8004. "applytime": {
  8005. "description": "申请时间",
  8006. "type": "string"
  8007. },
  8008. "attachurl": {
  8009. "description": "附件",
  8010. "type": "string"
  8011. },
  8012. "auditname": {
  8013. "description": "审核人名称",
  8014. "type": "string"
  8015. },
  8016. "audittime": {
  8017. "description": "审核时间",
  8018. "type": "string"
  8019. },
  8020. "buyusername": {
  8021. "description": "采购方名称",
  8022. "type": "string"
  8023. },
  8024. "contractno": {
  8025. "description": "合同编号",
  8026. "type": "string"
  8027. },
  8028. "contractstatus": {
  8029. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8030. "type": "integer"
  8031. },
  8032. "contracttype": {
  8033. "description": "现货合同类型 - 1:采购 -1:销售",
  8034. "type": "integer"
  8035. },
  8036. "enumdicname": {
  8037. "description": "单位名称",
  8038. "type": "string"
  8039. },
  8040. "goodscode": {
  8041. "description": "点价合约",
  8042. "type": "string"
  8043. },
  8044. "goodsname": {
  8045. "description": "商品名称",
  8046. "type": "string"
  8047. },
  8048. "operateapplyid": {
  8049. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8050. "type": "string"
  8051. },
  8052. "operateapplytype": {
  8053. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8054. "type": "integer"
  8055. },
  8056. "pricedPrice": {
  8057. "description": "点价价格(非必填)",
  8058. "type": "number"
  8059. },
  8060. "pricedQty": {
  8061. "description": "点价数量(非必填)",
  8062. "type": "number"
  8063. },
  8064. "pricemove": {
  8065. "description": "升贴水",
  8066. "type": "number"
  8067. },
  8068. "pricetype": {
  8069. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8070. "type": "integer"
  8071. },
  8072. "relatedid": {
  8073. "description": "现货合同ID",
  8074. "type": "string"
  8075. },
  8076. "sellusername": {
  8077. "description": "销售方名字",
  8078. "type": "string"
  8079. },
  8080. "userid": {
  8081. "description": "用户ID",
  8082. "type": "integer"
  8083. }
  8084. }
  8085. },
  8086. "ermcp.QryBussinessFpRsp": {
  8087. "type": "object",
  8088. "properties": {
  8089. "applyid": {
  8090. "description": "申请人",
  8091. "type": "string"
  8092. },
  8093. "applyname": {
  8094. "description": "申请人名称",
  8095. "type": "string"
  8096. },
  8097. "applystatus": {
  8098. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8099. "type": "integer"
  8100. },
  8101. "applytime": {
  8102. "description": "申请时间",
  8103. "type": "string"
  8104. },
  8105. "attachurl": {
  8106. "description": "附件",
  8107. "type": "string"
  8108. },
  8109. "auditname": {
  8110. "description": "审核人名称",
  8111. "type": "string"
  8112. },
  8113. "audittime": {
  8114. "description": "审核时间",
  8115. "type": "string"
  8116. },
  8117. "buyusername": {
  8118. "description": "采购方名称",
  8119. "type": "string"
  8120. },
  8121. "contractno": {
  8122. "description": "合同编号",
  8123. "type": "string"
  8124. },
  8125. "contractstatus": {
  8126. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8127. "type": "integer"
  8128. },
  8129. "contracttype": {
  8130. "description": "现货合同类型 - 1:采购 -1:销售",
  8131. "type": "integer"
  8132. },
  8133. "enumdicname": {
  8134. "description": "单位名称",
  8135. "type": "string"
  8136. },
  8137. "goodscode": {
  8138. "description": "点价合约",
  8139. "type": "string"
  8140. },
  8141. "goodsname": {
  8142. "description": "商品名称",
  8143. "type": "string"
  8144. },
  8145. "invoiceAmount": {
  8146. "description": "已开收票金额(销售为开票,采购为收票)",
  8147. "type": "number"
  8148. },
  8149. "operateapplyid": {
  8150. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8151. "type": "string"
  8152. },
  8153. "operateapplytype": {
  8154. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8155. "type": "integer"
  8156. },
  8157. "pricemove": {
  8158. "description": "升贴水",
  8159. "type": "number"
  8160. },
  8161. "pricetype": {
  8162. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8163. "type": "integer"
  8164. },
  8165. "relatedid": {
  8166. "description": "现货合同ID",
  8167. "type": "string"
  8168. },
  8169. "sellusername": {
  8170. "description": "销售方名字",
  8171. "type": "string"
  8172. },
  8173. "userid": {
  8174. "description": "用户ID",
  8175. "type": "integer"
  8176. }
  8177. }
  8178. },
  8179. "ermcp.QryBussinessJsExRsp": {
  8180. "type": "object",
  8181. "properties": {
  8182. "applyid": {
  8183. "description": "申请人",
  8184. "type": "string"
  8185. },
  8186. "applyname": {
  8187. "description": "申请人名称",
  8188. "type": "string"
  8189. },
  8190. "applystatus": {
  8191. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8192. "type": "integer"
  8193. },
  8194. "applytime": {
  8195. "description": "申请时间",
  8196. "type": "string"
  8197. },
  8198. "attachurl": {
  8199. "description": "附件",
  8200. "type": "string"
  8201. },
  8202. "auditname": {
  8203. "description": "审核人名称",
  8204. "type": "string"
  8205. },
  8206. "audittime": {
  8207. "description": "审核时间",
  8208. "type": "string"
  8209. },
  8210. "buyusername": {
  8211. "description": "采购方名称",
  8212. "type": "string"
  8213. },
  8214. "contractno": {
  8215. "description": "合同编号",
  8216. "type": "string"
  8217. },
  8218. "contractstatus": {
  8219. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8220. "type": "integer"
  8221. },
  8222. "contracttype": {
  8223. "description": "现货合同类型 - 1:采购 -1:销售",
  8224. "type": "integer"
  8225. },
  8226. "enumdicname": {
  8227. "description": "单位名称",
  8228. "type": "string"
  8229. },
  8230. "goodscode": {
  8231. "description": "点价合约",
  8232. "type": "string"
  8233. },
  8234. "goodsname": {
  8235. "description": "商品名称",
  8236. "type": "string"
  8237. },
  8238. "operateapplyid": {
  8239. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8240. "type": "string"
  8241. },
  8242. "operateapplytype": {
  8243. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8244. "type": "integer"
  8245. },
  8246. "pricemove": {
  8247. "description": "升贴水",
  8248. "type": "number"
  8249. },
  8250. "pricetype": {
  8251. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8252. "type": "integer"
  8253. },
  8254. "reckontype": {
  8255. "description": "结算类型",
  8256. "type": "string"
  8257. },
  8258. "reckonvalue": {
  8259. "description": "值",
  8260. "type": "number"
  8261. },
  8262. "relatedid": {
  8263. "description": "现货合同ID",
  8264. "type": "string"
  8265. },
  8266. "sellusername": {
  8267. "description": "销售方名字",
  8268. "type": "string"
  8269. },
  8270. "userid": {
  8271. "description": "用户ID",
  8272. "type": "integer"
  8273. }
  8274. }
  8275. },
  8276. "ermcp.QryBussinessJsRsp": {
  8277. "type": "object",
  8278. "properties": {
  8279. "addmargin": {
  8280. "description": "追加保证金(非必填)",
  8281. "type": "number"
  8282. },
  8283. "applyid": {
  8284. "description": "申请人",
  8285. "type": "string"
  8286. },
  8287. "applyname": {
  8288. "description": "申请人名称",
  8289. "type": "string"
  8290. },
  8291. "applystatus": {
  8292. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8293. "type": "integer"
  8294. },
  8295. "applytime": {
  8296. "description": "申请时间",
  8297. "type": "string"
  8298. },
  8299. "attachurl": {
  8300. "description": "附件",
  8301. "type": "string"
  8302. },
  8303. "auditname": {
  8304. "description": "审核人名称",
  8305. "type": "string"
  8306. },
  8307. "audittime": {
  8308. "description": "审核时间",
  8309. "type": "string"
  8310. },
  8311. "buyusername": {
  8312. "description": "采购方名称",
  8313. "type": "string"
  8314. },
  8315. "contractno": {
  8316. "description": "合同编号",
  8317. "type": "string"
  8318. },
  8319. "contractstatus": {
  8320. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8321. "type": "integer"
  8322. },
  8323. "contracttype": {
  8324. "description": "现货合同类型 - 1:采购 -1:销售",
  8325. "type": "integer"
  8326. },
  8327. "decmargin": {
  8328. "description": "减少保证金(非必填)",
  8329. "type": "number"
  8330. },
  8331. "enumdicname": {
  8332. "description": "单位名称",
  8333. "type": "string"
  8334. },
  8335. "goodscode": {
  8336. "description": "点价合约",
  8337. "type": "string"
  8338. },
  8339. "goodsname": {
  8340. "description": "商品名称",
  8341. "type": "string"
  8342. },
  8343. "operateapplyid": {
  8344. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8345. "type": "string"
  8346. },
  8347. "operateapplytype": {
  8348. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8349. "type": "integer"
  8350. },
  8351. "pricemove": {
  8352. "description": "升贴水",
  8353. "type": "number"
  8354. },
  8355. "pricetype": {
  8356. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8357. "type": "integer"
  8358. },
  8359. "reckonadjustamount": {
  8360. "description": "结算调整金额(非必填)",
  8361. "type": "number"
  8362. },
  8363. "reckonosamount": {
  8364. "description": "结算溢短金额(非必填)",
  8365. "type": "number"
  8366. },
  8367. "reckonotheramount": {
  8368. "description": "结算其他费用(非必填)",
  8369. "type": "number"
  8370. },
  8371. "reckonrealqty": {
  8372. "description": "结算实际数量(非必填)",
  8373. "type": "number"
  8374. },
  8375. "relatedid": {
  8376. "description": "现货合同ID",
  8377. "type": "string"
  8378. },
  8379. "sellusername": {
  8380. "description": "销售方名字",
  8381. "type": "string"
  8382. },
  8383. "userid": {
  8384. "description": "用户ID",
  8385. "type": "integer"
  8386. }
  8387. }
  8388. },
  8389. "ermcp.QryBussinessKxRsp": {
  8390. "type": "object",
  8391. "properties": {
  8392. "applyid": {
  8393. "description": "申请人",
  8394. "type": "string"
  8395. },
  8396. "applyname": {
  8397. "description": "申请人名称",
  8398. "type": "string"
  8399. },
  8400. "applystatus": {
  8401. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8402. "type": "integer"
  8403. },
  8404. "applytime": {
  8405. "description": "申请时间",
  8406. "type": "string"
  8407. },
  8408. "attachurl": {
  8409. "description": "附件",
  8410. "type": "string"
  8411. },
  8412. "auditname": {
  8413. "description": "审核人名称",
  8414. "type": "string"
  8415. },
  8416. "audittime": {
  8417. "description": "审核时间",
  8418. "type": "string"
  8419. },
  8420. "buyusername": {
  8421. "description": "采购方名称",
  8422. "type": "string"
  8423. },
  8424. "contractno": {
  8425. "description": "合同编号",
  8426. "type": "string"
  8427. },
  8428. "contractstatus": {
  8429. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8430. "type": "integer"
  8431. },
  8432. "contracttype": {
  8433. "description": "现货合同类型 - 1:采购 -1:销售",
  8434. "type": "integer"
  8435. },
  8436. "deductamount": {
  8437. "description": "退款(非必填)",
  8438. "type": "number"
  8439. },
  8440. "enumdicname": {
  8441. "description": "单位名称",
  8442. "type": "string"
  8443. },
  8444. "goodscode": {
  8445. "description": "点价合约",
  8446. "type": "string"
  8447. },
  8448. "goodsname": {
  8449. "description": "商品名称",
  8450. "type": "string"
  8451. },
  8452. "kxtype": {
  8453. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8454. "type": "integer"
  8455. },
  8456. "operateapplyid": {
  8457. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8458. "type": "string"
  8459. },
  8460. "operateapplytype": {
  8461. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8462. "type": "integer"
  8463. },
  8464. "payamount": {
  8465. "description": "收付款(非必填)",
  8466. "type": "number"
  8467. },
  8468. "pricemove": {
  8469. "description": "升贴水",
  8470. "type": "number"
  8471. },
  8472. "pricetype": {
  8473. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8474. "type": "integer"
  8475. },
  8476. "relatedid": {
  8477. "description": "现货合同ID",
  8478. "type": "string"
  8479. },
  8480. "sellusername": {
  8481. "description": "销售方名字",
  8482. "type": "string"
  8483. },
  8484. "userid": {
  8485. "description": "用户ID",
  8486. "type": "integer"
  8487. }
  8488. }
  8489. },
  8490. "ermcp.QryErmcpRsp": {
  8491. "type": "object",
  8492. "properties": {
  8493. "accountname": {
  8494. "description": "账户名称",
  8495. "type": "string"
  8496. },
  8497. "attachment": {
  8498. "description": "附件",
  8499. "type": "string"
  8500. },
  8501. "audittime": {
  8502. "description": "审核时间",
  8503. "type": "string"
  8504. },
  8505. "contracctstatus": {
  8506. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8507. "type": "integer"
  8508. },
  8509. "contractmargin": {
  8510. "description": "合同保证金",
  8511. "type": "number"
  8512. },
  8513. "contractno": {
  8514. "description": "合同编号",
  8515. "type": "string"
  8516. },
  8517. "contracttype": {
  8518. "description": "合同类型 1-采购, -1-销售",
  8519. "type": "integer"
  8520. },
  8521. "convertfactor": {
  8522. "description": "标仓系数",
  8523. "type": "number"
  8524. },
  8525. "createtime": {
  8526. "description": "创建时间",
  8527. "type": "string"
  8528. },
  8529. "daikaiamount": {
  8530. "description": "待开票额",
  8531. "type": "number"
  8532. },
  8533. "deliveryenddate": {
  8534. "description": "交割结束日",
  8535. "type": "string"
  8536. },
  8537. "deliverygoodscode": {
  8538. "description": "现货商品代码",
  8539. "type": "string"
  8540. },
  8541. "deliverygoodsid": {
  8542. "description": "现货商品ID",
  8543. "type": "integer"
  8544. },
  8545. "deliverygoodsname": {
  8546. "description": "现货商品名称",
  8547. "type": "string"
  8548. },
  8549. "deliverystartdate": {
  8550. "description": "交割开始日",
  8551. "type": "string"
  8552. },
  8553. "enddate": {
  8554. "description": "点价结束日",
  8555. "type": "string"
  8556. },
  8557. "enumdicname": {
  8558. "description": "单位名称",
  8559. "type": "string"
  8560. },
  8561. "goodscode": {
  8562. "description": "点价商品代码",
  8563. "type": "string"
  8564. },
  8565. "goodsid": {
  8566. "description": "点价商品ID",
  8567. "type": "integer"
  8568. },
  8569. "goodsname": {
  8570. "description": "点价商品名称",
  8571. "type": "string"
  8572. },
  8573. "invoiceamount": {
  8574. "description": "已开票额",
  8575. "type": "number"
  8576. },
  8577. "loanamount": {
  8578. "description": "贷款总额=已定价额+调整金额",
  8579. "type": "number"
  8580. },
  8581. "margin": {
  8582. "description": "保证金",
  8583. "type": "number"
  8584. },
  8585. "payamount": {
  8586. "description": "已收付额(收款或付款)",
  8587. "type": "number"
  8588. },
  8589. "price": {
  8590. "description": "价格",
  8591. "type": "number"
  8592. },
  8593. "pricedamount": {
  8594. "description": "已定价额",
  8595. "type": "number"
  8596. },
  8597. "pricedavg": {
  8598. "description": "已点均价",
  8599. "type": "number"
  8600. },
  8601. "pricedqty": {
  8602. "description": "已定价量",
  8603. "type": "number"
  8604. },
  8605. "pricemove": {
  8606. "description": "升贴水",
  8607. "type": "number"
  8608. },
  8609. "pricetype": {
  8610. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8611. "type": "integer"
  8612. },
  8613. "producttype": {
  8614. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8615. "type": "integer"
  8616. },
  8617. "qty": {
  8618. "description": "合同量",
  8619. "type": "number"
  8620. },
  8621. "reckonadjustamount": {
  8622. "description": "调整金额",
  8623. "type": "number"
  8624. },
  8625. "reckonedamount": {
  8626. "description": "已收付额(已确定额)",
  8627. "type": "number"
  8628. },
  8629. "reckonotheramount": {
  8630. "description": "其它费用",
  8631. "type": "number"
  8632. },
  8633. "reckonrealqty": {
  8634. "description": "已确定量",
  8635. "type": "number"
  8636. },
  8637. "remark": {
  8638. "description": "备注",
  8639. "type": "string"
  8640. },
  8641. "spotcontractid": {
  8642. "description": "合同ID",
  8643. "type": "string"
  8644. },
  8645. "spotgoodsdesc": {
  8646. "description": "商品型号(商品规格)",
  8647. "type": "string"
  8648. },
  8649. "startdate": {
  8650. "description": "点价开始日",
  8651. "type": "string"
  8652. },
  8653. "totalamount": {
  8654. "description": "合计总额",
  8655. "type": "number"
  8656. },
  8657. "unpayamount": {
  8658. "description": "待支收额(支付或收款)",
  8659. "type": "number"
  8660. },
  8661. "unpricedqty": {
  8662. "description": "未定价量",
  8663. "type": "number"
  8664. },
  8665. "unsureqty": {
  8666. "description": "未确定量",
  8667. "type": "number"
  8668. },
  8669. "userid": {
  8670. "description": "用户ID",
  8671. "type": "integer"
  8672. }
  8673. }
  8674. },
  8675. "ermcp.QryGGCovertCfgRsp": {
  8676. "type": "object",
  8677. "properties": {
  8678. "convertratio": {
  8679. "description": "折算系数",
  8680. "type": "number"
  8681. },
  8682. "destgoodsgroupid": {
  8683. "description": "目标品种ID",
  8684. "type": "integer"
  8685. },
  8686. "dstcode": {
  8687. "description": "目录品种代码",
  8688. "type": "string"
  8689. },
  8690. "dstexchangecode": {
  8691. "description": "目标期货交易所",
  8692. "type": "string"
  8693. },
  8694. "dstname": {
  8695. "description": "目标品种名称",
  8696. "type": "string"
  8697. },
  8698. "dstunitid": {
  8699. "description": "目标品种单位ID",
  8700. "type": "integer"
  8701. },
  8702. "dstunitidname": {
  8703. "description": "目标品种单位名称",
  8704. "type": "string"
  8705. },
  8706. "srccode": {
  8707. "description": "源品种代码",
  8708. "type": "string"
  8709. },
  8710. "srcexchangecode": {
  8711. "description": "源期货交易所",
  8712. "type": "string"
  8713. },
  8714. "srcgoodsgroupid": {
  8715. "description": "源品种ID",
  8716. "type": "integer"
  8717. },
  8718. "srcname": {
  8719. "description": "源品种名称",
  8720. "type": "string"
  8721. },
  8722. "srcunitid": {
  8723. "description": "源品种单位ID",
  8724. "type": "integer"
  8725. },
  8726. "srcunitidname": {
  8727. "description": "源品种单位名称",
  8728. "type": "string"
  8729. }
  8730. }
  8731. },
  8732. "ermcp.QryHedgePlanRsp": {
  8733. "type": "object",
  8734. "properties": {
  8735. "areauserid": {
  8736. "description": "用户ID",
  8737. "type": "integer"
  8738. },
  8739. "contracttype": {
  8740. "description": "计划类型 - 1:采购 -1:销售",
  8741. "type": "integer"
  8742. },
  8743. "convertfactor": {
  8744. "description": "标仓系数",
  8745. "type": "number"
  8746. },
  8747. "createtime": {
  8748. "description": "创建时间",
  8749. "type": "string"
  8750. },
  8751. "deliverygoodsid": {
  8752. "description": "现货品种ID",
  8753. "type": "integer"
  8754. },
  8755. "deliverygoodsname": {
  8756. "description": "现货品种名称",
  8757. "type": "string"
  8758. },
  8759. "hedgeplanid": {
  8760. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8761. "type": "string"
  8762. },
  8763. "hedgeplanno": {
  8764. "description": "套保计划编号(名称)",
  8765. "type": "string"
  8766. },
  8767. "hedgeplanstatus": {
  8768. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8769. "type": "integer"
  8770. },
  8771. "planqty": {
  8772. "description": "计划数量",
  8773. "type": "number"
  8774. },
  8775. "plantime": {
  8776. "description": "计划时间",
  8777. "type": "string"
  8778. },
  8779. "producttype": {
  8780. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8781. "type": "integer"
  8782. },
  8783. "remark": {
  8784. "description": "备注",
  8785. "type": "string"
  8786. },
  8787. "spotgoodsdesc": {
  8788. "description": "商品型号",
  8789. "type": "string"
  8790. },
  8791. "wrstandardid": {
  8792. "description": "现货商品ID",
  8793. "type": "integer"
  8794. },
  8795. "wrstandardname": {
  8796. "description": "现货商品名称",
  8797. "type": "string"
  8798. }
  8799. }
  8800. },
  8801. "ermcp.QryMGChangeLogRsp": {
  8802. "type": "object",
  8803. "properties": {
  8804. "aftervalue": {
  8805. "description": "变更后",
  8806. "type": "number"
  8807. },
  8808. "applyid": {
  8809. "description": "操作人",
  8810. "type": "integer"
  8811. },
  8812. "applyname": {
  8813. "description": "操作人名称",
  8814. "type": "string"
  8815. },
  8816. "applysrc": {
  8817. "description": "操作来源 - 1:管理端 2:终端",
  8818. "type": "integer"
  8819. },
  8820. "beforevalue": {
  8821. "description": "变更前",
  8822. "type": "number"
  8823. },
  8824. "changelogtype": {
  8825. "description": "变更流水类型 - 1:套保比率变更",
  8826. "type": "integer"
  8827. },
  8828. "handlestatus": {
  8829. "description": "处理状态",
  8830. "type": "integer"
  8831. },
  8832. "logdatetime": {
  8833. "description": "流水日期",
  8834. "type": "string"
  8835. },
  8836. "logid": {
  8837. "description": "流水ID",
  8838. "type": "integer"
  8839. },
  8840. "logremark": {
  8841. "description": "流水备注",
  8842. "type": "string"
  8843. },
  8844. "middlegoodsid": {
  8845. "description": "套保品种ID",
  8846. "type": "integer"
  8847. },
  8848. "tradedate": {
  8849. "description": "交易日(yyyyMMdd)",
  8850. "type": "string"
  8851. },
  8852. "updatetime": {
  8853. "description": "更新时间",
  8854. "type": "string"
  8855. }
  8856. }
  8857. },
  8858. "ermcp.QryMiddleGoodsDetailRsp": {
  8859. "type": "object",
  8860. "properties": {
  8861. "cvList": {
  8862. "description": "期货品种折算列表",
  8863. "type": "array",
  8864. "items": {
  8865. "$ref": "#/definitions/models.GoodsGroupConvert"
  8866. }
  8867. },
  8868. "mg": {
  8869. "description": "套保品种基本信息",
  8870. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8871. }
  8872. }
  8873. },
  8874. "ermcp.QryMiddleGoodsRsp": {
  8875. "type": "object",
  8876. "properties": {
  8877. "areauserid": {
  8878. "description": "机构用户ID",
  8879. "type": "integer"
  8880. },
  8881. "enumdicname": {
  8882. "description": "单位名称",
  8883. "type": "string"
  8884. },
  8885. "evaluateratio": {
  8886. "description": "估价系数",
  8887. "type": "number"
  8888. },
  8889. "goodsgroupid": {
  8890. "description": "关联期货品种ID",
  8891. "type": "integer"
  8892. },
  8893. "isvalid": {
  8894. "description": "状态 0-无效(停用) 1-有效(正常)",
  8895. "type": "integer"
  8896. },
  8897. "middlegoodscode": {
  8898. "description": "套保品种代码",
  8899. "type": "string"
  8900. },
  8901. "middlegoodsid": {
  8902. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8903. "type": "integer"
  8904. },
  8905. "middlegoodsname": {
  8906. "description": "套保品种名称",
  8907. "type": "string"
  8908. },
  8909. "modifytime": {
  8910. "description": "修改时间",
  8911. "type": "string"
  8912. },
  8913. "needhedgeratio": {
  8914. "description": "套保比率",
  8915. "type": "number"
  8916. },
  8917. "qtydecimalplace": {
  8918. "description": "数量小数位",
  8919. "type": "integer"
  8920. },
  8921. "relatedgoodsid": {
  8922. "description": "关联交易商品ID",
  8923. "type": "integer"
  8924. },
  8925. "relatedgoodstype": {
  8926. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8927. "type": "integer"
  8928. }
  8929. }
  8930. },
  8931. "ermcp.QryOPLogRsp": {
  8932. "type": "object",
  8933. "properties": {
  8934. "aftervalue": {
  8935. "description": "变更后",
  8936. "type": "number"
  8937. },
  8938. "applyid": {
  8939. "description": "操作人ID",
  8940. "type": "string"
  8941. },
  8942. "applyname": {
  8943. "description": "操作人名称",
  8944. "type": "string"
  8945. },
  8946. "beforevalue": {
  8947. "description": "变更前",
  8948. "type": "number"
  8949. },
  8950. "biztype": {
  8951. "description": "业务类型 - 1:套保计划 2:现货合同",
  8952. "type": "integer"
  8953. },
  8954. "contracttype": {
  8955. "description": "现货合同类型 - 1:采购 -1:销售",
  8956. "type": "integer"
  8957. },
  8958. "logvalue": {
  8959. "description": "数值",
  8960. "type": "number"
  8961. },
  8962. "operatelogtype": {
  8963. "description": "操作流水类型",
  8964. "type": "integer"
  8965. },
  8966. "operatelogtypedesc": {
  8967. "description": "操作流水类型名称",
  8968. "type": "string"
  8969. },
  8970. "relatedid": {
  8971. "description": "现货合同ID\\套保计划",
  8972. "type": "string"
  8973. },
  8974. "updatetime": {
  8975. "description": "更新时间",
  8976. "type": "string"
  8977. }
  8978. }
  8979. },
  8980. "ermcp.QryReportDaySpotDetailRsp": {
  8981. "type": "object",
  8982. "properties": {
  8983. "applyid": {
  8984. "description": "操作人",
  8985. "type": "integer"
  8986. },
  8987. "applyname": {
  8988. "description": "操作人名称",
  8989. "type": "string"
  8990. },
  8991. "biztype": {
  8992. "description": "业务类型 - 1:套保计划 2:现货合同",
  8993. "type": "integer"
  8994. },
  8995. "contracttype": {
  8996. "description": "现货合同类型 - 1:采购 -1:销售",
  8997. "type": "integer"
  8998. },
  8999. "enumdicName": {
  9000. "description": "单位名称",
  9001. "type": "string"
  9002. },
  9003. "logdatetime": {
  9004. "description": "流水日期(时间)",
  9005. "type": "string"
  9006. },
  9007. "logid": {
  9008. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9009. "type": "string"
  9010. },
  9011. "logtypename": {
  9012. "description": "合同类型(名称)",
  9013. "type": "string"
  9014. },
  9015. "logvalue": {
  9016. "description": "数值",
  9017. "type": "string"
  9018. },
  9019. "operatelogtype": {
  9020. "description": "操作流水类型 -",
  9021. "type": "integer"
  9022. },
  9023. "optypename": {
  9024. "description": "流水类型名称",
  9025. "type": "string"
  9026. },
  9027. "relatedid": {
  9028. "description": "现货合同ID\\套保计划",
  9029. "type": "string"
  9030. },
  9031. "relatedno": {
  9032. "description": "合同编号",
  9033. "type": "string"
  9034. },
  9035. "tradedate": {
  9036. "description": "交易日(yyyyMMdd)",
  9037. "type": "string"
  9038. },
  9039. "userid": {
  9040. "description": "机构ID",
  9041. "type": "integer"
  9042. },
  9043. "wrstandardcode": {
  9044. "description": "现货商品代码",
  9045. "type": "string"
  9046. },
  9047. "wrstandardid": {
  9048. "description": "现货商品ID",
  9049. "type": "integer"
  9050. },
  9051. "wrstandardname": {
  9052. "description": "现货商品名称",
  9053. "type": "string"
  9054. }
  9055. }
  9056. },
  9057. "ermcp.QryReportExposureDayRsp": {
  9058. "type": "object",
  9059. "properties": {
  9060. "areauserid": {
  9061. "description": "所属机构",
  9062. "type": "integer"
  9063. },
  9064. "buyfutureqty": {
  9065. "description": "买入期货数量",
  9066. "type": "number"
  9067. },
  9068. "buyplanqty": {
  9069. "description": "采购计划数量",
  9070. "type": "number"
  9071. },
  9072. "buypricedqty": {
  9073. "description": "采购合同已定价数量",
  9074. "type": "number"
  9075. },
  9076. "diffFutuQty": {
  9077. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9078. "type": "number"
  9079. },
  9080. "diffSpotQty": {
  9081. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9082. "type": "number"
  9083. },
  9084. "enumdicname": {
  9085. "description": "单位名称",
  9086. "type": "string"
  9087. },
  9088. "middlegoodscode": {
  9089. "description": "套保品种代码",
  9090. "type": "string"
  9091. },
  9092. "middlegoodshedgeratio": {
  9093. "description": "应套保比例",
  9094. "type": "number"
  9095. },
  9096. "middlegoodsid": {
  9097. "description": "套保品种ID",
  9098. "type": "integer"
  9099. },
  9100. "middlegoodsname": {
  9101. "description": "套保品种名称",
  9102. "type": "string"
  9103. },
  9104. "needhedgeexposoure": {
  9105. "description": "应套保敞口",
  9106. "type": "number"
  9107. },
  9108. "needhedgeratio": {
  9109. "description": "应套保敞口比例",
  9110. "type": "number"
  9111. },
  9112. "oriTotalFutuQty": {
  9113. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9114. "type": "number"
  9115. },
  9116. "oriTotalSpotQty": {
  9117. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9118. "type": "number"
  9119. },
  9120. "oribuyfutureqty": {
  9121. "description": "期初买入期货数量",
  9122. "type": "number"
  9123. },
  9124. "oribuyplanqty": {
  9125. "description": "期初采购计划数量",
  9126. "type": "number"
  9127. },
  9128. "oribuypricedqty": {
  9129. "description": "期初采购合同已定价数量",
  9130. "type": "number"
  9131. },
  9132. "orisellfutureqty": {
  9133. "description": "期初卖出期货数量",
  9134. "type": "number"
  9135. },
  9136. "orisellplanqty": {
  9137. "description": "期初销售计划数量",
  9138. "type": "number"
  9139. },
  9140. "orisellpricedqty": {
  9141. "description": "期初销售合同已定价数量",
  9142. "type": "number"
  9143. },
  9144. "reckondate": {
  9145. "description": "日照时期(yyyyMMdd)",
  9146. "type": "string"
  9147. },
  9148. "sellfutureqty": {
  9149. "description": "卖出期货数量",
  9150. "type": "number"
  9151. },
  9152. "sellplanqty": {
  9153. "description": "销售计划数量",
  9154. "type": "number"
  9155. },
  9156. "sellpricedqty": {
  9157. "description": "销售合同已定价数量",
  9158. "type": "number"
  9159. },
  9160. "totalexposure": {
  9161. "description": "总敞口",
  9162. "type": "number"
  9163. },
  9164. "totalfutureqty": {
  9165. "description": "期货数量",
  9166. "type": "number"
  9167. },
  9168. "totalhedgeratio": {
  9169. "description": "敞口比例",
  9170. "type": "number"
  9171. },
  9172. "totalneedhedgeqty": {
  9173. "description": "期货应套保量",
  9174. "type": "number"
  9175. },
  9176. "totalspotqty": {
  9177. "description": "现货数量",
  9178. "type": "number"
  9179. }
  9180. }
  9181. },
  9182. "ermcp.QryReportFinanceDayRsp": {
  9183. "type": "object",
  9184. "properties": {
  9185. "areauserid": {
  9186. "description": "所属机构",
  9187. "type": "integer"
  9188. },
  9189. "collectinvoiceamount": {
  9190. "description": "今日开票金额",
  9191. "type": "number"
  9192. },
  9193. "collectinvoicecount": {
  9194. "description": "今日开票笔数",
  9195. "type": "integer"
  9196. },
  9197. "collectmoneyamount": {
  9198. "description": "今日收款金额",
  9199. "type": "number"
  9200. },
  9201. "collectmoneycount": {
  9202. "description": "今日收款笔数",
  9203. "type": "integer"
  9204. },
  9205. "payinvoiceamount": {
  9206. "description": "今日收票金额",
  9207. "type": "number"
  9208. },
  9209. "payinvoicecount": {
  9210. "description": "今日收票笔数",
  9211. "type": "integer"
  9212. },
  9213. "paymoneyamount": {
  9214. "description": "今日付款金额",
  9215. "type": "number"
  9216. },
  9217. "paymoneycount": {
  9218. "description": "今日付款笔数",
  9219. "type": "integer"
  9220. },
  9221. "reckondate": {
  9222. "description": "日照时期(yyyyMMdd)",
  9223. "type": "string"
  9224. },
  9225. "updatetime": {
  9226. "description": "更新时间",
  9227. "type": "string"
  9228. }
  9229. }
  9230. },
  9231. "ermcp.QryReportFinanceKxRsp": {
  9232. "type": "object",
  9233. "properties": {
  9234. "applyid": {
  9235. "description": "操作人",
  9236. "type": "integer"
  9237. },
  9238. "applyname": {
  9239. "description": "操作人名称",
  9240. "type": "string"
  9241. },
  9242. "biztype": {
  9243. "description": "业务类型 - 1:套保计划 2:现货合同",
  9244. "type": "integer"
  9245. },
  9246. "contracttype": {
  9247. "description": "现货合同类型 - 1:采购 -1:销售",
  9248. "type": "integer"
  9249. },
  9250. "enumdicName": {
  9251. "description": "单位名称",
  9252. "type": "string"
  9253. },
  9254. "logdatetime": {
  9255. "description": "流水日期(时间)",
  9256. "type": "string"
  9257. },
  9258. "logid": {
  9259. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9260. "type": "string"
  9261. },
  9262. "logtypename": {
  9263. "description": "合同类型(名称)",
  9264. "type": "string"
  9265. },
  9266. "logvalue": {
  9267. "description": "数值",
  9268. "type": "string"
  9269. },
  9270. "operatelogtype": {
  9271. "description": "操作流水类型 -",
  9272. "type": "integer"
  9273. },
  9274. "optypename": {
  9275. "description": "流水类型名称",
  9276. "type": "string"
  9277. },
  9278. "relatedid": {
  9279. "description": "现货合同ID\\套保计划",
  9280. "type": "string"
  9281. },
  9282. "relatedno": {
  9283. "description": "合同编号",
  9284. "type": "string"
  9285. },
  9286. "tradedate": {
  9287. "description": "交易日(yyyyMMdd)",
  9288. "type": "string"
  9289. },
  9290. "userid": {
  9291. "description": "机构ID",
  9292. "type": "integer"
  9293. },
  9294. "wrstandardcode": {
  9295. "description": "现货商品代码",
  9296. "type": "string"
  9297. },
  9298. "wrstandardid": {
  9299. "description": "现货商品ID",
  9300. "type": "integer"
  9301. },
  9302. "wrstandardname": {
  9303. "description": "现货商品名称",
  9304. "type": "string"
  9305. }
  9306. }
  9307. },
  9308. "ermcp.QryReportFinanceMonRsp": {
  9309. "type": "object",
  9310. "properties": {
  9311. "areauserid": {
  9312. "description": "所属机构【原值】",
  9313. "type": "integer"
  9314. },
  9315. "collectinvoiceamount": {
  9316. "description": "今日开票金额【汇总】",
  9317. "type": "number"
  9318. },
  9319. "collectinvoicecount": {
  9320. "description": "今日开票笔数【汇总】",
  9321. "type": "integer"
  9322. },
  9323. "collectmoneyamount": {
  9324. "description": "今日收款金额【汇总】",
  9325. "type": "number"
  9326. },
  9327. "collectmoneycount": {
  9328. "description": "今日收款笔数 【汇总】",
  9329. "type": "integer"
  9330. },
  9331. "cycletime": {
  9332. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9333. "type": "string"
  9334. },
  9335. "cycletype": {
  9336. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9337. "type": "integer"
  9338. },
  9339. "dayFr": {
  9340. "description": "日报表明细",
  9341. "type": "array",
  9342. "items": {
  9343. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9344. }
  9345. },
  9346. "payinvoiceamount": {
  9347. "description": "今日收票金额【汇总】",
  9348. "type": "number"
  9349. },
  9350. "payinvoicecount": {
  9351. "description": "今日收票笔数【汇总】",
  9352. "type": "integer"
  9353. },
  9354. "paymoneyamount": {
  9355. "description": "今日付款金额【汇总】",
  9356. "type": "number"
  9357. },
  9358. "paymoneycount": {
  9359. "description": "今日付款笔数【汇总】",
  9360. "type": "integer"
  9361. },
  9362. "updatetime": {
  9363. "description": "更新时间",
  9364. "type": "string"
  9365. }
  9366. }
  9367. },
  9368. "ermcp.QryReportSpotDayRsp": {
  9369. "type": "object",
  9370. "properties": {
  9371. "areauserid": {
  9372. "description": "所属机构T",
  9373. "type": "integer"
  9374. },
  9375. "enumdicname": {
  9376. "description": "现货商品单位名称",
  9377. "type": "string"
  9378. },
  9379. "reckondate": {
  9380. "description": "日照时期(yyyyMMdd)",
  9381. "type": "string"
  9382. },
  9383. "todaybuyreckonqty": {
  9384. "description": "采购确定量",
  9385. "type": "number"
  9386. },
  9387. "todaysellreckonqty": {
  9388. "description": "销售确定量",
  9389. "type": "number"
  9390. },
  9391. "totalbuypricedqty": {
  9392. "description": "采购定价量 = 期末 - 期初",
  9393. "type": "number"
  9394. },
  9395. "totalsellpricedqty": {
  9396. "description": "销售定价量 = 期末 - 期初",
  9397. "type": "number"
  9398. },
  9399. "wrstandardcode": {
  9400. "description": "现货商品代码",
  9401. "type": "string"
  9402. },
  9403. "wrstandardid": {
  9404. "description": "现货商品ID",
  9405. "type": "integer"
  9406. },
  9407. "wrstandardname": {
  9408. "description": "现货商品名称",
  9409. "type": "string"
  9410. }
  9411. }
  9412. },
  9413. "ermcp.QryReportSpotMonRsp": {
  9414. "type": "object",
  9415. "properties": {
  9416. "areauserid": {
  9417. "description": "所属机构T",
  9418. "type": "integer"
  9419. },
  9420. "cycletime": {
  9421. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9422. "type": "string"
  9423. },
  9424. "cycletype": {
  9425. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9426. "type": "integer"
  9427. },
  9428. "enumdicname": {
  9429. "description": "现货商品单位名称",
  9430. "type": "string"
  9431. },
  9432. "todaybuyreckonqty": {
  9433. "description": "采购确定量",
  9434. "type": "number"
  9435. },
  9436. "todaysellreckonqty": {
  9437. "description": "销售确定量",
  9438. "type": "number"
  9439. },
  9440. "totalbuypricedqty": {
  9441. "description": "采购定价量 = 期末 - 期初",
  9442. "type": "number"
  9443. },
  9444. "totalsellpricedqty": {
  9445. "description": "销售定价量 = 期末 - 期初",
  9446. "type": "number"
  9447. },
  9448. "wrstandardcode": {
  9449. "description": "现货商品代码",
  9450. "type": "string"
  9451. },
  9452. "wrstandardid": {
  9453. "description": "现货商品ID",
  9454. "type": "integer"
  9455. },
  9456. "wrstandardname": {
  9457. "description": "现货商品名称",
  9458. "type": "string"
  9459. }
  9460. }
  9461. },
  9462. "ermcp.QryReportSpotMonthDetailRsp": {
  9463. "type": "object",
  9464. "properties": {
  9465. "areauserid": {
  9466. "description": "所属机构T",
  9467. "type": "integer"
  9468. },
  9469. "enumdicname": {
  9470. "description": "现货商品单位名称",
  9471. "type": "string"
  9472. },
  9473. "reckondate": {
  9474. "description": "日照时期(yyyyMMdd)",
  9475. "type": "string"
  9476. },
  9477. "todaybuyreckonqty": {
  9478. "description": "采购确定量",
  9479. "type": "number"
  9480. },
  9481. "todaysellreckonqty": {
  9482. "description": "销售确定量",
  9483. "type": "number"
  9484. },
  9485. "totalbuypricedqty": {
  9486. "description": "采购定价量 = 期末 - 期初",
  9487. "type": "number"
  9488. },
  9489. "totalsellpricedqty": {
  9490. "description": "销售定价量 = 期末 - 期初",
  9491. "type": "number"
  9492. },
  9493. "wrstandardcode": {
  9494. "description": "现货商品代码",
  9495. "type": "string"
  9496. },
  9497. "wrstandardid": {
  9498. "description": "现货商品ID",
  9499. "type": "integer"
  9500. },
  9501. "wrstandardname": {
  9502. "description": "现货商品名称",
  9503. "type": "string"
  9504. }
  9505. }
  9506. },
  9507. "ermcp.QrySpotContractRsp": {
  9508. "type": "object",
  9509. "properties": {
  9510. "amount": {
  9511. "description": "金额 [1:一口价、3:暂定价]",
  9512. "type": "number"
  9513. },
  9514. "attachment": {
  9515. "description": "附件",
  9516. "type": "string"
  9517. },
  9518. "auditremark": {
  9519. "description": "审核意见",
  9520. "type": "string"
  9521. },
  9522. "audittime": {
  9523. "description": "审核时间",
  9524. "type": "string"
  9525. },
  9526. "brandname": {
  9527. "description": "品牌名称",
  9528. "type": "string"
  9529. },
  9530. "buyuserid": {
  9531. "description": "采购方ID",
  9532. "type": "integer"
  9533. },
  9534. "buyusername": {
  9535. "description": "采购方名称",
  9536. "type": "string"
  9537. },
  9538. "contracctstatus": {
  9539. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9540. "type": "integer"
  9541. },
  9542. "contractmargin": {
  9543. "description": "合同保证金",
  9544. "type": "number"
  9545. },
  9546. "contractno": {
  9547. "description": "现货合同编号",
  9548. "type": "string"
  9549. },
  9550. "contracttype": {
  9551. "description": "现货合同类型 - 1:采购 -1:销售",
  9552. "type": "integer"
  9553. },
  9554. "convertfactor": {
  9555. "description": "标仓系数",
  9556. "type": "number"
  9557. },
  9558. "createtime": {
  9559. "description": "创建时间",
  9560. "type": "string"
  9561. },
  9562. "deliveryenddate": {
  9563. "description": "交收期(结束)",
  9564. "type": "string"
  9565. },
  9566. "deliverygoodscode": {
  9567. "description": "现货品种代码",
  9568. "type": "string"
  9569. },
  9570. "deliverygoodsid": {
  9571. "description": "现货品种ID",
  9572. "type": "integer"
  9573. },
  9574. "deliverygoodsname": {
  9575. "description": "现货品种名称",
  9576. "type": "string"
  9577. },
  9578. "deliverystartdate": {
  9579. "description": "交收期(开始)",
  9580. "type": "string"
  9581. },
  9582. "enddate": {
  9583. "description": "点价结束日期 [2:点价 3:暂定价]",
  9584. "type": "string"
  9585. },
  9586. "enumdicname": {
  9587. "description": "单位名称",
  9588. "type": "string"
  9589. },
  9590. "goodscode": {
  9591. "description": "点价合约代码",
  9592. "type": "string"
  9593. },
  9594. "goodsid": {
  9595. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9596. "type": "integer"
  9597. },
  9598. "goodsname": {
  9599. "description": "点价商品名称",
  9600. "type": "string"
  9601. },
  9602. "margin": {
  9603. "description": "当前保证金",
  9604. "type": "number"
  9605. },
  9606. "modelname": {
  9607. "description": "型号名称",
  9608. "type": "string"
  9609. },
  9610. "price": {
  9611. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9612. "type": "number"
  9613. },
  9614. "pricemove": {
  9615. "description": "升贴水 [2:点价 3:暂定价]",
  9616. "type": "number"
  9617. },
  9618. "pricetype": {
  9619. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9620. "type": "integer"
  9621. },
  9622. "producttype": {
  9623. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9624. "type": "integer"
  9625. },
  9626. "qty": {
  9627. "description": "数量",
  9628. "type": "number"
  9629. },
  9630. "remark": {
  9631. "description": "备注",
  9632. "type": "string"
  9633. },
  9634. "selluserid": {
  9635. "description": "销售方ID",
  9636. "type": "integer"
  9637. },
  9638. "sellusername": {
  9639. "description": "销售方名称",
  9640. "type": "string"
  9641. },
  9642. "spotcontractid": {
  9643. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9644. "type": "string"
  9645. },
  9646. "spotgoodsbrandid": {
  9647. "description": "现货品牌ID",
  9648. "type": "integer"
  9649. },
  9650. "spotgoodsdesc": {
  9651. "description": "商品型号",
  9652. "type": "string"
  9653. },
  9654. "spotgoodsmodelid": {
  9655. "description": "现货型号ID",
  9656. "type": "integer"
  9657. },
  9658. "startdate": {
  9659. "description": "点价开始日期 [2:点价 3:暂定价]",
  9660. "type": "string"
  9661. },
  9662. "userid": {
  9663. "description": "机构ID",
  9664. "type": "integer"
  9665. },
  9666. "wrstandardid": {
  9667. "description": "现货商品ID",
  9668. "type": "integer"
  9669. }
  9670. }
  9671. },
  9672. "ermcp.QryUserInfoRsp": {
  9673. "type": "object",
  9674. "properties": {
  9675. "address": {
  9676. "description": "通讯地址",
  9677. "type": "string"
  9678. },
  9679. "attachment1": {
  9680. "description": "附件1",
  9681. "type": "string"
  9682. },
  9683. "cardfrontphotourl": {
  9684. "description": "证件正面图片地址",
  9685. "type": "string"
  9686. },
  9687. "cardnum": {
  9688. "description": "证件号码",
  9689. "type": "string"
  9690. },
  9691. "cardtype": {
  9692. "description": "证件类型",
  9693. "type": "integer"
  9694. },
  9695. "cardtypename": {
  9696. "description": "证件类型名称",
  9697. "type": "string"
  9698. },
  9699. "cityid": {
  9700. "description": "市",
  9701. "type": "integer"
  9702. },
  9703. "countryid": {
  9704. "description": "国家",
  9705. "type": "integer"
  9706. },
  9707. "createtime": {
  9708. "description": "创建时间",
  9709. "type": "string"
  9710. },
  9711. "customername": {
  9712. "description": "企业名称",
  9713. "type": "string"
  9714. },
  9715. "memberuserid": {
  9716. "description": "所属机构ID",
  9717. "type": "integer"
  9718. },
  9719. "mobile": {
  9720. "description": "手机号码",
  9721. "type": "string"
  9722. },
  9723. "provinceid": {
  9724. "description": "省",
  9725. "type": "integer"
  9726. },
  9727. "remark": {
  9728. "description": "备注",
  9729. "type": "string"
  9730. },
  9731. "status": {
  9732. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9733. "type": "integer"
  9734. },
  9735. "statusdesc": {
  9736. "description": "账户状态中文描述",
  9737. "type": "string"
  9738. },
  9739. "telphone": {
  9740. "description": "联系电话",
  9741. "type": "string"
  9742. },
  9743. "userid": {
  9744. "description": "用户ID",
  9745. "type": "integer"
  9746. },
  9747. "userinfotype": {
  9748. "description": "客户类型",
  9749. "type": "string"
  9750. }
  9751. }
  9752. },
  9753. "ermcp.QryWrStandardDetailRsp": {
  9754. "type": "object",
  9755. "properties": {
  9756. "gbList": {
  9757. "description": "品牌列表",
  9758. "type": "array",
  9759. "items": {
  9760. "$ref": "#/definitions/models.GoodsBrand"
  9761. }
  9762. },
  9763. "goodsList": {
  9764. "description": "关联交易商品列表",
  9765. "type": "array",
  9766. "items": {
  9767. "$ref": "#/definitions/models.RelatedGoodsEx"
  9768. }
  9769. },
  9770. "gtList": {
  9771. "description": "型号列表",
  9772. "type": "array",
  9773. "items": {
  9774. "$ref": "#/definitions/models.GoodsTypeModel"
  9775. }
  9776. },
  9777. "wrd": {
  9778. "description": "基本信息",
  9779. "$ref": "#/definitions/models.ErmcpWrstandard"
  9780. },
  9781. "wrsList": {
  9782. "description": "套保信息列表",
  9783. "type": "array",
  9784. "items": {
  9785. "$ref": "#/definitions/models.WRSConverTDetail"
  9786. }
  9787. }
  9788. }
  9789. },
  9790. "ermcp.QryWrStandardRsp": {
  9791. "type": "object",
  9792. "properties": {
  9793. "areauserid": {
  9794. "description": "所属机构",
  9795. "type": "integer"
  9796. },
  9797. "createtime": {
  9798. "description": "创建时间",
  9799. "type": "string"
  9800. },
  9801. "creatorid": {
  9802. "description": "创建人",
  9803. "type": "integer"
  9804. },
  9805. "deliverygoodsid": {
  9806. "description": "品种ID",
  9807. "type": "integer"
  9808. },
  9809. "enumdicname": {
  9810. "description": "单位名称",
  9811. "type": "string"
  9812. },
  9813. "isvalid": {
  9814. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9815. "type": "integer"
  9816. },
  9817. "minivalue": {
  9818. "description": "最小变动值",
  9819. "type": "integer"
  9820. },
  9821. "minivaluedp": {
  9822. "description": "最小变动值小数位",
  9823. "type": "integer"
  9824. },
  9825. "realminivalue": {
  9826. "description": "实际最小变动值",
  9827. "type": "integer"
  9828. },
  9829. "realminivaluedp": {
  9830. "description": "实际最小变动值小数位",
  9831. "type": "integer"
  9832. },
  9833. "remark": {
  9834. "description": "备注",
  9835. "type": "string"
  9836. },
  9837. "unitid": {
  9838. "description": "单位ID",
  9839. "type": "integer"
  9840. },
  9841. "updatetime": {
  9842. "description": "更新时间",
  9843. "type": "string"
  9844. },
  9845. "wrstandardcode": {
  9846. "description": "现货商品代码",
  9847. "type": "string"
  9848. },
  9849. "wrstandardid": {
  9850. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9851. "type": "integer"
  9852. },
  9853. "wrstandardname": {
  9854. "description": "现货商品名称",
  9855. "type": "string"
  9856. }
  9857. }
  9858. },
  9859. "ermcp.QueryErmcpTradePositionRsp": {
  9860. "type": "object",
  9861. "properties": {
  9862. "agreeunit": {
  9863. "description": "合约单位",
  9864. "type": "number"
  9865. },
  9866. "buyorsell": {
  9867. "description": "方向 - 0:买 1:卖",
  9868. "type": "integer"
  9869. },
  9870. "curpositionqty": {
  9871. "description": "持仓(总仓数量, 期末头寸)",
  9872. "type": "integer"
  9873. },
  9874. "curtdposition": {
  9875. "description": "今仓数量(期末今日头寸)",
  9876. "type": "integer"
  9877. },
  9878. "curtdpositionenabled": {
  9879. "description": "今仓可用",
  9880. "type": "integer"
  9881. },
  9882. "decimalplace": {
  9883. "description": "报价小数位",
  9884. "type": "integer"
  9885. },
  9886. "enableqty": {
  9887. "description": "可用(总仓可用)",
  9888. "type": "integer"
  9889. },
  9890. "exexchangename": {
  9891. "description": "外部交易所名称",
  9892. "type": "string"
  9893. },
  9894. "goodscode": {
  9895. "description": "商品代码(内部)",
  9896. "type": "string"
  9897. },
  9898. "goodsid": {
  9899. "description": "商品ID(自增ID SEQ_GOODS)",
  9900. "type": "integer"
  9901. },
  9902. "goodsname": {
  9903. "description": "商品名称",
  9904. "type": "string"
  9905. },
  9906. "last": {
  9907. "description": "现价",
  9908. "type": "number"
  9909. },
  9910. "marketid": {
  9911. "description": "所属市场ID",
  9912. "type": "integer"
  9913. },
  9914. "openaverageprice": {
  9915. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9916. "type": "number"
  9917. },
  9918. "opencost": {
  9919. "description": "开仓成本",
  9920. "type": "number"
  9921. },
  9922. "openpl": {
  9923. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9924. "type": "number"
  9925. },
  9926. "outgoodscode": {
  9927. "description": "商品代码(外部)",
  9928. "type": "string"
  9929. },
  9930. "positionaverageprice": {
  9931. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9932. "type": "number"
  9933. },
  9934. "positioncost": {
  9935. "description": "持仓成本",
  9936. "type": "number"
  9937. },
  9938. "positionpl": {
  9939. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9940. "type": "number"
  9941. },
  9942. "positionplrate": {
  9943. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9944. "type": "number"
  9945. },
  9946. "usedmargin": {
  9947. "description": "占用保证金",
  9948. "type": "number"
  9949. }
  9950. }
  9951. },
  9952. "ermcp.RealtimeExposurePositionRsp": {
  9953. "type": "object",
  9954. "properties": {
  9955. "agreeunit": {
  9956. "description": "合约单位",
  9957. "type": "string"
  9958. },
  9959. "areauserid": {
  9960. "description": "所属机构id",
  9961. "type": "integer"
  9962. },
  9963. "convertratio": {
  9964. "description": "期货品种系数(折算系数)",
  9965. "type": "number"
  9966. },
  9967. "curqty": {
  9968. "description": "当前持仓",
  9969. "type": "integer"
  9970. },
  9971. "diffhedgeqty": {
  9972. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9973. "type": "number"
  9974. },
  9975. "diffqty": {
  9976. "description": "持仓变动量=当前持仓-昨日持仓",
  9977. "type": "integer"
  9978. },
  9979. "goodscode": {
  9980. "description": "商品代码",
  9981. "type": "string"
  9982. },
  9983. "goodsid": {
  9984. "description": "商品id",
  9985. "type": "integer"
  9986. },
  9987. "goodsname": {
  9988. "description": "商品名称",
  9989. "type": "string"
  9990. },
  9991. "middlegoodsid": {
  9992. "description": "套保商品id",
  9993. "type": "integer"
  9994. },
  9995. "ydqty": {
  9996. "description": "昨日持仓",
  9997. "type": "integer"
  9998. }
  9999. }
  10000. },
  10001. "ermcp.RealtimeExposureRsp": {
  10002. "type": "object",
  10003. "properties": {
  10004. "areaUserID": {
  10005. "description": "所属机构",
  10006. "type": "integer"
  10007. },
  10008. "buyFutureQty": {
  10009. "description": "买入期货数量",
  10010. "type": "number"
  10011. },
  10012. "buyPlanQty": {
  10013. "description": "采购计划数量",
  10014. "type": "number"
  10015. },
  10016. "buyPricedQty": {
  10017. "description": "采购合同已定价数量",
  10018. "type": "number"
  10019. },
  10020. "diffFutuQty": {
  10021. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  10022. "type": "number"
  10023. },
  10024. "diffSpotQty": {
  10025. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  10026. "type": "number"
  10027. },
  10028. "enumdicname": {
  10029. "description": "单位名称",
  10030. "type": "string"
  10031. },
  10032. "middleGoodsCode": {
  10033. "description": "套保品种代码",
  10034. "type": "string"
  10035. },
  10036. "middleGoodsHedgeRatio": {
  10037. "description": "应套保比例",
  10038. "type": "number"
  10039. },
  10040. "middleGoodsID": {
  10041. "description": "套保品种",
  10042. "type": "integer"
  10043. },
  10044. "middleGoodsName": {
  10045. "description": "套保品种名称",
  10046. "type": "string"
  10047. },
  10048. "needHedgeExposoure": {
  10049. "description": "应套保敞口",
  10050. "type": "number"
  10051. },
  10052. "needHedgeRatio": {
  10053. "description": "应套保敞口比例",
  10054. "type": "number"
  10055. },
  10056. "oriBuyFutureQty": {
  10057. "description": "期初买入期货数量",
  10058. "type": "number"
  10059. },
  10060. "oriBuyPlanQty": {
  10061. "description": "期初采购计划数量",
  10062. "type": "number"
  10063. },
  10064. "oriBuyPricedQty": {
  10065. "description": "期初采购合同已定价数量",
  10066. "type": "number"
  10067. },
  10068. "oriSellFutureQty": {
  10069. "description": "期初卖出期货数量",
  10070. "type": "number"
  10071. },
  10072. "oriSellPlanQty": {
  10073. "description": "期初销售计划数量",
  10074. "type": "number"
  10075. },
  10076. "oriSellPricedQty": {
  10077. "description": "期初销售合同已定价数量",
  10078. "type": "number"
  10079. },
  10080. "oriTotalFutuQty": {
  10081. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  10082. "type": "number"
  10083. },
  10084. "oriTotalSpotQty": {
  10085. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  10086. "type": "number"
  10087. },
  10088. "sellFutureQty": {
  10089. "description": "卖出期货数量",
  10090. "type": "number"
  10091. },
  10092. "sellPlanQty": {
  10093. "description": "销售计划数量",
  10094. "type": "number"
  10095. },
  10096. "sellPricedQty": {
  10097. "description": "销售合同已定价数量",
  10098. "type": "number"
  10099. },
  10100. "totalExposure": {
  10101. "description": "总敞口",
  10102. "type": "number"
  10103. },
  10104. "totalFutureQty": {
  10105. "description": "期货数量",
  10106. "type": "number"
  10107. },
  10108. "totalHedgeRatio": {
  10109. "description": "敞口比例",
  10110. "type": "number"
  10111. },
  10112. "totalNeedHedgeQty": {
  10113. "description": "期货应套保量",
  10114. "type": "number"
  10115. },
  10116. "totalSpotQty": {
  10117. "description": "现货数量",
  10118. "type": "number"
  10119. }
  10120. }
  10121. },
  10122. "erms2.QueryArbitrageStrategyRsp": {
  10123. "type": "object",
  10124. "required": [
  10125. "asapplyid"
  10126. ],
  10127. "properties": {
  10128. "applybasis": {
  10129. "description": "申请基差",
  10130. "type": "number"
  10131. },
  10132. "asapplyid": {
  10133. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10134. "type": "string"
  10135. },
  10136. "asname": {
  10137. "description": "策略名称",
  10138. "type": "string"
  10139. },
  10140. "asno": {
  10141. "description": "策略编号",
  10142. "type": "string"
  10143. },
  10144. "basischangepl": {
  10145. "description": "基差变动损益[结算更新]",
  10146. "type": "number"
  10147. },
  10148. "biztype": {
  10149. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10150. "type": "integer"
  10151. },
  10152. "closetradedate": {
  10153. "description": "完结交易日(yyyyMMdd)",
  10154. "type": "string"
  10155. },
  10156. "curbasis": {
  10157. "description": "当前基差[结算更新]",
  10158. "type": "number"
  10159. },
  10160. "deliverygoodsid": {
  10161. "description": "现货品种ID",
  10162. "type": "integer"
  10163. },
  10164. "futureavgprice": {
  10165. "description": "期货建仓均价",
  10166. "type": "number"
  10167. },
  10168. "futurecloseamount": {
  10169. "description": "期货平仓金额",
  10170. "type": "number"
  10171. },
  10172. "futurecloseqty": {
  10173. "description": "期货平仓数量",
  10174. "type": "number"
  10175. },
  10176. "futureopenamount": {
  10177. "description": "期货开仓金额",
  10178. "type": "number"
  10179. },
  10180. "futureopenqty": {
  10181. "description": "期货开仓数量",
  10182. "type": "number"
  10183. },
  10184. "futurepl": {
  10185. "description": "期货总盈亏[结算更新]",
  10186. "type": "number"
  10187. },
  10188. "futureqty": {
  10189. "description": "期货持仓数量",
  10190. "type": "number"
  10191. },
  10192. "futurequote": {
  10193. "description": "期货额度",
  10194. "type": "number"
  10195. },
  10196. "goodsgroupid": {
  10197. "description": "期货品种ID",
  10198. "type": "integer"
  10199. },
  10200. "marketid": {
  10201. "description": "市场ID",
  10202. "type": "integer"
  10203. },
  10204. "netexposure": {
  10205. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10206. "type": "number"
  10207. },
  10208. "netexposurepl": {
  10209. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10210. "type": "number"
  10211. },
  10212. "netexposurerate": {
  10213. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10214. "type": "number"
  10215. },
  10216. "openbasis": {
  10217. "description": "建仓基差",
  10218. "type": "number"
  10219. },
  10220. "pricedspotqty": {
  10221. "description": "已定价现货数量",
  10222. "type": "number"
  10223. },
  10224. "pricedspotqtynotax": {
  10225. "description": "已定价现货不含税数量",
  10226. "type": "number"
  10227. },
  10228. "remark": {
  10229. "description": "备注",
  10230. "type": "string"
  10231. },
  10232. "spotavgprice": {
  10233. "description": "现货均价",
  10234. "type": "number"
  10235. },
  10236. "spotbuyamount": {
  10237. "description": "现货采购金额",
  10238. "type": "number"
  10239. },
  10240. "spotbuyqty": {
  10241. "description": "现货采购数量",
  10242. "type": "number"
  10243. },
  10244. "spotpl": {
  10245. "description": "现货总盈亏[结算更新]",
  10246. "type": "number"
  10247. },
  10248. "spotquota": {
  10249. "description": "现货额度",
  10250. "type": "number"
  10251. },
  10252. "spotsellamount": {
  10253. "description": "现货销售金额",
  10254. "type": "number"
  10255. },
  10256. "spotsellqty": {
  10257. "description": "现货销售数量",
  10258. "type": "number"
  10259. },
  10260. "spotusedquota": {
  10261. "description": "现货占用资金",
  10262. "type": "number"
  10263. },
  10264. "strategystatus": {
  10265. "description": "策略状态 - 0:未结束 1:已结束",
  10266. "type": "integer"
  10267. },
  10268. "totalpl": {
  10269. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10270. "type": "number"
  10271. },
  10272. "tradedate": {
  10273. "description": "交易日(yyyyMMdd)",
  10274. "type": "string"
  10275. },
  10276. "updatetime": {
  10277. "description": "更新时间",
  10278. "type": "string"
  10279. },
  10280. "usedquota": {
  10281. "description": "已占用资金",
  10282. "type": "number"
  10283. },
  10284. "userid": {
  10285. "description": "所属机构",
  10286. "type": "integer"
  10287. }
  10288. }
  10289. },
  10290. "erms2.QueryInnerTradeDetailRsp": {
  10291. "type": "object",
  10292. "required": [
  10293. "asapplyid",
  10294. "buyorsell",
  10295. "goodscode",
  10296. "goodsgroupid",
  10297. "goodsgroupname",
  10298. "goodsname",
  10299. "tradeid"
  10300. ],
  10301. "properties": {
  10302. "accountid": {
  10303. "description": "账号ID",
  10304. "type": "integer"
  10305. },
  10306. "agreeunit": {
  10307. "description": "合约单位",
  10308. "type": "number"
  10309. },
  10310. "asapplyid": {
  10311. "description": "策略申请ID",
  10312. "type": "integer"
  10313. },
  10314. "asname": {
  10315. "description": "策略名称",
  10316. "type": "string"
  10317. },
  10318. "asno": {
  10319. "description": "策略编号",
  10320. "type": "string"
  10321. },
  10322. "buyorsell": {
  10323. "description": "方向 - 0:买 1:卖",
  10324. "type": "integer"
  10325. },
  10326. "channelbuildtype": {
  10327. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10328. "type": "integer"
  10329. },
  10330. "closetype": {
  10331. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10332. "type": "integer"
  10333. },
  10334. "decimalplace": {
  10335. "description": "报价小数位",
  10336. "type": "integer"
  10337. },
  10338. "detailtype": {
  10339. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10340. "type": "integer"
  10341. },
  10342. "exexchangecode": {
  10343. "description": "外部交易所代码",
  10344. "type": "string"
  10345. },
  10346. "exexchangename": {
  10347. "description": "外部交易所名称",
  10348. "type": "string"
  10349. },
  10350. "goodscode": {
  10351. "description": "商品代码(合约)",
  10352. "type": "string"
  10353. },
  10354. "goodsgroupid": {
  10355. "description": "商品组ID(品种ID)",
  10356. "type": "integer"
  10357. },
  10358. "goodsgroupname": {
  10359. "description": "商品组名称(品种)",
  10360. "type": "string"
  10361. },
  10362. "goodsid": {
  10363. "description": "商品ID",
  10364. "type": "integer"
  10365. },
  10366. "goodsname": {
  10367. "description": "商品名称(合约)",
  10368. "type": "string"
  10369. },
  10370. "goodunit": {
  10371. "description": "报价单位",
  10372. "type": "string"
  10373. },
  10374. "marketid": {
  10375. "description": "市场ID",
  10376. "type": "integer"
  10377. },
  10378. "orderid": {
  10379. "description": "委托单号",
  10380. "type": "string"
  10381. },
  10382. "outgoodscode": {
  10383. "description": "商品代码(外部)",
  10384. "type": "string"
  10385. },
  10386. "relatedouttradeid": {
  10387. "description": "关联外部成交单ID",
  10388. "type": "string"
  10389. },
  10390. "remark": {
  10391. "description": "备注",
  10392. "type": "string"
  10393. },
  10394. "spotcontractid": {
  10395. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10396. "type": "integer"
  10397. },
  10398. "spotcontractno": {
  10399. "description": "现货合同编号",
  10400. "type": "string"
  10401. },
  10402. "tradeid": {
  10403. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10404. "type": "string"
  10405. },
  10406. "tradeprice": {
  10407. "description": "成交价格",
  10408. "type": "number"
  10409. },
  10410. "tradeqty": {
  10411. "description": "成交数量",
  10412. "type": "integer"
  10413. },
  10414. "tradetime": {
  10415. "description": "成交时间",
  10416. "type": "string"
  10417. },
  10418. "updatetime": {
  10419. "description": "更新时间",
  10420. "type": "string"
  10421. }
  10422. }
  10423. },
  10424. "erms2.QuerySpotContractRsp": {
  10425. "type": "object",
  10426. "required": [
  10427. "spotcontractid"
  10428. ],
  10429. "properties": {
  10430. "accountid": {
  10431. "description": "资金账户ID",
  10432. "type": "integer"
  10433. },
  10434. "areauserid": {
  10435. "description": "所属机构",
  10436. "type": "integer"
  10437. },
  10438. "closedate": {
  10439. "description": "终止日期",
  10440. "type": "string"
  10441. },
  10442. "closeremark": {
  10443. "description": "结束备注",
  10444. "type": "string"
  10445. },
  10446. "closetradedate": {
  10447. "description": "完结交易日(yyyyMMdd)",
  10448. "type": "string"
  10449. },
  10450. "closetype": {
  10451. "description": "终止类型 - 1:违约 2:提前终止",
  10452. "type": "integer"
  10453. },
  10454. "contractamount": {
  10455. "description": "合同金额",
  10456. "type": "number"
  10457. },
  10458. "contractattachment": {
  10459. "description": "合同附件",
  10460. "type": "string"
  10461. },
  10462. "contractno": {
  10463. "description": "现货合同编号",
  10464. "type": "string"
  10465. },
  10466. "contractqty": {
  10467. "description": "合同数量(数值) (用于计算)",
  10468. "type": "number"
  10469. },
  10470. "contractqtychar": {
  10471. "description": "合同数量\\已订价数量 (用于显示)",
  10472. "type": "string"
  10473. },
  10474. "contractstatus": {
  10475. "description": "合同状态 - 0:未结束 1:已结束",
  10476. "type": "integer"
  10477. },
  10478. "contracttype": {
  10479. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10480. "type": "integer"
  10481. },
  10482. "customeraccountid": {
  10483. "description": "客户资金账户ID",
  10484. "type": "integer"
  10485. },
  10486. "customeruserid": {
  10487. "description": "客户ID",
  10488. "type": "integer"
  10489. },
  10490. "deliverygoodsdesc": {
  10491. "description": "品种说明",
  10492. "type": "string"
  10493. },
  10494. "deliverygoodsid": {
  10495. "description": "现货品种ID",
  10496. "type": "integer"
  10497. },
  10498. "handlestatus": {
  10499. "description": "处理状态",
  10500. "type": "integer"
  10501. },
  10502. "invoiceatt": {
  10503. "description": "发票附件",
  10504. "type": "string"
  10505. },
  10506. "invoicedatetime": {
  10507. "description": "开收票更新时间",
  10508. "type": "string"
  10509. },
  10510. "invoiceopentime": {
  10511. "description": "开票时间",
  10512. "type": "string"
  10513. },
  10514. "invoiceremark": {
  10515. "description": "发票备注",
  10516. "type": "string"
  10517. },
  10518. "invoicestatus": {
  10519. "description": "开收票状态 - 0:未开票 1:已开票",
  10520. "type": "integer"
  10521. },
  10522. "lastdate": {
  10523. "description": "交货时间",
  10524. "type": "string"
  10525. },
  10526. "marketid": {
  10527. "description": "市场ID",
  10528. "type": "integer"
  10529. },
  10530. "paydatetime": {
  10531. "description": "收付款更新时间",
  10532. "type": "string"
  10533. },
  10534. "payremark": {
  10535. "description": "收付款备注",
  10536. "type": "string"
  10537. },
  10538. "paystatus": {
  10539. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10540. "type": "integer"
  10541. },
  10542. "positionqty": {
  10543. "description": "头寸数量 - 合同数量去小数部分",
  10544. "type": "integer"
  10545. },
  10546. "producttype": {
  10547. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10548. "type": "integer"
  10549. },
  10550. "relatedqty": {
  10551. "description": "已关联数量",
  10552. "type": "number"
  10553. },
  10554. "relatedstatus": {
  10555. "description": "关联完结状态 - 0:未结束 1:已结束",
  10556. "type": "integer"
  10557. },
  10558. "remark": {
  10559. "description": "备注",
  10560. "type": "string"
  10561. },
  10562. "signdate": {
  10563. "description": "签订日期",
  10564. "type": "string"
  10565. },
  10566. "spotcontractid": {
  10567. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10568. "type": "string"
  10569. },
  10570. "spotdatetime": {
  10571. "description": "收发货更新时间",
  10572. "type": "string"
  10573. },
  10574. "spotprice": {
  10575. "description": "价格",
  10576. "type": "number"
  10577. },
  10578. "spotremark": {
  10579. "description": "收发货备注",
  10580. "type": "string"
  10581. },
  10582. "spotstatus": {
  10583. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10584. "type": "integer"
  10585. },
  10586. "tradedate": {
  10587. "description": "交易日(yyyyMMdd)",
  10588. "type": "string"
  10589. },
  10590. "userid": {
  10591. "description": "业务员用户ID",
  10592. "type": "integer"
  10593. },
  10594. "warehouseid": {
  10595. "description": "仓库ID",
  10596. "type": "integer"
  10597. },
  10598. "wrfactortypeid": {
  10599. "description": "仓单要素类型ID",
  10600. "type": "integer"
  10601. },
  10602. "wrstandardid": {
  10603. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10604. "type": "integer"
  10605. }
  10606. }
  10607. },
  10608. "erms3.AddErms2ASApplyReq": {
  10609. "type": "object",
  10610. "required": [
  10611. "asapplyid"
  10612. ],
  10613. "properties": {
  10614. "applybasis": {
  10615. "description": "申请基差",
  10616. "type": "number"
  10617. },
  10618. "applystatus": {
  10619. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10620. "type": "integer"
  10621. },
  10622. "asapplyid": {
  10623. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10624. "type": "integer"
  10625. },
  10626. "asname": {
  10627. "description": "策略名称",
  10628. "type": "string"
  10629. },
  10630. "asno": {
  10631. "description": "策略编号",
  10632. "type": "string"
  10633. },
  10634. "auditid": {
  10635. "description": "审核人",
  10636. "type": "integer"
  10637. },
  10638. "auditremark": {
  10639. "description": "审核备注",
  10640. "type": "string"
  10641. },
  10642. "audittime": {
  10643. "description": "审核时间",
  10644. "type": "string"
  10645. },
  10646. "biztype": {
  10647. "description": "业务类型 - 1:正向套利 2:反向套利",
  10648. "type": "integer"
  10649. },
  10650. "createtime": {
  10651. "description": "创建时间",
  10652. "type": "string"
  10653. },
  10654. "creatorid": {
  10655. "description": "创建人",
  10656. "type": "integer"
  10657. },
  10658. "deliverygoodsid": {
  10659. "description": "现货品种ID",
  10660. "type": "integer"
  10661. },
  10662. "futurequote": {
  10663. "description": "期货额度",
  10664. "type": "number"
  10665. },
  10666. "goodsgroupid": {
  10667. "description": "期货品种ID",
  10668. "type": "integer"
  10669. },
  10670. "marketid": {
  10671. "description": "市场ID",
  10672. "type": "integer"
  10673. },
  10674. "remark": {
  10675. "description": "备注",
  10676. "type": "string"
  10677. },
  10678. "spotquota": {
  10679. "description": "现货额度",
  10680. "type": "number"
  10681. },
  10682. "tradedate": {
  10683. "description": "交易日(yyyyMMdd)",
  10684. "type": "string"
  10685. },
  10686. "userid": {
  10687. "description": "所属机构",
  10688. "type": "integer"
  10689. }
  10690. }
  10691. },
  10692. "erms3.AddErms2SpotTradeApplyReq": {
  10693. "type": "object",
  10694. "required": [
  10695. "spottradeid"
  10696. ],
  10697. "properties": {
  10698. "applyjsondetail": {
  10699. "description": "申请明细(JSON)",
  10700. "type": "string"
  10701. },
  10702. "applystatus": {
  10703. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10704. "type": "integer"
  10705. },
  10706. "areauserid": {
  10707. "description": "所属机构",
  10708. "type": "integer"
  10709. },
  10710. "auditid": {
  10711. "description": "审核人",
  10712. "type": "integer"
  10713. },
  10714. "auditremark": {
  10715. "description": "审核备注",
  10716. "type": "string"
  10717. },
  10718. "audittime": {
  10719. "description": "审核时间",
  10720. "type": "string"
  10721. },
  10722. "createtime": {
  10723. "description": "创建时间",
  10724. "type": "string"
  10725. },
  10726. "creatorid": {
  10727. "description": "创建人",
  10728. "type": "integer"
  10729. },
  10730. "deliverygoodsid": {
  10731. "description": "现货品种ID",
  10732. "type": "integer"
  10733. },
  10734. "futureaccountid": {
  10735. "description": "期货资金账户",
  10736. "type": "integer"
  10737. },
  10738. "goodsgroupid": {
  10739. "description": "期货品种",
  10740. "type": "integer"
  10741. },
  10742. "marketid": {
  10743. "description": "市场ID",
  10744. "type": "integer"
  10745. },
  10746. "remark": {
  10747. "description": "备注",
  10748. "type": "string"
  10749. },
  10750. "spotaccountid": {
  10751. "description": "现货资金账户",
  10752. "type": "integer"
  10753. },
  10754. "spottradeid": {
  10755. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10756. "type": "integer"
  10757. },
  10758. "spottradename": {
  10759. "description": "业务名称",
  10760. "type": "string"
  10761. },
  10762. "spottradeno": {
  10763. "description": "业务编号",
  10764. "type": "string"
  10765. },
  10766. "tradedate": {
  10767. "description": "交易日(yyyyMMdd)",
  10768. "type": "string"
  10769. },
  10770. "wrstandardid": {
  10771. "description": "仓单标准ID",
  10772. "type": "integer"
  10773. }
  10774. }
  10775. },
  10776. "erms3.AddSpotContractApplyReq": {
  10777. "type": "object",
  10778. "required": [
  10779. "accountid",
  10780. "areauserid",
  10781. "contractno",
  10782. "contracttype",
  10783. "customeraccountid",
  10784. "customeruserid",
  10785. "details",
  10786. "orimargin",
  10787. "signdate"
  10788. ],
  10789. "properties": {
  10790. "accountid": {
  10791. "description": "资金账户ID",
  10792. "type": "integer"
  10793. },
  10794. "areauserid": {
  10795. "description": "所属机构",
  10796. "type": "integer"
  10797. },
  10798. "contractattachment": {
  10799. "description": "合同附件",
  10800. "type": "string"
  10801. },
  10802. "contractno": {
  10803. "description": "现货合同编号",
  10804. "type": "string"
  10805. },
  10806. "contracttype": {
  10807. "description": "现货合同类型 - 1:采购 -1:销售",
  10808. "type": "integer"
  10809. },
  10810. "creatorid": {
  10811. "description": "申请人",
  10812. "type": "integer"
  10813. },
  10814. "customeraccountid": {
  10815. "description": "客户资金账户ID",
  10816. "type": "integer"
  10817. },
  10818. "customeruserid": {
  10819. "description": "客户ID",
  10820. "type": "integer"
  10821. },
  10822. "details": {
  10823. "description": "明细",
  10824. "type": "array",
  10825. "items": {
  10826. "$ref": "#/definitions/erms3.SoptContractDetail"
  10827. }
  10828. },
  10829. "orimargin": {
  10830. "description": "初始保证金",
  10831. "type": "number"
  10832. },
  10833. "remark": {
  10834. "description": "备注",
  10835. "type": "string"
  10836. },
  10837. "signdate": {
  10838. "description": "签订日期",
  10839. "type": "string"
  10840. }
  10841. }
  10842. },
  10843. "erms3.AddSpotContractApplyRsp": {
  10844. "type": "object",
  10845. "required": [
  10846. "contractno"
  10847. ],
  10848. "properties": {
  10849. "contractno": {
  10850. "description": "现货合同编号",
  10851. "type": "string"
  10852. },
  10853. "spotcontractid": {
  10854. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10855. "type": "integer"
  10856. }
  10857. }
  10858. },
  10859. "erms3.AddUserInfoApplyReq": {
  10860. "type": "object",
  10861. "required": [
  10862. "userid"
  10863. ],
  10864. "properties": {
  10865. "accountid": {
  10866. "description": "交易系统帐号Id (加密存储)",
  10867. "type": "integer"
  10868. },
  10869. "areacode": {
  10870. "description": "机构代码",
  10871. "type": "string"
  10872. },
  10873. "areaid": {
  10874. "description": "机构Id",
  10875. "type": "integer"
  10876. },
  10877. "attachment1": {
  10878. "description": "附件1",
  10879. "type": "string"
  10880. },
  10881. "attachment2": {
  10882. "description": "附件2",
  10883. "type": "string"
  10884. },
  10885. "attachment3": {
  10886. "description": "附件3",
  10887. "type": "string"
  10888. },
  10889. "attachment4": {
  10890. "description": "附件4",
  10891. "type": "string"
  10892. },
  10893. "attachment5": {
  10894. "description": "附件5",
  10895. "type": "string"
  10896. },
  10897. "auditedby": {
  10898. "description": "审核人",
  10899. "type": "string"
  10900. },
  10901. "auditime": {
  10902. "description": "审核时间",
  10903. "type": "string"
  10904. },
  10905. "bankaccount": {
  10906. "description": "银行帐号 (加密存储)",
  10907. "type": "string"
  10908. },
  10909. "bankaccountname": {
  10910. "description": "收款人名称",
  10911. "type": "string"
  10912. },
  10913. "bankcardbackphotourl": {
  10914. "description": "银行卡背面照地址",
  10915. "type": "string"
  10916. },
  10917. "bankcardfrontphotourl": {
  10918. "description": "银行卡正面照地址",
  10919. "type": "string"
  10920. },
  10921. "bankid": {
  10922. "description": "银行编码",
  10923. "type": "string"
  10924. },
  10925. "bankname": {
  10926. "description": "银行名称",
  10927. "type": "string"
  10928. },
  10929. "bankpictureurl": {
  10930. "description": "银行卡正面地址",
  10931. "type": "string"
  10932. },
  10933. "biznature": {
  10934. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10935. "type": "integer"
  10936. },
  10937. "bizscope": {
  10938. "description": "企业经营范围(企业)",
  10939. "type": "string"
  10940. },
  10941. "biztype": {
  10942. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10943. "type": "integer"
  10944. },
  10945. "brokerid": {
  10946. "description": "经纪人ID(加密存储)",
  10947. "type": "string"
  10948. },
  10949. "cardaddress": {
  10950. "description": "证件地址 (加密存储)",
  10951. "type": "string"
  10952. },
  10953. "cardbackphotourl": {
  10954. "description": "背面证件照地址",
  10955. "type": "string"
  10956. },
  10957. "cardfrontphotourl": {
  10958. "description": "正面证件照地址",
  10959. "type": "string"
  10960. },
  10961. "cardnum": {
  10962. "description": "证件号码 (加密存储)",
  10963. "type": "string"
  10964. },
  10965. "cardtype": {
  10966. "description": "证件类型",
  10967. "type": "integer"
  10968. },
  10969. "cityid": {
  10970. "description": "市",
  10971. "type": "integer"
  10972. },
  10973. "company": {
  10974. "description": "公司(个人)",
  10975. "type": "string"
  10976. },
  10977. "contactcardbackphotourl": {
  10978. "description": "联系人证件背面图片地址",
  10979. "type": "string"
  10980. },
  10981. "contactcardfrontphotourl": {
  10982. "description": "联系人证件正面图片地址",
  10983. "type": "string"
  10984. },
  10985. "contactname": {
  10986. "description": "联系人",
  10987. "type": "string"
  10988. },
  10989. "countryid": {
  10990. "description": "国家",
  10991. "type": "integer"
  10992. },
  10993. "createtime": {
  10994. "description": "开户申请时间",
  10995. "type": "string"
  10996. },
  10997. "cusbankid": {
  10998. "description": "签约类型",
  10999. "type": "string"
  11000. },
  11001. "cusbankname": {
  11002. "description": "签约类型名称",
  11003. "type": "string"
  11004. },
  11005. "customername": {
  11006. "description": "客户名称(企业名称)",
  11007. "type": "string"
  11008. },
  11009. "districtid": {
  11010. "description": "地区",
  11011. "type": "integer"
  11012. },
  11013. "email": {
  11014. "description": "Email地址(加密存储)",
  11015. "type": "string"
  11016. },
  11017. "halfbodyphotourl": {
  11018. "description": "半身照地址",
  11019. "type": "string"
  11020. },
  11021. "headurl": {
  11022. "description": "头像地址",
  11023. "type": "string"
  11024. },
  11025. "ipaddress": {
  11026. "description": "IP地址",
  11027. "type": "string"
  11028. },
  11029. "isvalidate": {
  11030. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11031. "type": "string"
  11032. },
  11033. "legalcardbackphotourl": {
  11034. "description": "法人身份证背面照地址",
  11035. "type": "string"
  11036. },
  11037. "legalcardfrontphotourl": {
  11038. "description": "法人身份证正面照地址",
  11039. "type": "string"
  11040. },
  11041. "legalpersonname": {
  11042. "description": "法人姓名(企业)",
  11043. "type": "string"
  11044. },
  11045. "logincode": {
  11046. "description": "登录帐号 (加密存储)",
  11047. "type": "string"
  11048. },
  11049. "memberareaid": {
  11050. "description": "所属会员ID",
  11051. "type": "integer"
  11052. },
  11053. "mobile2": {
  11054. "description": "手机号码[明文-尚志]",
  11055. "type": "string"
  11056. },
  11057. "mobilephone": {
  11058. "description": "手机号码 (加密存储)",
  11059. "type": "string"
  11060. },
  11061. "modifiedby": {
  11062. "description": "修改人帐号",
  11063. "type": "integer"
  11064. },
  11065. "modifiedtime": {
  11066. "description": "修改时间",
  11067. "type": "string"
  11068. },
  11069. "nickname": {
  11070. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11071. "type": "string"
  11072. },
  11073. "openmode": {
  11074. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11075. "type": "integer"
  11076. },
  11077. "otherurl": {
  11078. "description": "其它图片地址[使用分号分隔]",
  11079. "type": "string"
  11080. },
  11081. "postalcode": {
  11082. "description": "邮政编码",
  11083. "type": "string"
  11084. },
  11085. "provinceid": {
  11086. "description": "省",
  11087. "type": "integer"
  11088. },
  11089. "proxystatementurl": {
  11090. "description": "授权委托书",
  11091. "type": "string"
  11092. },
  11093. "qq": {
  11094. "description": "QQ(加密存储",
  11095. "type": "string"
  11096. },
  11097. "referral": {
  11098. "description": "推荐人编码",
  11099. "type": "string"
  11100. },
  11101. "remark": {
  11102. "description": "备注",
  11103. "type": "string"
  11104. },
  11105. "removebeforestatus": {
  11106. "description": "REMOVEBEFORESTATUS",
  11107. "type": "integer"
  11108. },
  11109. "sex": {
  11110. "description": "性别 - 0:女 1:男",
  11111. "type": "integer"
  11112. },
  11113. "signedstatus": {
  11114. "description": "账户一号签签约状态",
  11115. "type": "integer"
  11116. },
  11117. "signpdfurl": {
  11118. "description": "签约pdf文件",
  11119. "type": "string"
  11120. },
  11121. "subbranch": {
  11122. "description": "开户支行",
  11123. "type": "string"
  11124. },
  11125. "telphone": {
  11126. "description": "联系电话(加密存储)",
  11127. "type": "string"
  11128. },
  11129. "userid": {
  11130. "description": "用户ID(自增ID)",
  11131. "type": "integer"
  11132. },
  11133. "userinfotype": {
  11134. "description": "用户信息类型 - 1:个人 2:企业",
  11135. "type": "integer"
  11136. },
  11137. "username": {
  11138. "description": "用户姓名",
  11139. "type": "string"
  11140. },
  11141. "userstate": {
  11142. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11143. "type": "integer"
  11144. },
  11145. "usertype": {
  11146. "description": "用户类型 - 1:投资者 2:机构",
  11147. "type": "integer"
  11148. },
  11149. "videourl": {
  11150. "description": "视频地址",
  11151. "type": "string"
  11152. },
  11153. "wechat": {
  11154. "description": "微信号 (加密存储)",
  11155. "type": "string"
  11156. }
  11157. }
  11158. },
  11159. "erms3.CustomerInfo": {
  11160. "type": "object",
  11161. "required": [
  11162. "userid"
  11163. ],
  11164. "properties": {
  11165. "accountids": {
  11166. "description": "资金账户ID列表",
  11167. "type": "array",
  11168. "items": {
  11169. "type": "integer"
  11170. }
  11171. },
  11172. "customername": {
  11173. "description": "名称(企业名称)",
  11174. "type": "string"
  11175. },
  11176. "mobile": {
  11177. "description": "手机号码",
  11178. "type": "string"
  11179. },
  11180. "userid": {
  11181. "description": "用户ID",
  11182. "type": "integer"
  11183. }
  11184. }
  11185. },
  11186. "erms3.ModifyUserInfoApplyReq": {
  11187. "type": "object",
  11188. "required": [
  11189. "userid"
  11190. ],
  11191. "properties": {
  11192. "accountid": {
  11193. "description": "交易系统帐号Id (加密存储)",
  11194. "type": "integer"
  11195. },
  11196. "areacode": {
  11197. "description": "机构代码",
  11198. "type": "string"
  11199. },
  11200. "areaid": {
  11201. "description": "机构Id",
  11202. "type": "integer"
  11203. },
  11204. "attachment1": {
  11205. "description": "附件1",
  11206. "type": "string"
  11207. },
  11208. "attachment2": {
  11209. "description": "附件2",
  11210. "type": "string"
  11211. },
  11212. "attachment3": {
  11213. "description": "附件3",
  11214. "type": "string"
  11215. },
  11216. "attachment4": {
  11217. "description": "附件4",
  11218. "type": "string"
  11219. },
  11220. "attachment5": {
  11221. "description": "附件5",
  11222. "type": "string"
  11223. },
  11224. "auditedby": {
  11225. "description": "审核人",
  11226. "type": "string"
  11227. },
  11228. "auditime": {
  11229. "description": "审核时间",
  11230. "type": "string"
  11231. },
  11232. "bankaccount": {
  11233. "description": "银行帐号 (加密存储)",
  11234. "type": "string"
  11235. },
  11236. "bankaccountname": {
  11237. "description": "收款人名称",
  11238. "type": "string"
  11239. },
  11240. "bankcardbackphotourl": {
  11241. "description": "银行卡背面照地址",
  11242. "type": "string"
  11243. },
  11244. "bankcardfrontphotourl": {
  11245. "description": "银行卡正面照地址",
  11246. "type": "string"
  11247. },
  11248. "bankid": {
  11249. "description": "银行编码",
  11250. "type": "string"
  11251. },
  11252. "bankname": {
  11253. "description": "银行名称",
  11254. "type": "string"
  11255. },
  11256. "bankpictureurl": {
  11257. "description": "银行卡正面地址",
  11258. "type": "string"
  11259. },
  11260. "biznature": {
  11261. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11262. "type": "integer"
  11263. },
  11264. "bizscope": {
  11265. "description": "企业经营范围(企业)",
  11266. "type": "string"
  11267. },
  11268. "biztype": {
  11269. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11270. "type": "integer"
  11271. },
  11272. "brokerid": {
  11273. "description": "经纪人ID(加密存储)",
  11274. "type": "string"
  11275. },
  11276. "cardaddress": {
  11277. "description": "证件地址 (加密存储)",
  11278. "type": "string"
  11279. },
  11280. "cardbackphotourl": {
  11281. "description": "背面证件照地址",
  11282. "type": "string"
  11283. },
  11284. "cardfrontphotourl": {
  11285. "description": "正面证件照地址",
  11286. "type": "string"
  11287. },
  11288. "cardnum": {
  11289. "description": "证件号码 (加密存储)",
  11290. "type": "string"
  11291. },
  11292. "cardtype": {
  11293. "description": "证件类型",
  11294. "type": "integer"
  11295. },
  11296. "cityid": {
  11297. "description": "市",
  11298. "type": "integer"
  11299. },
  11300. "company": {
  11301. "description": "公司(个人)",
  11302. "type": "string"
  11303. },
  11304. "contactcardbackphotourl": {
  11305. "description": "联系人证件背面图片地址",
  11306. "type": "string"
  11307. },
  11308. "contactcardfrontphotourl": {
  11309. "description": "联系人证件正面图片地址",
  11310. "type": "string"
  11311. },
  11312. "contactname": {
  11313. "description": "联系人",
  11314. "type": "string"
  11315. },
  11316. "countryid": {
  11317. "description": "国家",
  11318. "type": "integer"
  11319. },
  11320. "createtime": {
  11321. "description": "开户申请时间",
  11322. "type": "string"
  11323. },
  11324. "cusbankid": {
  11325. "description": "签约类型",
  11326. "type": "string"
  11327. },
  11328. "cusbankname": {
  11329. "description": "签约类型名称",
  11330. "type": "string"
  11331. },
  11332. "customername": {
  11333. "description": "客户名称(企业名称)",
  11334. "type": "string"
  11335. },
  11336. "districtid": {
  11337. "description": "地区",
  11338. "type": "integer"
  11339. },
  11340. "email": {
  11341. "description": "Email地址(加密存储)",
  11342. "type": "string"
  11343. },
  11344. "halfbodyphotourl": {
  11345. "description": "半身照地址",
  11346. "type": "string"
  11347. },
  11348. "headurl": {
  11349. "description": "头像地址",
  11350. "type": "string"
  11351. },
  11352. "ipaddress": {
  11353. "description": "IP地址",
  11354. "type": "string"
  11355. },
  11356. "isvalidate": {
  11357. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11358. "type": "string"
  11359. },
  11360. "legalcardbackphotourl": {
  11361. "description": "法人身份证背面照地址",
  11362. "type": "string"
  11363. },
  11364. "legalcardfrontphotourl": {
  11365. "description": "法人身份证正面照地址",
  11366. "type": "string"
  11367. },
  11368. "legalpersonname": {
  11369. "description": "法人姓名(企业)",
  11370. "type": "string"
  11371. },
  11372. "logincode": {
  11373. "description": "登录帐号 (加密存储)",
  11374. "type": "string"
  11375. },
  11376. "memberareaid": {
  11377. "description": "所属会员ID",
  11378. "type": "integer"
  11379. },
  11380. "mobile2": {
  11381. "description": "手机号码[明文-尚志]",
  11382. "type": "string"
  11383. },
  11384. "mobilephone": {
  11385. "description": "手机号码 (加密存储)",
  11386. "type": "string"
  11387. },
  11388. "modifiedby": {
  11389. "description": "修改人帐号",
  11390. "type": "integer"
  11391. },
  11392. "modifiedtime": {
  11393. "description": "修改时间",
  11394. "type": "string"
  11395. },
  11396. "nickname": {
  11397. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11398. "type": "string"
  11399. },
  11400. "openmode": {
  11401. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11402. "type": "integer"
  11403. },
  11404. "otherurl": {
  11405. "description": "其它图片地址[使用分号分隔]",
  11406. "type": "string"
  11407. },
  11408. "postalcode": {
  11409. "description": "邮政编码",
  11410. "type": "string"
  11411. },
  11412. "provinceid": {
  11413. "description": "省",
  11414. "type": "integer"
  11415. },
  11416. "proxystatementurl": {
  11417. "description": "授权委托书",
  11418. "type": "string"
  11419. },
  11420. "qq": {
  11421. "description": "QQ(加密存储",
  11422. "type": "string"
  11423. },
  11424. "referral": {
  11425. "description": "推荐人编码",
  11426. "type": "string"
  11427. },
  11428. "remark": {
  11429. "description": "备注",
  11430. "type": "string"
  11431. },
  11432. "removebeforestatus": {
  11433. "description": "REMOVEBEFORESTATUS",
  11434. "type": "integer"
  11435. },
  11436. "sex": {
  11437. "description": "性别 - 0:女 1:男",
  11438. "type": "integer"
  11439. },
  11440. "signedstatus": {
  11441. "description": "账户一号签签约状态",
  11442. "type": "integer"
  11443. },
  11444. "signpdfurl": {
  11445. "description": "签约pdf文件",
  11446. "type": "string"
  11447. },
  11448. "subbranch": {
  11449. "description": "开户支行",
  11450. "type": "string"
  11451. },
  11452. "telphone": {
  11453. "description": "联系电话(加密存储)",
  11454. "type": "string"
  11455. },
  11456. "userid": {
  11457. "description": "用户ID(自增ID)",
  11458. "type": "integer"
  11459. },
  11460. "userinfotype": {
  11461. "description": "用户信息类型 - 1:个人 2:企业",
  11462. "type": "integer"
  11463. },
  11464. "username": {
  11465. "description": "用户姓名",
  11466. "type": "string"
  11467. },
  11468. "userstate": {
  11469. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11470. "type": "integer"
  11471. },
  11472. "usertype": {
  11473. "description": "用户类型 - 1:投资者 2:机构",
  11474. "type": "integer"
  11475. },
  11476. "videourl": {
  11477. "description": "视频地址",
  11478. "type": "string"
  11479. },
  11480. "wechat": {
  11481. "description": "微信号 (加密存储)",
  11482. "type": "string"
  11483. }
  11484. }
  11485. },
  11486. "erms3.QryAuditContractRsp": {
  11487. "type": "object",
  11488. "required": [
  11489. "matchcustomername",
  11490. "spotcontractid"
  11491. ],
  11492. "properties": {
  11493. "accountid": {
  11494. "description": "交易员ID",
  11495. "type": "string"
  11496. },
  11497. "applystatus": {
  11498. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11499. "type": "integer"
  11500. },
  11501. "curdeliveryqty": {
  11502. "description": "未交收量",
  11503. "type": "integer"
  11504. },
  11505. "customername": {
  11506. "description": "采购方ID",
  11507. "type": "string"
  11508. },
  11509. "deliverygoodsid": {
  11510. "description": "品种ID",
  11511. "type": "string"
  11512. },
  11513. "deliveryqty": {
  11514. "description": "交收量",
  11515. "type": "integer"
  11516. },
  11517. "enumdicname": {
  11518. "description": "单位名称",
  11519. "type": "string"
  11520. },
  11521. "matchaccountid": {
  11522. "description": "业务员ID",
  11523. "type": "string"
  11524. },
  11525. "matchcustomername": {
  11526. "description": "销售方ID",
  11527. "type": "string"
  11528. },
  11529. "pricedqty": {
  11530. "description": "定价量",
  11531. "type": "number"
  11532. },
  11533. "signdate": {
  11534. "description": "签订日期",
  11535. "type": "string"
  11536. },
  11537. "spotcontractid": {
  11538. "description": "合同ID",
  11539. "type": "string"
  11540. },
  11541. "totaldqty": {
  11542. "description": "合同量",
  11543. "type": "number"
  11544. },
  11545. "unpricedqty": {
  11546. "description": "未定价量",
  11547. "type": "number"
  11548. },
  11549. "wrstandardname": {
  11550. "description": "商品名称",
  11551. "type": "string"
  11552. }
  11553. }
  11554. },
  11555. "erms3.QryPendingBizRsp": {
  11556. "type": "object",
  11557. "properties": {
  11558. "accountid": {
  11559. "description": "现货账户",
  11560. "type": "string"
  11561. },
  11562. "areaname": {
  11563. "description": "所属部门",
  11564. "type": "string"
  11565. },
  11566. "bizid": {
  11567. "description": "业务ID",
  11568. "type": "string"
  11569. },
  11570. "bizname": {
  11571. "description": "业务名称",
  11572. "type": "string"
  11573. },
  11574. "status": {
  11575. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11576. "type": "integer"
  11577. },
  11578. "type": {
  11579. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11580. "type": "integer"
  11581. }
  11582. }
  11583. },
  11584. "erms3.QueryBusinessInfoRsp": {
  11585. "type": "object",
  11586. "properties": {
  11587. "businessid": {
  11588. "description": "业务ID.",
  11589. "type": "integer"
  11590. },
  11591. "buyamount": {
  11592. "description": "采购额.",
  11593. "type": "number"
  11594. },
  11595. "buyqty": {
  11596. "description": "采购量.",
  11597. "type": "string"
  11598. },
  11599. "futurepl": {
  11600. "description": "期货盈亏.",
  11601. "type": "number"
  11602. },
  11603. "futureqty": {
  11604. "description": "期货敞口.",
  11605. "type": "string"
  11606. },
  11607. "goodsid": {
  11608. "description": "商品名称/商品代码.",
  11609. "type": "string"
  11610. },
  11611. "hedgingqty": {
  11612. "description": "套保量.",
  11613. "type": "string"
  11614. },
  11615. "sellamount": {
  11616. "description": "销售额.",
  11617. "type": "number"
  11618. },
  11619. "sellqty": {
  11620. "description": "销售量.",
  11621. "type": "string"
  11622. },
  11623. "spotmarketvalue": {
  11624. "description": "现货市值.",
  11625. "type": "number"
  11626. },
  11627. "spotpl": {
  11628. "description": "浮动权益.",
  11629. "type": "number"
  11630. },
  11631. "spotqty": {
  11632. "description": "现货量.",
  11633. "type": "string"
  11634. },
  11635. "statu": {
  11636. "description": "状态,0-未结束 1-已结束.",
  11637. "type": "integer"
  11638. },
  11639. "totalpl": {
  11640. "description": "总盈亏.",
  11641. "type": "number"
  11642. },
  11643. "totalqty": {
  11644. "description": "总敞口.",
  11645. "type": "string"
  11646. },
  11647. "type": {
  11648. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11649. "type": "integer"
  11650. }
  11651. }
  11652. },
  11653. "erms3.QuerySpotContractAppleFormRsp": {
  11654. "type": "object",
  11655. "properties": {
  11656. "goodses": {
  11657. "description": "合约列表",
  11658. "type": "array",
  11659. "items": {
  11660. "$ref": "#/definitions/models.GoodsIDAndName"
  11661. }
  11662. },
  11663. "oppositeusers": {
  11664. "description": "对方账号列表",
  11665. "type": "array",
  11666. "items": {
  11667. "$ref": "#/definitions/erms3.CustomerInfo"
  11668. }
  11669. },
  11670. "ouruser": {
  11671. "description": "我方账号",
  11672. "$ref": "#/definitions/erms3.CustomerInfo"
  11673. },
  11674. "warehouseinfos": {
  11675. "description": "仓库信息列表",
  11676. "type": "array",
  11677. "items": {
  11678. "$ref": "#/definitions/models.Warehouseinfo"
  11679. }
  11680. },
  11681. "wrstandards": {
  11682. "description": "仓单标准列表",
  11683. "type": "array",
  11684. "items": {
  11685. "$ref": "#/definitions/models.WRStandardInfo"
  11686. }
  11687. }
  11688. }
  11689. },
  11690. "erms3.QuerySpotContractInfoRsp": {
  11691. "type": "object",
  11692. "properties": {
  11693. "accountid": {
  11694. "description": "表示交易员ID.",
  11695. "type": "integer"
  11696. },
  11697. "curdeliveryqty": {
  11698. "description": "表示未交收量.",
  11699. "type": "number"
  11700. },
  11701. "customername": {
  11702. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11703. "type": "string"
  11704. },
  11705. "deliverygoodsid": {
  11706. "description": "表示品种ID.",
  11707. "type": "string"
  11708. },
  11709. "deliveryqty": {
  11710. "description": "表示交收量.",
  11711. "type": "number"
  11712. },
  11713. "matchaccountid": {
  11714. "description": "表示业务员ID.",
  11715. "type": "integer"
  11716. },
  11717. "matchcustomername": {
  11718. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11719. "type": "string"
  11720. },
  11721. "priceqty": {
  11722. "description": "表示定价量.",
  11723. "type": "number"
  11724. },
  11725. "relatedbizid": {
  11726. "description": "表示业务ID.",
  11727. "type": "string"
  11728. },
  11729. "signdate": {
  11730. "description": "表示签订日期.",
  11731. "type": "string"
  11732. },
  11733. "spotcontractid": {
  11734. "description": "合同ID",
  11735. "type": "string"
  11736. },
  11737. "status": {
  11738. "description": "表示状态,0-履约中 1-已完成.",
  11739. "type": "integer"
  11740. },
  11741. "totalqty": {
  11742. "description": "表示合同量.",
  11743. "type": "number"
  11744. },
  11745. "unpricedqty": {
  11746. "description": "表示未定价量.",
  11747. "type": "number"
  11748. },
  11749. "wrstandardname": {
  11750. "description": "表示商品ID.",
  11751. "type": "string"
  11752. }
  11753. }
  11754. },
  11755. "erms3.QueryUserInfoAppliesRsp": {
  11756. "type": "object",
  11757. "required": [
  11758. "userid"
  11759. ],
  11760. "properties": {
  11761. "biznature": {
  11762. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11763. "type": "integer"
  11764. },
  11765. "contactname": {
  11766. "description": "联系人",
  11767. "type": "string"
  11768. },
  11769. "createtime": {
  11770. "description": "开户申请时间",
  11771. "type": "string"
  11772. },
  11773. "userid": {
  11774. "description": "用户ID(自增ID)",
  11775. "type": "integer"
  11776. },
  11777. "userinfotype": {
  11778. "description": "用户信息类型 - 1:个人 2:企业",
  11779. "type": "integer"
  11780. },
  11781. "username": {
  11782. "description": "用户姓名",
  11783. "type": "string"
  11784. },
  11785. "userstate": {
  11786. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11787. "type": "integer"
  11788. }
  11789. }
  11790. },
  11791. "erms3.QueryUserInfosRsp": {
  11792. "type": "object",
  11793. "required": [
  11794. "userid"
  11795. ],
  11796. "properties": {
  11797. "biznature": {
  11798. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11799. "type": "integer"
  11800. },
  11801. "contactname": {
  11802. "description": "联系人",
  11803. "type": "string"
  11804. },
  11805. "customername": {
  11806. "description": "客户名称(企业名称)",
  11807. "type": "string"
  11808. },
  11809. "userid": {
  11810. "description": "用户ID",
  11811. "type": "integer"
  11812. },
  11813. "userinfotype": {
  11814. "description": "用户信息类型 - 1:个人 2:企业",
  11815. "type": "integer"
  11816. },
  11817. "userstatus": {
  11818. "description": "用户状态 - 1:正常 2:注销",
  11819. "type": "integer"
  11820. }
  11821. }
  11822. },
  11823. "erms3.SoptContractDetail": {
  11824. "type": "object",
  11825. "required": [
  11826. "deliverygoodsid",
  11827. "producttype",
  11828. "unitname",
  11829. "warehouseid",
  11830. "wrstandardid",
  11831. "wrstandardname"
  11832. ],
  11833. "properties": {
  11834. "deliverygoodsdesc": {
  11835. "description": "现货品种说明",
  11836. "type": "string"
  11837. },
  11838. "deliverygoodsid": {
  11839. "description": "现货品种ID",
  11840. "type": "integer"
  11841. },
  11842. "deliverygoodsname": {
  11843. "description": "现货品种名称",
  11844. "type": "string"
  11845. },
  11846. "pointdesc": {
  11847. "description": "点价描述",
  11848. "type": "string"
  11849. },
  11850. "producttype": {
  11851. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11852. "type": "integer"
  11853. },
  11854. "producttypename": {
  11855. "description": "产品类型名称",
  11856. "type": "string"
  11857. },
  11858. "spotPointOrderVoList": {
  11859. "description": "点价列表",
  11860. "type": "array",
  11861. "items": {
  11862. "$ref": "#/definitions/erms3.SpotPointOrder"
  11863. }
  11864. },
  11865. "spotPriceOrderList": {
  11866. "description": "定价列表",
  11867. "type": "array",
  11868. "items": {
  11869. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11870. }
  11871. },
  11872. "unitname": {
  11873. "description": "单位名称",
  11874. "type": "string"
  11875. },
  11876. "warehouseid": {
  11877. "description": "仓库ID",
  11878. "type": "integer"
  11879. },
  11880. "warehousename": {
  11881. "description": "仓库名称",
  11882. "type": "string"
  11883. },
  11884. "wrstandardid": {
  11885. "description": "交易标的ID",
  11886. "type": "integer"
  11887. },
  11888. "wrstandardname": {
  11889. "description": "交易标的名称",
  11890. "type": "string"
  11891. }
  11892. }
  11893. },
  11894. "erms3.SpotPointOrder": {
  11895. "type": "object",
  11896. "required": [
  11897. "basic",
  11898. "goodsid",
  11899. "qty"
  11900. ],
  11901. "properties": {
  11902. "basic": {
  11903. "description": "基差",
  11904. "type": "number"
  11905. },
  11906. "deliveryenddate": {
  11907. "description": "交收结束日期",
  11908. "type": "string"
  11909. },
  11910. "deliverystartdate": {
  11911. "description": "交收开始日期",
  11912. "type": "string"
  11913. },
  11914. "enddate": {
  11915. "description": "点价结束日期",
  11916. "type": "string"
  11917. },
  11918. "goodsid": {
  11919. "description": "商品ID",
  11920. "type": "integer"
  11921. },
  11922. "goodsname": {
  11923. "description": "商品名称",
  11924. "type": "string"
  11925. },
  11926. "qty": {
  11927. "description": "数量",
  11928. "type": "number"
  11929. },
  11930. "startdate": {
  11931. "description": "点价开始日期",
  11932. "type": "string"
  11933. }
  11934. }
  11935. },
  11936. "erms3.SpotPriceOrder": {
  11937. "type": "object",
  11938. "required": [
  11939. "amount",
  11940. "price",
  11941. "qty"
  11942. ],
  11943. "properties": {
  11944. "amount": {
  11945. "description": "金额",
  11946. "type": "number"
  11947. },
  11948. "deliveryenddate": {
  11949. "description": "交收结束日期",
  11950. "type": "string"
  11951. },
  11952. "deliverystartdate": {
  11953. "description": "交收开始日期",
  11954. "type": "string"
  11955. },
  11956. "price": {
  11957. "description": "价格",
  11958. "type": "number"
  11959. },
  11960. "qty": {
  11961. "description": "数量",
  11962. "type": "number"
  11963. }
  11964. }
  11965. },
  11966. "hsby.GetHsbyMyCountRsp": {
  11967. "type": "object",
  11968. "properties": {
  11969. "myCouponCount": {
  11970. "description": "我的优惠卷数量",
  11971. "type": "integer"
  11972. },
  11973. "myOrderDetailListingCount": {
  11974. "description": "我的订单求购中数量",
  11975. "type": "integer"
  11976. },
  11977. "myOrderDetailPreCount": {
  11978. "description": "我的订单抢购中数量",
  11979. "type": "integer"
  11980. },
  11981. "myPackageUnReceiveCount": {
  11982. "description": "我的包裹待收货数量",
  11983. "type": "integer"
  11984. },
  11985. "myPackageUnSendCount": {
  11986. "description": "我的包裹待发货数量",
  11987. "type": "integer"
  11988. },
  11989. "myPayOrderCount": {
  11990. "description": "我的订单待付款数量",
  11991. "type": "integer"
  11992. }
  11993. }
  11994. },
  11995. "hsby.QueryProvincesAndCitiesRsp": {
  11996. "type": "object",
  11997. "properties": {
  11998. "cities": {
  11999. "description": "市",
  12000. "type": "array",
  12001. "items": {
  12002. "$ref": "#/definitions/models.Division"
  12003. }
  12004. },
  12005. "province": {
  12006. "description": "省",
  12007. "$ref": "#/definitions/models.Division"
  12008. }
  12009. }
  12010. },
  12011. "models.Clientfixedadconfig": {
  12012. "type": "object",
  12013. "required": [
  12014. "adsort",
  12015. "adtype"
  12016. ],
  12017. "properties": {
  12018. "adsort": {
  12019. "description": "排序",
  12020. "type": "integer"
  12021. },
  12022. "adtype": {
  12023. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12024. "type": "integer"
  12025. },
  12026. "areauserid": {
  12027. "description": "所属机构ID",
  12028. "type": "integer"
  12029. },
  12030. "createdate": {
  12031. "description": "创建时间",
  12032. "type": "string"
  12033. },
  12034. "creatorid": {
  12035. "description": "创建人",
  12036. "type": "integer"
  12037. },
  12038. "imagepath": {
  12039. "description": "图片",
  12040. "type": "string"
  12041. },
  12042. "isshow": {
  12043. "description": "是否展示 - 0:不展示 1:展示",
  12044. "type": "integer"
  12045. },
  12046. "modifierid": {
  12047. "description": "操作人",
  12048. "type": "integer"
  12049. },
  12050. "recsize": {
  12051. "description": "推荐尺寸",
  12052. "type": "string"
  12053. },
  12054. "title": {
  12055. "description": "标题",
  12056. "type": "string"
  12057. },
  12058. "updatedate": {
  12059. "description": "更新时间",
  12060. "type": "string"
  12061. },
  12062. "urlcontent": {
  12063. "description": "链接(地址或商品ID)",
  12064. "type": "string"
  12065. },
  12066. "urltype": {
  12067. "description": "链接类型 - 1:直接地址 2:商品ID",
  12068. "type": "integer"
  12069. }
  12070. }
  12071. },
  12072. "models.Division": {
  12073. "type": "object",
  12074. "required": [
  12075. "autoid",
  12076. "divisioncode"
  12077. ],
  12078. "properties": {
  12079. "autoid": {
  12080. "description": "自增ID",
  12081. "type": "integer"
  12082. },
  12083. "divisioncode": {
  12084. "description": "行政代码",
  12085. "type": "string"
  12086. },
  12087. "divisionlevel": {
  12088. "description": "行政级别",
  12089. "type": "string"
  12090. },
  12091. "divisionname": {
  12092. "description": "行政名称",
  12093. "type": "string"
  12094. },
  12095. "modifierid": {
  12096. "description": "修改人",
  12097. "type": "integer"
  12098. },
  12099. "modifytime": {
  12100. "description": "修改时间",
  12101. "type": "string"
  12102. },
  12103. "parentcode": {
  12104. "description": "上级行政代码",
  12105. "type": "string"
  12106. },
  12107. "pathname": {
  12108. "description": "路径名称",
  12109. "type": "string"
  12110. },
  12111. "postcode": {
  12112. "description": "邮政编码",
  12113. "type": "string"
  12114. },
  12115. "separablename": {
  12116. "description": "可拆分的全称",
  12117. "type": "string"
  12118. },
  12119. "shortcode": {
  12120. "description": "地区简码",
  12121. "type": "string"
  12122. }
  12123. }
  12124. },
  12125. "models.Enumdicitem": {
  12126. "type": "object",
  12127. "required": [
  12128. "autoid",
  12129. "enumdiccode",
  12130. "enumdicid",
  12131. "enumitemname"
  12132. ],
  12133. "properties": {
  12134. "autoid": {
  12135. "description": "自增ID",
  12136. "type": "integer"
  12137. },
  12138. "bankmappedvalue": {
  12139. "description": "银行服务对应值",
  12140. "type": "string"
  12141. },
  12142. "enumdiccode": {
  12143. "description": "所属枚举代码",
  12144. "type": "string"
  12145. },
  12146. "enumdicid": {
  12147. "description": "所属枚举ID",
  12148. "type": "integer"
  12149. },
  12150. "enumdicname": {
  12151. "description": "枚举项名称",
  12152. "type": "string"
  12153. },
  12154. "enumitemname": {
  12155. "description": "枚举项值",
  12156. "type": "integer"
  12157. },
  12158. "enumitemstatus": {
  12159. "description": "枚举项状态 - 1.启用 2.不启用",
  12160. "type": "integer"
  12161. },
  12162. "enumitemvalue": {
  12163. "description": "通用值 - [币种通用简写]",
  12164. "type": "string"
  12165. },
  12166. "param1": {
  12167. "description": "参数1[币种:币种小数位]",
  12168. "type": "string"
  12169. },
  12170. "param2": {
  12171. "description": "参数1[币种:币种显示单位]",
  12172. "type": "string"
  12173. },
  12174. "remark": {
  12175. "description": "备注",
  12176. "type": "string"
  12177. }
  12178. }
  12179. },
  12180. "models.ErmcpHisExposure": {
  12181. "type": "object",
  12182. "properties": {
  12183. "needhedgeexposoure": {
  12184. "description": "应套保敞口",
  12185. "type": "number"
  12186. },
  12187. "reckondate": {
  12188. "description": "日照时期(yyyyMMdd)",
  12189. "type": "string"
  12190. },
  12191. "totalexposure": {
  12192. "description": "总敞口",
  12193. "type": "number"
  12194. }
  12195. }
  12196. },
  12197. "models.ErmcpMiddleGoodsModel": {
  12198. "type": "object",
  12199. "properties": {
  12200. "areauserid": {
  12201. "description": "机构用户ID",
  12202. "type": "integer"
  12203. },
  12204. "enumdicname": {
  12205. "description": "单位名称",
  12206. "type": "string"
  12207. },
  12208. "evaluateratio": {
  12209. "description": "估价系数",
  12210. "type": "number"
  12211. },
  12212. "goodsgroupid": {
  12213. "description": "关联期货品种ID",
  12214. "type": "integer"
  12215. },
  12216. "isvalid": {
  12217. "description": "状态 0-无效(停用) 1-有效(正常)",
  12218. "type": "integer"
  12219. },
  12220. "middlegoodscode": {
  12221. "description": "套保品种代码",
  12222. "type": "string"
  12223. },
  12224. "middlegoodsid": {
  12225. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12226. "type": "integer"
  12227. },
  12228. "middlegoodsname": {
  12229. "description": "套保品种名称",
  12230. "type": "string"
  12231. },
  12232. "modifytime": {
  12233. "description": "修改时间",
  12234. "type": "string"
  12235. },
  12236. "needhedgeratio": {
  12237. "description": "套保比率",
  12238. "type": "number"
  12239. },
  12240. "qtydecimalplace": {
  12241. "description": "数量小数位",
  12242. "type": "integer"
  12243. },
  12244. "relatedgoodsid": {
  12245. "description": "关联交易商品ID",
  12246. "type": "integer"
  12247. },
  12248. "relatedgoodstype": {
  12249. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12250. "type": "integer"
  12251. }
  12252. }
  12253. },
  12254. "models.ErmcpReportDayFR": {
  12255. "type": "object",
  12256. "properties": {
  12257. "areauserid": {
  12258. "description": "所属机构",
  12259. "type": "integer"
  12260. },
  12261. "collectinvoiceamount": {
  12262. "description": "今日开票金额",
  12263. "type": "number"
  12264. },
  12265. "collectinvoicecount": {
  12266. "description": "今日开票笔数",
  12267. "type": "integer"
  12268. },
  12269. "collectmoneyamount": {
  12270. "description": "今日收款金额",
  12271. "type": "number"
  12272. },
  12273. "collectmoneycount": {
  12274. "description": "今日收款笔数",
  12275. "type": "integer"
  12276. },
  12277. "payinvoiceamount": {
  12278. "description": "今日收票金额",
  12279. "type": "number"
  12280. },
  12281. "payinvoicecount": {
  12282. "description": "今日收票笔数",
  12283. "type": "integer"
  12284. },
  12285. "paymoneyamount": {
  12286. "description": "今日付款金额",
  12287. "type": "number"
  12288. },
  12289. "paymoneycount": {
  12290. "description": "今日付款笔数",
  12291. "type": "integer"
  12292. },
  12293. "reckondate": {
  12294. "description": "日照时期(yyyyMMdd)",
  12295. "type": "string"
  12296. },
  12297. "updatetime": {
  12298. "description": "更新时间",
  12299. "type": "string"
  12300. }
  12301. }
  12302. },
  12303. "models.ErmcpWrstandard": {
  12304. "type": "object",
  12305. "properties": {
  12306. "areauserid": {
  12307. "description": "所属机构",
  12308. "type": "integer"
  12309. },
  12310. "createtime": {
  12311. "description": "创建时间",
  12312. "type": "string"
  12313. },
  12314. "creatorid": {
  12315. "description": "创建人",
  12316. "type": "integer"
  12317. },
  12318. "deliverygoodsid": {
  12319. "description": "品种ID",
  12320. "type": "integer"
  12321. },
  12322. "enumdicname": {
  12323. "description": "单位名称",
  12324. "type": "string"
  12325. },
  12326. "isvalid": {
  12327. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12328. "type": "integer"
  12329. },
  12330. "minivalue": {
  12331. "description": "最小变动值",
  12332. "type": "integer"
  12333. },
  12334. "minivaluedp": {
  12335. "description": "最小变动值小数位",
  12336. "type": "integer"
  12337. },
  12338. "realminivalue": {
  12339. "description": "实际最小变动值",
  12340. "type": "integer"
  12341. },
  12342. "realminivaluedp": {
  12343. "description": "实际最小变动值小数位",
  12344. "type": "integer"
  12345. },
  12346. "remark": {
  12347. "description": "备注",
  12348. "type": "string"
  12349. },
  12350. "unitid": {
  12351. "description": "单位ID",
  12352. "type": "integer"
  12353. },
  12354. "updatetime": {
  12355. "description": "更新时间",
  12356. "type": "string"
  12357. },
  12358. "wrstandardcode": {
  12359. "description": "现货商品代码",
  12360. "type": "string"
  12361. },
  12362. "wrstandardid": {
  12363. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12364. "type": "integer"
  12365. },
  12366. "wrstandardname": {
  12367. "description": "现货商品名称",
  12368. "type": "string"
  12369. }
  12370. }
  12371. },
  12372. "models.Externalexchange": {
  12373. "type": "object",
  12374. "required": [
  12375. "autoid"
  12376. ],
  12377. "properties": {
  12378. "autoid": {
  12379. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  12380. "type": "integer"
  12381. },
  12382. "exchangefullname": {
  12383. "description": "外部交易所全称",
  12384. "type": "string"
  12385. },
  12386. "exexchangecode": {
  12387. "description": "外部交易所代码",
  12388. "type": "string"
  12389. },
  12390. "exexchangename": {
  12391. "description": "外部交易所名称(简称)",
  12392. "type": "string"
  12393. },
  12394. "ismarketprice": {
  12395. "description": "是否支持市价 - 0:不支持 1:支持",
  12396. "type": "integer"
  12397. },
  12398. "quotegear": {
  12399. "description": "行情档位(1-10)",
  12400. "type": "integer"
  12401. },
  12402. "showbrokerflag": {
  12403. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  12404. "type": "integer"
  12405. },
  12406. "updatetime": {
  12407. "description": "更新时间",
  12408. "type": "string"
  12409. }
  12410. }
  12411. },
  12412. "models.Goods": {
  12413. "type": "object",
  12414. "required": [
  12415. "goodscode",
  12416. "goodsid",
  12417. "goodsname",
  12418. "marketid"
  12419. ],
  12420. "properties": {
  12421. "agreeunit": {
  12422. "description": "合约单位",
  12423. "type": "number"
  12424. },
  12425. "auditaccountid": {
  12426. "description": "审核操作员账号",
  12427. "type": "integer"
  12428. },
  12429. "audittime": {
  12430. "description": "审核时间",
  12431. "type": "string"
  12432. },
  12433. "cancelaccountid": {
  12434. "description": "注销操作员账号",
  12435. "type": "integer"
  12436. },
  12437. "canceltime": {
  12438. "description": "注销时间",
  12439. "type": "string"
  12440. },
  12441. "closepricemode": {
  12442. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12443. "type": "integer"
  12444. },
  12445. "closepriceparam": {
  12446. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12447. "type": "number"
  12448. },
  12449. "createtime": {
  12450. "description": "创建时间",
  12451. "type": "string"
  12452. },
  12453. "creatorid": {
  12454. "description": "创建人",
  12455. "type": "integer"
  12456. },
  12457. "currencyid": {
  12458. "description": "报价货币ID",
  12459. "type": "integer"
  12460. },
  12461. "cutmode": {
  12462. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12463. "type": "integer"
  12464. },
  12465. "decimalplace": {
  12466. "description": "报价小数位",
  12467. "type": "integer"
  12468. },
  12469. "delistingdate": {
  12470. "description": "商品退市时间(状态:退市) -- 已作废",
  12471. "type": "string"
  12472. },
  12473. "delistingmode": {
  12474. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12475. "type": "integer"
  12476. },
  12477. "deliveryflag": {
  12478. "description": "交割标志 - 0:不可交割 1:可交割",
  12479. "type": "integer"
  12480. },
  12481. "forceclosemode": {
  12482. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12483. "type": "integer"
  12484. },
  12485. "forceclosevalue": {
  12486. "description": "定期强平参数 [收益权]",
  12487. "type": "integer"
  12488. },
  12489. "goodscode": {
  12490. "description": "商品代码(内部)",
  12491. "type": "string"
  12492. },
  12493. "goodscurrencyid": {
  12494. "description": "合约货币ID",
  12495. "type": "integer"
  12496. },
  12497. "goodsgroupid": {
  12498. "description": "所属商品组ID",
  12499. "type": "integer"
  12500. },
  12501. "goodsid": {
  12502. "description": "商品ID(自增ID SEQ_GOODS)",
  12503. "type": "integer"
  12504. },
  12505. "goodsname": {
  12506. "description": "商品名称",
  12507. "type": "string"
  12508. },
  12509. "goodsquotetype": {
  12510. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12511. "type": "integer"
  12512. },
  12513. "goodsstatus": {
  12514. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12515. "type": "integer"
  12516. },
  12517. "goodstradetype": {
  12518. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12519. "type": "integer"
  12520. },
  12521. "goodunitid": {
  12522. "description": "报价单位ID",
  12523. "type": "integer"
  12524. },
  12525. "hasquoter": {
  12526. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12527. "type": "integer"
  12528. },
  12529. "hqprotecttime": {
  12530. "description": "行情保护时间(秒)",
  12531. "type": "integer"
  12532. },
  12533. "innerdealmode": {
  12534. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12535. "type": "integer"
  12536. },
  12537. "isbuylimited": {
  12538. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12539. "type": "integer"
  12540. },
  12541. "lasttradedate": {
  12542. "description": "最后交易日期(状态:待退市)",
  12543. "type": "string"
  12544. },
  12545. "listingdate": {
  12546. "description": "交易开始日期",
  12547. "type": "string"
  12548. },
  12549. "marketid": {
  12550. "description": "所属市场ID",
  12551. "type": "integer"
  12552. },
  12553. "modifierid": {
  12554. "description": "修改人",
  12555. "type": "integer"
  12556. },
  12557. "modifystatus": {
  12558. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12559. "type": "integer"
  12560. },
  12561. "modifytime": {
  12562. "description": "修改时间",
  12563. "type": "string"
  12564. },
  12565. "outerdealmode": {
  12566. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12567. "type": "integer"
  12568. },
  12569. "outgoodscode": {
  12570. "description": "商品代码(外部)",
  12571. "type": "string"
  12572. },
  12573. "qtydecimalplace": {
  12574. "description": "成交量小数位",
  12575. "type": "integer"
  12576. },
  12577. "quotegear": {
  12578. "description": "行情档位(1-10)",
  12579. "type": "integer"
  12580. },
  12581. "quoteminunit": {
  12582. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12583. "type": "integer"
  12584. },
  12585. "quoteshowtype": {
  12586. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12587. "type": "integer"
  12588. },
  12589. "quoteshowtypeinterval": {
  12590. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12591. "type": "integer"
  12592. },
  12593. "remark": {
  12594. "description": "备注",
  12595. "type": "string"
  12596. }
  12597. }
  12598. },
  12599. "models.GoodsBrand": {
  12600. "type": "object",
  12601. "properties": {
  12602. "brandid": {
  12603. "description": "品牌ID",
  12604. "type": "integer"
  12605. },
  12606. "brandname": {
  12607. "description": "品牌名称",
  12608. "type": "string"
  12609. },
  12610. "isvalid": {
  12611. "description": "是否有效 - 0:无效 1:有效",
  12612. "type": "integer"
  12613. }
  12614. }
  12615. },
  12616. "models.GoodsGroupConvert": {
  12617. "type": "object",
  12618. "properties": {
  12619. "convertratio": {
  12620. "description": "折算系数",
  12621. "type": "number"
  12622. },
  12623. "dstgoodsgroupid": {
  12624. "description": "目标期货品种ID",
  12625. "type": "integer"
  12626. },
  12627. "goodsgroupname": {
  12628. "description": "期货品种名称",
  12629. "type": "string"
  12630. },
  12631. "outergroupcode": {
  12632. "description": "期货品种代码",
  12633. "type": "string"
  12634. },
  12635. "srcgoodsgroupid": {
  12636. "description": "源期货品种ID",
  12637. "type": "integer"
  12638. }
  12639. }
  12640. },
  12641. "models.GoodsIDAndName": {
  12642. "type": "object",
  12643. "required": [
  12644. "goodscode",
  12645. "goodsid",
  12646. "goodsname",
  12647. "marketid"
  12648. ],
  12649. "properties": {
  12650. "goodscode": {
  12651. "description": "商品代码(内部)",
  12652. "type": "string"
  12653. },
  12654. "goodsid": {
  12655. "description": "商品ID(自增ID SEQ_GOODS)",
  12656. "type": "integer"
  12657. },
  12658. "goodsname": {
  12659. "description": "商品名称",
  12660. "type": "string"
  12661. },
  12662. "marketid": {
  12663. "description": "所属市场ID",
  12664. "type": "integer"
  12665. }
  12666. }
  12667. },
  12668. "models.GoodsTypeModel": {
  12669. "type": "object",
  12670. "properties": {
  12671. "modelid": {
  12672. "description": "型号ID",
  12673. "type": "integer"
  12674. },
  12675. "modelname": {
  12676. "description": "型号名称",
  12677. "type": "string"
  12678. },
  12679. "updatetime": {
  12680. "description": "更新时间",
  12681. "type": "string"
  12682. }
  12683. }
  12684. },
  12685. "models.Goodsgroup": {
  12686. "type": "object",
  12687. "required": [
  12688. "goodsgroupid",
  12689. "goodsgroupname",
  12690. "goodsgroupstatus",
  12691. "marketid"
  12692. ],
  12693. "properties": {
  12694. "agreeunit": {
  12695. "description": "合约单位",
  12696. "type": "number"
  12697. },
  12698. "canshort": {
  12699. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12700. "type": "integer"
  12701. },
  12702. "closepricemode": {
  12703. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12704. "type": "integer"
  12705. },
  12706. "closepriceparam": {
  12707. "description": "强平最新价浮动比例 - 方式为2时使用",
  12708. "type": "number"
  12709. },
  12710. "createtime": {
  12711. "description": "创建时间",
  12712. "type": "string"
  12713. },
  12714. "creatorid": {
  12715. "description": "创建人",
  12716. "type": "integer"
  12717. },
  12718. "currencyid": {
  12719. "description": "报价货币ID",
  12720. "type": "integer"
  12721. },
  12722. "decimalplace": {
  12723. "description": "报价小数位",
  12724. "type": "integer"
  12725. },
  12726. "exercisetype": {
  12727. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  12728. "type": "integer"
  12729. },
  12730. "exexchangeid": {
  12731. "description": "外部交易所ID[通道交易]",
  12732. "type": "integer"
  12733. },
  12734. "goodsgroupid": {
  12735. "description": "商品组ID(自增ID)",
  12736. "type": "integer"
  12737. },
  12738. "goodsgroupname": {
  12739. "description": "商品组名称",
  12740. "type": "string"
  12741. },
  12742. "goodsgroupstatus": {
  12743. "description": "商品组状态 - 1:正常 2:注销",
  12744. "type": "integer"
  12745. },
  12746. "goodunitid": {
  12747. "description": "报价单位ID",
  12748. "type": "integer"
  12749. },
  12750. "innerdealmode": {
  12751. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12752. "type": "integer"
  12753. },
  12754. "isbuylimited": {
  12755. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12756. "type": "integer"
  12757. },
  12758. "marketid": {
  12759. "description": "所属市场ID",
  12760. "type": "integer"
  12761. },
  12762. "modifierid": {
  12763. "description": "修改人",
  12764. "type": "integer"
  12765. },
  12766. "modifytime": {
  12767. "description": "修改时间",
  12768. "type": "string"
  12769. },
  12770. "outerdealmode": {
  12771. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12772. "type": "integer"
  12773. },
  12774. "outergroupcode": {
  12775. "description": "外部商品组代码[通道交易]",
  12776. "type": "string"
  12777. },
  12778. "premiumdecimalplace": {
  12779. "description": "权利金小数位[场外期权]",
  12780. "type": "integer"
  12781. },
  12782. "premiumspreadalgorithm": {
  12783. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  12784. "type": "integer"
  12785. },
  12786. "premiumspreadvalue": {
  12787. "description": "权利金点差值[场外期权]",
  12788. "type": "number"
  12789. },
  12790. "qtydecimalplace": {
  12791. "description": "成交量小数位",
  12792. "type": "integer"
  12793. },
  12794. "quotegear": {
  12795. "description": "行情档位(1-10)",
  12796. "type": "integer"
  12797. },
  12798. "quoteminunit": {
  12799. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12800. "type": "integer"
  12801. },
  12802. "quoterid": {
  12803. "description": "报价商ID[场外期权]",
  12804. "type": "integer"
  12805. },
  12806. "quotesourcegroupid": {
  12807. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12808. "type": "integer"
  12809. },
  12810. "syncgoodsqty": {
  12811. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12812. "type": "integer"
  12813. }
  12814. }
  12815. },
  12816. "models.HsbyBuyMyPayOrder": {
  12817. "type": "object",
  12818. "required": [
  12819. "goodscode",
  12820. "goodsname",
  12821. "tradeid",
  12822. "trademode"
  12823. ],
  12824. "properties": {
  12825. "agreeunit": {
  12826. "description": "合约单位",
  12827. "type": "number"
  12828. },
  12829. "buyaccountid": {
  12830. "description": "买方账号ID[报价币种]",
  12831. "type": "integer"
  12832. },
  12833. "buyorderid": {
  12834. "description": "买方委托单号",
  12835. "type": "string"
  12836. },
  12837. "createtime": {
  12838. "description": "创建时间",
  12839. "type": "string"
  12840. },
  12841. "currencysign": {
  12842. "description": "货币符号",
  12843. "type": "string"
  12844. },
  12845. "decimalplace": {
  12846. "description": "报价小数位",
  12847. "type": "integer"
  12848. },
  12849. "goodscode": {
  12850. "description": "商品代码(内部)",
  12851. "type": "string"
  12852. },
  12853. "goodsid": {
  12854. "description": "商品ID",
  12855. "type": "integer"
  12856. },
  12857. "goodsname": {
  12858. "description": "商品名称",
  12859. "type": "string"
  12860. },
  12861. "marketid": {
  12862. "description": "市场ID",
  12863. "type": "integer"
  12864. },
  12865. "offamount": {
  12866. "description": "优惠金额",
  12867. "type": "number"
  12868. },
  12869. "originalamount": {
  12870. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  12871. "type": "number"
  12872. },
  12873. "payamount": {
  12874. "description": "支付金额 = TradeAmount + TradeCharge",
  12875. "type": "number"
  12876. },
  12877. "payflag": {
  12878. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12879. "type": "integer"
  12880. },
  12881. "paylimitedtime": {
  12882. "description": "支付期限",
  12883. "type": "string"
  12884. },
  12885. "paytime": {
  12886. "description": "付款时间",
  12887. "type": "string"
  12888. },
  12889. "picurls1": {
  12890. "description": "预售商品介绍图片[多张用逗号分隔]",
  12891. "type": "string"
  12892. },
  12893. "picurls2": {
  12894. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12895. "type": "string"
  12896. },
  12897. "sellaccountid": {
  12898. "description": "卖方账号ID[报价币种]",
  12899. "type": "integer"
  12900. },
  12901. "sellorderid": {
  12902. "description": "卖方委托单号",
  12903. "type": "string"
  12904. },
  12905. "tradeamount": {
  12906. "description": "成交金额",
  12907. "type": "number"
  12908. },
  12909. "tradecharge": {
  12910. "description": "成交手续费(买方)",
  12911. "type": "number"
  12912. },
  12913. "tradedate": {
  12914. "description": "交易日(yyyyMMdd)",
  12915. "type": "string"
  12916. },
  12917. "tradeid": {
  12918. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12919. "type": "string"
  12920. },
  12921. "trademode": {
  12922. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12923. "type": "integer"
  12924. },
  12925. "tradeprice": {
  12926. "description": "成交价格",
  12927. "type": "number"
  12928. },
  12929. "tradeqty": {
  12930. "description": "成交数量",
  12931. "type": "integer"
  12932. },
  12933. "vendorname1": {
  12934. "description": "预售商品供应商名称",
  12935. "type": "string"
  12936. },
  12937. "vendorname2": {
  12938. "description": "挂牌商品供应商名称",
  12939. "type": "string"
  12940. }
  12941. }
  12942. },
  12943. "models.HsbyBuyMyTradeDetail": {
  12944. "type": "object",
  12945. "required": [
  12946. "accountid",
  12947. "buyorsell",
  12948. "goodscode",
  12949. "goodsid",
  12950. "goodsname",
  12951. "marketid",
  12952. "orderid",
  12953. "qty",
  12954. "time",
  12955. "trademode"
  12956. ],
  12957. "properties": {
  12958. "accountid": {
  12959. "description": "账户ID[报价币种]",
  12960. "type": "integer"
  12961. },
  12962. "agreeunit": {
  12963. "description": "合约单位",
  12964. "type": "number"
  12965. },
  12966. "amount": {
  12967. "description": "金额 = 价格 * 数量 * 合约单位",
  12968. "type": "number"
  12969. },
  12970. "buyorsell": {
  12971. "description": "买卖 - 0:买 1:卖",
  12972. "type": "integer"
  12973. },
  12974. "currencysign": {
  12975. "description": "货币符号",
  12976. "type": "string"
  12977. },
  12978. "decimalplace": {
  12979. "description": "报价小数位",
  12980. "type": "integer"
  12981. },
  12982. "goodscode": {
  12983. "description": "商品代码(内部)",
  12984. "type": "string"
  12985. },
  12986. "goodsid": {
  12987. "description": "商品ID",
  12988. "type": "integer"
  12989. },
  12990. "goodsname": {
  12991. "description": "商品名称",
  12992. "type": "string"
  12993. },
  12994. "marketid": {
  12995. "description": "市场ID",
  12996. "type": "integer"
  12997. },
  12998. "orderid": {
  12999. "description": "单号(成交单号)",
  13000. "type": "string"
  13001. },
  13002. "picurls1": {
  13003. "description": "预售商品介绍图片[多张用逗号分隔]",
  13004. "type": "string"
  13005. },
  13006. "picurls2": {
  13007. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13008. "type": "string"
  13009. },
  13010. "price": {
  13011. "description": "价格",
  13012. "type": "number"
  13013. },
  13014. "qty": {
  13015. "description": "数量",
  13016. "type": "integer"
  13017. },
  13018. "time": {
  13019. "description": "时间",
  13020. "type": "string"
  13021. },
  13022. "trademode": {
  13023. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13024. "type": "integer"
  13025. },
  13026. "vendorname1": {
  13027. "description": "预售商品供应商名称",
  13028. "type": "string"
  13029. },
  13030. "vendorname2": {
  13031. "description": "挂牌商品供应商名称",
  13032. "type": "string"
  13033. }
  13034. }
  13035. },
  13036. "models.HsbyGoodsOrderDetail": {
  13037. "type": "object",
  13038. "required": [
  13039. "buyorsell",
  13040. "orderid",
  13041. "ordertime"
  13042. ],
  13043. "properties": {
  13044. "buyorsell": {
  13045. "description": "买卖 - 0:买 1:卖",
  13046. "type": "integer"
  13047. },
  13048. "currencysign": {
  13049. "description": "货币符号",
  13050. "type": "string"
  13051. },
  13052. "customername": {
  13053. "description": "客户名称(企业名称),已脱敏",
  13054. "type": "string"
  13055. },
  13056. "enableqty": {
  13057. "description": "可用数量",
  13058. "type": "integer"
  13059. },
  13060. "goodunit": {
  13061. "description": "报价单位",
  13062. "type": "string"
  13063. },
  13064. "orderid": {
  13065. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13066. "type": "string"
  13067. },
  13068. "orderprice": {
  13069. "description": "委托价格",
  13070. "type": "number"
  13071. },
  13072. "ordertime": {
  13073. "description": "委托时间",
  13074. "type": "string"
  13075. }
  13076. }
  13077. },
  13078. "models.HsbyListingGoodsDetail": {
  13079. "type": "object",
  13080. "required": [
  13081. "goodscode",
  13082. "goodsid",
  13083. "goodsname",
  13084. "marketid",
  13085. "trademode"
  13086. ],
  13087. "properties": {
  13088. "agreeunit": {
  13089. "description": "合约单位",
  13090. "type": "number"
  13091. },
  13092. "buymaxqty": {
  13093. "description": "购买上限 [71] - 0为不限",
  13094. "type": "integer"
  13095. },
  13096. "currency": {
  13097. "description": "货币",
  13098. "type": "string"
  13099. },
  13100. "currencysign": {
  13101. "description": "货币符号",
  13102. "type": "string"
  13103. },
  13104. "decimalplace": {
  13105. "description": "报价小数位",
  13106. "type": "integer"
  13107. },
  13108. "desccityid": {
  13109. "description": "目的地(市)ID",
  13110. "type": "integer"
  13111. },
  13112. "descprovinceid": {
  13113. "description": "目的地(省)ID",
  13114. "type": "integer"
  13115. },
  13116. "goodscode": {
  13117. "description": "商品代码(内部)",
  13118. "type": "string"
  13119. },
  13120. "goodsdesc": {
  13121. "description": "商品详情",
  13122. "type": "string"
  13123. },
  13124. "goodsid": {
  13125. "description": "商品ID(自增ID SEQ_GOODS)",
  13126. "type": "integer"
  13127. },
  13128. "goodsname": {
  13129. "description": "商品名称",
  13130. "type": "string"
  13131. },
  13132. "goodsprice": {
  13133. "description": "商品价格",
  13134. "type": "number"
  13135. },
  13136. "hotindex": {
  13137. "description": "景点热度",
  13138. "type": "integer"
  13139. },
  13140. "last": {
  13141. "description": "现价",
  13142. "type": "number"
  13143. },
  13144. "limitdown": {
  13145. "description": "跌停价",
  13146. "type": "number"
  13147. },
  13148. "limitup": {
  13149. "description": "涨停价",
  13150. "type": "number"
  13151. },
  13152. "lotsize": {
  13153. "description": "手数最小变动单位",
  13154. "type": "integer"
  13155. },
  13156. "marketid": {
  13157. "description": "所属市场ID",
  13158. "type": "integer"
  13159. },
  13160. "picurls": {
  13161. "description": "介绍图片[多张用逗号分隔]",
  13162. "type": "string"
  13163. },
  13164. "quoteminunit": {
  13165. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13166. "type": "integer"
  13167. },
  13168. "stepvalue": {
  13169. "description": "价格最小变动单位",
  13170. "type": "number"
  13171. },
  13172. "trademode": {
  13173. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13174. "type": "integer"
  13175. },
  13176. "vendorattr": {
  13177. "description": "供应商附件(多张,逗号分隔)",
  13178. "type": "string"
  13179. },
  13180. "vendorname": {
  13181. "description": "供应商名称",
  13182. "type": "string"
  13183. },
  13184. "vendorphone": {
  13185. "description": "供应商客服电话",
  13186. "type": "string"
  13187. },
  13188. "videourls": {
  13189. "description": "介绍视频[多张用逗号分隔]",
  13190. "type": "string"
  13191. }
  13192. }
  13193. },
  13194. "models.HsbyMarketGoods": {
  13195. "type": "object",
  13196. "required": [
  13197. "accountid",
  13198. "buyorsell",
  13199. "goodscode",
  13200. "goodsid",
  13201. "goodsname",
  13202. "marketid",
  13203. "orderid",
  13204. "trademode"
  13205. ],
  13206. "properties": {
  13207. "accountid": {
  13208. "description": "账户ID[报价币种]",
  13209. "type": "integer"
  13210. },
  13211. "agreeunit": {
  13212. "description": "合约单位",
  13213. "type": "number"
  13214. },
  13215. "buyorsell": {
  13216. "description": "买卖 - 0:买 1:卖",
  13217. "type": "integer"
  13218. },
  13219. "categoryid": {
  13220. "description": "类别ID(WRCATEGORY)",
  13221. "type": "integer"
  13222. },
  13223. "currency": {
  13224. "description": "货币",
  13225. "type": "string"
  13226. },
  13227. "currencysign": {
  13228. "description": "货币符号",
  13229. "type": "string"
  13230. },
  13231. "customername": {
  13232. "description": "卖家名称",
  13233. "type": "string"
  13234. },
  13235. "decimalplace": {
  13236. "description": "报价小数位",
  13237. "type": "integer"
  13238. },
  13239. "goodscode": {
  13240. "description": "商品代码(内部)",
  13241. "type": "string"
  13242. },
  13243. "goodsid": {
  13244. "description": "商品ID",
  13245. "type": "integer"
  13246. },
  13247. "goodsname": {
  13248. "description": "商品名称",
  13249. "type": "string"
  13250. },
  13251. "goodsprice": {
  13252. "description": "商品价格",
  13253. "type": "number"
  13254. },
  13255. "hascoupon": {
  13256. "description": "是否可用优惠卷",
  13257. "type": "boolean"
  13258. },
  13259. "hotindex": {
  13260. "description": "景点热度",
  13261. "type": "integer"
  13262. },
  13263. "marketid": {
  13264. "description": "市场ID",
  13265. "type": "integer"
  13266. },
  13267. "orderid": {
  13268. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13269. "type": "string"
  13270. },
  13271. "orderprice": {
  13272. "description": "委托价格",
  13273. "type": "number"
  13274. },
  13275. "orderstatus": {
  13276. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13277. "type": "integer"
  13278. },
  13279. "picurls": {
  13280. "description": "介绍图片[多张用逗号分隔]",
  13281. "type": "string"
  13282. },
  13283. "quoteminunit": {
  13284. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13285. "type": "integer"
  13286. },
  13287. "sellUserID": {
  13288. "description": "卖方UserID",
  13289. "type": "integer"
  13290. },
  13291. "trademode": {
  13292. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13293. "type": "integer"
  13294. },
  13295. "videourls": {
  13296. "description": "介绍视频[多张用逗号分隔]",
  13297. "type": "string"
  13298. }
  13299. }
  13300. },
  13301. "models.HsbyMarketGoodsDetail": {
  13302. "type": "object",
  13303. "required": [
  13304. "accountid",
  13305. "buyorsell",
  13306. "goodscode",
  13307. "goodsid",
  13308. "goodsname",
  13309. "marketid",
  13310. "orderid",
  13311. "orderqty",
  13312. "trademode"
  13313. ],
  13314. "properties": {
  13315. "accountid": {
  13316. "description": "账户ID[报价币种]",
  13317. "type": "integer"
  13318. },
  13319. "agreeunit": {
  13320. "description": "合约单位",
  13321. "type": "number"
  13322. },
  13323. "buymaxqty": {
  13324. "description": "购买上限 [71] - 0为不限",
  13325. "type": "integer"
  13326. },
  13327. "buyorsell": {
  13328. "description": "买卖 - 0:买 1:卖",
  13329. "type": "integer"
  13330. },
  13331. "cancelqty": {
  13332. "description": "撤单数量",
  13333. "type": "integer"
  13334. },
  13335. "categoryid": {
  13336. "description": "类别ID(WRCATEGORY)",
  13337. "type": "integer"
  13338. },
  13339. "currency": {
  13340. "description": "货币",
  13341. "type": "string"
  13342. },
  13343. "currencysign": {
  13344. "description": "货币符号",
  13345. "type": "string"
  13346. },
  13347. "customername": {
  13348. "description": "卖家名称",
  13349. "type": "string"
  13350. },
  13351. "decimalplace": {
  13352. "description": "报价小数位",
  13353. "type": "integer"
  13354. },
  13355. "goodscode": {
  13356. "description": "商品代码(内部)",
  13357. "type": "string"
  13358. },
  13359. "goodsdesc": {
  13360. "description": "商品详情",
  13361. "type": "string"
  13362. },
  13363. "goodsid": {
  13364. "description": "商品ID",
  13365. "type": "integer"
  13366. },
  13367. "goodsname": {
  13368. "description": "商品名称",
  13369. "type": "string"
  13370. },
  13371. "goodsprice": {
  13372. "description": "商品价格",
  13373. "type": "number"
  13374. },
  13375. "hotindex": {
  13376. "description": "景点热度",
  13377. "type": "integer"
  13378. },
  13379. "lotsize": {
  13380. "description": "手数最小变动单位",
  13381. "type": "integer"
  13382. },
  13383. "marketid": {
  13384. "description": "市场ID",
  13385. "type": "integer"
  13386. },
  13387. "orderid": {
  13388. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13389. "type": "string"
  13390. },
  13391. "orderprice": {
  13392. "description": "委托价格",
  13393. "type": "number"
  13394. },
  13395. "orderqty": {
  13396. "description": "委托数量",
  13397. "type": "integer"
  13398. },
  13399. "orderstatus": {
  13400. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13401. "type": "integer"
  13402. },
  13403. "picurls": {
  13404. "description": "介绍图片[多张用逗号分隔]",
  13405. "type": "string"
  13406. },
  13407. "quoteminunit": {
  13408. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13409. "type": "integer"
  13410. },
  13411. "sellUserID": {
  13412. "description": "卖方UserID",
  13413. "type": "integer"
  13414. },
  13415. "trademode": {
  13416. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13417. "type": "integer"
  13418. },
  13419. "tradeqty": {
  13420. "description": "成交数量",
  13421. "type": "integer"
  13422. },
  13423. "vendorattr": {
  13424. "description": "供应商附件(多张,逗号分隔)",
  13425. "type": "string"
  13426. },
  13427. "vendorname": {
  13428. "description": "供应商名称",
  13429. "type": "string"
  13430. },
  13431. "vendorphone": {
  13432. "description": "供应商客服电话",
  13433. "type": "string"
  13434. },
  13435. "videourls": {
  13436. "description": "介绍视频[多张用逗号分隔]",
  13437. "type": "string"
  13438. }
  13439. }
  13440. },
  13441. "models.HsbyMarketInfo": {
  13442. "type": "object",
  13443. "required": [
  13444. "marketid",
  13445. "marketstatus",
  13446. "trademode"
  13447. ],
  13448. "properties": {
  13449. "marketid": {
  13450. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13451. "type": "integer"
  13452. },
  13453. "marketname": {
  13454. "description": "市场名称",
  13455. "type": "string"
  13456. },
  13457. "marketstatus": {
  13458. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13459. "type": "integer"
  13460. },
  13461. "trademode": {
  13462. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13463. "type": "integer"
  13464. }
  13465. }
  13466. },
  13467. "models.HsbyMyGoods": {
  13468. "type": "object",
  13469. "required": [
  13470. "accountid",
  13471. "goodscode",
  13472. "goodsid",
  13473. "goodsname",
  13474. "marketid",
  13475. "trademode"
  13476. ],
  13477. "properties": {
  13478. "accountid": {
  13479. "description": "账号Id",
  13480. "type": "integer"
  13481. },
  13482. "agreeunit": {
  13483. "description": "合约单位",
  13484. "type": "number"
  13485. },
  13486. "buyaverageprice": {
  13487. "description": "持仓均价",
  13488. "type": "number"
  13489. },
  13490. "buycurholderamount": {
  13491. "description": "买当前持仓总金额[商品币种]",
  13492. "type": "number"
  13493. },
  13494. "buycurpositionqty": {
  13495. "description": "买当前持仓总数量",
  13496. "type": "integer"
  13497. },
  13498. "buymaxqty": {
  13499. "description": "购买上限 [71] - 0为不限",
  13500. "type": "integer"
  13501. },
  13502. "currencysign": {
  13503. "description": "货币符号",
  13504. "type": "string"
  13505. },
  13506. "decimalplace": {
  13507. "description": "报价小数位",
  13508. "type": "integer"
  13509. },
  13510. "enableqty": {
  13511. "description": "可用数量",
  13512. "type": "integer"
  13513. },
  13514. "goodscode": {
  13515. "description": "商品代码(内部)",
  13516. "type": "string"
  13517. },
  13518. "goodsid": {
  13519. "description": "商品Id",
  13520. "type": "integer"
  13521. },
  13522. "goodsname": {
  13523. "description": "商品名称",
  13524. "type": "string"
  13525. },
  13526. "goodsprice": {
  13527. "description": "商品价格",
  13528. "type": "number"
  13529. },
  13530. "goodsstatus": {
  13531. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13532. "type": "integer"
  13533. },
  13534. "last": {
  13535. "description": "现价(仅使用于挂牌点选)",
  13536. "type": "number"
  13537. },
  13538. "limitdown": {
  13539. "description": "跌停价(仅使用于挂牌点选)",
  13540. "type": "number"
  13541. },
  13542. "limitup": {
  13543. "description": "涨停价(仅使用于挂牌点选)",
  13544. "type": "number"
  13545. },
  13546. "lotsize": {
  13547. "description": "手数最小变动单位",
  13548. "type": "integer"
  13549. },
  13550. "marketid": {
  13551. "description": "所属市场ID",
  13552. "type": "integer"
  13553. },
  13554. "picurls": {
  13555. "description": "介绍图片[多张用逗号分隔]",
  13556. "type": "string"
  13557. },
  13558. "quoteminunit": {
  13559. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13560. "type": "integer"
  13561. },
  13562. "stepvalue": {
  13563. "description": "价格最小变动单位",
  13564. "type": "number"
  13565. },
  13566. "trademode": {
  13567. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13568. "type": "integer"
  13569. }
  13570. }
  13571. },
  13572. "models.HsbyMyPackage": {
  13573. "type": "object",
  13574. "required": [
  13575. "goodscode",
  13576. "goodsname",
  13577. "takeorderid",
  13578. "trademode"
  13579. ],
  13580. "properties": {
  13581. "accountid": {
  13582. "description": "账户ID",
  13583. "type": "integer"
  13584. },
  13585. "address": {
  13586. "description": "提货人详细地址",
  13587. "type": "string"
  13588. },
  13589. "agreeunit": {
  13590. "description": "合约单位",
  13591. "type": "number"
  13592. },
  13593. "amount": {
  13594. "description": "提货金额",
  13595. "type": "number"
  13596. },
  13597. "auditer": {
  13598. "description": "审核人",
  13599. "type": "integer"
  13600. },
  13601. "audittime": {
  13602. "description": "审核时间",
  13603. "type": "string"
  13604. },
  13605. "averageprice": {
  13606. "description": "均价",
  13607. "type": "number"
  13608. },
  13609. "cardnum": {
  13610. "description": "提货人证件号码",
  13611. "type": "string"
  13612. },
  13613. "cardtypeid": {
  13614. "description": "提货人证件类型",
  13615. "type": "integer"
  13616. },
  13617. "checkremark": {
  13618. "description": "审核备注",
  13619. "type": "string"
  13620. },
  13621. "currencysign": {
  13622. "description": "货币符号",
  13623. "type": "string"
  13624. },
  13625. "decimalplace": {
  13626. "description": "报价小数位",
  13627. "type": "integer"
  13628. },
  13629. "goodscode": {
  13630. "description": "商品代码(内部)",
  13631. "type": "string"
  13632. },
  13633. "goodsid": {
  13634. "description": "商品ID",
  13635. "type": "integer"
  13636. },
  13637. "goodsname": {
  13638. "description": "商品名称",
  13639. "type": "string"
  13640. },
  13641. "handlestatus": {
  13642. "description": "处理状态",
  13643. "type": "integer"
  13644. },
  13645. "marketid": {
  13646. "description": "市场ID",
  13647. "type": "integer"
  13648. },
  13649. "phonenum": {
  13650. "description": "提货人联系方式",
  13651. "type": "string"
  13652. },
  13653. "picurls": {
  13654. "description": "介绍图片[多张用逗号分隔]",
  13655. "type": "string"
  13656. },
  13657. "qty": {
  13658. "description": "提货数量",
  13659. "type": "number"
  13660. },
  13661. "recivername": {
  13662. "description": "提货人姓名",
  13663. "type": "string"
  13664. },
  13665. "reqtime": {
  13666. "description": "更新时间",
  13667. "type": "string"
  13668. },
  13669. "takemode": {
  13670. "description": "提货方式 - 2:自提 3:配送",
  13671. "type": "integer"
  13672. },
  13673. "takeorderid": {
  13674. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13675. "type": "string"
  13676. },
  13677. "takeorderstatus": {
  13678. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13679. "type": "integer"
  13680. },
  13681. "takeremark": {
  13682. "description": "提货备注",
  13683. "type": "string"
  13684. },
  13685. "tradedate": {
  13686. "description": "交易日(yyyyMMdd)",
  13687. "type": "string"
  13688. },
  13689. "trademode": {
  13690. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13691. "type": "integer"
  13692. },
  13693. "userid": {
  13694. "description": "用户ID",
  13695. "type": "integer"
  13696. },
  13697. "vendorname": {
  13698. "description": "供应商名称",
  13699. "type": "string"
  13700. }
  13701. }
  13702. },
  13703. "models.HsbyPreGoods": {
  13704. "type": "object",
  13705. "required": [
  13706. "goodscode",
  13707. "goodsid",
  13708. "goodsname",
  13709. "marketid",
  13710. "trademode"
  13711. ],
  13712. "properties": {
  13713. "agreeunit": {
  13714. "description": "合约单位",
  13715. "type": "number"
  13716. },
  13717. "currency": {
  13718. "description": "货币",
  13719. "type": "string"
  13720. },
  13721. "currencysign": {
  13722. "description": "货币符号",
  13723. "type": "string"
  13724. },
  13725. "decimalplace": {
  13726. "description": "报价小数位",
  13727. "type": "integer"
  13728. },
  13729. "desccityid": {
  13730. "description": "目的地(市)",
  13731. "type": "integer"
  13732. },
  13733. "descprovinceid": {
  13734. "description": "目的地(省)",
  13735. "type": "integer"
  13736. },
  13737. "enableqty": {
  13738. "description": "剩余数量",
  13739. "type": "integer"
  13740. },
  13741. "goodscode": {
  13742. "description": "商品代码(内部)",
  13743. "type": "string"
  13744. },
  13745. "goodsid": {
  13746. "description": "商品ID(自增ID SEQ_GOODS)",
  13747. "type": "integer"
  13748. },
  13749. "goodsname": {
  13750. "description": "商品名称",
  13751. "type": "string"
  13752. },
  13753. "goodsstatus": {
  13754. "description": "商品状态- 2:未上市 3:上市",
  13755. "type": "integer"
  13756. },
  13757. "lasttradedate": {
  13758. "description": "最后交易日期(状态:待退市)",
  13759. "type": "string"
  13760. },
  13761. "listingdate": {
  13762. "description": "交易开始日期",
  13763. "type": "string"
  13764. },
  13765. "marketid": {
  13766. "description": "所属市场ID",
  13767. "type": "integer"
  13768. },
  13769. "picurls": {
  13770. "description": "介绍图片[多张用逗号分隔]",
  13771. "type": "string"
  13772. },
  13773. "presaledqty": {
  13774. "description": "已预售量(预售结束时更新)",
  13775. "type": "integer"
  13776. },
  13777. "presaleqty": {
  13778. "description": "预售数量",
  13779. "type": "integer"
  13780. },
  13781. "quoteminunit": {
  13782. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13783. "type": "integer"
  13784. },
  13785. "refprice": {
  13786. "description": "参考价格[一口价]",
  13787. "type": "number"
  13788. },
  13789. "relatedgoodsid": {
  13790. "description": "关联交易合约ID",
  13791. "type": "integer"
  13792. },
  13793. "trademode": {
  13794. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13795. "type": "integer"
  13796. },
  13797. "videourls": {
  13798. "description": "介绍视频[多张用逗号分隔]",
  13799. "type": "string"
  13800. }
  13801. }
  13802. },
  13803. "models.HsbyPreGoodsDetail": {
  13804. "type": "object",
  13805. "required": [
  13806. "goodscode",
  13807. "goodsid",
  13808. "goodsname",
  13809. "marketid",
  13810. "trademode"
  13811. ],
  13812. "properties": {
  13813. "agreeunit": {
  13814. "description": "合约单位",
  13815. "type": "number"
  13816. },
  13817. "buymaxqty": {
  13818. "description": "购买上限 [71] - 0为不限",
  13819. "type": "integer"
  13820. },
  13821. "currency": {
  13822. "description": "货币",
  13823. "type": "string"
  13824. },
  13825. "currencysign": {
  13826. "description": "货币符号",
  13827. "type": "string"
  13828. },
  13829. "customername": {
  13830. "description": "发行单位",
  13831. "type": "string"
  13832. },
  13833. "decimalplace": {
  13834. "description": "报价小数位",
  13835. "type": "integer"
  13836. },
  13837. "desccityid": {
  13838. "description": "目的地(市)ID",
  13839. "type": "integer"
  13840. },
  13841. "descprovinceid": {
  13842. "description": "目的地(省)ID",
  13843. "type": "integer"
  13844. },
  13845. "enableqty": {
  13846. "description": "剩余数量",
  13847. "type": "integer"
  13848. },
  13849. "goodscode": {
  13850. "description": "商品代码(内部)",
  13851. "type": "string"
  13852. },
  13853. "goodsdesc": {
  13854. "description": "商品详情",
  13855. "type": "string"
  13856. },
  13857. "goodsid": {
  13858. "description": "商品ID(自增ID SEQ_GOODS)",
  13859. "type": "integer"
  13860. },
  13861. "goodsname": {
  13862. "description": "商品名称",
  13863. "type": "string"
  13864. },
  13865. "goodsstatus": {
  13866. "description": "商品状态- 2:未上市 3:上市",
  13867. "type": "integer"
  13868. },
  13869. "goodunit": {
  13870. "description": "报价单位",
  13871. "type": "string"
  13872. },
  13873. "lasttradedate": {
  13874. "description": "最后交易日期(状态:待退市)",
  13875. "type": "string"
  13876. },
  13877. "listingdate": {
  13878. "description": "交易开始日期",
  13879. "type": "string"
  13880. },
  13881. "lotsize": {
  13882. "description": "手数最小变动单位",
  13883. "type": "integer"
  13884. },
  13885. "marketid": {
  13886. "description": "所属市场ID",
  13887. "type": "integer"
  13888. },
  13889. "picurls": {
  13890. "description": "介绍图片[多张用逗号分隔]",
  13891. "type": "string"
  13892. },
  13893. "presaledqty": {
  13894. "description": "已预售量(预售结束时更新)",
  13895. "type": "integer"
  13896. },
  13897. "presaleqty": {
  13898. "description": "预售数量",
  13899. "type": "integer"
  13900. },
  13901. "quoteminunit": {
  13902. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13903. "type": "integer"
  13904. },
  13905. "refprice": {
  13906. "description": "参考价格[一口价]",
  13907. "type": "number"
  13908. },
  13909. "relatedgoodsid": {
  13910. "description": "关联交易合约ID",
  13911. "type": "integer"
  13912. },
  13913. "stepvalue": {
  13914. "description": "价格最小变动单位",
  13915. "type": "number"
  13916. },
  13917. "trademode": {
  13918. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13919. "type": "integer"
  13920. },
  13921. "vendorattr": {
  13922. "description": "供应商附件(多张,逗号分隔)",
  13923. "type": "string"
  13924. },
  13925. "vendorname": {
  13926. "description": "供应商名称",
  13927. "type": "string"
  13928. },
  13929. "vendorphone": {
  13930. "description": "供应商客服电话",
  13931. "type": "string"
  13932. },
  13933. "videourls": {
  13934. "description": "介绍视频[多张用逗号分隔]",
  13935. "type": "string"
  13936. }
  13937. }
  13938. },
  13939. "models.HsbySellCollectionOrder": {
  13940. "type": "object",
  13941. "required": [
  13942. "goodscode",
  13943. "goodsname",
  13944. "tradeid",
  13945. "trademode"
  13946. ],
  13947. "properties": {
  13948. "agreeunit": {
  13949. "description": "合约单位",
  13950. "type": "number"
  13951. },
  13952. "buyaccountid": {
  13953. "description": "买方账号ID[报价币种]",
  13954. "type": "integer"
  13955. },
  13956. "buyorderid": {
  13957. "description": "买方委托单号",
  13958. "type": "string"
  13959. },
  13960. "createtime": {
  13961. "description": "创建时间",
  13962. "type": "string"
  13963. },
  13964. "currencysign": {
  13965. "description": "货币符号",
  13966. "type": "string"
  13967. },
  13968. "decimalplace": {
  13969. "description": "报价小数位",
  13970. "type": "integer"
  13971. },
  13972. "goodscode": {
  13973. "description": "商品代码(内部)",
  13974. "type": "string"
  13975. },
  13976. "goodsid": {
  13977. "description": "商品ID",
  13978. "type": "integer"
  13979. },
  13980. "goodsname": {
  13981. "description": "商品名称",
  13982. "type": "string"
  13983. },
  13984. "marketid": {
  13985. "description": "市场ID",
  13986. "type": "integer"
  13987. },
  13988. "offamount": {
  13989. "description": "优惠金额",
  13990. "type": "number"
  13991. },
  13992. "payamount": {
  13993. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13994. "type": "number"
  13995. },
  13996. "payflag": {
  13997. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13998. "type": "integer"
  13999. },
  14000. "paylimitedtime": {
  14001. "description": "支付期限",
  14002. "type": "string"
  14003. },
  14004. "paytime": {
  14005. "description": "付款时间",
  14006. "type": "string"
  14007. },
  14008. "picurls": {
  14009. "description": "商品介绍图片[多张用逗号分隔]",
  14010. "type": "string"
  14011. },
  14012. "sellaccountid": {
  14013. "description": "卖方账号ID[报价币种]",
  14014. "type": "integer"
  14015. },
  14016. "sellorderid": {
  14017. "description": "卖方委托单号",
  14018. "type": "string"
  14019. },
  14020. "tradeamount": {
  14021. "description": "成交金额",
  14022. "type": "number"
  14023. },
  14024. "tradecharge": {
  14025. "description": "成交手续费(买方)",
  14026. "type": "number"
  14027. },
  14028. "tradedate": {
  14029. "description": "交易日(yyyyMMdd)",
  14030. "type": "string"
  14031. },
  14032. "tradeid": {
  14033. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14034. "type": "string"
  14035. },
  14036. "trademode": {
  14037. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14038. "type": "integer"
  14039. },
  14040. "tradeprice": {
  14041. "description": "成交价格",
  14042. "type": "number"
  14043. },
  14044. "tradeqty": {
  14045. "description": "成交数量",
  14046. "type": "integer"
  14047. }
  14048. }
  14049. },
  14050. "models.HsbySellMyDetail": {
  14051. "type": "object",
  14052. "required": [
  14053. "accountid",
  14054. "buyorsell",
  14055. "goodscode",
  14056. "goodsid",
  14057. "goodsname",
  14058. "marketid",
  14059. "orderid",
  14060. "time",
  14061. "trademode"
  14062. ],
  14063. "properties": {
  14064. "accountid": {
  14065. "description": "账户ID[报价币种]",
  14066. "type": "integer"
  14067. },
  14068. "agreeunit": {
  14069. "description": "合约单位",
  14070. "type": "number"
  14071. },
  14072. "buyorsell": {
  14073. "description": "买卖 - 0:买 1:卖",
  14074. "type": "integer"
  14075. },
  14076. "currencysign": {
  14077. "description": "货币符号",
  14078. "type": "string"
  14079. },
  14080. "decimalplace": {
  14081. "description": "报价小数位",
  14082. "type": "integer"
  14083. },
  14084. "goodscode": {
  14085. "description": "商品代码(内部)",
  14086. "type": "string"
  14087. },
  14088. "goodsid": {
  14089. "description": "商品ID",
  14090. "type": "integer"
  14091. },
  14092. "goodsname": {
  14093. "description": "商品名称",
  14094. "type": "string"
  14095. },
  14096. "marketid": {
  14097. "description": "市场ID",
  14098. "type": "integer"
  14099. },
  14100. "orderid": {
  14101. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  14102. "type": "string"
  14103. },
  14104. "ordertype": {
  14105. "description": "单据类型:0 - 发布中, 1 - 已完成",
  14106. "type": "integer"
  14107. },
  14108. "picurls": {
  14109. "description": "介绍图片[多张用逗号分隔]",
  14110. "type": "string"
  14111. },
  14112. "price": {
  14113. "description": "价格",
  14114. "type": "number"
  14115. },
  14116. "qty": {
  14117. "description": "数量",
  14118. "type": "integer"
  14119. },
  14120. "time": {
  14121. "description": "时间",
  14122. "type": "string"
  14123. },
  14124. "trademode": {
  14125. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14126. "type": "integer"
  14127. },
  14128. "vendorname": {
  14129. "description": "供应商名称",
  14130. "type": "string"
  14131. }
  14132. }
  14133. },
  14134. "models.HsbyTopGoods": {
  14135. "type": "object",
  14136. "required": [
  14137. "goodscode",
  14138. "goodsid",
  14139. "goodsname",
  14140. "marketid",
  14141. "trademode"
  14142. ],
  14143. "properties": {
  14144. "agreeunit": {
  14145. "description": "合约单位",
  14146. "type": "number"
  14147. },
  14148. "currency": {
  14149. "description": "货币",
  14150. "type": "string"
  14151. },
  14152. "currencysign": {
  14153. "description": "货币符号",
  14154. "type": "string"
  14155. },
  14156. "decimalplace": {
  14157. "description": "报价小数位",
  14158. "type": "integer"
  14159. },
  14160. "desccityid": {
  14161. "description": "目的地(市)",
  14162. "type": "integer"
  14163. },
  14164. "descprovinceid": {
  14165. "description": "目的地(省)",
  14166. "type": "integer"
  14167. },
  14168. "goodscode": {
  14169. "description": "商品代码(内部)",
  14170. "type": "string"
  14171. },
  14172. "goodsid": {
  14173. "description": "商品ID(自增ID SEQ_GOODS)",
  14174. "type": "integer"
  14175. },
  14176. "goodsname": {
  14177. "description": "商品名称",
  14178. "type": "string"
  14179. },
  14180. "hotindex": {
  14181. "description": "景点热度",
  14182. "type": "integer"
  14183. },
  14184. "last": {
  14185. "description": "现价",
  14186. "type": "number"
  14187. },
  14188. "marketid": {
  14189. "description": "所属市场ID",
  14190. "type": "integer"
  14191. },
  14192. "picurls": {
  14193. "description": "介绍图片[多张用逗号分隔]",
  14194. "type": "string"
  14195. },
  14196. "quoteminunit": {
  14197. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14198. "type": "integer"
  14199. },
  14200. "trademode": {
  14201. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14202. "type": "integer"
  14203. },
  14204. "videourls": {
  14205. "description": "介绍视频[多张用逗号分隔]",
  14206. "type": "string"
  14207. }
  14208. }
  14209. },
  14210. "models.HybsMyBuyOrderDetail": {
  14211. "type": "object",
  14212. "required": [
  14213. "accountid",
  14214. "buyorsell",
  14215. "goodscode",
  14216. "goodsid",
  14217. "goodsname",
  14218. "marketid",
  14219. "orderid",
  14220. "orderqty",
  14221. "ordertime",
  14222. "trademode"
  14223. ],
  14224. "properties": {
  14225. "accountid": {
  14226. "description": "账户ID[报价币种]",
  14227. "type": "integer"
  14228. },
  14229. "agreeunit": {
  14230. "description": "合约单位",
  14231. "type": "number"
  14232. },
  14233. "buyorsell": {
  14234. "description": "买卖 - 0:买 1:卖",
  14235. "type": "integer"
  14236. },
  14237. "cancelqty": {
  14238. "description": "撤单数量",
  14239. "type": "integer"
  14240. },
  14241. "currencysign": {
  14242. "description": "货币符号",
  14243. "type": "string"
  14244. },
  14245. "decimalplace": {
  14246. "description": "报价小数位",
  14247. "type": "integer"
  14248. },
  14249. "goodscode": {
  14250. "description": "商品代码(内部)",
  14251. "type": "string"
  14252. },
  14253. "goodsid": {
  14254. "description": "商品ID",
  14255. "type": "integer"
  14256. },
  14257. "goodsname": {
  14258. "description": "商品名称",
  14259. "type": "string"
  14260. },
  14261. "listingselecttype": {
  14262. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14263. "type": "integer"
  14264. },
  14265. "marketid": {
  14266. "description": "市场ID",
  14267. "type": "integer"
  14268. },
  14269. "mybuystatus": {
  14270. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14271. "type": "integer"
  14272. },
  14273. "orderamount": {
  14274. "description": "委托金额",
  14275. "type": "number"
  14276. },
  14277. "orderid": {
  14278. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14279. "type": "string"
  14280. },
  14281. "orderprice": {
  14282. "description": "委托价格",
  14283. "type": "number"
  14284. },
  14285. "orderqty": {
  14286. "description": "委托数量",
  14287. "type": "integer"
  14288. },
  14289. "orderstatus": {
  14290. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14291. "type": "integer"
  14292. },
  14293. "ordertime": {
  14294. "description": "委托时间",
  14295. "type": "string"
  14296. },
  14297. "picurls1": {
  14298. "description": "预售商品介绍图片[多张用逗号分隔]",
  14299. "type": "string"
  14300. },
  14301. "picurls2": {
  14302. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14303. "type": "string"
  14304. },
  14305. "trademode": {
  14306. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14307. "type": "integer"
  14308. },
  14309. "tradeqty": {
  14310. "description": "成交数量",
  14311. "type": "integer"
  14312. },
  14313. "vendorname1": {
  14314. "description": "预售商品供应商名称",
  14315. "type": "string"
  14316. },
  14317. "vendorname2": {
  14318. "description": "挂牌商品供应商名称",
  14319. "type": "string"
  14320. }
  14321. }
  14322. },
  14323. "models.Loginaccount": {
  14324. "type": "object",
  14325. "required": [
  14326. "loginid"
  14327. ],
  14328. "properties": {
  14329. "canoutin": {
  14330. "description": "是否可出入金 - 0:不可 1:可",
  14331. "type": "integer"
  14332. },
  14333. "clientroleid": {
  14334. "description": "终端角色ID",
  14335. "type": "integer"
  14336. },
  14337. "haslogined": {
  14338. "description": "是否已登录 - 0:未登录 1:已登录",
  14339. "type": "integer"
  14340. },
  14341. "hasupdatedpwd": {
  14342. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14343. "type": "integer"
  14344. },
  14345. "lastloginip": {
  14346. "description": "最新登录地址",
  14347. "type": "string"
  14348. },
  14349. "lastloginmode": {
  14350. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14351. "type": "integer"
  14352. },
  14353. "lastloginremark": {
  14354. "description": "最新登录描述",
  14355. "type": "string"
  14356. },
  14357. "lastlogintime": {
  14358. "description": "最新登录时间",
  14359. "type": "string"
  14360. },
  14361. "logincode": {
  14362. "description": "登录代码",
  14363. "type": "string"
  14364. },
  14365. "loginfailnum": {
  14366. "description": "连续登录失败次数(登录成功时清零)",
  14367. "type": "integer"
  14368. },
  14369. "loginid": {
  14370. "description": "登陆账号",
  14371. "type": "integer"
  14372. },
  14373. "loginport": {
  14374. "description": "最新登录端口",
  14375. "type": "integer"
  14376. },
  14377. "loginstatus": {
  14378. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14379. "type": "integer"
  14380. },
  14381. "loginusertype": {
  14382. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14383. "type": "integer"
  14384. },
  14385. "modifierid": {
  14386. "description": "修改人",
  14387. "type": "integer"
  14388. },
  14389. "modifytime": {
  14390. "description": "修改时间",
  14391. "type": "string"
  14392. },
  14393. "pwdwrongcount": {
  14394. "description": "密码错误次数",
  14395. "type": "integer"
  14396. },
  14397. "taaccountrighttype": {
  14398. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14399. "type": "integer"
  14400. },
  14401. "unfreezetime": {
  14402. "description": "账户解冻时间",
  14403. "type": "string"
  14404. },
  14405. "userid": {
  14406. "description": "用户ID",
  14407. "type": "integer"
  14408. }
  14409. }
  14410. },
  14411. "models.Market": {
  14412. "type": "object",
  14413. "required": [
  14414. "marketid",
  14415. "marketstatus",
  14416. "openmethod",
  14417. "reckonpricealgorithm",
  14418. "trademode",
  14419. "tradeproperty"
  14420. ],
  14421. "properties": {
  14422. "auctionwrtype": {
  14423. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14424. "type": "integer"
  14425. },
  14426. "canacceptquote": {
  14427. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14428. "type": "integer"
  14429. },
  14430. "cangoodsexercise": {
  14431. "description": "[期权]是否可现货行权- 0:否 1:是",
  14432. "type": "integer"
  14433. },
  14434. "cangoodsexercisetype": {
  14435. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14436. "type": "integer"
  14437. },
  14438. "canmanualquotestrike": {
  14439. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14440. "type": "integer"
  14441. },
  14442. "canmutistage": {
  14443. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14444. "type": "integer"
  14445. },
  14446. "canpreexercise": {
  14447. "description": "[期权]是否可预申报- 0:否 1:是",
  14448. "type": "integer"
  14449. },
  14450. "clearinterval": {
  14451. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14452. "type": "integer"
  14453. },
  14454. "contracttmp": {
  14455. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14456. "type": "string"
  14457. },
  14458. "exchareaid": {
  14459. "description": "所属交易所,可以没有",
  14460. "type": "integer"
  14461. },
  14462. "goodstype": {
  14463. "description": "商品类型 - 1:交易商品 2:仓单商品",
  14464. "type": "integer"
  14465. },
  14466. "hasrebate": {
  14467. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  14468. "type": "integer"
  14469. },
  14470. "hastradecredit": {
  14471. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  14472. "type": "integer"
  14473. },
  14474. "haswr": {
  14475. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  14476. "type": "integer"
  14477. },
  14478. "isdeductmargin": {
  14479. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  14480. "type": "integer"
  14481. },
  14482. "isrecordsource": {
  14483. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  14484. "type": "integer"
  14485. },
  14486. "isreleasemargin": {
  14487. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  14488. "type": "integer"
  14489. },
  14490. "marginformula": {
  14491. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14492. "type": "integer"
  14493. },
  14494. "marginformula2": {
  14495. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14496. "type": "integer"
  14497. },
  14498. "marketid": {
  14499. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14500. "type": "integer"
  14501. },
  14502. "marketname": {
  14503. "description": "市场名称",
  14504. "type": "string"
  14505. },
  14506. "marketserviceid": {
  14507. "description": "市场服务ID",
  14508. "type": "integer"
  14509. },
  14510. "marketstatus": {
  14511. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14512. "type": "integer"
  14513. },
  14514. "markettype": {
  14515. "description": "市场类型- 1:非交易服务 2:交易服务",
  14516. "type": "integer"
  14517. },
  14518. "matchermode": {
  14519. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14520. "type": "integer"
  14521. },
  14522. "openmethod": {
  14523. "description": "开盘模式 - 0 自动 1手动",
  14524. "type": "integer"
  14525. },
  14526. "otcuserid": {
  14527. "description": "场外期权做市商[场外期权]",
  14528. "type": "integer"
  14529. },
  14530. "outersynctime": {
  14531. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14532. "type": "string"
  14533. },
  14534. "pendingflag": {
  14535. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14536. "type": "integer"
  14537. },
  14538. "pendingtime": {
  14539. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14540. "type": "string"
  14541. },
  14542. "performancetempid": {
  14543. "description": "履约计划模板ID - 作废",
  14544. "type": "integer"
  14545. },
  14546. "premiumquotemode": {
  14547. "description": "权利金报价方式 - 1:自动 2:手动",
  14548. "type": "integer"
  14549. },
  14550. "rebateratio": {
  14551. "description": "返利比率[竞价式]",
  14552. "type": "number"
  14553. },
  14554. "reckonorder": {
  14555. "description": "结算顺序",
  14556. "type": "integer"
  14557. },
  14558. "reckonpricealgorithm": {
  14559. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14560. "type": "integer"
  14561. },
  14562. "reckonpriceparam": {
  14563. "description": "结算价参数",
  14564. "type": "integer"
  14565. },
  14566. "reckontime": {
  14567. "description": "结算时间[通道交易-对冲](HH:mm)",
  14568. "type": "string"
  14569. },
  14570. "roleprioritytype": {
  14571. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14572. "type": "integer"
  14573. },
  14574. "selllistingauditflag": {
  14575. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14576. "type": "integer"
  14577. },
  14578. "trademarkettype": {
  14579. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14580. "type": "integer"
  14581. },
  14582. "trademode": {
  14583. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14584. "type": "integer"
  14585. },
  14586. "tradeproperty": {
  14587. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14588. "type": "integer"
  14589. },
  14590. "tradetype": {
  14591. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14592. "type": "integer"
  14593. }
  14594. }
  14595. },
  14596. "models.Marketrun": {
  14597. "type": "object",
  14598. "required": [
  14599. "marketid",
  14600. "nexttradedate",
  14601. "reckonflag",
  14602. "runstatus",
  14603. "tradedate",
  14604. "tradedate2"
  14605. ],
  14606. "properties": {
  14607. "afternexttradedate": {
  14608. "description": "下下交易日",
  14609. "type": "string"
  14610. },
  14611. "clearquoteflag": {
  14612. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14613. "type": "integer"
  14614. },
  14615. "lastreckondate": {
  14616. "description": "最新交易日(结算成功)",
  14617. "type": "string"
  14618. },
  14619. "machinedate": {
  14620. "description": "机器时间",
  14621. "type": "string"
  14622. },
  14623. "manualflag": {
  14624. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14625. "type": "integer"
  14626. },
  14627. "marketid": {
  14628. "description": "市场ID",
  14629. "type": "integer"
  14630. },
  14631. "nexttradedate": {
  14632. "description": "下一交易日",
  14633. "type": "string"
  14634. },
  14635. "pretradedate": {
  14636. "description": "上一交易日",
  14637. "type": "string"
  14638. },
  14639. "reckonflag": {
  14640. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14641. "type": "integer"
  14642. },
  14643. "runstatus": {
  14644. "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.今日免清算",
  14645. "type": "integer"
  14646. },
  14647. "sectionid": {
  14648. "description": "时间段号[多时段时用]",
  14649. "type": "integer"
  14650. },
  14651. "tradedate": {
  14652. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14653. "type": "string"
  14654. },
  14655. "tradedate2": {
  14656. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14657. "type": "string"
  14658. },
  14659. "updatetime": {
  14660. "description": "更新时间",
  14661. "type": "string"
  14662. }
  14663. }
  14664. },
  14665. "models.Messageboard": {
  14666. "type": "object",
  14667. "required": [
  14668. "messageboardid"
  14669. ],
  14670. "properties": {
  14671. "contactnum": {
  14672. "description": "联系电话",
  14673. "type": "string"
  14674. },
  14675. "createtime": {
  14676. "description": "创建时间",
  14677. "type": "string"
  14678. },
  14679. "message": {
  14680. "description": "留言信息",
  14681. "type": "string"
  14682. },
  14683. "messageboardid": {
  14684. "description": "留言簿ID(SEQ_MessageBoard)",
  14685. "type": "integer"
  14686. },
  14687. "userid": {
  14688. "description": "用户ID",
  14689. "type": "integer"
  14690. }
  14691. }
  14692. },
  14693. "models.MyCoupon": {
  14694. "type": "object",
  14695. "required": [
  14696. "accountid",
  14697. "coupontypeid"
  14698. ],
  14699. "properties": {
  14700. "accountid": {
  14701. "description": "资金账户ID",
  14702. "type": "integer"
  14703. },
  14704. "areauserid": {
  14705. "description": "所属机构",
  14706. "type": "integer"
  14707. },
  14708. "conditionvalue": {
  14709. "description": "条件阈值(可为0)",
  14710. "type": "number"
  14711. },
  14712. "couponcategroy": {
  14713. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14714. "type": "integer"
  14715. },
  14716. "couponname": {
  14717. "description": "优惠券名称",
  14718. "type": "string"
  14719. },
  14720. "coupontypeid": {
  14721. "description": "优惠券类型ID",
  14722. "type": "string"
  14723. },
  14724. "couponvalue": {
  14725. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14726. "type": "number"
  14727. },
  14728. "curfreezeqty": {
  14729. "description": "期末冻结数量",
  14730. "type": "integer"
  14731. },
  14732. "curqty": {
  14733. "description": "期末数量",
  14734. "type": "integer"
  14735. },
  14736. "isgeneral": {
  14737. "description": "是否通用券 - 0:否 1:是",
  14738. "type": "integer"
  14739. },
  14740. "isunusable": {
  14741. "description": "是否不可用",
  14742. "type": "boolean"
  14743. },
  14744. "limitedflag": {
  14745. "description": "是否指定商品 - 0:不限 1:限制",
  14746. "type": "integer"
  14747. },
  14748. "limitedgoodsids": {
  14749. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14750. "type": "string"
  14751. },
  14752. "orifreezeqty": {
  14753. "description": "期初冻结数量",
  14754. "type": "integer"
  14755. },
  14756. "oriqty": {
  14757. "description": "期初数量",
  14758. "type": "integer"
  14759. },
  14760. "reasontype": {
  14761. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14762. "type": "integer"
  14763. },
  14764. "todaydecrease": {
  14765. "description": "今日减少",
  14766. "type": "integer"
  14767. },
  14768. "todayincrease": {
  14769. "description": "今日增加",
  14770. "type": "integer"
  14771. },
  14772. "userid": {
  14773. "description": "用户ID",
  14774. "type": "integer"
  14775. },
  14776. "userscope": {
  14777. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14778. "type": "string"
  14779. }
  14780. }
  14781. },
  14782. "models.MyCouponHold": {
  14783. "type": "object",
  14784. "required": [
  14785. "couponholdid"
  14786. ],
  14787. "properties": {
  14788. "accountid": {
  14789. "description": "资金账户ID",
  14790. "type": "integer"
  14791. },
  14792. "conditionvalue": {
  14793. "description": "条件阈值(可为0)",
  14794. "type": "number"
  14795. },
  14796. "couponcategroy": {
  14797. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14798. "type": "integer"
  14799. },
  14800. "couponholdid": {
  14801. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14802. "type": "string"
  14803. },
  14804. "couponname": {
  14805. "description": "优惠券名称",
  14806. "type": "string"
  14807. },
  14808. "coupontypeid": {
  14809. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14810. "type": "string"
  14811. },
  14812. "couponvalue": {
  14813. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14814. "type": "number"
  14815. },
  14816. "createtime": {
  14817. "description": "创建时间",
  14818. "type": "string"
  14819. },
  14820. "enddate": {
  14821. "description": "结束日期",
  14822. "type": "string"
  14823. },
  14824. "giveapplyid": {
  14825. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14826. "type": "integer"
  14827. },
  14828. "holdstatus": {
  14829. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14830. "type": "integer"
  14831. },
  14832. "isgeneral": {
  14833. "description": "是否通用券 - 0:否 1:是",
  14834. "type": "integer"
  14835. },
  14836. "limitedflag": {
  14837. "description": "是否指定商品 - 0:不限 1:限制",
  14838. "type": "integer"
  14839. },
  14840. "limitedgoodsids": {
  14841. "description": "指定商品IDs[逗号分隔]",
  14842. "type": "string"
  14843. },
  14844. "qty": {
  14845. "description": "数量(按1平铺)",
  14846. "type": "integer"
  14847. },
  14848. "startdate": {
  14849. "description": "开始日期",
  14850. "type": "string"
  14851. },
  14852. "userid": {
  14853. "description": "用户ID",
  14854. "type": "integer"
  14855. },
  14856. "userscope": {
  14857. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14858. "type": "string"
  14859. }
  14860. }
  14861. },
  14862. "models.MyUsedCoupon": {
  14863. "type": "object",
  14864. "required": [
  14865. "coupontypeid",
  14866. "orderid"
  14867. ],
  14868. "properties": {
  14869. "accountid": {
  14870. "description": "资金账户ID(买方)",
  14871. "type": "integer"
  14872. },
  14873. "conditionvalue": {
  14874. "description": "条件阈值(可为0)",
  14875. "type": "number"
  14876. },
  14877. "couponcategroy": {
  14878. "description": "种类 - 1:现金券 2:折扣券",
  14879. "type": "integer"
  14880. },
  14881. "couponname": {
  14882. "description": "优惠券名称",
  14883. "type": "string"
  14884. },
  14885. "coupontypeid": {
  14886. "description": "优惠券类型ID(买方)",
  14887. "type": "string"
  14888. },
  14889. "couponvalue": {
  14890. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14891. "type": "number"
  14892. },
  14893. "createtime": {
  14894. "description": "创建时间",
  14895. "type": "string"
  14896. },
  14897. "goodsid": {
  14898. "description": "商品ID",
  14899. "type": "integer"
  14900. },
  14901. "handlestatus": {
  14902. "description": "处理状态",
  14903. "type": "integer"
  14904. },
  14905. "marketid": {
  14906. "description": "市场ID",
  14907. "type": "integer"
  14908. },
  14909. "offamount": {
  14910. "description": "优惠金额",
  14911. "type": "number"
  14912. },
  14913. "orderid": {
  14914. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14915. "type": "string"
  14916. },
  14917. "sellaccountid": {
  14918. "description": "资金账户ID(卖方)",
  14919. "type": "integer"
  14920. },
  14921. "tradeamount": {
  14922. "description": "成交金额",
  14923. "type": "number"
  14924. },
  14925. "tradeid": {
  14926. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14927. "type": "string"
  14928. },
  14929. "usedqty": {
  14930. "description": "使用数量",
  14931. "type": "integer"
  14932. }
  14933. }
  14934. },
  14935. "models.OperationPrimaryMenu": {
  14936. "type": "object",
  14937. "properties": {
  14938. "Children": {
  14939. "description": "二级功能菜单",
  14940. "type": "array",
  14941. "items": {
  14942. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14943. }
  14944. },
  14945. "Key": {
  14946. "description": "菜单KEY",
  14947. "type": "string"
  14948. },
  14949. "Label": {
  14950. "description": "菜单标题",
  14951. "type": "string"
  14952. }
  14953. }
  14954. },
  14955. "models.OperationSecondaryMenu": {
  14956. "type": "object",
  14957. "properties": {
  14958. "Key": {
  14959. "description": "菜单KEY",
  14960. "type": "string"
  14961. },
  14962. "Label": {
  14963. "description": "菜单标题",
  14964. "type": "string"
  14965. },
  14966. "TabList": {
  14967. "description": "三级功能菜单",
  14968. "type": "array",
  14969. "items": {
  14970. "$ref": "#/definitions/models.OperationTabMenu"
  14971. }
  14972. }
  14973. }
  14974. },
  14975. "models.OperationTabMenu": {
  14976. "type": "object",
  14977. "properties": {
  14978. "Key": {
  14979. "description": "菜单KEY",
  14980. "type": "string"
  14981. },
  14982. "Label": {
  14983. "description": "菜单标题",
  14984. "type": "string"
  14985. }
  14986. }
  14987. },
  14988. "models.QueryErrorInfosRsp": {
  14989. "type": "object",
  14990. "required": [
  14991. "errorid"
  14992. ],
  14993. "properties": {
  14994. "description": {
  14995. "description": "异常描述",
  14996. "type": "string"
  14997. },
  14998. "errorcode": {
  14999. "description": "异常代码",
  15000. "type": "string"
  15001. },
  15002. "errorid": {
  15003. "description": "异常ID",
  15004. "type": "integer"
  15005. },
  15006. "modulecode": {
  15007. "description": "所属模块",
  15008. "type": "string"
  15009. },
  15010. "operatecode": {
  15011. "description": "所属操作",
  15012. "type": "string"
  15013. },
  15014. "rownumber": {
  15015. "description": "行号",
  15016. "type": "string"
  15017. }
  15018. }
  15019. },
  15020. "models.QueryHedgeOrderDetailRsp": {
  15021. "type": "object",
  15022. "properties": {
  15023. "accountid": {
  15024. "description": "账户ID",
  15025. "type": "integer"
  15026. },
  15027. "buyorsell": {
  15028. "description": "买卖 - 0:买 1:卖",
  15029. "type": "integer"
  15030. },
  15031. "channelbuildtype": {
  15032. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  15033. "type": "integer"
  15034. },
  15035. "channelinnerorderstatus": {
  15036. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  15037. "type": "integer"
  15038. },
  15039. "channeloperatetype": {
  15040. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  15041. "type": "integer"
  15042. },
  15043. "closetype": {
  15044. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15045. "type": "integer"
  15046. },
  15047. "curexchangerate": {
  15048. "description": "当前汇率",
  15049. "type": "number"
  15050. },
  15051. "exchangefullname": {
  15052. "description": "外部交易所全称",
  15053. "type": "string"
  15054. },
  15055. "goodscode": {
  15056. "description": "商品代码(内部)",
  15057. "type": "string"
  15058. },
  15059. "goodsid": {
  15060. "description": "商品ID",
  15061. "type": "integer"
  15062. },
  15063. "goodsname": {
  15064. "description": "商品名称",
  15065. "type": "string"
  15066. },
  15067. "marketid": {
  15068. "description": "市场ID",
  15069. "type": "integer"
  15070. },
  15071. "openfreezemargin": {
  15072. "description": "冻结保证金(冻结交易金额)",
  15073. "type": "number"
  15074. },
  15075. "orderid": {
  15076. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15077. "type": "string"
  15078. },
  15079. "orderprice": {
  15080. "description": "委托价格(账户)",
  15081. "type": "number"
  15082. },
  15083. "orderqty": {
  15084. "description": "委托数量",
  15085. "type": "integer"
  15086. },
  15087. "ordertime": {
  15088. "description": "委托时间",
  15089. "type": "string"
  15090. },
  15091. "pricemode": {
  15092. "description": "取价方式 - 1:市价 2: 限价",
  15093. "type": "integer"
  15094. },
  15095. "tradedate": {
  15096. "description": "交易日(yyyyMMdd)",
  15097. "type": "string"
  15098. },
  15099. "tradeqty": {
  15100. "description": "成交数量",
  15101. "type": "integer"
  15102. }
  15103. }
  15104. },
  15105. "models.QueryHedgeTradeDetailRsp": {
  15106. "type": "object",
  15107. "properties": {
  15108. "accountid": {
  15109. "description": "账号ID",
  15110. "type": "integer"
  15111. },
  15112. "buyorsell": {
  15113. "description": "方向 - 0:买 1:卖",
  15114. "type": "integer"
  15115. },
  15116. "channelbuildtype": {
  15117. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15118. "type": "integer"
  15119. },
  15120. "closecharge": {
  15121. "description": "平仓手续费(账户)",
  15122. "type": "number"
  15123. },
  15124. "closecharge2": {
  15125. "description": "平仓手续费(商品)",
  15126. "type": "number"
  15127. },
  15128. "closetype": {
  15129. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15130. "type": "integer"
  15131. },
  15132. "curexchangerate": {
  15133. "description": "当前汇率",
  15134. "type": "number"
  15135. },
  15136. "exchangefullname": {
  15137. "description": "外部交易所全称",
  15138. "type": "string"
  15139. },
  15140. "goodscode": {
  15141. "description": "商品代码(内部)",
  15142. "type": "string"
  15143. },
  15144. "goodsid": {
  15145. "description": "商品ID",
  15146. "type": "integer"
  15147. },
  15148. "goodsname": {
  15149. "description": "商品名称",
  15150. "type": "string"
  15151. },
  15152. "marketid": {
  15153. "description": "市场ID",
  15154. "type": "integer"
  15155. },
  15156. "opencharge": {
  15157. "description": "建仓手续费(账户)",
  15158. "type": "number"
  15159. },
  15160. "opencharge2": {
  15161. "description": "建仓手续费(商品)",
  15162. "type": "number"
  15163. },
  15164. "orderid": {
  15165. "description": "委托单号",
  15166. "type": "string"
  15167. },
  15168. "tradeamount": {
  15169. "description": "成交金额(账户)",
  15170. "type": "number"
  15171. },
  15172. "tradedate": {
  15173. "description": "交易日(yyyyMMdd)",
  15174. "type": "string"
  15175. },
  15176. "tradeid": {
  15177. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15178. "type": "string"
  15179. },
  15180. "tradeprice": {
  15181. "description": "成交价格",
  15182. "type": "number"
  15183. },
  15184. "tradeqty": {
  15185. "description": "成交数量",
  15186. "type": "integer"
  15187. },
  15188. "tradetime": {
  15189. "description": "成交时间",
  15190. "type": "string"
  15191. },
  15192. "tradetype": {
  15193. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  15194. "type": "integer"
  15195. }
  15196. }
  15197. },
  15198. "models.QuotePrimaryMenu": {
  15199. "type": "object",
  15200. "properties": {
  15201. "Index": {
  15202. "description": "序号",
  15203. "type": "integer"
  15204. },
  15205. "Key": {
  15206. "description": "键名",
  15207. "type": "string"
  15208. },
  15209. "Name": {
  15210. "description": "菜单名称",
  15211. "type": "string"
  15212. },
  15213. "SubMenus": {
  15214. "description": "子菜单",
  15215. "type": "array",
  15216. "items": {
  15217. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15218. }
  15219. },
  15220. "SubTitleType": {
  15221. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15222. "type": "integer"
  15223. },
  15224. "TradeModes": {
  15225. "description": "包含市场交易类型",
  15226. "type": "string"
  15227. }
  15228. }
  15229. },
  15230. "models.QuoteSecondaryMenu": {
  15231. "type": "object",
  15232. "properties": {
  15233. "ExExchangeCode": {
  15234. "description": "外部交易所代码",
  15235. "type": "string"
  15236. },
  15237. "ExExchangeID": {
  15238. "description": "外部交易所ID",
  15239. "type": "integer"
  15240. },
  15241. "GoodsGroupIDs": {
  15242. "description": "商品组ID列表",
  15243. "type": "array",
  15244. "items": {
  15245. "type": "integer"
  15246. }
  15247. },
  15248. "Index": {
  15249. "description": "序号",
  15250. "type": "integer"
  15251. },
  15252. "MarketID": {
  15253. "description": "市场ID",
  15254. "type": "integer"
  15255. },
  15256. "MenuTitle": {
  15257. "description": "菜单标题(市场名称或外部交易所名称)",
  15258. "type": "string"
  15259. },
  15260. "TradeMode": {
  15261. "description": "交易模式",
  15262. "type": "integer"
  15263. }
  15264. }
  15265. },
  15266. "models.RelatedGoodsEx": {
  15267. "type": "object",
  15268. "properties": {
  15269. "goodscode": {
  15270. "description": "商品代码",
  15271. "type": "string"
  15272. },
  15273. "goodsid": {
  15274. "description": "商品id",
  15275. "type": "integer"
  15276. },
  15277. "goodsname": {
  15278. "description": "商品名称",
  15279. "type": "string"
  15280. }
  15281. }
  15282. },
  15283. "models.SearchGoods": {
  15284. "type": "object",
  15285. "required": [
  15286. "goodscode",
  15287. "goodsid",
  15288. "goodsname",
  15289. "marketid",
  15290. "trademode"
  15291. ],
  15292. "properties": {
  15293. "goodscode": {
  15294. "description": "商品代码(内部)",
  15295. "type": "string"
  15296. },
  15297. "goodsid": {
  15298. "description": "商品ID(自增ID SEQ_GOODS)",
  15299. "type": "integer"
  15300. },
  15301. "goodsname": {
  15302. "description": "商品名称",
  15303. "type": "string"
  15304. },
  15305. "marketid": {
  15306. "description": "所属市场ID",
  15307. "type": "integer"
  15308. },
  15309. "marketname": {
  15310. "description": "市场名称",
  15311. "type": "string"
  15312. },
  15313. "trademode": {
  15314. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15315. "type": "integer"
  15316. }
  15317. }
  15318. },
  15319. "models.Systemparam": {
  15320. "type": "object",
  15321. "required": [
  15322. "paramcode"
  15323. ],
  15324. "properties": {
  15325. "loginid": {
  15326. "description": "更新用户账号,登录账号",
  15327. "type": "string"
  15328. },
  15329. "modifyflag": {
  15330. "description": "修改标志0 不允许修改 1 允许修改",
  15331. "type": "integer"
  15332. },
  15333. "paramcode": {
  15334. "description": "参数代码",
  15335. "type": "string"
  15336. },
  15337. "paramname": {
  15338. "description": "参数名",
  15339. "type": "string"
  15340. },
  15341. "paramtype": {
  15342. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  15343. "type": "integer"
  15344. },
  15345. "paramvalue": {
  15346. "description": "参数值",
  15347. "type": "string"
  15348. },
  15349. "paramvalue2": {
  15350. "description": "参数值(CLOB)",
  15351. "type": "string"
  15352. },
  15353. "regexpress": {
  15354. "description": "正则表达式",
  15355. "type": "string"
  15356. },
  15357. "remark": {
  15358. "description": "备注",
  15359. "type": "string"
  15360. },
  15361. "serverip": {
  15362. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  15363. "type": "string"
  15364. },
  15365. "showflag": {
  15366. "description": "是否显示0 不显示 1 显示",
  15367. "type": "integer"
  15368. },
  15369. "updatetime": {
  15370. "description": "更新时间",
  15371. "type": "string"
  15372. },
  15373. "userid": {
  15374. "description": "更新用户ID",
  15375. "type": "integer"
  15376. }
  15377. }
  15378. },
  15379. "models.Szdz3convertconfig": {
  15380. "type": "object",
  15381. "required": [
  15382. "converttype",
  15383. "innergoodsid",
  15384. "outergoodscode"
  15385. ],
  15386. "properties": {
  15387. "canin": {
  15388. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15389. "type": "integer"
  15390. },
  15391. "canout": {
  15392. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15393. "type": "integer"
  15394. },
  15395. "converttype": {
  15396. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15397. "type": "integer"
  15398. },
  15399. "createtime": {
  15400. "description": "创建时间",
  15401. "type": "string"
  15402. },
  15403. "creatorid": {
  15404. "description": "创建人",
  15405. "type": "integer"
  15406. },
  15407. "daymaxvalue": {
  15408. "description": "当日最大转入限制",
  15409. "type": "number"
  15410. },
  15411. "freezedays": {
  15412. "description": "冻结天数 [5:花生米转交易]",
  15413. "type": "integer"
  15414. },
  15415. "innergoodsid": {
  15416. "description": "内部商品ID[交易]",
  15417. "type": "integer"
  15418. },
  15419. "inratio": {
  15420. "description": "目标值",
  15421. "type": "integer"
  15422. },
  15423. "modifierid": {
  15424. "description": "修改人",
  15425. "type": "integer"
  15426. },
  15427. "modifytime": {
  15428. "description": "修改时间",
  15429. "type": "string"
  15430. },
  15431. "outergoodscode": {
  15432. "description": "外部商品代码[JD\\PD]",
  15433. "type": "string"
  15434. },
  15435. "outratio": {
  15436. "description": "源值",
  15437. "type": "integer"
  15438. },
  15439. "pddecimalplace": {
  15440. "description": "PD小数位",
  15441. "type": "integer"
  15442. },
  15443. "timemaxvalue": {
  15444. "description": "单次最大转入限制",
  15445. "type": "number"
  15446. },
  15447. "timeminvalue": {
  15448. "description": "单次最小转入限制",
  15449. "type": "number"
  15450. }
  15451. }
  15452. },
  15453. "models.Szdz3searchwhitelist": {
  15454. "type": "object",
  15455. "required": [
  15456. "userid"
  15457. ],
  15458. "properties": {
  15459. "createtime": {
  15460. "description": "创建时间",
  15461. "type": "string"
  15462. },
  15463. "creatorid": {
  15464. "description": "创建人",
  15465. "type": "integer"
  15466. },
  15467. "modifierid": {
  15468. "description": "修改人",
  15469. "type": "integer"
  15470. },
  15471. "modifytime": {
  15472. "description": "修改时间",
  15473. "type": "string"
  15474. },
  15475. "userid": {
  15476. "description": "用户ID",
  15477. "type": "integer"
  15478. }
  15479. }
  15480. },
  15481. "models.Taaccount": {
  15482. "type": "object",
  15483. "required": [
  15484. "accountid",
  15485. "userid"
  15486. ],
  15487. "properties": {
  15488. "accountflag": {
  15489. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  15490. "type": "integer"
  15491. },
  15492. "accountid": {
  15493. "description": "资金账户ID",
  15494. "type": "integer"
  15495. },
  15496. "accountname": {
  15497. "description": "账户名称",
  15498. "type": "string"
  15499. },
  15500. "balance": {
  15501. "description": "期初余额",
  15502. "type": "number"
  15503. },
  15504. "capitalbalance": {
  15505. "description": "本金余额[外部子账户实际出入金余额]",
  15506. "type": "number"
  15507. },
  15508. "changeflag": {
  15509. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  15510. "type": "integer"
  15511. },
  15512. "changetime": {
  15513. "description": "账户状态变更时间",
  15514. "type": "string"
  15515. },
  15516. "closepl": {
  15517. "description": "今日平仓盈亏",
  15518. "type": "number"
  15519. },
  15520. "creditdecrease": {
  15521. "description": "今日授信减少",
  15522. "type": "number"
  15523. },
  15524. "creditincrease": {
  15525. "description": "今日授信增加",
  15526. "type": "number"
  15527. },
  15528. "currencyid": {
  15529. "description": "货币ID",
  15530. "type": "integer"
  15531. },
  15532. "currentbalance": {
  15533. "description": "期末余额",
  15534. "type": "number"
  15535. },
  15536. "freezecharge": {
  15537. "description": "手续费冻结",
  15538. "type": "number"
  15539. },
  15540. "freezemargin": {
  15541. "description": "冻结保证金",
  15542. "type": "number"
  15543. },
  15544. "fromaccountid": {
  15545. "description": "所属上级账户",
  15546. "type": "integer"
  15547. },
  15548. "inamount": {
  15549. "description": "今日入金金额(包括三方入金)",
  15550. "type": "number"
  15551. },
  15552. "ismain": {
  15553. "description": "是否母账号 0:不是母账户 1:是母账户",
  15554. "type": "integer"
  15555. },
  15556. "ismarketaccount": {
  15557. "description": "是否机构接单账号 0:不是 1:是",
  15558. "type": "integer"
  15559. },
  15560. "isreckonaccount": {
  15561. "description": "是否机构分润账号 0:不是 1:是",
  15562. "type": "integer"
  15563. },
  15564. "mortgagecredit": {
  15565. "description": "授信金额",
  15566. "type": "number"
  15567. },
  15568. "orifreezecharge": {
  15569. "description": "期初手续费冻结",
  15570. "type": "number"
  15571. },
  15572. "orifreezemargin": {
  15573. "description": "期初冻结保证金",
  15574. "type": "number"
  15575. },
  15576. "orimortgagecredit": {
  15577. "description": "期初授信金额",
  15578. "type": "number"
  15579. },
  15580. "oriothercredit": {
  15581. "description": "期初其它授信金额",
  15582. "type": "number"
  15583. },
  15584. "oriotherfreezemargin": {
  15585. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15586. "type": "number"
  15587. },
  15588. "orioutamountfreeze": {
  15589. "description": "期初出金冻结",
  15590. "type": "number"
  15591. },
  15592. "oriusedmargin": {
  15593. "description": "期初占用保证金",
  15594. "type": "number"
  15595. },
  15596. "othercredit": {
  15597. "description": "其它授信金额",
  15598. "type": "number"
  15599. },
  15600. "othercreditdecrease": {
  15601. "description": "今日其它授信减少",
  15602. "type": "number"
  15603. },
  15604. "othercreditincrease": {
  15605. "description": "今日其它授信增加",
  15606. "type": "number"
  15607. },
  15608. "otherfreezemargin": {
  15609. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15610. "type": "number"
  15611. },
  15612. "otherincome": {
  15613. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15614. "type": "number"
  15615. },
  15616. "otherpay": {
  15617. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15618. "type": "number"
  15619. },
  15620. "outamount": {
  15621. "description": "今日出金金额(包括三方出金)",
  15622. "type": "number"
  15623. },
  15624. "outamountfreeze": {
  15625. "description": "出金冻结",
  15626. "type": "number"
  15627. },
  15628. "outthreshold": {
  15629. "description": "出金阈值",
  15630. "type": "number"
  15631. },
  15632. "parentaccountid": {
  15633. "description": "所属根账号",
  15634. "type": "integer"
  15635. },
  15636. "paycharge": {
  15637. "description": "今日手续费支出",
  15638. "type": "number"
  15639. },
  15640. "relatedaccountstatus": {
  15641. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15642. "type": "integer"
  15643. },
  15644. "relateduserid": {
  15645. "description": "关联用户",
  15646. "type": "integer"
  15647. },
  15648. "serivcegroup": {
  15649. "description": "服务分组",
  15650. "type": "integer"
  15651. },
  15652. "signstatus": {
  15653. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15654. "type": "integer"
  15655. },
  15656. "sublevelpath": {
  15657. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15658. "type": "string"
  15659. },
  15660. "taaccounttype": {
  15661. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15662. "type": "integer"
  15663. },
  15664. "thirdinamount": {
  15665. "description": "今日三方入金",
  15666. "type": "number"
  15667. },
  15668. "thirdoutamount": {
  15669. "description": "今日三方出金",
  15670. "type": "number"
  15671. },
  15672. "tradestatus": {
  15673. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15674. "type": "integer"
  15675. },
  15676. "tradestatuschangetime": {
  15677. "description": "激活时间",
  15678. "type": "string"
  15679. },
  15680. "transferamount": {
  15681. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15682. "type": "number"
  15683. },
  15684. "usedmargin": {
  15685. "description": "占用保证金",
  15686. "type": "number"
  15687. },
  15688. "userid": {
  15689. "description": "用户ID",
  15690. "type": "integer"
  15691. }
  15692. }
  15693. },
  15694. "models.Tablecolumnconfig": {
  15695. "type": "object",
  15696. "required": [
  15697. "autoid"
  15698. ],
  15699. "properties": {
  15700. "aligntype": {
  15701. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15702. "type": "integer"
  15703. },
  15704. "autoid": {
  15705. "description": "AutoID",
  15706. "type": "integer"
  15707. },
  15708. "columnfield": {
  15709. "description": "列字段",
  15710. "type": "string"
  15711. },
  15712. "columntitle": {
  15713. "description": "列Title",
  15714. "type": "string"
  15715. },
  15716. "columnwidth": {
  15717. "description": "列宽",
  15718. "type": "string"
  15719. },
  15720. "formatterstring": {
  15721. "description": "格式化字符",
  15722. "type": "string"
  15723. },
  15724. "formattertype": {
  15725. "description": "格式化类型",
  15726. "type": "string"
  15727. },
  15728. "groupname": {
  15729. "description": "表头分组名称",
  15730. "type": "string"
  15731. },
  15732. "isshow": {
  15733. "description": "是否显示 - 0:不显示 1:显示",
  15734. "type": "integer"
  15735. },
  15736. "needsummary": {
  15737. "description": "是否需要汇总 - 0:不需要 1:需要",
  15738. "type": "integer"
  15739. },
  15740. "orderindex": {
  15741. "description": "顺序",
  15742. "type": "integer"
  15743. },
  15744. "remark": {
  15745. "description": "备注",
  15746. "type": "string"
  15747. },
  15748. "summarytype": {
  15749. "description": "汇总类型 - 1:加总 2:最后一个",
  15750. "type": "integer"
  15751. },
  15752. "tablekey": {
  15753. "description": "列表Key",
  15754. "type": "string"
  15755. }
  15756. }
  15757. },
  15758. "models.Useraccount": {
  15759. "type": "object",
  15760. "required": [
  15761. "userid"
  15762. ],
  15763. "properties": {
  15764. "accountname": {
  15765. "description": "账户名称(机构名称)",
  15766. "type": "string"
  15767. },
  15768. "accountstatus": {
  15769. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15770. "type": "integer"
  15771. },
  15772. "auditremark": {
  15773. "description": "审核备注",
  15774. "type": "string"
  15775. },
  15776. "audittime": {
  15777. "description": "审核时间",
  15778. "type": "string"
  15779. },
  15780. "audituserid": {
  15781. "description": "审核人",
  15782. "type": "integer"
  15783. },
  15784. "broker": {
  15785. "description": "所属经纪人ID",
  15786. "type": "integer"
  15787. },
  15788. "canceltime": {
  15789. "description": "销户时间",
  15790. "type": "string"
  15791. },
  15792. "canceluserid": {
  15793. "description": "销户人",
  15794. "type": "integer"
  15795. },
  15796. "createtime": {
  15797. "description": "创建时间",
  15798. "type": "string"
  15799. },
  15800. "creatorid": {
  15801. "description": "创建人",
  15802. "type": "integer"
  15803. },
  15804. "hasauth": {
  15805. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15806. "type": "integer"
  15807. },
  15808. "isanonymous": {
  15809. "description": "是否匿名下单 - 0:否 1:是",
  15810. "type": "integer"
  15811. },
  15812. "maxinvestornum": {
  15813. "description": "最大用户数(经纪会员下投资者个数)",
  15814. "type": "integer"
  15815. },
  15816. "memberuserid": {
  15817. "description": "所属会员ID",
  15818. "type": "integer"
  15819. },
  15820. "modifierid": {
  15821. "description": "修改人",
  15822. "type": "integer"
  15823. },
  15824. "modifyremark": {
  15825. "description": "变更备注",
  15826. "type": "string"
  15827. },
  15828. "modifystatus": {
  15829. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15830. "type": "integer"
  15831. },
  15832. "modifytime": {
  15833. "description": "修改时间",
  15834. "type": "string"
  15835. },
  15836. "parentuserid": {
  15837. "description": "所属机构ID",
  15838. "type": "integer"
  15839. },
  15840. "reckonaccountid": {
  15841. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15842. "type": "integer"
  15843. },
  15844. "refercount": {
  15845. "description": "推荐总人数",
  15846. "type": "integer"
  15847. },
  15848. "refereeuserid": {
  15849. "description": "推荐人ID",
  15850. "type": "integer"
  15851. },
  15852. "refernum": {
  15853. "description": "推荐码",
  15854. "type": "string"
  15855. },
  15856. "subarealevelpath": {
  15857. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15858. "type": "string"
  15859. },
  15860. "userid": {
  15861. "description": "用户ID",
  15862. "type": "integer"
  15863. },
  15864. "usertype": {
  15865. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15866. "type": "integer"
  15867. }
  15868. }
  15869. },
  15870. "models.Userfavoritegoods": {
  15871. "type": "object",
  15872. "required": [
  15873. "goodsid"
  15874. ],
  15875. "properties": {
  15876. "goodsid": {
  15877. "description": "商品ID",
  15878. "type": "integer"
  15879. }
  15880. }
  15881. },
  15882. "models.Userinfo": {
  15883. "type": "object",
  15884. "required": [
  15885. "userid"
  15886. ],
  15887. "properties": {
  15888. "address": {
  15889. "description": "地址",
  15890. "type": "string"
  15891. },
  15892. "attachment1": {
  15893. "description": "附件1",
  15894. "type": "string"
  15895. },
  15896. "attachment2": {
  15897. "description": "附件2",
  15898. "type": "string"
  15899. },
  15900. "bankaccount": {
  15901. "description": "银行帐号 (加密存储)",
  15902. "type": "string"
  15903. },
  15904. "bankaccountname": {
  15905. "description": "收款人名称",
  15906. "type": "string"
  15907. },
  15908. "bankcardfrontphotourl": {
  15909. "description": "银行卡正面照地址",
  15910. "type": "string"
  15911. },
  15912. "bankid": {
  15913. "description": "银行编码",
  15914. "type": "string"
  15915. },
  15916. "bankname": {
  15917. "description": "银行名称",
  15918. "type": "string"
  15919. },
  15920. "biznature": {
  15921. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15922. "type": "integer"
  15923. },
  15924. "bizscope": {
  15925. "description": "企业经营范围(企业)",
  15926. "type": "string"
  15927. },
  15928. "cardbackphotourl": {
  15929. "description": "证件背面图片地址",
  15930. "type": "string"
  15931. },
  15932. "cardfrontphotourl": {
  15933. "description": "证件正面图片地址",
  15934. "type": "string"
  15935. },
  15936. "cardnum": {
  15937. "description": "证件号码(加密存储)",
  15938. "type": "string"
  15939. },
  15940. "cardtypeid": {
  15941. "description": "证件类型ID",
  15942. "type": "integer"
  15943. },
  15944. "cityid": {
  15945. "description": "市",
  15946. "type": "integer"
  15947. },
  15948. "company": {
  15949. "description": "公司(个人)",
  15950. "type": "string"
  15951. },
  15952. "contactname": {
  15953. "description": "联系人",
  15954. "type": "string"
  15955. },
  15956. "countryid": {
  15957. "description": "国家",
  15958. "type": "integer"
  15959. },
  15960. "createtime": {
  15961. "description": "创建时间",
  15962. "type": "string"
  15963. },
  15964. "creatorid": {
  15965. "description": "创建人",
  15966. "type": "integer"
  15967. },
  15968. "customername": {
  15969. "description": "客户名称(企业名称)",
  15970. "type": "string"
  15971. },
  15972. "districtid": {
  15973. "description": "地区",
  15974. "type": "integer"
  15975. },
  15976. "email": {
  15977. "description": "邮件(加密存储)",
  15978. "type": "string"
  15979. },
  15980. "fax": {
  15981. "description": "传真(加密存储)",
  15982. "type": "string"
  15983. },
  15984. "halfbodyphotourl": {
  15985. "description": "半身照地址",
  15986. "type": "string"
  15987. },
  15988. "hasencrypt": {
  15989. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15990. "type": "integer"
  15991. },
  15992. "headurl": {
  15993. "description": "头像地址",
  15994. "type": "string"
  15995. },
  15996. "legalcardbackphotourl": {
  15997. "description": "法人身份证背面照地址",
  15998. "type": "string"
  15999. },
  16000. "legalcardfrontphotourl": {
  16001. "description": "法人身份证正面照地址",
  16002. "type": "string"
  16003. },
  16004. "legalpersonname": {
  16005. "description": "法人姓名(企业)",
  16006. "type": "string"
  16007. },
  16008. "mobile": {
  16009. "description": "手机号码(加密存储)",
  16010. "type": "string"
  16011. },
  16012. "mobile2": {
  16013. "description": "手机号码[明文-尚志]",
  16014. "type": "string"
  16015. },
  16016. "modifierid": {
  16017. "description": "修改人",
  16018. "type": "integer"
  16019. },
  16020. "modifiertime": {
  16021. "description": "修改时间",
  16022. "type": "string"
  16023. },
  16024. "needinvoice": {
  16025. "description": "是否需要发票 - 0:不需要 1:需要",
  16026. "type": "integer"
  16027. },
  16028. "nickname": {
  16029. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  16030. "type": "string"
  16031. },
  16032. "openmode": {
  16033. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  16034. "type": "integer"
  16035. },
  16036. "otherurl": {
  16037. "description": "其它图片地址[使用分号分隔]",
  16038. "type": "string"
  16039. },
  16040. "postalcode": {
  16041. "description": "邮政编码",
  16042. "type": "string"
  16043. },
  16044. "provinceid": {
  16045. "description": "省",
  16046. "type": "integer"
  16047. },
  16048. "qq": {
  16049. "description": "QQ(加密存储",
  16050. "type": "string"
  16051. },
  16052. "remark": {
  16053. "description": "备注",
  16054. "type": "string"
  16055. },
  16056. "sex": {
  16057. "description": "用户性别 0: 女 1: 男",
  16058. "type": "integer"
  16059. },
  16060. "signpdfurl": {
  16061. "description": "签约pdf文件",
  16062. "type": "string"
  16063. },
  16064. "telphone": {
  16065. "description": "联系电话(加密存储)",
  16066. "type": "string"
  16067. },
  16068. "userid": {
  16069. "description": "用户ID",
  16070. "type": "integer"
  16071. },
  16072. "userinfotype": {
  16073. "description": "用户信息类型 - 1:个人 2:企业",
  16074. "type": "integer"
  16075. },
  16076. "userstatus": {
  16077. "description": "用户状态 - 1:正常 2:注销",
  16078. "type": "integer"
  16079. },
  16080. "usertype": {
  16081. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16082. "type": "integer"
  16083. },
  16084. "wechat": {
  16085. "description": "微信(加密存储)",
  16086. "type": "string"
  16087. },
  16088. "wskhinfo": {
  16089. "description": "开户申请信息(JSON)",
  16090. "type": "string"
  16091. }
  16092. }
  16093. },
  16094. "models.WRCategoryTree": {
  16095. "type": "object",
  16096. "required": [
  16097. "categoryid"
  16098. ],
  16099. "properties": {
  16100. "areauserid": {
  16101. "description": "所属机构",
  16102. "type": "integer"
  16103. },
  16104. "categorydesc": {
  16105. "description": "类别描述",
  16106. "type": "string"
  16107. },
  16108. "categoryid": {
  16109. "description": "类别ID(SEQ_WRCATEGORY)",
  16110. "type": "integer"
  16111. },
  16112. "categoryname": {
  16113. "description": "类别名称",
  16114. "type": "string"
  16115. },
  16116. "iconurl": {
  16117. "description": "图标地址",
  16118. "type": "string"
  16119. },
  16120. "orderindex": {
  16121. "description": "顺序",
  16122. "type": "integer"
  16123. },
  16124. "parentcategoryid": {
  16125. "description": "父类别ID",
  16126. "type": "integer"
  16127. },
  16128. "subcategory": {
  16129. "description": "子分类",
  16130. "type": "array",
  16131. "items": {
  16132. "$ref": "#/definitions/models.WRCategoryTree"
  16133. }
  16134. }
  16135. }
  16136. },
  16137. "models.WRSConverTDetail": {
  16138. "type": "object",
  16139. "properties": {
  16140. "convertratio": {
  16141. "description": "套保系数",
  16142. "type": "number"
  16143. },
  16144. "deliverygoodsid": {
  16145. "description": "现货品种ID",
  16146. "type": "integer"
  16147. },
  16148. "middlegoodscode": {
  16149. "description": "套保品种代码",
  16150. "type": "string"
  16151. },
  16152. "middlegoodsid": {
  16153. "description": "套保品种ID",
  16154. "type": "integer"
  16155. },
  16156. "middlegoodsname": {
  16157. "description": "套保品种名称",
  16158. "type": "string"
  16159. },
  16160. "modifytime": {
  16161. "description": "修改时间",
  16162. "type": "string"
  16163. },
  16164. "wrstandardid": {
  16165. "description": "现货商品ID",
  16166. "type": "integer"
  16167. }
  16168. }
  16169. },
  16170. "models.WRStandardInfo": {
  16171. "type": "object",
  16172. "required": [
  16173. "wrstandardid"
  16174. ],
  16175. "properties": {
  16176. "createtime": {
  16177. "description": "创建时间",
  16178. "type": "string"
  16179. },
  16180. "creatorid": {
  16181. "description": "创建人",
  16182. "type": "integer"
  16183. },
  16184. "deliverygoodsid": {
  16185. "description": "品种ID",
  16186. "type": "integer"
  16187. },
  16188. "deliverygoodsname": {
  16189. "description": "交割商品名称",
  16190. "type": "string"
  16191. },
  16192. "factoryitemjson": {
  16193. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  16194. "type": "string"
  16195. },
  16196. "isvalid": {
  16197. "description": "是否有效 - 0:无效 1:有效",
  16198. "type": "integer"
  16199. },
  16200. "minivalue": {
  16201. "description": "最小变动值",
  16202. "type": "integer"
  16203. },
  16204. "minivaluedp": {
  16205. "description": "最小变动值小数位",
  16206. "type": "integer"
  16207. },
  16208. "realminivalue": {
  16209. "description": "实际最小变动值",
  16210. "type": "integer"
  16211. },
  16212. "realminivaluedp": {
  16213. "description": "实际最小变动值小数位",
  16214. "type": "integer"
  16215. },
  16216. "unitid": {
  16217. "description": "单位ID",
  16218. "type": "integer"
  16219. },
  16220. "unitname": {
  16221. "description": "单位",
  16222. "type": "string"
  16223. },
  16224. "updatetime": {
  16225. "description": "更新时间",
  16226. "type": "string"
  16227. },
  16228. "updatorid": {
  16229. "description": "更新人",
  16230. "type": "integer"
  16231. },
  16232. "wrsstatus": {
  16233. "description": "状态 - 作废 - 0:未激活 1:正常",
  16234. "type": "integer"
  16235. },
  16236. "wrstandardcode": {
  16237. "description": "仓单标准代码",
  16238. "type": "string"
  16239. },
  16240. "wrstandardid": {
  16241. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16242. "type": "integer"
  16243. },
  16244. "wrstandardname": {
  16245. "description": "仓单标准名称",
  16246. "type": "string"
  16247. }
  16248. }
  16249. },
  16250. "models.Warehouseinfo": {
  16251. "type": "object",
  16252. "required": [
  16253. "autoid",
  16254. "warehousecode"
  16255. ],
  16256. "properties": {
  16257. "address": {
  16258. "description": "详细地址",
  16259. "type": "string"
  16260. },
  16261. "areauserid": {
  16262. "description": "所属机构",
  16263. "type": "integer"
  16264. },
  16265. "autoid": {
  16266. "description": "自增ID",
  16267. "type": "integer"
  16268. },
  16269. "cityid": {
  16270. "description": "市",
  16271. "type": "integer"
  16272. },
  16273. "contactname": {
  16274. "description": "联系人",
  16275. "type": "string"
  16276. },
  16277. "contactnum": {
  16278. "description": "联系电话",
  16279. "type": "string"
  16280. },
  16281. "countryid": {
  16282. "description": "国家",
  16283. "type": "integer"
  16284. },
  16285. "createtime": {
  16286. "description": "创建时间",
  16287. "type": "string"
  16288. },
  16289. "districtid": {
  16290. "description": "区",
  16291. "type": "integer"
  16292. },
  16293. "hasvideo": {
  16294. "description": "是否有视频 - 0:无 1:有",
  16295. "type": "integer"
  16296. },
  16297. "provinceid": {
  16298. "description": "省",
  16299. "type": "integer"
  16300. },
  16301. "remark": {
  16302. "description": "审核备注",
  16303. "type": "string"
  16304. },
  16305. "videourl": {
  16306. "description": "视频地址",
  16307. "type": "string"
  16308. },
  16309. "warehousecode": {
  16310. "description": "仓库代码",
  16311. "type": "string"
  16312. },
  16313. "warehousename": {
  16314. "description": "仓库名称",
  16315. "type": "string"
  16316. },
  16317. "warehousestatus": {
  16318. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16319. "type": "integer"
  16320. },
  16321. "warehousetype": {
  16322. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16323. "type": "integer"
  16324. }
  16325. }
  16326. },
  16327. "order.QueryHisTradeDetailRsp": {
  16328. "type": "object",
  16329. "required": [
  16330. "accountid",
  16331. "buyorsell",
  16332. "goodsid",
  16333. "histradedate",
  16334. "marketid",
  16335. "memberuserid",
  16336. "orderid",
  16337. "tradeamount",
  16338. "tradedate",
  16339. "tradeid",
  16340. "tradeprice",
  16341. "tradeqty",
  16342. "tradetime"
  16343. ],
  16344. "properties": {
  16345. "accountid": {
  16346. "description": "账户ID[报价币种]",
  16347. "type": "integer"
  16348. },
  16349. "buildtype": {
  16350. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16351. "type": "integer"
  16352. },
  16353. "buyorsell": {
  16354. "description": "方向 - 0:买 1:卖",
  16355. "type": "integer"
  16356. },
  16357. "charge": {
  16358. "description": "手续费",
  16359. "type": "number"
  16360. },
  16361. "closecharge": {
  16362. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16363. "type": "number"
  16364. },
  16365. "closeexchagechargevalue": {
  16366. "description": "平仓交易所手续费设置值",
  16367. "type": "number"
  16368. },
  16369. "closefeealgorithm": {
  16370. "description": "平仓手续费收取方式 1:比率 2:固定",
  16371. "type": "integer"
  16372. },
  16373. "closememberchargevalue": {
  16374. "description": "平仓会员手续费设置值",
  16375. "type": "number"
  16376. },
  16377. "closepl": {
  16378. "description": "平仓盈亏",
  16379. "type": "number"
  16380. },
  16381. "closepl2": {
  16382. "description": "平仓盈亏[逐笔]",
  16383. "type": "number"
  16384. },
  16385. "closeqty": {
  16386. "description": "平仓数量(先建后平操作 需要记录)",
  16387. "type": "integer"
  16388. },
  16389. "creditamount": {
  16390. "description": "授信金额",
  16391. "type": "number"
  16392. },
  16393. "gcaccountid": {
  16394. "description": "账户ID[合约币种]",
  16395. "type": "integer"
  16396. },
  16397. "goodscode": {
  16398. "description": "商品代码",
  16399. "type": "string"
  16400. },
  16401. "goodsid": {
  16402. "description": "商品ID",
  16403. "type": "integer"
  16404. },
  16405. "goodsname": {
  16406. "description": "商品名称",
  16407. "type": "string"
  16408. },
  16409. "histradedate": {
  16410. "description": "历史交易日",
  16411. "type": "string"
  16412. },
  16413. "intclosepl": {
  16414. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16415. "type": "integer"
  16416. },
  16417. "isconfirmexercise": {
  16418. "description": "是否确认行权- 0:否 1:是",
  16419. "type": "integer"
  16420. },
  16421. "ismain": {
  16422. "description": "是否主单 - 0:不是 1:是",
  16423. "type": "integer"
  16424. },
  16425. "ispreexercise": {
  16426. "description": "是否预申报- 0:否 1:是",
  16427. "type": "integer"
  16428. },
  16429. "isreckoned": {
  16430. "description": "是否结算 - 0:未结算 1:已结算",
  16431. "type": "integer"
  16432. },
  16433. "isvaliddata": {
  16434. "description": "是否有效 - 0:无效 1:有效",
  16435. "type": "integer"
  16436. },
  16437. "listingselecttype": {
  16438. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16439. "type": "integer"
  16440. },
  16441. "marketid": {
  16442. "description": "市场ID",
  16443. "type": "integer"
  16444. },
  16445. "marketname": {
  16446. "description": "市场名称",
  16447. "type": "string"
  16448. },
  16449. "matchaccountid": {
  16450. "description": "对手账号id",
  16451. "type": "integer"
  16452. },
  16453. "memberuserid": {
  16454. "description": "会员id 个人投资者 需要填写",
  16455. "type": "integer"
  16456. },
  16457. "opencharge": {
  16458. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16459. "type": "number"
  16460. },
  16461. "openexchagechargevalue": {
  16462. "description": "建仓交易所手续费设置值",
  16463. "type": "number"
  16464. },
  16465. "openfeealgorithm": {
  16466. "description": "建仓手续费收取方式 1:比率 2:固定",
  16467. "type": "integer"
  16468. },
  16469. "openmemberchargevalue": {
  16470. "description": "建仓会员手续费设置值",
  16471. "type": "number"
  16472. },
  16473. "openqty": {
  16474. "description": "开仓数量(先建后平操作 需要记录)",
  16475. "type": "integer"
  16476. },
  16477. "optiontype": {
  16478. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16479. "type": "integer"
  16480. },
  16481. "orderid": {
  16482. "description": "委托单号",
  16483. "type": "string"
  16484. },
  16485. "performanceplanid": {
  16486. "description": "履约计划ID[期权]",
  16487. "type": "integer"
  16488. },
  16489. "performancestatus": {
  16490. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16491. "type": "integer"
  16492. },
  16493. "preexerciseprice": {
  16494. "description": "预申报价格",
  16495. "type": "number"
  16496. },
  16497. "premium": {
  16498. "description": "权利金 - [持仓单的权利金]",
  16499. "type": "number"
  16500. },
  16501. "relatedouttradeid": {
  16502. "description": "关联外部成交单ID",
  16503. "type": "integer"
  16504. },
  16505. "status": {
  16506. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16507. "type": "integer"
  16508. },
  16509. "tradeamount": {
  16510. "description": "成交金额[账户币种,用于所有权]",
  16511. "type": "number"
  16512. },
  16513. "tradedate": {
  16514. "description": "交易日(yyyyMMdd)",
  16515. "type": "string"
  16516. },
  16517. "tradeid": {
  16518. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16519. "type": "string"
  16520. },
  16521. "trademode": {
  16522. "description": "交易模式",
  16523. "type": "integer"
  16524. },
  16525. "tradeprice": {
  16526. "description": "成交价格",
  16527. "type": "number"
  16528. },
  16529. "tradeproperty": {
  16530. "description": "交易属性",
  16531. "type": "integer"
  16532. },
  16533. "tradeqty": {
  16534. "description": "成交数量",
  16535. "type": "integer"
  16536. },
  16537. "tradetime": {
  16538. "description": "成交时间",
  16539. "type": "string"
  16540. },
  16541. "tradetype": {
  16542. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16543. "type": "integer"
  16544. }
  16545. }
  16546. },
  16547. "order.QueryHisTradeOrderDetailRsp": {
  16548. "type": "object",
  16549. "required": [
  16550. "accountid",
  16551. "buildtype",
  16552. "buyorsell",
  16553. "goodsid",
  16554. "histradedate",
  16555. "marketid",
  16556. "memberuserid",
  16557. "operatetype",
  16558. "orderid",
  16559. "orderqty",
  16560. "ordertime",
  16561. "pricemode",
  16562. "tradedate",
  16563. "validtype"
  16564. ],
  16565. "properties": {
  16566. "accountid": {
  16567. "description": "账户ID[报价币种]",
  16568. "type": "integer"
  16569. },
  16570. "buildtype": {
  16571. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16572. "type": "integer"
  16573. },
  16574. "buyorsell": {
  16575. "description": "买卖 - 0:买 1:卖",
  16576. "type": "integer"
  16577. },
  16578. "cancelorderid": {
  16579. "description": "撤单单号(撤单时填写)",
  16580. "type": "string"
  16581. },
  16582. "cancelqty": {
  16583. "description": "撤单数量",
  16584. "type": "integer"
  16585. },
  16586. "clientordertime": {
  16587. "description": "客户端委托时间",
  16588. "type": "string"
  16589. },
  16590. "clientticket": {
  16591. "description": "客户端流水号",
  16592. "type": "string"
  16593. },
  16594. "clienttype": {
  16595. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16596. "type": "integer"
  16597. },
  16598. "closeexchagechargevalue": {
  16599. "description": "平仓交易所手续费设置值",
  16600. "type": "number"
  16601. },
  16602. "closefeealgorithm": {
  16603. "description": "平仓手续费收取方式 1:比率 2:固定",
  16604. "type": "integer"
  16605. },
  16606. "closefreezecharge": {
  16607. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16608. "type": "number"
  16609. },
  16610. "closememberchargevalue": {
  16611. "description": "平仓会员手续费设置值",
  16612. "type": "number"
  16613. },
  16614. "closeqty": {
  16615. "description": "平仓数量(先建后平操作 需要记录)",
  16616. "type": "integer"
  16617. },
  16618. "closetradeqty": {
  16619. "description": "平仓成交数量(先建后平操作,需要记录)",
  16620. "type": "integer"
  16621. },
  16622. "closeunfreezecharge": {
  16623. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16624. "type": "number"
  16625. },
  16626. "delistingtype": {
  16627. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16628. "type": "integer"
  16629. },
  16630. "freezecharge": {
  16631. "description": "冻结手续费",
  16632. "type": "number"
  16633. },
  16634. "freezemargin": {
  16635. "description": "冻结保证金(冻结交易金额)",
  16636. "type": "number"
  16637. },
  16638. "gcaccountid": {
  16639. "description": "账户ID[合约币种]",
  16640. "type": "integer"
  16641. },
  16642. "goodscode": {
  16643. "description": "商品代码",
  16644. "type": "string"
  16645. },
  16646. "goodsid": {
  16647. "description": "商品ID",
  16648. "type": "integer"
  16649. },
  16650. "goodsname": {
  16651. "description": "商品名称",
  16652. "type": "string"
  16653. },
  16654. "histradedate": {
  16655. "description": "历史交易日",
  16656. "type": "string"
  16657. },
  16658. "isconfirmexercise": {
  16659. "description": "是否确认行权- 0:否 1:是",
  16660. "type": "integer"
  16661. },
  16662. "ispreexercise": {
  16663. "description": "是否预申报- 0:否 1:是",
  16664. "type": "integer"
  16665. },
  16666. "isvaliddata": {
  16667. "description": "是否有效 - 0:无效 1:有效",
  16668. "type": "integer"
  16669. },
  16670. "listingselecttype": {
  16671. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16672. "type": "integer"
  16673. },
  16674. "marginalgorithm": {
  16675. "description": "保证金收取方式 1:比率 2:固定",
  16676. "type": "integer"
  16677. },
  16678. "marginvalue": {
  16679. "description": "即市保证金设置值",
  16680. "type": "number"
  16681. },
  16682. "marketid": {
  16683. "description": "市场ID",
  16684. "type": "integer"
  16685. },
  16686. "marketmaxsub": {
  16687. "description": "市价最大偏移范围",
  16688. "type": "number"
  16689. },
  16690. "marketname": {
  16691. "description": "市场名称",
  16692. "type": "string"
  16693. },
  16694. "memberuserid": {
  16695. "description": "所属会员UserID",
  16696. "type": "integer"
  16697. },
  16698. "openexchagechargevalue": {
  16699. "description": "建仓交易所手续费设置值",
  16700. "type": "number"
  16701. },
  16702. "openfeealgorithm": {
  16703. "description": "建仓手续费收取方式 1:比率 2:固定",
  16704. "type": "integer"
  16705. },
  16706. "openfreezecharge": {
  16707. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16708. "type": "number"
  16709. },
  16710. "openmemberchargevalue": {
  16711. "description": "建仓会员手续费设置值",
  16712. "type": "number"
  16713. },
  16714. "openqty": {
  16715. "description": "开仓数量(先建后平操作,需要记录)",
  16716. "type": "integer"
  16717. },
  16718. "opentradeqty": {
  16719. "description": "开仓成交数量(先建后平操作,需要记录)",
  16720. "type": "integer"
  16721. },
  16722. "openunfreezecharge": {
  16723. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16724. "type": "number"
  16725. },
  16726. "operatetype": {
  16727. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16728. "type": "integer"
  16729. },
  16730. "operatorid": {
  16731. "description": "登录账号(LoginID)",
  16732. "type": "integer"
  16733. },
  16734. "optiontype": {
  16735. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16736. "type": "integer"
  16737. },
  16738. "orderid": {
  16739. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16740. "type": "string"
  16741. },
  16742. "orderprice": {
  16743. "description": "委托价格",
  16744. "type": "number"
  16745. },
  16746. "orderqty": {
  16747. "description": "委托数量",
  16748. "type": "integer"
  16749. },
  16750. "ordersrc": {
  16751. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16752. "type": "integer"
  16753. },
  16754. "orderstatus": {
  16755. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16756. "type": "integer"
  16757. },
  16758. "ordertime": {
  16759. "description": "委托时间",
  16760. "type": "string"
  16761. },
  16762. "preexerciseprice": {
  16763. "description": "预申报价格",
  16764. "type": "number"
  16765. },
  16766. "premium": {
  16767. "description": "权利金",
  16768. "type": "number"
  16769. },
  16770. "preorderid": {
  16771. "description": "关联预埋单号(止盈止损单时填写)",
  16772. "type": "string"
  16773. },
  16774. "pricemode": {
  16775. "description": "取价方式 - 1:市价 2: 限价",
  16776. "type": "integer"
  16777. },
  16778. "quoteid": {
  16779. "description": "报价单ID",
  16780. "type": "integer"
  16781. },
  16782. "relatedid": {
  16783. "description": "关联单号(交割单)",
  16784. "type": "string"
  16785. },
  16786. "retcode": {
  16787. "description": "错误代码",
  16788. "type": "integer"
  16789. },
  16790. "sessionid": {
  16791. "description": "会话ID",
  16792. "type": "integer"
  16793. },
  16794. "tradedate": {
  16795. "description": "交易日(yyyyMMdd)",
  16796. "type": "string"
  16797. },
  16798. "trademode": {
  16799. "description": "交易模式",
  16800. "type": "integer"
  16801. },
  16802. "tradeproperty": {
  16803. "description": "交易属性",
  16804. "type": "integer"
  16805. },
  16806. "tradeqty": {
  16807. "description": "成交数量",
  16808. "type": "integer"
  16809. },
  16810. "unfreezecharge": {
  16811. "description": "解冻手续费",
  16812. "type": "number"
  16813. },
  16814. "unfreezemargin": {
  16815. "description": "解冻保证金",
  16816. "type": "number"
  16817. },
  16818. "updatetime": {
  16819. "description": "更新时间",
  16820. "type": "string"
  16821. },
  16822. "uuid": {
  16823. "description": "发起端唯一id",
  16824. "type": "string"
  16825. },
  16826. "validtime": {
  16827. "description": "有效期限",
  16828. "type": "string"
  16829. },
  16830. "validtype": {
  16831. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16832. "type": "integer"
  16833. },
  16834. "volumetype": {
  16835. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16836. "type": "integer"
  16837. }
  16838. }
  16839. },
  16840. "order.QueryTradeDetailRsp": {
  16841. "type": "object",
  16842. "required": [
  16843. "accountid",
  16844. "buyorsell",
  16845. "goodsid",
  16846. "marketid",
  16847. "memberuserid",
  16848. "orderid",
  16849. "tradeamount",
  16850. "tradedate",
  16851. "tradeid",
  16852. "tradeprice",
  16853. "tradeqty",
  16854. "tradetime"
  16855. ],
  16856. "properties": {
  16857. "accountid": {
  16858. "description": "账户ID[报价币种]",
  16859. "type": "integer"
  16860. },
  16861. "buildtype": {
  16862. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16863. "type": "integer"
  16864. },
  16865. "buyorsell": {
  16866. "description": "方向 - 0:买 1:卖",
  16867. "type": "integer"
  16868. },
  16869. "charge": {
  16870. "description": "手续费",
  16871. "type": "number"
  16872. },
  16873. "closecharge": {
  16874. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16875. "type": "number"
  16876. },
  16877. "closeexchagechargevalue": {
  16878. "description": "平仓交易所手续费设置值",
  16879. "type": "number"
  16880. },
  16881. "closefeealgorithm": {
  16882. "description": "平仓手续费收取方式 1:比率 2:固定",
  16883. "type": "integer"
  16884. },
  16885. "closememberchargevalue": {
  16886. "description": "平仓会员手续费设置值",
  16887. "type": "number"
  16888. },
  16889. "closepl": {
  16890. "description": "平仓盈亏",
  16891. "type": "number"
  16892. },
  16893. "closepl2": {
  16894. "description": "平仓盈亏[逐笔]",
  16895. "type": "number"
  16896. },
  16897. "closeqty": {
  16898. "description": "平仓数量(先建后平操作 需要记录)",
  16899. "type": "integer"
  16900. },
  16901. "creditamount": {
  16902. "description": "授信金额",
  16903. "type": "number"
  16904. },
  16905. "gcaccountid": {
  16906. "description": "账户ID[合约币种]",
  16907. "type": "integer"
  16908. },
  16909. "goodscode": {
  16910. "description": "商品代码",
  16911. "type": "string"
  16912. },
  16913. "goodsid": {
  16914. "description": "商品ID",
  16915. "type": "integer"
  16916. },
  16917. "goodsname": {
  16918. "description": "商品名称",
  16919. "type": "string"
  16920. },
  16921. "intclosepl": {
  16922. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16923. "type": "integer"
  16924. },
  16925. "isconfirmexercise": {
  16926. "description": "是否确认行权- 0:否 1:是",
  16927. "type": "integer"
  16928. },
  16929. "ismain": {
  16930. "description": "是否主单 - 0:不是 1:是",
  16931. "type": "integer"
  16932. },
  16933. "ispreexercise": {
  16934. "description": "是否预申报- 0:否 1:是",
  16935. "type": "integer"
  16936. },
  16937. "isreckoned": {
  16938. "description": "是否结算 - 0:未结算 1:已结算",
  16939. "type": "integer"
  16940. },
  16941. "listingselecttype": {
  16942. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16943. "type": "integer"
  16944. },
  16945. "marketid": {
  16946. "description": "市场ID",
  16947. "type": "integer"
  16948. },
  16949. "marketname": {
  16950. "description": "市场名称",
  16951. "type": "string"
  16952. },
  16953. "matchaccountid": {
  16954. "description": "对手账号id",
  16955. "type": "integer"
  16956. },
  16957. "memberuserid": {
  16958. "description": "会员id 个人投资者 需要填写",
  16959. "type": "integer"
  16960. },
  16961. "opencharge": {
  16962. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16963. "type": "number"
  16964. },
  16965. "openexchagechargevalue": {
  16966. "description": "建仓交易所手续费设置值",
  16967. "type": "number"
  16968. },
  16969. "openfeealgorithm": {
  16970. "description": "建仓手续费收取方式 1:比率 2:固定",
  16971. "type": "integer"
  16972. },
  16973. "openmemberchargevalue": {
  16974. "description": "建仓会员手续费设置值",
  16975. "type": "number"
  16976. },
  16977. "openqty": {
  16978. "description": "开仓数量(先建后平操作 需要记录)",
  16979. "type": "integer"
  16980. },
  16981. "optiontype": {
  16982. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16983. "type": "integer"
  16984. },
  16985. "orderid": {
  16986. "description": "委托单号",
  16987. "type": "string"
  16988. },
  16989. "performanceplanid": {
  16990. "description": "履约计划ID[期权]",
  16991. "type": "integer"
  16992. },
  16993. "performancestatus": {
  16994. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16995. "type": "integer"
  16996. },
  16997. "preexerciseprice": {
  16998. "description": "预申报价格",
  16999. "type": "number"
  17000. },
  17001. "premium": {
  17002. "description": "权利金 - [持仓单的权利金]",
  17003. "type": "number"
  17004. },
  17005. "relatedouttradeid": {
  17006. "description": "关联外部成交单ID",
  17007. "type": "integer"
  17008. },
  17009. "status": {
  17010. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17011. "type": "integer"
  17012. },
  17013. "tradeamount": {
  17014. "description": "成交金额[账户币种,用于所有权]",
  17015. "type": "number"
  17016. },
  17017. "tradedate": {
  17018. "description": "交易日(yyyyMMdd)",
  17019. "type": "string"
  17020. },
  17021. "tradeid": {
  17022. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17023. "type": "string"
  17024. },
  17025. "trademode": {
  17026. "description": "交易模式",
  17027. "type": "integer"
  17028. },
  17029. "tradeprice": {
  17030. "description": "成交价格",
  17031. "type": "number"
  17032. },
  17033. "tradeproperty": {
  17034. "description": "交易属性",
  17035. "type": "integer"
  17036. },
  17037. "tradeqty": {
  17038. "description": "成交数量",
  17039. "type": "integer"
  17040. },
  17041. "tradetime": {
  17042. "description": "成交时间",
  17043. "type": "string"
  17044. },
  17045. "tradetype": {
  17046. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17047. "type": "integer"
  17048. }
  17049. }
  17050. },
  17051. "order.QueryTradeOrderDetailRsp": {
  17052. "type": "object",
  17053. "required": [
  17054. "accountid",
  17055. "buildtype",
  17056. "buyorsell",
  17057. "goodsid",
  17058. "marketid",
  17059. "operatetype",
  17060. "orderqty",
  17061. "ordertime",
  17062. "pricemode",
  17063. "tradedate",
  17064. "validtype"
  17065. ],
  17066. "properties": {
  17067. "accountid": {
  17068. "description": "账户ID[报价币种]",
  17069. "type": "integer"
  17070. },
  17071. "buildtype": {
  17072. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17073. "type": "integer"
  17074. },
  17075. "buyorsell": {
  17076. "description": "买卖 - 0:买 1:卖",
  17077. "type": "integer"
  17078. },
  17079. "cancelorderid": {
  17080. "description": "撤单单号(撤单时填写)",
  17081. "type": "string"
  17082. },
  17083. "cancelqty": {
  17084. "description": "撤单数量",
  17085. "type": "integer"
  17086. },
  17087. "clienttype": {
  17088. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17089. "type": "integer"
  17090. },
  17091. "closefreezecharge": {
  17092. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17093. "type": "number"
  17094. },
  17095. "closeqty": {
  17096. "description": "平仓数量(先建后平操作 需要记录)",
  17097. "type": "integer"
  17098. },
  17099. "closetradeqty": {
  17100. "description": "平仓成交数量(先建后平操作,需要记录)",
  17101. "type": "integer"
  17102. },
  17103. "closeunfreezecharge": {
  17104. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17105. "type": "number"
  17106. },
  17107. "delistingtype": {
  17108. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17109. "type": "integer"
  17110. },
  17111. "enableqty": {
  17112. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  17113. "type": "integer"
  17114. },
  17115. "freezecharge": {
  17116. "description": "冻结手续费",
  17117. "type": "number"
  17118. },
  17119. "freezemargin": {
  17120. "description": "冻结保证金(冻结交易金额)",
  17121. "type": "number"
  17122. },
  17123. "goodscode": {
  17124. "description": "商品代码",
  17125. "type": "string"
  17126. },
  17127. "goodsid": {
  17128. "description": "商品ID",
  17129. "type": "integer"
  17130. },
  17131. "goodsname": {
  17132. "description": "商品名称",
  17133. "type": "string"
  17134. },
  17135. "listingselecttype": {
  17136. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17137. "type": "integer"
  17138. },
  17139. "marketid": {
  17140. "description": "市场ID",
  17141. "type": "integer"
  17142. },
  17143. "marketname": {
  17144. "description": "市场名称",
  17145. "type": "string"
  17146. },
  17147. "openfreezecharge": {
  17148. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17149. "type": "number"
  17150. },
  17151. "openqty": {
  17152. "description": "开仓数量(先建后平操作,需要记录)",
  17153. "type": "integer"
  17154. },
  17155. "opentradeqty": {
  17156. "description": "开仓成交数量(先建后平操作,需要记录)",
  17157. "type": "integer"
  17158. },
  17159. "openunfreezecharge": {
  17160. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17161. "type": "number"
  17162. },
  17163. "operatetype": {
  17164. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17165. "type": "integer"
  17166. },
  17167. "operatorid": {
  17168. "description": "登录账号(LoginID)",
  17169. "type": "integer"
  17170. },
  17171. "orderid": {
  17172. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17173. "type": "string"
  17174. },
  17175. "orderprice": {
  17176. "description": "委托价格",
  17177. "type": "number"
  17178. },
  17179. "orderqty": {
  17180. "description": "委托数量",
  17181. "type": "integer"
  17182. },
  17183. "ordersrc": {
  17184. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17185. "type": "integer"
  17186. },
  17187. "orderstatus": {
  17188. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17189. "type": "integer"
  17190. },
  17191. "ordertime": {
  17192. "description": "委托时间",
  17193. "type": "string"
  17194. },
  17195. "preorderid": {
  17196. "description": "关联预埋单号(止盈止损单时填写)",
  17197. "type": "string"
  17198. },
  17199. "pricemode": {
  17200. "description": "取价方式 - 1:市价 2: 限价",
  17201. "type": "integer"
  17202. },
  17203. "relatedid": {
  17204. "description": "关联单号(交割单)",
  17205. "type": "string"
  17206. },
  17207. "tradedate": {
  17208. "description": "交易日(yyyyMMdd)",
  17209. "type": "string"
  17210. },
  17211. "trademode": {
  17212. "description": "交易模式",
  17213. "type": "integer"
  17214. },
  17215. "tradeqty": {
  17216. "description": "成交数量",
  17217. "type": "integer"
  17218. },
  17219. "unfreezecharge": {
  17220. "description": "解冻手续费",
  17221. "type": "number"
  17222. },
  17223. "unfreezemargin": {
  17224. "description": "解冻保证金",
  17225. "type": "number"
  17226. },
  17227. "validtime": {
  17228. "description": "有效期限",
  17229. "type": "string"
  17230. },
  17231. "validtype": {
  17232. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17233. "type": "integer"
  17234. },
  17235. "volumetype": {
  17236. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17237. "type": "integer"
  17238. }
  17239. }
  17240. },
  17241. "order.QueryTradePositionRsp": {
  17242. "type": "object",
  17243. "required": [
  17244. "goodsid"
  17245. ],
  17246. "properties": {
  17247. "accountid": {
  17248. "description": "资金账户",
  17249. "type": "integer"
  17250. },
  17251. "agreeunit": {
  17252. "description": "合约单位",
  17253. "type": "number"
  17254. },
  17255. "averageprice": {
  17256. "description": "持仓均价",
  17257. "type": "number"
  17258. },
  17259. "buyorsell": {
  17260. "description": "方向 - 0:买 1:卖",
  17261. "type": "integer"
  17262. },
  17263. "closetotalqty": {
  17264. "description": "平仓总数量",
  17265. "type": "integer"
  17266. },
  17267. "curholderamount": {
  17268. "description": "当前持仓总金额[商品币种]",
  17269. "type": "number"
  17270. },
  17271. "curpositionqty": {
  17272. "description": "当前持仓总数量",
  17273. "type": "integer"
  17274. },
  17275. "currencyid": {
  17276. "description": "报价货币ID",
  17277. "type": "integer"
  17278. },
  17279. "curtdposition": {
  17280. "description": "期末今日头寸",
  17281. "type": "integer"
  17282. },
  17283. "decimalplace": {
  17284. "description": "报价小数位",
  17285. "type": "integer"
  17286. },
  17287. "enableqty": {
  17288. "description": "可用量",
  17289. "type": "integer"
  17290. },
  17291. "fretdposition": {
  17292. "description": "冻结今日头寸",
  17293. "type": "integer"
  17294. },
  17295. "frozenqty": {
  17296. "description": "持仓冻结数量",
  17297. "type": "integer"
  17298. },
  17299. "goodscode": {
  17300. "description": "商品代码",
  17301. "type": "string"
  17302. },
  17303. "goodsid": {
  17304. "description": "商品Id",
  17305. "type": "integer"
  17306. },
  17307. "goodsname": {
  17308. "description": "商品名称",
  17309. "type": "string"
  17310. },
  17311. "goodunit": {
  17312. "description": "报价单位",
  17313. "type": "string"
  17314. },
  17315. "goodunitid": {
  17316. "description": "报价单位ID",
  17317. "type": "integer"
  17318. },
  17319. "holderamount": {
  17320. "description": "期初持仓总金额[商品币种]",
  17321. "type": "number"
  17322. },
  17323. "marketid": {
  17324. "description": "所属市场ID",
  17325. "type": "integer"
  17326. },
  17327. "openreqqty": {
  17328. "description": "开仓申请数量(用于比较最大持仓数量)",
  17329. "type": "integer"
  17330. },
  17331. "opentotalqty": {
  17332. "description": "开仓总数量",
  17333. "type": "integer"
  17334. },
  17335. "otherfrozenqty": {
  17336. "description": "持仓其他冻结数量(交割冻结)",
  17337. "type": "integer"
  17338. },
  17339. "positionqty": {
  17340. "description": "期初持仓数量",
  17341. "type": "integer"
  17342. },
  17343. "tnqty": {
  17344. "description": "T+N冻结总量",
  17345. "type": "integer"
  17346. },
  17347. "tnusedqty": {
  17348. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17349. "type": "integer"
  17350. },
  17351. "trademode": {
  17352. "description": "交易模式",
  17353. "type": "integer"
  17354. },
  17355. "usedmargin": {
  17356. "description": "占用保证金[商品币种]",
  17357. "type": "number"
  17358. }
  17359. }
  17360. },
  17361. "quote.HistoryData": {
  17362. "type": "object",
  17363. "properties": {
  17364. "c": {
  17365. "description": "收盘价",
  17366. "type": "number"
  17367. },
  17368. "f": {
  17369. "description": "是否补充数据",
  17370. "type": "boolean"
  17371. },
  17372. "h": {
  17373. "description": "最高价",
  17374. "type": "number"
  17375. },
  17376. "hv": {
  17377. "description": "持仓量",
  17378. "type": "integer"
  17379. },
  17380. "l": {
  17381. "description": "最低价",
  17382. "type": "number"
  17383. },
  17384. "o": {
  17385. "description": "开盘价",
  17386. "type": "number"
  17387. },
  17388. "s": {
  17389. "description": "结算价,日线周期(包括)以上才有",
  17390. "type": "number"
  17391. },
  17392. "ts": {
  17393. "description": "时间",
  17394. "type": "string"
  17395. },
  17396. "tt": {
  17397. "description": "总金额",
  17398. "type": "number"
  17399. },
  17400. "tv": {
  17401. "description": "总量",
  17402. "type": "integer"
  17403. }
  17404. }
  17405. },
  17406. "quote.HistoryTikData": {
  17407. "type": "object",
  17408. "properties": {
  17409. "AV": {
  17410. "description": "卖量",
  17411. "type": "integer"
  17412. },
  17413. "Ask": {
  17414. "description": "卖价",
  17415. "type": "number"
  17416. },
  17417. "BV": {
  17418. "description": "买量",
  17419. "type": "integer"
  17420. },
  17421. "Bid": {
  17422. "description": "买价",
  17423. "type": "number"
  17424. },
  17425. "HI": {
  17426. "description": "单笔持仓",
  17427. "type": "integer"
  17428. },
  17429. "HV": {
  17430. "description": "持仓量",
  17431. "type": "integer"
  17432. },
  17433. "PE": {
  17434. "description": "现价",
  17435. "type": "number"
  17436. },
  17437. "TDR": {
  17438. "description": "交易方向,0:买 1:卖",
  17439. "type": "integer"
  17440. },
  17441. "TK": {
  17442. "description": "交易类型",
  17443. "type": "integer"
  17444. },
  17445. "TS": {
  17446. "description": "行情时间文本",
  17447. "type": "string"
  17448. },
  17449. "TT": {
  17450. "description": "现金额",
  17451. "type": "number"
  17452. },
  17453. "Vol": {
  17454. "description": "现量",
  17455. "type": "integer"
  17456. }
  17457. }
  17458. },
  17459. "quote.QueryQuoteDayRsp": {
  17460. "type": "object",
  17461. "properties": {
  17462. "ask": {
  17463. "description": "卖1",
  17464. "type": "number"
  17465. },
  17466. "ask10": {
  17467. "description": "卖10",
  17468. "type": "number"
  17469. },
  17470. "ask2": {
  17471. "description": "卖2",
  17472. "type": "number"
  17473. },
  17474. "ask3": {
  17475. "description": "卖3",
  17476. "type": "number"
  17477. },
  17478. "ask4": {
  17479. "description": "卖4",
  17480. "type": "number"
  17481. },
  17482. "ask5": {
  17483. "description": "卖5",
  17484. "type": "number"
  17485. },
  17486. "ask6": {
  17487. "description": "卖6",
  17488. "type": "number"
  17489. },
  17490. "ask7": {
  17491. "description": "卖7",
  17492. "type": "number"
  17493. },
  17494. "ask8": {
  17495. "description": "卖8",
  17496. "type": "number"
  17497. },
  17498. "ask9": {
  17499. "description": "卖9",
  17500. "type": "number"
  17501. },
  17502. "askorderid": {
  17503. "description": "卖单号1",
  17504. "type": "integer"
  17505. },
  17506. "askorderid2": {
  17507. "description": "卖单号2",
  17508. "type": "integer"
  17509. },
  17510. "askorderid3": {
  17511. "description": "卖单号3",
  17512. "type": "integer"
  17513. },
  17514. "askorderid4": {
  17515. "description": "卖单号4",
  17516. "type": "integer"
  17517. },
  17518. "askorderid5": {
  17519. "description": "卖单号5",
  17520. "type": "integer"
  17521. },
  17522. "askordervolume": {
  17523. "description": "卖单量1",
  17524. "type": "integer"
  17525. },
  17526. "askordervolume10": {
  17527. "description": "卖单量10",
  17528. "type": "integer"
  17529. },
  17530. "askordervolume2": {
  17531. "description": "卖单量2",
  17532. "type": "integer"
  17533. },
  17534. "askordervolume3": {
  17535. "description": "卖单量3",
  17536. "type": "integer"
  17537. },
  17538. "askordervolume4": {
  17539. "description": "卖单量4",
  17540. "type": "integer"
  17541. },
  17542. "askordervolume5": {
  17543. "description": "卖单量5",
  17544. "type": "integer"
  17545. },
  17546. "askordervolume6": {
  17547. "description": "卖单量6",
  17548. "type": "integer"
  17549. },
  17550. "askordervolume7": {
  17551. "description": "卖单量7",
  17552. "type": "integer"
  17553. },
  17554. "askordervolume8": {
  17555. "description": "卖单量8",
  17556. "type": "integer"
  17557. },
  17558. "askordervolume9": {
  17559. "description": "卖单量9",
  17560. "type": "integer"
  17561. },
  17562. "askqueueinfo": {
  17563. "description": "大利市卖港股用",
  17564. "type": "string"
  17565. },
  17566. "askvolume": {
  17567. "description": "卖量1",
  17568. "type": "integer"
  17569. },
  17570. "askvolume10": {
  17571. "description": "卖量10",
  17572. "type": "integer"
  17573. },
  17574. "askvolume2": {
  17575. "description": "卖量2",
  17576. "type": "integer"
  17577. },
  17578. "askvolume3": {
  17579. "description": "卖量3",
  17580. "type": "integer"
  17581. },
  17582. "askvolume4": {
  17583. "description": "卖量4",
  17584. "type": "integer"
  17585. },
  17586. "askvolume5": {
  17587. "description": "卖量5",
  17588. "type": "integer"
  17589. },
  17590. "askvolume6": {
  17591. "description": "卖量6",
  17592. "type": "integer"
  17593. },
  17594. "askvolume7": {
  17595. "description": "卖量7",
  17596. "type": "integer"
  17597. },
  17598. "askvolume8": {
  17599. "description": "卖量8",
  17600. "type": "integer"
  17601. },
  17602. "askvolume9": {
  17603. "description": "卖量9",
  17604. "type": "integer"
  17605. },
  17606. "averageprice": {
  17607. "description": "均价",
  17608. "type": "number"
  17609. },
  17610. "bid": {
  17611. "description": "买1",
  17612. "type": "number"
  17613. },
  17614. "bid10": {
  17615. "description": "买10",
  17616. "type": "number"
  17617. },
  17618. "bid2": {
  17619. "description": "买2",
  17620. "type": "number"
  17621. },
  17622. "bid3": {
  17623. "description": "买3",
  17624. "type": "number"
  17625. },
  17626. "bid4": {
  17627. "description": "买4",
  17628. "type": "number"
  17629. },
  17630. "bid5": {
  17631. "description": "买5",
  17632. "type": "number"
  17633. },
  17634. "bid6": {
  17635. "description": "买6",
  17636. "type": "number"
  17637. },
  17638. "bid7": {
  17639. "description": "买7",
  17640. "type": "number"
  17641. },
  17642. "bid8": {
  17643. "description": "买8",
  17644. "type": "number"
  17645. },
  17646. "bid9": {
  17647. "description": "买9",
  17648. "type": "number"
  17649. },
  17650. "bidorderid": {
  17651. "description": "买单号1",
  17652. "type": "integer"
  17653. },
  17654. "bidorderid2": {
  17655. "description": "买单号2",
  17656. "type": "integer"
  17657. },
  17658. "bidorderid3": {
  17659. "description": "买单号3",
  17660. "type": "integer"
  17661. },
  17662. "bidorderid4": {
  17663. "description": "买单号4",
  17664. "type": "integer"
  17665. },
  17666. "bidorderid5": {
  17667. "description": "买单号5",
  17668. "type": "integer"
  17669. },
  17670. "bidordervolume": {
  17671. "description": "买单量1",
  17672. "type": "integer"
  17673. },
  17674. "bidordervolume10": {
  17675. "description": "买单量10",
  17676. "type": "integer"
  17677. },
  17678. "bidordervolume2": {
  17679. "description": "买单量2",
  17680. "type": "integer"
  17681. },
  17682. "bidordervolume3": {
  17683. "description": "买单量3",
  17684. "type": "integer"
  17685. },
  17686. "bidordervolume4": {
  17687. "description": "买单量4",
  17688. "type": "integer"
  17689. },
  17690. "bidordervolume5": {
  17691. "description": "买单量5",
  17692. "type": "integer"
  17693. },
  17694. "bidordervolume6": {
  17695. "description": "买单量6",
  17696. "type": "integer"
  17697. },
  17698. "bidordervolume7": {
  17699. "description": "买单量7",
  17700. "type": "integer"
  17701. },
  17702. "bidordervolume8": {
  17703. "description": "买单量8",
  17704. "type": "integer"
  17705. },
  17706. "bidordervolume9": {
  17707. "description": "买单量9",
  17708. "type": "integer"
  17709. },
  17710. "bidqueueinfo": {
  17711. "description": "大利市买港股用",
  17712. "type": "string"
  17713. },
  17714. "bidvolume": {
  17715. "description": "买量1",
  17716. "type": "integer"
  17717. },
  17718. "bidvolume10": {
  17719. "description": "买量10",
  17720. "type": "integer"
  17721. },
  17722. "bidvolume2": {
  17723. "description": "买量2",
  17724. "type": "integer"
  17725. },
  17726. "bidvolume3": {
  17727. "description": "买量3",
  17728. "type": "integer"
  17729. },
  17730. "bidvolume4": {
  17731. "description": "买量4",
  17732. "type": "integer"
  17733. },
  17734. "bidvolume5": {
  17735. "description": "买量5",
  17736. "type": "integer"
  17737. },
  17738. "bidvolume6": {
  17739. "description": "买量6",
  17740. "type": "integer"
  17741. },
  17742. "bidvolume7": {
  17743. "description": "买量7",
  17744. "type": "integer"
  17745. },
  17746. "bidvolume8": {
  17747. "description": "买量8",
  17748. "type": "integer"
  17749. },
  17750. "bidvolume9": {
  17751. "description": "买量9",
  17752. "type": "integer"
  17753. },
  17754. "calloptionpremiums": {
  17755. "description": "认购期权1",
  17756. "type": "integer"
  17757. },
  17758. "calloptionpremiums2": {
  17759. "description": "认购期权2",
  17760. "type": "integer"
  17761. },
  17762. "calloptionpremiums3": {
  17763. "description": "认购期权3",
  17764. "type": "integer"
  17765. },
  17766. "calloptionpremiums4": {
  17767. "description": "认购期权4",
  17768. "type": "integer"
  17769. },
  17770. "calloptionpremiums5": {
  17771. "description": "认购期权5",
  17772. "type": "integer"
  17773. },
  17774. "cleartime": {
  17775. "description": "清盘时间",
  17776. "type": "integer"
  17777. },
  17778. "exchangecode": {
  17779. "description": "交易所代码",
  17780. "type": "integer"
  17781. },
  17782. "exchangedate": {
  17783. "description": "交易日",
  17784. "type": "integer"
  17785. },
  17786. "goodscode": {
  17787. "description": "商品代码",
  17788. "type": "string"
  17789. },
  17790. "grepmarketprice": {
  17791. "description": "暗盘价 港股专用",
  17792. "type": "number"
  17793. },
  17794. "highest": {
  17795. "description": "最高价",
  17796. "type": "number"
  17797. },
  17798. "holdincrement": {
  17799. "description": "单笔持仓",
  17800. "type": "integer"
  17801. },
  17802. "holdvolume": {
  17803. "description": "持仓",
  17804. "type": "integer"
  17805. },
  17806. "iep": {
  17807. "description": "平衡价 港股专用",
  17808. "type": "number"
  17809. },
  17810. "iev": {
  17811. "description": "平衡量 港股专用",
  17812. "type": "number"
  17813. },
  17814. "inventory": {
  17815. "description": "库存",
  17816. "type": "integer"
  17817. },
  17818. "iscleared": {
  17819. "description": "是否清盘标志",
  17820. "type": "integer"
  17821. },
  17822. "issettled": {
  17823. "description": "是否结算标志",
  17824. "type": "integer"
  17825. },
  17826. "last": {
  17827. "description": "最新价",
  17828. "type": "number"
  17829. },
  17830. "lastlot": {
  17831. "description": "最新成交手数",
  17832. "type": "integer"
  17833. },
  17834. "lasttime": {
  17835. "description": "行情时间(只有现价变化行情时间才变化)",
  17836. "type": "string"
  17837. },
  17838. "lastturnover": {
  17839. "description": "最新成交金额",
  17840. "type": "number"
  17841. },
  17842. "lastvolume": {
  17843. "description": "最新成交量",
  17844. "type": "integer"
  17845. },
  17846. "limitdown": {
  17847. "description": "跌停价",
  17848. "type": "number"
  17849. },
  17850. "limitup": {
  17851. "description": "涨停价",
  17852. "type": "number"
  17853. },
  17854. "lowest": {
  17855. "description": "最低价",
  17856. "type": "number"
  17857. },
  17858. "nontotalholdervolume": {
  17859. "description": "非交易持仓量",
  17860. "type": "integer"
  17861. },
  17862. "nontotallot": {
  17863. "description": "非交易总手数",
  17864. "type": "integer"
  17865. },
  17866. "nontotalturnover": {
  17867. "description": "非交易总金额",
  17868. "type": "integer"
  17869. },
  17870. "nontotalvolume": {
  17871. "description": "非交易总量",
  17872. "type": "integer"
  17873. },
  17874. "opened": {
  17875. "description": "开盘价",
  17876. "type": "number"
  17877. },
  17878. "opentime": {
  17879. "description": "开盘时间",
  17880. "type": "string"
  17881. },
  17882. "orderid": {
  17883. "description": "序号",
  17884. "type": "integer"
  17885. },
  17886. "preclose": {
  17887. "description": "昨收",
  17888. "type": "number"
  17889. },
  17890. "preholdvolume": {
  17891. "description": "昨持仓",
  17892. "type": "integer"
  17893. },
  17894. "presettle": {
  17895. "description": "昨结价",
  17896. "type": "number"
  17897. },
  17898. "publictradetype": {
  17899. "description": "公共交易标志类型 港股专用",
  17900. "type": "string"
  17901. },
  17902. "putoptionpremiums": {
  17903. "description": "认沽期权1",
  17904. "type": "integer"
  17905. },
  17906. "putoptionpremiums2": {
  17907. "description": "认沽期权2",
  17908. "type": "integer"
  17909. },
  17910. "putoptionpremiums3": {
  17911. "description": "认沽期权3",
  17912. "type": "integer"
  17913. },
  17914. "putoptionpremiums4": {
  17915. "description": "认沽期权4",
  17916. "type": "integer"
  17917. },
  17918. "putoptionpremiums5": {
  17919. "description": "认沽期权5",
  17920. "type": "integer"
  17921. },
  17922. "settle": {
  17923. "description": "结算价",
  17924. "type": "number"
  17925. },
  17926. "strikeprice": {
  17927. "description": "发行价",
  17928. "type": "number"
  17929. },
  17930. "totalaskvolume": {
  17931. "description": "内盘",
  17932. "type": "integer"
  17933. },
  17934. "totalbidvolume": {
  17935. "description": "外盘",
  17936. "type": "integer"
  17937. },
  17938. "totallot": {
  17939. "description": "总手数",
  17940. "type": "integer"
  17941. },
  17942. "totalturnover": {
  17943. "description": "总金额",
  17944. "type": "number"
  17945. },
  17946. "totalvolume": {
  17947. "description": "总量",
  17948. "type": "integer"
  17949. },
  17950. "utclasttime": {
  17951. "description": "utc的行情时间",
  17952. "type": "string"
  17953. }
  17954. }
  17955. },
  17956. "quote.QueryTSDataRsp": {
  17957. "type": "object",
  17958. "properties": {
  17959. "decimalPlace": {
  17960. "description": "小数位",
  17961. "type": "integer"
  17962. },
  17963. "endTime": {
  17964. "description": "结束时间",
  17965. "type": "string"
  17966. },
  17967. "goodsCode": {
  17968. "description": "商品代码",
  17969. "type": "string"
  17970. },
  17971. "historyDatas": {
  17972. "description": "历史数据",
  17973. "type": "array",
  17974. "items": {
  17975. "$ref": "#/definitions/quote.HistoryData"
  17976. }
  17977. },
  17978. "outGoodsCode": {
  17979. "description": "外部商品代码",
  17980. "type": "string"
  17981. },
  17982. "preSettle": {
  17983. "description": "昨结",
  17984. "type": "number"
  17985. },
  17986. "startTime": {
  17987. "description": "开始时间",
  17988. "type": "string"
  17989. },
  17990. "tradeDate": {
  17991. "description": "交易日",
  17992. "type": "string"
  17993. }
  17994. }
  17995. },
  17996. "szdz.QueryConvertLogRsp": {
  17997. "type": "object",
  17998. "required": [
  17999. "logid"
  18000. ],
  18001. "properties": {
  18002. "accountid": {
  18003. "description": "资金账户ID",
  18004. "type": "integer"
  18005. },
  18006. "clientticket": {
  18007. "description": "客户端流水号",
  18008. "type": "string"
  18009. },
  18010. "converttype": {
  18011. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  18012. "type": "integer"
  18013. },
  18014. "createtime": {
  18015. "description": "记账时间",
  18016. "type": "string"
  18017. },
  18018. "daymaxvalue": {
  18019. "description": "配置当日最大转入限制",
  18020. "type": "number"
  18021. },
  18022. "daymaxvalue2": {
  18023. "description": "配置当日最大转入限制(转入)",
  18024. "type": "number"
  18025. },
  18026. "goodscode": {
  18027. "description": "商品代码",
  18028. "type": "string"
  18029. },
  18030. "goodsname": {
  18031. "description": "商品名称",
  18032. "type": "string"
  18033. },
  18034. "handlestatus": {
  18035. "description": "处理状态",
  18036. "type": "integer"
  18037. },
  18038. "innergoodsid": {
  18039. "description": "内部商品ID",
  18040. "type": "integer"
  18041. },
  18042. "inratio": {
  18043. "description": "配置转入比值",
  18044. "type": "integer"
  18045. },
  18046. "invalue": {
  18047. "description": "目标值",
  18048. "type": "number"
  18049. },
  18050. "logid": {
  18051. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18052. "type": "integer"
  18053. },
  18054. "mobile": {
  18055. "description": "手机号码(加密存储)",
  18056. "type": "string"
  18057. },
  18058. "outergoodscode": {
  18059. "description": "外部商品代码[JD\\PD]",
  18060. "type": "string"
  18061. },
  18062. "outratio": {
  18063. "description": "配置转出比值",
  18064. "type": "integer"
  18065. },
  18066. "outvalue": {
  18067. "description": "源值",
  18068. "type": "number"
  18069. },
  18070. "pddecimalplace": {
  18071. "description": "PD小数位",
  18072. "type": "integer"
  18073. },
  18074. "qty": {
  18075. "description": "数量",
  18076. "type": "string"
  18077. },
  18078. "remark": {
  18079. "description": "备注",
  18080. "type": "string"
  18081. },
  18082. "sessionid": {
  18083. "description": "会话ID",
  18084. "type": "integer"
  18085. },
  18086. "timemaxvalue": {
  18087. "description": "配置单次最大转入限制",
  18088. "type": "number"
  18089. },
  18090. "timemaxvalue2": {
  18091. "description": "配置单次最大转入限制(转入)",
  18092. "type": "number"
  18093. },
  18094. "timeminvalue": {
  18095. "description": "配置单次最小数量限制",
  18096. "type": "number"
  18097. },
  18098. "timeminvalue2": {
  18099. "description": "配置单次最小数量限制(转入)",
  18100. "type": "number"
  18101. },
  18102. "tradedate": {
  18103. "description": "交易日(yyyyMMdd)",
  18104. "type": "string"
  18105. },
  18106. "userid": {
  18107. "description": "用户ID",
  18108. "type": "integer"
  18109. }
  18110. }
  18111. },
  18112. "szdz.QueryGoodsPickupRsp": {
  18113. "type": "object",
  18114. "required": [
  18115. "takeorderid"
  18116. ],
  18117. "properties": {
  18118. "accountid": {
  18119. "description": "账户ID",
  18120. "type": "integer"
  18121. },
  18122. "address": {
  18123. "description": "提货人详细地址",
  18124. "type": "string"
  18125. },
  18126. "auditer": {
  18127. "description": "审核人",
  18128. "type": "integer"
  18129. },
  18130. "audittime": {
  18131. "description": "审核时间",
  18132. "type": "string"
  18133. },
  18134. "cardnum": {
  18135. "description": "提货人证件号码",
  18136. "type": "string"
  18137. },
  18138. "cardtypeid": {
  18139. "description": "提货人证件类型",
  18140. "type": "integer"
  18141. },
  18142. "checkremark": {
  18143. "description": "审核备注",
  18144. "type": "string"
  18145. },
  18146. "goodscode": {
  18147. "description": "商品代码",
  18148. "type": "string"
  18149. },
  18150. "goodsid": {
  18151. "description": "商品ID",
  18152. "type": "integer"
  18153. },
  18154. "goodsname": {
  18155. "description": "商品名称",
  18156. "type": "string"
  18157. },
  18158. "handlestatus": {
  18159. "description": "处理状态",
  18160. "type": "integer"
  18161. },
  18162. "marketid": {
  18163. "description": "市场ID",
  18164. "type": "integer"
  18165. },
  18166. "phonenum": {
  18167. "description": "提货人联系方式",
  18168. "type": "string"
  18169. },
  18170. "qty": {
  18171. "description": "提货数量",
  18172. "type": "number"
  18173. },
  18174. "recivername": {
  18175. "description": "提货人姓名",
  18176. "type": "string"
  18177. },
  18178. "reqtime": {
  18179. "description": "更新时间",
  18180. "type": "string"
  18181. },
  18182. "takemode": {
  18183. "description": "提货方式 - 2:自提 3:配送",
  18184. "type": "integer"
  18185. },
  18186. "takeorderid": {
  18187. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18188. "type": "string"
  18189. },
  18190. "takeorderstatus": {
  18191. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18192. "type": "integer"
  18193. },
  18194. "takeremark": {
  18195. "description": "提货备注",
  18196. "type": "string"
  18197. },
  18198. "tradedate": {
  18199. "description": "交易日(yyyyMMdd)",
  18200. "type": "string"
  18201. },
  18202. "userid": {
  18203. "description": "用户ID",
  18204. "type": "integer"
  18205. }
  18206. }
  18207. },
  18208. "szdz.QueryRecieptOrderRsp": {
  18209. "type": "object",
  18210. "required": [
  18211. "ordertime"
  18212. ],
  18213. "properties": {
  18214. "accountName": {
  18215. "description": "所属账号名称(已脱敏)",
  18216. "type": "string"
  18217. },
  18218. "accountid": {
  18219. "description": "资金账号",
  18220. "type": "integer"
  18221. },
  18222. "buyorsell": {
  18223. "description": "方向 - 0:买 1:卖",
  18224. "type": "integer"
  18225. },
  18226. "enableqty": {
  18227. "description": "可摘数量",
  18228. "type": "integer"
  18229. },
  18230. "goodscode": {
  18231. "description": "商品代码",
  18232. "type": "string"
  18233. },
  18234. "goodsid": {
  18235. "description": "商品ID",
  18236. "type": "integer"
  18237. },
  18238. "goodsname": {
  18239. "description": "商品名称",
  18240. "type": "string"
  18241. },
  18242. "orderid": {
  18243. "description": "委托单号",
  18244. "type": "string"
  18245. },
  18246. "orderprice": {
  18247. "description": "委托价格",
  18248. "type": "number"
  18249. },
  18250. "ordertime": {
  18251. "description": "委托时间",
  18252. "type": "string"
  18253. },
  18254. "tradedate": {
  18255. "description": "交易日(yyyyMMdd)",
  18256. "type": "string"
  18257. }
  18258. }
  18259. },
  18260. "szdz.QuerySZDZTradePositionRsp": {
  18261. "type": "object",
  18262. "properties": {
  18263. "accountid": {
  18264. "description": "账号Id",
  18265. "type": "integer"
  18266. },
  18267. "agreeunit": {
  18268. "description": "合约单位",
  18269. "type": "number"
  18270. },
  18271. "averageprice": {
  18272. "description": "持仓均价",
  18273. "type": "number"
  18274. },
  18275. "buyorsell": {
  18276. "description": "方向 - 0:买 1:卖",
  18277. "type": "integer"
  18278. },
  18279. "closetotalqty": {
  18280. "description": "平仓总数量",
  18281. "type": "integer"
  18282. },
  18283. "curholderamount": {
  18284. "description": "当前持仓总金额",
  18285. "type": "number"
  18286. },
  18287. "curpositionqty": {
  18288. "description": "当前持仓总数量",
  18289. "type": "integer"
  18290. },
  18291. "currencyid": {
  18292. "description": "报价货币ID",
  18293. "type": "integer"
  18294. },
  18295. "curtdposition": {
  18296. "description": "期末今日头寸",
  18297. "type": "integer"
  18298. },
  18299. "decimalplace": {
  18300. "description": "报价小数位",
  18301. "type": "integer"
  18302. },
  18303. "enableqty": {
  18304. "description": "可用量",
  18305. "type": "integer"
  18306. },
  18307. "fretdposition": {
  18308. "description": "冻结今日头寸",
  18309. "type": "integer"
  18310. },
  18311. "frozenqty": {
  18312. "description": "持仓冻结数量",
  18313. "type": "integer"
  18314. },
  18315. "goodscode": {
  18316. "description": "商品代码(内部)",
  18317. "type": "string"
  18318. },
  18319. "goodsid": {
  18320. "description": "商品Id",
  18321. "type": "integer"
  18322. },
  18323. "goodsname": {
  18324. "description": "商品名称",
  18325. "type": "string"
  18326. },
  18327. "goodunit": {
  18328. "description": "报价单位",
  18329. "type": "string"
  18330. },
  18331. "goodunitid": {
  18332. "description": "报价单位ID",
  18333. "type": "integer"
  18334. },
  18335. "holderamount": {
  18336. "description": "期初持仓总金额",
  18337. "type": "number"
  18338. },
  18339. "marketid": {
  18340. "description": "市场ID",
  18341. "type": "integer"
  18342. },
  18343. "openreqqty": {
  18344. "description": "开仓申请数量",
  18345. "type": "integer"
  18346. },
  18347. "opentotalqty": {
  18348. "description": "开仓总数量",
  18349. "type": "integer"
  18350. },
  18351. "otherfrozenqty": {
  18352. "description": "持仓其他冻结数量(交割冻结)",
  18353. "type": "integer"
  18354. },
  18355. "positionqty": {
  18356. "description": "期初持仓数量",
  18357. "type": "integer"
  18358. },
  18359. "szdz3freezqty": {
  18360. "description": "尚志大宗转换冻结总数量",
  18361. "type": "integer"
  18362. },
  18363. "tnqty": {
  18364. "description": "T+N冻结总量",
  18365. "type": "integer"
  18366. },
  18367. "tnusedqty": {
  18368. "description": "T+N使用量",
  18369. "type": "integer"
  18370. },
  18371. "trademode": {
  18372. "description": "交易模式",
  18373. "type": "integer"
  18374. },
  18375. "usedmargin": {
  18376. "description": "占用保证金",
  18377. "type": "number"
  18378. }
  18379. }
  18380. },
  18381. "taaccount.QueryAmountLogRsp": {
  18382. "type": "object",
  18383. "required": [
  18384. "accountid",
  18385. "amount",
  18386. "amountadjusttype",
  18387. "autoid",
  18388. "balance",
  18389. "createtime",
  18390. "currentbalance",
  18391. "operatetype"
  18392. ],
  18393. "properties": {
  18394. "OPERATETYPENAME": {
  18395. "description": "资金操作类型名称",
  18396. "type": "string"
  18397. },
  18398. "accountid": {
  18399. "description": "资金账户ID",
  18400. "type": "integer"
  18401. },
  18402. "agoodscode": {
  18403. "description": "竞拍商品代码",
  18404. "type": "string"
  18405. },
  18406. "agoodsname": {
  18407. "description": "竞拍商品名称",
  18408. "type": "string"
  18409. },
  18410. "amount": {
  18411. "description": "资金金额",
  18412. "type": "number"
  18413. },
  18414. "amountadjusttype": {
  18415. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18416. "type": "integer"
  18417. },
  18418. "autoid": {
  18419. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18420. "type": "integer"
  18421. },
  18422. "balance": {
  18423. "description": "期初余额",
  18424. "type": "number"
  18425. },
  18426. "businesscode": {
  18427. "description": "业务编号",
  18428. "type": "integer"
  18429. },
  18430. "createtime": {
  18431. "description": "发生时间",
  18432. "type": "string"
  18433. },
  18434. "currencyid": {
  18435. "description": "币种ID",
  18436. "type": "integer"
  18437. },
  18438. "currentbalance": {
  18439. "description": "期末余额(变动后金额)",
  18440. "type": "number"
  18441. },
  18442. "dgoodscode": {
  18443. "description": "交割商品代码",
  18444. "type": "string"
  18445. },
  18446. "dgoodsname": {
  18447. "description": "交割商品名称",
  18448. "type": "string"
  18449. },
  18450. "goodscode": {
  18451. "description": "商品代码",
  18452. "type": "string"
  18453. },
  18454. "goodsid": {
  18455. "description": "商品ID",
  18456. "type": "integer"
  18457. },
  18458. "goodsname": {
  18459. "description": "商品名称",
  18460. "type": "string"
  18461. },
  18462. "marketid": {
  18463. "description": "市场ID",
  18464. "type": "integer"
  18465. },
  18466. "marketname": {
  18467. "description": "市场名称",
  18468. "type": "string"
  18469. },
  18470. "moneyticket": {
  18471. "description": "资金流水号:银行端流水号",
  18472. "type": "integer"
  18473. },
  18474. "operatetype": {
  18475. "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:营销收款",
  18476. "type": "integer"
  18477. },
  18478. "relationorderid": {
  18479. "description": "关联单号",
  18480. "type": "string"
  18481. },
  18482. "remark": {
  18483. "description": "备注",
  18484. "type": "string"
  18485. },
  18486. "trademode": {
  18487. "description": "交易模式",
  18488. "type": "integer"
  18489. }
  18490. }
  18491. },
  18492. "taaccount.QueryHisAmountLogRsp": {
  18493. "type": "object",
  18494. "required": [
  18495. "accountid",
  18496. "amount",
  18497. "amountadjusttype",
  18498. "autoid",
  18499. "balance",
  18500. "createtime",
  18501. "currentbalance",
  18502. "histradedate",
  18503. "operatetype"
  18504. ],
  18505. "properties": {
  18506. "OPERATETYPENAME": {
  18507. "description": "资金操作类型名称",
  18508. "type": "string"
  18509. },
  18510. "accountid": {
  18511. "description": "资金账户ID",
  18512. "type": "integer"
  18513. },
  18514. "agoodscode": {
  18515. "description": "竞拍商品代码",
  18516. "type": "string"
  18517. },
  18518. "agoodsname": {
  18519. "description": "竞拍商品名称",
  18520. "type": "string"
  18521. },
  18522. "amount": {
  18523. "description": "资金金额",
  18524. "type": "number"
  18525. },
  18526. "amountadjusttype": {
  18527. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18528. "type": "integer"
  18529. },
  18530. "autoid": {
  18531. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18532. "type": "integer"
  18533. },
  18534. "balance": {
  18535. "description": "期初余额",
  18536. "type": "number"
  18537. },
  18538. "businesscode": {
  18539. "description": "业务编号",
  18540. "type": "integer"
  18541. },
  18542. "createtime": {
  18543. "description": "发生时间",
  18544. "type": "string"
  18545. },
  18546. "currencyid": {
  18547. "description": "币种ID",
  18548. "type": "integer"
  18549. },
  18550. "currentbalance": {
  18551. "description": "期末余额(变动后金额)",
  18552. "type": "number"
  18553. },
  18554. "dgoodscode": {
  18555. "description": "交割商品代码",
  18556. "type": "string"
  18557. },
  18558. "dgoodsname": {
  18559. "description": "交割商品名称",
  18560. "type": "string"
  18561. },
  18562. "goodscode": {
  18563. "description": "商品代码",
  18564. "type": "string"
  18565. },
  18566. "goodsid": {
  18567. "description": "商品ID",
  18568. "type": "integer"
  18569. },
  18570. "goodsname": {
  18571. "description": "商品名称",
  18572. "type": "string"
  18573. },
  18574. "histradedate": {
  18575. "description": "历史交易日",
  18576. "type": "string"
  18577. },
  18578. "isvaliddata": {
  18579. "description": "是否有效 - 0:无效 1:有效",
  18580. "type": "integer"
  18581. },
  18582. "marketid": {
  18583. "description": "市场ID",
  18584. "type": "integer"
  18585. },
  18586. "marketname": {
  18587. "description": "市场名称",
  18588. "type": "string"
  18589. },
  18590. "moneyticket": {
  18591. "description": "资金流水号:银行端流水号",
  18592. "type": "integer"
  18593. },
  18594. "operatetype": {
  18595. "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:营销收款",
  18596. "type": "integer"
  18597. },
  18598. "relationorderid": {
  18599. "description": "关联单号",
  18600. "type": "string"
  18601. },
  18602. "remark": {
  18603. "description": "备注",
  18604. "type": "string"
  18605. },
  18606. "trademode": {
  18607. "description": "交易模式",
  18608. "type": "integer"
  18609. }
  18610. }
  18611. },
  18612. "trade.QueryRecieptOrderRsp": {
  18613. "type": "object",
  18614. "required": [
  18615. "ordertime"
  18616. ],
  18617. "properties": {
  18618. "accountName": {
  18619. "description": "所属账号名称(已脱敏)",
  18620. "type": "string"
  18621. },
  18622. "accountid": {
  18623. "description": "资金账号",
  18624. "type": "integer"
  18625. },
  18626. "buyorsell": {
  18627. "description": "方向 - 0:买 1:卖",
  18628. "type": "integer"
  18629. },
  18630. "enableqty": {
  18631. "description": "可摘数量",
  18632. "type": "integer"
  18633. },
  18634. "goodscode": {
  18635. "description": "商品代码",
  18636. "type": "string"
  18637. },
  18638. "goodsid": {
  18639. "description": "商品ID",
  18640. "type": "integer"
  18641. },
  18642. "goodsname": {
  18643. "description": "商品名称",
  18644. "type": "string"
  18645. },
  18646. "orderid": {
  18647. "description": "委托单号",
  18648. "type": "string"
  18649. },
  18650. "orderprice": {
  18651. "description": "委托价格",
  18652. "type": "number"
  18653. },
  18654. "ordertime": {
  18655. "description": "委托时间",
  18656. "type": "string"
  18657. },
  18658. "tradedate": {
  18659. "description": "交易日(yyyyMMdd)",
  18660. "type": "string"
  18661. }
  18662. }
  18663. },
  18664. "user.LoginQueryRsp": {
  18665. "type": "object",
  18666. "properties": {
  18667. "externalExchanges": {
  18668. "description": "外部交易所",
  18669. "type": "array",
  18670. "items": {
  18671. "$ref": "#/definitions/models.Externalexchange"
  18672. }
  18673. },
  18674. "goodsgroups": {
  18675. "description": "商品组",
  18676. "type": "array",
  18677. "items": {
  18678. "$ref": "#/definitions/models.Goodsgroup"
  18679. }
  18680. },
  18681. "loginAccount": {
  18682. "description": "登录账号",
  18683. "$ref": "#/definitions/models.Loginaccount"
  18684. },
  18685. "markets": {
  18686. "description": "市场",
  18687. "type": "array",
  18688. "items": {
  18689. "$ref": "#/definitions/models.Market"
  18690. }
  18691. },
  18692. "systemParams": {
  18693. "description": "系统参数",
  18694. "type": "array",
  18695. "items": {
  18696. "$ref": "#/definitions/models.Systemparam"
  18697. }
  18698. },
  18699. "userAccount": {
  18700. "description": "用户账号",
  18701. "$ref": "#/definitions/models.Useraccount"
  18702. },
  18703. "userInfo": {
  18704. "description": "用户信息",
  18705. "$ref": "#/definitions/models.Userinfo"
  18706. },
  18707. "username": {
  18708. "description": "用户姓名",
  18709. "type": "string"
  18710. }
  18711. }
  18712. }
  18713. },
  18714. "securityDefinitions": {
  18715. "ApiKeyAuth": {
  18716. "type": "apiKey",
  18717. "name": "Authorization",
  18718. "in": "header"
  18719. }
  18720. }
  18721. }`
  18722. type swaggerInfo struct {
  18723. Version string
  18724. Host string
  18725. BasePath string
  18726. Schemes []string
  18727. Title string
  18728. Description string
  18729. }
  18730. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18731. var SwaggerInfo = swaggerInfo{
  18732. Version: "1.0",
  18733. Host: "",
  18734. BasePath: "/api",
  18735. Schemes: []string{},
  18736. Title: "MTP2.0 查询服务 API",
  18737. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18738. }
  18739. type s struct{}
  18740. func (s *s) ReadDoc() string {
  18741. sInfo := SwaggerInfo
  18742. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18743. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18744. "marshal": func(v interface{}) string {
  18745. a, _ := json.Marshal(v)
  18746. return string(a)
  18747. },
  18748. }).Parse(doc)
  18749. if err != nil {
  18750. return doc
  18751. }
  18752. var tpl bytes.Buffer
  18753. if err := t.Execute(&tpl, sInfo); err != nil {
  18754. return doc
  18755. }
  18756. return tpl.String()
  18757. }
  18758. func init() {
  18759. swag.Register(swag.Name, &s{})
  18760. }