docs.go 674 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737
  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": "integer",
  806. "description": "已存末尾商品编号",
  807. "name": "lastID",
  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. "responses": {
  2740. "200": {
  2741. "description": "OK",
  2742. "schema": {
  2743. "type": "array",
  2744. "items": {
  2745. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2746. }
  2747. }
  2748. },
  2749. "500": {
  2750. "description": "Internal Server Error",
  2751. "schema": {
  2752. "$ref": "#/definitions/app.Response"
  2753. }
  2754. }
  2755. }
  2756. }
  2757. },
  2758. "/Erms2/QueryArbitrageStrategy": {
  2759. "get": {
  2760. "security": [
  2761. {
  2762. "ApiKeyAuth": []
  2763. }
  2764. ],
  2765. "produces": [
  2766. "application/json"
  2767. ],
  2768. "tags": [
  2769. "风险管理"
  2770. ],
  2771. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2772. "parameters": [
  2773. {
  2774. "type": "integer",
  2775. "description": "账户ID",
  2776. "name": "userid",
  2777. "in": "query",
  2778. "required": true
  2779. },
  2780. {
  2781. "type": "string",
  2782. "description": "商品组ID(品种ID)",
  2783. "name": "goodsgroupid",
  2784. "in": "query"
  2785. }
  2786. ],
  2787. "responses": {
  2788. "200": {
  2789. "description": "OK",
  2790. "schema": {
  2791. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2792. }
  2793. },
  2794. "500": {
  2795. "description": "Internal Server Error",
  2796. "schema": {
  2797. "$ref": "#/definitions/app.Response"
  2798. }
  2799. }
  2800. }
  2801. }
  2802. },
  2803. "/Erms2/QueryInnerTradeDetail": {
  2804. "get": {
  2805. "security": [
  2806. {
  2807. "ApiKeyAuth": []
  2808. }
  2809. ],
  2810. "produces": [
  2811. "application/json"
  2812. ],
  2813. "tags": [
  2814. "风险管理"
  2815. ],
  2816. "summary": "查询内部成交单信息",
  2817. "parameters": [
  2818. {
  2819. "type": "integer",
  2820. "description": "资金账户",
  2821. "name": "accountid",
  2822. "in": "query",
  2823. "required": true
  2824. }
  2825. ],
  2826. "responses": {
  2827. "200": {
  2828. "description": "OK",
  2829. "schema": {
  2830. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2831. }
  2832. },
  2833. "500": {
  2834. "description": "Internal Server Error",
  2835. "schema": {
  2836. "$ref": "#/definitions/app.Response"
  2837. }
  2838. }
  2839. }
  2840. }
  2841. },
  2842. "/Erms2/QuerySpotContract": {
  2843. "get": {
  2844. "security": [
  2845. {
  2846. "ApiKeyAuth": []
  2847. }
  2848. ],
  2849. "produces": [
  2850. "application/json"
  2851. ],
  2852. "tags": [
  2853. "风险管理"
  2854. ],
  2855. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2856. "parameters": [
  2857. {
  2858. "type": "integer",
  2859. "description": "策略申请ID",
  2860. "name": "asapplyid",
  2861. "in": "query",
  2862. "required": true
  2863. },
  2864. {
  2865. "type": "integer",
  2866. "description": "现货合同ID",
  2867. "name": "spotcontractid",
  2868. "in": "query"
  2869. }
  2870. ],
  2871. "responses": {
  2872. "200": {
  2873. "description": "OK",
  2874. "schema": {
  2875. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2876. }
  2877. },
  2878. "500": {
  2879. "description": "Internal Server Error",
  2880. "schema": {
  2881. "$ref": "#/definitions/app.Response"
  2882. }
  2883. }
  2884. }
  2885. }
  2886. },
  2887. "/Erms3/AddErms2ASApply": {
  2888. "post": {
  2889. "security": [
  2890. {
  2891. "ApiKeyAuth": []
  2892. }
  2893. ],
  2894. "produces": [
  2895. "application/json"
  2896. ],
  2897. "tags": [
  2898. "风险管理v3"
  2899. ],
  2900. "summary": "新增期现套利业务申请",
  2901. "parameters": [
  2902. {
  2903. "description": "申请参数",
  2904. "name": "jsonBody",
  2905. "in": "body",
  2906. "required": true,
  2907. "schema": {
  2908. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2909. }
  2910. }
  2911. ],
  2912. "responses": {
  2913. "200": {
  2914. "description": "OK",
  2915. "schema": {
  2916. "$ref": "#/definitions/app.Response"
  2917. }
  2918. },
  2919. "500": {
  2920. "description": "Internal Server Error",
  2921. "schema": {
  2922. "$ref": "#/definitions/app.Response"
  2923. }
  2924. }
  2925. }
  2926. }
  2927. },
  2928. "/Erms3/AddErms2SpotTradeApply": {
  2929. "post": {
  2930. "security": [
  2931. {
  2932. "ApiKeyAuth": []
  2933. }
  2934. ],
  2935. "produces": [
  2936. "application/json"
  2937. ],
  2938. "tags": [
  2939. "风险管理v3"
  2940. ],
  2941. "summary": "新增现货贸易业务申请",
  2942. "parameters": [
  2943. {
  2944. "description": "申请参数",
  2945. "name": "jsonBody",
  2946. "in": "body",
  2947. "required": true,
  2948. "schema": {
  2949. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2950. }
  2951. }
  2952. ],
  2953. "responses": {
  2954. "200": {
  2955. "description": "OK",
  2956. "schema": {
  2957. "$ref": "#/definitions/app.Response"
  2958. }
  2959. },
  2960. "500": {
  2961. "description": "Internal Server Error",
  2962. "schema": {
  2963. "$ref": "#/definitions/app.Response"
  2964. }
  2965. }
  2966. }
  2967. }
  2968. },
  2969. "/Erms3/AddSpotContractApply": {
  2970. "post": {
  2971. "security": [
  2972. {
  2973. "ApiKeyAuth": []
  2974. }
  2975. ],
  2976. "produces": [
  2977. "application/json"
  2978. ],
  2979. "tags": [
  2980. "风险管理v3"
  2981. ],
  2982. "summary": "新增现货合同申请",
  2983. "parameters": [
  2984. {
  2985. "description": "申请参数",
  2986. "name": "jsonBody",
  2987. "in": "body",
  2988. "required": true,
  2989. "schema": {
  2990. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2991. }
  2992. }
  2993. ],
  2994. "responses": {
  2995. "200": {
  2996. "description": "OK",
  2997. "schema": {
  2998. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2999. }
  3000. },
  3001. "500": {
  3002. "description": "Internal Server Error",
  3003. "schema": {
  3004. "$ref": "#/definitions/app.Response"
  3005. }
  3006. }
  3007. }
  3008. }
  3009. },
  3010. "/Erms3/AddUserInfoApply": {
  3011. "post": {
  3012. "security": [
  3013. {
  3014. "ApiKeyAuth": []
  3015. }
  3016. ],
  3017. "produces": [
  3018. "application/json"
  3019. ],
  3020. "tags": [
  3021. "风险管理v3"
  3022. ],
  3023. "summary": "新增客户申请",
  3024. "parameters": [
  3025. {
  3026. "description": "用户信息",
  3027. "name": "jsonBody",
  3028. "in": "body",
  3029. "required": true,
  3030. "schema": {
  3031. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3032. }
  3033. }
  3034. ],
  3035. "responses": {
  3036. "200": {
  3037. "description": "OK",
  3038. "schema": {
  3039. "$ref": "#/definitions/app.Response"
  3040. }
  3041. },
  3042. "500": {
  3043. "description": "Internal Server Error",
  3044. "schema": {
  3045. "$ref": "#/definitions/app.Response"
  3046. }
  3047. }
  3048. }
  3049. }
  3050. },
  3051. "/Erms3/ModifyUserInfoApply": {
  3052. "post": {
  3053. "security": [
  3054. {
  3055. "ApiKeyAuth": []
  3056. }
  3057. ],
  3058. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3059. "produces": [
  3060. "application/json"
  3061. ],
  3062. "tags": [
  3063. "风险管理v3"
  3064. ],
  3065. "summary": "修改客户申请",
  3066. "parameters": [
  3067. {
  3068. "description": "用户信息",
  3069. "name": "jsonBody",
  3070. "in": "body",
  3071. "required": true,
  3072. "schema": {
  3073. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3074. }
  3075. }
  3076. ],
  3077. "responses": {
  3078. "200": {
  3079. "description": "OK",
  3080. "schema": {
  3081. "$ref": "#/definitions/app.Response"
  3082. }
  3083. },
  3084. "500": {
  3085. "description": "Internal Server Error",
  3086. "schema": {
  3087. "$ref": "#/definitions/app.Response"
  3088. }
  3089. }
  3090. }
  3091. }
  3092. },
  3093. "/Erms3/QueryBusinessInfo": {
  3094. "get": {
  3095. "security": [
  3096. {
  3097. "ApiKeyAuth": []
  3098. }
  3099. ],
  3100. "produces": [
  3101. "application/json"
  3102. ],
  3103. "tags": [
  3104. "风险管理v3"
  3105. ],
  3106. "summary": "查询业务表单数据",
  3107. "parameters": [
  3108. {
  3109. "type": "string",
  3110. "description": "资金账号ID列表,用逗号分隔",
  3111. "name": "accountids",
  3112. "in": "query",
  3113. "required": true
  3114. },
  3115. {
  3116. "type": "integer",
  3117. "description": "状态,0为未结束 1为已结束",
  3118. "name": "status",
  3119. "in": "query",
  3120. "required": true
  3121. }
  3122. ],
  3123. "responses": {
  3124. "200": {
  3125. "description": "OK",
  3126. "schema": {
  3127. "type": "array",
  3128. "items": {
  3129. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3130. }
  3131. }
  3132. },
  3133. "500": {
  3134. "description": "Internal Server Error",
  3135. "schema": {
  3136. "$ref": "#/definitions/app.Response"
  3137. }
  3138. }
  3139. }
  3140. }
  3141. },
  3142. "/Erms3/QueryPendingAuditContract": {
  3143. "get": {
  3144. "security": [
  3145. {
  3146. "ApiKeyAuth": []
  3147. }
  3148. ],
  3149. "produces": [
  3150. "application/json"
  3151. ],
  3152. "tags": [
  3153. "风险管理v3"
  3154. ],
  3155. "summary": "查询待审核合同",
  3156. "parameters": [
  3157. {
  3158. "type": "string",
  3159. "description": "资金账号ID列表,逗号隔开",
  3160. "name": "accountids",
  3161. "in": "query",
  3162. "required": true
  3163. },
  3164. {
  3165. "type": "integer",
  3166. "description": "合同类型 1-采购 -1-销售",
  3167. "name": "contracttype",
  3168. "in": "query",
  3169. "required": true
  3170. },
  3171. {
  3172. "type": "integer",
  3173. "description": "合同模式 1-普通 2-回购",
  3174. "name": "contractmode",
  3175. "in": "query",
  3176. "required": true
  3177. }
  3178. ],
  3179. "responses": {
  3180. "200": {
  3181. "description": "OK",
  3182. "schema": {
  3183. "type": "array",
  3184. "items": {
  3185. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3186. }
  3187. }
  3188. },
  3189. "500": {
  3190. "description": "Internal Server Error",
  3191. "schema": {
  3192. "$ref": "#/definitions/app.Response"
  3193. }
  3194. }
  3195. }
  3196. }
  3197. },
  3198. "/Erms3/QueryPendingBusiness": {
  3199. "get": {
  3200. "security": [
  3201. {
  3202. "ApiKeyAuth": []
  3203. }
  3204. ],
  3205. "produces": [
  3206. "application/json"
  3207. ],
  3208. "tags": [
  3209. "风险管理v3"
  3210. ],
  3211. "summary": "查询待审核基差贸易业务",
  3212. "parameters": [
  3213. {
  3214. "type": "string",
  3215. "description": "资金账号ID列表,逗号隔开",
  3216. "name": "accountids",
  3217. "in": "query",
  3218. "required": true
  3219. }
  3220. ],
  3221. "responses": {
  3222. "200": {
  3223. "description": "OK",
  3224. "schema": {
  3225. "type": "array",
  3226. "items": {
  3227. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3228. }
  3229. }
  3230. },
  3231. "500": {
  3232. "description": "Internal Server Error",
  3233. "schema": {
  3234. "$ref": "#/definitions/app.Response"
  3235. }
  3236. }
  3237. }
  3238. }
  3239. },
  3240. "/Erms3/QuerySpotContractAppleForm": {
  3241. "get": {
  3242. "security": [
  3243. {
  3244. "ApiKeyAuth": []
  3245. }
  3246. ],
  3247. "produces": [
  3248. "application/json"
  3249. ],
  3250. "tags": [
  3251. "风险管理v3"
  3252. ],
  3253. "summary": "查询合同申请表单数据",
  3254. "parameters": [
  3255. {
  3256. "type": "integer",
  3257. "description": "登录账号",
  3258. "name": "loginID",
  3259. "in": "query",
  3260. "required": true
  3261. }
  3262. ],
  3263. "responses": {
  3264. "200": {
  3265. "description": "OK",
  3266. "schema": {
  3267. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3268. }
  3269. },
  3270. "500": {
  3271. "description": "Internal Server Error",
  3272. "schema": {
  3273. "$ref": "#/definitions/app.Response"
  3274. }
  3275. }
  3276. }
  3277. }
  3278. },
  3279. "/Erms3/QuerySpotContractDetail": {
  3280. "get": {
  3281. "security": [
  3282. {
  3283. "ApiKeyAuth": []
  3284. }
  3285. ],
  3286. "produces": [
  3287. "application/json"
  3288. ],
  3289. "tags": [
  3290. "风险管理v3"
  3291. ],
  3292. "summary": "查询合同详细信息",
  3293. "parameters": [
  3294. {
  3295. "type": "string",
  3296. "description": "资金账号ID列表,用逗号分隔",
  3297. "name": "accountids",
  3298. "in": "query",
  3299. "required": true
  3300. },
  3301. {
  3302. "type": "integer",
  3303. "description": "合同类型,1为采购合同 -1为销售合同",
  3304. "name": "contracttype",
  3305. "in": "query",
  3306. "required": true
  3307. },
  3308. {
  3309. "type": "integer",
  3310. "description": "合同模式,1为普通合同 2为回购销售合同",
  3311. "name": "contractmode",
  3312. "in": "query",
  3313. "required": true
  3314. },
  3315. {
  3316. "type": "integer",
  3317. "description": "状态,0为履约中 1为已完成",
  3318. "name": "status",
  3319. "in": "query",
  3320. "required": true
  3321. }
  3322. ],
  3323. "responses": {
  3324. "200": {
  3325. "description": "OK",
  3326. "schema": {
  3327. "type": "array",
  3328. "items": {
  3329. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3330. }
  3331. }
  3332. },
  3333. "500": {
  3334. "description": "Internal Server Error",
  3335. "schema": {
  3336. "$ref": "#/definitions/app.Response"
  3337. }
  3338. }
  3339. }
  3340. }
  3341. },
  3342. "/Erms3/QueryUserInfoApplies": {
  3343. "get": {
  3344. "security": [
  3345. {
  3346. "ApiKeyAuth": []
  3347. }
  3348. ],
  3349. "produces": [
  3350. "application/json"
  3351. ],
  3352. "tags": [
  3353. "风险管理v3"
  3354. ],
  3355. "summary": "客户申请信息查询",
  3356. "parameters": [
  3357. {
  3358. "type": "integer",
  3359. "description": "页码",
  3360. "name": "page",
  3361. "in": "query"
  3362. },
  3363. {
  3364. "type": "integer",
  3365. "description": "每页条数",
  3366. "name": "pagesize",
  3367. "in": "query"
  3368. },
  3369. {
  3370. "type": "string",
  3371. "description": "客户名称,支持模糊查询",
  3372. "name": "userName",
  3373. "in": "query"
  3374. }
  3375. ],
  3376. "responses": {
  3377. "200": {
  3378. "description": "OK",
  3379. "schema": {
  3380. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3381. }
  3382. },
  3383. "500": {
  3384. "description": "Internal Server Error",
  3385. "schema": {
  3386. "$ref": "#/definitions/app.Response"
  3387. }
  3388. }
  3389. }
  3390. }
  3391. },
  3392. "/Erms3/QueryUserInfos": {
  3393. "get": {
  3394. "security": [
  3395. {
  3396. "ApiKeyAuth": []
  3397. }
  3398. ],
  3399. "produces": [
  3400. "application/json"
  3401. ],
  3402. "tags": [
  3403. "风险管理v3"
  3404. ],
  3405. "summary": "客户信息查询",
  3406. "parameters": [
  3407. {
  3408. "type": "integer",
  3409. "description": "页码",
  3410. "name": "page",
  3411. "in": "query"
  3412. },
  3413. {
  3414. "type": "integer",
  3415. "description": "每页条数",
  3416. "name": "pagesize",
  3417. "in": "query"
  3418. },
  3419. {
  3420. "type": "string",
  3421. "description": "客户名称,支持模糊查询",
  3422. "name": "userName",
  3423. "in": "query"
  3424. }
  3425. ],
  3426. "responses": {
  3427. "200": {
  3428. "description": "OK",
  3429. "schema": {
  3430. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3431. }
  3432. },
  3433. "500": {
  3434. "description": "Internal Server Error",
  3435. "schema": {
  3436. "$ref": "#/definitions/app.Response"
  3437. }
  3438. }
  3439. }
  3440. }
  3441. },
  3442. "/HSBY/GetHsbyMyCount": {
  3443. "get": {
  3444. "security": [
  3445. {
  3446. "ApiKeyAuth": []
  3447. }
  3448. ],
  3449. "description": "说明: 不包括已完成的数量。",
  3450. "produces": [
  3451. "application/json"
  3452. ],
  3453. "tags": [
  3454. "定制【海商报业】"
  3455. ],
  3456. "summary": "获取我的订单与包裹数量",
  3457. "parameters": [
  3458. {
  3459. "type": "string",
  3460. "description": "资金账户列表,格式:1,2,3",
  3461. "name": "accountIDs",
  3462. "in": "query",
  3463. "required": true
  3464. }
  3465. ],
  3466. "responses": {
  3467. "200": {
  3468. "description": "OK",
  3469. "schema": {
  3470. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3471. }
  3472. },
  3473. "500": {
  3474. "description": "Internal Server Error",
  3475. "schema": {
  3476. "$ref": "#/definitions/app.Response"
  3477. }
  3478. }
  3479. }
  3480. }
  3481. },
  3482. "/HSBY/QueryClientFixedADConfigs": {
  3483. "get": {
  3484. "security": [
  3485. {
  3486. "ApiKeyAuth": []
  3487. }
  3488. ],
  3489. "produces": [
  3490. "application/json"
  3491. ],
  3492. "tags": [
  3493. "定制【海商报业】"
  3494. ],
  3495. "summary": "获取终端固定广告配置",
  3496. "responses": {
  3497. "200": {
  3498. "description": "OK",
  3499. "schema": {
  3500. "$ref": "#/definitions/models.Clientfixedadconfig"
  3501. }
  3502. },
  3503. "500": {
  3504. "description": "Internal Server Error",
  3505. "schema": {
  3506. "$ref": "#/definitions/app.Response"
  3507. }
  3508. }
  3509. }
  3510. }
  3511. },
  3512. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3513. "get": {
  3514. "security": [
  3515. {
  3516. "ApiKeyAuth": []
  3517. }
  3518. ],
  3519. "produces": [
  3520. "application/json"
  3521. ],
  3522. "tags": [
  3523. "定制【海商报业】"
  3524. ],
  3525. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3526. "parameters": [
  3527. {
  3528. "type": "integer",
  3529. "description": "页码",
  3530. "name": "page",
  3531. "in": "query"
  3532. },
  3533. {
  3534. "type": "integer",
  3535. "description": "每页条数",
  3536. "name": "pagesize",
  3537. "in": "query"
  3538. },
  3539. {
  3540. "type": "string",
  3541. "description": "资金账户列表,格式:1,2,3",
  3542. "name": "accountIDs",
  3543. "in": "query",
  3544. "required": true
  3545. }
  3546. ],
  3547. "responses": {
  3548. "200": {
  3549. "description": "OK",
  3550. "schema": {
  3551. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3552. }
  3553. },
  3554. "500": {
  3555. "description": "Internal Server Error",
  3556. "schema": {
  3557. "$ref": "#/definitions/app.Response"
  3558. }
  3559. }
  3560. }
  3561. }
  3562. },
  3563. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3564. "get": {
  3565. "security": [
  3566. {
  3567. "ApiKeyAuth": []
  3568. }
  3569. ],
  3570. "description": "说明:查询结果已按委托价格和委托时间排序",
  3571. "produces": [
  3572. "application/json"
  3573. ],
  3574. "tags": [
  3575. "定制【海商报业】"
  3576. ],
  3577. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3578. "parameters": [
  3579. {
  3580. "type": "integer",
  3581. "description": "商品ID",
  3582. "name": "goodsID",
  3583. "in": "query",
  3584. "required": true
  3585. },
  3586. {
  3587. "type": "string",
  3588. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3589. "name": "accountIDs",
  3590. "in": "query"
  3591. },
  3592. {
  3593. "type": "integer",
  3594. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3595. "name": "buyOrSell",
  3596. "in": "query"
  3597. },
  3598. {
  3599. "type": "number",
  3600. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3601. "name": "price",
  3602. "in": "query"
  3603. },
  3604. {
  3605. "type": "integer",
  3606. "description": "档位,不传则默认为3档",
  3607. "name": "speed",
  3608. "in": "query"
  3609. }
  3610. ],
  3611. "responses": {
  3612. "200": {
  3613. "description": "OK",
  3614. "schema": {
  3615. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3616. }
  3617. },
  3618. "500": {
  3619. "description": "Internal Server Error",
  3620. "schema": {
  3621. "$ref": "#/definitions/app.Response"
  3622. }
  3623. }
  3624. }
  3625. }
  3626. },
  3627. "/HSBY/QueryHsbyListingGoodsDetail": {
  3628. "get": {
  3629. "security": [
  3630. {
  3631. "ApiKeyAuth": []
  3632. }
  3633. ],
  3634. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3635. "produces": [
  3636. "application/json"
  3637. ],
  3638. "tags": [
  3639. "定制【海商报业】"
  3640. ],
  3641. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3642. "parameters": [
  3643. {
  3644. "type": "integer",
  3645. "description": "商品ID",
  3646. "name": "goodsID",
  3647. "in": "query",
  3648. "required": true
  3649. },
  3650. {
  3651. "type": "integer",
  3652. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3653. "name": "accountID",
  3654. "in": "query"
  3655. }
  3656. ],
  3657. "responses": {
  3658. "200": {
  3659. "description": "OK",
  3660. "schema": {
  3661. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3662. }
  3663. },
  3664. "500": {
  3665. "description": "Internal Server Error",
  3666. "schema": {
  3667. "$ref": "#/definitions/app.Response"
  3668. }
  3669. }
  3670. }
  3671. }
  3672. },
  3673. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3674. "get": {
  3675. "security": [
  3676. {
  3677. "ApiKeyAuth": []
  3678. }
  3679. ],
  3680. "produces": [
  3681. "application/json"
  3682. ],
  3683. "tags": [
  3684. "定制【海商报业】"
  3685. ],
  3686. "summary": "查询三级市场(商城)商品信息详情",
  3687. "parameters": [
  3688. {
  3689. "type": "integer",
  3690. "description": "委托单号",
  3691. "name": "orderID",
  3692. "in": "query",
  3693. "required": true
  3694. },
  3695. {
  3696. "type": "integer",
  3697. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3698. "name": "accountID",
  3699. "in": "query"
  3700. }
  3701. ],
  3702. "responses": {
  3703. "200": {
  3704. "description": "OK",
  3705. "schema": {
  3706. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3707. }
  3708. },
  3709. "500": {
  3710. "description": "Internal Server Error",
  3711. "schema": {
  3712. "$ref": "#/definitions/app.Response"
  3713. }
  3714. }
  3715. }
  3716. }
  3717. },
  3718. "/HSBY/QueryHsbyMarketGoodses": {
  3719. "get": {
  3720. "security": [
  3721. {
  3722. "ApiKeyAuth": []
  3723. }
  3724. ],
  3725. "produces": [
  3726. "application/json"
  3727. ],
  3728. "tags": [
  3729. "定制【海商报业】"
  3730. ],
  3731. "summary": "查询特卖商品列表(三级商城)",
  3732. "parameters": [
  3733. {
  3734. "type": "integer",
  3735. "description": "页码",
  3736. "name": "page",
  3737. "in": "query"
  3738. },
  3739. {
  3740. "type": "integer",
  3741. "description": "每页条数",
  3742. "name": "pagesize",
  3743. "in": "query"
  3744. },
  3745. {
  3746. "type": "string",
  3747. "description": "市场ID列表,格式:1,2,3",
  3748. "name": "marketIDs",
  3749. "in": "query",
  3750. "required": true
  3751. },
  3752. {
  3753. "type": "integer",
  3754. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3755. "name": "accountID",
  3756. "in": "query",
  3757. "required": true
  3758. },
  3759. {
  3760. "type": "integer",
  3761. "description": "类别ID",
  3762. "name": "categoryID",
  3763. "in": "query"
  3764. },
  3765. {
  3766. "type": "string",
  3767. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3768. "name": "goodsIDs",
  3769. "in": "query"
  3770. },
  3771. {
  3772. "type": "integer",
  3773. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3774. "name": "couponTypeID",
  3775. "in": "query"
  3776. }
  3777. ],
  3778. "responses": {
  3779. "200": {
  3780. "description": "OK",
  3781. "schema": {
  3782. "$ref": "#/definitions/models.HsbyMarketGoods"
  3783. }
  3784. },
  3785. "500": {
  3786. "description": "Internal Server Error",
  3787. "schema": {
  3788. "$ref": "#/definitions/app.Response"
  3789. }
  3790. }
  3791. }
  3792. }
  3793. },
  3794. "/HSBY/QueryHsbyMarkets": {
  3795. "get": {
  3796. "security": [
  3797. {
  3798. "ApiKeyAuth": []
  3799. }
  3800. ],
  3801. "produces": [
  3802. "application/json"
  3803. ],
  3804. "tags": [
  3805. "定制【海商报业】"
  3806. ],
  3807. "summary": "查询海商报业相关市场信息",
  3808. "responses": {
  3809. "200": {
  3810. "description": "OK",
  3811. "schema": {
  3812. "$ref": "#/definitions/models.HsbyMarketInfo"
  3813. }
  3814. },
  3815. "500": {
  3816. "description": "Internal Server Error",
  3817. "schema": {
  3818. "$ref": "#/definitions/app.Response"
  3819. }
  3820. }
  3821. }
  3822. }
  3823. },
  3824. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3825. "get": {
  3826. "security": [
  3827. {
  3828. "ApiKeyAuth": []
  3829. }
  3830. ],
  3831. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3832. "produces": [
  3833. "application/json"
  3834. ],
  3835. "tags": [
  3836. "定制【海商报业】"
  3837. ],
  3838. "summary": "查询“我的订单”信息",
  3839. "parameters": [
  3840. {
  3841. "type": "string",
  3842. "description": "资金账户列表,格式:1,2,3",
  3843. "name": "accountIDs",
  3844. "in": "query",
  3845. "required": true
  3846. }
  3847. ],
  3848. "responses": {
  3849. "200": {
  3850. "description": "OK",
  3851. "schema": {
  3852. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3853. }
  3854. },
  3855. "500": {
  3856. "description": "Internal Server Error",
  3857. "schema": {
  3858. "$ref": "#/definitions/app.Response"
  3859. }
  3860. }
  3861. }
  3862. }
  3863. },
  3864. "/HSBY/QueryHsbyMyGoods": {
  3865. "get": {
  3866. "security": [
  3867. {
  3868. "ApiKeyAuth": []
  3869. }
  3870. ],
  3871. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3872. "produces": [
  3873. "application/json"
  3874. ],
  3875. "tags": [
  3876. "定制【海商报业】"
  3877. ],
  3878. "summary": "查询“我的商品”信息",
  3879. "parameters": [
  3880. {
  3881. "type": "string",
  3882. "description": "资金账户列表,格式:1,2,3",
  3883. "name": "accountIDs",
  3884. "in": "query",
  3885. "required": true
  3886. }
  3887. ],
  3888. "responses": {
  3889. "200": {
  3890. "description": "OK",
  3891. "schema": {
  3892. "$ref": "#/definitions/models.HsbyMyGoods"
  3893. }
  3894. },
  3895. "500": {
  3896. "description": "Internal Server Error",
  3897. "schema": {
  3898. "$ref": "#/definitions/app.Response"
  3899. }
  3900. }
  3901. }
  3902. }
  3903. },
  3904. "/HSBY/QueryHsbyMyPackages": {
  3905. "get": {
  3906. "security": [
  3907. {
  3908. "ApiKeyAuth": []
  3909. }
  3910. ],
  3911. "produces": [
  3912. "application/json"
  3913. ],
  3914. "tags": [
  3915. "定制【海商报业】"
  3916. ],
  3917. "summary": "查询我的包裹信息",
  3918. "parameters": [
  3919. {
  3920. "type": "string",
  3921. "description": "资金账户列表,格式:1,2,3",
  3922. "name": "accountIDs",
  3923. "in": "query",
  3924. "required": true
  3925. },
  3926. {
  3927. "type": "integer",
  3928. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3929. "name": "takeOrderStatus",
  3930. "in": "query"
  3931. }
  3932. ],
  3933. "responses": {
  3934. "200": {
  3935. "description": "OK",
  3936. "schema": {
  3937. "$ref": "#/definitions/models.HsbyMyPackage"
  3938. }
  3939. },
  3940. "500": {
  3941. "description": "Internal Server Error",
  3942. "schema": {
  3943. "$ref": "#/definitions/app.Response"
  3944. }
  3945. }
  3946. }
  3947. }
  3948. },
  3949. "/HSBY/QueryHsbyPreGoodsDetail": {
  3950. "get": {
  3951. "security": [
  3952. {
  3953. "ApiKeyAuth": []
  3954. }
  3955. ],
  3956. "produces": [
  3957. "application/json"
  3958. ],
  3959. "tags": [
  3960. "定制【海商报业】"
  3961. ],
  3962. "summary": "查询一级市场(预售)商品信息详情",
  3963. "parameters": [
  3964. {
  3965. "type": "integer",
  3966. "description": "商品ID",
  3967. "name": "goodsID",
  3968. "in": "query",
  3969. "required": true
  3970. },
  3971. {
  3972. "type": "integer",
  3973. "description": "资金账户,主要用于获取预售商品购买上限",
  3974. "name": "accountID",
  3975. "in": "query"
  3976. }
  3977. ],
  3978. "responses": {
  3979. "200": {
  3980. "description": "OK",
  3981. "schema": {
  3982. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3983. }
  3984. },
  3985. "500": {
  3986. "description": "Internal Server Error",
  3987. "schema": {
  3988. "$ref": "#/definitions/app.Response"
  3989. }
  3990. }
  3991. }
  3992. }
  3993. },
  3994. "/HSBY/QueryHsbyPreGoodses": {
  3995. "get": {
  3996. "security": [
  3997. {
  3998. "ApiKeyAuth": []
  3999. }
  4000. ],
  4001. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4002. "produces": [
  4003. "application/json"
  4004. ],
  4005. "tags": [
  4006. "定制【海商报业】"
  4007. ],
  4008. "summary": "查询新品上市商品列表(一级市场预售)",
  4009. "parameters": [
  4010. {
  4011. "type": "integer",
  4012. "description": "页码",
  4013. "name": "page",
  4014. "in": "query"
  4015. },
  4016. {
  4017. "type": "integer",
  4018. "description": "每页条数",
  4019. "name": "pagesize",
  4020. "in": "query"
  4021. },
  4022. {
  4023. "type": "string",
  4024. "description": "市场ID列表,格式:1,2,3",
  4025. "name": "marketIDs",
  4026. "in": "query",
  4027. "required": true
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "目的地(省)ID",
  4032. "name": "descProvinceID",
  4033. "in": "query"
  4034. },
  4035. {
  4036. "type": "integer",
  4037. "description": "目的地(市)ID",
  4038. "name": "descCityID",
  4039. "in": "query"
  4040. }
  4041. ],
  4042. "responses": {
  4043. "200": {
  4044. "description": "OK",
  4045. "schema": {
  4046. "$ref": "#/definitions/models.HsbyPreGoods"
  4047. }
  4048. },
  4049. "500": {
  4050. "description": "Internal Server Error",
  4051. "schema": {
  4052. "$ref": "#/definitions/app.Response"
  4053. }
  4054. }
  4055. }
  4056. }
  4057. },
  4058. "/HSBY/QueryHsbySellMyDetails": {
  4059. "get": {
  4060. "security": [
  4061. {
  4062. "ApiKeyAuth": []
  4063. }
  4064. ],
  4065. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4066. "produces": [
  4067. "application/json"
  4068. ],
  4069. "tags": [
  4070. "定制【海商报业】"
  4071. ],
  4072. "summary": "查询\"我的闲置\"单据信息",
  4073. "parameters": [
  4074. {
  4075. "type": "integer",
  4076. "description": "页码",
  4077. "name": "page",
  4078. "in": "query"
  4079. },
  4080. {
  4081. "type": "integer",
  4082. "description": "每页条数",
  4083. "name": "pagesize",
  4084. "in": "query"
  4085. },
  4086. {
  4087. "type": "string",
  4088. "description": "资金账户列表,格式:1,2,3",
  4089. "name": "accountIDs",
  4090. "in": "query",
  4091. "required": true
  4092. },
  4093. {
  4094. "type": "integer",
  4095. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4096. "name": "orderType",
  4097. "in": "query"
  4098. }
  4099. ],
  4100. "responses": {
  4101. "200": {
  4102. "description": "OK",
  4103. "schema": {
  4104. "$ref": "#/definitions/models.HsbySellMyDetail"
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/app.Response"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/HSBY/QueryHsbyTopGoodses": {
  4117. "get": {
  4118. "security": [
  4119. {
  4120. "ApiKeyAuth": []
  4121. }
  4122. ],
  4123. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4124. "produces": [
  4125. "application/json"
  4126. ],
  4127. "tags": [
  4128. "定制【海商报业】"
  4129. ],
  4130. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4131. "parameters": [
  4132. {
  4133. "type": "integer",
  4134. "description": "页码",
  4135. "name": "page",
  4136. "in": "query"
  4137. },
  4138. {
  4139. "type": "integer",
  4140. "description": "每页条数",
  4141. "name": "pagesize",
  4142. "in": "query"
  4143. },
  4144. {
  4145. "type": "string",
  4146. "description": "市场ID列表,格式:1,2,3",
  4147. "name": "marketIDs",
  4148. "in": "query",
  4149. "required": true
  4150. },
  4151. {
  4152. "type": "integer",
  4153. "description": "目的地(省)ID",
  4154. "name": "descProvinceID",
  4155. "in": "query"
  4156. },
  4157. {
  4158. "type": "integer",
  4159. "description": "目的地(市)ID",
  4160. "name": "descCityID",
  4161. "in": "query"
  4162. }
  4163. ],
  4164. "responses": {
  4165. "200": {
  4166. "description": "OK",
  4167. "schema": {
  4168. "$ref": "#/definitions/models.HsbyTopGoods"
  4169. }
  4170. },
  4171. "500": {
  4172. "description": "Internal Server Error",
  4173. "schema": {
  4174. "$ref": "#/definitions/app.Response"
  4175. }
  4176. }
  4177. }
  4178. }
  4179. },
  4180. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4181. "get": {
  4182. "security": [
  4183. {
  4184. "ApiKeyAuth": []
  4185. }
  4186. ],
  4187. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4188. "produces": [
  4189. "application/json"
  4190. ],
  4191. "tags": [
  4192. "定制【海商报业】"
  4193. ],
  4194. "summary": "查询游客三级市场(商城)商品信息详情",
  4195. "parameters": [
  4196. {
  4197. "type": "integer",
  4198. "description": "商品ID",
  4199. "name": "goodsID",
  4200. "in": "query",
  4201. "required": true
  4202. }
  4203. ],
  4204. "responses": {
  4205. "200": {
  4206. "description": "OK",
  4207. "schema": {
  4208. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4209. }
  4210. },
  4211. "500": {
  4212. "description": "Internal Server Error",
  4213. "schema": {
  4214. "$ref": "#/definitions/app.Response"
  4215. }
  4216. }
  4217. }
  4218. }
  4219. },
  4220. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4221. "get": {
  4222. "security": [
  4223. {
  4224. "ApiKeyAuth": []
  4225. }
  4226. ],
  4227. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4228. "produces": [
  4229. "application/json"
  4230. ],
  4231. "tags": [
  4232. "定制【海商报业】"
  4233. ],
  4234. "summary": "查询游客特卖商品列表(三级商城)",
  4235. "parameters": [
  4236. {
  4237. "type": "integer",
  4238. "description": "页码",
  4239. "name": "page",
  4240. "in": "query"
  4241. },
  4242. {
  4243. "type": "integer",
  4244. "description": "每页条数",
  4245. "name": "pagesize",
  4246. "in": "query"
  4247. },
  4248. {
  4249. "type": "string",
  4250. "description": "市场ID列表,格式:1,2,3",
  4251. "name": "marketIDs",
  4252. "in": "query",
  4253. "required": true
  4254. },
  4255. {
  4256. "type": "integer",
  4257. "description": "类别ID",
  4258. "name": "categoryID",
  4259. "in": "query"
  4260. },
  4261. {
  4262. "type": "string",
  4263. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4264. "name": "goodsIDs",
  4265. "in": "query"
  4266. }
  4267. ],
  4268. "responses": {
  4269. "200": {
  4270. "description": "OK",
  4271. "schema": {
  4272. "$ref": "#/definitions/models.HsbyMarketGoods"
  4273. }
  4274. },
  4275. "500": {
  4276. "description": "Internal Server Error",
  4277. "schema": {
  4278. "$ref": "#/definitions/app.Response"
  4279. }
  4280. }
  4281. }
  4282. }
  4283. },
  4284. "/HSBY/QueryMyCollectionOrders": {
  4285. "get": {
  4286. "security": [
  4287. {
  4288. "ApiKeyAuth": []
  4289. }
  4290. ],
  4291. "produces": [
  4292. "application/json"
  4293. ],
  4294. "tags": [
  4295. "定制【海商报业】"
  4296. ],
  4297. "summary": "我的闲置中收款信息查询",
  4298. "parameters": [
  4299. {
  4300. "type": "integer",
  4301. "description": "页码",
  4302. "name": "page",
  4303. "in": "query"
  4304. },
  4305. {
  4306. "type": "integer",
  4307. "description": "每页条数",
  4308. "name": "pagesize",
  4309. "in": "query"
  4310. },
  4311. {
  4312. "type": "string",
  4313. "description": "资金账户,格式:1,2,3",
  4314. "name": "accountIDs",
  4315. "in": "query",
  4316. "required": true
  4317. }
  4318. ],
  4319. "responses": {
  4320. "200": {
  4321. "description": "OK",
  4322. "schema": {
  4323. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4324. }
  4325. },
  4326. "500": {
  4327. "description": "Internal Server Error",
  4328. "schema": {
  4329. "$ref": "#/definitions/app.Response"
  4330. }
  4331. }
  4332. }
  4333. }
  4334. },
  4335. "/HSBY/QueryMyCouponHolds": {
  4336. "get": {
  4337. "security": [
  4338. {
  4339. "ApiKeyAuth": []
  4340. }
  4341. ],
  4342. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4343. "produces": [
  4344. "application/json"
  4345. ],
  4346. "tags": [
  4347. "定制【海商报业】"
  4348. ],
  4349. "summary": "我的优惠卷持仓查询",
  4350. "parameters": [
  4351. {
  4352. "type": "string",
  4353. "description": "资金账户列表,格式:1,2,3",
  4354. "name": "accountIDs",
  4355. "in": "query",
  4356. "required": true
  4357. },
  4358. {
  4359. "type": "string",
  4360. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4361. "name": "holdStatus",
  4362. "in": "query"
  4363. }
  4364. ],
  4365. "responses": {
  4366. "200": {
  4367. "description": "OK",
  4368. "schema": {
  4369. "$ref": "#/definitions/models.MyCouponHold"
  4370. }
  4371. },
  4372. "500": {
  4373. "description": "Internal Server Error",
  4374. "schema": {
  4375. "$ref": "#/definitions/app.Response"
  4376. }
  4377. }
  4378. }
  4379. }
  4380. },
  4381. "/HSBY/QueryMyCoupons": {
  4382. "get": {
  4383. "security": [
  4384. {
  4385. "ApiKeyAuth": []
  4386. }
  4387. ],
  4388. "produces": [
  4389. "application/json"
  4390. ],
  4391. "tags": [
  4392. "定制【海商报业】"
  4393. ],
  4394. "summary": "我的优惠卷查询",
  4395. "parameters": [
  4396. {
  4397. "type": "string",
  4398. "description": "资金账户列表,格式:1,2,3",
  4399. "name": "accountIDs",
  4400. "in": "query",
  4401. "required": true
  4402. },
  4403. {
  4404. "type": "integer",
  4405. "description": "商品ID, 一般与sellUserID配套传入",
  4406. "name": "goodsID",
  4407. "in": "query"
  4408. },
  4409. {
  4410. "type": "integer",
  4411. "description": "卖方UserID",
  4412. "name": "sellUserID",
  4413. "in": "query"
  4414. }
  4415. ],
  4416. "responses": {
  4417. "200": {
  4418. "description": "OK",
  4419. "schema": {
  4420. "$ref": "#/definitions/models.MyCoupon"
  4421. }
  4422. },
  4423. "500": {
  4424. "description": "Internal Server Error",
  4425. "schema": {
  4426. "$ref": "#/definitions/app.Response"
  4427. }
  4428. }
  4429. }
  4430. }
  4431. },
  4432. "/HSBY/QueryMyPayOrders": {
  4433. "get": {
  4434. "security": [
  4435. {
  4436. "ApiKeyAuth": []
  4437. }
  4438. ],
  4439. "produces": [
  4440. "application/json"
  4441. ],
  4442. "tags": [
  4443. "定制【海商报业】"
  4444. ],
  4445. "summary": "获取我的订单中待付款信息",
  4446. "parameters": [
  4447. {
  4448. "type": "integer",
  4449. "description": "页码",
  4450. "name": "page",
  4451. "in": "query"
  4452. },
  4453. {
  4454. "type": "integer",
  4455. "description": "每页条数",
  4456. "name": "pagesize",
  4457. "in": "query"
  4458. },
  4459. {
  4460. "type": "string",
  4461. "description": "资金账户列表,格式:1,2,3",
  4462. "name": "accountIDs",
  4463. "in": "query",
  4464. "required": true
  4465. },
  4466. {
  4467. "type": "integer",
  4468. "description": "买方委托单号",
  4469. "name": "buyOrderID",
  4470. "in": "query"
  4471. },
  4472. {
  4473. "type": "integer",
  4474. "description": "卖方委托单号",
  4475. "name": "sellOrderID",
  4476. "in": "query"
  4477. }
  4478. ],
  4479. "responses": {
  4480. "200": {
  4481. "description": "OK",
  4482. "schema": {
  4483. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4484. }
  4485. },
  4486. "500": {
  4487. "description": "Internal Server Error",
  4488. "schema": {
  4489. "$ref": "#/definitions/app.Response"
  4490. }
  4491. }
  4492. }
  4493. }
  4494. },
  4495. "/HSBY/QueryMyUsedCoupon": {
  4496. "get": {
  4497. "security": [
  4498. {
  4499. "ApiKeyAuth": []
  4500. }
  4501. ],
  4502. "produces": [
  4503. "application/json"
  4504. ],
  4505. "tags": [
  4506. "定制【海商报业】"
  4507. ],
  4508. "summary": "已使用优惠卷查询",
  4509. "parameters": [
  4510. {
  4511. "type": "string",
  4512. "description": "资金账户列表,格式:1,2,3",
  4513. "name": "accountIDs",
  4514. "in": "query",
  4515. "required": true
  4516. }
  4517. ],
  4518. "responses": {
  4519. "200": {
  4520. "description": "OK",
  4521. "schema": {
  4522. "$ref": "#/definitions/models.MyUsedCoupon"
  4523. }
  4524. },
  4525. "500": {
  4526. "description": "Internal Server Error",
  4527. "schema": {
  4528. "$ref": "#/definitions/app.Response"
  4529. }
  4530. }
  4531. }
  4532. }
  4533. },
  4534. "/HSBY/QueryProvincesAndCities": {
  4535. "get": {
  4536. "security": [
  4537. {
  4538. "ApiKeyAuth": []
  4539. }
  4540. ],
  4541. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4542. "produces": [
  4543. "application/json"
  4544. ],
  4545. "tags": [
  4546. "定制【海商报业】"
  4547. ],
  4548. "summary": "查询省市信息(不包括区)",
  4549. "parameters": [
  4550. {
  4551. "type": "integer",
  4552. "description": "省ID",
  4553. "name": "provinceID",
  4554. "in": "query"
  4555. }
  4556. ],
  4557. "responses": {
  4558. "200": {
  4559. "description": "OK",
  4560. "schema": {
  4561. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4562. }
  4563. },
  4564. "500": {
  4565. "description": "Internal Server Error",
  4566. "schema": {
  4567. "$ref": "#/definitions/app.Response"
  4568. }
  4569. }
  4570. }
  4571. }
  4572. },
  4573. "/HSBY/SetHsbyMyPackagesStatus": {
  4574. "post": {
  4575. "security": [
  4576. {
  4577. "ApiKeyAuth": []
  4578. }
  4579. ],
  4580. "produces": [
  4581. "application/json"
  4582. ],
  4583. "tags": [
  4584. "定制【海商报业】"
  4585. ],
  4586. "summary": "设置我的包裹已收货状态",
  4587. "parameters": [
  4588. {
  4589. "type": "string",
  4590. "description": "提货单号",
  4591. "name": "takeOrderID",
  4592. "in": "query",
  4593. "required": true
  4594. },
  4595. {
  4596. "type": "integer",
  4597. "description": "资金账号",
  4598. "name": "accountID",
  4599. "in": "query",
  4600. "required": true
  4601. }
  4602. ],
  4603. "responses": {
  4604. "200": {
  4605. "description": "OK",
  4606. "schema": {
  4607. "$ref": "#/definitions/app.Response"
  4608. }
  4609. },
  4610. "500": {
  4611. "description": "Internal Server Error",
  4612. "schema": {
  4613. "$ref": "#/definitions/app.Response"
  4614. }
  4615. }
  4616. }
  4617. }
  4618. },
  4619. "/Market/QueryGoodsesByLoginID": {
  4620. "get": {
  4621. "security": [
  4622. {
  4623. "ApiKeyAuth": []
  4624. }
  4625. ],
  4626. "produces": [
  4627. "application/json"
  4628. ],
  4629. "tags": [
  4630. "通用市场"
  4631. ],
  4632. "summary": "获取登录账号有权限的商品信息",
  4633. "parameters": [
  4634. {
  4635. "type": "integer",
  4636. "description": "登录账号",
  4637. "name": "loginID",
  4638. "in": "query",
  4639. "required": true
  4640. },
  4641. {
  4642. "type": "string",
  4643. "description": "市场ID列表,格式:1,2,3",
  4644. "name": "marketIDs",
  4645. "in": "query"
  4646. }
  4647. ],
  4648. "responses": {
  4649. "200": {
  4650. "description": "OK",
  4651. "schema": {
  4652. "$ref": "#/definitions/models.Goods"
  4653. }
  4654. },
  4655. "500": {
  4656. "description": "Internal Server Error",
  4657. "schema": {
  4658. "$ref": "#/definitions/app.Response"
  4659. }
  4660. }
  4661. }
  4662. }
  4663. },
  4664. "/Market/QueryMarketRun": {
  4665. "get": {
  4666. "security": [
  4667. {
  4668. "ApiKeyAuth": []
  4669. }
  4670. ],
  4671. "produces": [
  4672. "application/json"
  4673. ],
  4674. "tags": [
  4675. "通用市场"
  4676. ],
  4677. "summary": "查询市场运行信息",
  4678. "parameters": [
  4679. {
  4680. "type": "integer",
  4681. "description": "市场ID,不传返回所有",
  4682. "name": "marketID",
  4683. "in": "query"
  4684. }
  4685. ],
  4686. "responses": {
  4687. "200": {
  4688. "description": "OK",
  4689. "schema": {
  4690. "$ref": "#/definitions/models.Marketrun"
  4691. }
  4692. },
  4693. "500": {
  4694. "description": "Internal Server Error",
  4695. "schema": {
  4696. "$ref": "#/definitions/app.Response"
  4697. }
  4698. }
  4699. }
  4700. }
  4701. },
  4702. "/Market/QueryMarketsByLoginID": {
  4703. "get": {
  4704. "security": [
  4705. {
  4706. "ApiKeyAuth": []
  4707. }
  4708. ],
  4709. "produces": [
  4710. "application/json"
  4711. ],
  4712. "tags": [
  4713. "通用市场"
  4714. ],
  4715. "summary": "获取登录账号有权限的市场信息",
  4716. "parameters": [
  4717. {
  4718. "type": "integer",
  4719. "description": "登录账号",
  4720. "name": "loginID",
  4721. "in": "query",
  4722. "required": true
  4723. }
  4724. ],
  4725. "responses": {
  4726. "200": {
  4727. "description": "OK",
  4728. "schema": {
  4729. "$ref": "#/definitions/models.Market"
  4730. }
  4731. },
  4732. "500": {
  4733. "description": "Internal Server Error",
  4734. "schema": {
  4735. "$ref": "#/definitions/app.Response"
  4736. }
  4737. }
  4738. }
  4739. }
  4740. },
  4741. "/Order/QueryHisTradeDetail": {
  4742. "get": {
  4743. "security": [
  4744. {
  4745. "ApiKeyAuth": []
  4746. }
  4747. ],
  4748. "produces": [
  4749. "application/json"
  4750. ],
  4751. "tags": [
  4752. "通用单据"
  4753. ],
  4754. "summary": "历史成交单查询(合约市场)",
  4755. "parameters": [
  4756. {
  4757. "type": "string",
  4758. "description": "资金账户 - 格式:1,2,3",
  4759. "name": "accountID",
  4760. "in": "query",
  4761. "required": true
  4762. },
  4763. {
  4764. "type": "integer",
  4765. "description": "成交单号",
  4766. "name": "tradeID",
  4767. "in": "query"
  4768. },
  4769. {
  4770. "type": "integer",
  4771. "description": "委托单号",
  4772. "name": "orderID",
  4773. "in": "query"
  4774. },
  4775. {
  4776. "type": "string",
  4777. "description": "交易模式 - 格式:1,2,3",
  4778. "name": "tradeMode",
  4779. "in": "query"
  4780. },
  4781. {
  4782. "type": "integer",
  4783. "description": "委托单据类型",
  4784. "name": "buildType",
  4785. "in": "query"
  4786. },
  4787. {
  4788. "type": "string",
  4789. "description": "成交类别 - 格式:1,2,3",
  4790. "name": "tradeType",
  4791. "in": "query"
  4792. },
  4793. {
  4794. "type": "string",
  4795. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4796. "name": "startDate",
  4797. "in": "query"
  4798. },
  4799. {
  4800. "type": "string",
  4801. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4802. "name": "endDate",
  4803. "in": "query"
  4804. }
  4805. ],
  4806. "responses": {
  4807. "200": {
  4808. "description": "OK",
  4809. "schema": {
  4810. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4811. }
  4812. },
  4813. "500": {
  4814. "description": "Internal Server Error",
  4815. "schema": {
  4816. "$ref": "#/definitions/app.Response"
  4817. }
  4818. }
  4819. }
  4820. }
  4821. },
  4822. "/Order/QueryHisTradeOrderDetail": {
  4823. "get": {
  4824. "security": [
  4825. {
  4826. "ApiKeyAuth": []
  4827. }
  4828. ],
  4829. "produces": [
  4830. "application/json"
  4831. ],
  4832. "tags": [
  4833. "通用单据"
  4834. ],
  4835. "summary": "历史委托单查询请求(合约市场)",
  4836. "parameters": [
  4837. {
  4838. "type": "string",
  4839. "description": "资金账户 - 格式:1,2,3",
  4840. "name": "accountID",
  4841. "in": "query",
  4842. "required": true
  4843. },
  4844. {
  4845. "type": "string",
  4846. "description": "交易模式 - 格式:1,2,3",
  4847. "name": "tradeMode",
  4848. "in": "query"
  4849. },
  4850. {
  4851. "type": "string",
  4852. "description": "委托状态 - 格式:1,2,3",
  4853. "name": "orderStatus",
  4854. "in": "query"
  4855. },
  4856. {
  4857. "type": "integer",
  4858. "description": "委托单号",
  4859. "name": "orderID",
  4860. "in": "query"
  4861. },
  4862. {
  4863. "type": "string",
  4864. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4865. "name": "startDate",
  4866. "in": "query"
  4867. },
  4868. {
  4869. "type": "string",
  4870. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4871. "name": "endDate",
  4872. "in": "query"
  4873. }
  4874. ],
  4875. "responses": {
  4876. "200": {
  4877. "description": "OK",
  4878. "schema": {
  4879. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4880. }
  4881. },
  4882. "500": {
  4883. "description": "Internal Server Error",
  4884. "schema": {
  4885. "$ref": "#/definitions/app.Response"
  4886. }
  4887. }
  4888. }
  4889. }
  4890. },
  4891. "/Order/QueryTradeDetail": {
  4892. "get": {
  4893. "security": [
  4894. {
  4895. "ApiKeyAuth": []
  4896. }
  4897. ],
  4898. "produces": [
  4899. "application/json"
  4900. ],
  4901. "tags": [
  4902. "通用单据"
  4903. ],
  4904. "summary": "成交单查询(合约市场)",
  4905. "parameters": [
  4906. {
  4907. "type": "string",
  4908. "description": "资金账户 - 格式:1,2,3",
  4909. "name": "accountID",
  4910. "in": "query",
  4911. "required": true
  4912. },
  4913. {
  4914. "type": "integer",
  4915. "description": "成交单号",
  4916. "name": "tradeID",
  4917. "in": "query"
  4918. },
  4919. {
  4920. "type": "integer",
  4921. "description": "委托单号",
  4922. "name": "orderID",
  4923. "in": "query"
  4924. },
  4925. {
  4926. "type": "string",
  4927. "description": "交易模式 - 格式:1,2,3",
  4928. "name": "tradeMode",
  4929. "in": "query"
  4930. },
  4931. {
  4932. "type": "integer",
  4933. "description": "委托单据类型",
  4934. "name": "buildType",
  4935. "in": "query"
  4936. },
  4937. {
  4938. "type": "string",
  4939. "description": "成交类别 - 格式:1,2,3",
  4940. "name": "tradeType",
  4941. "in": "query"
  4942. }
  4943. ],
  4944. "responses": {
  4945. "200": {
  4946. "description": "OK",
  4947. "schema": {
  4948. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4949. }
  4950. },
  4951. "500": {
  4952. "description": "Internal Server Error",
  4953. "schema": {
  4954. "$ref": "#/definitions/app.Response"
  4955. }
  4956. }
  4957. }
  4958. }
  4959. },
  4960. "/Order/QueryTradeOrderDetail": {
  4961. "get": {
  4962. "security": [
  4963. {
  4964. "ApiKeyAuth": []
  4965. }
  4966. ],
  4967. "produces": [
  4968. "application/json"
  4969. ],
  4970. "tags": [
  4971. "通用单据"
  4972. ],
  4973. "summary": "委托单查询请求(合约市场)",
  4974. "parameters": [
  4975. {
  4976. "type": "string",
  4977. "description": "资金账户 - 格式:1,2,3",
  4978. "name": "accountID",
  4979. "in": "query",
  4980. "required": true
  4981. },
  4982. {
  4983. "type": "string",
  4984. "description": "交易模式 - 格式:1,2,3",
  4985. "name": "tradeMode",
  4986. "in": "query"
  4987. },
  4988. {
  4989. "type": "string",
  4990. "description": "委托状态 - 格式:1,2,3",
  4991. "name": "orderStatus",
  4992. "in": "query"
  4993. },
  4994. {
  4995. "type": "integer",
  4996. "description": "委托单号",
  4997. "name": "orderID",
  4998. "in": "query"
  4999. }
  5000. ],
  5001. "responses": {
  5002. "200": {
  5003. "description": "OK",
  5004. "schema": {
  5005. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5006. }
  5007. },
  5008. "500": {
  5009. "description": "Internal Server Error",
  5010. "schema": {
  5011. "$ref": "#/definitions/app.Response"
  5012. }
  5013. }
  5014. }
  5015. }
  5016. },
  5017. "/Order/QueryTradePosition": {
  5018. "get": {
  5019. "security": [
  5020. {
  5021. "ApiKeyAuth": []
  5022. }
  5023. ],
  5024. "produces": [
  5025. "application/json"
  5026. ],
  5027. "tags": [
  5028. "通用单据"
  5029. ],
  5030. "summary": "持仓汇总查询(合约市场)",
  5031. "parameters": [
  5032. {
  5033. "type": "string",
  5034. "description": "资金账户 - 格式:1,2,3",
  5035. "name": "accountID",
  5036. "in": "query",
  5037. "required": true
  5038. },
  5039. {
  5040. "type": "string",
  5041. "description": "交易模式 - 格式:1,2,3",
  5042. "name": "tradeMode",
  5043. "in": "query"
  5044. }
  5045. ],
  5046. "responses": {
  5047. "200": {
  5048. "description": "OK",
  5049. "schema": {
  5050. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5051. }
  5052. },
  5053. "500": {
  5054. "description": "Internal Server Error",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "/Quote/QueryHistoryDatas": {
  5063. "get": {
  5064. "security": [
  5065. {
  5066. "ApiKeyAuth": []
  5067. }
  5068. ],
  5069. "produces": [
  5070. "application/json"
  5071. ],
  5072. "tags": [
  5073. "行情服务"
  5074. ],
  5075. "summary": "查询行情历史数据",
  5076. "parameters": [
  5077. {
  5078. "type": "integer",
  5079. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5080. "name": "cycleType",
  5081. "in": "query",
  5082. "required": true
  5083. },
  5084. {
  5085. "type": "string",
  5086. "description": "商品代码",
  5087. "name": "goodsCode",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "string",
  5093. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5094. "name": "startTime",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5100. "name": "endTime",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "条数",
  5106. "name": "count",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "boolean",
  5111. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5112. "name": "isAsc",
  5113. "in": "query"
  5114. }
  5115. ],
  5116. "responses": {
  5117. "200": {
  5118. "description": "OK",
  5119. "schema": {
  5120. "$ref": "#/definitions/quote.HistoryData"
  5121. }
  5122. },
  5123. "500": {
  5124. "description": "Internal Server Error",
  5125. "schema": {
  5126. "$ref": "#/definitions/app.Response"
  5127. }
  5128. }
  5129. }
  5130. }
  5131. },
  5132. "/Quote/QueryHistoryTikDatas": {
  5133. "get": {
  5134. "security": [
  5135. {
  5136. "ApiKeyAuth": []
  5137. }
  5138. ],
  5139. "produces": [
  5140. "application/json"
  5141. ],
  5142. "tags": [
  5143. "行情服务"
  5144. ],
  5145. "summary": "查询行情Tik数据",
  5146. "parameters": [
  5147. {
  5148. "type": "string",
  5149. "description": "商品代码",
  5150. "name": "goodsCode",
  5151. "in": "query",
  5152. "required": true
  5153. },
  5154. {
  5155. "type": "string",
  5156. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5157. "name": "startTime",
  5158. "in": "query"
  5159. },
  5160. {
  5161. "type": "string",
  5162. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5163. "name": "endTime",
  5164. "in": "query"
  5165. },
  5166. {
  5167. "type": "integer",
  5168. "description": "条数",
  5169. "name": "count",
  5170. "in": "query"
  5171. },
  5172. {
  5173. "type": "boolean",
  5174. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5175. "name": "isAsc",
  5176. "in": "query"
  5177. }
  5178. ],
  5179. "responses": {
  5180. "200": {
  5181. "description": "OK",
  5182. "schema": {
  5183. "$ref": "#/definitions/quote.HistoryTikData"
  5184. }
  5185. },
  5186. "500": {
  5187. "description": "Internal Server Error",
  5188. "schema": {
  5189. "$ref": "#/definitions/app.Response"
  5190. }
  5191. }
  5192. }
  5193. }
  5194. },
  5195. "/Quote/QueryQuoteDay": {
  5196. "get": {
  5197. "security": [
  5198. {
  5199. "ApiKeyAuth": []
  5200. }
  5201. ],
  5202. "produces": [
  5203. "application/json"
  5204. ],
  5205. "tags": [
  5206. "行情服务"
  5207. ],
  5208. "summary": "获取商品盘面信息",
  5209. "parameters": [
  5210. {
  5211. "type": "string",
  5212. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5213. "name": "goodsCodes",
  5214. "in": "query",
  5215. "required": true
  5216. }
  5217. ],
  5218. "responses": {
  5219. "200": {
  5220. "description": "OK",
  5221. "schema": {
  5222. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5223. }
  5224. },
  5225. "500": {
  5226. "description": "Internal Server Error",
  5227. "schema": {
  5228. "$ref": "#/definitions/app.Response"
  5229. }
  5230. }
  5231. }
  5232. }
  5233. },
  5234. "/Quote/QueryTSData": {
  5235. "get": {
  5236. "produces": [
  5237. "application/json"
  5238. ],
  5239. "tags": [
  5240. "行情服务"
  5241. ],
  5242. "summary": "分时图数据查询",
  5243. "parameters": [
  5244. {
  5245. "type": "string",
  5246. "description": "商品代码",
  5247. "name": "goodsCode",
  5248. "in": "query",
  5249. "required": true
  5250. }
  5251. ],
  5252. "responses": {
  5253. "200": {
  5254. "description": "OK",
  5255. "schema": {
  5256. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5257. }
  5258. },
  5259. "500": {
  5260. "description": "Internal Server Error",
  5261. "schema": {
  5262. "$ref": "#/definitions/app.Response"
  5263. }
  5264. }
  5265. }
  5266. }
  5267. },
  5268. "/SZDZ/QueryConvertConfig": {
  5269. "get": {
  5270. "security": [
  5271. {
  5272. "ApiKeyAuth": []
  5273. }
  5274. ],
  5275. "produces": [
  5276. "application/json"
  5277. ],
  5278. "tags": [
  5279. "定制【尚志大宗】"
  5280. ],
  5281. "summary": "查询交易系统转换设置",
  5282. "parameters": [
  5283. {
  5284. "type": "integer",
  5285. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5286. "name": "convertType",
  5287. "in": "query"
  5288. },
  5289. {
  5290. "type": "string",
  5291. "description": "外部商品代码[JD\\PD]",
  5292. "name": "outerGoodsCode",
  5293. "in": "query"
  5294. },
  5295. {
  5296. "type": "string",
  5297. "description": "内部商品ID列表[交易],格式:1,2,3",
  5298. "name": "innerGoodsIDs",
  5299. "in": "query"
  5300. }
  5301. ],
  5302. "responses": {
  5303. "200": {
  5304. "description": "OK",
  5305. "schema": {
  5306. "$ref": "#/definitions/models.Szdz3convertconfig"
  5307. }
  5308. },
  5309. "500": {
  5310. "description": "Internal Server Error",
  5311. "schema": {
  5312. "$ref": "#/definitions/app.Response"
  5313. }
  5314. }
  5315. }
  5316. }
  5317. },
  5318. "/SZDZ/QueryConvertLog": {
  5319. "get": {
  5320. "security": [
  5321. {
  5322. "ApiKeyAuth": []
  5323. }
  5324. ],
  5325. "produces": [
  5326. "application/json"
  5327. ],
  5328. "tags": [
  5329. "定制【尚志大宗】"
  5330. ],
  5331. "summary": "交易系统转换流水查询",
  5332. "parameters": [
  5333. {
  5334. "type": "string",
  5335. "description": "资金账户 - 格式:1,2,3",
  5336. "name": "accountID",
  5337. "in": "query",
  5338. "required": true
  5339. },
  5340. {
  5341. "type": "string",
  5342. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5343. "name": "startDate",
  5344. "in": "query"
  5345. },
  5346. {
  5347. "type": "string",
  5348. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5349. "name": "endDate",
  5350. "in": "query"
  5351. }
  5352. ],
  5353. "responses": {
  5354. "200": {
  5355. "description": "OK",
  5356. "schema": {
  5357. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5358. }
  5359. },
  5360. "500": {
  5361. "description": "Internal Server Error",
  5362. "schema": {
  5363. "$ref": "#/definitions/app.Response"
  5364. }
  5365. }
  5366. }
  5367. }
  5368. },
  5369. "/SZDZ/QueryGoodsPickup": {
  5370. "get": {
  5371. "security": [
  5372. {
  5373. "ApiKeyAuth": []
  5374. }
  5375. ],
  5376. "produces": [
  5377. "application/json"
  5378. ],
  5379. "tags": [
  5380. "定制【尚志大宗】"
  5381. ],
  5382. "summary": "商品提货单查询",
  5383. "parameters": [
  5384. {
  5385. "type": "string",
  5386. "description": "资金账户 - 格式:1,2,3",
  5387. "name": "accountID",
  5388. "in": "query",
  5389. "required": true
  5390. },
  5391. {
  5392. "type": "integer",
  5393. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5394. "name": "takeOrderStatus",
  5395. "in": "query"
  5396. }
  5397. ],
  5398. "responses": {
  5399. "200": {
  5400. "description": "OK",
  5401. "schema": {
  5402. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5403. }
  5404. },
  5405. "500": {
  5406. "description": "Internal Server Error",
  5407. "schema": {
  5408. "$ref": "#/definitions/app.Response"
  5409. }
  5410. }
  5411. }
  5412. }
  5413. },
  5414. "/SZDZ/QueryRecieptOrder": {
  5415. "get": {
  5416. "security": [
  5417. {
  5418. "ApiKeyAuth": []
  5419. }
  5420. ],
  5421. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5422. "produces": [
  5423. "application/json"
  5424. ],
  5425. "tags": [
  5426. "定制【尚志大宗】"
  5427. ],
  5428. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5429. "parameters": [
  5430. {
  5431. "type": "integer",
  5432. "description": "页码",
  5433. "name": "page",
  5434. "in": "query"
  5435. },
  5436. {
  5437. "type": "integer",
  5438. "description": "每页条数",
  5439. "name": "pagesize",
  5440. "in": "query"
  5441. },
  5442. {
  5443. "type": "integer",
  5444. "description": "商品ID",
  5445. "name": "goodsID",
  5446. "in": "query",
  5447. "required": true
  5448. },
  5449. {
  5450. "type": "string",
  5451. "description": "所属账户名称",
  5452. "name": "accountName",
  5453. "in": "query"
  5454. },
  5455. {
  5456. "type": "integer",
  5457. "description": "市场ID",
  5458. "name": "marketID",
  5459. "in": "query"
  5460. },
  5461. {
  5462. "type": "integer",
  5463. "description": "方向 - 0:买 1:卖",
  5464. "name": "buyorsell",
  5465. "in": "query",
  5466. "required": true
  5467. }
  5468. ],
  5469. "responses": {
  5470. "200": {
  5471. "description": "OK",
  5472. "schema": {
  5473. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5474. }
  5475. },
  5476. "500": {
  5477. "description": "Internal Server Error",
  5478. "schema": {
  5479. "$ref": "#/definitions/app.Response"
  5480. }
  5481. }
  5482. }
  5483. }
  5484. },
  5485. "/SZDZ/QuerySZDZTradePosition": {
  5486. "get": {
  5487. "security": [
  5488. {
  5489. "ApiKeyAuth": []
  5490. }
  5491. ],
  5492. "produces": [
  5493. "application/json"
  5494. ],
  5495. "tags": [
  5496. "定制【尚志大宗】"
  5497. ],
  5498. "summary": "持仓汇总查询(尚志大宗)",
  5499. "parameters": [
  5500. {
  5501. "type": "integer",
  5502. "description": "资金账户",
  5503. "name": "accountID",
  5504. "in": "query",
  5505. "required": true
  5506. }
  5507. ],
  5508. "responses": {
  5509. "200": {
  5510. "description": "OK",
  5511. "schema": {
  5512. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5513. }
  5514. },
  5515. "500": {
  5516. "description": "Internal Server Error",
  5517. "schema": {
  5518. "$ref": "#/definitions/app.Response"
  5519. }
  5520. }
  5521. }
  5522. }
  5523. },
  5524. "/SZDZ/SearchWhite": {
  5525. "get": {
  5526. "security": [
  5527. {
  5528. "ApiKeyAuth": []
  5529. }
  5530. ],
  5531. "produces": [
  5532. "application/json"
  5533. ],
  5534. "tags": [
  5535. "定制【尚志大宗】"
  5536. ],
  5537. "summary": "搜索白名单",
  5538. "parameters": [
  5539. {
  5540. "type": "integer",
  5541. "description": "用户ID",
  5542. "name": "userID",
  5543. "in": "query",
  5544. "required": true
  5545. }
  5546. ],
  5547. "responses": {
  5548. "200": {
  5549. "description": "OK",
  5550. "schema": {
  5551. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5552. }
  5553. },
  5554. "500": {
  5555. "description": "Internal Server Error",
  5556. "schema": {
  5557. "$ref": "#/definitions/app.Response"
  5558. }
  5559. }
  5560. }
  5561. }
  5562. },
  5563. "/Search/SearchGoodses": {
  5564. "get": {
  5565. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5566. "produces": [
  5567. "application/json"
  5568. ],
  5569. "tags": [
  5570. "检索服务"
  5571. ],
  5572. "summary": "检索商品信息",
  5573. "parameters": [
  5574. {
  5575. "type": "string",
  5576. "description": "检索内容",
  5577. "name": "content",
  5578. "in": "query",
  5579. "required": true
  5580. },
  5581. {
  5582. "type": "string",
  5583. "description": "交易模式,格式:1,2,3",
  5584. "name": "tradeModes",
  5585. "in": "query"
  5586. }
  5587. ],
  5588. "responses": {
  5589. "200": {
  5590. "description": "OK",
  5591. "schema": {
  5592. "$ref": "#/definitions/models.SearchGoods"
  5593. }
  5594. },
  5595. "500": {
  5596. "description": "Internal Server Error",
  5597. "schema": {
  5598. "$ref": "#/definitions/app.Response"
  5599. }
  5600. }
  5601. }
  5602. }
  5603. },
  5604. "/TaAccount/GetTaAccounts": {
  5605. "get": {
  5606. "security": [
  5607. {
  5608. "ApiKeyAuth": []
  5609. }
  5610. ],
  5611. "produces": [
  5612. "application/json"
  5613. ],
  5614. "tags": [
  5615. "资金账户"
  5616. ],
  5617. "summary": "获取资金账户信息",
  5618. "parameters": [
  5619. {
  5620. "type": "integer",
  5621. "description": "登录账户",
  5622. "name": "loginID",
  5623. "in": "query",
  5624. "required": true
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5629. "name": "taAccountType",
  5630. "in": "query"
  5631. }
  5632. ],
  5633. "responses": {
  5634. "200": {
  5635. "description": "OK",
  5636. "schema": {
  5637. "$ref": "#/definitions/models.Taaccount"
  5638. }
  5639. },
  5640. "500": {
  5641. "description": "Internal Server Error",
  5642. "schema": {
  5643. "$ref": "#/definitions/app.Response"
  5644. }
  5645. }
  5646. }
  5647. }
  5648. },
  5649. "/TaAccount/QueryAmountLog": {
  5650. "get": {
  5651. "security": [
  5652. {
  5653. "ApiKeyAuth": []
  5654. }
  5655. ],
  5656. "produces": [
  5657. "application/json"
  5658. ],
  5659. "tags": [
  5660. "资金账户"
  5661. ],
  5662. "summary": "资金流水查询(当前)",
  5663. "parameters": [
  5664. {
  5665. "type": "integer",
  5666. "description": "页码",
  5667. "name": "page",
  5668. "in": "query"
  5669. },
  5670. {
  5671. "type": "integer",
  5672. "description": "每页条数",
  5673. "name": "pagesize",
  5674. "in": "query"
  5675. },
  5676. {
  5677. "type": "string",
  5678. "description": "资金账户 - 格式:1,2,3",
  5679. "name": "accountID",
  5680. "in": "query",
  5681. "required": true
  5682. },
  5683. {
  5684. "type": "string",
  5685. "description": "资金操作类型 - 格式:1,2,3",
  5686. "name": "OperateType",
  5687. "in": "query"
  5688. }
  5689. ],
  5690. "responses": {
  5691. "200": {
  5692. "description": "OK",
  5693. "schema": {
  5694. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5695. }
  5696. },
  5697. "500": {
  5698. "description": "Internal Server Error",
  5699. "schema": {
  5700. "$ref": "#/definitions/app.Response"
  5701. }
  5702. }
  5703. }
  5704. }
  5705. },
  5706. "/TaAccount/QueryHisAmountLog": {
  5707. "get": {
  5708. "security": [
  5709. {
  5710. "ApiKeyAuth": []
  5711. }
  5712. ],
  5713. "produces": [
  5714. "application/json"
  5715. ],
  5716. "tags": [
  5717. "资金账户"
  5718. ],
  5719. "summary": "资金流水查询(历史)",
  5720. "parameters": [
  5721. {
  5722. "type": "integer",
  5723. "description": "页码",
  5724. "name": "page",
  5725. "in": "query"
  5726. },
  5727. {
  5728. "type": "integer",
  5729. "description": "每页条数",
  5730. "name": "pagesize",
  5731. "in": "query"
  5732. },
  5733. {
  5734. "type": "string",
  5735. "description": "资金账户 - 格式:1,2,3",
  5736. "name": "accountID",
  5737. "in": "query",
  5738. "required": true
  5739. },
  5740. {
  5741. "type": "string",
  5742. "description": "资金操作类型 - 格式:1,2,3",
  5743. "name": "OperateType",
  5744. "in": "query"
  5745. },
  5746. {
  5747. "type": "string",
  5748. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5749. "name": "startDate",
  5750. "in": "query"
  5751. },
  5752. {
  5753. "type": "string",
  5754. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5755. "name": "endDate",
  5756. "in": "query"
  5757. }
  5758. ],
  5759. "responses": {
  5760. "200": {
  5761. "description": "OK",
  5762. "schema": {
  5763. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5764. }
  5765. },
  5766. "500": {
  5767. "description": "Internal Server Error",
  5768. "schema": {
  5769. "$ref": "#/definitions/app.Response"
  5770. }
  5771. }
  5772. }
  5773. }
  5774. },
  5775. "/Trade/QueryRecieptOrder": {
  5776. "get": {
  5777. "security": [
  5778. {
  5779. "ApiKeyAuth": []
  5780. }
  5781. ],
  5782. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5783. "produces": [
  5784. "application/json"
  5785. ],
  5786. "tags": [
  5787. "通用交易"
  5788. ],
  5789. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5790. "parameters": [
  5791. {
  5792. "type": "integer",
  5793. "description": "页码",
  5794. "name": "page",
  5795. "in": "query"
  5796. },
  5797. {
  5798. "type": "integer",
  5799. "description": "每页条数",
  5800. "name": "pagesize",
  5801. "in": "query"
  5802. },
  5803. {
  5804. "type": "integer",
  5805. "description": "商品ID",
  5806. "name": "goodsID",
  5807. "in": "query",
  5808. "required": true
  5809. },
  5810. {
  5811. "type": "string",
  5812. "description": "所属账户名称",
  5813. "name": "accountName",
  5814. "in": "query"
  5815. },
  5816. {
  5817. "type": "integer",
  5818. "description": "市场ID",
  5819. "name": "marketID",
  5820. "in": "query"
  5821. },
  5822. {
  5823. "type": "integer",
  5824. "description": "方向 - 0:买 1:卖",
  5825. "name": "buyorsell",
  5826. "in": "query",
  5827. "required": true
  5828. }
  5829. ],
  5830. "responses": {
  5831. "200": {
  5832. "description": "OK",
  5833. "schema": {
  5834. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5835. }
  5836. },
  5837. "500": {
  5838. "description": "Internal Server Error",
  5839. "schema": {
  5840. "$ref": "#/definitions/app.Response"
  5841. }
  5842. }
  5843. }
  5844. }
  5845. },
  5846. "/User/AddMessageBoard": {
  5847. "post": {
  5848. "security": [
  5849. {
  5850. "ApiKeyAuth": []
  5851. }
  5852. ],
  5853. "produces": [
  5854. "application/json"
  5855. ],
  5856. "tags": [
  5857. "用户信息"
  5858. ],
  5859. "summary": "添加用户留言板信息",
  5860. "parameters": [
  5861. {
  5862. "type": "integer",
  5863. "description": "用户ID",
  5864. "name": "userID",
  5865. "in": "query",
  5866. "required": true
  5867. },
  5868. {
  5869. "type": "string",
  5870. "description": "留言信息",
  5871. "name": "message",
  5872. "in": "query",
  5873. "required": true
  5874. },
  5875. {
  5876. "type": "string",
  5877. "description": "联系电话",
  5878. "name": "contactNum",
  5879. "in": "query",
  5880. "required": true
  5881. }
  5882. ],
  5883. "responses": {
  5884. "200": {
  5885. "description": "OK",
  5886. "schema": {
  5887. "$ref": "#/definitions/app.Response"
  5888. }
  5889. },
  5890. "500": {
  5891. "description": "Internal Server Error",
  5892. "schema": {
  5893. "$ref": "#/definitions/app.Response"
  5894. }
  5895. }
  5896. }
  5897. }
  5898. },
  5899. "/User/AddUserFavoriteGoods": {
  5900. "post": {
  5901. "security": [
  5902. {
  5903. "ApiKeyAuth": []
  5904. }
  5905. ],
  5906. "produces": [
  5907. "application/json"
  5908. ],
  5909. "tags": [
  5910. "用户信息"
  5911. ],
  5912. "summary": "添加用户商品收藏信息",
  5913. "parameters": [
  5914. {
  5915. "type": "integer",
  5916. "description": "用户ID",
  5917. "name": "userID",
  5918. "in": "query",
  5919. "required": true
  5920. },
  5921. {
  5922. "type": "integer",
  5923. "description": "商品ID",
  5924. "name": "goodsID",
  5925. "in": "query",
  5926. "required": true
  5927. }
  5928. ],
  5929. "responses": {
  5930. "200": {
  5931. "description": "OK",
  5932. "schema": {
  5933. "$ref": "#/definitions/app.Response"
  5934. }
  5935. },
  5936. "500": {
  5937. "description": "Internal Server Error",
  5938. "schema": {
  5939. "$ref": "#/definitions/app.Response"
  5940. }
  5941. }
  5942. }
  5943. }
  5944. },
  5945. "/User/GetLoginID": {
  5946. "get": {
  5947. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5948. "produces": [
  5949. "application/json"
  5950. ],
  5951. "tags": [
  5952. "用户信息"
  5953. ],
  5954. "summary": "获取登录ID",
  5955. "parameters": [
  5956. {
  5957. "type": "string",
  5958. "description": "登录代码",
  5959. "name": "username",
  5960. "in": "query",
  5961. "required": true
  5962. }
  5963. ],
  5964. "responses": {
  5965. "200": {
  5966. "description": "OK",
  5967. "schema": {
  5968. "$ref": "#/definitions/app.Response"
  5969. }
  5970. },
  5971. "500": {
  5972. "description": "Internal Server Error",
  5973. "schema": {
  5974. "$ref": "#/definitions/app.Response"
  5975. }
  5976. }
  5977. }
  5978. }
  5979. },
  5980. "/User/GetUserAccount": {
  5981. "get": {
  5982. "security": [
  5983. {
  5984. "ApiKeyAuth": []
  5985. }
  5986. ],
  5987. "produces": [
  5988. "application/json"
  5989. ],
  5990. "tags": [
  5991. "用户信息"
  5992. ],
  5993. "summary": "获取用户账号信息",
  5994. "parameters": [
  5995. {
  5996. "type": "integer",
  5997. "description": "用户ID",
  5998. "name": "userID",
  5999. "in": "query",
  6000. "required": true
  6001. }
  6002. ],
  6003. "responses": {
  6004. "200": {
  6005. "description": "OK",
  6006. "schema": {
  6007. "$ref": "#/definitions/models.Useraccount"
  6008. }
  6009. },
  6010. "500": {
  6011. "description": "Internal Server Error",
  6012. "schema": {
  6013. "$ref": "#/definitions/app.Response"
  6014. }
  6015. }
  6016. }
  6017. }
  6018. },
  6019. "/User/GetUserAuthStatus": {
  6020. "get": {
  6021. "security": [
  6022. {
  6023. "ApiKeyAuth": []
  6024. }
  6025. ],
  6026. "produces": [
  6027. "application/json"
  6028. ],
  6029. "tags": [
  6030. "用户信息"
  6031. ],
  6032. "summary": "获取用户实名认证状态",
  6033. "parameters": [
  6034. {
  6035. "type": "integer",
  6036. "description": "用户ID",
  6037. "name": "userID",
  6038. "in": "query",
  6039. "required": true
  6040. }
  6041. ],
  6042. "responses": {
  6043. "200": {
  6044. "description": "OK",
  6045. "schema": {
  6046. "$ref": "#/definitions/app.Response"
  6047. }
  6048. },
  6049. "500": {
  6050. "description": "Internal Server Error",
  6051. "schema": {
  6052. "$ref": "#/definitions/app.Response"
  6053. }
  6054. }
  6055. }
  6056. }
  6057. },
  6058. "/User/LoginQuery": {
  6059. "get": {
  6060. "security": [
  6061. {
  6062. "ApiKeyAuth": []
  6063. }
  6064. ],
  6065. "produces": [
  6066. "application/json"
  6067. ],
  6068. "tags": [
  6069. "用户信息"
  6070. ],
  6071. "summary": "账户登录后信息查询",
  6072. "parameters": [
  6073. {
  6074. "type": "integer",
  6075. "description": "登录账号",
  6076. "name": "loginID",
  6077. "in": "query",
  6078. "required": true
  6079. }
  6080. ],
  6081. "responses": {
  6082. "200": {
  6083. "description": "OK",
  6084. "schema": {
  6085. "$ref": "#/definitions/user.LoginQueryRsp"
  6086. }
  6087. },
  6088. "500": {
  6089. "description": "Internal Server Error",
  6090. "schema": {
  6091. "$ref": "#/definitions/app.Response"
  6092. }
  6093. }
  6094. }
  6095. }
  6096. },
  6097. "/User/QueryMessageBoard": {
  6098. "get": {
  6099. "security": [
  6100. {
  6101. "ApiKeyAuth": []
  6102. }
  6103. ],
  6104. "produces": [
  6105. "application/json"
  6106. ],
  6107. "tags": [
  6108. "用户信息"
  6109. ],
  6110. "summary": "获取用户留言板信息",
  6111. "parameters": [
  6112. {
  6113. "type": "integer",
  6114. "description": "用户ID",
  6115. "name": "userID",
  6116. "in": "query",
  6117. "required": true
  6118. }
  6119. ],
  6120. "responses": {
  6121. "200": {
  6122. "description": "OK",
  6123. "schema": {
  6124. "$ref": "#/definitions/models.Messageboard"
  6125. }
  6126. },
  6127. "500": {
  6128. "description": "Internal Server Error",
  6129. "schema": {
  6130. "$ref": "#/definitions/app.Response"
  6131. }
  6132. }
  6133. }
  6134. }
  6135. },
  6136. "/User/QueryUserFavoriteGoodses": {
  6137. "get": {
  6138. "security": [
  6139. {
  6140. "ApiKeyAuth": []
  6141. }
  6142. ],
  6143. "produces": [
  6144. "application/json"
  6145. ],
  6146. "tags": [
  6147. "用户信息"
  6148. ],
  6149. "summary": "获取用户商品收藏信息",
  6150. "parameters": [
  6151. {
  6152. "type": "integer",
  6153. "description": "用户ID",
  6154. "name": "userID",
  6155. "in": "query",
  6156. "required": true
  6157. }
  6158. ],
  6159. "responses": {
  6160. "200": {
  6161. "description": "OK",
  6162. "schema": {
  6163. "$ref": "#/definitions/models.Userfavoritegoods"
  6164. }
  6165. },
  6166. "500": {
  6167. "description": "Internal Server Error",
  6168. "schema": {
  6169. "$ref": "#/definitions/app.Response"
  6170. }
  6171. }
  6172. }
  6173. }
  6174. },
  6175. "/User/QueryUserInfo": {
  6176. "get": {
  6177. "security": [
  6178. {
  6179. "ApiKeyAuth": []
  6180. }
  6181. ],
  6182. "produces": [
  6183. "application/json"
  6184. ],
  6185. "tags": [
  6186. "用户信息"
  6187. ],
  6188. "summary": "获取用户信息",
  6189. "parameters": [
  6190. {
  6191. "type": "integer",
  6192. "description": "用户ID",
  6193. "name": "userID",
  6194. "in": "query",
  6195. "required": true
  6196. }
  6197. ],
  6198. "responses": {
  6199. "200": {
  6200. "description": "OK",
  6201. "schema": {
  6202. "$ref": "#/definitions/models.Userinfo"
  6203. }
  6204. },
  6205. "500": {
  6206. "description": "Internal Server Error",
  6207. "schema": {
  6208. "$ref": "#/definitions/app.Response"
  6209. }
  6210. }
  6211. }
  6212. }
  6213. },
  6214. "/User/QueryUserReferNum": {
  6215. "get": {
  6216. "produces": [
  6217. "application/json"
  6218. ],
  6219. "tags": [
  6220. "用户信息"
  6221. ],
  6222. "summary": "获取用户邀请码",
  6223. "parameters": [
  6224. {
  6225. "type": "integer",
  6226. "description": "用户ID",
  6227. "name": "userID",
  6228. "in": "query",
  6229. "required": true
  6230. }
  6231. ],
  6232. "responses": {
  6233. "200": {
  6234. "description": "OK",
  6235. "schema": {
  6236. "$ref": "#/definitions/app.Response"
  6237. }
  6238. },
  6239. "500": {
  6240. "description": "Internal Server Error",
  6241. "schema": {
  6242. "$ref": "#/definitions/app.Response"
  6243. }
  6244. }
  6245. }
  6246. }
  6247. },
  6248. "/User/RemoveUserFavoriteGoods": {
  6249. "post": {
  6250. "security": [
  6251. {
  6252. "ApiKeyAuth": []
  6253. }
  6254. ],
  6255. "produces": [
  6256. "application/json"
  6257. ],
  6258. "tags": [
  6259. "用户信息"
  6260. ],
  6261. "summary": "移除用户商品收藏信息",
  6262. "parameters": [
  6263. {
  6264. "type": "integer",
  6265. "description": "用户ID",
  6266. "name": "userID",
  6267. "in": "query",
  6268. "required": true
  6269. },
  6270. {
  6271. "type": "integer",
  6272. "description": "商品ID",
  6273. "name": "goodsID",
  6274. "in": "query",
  6275. "required": true
  6276. }
  6277. ],
  6278. "responses": {
  6279. "200": {
  6280. "description": "OK",
  6281. "schema": {
  6282. "$ref": "#/definitions/app.Response"
  6283. }
  6284. },
  6285. "500": {
  6286. "description": "Internal Server Error",
  6287. "schema": {
  6288. "$ref": "#/definitions/app.Response"
  6289. }
  6290. }
  6291. }
  6292. }
  6293. },
  6294. "/User/UpdateUserAccountStatus": {
  6295. "post": {
  6296. "security": [
  6297. {
  6298. "ApiKeyAuth": []
  6299. }
  6300. ],
  6301. "produces": [
  6302. "application/json"
  6303. ],
  6304. "tags": [
  6305. "用户信息"
  6306. ],
  6307. "summary": "更新用户状态",
  6308. "parameters": [
  6309. {
  6310. "type": "integer",
  6311. "description": "用户ID",
  6312. "name": "userID",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "integer",
  6318. "description": "账户状态 - 4:正常 6:注销(停用)",
  6319. "name": "accountStatus",
  6320. "in": "query",
  6321. "required": true
  6322. }
  6323. ],
  6324. "responses": {
  6325. "200": {
  6326. "description": "OK",
  6327. "schema": {
  6328. "$ref": "#/definitions/app.Response"
  6329. }
  6330. },
  6331. "500": {
  6332. "description": "Internal Server Error",
  6333. "schema": {
  6334. "$ref": "#/definitions/app.Response"
  6335. }
  6336. }
  6337. }
  6338. }
  6339. },
  6340. "/WR/GetWRCategoryInfo": {
  6341. "get": {
  6342. "produces": [
  6343. "application/json"
  6344. ],
  6345. "tags": [
  6346. "仓单服务"
  6347. ],
  6348. "summary": "获取现货分类信息",
  6349. "responses": {
  6350. "200": {
  6351. "description": "OK",
  6352. "schema": {
  6353. "$ref": "#/definitions/models.WRCategoryTree"
  6354. }
  6355. },
  6356. "500": {
  6357. "description": "Internal Server Error",
  6358. "schema": {
  6359. "$ref": "#/definitions/app.Response"
  6360. }
  6361. }
  6362. }
  6363. }
  6364. },
  6365. "/WRTrade/GetAllDeliveryGoods": {
  6366. "get": {
  6367. "security": [
  6368. {
  6369. "ApiKeyAuth": []
  6370. },
  6371. {
  6372. "ApiKeyAuth": []
  6373. }
  6374. ],
  6375. "produces": [
  6376. "application/json",
  6377. "application/json"
  6378. ],
  6379. "tags": [
  6380. "仓单贸易",
  6381. "仓单贸易"
  6382. ],
  6383. "summary": "获取带仓单分类的种类信息",
  6384. "responses": {
  6385. "200": {
  6386. "description": "OK",
  6387. "schema": {
  6388. "$ref": "#/definitions/app.Response"
  6389. }
  6390. },
  6391. "500": {
  6392. "description": "Internal Server Error",
  6393. "schema": {
  6394. "$ref": "#/definitions/app.Response"
  6395. }
  6396. }
  6397. }
  6398. }
  6399. }
  6400. },
  6401. "definitions": {
  6402. "app.Response": {
  6403. "type": "object",
  6404. "properties": {
  6405. "code": {
  6406. "type": "integer"
  6407. },
  6408. "data": {
  6409. "type": "object"
  6410. },
  6411. "msg": {
  6412. "type": "string"
  6413. },
  6414. "page": {
  6415. "description": "页码",
  6416. "type": "integer"
  6417. },
  6418. "pagesize": {
  6419. "description": "每页条数",
  6420. "type": "integer"
  6421. },
  6422. "total": {
  6423. "description": "总条数",
  6424. "type": "integer"
  6425. }
  6426. }
  6427. },
  6428. "common.QueryImageConfigsRsp": {
  6429. "type": "object",
  6430. "required": [
  6431. "configid"
  6432. ],
  6433. "properties": {
  6434. "areauserid": {
  6435. "description": "所属机构ID",
  6436. "type": "integer"
  6437. },
  6438. "configid": {
  6439. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6440. "type": "integer"
  6441. },
  6442. "createdate": {
  6443. "description": "创建时间",
  6444. "type": "string"
  6445. },
  6446. "creatorid": {
  6447. "description": "创建人",
  6448. "type": "integer"
  6449. },
  6450. "imagepath": {
  6451. "description": "图片",
  6452. "type": "string"
  6453. },
  6454. "imagetype": {
  6455. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6456. "type": "integer"
  6457. },
  6458. "isshow": {
  6459. "description": "是否展示 - 0:不展示 1:展示",
  6460. "type": "integer"
  6461. },
  6462. "marketid": {
  6463. "description": "市场ID",
  6464. "type": "integer"
  6465. },
  6466. "modifierid": {
  6467. "description": "操作人",
  6468. "type": "integer"
  6469. },
  6470. "sort": {
  6471. "description": "排序",
  6472. "type": "integer"
  6473. },
  6474. "title": {
  6475. "description": "标题",
  6476. "type": "string"
  6477. },
  6478. "trademode": {
  6479. "description": "交易模式",
  6480. "type": "integer"
  6481. },
  6482. "updatedate": {
  6483. "description": "修改时间",
  6484. "type": "string"
  6485. },
  6486. "url": {
  6487. "description": "链接(地址或商品ID)",
  6488. "type": "string"
  6489. },
  6490. "urltype": {
  6491. "description": "链接类型 - 1:直接地址 2:商品ID",
  6492. "type": "integer"
  6493. }
  6494. }
  6495. },
  6496. "common.QueryNoticeRsp": {
  6497. "type": "object",
  6498. "required": [
  6499. "autoid"
  6500. ],
  6501. "properties": {
  6502. "auditoruserid": {
  6503. "description": "审核人",
  6504. "type": "integer"
  6505. },
  6506. "auditremark": {
  6507. "description": "审核备注",
  6508. "type": "string"
  6509. },
  6510. "audittime": {
  6511. "description": "审核日期",
  6512. "type": "string"
  6513. },
  6514. "autoid": {
  6515. "description": "自增ID",
  6516. "type": "integer"
  6517. },
  6518. "content": {
  6519. "description": "内容",
  6520. "type": "string"
  6521. },
  6522. "createtime": {
  6523. "description": "创建时间",
  6524. "type": "string"
  6525. },
  6526. "creatorid": {
  6527. "description": "建仓人",
  6528. "type": "integer"
  6529. },
  6530. "endtime": {
  6531. "description": "结束时间",
  6532. "type": "string"
  6533. },
  6534. "istop": {
  6535. "description": "是否置顶 - 0:不置顶 1:置顶",
  6536. "type": "integer"
  6537. },
  6538. "msgiconurl": {
  6539. "description": "消息图标Url",
  6540. "type": "string"
  6541. },
  6542. "msgtype": {
  6543. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6544. "type": "integer"
  6545. },
  6546. "publisher": {
  6547. "description": "消息发布者",
  6548. "type": "string"
  6549. },
  6550. "readed": {
  6551. "description": "是否已读",
  6552. "type": "boolean"
  6553. },
  6554. "scheduletime": {
  6555. "description": "计划发送时间",
  6556. "type": "string"
  6557. },
  6558. "sendtype": {
  6559. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6560. "type": "integer"
  6561. },
  6562. "sentstatus": {
  6563. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6564. "type": "integer"
  6565. },
  6566. "title": {
  6567. "description": "标题",
  6568. "type": "string"
  6569. },
  6570. "userid": {
  6571. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6572. "type": "integer"
  6573. }
  6574. }
  6575. },
  6576. "common.QueryProvincesAndCitiesRsp": {
  6577. "type": "object",
  6578. "properties": {
  6579. "cities": {
  6580. "description": "市",
  6581. "type": "array",
  6582. "items": {
  6583. "$ref": "#/definitions/models.Division"
  6584. }
  6585. },
  6586. "province": {
  6587. "description": "省",
  6588. "$ref": "#/definitions/models.Division"
  6589. }
  6590. }
  6591. },
  6592. "common.QueryTableDefineRsp": {
  6593. "type": "object",
  6594. "required": [
  6595. "tablekey"
  6596. ],
  6597. "properties": {
  6598. "columns": {
  6599. "description": "列头信息数组",
  6600. "type": "array",
  6601. "items": {
  6602. "$ref": "#/definitions/models.Tablecolumnconfig"
  6603. }
  6604. },
  6605. "remark": {
  6606. "description": "Remark",
  6607. "type": "string"
  6608. },
  6609. "tabelmenu": {
  6610. "description": "列表菜单",
  6611. "type": "string"
  6612. },
  6613. "tablekey": {
  6614. "description": "列表Key",
  6615. "type": "string"
  6616. },
  6617. "tablename": {
  6618. "description": "列表名称",
  6619. "type": "string"
  6620. },
  6621. "tabletype": {
  6622. "description": "列表类型 - 1:管理端 2:终端",
  6623. "type": "integer"
  6624. }
  6625. }
  6626. },
  6627. "common.QueryTraderMenuRsp": {
  6628. "type": "object",
  6629. "properties": {
  6630. "OperationMenu": {
  6631. "description": "功能菜单",
  6632. "type": "array",
  6633. "items": {
  6634. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6635. }
  6636. },
  6637. "QuoteMenu": {
  6638. "description": "报价牌分类菜单",
  6639. "type": "array",
  6640. "items": {
  6641. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6642. }
  6643. }
  6644. }
  6645. },
  6646. "cptrade.Cptradepositioncancel": {
  6647. "type": "object",
  6648. "required": [
  6649. "cancelid"
  6650. ],
  6651. "properties": {
  6652. "accountid": {
  6653. "description": "申请人账户ID",
  6654. "type": "integer"
  6655. },
  6656. "applystatus": {
  6657. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6658. "type": "integer"
  6659. },
  6660. "applytime": {
  6661. "description": "申请时间",
  6662. "type": "string"
  6663. },
  6664. "cancelid": {
  6665. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6666. "type": "integer"
  6667. },
  6668. "cancelqty": {
  6669. "description": "注销数量",
  6670. "type": "integer"
  6671. },
  6672. "createtime": {
  6673. "description": "创建时间",
  6674. "type": "string"
  6675. },
  6676. "creatorid": {
  6677. "description": "创建人ID",
  6678. "type": "integer"
  6679. },
  6680. "creatorname": {
  6681. "description": "创建人",
  6682. "type": "string"
  6683. },
  6684. "goodscode": {
  6685. "description": "订单商品代码",
  6686. "type": "string"
  6687. },
  6688. "goodsid": {
  6689. "description": "商品ID",
  6690. "type": "integer"
  6691. },
  6692. "goodsname": {
  6693. "description": "订单商品名称",
  6694. "type": "string"
  6695. },
  6696. "goodunit": {
  6697. "description": "报价单位",
  6698. "type": "string"
  6699. },
  6700. "handlestatus": {
  6701. "description": "处理状态",
  6702. "type": "integer"
  6703. },
  6704. "marketid": {
  6705. "description": "市场ID",
  6706. "type": "integer"
  6707. },
  6708. "marketname": {
  6709. "description": "市场名称",
  6710. "type": "string"
  6711. },
  6712. "tradedate": {
  6713. "description": "交易日(yyyyMMdd)",
  6714. "type": "string"
  6715. },
  6716. "userid": {
  6717. "description": "申请人ID",
  6718. "type": "integer"
  6719. }
  6720. }
  6721. },
  6722. "cptrade.Cptradepresaleapply": {
  6723. "type": "object",
  6724. "required": [
  6725. "applyid"
  6726. ],
  6727. "properties": {
  6728. "accountid": {
  6729. "description": "申请人账户ID",
  6730. "type": "integer"
  6731. },
  6732. "applyid": {
  6733. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6734. "type": "integer"
  6735. },
  6736. "applyremark": {
  6737. "description": "申请备注",
  6738. "type": "string"
  6739. },
  6740. "applystatus": {
  6741. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6742. "type": "integer"
  6743. },
  6744. "applytime": {
  6745. "description": "申请时间",
  6746. "type": "string"
  6747. },
  6748. "attachmenturl": {
  6749. "description": "附件地址",
  6750. "type": "string"
  6751. },
  6752. "endtime": {
  6753. "description": "预售结束时间",
  6754. "type": "string"
  6755. },
  6756. "goodscode": {
  6757. "description": "商品代码",
  6758. "type": "string"
  6759. },
  6760. "goodsid": {
  6761. "description": "商品ID",
  6762. "type": "integer"
  6763. },
  6764. "goodsname": {
  6765. "description": "商品名称",
  6766. "type": "string"
  6767. },
  6768. "goodunit": {
  6769. "description": "报价单位",
  6770. "type": "string"
  6771. },
  6772. "handlestatus": {
  6773. "description": "处理状态",
  6774. "type": "integer"
  6775. },
  6776. "marketid": {
  6777. "description": "预售市场ID",
  6778. "type": "integer"
  6779. },
  6780. "marketname": {
  6781. "description": "预售市场名称",
  6782. "type": "string"
  6783. },
  6784. "presaleqty": {
  6785. "description": "预售数量",
  6786. "type": "integer"
  6787. },
  6788. "relatedgoodscode": {
  6789. "description": "关联交易合约代码",
  6790. "type": "string"
  6791. },
  6792. "relatedgoodsid": {
  6793. "description": "关联交易合约ID",
  6794. "type": "integer"
  6795. },
  6796. "relatedgoodsname": {
  6797. "description": "关联交易合约名称",
  6798. "type": "string"
  6799. },
  6800. "starttime": {
  6801. "description": "预售开始时间",
  6802. "type": "string"
  6803. },
  6804. "tradedate": {
  6805. "description": "交易日(yyyyMMdd)",
  6806. "type": "string"
  6807. },
  6808. "trademode": {
  6809. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6810. "type": "integer"
  6811. },
  6812. "userid": {
  6813. "description": "申请人ID",
  6814. "type": "integer"
  6815. }
  6816. }
  6817. },
  6818. "cptrade.Cptradeusergoodsdata": {
  6819. "type": "object",
  6820. "required": [
  6821. "accountid",
  6822. "goodsid"
  6823. ],
  6824. "properties": {
  6825. "EnabledQty": {
  6826. "description": "可用量",
  6827. "type": "integer"
  6828. },
  6829. "GoodsCode": {
  6830. "description": "订单商品代码",
  6831. "type": "string"
  6832. },
  6833. "GoodsName": {
  6834. "description": "订单商品名称",
  6835. "type": "string"
  6836. },
  6837. "WRStandardCode": {
  6838. "description": "仓单标准代码",
  6839. "type": "string"
  6840. },
  6841. "WRStandardName": {
  6842. "description": "仓单标准名称",
  6843. "type": "string"
  6844. },
  6845. "accountid": {
  6846. "description": "账户ID",
  6847. "type": "integer"
  6848. },
  6849. "cancelqty": {
  6850. "description": "注销量",
  6851. "type": "integer"
  6852. },
  6853. "curpresaleqty": {
  6854. "description": "当前预售量",
  6855. "type": "integer"
  6856. },
  6857. "deliveryqty": {
  6858. "description": "交割量",
  6859. "type": "integer"
  6860. },
  6861. "freezeamount": {
  6862. "description": "冻结金额",
  6863. "type": "number"
  6864. },
  6865. "goodsid": {
  6866. "description": "商品ID",
  6867. "type": "integer"
  6868. },
  6869. "goodunit": {
  6870. "description": "报价单位",
  6871. "type": "string"
  6872. },
  6873. "hasspotfreeze": {
  6874. "description": "是否有现货冻结 - 0:否 1:有",
  6875. "type": "integer"
  6876. },
  6877. "inqty": {
  6878. "description": "转入量(总数量)",
  6879. "type": "integer"
  6880. },
  6881. "marketid": {
  6882. "description": "市场ID",
  6883. "type": "integer"
  6884. },
  6885. "presaledamount": {
  6886. "description": "已预售总金额",
  6887. "type": "integer"
  6888. },
  6889. "presaledqty": {
  6890. "description": "已预售量",
  6891. "type": "integer"
  6892. },
  6893. "userid": {
  6894. "description": "用户ID",
  6895. "type": "integer"
  6896. },
  6897. "wrstandardid": {
  6898. "description": "仓单标准ID",
  6899. "type": "integer"
  6900. }
  6901. }
  6902. },
  6903. "cptrade.QueryCPTradeMyBidRsp": {
  6904. "type": "object",
  6905. "required": [
  6906. "accountid",
  6907. "goodsid",
  6908. "marketid",
  6909. "orderid",
  6910. "orderqty",
  6911. "ordertime",
  6912. "tradeprice",
  6913. "tradeqty"
  6914. ],
  6915. "properties": {
  6916. "accountid": {
  6917. "description": "账户ID[报价币种]",
  6918. "type": "integer"
  6919. },
  6920. "goodsid": {
  6921. "description": "商品ID",
  6922. "type": "integer"
  6923. },
  6924. "goodunit": {
  6925. "description": "报价单位",
  6926. "type": "string"
  6927. },
  6928. "marketid": {
  6929. "description": "市场ID",
  6930. "type": "integer"
  6931. },
  6932. "orderid": {
  6933. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6934. "type": "integer"
  6935. },
  6936. "orderprice": {
  6937. "description": "委托价格",
  6938. "type": "number"
  6939. },
  6940. "orderqty": {
  6941. "description": "委托数量",
  6942. "type": "integer"
  6943. },
  6944. "ordertime": {
  6945. "description": "委托时间",
  6946. "type": "string"
  6947. },
  6948. "ordertotalprice": {
  6949. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6950. "type": "number"
  6951. },
  6952. "ordertotalweight": {
  6953. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6954. "type": "integer"
  6955. },
  6956. "totaltotalprice": {
  6957. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6958. "type": "number"
  6959. },
  6960. "tradeprice": {
  6961. "description": "成交价格",
  6962. "type": "number"
  6963. },
  6964. "tradeqty": {
  6965. "description": "成交数量",
  6966. "type": "integer"
  6967. }
  6968. }
  6969. },
  6970. "cptrade.QueryCPTradeOrderDetailRsq": {
  6971. "type": "object",
  6972. "required": [
  6973. "accountid",
  6974. "buildtype",
  6975. "buyorsell",
  6976. "goodsid",
  6977. "marketid",
  6978. "memberuserid",
  6979. "operatetype",
  6980. "orderqty",
  6981. "ordertime",
  6982. "pricemode",
  6983. "strorderid",
  6984. "tradedate",
  6985. "validtype"
  6986. ],
  6987. "properties": {
  6988. "accountid": {
  6989. "description": "账户ID[报价币种]",
  6990. "type": "integer"
  6991. },
  6992. "buildtype": {
  6993. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6994. "type": "integer"
  6995. },
  6996. "buyorsell": {
  6997. "description": "买卖 - 0:买 1:卖",
  6998. "type": "integer"
  6999. },
  7000. "cancelorderid": {
  7001. "description": "撤单单号(撤单时填写)",
  7002. "type": "integer"
  7003. },
  7004. "cancelqty": {
  7005. "description": "撤单数量",
  7006. "type": "integer"
  7007. },
  7008. "clientordertime": {
  7009. "description": "客户端委托时间",
  7010. "type": "string"
  7011. },
  7012. "clientticket": {
  7013. "description": "客户端流水号",
  7014. "type": "string"
  7015. },
  7016. "clienttype": {
  7017. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7018. "type": "integer"
  7019. },
  7020. "closeexchagechargevalue": {
  7021. "description": "平仓交易所手续费设置值",
  7022. "type": "number"
  7023. },
  7024. "closefeealgorithm": {
  7025. "description": "平仓手续费收取方式 1:比率 2:固定",
  7026. "type": "integer"
  7027. },
  7028. "closefreezecharge": {
  7029. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7030. "type": "number"
  7031. },
  7032. "closememberchargevalue": {
  7033. "description": "平仓会员手续费设置值",
  7034. "type": "number"
  7035. },
  7036. "closeqty": {
  7037. "description": "平仓数量(先建后平操作 需要记录)",
  7038. "type": "integer"
  7039. },
  7040. "closetradeqty": {
  7041. "description": "平仓成交数量(先建后平操作,需要记录)",
  7042. "type": "integer"
  7043. },
  7044. "closeunfreezecharge": {
  7045. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7046. "type": "number"
  7047. },
  7048. "delistingtype": {
  7049. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7050. "type": "integer"
  7051. },
  7052. "freezecharge": {
  7053. "description": "冻结手续费",
  7054. "type": "number"
  7055. },
  7056. "freezemargin": {
  7057. "description": "冻结保证金(冻结交易金额)",
  7058. "type": "number"
  7059. },
  7060. "gcaccountid": {
  7061. "description": "账户ID[合约币种]",
  7062. "type": "integer"
  7063. },
  7064. "goodsid": {
  7065. "description": "商品ID",
  7066. "type": "integer"
  7067. },
  7068. "isconfirmexercise": {
  7069. "description": "是否确认行权- 0:否 1:是",
  7070. "type": "integer"
  7071. },
  7072. "ispreexercise": {
  7073. "description": "是否预申报- 0:否 1:是",
  7074. "type": "integer"
  7075. },
  7076. "listingselecttype": {
  7077. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7078. "type": "integer"
  7079. },
  7080. "marginalgorithm": {
  7081. "description": "保证金收取方式 1:比率 2:固定",
  7082. "type": "integer"
  7083. },
  7084. "marginvalue": {
  7085. "description": "即市保证金设置值",
  7086. "type": "number"
  7087. },
  7088. "marketid": {
  7089. "description": "市场ID",
  7090. "type": "integer"
  7091. },
  7092. "marketmaxsub": {
  7093. "description": "市价最大偏移范围",
  7094. "type": "number"
  7095. },
  7096. "memberuserid": {
  7097. "description": "所属会员UserID",
  7098. "type": "integer"
  7099. },
  7100. "openexchagechargevalue": {
  7101. "description": "建仓交易所手续费设置值",
  7102. "type": "number"
  7103. },
  7104. "openfeealgorithm": {
  7105. "description": "建仓手续费收取方式 1:比率 2:固定",
  7106. "type": "integer"
  7107. },
  7108. "openfreezecharge": {
  7109. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7110. "type": "number"
  7111. },
  7112. "openmemberchargevalue": {
  7113. "description": "建仓会员手续费设置值",
  7114. "type": "number"
  7115. },
  7116. "openqty": {
  7117. "description": "开仓数量(先建后平操作,需要记录)",
  7118. "type": "integer"
  7119. },
  7120. "opentradeqty": {
  7121. "description": "开仓成交数量(先建后平操作,需要记录)",
  7122. "type": "integer"
  7123. },
  7124. "openunfreezecharge": {
  7125. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7126. "type": "number"
  7127. },
  7128. "operatetype": {
  7129. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7130. "type": "integer"
  7131. },
  7132. "operatorid": {
  7133. "description": "登录账号(LoginID)",
  7134. "type": "integer"
  7135. },
  7136. "optiontype": {
  7137. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7138. "type": "integer"
  7139. },
  7140. "orderprice": {
  7141. "description": "委托价格",
  7142. "type": "number"
  7143. },
  7144. "orderqty": {
  7145. "description": "委托数量",
  7146. "type": "integer"
  7147. },
  7148. "ordersrc": {
  7149. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7150. "type": "integer"
  7151. },
  7152. "orderstatus": {
  7153. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7154. "type": "integer"
  7155. },
  7156. "ordertime": {
  7157. "description": "委托时间",
  7158. "type": "string"
  7159. },
  7160. "preexerciseprice": {
  7161. "description": "预申报价格",
  7162. "type": "number"
  7163. },
  7164. "premium": {
  7165. "description": "权利金",
  7166. "type": "number"
  7167. },
  7168. "preorderid": {
  7169. "description": "关联预埋单号(止盈止损单时填写)",
  7170. "type": "integer"
  7171. },
  7172. "pricemode": {
  7173. "description": "取价方式 - 1:市价 2: 限价",
  7174. "type": "integer"
  7175. },
  7176. "quoteid": {
  7177. "description": "报价单ID",
  7178. "type": "integer"
  7179. },
  7180. "relatedid": {
  7181. "description": "关联单号(交割单)",
  7182. "type": "integer"
  7183. },
  7184. "retcode": {
  7185. "description": "错误代码",
  7186. "type": "integer"
  7187. },
  7188. "sessionid": {
  7189. "description": "会话ID",
  7190. "type": "integer"
  7191. },
  7192. "strorderid": {
  7193. "description": "委托单号",
  7194. "type": "string"
  7195. },
  7196. "tradedate": {
  7197. "description": "交易日(yyyyMMdd)",
  7198. "type": "string"
  7199. },
  7200. "tradeproperty": {
  7201. "description": "交易属性",
  7202. "type": "integer"
  7203. },
  7204. "tradeqty": {
  7205. "description": "成交数量",
  7206. "type": "integer"
  7207. },
  7208. "unfreezecharge": {
  7209. "description": "解冻手续费",
  7210. "type": "number"
  7211. },
  7212. "unfreezemargin": {
  7213. "description": "解冻保证金",
  7214. "type": "number"
  7215. },
  7216. "updatetime": {
  7217. "description": "更新时间",
  7218. "type": "string"
  7219. },
  7220. "uuid": {
  7221. "description": "发起端唯一id",
  7222. "type": "string"
  7223. },
  7224. "validtime": {
  7225. "description": "有效期限",
  7226. "type": "string"
  7227. },
  7228. "validtype": {
  7229. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7230. "type": "integer"
  7231. },
  7232. "volumetype": {
  7233. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7234. "type": "integer"
  7235. }
  7236. }
  7237. },
  7238. "cptrade.QueryMyCPTradeGoodsRsp": {
  7239. "type": "object",
  7240. "required": [
  7241. "goodscode",
  7242. "goodsid",
  7243. "goodsname",
  7244. "marketid",
  7245. "relatedgoodscode",
  7246. "relatedgoodsname"
  7247. ],
  7248. "properties": {
  7249. "accountid": {
  7250. "description": "卖方账户ID",
  7251. "type": "integer"
  7252. },
  7253. "agreeunit": {
  7254. "description": "合约单位",
  7255. "type": "number"
  7256. },
  7257. "applyid": {
  7258. "description": "关联申请ID",
  7259. "type": "integer"
  7260. },
  7261. "attachmenturl": {
  7262. "description": "附件地址",
  7263. "type": "string"
  7264. },
  7265. "createtime": {
  7266. "description": "创建时间",
  7267. "type": "string"
  7268. },
  7269. "currencyid": {
  7270. "description": "报价货币ID",
  7271. "type": "integer"
  7272. },
  7273. "decimalplace": {
  7274. "description": "报价小数位",
  7275. "type": "integer"
  7276. },
  7277. "endtime": {
  7278. "description": "预售结束时间",
  7279. "type": "string"
  7280. },
  7281. "floorprice": {
  7282. "description": "底价[大宗式竞拍]",
  7283. "type": "number"
  7284. },
  7285. "goodscode": {
  7286. "description": "商品代码(预售)",
  7287. "type": "string"
  7288. },
  7289. "goodsdetail": {
  7290. "description": "详情[大宗]",
  7291. "type": "string"
  7292. },
  7293. "goodsid": {
  7294. "description": "商品ID(自增ID SEQ_GOODS)",
  7295. "type": "integer"
  7296. },
  7297. "goodsname": {
  7298. "description": "商品名称(预售)",
  7299. "type": "string"
  7300. },
  7301. "goodunit": {
  7302. "description": "报价单位",
  7303. "type": "string"
  7304. },
  7305. "goodunitid": {
  7306. "description": "报价单位ID",
  7307. "type": "integer"
  7308. },
  7309. "marketid": {
  7310. "description": "所属市场ID",
  7311. "type": "integer"
  7312. },
  7313. "marketname": {
  7314. "description": "预售市场名称",
  7315. "type": "string"
  7316. },
  7317. "presaledamount": {
  7318. "description": "已预售总金额(预售结束时更新)",
  7319. "type": "number"
  7320. },
  7321. "presaledqty": {
  7322. "description": "已预售量(预售结束时更新)",
  7323. "type": "integer"
  7324. },
  7325. "presalemode": {
  7326. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7327. "type": "integer"
  7328. },
  7329. "presaleqty": {
  7330. "description": "预售数量",
  7331. "type": "integer"
  7332. },
  7333. "refprice": {
  7334. "description": "参考价格[一口价]",
  7335. "type": "number"
  7336. },
  7337. "relatedgoodscode": {
  7338. "description": "商品代码(订单)",
  7339. "type": "string"
  7340. },
  7341. "relatedgoodsid": {
  7342. "description": "关联交易合约ID",
  7343. "type": "integer"
  7344. },
  7345. "relatedgoodsname": {
  7346. "description": "商品名称(订单)",
  7347. "type": "string"
  7348. },
  7349. "relatedmarketid": {
  7350. "description": "关联交易合约市场ID",
  7351. "type": "integer"
  7352. },
  7353. "sellstatus": {
  7354. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7355. "type": "integer"
  7356. },
  7357. "startprice": {
  7358. "description": "起拍价[大宗式竞拍]",
  7359. "type": "number"
  7360. },
  7361. "starttime": {
  7362. "description": "预售开始时间",
  7363. "type": "string"
  7364. },
  7365. "tradedate": {
  7366. "description": "交易日(yyyyMMdd)",
  7367. "type": "string"
  7368. },
  7369. "tradeprice": {
  7370. "description": "成交价[大宗]",
  7371. "type": "number"
  7372. },
  7373. "userid": {
  7374. "description": "卖方用户ID",
  7375. "type": "integer"
  7376. }
  7377. }
  7378. },
  7379. "cptrade.QueryPresaleGoodsExRsp": {
  7380. "type": "object",
  7381. "required": [
  7382. "goodsid"
  7383. ],
  7384. "properties": {
  7385. "attachmenturl": {
  7386. "description": "附件地址",
  7387. "type": "string"
  7388. },
  7389. "createtime": {
  7390. "description": "创建时间",
  7391. "type": "string"
  7392. },
  7393. "endtime": {
  7394. "description": "预售结束时间",
  7395. "type": "string"
  7396. },
  7397. "floorprice": {
  7398. "description": "底价[大宗式竞拍]",
  7399. "type": "number"
  7400. },
  7401. "goodsdetail": {
  7402. "description": "详情[大宗]",
  7403. "type": "string"
  7404. },
  7405. "goodsid": {
  7406. "description": "商品ID(预售)",
  7407. "type": "integer"
  7408. },
  7409. "goodunit": {
  7410. "description": "报价单位",
  7411. "type": "string"
  7412. },
  7413. "marketid": {
  7414. "description": "预售市场ID - 根据预售模式选择市场",
  7415. "type": "integer"
  7416. },
  7417. "presaledamount": {
  7418. "description": "已预售总金额(预售结束时更新)",
  7419. "type": "number"
  7420. },
  7421. "presaledqty": {
  7422. "description": "已预售量(预售结束时更新)",
  7423. "type": "integer"
  7424. },
  7425. "presalemode": {
  7426. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7427. "type": "integer"
  7428. },
  7429. "presaleqty": {
  7430. "description": "预售数量",
  7431. "type": "integer"
  7432. },
  7433. "refprice": {
  7434. "description": "参考价格[一口价]",
  7435. "type": "number"
  7436. },
  7437. "relatedgoodsid": {
  7438. "description": "关联交易合约ID",
  7439. "type": "integer"
  7440. },
  7441. "relatedmarketid": {
  7442. "description": "关联交易合约市场ID",
  7443. "type": "integer"
  7444. },
  7445. "sellstatus": {
  7446. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7447. "type": "integer"
  7448. },
  7449. "startprice": {
  7450. "description": "起拍价[大宗式竞拍]",
  7451. "type": "number"
  7452. },
  7453. "starttime": {
  7454. "description": "预售开始时间",
  7455. "type": "string"
  7456. },
  7457. "tradedate": {
  7458. "description": "交易日(yyyyMMdd)",
  7459. "type": "string"
  7460. },
  7461. "tradeprice": {
  7462. "description": "成交价[大宗]",
  7463. "type": "number"
  7464. }
  7465. }
  7466. },
  7467. "delivery.QueryDeliveryRelationRsp": {
  7468. "type": "object",
  7469. "required": [
  7470. "begindate",
  7471. "enddate",
  7472. "goodsid",
  7473. "mindeliveryqty",
  7474. "xdeliveryratio"
  7475. ],
  7476. "properties": {
  7477. "begindate": {
  7478. "description": "起始日期(yyyyMMdd)",
  7479. "type": "string"
  7480. },
  7481. "buytemplateid": {
  7482. "description": "买履约计划模板ID",
  7483. "type": "integer"
  7484. },
  7485. "deliverygoodscode": {
  7486. "description": "品种代码",
  7487. "type": "string"
  7488. },
  7489. "deliverygoodsid": {
  7490. "description": "交割商品",
  7491. "type": "integer"
  7492. },
  7493. "deliverygoodsname": {
  7494. "description": "品种名称",
  7495. "type": "string"
  7496. },
  7497. "deliverymode": {
  7498. "description": "交割方式 - 1:点选式 2:申报式",
  7499. "type": "integer"
  7500. },
  7501. "deliverypricerule": {
  7502. "description": "交割价规则- 1:行情价 2:建仓价",
  7503. "type": "integer"
  7504. },
  7505. "deliverytype": {
  7506. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7507. "type": "integer"
  7508. },
  7509. "enddate": {
  7510. "description": "结束日期(yyyyMMdd)",
  7511. "type": "string"
  7512. },
  7513. "goodscode": {
  7514. "description": "商品代码",
  7515. "type": "string"
  7516. },
  7517. "goodsid": {
  7518. "description": "交易合约ID",
  7519. "type": "integer"
  7520. },
  7521. "goodsname": {
  7522. "description": "商品名称",
  7523. "type": "string"
  7524. },
  7525. "marketid": {
  7526. "description": "市场ID",
  7527. "type": "integer"
  7528. },
  7529. "mindeliveryqty": {
  7530. "description": "最小交割系数(K)",
  7531. "type": "integer"
  7532. },
  7533. "p2deliveryprice": {
  7534. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7535. "type": "number"
  7536. },
  7537. "p2deliveryratio": {
  7538. "description": "P2合约系数(p)",
  7539. "type": "integer"
  7540. },
  7541. "p2goodsid": {
  7542. "description": "P2合约ID",
  7543. "type": "integer"
  7544. },
  7545. "p2pricemode": {
  7546. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7547. "type": "integer"
  7548. },
  7549. "pdeliveryprice": {
  7550. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7551. "type": "number"
  7552. },
  7553. "pdeliveryratio": {
  7554. "description": "P合约系数(n)",
  7555. "type": "integer"
  7556. },
  7557. "pgoodsid": {
  7558. "description": "P合约ID",
  7559. "type": "integer"
  7560. },
  7561. "ppricemode": {
  7562. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7563. "type": "integer"
  7564. },
  7565. "rratio": {
  7566. "description": "兑换系数(R)",
  7567. "type": "integer"
  7568. },
  7569. "rratio1": {
  7570. "description": "兑换系数(交易合约)(R1)",
  7571. "type": "integer"
  7572. },
  7573. "rratio2": {
  7574. "description": "兑换系数(仓单标准)(R2)",
  7575. "type": "integer"
  7576. },
  7577. "selltemplateid": {
  7578. "description": "卖履约计划模板ID",
  7579. "type": "integer"
  7580. },
  7581. "wrstandardid": {
  7582. "description": "仓单标准ID",
  7583. "type": "integer"
  7584. },
  7585. "xdeliveryratio": {
  7586. "description": "交易合约系数(m)",
  7587. "type": "integer"
  7588. }
  7589. }
  7590. },
  7591. "ermcp.ExposureDetailRsp": {
  7592. "type": "object",
  7593. "properties": {
  7594. "areauserid": {
  7595. "description": "机构ID",
  7596. "type": "integer"
  7597. },
  7598. "changeQty": {
  7599. "description": "套保变动量",
  7600. "type": "number"
  7601. },
  7602. "contracttype": {
  7603. "description": "现货合同类型 - 1:采购 -1:销售",
  7604. "type": "integer"
  7605. },
  7606. "convertfactor": {
  7607. "description": "标仓系数",
  7608. "type": "number"
  7609. },
  7610. "convertratio": {
  7611. "description": "套保系数",
  7612. "type": "number"
  7613. },
  7614. "createtime": {
  7615. "description": "时间",
  7616. "type": "string"
  7617. },
  7618. "enumdicname": {
  7619. "description": "现货商品单位名称",
  7620. "type": "string"
  7621. },
  7622. "logtype": {
  7623. "description": "类型 - 1:套保计划 2:现货合同",
  7624. "type": "integer"
  7625. },
  7626. "middlegoodsId": {
  7627. "description": "套保商品id",
  7628. "type": "integer"
  7629. },
  7630. "middlegoodscode": {
  7631. "description": "套保商品代码",
  7632. "type": "string"
  7633. },
  7634. "middlegoodsname": {
  7635. "description": "套保商品名称",
  7636. "type": "string"
  7637. },
  7638. "qty": {
  7639. "description": "数量",
  7640. "type": "number"
  7641. },
  7642. "relateNo": {
  7643. "description": "现货合同/套保计划编号",
  7644. "type": "string"
  7645. },
  7646. "wrstandardcode": {
  7647. "description": "现货商品代码",
  7648. "type": "string"
  7649. },
  7650. "wrstandardid": {
  7651. "description": "现货商品ID",
  7652. "type": "integer"
  7653. },
  7654. "wrstandardname": {
  7655. "description": "现货商品名称",
  7656. "type": "string"
  7657. }
  7658. }
  7659. },
  7660. "ermcp.ExposureHedgePosDetailRsp": {
  7661. "type": "object",
  7662. "properties": {
  7663. "buyorsell": {
  7664. "description": "买卖方向 0-买 1-卖",
  7665. "type": "integer"
  7666. },
  7667. "channelbuildtype": {
  7668. "description": "开平方向 1-建仓 2-平仓",
  7669. "type": "integer"
  7670. },
  7671. "goodscode": {
  7672. "description": "商品代码",
  7673. "type": "string"
  7674. },
  7675. "goodsname": {
  7676. "description": "商品名称",
  7677. "type": "string"
  7678. },
  7679. "hedgegoodsid": {
  7680. "description": "商品id",
  7681. "type": "integer"
  7682. },
  7683. "tradeqty": {
  7684. "description": "数量(成交数量)",
  7685. "type": "integer"
  7686. },
  7687. "tradetime": {
  7688. "description": "时间(成交时间)",
  7689. "type": "string"
  7690. }
  7691. }
  7692. },
  7693. "ermcp.ExposureHedgePositionRsp": {
  7694. "type": "object",
  7695. "properties": {
  7696. "accountid": {
  7697. "description": "资金账号[外部母账户]",
  7698. "type": "integer"
  7699. },
  7700. "curbuyposition": {
  7701. "description": "期末买头寸",
  7702. "type": "integer"
  7703. },
  7704. "cursellposition": {
  7705. "description": "期末卖头寸",
  7706. "type": "integer"
  7707. },
  7708. "curtdbuyposition": {
  7709. "description": "期末今日买头寸",
  7710. "type": "integer"
  7711. },
  7712. "curtdsellposition": {
  7713. "description": "期末今日卖头寸",
  7714. "type": "integer"
  7715. },
  7716. "curydbuyposition": {
  7717. "description": "期末上日买头寸",
  7718. "type": "integer"
  7719. },
  7720. "curydsellposition": {
  7721. "description": "期末上日卖头寸",
  7722. "type": "integer"
  7723. },
  7724. "decreaseqty": {
  7725. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7726. "type": "integer"
  7727. },
  7728. "fretdbuyposition": {
  7729. "description": "冻结今日买头寸",
  7730. "type": "integer"
  7731. },
  7732. "fretdsellposition": {
  7733. "description": "冻结今日卖头寸",
  7734. "type": "integer"
  7735. },
  7736. "freydbuyposition": {
  7737. "description": "冻结上日买头寸",
  7738. "type": "integer"
  7739. },
  7740. "freydsellposition": {
  7741. "description": "冻结上日卖头寸",
  7742. "type": "integer"
  7743. },
  7744. "goodscode": {
  7745. "description": "商品代码",
  7746. "type": "string"
  7747. },
  7748. "goodsid": {
  7749. "description": "商品id",
  7750. "type": "integer"
  7751. },
  7752. "goodsname": {
  7753. "description": "商品名称",
  7754. "type": "string"
  7755. },
  7756. "hedgeaccountcode": {
  7757. "description": "对冲账号",
  7758. "type": "string"
  7759. },
  7760. "hedgegoodsid": {
  7761. "description": "对冲合约ID",
  7762. "type": "integer"
  7763. },
  7764. "increaseqty": {
  7765. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7766. "type": "integer"
  7767. },
  7768. "marketid": {
  7769. "description": "市场ID",
  7770. "type": "integer"
  7771. },
  7772. "relateduserid": {
  7773. "description": "关联用户id",
  7774. "type": "integer"
  7775. },
  7776. "totalcurqty": {
  7777. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7778. "type": "integer"
  7779. },
  7780. "totalydqty": {
  7781. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7782. "type": "integer"
  7783. },
  7784. "tradedate": {
  7785. "description": "交易日(yyyyMMdd)",
  7786. "type": "string"
  7787. },
  7788. "ydbuyposition": {
  7789. "description": "期初买头寸",
  7790. "type": "integer"
  7791. },
  7792. "ydsellposition": {
  7793. "description": "期初卖头寸",
  7794. "type": "integer"
  7795. }
  7796. }
  7797. },
  7798. "ermcp.ExposureSpotDetailRsp": {
  7799. "type": "object",
  7800. "properties": {
  7801. "contracttype": {
  7802. "description": "合同类型 1-采购 -1-销售",
  7803. "type": "integer"
  7804. },
  7805. "createtime": {
  7806. "description": "创建时间",
  7807. "type": "string"
  7808. },
  7809. "enumdicname": {
  7810. "description": "现货商品单位名称",
  7811. "type": "string"
  7812. },
  7813. "logtype": {
  7814. "description": "记录类型 1-套保 2-现货合同",
  7815. "type": "integer"
  7816. },
  7817. "qty": {
  7818. "description": "数量",
  7819. "type": "number"
  7820. },
  7821. "recordname": {
  7822. "description": "类型名称",
  7823. "type": "string"
  7824. },
  7825. "relatedid": {
  7826. "description": "套保计划ID/现货合同ID",
  7827. "type": "string"
  7828. },
  7829. "relatedno": {
  7830. "description": "编号",
  7831. "type": "string"
  7832. },
  7833. "strtime": {
  7834. "description": "时间",
  7835. "type": "string"
  7836. },
  7837. "wrstandardcode": {
  7838. "description": "现货商品代码",
  7839. "type": "string"
  7840. },
  7841. "wrstandardname": {
  7842. "description": "现货商品名称",
  7843. "type": "string"
  7844. }
  7845. }
  7846. },
  7847. "ermcp.ExposureSpotRsp": {
  7848. "type": "object",
  7849. "properties": {
  7850. "areauserid": {
  7851. "description": "所属机构",
  7852. "type": "integer"
  7853. },
  7854. "decreaseqty": {
  7855. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7856. "type": "number"
  7857. },
  7858. "increaseqty": {
  7859. "description": "增加数量=销售计划数量+采购已定价数量",
  7860. "type": "number"
  7861. },
  7862. "oritoalspotqty": {
  7863. "description": "昨日数量",
  7864. "type": "number"
  7865. },
  7866. "totalspotqty": {
  7867. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7868. "type": "number"
  7869. },
  7870. "updatetime": {
  7871. "description": "更新时间",
  7872. "type": "string"
  7873. },
  7874. "wrstandardcode": {
  7875. "description": "现货品种代码",
  7876. "type": "string"
  7877. },
  7878. "wrstandardid": {
  7879. "description": "现货商品ID",
  7880. "type": "integer"
  7881. },
  7882. "wrstandardname": {
  7883. "description": "现货品种",
  7884. "type": "string"
  7885. }
  7886. }
  7887. },
  7888. "ermcp.HisExposureRsp": {
  7889. "type": "object",
  7890. "properties": {
  7891. "data": {
  7892. "description": "历史敞口",
  7893. "type": "array",
  7894. "items": {
  7895. "$ref": "#/definitions/models.ErmcpHisExposure"
  7896. }
  7897. },
  7898. "enumdicname": {
  7899. "description": "单位名称",
  7900. "type": "string"
  7901. },
  7902. "middlegoodscode": {
  7903. "description": "套保品种代码",
  7904. "type": "string"
  7905. },
  7906. "middlegoodsid": {
  7907. "description": "套保品种ID",
  7908. "type": "integer"
  7909. },
  7910. "middlegoodsname": {
  7911. "description": "套保品种名称",
  7912. "type": "string"
  7913. }
  7914. }
  7915. },
  7916. "ermcp.PendingAuditCntRsp": {
  7917. "type": "object",
  7918. "properties": {
  7919. "businessdjqty": {
  7920. "description": "待审核数量: 点价",
  7921. "type": "integer"
  7922. },
  7923. "businessfpqty": {
  7924. "description": "待审核数量: 发票",
  7925. "type": "integer"
  7926. },
  7927. "businessjsqty": {
  7928. "description": "待审核数量: 结算",
  7929. "type": "integer"
  7930. },
  7931. "businesskxqty": {
  7932. "description": "待审核数量: 款项",
  7933. "type": "integer"
  7934. },
  7935. "hedgeplanqty": {
  7936. "description": "待审核数量: 套保计划",
  7937. "type": "integer"
  7938. },
  7939. "spotcontractqty": {
  7940. "description": "待审核数量: 现货合同",
  7941. "type": "integer"
  7942. },
  7943. "userqty": {
  7944. "description": "待审核数量: 用户",
  7945. "type": "integer"
  7946. }
  7947. }
  7948. },
  7949. "ermcp.QryAvalidGPRsp": {
  7950. "type": "object",
  7951. "properties": {
  7952. "goodsgroupid": {
  7953. "description": "期货品种id",
  7954. "type": "integer"
  7955. },
  7956. "goodsgroupname": {
  7957. "description": "期货品种名称",
  7958. "type": "string"
  7959. },
  7960. "goodunitid": {
  7961. "description": "品种单位id",
  7962. "type": "integer"
  7963. },
  7964. "goodunitname": {
  7965. "description": "品种单位名称",
  7966. "type": "string"
  7967. },
  7968. "outergroupcode": {
  7969. "description": "期货品种代码",
  7970. "type": "string"
  7971. }
  7972. }
  7973. },
  7974. "ermcp.QryBusinessDjRsp": {
  7975. "type": "object",
  7976. "properties": {
  7977. "amount": {
  7978. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7979. "type": "number"
  7980. },
  7981. "applyid": {
  7982. "description": "申请人",
  7983. "type": "string"
  7984. },
  7985. "applyname": {
  7986. "description": "申请人名称",
  7987. "type": "string"
  7988. },
  7989. "applystatus": {
  7990. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7991. "type": "integer"
  7992. },
  7993. "applytime": {
  7994. "description": "申请时间",
  7995. "type": "string"
  7996. },
  7997. "attachurl": {
  7998. "description": "附件",
  7999. "type": "string"
  8000. },
  8001. "auditname": {
  8002. "description": "审核人名称",
  8003. "type": "string"
  8004. },
  8005. "audittime": {
  8006. "description": "审核时间",
  8007. "type": "string"
  8008. },
  8009. "buyusername": {
  8010. "description": "采购方名称",
  8011. "type": "string"
  8012. },
  8013. "contractno": {
  8014. "description": "合同编号",
  8015. "type": "string"
  8016. },
  8017. "contractstatus": {
  8018. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8019. "type": "integer"
  8020. },
  8021. "contracttype": {
  8022. "description": "现货合同类型 - 1:采购 -1:销售",
  8023. "type": "integer"
  8024. },
  8025. "enumdicname": {
  8026. "description": "单位名称",
  8027. "type": "string"
  8028. },
  8029. "goodscode": {
  8030. "description": "点价合约",
  8031. "type": "string"
  8032. },
  8033. "goodsname": {
  8034. "description": "商品名称",
  8035. "type": "string"
  8036. },
  8037. "operateapplyid": {
  8038. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8039. "type": "string"
  8040. },
  8041. "operateapplytype": {
  8042. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8043. "type": "integer"
  8044. },
  8045. "pricedPrice": {
  8046. "description": "点价价格(非必填)",
  8047. "type": "number"
  8048. },
  8049. "pricedQty": {
  8050. "description": "点价数量(非必填)",
  8051. "type": "number"
  8052. },
  8053. "pricemove": {
  8054. "description": "升贴水",
  8055. "type": "number"
  8056. },
  8057. "pricetype": {
  8058. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8059. "type": "integer"
  8060. },
  8061. "relatedid": {
  8062. "description": "现货合同ID",
  8063. "type": "string"
  8064. },
  8065. "sellusername": {
  8066. "description": "销售方名字",
  8067. "type": "string"
  8068. },
  8069. "userid": {
  8070. "description": "用户ID",
  8071. "type": "integer"
  8072. }
  8073. }
  8074. },
  8075. "ermcp.QryBussinessFpRsp": {
  8076. "type": "object",
  8077. "properties": {
  8078. "applyid": {
  8079. "description": "申请人",
  8080. "type": "string"
  8081. },
  8082. "applyname": {
  8083. "description": "申请人名称",
  8084. "type": "string"
  8085. },
  8086. "applystatus": {
  8087. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8088. "type": "integer"
  8089. },
  8090. "applytime": {
  8091. "description": "申请时间",
  8092. "type": "string"
  8093. },
  8094. "attachurl": {
  8095. "description": "附件",
  8096. "type": "string"
  8097. },
  8098. "auditname": {
  8099. "description": "审核人名称",
  8100. "type": "string"
  8101. },
  8102. "audittime": {
  8103. "description": "审核时间",
  8104. "type": "string"
  8105. },
  8106. "buyusername": {
  8107. "description": "采购方名称",
  8108. "type": "string"
  8109. },
  8110. "contractno": {
  8111. "description": "合同编号",
  8112. "type": "string"
  8113. },
  8114. "contractstatus": {
  8115. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8116. "type": "integer"
  8117. },
  8118. "contracttype": {
  8119. "description": "现货合同类型 - 1:采购 -1:销售",
  8120. "type": "integer"
  8121. },
  8122. "enumdicname": {
  8123. "description": "单位名称",
  8124. "type": "string"
  8125. },
  8126. "goodscode": {
  8127. "description": "点价合约",
  8128. "type": "string"
  8129. },
  8130. "goodsname": {
  8131. "description": "商品名称",
  8132. "type": "string"
  8133. },
  8134. "invoiceAmount": {
  8135. "description": "已开收票金额(销售为开票,采购为收票)",
  8136. "type": "number"
  8137. },
  8138. "operateapplyid": {
  8139. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8140. "type": "string"
  8141. },
  8142. "operateapplytype": {
  8143. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8144. "type": "integer"
  8145. },
  8146. "pricemove": {
  8147. "description": "升贴水",
  8148. "type": "number"
  8149. },
  8150. "pricetype": {
  8151. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8152. "type": "integer"
  8153. },
  8154. "relatedid": {
  8155. "description": "现货合同ID",
  8156. "type": "string"
  8157. },
  8158. "sellusername": {
  8159. "description": "销售方名字",
  8160. "type": "string"
  8161. },
  8162. "userid": {
  8163. "description": "用户ID",
  8164. "type": "integer"
  8165. }
  8166. }
  8167. },
  8168. "ermcp.QryBussinessJsExRsp": {
  8169. "type": "object",
  8170. "properties": {
  8171. "applyid": {
  8172. "description": "申请人",
  8173. "type": "string"
  8174. },
  8175. "applyname": {
  8176. "description": "申请人名称",
  8177. "type": "string"
  8178. },
  8179. "applystatus": {
  8180. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8181. "type": "integer"
  8182. },
  8183. "applytime": {
  8184. "description": "申请时间",
  8185. "type": "string"
  8186. },
  8187. "attachurl": {
  8188. "description": "附件",
  8189. "type": "string"
  8190. },
  8191. "auditname": {
  8192. "description": "审核人名称",
  8193. "type": "string"
  8194. },
  8195. "audittime": {
  8196. "description": "审核时间",
  8197. "type": "string"
  8198. },
  8199. "buyusername": {
  8200. "description": "采购方名称",
  8201. "type": "string"
  8202. },
  8203. "contractno": {
  8204. "description": "合同编号",
  8205. "type": "string"
  8206. },
  8207. "contractstatus": {
  8208. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8209. "type": "integer"
  8210. },
  8211. "contracttype": {
  8212. "description": "现货合同类型 - 1:采购 -1:销售",
  8213. "type": "integer"
  8214. },
  8215. "enumdicname": {
  8216. "description": "单位名称",
  8217. "type": "string"
  8218. },
  8219. "goodscode": {
  8220. "description": "点价合约",
  8221. "type": "string"
  8222. },
  8223. "goodsname": {
  8224. "description": "商品名称",
  8225. "type": "string"
  8226. },
  8227. "operateapplyid": {
  8228. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8229. "type": "string"
  8230. },
  8231. "operateapplytype": {
  8232. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8233. "type": "integer"
  8234. },
  8235. "pricemove": {
  8236. "description": "升贴水",
  8237. "type": "number"
  8238. },
  8239. "pricetype": {
  8240. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8241. "type": "integer"
  8242. },
  8243. "reckontype": {
  8244. "description": "结算类型",
  8245. "type": "string"
  8246. },
  8247. "reckonvalue": {
  8248. "description": "值",
  8249. "type": "number"
  8250. },
  8251. "relatedid": {
  8252. "description": "现货合同ID",
  8253. "type": "string"
  8254. },
  8255. "sellusername": {
  8256. "description": "销售方名字",
  8257. "type": "string"
  8258. },
  8259. "userid": {
  8260. "description": "用户ID",
  8261. "type": "integer"
  8262. }
  8263. }
  8264. },
  8265. "ermcp.QryBussinessJsRsp": {
  8266. "type": "object",
  8267. "properties": {
  8268. "addmargin": {
  8269. "description": "追加保证金(非必填)",
  8270. "type": "number"
  8271. },
  8272. "applyid": {
  8273. "description": "申请人",
  8274. "type": "string"
  8275. },
  8276. "applyname": {
  8277. "description": "申请人名称",
  8278. "type": "string"
  8279. },
  8280. "applystatus": {
  8281. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8282. "type": "integer"
  8283. },
  8284. "applytime": {
  8285. "description": "申请时间",
  8286. "type": "string"
  8287. },
  8288. "attachurl": {
  8289. "description": "附件",
  8290. "type": "string"
  8291. },
  8292. "auditname": {
  8293. "description": "审核人名称",
  8294. "type": "string"
  8295. },
  8296. "audittime": {
  8297. "description": "审核时间",
  8298. "type": "string"
  8299. },
  8300. "buyusername": {
  8301. "description": "采购方名称",
  8302. "type": "string"
  8303. },
  8304. "contractno": {
  8305. "description": "合同编号",
  8306. "type": "string"
  8307. },
  8308. "contractstatus": {
  8309. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8310. "type": "integer"
  8311. },
  8312. "contracttype": {
  8313. "description": "现货合同类型 - 1:采购 -1:销售",
  8314. "type": "integer"
  8315. },
  8316. "decmargin": {
  8317. "description": "减少保证金(非必填)",
  8318. "type": "number"
  8319. },
  8320. "enumdicname": {
  8321. "description": "单位名称",
  8322. "type": "string"
  8323. },
  8324. "goodscode": {
  8325. "description": "点价合约",
  8326. "type": "string"
  8327. },
  8328. "goodsname": {
  8329. "description": "商品名称",
  8330. "type": "string"
  8331. },
  8332. "operateapplyid": {
  8333. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8334. "type": "string"
  8335. },
  8336. "operateapplytype": {
  8337. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8338. "type": "integer"
  8339. },
  8340. "pricemove": {
  8341. "description": "升贴水",
  8342. "type": "number"
  8343. },
  8344. "pricetype": {
  8345. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8346. "type": "integer"
  8347. },
  8348. "reckonadjustamount": {
  8349. "description": "结算调整金额(非必填)",
  8350. "type": "number"
  8351. },
  8352. "reckonosamount": {
  8353. "description": "结算溢短金额(非必填)",
  8354. "type": "number"
  8355. },
  8356. "reckonotheramount": {
  8357. "description": "结算其他费用(非必填)",
  8358. "type": "number"
  8359. },
  8360. "reckonrealqty": {
  8361. "description": "结算实际数量(非必填)",
  8362. "type": "number"
  8363. },
  8364. "relatedid": {
  8365. "description": "现货合同ID",
  8366. "type": "string"
  8367. },
  8368. "sellusername": {
  8369. "description": "销售方名字",
  8370. "type": "string"
  8371. },
  8372. "userid": {
  8373. "description": "用户ID",
  8374. "type": "integer"
  8375. }
  8376. }
  8377. },
  8378. "ermcp.QryBussinessKxRsp": {
  8379. "type": "object",
  8380. "properties": {
  8381. "applyid": {
  8382. "description": "申请人",
  8383. "type": "string"
  8384. },
  8385. "applyname": {
  8386. "description": "申请人名称",
  8387. "type": "string"
  8388. },
  8389. "applystatus": {
  8390. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8391. "type": "integer"
  8392. },
  8393. "applytime": {
  8394. "description": "申请时间",
  8395. "type": "string"
  8396. },
  8397. "attachurl": {
  8398. "description": "附件",
  8399. "type": "string"
  8400. },
  8401. "auditname": {
  8402. "description": "审核人名称",
  8403. "type": "string"
  8404. },
  8405. "audittime": {
  8406. "description": "审核时间",
  8407. "type": "string"
  8408. },
  8409. "buyusername": {
  8410. "description": "采购方名称",
  8411. "type": "string"
  8412. },
  8413. "contractno": {
  8414. "description": "合同编号",
  8415. "type": "string"
  8416. },
  8417. "contractstatus": {
  8418. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8419. "type": "integer"
  8420. },
  8421. "contracttype": {
  8422. "description": "现货合同类型 - 1:采购 -1:销售",
  8423. "type": "integer"
  8424. },
  8425. "deductamount": {
  8426. "description": "退款(非必填)",
  8427. "type": "number"
  8428. },
  8429. "enumdicname": {
  8430. "description": "单位名称",
  8431. "type": "string"
  8432. },
  8433. "goodscode": {
  8434. "description": "点价合约",
  8435. "type": "string"
  8436. },
  8437. "goodsname": {
  8438. "description": "商品名称",
  8439. "type": "string"
  8440. },
  8441. "kxtype": {
  8442. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8443. "type": "integer"
  8444. },
  8445. "operateapplyid": {
  8446. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8447. "type": "string"
  8448. },
  8449. "operateapplytype": {
  8450. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8451. "type": "integer"
  8452. },
  8453. "payamount": {
  8454. "description": "收付款(非必填)",
  8455. "type": "number"
  8456. },
  8457. "pricemove": {
  8458. "description": "升贴水",
  8459. "type": "number"
  8460. },
  8461. "pricetype": {
  8462. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8463. "type": "integer"
  8464. },
  8465. "relatedid": {
  8466. "description": "现货合同ID",
  8467. "type": "string"
  8468. },
  8469. "sellusername": {
  8470. "description": "销售方名字",
  8471. "type": "string"
  8472. },
  8473. "userid": {
  8474. "description": "用户ID",
  8475. "type": "integer"
  8476. }
  8477. }
  8478. },
  8479. "ermcp.QryErmcpRsp": {
  8480. "type": "object",
  8481. "properties": {
  8482. "accountname": {
  8483. "description": "账户名称",
  8484. "type": "string"
  8485. },
  8486. "attachment": {
  8487. "description": "附件",
  8488. "type": "string"
  8489. },
  8490. "audittime": {
  8491. "description": "审核时间",
  8492. "type": "string"
  8493. },
  8494. "contracctstatus": {
  8495. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8496. "type": "integer"
  8497. },
  8498. "contractmargin": {
  8499. "description": "合同保证金",
  8500. "type": "number"
  8501. },
  8502. "contractno": {
  8503. "description": "合同编号",
  8504. "type": "string"
  8505. },
  8506. "contracttype": {
  8507. "description": "合同类型 1-采购, -1-销售",
  8508. "type": "integer"
  8509. },
  8510. "convertfactor": {
  8511. "description": "标仓系数",
  8512. "type": "number"
  8513. },
  8514. "createtime": {
  8515. "description": "创建时间",
  8516. "type": "string"
  8517. },
  8518. "daikaiamount": {
  8519. "description": "待开票额",
  8520. "type": "number"
  8521. },
  8522. "deliveryenddate": {
  8523. "description": "交割结束日",
  8524. "type": "string"
  8525. },
  8526. "deliverygoodscode": {
  8527. "description": "现货商品代码",
  8528. "type": "string"
  8529. },
  8530. "deliverygoodsid": {
  8531. "description": "现货商品ID",
  8532. "type": "integer"
  8533. },
  8534. "deliverygoodsname": {
  8535. "description": "现货商品名称",
  8536. "type": "string"
  8537. },
  8538. "deliverystartdate": {
  8539. "description": "交割开始日",
  8540. "type": "string"
  8541. },
  8542. "enddate": {
  8543. "description": "点价结束日",
  8544. "type": "string"
  8545. },
  8546. "enumdicname": {
  8547. "description": "单位名称",
  8548. "type": "string"
  8549. },
  8550. "goodscode": {
  8551. "description": "点价商品代码",
  8552. "type": "string"
  8553. },
  8554. "goodsid": {
  8555. "description": "点价商品ID",
  8556. "type": "integer"
  8557. },
  8558. "goodsname": {
  8559. "description": "点价商品名称",
  8560. "type": "string"
  8561. },
  8562. "invoiceamount": {
  8563. "description": "已开票额",
  8564. "type": "number"
  8565. },
  8566. "loanamount": {
  8567. "description": "贷款总额=已定价额+调整金额",
  8568. "type": "number"
  8569. },
  8570. "margin": {
  8571. "description": "保证金",
  8572. "type": "number"
  8573. },
  8574. "payamount": {
  8575. "description": "已收付额(收款或付款)",
  8576. "type": "number"
  8577. },
  8578. "price": {
  8579. "description": "价格",
  8580. "type": "number"
  8581. },
  8582. "pricedamount": {
  8583. "description": "已定价额",
  8584. "type": "number"
  8585. },
  8586. "pricedavg": {
  8587. "description": "已点均价",
  8588. "type": "number"
  8589. },
  8590. "pricedqty": {
  8591. "description": "已定价量",
  8592. "type": "number"
  8593. },
  8594. "pricemove": {
  8595. "description": "升贴水",
  8596. "type": "number"
  8597. },
  8598. "pricetype": {
  8599. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8600. "type": "integer"
  8601. },
  8602. "producttype": {
  8603. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8604. "type": "integer"
  8605. },
  8606. "qty": {
  8607. "description": "合同量",
  8608. "type": "number"
  8609. },
  8610. "reckonadjustamount": {
  8611. "description": "调整金额",
  8612. "type": "number"
  8613. },
  8614. "reckonedamount": {
  8615. "description": "已收付额(已确定额)",
  8616. "type": "number"
  8617. },
  8618. "reckonotheramount": {
  8619. "description": "其它费用",
  8620. "type": "number"
  8621. },
  8622. "reckonrealqty": {
  8623. "description": "已确定量",
  8624. "type": "number"
  8625. },
  8626. "remark": {
  8627. "description": "备注",
  8628. "type": "string"
  8629. },
  8630. "spotcontractid": {
  8631. "description": "合同ID",
  8632. "type": "string"
  8633. },
  8634. "spotgoodsdesc": {
  8635. "description": "商品型号(商品规格)",
  8636. "type": "string"
  8637. },
  8638. "startdate": {
  8639. "description": "点价开始日",
  8640. "type": "string"
  8641. },
  8642. "totalamount": {
  8643. "description": "合计总额",
  8644. "type": "number"
  8645. },
  8646. "unpayamount": {
  8647. "description": "待支收额(支付或收款)",
  8648. "type": "number"
  8649. },
  8650. "unpricedqty": {
  8651. "description": "未定价量",
  8652. "type": "number"
  8653. },
  8654. "unsureqty": {
  8655. "description": "未确定量",
  8656. "type": "number"
  8657. },
  8658. "userid": {
  8659. "description": "用户ID",
  8660. "type": "integer"
  8661. }
  8662. }
  8663. },
  8664. "ermcp.QryGGCovertCfgRsp": {
  8665. "type": "object",
  8666. "properties": {
  8667. "convertratio": {
  8668. "description": "折算系数",
  8669. "type": "number"
  8670. },
  8671. "destgoodsgroupid": {
  8672. "description": "目标品种ID",
  8673. "type": "integer"
  8674. },
  8675. "dstcode": {
  8676. "description": "目录品种代码",
  8677. "type": "string"
  8678. },
  8679. "dstexchangecode": {
  8680. "description": "目标期货交易所",
  8681. "type": "string"
  8682. },
  8683. "dstname": {
  8684. "description": "目标品种名称",
  8685. "type": "string"
  8686. },
  8687. "dstunitid": {
  8688. "description": "目标品种单位ID",
  8689. "type": "integer"
  8690. },
  8691. "dstunitidname": {
  8692. "description": "目标品种单位名称",
  8693. "type": "string"
  8694. },
  8695. "srccode": {
  8696. "description": "源品种代码",
  8697. "type": "string"
  8698. },
  8699. "srcexchangecode": {
  8700. "description": "源期货交易所",
  8701. "type": "string"
  8702. },
  8703. "srcgoodsgroupid": {
  8704. "description": "源品种ID",
  8705. "type": "integer"
  8706. },
  8707. "srcname": {
  8708. "description": "源品种名称",
  8709. "type": "string"
  8710. },
  8711. "srcunitid": {
  8712. "description": "源品种单位ID",
  8713. "type": "integer"
  8714. },
  8715. "srcunitidname": {
  8716. "description": "源品种单位名称",
  8717. "type": "string"
  8718. }
  8719. }
  8720. },
  8721. "ermcp.QryHedgePlanRsp": {
  8722. "type": "object",
  8723. "properties": {
  8724. "areauserid": {
  8725. "description": "用户ID",
  8726. "type": "integer"
  8727. },
  8728. "contracttype": {
  8729. "description": "计划类型 - 1:采购 -1:销售",
  8730. "type": "integer"
  8731. },
  8732. "convertfactor": {
  8733. "description": "标仓系数",
  8734. "type": "number"
  8735. },
  8736. "createtime": {
  8737. "description": "创建时间",
  8738. "type": "string"
  8739. },
  8740. "deliverygoodsid": {
  8741. "description": "现货品种ID",
  8742. "type": "integer"
  8743. },
  8744. "deliverygoodsname": {
  8745. "description": "现货品种名称",
  8746. "type": "string"
  8747. },
  8748. "hedgeplanid": {
  8749. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8750. "type": "string"
  8751. },
  8752. "hedgeplanno": {
  8753. "description": "套保计划编号(名称)",
  8754. "type": "string"
  8755. },
  8756. "hedgeplanstatus": {
  8757. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8758. "type": "integer"
  8759. },
  8760. "planqty": {
  8761. "description": "计划数量",
  8762. "type": "number"
  8763. },
  8764. "plantime": {
  8765. "description": "计划时间",
  8766. "type": "string"
  8767. },
  8768. "producttype": {
  8769. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8770. "type": "integer"
  8771. },
  8772. "remark": {
  8773. "description": "备注",
  8774. "type": "string"
  8775. },
  8776. "spotgoodsdesc": {
  8777. "description": "商品型号",
  8778. "type": "string"
  8779. },
  8780. "wrstandardid": {
  8781. "description": "现货商品ID",
  8782. "type": "integer"
  8783. },
  8784. "wrstandardname": {
  8785. "description": "现货商品名称",
  8786. "type": "string"
  8787. }
  8788. }
  8789. },
  8790. "ermcp.QryMGChangeLogRsp": {
  8791. "type": "object",
  8792. "properties": {
  8793. "aftervalue": {
  8794. "description": "变更后",
  8795. "type": "number"
  8796. },
  8797. "applyid": {
  8798. "description": "操作人",
  8799. "type": "integer"
  8800. },
  8801. "applyname": {
  8802. "description": "操作人名称",
  8803. "type": "string"
  8804. },
  8805. "applysrc": {
  8806. "description": "操作来源 - 1:管理端 2:终端",
  8807. "type": "integer"
  8808. },
  8809. "beforevalue": {
  8810. "description": "变更前",
  8811. "type": "number"
  8812. },
  8813. "changelogtype": {
  8814. "description": "变更流水类型 - 1:套保比率变更",
  8815. "type": "integer"
  8816. },
  8817. "handlestatus": {
  8818. "description": "处理状态",
  8819. "type": "integer"
  8820. },
  8821. "logdatetime": {
  8822. "description": "流水日期",
  8823. "type": "string"
  8824. },
  8825. "logid": {
  8826. "description": "流水ID",
  8827. "type": "integer"
  8828. },
  8829. "logremark": {
  8830. "description": "流水备注",
  8831. "type": "string"
  8832. },
  8833. "middlegoodsid": {
  8834. "description": "套保品种ID",
  8835. "type": "integer"
  8836. },
  8837. "tradedate": {
  8838. "description": "交易日(yyyyMMdd)",
  8839. "type": "string"
  8840. },
  8841. "updatetime": {
  8842. "description": "更新时间",
  8843. "type": "string"
  8844. }
  8845. }
  8846. },
  8847. "ermcp.QryMiddleGoodsDetailRsp": {
  8848. "type": "object",
  8849. "properties": {
  8850. "cvList": {
  8851. "description": "期货品种折算列表",
  8852. "type": "array",
  8853. "items": {
  8854. "$ref": "#/definitions/models.GoodsGroupConvert"
  8855. }
  8856. },
  8857. "mg": {
  8858. "description": "套保品种基本信息",
  8859. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8860. }
  8861. }
  8862. },
  8863. "ermcp.QryMiddleGoodsRsp": {
  8864. "type": "object",
  8865. "properties": {
  8866. "areauserid": {
  8867. "description": "机构用户ID",
  8868. "type": "integer"
  8869. },
  8870. "enumdicname": {
  8871. "description": "单位名称",
  8872. "type": "string"
  8873. },
  8874. "evaluateratio": {
  8875. "description": "估价系数",
  8876. "type": "number"
  8877. },
  8878. "goodsgroupid": {
  8879. "description": "关联期货品种ID",
  8880. "type": "integer"
  8881. },
  8882. "isvalid": {
  8883. "description": "状态 0-无效(停用) 1-有效(正常)",
  8884. "type": "integer"
  8885. },
  8886. "middlegoodscode": {
  8887. "description": "套保品种代码",
  8888. "type": "string"
  8889. },
  8890. "middlegoodsid": {
  8891. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8892. "type": "integer"
  8893. },
  8894. "middlegoodsname": {
  8895. "description": "套保品种名称",
  8896. "type": "string"
  8897. },
  8898. "modifytime": {
  8899. "description": "修改时间",
  8900. "type": "string"
  8901. },
  8902. "needhedgeratio": {
  8903. "description": "套保比率",
  8904. "type": "number"
  8905. },
  8906. "qtydecimalplace": {
  8907. "description": "数量小数位",
  8908. "type": "integer"
  8909. },
  8910. "relatedgoodsid": {
  8911. "description": "关联交易商品ID",
  8912. "type": "integer"
  8913. },
  8914. "relatedgoodstype": {
  8915. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8916. "type": "integer"
  8917. }
  8918. }
  8919. },
  8920. "ermcp.QryOPLogRsp": {
  8921. "type": "object",
  8922. "properties": {
  8923. "aftervalue": {
  8924. "description": "变更后",
  8925. "type": "number"
  8926. },
  8927. "applyid": {
  8928. "description": "操作人ID",
  8929. "type": "string"
  8930. },
  8931. "applyname": {
  8932. "description": "操作人名称",
  8933. "type": "string"
  8934. },
  8935. "beforevalue": {
  8936. "description": "变更前",
  8937. "type": "number"
  8938. },
  8939. "biztype": {
  8940. "description": "业务类型 - 1:套保计划 2:现货合同",
  8941. "type": "integer"
  8942. },
  8943. "contracttype": {
  8944. "description": "现货合同类型 - 1:采购 -1:销售",
  8945. "type": "integer"
  8946. },
  8947. "logvalue": {
  8948. "description": "数值",
  8949. "type": "number"
  8950. },
  8951. "operatelogtype": {
  8952. "description": "操作流水类型",
  8953. "type": "integer"
  8954. },
  8955. "operatelogtypedesc": {
  8956. "description": "操作流水类型名称",
  8957. "type": "string"
  8958. },
  8959. "relatedid": {
  8960. "description": "现货合同ID\\套保计划",
  8961. "type": "string"
  8962. },
  8963. "updatetime": {
  8964. "description": "更新时间",
  8965. "type": "string"
  8966. }
  8967. }
  8968. },
  8969. "ermcp.QryReportDaySpotDetailRsp": {
  8970. "type": "object",
  8971. "properties": {
  8972. "applyid": {
  8973. "description": "操作人",
  8974. "type": "integer"
  8975. },
  8976. "applyname": {
  8977. "description": "操作人名称",
  8978. "type": "string"
  8979. },
  8980. "biztype": {
  8981. "description": "业务类型 - 1:套保计划 2:现货合同",
  8982. "type": "integer"
  8983. },
  8984. "contracttype": {
  8985. "description": "现货合同类型 - 1:采购 -1:销售",
  8986. "type": "integer"
  8987. },
  8988. "enumdicName": {
  8989. "description": "单位名称",
  8990. "type": "string"
  8991. },
  8992. "logdatetime": {
  8993. "description": "流水日期(时间)",
  8994. "type": "string"
  8995. },
  8996. "logid": {
  8997. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8998. "type": "string"
  8999. },
  9000. "logtypename": {
  9001. "description": "合同类型(名称)",
  9002. "type": "string"
  9003. },
  9004. "logvalue": {
  9005. "description": "数值",
  9006. "type": "string"
  9007. },
  9008. "operatelogtype": {
  9009. "description": "操作流水类型 -",
  9010. "type": "integer"
  9011. },
  9012. "optypename": {
  9013. "description": "流水类型名称",
  9014. "type": "string"
  9015. },
  9016. "relatedid": {
  9017. "description": "现货合同ID\\套保计划",
  9018. "type": "string"
  9019. },
  9020. "relatedno": {
  9021. "description": "合同编号",
  9022. "type": "string"
  9023. },
  9024. "tradedate": {
  9025. "description": "交易日(yyyyMMdd)",
  9026. "type": "string"
  9027. },
  9028. "userid": {
  9029. "description": "机构ID",
  9030. "type": "integer"
  9031. },
  9032. "wrstandardcode": {
  9033. "description": "现货商品代码",
  9034. "type": "string"
  9035. },
  9036. "wrstandardid": {
  9037. "description": "现货商品ID",
  9038. "type": "integer"
  9039. },
  9040. "wrstandardname": {
  9041. "description": "现货商品名称",
  9042. "type": "string"
  9043. }
  9044. }
  9045. },
  9046. "ermcp.QryReportExposureDayRsp": {
  9047. "type": "object",
  9048. "properties": {
  9049. "areauserid": {
  9050. "description": "所属机构",
  9051. "type": "integer"
  9052. },
  9053. "buyfutureqty": {
  9054. "description": "买入期货数量",
  9055. "type": "number"
  9056. },
  9057. "buyplanqty": {
  9058. "description": "采购计划数量",
  9059. "type": "number"
  9060. },
  9061. "buypricedqty": {
  9062. "description": "采购合同已定价数量",
  9063. "type": "number"
  9064. },
  9065. "diffFutuQty": {
  9066. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9067. "type": "number"
  9068. },
  9069. "diffSpotQty": {
  9070. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9071. "type": "number"
  9072. },
  9073. "enumdicname": {
  9074. "description": "单位名称",
  9075. "type": "string"
  9076. },
  9077. "middlegoodscode": {
  9078. "description": "套保品种代码",
  9079. "type": "string"
  9080. },
  9081. "middlegoodshedgeratio": {
  9082. "description": "应套保比例",
  9083. "type": "number"
  9084. },
  9085. "middlegoodsid": {
  9086. "description": "套保品种ID",
  9087. "type": "integer"
  9088. },
  9089. "middlegoodsname": {
  9090. "description": "套保品种名称",
  9091. "type": "string"
  9092. },
  9093. "needhedgeexposoure": {
  9094. "description": "应套保敞口",
  9095. "type": "number"
  9096. },
  9097. "needhedgeratio": {
  9098. "description": "应套保敞口比例",
  9099. "type": "number"
  9100. },
  9101. "oriTotalFutuQty": {
  9102. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9103. "type": "number"
  9104. },
  9105. "oriTotalSpotQty": {
  9106. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9107. "type": "number"
  9108. },
  9109. "oribuyfutureqty": {
  9110. "description": "期初买入期货数量",
  9111. "type": "number"
  9112. },
  9113. "oribuyplanqty": {
  9114. "description": "期初采购计划数量",
  9115. "type": "number"
  9116. },
  9117. "oribuypricedqty": {
  9118. "description": "期初采购合同已定价数量",
  9119. "type": "number"
  9120. },
  9121. "orisellfutureqty": {
  9122. "description": "期初卖出期货数量",
  9123. "type": "number"
  9124. },
  9125. "orisellplanqty": {
  9126. "description": "期初销售计划数量",
  9127. "type": "number"
  9128. },
  9129. "orisellpricedqty": {
  9130. "description": "期初销售合同已定价数量",
  9131. "type": "number"
  9132. },
  9133. "reckondate": {
  9134. "description": "日照时期(yyyyMMdd)",
  9135. "type": "string"
  9136. },
  9137. "sellfutureqty": {
  9138. "description": "卖出期货数量",
  9139. "type": "number"
  9140. },
  9141. "sellplanqty": {
  9142. "description": "销售计划数量",
  9143. "type": "number"
  9144. },
  9145. "sellpricedqty": {
  9146. "description": "销售合同已定价数量",
  9147. "type": "number"
  9148. },
  9149. "totalexposure": {
  9150. "description": "总敞口",
  9151. "type": "number"
  9152. },
  9153. "totalfutureqty": {
  9154. "description": "期货数量",
  9155. "type": "number"
  9156. },
  9157. "totalhedgeratio": {
  9158. "description": "敞口比例",
  9159. "type": "number"
  9160. },
  9161. "totalneedhedgeqty": {
  9162. "description": "期货应套保量",
  9163. "type": "number"
  9164. },
  9165. "totalspotqty": {
  9166. "description": "现货数量",
  9167. "type": "number"
  9168. }
  9169. }
  9170. },
  9171. "ermcp.QryReportFinanceDayRsp": {
  9172. "type": "object",
  9173. "properties": {
  9174. "areauserid": {
  9175. "description": "所属机构",
  9176. "type": "integer"
  9177. },
  9178. "collectinvoiceamount": {
  9179. "description": "今日开票金额",
  9180. "type": "number"
  9181. },
  9182. "collectinvoicecount": {
  9183. "description": "今日开票笔数",
  9184. "type": "integer"
  9185. },
  9186. "collectmoneyamount": {
  9187. "description": "今日收款金额",
  9188. "type": "number"
  9189. },
  9190. "collectmoneycount": {
  9191. "description": "今日收款笔数",
  9192. "type": "integer"
  9193. },
  9194. "payinvoiceamount": {
  9195. "description": "今日收票金额",
  9196. "type": "number"
  9197. },
  9198. "payinvoicecount": {
  9199. "description": "今日收票笔数",
  9200. "type": "integer"
  9201. },
  9202. "paymoneyamount": {
  9203. "description": "今日付款金额",
  9204. "type": "number"
  9205. },
  9206. "paymoneycount": {
  9207. "description": "今日付款笔数",
  9208. "type": "integer"
  9209. },
  9210. "reckondate": {
  9211. "description": "日照时期(yyyyMMdd)",
  9212. "type": "string"
  9213. },
  9214. "updatetime": {
  9215. "description": "更新时间",
  9216. "type": "string"
  9217. }
  9218. }
  9219. },
  9220. "ermcp.QryReportFinanceKxRsp": {
  9221. "type": "object",
  9222. "properties": {
  9223. "applyid": {
  9224. "description": "操作人",
  9225. "type": "integer"
  9226. },
  9227. "applyname": {
  9228. "description": "操作人名称",
  9229. "type": "string"
  9230. },
  9231. "biztype": {
  9232. "description": "业务类型 - 1:套保计划 2:现货合同",
  9233. "type": "integer"
  9234. },
  9235. "contracttype": {
  9236. "description": "现货合同类型 - 1:采购 -1:销售",
  9237. "type": "integer"
  9238. },
  9239. "enumdicName": {
  9240. "description": "单位名称",
  9241. "type": "string"
  9242. },
  9243. "logdatetime": {
  9244. "description": "流水日期(时间)",
  9245. "type": "string"
  9246. },
  9247. "logid": {
  9248. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9249. "type": "string"
  9250. },
  9251. "logtypename": {
  9252. "description": "合同类型(名称)",
  9253. "type": "string"
  9254. },
  9255. "logvalue": {
  9256. "description": "数值",
  9257. "type": "string"
  9258. },
  9259. "operatelogtype": {
  9260. "description": "操作流水类型 -",
  9261. "type": "integer"
  9262. },
  9263. "optypename": {
  9264. "description": "流水类型名称",
  9265. "type": "string"
  9266. },
  9267. "relatedid": {
  9268. "description": "现货合同ID\\套保计划",
  9269. "type": "string"
  9270. },
  9271. "relatedno": {
  9272. "description": "合同编号",
  9273. "type": "string"
  9274. },
  9275. "tradedate": {
  9276. "description": "交易日(yyyyMMdd)",
  9277. "type": "string"
  9278. },
  9279. "userid": {
  9280. "description": "机构ID",
  9281. "type": "integer"
  9282. },
  9283. "wrstandardcode": {
  9284. "description": "现货商品代码",
  9285. "type": "string"
  9286. },
  9287. "wrstandardid": {
  9288. "description": "现货商品ID",
  9289. "type": "integer"
  9290. },
  9291. "wrstandardname": {
  9292. "description": "现货商品名称",
  9293. "type": "string"
  9294. }
  9295. }
  9296. },
  9297. "ermcp.QryReportFinanceMonRsp": {
  9298. "type": "object",
  9299. "properties": {
  9300. "areauserid": {
  9301. "description": "所属机构【原值】",
  9302. "type": "integer"
  9303. },
  9304. "collectinvoiceamount": {
  9305. "description": "今日开票金额【汇总】",
  9306. "type": "number"
  9307. },
  9308. "collectinvoicecount": {
  9309. "description": "今日开票笔数【汇总】",
  9310. "type": "integer"
  9311. },
  9312. "collectmoneyamount": {
  9313. "description": "今日收款金额【汇总】",
  9314. "type": "number"
  9315. },
  9316. "collectmoneycount": {
  9317. "description": "今日收款笔数 【汇总】",
  9318. "type": "integer"
  9319. },
  9320. "cycletime": {
  9321. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9322. "type": "string"
  9323. },
  9324. "cycletype": {
  9325. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9326. "type": "integer"
  9327. },
  9328. "dayFr": {
  9329. "description": "日报表明细",
  9330. "type": "array",
  9331. "items": {
  9332. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9333. }
  9334. },
  9335. "payinvoiceamount": {
  9336. "description": "今日收票金额【汇总】",
  9337. "type": "number"
  9338. },
  9339. "payinvoicecount": {
  9340. "description": "今日收票笔数【汇总】",
  9341. "type": "integer"
  9342. },
  9343. "paymoneyamount": {
  9344. "description": "今日付款金额【汇总】",
  9345. "type": "number"
  9346. },
  9347. "paymoneycount": {
  9348. "description": "今日付款笔数【汇总】",
  9349. "type": "integer"
  9350. },
  9351. "updatetime": {
  9352. "description": "更新时间",
  9353. "type": "string"
  9354. }
  9355. }
  9356. },
  9357. "ermcp.QryReportSpotDayRsp": {
  9358. "type": "object",
  9359. "properties": {
  9360. "areauserid": {
  9361. "description": "所属机构T",
  9362. "type": "integer"
  9363. },
  9364. "enumdicname": {
  9365. "description": "现货商品单位名称",
  9366. "type": "string"
  9367. },
  9368. "reckondate": {
  9369. "description": "日照时期(yyyyMMdd)",
  9370. "type": "string"
  9371. },
  9372. "todaybuyreckonqty": {
  9373. "description": "采购确定量",
  9374. "type": "number"
  9375. },
  9376. "todaysellreckonqty": {
  9377. "description": "销售确定量",
  9378. "type": "number"
  9379. },
  9380. "totalbuypricedqty": {
  9381. "description": "采购定价量 = 期末 - 期初",
  9382. "type": "number"
  9383. },
  9384. "totalsellpricedqty": {
  9385. "description": "销售定价量 = 期末 - 期初",
  9386. "type": "number"
  9387. },
  9388. "wrstandardcode": {
  9389. "description": "现货商品代码",
  9390. "type": "string"
  9391. },
  9392. "wrstandardid": {
  9393. "description": "现货商品ID",
  9394. "type": "integer"
  9395. },
  9396. "wrstandardname": {
  9397. "description": "现货商品名称",
  9398. "type": "string"
  9399. }
  9400. }
  9401. },
  9402. "ermcp.QryReportSpotMonRsp": {
  9403. "type": "object",
  9404. "properties": {
  9405. "areauserid": {
  9406. "description": "所属机构T",
  9407. "type": "integer"
  9408. },
  9409. "cycletime": {
  9410. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9411. "type": "string"
  9412. },
  9413. "cycletype": {
  9414. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9415. "type": "integer"
  9416. },
  9417. "enumdicname": {
  9418. "description": "现货商品单位名称",
  9419. "type": "string"
  9420. },
  9421. "todaybuyreckonqty": {
  9422. "description": "采购确定量",
  9423. "type": "number"
  9424. },
  9425. "todaysellreckonqty": {
  9426. "description": "销售确定量",
  9427. "type": "number"
  9428. },
  9429. "totalbuypricedqty": {
  9430. "description": "采购定价量 = 期末 - 期初",
  9431. "type": "number"
  9432. },
  9433. "totalsellpricedqty": {
  9434. "description": "销售定价量 = 期末 - 期初",
  9435. "type": "number"
  9436. },
  9437. "wrstandardcode": {
  9438. "description": "现货商品代码",
  9439. "type": "string"
  9440. },
  9441. "wrstandardid": {
  9442. "description": "现货商品ID",
  9443. "type": "integer"
  9444. },
  9445. "wrstandardname": {
  9446. "description": "现货商品名称",
  9447. "type": "string"
  9448. }
  9449. }
  9450. },
  9451. "ermcp.QryReportSpotMonthDetailRsp": {
  9452. "type": "object",
  9453. "properties": {
  9454. "areauserid": {
  9455. "description": "所属机构T",
  9456. "type": "integer"
  9457. },
  9458. "enumdicname": {
  9459. "description": "现货商品单位名称",
  9460. "type": "string"
  9461. },
  9462. "reckondate": {
  9463. "description": "日照时期(yyyyMMdd)",
  9464. "type": "string"
  9465. },
  9466. "todaybuyreckonqty": {
  9467. "description": "采购确定量",
  9468. "type": "number"
  9469. },
  9470. "todaysellreckonqty": {
  9471. "description": "销售确定量",
  9472. "type": "number"
  9473. },
  9474. "totalbuypricedqty": {
  9475. "description": "采购定价量 = 期末 - 期初",
  9476. "type": "number"
  9477. },
  9478. "totalsellpricedqty": {
  9479. "description": "销售定价量 = 期末 - 期初",
  9480. "type": "number"
  9481. },
  9482. "wrstandardcode": {
  9483. "description": "现货商品代码",
  9484. "type": "string"
  9485. },
  9486. "wrstandardid": {
  9487. "description": "现货商品ID",
  9488. "type": "integer"
  9489. },
  9490. "wrstandardname": {
  9491. "description": "现货商品名称",
  9492. "type": "string"
  9493. }
  9494. }
  9495. },
  9496. "ermcp.QrySpotContractRsp": {
  9497. "type": "object",
  9498. "properties": {
  9499. "amount": {
  9500. "description": "金额 [1:一口价、3:暂定价]",
  9501. "type": "number"
  9502. },
  9503. "attachment": {
  9504. "description": "附件",
  9505. "type": "string"
  9506. },
  9507. "auditremark": {
  9508. "description": "审核意见",
  9509. "type": "string"
  9510. },
  9511. "audittime": {
  9512. "description": "审核时间",
  9513. "type": "string"
  9514. },
  9515. "brandname": {
  9516. "description": "品牌名称",
  9517. "type": "string"
  9518. },
  9519. "buyuserid": {
  9520. "description": "采购方ID",
  9521. "type": "integer"
  9522. },
  9523. "buyusername": {
  9524. "description": "采购方名称",
  9525. "type": "string"
  9526. },
  9527. "contracctstatus": {
  9528. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9529. "type": "integer"
  9530. },
  9531. "contractmargin": {
  9532. "description": "合同保证金",
  9533. "type": "number"
  9534. },
  9535. "contractno": {
  9536. "description": "现货合同编号",
  9537. "type": "string"
  9538. },
  9539. "contracttype": {
  9540. "description": "现货合同类型 - 1:采购 -1:销售",
  9541. "type": "integer"
  9542. },
  9543. "convertfactor": {
  9544. "description": "标仓系数",
  9545. "type": "number"
  9546. },
  9547. "createtime": {
  9548. "description": "创建时间",
  9549. "type": "string"
  9550. },
  9551. "deliveryenddate": {
  9552. "description": "交收期(结束)",
  9553. "type": "string"
  9554. },
  9555. "deliverygoodscode": {
  9556. "description": "现货品种代码",
  9557. "type": "string"
  9558. },
  9559. "deliverygoodsid": {
  9560. "description": "现货品种ID",
  9561. "type": "integer"
  9562. },
  9563. "deliverygoodsname": {
  9564. "description": "现货品种名称",
  9565. "type": "string"
  9566. },
  9567. "deliverystartdate": {
  9568. "description": "交收期(开始)",
  9569. "type": "string"
  9570. },
  9571. "enddate": {
  9572. "description": "点价结束日期 [2:点价 3:暂定价]",
  9573. "type": "string"
  9574. },
  9575. "enumdicname": {
  9576. "description": "单位名称",
  9577. "type": "string"
  9578. },
  9579. "goodscode": {
  9580. "description": "点价合约代码",
  9581. "type": "string"
  9582. },
  9583. "goodsid": {
  9584. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9585. "type": "integer"
  9586. },
  9587. "goodsname": {
  9588. "description": "点价商品名称",
  9589. "type": "string"
  9590. },
  9591. "margin": {
  9592. "description": "当前保证金",
  9593. "type": "number"
  9594. },
  9595. "modelname": {
  9596. "description": "型号名称",
  9597. "type": "string"
  9598. },
  9599. "price": {
  9600. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9601. "type": "number"
  9602. },
  9603. "pricemove": {
  9604. "description": "升贴水 [2:点价 3:暂定价]",
  9605. "type": "number"
  9606. },
  9607. "pricetype": {
  9608. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9609. "type": "integer"
  9610. },
  9611. "producttype": {
  9612. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9613. "type": "integer"
  9614. },
  9615. "qty": {
  9616. "description": "数量",
  9617. "type": "number"
  9618. },
  9619. "remark": {
  9620. "description": "备注",
  9621. "type": "string"
  9622. },
  9623. "selluserid": {
  9624. "description": "销售方ID",
  9625. "type": "integer"
  9626. },
  9627. "sellusername": {
  9628. "description": "销售方名称",
  9629. "type": "string"
  9630. },
  9631. "spotcontractid": {
  9632. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9633. "type": "string"
  9634. },
  9635. "spotgoodsbrandid": {
  9636. "description": "现货品牌ID",
  9637. "type": "integer"
  9638. },
  9639. "spotgoodsdesc": {
  9640. "description": "商品型号",
  9641. "type": "string"
  9642. },
  9643. "spotgoodsmodelid": {
  9644. "description": "现货型号ID",
  9645. "type": "integer"
  9646. },
  9647. "startdate": {
  9648. "description": "点价开始日期 [2:点价 3:暂定价]",
  9649. "type": "string"
  9650. },
  9651. "userid": {
  9652. "description": "机构ID",
  9653. "type": "integer"
  9654. },
  9655. "wrstandardid": {
  9656. "description": "现货商品ID",
  9657. "type": "integer"
  9658. }
  9659. }
  9660. },
  9661. "ermcp.QryUserInfoRsp": {
  9662. "type": "object",
  9663. "properties": {
  9664. "address": {
  9665. "description": "通讯地址",
  9666. "type": "string"
  9667. },
  9668. "attachment1": {
  9669. "description": "附件1",
  9670. "type": "string"
  9671. },
  9672. "cardfrontphotourl": {
  9673. "description": "证件正面图片地址",
  9674. "type": "string"
  9675. },
  9676. "cardnum": {
  9677. "description": "证件号码",
  9678. "type": "string"
  9679. },
  9680. "cardtype": {
  9681. "description": "证件类型",
  9682. "type": "integer"
  9683. },
  9684. "cardtypename": {
  9685. "description": "证件类型名称",
  9686. "type": "string"
  9687. },
  9688. "cityid": {
  9689. "description": "市",
  9690. "type": "integer"
  9691. },
  9692. "countryid": {
  9693. "description": "国家",
  9694. "type": "integer"
  9695. },
  9696. "createtime": {
  9697. "description": "创建时间",
  9698. "type": "string"
  9699. },
  9700. "customername": {
  9701. "description": "企业名称",
  9702. "type": "string"
  9703. },
  9704. "memberuserid": {
  9705. "description": "所属机构ID",
  9706. "type": "integer"
  9707. },
  9708. "mobile": {
  9709. "description": "手机号码",
  9710. "type": "string"
  9711. },
  9712. "provinceid": {
  9713. "description": "省",
  9714. "type": "integer"
  9715. },
  9716. "remark": {
  9717. "description": "备注",
  9718. "type": "string"
  9719. },
  9720. "status": {
  9721. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9722. "type": "integer"
  9723. },
  9724. "statusdesc": {
  9725. "description": "账户状态中文描述",
  9726. "type": "string"
  9727. },
  9728. "telphone": {
  9729. "description": "联系电话",
  9730. "type": "string"
  9731. },
  9732. "userid": {
  9733. "description": "用户ID",
  9734. "type": "integer"
  9735. },
  9736. "userinfotype": {
  9737. "description": "客户类型",
  9738. "type": "string"
  9739. }
  9740. }
  9741. },
  9742. "ermcp.QryWrStandardDetailRsp": {
  9743. "type": "object",
  9744. "properties": {
  9745. "gbList": {
  9746. "description": "品牌列表",
  9747. "type": "array",
  9748. "items": {
  9749. "$ref": "#/definitions/models.GoodsBrand"
  9750. }
  9751. },
  9752. "gtList": {
  9753. "description": "型号列表",
  9754. "type": "array",
  9755. "items": {
  9756. "$ref": "#/definitions/models.GoodsTypeModel"
  9757. }
  9758. },
  9759. "wrd": {
  9760. "description": "基本信息",
  9761. "$ref": "#/definitions/models.ErmcpWrstandard"
  9762. },
  9763. "wrsList": {
  9764. "description": "套保信息列表",
  9765. "type": "array",
  9766. "items": {
  9767. "$ref": "#/definitions/models.WRSConverTDetail"
  9768. }
  9769. }
  9770. }
  9771. },
  9772. "ermcp.QryWrStandardRsp": {
  9773. "type": "object",
  9774. "properties": {
  9775. "areauserid": {
  9776. "description": "所属机构",
  9777. "type": "integer"
  9778. },
  9779. "createtime": {
  9780. "description": "创建时间",
  9781. "type": "string"
  9782. },
  9783. "creatorid": {
  9784. "description": "创建人",
  9785. "type": "integer"
  9786. },
  9787. "deliverygoodsid": {
  9788. "description": "品种ID",
  9789. "type": "integer"
  9790. },
  9791. "enumdicname": {
  9792. "description": "单位名称",
  9793. "type": "string"
  9794. },
  9795. "isvalid": {
  9796. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9797. "type": "integer"
  9798. },
  9799. "minivalue": {
  9800. "description": "最小变动值",
  9801. "type": "integer"
  9802. },
  9803. "minivaluedp": {
  9804. "description": "最小变动值小数位",
  9805. "type": "integer"
  9806. },
  9807. "realminivalue": {
  9808. "description": "实际最小变动值",
  9809. "type": "integer"
  9810. },
  9811. "realminivaluedp": {
  9812. "description": "实际最小变动值小数位",
  9813. "type": "integer"
  9814. },
  9815. "remark": {
  9816. "description": "备注",
  9817. "type": "string"
  9818. },
  9819. "unitid": {
  9820. "description": "单位ID",
  9821. "type": "integer"
  9822. },
  9823. "updatetime": {
  9824. "description": "更新时间",
  9825. "type": "string"
  9826. },
  9827. "wrstandardcode": {
  9828. "description": "现货商品代码",
  9829. "type": "string"
  9830. },
  9831. "wrstandardid": {
  9832. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9833. "type": "integer"
  9834. },
  9835. "wrstandardname": {
  9836. "description": "现货商品名称",
  9837. "type": "string"
  9838. }
  9839. }
  9840. },
  9841. "ermcp.QueryErmcpTradePositionRsp": {
  9842. "type": "object",
  9843. "properties": {
  9844. "agreeunit": {
  9845. "description": "合约单位",
  9846. "type": "number"
  9847. },
  9848. "buyorsell": {
  9849. "description": "方向 - 0:买 1:卖",
  9850. "type": "integer"
  9851. },
  9852. "curpositionqty": {
  9853. "description": "持仓(总仓数量, 期末头寸)",
  9854. "type": "integer"
  9855. },
  9856. "curtdposition": {
  9857. "description": "今仓数量(期末今日头寸)",
  9858. "type": "integer"
  9859. },
  9860. "curtdpositionenabled": {
  9861. "description": "今仓可用",
  9862. "type": "integer"
  9863. },
  9864. "decimalplace": {
  9865. "description": "报价小数位",
  9866. "type": "integer"
  9867. },
  9868. "enableqty": {
  9869. "description": "可用(总仓可用)",
  9870. "type": "integer"
  9871. },
  9872. "exexchangename": {
  9873. "description": "外部交易所名称",
  9874. "type": "string"
  9875. },
  9876. "goodscode": {
  9877. "description": "商品代码(内部)",
  9878. "type": "string"
  9879. },
  9880. "goodsid": {
  9881. "description": "商品ID(自增ID SEQ_GOODS)",
  9882. "type": "integer"
  9883. },
  9884. "goodsname": {
  9885. "description": "商品名称",
  9886. "type": "string"
  9887. },
  9888. "last": {
  9889. "description": "现价",
  9890. "type": "number"
  9891. },
  9892. "marketid": {
  9893. "description": "所属市场ID",
  9894. "type": "integer"
  9895. },
  9896. "openaverageprice": {
  9897. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9898. "type": "number"
  9899. },
  9900. "opencost": {
  9901. "description": "开仓成本",
  9902. "type": "number"
  9903. },
  9904. "openpl": {
  9905. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9906. "type": "number"
  9907. },
  9908. "outgoodscode": {
  9909. "description": "商品代码(外部)",
  9910. "type": "string"
  9911. },
  9912. "positionaverageprice": {
  9913. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9914. "type": "number"
  9915. },
  9916. "positioncost": {
  9917. "description": "持仓成本",
  9918. "type": "number"
  9919. },
  9920. "positionpl": {
  9921. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9922. "type": "number"
  9923. },
  9924. "positionplrate": {
  9925. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9926. "type": "number"
  9927. },
  9928. "usedmargin": {
  9929. "description": "占用保证金",
  9930. "type": "number"
  9931. }
  9932. }
  9933. },
  9934. "ermcp.RealtimeExposurePositionRsp": {
  9935. "type": "object",
  9936. "properties": {
  9937. "agreeunit": {
  9938. "description": "合约单位",
  9939. "type": "string"
  9940. },
  9941. "areauserid": {
  9942. "description": "所属机构id",
  9943. "type": "integer"
  9944. },
  9945. "convertratio": {
  9946. "description": "期货品种系数(折算系数)",
  9947. "type": "number"
  9948. },
  9949. "curqty": {
  9950. "description": "当前持仓",
  9951. "type": "integer"
  9952. },
  9953. "diffhedgeqty": {
  9954. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9955. "type": "number"
  9956. },
  9957. "diffqty": {
  9958. "description": "持仓变动量=当前持仓-昨日持仓",
  9959. "type": "integer"
  9960. },
  9961. "goodscode": {
  9962. "description": "商品代码",
  9963. "type": "string"
  9964. },
  9965. "goodsid": {
  9966. "description": "商品id",
  9967. "type": "integer"
  9968. },
  9969. "goodsname": {
  9970. "description": "商品名称",
  9971. "type": "string"
  9972. },
  9973. "middlegoodsid": {
  9974. "description": "套保商品id",
  9975. "type": "integer"
  9976. },
  9977. "ydqty": {
  9978. "description": "昨日持仓",
  9979. "type": "integer"
  9980. }
  9981. }
  9982. },
  9983. "ermcp.RealtimeExposureRsp": {
  9984. "type": "object",
  9985. "properties": {
  9986. "areaUserID": {
  9987. "description": "所属机构",
  9988. "type": "integer"
  9989. },
  9990. "buyFutureQty": {
  9991. "description": "买入期货数量",
  9992. "type": "number"
  9993. },
  9994. "buyPlanQty": {
  9995. "description": "采购计划数量",
  9996. "type": "number"
  9997. },
  9998. "buyPricedQty": {
  9999. "description": "采购合同已定价数量",
  10000. "type": "number"
  10001. },
  10002. "diffFutuQty": {
  10003. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  10004. "type": "number"
  10005. },
  10006. "diffSpotQty": {
  10007. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  10008. "type": "number"
  10009. },
  10010. "enumdicname": {
  10011. "description": "单位名称",
  10012. "type": "string"
  10013. },
  10014. "middleGoodsCode": {
  10015. "description": "套保品种代码",
  10016. "type": "string"
  10017. },
  10018. "middleGoodsHedgeRatio": {
  10019. "description": "应套保比例",
  10020. "type": "number"
  10021. },
  10022. "middleGoodsID": {
  10023. "description": "套保品种",
  10024. "type": "integer"
  10025. },
  10026. "middleGoodsName": {
  10027. "description": "套保品种名称",
  10028. "type": "string"
  10029. },
  10030. "needHedgeExposoure": {
  10031. "description": "应套保敞口",
  10032. "type": "number"
  10033. },
  10034. "needHedgeRatio": {
  10035. "description": "应套保敞口比例",
  10036. "type": "number"
  10037. },
  10038. "oriBuyFutureQty": {
  10039. "description": "期初买入期货数量",
  10040. "type": "number"
  10041. },
  10042. "oriBuyPlanQty": {
  10043. "description": "期初采购计划数量",
  10044. "type": "number"
  10045. },
  10046. "oriBuyPricedQty": {
  10047. "description": "期初采购合同已定价数量",
  10048. "type": "number"
  10049. },
  10050. "oriSellFutureQty": {
  10051. "description": "期初卖出期货数量",
  10052. "type": "number"
  10053. },
  10054. "oriSellPlanQty": {
  10055. "description": "期初销售计划数量",
  10056. "type": "number"
  10057. },
  10058. "oriSellPricedQty": {
  10059. "description": "期初销售合同已定价数量",
  10060. "type": "number"
  10061. },
  10062. "oriTotalFutuQty": {
  10063. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  10064. "type": "number"
  10065. },
  10066. "oriTotalSpotQty": {
  10067. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  10068. "type": "number"
  10069. },
  10070. "sellFutureQty": {
  10071. "description": "卖出期货数量",
  10072. "type": "number"
  10073. },
  10074. "sellPlanQty": {
  10075. "description": "销售计划数量",
  10076. "type": "number"
  10077. },
  10078. "sellPricedQty": {
  10079. "description": "销售合同已定价数量",
  10080. "type": "number"
  10081. },
  10082. "totalExposure": {
  10083. "description": "总敞口",
  10084. "type": "number"
  10085. },
  10086. "totalFutureQty": {
  10087. "description": "期货数量",
  10088. "type": "number"
  10089. },
  10090. "totalHedgeRatio": {
  10091. "description": "敞口比例",
  10092. "type": "number"
  10093. },
  10094. "totalNeedHedgeQty": {
  10095. "description": "期货应套保量",
  10096. "type": "number"
  10097. },
  10098. "totalSpotQty": {
  10099. "description": "现货数量",
  10100. "type": "number"
  10101. }
  10102. }
  10103. },
  10104. "erms2.QueryArbitrageStrategyRsp": {
  10105. "type": "object",
  10106. "required": [
  10107. "asapplyid"
  10108. ],
  10109. "properties": {
  10110. "applybasis": {
  10111. "description": "申请基差",
  10112. "type": "number"
  10113. },
  10114. "asapplyid": {
  10115. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10116. "type": "string"
  10117. },
  10118. "asname": {
  10119. "description": "策略名称",
  10120. "type": "string"
  10121. },
  10122. "asno": {
  10123. "description": "策略编号",
  10124. "type": "string"
  10125. },
  10126. "basischangepl": {
  10127. "description": "基差变动损益[结算更新]",
  10128. "type": "number"
  10129. },
  10130. "biztype": {
  10131. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10132. "type": "integer"
  10133. },
  10134. "closetradedate": {
  10135. "description": "完结交易日(yyyyMMdd)",
  10136. "type": "string"
  10137. },
  10138. "curbasis": {
  10139. "description": "当前基差[结算更新]",
  10140. "type": "number"
  10141. },
  10142. "deliverygoodsid": {
  10143. "description": "现货品种ID",
  10144. "type": "integer"
  10145. },
  10146. "futureavgprice": {
  10147. "description": "期货建仓均价",
  10148. "type": "number"
  10149. },
  10150. "futurecloseamount": {
  10151. "description": "期货平仓金额",
  10152. "type": "number"
  10153. },
  10154. "futurecloseqty": {
  10155. "description": "期货平仓数量",
  10156. "type": "number"
  10157. },
  10158. "futureopenamount": {
  10159. "description": "期货开仓金额",
  10160. "type": "number"
  10161. },
  10162. "futureopenqty": {
  10163. "description": "期货开仓数量",
  10164. "type": "number"
  10165. },
  10166. "futurepl": {
  10167. "description": "期货总盈亏[结算更新]",
  10168. "type": "number"
  10169. },
  10170. "futureqty": {
  10171. "description": "期货持仓数量",
  10172. "type": "number"
  10173. },
  10174. "futurequote": {
  10175. "description": "期货额度",
  10176. "type": "number"
  10177. },
  10178. "goodsgroupid": {
  10179. "description": "期货品种ID",
  10180. "type": "integer"
  10181. },
  10182. "marketid": {
  10183. "description": "市场ID",
  10184. "type": "integer"
  10185. },
  10186. "netexposure": {
  10187. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10188. "type": "number"
  10189. },
  10190. "netexposurepl": {
  10191. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10192. "type": "number"
  10193. },
  10194. "netexposurerate": {
  10195. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10196. "type": "number"
  10197. },
  10198. "openbasis": {
  10199. "description": "建仓基差",
  10200. "type": "number"
  10201. },
  10202. "pricedspotqty": {
  10203. "description": "已定价现货数量",
  10204. "type": "number"
  10205. },
  10206. "pricedspotqtynotax": {
  10207. "description": "已定价现货不含税数量",
  10208. "type": "number"
  10209. },
  10210. "remark": {
  10211. "description": "备注",
  10212. "type": "string"
  10213. },
  10214. "spotavgprice": {
  10215. "description": "现货均价",
  10216. "type": "number"
  10217. },
  10218. "spotbuyamount": {
  10219. "description": "现货采购金额",
  10220. "type": "number"
  10221. },
  10222. "spotbuyqty": {
  10223. "description": "现货采购数量",
  10224. "type": "number"
  10225. },
  10226. "spotpl": {
  10227. "description": "现货总盈亏[结算更新]",
  10228. "type": "number"
  10229. },
  10230. "spotquota": {
  10231. "description": "现货额度",
  10232. "type": "number"
  10233. },
  10234. "spotsellamount": {
  10235. "description": "现货销售金额",
  10236. "type": "number"
  10237. },
  10238. "spotsellqty": {
  10239. "description": "现货销售数量",
  10240. "type": "number"
  10241. },
  10242. "spotusedquota": {
  10243. "description": "现货占用资金",
  10244. "type": "number"
  10245. },
  10246. "strategystatus": {
  10247. "description": "策略状态 - 0:未结束 1:已结束",
  10248. "type": "integer"
  10249. },
  10250. "totalpl": {
  10251. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10252. "type": "number"
  10253. },
  10254. "tradedate": {
  10255. "description": "交易日(yyyyMMdd)",
  10256. "type": "string"
  10257. },
  10258. "updatetime": {
  10259. "description": "更新时间",
  10260. "type": "string"
  10261. },
  10262. "usedquota": {
  10263. "description": "已占用资金",
  10264. "type": "number"
  10265. },
  10266. "userid": {
  10267. "description": "所属机构",
  10268. "type": "integer"
  10269. }
  10270. }
  10271. },
  10272. "erms2.QueryInnerTradeDetailRsp": {
  10273. "type": "object",
  10274. "required": [
  10275. "asapplyid",
  10276. "buyorsell",
  10277. "goodscode",
  10278. "goodsgroupid",
  10279. "goodsgroupname",
  10280. "goodsname",
  10281. "tradeid"
  10282. ],
  10283. "properties": {
  10284. "accountid": {
  10285. "description": "账号ID",
  10286. "type": "integer"
  10287. },
  10288. "agreeunit": {
  10289. "description": "合约单位",
  10290. "type": "number"
  10291. },
  10292. "asapplyid": {
  10293. "description": "策略申请ID",
  10294. "type": "integer"
  10295. },
  10296. "asname": {
  10297. "description": "策略名称",
  10298. "type": "string"
  10299. },
  10300. "asno": {
  10301. "description": "策略编号",
  10302. "type": "string"
  10303. },
  10304. "buyorsell": {
  10305. "description": "方向 - 0:买 1:卖",
  10306. "type": "integer"
  10307. },
  10308. "channelbuildtype": {
  10309. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10310. "type": "integer"
  10311. },
  10312. "closetype": {
  10313. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10314. "type": "integer"
  10315. },
  10316. "decimalplace": {
  10317. "description": "报价小数位",
  10318. "type": "integer"
  10319. },
  10320. "detailtype": {
  10321. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10322. "type": "integer"
  10323. },
  10324. "exexchangecode": {
  10325. "description": "外部交易所代码",
  10326. "type": "string"
  10327. },
  10328. "exexchangename": {
  10329. "description": "外部交易所名称",
  10330. "type": "string"
  10331. },
  10332. "goodscode": {
  10333. "description": "商品代码(合约)",
  10334. "type": "string"
  10335. },
  10336. "goodsgroupid": {
  10337. "description": "商品组ID(品种ID)",
  10338. "type": "integer"
  10339. },
  10340. "goodsgroupname": {
  10341. "description": "商品组名称(品种)",
  10342. "type": "string"
  10343. },
  10344. "goodsid": {
  10345. "description": "商品ID",
  10346. "type": "integer"
  10347. },
  10348. "goodsname": {
  10349. "description": "商品名称(合约)",
  10350. "type": "string"
  10351. },
  10352. "goodunit": {
  10353. "description": "报价单位",
  10354. "type": "string"
  10355. },
  10356. "marketid": {
  10357. "description": "市场ID",
  10358. "type": "integer"
  10359. },
  10360. "orderid": {
  10361. "description": "委托单号",
  10362. "type": "string"
  10363. },
  10364. "outgoodscode": {
  10365. "description": "商品代码(外部)",
  10366. "type": "string"
  10367. },
  10368. "relatedouttradeid": {
  10369. "description": "关联外部成交单ID",
  10370. "type": "string"
  10371. },
  10372. "remark": {
  10373. "description": "备注",
  10374. "type": "string"
  10375. },
  10376. "spotcontractid": {
  10377. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10378. "type": "integer"
  10379. },
  10380. "spotcontractno": {
  10381. "description": "现货合同编号",
  10382. "type": "string"
  10383. },
  10384. "tradeid": {
  10385. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10386. "type": "string"
  10387. },
  10388. "tradeprice": {
  10389. "description": "成交价格",
  10390. "type": "number"
  10391. },
  10392. "tradeqty": {
  10393. "description": "成交数量",
  10394. "type": "integer"
  10395. },
  10396. "tradetime": {
  10397. "description": "成交时间",
  10398. "type": "string"
  10399. },
  10400. "updatetime": {
  10401. "description": "更新时间",
  10402. "type": "string"
  10403. }
  10404. }
  10405. },
  10406. "erms2.QuerySpotContractRsp": {
  10407. "type": "object",
  10408. "required": [
  10409. "spotcontractid"
  10410. ],
  10411. "properties": {
  10412. "accountid": {
  10413. "description": "资金账户ID",
  10414. "type": "integer"
  10415. },
  10416. "areauserid": {
  10417. "description": "所属机构",
  10418. "type": "integer"
  10419. },
  10420. "closedate": {
  10421. "description": "终止日期",
  10422. "type": "string"
  10423. },
  10424. "closeremark": {
  10425. "description": "结束备注",
  10426. "type": "string"
  10427. },
  10428. "closetradedate": {
  10429. "description": "完结交易日(yyyyMMdd)",
  10430. "type": "string"
  10431. },
  10432. "closetype": {
  10433. "description": "终止类型 - 1:违约 2:提前终止",
  10434. "type": "integer"
  10435. },
  10436. "contractamount": {
  10437. "description": "合同金额",
  10438. "type": "number"
  10439. },
  10440. "contractattachment": {
  10441. "description": "合同附件",
  10442. "type": "string"
  10443. },
  10444. "contractno": {
  10445. "description": "现货合同编号",
  10446. "type": "string"
  10447. },
  10448. "contractqty": {
  10449. "description": "合同数量(数值) (用于计算)",
  10450. "type": "number"
  10451. },
  10452. "contractqtychar": {
  10453. "description": "合同数量\\已订价数量 (用于显示)",
  10454. "type": "string"
  10455. },
  10456. "contractstatus": {
  10457. "description": "合同状态 - 0:未结束 1:已结束",
  10458. "type": "integer"
  10459. },
  10460. "contracttype": {
  10461. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10462. "type": "integer"
  10463. },
  10464. "customeraccountid": {
  10465. "description": "客户资金账户ID",
  10466. "type": "integer"
  10467. },
  10468. "customeruserid": {
  10469. "description": "客户ID",
  10470. "type": "integer"
  10471. },
  10472. "deliverygoodsdesc": {
  10473. "description": "品种说明",
  10474. "type": "string"
  10475. },
  10476. "deliverygoodsid": {
  10477. "description": "现货品种ID",
  10478. "type": "integer"
  10479. },
  10480. "handlestatus": {
  10481. "description": "处理状态",
  10482. "type": "integer"
  10483. },
  10484. "invoiceatt": {
  10485. "description": "发票附件",
  10486. "type": "string"
  10487. },
  10488. "invoicedatetime": {
  10489. "description": "开收票更新时间",
  10490. "type": "string"
  10491. },
  10492. "invoiceopentime": {
  10493. "description": "开票时间",
  10494. "type": "string"
  10495. },
  10496. "invoiceremark": {
  10497. "description": "发票备注",
  10498. "type": "string"
  10499. },
  10500. "invoicestatus": {
  10501. "description": "开收票状态 - 0:未开票 1:已开票",
  10502. "type": "integer"
  10503. },
  10504. "lastdate": {
  10505. "description": "交货时间",
  10506. "type": "string"
  10507. },
  10508. "marketid": {
  10509. "description": "市场ID",
  10510. "type": "integer"
  10511. },
  10512. "paydatetime": {
  10513. "description": "收付款更新时间",
  10514. "type": "string"
  10515. },
  10516. "payremark": {
  10517. "description": "收付款备注",
  10518. "type": "string"
  10519. },
  10520. "paystatus": {
  10521. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10522. "type": "integer"
  10523. },
  10524. "positionqty": {
  10525. "description": "头寸数量 - 合同数量去小数部分",
  10526. "type": "integer"
  10527. },
  10528. "producttype": {
  10529. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10530. "type": "integer"
  10531. },
  10532. "relatedqty": {
  10533. "description": "已关联数量",
  10534. "type": "number"
  10535. },
  10536. "relatedstatus": {
  10537. "description": "关联完结状态 - 0:未结束 1:已结束",
  10538. "type": "integer"
  10539. },
  10540. "remark": {
  10541. "description": "备注",
  10542. "type": "string"
  10543. },
  10544. "signdate": {
  10545. "description": "签订日期",
  10546. "type": "string"
  10547. },
  10548. "spotcontractid": {
  10549. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10550. "type": "string"
  10551. },
  10552. "spotdatetime": {
  10553. "description": "收发货更新时间",
  10554. "type": "string"
  10555. },
  10556. "spotprice": {
  10557. "description": "价格",
  10558. "type": "number"
  10559. },
  10560. "spotremark": {
  10561. "description": "收发货备注",
  10562. "type": "string"
  10563. },
  10564. "spotstatus": {
  10565. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10566. "type": "integer"
  10567. },
  10568. "tradedate": {
  10569. "description": "交易日(yyyyMMdd)",
  10570. "type": "string"
  10571. },
  10572. "userid": {
  10573. "description": "业务员用户ID",
  10574. "type": "integer"
  10575. },
  10576. "warehouseid": {
  10577. "description": "仓库ID",
  10578. "type": "integer"
  10579. },
  10580. "wrfactortypeid": {
  10581. "description": "仓单要素类型ID",
  10582. "type": "integer"
  10583. },
  10584. "wrstandardid": {
  10585. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10586. "type": "integer"
  10587. }
  10588. }
  10589. },
  10590. "erms3.AddErms2ASApplyReq": {
  10591. "type": "object",
  10592. "required": [
  10593. "asapplyid"
  10594. ],
  10595. "properties": {
  10596. "applybasis": {
  10597. "description": "申请基差",
  10598. "type": "number"
  10599. },
  10600. "applystatus": {
  10601. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10602. "type": "integer"
  10603. },
  10604. "asapplyid": {
  10605. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10606. "type": "integer"
  10607. },
  10608. "asname": {
  10609. "description": "策略名称",
  10610. "type": "string"
  10611. },
  10612. "asno": {
  10613. "description": "策略编号",
  10614. "type": "string"
  10615. },
  10616. "auditid": {
  10617. "description": "审核人",
  10618. "type": "integer"
  10619. },
  10620. "auditremark": {
  10621. "description": "审核备注",
  10622. "type": "string"
  10623. },
  10624. "audittime": {
  10625. "description": "审核时间",
  10626. "type": "string"
  10627. },
  10628. "biztype": {
  10629. "description": "业务类型 - 1:正向套利 2:反向套利",
  10630. "type": "integer"
  10631. },
  10632. "createtime": {
  10633. "description": "创建时间",
  10634. "type": "string"
  10635. },
  10636. "creatorid": {
  10637. "description": "创建人",
  10638. "type": "integer"
  10639. },
  10640. "deliverygoodsid": {
  10641. "description": "现货品种ID",
  10642. "type": "integer"
  10643. },
  10644. "futurequote": {
  10645. "description": "期货额度",
  10646. "type": "number"
  10647. },
  10648. "goodsgroupid": {
  10649. "description": "期货品种ID",
  10650. "type": "integer"
  10651. },
  10652. "marketid": {
  10653. "description": "市场ID",
  10654. "type": "integer"
  10655. },
  10656. "remark": {
  10657. "description": "备注",
  10658. "type": "string"
  10659. },
  10660. "spotquota": {
  10661. "description": "现货额度",
  10662. "type": "number"
  10663. },
  10664. "tradedate": {
  10665. "description": "交易日(yyyyMMdd)",
  10666. "type": "string"
  10667. },
  10668. "userid": {
  10669. "description": "所属机构",
  10670. "type": "integer"
  10671. }
  10672. }
  10673. },
  10674. "erms3.AddErms2SpotTradeApplyReq": {
  10675. "type": "object",
  10676. "required": [
  10677. "spottradeid"
  10678. ],
  10679. "properties": {
  10680. "applyjsondetail": {
  10681. "description": "申请明细(JSON)",
  10682. "type": "string"
  10683. },
  10684. "applystatus": {
  10685. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10686. "type": "integer"
  10687. },
  10688. "areauserid": {
  10689. "description": "所属机构",
  10690. "type": "integer"
  10691. },
  10692. "auditid": {
  10693. "description": "审核人",
  10694. "type": "integer"
  10695. },
  10696. "auditremark": {
  10697. "description": "审核备注",
  10698. "type": "string"
  10699. },
  10700. "audittime": {
  10701. "description": "审核时间",
  10702. "type": "string"
  10703. },
  10704. "createtime": {
  10705. "description": "创建时间",
  10706. "type": "string"
  10707. },
  10708. "creatorid": {
  10709. "description": "创建人",
  10710. "type": "integer"
  10711. },
  10712. "deliverygoodsid": {
  10713. "description": "现货品种ID",
  10714. "type": "integer"
  10715. },
  10716. "futureaccountid": {
  10717. "description": "期货资金账户",
  10718. "type": "integer"
  10719. },
  10720. "goodsgroupid": {
  10721. "description": "期货品种",
  10722. "type": "integer"
  10723. },
  10724. "marketid": {
  10725. "description": "市场ID",
  10726. "type": "integer"
  10727. },
  10728. "remark": {
  10729. "description": "备注",
  10730. "type": "string"
  10731. },
  10732. "spotaccountid": {
  10733. "description": "现货资金账户",
  10734. "type": "integer"
  10735. },
  10736. "spottradeid": {
  10737. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10738. "type": "integer"
  10739. },
  10740. "spottradename": {
  10741. "description": "业务名称",
  10742. "type": "string"
  10743. },
  10744. "spottradeno": {
  10745. "description": "业务编号",
  10746. "type": "string"
  10747. },
  10748. "tradedate": {
  10749. "description": "交易日(yyyyMMdd)",
  10750. "type": "string"
  10751. },
  10752. "wrstandardid": {
  10753. "description": "仓单标准ID",
  10754. "type": "integer"
  10755. }
  10756. }
  10757. },
  10758. "erms3.AddSpotContractApplyReq": {
  10759. "type": "object",
  10760. "required": [
  10761. "accountid",
  10762. "areauserid",
  10763. "contractno",
  10764. "contracttype",
  10765. "customeraccountid",
  10766. "customeruserid",
  10767. "details",
  10768. "orimargin",
  10769. "signdate"
  10770. ],
  10771. "properties": {
  10772. "accountid": {
  10773. "description": "资金账户ID",
  10774. "type": "integer"
  10775. },
  10776. "areauserid": {
  10777. "description": "所属机构",
  10778. "type": "integer"
  10779. },
  10780. "contractattachment": {
  10781. "description": "合同附件",
  10782. "type": "string"
  10783. },
  10784. "contractno": {
  10785. "description": "现货合同编号",
  10786. "type": "string"
  10787. },
  10788. "contracttype": {
  10789. "description": "现货合同类型 - 1:采购 -1:销售",
  10790. "type": "integer"
  10791. },
  10792. "creatorid": {
  10793. "description": "申请人",
  10794. "type": "integer"
  10795. },
  10796. "customeraccountid": {
  10797. "description": "客户资金账户ID",
  10798. "type": "integer"
  10799. },
  10800. "customeruserid": {
  10801. "description": "客户ID",
  10802. "type": "integer"
  10803. },
  10804. "details": {
  10805. "description": "明细",
  10806. "type": "array",
  10807. "items": {
  10808. "$ref": "#/definitions/erms3.SoptContractDetail"
  10809. }
  10810. },
  10811. "orimargin": {
  10812. "description": "初始保证金",
  10813. "type": "number"
  10814. },
  10815. "remark": {
  10816. "description": "备注",
  10817. "type": "string"
  10818. },
  10819. "signdate": {
  10820. "description": "签订日期",
  10821. "type": "string"
  10822. }
  10823. }
  10824. },
  10825. "erms3.AddSpotContractApplyRsp": {
  10826. "type": "object",
  10827. "required": [
  10828. "contractno"
  10829. ],
  10830. "properties": {
  10831. "contractno": {
  10832. "description": "现货合同编号",
  10833. "type": "string"
  10834. },
  10835. "spotcontractid": {
  10836. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10837. "type": "integer"
  10838. }
  10839. }
  10840. },
  10841. "erms3.AddUserInfoApplyReq": {
  10842. "type": "object",
  10843. "required": [
  10844. "userid"
  10845. ],
  10846. "properties": {
  10847. "accountid": {
  10848. "description": "交易系统帐号Id (加密存储)",
  10849. "type": "integer"
  10850. },
  10851. "areacode": {
  10852. "description": "机构代码",
  10853. "type": "string"
  10854. },
  10855. "areaid": {
  10856. "description": "机构Id",
  10857. "type": "integer"
  10858. },
  10859. "attachment1": {
  10860. "description": "附件1",
  10861. "type": "string"
  10862. },
  10863. "attachment2": {
  10864. "description": "附件2",
  10865. "type": "string"
  10866. },
  10867. "attachment3": {
  10868. "description": "附件3",
  10869. "type": "string"
  10870. },
  10871. "attachment4": {
  10872. "description": "附件4",
  10873. "type": "string"
  10874. },
  10875. "attachment5": {
  10876. "description": "附件5",
  10877. "type": "string"
  10878. },
  10879. "auditedby": {
  10880. "description": "审核人",
  10881. "type": "string"
  10882. },
  10883. "auditime": {
  10884. "description": "审核时间",
  10885. "type": "string"
  10886. },
  10887. "bankaccount": {
  10888. "description": "银行帐号 (加密存储)",
  10889. "type": "string"
  10890. },
  10891. "bankaccountname": {
  10892. "description": "收款人名称",
  10893. "type": "string"
  10894. },
  10895. "bankcardbackphotourl": {
  10896. "description": "银行卡背面照地址",
  10897. "type": "string"
  10898. },
  10899. "bankcardfrontphotourl": {
  10900. "description": "银行卡正面照地址",
  10901. "type": "string"
  10902. },
  10903. "bankid": {
  10904. "description": "银行编码",
  10905. "type": "string"
  10906. },
  10907. "bankname": {
  10908. "description": "银行名称",
  10909. "type": "string"
  10910. },
  10911. "bankpictureurl": {
  10912. "description": "银行卡正面地址",
  10913. "type": "string"
  10914. },
  10915. "biznature": {
  10916. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10917. "type": "integer"
  10918. },
  10919. "bizscope": {
  10920. "description": "企业经营范围(企业)",
  10921. "type": "string"
  10922. },
  10923. "biztype": {
  10924. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10925. "type": "integer"
  10926. },
  10927. "brokerid": {
  10928. "description": "经纪人ID(加密存储)",
  10929. "type": "string"
  10930. },
  10931. "cardaddress": {
  10932. "description": "证件地址 (加密存储)",
  10933. "type": "string"
  10934. },
  10935. "cardbackphotourl": {
  10936. "description": "背面证件照地址",
  10937. "type": "string"
  10938. },
  10939. "cardfrontphotourl": {
  10940. "description": "正面证件照地址",
  10941. "type": "string"
  10942. },
  10943. "cardnum": {
  10944. "description": "证件号码 (加密存储)",
  10945. "type": "string"
  10946. },
  10947. "cardtype": {
  10948. "description": "证件类型",
  10949. "type": "integer"
  10950. },
  10951. "cityid": {
  10952. "description": "市",
  10953. "type": "integer"
  10954. },
  10955. "company": {
  10956. "description": "公司(个人)",
  10957. "type": "string"
  10958. },
  10959. "contactcardbackphotourl": {
  10960. "description": "联系人证件背面图片地址",
  10961. "type": "string"
  10962. },
  10963. "contactcardfrontphotourl": {
  10964. "description": "联系人证件正面图片地址",
  10965. "type": "string"
  10966. },
  10967. "contactname": {
  10968. "description": "联系人",
  10969. "type": "string"
  10970. },
  10971. "countryid": {
  10972. "description": "国家",
  10973. "type": "integer"
  10974. },
  10975. "createtime": {
  10976. "description": "开户申请时间",
  10977. "type": "string"
  10978. },
  10979. "cusbankid": {
  10980. "description": "签约类型",
  10981. "type": "string"
  10982. },
  10983. "cusbankname": {
  10984. "description": "签约类型名称",
  10985. "type": "string"
  10986. },
  10987. "customername": {
  10988. "description": "客户名称(企业名称)",
  10989. "type": "string"
  10990. },
  10991. "districtid": {
  10992. "description": "地区",
  10993. "type": "integer"
  10994. },
  10995. "email": {
  10996. "description": "Email地址(加密存储)",
  10997. "type": "string"
  10998. },
  10999. "halfbodyphotourl": {
  11000. "description": "半身照地址",
  11001. "type": "string"
  11002. },
  11003. "headurl": {
  11004. "description": "头像地址",
  11005. "type": "string"
  11006. },
  11007. "ipaddress": {
  11008. "description": "IP地址",
  11009. "type": "string"
  11010. },
  11011. "isvalidate": {
  11012. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11013. "type": "string"
  11014. },
  11015. "legalcardbackphotourl": {
  11016. "description": "法人身份证背面照地址",
  11017. "type": "string"
  11018. },
  11019. "legalcardfrontphotourl": {
  11020. "description": "法人身份证正面照地址",
  11021. "type": "string"
  11022. },
  11023. "legalpersonname": {
  11024. "description": "法人姓名(企业)",
  11025. "type": "string"
  11026. },
  11027. "logincode": {
  11028. "description": "登录帐号 (加密存储)",
  11029. "type": "string"
  11030. },
  11031. "memberareaid": {
  11032. "description": "所属会员ID",
  11033. "type": "integer"
  11034. },
  11035. "mobile2": {
  11036. "description": "手机号码[明文-尚志]",
  11037. "type": "string"
  11038. },
  11039. "mobilephone": {
  11040. "description": "手机号码 (加密存储)",
  11041. "type": "string"
  11042. },
  11043. "modifiedby": {
  11044. "description": "修改人帐号",
  11045. "type": "integer"
  11046. },
  11047. "modifiedtime": {
  11048. "description": "修改时间",
  11049. "type": "string"
  11050. },
  11051. "nickname": {
  11052. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11053. "type": "string"
  11054. },
  11055. "openmode": {
  11056. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11057. "type": "integer"
  11058. },
  11059. "otherurl": {
  11060. "description": "其它图片地址[使用分号分隔]",
  11061. "type": "string"
  11062. },
  11063. "postalcode": {
  11064. "description": "邮政编码",
  11065. "type": "string"
  11066. },
  11067. "provinceid": {
  11068. "description": "省",
  11069. "type": "integer"
  11070. },
  11071. "proxystatementurl": {
  11072. "description": "授权委托书",
  11073. "type": "string"
  11074. },
  11075. "qq": {
  11076. "description": "QQ(加密存储",
  11077. "type": "string"
  11078. },
  11079. "referral": {
  11080. "description": "推荐人编码",
  11081. "type": "string"
  11082. },
  11083. "remark": {
  11084. "description": "备注",
  11085. "type": "string"
  11086. },
  11087. "removebeforestatus": {
  11088. "description": "REMOVEBEFORESTATUS",
  11089. "type": "integer"
  11090. },
  11091. "sex": {
  11092. "description": "性别 - 0:女 1:男",
  11093. "type": "integer"
  11094. },
  11095. "signedstatus": {
  11096. "description": "账户一号签签约状态",
  11097. "type": "integer"
  11098. },
  11099. "signpdfurl": {
  11100. "description": "签约pdf文件",
  11101. "type": "string"
  11102. },
  11103. "subbranch": {
  11104. "description": "开户支行",
  11105. "type": "string"
  11106. },
  11107. "telphone": {
  11108. "description": "联系电话(加密存储)",
  11109. "type": "string"
  11110. },
  11111. "userid": {
  11112. "description": "用户ID(自增ID)",
  11113. "type": "integer"
  11114. },
  11115. "userinfotype": {
  11116. "description": "用户信息类型 - 1:个人 2:企业",
  11117. "type": "integer"
  11118. },
  11119. "username": {
  11120. "description": "用户姓名",
  11121. "type": "string"
  11122. },
  11123. "userstate": {
  11124. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11125. "type": "integer"
  11126. },
  11127. "usertype": {
  11128. "description": "用户类型 - 1:投资者 2:机构",
  11129. "type": "integer"
  11130. },
  11131. "videourl": {
  11132. "description": "视频地址",
  11133. "type": "string"
  11134. },
  11135. "wechat": {
  11136. "description": "微信号 (加密存储)",
  11137. "type": "string"
  11138. }
  11139. }
  11140. },
  11141. "erms3.CustomerInfo": {
  11142. "type": "object",
  11143. "required": [
  11144. "userid"
  11145. ],
  11146. "properties": {
  11147. "accountids": {
  11148. "description": "资金账户ID列表",
  11149. "type": "array",
  11150. "items": {
  11151. "type": "integer"
  11152. }
  11153. },
  11154. "customername": {
  11155. "description": "名称(企业名称)",
  11156. "type": "string"
  11157. },
  11158. "mobile": {
  11159. "description": "手机号码",
  11160. "type": "string"
  11161. },
  11162. "userid": {
  11163. "description": "用户ID",
  11164. "type": "integer"
  11165. }
  11166. }
  11167. },
  11168. "erms3.ModifyUserInfoApplyReq": {
  11169. "type": "object",
  11170. "required": [
  11171. "userid"
  11172. ],
  11173. "properties": {
  11174. "accountid": {
  11175. "description": "交易系统帐号Id (加密存储)",
  11176. "type": "integer"
  11177. },
  11178. "areacode": {
  11179. "description": "机构代码",
  11180. "type": "string"
  11181. },
  11182. "areaid": {
  11183. "description": "机构Id",
  11184. "type": "integer"
  11185. },
  11186. "attachment1": {
  11187. "description": "附件1",
  11188. "type": "string"
  11189. },
  11190. "attachment2": {
  11191. "description": "附件2",
  11192. "type": "string"
  11193. },
  11194. "attachment3": {
  11195. "description": "附件3",
  11196. "type": "string"
  11197. },
  11198. "attachment4": {
  11199. "description": "附件4",
  11200. "type": "string"
  11201. },
  11202. "attachment5": {
  11203. "description": "附件5",
  11204. "type": "string"
  11205. },
  11206. "auditedby": {
  11207. "description": "审核人",
  11208. "type": "string"
  11209. },
  11210. "auditime": {
  11211. "description": "审核时间",
  11212. "type": "string"
  11213. },
  11214. "bankaccount": {
  11215. "description": "银行帐号 (加密存储)",
  11216. "type": "string"
  11217. },
  11218. "bankaccountname": {
  11219. "description": "收款人名称",
  11220. "type": "string"
  11221. },
  11222. "bankcardbackphotourl": {
  11223. "description": "银行卡背面照地址",
  11224. "type": "string"
  11225. },
  11226. "bankcardfrontphotourl": {
  11227. "description": "银行卡正面照地址",
  11228. "type": "string"
  11229. },
  11230. "bankid": {
  11231. "description": "银行编码",
  11232. "type": "string"
  11233. },
  11234. "bankname": {
  11235. "description": "银行名称",
  11236. "type": "string"
  11237. },
  11238. "bankpictureurl": {
  11239. "description": "银行卡正面地址",
  11240. "type": "string"
  11241. },
  11242. "biznature": {
  11243. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11244. "type": "integer"
  11245. },
  11246. "bizscope": {
  11247. "description": "企业经营范围(企业)",
  11248. "type": "string"
  11249. },
  11250. "biztype": {
  11251. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11252. "type": "integer"
  11253. },
  11254. "brokerid": {
  11255. "description": "经纪人ID(加密存储)",
  11256. "type": "string"
  11257. },
  11258. "cardaddress": {
  11259. "description": "证件地址 (加密存储)",
  11260. "type": "string"
  11261. },
  11262. "cardbackphotourl": {
  11263. "description": "背面证件照地址",
  11264. "type": "string"
  11265. },
  11266. "cardfrontphotourl": {
  11267. "description": "正面证件照地址",
  11268. "type": "string"
  11269. },
  11270. "cardnum": {
  11271. "description": "证件号码 (加密存储)",
  11272. "type": "string"
  11273. },
  11274. "cardtype": {
  11275. "description": "证件类型",
  11276. "type": "integer"
  11277. },
  11278. "cityid": {
  11279. "description": "市",
  11280. "type": "integer"
  11281. },
  11282. "company": {
  11283. "description": "公司(个人)",
  11284. "type": "string"
  11285. },
  11286. "contactcardbackphotourl": {
  11287. "description": "联系人证件背面图片地址",
  11288. "type": "string"
  11289. },
  11290. "contactcardfrontphotourl": {
  11291. "description": "联系人证件正面图片地址",
  11292. "type": "string"
  11293. },
  11294. "contactname": {
  11295. "description": "联系人",
  11296. "type": "string"
  11297. },
  11298. "countryid": {
  11299. "description": "国家",
  11300. "type": "integer"
  11301. },
  11302. "createtime": {
  11303. "description": "开户申请时间",
  11304. "type": "string"
  11305. },
  11306. "cusbankid": {
  11307. "description": "签约类型",
  11308. "type": "string"
  11309. },
  11310. "cusbankname": {
  11311. "description": "签约类型名称",
  11312. "type": "string"
  11313. },
  11314. "customername": {
  11315. "description": "客户名称(企业名称)",
  11316. "type": "string"
  11317. },
  11318. "districtid": {
  11319. "description": "地区",
  11320. "type": "integer"
  11321. },
  11322. "email": {
  11323. "description": "Email地址(加密存储)",
  11324. "type": "string"
  11325. },
  11326. "halfbodyphotourl": {
  11327. "description": "半身照地址",
  11328. "type": "string"
  11329. },
  11330. "headurl": {
  11331. "description": "头像地址",
  11332. "type": "string"
  11333. },
  11334. "ipaddress": {
  11335. "description": "IP地址",
  11336. "type": "string"
  11337. },
  11338. "isvalidate": {
  11339. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11340. "type": "string"
  11341. },
  11342. "legalcardbackphotourl": {
  11343. "description": "法人身份证背面照地址",
  11344. "type": "string"
  11345. },
  11346. "legalcardfrontphotourl": {
  11347. "description": "法人身份证正面照地址",
  11348. "type": "string"
  11349. },
  11350. "legalpersonname": {
  11351. "description": "法人姓名(企业)",
  11352. "type": "string"
  11353. },
  11354. "logincode": {
  11355. "description": "登录帐号 (加密存储)",
  11356. "type": "string"
  11357. },
  11358. "memberareaid": {
  11359. "description": "所属会员ID",
  11360. "type": "integer"
  11361. },
  11362. "mobile2": {
  11363. "description": "手机号码[明文-尚志]",
  11364. "type": "string"
  11365. },
  11366. "mobilephone": {
  11367. "description": "手机号码 (加密存储)",
  11368. "type": "string"
  11369. },
  11370. "modifiedby": {
  11371. "description": "修改人帐号",
  11372. "type": "integer"
  11373. },
  11374. "modifiedtime": {
  11375. "description": "修改时间",
  11376. "type": "string"
  11377. },
  11378. "nickname": {
  11379. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11380. "type": "string"
  11381. },
  11382. "openmode": {
  11383. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11384. "type": "integer"
  11385. },
  11386. "otherurl": {
  11387. "description": "其它图片地址[使用分号分隔]",
  11388. "type": "string"
  11389. },
  11390. "postalcode": {
  11391. "description": "邮政编码",
  11392. "type": "string"
  11393. },
  11394. "provinceid": {
  11395. "description": "省",
  11396. "type": "integer"
  11397. },
  11398. "proxystatementurl": {
  11399. "description": "授权委托书",
  11400. "type": "string"
  11401. },
  11402. "qq": {
  11403. "description": "QQ(加密存储",
  11404. "type": "string"
  11405. },
  11406. "referral": {
  11407. "description": "推荐人编码",
  11408. "type": "string"
  11409. },
  11410. "remark": {
  11411. "description": "备注",
  11412. "type": "string"
  11413. },
  11414. "removebeforestatus": {
  11415. "description": "REMOVEBEFORESTATUS",
  11416. "type": "integer"
  11417. },
  11418. "sex": {
  11419. "description": "性别 - 0:女 1:男",
  11420. "type": "integer"
  11421. },
  11422. "signedstatus": {
  11423. "description": "账户一号签签约状态",
  11424. "type": "integer"
  11425. },
  11426. "signpdfurl": {
  11427. "description": "签约pdf文件",
  11428. "type": "string"
  11429. },
  11430. "subbranch": {
  11431. "description": "开户支行",
  11432. "type": "string"
  11433. },
  11434. "telphone": {
  11435. "description": "联系电话(加密存储)",
  11436. "type": "string"
  11437. },
  11438. "userid": {
  11439. "description": "用户ID(自增ID)",
  11440. "type": "integer"
  11441. },
  11442. "userinfotype": {
  11443. "description": "用户信息类型 - 1:个人 2:企业",
  11444. "type": "integer"
  11445. },
  11446. "username": {
  11447. "description": "用户姓名",
  11448. "type": "string"
  11449. },
  11450. "userstate": {
  11451. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11452. "type": "integer"
  11453. },
  11454. "usertype": {
  11455. "description": "用户类型 - 1:投资者 2:机构",
  11456. "type": "integer"
  11457. },
  11458. "videourl": {
  11459. "description": "视频地址",
  11460. "type": "string"
  11461. },
  11462. "wechat": {
  11463. "description": "微信号 (加密存储)",
  11464. "type": "string"
  11465. }
  11466. }
  11467. },
  11468. "erms3.QryAuditContractRsp": {
  11469. "type": "object",
  11470. "required": [
  11471. "matchcustomername",
  11472. "spotcontractid"
  11473. ],
  11474. "properties": {
  11475. "accountid": {
  11476. "description": "交易员ID",
  11477. "type": "string"
  11478. },
  11479. "applystatus": {
  11480. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11481. "type": "integer"
  11482. },
  11483. "curdeliveryqty": {
  11484. "description": "未交收量",
  11485. "type": "integer"
  11486. },
  11487. "customername": {
  11488. "description": "采购方ID",
  11489. "type": "string"
  11490. },
  11491. "deliverygoodsid": {
  11492. "description": "品种ID",
  11493. "type": "string"
  11494. },
  11495. "deliveryqty": {
  11496. "description": "交收量",
  11497. "type": "integer"
  11498. },
  11499. "enumdicname": {
  11500. "description": "单位名称",
  11501. "type": "string"
  11502. },
  11503. "matchaccountid": {
  11504. "description": "业务员ID",
  11505. "type": "string"
  11506. },
  11507. "matchcustomername": {
  11508. "description": "销售方ID",
  11509. "type": "string"
  11510. },
  11511. "pricedqty": {
  11512. "description": "定价量",
  11513. "type": "number"
  11514. },
  11515. "signdate": {
  11516. "description": "签订日期",
  11517. "type": "string"
  11518. },
  11519. "spotcontractid": {
  11520. "description": "合同ID",
  11521. "type": "string"
  11522. },
  11523. "totaldqty": {
  11524. "description": "合同量",
  11525. "type": "number"
  11526. },
  11527. "unpricedqty": {
  11528. "description": "未定价量",
  11529. "type": "number"
  11530. },
  11531. "wrstandardname": {
  11532. "description": "商品名称",
  11533. "type": "string"
  11534. }
  11535. }
  11536. },
  11537. "erms3.QryPendingBizRsp": {
  11538. "type": "object",
  11539. "properties": {
  11540. "accountid": {
  11541. "description": "现货账户",
  11542. "type": "string"
  11543. },
  11544. "areaname": {
  11545. "description": "所属部门",
  11546. "type": "string"
  11547. },
  11548. "bizid": {
  11549. "description": "业务ID",
  11550. "type": "string"
  11551. },
  11552. "bizname": {
  11553. "description": "业务名称",
  11554. "type": "string"
  11555. },
  11556. "status": {
  11557. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11558. "type": "integer"
  11559. },
  11560. "type": {
  11561. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11562. "type": "integer"
  11563. }
  11564. }
  11565. },
  11566. "erms3.QueryBusinessInfoRsp": {
  11567. "type": "object",
  11568. "properties": {
  11569. "businessid": {
  11570. "description": "业务ID.",
  11571. "type": "integer"
  11572. },
  11573. "buyamount": {
  11574. "description": "采购额.",
  11575. "type": "number"
  11576. },
  11577. "buyqty": {
  11578. "description": "采购量.",
  11579. "type": "string"
  11580. },
  11581. "futurepl": {
  11582. "description": "期货盈亏.",
  11583. "type": "number"
  11584. },
  11585. "futureqty": {
  11586. "description": "期货敞口.",
  11587. "type": "string"
  11588. },
  11589. "goodsid": {
  11590. "description": "商品名称/商品代码.",
  11591. "type": "string"
  11592. },
  11593. "hedgingqty": {
  11594. "description": "套保量.",
  11595. "type": "string"
  11596. },
  11597. "sellamount": {
  11598. "description": "销售额.",
  11599. "type": "number"
  11600. },
  11601. "sellqty": {
  11602. "description": "销售量.",
  11603. "type": "string"
  11604. },
  11605. "spotmarketvalue": {
  11606. "description": "现货市值.",
  11607. "type": "number"
  11608. },
  11609. "spotpl": {
  11610. "description": "浮动权益.",
  11611. "type": "number"
  11612. },
  11613. "spotqty": {
  11614. "description": "现货量.",
  11615. "type": "string"
  11616. },
  11617. "statu": {
  11618. "description": "状态,0-未结束 1-已结束.",
  11619. "type": "integer"
  11620. },
  11621. "totalpl": {
  11622. "description": "总盈亏.",
  11623. "type": "number"
  11624. },
  11625. "totalqty": {
  11626. "description": "总敞口.",
  11627. "type": "string"
  11628. },
  11629. "type": {
  11630. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11631. "type": "integer"
  11632. }
  11633. }
  11634. },
  11635. "erms3.QuerySpotContractAppleFormRsp": {
  11636. "type": "object",
  11637. "properties": {
  11638. "goodses": {
  11639. "description": "合约列表",
  11640. "type": "array",
  11641. "items": {
  11642. "$ref": "#/definitions/models.GoodsIDAndName"
  11643. }
  11644. },
  11645. "oppositeusers": {
  11646. "description": "对方账号列表",
  11647. "type": "array",
  11648. "items": {
  11649. "$ref": "#/definitions/erms3.CustomerInfo"
  11650. }
  11651. },
  11652. "ouruser": {
  11653. "description": "我方账号",
  11654. "$ref": "#/definitions/erms3.CustomerInfo"
  11655. },
  11656. "warehouseinfos": {
  11657. "description": "仓库信息列表",
  11658. "type": "array",
  11659. "items": {
  11660. "$ref": "#/definitions/models.Warehouseinfo"
  11661. }
  11662. },
  11663. "wrstandards": {
  11664. "description": "仓单标准列表",
  11665. "type": "array",
  11666. "items": {
  11667. "$ref": "#/definitions/models.WRStandardInfo"
  11668. }
  11669. }
  11670. }
  11671. },
  11672. "erms3.QuerySpotContractInfoRsp": {
  11673. "type": "object",
  11674. "properties": {
  11675. "accountid": {
  11676. "description": "表示交易员ID.",
  11677. "type": "integer"
  11678. },
  11679. "curdeliveryqty": {
  11680. "description": "表示未交收量.",
  11681. "type": "number"
  11682. },
  11683. "customername": {
  11684. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11685. "type": "string"
  11686. },
  11687. "deliverygoodsid": {
  11688. "description": "表示品种ID.",
  11689. "type": "string"
  11690. },
  11691. "deliveryqty": {
  11692. "description": "表示交收量.",
  11693. "type": "number"
  11694. },
  11695. "matchaccountid": {
  11696. "description": "表示业务员ID.",
  11697. "type": "integer"
  11698. },
  11699. "matchcustomername": {
  11700. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11701. "type": "string"
  11702. },
  11703. "priceqty": {
  11704. "description": "表示定价量.",
  11705. "type": "number"
  11706. },
  11707. "relatedbizid": {
  11708. "description": "表示业务ID.",
  11709. "type": "string"
  11710. },
  11711. "signdate": {
  11712. "description": "表示签订日期.",
  11713. "type": "string"
  11714. },
  11715. "spotcontractid": {
  11716. "description": "合同ID",
  11717. "type": "string"
  11718. },
  11719. "status": {
  11720. "description": "表示状态,0-履约中 1-已完成.",
  11721. "type": "integer"
  11722. },
  11723. "totalqty": {
  11724. "description": "表示合同量.",
  11725. "type": "number"
  11726. },
  11727. "unpricedqty": {
  11728. "description": "表示未定价量.",
  11729. "type": "number"
  11730. },
  11731. "wrstandardname": {
  11732. "description": "表示商品ID.",
  11733. "type": "string"
  11734. }
  11735. }
  11736. },
  11737. "erms3.QueryUserInfoAppliesRsp": {
  11738. "type": "object",
  11739. "required": [
  11740. "userid"
  11741. ],
  11742. "properties": {
  11743. "biznature": {
  11744. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11745. "type": "integer"
  11746. },
  11747. "contactname": {
  11748. "description": "联系人",
  11749. "type": "string"
  11750. },
  11751. "createtime": {
  11752. "description": "开户申请时间",
  11753. "type": "string"
  11754. },
  11755. "userid": {
  11756. "description": "用户ID(自增ID)",
  11757. "type": "integer"
  11758. },
  11759. "userinfotype": {
  11760. "description": "用户信息类型 - 1:个人 2:企业",
  11761. "type": "integer"
  11762. },
  11763. "username": {
  11764. "description": "用户姓名",
  11765. "type": "string"
  11766. },
  11767. "userstate": {
  11768. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11769. "type": "integer"
  11770. }
  11771. }
  11772. },
  11773. "erms3.QueryUserInfosRsp": {
  11774. "type": "object",
  11775. "required": [
  11776. "userid"
  11777. ],
  11778. "properties": {
  11779. "biznature": {
  11780. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11781. "type": "integer"
  11782. },
  11783. "contactname": {
  11784. "description": "联系人",
  11785. "type": "string"
  11786. },
  11787. "customername": {
  11788. "description": "客户名称(企业名称)",
  11789. "type": "string"
  11790. },
  11791. "userid": {
  11792. "description": "用户ID",
  11793. "type": "integer"
  11794. },
  11795. "userinfotype": {
  11796. "description": "用户信息类型 - 1:个人 2:企业",
  11797. "type": "integer"
  11798. },
  11799. "userstatus": {
  11800. "description": "用户状态 - 1:正常 2:注销",
  11801. "type": "integer"
  11802. }
  11803. }
  11804. },
  11805. "erms3.SoptContractDetail": {
  11806. "type": "object",
  11807. "required": [
  11808. "deliverygoodsid",
  11809. "producttype",
  11810. "unitname",
  11811. "warehouseid",
  11812. "wrstandardid",
  11813. "wrstandardname"
  11814. ],
  11815. "properties": {
  11816. "deliverygoodsdesc": {
  11817. "description": "现货品种说明",
  11818. "type": "string"
  11819. },
  11820. "deliverygoodsid": {
  11821. "description": "现货品种ID",
  11822. "type": "integer"
  11823. },
  11824. "deliverygoodsname": {
  11825. "description": "现货品种名称",
  11826. "type": "string"
  11827. },
  11828. "pointdesc": {
  11829. "description": "点价描述",
  11830. "type": "string"
  11831. },
  11832. "producttype": {
  11833. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11834. "type": "integer"
  11835. },
  11836. "producttypename": {
  11837. "description": "产品类型名称",
  11838. "type": "string"
  11839. },
  11840. "spotPointOrderVoList": {
  11841. "description": "点价列表",
  11842. "type": "array",
  11843. "items": {
  11844. "$ref": "#/definitions/erms3.SpotPointOrder"
  11845. }
  11846. },
  11847. "spotPriceOrderList": {
  11848. "description": "定价列表",
  11849. "type": "array",
  11850. "items": {
  11851. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11852. }
  11853. },
  11854. "unitname": {
  11855. "description": "单位名称",
  11856. "type": "string"
  11857. },
  11858. "warehouseid": {
  11859. "description": "仓库ID",
  11860. "type": "integer"
  11861. },
  11862. "warehousename": {
  11863. "description": "仓库名称",
  11864. "type": "string"
  11865. },
  11866. "wrstandardid": {
  11867. "description": "交易标的ID",
  11868. "type": "integer"
  11869. },
  11870. "wrstandardname": {
  11871. "description": "交易标的名称",
  11872. "type": "string"
  11873. }
  11874. }
  11875. },
  11876. "erms3.SpotPointOrder": {
  11877. "type": "object",
  11878. "required": [
  11879. "basic",
  11880. "goodsid",
  11881. "qty"
  11882. ],
  11883. "properties": {
  11884. "basic": {
  11885. "description": "基差",
  11886. "type": "number"
  11887. },
  11888. "deliveryenddate": {
  11889. "description": "交收结束日期",
  11890. "type": "string"
  11891. },
  11892. "deliverystartdate": {
  11893. "description": "交收开始日期",
  11894. "type": "string"
  11895. },
  11896. "enddate": {
  11897. "description": "点价结束日期",
  11898. "type": "string"
  11899. },
  11900. "goodsid": {
  11901. "description": "商品ID",
  11902. "type": "integer"
  11903. },
  11904. "goodsname": {
  11905. "description": "商品名称",
  11906. "type": "string"
  11907. },
  11908. "qty": {
  11909. "description": "数量",
  11910. "type": "number"
  11911. },
  11912. "startdate": {
  11913. "description": "点价开始日期",
  11914. "type": "string"
  11915. }
  11916. }
  11917. },
  11918. "erms3.SpotPriceOrder": {
  11919. "type": "object",
  11920. "required": [
  11921. "amount",
  11922. "price",
  11923. "qty"
  11924. ],
  11925. "properties": {
  11926. "amount": {
  11927. "description": "金额",
  11928. "type": "number"
  11929. },
  11930. "deliveryenddate": {
  11931. "description": "交收结束日期",
  11932. "type": "string"
  11933. },
  11934. "deliverystartdate": {
  11935. "description": "交收开始日期",
  11936. "type": "string"
  11937. },
  11938. "price": {
  11939. "description": "价格",
  11940. "type": "number"
  11941. },
  11942. "qty": {
  11943. "description": "数量",
  11944. "type": "number"
  11945. }
  11946. }
  11947. },
  11948. "hsby.GetHsbyMyCountRsp": {
  11949. "type": "object",
  11950. "properties": {
  11951. "myCouponCount": {
  11952. "description": "我的优惠卷数量",
  11953. "type": "integer"
  11954. },
  11955. "myOrderDetailListingCount": {
  11956. "description": "我的订单求购中数量",
  11957. "type": "integer"
  11958. },
  11959. "myOrderDetailPreCount": {
  11960. "description": "我的订单抢购中数量",
  11961. "type": "integer"
  11962. },
  11963. "myPackageUnReceiveCount": {
  11964. "description": "我的包裹待收货数量",
  11965. "type": "integer"
  11966. },
  11967. "myPackageUnSendCount": {
  11968. "description": "我的包裹待发货数量",
  11969. "type": "integer"
  11970. },
  11971. "myPayOrderCount": {
  11972. "description": "我的订单待付款数量",
  11973. "type": "integer"
  11974. }
  11975. }
  11976. },
  11977. "hsby.QueryProvincesAndCitiesRsp": {
  11978. "type": "object",
  11979. "properties": {
  11980. "cities": {
  11981. "description": "市",
  11982. "type": "array",
  11983. "items": {
  11984. "$ref": "#/definitions/models.Division"
  11985. }
  11986. },
  11987. "province": {
  11988. "description": "省",
  11989. "$ref": "#/definitions/models.Division"
  11990. }
  11991. }
  11992. },
  11993. "models.Clientfixedadconfig": {
  11994. "type": "object",
  11995. "required": [
  11996. "adsort",
  11997. "adtype"
  11998. ],
  11999. "properties": {
  12000. "adsort": {
  12001. "description": "排序",
  12002. "type": "integer"
  12003. },
  12004. "adtype": {
  12005. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12006. "type": "integer"
  12007. },
  12008. "areauserid": {
  12009. "description": "所属机构ID",
  12010. "type": "integer"
  12011. },
  12012. "createdate": {
  12013. "description": "创建时间",
  12014. "type": "string"
  12015. },
  12016. "creatorid": {
  12017. "description": "创建人",
  12018. "type": "integer"
  12019. },
  12020. "imagepath": {
  12021. "description": "图片",
  12022. "type": "string"
  12023. },
  12024. "isshow": {
  12025. "description": "是否展示 - 0:不展示 1:展示",
  12026. "type": "integer"
  12027. },
  12028. "modifierid": {
  12029. "description": "操作人",
  12030. "type": "integer"
  12031. },
  12032. "recsize": {
  12033. "description": "推荐尺寸",
  12034. "type": "string"
  12035. },
  12036. "title": {
  12037. "description": "标题",
  12038. "type": "string"
  12039. },
  12040. "updatedate": {
  12041. "description": "更新时间",
  12042. "type": "string"
  12043. },
  12044. "urlcontent": {
  12045. "description": "链接(地址或商品ID)",
  12046. "type": "string"
  12047. },
  12048. "urltype": {
  12049. "description": "链接类型 - 1:直接地址 2:商品ID",
  12050. "type": "integer"
  12051. }
  12052. }
  12053. },
  12054. "models.Division": {
  12055. "type": "object",
  12056. "required": [
  12057. "autoid",
  12058. "divisioncode"
  12059. ],
  12060. "properties": {
  12061. "autoid": {
  12062. "description": "自增ID",
  12063. "type": "integer"
  12064. },
  12065. "divisioncode": {
  12066. "description": "行政代码",
  12067. "type": "string"
  12068. },
  12069. "divisionlevel": {
  12070. "description": "行政级别",
  12071. "type": "string"
  12072. },
  12073. "divisionname": {
  12074. "description": "行政名称",
  12075. "type": "string"
  12076. },
  12077. "modifierid": {
  12078. "description": "修改人",
  12079. "type": "integer"
  12080. },
  12081. "modifytime": {
  12082. "description": "修改时间",
  12083. "type": "string"
  12084. },
  12085. "parentcode": {
  12086. "description": "上级行政代码",
  12087. "type": "string"
  12088. },
  12089. "pathname": {
  12090. "description": "路径名称",
  12091. "type": "string"
  12092. },
  12093. "postcode": {
  12094. "description": "邮政编码",
  12095. "type": "string"
  12096. },
  12097. "separablename": {
  12098. "description": "可拆分的全称",
  12099. "type": "string"
  12100. },
  12101. "shortcode": {
  12102. "description": "地区简码",
  12103. "type": "string"
  12104. }
  12105. }
  12106. },
  12107. "models.Enumdicitem": {
  12108. "type": "object",
  12109. "required": [
  12110. "autoid",
  12111. "enumdiccode",
  12112. "enumdicid",
  12113. "enumitemname"
  12114. ],
  12115. "properties": {
  12116. "autoid": {
  12117. "description": "自增ID",
  12118. "type": "integer"
  12119. },
  12120. "bankmappedvalue": {
  12121. "description": "银行服务对应值",
  12122. "type": "string"
  12123. },
  12124. "enumdiccode": {
  12125. "description": "所属枚举代码",
  12126. "type": "string"
  12127. },
  12128. "enumdicid": {
  12129. "description": "所属枚举ID",
  12130. "type": "integer"
  12131. },
  12132. "enumdicname": {
  12133. "description": "枚举项名称",
  12134. "type": "string"
  12135. },
  12136. "enumitemname": {
  12137. "description": "枚举项值",
  12138. "type": "integer"
  12139. },
  12140. "enumitemstatus": {
  12141. "description": "枚举项状态 - 1.启用 2.不启用",
  12142. "type": "integer"
  12143. },
  12144. "enumitemvalue": {
  12145. "description": "通用值 - [币种通用简写]",
  12146. "type": "string"
  12147. },
  12148. "param1": {
  12149. "description": "参数1[币种:币种小数位]",
  12150. "type": "string"
  12151. },
  12152. "param2": {
  12153. "description": "参数1[币种:币种显示单位]",
  12154. "type": "string"
  12155. },
  12156. "remark": {
  12157. "description": "备注",
  12158. "type": "string"
  12159. }
  12160. }
  12161. },
  12162. "models.ErmcpHisExposure": {
  12163. "type": "object",
  12164. "properties": {
  12165. "needhedgeexposoure": {
  12166. "description": "应套保敞口",
  12167. "type": "number"
  12168. },
  12169. "reckondate": {
  12170. "description": "日照时期(yyyyMMdd)",
  12171. "type": "string"
  12172. },
  12173. "totalexposure": {
  12174. "description": "总敞口",
  12175. "type": "number"
  12176. }
  12177. }
  12178. },
  12179. "models.ErmcpMiddleGoodsModel": {
  12180. "type": "object",
  12181. "properties": {
  12182. "areauserid": {
  12183. "description": "机构用户ID",
  12184. "type": "integer"
  12185. },
  12186. "enumdicname": {
  12187. "description": "单位名称",
  12188. "type": "string"
  12189. },
  12190. "evaluateratio": {
  12191. "description": "估价系数",
  12192. "type": "number"
  12193. },
  12194. "goodsgroupid": {
  12195. "description": "关联期货品种ID",
  12196. "type": "integer"
  12197. },
  12198. "isvalid": {
  12199. "description": "状态 0-无效(停用) 1-有效(正常)",
  12200. "type": "integer"
  12201. },
  12202. "middlegoodscode": {
  12203. "description": "套保品种代码",
  12204. "type": "string"
  12205. },
  12206. "middlegoodsid": {
  12207. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12208. "type": "integer"
  12209. },
  12210. "middlegoodsname": {
  12211. "description": "套保品种名称",
  12212. "type": "string"
  12213. },
  12214. "modifytime": {
  12215. "description": "修改时间",
  12216. "type": "string"
  12217. },
  12218. "needhedgeratio": {
  12219. "description": "套保比率",
  12220. "type": "number"
  12221. },
  12222. "qtydecimalplace": {
  12223. "description": "数量小数位",
  12224. "type": "integer"
  12225. },
  12226. "relatedgoodsid": {
  12227. "description": "关联交易商品ID",
  12228. "type": "integer"
  12229. },
  12230. "relatedgoodstype": {
  12231. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12232. "type": "integer"
  12233. }
  12234. }
  12235. },
  12236. "models.ErmcpReportDayFR": {
  12237. "type": "object",
  12238. "properties": {
  12239. "areauserid": {
  12240. "description": "所属机构",
  12241. "type": "integer"
  12242. },
  12243. "collectinvoiceamount": {
  12244. "description": "今日开票金额",
  12245. "type": "number"
  12246. },
  12247. "collectinvoicecount": {
  12248. "description": "今日开票笔数",
  12249. "type": "integer"
  12250. },
  12251. "collectmoneyamount": {
  12252. "description": "今日收款金额",
  12253. "type": "number"
  12254. },
  12255. "collectmoneycount": {
  12256. "description": "今日收款笔数",
  12257. "type": "integer"
  12258. },
  12259. "payinvoiceamount": {
  12260. "description": "今日收票金额",
  12261. "type": "number"
  12262. },
  12263. "payinvoicecount": {
  12264. "description": "今日收票笔数",
  12265. "type": "integer"
  12266. },
  12267. "paymoneyamount": {
  12268. "description": "今日付款金额",
  12269. "type": "number"
  12270. },
  12271. "paymoneycount": {
  12272. "description": "今日付款笔数",
  12273. "type": "integer"
  12274. },
  12275. "reckondate": {
  12276. "description": "日照时期(yyyyMMdd)",
  12277. "type": "string"
  12278. },
  12279. "updatetime": {
  12280. "description": "更新时间",
  12281. "type": "string"
  12282. }
  12283. }
  12284. },
  12285. "models.ErmcpWrstandard": {
  12286. "type": "object",
  12287. "properties": {
  12288. "areauserid": {
  12289. "description": "所属机构",
  12290. "type": "integer"
  12291. },
  12292. "createtime": {
  12293. "description": "创建时间",
  12294. "type": "string"
  12295. },
  12296. "creatorid": {
  12297. "description": "创建人",
  12298. "type": "integer"
  12299. },
  12300. "deliverygoodsid": {
  12301. "description": "品种ID",
  12302. "type": "integer"
  12303. },
  12304. "enumdicname": {
  12305. "description": "单位名称",
  12306. "type": "string"
  12307. },
  12308. "isvalid": {
  12309. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12310. "type": "integer"
  12311. },
  12312. "minivalue": {
  12313. "description": "最小变动值",
  12314. "type": "integer"
  12315. },
  12316. "minivaluedp": {
  12317. "description": "最小变动值小数位",
  12318. "type": "integer"
  12319. },
  12320. "realminivalue": {
  12321. "description": "实际最小变动值",
  12322. "type": "integer"
  12323. },
  12324. "realminivaluedp": {
  12325. "description": "实际最小变动值小数位",
  12326. "type": "integer"
  12327. },
  12328. "remark": {
  12329. "description": "备注",
  12330. "type": "string"
  12331. },
  12332. "unitid": {
  12333. "description": "单位ID",
  12334. "type": "integer"
  12335. },
  12336. "updatetime": {
  12337. "description": "更新时间",
  12338. "type": "string"
  12339. },
  12340. "wrstandardcode": {
  12341. "description": "现货商品代码",
  12342. "type": "string"
  12343. },
  12344. "wrstandardid": {
  12345. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12346. "type": "integer"
  12347. },
  12348. "wrstandardname": {
  12349. "description": "现货商品名称",
  12350. "type": "string"
  12351. }
  12352. }
  12353. },
  12354. "models.Externalexchange": {
  12355. "type": "object",
  12356. "required": [
  12357. "autoid"
  12358. ],
  12359. "properties": {
  12360. "autoid": {
  12361. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  12362. "type": "integer"
  12363. },
  12364. "exchangefullname": {
  12365. "description": "外部交易所全称",
  12366. "type": "string"
  12367. },
  12368. "exexchangecode": {
  12369. "description": "外部交易所代码",
  12370. "type": "string"
  12371. },
  12372. "exexchangename": {
  12373. "description": "外部交易所名称(简称)",
  12374. "type": "string"
  12375. },
  12376. "ismarketprice": {
  12377. "description": "是否支持市价 - 0:不支持 1:支持",
  12378. "type": "integer"
  12379. },
  12380. "quotegear": {
  12381. "description": "行情档位(1-10)",
  12382. "type": "integer"
  12383. },
  12384. "showbrokerflag": {
  12385. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  12386. "type": "integer"
  12387. },
  12388. "updatetime": {
  12389. "description": "更新时间",
  12390. "type": "string"
  12391. }
  12392. }
  12393. },
  12394. "models.Goods": {
  12395. "type": "object",
  12396. "required": [
  12397. "goodscode",
  12398. "goodsid",
  12399. "goodsname",
  12400. "marketid"
  12401. ],
  12402. "properties": {
  12403. "agreeunit": {
  12404. "description": "合约单位",
  12405. "type": "number"
  12406. },
  12407. "auditaccountid": {
  12408. "description": "审核操作员账号",
  12409. "type": "integer"
  12410. },
  12411. "audittime": {
  12412. "description": "审核时间",
  12413. "type": "string"
  12414. },
  12415. "cancelaccountid": {
  12416. "description": "注销操作员账号",
  12417. "type": "integer"
  12418. },
  12419. "canceltime": {
  12420. "description": "注销时间",
  12421. "type": "string"
  12422. },
  12423. "closepricemode": {
  12424. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12425. "type": "integer"
  12426. },
  12427. "closepriceparam": {
  12428. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12429. "type": "number"
  12430. },
  12431. "createtime": {
  12432. "description": "创建时间",
  12433. "type": "string"
  12434. },
  12435. "creatorid": {
  12436. "description": "创建人",
  12437. "type": "integer"
  12438. },
  12439. "currencyid": {
  12440. "description": "报价货币ID",
  12441. "type": "integer"
  12442. },
  12443. "cutmode": {
  12444. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12445. "type": "integer"
  12446. },
  12447. "decimalplace": {
  12448. "description": "报价小数位",
  12449. "type": "integer"
  12450. },
  12451. "delistingdate": {
  12452. "description": "商品退市时间(状态:退市) -- 已作废",
  12453. "type": "string"
  12454. },
  12455. "delistingmode": {
  12456. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12457. "type": "integer"
  12458. },
  12459. "deliveryflag": {
  12460. "description": "交割标志 - 0:不可交割 1:可交割",
  12461. "type": "integer"
  12462. },
  12463. "forceclosemode": {
  12464. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12465. "type": "integer"
  12466. },
  12467. "forceclosevalue": {
  12468. "description": "定期强平参数 [收益权]",
  12469. "type": "integer"
  12470. },
  12471. "goodscode": {
  12472. "description": "商品代码(内部)",
  12473. "type": "string"
  12474. },
  12475. "goodscurrencyid": {
  12476. "description": "合约货币ID",
  12477. "type": "integer"
  12478. },
  12479. "goodsgroupid": {
  12480. "description": "所属商品组ID",
  12481. "type": "integer"
  12482. },
  12483. "goodsid": {
  12484. "description": "商品ID(自增ID SEQ_GOODS)",
  12485. "type": "integer"
  12486. },
  12487. "goodsname": {
  12488. "description": "商品名称",
  12489. "type": "string"
  12490. },
  12491. "goodsquotetype": {
  12492. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12493. "type": "integer"
  12494. },
  12495. "goodsstatus": {
  12496. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12497. "type": "integer"
  12498. },
  12499. "goodstradetype": {
  12500. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12501. "type": "integer"
  12502. },
  12503. "goodunitid": {
  12504. "description": "报价单位ID",
  12505. "type": "integer"
  12506. },
  12507. "hasquoter": {
  12508. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12509. "type": "integer"
  12510. },
  12511. "hqprotecttime": {
  12512. "description": "行情保护时间(秒)",
  12513. "type": "integer"
  12514. },
  12515. "innerdealmode": {
  12516. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12517. "type": "integer"
  12518. },
  12519. "isbuylimited": {
  12520. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12521. "type": "integer"
  12522. },
  12523. "lasttradedate": {
  12524. "description": "最后交易日期(状态:待退市)",
  12525. "type": "string"
  12526. },
  12527. "listingdate": {
  12528. "description": "交易开始日期",
  12529. "type": "string"
  12530. },
  12531. "marketid": {
  12532. "description": "所属市场ID",
  12533. "type": "integer"
  12534. },
  12535. "modifierid": {
  12536. "description": "修改人",
  12537. "type": "integer"
  12538. },
  12539. "modifystatus": {
  12540. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12541. "type": "integer"
  12542. },
  12543. "modifytime": {
  12544. "description": "修改时间",
  12545. "type": "string"
  12546. },
  12547. "outerdealmode": {
  12548. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12549. "type": "integer"
  12550. },
  12551. "outgoodscode": {
  12552. "description": "商品代码(外部)",
  12553. "type": "string"
  12554. },
  12555. "qtydecimalplace": {
  12556. "description": "成交量小数位",
  12557. "type": "integer"
  12558. },
  12559. "quotegear": {
  12560. "description": "行情档位(1-10)",
  12561. "type": "integer"
  12562. },
  12563. "quoteminunit": {
  12564. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12565. "type": "integer"
  12566. },
  12567. "quoteshowtype": {
  12568. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12569. "type": "integer"
  12570. },
  12571. "quoteshowtypeinterval": {
  12572. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12573. "type": "integer"
  12574. },
  12575. "remark": {
  12576. "description": "备注",
  12577. "type": "string"
  12578. }
  12579. }
  12580. },
  12581. "models.GoodsBrand": {
  12582. "type": "object",
  12583. "properties": {
  12584. "brandid": {
  12585. "description": "品牌ID",
  12586. "type": "integer"
  12587. },
  12588. "brandname": {
  12589. "description": "品牌名称",
  12590. "type": "string"
  12591. },
  12592. "isvalid": {
  12593. "description": "是否有效 - 0:无效 1:有效",
  12594. "type": "integer"
  12595. }
  12596. }
  12597. },
  12598. "models.GoodsGroupConvert": {
  12599. "type": "object",
  12600. "properties": {
  12601. "convertratio": {
  12602. "description": "折算系数",
  12603. "type": "number"
  12604. },
  12605. "dstgoodsgroupid": {
  12606. "description": "目标期货品种ID",
  12607. "type": "integer"
  12608. },
  12609. "goodsgroupname": {
  12610. "description": "期货品种名称",
  12611. "type": "string"
  12612. },
  12613. "outergroupcode": {
  12614. "description": "期货品种代码",
  12615. "type": "string"
  12616. },
  12617. "srcgoodsgroupid": {
  12618. "description": "源期货品种ID",
  12619. "type": "integer"
  12620. }
  12621. }
  12622. },
  12623. "models.GoodsIDAndName": {
  12624. "type": "object",
  12625. "required": [
  12626. "goodscode",
  12627. "goodsid",
  12628. "goodsname",
  12629. "marketid"
  12630. ],
  12631. "properties": {
  12632. "goodscode": {
  12633. "description": "商品代码(内部)",
  12634. "type": "string"
  12635. },
  12636. "goodsid": {
  12637. "description": "商品ID(自增ID SEQ_GOODS)",
  12638. "type": "integer"
  12639. },
  12640. "goodsname": {
  12641. "description": "商品名称",
  12642. "type": "string"
  12643. },
  12644. "marketid": {
  12645. "description": "所属市场ID",
  12646. "type": "integer"
  12647. }
  12648. }
  12649. },
  12650. "models.GoodsTypeModel": {
  12651. "type": "object",
  12652. "properties": {
  12653. "modelid": {
  12654. "description": "型号ID",
  12655. "type": "integer"
  12656. },
  12657. "modelname": {
  12658. "description": "型号名称",
  12659. "type": "string"
  12660. },
  12661. "updatetime": {
  12662. "description": "更新时间",
  12663. "type": "string"
  12664. }
  12665. }
  12666. },
  12667. "models.Goodsgroup": {
  12668. "type": "object",
  12669. "required": [
  12670. "goodsgroupid",
  12671. "goodsgroupname",
  12672. "goodsgroupstatus",
  12673. "marketid"
  12674. ],
  12675. "properties": {
  12676. "agreeunit": {
  12677. "description": "合约单位",
  12678. "type": "number"
  12679. },
  12680. "canshort": {
  12681. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12682. "type": "integer"
  12683. },
  12684. "closepricemode": {
  12685. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12686. "type": "integer"
  12687. },
  12688. "closepriceparam": {
  12689. "description": "强平最新价浮动比例 - 方式为2时使用",
  12690. "type": "number"
  12691. },
  12692. "createtime": {
  12693. "description": "创建时间",
  12694. "type": "string"
  12695. },
  12696. "creatorid": {
  12697. "description": "创建人",
  12698. "type": "integer"
  12699. },
  12700. "currencyid": {
  12701. "description": "报价货币ID",
  12702. "type": "integer"
  12703. },
  12704. "decimalplace": {
  12705. "description": "报价小数位",
  12706. "type": "integer"
  12707. },
  12708. "exercisetype": {
  12709. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  12710. "type": "integer"
  12711. },
  12712. "exexchangeid": {
  12713. "description": "外部交易所ID[通道交易]",
  12714. "type": "integer"
  12715. },
  12716. "goodsgroupid": {
  12717. "description": "商品组ID(自增ID)",
  12718. "type": "integer"
  12719. },
  12720. "goodsgroupname": {
  12721. "description": "商品组名称",
  12722. "type": "string"
  12723. },
  12724. "goodsgroupstatus": {
  12725. "description": "商品组状态 - 1:正常 2:注销",
  12726. "type": "integer"
  12727. },
  12728. "goodunitid": {
  12729. "description": "报价单位ID",
  12730. "type": "integer"
  12731. },
  12732. "innerdealmode": {
  12733. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12734. "type": "integer"
  12735. },
  12736. "isbuylimited": {
  12737. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12738. "type": "integer"
  12739. },
  12740. "marketid": {
  12741. "description": "所属市场ID",
  12742. "type": "integer"
  12743. },
  12744. "modifierid": {
  12745. "description": "修改人",
  12746. "type": "integer"
  12747. },
  12748. "modifytime": {
  12749. "description": "修改时间",
  12750. "type": "string"
  12751. },
  12752. "outerdealmode": {
  12753. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12754. "type": "integer"
  12755. },
  12756. "outergroupcode": {
  12757. "description": "外部商品组代码[通道交易]",
  12758. "type": "string"
  12759. },
  12760. "premiumdecimalplace": {
  12761. "description": "权利金小数位[场外期权]",
  12762. "type": "integer"
  12763. },
  12764. "premiumspreadalgorithm": {
  12765. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  12766. "type": "integer"
  12767. },
  12768. "premiumspreadvalue": {
  12769. "description": "权利金点差值[场外期权]",
  12770. "type": "number"
  12771. },
  12772. "qtydecimalplace": {
  12773. "description": "成交量小数位",
  12774. "type": "integer"
  12775. },
  12776. "quotegear": {
  12777. "description": "行情档位(1-10)",
  12778. "type": "integer"
  12779. },
  12780. "quoteminunit": {
  12781. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12782. "type": "integer"
  12783. },
  12784. "quoterid": {
  12785. "description": "报价商ID[场外期权]",
  12786. "type": "integer"
  12787. },
  12788. "quotesourcegroupid": {
  12789. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12790. "type": "integer"
  12791. },
  12792. "syncgoodsqty": {
  12793. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12794. "type": "integer"
  12795. }
  12796. }
  12797. },
  12798. "models.HsbyBuyMyPayOrder": {
  12799. "type": "object",
  12800. "required": [
  12801. "goodscode",
  12802. "goodsname",
  12803. "tradeid",
  12804. "trademode"
  12805. ],
  12806. "properties": {
  12807. "agreeunit": {
  12808. "description": "合约单位",
  12809. "type": "number"
  12810. },
  12811. "buyaccountid": {
  12812. "description": "买方账号ID[报价币种]",
  12813. "type": "integer"
  12814. },
  12815. "buyorderid": {
  12816. "description": "买方委托单号",
  12817. "type": "string"
  12818. },
  12819. "createtime": {
  12820. "description": "创建时间",
  12821. "type": "string"
  12822. },
  12823. "currencysign": {
  12824. "description": "货币符号",
  12825. "type": "string"
  12826. },
  12827. "decimalplace": {
  12828. "description": "报价小数位",
  12829. "type": "integer"
  12830. },
  12831. "goodscode": {
  12832. "description": "商品代码(内部)",
  12833. "type": "string"
  12834. },
  12835. "goodsid": {
  12836. "description": "商品ID",
  12837. "type": "integer"
  12838. },
  12839. "goodsname": {
  12840. "description": "商品名称",
  12841. "type": "string"
  12842. },
  12843. "marketid": {
  12844. "description": "市场ID",
  12845. "type": "integer"
  12846. },
  12847. "offamount": {
  12848. "description": "优惠金额",
  12849. "type": "number"
  12850. },
  12851. "originalamount": {
  12852. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  12853. "type": "number"
  12854. },
  12855. "payamount": {
  12856. "description": "支付金额 = TradeAmount + TradeCharge",
  12857. "type": "number"
  12858. },
  12859. "payflag": {
  12860. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12861. "type": "integer"
  12862. },
  12863. "paylimitedtime": {
  12864. "description": "支付期限",
  12865. "type": "string"
  12866. },
  12867. "paytime": {
  12868. "description": "付款时间",
  12869. "type": "string"
  12870. },
  12871. "picurls1": {
  12872. "description": "预售商品介绍图片[多张用逗号分隔]",
  12873. "type": "string"
  12874. },
  12875. "picurls2": {
  12876. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12877. "type": "string"
  12878. },
  12879. "sellaccountid": {
  12880. "description": "卖方账号ID[报价币种]",
  12881. "type": "integer"
  12882. },
  12883. "sellorderid": {
  12884. "description": "卖方委托单号",
  12885. "type": "string"
  12886. },
  12887. "tradeamount": {
  12888. "description": "成交金额",
  12889. "type": "number"
  12890. },
  12891. "tradecharge": {
  12892. "description": "成交手续费(买方)",
  12893. "type": "number"
  12894. },
  12895. "tradedate": {
  12896. "description": "交易日(yyyyMMdd)",
  12897. "type": "string"
  12898. },
  12899. "tradeid": {
  12900. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12901. "type": "string"
  12902. },
  12903. "trademode": {
  12904. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12905. "type": "integer"
  12906. },
  12907. "tradeprice": {
  12908. "description": "成交价格",
  12909. "type": "number"
  12910. },
  12911. "tradeqty": {
  12912. "description": "成交数量",
  12913. "type": "integer"
  12914. },
  12915. "vendorname1": {
  12916. "description": "预售商品供应商名称",
  12917. "type": "string"
  12918. },
  12919. "vendorname2": {
  12920. "description": "挂牌商品供应商名称",
  12921. "type": "string"
  12922. }
  12923. }
  12924. },
  12925. "models.HsbyBuyMyTradeDetail": {
  12926. "type": "object",
  12927. "required": [
  12928. "accountid",
  12929. "buyorsell",
  12930. "goodscode",
  12931. "goodsid",
  12932. "goodsname",
  12933. "marketid",
  12934. "orderid",
  12935. "qty",
  12936. "time",
  12937. "trademode"
  12938. ],
  12939. "properties": {
  12940. "accountid": {
  12941. "description": "账户ID[报价币种]",
  12942. "type": "integer"
  12943. },
  12944. "agreeunit": {
  12945. "description": "合约单位",
  12946. "type": "number"
  12947. },
  12948. "amount": {
  12949. "description": "金额 = 价格 * 数量 * 合约单位",
  12950. "type": "number"
  12951. },
  12952. "buyorsell": {
  12953. "description": "买卖 - 0:买 1:卖",
  12954. "type": "integer"
  12955. },
  12956. "currencysign": {
  12957. "description": "货币符号",
  12958. "type": "string"
  12959. },
  12960. "decimalplace": {
  12961. "description": "报价小数位",
  12962. "type": "integer"
  12963. },
  12964. "goodscode": {
  12965. "description": "商品代码(内部)",
  12966. "type": "string"
  12967. },
  12968. "goodsid": {
  12969. "description": "商品ID",
  12970. "type": "integer"
  12971. },
  12972. "goodsname": {
  12973. "description": "商品名称",
  12974. "type": "string"
  12975. },
  12976. "marketid": {
  12977. "description": "市场ID",
  12978. "type": "integer"
  12979. },
  12980. "orderid": {
  12981. "description": "单号(成交单号)",
  12982. "type": "string"
  12983. },
  12984. "picurls1": {
  12985. "description": "预售商品介绍图片[多张用逗号分隔]",
  12986. "type": "string"
  12987. },
  12988. "picurls2": {
  12989. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12990. "type": "string"
  12991. },
  12992. "price": {
  12993. "description": "价格",
  12994. "type": "number"
  12995. },
  12996. "qty": {
  12997. "description": "数量",
  12998. "type": "integer"
  12999. },
  13000. "time": {
  13001. "description": "时间",
  13002. "type": "string"
  13003. },
  13004. "trademode": {
  13005. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13006. "type": "integer"
  13007. },
  13008. "vendorname1": {
  13009. "description": "预售商品供应商名称",
  13010. "type": "string"
  13011. },
  13012. "vendorname2": {
  13013. "description": "挂牌商品供应商名称",
  13014. "type": "string"
  13015. }
  13016. }
  13017. },
  13018. "models.HsbyGoodsOrderDetail": {
  13019. "type": "object",
  13020. "required": [
  13021. "buyorsell",
  13022. "orderid",
  13023. "ordertime"
  13024. ],
  13025. "properties": {
  13026. "buyorsell": {
  13027. "description": "买卖 - 0:买 1:卖",
  13028. "type": "integer"
  13029. },
  13030. "currencysign": {
  13031. "description": "货币符号",
  13032. "type": "string"
  13033. },
  13034. "customername": {
  13035. "description": "客户名称(企业名称),已脱敏",
  13036. "type": "string"
  13037. },
  13038. "enableqty": {
  13039. "description": "可用数量",
  13040. "type": "integer"
  13041. },
  13042. "goodunit": {
  13043. "description": "报价单位",
  13044. "type": "string"
  13045. },
  13046. "orderid": {
  13047. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13048. "type": "string"
  13049. },
  13050. "orderprice": {
  13051. "description": "委托价格",
  13052. "type": "number"
  13053. },
  13054. "ordertime": {
  13055. "description": "委托时间",
  13056. "type": "string"
  13057. }
  13058. }
  13059. },
  13060. "models.HsbyListingGoodsDetail": {
  13061. "type": "object",
  13062. "required": [
  13063. "goodscode",
  13064. "goodsid",
  13065. "goodsname",
  13066. "marketid",
  13067. "trademode"
  13068. ],
  13069. "properties": {
  13070. "agreeunit": {
  13071. "description": "合约单位",
  13072. "type": "number"
  13073. },
  13074. "buymaxqty": {
  13075. "description": "购买上限 [71] - 0为不限",
  13076. "type": "integer"
  13077. },
  13078. "currency": {
  13079. "description": "货币",
  13080. "type": "string"
  13081. },
  13082. "currencysign": {
  13083. "description": "货币符号",
  13084. "type": "string"
  13085. },
  13086. "decimalplace": {
  13087. "description": "报价小数位",
  13088. "type": "integer"
  13089. },
  13090. "desccityid": {
  13091. "description": "目的地(市)ID",
  13092. "type": "integer"
  13093. },
  13094. "descprovinceid": {
  13095. "description": "目的地(省)ID",
  13096. "type": "integer"
  13097. },
  13098. "goodscode": {
  13099. "description": "商品代码(内部)",
  13100. "type": "string"
  13101. },
  13102. "goodsdesc": {
  13103. "description": "商品详情",
  13104. "type": "string"
  13105. },
  13106. "goodsid": {
  13107. "description": "商品ID(自增ID SEQ_GOODS)",
  13108. "type": "integer"
  13109. },
  13110. "goodsname": {
  13111. "description": "商品名称",
  13112. "type": "string"
  13113. },
  13114. "goodsprice": {
  13115. "description": "商品价格",
  13116. "type": "number"
  13117. },
  13118. "hotindex": {
  13119. "description": "景点热度",
  13120. "type": "integer"
  13121. },
  13122. "last": {
  13123. "description": "现价",
  13124. "type": "number"
  13125. },
  13126. "limitdown": {
  13127. "description": "跌停价",
  13128. "type": "number"
  13129. },
  13130. "limitup": {
  13131. "description": "涨停价",
  13132. "type": "number"
  13133. },
  13134. "lotsize": {
  13135. "description": "手数最小变动单位",
  13136. "type": "integer"
  13137. },
  13138. "marketid": {
  13139. "description": "所属市场ID",
  13140. "type": "integer"
  13141. },
  13142. "picurls": {
  13143. "description": "介绍图片[多张用逗号分隔]",
  13144. "type": "string"
  13145. },
  13146. "quoteminunit": {
  13147. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13148. "type": "integer"
  13149. },
  13150. "stepvalue": {
  13151. "description": "价格最小变动单位",
  13152. "type": "number"
  13153. },
  13154. "trademode": {
  13155. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13156. "type": "integer"
  13157. },
  13158. "vendorattr": {
  13159. "description": "供应商附件(多张,逗号分隔)",
  13160. "type": "string"
  13161. },
  13162. "vendorname": {
  13163. "description": "供应商名称",
  13164. "type": "string"
  13165. },
  13166. "vendorphone": {
  13167. "description": "供应商客服电话",
  13168. "type": "string"
  13169. },
  13170. "videourls": {
  13171. "description": "介绍视频[多张用逗号分隔]",
  13172. "type": "string"
  13173. }
  13174. }
  13175. },
  13176. "models.HsbyMarketGoods": {
  13177. "type": "object",
  13178. "required": [
  13179. "accountid",
  13180. "buyorsell",
  13181. "goodscode",
  13182. "goodsid",
  13183. "goodsname",
  13184. "marketid",
  13185. "orderid",
  13186. "trademode"
  13187. ],
  13188. "properties": {
  13189. "accountid": {
  13190. "description": "账户ID[报价币种]",
  13191. "type": "integer"
  13192. },
  13193. "agreeunit": {
  13194. "description": "合约单位",
  13195. "type": "number"
  13196. },
  13197. "buyorsell": {
  13198. "description": "买卖 - 0:买 1:卖",
  13199. "type": "integer"
  13200. },
  13201. "categoryid": {
  13202. "description": "类别ID(WRCATEGORY)",
  13203. "type": "integer"
  13204. },
  13205. "currency": {
  13206. "description": "货币",
  13207. "type": "string"
  13208. },
  13209. "currencysign": {
  13210. "description": "货币符号",
  13211. "type": "string"
  13212. },
  13213. "customername": {
  13214. "description": "卖家名称",
  13215. "type": "string"
  13216. },
  13217. "decimalplace": {
  13218. "description": "报价小数位",
  13219. "type": "integer"
  13220. },
  13221. "goodscode": {
  13222. "description": "商品代码(内部)",
  13223. "type": "string"
  13224. },
  13225. "goodsid": {
  13226. "description": "商品ID",
  13227. "type": "integer"
  13228. },
  13229. "goodsname": {
  13230. "description": "商品名称",
  13231. "type": "string"
  13232. },
  13233. "goodsprice": {
  13234. "description": "商品价格",
  13235. "type": "number"
  13236. },
  13237. "hascoupon": {
  13238. "description": "是否可用优惠卷",
  13239. "type": "boolean"
  13240. },
  13241. "hotindex": {
  13242. "description": "景点热度",
  13243. "type": "integer"
  13244. },
  13245. "marketid": {
  13246. "description": "市场ID",
  13247. "type": "integer"
  13248. },
  13249. "orderid": {
  13250. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13251. "type": "string"
  13252. },
  13253. "orderprice": {
  13254. "description": "委托价格",
  13255. "type": "number"
  13256. },
  13257. "orderstatus": {
  13258. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13259. "type": "integer"
  13260. },
  13261. "picurls": {
  13262. "description": "介绍图片[多张用逗号分隔]",
  13263. "type": "string"
  13264. },
  13265. "quoteminunit": {
  13266. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13267. "type": "integer"
  13268. },
  13269. "sellUserID": {
  13270. "description": "卖方UserID",
  13271. "type": "integer"
  13272. },
  13273. "trademode": {
  13274. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13275. "type": "integer"
  13276. },
  13277. "videourls": {
  13278. "description": "介绍视频[多张用逗号分隔]",
  13279. "type": "string"
  13280. }
  13281. }
  13282. },
  13283. "models.HsbyMarketGoodsDetail": {
  13284. "type": "object",
  13285. "required": [
  13286. "accountid",
  13287. "buyorsell",
  13288. "goodscode",
  13289. "goodsid",
  13290. "goodsname",
  13291. "marketid",
  13292. "orderid",
  13293. "orderqty",
  13294. "trademode"
  13295. ],
  13296. "properties": {
  13297. "accountid": {
  13298. "description": "账户ID[报价币种]",
  13299. "type": "integer"
  13300. },
  13301. "agreeunit": {
  13302. "description": "合约单位",
  13303. "type": "number"
  13304. },
  13305. "buymaxqty": {
  13306. "description": "购买上限 [71] - 0为不限",
  13307. "type": "integer"
  13308. },
  13309. "buyorsell": {
  13310. "description": "买卖 - 0:买 1:卖",
  13311. "type": "integer"
  13312. },
  13313. "cancelqty": {
  13314. "description": "撤单数量",
  13315. "type": "integer"
  13316. },
  13317. "categoryid": {
  13318. "description": "类别ID(WRCATEGORY)",
  13319. "type": "integer"
  13320. },
  13321. "currency": {
  13322. "description": "货币",
  13323. "type": "string"
  13324. },
  13325. "currencysign": {
  13326. "description": "货币符号",
  13327. "type": "string"
  13328. },
  13329. "customername": {
  13330. "description": "卖家名称",
  13331. "type": "string"
  13332. },
  13333. "decimalplace": {
  13334. "description": "报价小数位",
  13335. "type": "integer"
  13336. },
  13337. "goodscode": {
  13338. "description": "商品代码(内部)",
  13339. "type": "string"
  13340. },
  13341. "goodsdesc": {
  13342. "description": "商品详情",
  13343. "type": "string"
  13344. },
  13345. "goodsid": {
  13346. "description": "商品ID",
  13347. "type": "integer"
  13348. },
  13349. "goodsname": {
  13350. "description": "商品名称",
  13351. "type": "string"
  13352. },
  13353. "goodsprice": {
  13354. "description": "商品价格",
  13355. "type": "number"
  13356. },
  13357. "hotindex": {
  13358. "description": "景点热度",
  13359. "type": "integer"
  13360. },
  13361. "lotsize": {
  13362. "description": "手数最小变动单位",
  13363. "type": "integer"
  13364. },
  13365. "marketid": {
  13366. "description": "市场ID",
  13367. "type": "integer"
  13368. },
  13369. "orderid": {
  13370. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13371. "type": "string"
  13372. },
  13373. "orderprice": {
  13374. "description": "委托价格",
  13375. "type": "number"
  13376. },
  13377. "orderqty": {
  13378. "description": "委托数量",
  13379. "type": "integer"
  13380. },
  13381. "orderstatus": {
  13382. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13383. "type": "integer"
  13384. },
  13385. "picurls": {
  13386. "description": "介绍图片[多张用逗号分隔]",
  13387. "type": "string"
  13388. },
  13389. "quoteminunit": {
  13390. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13391. "type": "integer"
  13392. },
  13393. "sellUserID": {
  13394. "description": "卖方UserID",
  13395. "type": "integer"
  13396. },
  13397. "trademode": {
  13398. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13399. "type": "integer"
  13400. },
  13401. "tradeqty": {
  13402. "description": "成交数量",
  13403. "type": "integer"
  13404. },
  13405. "vendorattr": {
  13406. "description": "供应商附件(多张,逗号分隔)",
  13407. "type": "string"
  13408. },
  13409. "vendorname": {
  13410. "description": "供应商名称",
  13411. "type": "string"
  13412. },
  13413. "vendorphone": {
  13414. "description": "供应商客服电话",
  13415. "type": "string"
  13416. },
  13417. "videourls": {
  13418. "description": "介绍视频[多张用逗号分隔]",
  13419. "type": "string"
  13420. }
  13421. }
  13422. },
  13423. "models.HsbyMarketInfo": {
  13424. "type": "object",
  13425. "required": [
  13426. "marketid",
  13427. "marketstatus",
  13428. "trademode"
  13429. ],
  13430. "properties": {
  13431. "marketid": {
  13432. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13433. "type": "integer"
  13434. },
  13435. "marketname": {
  13436. "description": "市场名称",
  13437. "type": "string"
  13438. },
  13439. "marketstatus": {
  13440. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13441. "type": "integer"
  13442. },
  13443. "trademode": {
  13444. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13445. "type": "integer"
  13446. }
  13447. }
  13448. },
  13449. "models.HsbyMyGoods": {
  13450. "type": "object",
  13451. "required": [
  13452. "accountid",
  13453. "goodscode",
  13454. "goodsid",
  13455. "goodsname",
  13456. "marketid",
  13457. "trademode"
  13458. ],
  13459. "properties": {
  13460. "accountid": {
  13461. "description": "账号Id",
  13462. "type": "integer"
  13463. },
  13464. "agreeunit": {
  13465. "description": "合约单位",
  13466. "type": "number"
  13467. },
  13468. "buyaverageprice": {
  13469. "description": "持仓均价",
  13470. "type": "number"
  13471. },
  13472. "buycurholderamount": {
  13473. "description": "买当前持仓总金额[商品币种]",
  13474. "type": "number"
  13475. },
  13476. "buycurpositionqty": {
  13477. "description": "买当前持仓总数量",
  13478. "type": "integer"
  13479. },
  13480. "buymaxqty": {
  13481. "description": "购买上限 [71] - 0为不限",
  13482. "type": "integer"
  13483. },
  13484. "currencysign": {
  13485. "description": "货币符号",
  13486. "type": "string"
  13487. },
  13488. "decimalplace": {
  13489. "description": "报价小数位",
  13490. "type": "integer"
  13491. },
  13492. "enableqty": {
  13493. "description": "可用数量",
  13494. "type": "integer"
  13495. },
  13496. "goodscode": {
  13497. "description": "商品代码(内部)",
  13498. "type": "string"
  13499. },
  13500. "goodsid": {
  13501. "description": "商品Id",
  13502. "type": "integer"
  13503. },
  13504. "goodsname": {
  13505. "description": "商品名称",
  13506. "type": "string"
  13507. },
  13508. "goodsprice": {
  13509. "description": "商品价格",
  13510. "type": "number"
  13511. },
  13512. "goodsstatus": {
  13513. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13514. "type": "integer"
  13515. },
  13516. "last": {
  13517. "description": "现价(仅使用于挂牌点选)",
  13518. "type": "number"
  13519. },
  13520. "limitdown": {
  13521. "description": "跌停价(仅使用于挂牌点选)",
  13522. "type": "number"
  13523. },
  13524. "limitup": {
  13525. "description": "涨停价(仅使用于挂牌点选)",
  13526. "type": "number"
  13527. },
  13528. "lotsize": {
  13529. "description": "手数最小变动单位",
  13530. "type": "integer"
  13531. },
  13532. "marketid": {
  13533. "description": "所属市场ID",
  13534. "type": "integer"
  13535. },
  13536. "picurls": {
  13537. "description": "介绍图片[多张用逗号分隔]",
  13538. "type": "string"
  13539. },
  13540. "quoteminunit": {
  13541. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13542. "type": "integer"
  13543. },
  13544. "stepvalue": {
  13545. "description": "价格最小变动单位",
  13546. "type": "number"
  13547. },
  13548. "trademode": {
  13549. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13550. "type": "integer"
  13551. }
  13552. }
  13553. },
  13554. "models.HsbyMyPackage": {
  13555. "type": "object",
  13556. "required": [
  13557. "goodscode",
  13558. "goodsname",
  13559. "takeorderid",
  13560. "trademode"
  13561. ],
  13562. "properties": {
  13563. "accountid": {
  13564. "description": "账户ID",
  13565. "type": "integer"
  13566. },
  13567. "address": {
  13568. "description": "提货人详细地址",
  13569. "type": "string"
  13570. },
  13571. "agreeunit": {
  13572. "description": "合约单位",
  13573. "type": "number"
  13574. },
  13575. "amount": {
  13576. "description": "提货金额",
  13577. "type": "number"
  13578. },
  13579. "auditer": {
  13580. "description": "审核人",
  13581. "type": "integer"
  13582. },
  13583. "audittime": {
  13584. "description": "审核时间",
  13585. "type": "string"
  13586. },
  13587. "averageprice": {
  13588. "description": "均价",
  13589. "type": "number"
  13590. },
  13591. "cardnum": {
  13592. "description": "提货人证件号码",
  13593. "type": "string"
  13594. },
  13595. "cardtypeid": {
  13596. "description": "提货人证件类型",
  13597. "type": "integer"
  13598. },
  13599. "checkremark": {
  13600. "description": "审核备注",
  13601. "type": "string"
  13602. },
  13603. "currencysign": {
  13604. "description": "货币符号",
  13605. "type": "string"
  13606. },
  13607. "decimalplace": {
  13608. "description": "报价小数位",
  13609. "type": "integer"
  13610. },
  13611. "goodscode": {
  13612. "description": "商品代码(内部)",
  13613. "type": "string"
  13614. },
  13615. "goodsid": {
  13616. "description": "商品ID",
  13617. "type": "integer"
  13618. },
  13619. "goodsname": {
  13620. "description": "商品名称",
  13621. "type": "string"
  13622. },
  13623. "handlestatus": {
  13624. "description": "处理状态",
  13625. "type": "integer"
  13626. },
  13627. "marketid": {
  13628. "description": "市场ID",
  13629. "type": "integer"
  13630. },
  13631. "phonenum": {
  13632. "description": "提货人联系方式",
  13633. "type": "string"
  13634. },
  13635. "picurls": {
  13636. "description": "介绍图片[多张用逗号分隔]",
  13637. "type": "string"
  13638. },
  13639. "qty": {
  13640. "description": "提货数量",
  13641. "type": "number"
  13642. },
  13643. "recivername": {
  13644. "description": "提货人姓名",
  13645. "type": "string"
  13646. },
  13647. "reqtime": {
  13648. "description": "更新时间",
  13649. "type": "string"
  13650. },
  13651. "takemode": {
  13652. "description": "提货方式 - 2:自提 3:配送",
  13653. "type": "integer"
  13654. },
  13655. "takeorderid": {
  13656. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13657. "type": "string"
  13658. },
  13659. "takeorderstatus": {
  13660. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13661. "type": "integer"
  13662. },
  13663. "takeremark": {
  13664. "description": "提货备注",
  13665. "type": "string"
  13666. },
  13667. "tradedate": {
  13668. "description": "交易日(yyyyMMdd)",
  13669. "type": "string"
  13670. },
  13671. "trademode": {
  13672. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13673. "type": "integer"
  13674. },
  13675. "userid": {
  13676. "description": "用户ID",
  13677. "type": "integer"
  13678. },
  13679. "vendorname": {
  13680. "description": "供应商名称",
  13681. "type": "string"
  13682. }
  13683. }
  13684. },
  13685. "models.HsbyPreGoods": {
  13686. "type": "object",
  13687. "required": [
  13688. "goodscode",
  13689. "goodsid",
  13690. "goodsname",
  13691. "marketid",
  13692. "trademode"
  13693. ],
  13694. "properties": {
  13695. "agreeunit": {
  13696. "description": "合约单位",
  13697. "type": "number"
  13698. },
  13699. "currency": {
  13700. "description": "货币",
  13701. "type": "string"
  13702. },
  13703. "currencysign": {
  13704. "description": "货币符号",
  13705. "type": "string"
  13706. },
  13707. "decimalplace": {
  13708. "description": "报价小数位",
  13709. "type": "integer"
  13710. },
  13711. "desccityid": {
  13712. "description": "目的地(市)",
  13713. "type": "integer"
  13714. },
  13715. "descprovinceid": {
  13716. "description": "目的地(省)",
  13717. "type": "integer"
  13718. },
  13719. "enableqty": {
  13720. "description": "剩余数量",
  13721. "type": "integer"
  13722. },
  13723. "goodscode": {
  13724. "description": "商品代码(内部)",
  13725. "type": "string"
  13726. },
  13727. "goodsid": {
  13728. "description": "商品ID(自增ID SEQ_GOODS)",
  13729. "type": "integer"
  13730. },
  13731. "goodsname": {
  13732. "description": "商品名称",
  13733. "type": "string"
  13734. },
  13735. "goodsstatus": {
  13736. "description": "商品状态- 2:未上市 3:上市",
  13737. "type": "integer"
  13738. },
  13739. "lasttradedate": {
  13740. "description": "最后交易日期(状态:待退市)",
  13741. "type": "string"
  13742. },
  13743. "listingdate": {
  13744. "description": "交易开始日期",
  13745. "type": "string"
  13746. },
  13747. "marketid": {
  13748. "description": "所属市场ID",
  13749. "type": "integer"
  13750. },
  13751. "picurls": {
  13752. "description": "介绍图片[多张用逗号分隔]",
  13753. "type": "string"
  13754. },
  13755. "presaledqty": {
  13756. "description": "已预售量(预售结束时更新)",
  13757. "type": "integer"
  13758. },
  13759. "presaleqty": {
  13760. "description": "预售数量",
  13761. "type": "integer"
  13762. },
  13763. "quoteminunit": {
  13764. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13765. "type": "integer"
  13766. },
  13767. "refprice": {
  13768. "description": "参考价格[一口价]",
  13769. "type": "number"
  13770. },
  13771. "relatedgoodsid": {
  13772. "description": "关联交易合约ID",
  13773. "type": "integer"
  13774. },
  13775. "trademode": {
  13776. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13777. "type": "integer"
  13778. },
  13779. "videourls": {
  13780. "description": "介绍视频[多张用逗号分隔]",
  13781. "type": "string"
  13782. }
  13783. }
  13784. },
  13785. "models.HsbyPreGoodsDetail": {
  13786. "type": "object",
  13787. "required": [
  13788. "goodscode",
  13789. "goodsid",
  13790. "goodsname",
  13791. "marketid",
  13792. "trademode"
  13793. ],
  13794. "properties": {
  13795. "agreeunit": {
  13796. "description": "合约单位",
  13797. "type": "number"
  13798. },
  13799. "buymaxqty": {
  13800. "description": "购买上限 [71] - 0为不限",
  13801. "type": "integer"
  13802. },
  13803. "currency": {
  13804. "description": "货币",
  13805. "type": "string"
  13806. },
  13807. "currencysign": {
  13808. "description": "货币符号",
  13809. "type": "string"
  13810. },
  13811. "customername": {
  13812. "description": "发行单位",
  13813. "type": "string"
  13814. },
  13815. "decimalplace": {
  13816. "description": "报价小数位",
  13817. "type": "integer"
  13818. },
  13819. "desccityid": {
  13820. "description": "目的地(市)ID",
  13821. "type": "integer"
  13822. },
  13823. "descprovinceid": {
  13824. "description": "目的地(省)ID",
  13825. "type": "integer"
  13826. },
  13827. "enableqty": {
  13828. "description": "剩余数量",
  13829. "type": "integer"
  13830. },
  13831. "goodscode": {
  13832. "description": "商品代码(内部)",
  13833. "type": "string"
  13834. },
  13835. "goodsdesc": {
  13836. "description": "商品详情",
  13837. "type": "string"
  13838. },
  13839. "goodsid": {
  13840. "description": "商品ID(自增ID SEQ_GOODS)",
  13841. "type": "integer"
  13842. },
  13843. "goodsname": {
  13844. "description": "商品名称",
  13845. "type": "string"
  13846. },
  13847. "goodsstatus": {
  13848. "description": "商品状态- 2:未上市 3:上市",
  13849. "type": "integer"
  13850. },
  13851. "goodunit": {
  13852. "description": "报价单位",
  13853. "type": "string"
  13854. },
  13855. "lasttradedate": {
  13856. "description": "最后交易日期(状态:待退市)",
  13857. "type": "string"
  13858. },
  13859. "listingdate": {
  13860. "description": "交易开始日期",
  13861. "type": "string"
  13862. },
  13863. "lotsize": {
  13864. "description": "手数最小变动单位",
  13865. "type": "integer"
  13866. },
  13867. "marketid": {
  13868. "description": "所属市场ID",
  13869. "type": "integer"
  13870. },
  13871. "picurls": {
  13872. "description": "介绍图片[多张用逗号分隔]",
  13873. "type": "string"
  13874. },
  13875. "presaledqty": {
  13876. "description": "已预售量(预售结束时更新)",
  13877. "type": "integer"
  13878. },
  13879. "presaleqty": {
  13880. "description": "预售数量",
  13881. "type": "integer"
  13882. },
  13883. "quoteminunit": {
  13884. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13885. "type": "integer"
  13886. },
  13887. "refprice": {
  13888. "description": "参考价格[一口价]",
  13889. "type": "number"
  13890. },
  13891. "relatedgoodsid": {
  13892. "description": "关联交易合约ID",
  13893. "type": "integer"
  13894. },
  13895. "stepvalue": {
  13896. "description": "价格最小变动单位",
  13897. "type": "number"
  13898. },
  13899. "trademode": {
  13900. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13901. "type": "integer"
  13902. },
  13903. "vendorattr": {
  13904. "description": "供应商附件(多张,逗号分隔)",
  13905. "type": "string"
  13906. },
  13907. "vendorname": {
  13908. "description": "供应商名称",
  13909. "type": "string"
  13910. },
  13911. "vendorphone": {
  13912. "description": "供应商客服电话",
  13913. "type": "string"
  13914. },
  13915. "videourls": {
  13916. "description": "介绍视频[多张用逗号分隔]",
  13917. "type": "string"
  13918. }
  13919. }
  13920. },
  13921. "models.HsbySellCollectionOrder": {
  13922. "type": "object",
  13923. "required": [
  13924. "goodscode",
  13925. "goodsname",
  13926. "tradeid",
  13927. "trademode"
  13928. ],
  13929. "properties": {
  13930. "agreeunit": {
  13931. "description": "合约单位",
  13932. "type": "number"
  13933. },
  13934. "buyaccountid": {
  13935. "description": "买方账号ID[报价币种]",
  13936. "type": "integer"
  13937. },
  13938. "buyorderid": {
  13939. "description": "买方委托单号",
  13940. "type": "string"
  13941. },
  13942. "createtime": {
  13943. "description": "创建时间",
  13944. "type": "string"
  13945. },
  13946. "currencysign": {
  13947. "description": "货币符号",
  13948. "type": "string"
  13949. },
  13950. "decimalplace": {
  13951. "description": "报价小数位",
  13952. "type": "integer"
  13953. },
  13954. "goodscode": {
  13955. "description": "商品代码(内部)",
  13956. "type": "string"
  13957. },
  13958. "goodsid": {
  13959. "description": "商品ID",
  13960. "type": "integer"
  13961. },
  13962. "goodsname": {
  13963. "description": "商品名称",
  13964. "type": "string"
  13965. },
  13966. "marketid": {
  13967. "description": "市场ID",
  13968. "type": "integer"
  13969. },
  13970. "offamount": {
  13971. "description": "优惠金额",
  13972. "type": "number"
  13973. },
  13974. "payamount": {
  13975. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13976. "type": "number"
  13977. },
  13978. "payflag": {
  13979. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13980. "type": "integer"
  13981. },
  13982. "paylimitedtime": {
  13983. "description": "支付期限",
  13984. "type": "string"
  13985. },
  13986. "paytime": {
  13987. "description": "付款时间",
  13988. "type": "string"
  13989. },
  13990. "picurls": {
  13991. "description": "商品介绍图片[多张用逗号分隔]",
  13992. "type": "string"
  13993. },
  13994. "sellaccountid": {
  13995. "description": "卖方账号ID[报价币种]",
  13996. "type": "integer"
  13997. },
  13998. "sellorderid": {
  13999. "description": "卖方委托单号",
  14000. "type": "string"
  14001. },
  14002. "tradeamount": {
  14003. "description": "成交金额",
  14004. "type": "number"
  14005. },
  14006. "tradecharge": {
  14007. "description": "成交手续费(买方)",
  14008. "type": "number"
  14009. },
  14010. "tradedate": {
  14011. "description": "交易日(yyyyMMdd)",
  14012. "type": "string"
  14013. },
  14014. "tradeid": {
  14015. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14016. "type": "string"
  14017. },
  14018. "trademode": {
  14019. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14020. "type": "integer"
  14021. },
  14022. "tradeprice": {
  14023. "description": "成交价格",
  14024. "type": "number"
  14025. },
  14026. "tradeqty": {
  14027. "description": "成交数量",
  14028. "type": "integer"
  14029. }
  14030. }
  14031. },
  14032. "models.HsbySellMyDetail": {
  14033. "type": "object",
  14034. "required": [
  14035. "accountid",
  14036. "buyorsell",
  14037. "goodscode",
  14038. "goodsid",
  14039. "goodsname",
  14040. "marketid",
  14041. "orderid",
  14042. "time",
  14043. "trademode"
  14044. ],
  14045. "properties": {
  14046. "accountid": {
  14047. "description": "账户ID[报价币种]",
  14048. "type": "integer"
  14049. },
  14050. "agreeunit": {
  14051. "description": "合约单位",
  14052. "type": "number"
  14053. },
  14054. "buyorsell": {
  14055. "description": "买卖 - 0:买 1:卖",
  14056. "type": "integer"
  14057. },
  14058. "currencysign": {
  14059. "description": "货币符号",
  14060. "type": "string"
  14061. },
  14062. "decimalplace": {
  14063. "description": "报价小数位",
  14064. "type": "integer"
  14065. },
  14066. "goodscode": {
  14067. "description": "商品代码(内部)",
  14068. "type": "string"
  14069. },
  14070. "goodsid": {
  14071. "description": "商品ID",
  14072. "type": "integer"
  14073. },
  14074. "goodsname": {
  14075. "description": "商品名称",
  14076. "type": "string"
  14077. },
  14078. "marketid": {
  14079. "description": "市场ID",
  14080. "type": "integer"
  14081. },
  14082. "orderid": {
  14083. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  14084. "type": "string"
  14085. },
  14086. "ordertype": {
  14087. "description": "单据类型:0 - 发布中, 1 - 已完成",
  14088. "type": "integer"
  14089. },
  14090. "picurls": {
  14091. "description": "介绍图片[多张用逗号分隔]",
  14092. "type": "string"
  14093. },
  14094. "price": {
  14095. "description": "价格",
  14096. "type": "number"
  14097. },
  14098. "qty": {
  14099. "description": "数量",
  14100. "type": "integer"
  14101. },
  14102. "time": {
  14103. "description": "时间",
  14104. "type": "string"
  14105. },
  14106. "trademode": {
  14107. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14108. "type": "integer"
  14109. },
  14110. "vendorname": {
  14111. "description": "供应商名称",
  14112. "type": "string"
  14113. }
  14114. }
  14115. },
  14116. "models.HsbyTopGoods": {
  14117. "type": "object",
  14118. "required": [
  14119. "goodscode",
  14120. "goodsid",
  14121. "goodsname",
  14122. "marketid",
  14123. "trademode"
  14124. ],
  14125. "properties": {
  14126. "agreeunit": {
  14127. "description": "合约单位",
  14128. "type": "number"
  14129. },
  14130. "currency": {
  14131. "description": "货币",
  14132. "type": "string"
  14133. },
  14134. "currencysign": {
  14135. "description": "货币符号",
  14136. "type": "string"
  14137. },
  14138. "decimalplace": {
  14139. "description": "报价小数位",
  14140. "type": "integer"
  14141. },
  14142. "desccityid": {
  14143. "description": "目的地(市)",
  14144. "type": "integer"
  14145. },
  14146. "descprovinceid": {
  14147. "description": "目的地(省)",
  14148. "type": "integer"
  14149. },
  14150. "goodscode": {
  14151. "description": "商品代码(内部)",
  14152. "type": "string"
  14153. },
  14154. "goodsid": {
  14155. "description": "商品ID(自增ID SEQ_GOODS)",
  14156. "type": "integer"
  14157. },
  14158. "goodsname": {
  14159. "description": "商品名称",
  14160. "type": "string"
  14161. },
  14162. "hotindex": {
  14163. "description": "景点热度",
  14164. "type": "integer"
  14165. },
  14166. "last": {
  14167. "description": "现价",
  14168. "type": "number"
  14169. },
  14170. "marketid": {
  14171. "description": "所属市场ID",
  14172. "type": "integer"
  14173. },
  14174. "picurls": {
  14175. "description": "介绍图片[多张用逗号分隔]",
  14176. "type": "string"
  14177. },
  14178. "quoteminunit": {
  14179. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14180. "type": "integer"
  14181. },
  14182. "trademode": {
  14183. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14184. "type": "integer"
  14185. },
  14186. "videourls": {
  14187. "description": "介绍视频[多张用逗号分隔]",
  14188. "type": "string"
  14189. }
  14190. }
  14191. },
  14192. "models.HybsMyBuyOrderDetail": {
  14193. "type": "object",
  14194. "required": [
  14195. "accountid",
  14196. "buyorsell",
  14197. "goodscode",
  14198. "goodsid",
  14199. "goodsname",
  14200. "marketid",
  14201. "orderid",
  14202. "orderqty",
  14203. "ordertime",
  14204. "trademode"
  14205. ],
  14206. "properties": {
  14207. "accountid": {
  14208. "description": "账户ID[报价币种]",
  14209. "type": "integer"
  14210. },
  14211. "agreeunit": {
  14212. "description": "合约单位",
  14213. "type": "number"
  14214. },
  14215. "buyorsell": {
  14216. "description": "买卖 - 0:买 1:卖",
  14217. "type": "integer"
  14218. },
  14219. "cancelqty": {
  14220. "description": "撤单数量",
  14221. "type": "integer"
  14222. },
  14223. "currencysign": {
  14224. "description": "货币符号",
  14225. "type": "string"
  14226. },
  14227. "decimalplace": {
  14228. "description": "报价小数位",
  14229. "type": "integer"
  14230. },
  14231. "goodscode": {
  14232. "description": "商品代码(内部)",
  14233. "type": "string"
  14234. },
  14235. "goodsid": {
  14236. "description": "商品ID",
  14237. "type": "integer"
  14238. },
  14239. "goodsname": {
  14240. "description": "商品名称",
  14241. "type": "string"
  14242. },
  14243. "listingselecttype": {
  14244. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14245. "type": "integer"
  14246. },
  14247. "marketid": {
  14248. "description": "市场ID",
  14249. "type": "integer"
  14250. },
  14251. "mybuystatus": {
  14252. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14253. "type": "integer"
  14254. },
  14255. "orderamount": {
  14256. "description": "委托金额",
  14257. "type": "number"
  14258. },
  14259. "orderid": {
  14260. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14261. "type": "string"
  14262. },
  14263. "orderprice": {
  14264. "description": "委托价格",
  14265. "type": "number"
  14266. },
  14267. "orderqty": {
  14268. "description": "委托数量",
  14269. "type": "integer"
  14270. },
  14271. "orderstatus": {
  14272. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14273. "type": "integer"
  14274. },
  14275. "ordertime": {
  14276. "description": "委托时间",
  14277. "type": "string"
  14278. },
  14279. "picurls1": {
  14280. "description": "预售商品介绍图片[多张用逗号分隔]",
  14281. "type": "string"
  14282. },
  14283. "picurls2": {
  14284. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14285. "type": "string"
  14286. },
  14287. "trademode": {
  14288. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14289. "type": "integer"
  14290. },
  14291. "tradeqty": {
  14292. "description": "成交数量",
  14293. "type": "integer"
  14294. },
  14295. "vendorname1": {
  14296. "description": "预售商品供应商名称",
  14297. "type": "string"
  14298. },
  14299. "vendorname2": {
  14300. "description": "挂牌商品供应商名称",
  14301. "type": "string"
  14302. }
  14303. }
  14304. },
  14305. "models.Loginaccount": {
  14306. "type": "object",
  14307. "required": [
  14308. "loginid"
  14309. ],
  14310. "properties": {
  14311. "canoutin": {
  14312. "description": "是否可出入金 - 0:不可 1:可",
  14313. "type": "integer"
  14314. },
  14315. "clientroleid": {
  14316. "description": "终端角色ID",
  14317. "type": "integer"
  14318. },
  14319. "haslogined": {
  14320. "description": "是否已登录 - 0:未登录 1:已登录",
  14321. "type": "integer"
  14322. },
  14323. "hasupdatedpwd": {
  14324. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14325. "type": "integer"
  14326. },
  14327. "lastloginip": {
  14328. "description": "最新登录地址",
  14329. "type": "string"
  14330. },
  14331. "lastloginmode": {
  14332. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14333. "type": "integer"
  14334. },
  14335. "lastloginremark": {
  14336. "description": "最新登录描述",
  14337. "type": "string"
  14338. },
  14339. "lastlogintime": {
  14340. "description": "最新登录时间",
  14341. "type": "string"
  14342. },
  14343. "logincode": {
  14344. "description": "登录代码",
  14345. "type": "string"
  14346. },
  14347. "loginfailnum": {
  14348. "description": "连续登录失败次数(登录成功时清零)",
  14349. "type": "integer"
  14350. },
  14351. "loginid": {
  14352. "description": "登陆账号",
  14353. "type": "integer"
  14354. },
  14355. "loginport": {
  14356. "description": "最新登录端口",
  14357. "type": "integer"
  14358. },
  14359. "loginstatus": {
  14360. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14361. "type": "integer"
  14362. },
  14363. "loginusertype": {
  14364. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14365. "type": "integer"
  14366. },
  14367. "modifierid": {
  14368. "description": "修改人",
  14369. "type": "integer"
  14370. },
  14371. "modifytime": {
  14372. "description": "修改时间",
  14373. "type": "string"
  14374. },
  14375. "pwdwrongcount": {
  14376. "description": "密码错误次数",
  14377. "type": "integer"
  14378. },
  14379. "taaccountrighttype": {
  14380. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14381. "type": "integer"
  14382. },
  14383. "unfreezetime": {
  14384. "description": "账户解冻时间",
  14385. "type": "string"
  14386. },
  14387. "userid": {
  14388. "description": "用户ID",
  14389. "type": "integer"
  14390. }
  14391. }
  14392. },
  14393. "models.Market": {
  14394. "type": "object",
  14395. "required": [
  14396. "marketid",
  14397. "marketstatus",
  14398. "openmethod",
  14399. "reckonpricealgorithm",
  14400. "trademode",
  14401. "tradeproperty"
  14402. ],
  14403. "properties": {
  14404. "auctionwrtype": {
  14405. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14406. "type": "integer"
  14407. },
  14408. "canacceptquote": {
  14409. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14410. "type": "integer"
  14411. },
  14412. "cangoodsexercise": {
  14413. "description": "[期权]是否可现货行权- 0:否 1:是",
  14414. "type": "integer"
  14415. },
  14416. "cangoodsexercisetype": {
  14417. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14418. "type": "integer"
  14419. },
  14420. "canmanualquotestrike": {
  14421. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14422. "type": "integer"
  14423. },
  14424. "canmutistage": {
  14425. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14426. "type": "integer"
  14427. },
  14428. "canpreexercise": {
  14429. "description": "[期权]是否可预申报- 0:否 1:是",
  14430. "type": "integer"
  14431. },
  14432. "clearinterval": {
  14433. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14434. "type": "integer"
  14435. },
  14436. "contracttmp": {
  14437. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14438. "type": "string"
  14439. },
  14440. "exchareaid": {
  14441. "description": "所属交易所,可以没有",
  14442. "type": "integer"
  14443. },
  14444. "goodstype": {
  14445. "description": "商品类型 - 1:交易商品 2:仓单商品",
  14446. "type": "integer"
  14447. },
  14448. "hasrebate": {
  14449. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  14450. "type": "integer"
  14451. },
  14452. "hastradecredit": {
  14453. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  14454. "type": "integer"
  14455. },
  14456. "haswr": {
  14457. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  14458. "type": "integer"
  14459. },
  14460. "isdeductmargin": {
  14461. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  14462. "type": "integer"
  14463. },
  14464. "isrecordsource": {
  14465. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  14466. "type": "integer"
  14467. },
  14468. "isreleasemargin": {
  14469. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  14470. "type": "integer"
  14471. },
  14472. "marginformula": {
  14473. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14474. "type": "integer"
  14475. },
  14476. "marginformula2": {
  14477. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14478. "type": "integer"
  14479. },
  14480. "marketid": {
  14481. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14482. "type": "integer"
  14483. },
  14484. "marketname": {
  14485. "description": "市场名称",
  14486. "type": "string"
  14487. },
  14488. "marketserviceid": {
  14489. "description": "市场服务ID",
  14490. "type": "integer"
  14491. },
  14492. "marketstatus": {
  14493. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14494. "type": "integer"
  14495. },
  14496. "markettype": {
  14497. "description": "市场类型- 1:非交易服务 2:交易服务",
  14498. "type": "integer"
  14499. },
  14500. "matchermode": {
  14501. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14502. "type": "integer"
  14503. },
  14504. "openmethod": {
  14505. "description": "开盘模式 - 0 自动 1手动",
  14506. "type": "integer"
  14507. },
  14508. "otcuserid": {
  14509. "description": "场外期权做市商[场外期权]",
  14510. "type": "integer"
  14511. },
  14512. "outersynctime": {
  14513. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14514. "type": "string"
  14515. },
  14516. "pendingflag": {
  14517. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14518. "type": "integer"
  14519. },
  14520. "pendingtime": {
  14521. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14522. "type": "string"
  14523. },
  14524. "performancetempid": {
  14525. "description": "履约计划模板ID - 作废",
  14526. "type": "integer"
  14527. },
  14528. "premiumquotemode": {
  14529. "description": "权利金报价方式 - 1:自动 2:手动",
  14530. "type": "integer"
  14531. },
  14532. "rebateratio": {
  14533. "description": "返利比率[竞价式]",
  14534. "type": "number"
  14535. },
  14536. "reckonorder": {
  14537. "description": "结算顺序",
  14538. "type": "integer"
  14539. },
  14540. "reckonpricealgorithm": {
  14541. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14542. "type": "integer"
  14543. },
  14544. "reckonpriceparam": {
  14545. "description": "结算价参数",
  14546. "type": "integer"
  14547. },
  14548. "reckontime": {
  14549. "description": "结算时间[通道交易-对冲](HH:mm)",
  14550. "type": "string"
  14551. },
  14552. "roleprioritytype": {
  14553. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14554. "type": "integer"
  14555. },
  14556. "selllistingauditflag": {
  14557. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14558. "type": "integer"
  14559. },
  14560. "trademarkettype": {
  14561. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14562. "type": "integer"
  14563. },
  14564. "trademode": {
  14565. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14566. "type": "integer"
  14567. },
  14568. "tradeproperty": {
  14569. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14570. "type": "integer"
  14571. },
  14572. "tradetype": {
  14573. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14574. "type": "integer"
  14575. }
  14576. }
  14577. },
  14578. "models.Marketrun": {
  14579. "type": "object",
  14580. "required": [
  14581. "marketid",
  14582. "nexttradedate",
  14583. "reckonflag",
  14584. "runstatus",
  14585. "tradedate",
  14586. "tradedate2"
  14587. ],
  14588. "properties": {
  14589. "afternexttradedate": {
  14590. "description": "下下交易日",
  14591. "type": "string"
  14592. },
  14593. "clearquoteflag": {
  14594. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14595. "type": "integer"
  14596. },
  14597. "lastreckondate": {
  14598. "description": "最新交易日(结算成功)",
  14599. "type": "string"
  14600. },
  14601. "machinedate": {
  14602. "description": "机器时间",
  14603. "type": "string"
  14604. },
  14605. "manualflag": {
  14606. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14607. "type": "integer"
  14608. },
  14609. "marketid": {
  14610. "description": "市场ID",
  14611. "type": "integer"
  14612. },
  14613. "nexttradedate": {
  14614. "description": "下一交易日",
  14615. "type": "string"
  14616. },
  14617. "pretradedate": {
  14618. "description": "上一交易日",
  14619. "type": "string"
  14620. },
  14621. "reckonflag": {
  14622. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14623. "type": "integer"
  14624. },
  14625. "runstatus": {
  14626. "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.今日免清算",
  14627. "type": "integer"
  14628. },
  14629. "sectionid": {
  14630. "description": "时间段号[多时段时用]",
  14631. "type": "integer"
  14632. },
  14633. "tradedate": {
  14634. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14635. "type": "string"
  14636. },
  14637. "tradedate2": {
  14638. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14639. "type": "string"
  14640. },
  14641. "updatetime": {
  14642. "description": "更新时间",
  14643. "type": "string"
  14644. }
  14645. }
  14646. },
  14647. "models.Messageboard": {
  14648. "type": "object",
  14649. "required": [
  14650. "messageboardid"
  14651. ],
  14652. "properties": {
  14653. "contactnum": {
  14654. "description": "联系电话",
  14655. "type": "string"
  14656. },
  14657. "createtime": {
  14658. "description": "创建时间",
  14659. "type": "string"
  14660. },
  14661. "message": {
  14662. "description": "留言信息",
  14663. "type": "string"
  14664. },
  14665. "messageboardid": {
  14666. "description": "留言簿ID(SEQ_MessageBoard)",
  14667. "type": "integer"
  14668. },
  14669. "userid": {
  14670. "description": "用户ID",
  14671. "type": "integer"
  14672. }
  14673. }
  14674. },
  14675. "models.MyCoupon": {
  14676. "type": "object",
  14677. "required": [
  14678. "accountid",
  14679. "coupontypeid"
  14680. ],
  14681. "properties": {
  14682. "accountid": {
  14683. "description": "资金账户ID",
  14684. "type": "integer"
  14685. },
  14686. "areauserid": {
  14687. "description": "所属机构",
  14688. "type": "integer"
  14689. },
  14690. "conditionvalue": {
  14691. "description": "条件阈值(可为0)",
  14692. "type": "number"
  14693. },
  14694. "couponcategroy": {
  14695. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14696. "type": "integer"
  14697. },
  14698. "couponname": {
  14699. "description": "优惠券名称",
  14700. "type": "string"
  14701. },
  14702. "coupontypeid": {
  14703. "description": "优惠券类型ID",
  14704. "type": "string"
  14705. },
  14706. "couponvalue": {
  14707. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14708. "type": "number"
  14709. },
  14710. "curfreezeqty": {
  14711. "description": "期末冻结数量",
  14712. "type": "integer"
  14713. },
  14714. "curqty": {
  14715. "description": "期末数量",
  14716. "type": "integer"
  14717. },
  14718. "isgeneral": {
  14719. "description": "是否通用券 - 0:否 1:是",
  14720. "type": "integer"
  14721. },
  14722. "isunusable": {
  14723. "description": "是否不可用",
  14724. "type": "boolean"
  14725. },
  14726. "limitedflag": {
  14727. "description": "是否指定商品 - 0:不限 1:限制",
  14728. "type": "integer"
  14729. },
  14730. "limitedgoodsids": {
  14731. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14732. "type": "string"
  14733. },
  14734. "orifreezeqty": {
  14735. "description": "期初冻结数量",
  14736. "type": "integer"
  14737. },
  14738. "oriqty": {
  14739. "description": "期初数量",
  14740. "type": "integer"
  14741. },
  14742. "reasontype": {
  14743. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14744. "type": "integer"
  14745. },
  14746. "todaydecrease": {
  14747. "description": "今日减少",
  14748. "type": "integer"
  14749. },
  14750. "todayincrease": {
  14751. "description": "今日增加",
  14752. "type": "integer"
  14753. },
  14754. "userid": {
  14755. "description": "用户ID",
  14756. "type": "integer"
  14757. },
  14758. "userscope": {
  14759. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14760. "type": "string"
  14761. }
  14762. }
  14763. },
  14764. "models.MyCouponHold": {
  14765. "type": "object",
  14766. "required": [
  14767. "couponholdid"
  14768. ],
  14769. "properties": {
  14770. "accountid": {
  14771. "description": "资金账户ID",
  14772. "type": "integer"
  14773. },
  14774. "conditionvalue": {
  14775. "description": "条件阈值(可为0)",
  14776. "type": "number"
  14777. },
  14778. "couponcategroy": {
  14779. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14780. "type": "integer"
  14781. },
  14782. "couponholdid": {
  14783. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14784. "type": "string"
  14785. },
  14786. "couponname": {
  14787. "description": "优惠券名称",
  14788. "type": "string"
  14789. },
  14790. "coupontypeid": {
  14791. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14792. "type": "string"
  14793. },
  14794. "couponvalue": {
  14795. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14796. "type": "number"
  14797. },
  14798. "createtime": {
  14799. "description": "创建时间",
  14800. "type": "string"
  14801. },
  14802. "enddate": {
  14803. "description": "结束日期",
  14804. "type": "string"
  14805. },
  14806. "giveapplyid": {
  14807. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14808. "type": "integer"
  14809. },
  14810. "holdstatus": {
  14811. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14812. "type": "integer"
  14813. },
  14814. "isgeneral": {
  14815. "description": "是否通用券 - 0:否 1:是",
  14816. "type": "integer"
  14817. },
  14818. "limitedflag": {
  14819. "description": "是否指定商品 - 0:不限 1:限制",
  14820. "type": "integer"
  14821. },
  14822. "limitedgoodsids": {
  14823. "description": "指定商品IDs[逗号分隔]",
  14824. "type": "string"
  14825. },
  14826. "qty": {
  14827. "description": "数量(按1平铺)",
  14828. "type": "integer"
  14829. },
  14830. "startdate": {
  14831. "description": "开始日期",
  14832. "type": "string"
  14833. },
  14834. "userid": {
  14835. "description": "用户ID",
  14836. "type": "integer"
  14837. },
  14838. "userscope": {
  14839. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14840. "type": "string"
  14841. }
  14842. }
  14843. },
  14844. "models.MyUsedCoupon": {
  14845. "type": "object",
  14846. "required": [
  14847. "coupontypeid",
  14848. "orderid"
  14849. ],
  14850. "properties": {
  14851. "accountid": {
  14852. "description": "资金账户ID(买方)",
  14853. "type": "integer"
  14854. },
  14855. "conditionvalue": {
  14856. "description": "条件阈值(可为0)",
  14857. "type": "number"
  14858. },
  14859. "couponcategroy": {
  14860. "description": "种类 - 1:现金券 2:折扣券",
  14861. "type": "integer"
  14862. },
  14863. "couponname": {
  14864. "description": "优惠券名称",
  14865. "type": "string"
  14866. },
  14867. "coupontypeid": {
  14868. "description": "优惠券类型ID(买方)",
  14869. "type": "string"
  14870. },
  14871. "couponvalue": {
  14872. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14873. "type": "number"
  14874. },
  14875. "createtime": {
  14876. "description": "创建时间",
  14877. "type": "string"
  14878. },
  14879. "goodsid": {
  14880. "description": "商品ID",
  14881. "type": "integer"
  14882. },
  14883. "handlestatus": {
  14884. "description": "处理状态",
  14885. "type": "integer"
  14886. },
  14887. "marketid": {
  14888. "description": "市场ID",
  14889. "type": "integer"
  14890. },
  14891. "offamount": {
  14892. "description": "优惠金额",
  14893. "type": "number"
  14894. },
  14895. "orderid": {
  14896. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14897. "type": "string"
  14898. },
  14899. "sellaccountid": {
  14900. "description": "资金账户ID(卖方)",
  14901. "type": "integer"
  14902. },
  14903. "tradeamount": {
  14904. "description": "成交金额",
  14905. "type": "number"
  14906. },
  14907. "tradeid": {
  14908. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14909. "type": "string"
  14910. },
  14911. "usedqty": {
  14912. "description": "使用数量",
  14913. "type": "integer"
  14914. }
  14915. }
  14916. },
  14917. "models.OperationPrimaryMenu": {
  14918. "type": "object",
  14919. "properties": {
  14920. "Children": {
  14921. "description": "二级功能菜单",
  14922. "type": "array",
  14923. "items": {
  14924. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14925. }
  14926. },
  14927. "Key": {
  14928. "description": "菜单KEY",
  14929. "type": "string"
  14930. },
  14931. "Label": {
  14932. "description": "菜单标题",
  14933. "type": "string"
  14934. }
  14935. }
  14936. },
  14937. "models.OperationSecondaryMenu": {
  14938. "type": "object",
  14939. "properties": {
  14940. "Key": {
  14941. "description": "菜单KEY",
  14942. "type": "string"
  14943. },
  14944. "Label": {
  14945. "description": "菜单标题",
  14946. "type": "string"
  14947. },
  14948. "TabList": {
  14949. "description": "三级功能菜单",
  14950. "type": "array",
  14951. "items": {
  14952. "$ref": "#/definitions/models.OperationTabMenu"
  14953. }
  14954. }
  14955. }
  14956. },
  14957. "models.OperationTabMenu": {
  14958. "type": "object",
  14959. "properties": {
  14960. "Key": {
  14961. "description": "菜单KEY",
  14962. "type": "string"
  14963. },
  14964. "Label": {
  14965. "description": "菜单标题",
  14966. "type": "string"
  14967. }
  14968. }
  14969. },
  14970. "models.QueryErrorInfosRsp": {
  14971. "type": "object",
  14972. "required": [
  14973. "errorid"
  14974. ],
  14975. "properties": {
  14976. "description": {
  14977. "description": "异常描述",
  14978. "type": "string"
  14979. },
  14980. "errorcode": {
  14981. "description": "异常代码",
  14982. "type": "string"
  14983. },
  14984. "errorid": {
  14985. "description": "异常ID",
  14986. "type": "integer"
  14987. },
  14988. "modulecode": {
  14989. "description": "所属模块",
  14990. "type": "string"
  14991. },
  14992. "operatecode": {
  14993. "description": "所属操作",
  14994. "type": "string"
  14995. },
  14996. "rownumber": {
  14997. "description": "行号",
  14998. "type": "string"
  14999. }
  15000. }
  15001. },
  15002. "models.QueryHedgeOrderDetailRsp": {
  15003. "type": "object",
  15004. "properties": {
  15005. "accountid": {
  15006. "description": "账户ID",
  15007. "type": "integer"
  15008. },
  15009. "buyorsell": {
  15010. "description": "买卖 - 0:买 1:卖",
  15011. "type": "integer"
  15012. },
  15013. "channelbuildtype": {
  15014. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  15015. "type": "integer"
  15016. },
  15017. "channelinnerorderstatus": {
  15018. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  15019. "type": "integer"
  15020. },
  15021. "channeloperatetype": {
  15022. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  15023. "type": "integer"
  15024. },
  15025. "closetype": {
  15026. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15027. "type": "integer"
  15028. },
  15029. "curexchangerate": {
  15030. "description": "当前汇率",
  15031. "type": "number"
  15032. },
  15033. "exchangefullname": {
  15034. "description": "外部交易所全称",
  15035. "type": "string"
  15036. },
  15037. "goodscode": {
  15038. "description": "商品代码(内部)",
  15039. "type": "string"
  15040. },
  15041. "goodsid": {
  15042. "description": "商品ID",
  15043. "type": "integer"
  15044. },
  15045. "goodsname": {
  15046. "description": "商品名称",
  15047. "type": "string"
  15048. },
  15049. "marketid": {
  15050. "description": "市场ID",
  15051. "type": "integer"
  15052. },
  15053. "openfreezemargin": {
  15054. "description": "冻结保证金(冻结交易金额)",
  15055. "type": "number"
  15056. },
  15057. "orderid": {
  15058. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15059. "type": "string"
  15060. },
  15061. "orderprice": {
  15062. "description": "委托价格(账户)",
  15063. "type": "number"
  15064. },
  15065. "orderqty": {
  15066. "description": "委托数量",
  15067. "type": "integer"
  15068. },
  15069. "ordertime": {
  15070. "description": "委托时间",
  15071. "type": "string"
  15072. },
  15073. "pricemode": {
  15074. "description": "取价方式 - 1:市价 2: 限价",
  15075. "type": "integer"
  15076. },
  15077. "tradedate": {
  15078. "description": "交易日(yyyyMMdd)",
  15079. "type": "string"
  15080. },
  15081. "tradeqty": {
  15082. "description": "成交数量",
  15083. "type": "integer"
  15084. }
  15085. }
  15086. },
  15087. "models.QueryHedgeTradeDetailRsp": {
  15088. "type": "object",
  15089. "properties": {
  15090. "accountid": {
  15091. "description": "账号ID",
  15092. "type": "integer"
  15093. },
  15094. "buyorsell": {
  15095. "description": "方向 - 0:买 1:卖",
  15096. "type": "integer"
  15097. },
  15098. "channelbuildtype": {
  15099. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15100. "type": "integer"
  15101. },
  15102. "closecharge": {
  15103. "description": "平仓手续费(账户)",
  15104. "type": "number"
  15105. },
  15106. "closecharge2": {
  15107. "description": "平仓手续费(商品)",
  15108. "type": "number"
  15109. },
  15110. "closetype": {
  15111. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15112. "type": "integer"
  15113. },
  15114. "curexchangerate": {
  15115. "description": "当前汇率",
  15116. "type": "number"
  15117. },
  15118. "exchangefullname": {
  15119. "description": "外部交易所全称",
  15120. "type": "string"
  15121. },
  15122. "goodscode": {
  15123. "description": "商品代码(内部)",
  15124. "type": "string"
  15125. },
  15126. "goodsid": {
  15127. "description": "商品ID",
  15128. "type": "integer"
  15129. },
  15130. "goodsname": {
  15131. "description": "商品名称",
  15132. "type": "string"
  15133. },
  15134. "marketid": {
  15135. "description": "市场ID",
  15136. "type": "integer"
  15137. },
  15138. "opencharge": {
  15139. "description": "建仓手续费(账户)",
  15140. "type": "number"
  15141. },
  15142. "opencharge2": {
  15143. "description": "建仓手续费(商品)",
  15144. "type": "number"
  15145. },
  15146. "orderid": {
  15147. "description": "委托单号",
  15148. "type": "string"
  15149. },
  15150. "tradeamount": {
  15151. "description": "成交金额(账户)",
  15152. "type": "number"
  15153. },
  15154. "tradedate": {
  15155. "description": "交易日(yyyyMMdd)",
  15156. "type": "string"
  15157. },
  15158. "tradeid": {
  15159. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15160. "type": "string"
  15161. },
  15162. "tradeprice": {
  15163. "description": "成交价格",
  15164. "type": "number"
  15165. },
  15166. "tradeqty": {
  15167. "description": "成交数量",
  15168. "type": "integer"
  15169. },
  15170. "tradetime": {
  15171. "description": "成交时间",
  15172. "type": "string"
  15173. },
  15174. "tradetype": {
  15175. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  15176. "type": "integer"
  15177. }
  15178. }
  15179. },
  15180. "models.QuotePrimaryMenu": {
  15181. "type": "object",
  15182. "properties": {
  15183. "Index": {
  15184. "description": "序号",
  15185. "type": "integer"
  15186. },
  15187. "Key": {
  15188. "description": "键名",
  15189. "type": "string"
  15190. },
  15191. "Name": {
  15192. "description": "菜单名称",
  15193. "type": "string"
  15194. },
  15195. "SubMenus": {
  15196. "description": "子菜单",
  15197. "type": "array",
  15198. "items": {
  15199. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15200. }
  15201. },
  15202. "SubTitleType": {
  15203. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15204. "type": "integer"
  15205. },
  15206. "TradeModes": {
  15207. "description": "包含市场交易类型",
  15208. "type": "string"
  15209. }
  15210. }
  15211. },
  15212. "models.QuoteSecondaryMenu": {
  15213. "type": "object",
  15214. "properties": {
  15215. "ExExchangeCode": {
  15216. "description": "外部交易所代码",
  15217. "type": "string"
  15218. },
  15219. "ExExchangeID": {
  15220. "description": "外部交易所ID",
  15221. "type": "integer"
  15222. },
  15223. "GoodsGroupIDs": {
  15224. "description": "商品组ID列表",
  15225. "type": "array",
  15226. "items": {
  15227. "type": "integer"
  15228. }
  15229. },
  15230. "Index": {
  15231. "description": "序号",
  15232. "type": "integer"
  15233. },
  15234. "MarketID": {
  15235. "description": "市场ID",
  15236. "type": "integer"
  15237. },
  15238. "MenuTitle": {
  15239. "description": "菜单标题(市场名称或外部交易所名称)",
  15240. "type": "string"
  15241. },
  15242. "TradeMode": {
  15243. "description": "交易模式",
  15244. "type": "integer"
  15245. }
  15246. }
  15247. },
  15248. "models.SearchGoods": {
  15249. "type": "object",
  15250. "required": [
  15251. "goodscode",
  15252. "goodsid",
  15253. "goodsname",
  15254. "marketid",
  15255. "trademode"
  15256. ],
  15257. "properties": {
  15258. "goodscode": {
  15259. "description": "商品代码(内部)",
  15260. "type": "string"
  15261. },
  15262. "goodsid": {
  15263. "description": "商品ID(自增ID SEQ_GOODS)",
  15264. "type": "integer"
  15265. },
  15266. "goodsname": {
  15267. "description": "商品名称",
  15268. "type": "string"
  15269. },
  15270. "marketid": {
  15271. "description": "所属市场ID",
  15272. "type": "integer"
  15273. },
  15274. "marketname": {
  15275. "description": "市场名称",
  15276. "type": "string"
  15277. },
  15278. "trademode": {
  15279. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15280. "type": "integer"
  15281. }
  15282. }
  15283. },
  15284. "models.Systemparam": {
  15285. "type": "object",
  15286. "required": [
  15287. "paramcode"
  15288. ],
  15289. "properties": {
  15290. "loginid": {
  15291. "description": "更新用户账号,登录账号",
  15292. "type": "string"
  15293. },
  15294. "modifyflag": {
  15295. "description": "修改标志0 不允许修改 1 允许修改",
  15296. "type": "integer"
  15297. },
  15298. "paramcode": {
  15299. "description": "参数代码",
  15300. "type": "string"
  15301. },
  15302. "paramname": {
  15303. "description": "参数名",
  15304. "type": "string"
  15305. },
  15306. "paramtype": {
  15307. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  15308. "type": "integer"
  15309. },
  15310. "paramvalue": {
  15311. "description": "参数值",
  15312. "type": "string"
  15313. },
  15314. "paramvalue2": {
  15315. "description": "参数值(CLOB)",
  15316. "type": "string"
  15317. },
  15318. "regexpress": {
  15319. "description": "正则表达式",
  15320. "type": "string"
  15321. },
  15322. "remark": {
  15323. "description": "备注",
  15324. "type": "string"
  15325. },
  15326. "serverip": {
  15327. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  15328. "type": "string"
  15329. },
  15330. "showflag": {
  15331. "description": "是否显示0 不显示 1 显示",
  15332. "type": "integer"
  15333. },
  15334. "updatetime": {
  15335. "description": "更新时间",
  15336. "type": "string"
  15337. },
  15338. "userid": {
  15339. "description": "更新用户ID",
  15340. "type": "integer"
  15341. }
  15342. }
  15343. },
  15344. "models.Szdz3convertconfig": {
  15345. "type": "object",
  15346. "required": [
  15347. "converttype",
  15348. "innergoodsid",
  15349. "outergoodscode"
  15350. ],
  15351. "properties": {
  15352. "canin": {
  15353. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15354. "type": "integer"
  15355. },
  15356. "canout": {
  15357. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15358. "type": "integer"
  15359. },
  15360. "converttype": {
  15361. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15362. "type": "integer"
  15363. },
  15364. "createtime": {
  15365. "description": "创建时间",
  15366. "type": "string"
  15367. },
  15368. "creatorid": {
  15369. "description": "创建人",
  15370. "type": "integer"
  15371. },
  15372. "daymaxvalue": {
  15373. "description": "当日最大转入限制",
  15374. "type": "number"
  15375. },
  15376. "freezedays": {
  15377. "description": "冻结天数 [5:花生米转交易]",
  15378. "type": "integer"
  15379. },
  15380. "innergoodsid": {
  15381. "description": "内部商品ID[交易]",
  15382. "type": "integer"
  15383. },
  15384. "inratio": {
  15385. "description": "目标值",
  15386. "type": "integer"
  15387. },
  15388. "modifierid": {
  15389. "description": "修改人",
  15390. "type": "integer"
  15391. },
  15392. "modifytime": {
  15393. "description": "修改时间",
  15394. "type": "string"
  15395. },
  15396. "outergoodscode": {
  15397. "description": "外部商品代码[JD\\PD]",
  15398. "type": "string"
  15399. },
  15400. "outratio": {
  15401. "description": "源值",
  15402. "type": "integer"
  15403. },
  15404. "pddecimalplace": {
  15405. "description": "PD小数位",
  15406. "type": "integer"
  15407. },
  15408. "timemaxvalue": {
  15409. "description": "单次最大转入限制",
  15410. "type": "number"
  15411. },
  15412. "timeminvalue": {
  15413. "description": "单次最小转入限制",
  15414. "type": "number"
  15415. }
  15416. }
  15417. },
  15418. "models.Szdz3searchwhitelist": {
  15419. "type": "object",
  15420. "required": [
  15421. "userid"
  15422. ],
  15423. "properties": {
  15424. "createtime": {
  15425. "description": "创建时间",
  15426. "type": "string"
  15427. },
  15428. "creatorid": {
  15429. "description": "创建人",
  15430. "type": "integer"
  15431. },
  15432. "modifierid": {
  15433. "description": "修改人",
  15434. "type": "integer"
  15435. },
  15436. "modifytime": {
  15437. "description": "修改时间",
  15438. "type": "string"
  15439. },
  15440. "userid": {
  15441. "description": "用户ID",
  15442. "type": "integer"
  15443. }
  15444. }
  15445. },
  15446. "models.Taaccount": {
  15447. "type": "object",
  15448. "required": [
  15449. "accountid",
  15450. "userid"
  15451. ],
  15452. "properties": {
  15453. "accountflag": {
  15454. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  15455. "type": "integer"
  15456. },
  15457. "accountid": {
  15458. "description": "资金账户ID",
  15459. "type": "integer"
  15460. },
  15461. "accountname": {
  15462. "description": "账户名称",
  15463. "type": "string"
  15464. },
  15465. "balance": {
  15466. "description": "期初余额",
  15467. "type": "number"
  15468. },
  15469. "capitalbalance": {
  15470. "description": "本金余额[外部子账户实际出入金余额]",
  15471. "type": "number"
  15472. },
  15473. "changeflag": {
  15474. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  15475. "type": "integer"
  15476. },
  15477. "changetime": {
  15478. "description": "账户状态变更时间",
  15479. "type": "string"
  15480. },
  15481. "closepl": {
  15482. "description": "今日平仓盈亏",
  15483. "type": "number"
  15484. },
  15485. "creditdecrease": {
  15486. "description": "今日授信减少",
  15487. "type": "number"
  15488. },
  15489. "creditincrease": {
  15490. "description": "今日授信增加",
  15491. "type": "number"
  15492. },
  15493. "currencyid": {
  15494. "description": "货币ID",
  15495. "type": "integer"
  15496. },
  15497. "currentbalance": {
  15498. "description": "期末余额",
  15499. "type": "number"
  15500. },
  15501. "freezecharge": {
  15502. "description": "手续费冻结",
  15503. "type": "number"
  15504. },
  15505. "freezemargin": {
  15506. "description": "冻结保证金",
  15507. "type": "number"
  15508. },
  15509. "fromaccountid": {
  15510. "description": "所属上级账户",
  15511. "type": "integer"
  15512. },
  15513. "inamount": {
  15514. "description": "今日入金金额(包括三方入金)",
  15515. "type": "number"
  15516. },
  15517. "ismain": {
  15518. "description": "是否母账号 0:不是母账户 1:是母账户",
  15519. "type": "integer"
  15520. },
  15521. "ismarketaccount": {
  15522. "description": "是否机构接单账号 0:不是 1:是",
  15523. "type": "integer"
  15524. },
  15525. "isreckonaccount": {
  15526. "description": "是否机构分润账号 0:不是 1:是",
  15527. "type": "integer"
  15528. },
  15529. "mortgagecredit": {
  15530. "description": "授信金额",
  15531. "type": "number"
  15532. },
  15533. "orifreezecharge": {
  15534. "description": "期初手续费冻结",
  15535. "type": "number"
  15536. },
  15537. "orifreezemargin": {
  15538. "description": "期初冻结保证金",
  15539. "type": "number"
  15540. },
  15541. "orimortgagecredit": {
  15542. "description": "期初授信金额",
  15543. "type": "number"
  15544. },
  15545. "oriothercredit": {
  15546. "description": "期初其它授信金额",
  15547. "type": "number"
  15548. },
  15549. "oriotherfreezemargin": {
  15550. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15551. "type": "number"
  15552. },
  15553. "orioutamountfreeze": {
  15554. "description": "期初出金冻结",
  15555. "type": "number"
  15556. },
  15557. "oriusedmargin": {
  15558. "description": "期初占用保证金",
  15559. "type": "number"
  15560. },
  15561. "othercredit": {
  15562. "description": "其它授信金额",
  15563. "type": "number"
  15564. },
  15565. "othercreditdecrease": {
  15566. "description": "今日其它授信减少",
  15567. "type": "number"
  15568. },
  15569. "othercreditincrease": {
  15570. "description": "今日其它授信增加",
  15571. "type": "number"
  15572. },
  15573. "otherfreezemargin": {
  15574. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15575. "type": "number"
  15576. },
  15577. "otherincome": {
  15578. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15579. "type": "number"
  15580. },
  15581. "otherpay": {
  15582. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15583. "type": "number"
  15584. },
  15585. "outamount": {
  15586. "description": "今日出金金额(包括三方出金)",
  15587. "type": "number"
  15588. },
  15589. "outamountfreeze": {
  15590. "description": "出金冻结",
  15591. "type": "number"
  15592. },
  15593. "outthreshold": {
  15594. "description": "出金阈值",
  15595. "type": "number"
  15596. },
  15597. "parentaccountid": {
  15598. "description": "所属根账号",
  15599. "type": "integer"
  15600. },
  15601. "paycharge": {
  15602. "description": "今日手续费支出",
  15603. "type": "number"
  15604. },
  15605. "relatedaccountstatus": {
  15606. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15607. "type": "integer"
  15608. },
  15609. "relateduserid": {
  15610. "description": "关联用户",
  15611. "type": "integer"
  15612. },
  15613. "serivcegroup": {
  15614. "description": "服务分组",
  15615. "type": "integer"
  15616. },
  15617. "signstatus": {
  15618. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15619. "type": "integer"
  15620. },
  15621. "sublevelpath": {
  15622. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15623. "type": "string"
  15624. },
  15625. "taaccounttype": {
  15626. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15627. "type": "integer"
  15628. },
  15629. "thirdinamount": {
  15630. "description": "今日三方入金",
  15631. "type": "number"
  15632. },
  15633. "thirdoutamount": {
  15634. "description": "今日三方出金",
  15635. "type": "number"
  15636. },
  15637. "tradestatus": {
  15638. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15639. "type": "integer"
  15640. },
  15641. "tradestatuschangetime": {
  15642. "description": "激活时间",
  15643. "type": "string"
  15644. },
  15645. "transferamount": {
  15646. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15647. "type": "number"
  15648. },
  15649. "usedmargin": {
  15650. "description": "占用保证金",
  15651. "type": "number"
  15652. },
  15653. "userid": {
  15654. "description": "用户ID",
  15655. "type": "integer"
  15656. }
  15657. }
  15658. },
  15659. "models.Tablecolumnconfig": {
  15660. "type": "object",
  15661. "required": [
  15662. "autoid"
  15663. ],
  15664. "properties": {
  15665. "aligntype": {
  15666. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15667. "type": "integer"
  15668. },
  15669. "autoid": {
  15670. "description": "AutoID",
  15671. "type": "integer"
  15672. },
  15673. "columnfield": {
  15674. "description": "列字段",
  15675. "type": "string"
  15676. },
  15677. "columntitle": {
  15678. "description": "列Title",
  15679. "type": "string"
  15680. },
  15681. "columnwidth": {
  15682. "description": "列宽",
  15683. "type": "string"
  15684. },
  15685. "formatterstring": {
  15686. "description": "格式化字符",
  15687. "type": "string"
  15688. },
  15689. "formattertype": {
  15690. "description": "格式化类型",
  15691. "type": "string"
  15692. },
  15693. "groupname": {
  15694. "description": "表头分组名称",
  15695. "type": "string"
  15696. },
  15697. "isshow": {
  15698. "description": "是否显示 - 0:不显示 1:显示",
  15699. "type": "integer"
  15700. },
  15701. "needsummary": {
  15702. "description": "是否需要汇总 - 0:不需要 1:需要",
  15703. "type": "integer"
  15704. },
  15705. "orderindex": {
  15706. "description": "顺序",
  15707. "type": "integer"
  15708. },
  15709. "remark": {
  15710. "description": "备注",
  15711. "type": "string"
  15712. },
  15713. "summarytype": {
  15714. "description": "汇总类型 - 1:加总 2:最后一个",
  15715. "type": "integer"
  15716. },
  15717. "tablekey": {
  15718. "description": "列表Key",
  15719. "type": "string"
  15720. }
  15721. }
  15722. },
  15723. "models.Useraccount": {
  15724. "type": "object",
  15725. "required": [
  15726. "userid"
  15727. ],
  15728. "properties": {
  15729. "accountname": {
  15730. "description": "账户名称(机构名称)",
  15731. "type": "string"
  15732. },
  15733. "accountstatus": {
  15734. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15735. "type": "integer"
  15736. },
  15737. "auditremark": {
  15738. "description": "审核备注",
  15739. "type": "string"
  15740. },
  15741. "audittime": {
  15742. "description": "审核时间",
  15743. "type": "string"
  15744. },
  15745. "audituserid": {
  15746. "description": "审核人",
  15747. "type": "integer"
  15748. },
  15749. "broker": {
  15750. "description": "所属经纪人ID",
  15751. "type": "integer"
  15752. },
  15753. "canceltime": {
  15754. "description": "销户时间",
  15755. "type": "string"
  15756. },
  15757. "canceluserid": {
  15758. "description": "销户人",
  15759. "type": "integer"
  15760. },
  15761. "createtime": {
  15762. "description": "创建时间",
  15763. "type": "string"
  15764. },
  15765. "creatorid": {
  15766. "description": "创建人",
  15767. "type": "integer"
  15768. },
  15769. "hasauth": {
  15770. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15771. "type": "integer"
  15772. },
  15773. "isanonymous": {
  15774. "description": "是否匿名下单 - 0:否 1:是",
  15775. "type": "integer"
  15776. },
  15777. "maxinvestornum": {
  15778. "description": "最大用户数(经纪会员下投资者个数)",
  15779. "type": "integer"
  15780. },
  15781. "memberuserid": {
  15782. "description": "所属会员ID",
  15783. "type": "integer"
  15784. },
  15785. "modifierid": {
  15786. "description": "修改人",
  15787. "type": "integer"
  15788. },
  15789. "modifyremark": {
  15790. "description": "变更备注",
  15791. "type": "string"
  15792. },
  15793. "modifystatus": {
  15794. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15795. "type": "integer"
  15796. },
  15797. "modifytime": {
  15798. "description": "修改时间",
  15799. "type": "string"
  15800. },
  15801. "parentuserid": {
  15802. "description": "所属机构ID",
  15803. "type": "integer"
  15804. },
  15805. "reckonaccountid": {
  15806. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15807. "type": "integer"
  15808. },
  15809. "refercount": {
  15810. "description": "推荐总人数",
  15811. "type": "integer"
  15812. },
  15813. "refereeuserid": {
  15814. "description": "推荐人ID",
  15815. "type": "integer"
  15816. },
  15817. "refernum": {
  15818. "description": "推荐码",
  15819. "type": "string"
  15820. },
  15821. "subarealevelpath": {
  15822. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15823. "type": "string"
  15824. },
  15825. "userid": {
  15826. "description": "用户ID",
  15827. "type": "integer"
  15828. },
  15829. "usertype": {
  15830. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15831. "type": "integer"
  15832. }
  15833. }
  15834. },
  15835. "models.Userfavoritegoods": {
  15836. "type": "object",
  15837. "required": [
  15838. "goodsid"
  15839. ],
  15840. "properties": {
  15841. "goodsid": {
  15842. "description": "商品ID",
  15843. "type": "integer"
  15844. }
  15845. }
  15846. },
  15847. "models.Userinfo": {
  15848. "type": "object",
  15849. "required": [
  15850. "userid"
  15851. ],
  15852. "properties": {
  15853. "address": {
  15854. "description": "地址",
  15855. "type": "string"
  15856. },
  15857. "attachment1": {
  15858. "description": "附件1",
  15859. "type": "string"
  15860. },
  15861. "attachment2": {
  15862. "description": "附件2",
  15863. "type": "string"
  15864. },
  15865. "bankaccount": {
  15866. "description": "银行帐号 (加密存储)",
  15867. "type": "string"
  15868. },
  15869. "bankaccountname": {
  15870. "description": "收款人名称",
  15871. "type": "string"
  15872. },
  15873. "bankcardfrontphotourl": {
  15874. "description": "银行卡正面照地址",
  15875. "type": "string"
  15876. },
  15877. "bankid": {
  15878. "description": "银行编码",
  15879. "type": "string"
  15880. },
  15881. "bankname": {
  15882. "description": "银行名称",
  15883. "type": "string"
  15884. },
  15885. "biznature": {
  15886. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15887. "type": "integer"
  15888. },
  15889. "bizscope": {
  15890. "description": "企业经营范围(企业)",
  15891. "type": "string"
  15892. },
  15893. "cardbackphotourl": {
  15894. "description": "证件背面图片地址",
  15895. "type": "string"
  15896. },
  15897. "cardfrontphotourl": {
  15898. "description": "证件正面图片地址",
  15899. "type": "string"
  15900. },
  15901. "cardnum": {
  15902. "description": "证件号码(加密存储)",
  15903. "type": "string"
  15904. },
  15905. "cardtypeid": {
  15906. "description": "证件类型ID",
  15907. "type": "integer"
  15908. },
  15909. "cityid": {
  15910. "description": "市",
  15911. "type": "integer"
  15912. },
  15913. "company": {
  15914. "description": "公司(个人)",
  15915. "type": "string"
  15916. },
  15917. "contactname": {
  15918. "description": "联系人",
  15919. "type": "string"
  15920. },
  15921. "countryid": {
  15922. "description": "国家",
  15923. "type": "integer"
  15924. },
  15925. "createtime": {
  15926. "description": "创建时间",
  15927. "type": "string"
  15928. },
  15929. "creatorid": {
  15930. "description": "创建人",
  15931. "type": "integer"
  15932. },
  15933. "customername": {
  15934. "description": "客户名称(企业名称)",
  15935. "type": "string"
  15936. },
  15937. "districtid": {
  15938. "description": "地区",
  15939. "type": "integer"
  15940. },
  15941. "email": {
  15942. "description": "邮件(加密存储)",
  15943. "type": "string"
  15944. },
  15945. "fax": {
  15946. "description": "传真(加密存储)",
  15947. "type": "string"
  15948. },
  15949. "halfbodyphotourl": {
  15950. "description": "半身照地址",
  15951. "type": "string"
  15952. },
  15953. "hasencrypt": {
  15954. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15955. "type": "integer"
  15956. },
  15957. "headurl": {
  15958. "description": "头像地址",
  15959. "type": "string"
  15960. },
  15961. "legalcardbackphotourl": {
  15962. "description": "法人身份证背面照地址",
  15963. "type": "string"
  15964. },
  15965. "legalcardfrontphotourl": {
  15966. "description": "法人身份证正面照地址",
  15967. "type": "string"
  15968. },
  15969. "legalpersonname": {
  15970. "description": "法人姓名(企业)",
  15971. "type": "string"
  15972. },
  15973. "mobile": {
  15974. "description": "手机号码(加密存储)",
  15975. "type": "string"
  15976. },
  15977. "mobile2": {
  15978. "description": "手机号码[明文-尚志]",
  15979. "type": "string"
  15980. },
  15981. "modifierid": {
  15982. "description": "修改人",
  15983. "type": "integer"
  15984. },
  15985. "modifiertime": {
  15986. "description": "修改时间",
  15987. "type": "string"
  15988. },
  15989. "needinvoice": {
  15990. "description": "是否需要发票 - 0:不需要 1:需要",
  15991. "type": "integer"
  15992. },
  15993. "nickname": {
  15994. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15995. "type": "string"
  15996. },
  15997. "openmode": {
  15998. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15999. "type": "integer"
  16000. },
  16001. "otherurl": {
  16002. "description": "其它图片地址[使用分号分隔]",
  16003. "type": "string"
  16004. },
  16005. "postalcode": {
  16006. "description": "邮政编码",
  16007. "type": "string"
  16008. },
  16009. "provinceid": {
  16010. "description": "省",
  16011. "type": "integer"
  16012. },
  16013. "qq": {
  16014. "description": "QQ(加密存储",
  16015. "type": "string"
  16016. },
  16017. "remark": {
  16018. "description": "备注",
  16019. "type": "string"
  16020. },
  16021. "sex": {
  16022. "description": "用户性别 0: 女 1: 男",
  16023. "type": "integer"
  16024. },
  16025. "signpdfurl": {
  16026. "description": "签约pdf文件",
  16027. "type": "string"
  16028. },
  16029. "telphone": {
  16030. "description": "联系电话(加密存储)",
  16031. "type": "string"
  16032. },
  16033. "userid": {
  16034. "description": "用户ID",
  16035. "type": "integer"
  16036. },
  16037. "userinfotype": {
  16038. "description": "用户信息类型 - 1:个人 2:企业",
  16039. "type": "integer"
  16040. },
  16041. "userstatus": {
  16042. "description": "用户状态 - 1:正常 2:注销",
  16043. "type": "integer"
  16044. },
  16045. "usertype": {
  16046. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16047. "type": "integer"
  16048. },
  16049. "wechat": {
  16050. "description": "微信(加密存储)",
  16051. "type": "string"
  16052. },
  16053. "wskhinfo": {
  16054. "description": "开户申请信息(JSON)",
  16055. "type": "string"
  16056. }
  16057. }
  16058. },
  16059. "models.WRCategoryTree": {
  16060. "type": "object",
  16061. "required": [
  16062. "categoryid"
  16063. ],
  16064. "properties": {
  16065. "areauserid": {
  16066. "description": "所属机构",
  16067. "type": "integer"
  16068. },
  16069. "categorydesc": {
  16070. "description": "类别描述",
  16071. "type": "string"
  16072. },
  16073. "categoryid": {
  16074. "description": "类别ID(SEQ_WRCATEGORY)",
  16075. "type": "integer"
  16076. },
  16077. "categoryname": {
  16078. "description": "类别名称",
  16079. "type": "string"
  16080. },
  16081. "iconurl": {
  16082. "description": "图标地址",
  16083. "type": "string"
  16084. },
  16085. "orderindex": {
  16086. "description": "顺序",
  16087. "type": "integer"
  16088. },
  16089. "parentcategoryid": {
  16090. "description": "父类别ID",
  16091. "type": "integer"
  16092. },
  16093. "subcategory": {
  16094. "description": "子分类",
  16095. "type": "array",
  16096. "items": {
  16097. "$ref": "#/definitions/models.WRCategoryTree"
  16098. }
  16099. }
  16100. }
  16101. },
  16102. "models.WRSConverTDetail": {
  16103. "type": "object",
  16104. "properties": {
  16105. "convertratio": {
  16106. "description": "套保系数",
  16107. "type": "number"
  16108. },
  16109. "deliverygoodsid": {
  16110. "description": "现货品种ID",
  16111. "type": "integer"
  16112. },
  16113. "middlegoodscode": {
  16114. "description": "套保品种代码",
  16115. "type": "string"
  16116. },
  16117. "middlegoodsid": {
  16118. "description": "套保品种ID",
  16119. "type": "integer"
  16120. },
  16121. "middlegoodsname": {
  16122. "description": "套保品种名称",
  16123. "type": "string"
  16124. },
  16125. "modifytime": {
  16126. "description": "修改时间",
  16127. "type": "string"
  16128. },
  16129. "wrstandardid": {
  16130. "description": "现货商品ID",
  16131. "type": "integer"
  16132. }
  16133. }
  16134. },
  16135. "models.WRStandardInfo": {
  16136. "type": "object",
  16137. "required": [
  16138. "wrstandardid"
  16139. ],
  16140. "properties": {
  16141. "createtime": {
  16142. "description": "创建时间",
  16143. "type": "string"
  16144. },
  16145. "creatorid": {
  16146. "description": "创建人",
  16147. "type": "integer"
  16148. },
  16149. "deliverygoodsid": {
  16150. "description": "品种ID",
  16151. "type": "integer"
  16152. },
  16153. "deliverygoodsname": {
  16154. "description": "交割商品名称",
  16155. "type": "string"
  16156. },
  16157. "factoryitemjson": {
  16158. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  16159. "type": "string"
  16160. },
  16161. "isvalid": {
  16162. "description": "是否有效 - 0:无效 1:有效",
  16163. "type": "integer"
  16164. },
  16165. "minivalue": {
  16166. "description": "最小变动值",
  16167. "type": "integer"
  16168. },
  16169. "minivaluedp": {
  16170. "description": "最小变动值小数位",
  16171. "type": "integer"
  16172. },
  16173. "realminivalue": {
  16174. "description": "实际最小变动值",
  16175. "type": "integer"
  16176. },
  16177. "realminivaluedp": {
  16178. "description": "实际最小变动值小数位",
  16179. "type": "integer"
  16180. },
  16181. "unitid": {
  16182. "description": "单位ID",
  16183. "type": "integer"
  16184. },
  16185. "unitname": {
  16186. "description": "单位",
  16187. "type": "string"
  16188. },
  16189. "updatetime": {
  16190. "description": "更新时间",
  16191. "type": "string"
  16192. },
  16193. "updatorid": {
  16194. "description": "更新人",
  16195. "type": "integer"
  16196. },
  16197. "wrsstatus": {
  16198. "description": "状态 - 作废 - 0:未激活 1:正常",
  16199. "type": "integer"
  16200. },
  16201. "wrstandardcode": {
  16202. "description": "仓单标准代码",
  16203. "type": "string"
  16204. },
  16205. "wrstandardid": {
  16206. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16207. "type": "integer"
  16208. },
  16209. "wrstandardname": {
  16210. "description": "仓单标准名称",
  16211. "type": "string"
  16212. }
  16213. }
  16214. },
  16215. "models.Warehouseinfo": {
  16216. "type": "object",
  16217. "required": [
  16218. "autoid",
  16219. "warehousecode"
  16220. ],
  16221. "properties": {
  16222. "address": {
  16223. "description": "详细地址",
  16224. "type": "string"
  16225. },
  16226. "areauserid": {
  16227. "description": "所属机构",
  16228. "type": "integer"
  16229. },
  16230. "autoid": {
  16231. "description": "自增ID",
  16232. "type": "integer"
  16233. },
  16234. "cityid": {
  16235. "description": "市",
  16236. "type": "integer"
  16237. },
  16238. "contactname": {
  16239. "description": "联系人",
  16240. "type": "string"
  16241. },
  16242. "contactnum": {
  16243. "description": "联系电话",
  16244. "type": "string"
  16245. },
  16246. "countryid": {
  16247. "description": "国家",
  16248. "type": "integer"
  16249. },
  16250. "createtime": {
  16251. "description": "创建时间",
  16252. "type": "string"
  16253. },
  16254. "districtid": {
  16255. "description": "区",
  16256. "type": "integer"
  16257. },
  16258. "hasvideo": {
  16259. "description": "是否有视频 - 0:无 1:有",
  16260. "type": "integer"
  16261. },
  16262. "provinceid": {
  16263. "description": "省",
  16264. "type": "integer"
  16265. },
  16266. "remark": {
  16267. "description": "审核备注",
  16268. "type": "string"
  16269. },
  16270. "videourl": {
  16271. "description": "视频地址",
  16272. "type": "string"
  16273. },
  16274. "warehousecode": {
  16275. "description": "仓库代码",
  16276. "type": "string"
  16277. },
  16278. "warehousename": {
  16279. "description": "仓库名称",
  16280. "type": "string"
  16281. },
  16282. "warehousestatus": {
  16283. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16284. "type": "integer"
  16285. },
  16286. "warehousetype": {
  16287. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16288. "type": "integer"
  16289. }
  16290. }
  16291. },
  16292. "order.QueryHisTradeDetailRsp": {
  16293. "type": "object",
  16294. "required": [
  16295. "accountid",
  16296. "buyorsell",
  16297. "goodsid",
  16298. "histradedate",
  16299. "marketid",
  16300. "memberuserid",
  16301. "orderid",
  16302. "tradeamount",
  16303. "tradedate",
  16304. "tradeid",
  16305. "tradeprice",
  16306. "tradeqty",
  16307. "tradetime"
  16308. ],
  16309. "properties": {
  16310. "accountid": {
  16311. "description": "账户ID[报价币种]",
  16312. "type": "integer"
  16313. },
  16314. "buildtype": {
  16315. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16316. "type": "integer"
  16317. },
  16318. "buyorsell": {
  16319. "description": "方向 - 0:买 1:卖",
  16320. "type": "integer"
  16321. },
  16322. "charge": {
  16323. "description": "手续费",
  16324. "type": "number"
  16325. },
  16326. "closecharge": {
  16327. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16328. "type": "number"
  16329. },
  16330. "closeexchagechargevalue": {
  16331. "description": "平仓交易所手续费设置值",
  16332. "type": "number"
  16333. },
  16334. "closefeealgorithm": {
  16335. "description": "平仓手续费收取方式 1:比率 2:固定",
  16336. "type": "integer"
  16337. },
  16338. "closememberchargevalue": {
  16339. "description": "平仓会员手续费设置值",
  16340. "type": "number"
  16341. },
  16342. "closepl": {
  16343. "description": "平仓盈亏",
  16344. "type": "number"
  16345. },
  16346. "closepl2": {
  16347. "description": "平仓盈亏[逐笔]",
  16348. "type": "number"
  16349. },
  16350. "closeqty": {
  16351. "description": "平仓数量(先建后平操作 需要记录)",
  16352. "type": "integer"
  16353. },
  16354. "creditamount": {
  16355. "description": "授信金额",
  16356. "type": "number"
  16357. },
  16358. "gcaccountid": {
  16359. "description": "账户ID[合约币种]",
  16360. "type": "integer"
  16361. },
  16362. "goodscode": {
  16363. "description": "商品代码",
  16364. "type": "string"
  16365. },
  16366. "goodsid": {
  16367. "description": "商品ID",
  16368. "type": "integer"
  16369. },
  16370. "goodsname": {
  16371. "description": "商品名称",
  16372. "type": "string"
  16373. },
  16374. "histradedate": {
  16375. "description": "历史交易日",
  16376. "type": "string"
  16377. },
  16378. "intclosepl": {
  16379. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16380. "type": "integer"
  16381. },
  16382. "isconfirmexercise": {
  16383. "description": "是否确认行权- 0:否 1:是",
  16384. "type": "integer"
  16385. },
  16386. "ismain": {
  16387. "description": "是否主单 - 0:不是 1:是",
  16388. "type": "integer"
  16389. },
  16390. "ispreexercise": {
  16391. "description": "是否预申报- 0:否 1:是",
  16392. "type": "integer"
  16393. },
  16394. "isreckoned": {
  16395. "description": "是否结算 - 0:未结算 1:已结算",
  16396. "type": "integer"
  16397. },
  16398. "isvaliddata": {
  16399. "description": "是否有效 - 0:无效 1:有效",
  16400. "type": "integer"
  16401. },
  16402. "listingselecttype": {
  16403. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16404. "type": "integer"
  16405. },
  16406. "marketid": {
  16407. "description": "市场ID",
  16408. "type": "integer"
  16409. },
  16410. "marketname": {
  16411. "description": "市场名称",
  16412. "type": "string"
  16413. },
  16414. "matchaccountid": {
  16415. "description": "对手账号id",
  16416. "type": "integer"
  16417. },
  16418. "memberuserid": {
  16419. "description": "会员id 个人投资者 需要填写",
  16420. "type": "integer"
  16421. },
  16422. "opencharge": {
  16423. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16424. "type": "number"
  16425. },
  16426. "openexchagechargevalue": {
  16427. "description": "建仓交易所手续费设置值",
  16428. "type": "number"
  16429. },
  16430. "openfeealgorithm": {
  16431. "description": "建仓手续费收取方式 1:比率 2:固定",
  16432. "type": "integer"
  16433. },
  16434. "openmemberchargevalue": {
  16435. "description": "建仓会员手续费设置值",
  16436. "type": "number"
  16437. },
  16438. "openqty": {
  16439. "description": "开仓数量(先建后平操作 需要记录)",
  16440. "type": "integer"
  16441. },
  16442. "optiontype": {
  16443. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16444. "type": "integer"
  16445. },
  16446. "orderid": {
  16447. "description": "委托单号",
  16448. "type": "string"
  16449. },
  16450. "performanceplanid": {
  16451. "description": "履约计划ID[期权]",
  16452. "type": "integer"
  16453. },
  16454. "performancestatus": {
  16455. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16456. "type": "integer"
  16457. },
  16458. "preexerciseprice": {
  16459. "description": "预申报价格",
  16460. "type": "number"
  16461. },
  16462. "premium": {
  16463. "description": "权利金 - [持仓单的权利金]",
  16464. "type": "number"
  16465. },
  16466. "relatedouttradeid": {
  16467. "description": "关联外部成交单ID",
  16468. "type": "integer"
  16469. },
  16470. "status": {
  16471. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16472. "type": "integer"
  16473. },
  16474. "tradeamount": {
  16475. "description": "成交金额[账户币种,用于所有权]",
  16476. "type": "number"
  16477. },
  16478. "tradedate": {
  16479. "description": "交易日(yyyyMMdd)",
  16480. "type": "string"
  16481. },
  16482. "tradeid": {
  16483. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16484. "type": "string"
  16485. },
  16486. "trademode": {
  16487. "description": "交易模式",
  16488. "type": "integer"
  16489. },
  16490. "tradeprice": {
  16491. "description": "成交价格",
  16492. "type": "number"
  16493. },
  16494. "tradeproperty": {
  16495. "description": "交易属性",
  16496. "type": "integer"
  16497. },
  16498. "tradeqty": {
  16499. "description": "成交数量",
  16500. "type": "integer"
  16501. },
  16502. "tradetime": {
  16503. "description": "成交时间",
  16504. "type": "string"
  16505. },
  16506. "tradetype": {
  16507. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16508. "type": "integer"
  16509. }
  16510. }
  16511. },
  16512. "order.QueryHisTradeOrderDetailRsp": {
  16513. "type": "object",
  16514. "required": [
  16515. "accountid",
  16516. "buildtype",
  16517. "buyorsell",
  16518. "goodsid",
  16519. "histradedate",
  16520. "marketid",
  16521. "memberuserid",
  16522. "operatetype",
  16523. "orderid",
  16524. "orderqty",
  16525. "ordertime",
  16526. "pricemode",
  16527. "tradedate",
  16528. "validtype"
  16529. ],
  16530. "properties": {
  16531. "accountid": {
  16532. "description": "账户ID[报价币种]",
  16533. "type": "integer"
  16534. },
  16535. "buildtype": {
  16536. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16537. "type": "integer"
  16538. },
  16539. "buyorsell": {
  16540. "description": "买卖 - 0:买 1:卖",
  16541. "type": "integer"
  16542. },
  16543. "cancelorderid": {
  16544. "description": "撤单单号(撤单时填写)",
  16545. "type": "string"
  16546. },
  16547. "cancelqty": {
  16548. "description": "撤单数量",
  16549. "type": "integer"
  16550. },
  16551. "clientordertime": {
  16552. "description": "客户端委托时间",
  16553. "type": "string"
  16554. },
  16555. "clientticket": {
  16556. "description": "客户端流水号",
  16557. "type": "string"
  16558. },
  16559. "clienttype": {
  16560. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16561. "type": "integer"
  16562. },
  16563. "closeexchagechargevalue": {
  16564. "description": "平仓交易所手续费设置值",
  16565. "type": "number"
  16566. },
  16567. "closefeealgorithm": {
  16568. "description": "平仓手续费收取方式 1:比率 2:固定",
  16569. "type": "integer"
  16570. },
  16571. "closefreezecharge": {
  16572. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16573. "type": "number"
  16574. },
  16575. "closememberchargevalue": {
  16576. "description": "平仓会员手续费设置值",
  16577. "type": "number"
  16578. },
  16579. "closeqty": {
  16580. "description": "平仓数量(先建后平操作 需要记录)",
  16581. "type": "integer"
  16582. },
  16583. "closetradeqty": {
  16584. "description": "平仓成交数量(先建后平操作,需要记录)",
  16585. "type": "integer"
  16586. },
  16587. "closeunfreezecharge": {
  16588. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16589. "type": "number"
  16590. },
  16591. "delistingtype": {
  16592. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16593. "type": "integer"
  16594. },
  16595. "freezecharge": {
  16596. "description": "冻结手续费",
  16597. "type": "number"
  16598. },
  16599. "freezemargin": {
  16600. "description": "冻结保证金(冻结交易金额)",
  16601. "type": "number"
  16602. },
  16603. "gcaccountid": {
  16604. "description": "账户ID[合约币种]",
  16605. "type": "integer"
  16606. },
  16607. "goodscode": {
  16608. "description": "商品代码",
  16609. "type": "string"
  16610. },
  16611. "goodsid": {
  16612. "description": "商品ID",
  16613. "type": "integer"
  16614. },
  16615. "goodsname": {
  16616. "description": "商品名称",
  16617. "type": "string"
  16618. },
  16619. "histradedate": {
  16620. "description": "历史交易日",
  16621. "type": "string"
  16622. },
  16623. "isconfirmexercise": {
  16624. "description": "是否确认行权- 0:否 1:是",
  16625. "type": "integer"
  16626. },
  16627. "ispreexercise": {
  16628. "description": "是否预申报- 0:否 1:是",
  16629. "type": "integer"
  16630. },
  16631. "isvaliddata": {
  16632. "description": "是否有效 - 0:无效 1:有效",
  16633. "type": "integer"
  16634. },
  16635. "listingselecttype": {
  16636. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16637. "type": "integer"
  16638. },
  16639. "marginalgorithm": {
  16640. "description": "保证金收取方式 1:比率 2:固定",
  16641. "type": "integer"
  16642. },
  16643. "marginvalue": {
  16644. "description": "即市保证金设置值",
  16645. "type": "number"
  16646. },
  16647. "marketid": {
  16648. "description": "市场ID",
  16649. "type": "integer"
  16650. },
  16651. "marketmaxsub": {
  16652. "description": "市价最大偏移范围",
  16653. "type": "number"
  16654. },
  16655. "marketname": {
  16656. "description": "市场名称",
  16657. "type": "string"
  16658. },
  16659. "memberuserid": {
  16660. "description": "所属会员UserID",
  16661. "type": "integer"
  16662. },
  16663. "openexchagechargevalue": {
  16664. "description": "建仓交易所手续费设置值",
  16665. "type": "number"
  16666. },
  16667. "openfeealgorithm": {
  16668. "description": "建仓手续费收取方式 1:比率 2:固定",
  16669. "type": "integer"
  16670. },
  16671. "openfreezecharge": {
  16672. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16673. "type": "number"
  16674. },
  16675. "openmemberchargevalue": {
  16676. "description": "建仓会员手续费设置值",
  16677. "type": "number"
  16678. },
  16679. "openqty": {
  16680. "description": "开仓数量(先建后平操作,需要记录)",
  16681. "type": "integer"
  16682. },
  16683. "opentradeqty": {
  16684. "description": "开仓成交数量(先建后平操作,需要记录)",
  16685. "type": "integer"
  16686. },
  16687. "openunfreezecharge": {
  16688. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16689. "type": "number"
  16690. },
  16691. "operatetype": {
  16692. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16693. "type": "integer"
  16694. },
  16695. "operatorid": {
  16696. "description": "登录账号(LoginID)",
  16697. "type": "integer"
  16698. },
  16699. "optiontype": {
  16700. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16701. "type": "integer"
  16702. },
  16703. "orderid": {
  16704. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16705. "type": "string"
  16706. },
  16707. "orderprice": {
  16708. "description": "委托价格",
  16709. "type": "number"
  16710. },
  16711. "orderqty": {
  16712. "description": "委托数量",
  16713. "type": "integer"
  16714. },
  16715. "ordersrc": {
  16716. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16717. "type": "integer"
  16718. },
  16719. "orderstatus": {
  16720. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16721. "type": "integer"
  16722. },
  16723. "ordertime": {
  16724. "description": "委托时间",
  16725. "type": "string"
  16726. },
  16727. "preexerciseprice": {
  16728. "description": "预申报价格",
  16729. "type": "number"
  16730. },
  16731. "premium": {
  16732. "description": "权利金",
  16733. "type": "number"
  16734. },
  16735. "preorderid": {
  16736. "description": "关联预埋单号(止盈止损单时填写)",
  16737. "type": "string"
  16738. },
  16739. "pricemode": {
  16740. "description": "取价方式 - 1:市价 2: 限价",
  16741. "type": "integer"
  16742. },
  16743. "quoteid": {
  16744. "description": "报价单ID",
  16745. "type": "integer"
  16746. },
  16747. "relatedid": {
  16748. "description": "关联单号(交割单)",
  16749. "type": "string"
  16750. },
  16751. "retcode": {
  16752. "description": "错误代码",
  16753. "type": "integer"
  16754. },
  16755. "sessionid": {
  16756. "description": "会话ID",
  16757. "type": "integer"
  16758. },
  16759. "tradedate": {
  16760. "description": "交易日(yyyyMMdd)",
  16761. "type": "string"
  16762. },
  16763. "trademode": {
  16764. "description": "交易模式",
  16765. "type": "integer"
  16766. },
  16767. "tradeproperty": {
  16768. "description": "交易属性",
  16769. "type": "integer"
  16770. },
  16771. "tradeqty": {
  16772. "description": "成交数量",
  16773. "type": "integer"
  16774. },
  16775. "unfreezecharge": {
  16776. "description": "解冻手续费",
  16777. "type": "number"
  16778. },
  16779. "unfreezemargin": {
  16780. "description": "解冻保证金",
  16781. "type": "number"
  16782. },
  16783. "updatetime": {
  16784. "description": "更新时间",
  16785. "type": "string"
  16786. },
  16787. "uuid": {
  16788. "description": "发起端唯一id",
  16789. "type": "string"
  16790. },
  16791. "validtime": {
  16792. "description": "有效期限",
  16793. "type": "string"
  16794. },
  16795. "validtype": {
  16796. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16797. "type": "integer"
  16798. },
  16799. "volumetype": {
  16800. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16801. "type": "integer"
  16802. }
  16803. }
  16804. },
  16805. "order.QueryTradeDetailRsp": {
  16806. "type": "object",
  16807. "required": [
  16808. "accountid",
  16809. "buyorsell",
  16810. "goodsid",
  16811. "marketid",
  16812. "memberuserid",
  16813. "orderid",
  16814. "tradeamount",
  16815. "tradedate",
  16816. "tradeid",
  16817. "tradeprice",
  16818. "tradeqty",
  16819. "tradetime"
  16820. ],
  16821. "properties": {
  16822. "accountid": {
  16823. "description": "账户ID[报价币种]",
  16824. "type": "integer"
  16825. },
  16826. "buildtype": {
  16827. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16828. "type": "integer"
  16829. },
  16830. "buyorsell": {
  16831. "description": "方向 - 0:买 1:卖",
  16832. "type": "integer"
  16833. },
  16834. "charge": {
  16835. "description": "手续费",
  16836. "type": "number"
  16837. },
  16838. "closecharge": {
  16839. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16840. "type": "number"
  16841. },
  16842. "closeexchagechargevalue": {
  16843. "description": "平仓交易所手续费设置值",
  16844. "type": "number"
  16845. },
  16846. "closefeealgorithm": {
  16847. "description": "平仓手续费收取方式 1:比率 2:固定",
  16848. "type": "integer"
  16849. },
  16850. "closememberchargevalue": {
  16851. "description": "平仓会员手续费设置值",
  16852. "type": "number"
  16853. },
  16854. "closepl": {
  16855. "description": "平仓盈亏",
  16856. "type": "number"
  16857. },
  16858. "closepl2": {
  16859. "description": "平仓盈亏[逐笔]",
  16860. "type": "number"
  16861. },
  16862. "closeqty": {
  16863. "description": "平仓数量(先建后平操作 需要记录)",
  16864. "type": "integer"
  16865. },
  16866. "creditamount": {
  16867. "description": "授信金额",
  16868. "type": "number"
  16869. },
  16870. "gcaccountid": {
  16871. "description": "账户ID[合约币种]",
  16872. "type": "integer"
  16873. },
  16874. "goodscode": {
  16875. "description": "商品代码",
  16876. "type": "string"
  16877. },
  16878. "goodsid": {
  16879. "description": "商品ID",
  16880. "type": "integer"
  16881. },
  16882. "goodsname": {
  16883. "description": "商品名称",
  16884. "type": "string"
  16885. },
  16886. "intclosepl": {
  16887. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16888. "type": "integer"
  16889. },
  16890. "isconfirmexercise": {
  16891. "description": "是否确认行权- 0:否 1:是",
  16892. "type": "integer"
  16893. },
  16894. "ismain": {
  16895. "description": "是否主单 - 0:不是 1:是",
  16896. "type": "integer"
  16897. },
  16898. "ispreexercise": {
  16899. "description": "是否预申报- 0:否 1:是",
  16900. "type": "integer"
  16901. },
  16902. "isreckoned": {
  16903. "description": "是否结算 - 0:未结算 1:已结算",
  16904. "type": "integer"
  16905. },
  16906. "listingselecttype": {
  16907. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16908. "type": "integer"
  16909. },
  16910. "marketid": {
  16911. "description": "市场ID",
  16912. "type": "integer"
  16913. },
  16914. "marketname": {
  16915. "description": "市场名称",
  16916. "type": "string"
  16917. },
  16918. "matchaccountid": {
  16919. "description": "对手账号id",
  16920. "type": "integer"
  16921. },
  16922. "memberuserid": {
  16923. "description": "会员id 个人投资者 需要填写",
  16924. "type": "integer"
  16925. },
  16926. "opencharge": {
  16927. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16928. "type": "number"
  16929. },
  16930. "openexchagechargevalue": {
  16931. "description": "建仓交易所手续费设置值",
  16932. "type": "number"
  16933. },
  16934. "openfeealgorithm": {
  16935. "description": "建仓手续费收取方式 1:比率 2:固定",
  16936. "type": "integer"
  16937. },
  16938. "openmemberchargevalue": {
  16939. "description": "建仓会员手续费设置值",
  16940. "type": "number"
  16941. },
  16942. "openqty": {
  16943. "description": "开仓数量(先建后平操作 需要记录)",
  16944. "type": "integer"
  16945. },
  16946. "optiontype": {
  16947. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16948. "type": "integer"
  16949. },
  16950. "orderid": {
  16951. "description": "委托单号",
  16952. "type": "string"
  16953. },
  16954. "performanceplanid": {
  16955. "description": "履约计划ID[期权]",
  16956. "type": "integer"
  16957. },
  16958. "performancestatus": {
  16959. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16960. "type": "integer"
  16961. },
  16962. "preexerciseprice": {
  16963. "description": "预申报价格",
  16964. "type": "number"
  16965. },
  16966. "premium": {
  16967. "description": "权利金 - [持仓单的权利金]",
  16968. "type": "number"
  16969. },
  16970. "relatedouttradeid": {
  16971. "description": "关联外部成交单ID",
  16972. "type": "integer"
  16973. },
  16974. "status": {
  16975. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16976. "type": "integer"
  16977. },
  16978. "tradeamount": {
  16979. "description": "成交金额[账户币种,用于所有权]",
  16980. "type": "number"
  16981. },
  16982. "tradedate": {
  16983. "description": "交易日(yyyyMMdd)",
  16984. "type": "string"
  16985. },
  16986. "tradeid": {
  16987. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16988. "type": "string"
  16989. },
  16990. "trademode": {
  16991. "description": "交易模式",
  16992. "type": "integer"
  16993. },
  16994. "tradeprice": {
  16995. "description": "成交价格",
  16996. "type": "number"
  16997. },
  16998. "tradeproperty": {
  16999. "description": "交易属性",
  17000. "type": "integer"
  17001. },
  17002. "tradeqty": {
  17003. "description": "成交数量",
  17004. "type": "integer"
  17005. },
  17006. "tradetime": {
  17007. "description": "成交时间",
  17008. "type": "string"
  17009. },
  17010. "tradetype": {
  17011. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17012. "type": "integer"
  17013. }
  17014. }
  17015. },
  17016. "order.QueryTradeOrderDetailRsp": {
  17017. "type": "object",
  17018. "required": [
  17019. "accountid",
  17020. "buildtype",
  17021. "buyorsell",
  17022. "goodsid",
  17023. "marketid",
  17024. "operatetype",
  17025. "orderqty",
  17026. "ordertime",
  17027. "pricemode",
  17028. "tradedate",
  17029. "validtype"
  17030. ],
  17031. "properties": {
  17032. "accountid": {
  17033. "description": "账户ID[报价币种]",
  17034. "type": "integer"
  17035. },
  17036. "buildtype": {
  17037. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17038. "type": "integer"
  17039. },
  17040. "buyorsell": {
  17041. "description": "买卖 - 0:买 1:卖",
  17042. "type": "integer"
  17043. },
  17044. "cancelorderid": {
  17045. "description": "撤单单号(撤单时填写)",
  17046. "type": "string"
  17047. },
  17048. "cancelqty": {
  17049. "description": "撤单数量",
  17050. "type": "integer"
  17051. },
  17052. "clienttype": {
  17053. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17054. "type": "integer"
  17055. },
  17056. "closefreezecharge": {
  17057. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17058. "type": "number"
  17059. },
  17060. "closeqty": {
  17061. "description": "平仓数量(先建后平操作 需要记录)",
  17062. "type": "integer"
  17063. },
  17064. "closetradeqty": {
  17065. "description": "平仓成交数量(先建后平操作,需要记录)",
  17066. "type": "integer"
  17067. },
  17068. "closeunfreezecharge": {
  17069. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17070. "type": "number"
  17071. },
  17072. "delistingtype": {
  17073. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17074. "type": "integer"
  17075. },
  17076. "enableqty": {
  17077. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  17078. "type": "integer"
  17079. },
  17080. "freezecharge": {
  17081. "description": "冻结手续费",
  17082. "type": "number"
  17083. },
  17084. "freezemargin": {
  17085. "description": "冻结保证金(冻结交易金额)",
  17086. "type": "number"
  17087. },
  17088. "goodscode": {
  17089. "description": "商品代码",
  17090. "type": "string"
  17091. },
  17092. "goodsid": {
  17093. "description": "商品ID",
  17094. "type": "integer"
  17095. },
  17096. "goodsname": {
  17097. "description": "商品名称",
  17098. "type": "string"
  17099. },
  17100. "listingselecttype": {
  17101. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17102. "type": "integer"
  17103. },
  17104. "marketid": {
  17105. "description": "市场ID",
  17106. "type": "integer"
  17107. },
  17108. "marketname": {
  17109. "description": "市场名称",
  17110. "type": "string"
  17111. },
  17112. "openfreezecharge": {
  17113. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17114. "type": "number"
  17115. },
  17116. "openqty": {
  17117. "description": "开仓数量(先建后平操作,需要记录)",
  17118. "type": "integer"
  17119. },
  17120. "opentradeqty": {
  17121. "description": "开仓成交数量(先建后平操作,需要记录)",
  17122. "type": "integer"
  17123. },
  17124. "openunfreezecharge": {
  17125. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17126. "type": "number"
  17127. },
  17128. "operatetype": {
  17129. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17130. "type": "integer"
  17131. },
  17132. "operatorid": {
  17133. "description": "登录账号(LoginID)",
  17134. "type": "integer"
  17135. },
  17136. "orderid": {
  17137. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17138. "type": "string"
  17139. },
  17140. "orderprice": {
  17141. "description": "委托价格",
  17142. "type": "number"
  17143. },
  17144. "orderqty": {
  17145. "description": "委托数量",
  17146. "type": "integer"
  17147. },
  17148. "ordersrc": {
  17149. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17150. "type": "integer"
  17151. },
  17152. "orderstatus": {
  17153. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17154. "type": "integer"
  17155. },
  17156. "ordertime": {
  17157. "description": "委托时间",
  17158. "type": "string"
  17159. },
  17160. "preorderid": {
  17161. "description": "关联预埋单号(止盈止损单时填写)",
  17162. "type": "string"
  17163. },
  17164. "pricemode": {
  17165. "description": "取价方式 - 1:市价 2: 限价",
  17166. "type": "integer"
  17167. },
  17168. "relatedid": {
  17169. "description": "关联单号(交割单)",
  17170. "type": "string"
  17171. },
  17172. "tradedate": {
  17173. "description": "交易日(yyyyMMdd)",
  17174. "type": "string"
  17175. },
  17176. "trademode": {
  17177. "description": "交易模式",
  17178. "type": "integer"
  17179. },
  17180. "tradeqty": {
  17181. "description": "成交数量",
  17182. "type": "integer"
  17183. },
  17184. "unfreezecharge": {
  17185. "description": "解冻手续费",
  17186. "type": "number"
  17187. },
  17188. "unfreezemargin": {
  17189. "description": "解冻保证金",
  17190. "type": "number"
  17191. },
  17192. "validtime": {
  17193. "description": "有效期限",
  17194. "type": "string"
  17195. },
  17196. "validtype": {
  17197. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17198. "type": "integer"
  17199. },
  17200. "volumetype": {
  17201. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17202. "type": "integer"
  17203. }
  17204. }
  17205. },
  17206. "order.QueryTradePositionRsp": {
  17207. "type": "object",
  17208. "required": [
  17209. "goodsid"
  17210. ],
  17211. "properties": {
  17212. "accountid": {
  17213. "description": "资金账户",
  17214. "type": "integer"
  17215. },
  17216. "agreeunit": {
  17217. "description": "合约单位",
  17218. "type": "number"
  17219. },
  17220. "averageprice": {
  17221. "description": "持仓均价",
  17222. "type": "number"
  17223. },
  17224. "buyorsell": {
  17225. "description": "方向 - 0:买 1:卖",
  17226. "type": "integer"
  17227. },
  17228. "closetotalqty": {
  17229. "description": "平仓总数量",
  17230. "type": "integer"
  17231. },
  17232. "curholderamount": {
  17233. "description": "当前持仓总金额[商品币种]",
  17234. "type": "number"
  17235. },
  17236. "curpositionqty": {
  17237. "description": "当前持仓总数量",
  17238. "type": "integer"
  17239. },
  17240. "currencyid": {
  17241. "description": "报价货币ID",
  17242. "type": "integer"
  17243. },
  17244. "curtdposition": {
  17245. "description": "期末今日头寸",
  17246. "type": "integer"
  17247. },
  17248. "decimalplace": {
  17249. "description": "报价小数位",
  17250. "type": "integer"
  17251. },
  17252. "enableqty": {
  17253. "description": "可用量",
  17254. "type": "integer"
  17255. },
  17256. "fretdposition": {
  17257. "description": "冻结今日头寸",
  17258. "type": "integer"
  17259. },
  17260. "frozenqty": {
  17261. "description": "持仓冻结数量",
  17262. "type": "integer"
  17263. },
  17264. "goodscode": {
  17265. "description": "商品代码",
  17266. "type": "string"
  17267. },
  17268. "goodsid": {
  17269. "description": "商品Id",
  17270. "type": "integer"
  17271. },
  17272. "goodsname": {
  17273. "description": "商品名称",
  17274. "type": "string"
  17275. },
  17276. "goodunit": {
  17277. "description": "报价单位",
  17278. "type": "string"
  17279. },
  17280. "goodunitid": {
  17281. "description": "报价单位ID",
  17282. "type": "integer"
  17283. },
  17284. "holderamount": {
  17285. "description": "期初持仓总金额[商品币种]",
  17286. "type": "number"
  17287. },
  17288. "marketid": {
  17289. "description": "所属市场ID",
  17290. "type": "integer"
  17291. },
  17292. "openreqqty": {
  17293. "description": "开仓申请数量(用于比较最大持仓数量)",
  17294. "type": "integer"
  17295. },
  17296. "opentotalqty": {
  17297. "description": "开仓总数量",
  17298. "type": "integer"
  17299. },
  17300. "otherfrozenqty": {
  17301. "description": "持仓其他冻结数量(交割冻结)",
  17302. "type": "integer"
  17303. },
  17304. "positionqty": {
  17305. "description": "期初持仓数量",
  17306. "type": "integer"
  17307. },
  17308. "tnqty": {
  17309. "description": "T+N冻结总量",
  17310. "type": "integer"
  17311. },
  17312. "tnusedqty": {
  17313. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17314. "type": "integer"
  17315. },
  17316. "trademode": {
  17317. "description": "交易模式",
  17318. "type": "integer"
  17319. },
  17320. "usedmargin": {
  17321. "description": "占用保证金[商品币种]",
  17322. "type": "number"
  17323. }
  17324. }
  17325. },
  17326. "quote.HistoryData": {
  17327. "type": "object",
  17328. "properties": {
  17329. "c": {
  17330. "description": "收盘价",
  17331. "type": "number"
  17332. },
  17333. "f": {
  17334. "description": "是否补充数据",
  17335. "type": "boolean"
  17336. },
  17337. "h": {
  17338. "description": "最高价",
  17339. "type": "number"
  17340. },
  17341. "hv": {
  17342. "description": "持仓量",
  17343. "type": "integer"
  17344. },
  17345. "l": {
  17346. "description": "最低价",
  17347. "type": "number"
  17348. },
  17349. "o": {
  17350. "description": "开盘价",
  17351. "type": "number"
  17352. },
  17353. "s": {
  17354. "description": "结算价,日线周期(包括)以上才有",
  17355. "type": "number"
  17356. },
  17357. "ts": {
  17358. "description": "时间",
  17359. "type": "string"
  17360. },
  17361. "tt": {
  17362. "description": "总金额",
  17363. "type": "number"
  17364. },
  17365. "tv": {
  17366. "description": "总量",
  17367. "type": "integer"
  17368. }
  17369. }
  17370. },
  17371. "quote.HistoryTikData": {
  17372. "type": "object",
  17373. "properties": {
  17374. "AV": {
  17375. "description": "卖量",
  17376. "type": "integer"
  17377. },
  17378. "Ask": {
  17379. "description": "卖价",
  17380. "type": "number"
  17381. },
  17382. "BV": {
  17383. "description": "买量",
  17384. "type": "integer"
  17385. },
  17386. "Bid": {
  17387. "description": "买价",
  17388. "type": "number"
  17389. },
  17390. "HI": {
  17391. "description": "单笔持仓",
  17392. "type": "integer"
  17393. },
  17394. "HV": {
  17395. "description": "持仓量",
  17396. "type": "integer"
  17397. },
  17398. "PE": {
  17399. "description": "现价",
  17400. "type": "number"
  17401. },
  17402. "TDR": {
  17403. "description": "交易方向,0:买 1:卖",
  17404. "type": "integer"
  17405. },
  17406. "TK": {
  17407. "description": "交易类型",
  17408. "type": "integer"
  17409. },
  17410. "TS": {
  17411. "description": "行情时间文本",
  17412. "type": "string"
  17413. },
  17414. "TT": {
  17415. "description": "现金额",
  17416. "type": "number"
  17417. },
  17418. "Vol": {
  17419. "description": "现量",
  17420. "type": "integer"
  17421. }
  17422. }
  17423. },
  17424. "quote.QueryQuoteDayRsp": {
  17425. "type": "object",
  17426. "properties": {
  17427. "ask": {
  17428. "description": "卖1",
  17429. "type": "number"
  17430. },
  17431. "ask10": {
  17432. "description": "卖10",
  17433. "type": "number"
  17434. },
  17435. "ask2": {
  17436. "description": "卖2",
  17437. "type": "number"
  17438. },
  17439. "ask3": {
  17440. "description": "卖3",
  17441. "type": "number"
  17442. },
  17443. "ask4": {
  17444. "description": "卖4",
  17445. "type": "number"
  17446. },
  17447. "ask5": {
  17448. "description": "卖5",
  17449. "type": "number"
  17450. },
  17451. "ask6": {
  17452. "description": "卖6",
  17453. "type": "number"
  17454. },
  17455. "ask7": {
  17456. "description": "卖7",
  17457. "type": "number"
  17458. },
  17459. "ask8": {
  17460. "description": "卖8",
  17461. "type": "number"
  17462. },
  17463. "ask9": {
  17464. "description": "卖9",
  17465. "type": "number"
  17466. },
  17467. "askorderid": {
  17468. "description": "卖单号1",
  17469. "type": "integer"
  17470. },
  17471. "askorderid2": {
  17472. "description": "卖单号2",
  17473. "type": "integer"
  17474. },
  17475. "askorderid3": {
  17476. "description": "卖单号3",
  17477. "type": "integer"
  17478. },
  17479. "askorderid4": {
  17480. "description": "卖单号4",
  17481. "type": "integer"
  17482. },
  17483. "askorderid5": {
  17484. "description": "卖单号5",
  17485. "type": "integer"
  17486. },
  17487. "askordervolume": {
  17488. "description": "卖单量1",
  17489. "type": "integer"
  17490. },
  17491. "askordervolume10": {
  17492. "description": "卖单量10",
  17493. "type": "integer"
  17494. },
  17495. "askordervolume2": {
  17496. "description": "卖单量2",
  17497. "type": "integer"
  17498. },
  17499. "askordervolume3": {
  17500. "description": "卖单量3",
  17501. "type": "integer"
  17502. },
  17503. "askordervolume4": {
  17504. "description": "卖单量4",
  17505. "type": "integer"
  17506. },
  17507. "askordervolume5": {
  17508. "description": "卖单量5",
  17509. "type": "integer"
  17510. },
  17511. "askordervolume6": {
  17512. "description": "卖单量6",
  17513. "type": "integer"
  17514. },
  17515. "askordervolume7": {
  17516. "description": "卖单量7",
  17517. "type": "integer"
  17518. },
  17519. "askordervolume8": {
  17520. "description": "卖单量8",
  17521. "type": "integer"
  17522. },
  17523. "askordervolume9": {
  17524. "description": "卖单量9",
  17525. "type": "integer"
  17526. },
  17527. "askqueueinfo": {
  17528. "description": "大利市卖港股用",
  17529. "type": "string"
  17530. },
  17531. "askvolume": {
  17532. "description": "卖量1",
  17533. "type": "integer"
  17534. },
  17535. "askvolume10": {
  17536. "description": "卖量10",
  17537. "type": "integer"
  17538. },
  17539. "askvolume2": {
  17540. "description": "卖量2",
  17541. "type": "integer"
  17542. },
  17543. "askvolume3": {
  17544. "description": "卖量3",
  17545. "type": "integer"
  17546. },
  17547. "askvolume4": {
  17548. "description": "卖量4",
  17549. "type": "integer"
  17550. },
  17551. "askvolume5": {
  17552. "description": "卖量5",
  17553. "type": "integer"
  17554. },
  17555. "askvolume6": {
  17556. "description": "卖量6",
  17557. "type": "integer"
  17558. },
  17559. "askvolume7": {
  17560. "description": "卖量7",
  17561. "type": "integer"
  17562. },
  17563. "askvolume8": {
  17564. "description": "卖量8",
  17565. "type": "integer"
  17566. },
  17567. "askvolume9": {
  17568. "description": "卖量9",
  17569. "type": "integer"
  17570. },
  17571. "averageprice": {
  17572. "description": "均价",
  17573. "type": "number"
  17574. },
  17575. "bid": {
  17576. "description": "买1",
  17577. "type": "number"
  17578. },
  17579. "bid10": {
  17580. "description": "买10",
  17581. "type": "number"
  17582. },
  17583. "bid2": {
  17584. "description": "买2",
  17585. "type": "number"
  17586. },
  17587. "bid3": {
  17588. "description": "买3",
  17589. "type": "number"
  17590. },
  17591. "bid4": {
  17592. "description": "买4",
  17593. "type": "number"
  17594. },
  17595. "bid5": {
  17596. "description": "买5",
  17597. "type": "number"
  17598. },
  17599. "bid6": {
  17600. "description": "买6",
  17601. "type": "number"
  17602. },
  17603. "bid7": {
  17604. "description": "买7",
  17605. "type": "number"
  17606. },
  17607. "bid8": {
  17608. "description": "买8",
  17609. "type": "number"
  17610. },
  17611. "bid9": {
  17612. "description": "买9",
  17613. "type": "number"
  17614. },
  17615. "bidorderid": {
  17616. "description": "买单号1",
  17617. "type": "integer"
  17618. },
  17619. "bidorderid2": {
  17620. "description": "买单号2",
  17621. "type": "integer"
  17622. },
  17623. "bidorderid3": {
  17624. "description": "买单号3",
  17625. "type": "integer"
  17626. },
  17627. "bidorderid4": {
  17628. "description": "买单号4",
  17629. "type": "integer"
  17630. },
  17631. "bidorderid5": {
  17632. "description": "买单号5",
  17633. "type": "integer"
  17634. },
  17635. "bidordervolume": {
  17636. "description": "买单量1",
  17637. "type": "integer"
  17638. },
  17639. "bidordervolume10": {
  17640. "description": "买单量10",
  17641. "type": "integer"
  17642. },
  17643. "bidordervolume2": {
  17644. "description": "买单量2",
  17645. "type": "integer"
  17646. },
  17647. "bidordervolume3": {
  17648. "description": "买单量3",
  17649. "type": "integer"
  17650. },
  17651. "bidordervolume4": {
  17652. "description": "买单量4",
  17653. "type": "integer"
  17654. },
  17655. "bidordervolume5": {
  17656. "description": "买单量5",
  17657. "type": "integer"
  17658. },
  17659. "bidordervolume6": {
  17660. "description": "买单量6",
  17661. "type": "integer"
  17662. },
  17663. "bidordervolume7": {
  17664. "description": "买单量7",
  17665. "type": "integer"
  17666. },
  17667. "bidordervolume8": {
  17668. "description": "买单量8",
  17669. "type": "integer"
  17670. },
  17671. "bidordervolume9": {
  17672. "description": "买单量9",
  17673. "type": "integer"
  17674. },
  17675. "bidqueueinfo": {
  17676. "description": "大利市买港股用",
  17677. "type": "string"
  17678. },
  17679. "bidvolume": {
  17680. "description": "买量1",
  17681. "type": "integer"
  17682. },
  17683. "bidvolume10": {
  17684. "description": "买量10",
  17685. "type": "integer"
  17686. },
  17687. "bidvolume2": {
  17688. "description": "买量2",
  17689. "type": "integer"
  17690. },
  17691. "bidvolume3": {
  17692. "description": "买量3",
  17693. "type": "integer"
  17694. },
  17695. "bidvolume4": {
  17696. "description": "买量4",
  17697. "type": "integer"
  17698. },
  17699. "bidvolume5": {
  17700. "description": "买量5",
  17701. "type": "integer"
  17702. },
  17703. "bidvolume6": {
  17704. "description": "买量6",
  17705. "type": "integer"
  17706. },
  17707. "bidvolume7": {
  17708. "description": "买量7",
  17709. "type": "integer"
  17710. },
  17711. "bidvolume8": {
  17712. "description": "买量8",
  17713. "type": "integer"
  17714. },
  17715. "bidvolume9": {
  17716. "description": "买量9",
  17717. "type": "integer"
  17718. },
  17719. "calloptionpremiums": {
  17720. "description": "认购期权1",
  17721. "type": "integer"
  17722. },
  17723. "calloptionpremiums2": {
  17724. "description": "认购期权2",
  17725. "type": "integer"
  17726. },
  17727. "calloptionpremiums3": {
  17728. "description": "认购期权3",
  17729. "type": "integer"
  17730. },
  17731. "calloptionpremiums4": {
  17732. "description": "认购期权4",
  17733. "type": "integer"
  17734. },
  17735. "calloptionpremiums5": {
  17736. "description": "认购期权5",
  17737. "type": "integer"
  17738. },
  17739. "cleartime": {
  17740. "description": "清盘时间",
  17741. "type": "integer"
  17742. },
  17743. "exchangecode": {
  17744. "description": "交易所代码",
  17745. "type": "integer"
  17746. },
  17747. "exchangedate": {
  17748. "description": "交易日",
  17749. "type": "integer"
  17750. },
  17751. "goodscode": {
  17752. "description": "商品代码",
  17753. "type": "string"
  17754. },
  17755. "grepmarketprice": {
  17756. "description": "暗盘价 港股专用",
  17757. "type": "number"
  17758. },
  17759. "highest": {
  17760. "description": "最高价",
  17761. "type": "number"
  17762. },
  17763. "holdincrement": {
  17764. "description": "单笔持仓",
  17765. "type": "integer"
  17766. },
  17767. "holdvolume": {
  17768. "description": "持仓",
  17769. "type": "integer"
  17770. },
  17771. "iep": {
  17772. "description": "平衡价 港股专用",
  17773. "type": "number"
  17774. },
  17775. "iev": {
  17776. "description": "平衡量 港股专用",
  17777. "type": "number"
  17778. },
  17779. "inventory": {
  17780. "description": "库存",
  17781. "type": "integer"
  17782. },
  17783. "iscleared": {
  17784. "description": "是否清盘标志",
  17785. "type": "integer"
  17786. },
  17787. "issettled": {
  17788. "description": "是否结算标志",
  17789. "type": "integer"
  17790. },
  17791. "last": {
  17792. "description": "最新价",
  17793. "type": "number"
  17794. },
  17795. "lastlot": {
  17796. "description": "最新成交手数",
  17797. "type": "integer"
  17798. },
  17799. "lasttime": {
  17800. "description": "行情时间(只有现价变化行情时间才变化)",
  17801. "type": "string"
  17802. },
  17803. "lastturnover": {
  17804. "description": "最新成交金额",
  17805. "type": "number"
  17806. },
  17807. "lastvolume": {
  17808. "description": "最新成交量",
  17809. "type": "integer"
  17810. },
  17811. "limitdown": {
  17812. "description": "跌停价",
  17813. "type": "number"
  17814. },
  17815. "limitup": {
  17816. "description": "涨停价",
  17817. "type": "number"
  17818. },
  17819. "lowest": {
  17820. "description": "最低价",
  17821. "type": "number"
  17822. },
  17823. "nontotalholdervolume": {
  17824. "description": "非交易持仓量",
  17825. "type": "integer"
  17826. },
  17827. "nontotallot": {
  17828. "description": "非交易总手数",
  17829. "type": "integer"
  17830. },
  17831. "nontotalturnover": {
  17832. "description": "非交易总金额",
  17833. "type": "integer"
  17834. },
  17835. "nontotalvolume": {
  17836. "description": "非交易总量",
  17837. "type": "integer"
  17838. },
  17839. "opened": {
  17840. "description": "开盘价",
  17841. "type": "number"
  17842. },
  17843. "opentime": {
  17844. "description": "开盘时间",
  17845. "type": "string"
  17846. },
  17847. "orderid": {
  17848. "description": "序号",
  17849. "type": "integer"
  17850. },
  17851. "preclose": {
  17852. "description": "昨收",
  17853. "type": "number"
  17854. },
  17855. "preholdvolume": {
  17856. "description": "昨持仓",
  17857. "type": "integer"
  17858. },
  17859. "presettle": {
  17860. "description": "昨结价",
  17861. "type": "number"
  17862. },
  17863. "publictradetype": {
  17864. "description": "公共交易标志类型 港股专用",
  17865. "type": "string"
  17866. },
  17867. "putoptionpremiums": {
  17868. "description": "认沽期权1",
  17869. "type": "integer"
  17870. },
  17871. "putoptionpremiums2": {
  17872. "description": "认沽期权2",
  17873. "type": "integer"
  17874. },
  17875. "putoptionpremiums3": {
  17876. "description": "认沽期权3",
  17877. "type": "integer"
  17878. },
  17879. "putoptionpremiums4": {
  17880. "description": "认沽期权4",
  17881. "type": "integer"
  17882. },
  17883. "putoptionpremiums5": {
  17884. "description": "认沽期权5",
  17885. "type": "integer"
  17886. },
  17887. "settle": {
  17888. "description": "结算价",
  17889. "type": "number"
  17890. },
  17891. "strikeprice": {
  17892. "description": "发行价",
  17893. "type": "number"
  17894. },
  17895. "totalaskvolume": {
  17896. "description": "内盘",
  17897. "type": "integer"
  17898. },
  17899. "totalbidvolume": {
  17900. "description": "外盘",
  17901. "type": "integer"
  17902. },
  17903. "totallot": {
  17904. "description": "总手数",
  17905. "type": "integer"
  17906. },
  17907. "totalturnover": {
  17908. "description": "总金额",
  17909. "type": "number"
  17910. },
  17911. "totalvolume": {
  17912. "description": "总量",
  17913. "type": "integer"
  17914. },
  17915. "utclasttime": {
  17916. "description": "utc的行情时间",
  17917. "type": "string"
  17918. }
  17919. }
  17920. },
  17921. "quote.QueryTSDataRsp": {
  17922. "type": "object",
  17923. "properties": {
  17924. "decimalPlace": {
  17925. "description": "小数位",
  17926. "type": "integer"
  17927. },
  17928. "endTime": {
  17929. "description": "结束时间",
  17930. "type": "string"
  17931. },
  17932. "goodsCode": {
  17933. "description": "商品代码",
  17934. "type": "string"
  17935. },
  17936. "historyDatas": {
  17937. "description": "历史数据",
  17938. "type": "array",
  17939. "items": {
  17940. "$ref": "#/definitions/quote.HistoryData"
  17941. }
  17942. },
  17943. "outGoodsCode": {
  17944. "description": "外部商品代码",
  17945. "type": "string"
  17946. },
  17947. "preSettle": {
  17948. "description": "昨结",
  17949. "type": "number"
  17950. },
  17951. "startTime": {
  17952. "description": "开始时间",
  17953. "type": "string"
  17954. },
  17955. "tradeDate": {
  17956. "description": "交易日",
  17957. "type": "string"
  17958. }
  17959. }
  17960. },
  17961. "szdz.QueryConvertLogRsp": {
  17962. "type": "object",
  17963. "required": [
  17964. "logid"
  17965. ],
  17966. "properties": {
  17967. "accountid": {
  17968. "description": "资金账户ID",
  17969. "type": "integer"
  17970. },
  17971. "clientticket": {
  17972. "description": "客户端流水号",
  17973. "type": "string"
  17974. },
  17975. "converttype": {
  17976. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17977. "type": "integer"
  17978. },
  17979. "createtime": {
  17980. "description": "记账时间",
  17981. "type": "string"
  17982. },
  17983. "daymaxvalue": {
  17984. "description": "配置当日最大转入限制",
  17985. "type": "number"
  17986. },
  17987. "daymaxvalue2": {
  17988. "description": "配置当日最大转入限制(转入)",
  17989. "type": "number"
  17990. },
  17991. "goodscode": {
  17992. "description": "商品代码",
  17993. "type": "string"
  17994. },
  17995. "goodsname": {
  17996. "description": "商品名称",
  17997. "type": "string"
  17998. },
  17999. "handlestatus": {
  18000. "description": "处理状态",
  18001. "type": "integer"
  18002. },
  18003. "innergoodsid": {
  18004. "description": "内部商品ID",
  18005. "type": "integer"
  18006. },
  18007. "inratio": {
  18008. "description": "配置转入比值",
  18009. "type": "integer"
  18010. },
  18011. "invalue": {
  18012. "description": "目标值",
  18013. "type": "number"
  18014. },
  18015. "logid": {
  18016. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18017. "type": "integer"
  18018. },
  18019. "mobile": {
  18020. "description": "手机号码(加密存储)",
  18021. "type": "string"
  18022. },
  18023. "outergoodscode": {
  18024. "description": "外部商品代码[JD\\PD]",
  18025. "type": "string"
  18026. },
  18027. "outratio": {
  18028. "description": "配置转出比值",
  18029. "type": "integer"
  18030. },
  18031. "outvalue": {
  18032. "description": "源值",
  18033. "type": "number"
  18034. },
  18035. "pddecimalplace": {
  18036. "description": "PD小数位",
  18037. "type": "integer"
  18038. },
  18039. "qty": {
  18040. "description": "数量",
  18041. "type": "string"
  18042. },
  18043. "remark": {
  18044. "description": "备注",
  18045. "type": "string"
  18046. },
  18047. "sessionid": {
  18048. "description": "会话ID",
  18049. "type": "integer"
  18050. },
  18051. "timemaxvalue": {
  18052. "description": "配置单次最大转入限制",
  18053. "type": "number"
  18054. },
  18055. "timemaxvalue2": {
  18056. "description": "配置单次最大转入限制(转入)",
  18057. "type": "number"
  18058. },
  18059. "timeminvalue": {
  18060. "description": "配置单次最小数量限制",
  18061. "type": "number"
  18062. },
  18063. "timeminvalue2": {
  18064. "description": "配置单次最小数量限制(转入)",
  18065. "type": "number"
  18066. },
  18067. "tradedate": {
  18068. "description": "交易日(yyyyMMdd)",
  18069. "type": "string"
  18070. },
  18071. "userid": {
  18072. "description": "用户ID",
  18073. "type": "integer"
  18074. }
  18075. }
  18076. },
  18077. "szdz.QueryGoodsPickupRsp": {
  18078. "type": "object",
  18079. "required": [
  18080. "takeorderid"
  18081. ],
  18082. "properties": {
  18083. "accountid": {
  18084. "description": "账户ID",
  18085. "type": "integer"
  18086. },
  18087. "address": {
  18088. "description": "提货人详细地址",
  18089. "type": "string"
  18090. },
  18091. "auditer": {
  18092. "description": "审核人",
  18093. "type": "integer"
  18094. },
  18095. "audittime": {
  18096. "description": "审核时间",
  18097. "type": "string"
  18098. },
  18099. "cardnum": {
  18100. "description": "提货人证件号码",
  18101. "type": "string"
  18102. },
  18103. "cardtypeid": {
  18104. "description": "提货人证件类型",
  18105. "type": "integer"
  18106. },
  18107. "checkremark": {
  18108. "description": "审核备注",
  18109. "type": "string"
  18110. },
  18111. "goodscode": {
  18112. "description": "商品代码",
  18113. "type": "string"
  18114. },
  18115. "goodsid": {
  18116. "description": "商品ID",
  18117. "type": "integer"
  18118. },
  18119. "goodsname": {
  18120. "description": "商品名称",
  18121. "type": "string"
  18122. },
  18123. "handlestatus": {
  18124. "description": "处理状态",
  18125. "type": "integer"
  18126. },
  18127. "marketid": {
  18128. "description": "市场ID",
  18129. "type": "integer"
  18130. },
  18131. "phonenum": {
  18132. "description": "提货人联系方式",
  18133. "type": "string"
  18134. },
  18135. "qty": {
  18136. "description": "提货数量",
  18137. "type": "number"
  18138. },
  18139. "recivername": {
  18140. "description": "提货人姓名",
  18141. "type": "string"
  18142. },
  18143. "reqtime": {
  18144. "description": "更新时间",
  18145. "type": "string"
  18146. },
  18147. "takemode": {
  18148. "description": "提货方式 - 2:自提 3:配送",
  18149. "type": "integer"
  18150. },
  18151. "takeorderid": {
  18152. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18153. "type": "string"
  18154. },
  18155. "takeorderstatus": {
  18156. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18157. "type": "integer"
  18158. },
  18159. "takeremark": {
  18160. "description": "提货备注",
  18161. "type": "string"
  18162. },
  18163. "tradedate": {
  18164. "description": "交易日(yyyyMMdd)",
  18165. "type": "string"
  18166. },
  18167. "userid": {
  18168. "description": "用户ID",
  18169. "type": "integer"
  18170. }
  18171. }
  18172. },
  18173. "szdz.QueryRecieptOrderRsp": {
  18174. "type": "object",
  18175. "required": [
  18176. "ordertime"
  18177. ],
  18178. "properties": {
  18179. "accountName": {
  18180. "description": "所属账号名称(已脱敏)",
  18181. "type": "string"
  18182. },
  18183. "accountid": {
  18184. "description": "资金账号",
  18185. "type": "integer"
  18186. },
  18187. "buyorsell": {
  18188. "description": "方向 - 0:买 1:卖",
  18189. "type": "integer"
  18190. },
  18191. "enableqty": {
  18192. "description": "可摘数量",
  18193. "type": "integer"
  18194. },
  18195. "goodscode": {
  18196. "description": "商品代码",
  18197. "type": "string"
  18198. },
  18199. "goodsid": {
  18200. "description": "商品ID",
  18201. "type": "integer"
  18202. },
  18203. "goodsname": {
  18204. "description": "商品名称",
  18205. "type": "string"
  18206. },
  18207. "orderid": {
  18208. "description": "委托单号",
  18209. "type": "string"
  18210. },
  18211. "orderprice": {
  18212. "description": "委托价格",
  18213. "type": "number"
  18214. },
  18215. "ordertime": {
  18216. "description": "委托时间",
  18217. "type": "string"
  18218. },
  18219. "tradedate": {
  18220. "description": "交易日(yyyyMMdd)",
  18221. "type": "string"
  18222. }
  18223. }
  18224. },
  18225. "szdz.QuerySZDZTradePositionRsp": {
  18226. "type": "object",
  18227. "properties": {
  18228. "accountid": {
  18229. "description": "账号Id",
  18230. "type": "integer"
  18231. },
  18232. "agreeunit": {
  18233. "description": "合约单位",
  18234. "type": "number"
  18235. },
  18236. "averageprice": {
  18237. "description": "持仓均价",
  18238. "type": "number"
  18239. },
  18240. "buyorsell": {
  18241. "description": "方向 - 0:买 1:卖",
  18242. "type": "integer"
  18243. },
  18244. "closetotalqty": {
  18245. "description": "平仓总数量",
  18246. "type": "integer"
  18247. },
  18248. "curholderamount": {
  18249. "description": "当前持仓总金额",
  18250. "type": "number"
  18251. },
  18252. "curpositionqty": {
  18253. "description": "当前持仓总数量",
  18254. "type": "integer"
  18255. },
  18256. "currencyid": {
  18257. "description": "报价货币ID",
  18258. "type": "integer"
  18259. },
  18260. "curtdposition": {
  18261. "description": "期末今日头寸",
  18262. "type": "integer"
  18263. },
  18264. "decimalplace": {
  18265. "description": "报价小数位",
  18266. "type": "integer"
  18267. },
  18268. "enableqty": {
  18269. "description": "可用量",
  18270. "type": "integer"
  18271. },
  18272. "fretdposition": {
  18273. "description": "冻结今日头寸",
  18274. "type": "integer"
  18275. },
  18276. "frozenqty": {
  18277. "description": "持仓冻结数量",
  18278. "type": "integer"
  18279. },
  18280. "goodscode": {
  18281. "description": "商品代码(内部)",
  18282. "type": "string"
  18283. },
  18284. "goodsid": {
  18285. "description": "商品Id",
  18286. "type": "integer"
  18287. },
  18288. "goodsname": {
  18289. "description": "商品名称",
  18290. "type": "string"
  18291. },
  18292. "goodunit": {
  18293. "description": "报价单位",
  18294. "type": "string"
  18295. },
  18296. "goodunitid": {
  18297. "description": "报价单位ID",
  18298. "type": "integer"
  18299. },
  18300. "holderamount": {
  18301. "description": "期初持仓总金额",
  18302. "type": "number"
  18303. },
  18304. "marketid": {
  18305. "description": "市场ID",
  18306. "type": "integer"
  18307. },
  18308. "openreqqty": {
  18309. "description": "开仓申请数量",
  18310. "type": "integer"
  18311. },
  18312. "opentotalqty": {
  18313. "description": "开仓总数量",
  18314. "type": "integer"
  18315. },
  18316. "otherfrozenqty": {
  18317. "description": "持仓其他冻结数量(交割冻结)",
  18318. "type": "integer"
  18319. },
  18320. "positionqty": {
  18321. "description": "期初持仓数量",
  18322. "type": "integer"
  18323. },
  18324. "szdz3freezqty": {
  18325. "description": "尚志大宗转换冻结总数量",
  18326. "type": "integer"
  18327. },
  18328. "tnqty": {
  18329. "description": "T+N冻结总量",
  18330. "type": "integer"
  18331. },
  18332. "tnusedqty": {
  18333. "description": "T+N使用量",
  18334. "type": "integer"
  18335. },
  18336. "trademode": {
  18337. "description": "交易模式",
  18338. "type": "integer"
  18339. },
  18340. "usedmargin": {
  18341. "description": "占用保证金",
  18342. "type": "number"
  18343. }
  18344. }
  18345. },
  18346. "taaccount.QueryAmountLogRsp": {
  18347. "type": "object",
  18348. "required": [
  18349. "accountid",
  18350. "amount",
  18351. "amountadjusttype",
  18352. "autoid",
  18353. "balance",
  18354. "createtime",
  18355. "currentbalance",
  18356. "operatetype"
  18357. ],
  18358. "properties": {
  18359. "OPERATETYPENAME": {
  18360. "description": "资金操作类型名称",
  18361. "type": "string"
  18362. },
  18363. "accountid": {
  18364. "description": "资金账户ID",
  18365. "type": "integer"
  18366. },
  18367. "agoodscode": {
  18368. "description": "竞拍商品代码",
  18369. "type": "string"
  18370. },
  18371. "agoodsname": {
  18372. "description": "竞拍商品名称",
  18373. "type": "string"
  18374. },
  18375. "amount": {
  18376. "description": "资金金额",
  18377. "type": "number"
  18378. },
  18379. "amountadjusttype": {
  18380. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18381. "type": "integer"
  18382. },
  18383. "autoid": {
  18384. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18385. "type": "integer"
  18386. },
  18387. "balance": {
  18388. "description": "期初余额",
  18389. "type": "number"
  18390. },
  18391. "businesscode": {
  18392. "description": "业务编号",
  18393. "type": "integer"
  18394. },
  18395. "createtime": {
  18396. "description": "发生时间",
  18397. "type": "string"
  18398. },
  18399. "currencyid": {
  18400. "description": "币种ID",
  18401. "type": "integer"
  18402. },
  18403. "currentbalance": {
  18404. "description": "期末余额(变动后金额)",
  18405. "type": "number"
  18406. },
  18407. "dgoodscode": {
  18408. "description": "交割商品代码",
  18409. "type": "string"
  18410. },
  18411. "dgoodsname": {
  18412. "description": "交割商品名称",
  18413. "type": "string"
  18414. },
  18415. "goodscode": {
  18416. "description": "商品代码",
  18417. "type": "string"
  18418. },
  18419. "goodsid": {
  18420. "description": "商品ID",
  18421. "type": "integer"
  18422. },
  18423. "goodsname": {
  18424. "description": "商品名称",
  18425. "type": "string"
  18426. },
  18427. "marketid": {
  18428. "description": "市场ID",
  18429. "type": "integer"
  18430. },
  18431. "marketname": {
  18432. "description": "市场名称",
  18433. "type": "string"
  18434. },
  18435. "moneyticket": {
  18436. "description": "资金流水号:银行端流水号",
  18437. "type": "integer"
  18438. },
  18439. "operatetype": {
  18440. "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:营销收款",
  18441. "type": "integer"
  18442. },
  18443. "relationorderid": {
  18444. "description": "关联单号",
  18445. "type": "string"
  18446. },
  18447. "remark": {
  18448. "description": "备注",
  18449. "type": "string"
  18450. },
  18451. "trademode": {
  18452. "description": "交易模式",
  18453. "type": "integer"
  18454. }
  18455. }
  18456. },
  18457. "taaccount.QueryHisAmountLogRsp": {
  18458. "type": "object",
  18459. "required": [
  18460. "accountid",
  18461. "amount",
  18462. "amountadjusttype",
  18463. "autoid",
  18464. "balance",
  18465. "createtime",
  18466. "currentbalance",
  18467. "histradedate",
  18468. "operatetype"
  18469. ],
  18470. "properties": {
  18471. "OPERATETYPENAME": {
  18472. "description": "资金操作类型名称",
  18473. "type": "string"
  18474. },
  18475. "accountid": {
  18476. "description": "资金账户ID",
  18477. "type": "integer"
  18478. },
  18479. "agoodscode": {
  18480. "description": "竞拍商品代码",
  18481. "type": "string"
  18482. },
  18483. "agoodsname": {
  18484. "description": "竞拍商品名称",
  18485. "type": "string"
  18486. },
  18487. "amount": {
  18488. "description": "资金金额",
  18489. "type": "number"
  18490. },
  18491. "amountadjusttype": {
  18492. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18493. "type": "integer"
  18494. },
  18495. "autoid": {
  18496. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18497. "type": "integer"
  18498. },
  18499. "balance": {
  18500. "description": "期初余额",
  18501. "type": "number"
  18502. },
  18503. "businesscode": {
  18504. "description": "业务编号",
  18505. "type": "integer"
  18506. },
  18507. "createtime": {
  18508. "description": "发生时间",
  18509. "type": "string"
  18510. },
  18511. "currencyid": {
  18512. "description": "币种ID",
  18513. "type": "integer"
  18514. },
  18515. "currentbalance": {
  18516. "description": "期末余额(变动后金额)",
  18517. "type": "number"
  18518. },
  18519. "dgoodscode": {
  18520. "description": "交割商品代码",
  18521. "type": "string"
  18522. },
  18523. "dgoodsname": {
  18524. "description": "交割商品名称",
  18525. "type": "string"
  18526. },
  18527. "goodscode": {
  18528. "description": "商品代码",
  18529. "type": "string"
  18530. },
  18531. "goodsid": {
  18532. "description": "商品ID",
  18533. "type": "integer"
  18534. },
  18535. "goodsname": {
  18536. "description": "商品名称",
  18537. "type": "string"
  18538. },
  18539. "histradedate": {
  18540. "description": "历史交易日",
  18541. "type": "string"
  18542. },
  18543. "isvaliddata": {
  18544. "description": "是否有效 - 0:无效 1:有效",
  18545. "type": "integer"
  18546. },
  18547. "marketid": {
  18548. "description": "市场ID",
  18549. "type": "integer"
  18550. },
  18551. "marketname": {
  18552. "description": "市场名称",
  18553. "type": "string"
  18554. },
  18555. "moneyticket": {
  18556. "description": "资金流水号:银行端流水号",
  18557. "type": "integer"
  18558. },
  18559. "operatetype": {
  18560. "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:营销收款",
  18561. "type": "integer"
  18562. },
  18563. "relationorderid": {
  18564. "description": "关联单号",
  18565. "type": "string"
  18566. },
  18567. "remark": {
  18568. "description": "备注",
  18569. "type": "string"
  18570. },
  18571. "trademode": {
  18572. "description": "交易模式",
  18573. "type": "integer"
  18574. }
  18575. }
  18576. },
  18577. "trade.QueryRecieptOrderRsp": {
  18578. "type": "object",
  18579. "required": [
  18580. "ordertime"
  18581. ],
  18582. "properties": {
  18583. "accountName": {
  18584. "description": "所属账号名称(已脱敏)",
  18585. "type": "string"
  18586. },
  18587. "accountid": {
  18588. "description": "资金账号",
  18589. "type": "integer"
  18590. },
  18591. "buyorsell": {
  18592. "description": "方向 - 0:买 1:卖",
  18593. "type": "integer"
  18594. },
  18595. "enableqty": {
  18596. "description": "可摘数量",
  18597. "type": "integer"
  18598. },
  18599. "goodscode": {
  18600. "description": "商品代码",
  18601. "type": "string"
  18602. },
  18603. "goodsid": {
  18604. "description": "商品ID",
  18605. "type": "integer"
  18606. },
  18607. "goodsname": {
  18608. "description": "商品名称",
  18609. "type": "string"
  18610. },
  18611. "orderid": {
  18612. "description": "委托单号",
  18613. "type": "string"
  18614. },
  18615. "orderprice": {
  18616. "description": "委托价格",
  18617. "type": "number"
  18618. },
  18619. "ordertime": {
  18620. "description": "委托时间",
  18621. "type": "string"
  18622. },
  18623. "tradedate": {
  18624. "description": "交易日(yyyyMMdd)",
  18625. "type": "string"
  18626. }
  18627. }
  18628. },
  18629. "user.LoginQueryRsp": {
  18630. "type": "object",
  18631. "properties": {
  18632. "SystemParams": {
  18633. "description": "系统参数",
  18634. "type": "array",
  18635. "items": {
  18636. "$ref": "#/definitions/models.Systemparam"
  18637. }
  18638. },
  18639. "externalExchanges": {
  18640. "description": "外部交易所",
  18641. "type": "array",
  18642. "items": {
  18643. "$ref": "#/definitions/models.Externalexchange"
  18644. }
  18645. },
  18646. "goodsgroups": {
  18647. "description": "商品组",
  18648. "type": "array",
  18649. "items": {
  18650. "$ref": "#/definitions/models.Goodsgroup"
  18651. }
  18652. },
  18653. "loginAccount": {
  18654. "description": "登录账号",
  18655. "$ref": "#/definitions/models.Loginaccount"
  18656. },
  18657. "markets": {
  18658. "description": "市场",
  18659. "type": "array",
  18660. "items": {
  18661. "$ref": "#/definitions/models.Market"
  18662. }
  18663. },
  18664. "userAccount": {
  18665. "description": "用户账号",
  18666. "$ref": "#/definitions/models.Useraccount"
  18667. },
  18668. "userInfo": {
  18669. "description": "用户信息",
  18670. "$ref": "#/definitions/models.Userinfo"
  18671. },
  18672. "username": {
  18673. "description": "用户姓名",
  18674. "type": "string"
  18675. }
  18676. }
  18677. }
  18678. },
  18679. "securityDefinitions": {
  18680. "ApiKeyAuth": {
  18681. "type": "apiKey",
  18682. "name": "Authorization",
  18683. "in": "header"
  18684. }
  18685. }
  18686. }`
  18687. type swaggerInfo struct {
  18688. Version string
  18689. Host string
  18690. BasePath string
  18691. Schemes []string
  18692. Title string
  18693. Description string
  18694. }
  18695. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18696. var SwaggerInfo = swaggerInfo{
  18697. Version: "1.0",
  18698. Host: "",
  18699. BasePath: "/api",
  18700. Schemes: []string{},
  18701. Title: "MTP2.0 查询服务 API",
  18702. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18703. }
  18704. type s struct{}
  18705. func (s *s) ReadDoc() string {
  18706. sInfo := SwaggerInfo
  18707. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18708. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18709. "marshal": func(v interface{}) string {
  18710. a, _ := json.Marshal(v)
  18711. return string(a)
  18712. },
  18713. }).Parse(doc)
  18714. if err != nil {
  18715. return doc
  18716. }
  18717. var tpl bytes.Buffer
  18718. if err := t.Execute(&tpl, sInfo); err != nil {
  18719. return doc
  18720. }
  18721. return tpl.String()
  18722. }
  18723. func init() {
  18724. swag.Register(swag.Name, &s{})
  18725. }