docs.go 674 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733
  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. "payamount": {
  12852. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12853. "type": "number"
  12854. },
  12855. "payflag": {
  12856. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12857. "type": "integer"
  12858. },
  12859. "paylimitedtime": {
  12860. "description": "支付期限",
  12861. "type": "string"
  12862. },
  12863. "paytime": {
  12864. "description": "付款时间",
  12865. "type": "string"
  12866. },
  12867. "picurls1": {
  12868. "description": "预售商品介绍图片[多张用逗号分隔]",
  12869. "type": "string"
  12870. },
  12871. "picurls2": {
  12872. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12873. "type": "string"
  12874. },
  12875. "sellaccountid": {
  12876. "description": "卖方账号ID[报价币种]",
  12877. "type": "integer"
  12878. },
  12879. "sellorderid": {
  12880. "description": "卖方委托单号",
  12881. "type": "string"
  12882. },
  12883. "tradeamount": {
  12884. "description": "成交金额",
  12885. "type": "number"
  12886. },
  12887. "tradecharge": {
  12888. "description": "成交手续费(买方)",
  12889. "type": "number"
  12890. },
  12891. "tradedate": {
  12892. "description": "交易日(yyyyMMdd)",
  12893. "type": "string"
  12894. },
  12895. "tradeid": {
  12896. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12897. "type": "string"
  12898. },
  12899. "trademode": {
  12900. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12901. "type": "integer"
  12902. },
  12903. "tradeprice": {
  12904. "description": "成交价格",
  12905. "type": "number"
  12906. },
  12907. "tradeqty": {
  12908. "description": "成交数量",
  12909. "type": "integer"
  12910. },
  12911. "vendorname1": {
  12912. "description": "预售商品供应商名称",
  12913. "type": "string"
  12914. },
  12915. "vendorname2": {
  12916. "description": "挂牌商品供应商名称",
  12917. "type": "string"
  12918. }
  12919. }
  12920. },
  12921. "models.HsbyBuyMyTradeDetail": {
  12922. "type": "object",
  12923. "required": [
  12924. "accountid",
  12925. "buyorsell",
  12926. "goodscode",
  12927. "goodsid",
  12928. "goodsname",
  12929. "marketid",
  12930. "orderid",
  12931. "qty",
  12932. "time",
  12933. "trademode"
  12934. ],
  12935. "properties": {
  12936. "accountid": {
  12937. "description": "账户ID[报价币种]",
  12938. "type": "integer"
  12939. },
  12940. "agreeunit": {
  12941. "description": "合约单位",
  12942. "type": "number"
  12943. },
  12944. "amount": {
  12945. "description": "金额 = 价格 * 数量 * 合约单位",
  12946. "type": "number"
  12947. },
  12948. "buyorsell": {
  12949. "description": "买卖 - 0:买 1:卖",
  12950. "type": "integer"
  12951. },
  12952. "currencysign": {
  12953. "description": "货币符号",
  12954. "type": "string"
  12955. },
  12956. "decimalplace": {
  12957. "description": "报价小数位",
  12958. "type": "integer"
  12959. },
  12960. "goodscode": {
  12961. "description": "商品代码(内部)",
  12962. "type": "string"
  12963. },
  12964. "goodsid": {
  12965. "description": "商品ID",
  12966. "type": "integer"
  12967. },
  12968. "goodsname": {
  12969. "description": "商品名称",
  12970. "type": "string"
  12971. },
  12972. "marketid": {
  12973. "description": "市场ID",
  12974. "type": "integer"
  12975. },
  12976. "orderid": {
  12977. "description": "单号(成交单号)",
  12978. "type": "string"
  12979. },
  12980. "picurls1": {
  12981. "description": "预售商品介绍图片[多张用逗号分隔]",
  12982. "type": "string"
  12983. },
  12984. "picurls2": {
  12985. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12986. "type": "string"
  12987. },
  12988. "price": {
  12989. "description": "价格",
  12990. "type": "number"
  12991. },
  12992. "qty": {
  12993. "description": "数量",
  12994. "type": "integer"
  12995. },
  12996. "time": {
  12997. "description": "时间",
  12998. "type": "string"
  12999. },
  13000. "trademode": {
  13001. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13002. "type": "integer"
  13003. },
  13004. "vendorname1": {
  13005. "description": "预售商品供应商名称",
  13006. "type": "string"
  13007. },
  13008. "vendorname2": {
  13009. "description": "挂牌商品供应商名称",
  13010. "type": "string"
  13011. }
  13012. }
  13013. },
  13014. "models.HsbyGoodsOrderDetail": {
  13015. "type": "object",
  13016. "required": [
  13017. "buyorsell",
  13018. "orderid",
  13019. "ordertime"
  13020. ],
  13021. "properties": {
  13022. "buyorsell": {
  13023. "description": "买卖 - 0:买 1:卖",
  13024. "type": "integer"
  13025. },
  13026. "currencysign": {
  13027. "description": "货币符号",
  13028. "type": "string"
  13029. },
  13030. "customername": {
  13031. "description": "客户名称(企业名称),已脱敏",
  13032. "type": "string"
  13033. },
  13034. "enableqty": {
  13035. "description": "可用数量",
  13036. "type": "integer"
  13037. },
  13038. "goodunit": {
  13039. "description": "报价单位",
  13040. "type": "string"
  13041. },
  13042. "orderid": {
  13043. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13044. "type": "string"
  13045. },
  13046. "orderprice": {
  13047. "description": "委托价格",
  13048. "type": "number"
  13049. },
  13050. "ordertime": {
  13051. "description": "委托时间",
  13052. "type": "string"
  13053. }
  13054. }
  13055. },
  13056. "models.HsbyListingGoodsDetail": {
  13057. "type": "object",
  13058. "required": [
  13059. "goodscode",
  13060. "goodsid",
  13061. "goodsname",
  13062. "marketid",
  13063. "trademode"
  13064. ],
  13065. "properties": {
  13066. "agreeunit": {
  13067. "description": "合约单位",
  13068. "type": "number"
  13069. },
  13070. "buymaxqty": {
  13071. "description": "购买上限 [71] - 0为不限",
  13072. "type": "integer"
  13073. },
  13074. "currency": {
  13075. "description": "货币",
  13076. "type": "string"
  13077. },
  13078. "currencysign": {
  13079. "description": "货币符号",
  13080. "type": "string"
  13081. },
  13082. "decimalplace": {
  13083. "description": "报价小数位",
  13084. "type": "integer"
  13085. },
  13086. "desccityid": {
  13087. "description": "目的地(市)ID",
  13088. "type": "integer"
  13089. },
  13090. "descprovinceid": {
  13091. "description": "目的地(省)ID",
  13092. "type": "integer"
  13093. },
  13094. "goodscode": {
  13095. "description": "商品代码(内部)",
  13096. "type": "string"
  13097. },
  13098. "goodsdesc": {
  13099. "description": "商品详情",
  13100. "type": "string"
  13101. },
  13102. "goodsid": {
  13103. "description": "商品ID(自增ID SEQ_GOODS)",
  13104. "type": "integer"
  13105. },
  13106. "goodsname": {
  13107. "description": "商品名称",
  13108. "type": "string"
  13109. },
  13110. "goodsprice": {
  13111. "description": "商品价格",
  13112. "type": "number"
  13113. },
  13114. "hotindex": {
  13115. "description": "景点热度",
  13116. "type": "integer"
  13117. },
  13118. "last": {
  13119. "description": "现价",
  13120. "type": "number"
  13121. },
  13122. "limitdown": {
  13123. "description": "跌停价",
  13124. "type": "number"
  13125. },
  13126. "limitup": {
  13127. "description": "涨停价",
  13128. "type": "number"
  13129. },
  13130. "lotsize": {
  13131. "description": "手数最小变动单位",
  13132. "type": "integer"
  13133. },
  13134. "marketid": {
  13135. "description": "所属市场ID",
  13136. "type": "integer"
  13137. },
  13138. "picurls": {
  13139. "description": "介绍图片[多张用逗号分隔]",
  13140. "type": "string"
  13141. },
  13142. "quoteminunit": {
  13143. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13144. "type": "integer"
  13145. },
  13146. "stepvalue": {
  13147. "description": "价格最小变动单位",
  13148. "type": "number"
  13149. },
  13150. "trademode": {
  13151. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13152. "type": "integer"
  13153. },
  13154. "vendorattr": {
  13155. "description": "供应商附件(多张,逗号分隔)",
  13156. "type": "string"
  13157. },
  13158. "vendorname": {
  13159. "description": "供应商名称",
  13160. "type": "string"
  13161. },
  13162. "vendorphone": {
  13163. "description": "供应商客服电话",
  13164. "type": "string"
  13165. },
  13166. "videourls": {
  13167. "description": "介绍视频[多张用逗号分隔]",
  13168. "type": "string"
  13169. }
  13170. }
  13171. },
  13172. "models.HsbyMarketGoods": {
  13173. "type": "object",
  13174. "required": [
  13175. "accountid",
  13176. "buyorsell",
  13177. "goodscode",
  13178. "goodsid",
  13179. "goodsname",
  13180. "marketid",
  13181. "orderid",
  13182. "trademode"
  13183. ],
  13184. "properties": {
  13185. "accountid": {
  13186. "description": "账户ID[报价币种]",
  13187. "type": "integer"
  13188. },
  13189. "agreeunit": {
  13190. "description": "合约单位",
  13191. "type": "number"
  13192. },
  13193. "buyorsell": {
  13194. "description": "买卖 - 0:买 1:卖",
  13195. "type": "integer"
  13196. },
  13197. "categoryid": {
  13198. "description": "类别ID(WRCATEGORY)",
  13199. "type": "integer"
  13200. },
  13201. "currency": {
  13202. "description": "货币",
  13203. "type": "string"
  13204. },
  13205. "currencysign": {
  13206. "description": "货币符号",
  13207. "type": "string"
  13208. },
  13209. "customername": {
  13210. "description": "卖家名称",
  13211. "type": "string"
  13212. },
  13213. "decimalplace": {
  13214. "description": "报价小数位",
  13215. "type": "integer"
  13216. },
  13217. "goodscode": {
  13218. "description": "商品代码(内部)",
  13219. "type": "string"
  13220. },
  13221. "goodsid": {
  13222. "description": "商品ID",
  13223. "type": "integer"
  13224. },
  13225. "goodsname": {
  13226. "description": "商品名称",
  13227. "type": "string"
  13228. },
  13229. "goodsprice": {
  13230. "description": "商品价格",
  13231. "type": "number"
  13232. },
  13233. "hascoupon": {
  13234. "description": "是否可用优惠卷",
  13235. "type": "boolean"
  13236. },
  13237. "hotindex": {
  13238. "description": "景点热度",
  13239. "type": "integer"
  13240. },
  13241. "marketid": {
  13242. "description": "市场ID",
  13243. "type": "integer"
  13244. },
  13245. "orderid": {
  13246. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13247. "type": "string"
  13248. },
  13249. "orderprice": {
  13250. "description": "委托价格",
  13251. "type": "number"
  13252. },
  13253. "orderstatus": {
  13254. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13255. "type": "integer"
  13256. },
  13257. "picurls": {
  13258. "description": "介绍图片[多张用逗号分隔]",
  13259. "type": "string"
  13260. },
  13261. "quoteminunit": {
  13262. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13263. "type": "integer"
  13264. },
  13265. "sellUserID": {
  13266. "description": "卖方UserID",
  13267. "type": "integer"
  13268. },
  13269. "trademode": {
  13270. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13271. "type": "integer"
  13272. },
  13273. "videourls": {
  13274. "description": "介绍视频[多张用逗号分隔]",
  13275. "type": "string"
  13276. }
  13277. }
  13278. },
  13279. "models.HsbyMarketGoodsDetail": {
  13280. "type": "object",
  13281. "required": [
  13282. "accountid",
  13283. "buyorsell",
  13284. "goodscode",
  13285. "goodsid",
  13286. "goodsname",
  13287. "marketid",
  13288. "orderid",
  13289. "orderqty",
  13290. "trademode"
  13291. ],
  13292. "properties": {
  13293. "accountid": {
  13294. "description": "账户ID[报价币种]",
  13295. "type": "integer"
  13296. },
  13297. "agreeunit": {
  13298. "description": "合约单位",
  13299. "type": "number"
  13300. },
  13301. "buymaxqty": {
  13302. "description": "购买上限 [71] - 0为不限",
  13303. "type": "integer"
  13304. },
  13305. "buyorsell": {
  13306. "description": "买卖 - 0:买 1:卖",
  13307. "type": "integer"
  13308. },
  13309. "cancelqty": {
  13310. "description": "撤单数量",
  13311. "type": "integer"
  13312. },
  13313. "categoryid": {
  13314. "description": "类别ID(WRCATEGORY)",
  13315. "type": "integer"
  13316. },
  13317. "currency": {
  13318. "description": "货币",
  13319. "type": "string"
  13320. },
  13321. "currencysign": {
  13322. "description": "货币符号",
  13323. "type": "string"
  13324. },
  13325. "customername": {
  13326. "description": "卖家名称",
  13327. "type": "string"
  13328. },
  13329. "decimalplace": {
  13330. "description": "报价小数位",
  13331. "type": "integer"
  13332. },
  13333. "goodscode": {
  13334. "description": "商品代码(内部)",
  13335. "type": "string"
  13336. },
  13337. "goodsdesc": {
  13338. "description": "商品详情",
  13339. "type": "string"
  13340. },
  13341. "goodsid": {
  13342. "description": "商品ID",
  13343. "type": "integer"
  13344. },
  13345. "goodsname": {
  13346. "description": "商品名称",
  13347. "type": "string"
  13348. },
  13349. "goodsprice": {
  13350. "description": "商品价格",
  13351. "type": "number"
  13352. },
  13353. "hotindex": {
  13354. "description": "景点热度",
  13355. "type": "integer"
  13356. },
  13357. "lotsize": {
  13358. "description": "手数最小变动单位",
  13359. "type": "integer"
  13360. },
  13361. "marketid": {
  13362. "description": "市场ID",
  13363. "type": "integer"
  13364. },
  13365. "orderid": {
  13366. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13367. "type": "string"
  13368. },
  13369. "orderprice": {
  13370. "description": "委托价格",
  13371. "type": "number"
  13372. },
  13373. "orderqty": {
  13374. "description": "委托数量",
  13375. "type": "integer"
  13376. },
  13377. "orderstatus": {
  13378. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13379. "type": "integer"
  13380. },
  13381. "picurls": {
  13382. "description": "介绍图片[多张用逗号分隔]",
  13383. "type": "string"
  13384. },
  13385. "quoteminunit": {
  13386. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13387. "type": "integer"
  13388. },
  13389. "sellUserID": {
  13390. "description": "卖方UserID",
  13391. "type": "integer"
  13392. },
  13393. "trademode": {
  13394. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13395. "type": "integer"
  13396. },
  13397. "tradeqty": {
  13398. "description": "成交数量",
  13399. "type": "integer"
  13400. },
  13401. "vendorattr": {
  13402. "description": "供应商附件(多张,逗号分隔)",
  13403. "type": "string"
  13404. },
  13405. "vendorname": {
  13406. "description": "供应商名称",
  13407. "type": "string"
  13408. },
  13409. "vendorphone": {
  13410. "description": "供应商客服电话",
  13411. "type": "string"
  13412. },
  13413. "videourls": {
  13414. "description": "介绍视频[多张用逗号分隔]",
  13415. "type": "string"
  13416. }
  13417. }
  13418. },
  13419. "models.HsbyMarketInfo": {
  13420. "type": "object",
  13421. "required": [
  13422. "marketid",
  13423. "marketstatus",
  13424. "trademode"
  13425. ],
  13426. "properties": {
  13427. "marketid": {
  13428. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13429. "type": "integer"
  13430. },
  13431. "marketname": {
  13432. "description": "市场名称",
  13433. "type": "string"
  13434. },
  13435. "marketstatus": {
  13436. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13437. "type": "integer"
  13438. },
  13439. "trademode": {
  13440. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13441. "type": "integer"
  13442. }
  13443. }
  13444. },
  13445. "models.HsbyMyGoods": {
  13446. "type": "object",
  13447. "required": [
  13448. "accountid",
  13449. "goodscode",
  13450. "goodsid",
  13451. "goodsname",
  13452. "marketid",
  13453. "trademode"
  13454. ],
  13455. "properties": {
  13456. "accountid": {
  13457. "description": "账号Id",
  13458. "type": "integer"
  13459. },
  13460. "agreeunit": {
  13461. "description": "合约单位",
  13462. "type": "number"
  13463. },
  13464. "buyaverageprice": {
  13465. "description": "持仓均价",
  13466. "type": "number"
  13467. },
  13468. "buycurholderamount": {
  13469. "description": "买当前持仓总金额[商品币种]",
  13470. "type": "number"
  13471. },
  13472. "buycurpositionqty": {
  13473. "description": "买当前持仓总数量",
  13474. "type": "integer"
  13475. },
  13476. "buymaxqty": {
  13477. "description": "购买上限 [71] - 0为不限",
  13478. "type": "integer"
  13479. },
  13480. "currencysign": {
  13481. "description": "货币符号",
  13482. "type": "string"
  13483. },
  13484. "decimalplace": {
  13485. "description": "报价小数位",
  13486. "type": "integer"
  13487. },
  13488. "enableqty": {
  13489. "description": "可用数量",
  13490. "type": "integer"
  13491. },
  13492. "goodscode": {
  13493. "description": "商品代码(内部)",
  13494. "type": "string"
  13495. },
  13496. "goodsid": {
  13497. "description": "商品Id",
  13498. "type": "integer"
  13499. },
  13500. "goodsname": {
  13501. "description": "商品名称",
  13502. "type": "string"
  13503. },
  13504. "goodsprice": {
  13505. "description": "商品价格",
  13506. "type": "number"
  13507. },
  13508. "goodsstatus": {
  13509. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13510. "type": "integer"
  13511. },
  13512. "last": {
  13513. "description": "现价(仅使用于挂牌点选)",
  13514. "type": "number"
  13515. },
  13516. "limitdown": {
  13517. "description": "跌停价(仅使用于挂牌点选)",
  13518. "type": "number"
  13519. },
  13520. "limitup": {
  13521. "description": "涨停价(仅使用于挂牌点选)",
  13522. "type": "number"
  13523. },
  13524. "lotsize": {
  13525. "description": "手数最小变动单位",
  13526. "type": "integer"
  13527. },
  13528. "marketid": {
  13529. "description": "所属市场ID",
  13530. "type": "integer"
  13531. },
  13532. "picurls": {
  13533. "description": "介绍图片[多张用逗号分隔]",
  13534. "type": "string"
  13535. },
  13536. "quoteminunit": {
  13537. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13538. "type": "integer"
  13539. },
  13540. "stepvalue": {
  13541. "description": "价格最小变动单位",
  13542. "type": "number"
  13543. },
  13544. "trademode": {
  13545. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13546. "type": "integer"
  13547. }
  13548. }
  13549. },
  13550. "models.HsbyMyPackage": {
  13551. "type": "object",
  13552. "required": [
  13553. "goodscode",
  13554. "goodsname",
  13555. "takeorderid",
  13556. "trademode"
  13557. ],
  13558. "properties": {
  13559. "accountid": {
  13560. "description": "账户ID",
  13561. "type": "integer"
  13562. },
  13563. "address": {
  13564. "description": "提货人详细地址",
  13565. "type": "string"
  13566. },
  13567. "agreeunit": {
  13568. "description": "合约单位",
  13569. "type": "number"
  13570. },
  13571. "amount": {
  13572. "description": "提货金额",
  13573. "type": "number"
  13574. },
  13575. "auditer": {
  13576. "description": "审核人",
  13577. "type": "integer"
  13578. },
  13579. "audittime": {
  13580. "description": "审核时间",
  13581. "type": "string"
  13582. },
  13583. "averageprice": {
  13584. "description": "均价",
  13585. "type": "number"
  13586. },
  13587. "cardnum": {
  13588. "description": "提货人证件号码",
  13589. "type": "string"
  13590. },
  13591. "cardtypeid": {
  13592. "description": "提货人证件类型",
  13593. "type": "integer"
  13594. },
  13595. "checkremark": {
  13596. "description": "审核备注",
  13597. "type": "string"
  13598. },
  13599. "currencysign": {
  13600. "description": "货币符号",
  13601. "type": "string"
  13602. },
  13603. "decimalplace": {
  13604. "description": "报价小数位",
  13605. "type": "integer"
  13606. },
  13607. "goodscode": {
  13608. "description": "商品代码(内部)",
  13609. "type": "string"
  13610. },
  13611. "goodsid": {
  13612. "description": "商品ID",
  13613. "type": "integer"
  13614. },
  13615. "goodsname": {
  13616. "description": "商品名称",
  13617. "type": "string"
  13618. },
  13619. "handlestatus": {
  13620. "description": "处理状态",
  13621. "type": "integer"
  13622. },
  13623. "marketid": {
  13624. "description": "市场ID",
  13625. "type": "integer"
  13626. },
  13627. "phonenum": {
  13628. "description": "提货人联系方式",
  13629. "type": "string"
  13630. },
  13631. "picurls": {
  13632. "description": "介绍图片[多张用逗号分隔]",
  13633. "type": "string"
  13634. },
  13635. "qty": {
  13636. "description": "提货数量",
  13637. "type": "number"
  13638. },
  13639. "recivername": {
  13640. "description": "提货人姓名",
  13641. "type": "string"
  13642. },
  13643. "reqtime": {
  13644. "description": "更新时间",
  13645. "type": "string"
  13646. },
  13647. "takemode": {
  13648. "description": "提货方式 - 2:自提 3:配送",
  13649. "type": "integer"
  13650. },
  13651. "takeorderid": {
  13652. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13653. "type": "string"
  13654. },
  13655. "takeorderstatus": {
  13656. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13657. "type": "integer"
  13658. },
  13659. "takeremark": {
  13660. "description": "提货备注",
  13661. "type": "string"
  13662. },
  13663. "tradedate": {
  13664. "description": "交易日(yyyyMMdd)",
  13665. "type": "string"
  13666. },
  13667. "trademode": {
  13668. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13669. "type": "integer"
  13670. },
  13671. "userid": {
  13672. "description": "用户ID",
  13673. "type": "integer"
  13674. },
  13675. "vendorname": {
  13676. "description": "供应商名称",
  13677. "type": "string"
  13678. }
  13679. }
  13680. },
  13681. "models.HsbyPreGoods": {
  13682. "type": "object",
  13683. "required": [
  13684. "goodscode",
  13685. "goodsid",
  13686. "goodsname",
  13687. "marketid",
  13688. "trademode"
  13689. ],
  13690. "properties": {
  13691. "agreeunit": {
  13692. "description": "合约单位",
  13693. "type": "number"
  13694. },
  13695. "currency": {
  13696. "description": "货币",
  13697. "type": "string"
  13698. },
  13699. "currencysign": {
  13700. "description": "货币符号",
  13701. "type": "string"
  13702. },
  13703. "decimalplace": {
  13704. "description": "报价小数位",
  13705. "type": "integer"
  13706. },
  13707. "desccityid": {
  13708. "description": "目的地(市)",
  13709. "type": "integer"
  13710. },
  13711. "descprovinceid": {
  13712. "description": "目的地(省)",
  13713. "type": "integer"
  13714. },
  13715. "enableqty": {
  13716. "description": "剩余数量",
  13717. "type": "integer"
  13718. },
  13719. "goodscode": {
  13720. "description": "商品代码(内部)",
  13721. "type": "string"
  13722. },
  13723. "goodsid": {
  13724. "description": "商品ID(自增ID SEQ_GOODS)",
  13725. "type": "integer"
  13726. },
  13727. "goodsname": {
  13728. "description": "商品名称",
  13729. "type": "string"
  13730. },
  13731. "goodsstatus": {
  13732. "description": "商品状态- 2:未上市 3:上市",
  13733. "type": "integer"
  13734. },
  13735. "lasttradedate": {
  13736. "description": "最后交易日期(状态:待退市)",
  13737. "type": "string"
  13738. },
  13739. "listingdate": {
  13740. "description": "交易开始日期",
  13741. "type": "string"
  13742. },
  13743. "marketid": {
  13744. "description": "所属市场ID",
  13745. "type": "integer"
  13746. },
  13747. "picurls": {
  13748. "description": "介绍图片[多张用逗号分隔]",
  13749. "type": "string"
  13750. },
  13751. "presaledqty": {
  13752. "description": "已预售量(预售结束时更新)",
  13753. "type": "integer"
  13754. },
  13755. "presaleqty": {
  13756. "description": "预售数量",
  13757. "type": "integer"
  13758. },
  13759. "quoteminunit": {
  13760. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13761. "type": "integer"
  13762. },
  13763. "refprice": {
  13764. "description": "参考价格[一口价]",
  13765. "type": "number"
  13766. },
  13767. "relatedgoodsid": {
  13768. "description": "关联交易合约ID",
  13769. "type": "integer"
  13770. },
  13771. "trademode": {
  13772. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13773. "type": "integer"
  13774. },
  13775. "videourls": {
  13776. "description": "介绍视频[多张用逗号分隔]",
  13777. "type": "string"
  13778. }
  13779. }
  13780. },
  13781. "models.HsbyPreGoodsDetail": {
  13782. "type": "object",
  13783. "required": [
  13784. "goodscode",
  13785. "goodsid",
  13786. "goodsname",
  13787. "marketid",
  13788. "trademode"
  13789. ],
  13790. "properties": {
  13791. "agreeunit": {
  13792. "description": "合约单位",
  13793. "type": "number"
  13794. },
  13795. "buymaxqty": {
  13796. "description": "购买上限 [71] - 0为不限",
  13797. "type": "integer"
  13798. },
  13799. "currency": {
  13800. "description": "货币",
  13801. "type": "string"
  13802. },
  13803. "currencysign": {
  13804. "description": "货币符号",
  13805. "type": "string"
  13806. },
  13807. "customername": {
  13808. "description": "发行单位",
  13809. "type": "string"
  13810. },
  13811. "decimalplace": {
  13812. "description": "报价小数位",
  13813. "type": "integer"
  13814. },
  13815. "desccityid": {
  13816. "description": "目的地(市)ID",
  13817. "type": "integer"
  13818. },
  13819. "descprovinceid": {
  13820. "description": "目的地(省)ID",
  13821. "type": "integer"
  13822. },
  13823. "enableqty": {
  13824. "description": "剩余数量",
  13825. "type": "integer"
  13826. },
  13827. "goodscode": {
  13828. "description": "商品代码(内部)",
  13829. "type": "string"
  13830. },
  13831. "goodsdesc": {
  13832. "description": "商品详情",
  13833. "type": "string"
  13834. },
  13835. "goodsid": {
  13836. "description": "商品ID(自增ID SEQ_GOODS)",
  13837. "type": "integer"
  13838. },
  13839. "goodsname": {
  13840. "description": "商品名称",
  13841. "type": "string"
  13842. },
  13843. "goodsstatus": {
  13844. "description": "商品状态- 2:未上市 3:上市",
  13845. "type": "integer"
  13846. },
  13847. "goodunit": {
  13848. "description": "报价单位",
  13849. "type": "string"
  13850. },
  13851. "lasttradedate": {
  13852. "description": "最后交易日期(状态:待退市)",
  13853. "type": "string"
  13854. },
  13855. "listingdate": {
  13856. "description": "交易开始日期",
  13857. "type": "string"
  13858. },
  13859. "lotsize": {
  13860. "description": "手数最小变动单位",
  13861. "type": "integer"
  13862. },
  13863. "marketid": {
  13864. "description": "所属市场ID",
  13865. "type": "integer"
  13866. },
  13867. "picurls": {
  13868. "description": "介绍图片[多张用逗号分隔]",
  13869. "type": "string"
  13870. },
  13871. "presaledqty": {
  13872. "description": "已预售量(预售结束时更新)",
  13873. "type": "integer"
  13874. },
  13875. "presaleqty": {
  13876. "description": "预售数量",
  13877. "type": "integer"
  13878. },
  13879. "quoteminunit": {
  13880. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13881. "type": "integer"
  13882. },
  13883. "refprice": {
  13884. "description": "参考价格[一口价]",
  13885. "type": "number"
  13886. },
  13887. "relatedgoodsid": {
  13888. "description": "关联交易合约ID",
  13889. "type": "integer"
  13890. },
  13891. "stepvalue": {
  13892. "description": "价格最小变动单位",
  13893. "type": "number"
  13894. },
  13895. "trademode": {
  13896. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13897. "type": "integer"
  13898. },
  13899. "vendorattr": {
  13900. "description": "供应商附件(多张,逗号分隔)",
  13901. "type": "string"
  13902. },
  13903. "vendorname": {
  13904. "description": "供应商名称",
  13905. "type": "string"
  13906. },
  13907. "vendorphone": {
  13908. "description": "供应商客服电话",
  13909. "type": "string"
  13910. },
  13911. "videourls": {
  13912. "description": "介绍视频[多张用逗号分隔]",
  13913. "type": "string"
  13914. }
  13915. }
  13916. },
  13917. "models.HsbySellCollectionOrder": {
  13918. "type": "object",
  13919. "required": [
  13920. "goodscode",
  13921. "goodsname",
  13922. "tradeid",
  13923. "trademode"
  13924. ],
  13925. "properties": {
  13926. "agreeunit": {
  13927. "description": "合约单位",
  13928. "type": "number"
  13929. },
  13930. "buyaccountid": {
  13931. "description": "买方账号ID[报价币种]",
  13932. "type": "integer"
  13933. },
  13934. "buyorderid": {
  13935. "description": "买方委托单号",
  13936. "type": "string"
  13937. },
  13938. "createtime": {
  13939. "description": "创建时间",
  13940. "type": "string"
  13941. },
  13942. "currencysign": {
  13943. "description": "货币符号",
  13944. "type": "string"
  13945. },
  13946. "decimalplace": {
  13947. "description": "报价小数位",
  13948. "type": "integer"
  13949. },
  13950. "goodscode": {
  13951. "description": "商品代码(内部)",
  13952. "type": "string"
  13953. },
  13954. "goodsid": {
  13955. "description": "商品ID",
  13956. "type": "integer"
  13957. },
  13958. "goodsname": {
  13959. "description": "商品名称",
  13960. "type": "string"
  13961. },
  13962. "marketid": {
  13963. "description": "市场ID",
  13964. "type": "integer"
  13965. },
  13966. "offamount": {
  13967. "description": "优惠金额",
  13968. "type": "number"
  13969. },
  13970. "payamount": {
  13971. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13972. "type": "number"
  13973. },
  13974. "payflag": {
  13975. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13976. "type": "integer"
  13977. },
  13978. "paylimitedtime": {
  13979. "description": "支付期限",
  13980. "type": "string"
  13981. },
  13982. "paytime": {
  13983. "description": "付款时间",
  13984. "type": "string"
  13985. },
  13986. "picurls": {
  13987. "description": "商品介绍图片[多张用逗号分隔]",
  13988. "type": "string"
  13989. },
  13990. "sellaccountid": {
  13991. "description": "卖方账号ID[报价币种]",
  13992. "type": "integer"
  13993. },
  13994. "sellorderid": {
  13995. "description": "卖方委托单号",
  13996. "type": "string"
  13997. },
  13998. "tradeamount": {
  13999. "description": "成交金额",
  14000. "type": "number"
  14001. },
  14002. "tradecharge": {
  14003. "description": "成交手续费(买方)",
  14004. "type": "number"
  14005. },
  14006. "tradedate": {
  14007. "description": "交易日(yyyyMMdd)",
  14008. "type": "string"
  14009. },
  14010. "tradeid": {
  14011. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14012. "type": "string"
  14013. },
  14014. "trademode": {
  14015. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14016. "type": "integer"
  14017. },
  14018. "tradeprice": {
  14019. "description": "成交价格",
  14020. "type": "number"
  14021. },
  14022. "tradeqty": {
  14023. "description": "成交数量",
  14024. "type": "integer"
  14025. }
  14026. }
  14027. },
  14028. "models.HsbySellMyDetail": {
  14029. "type": "object",
  14030. "required": [
  14031. "accountid",
  14032. "buyorsell",
  14033. "goodscode",
  14034. "goodsid",
  14035. "goodsname",
  14036. "marketid",
  14037. "orderid",
  14038. "time",
  14039. "trademode"
  14040. ],
  14041. "properties": {
  14042. "accountid": {
  14043. "description": "账户ID[报价币种]",
  14044. "type": "integer"
  14045. },
  14046. "agreeunit": {
  14047. "description": "合约单位",
  14048. "type": "number"
  14049. },
  14050. "buyorsell": {
  14051. "description": "买卖 - 0:买 1:卖",
  14052. "type": "integer"
  14053. },
  14054. "currencysign": {
  14055. "description": "货币符号",
  14056. "type": "string"
  14057. },
  14058. "decimalplace": {
  14059. "description": "报价小数位",
  14060. "type": "integer"
  14061. },
  14062. "goodscode": {
  14063. "description": "商品代码(内部)",
  14064. "type": "string"
  14065. },
  14066. "goodsid": {
  14067. "description": "商品ID",
  14068. "type": "integer"
  14069. },
  14070. "goodsname": {
  14071. "description": "商品名称",
  14072. "type": "string"
  14073. },
  14074. "marketid": {
  14075. "description": "市场ID",
  14076. "type": "integer"
  14077. },
  14078. "orderid": {
  14079. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  14080. "type": "string"
  14081. },
  14082. "ordertype": {
  14083. "description": "单据类型:0 - 发布中, 1 - 已完成",
  14084. "type": "integer"
  14085. },
  14086. "picurls": {
  14087. "description": "介绍图片[多张用逗号分隔]",
  14088. "type": "string"
  14089. },
  14090. "price": {
  14091. "description": "价格",
  14092. "type": "number"
  14093. },
  14094. "qty": {
  14095. "description": "数量",
  14096. "type": "integer"
  14097. },
  14098. "time": {
  14099. "description": "时间",
  14100. "type": "string"
  14101. },
  14102. "trademode": {
  14103. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14104. "type": "integer"
  14105. },
  14106. "vendorname": {
  14107. "description": "供应商名称",
  14108. "type": "string"
  14109. }
  14110. }
  14111. },
  14112. "models.HsbyTopGoods": {
  14113. "type": "object",
  14114. "required": [
  14115. "goodscode",
  14116. "goodsid",
  14117. "goodsname",
  14118. "marketid",
  14119. "trademode"
  14120. ],
  14121. "properties": {
  14122. "agreeunit": {
  14123. "description": "合约单位",
  14124. "type": "number"
  14125. },
  14126. "currency": {
  14127. "description": "货币",
  14128. "type": "string"
  14129. },
  14130. "currencysign": {
  14131. "description": "货币符号",
  14132. "type": "string"
  14133. },
  14134. "decimalplace": {
  14135. "description": "报价小数位",
  14136. "type": "integer"
  14137. },
  14138. "desccityid": {
  14139. "description": "目的地(市)",
  14140. "type": "integer"
  14141. },
  14142. "descprovinceid": {
  14143. "description": "目的地(省)",
  14144. "type": "integer"
  14145. },
  14146. "goodscode": {
  14147. "description": "商品代码(内部)",
  14148. "type": "string"
  14149. },
  14150. "goodsid": {
  14151. "description": "商品ID(自增ID SEQ_GOODS)",
  14152. "type": "integer"
  14153. },
  14154. "goodsname": {
  14155. "description": "商品名称",
  14156. "type": "string"
  14157. },
  14158. "hotindex": {
  14159. "description": "景点热度",
  14160. "type": "integer"
  14161. },
  14162. "last": {
  14163. "description": "现价",
  14164. "type": "number"
  14165. },
  14166. "marketid": {
  14167. "description": "所属市场ID",
  14168. "type": "integer"
  14169. },
  14170. "picurls": {
  14171. "description": "介绍图片[多张用逗号分隔]",
  14172. "type": "string"
  14173. },
  14174. "quoteminunit": {
  14175. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14176. "type": "integer"
  14177. },
  14178. "trademode": {
  14179. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14180. "type": "integer"
  14181. },
  14182. "videourls": {
  14183. "description": "介绍视频[多张用逗号分隔]",
  14184. "type": "string"
  14185. }
  14186. }
  14187. },
  14188. "models.HybsMyBuyOrderDetail": {
  14189. "type": "object",
  14190. "required": [
  14191. "accountid",
  14192. "buyorsell",
  14193. "goodscode",
  14194. "goodsid",
  14195. "goodsname",
  14196. "marketid",
  14197. "orderid",
  14198. "orderqty",
  14199. "ordertime",
  14200. "trademode"
  14201. ],
  14202. "properties": {
  14203. "accountid": {
  14204. "description": "账户ID[报价币种]",
  14205. "type": "integer"
  14206. },
  14207. "agreeunit": {
  14208. "description": "合约单位",
  14209. "type": "number"
  14210. },
  14211. "buyorsell": {
  14212. "description": "买卖 - 0:买 1:卖",
  14213. "type": "integer"
  14214. },
  14215. "cancelqty": {
  14216. "description": "撤单数量",
  14217. "type": "integer"
  14218. },
  14219. "currencysign": {
  14220. "description": "货币符号",
  14221. "type": "string"
  14222. },
  14223. "decimalplace": {
  14224. "description": "报价小数位",
  14225. "type": "integer"
  14226. },
  14227. "goodscode": {
  14228. "description": "商品代码(内部)",
  14229. "type": "string"
  14230. },
  14231. "goodsid": {
  14232. "description": "商品ID",
  14233. "type": "integer"
  14234. },
  14235. "goodsname": {
  14236. "description": "商品名称",
  14237. "type": "string"
  14238. },
  14239. "listingselecttype": {
  14240. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14241. "type": "integer"
  14242. },
  14243. "marketid": {
  14244. "description": "市场ID",
  14245. "type": "integer"
  14246. },
  14247. "mybuystatus": {
  14248. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14249. "type": "integer"
  14250. },
  14251. "orderamount": {
  14252. "description": "委托金额",
  14253. "type": "number"
  14254. },
  14255. "orderid": {
  14256. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14257. "type": "string"
  14258. },
  14259. "orderprice": {
  14260. "description": "委托价格",
  14261. "type": "number"
  14262. },
  14263. "orderqty": {
  14264. "description": "委托数量",
  14265. "type": "integer"
  14266. },
  14267. "orderstatus": {
  14268. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14269. "type": "integer"
  14270. },
  14271. "ordertime": {
  14272. "description": "委托时间",
  14273. "type": "string"
  14274. },
  14275. "picurls1": {
  14276. "description": "预售商品介绍图片[多张用逗号分隔]",
  14277. "type": "string"
  14278. },
  14279. "picurls2": {
  14280. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14281. "type": "string"
  14282. },
  14283. "trademode": {
  14284. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14285. "type": "integer"
  14286. },
  14287. "tradeqty": {
  14288. "description": "成交数量",
  14289. "type": "integer"
  14290. },
  14291. "vendorname1": {
  14292. "description": "预售商品供应商名称",
  14293. "type": "string"
  14294. },
  14295. "vendorname2": {
  14296. "description": "挂牌商品供应商名称",
  14297. "type": "string"
  14298. }
  14299. }
  14300. },
  14301. "models.Loginaccount": {
  14302. "type": "object",
  14303. "required": [
  14304. "loginid"
  14305. ],
  14306. "properties": {
  14307. "canoutin": {
  14308. "description": "是否可出入金 - 0:不可 1:可",
  14309. "type": "integer"
  14310. },
  14311. "clientroleid": {
  14312. "description": "终端角色ID",
  14313. "type": "integer"
  14314. },
  14315. "haslogined": {
  14316. "description": "是否已登录 - 0:未登录 1:已登录",
  14317. "type": "integer"
  14318. },
  14319. "hasupdatedpwd": {
  14320. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14321. "type": "integer"
  14322. },
  14323. "lastloginip": {
  14324. "description": "最新登录地址",
  14325. "type": "string"
  14326. },
  14327. "lastloginmode": {
  14328. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14329. "type": "integer"
  14330. },
  14331. "lastloginremark": {
  14332. "description": "最新登录描述",
  14333. "type": "string"
  14334. },
  14335. "lastlogintime": {
  14336. "description": "最新登录时间",
  14337. "type": "string"
  14338. },
  14339. "logincode": {
  14340. "description": "登录代码",
  14341. "type": "string"
  14342. },
  14343. "loginfailnum": {
  14344. "description": "连续登录失败次数(登录成功时清零)",
  14345. "type": "integer"
  14346. },
  14347. "loginid": {
  14348. "description": "登陆账号",
  14349. "type": "integer"
  14350. },
  14351. "loginport": {
  14352. "description": "最新登录端口",
  14353. "type": "integer"
  14354. },
  14355. "loginstatus": {
  14356. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14357. "type": "integer"
  14358. },
  14359. "loginusertype": {
  14360. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14361. "type": "integer"
  14362. },
  14363. "modifierid": {
  14364. "description": "修改人",
  14365. "type": "integer"
  14366. },
  14367. "modifytime": {
  14368. "description": "修改时间",
  14369. "type": "string"
  14370. },
  14371. "pwdwrongcount": {
  14372. "description": "密码错误次数",
  14373. "type": "integer"
  14374. },
  14375. "taaccountrighttype": {
  14376. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14377. "type": "integer"
  14378. },
  14379. "unfreezetime": {
  14380. "description": "账户解冻时间",
  14381. "type": "string"
  14382. },
  14383. "userid": {
  14384. "description": "用户ID",
  14385. "type": "integer"
  14386. }
  14387. }
  14388. },
  14389. "models.Market": {
  14390. "type": "object",
  14391. "required": [
  14392. "marketid",
  14393. "marketstatus",
  14394. "openmethod",
  14395. "reckonpricealgorithm",
  14396. "trademode",
  14397. "tradeproperty"
  14398. ],
  14399. "properties": {
  14400. "auctionwrtype": {
  14401. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14402. "type": "integer"
  14403. },
  14404. "canacceptquote": {
  14405. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14406. "type": "integer"
  14407. },
  14408. "cangoodsexercise": {
  14409. "description": "[期权]是否可现货行权- 0:否 1:是",
  14410. "type": "integer"
  14411. },
  14412. "cangoodsexercisetype": {
  14413. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14414. "type": "integer"
  14415. },
  14416. "canmanualquotestrike": {
  14417. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14418. "type": "integer"
  14419. },
  14420. "canmutistage": {
  14421. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14422. "type": "integer"
  14423. },
  14424. "canpreexercise": {
  14425. "description": "[期权]是否可预申报- 0:否 1:是",
  14426. "type": "integer"
  14427. },
  14428. "clearinterval": {
  14429. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14430. "type": "integer"
  14431. },
  14432. "contracttmp": {
  14433. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14434. "type": "string"
  14435. },
  14436. "exchareaid": {
  14437. "description": "所属交易所,可以没有",
  14438. "type": "integer"
  14439. },
  14440. "goodstype": {
  14441. "description": "商品类型 - 1:交易商品 2:仓单商品",
  14442. "type": "integer"
  14443. },
  14444. "hasrebate": {
  14445. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  14446. "type": "integer"
  14447. },
  14448. "hastradecredit": {
  14449. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  14450. "type": "integer"
  14451. },
  14452. "haswr": {
  14453. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  14454. "type": "integer"
  14455. },
  14456. "isdeductmargin": {
  14457. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  14458. "type": "integer"
  14459. },
  14460. "isrecordsource": {
  14461. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  14462. "type": "integer"
  14463. },
  14464. "isreleasemargin": {
  14465. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  14466. "type": "integer"
  14467. },
  14468. "marginformula": {
  14469. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14470. "type": "integer"
  14471. },
  14472. "marginformula2": {
  14473. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14474. "type": "integer"
  14475. },
  14476. "marketid": {
  14477. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14478. "type": "integer"
  14479. },
  14480. "marketname": {
  14481. "description": "市场名称",
  14482. "type": "string"
  14483. },
  14484. "marketserviceid": {
  14485. "description": "市场服务ID",
  14486. "type": "integer"
  14487. },
  14488. "marketstatus": {
  14489. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14490. "type": "integer"
  14491. },
  14492. "markettype": {
  14493. "description": "市场类型- 1:非交易服务 2:交易服务",
  14494. "type": "integer"
  14495. },
  14496. "matchermode": {
  14497. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14498. "type": "integer"
  14499. },
  14500. "openmethod": {
  14501. "description": "开盘模式 - 0 自动 1手动",
  14502. "type": "integer"
  14503. },
  14504. "otcuserid": {
  14505. "description": "场外期权做市商[场外期权]",
  14506. "type": "integer"
  14507. },
  14508. "outersynctime": {
  14509. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14510. "type": "string"
  14511. },
  14512. "pendingflag": {
  14513. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14514. "type": "integer"
  14515. },
  14516. "pendingtime": {
  14517. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14518. "type": "string"
  14519. },
  14520. "performancetempid": {
  14521. "description": "履约计划模板ID - 作废",
  14522. "type": "integer"
  14523. },
  14524. "premiumquotemode": {
  14525. "description": "权利金报价方式 - 1:自动 2:手动",
  14526. "type": "integer"
  14527. },
  14528. "rebateratio": {
  14529. "description": "返利比率[竞价式]",
  14530. "type": "number"
  14531. },
  14532. "reckonorder": {
  14533. "description": "结算顺序",
  14534. "type": "integer"
  14535. },
  14536. "reckonpricealgorithm": {
  14537. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14538. "type": "integer"
  14539. },
  14540. "reckonpriceparam": {
  14541. "description": "结算价参数",
  14542. "type": "integer"
  14543. },
  14544. "reckontime": {
  14545. "description": "结算时间[通道交易-对冲](HH:mm)",
  14546. "type": "string"
  14547. },
  14548. "roleprioritytype": {
  14549. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14550. "type": "integer"
  14551. },
  14552. "selllistingauditflag": {
  14553. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14554. "type": "integer"
  14555. },
  14556. "trademarkettype": {
  14557. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14558. "type": "integer"
  14559. },
  14560. "trademode": {
  14561. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14562. "type": "integer"
  14563. },
  14564. "tradeproperty": {
  14565. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14566. "type": "integer"
  14567. },
  14568. "tradetype": {
  14569. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14570. "type": "integer"
  14571. }
  14572. }
  14573. },
  14574. "models.Marketrun": {
  14575. "type": "object",
  14576. "required": [
  14577. "marketid",
  14578. "nexttradedate",
  14579. "reckonflag",
  14580. "runstatus",
  14581. "tradedate",
  14582. "tradedate2"
  14583. ],
  14584. "properties": {
  14585. "afternexttradedate": {
  14586. "description": "下下交易日",
  14587. "type": "string"
  14588. },
  14589. "clearquoteflag": {
  14590. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14591. "type": "integer"
  14592. },
  14593. "lastreckondate": {
  14594. "description": "最新交易日(结算成功)",
  14595. "type": "string"
  14596. },
  14597. "machinedate": {
  14598. "description": "机器时间",
  14599. "type": "string"
  14600. },
  14601. "manualflag": {
  14602. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14603. "type": "integer"
  14604. },
  14605. "marketid": {
  14606. "description": "市场ID",
  14607. "type": "integer"
  14608. },
  14609. "nexttradedate": {
  14610. "description": "下一交易日",
  14611. "type": "string"
  14612. },
  14613. "pretradedate": {
  14614. "description": "上一交易日",
  14615. "type": "string"
  14616. },
  14617. "reckonflag": {
  14618. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14619. "type": "integer"
  14620. },
  14621. "runstatus": {
  14622. "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.今日免清算",
  14623. "type": "integer"
  14624. },
  14625. "sectionid": {
  14626. "description": "时间段号[多时段时用]",
  14627. "type": "integer"
  14628. },
  14629. "tradedate": {
  14630. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14631. "type": "string"
  14632. },
  14633. "tradedate2": {
  14634. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14635. "type": "string"
  14636. },
  14637. "updatetime": {
  14638. "description": "更新时间",
  14639. "type": "string"
  14640. }
  14641. }
  14642. },
  14643. "models.Messageboard": {
  14644. "type": "object",
  14645. "required": [
  14646. "messageboardid"
  14647. ],
  14648. "properties": {
  14649. "contactnum": {
  14650. "description": "联系电话",
  14651. "type": "string"
  14652. },
  14653. "createtime": {
  14654. "description": "创建时间",
  14655. "type": "string"
  14656. },
  14657. "message": {
  14658. "description": "留言信息",
  14659. "type": "string"
  14660. },
  14661. "messageboardid": {
  14662. "description": "留言簿ID(SEQ_MessageBoard)",
  14663. "type": "integer"
  14664. },
  14665. "userid": {
  14666. "description": "用户ID",
  14667. "type": "integer"
  14668. }
  14669. }
  14670. },
  14671. "models.MyCoupon": {
  14672. "type": "object",
  14673. "required": [
  14674. "accountid",
  14675. "coupontypeid"
  14676. ],
  14677. "properties": {
  14678. "accountid": {
  14679. "description": "资金账户ID",
  14680. "type": "integer"
  14681. },
  14682. "areauserid": {
  14683. "description": "所属机构",
  14684. "type": "integer"
  14685. },
  14686. "conditionvalue": {
  14687. "description": "条件阈值(可为0)",
  14688. "type": "number"
  14689. },
  14690. "couponcategroy": {
  14691. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14692. "type": "integer"
  14693. },
  14694. "couponname": {
  14695. "description": "优惠券名称",
  14696. "type": "string"
  14697. },
  14698. "coupontypeid": {
  14699. "description": "优惠券类型ID",
  14700. "type": "string"
  14701. },
  14702. "couponvalue": {
  14703. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14704. "type": "number"
  14705. },
  14706. "curfreezeqty": {
  14707. "description": "期末冻结数量",
  14708. "type": "integer"
  14709. },
  14710. "curqty": {
  14711. "description": "期末数量",
  14712. "type": "integer"
  14713. },
  14714. "isgeneral": {
  14715. "description": "是否通用券 - 0:否 1:是",
  14716. "type": "integer"
  14717. },
  14718. "isunusable": {
  14719. "description": "是否不可用",
  14720. "type": "boolean"
  14721. },
  14722. "limitedflag": {
  14723. "description": "是否指定商品 - 0:不限 1:限制",
  14724. "type": "integer"
  14725. },
  14726. "limitedgoodsids": {
  14727. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14728. "type": "string"
  14729. },
  14730. "orifreezeqty": {
  14731. "description": "期初冻结数量",
  14732. "type": "integer"
  14733. },
  14734. "oriqty": {
  14735. "description": "期初数量",
  14736. "type": "integer"
  14737. },
  14738. "reasontype": {
  14739. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14740. "type": "integer"
  14741. },
  14742. "todaydecrease": {
  14743. "description": "今日减少",
  14744. "type": "integer"
  14745. },
  14746. "todayincrease": {
  14747. "description": "今日增加",
  14748. "type": "integer"
  14749. },
  14750. "userid": {
  14751. "description": "用户ID",
  14752. "type": "integer"
  14753. },
  14754. "userscope": {
  14755. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14756. "type": "string"
  14757. }
  14758. }
  14759. },
  14760. "models.MyCouponHold": {
  14761. "type": "object",
  14762. "required": [
  14763. "couponholdid"
  14764. ],
  14765. "properties": {
  14766. "accountid": {
  14767. "description": "资金账户ID",
  14768. "type": "integer"
  14769. },
  14770. "conditionvalue": {
  14771. "description": "条件阈值(可为0)",
  14772. "type": "number"
  14773. },
  14774. "couponcategroy": {
  14775. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14776. "type": "integer"
  14777. },
  14778. "couponholdid": {
  14779. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14780. "type": "string"
  14781. },
  14782. "couponname": {
  14783. "description": "优惠券名称",
  14784. "type": "string"
  14785. },
  14786. "coupontypeid": {
  14787. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14788. "type": "string"
  14789. },
  14790. "couponvalue": {
  14791. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14792. "type": "number"
  14793. },
  14794. "createtime": {
  14795. "description": "创建时间",
  14796. "type": "string"
  14797. },
  14798. "enddate": {
  14799. "description": "结束日期",
  14800. "type": "string"
  14801. },
  14802. "giveapplyid": {
  14803. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14804. "type": "integer"
  14805. },
  14806. "holdstatus": {
  14807. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14808. "type": "integer"
  14809. },
  14810. "isgeneral": {
  14811. "description": "是否通用券 - 0:否 1:是",
  14812. "type": "integer"
  14813. },
  14814. "limitedflag": {
  14815. "description": "是否指定商品 - 0:不限 1:限制",
  14816. "type": "integer"
  14817. },
  14818. "limitedgoodsids": {
  14819. "description": "指定商品IDs[逗号分隔]",
  14820. "type": "string"
  14821. },
  14822. "qty": {
  14823. "description": "数量(按1平铺)",
  14824. "type": "integer"
  14825. },
  14826. "startdate": {
  14827. "description": "开始日期",
  14828. "type": "string"
  14829. },
  14830. "userid": {
  14831. "description": "用户ID",
  14832. "type": "integer"
  14833. },
  14834. "userscope": {
  14835. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14836. "type": "string"
  14837. }
  14838. }
  14839. },
  14840. "models.MyUsedCoupon": {
  14841. "type": "object",
  14842. "required": [
  14843. "coupontypeid",
  14844. "orderid"
  14845. ],
  14846. "properties": {
  14847. "accountid": {
  14848. "description": "资金账户ID(买方)",
  14849. "type": "integer"
  14850. },
  14851. "conditionvalue": {
  14852. "description": "条件阈值(可为0)",
  14853. "type": "number"
  14854. },
  14855. "couponcategroy": {
  14856. "description": "种类 - 1:现金券 2:折扣券",
  14857. "type": "integer"
  14858. },
  14859. "couponname": {
  14860. "description": "优惠券名称",
  14861. "type": "string"
  14862. },
  14863. "coupontypeid": {
  14864. "description": "优惠券类型ID(买方)",
  14865. "type": "string"
  14866. },
  14867. "couponvalue": {
  14868. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14869. "type": "number"
  14870. },
  14871. "createtime": {
  14872. "description": "创建时间",
  14873. "type": "string"
  14874. },
  14875. "goodsid": {
  14876. "description": "商品ID",
  14877. "type": "integer"
  14878. },
  14879. "handlestatus": {
  14880. "description": "处理状态",
  14881. "type": "integer"
  14882. },
  14883. "marketid": {
  14884. "description": "市场ID",
  14885. "type": "integer"
  14886. },
  14887. "offamount": {
  14888. "description": "优惠金额",
  14889. "type": "number"
  14890. },
  14891. "orderid": {
  14892. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14893. "type": "string"
  14894. },
  14895. "sellaccountid": {
  14896. "description": "资金账户ID(卖方)",
  14897. "type": "integer"
  14898. },
  14899. "tradeamount": {
  14900. "description": "成交金额",
  14901. "type": "number"
  14902. },
  14903. "tradeid": {
  14904. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14905. "type": "string"
  14906. },
  14907. "usedqty": {
  14908. "description": "使用数量",
  14909. "type": "integer"
  14910. }
  14911. }
  14912. },
  14913. "models.OperationPrimaryMenu": {
  14914. "type": "object",
  14915. "properties": {
  14916. "Children": {
  14917. "description": "二级功能菜单",
  14918. "type": "array",
  14919. "items": {
  14920. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14921. }
  14922. },
  14923. "Key": {
  14924. "description": "菜单KEY",
  14925. "type": "string"
  14926. },
  14927. "Label": {
  14928. "description": "菜单标题",
  14929. "type": "string"
  14930. }
  14931. }
  14932. },
  14933. "models.OperationSecondaryMenu": {
  14934. "type": "object",
  14935. "properties": {
  14936. "Key": {
  14937. "description": "菜单KEY",
  14938. "type": "string"
  14939. },
  14940. "Label": {
  14941. "description": "菜单标题",
  14942. "type": "string"
  14943. },
  14944. "TabList": {
  14945. "description": "三级功能菜单",
  14946. "type": "array",
  14947. "items": {
  14948. "$ref": "#/definitions/models.OperationTabMenu"
  14949. }
  14950. }
  14951. }
  14952. },
  14953. "models.OperationTabMenu": {
  14954. "type": "object",
  14955. "properties": {
  14956. "Key": {
  14957. "description": "菜单KEY",
  14958. "type": "string"
  14959. },
  14960. "Label": {
  14961. "description": "菜单标题",
  14962. "type": "string"
  14963. }
  14964. }
  14965. },
  14966. "models.QueryErrorInfosRsp": {
  14967. "type": "object",
  14968. "required": [
  14969. "errorid"
  14970. ],
  14971. "properties": {
  14972. "description": {
  14973. "description": "异常描述",
  14974. "type": "string"
  14975. },
  14976. "errorcode": {
  14977. "description": "异常代码",
  14978. "type": "string"
  14979. },
  14980. "errorid": {
  14981. "description": "异常ID",
  14982. "type": "integer"
  14983. },
  14984. "modulecode": {
  14985. "description": "所属模块",
  14986. "type": "string"
  14987. },
  14988. "operatecode": {
  14989. "description": "所属操作",
  14990. "type": "string"
  14991. },
  14992. "rownumber": {
  14993. "description": "行号",
  14994. "type": "string"
  14995. }
  14996. }
  14997. },
  14998. "models.QueryHedgeOrderDetailRsp": {
  14999. "type": "object",
  15000. "properties": {
  15001. "accountid": {
  15002. "description": "账户ID",
  15003. "type": "integer"
  15004. },
  15005. "buyorsell": {
  15006. "description": "买卖 - 0:买 1:卖",
  15007. "type": "integer"
  15008. },
  15009. "channelbuildtype": {
  15010. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  15011. "type": "integer"
  15012. },
  15013. "channelinnerorderstatus": {
  15014. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  15015. "type": "integer"
  15016. },
  15017. "channeloperatetype": {
  15018. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  15019. "type": "integer"
  15020. },
  15021. "closetype": {
  15022. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15023. "type": "integer"
  15024. },
  15025. "curexchangerate": {
  15026. "description": "当前汇率",
  15027. "type": "number"
  15028. },
  15029. "exchangefullname": {
  15030. "description": "外部交易所全称",
  15031. "type": "string"
  15032. },
  15033. "goodscode": {
  15034. "description": "商品代码(内部)",
  15035. "type": "string"
  15036. },
  15037. "goodsid": {
  15038. "description": "商品ID",
  15039. "type": "integer"
  15040. },
  15041. "goodsname": {
  15042. "description": "商品名称",
  15043. "type": "string"
  15044. },
  15045. "marketid": {
  15046. "description": "市场ID",
  15047. "type": "integer"
  15048. },
  15049. "openfreezemargin": {
  15050. "description": "冻结保证金(冻结交易金额)",
  15051. "type": "number"
  15052. },
  15053. "orderid": {
  15054. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15055. "type": "string"
  15056. },
  15057. "orderprice": {
  15058. "description": "委托价格(账户)",
  15059. "type": "number"
  15060. },
  15061. "orderqty": {
  15062. "description": "委托数量",
  15063. "type": "integer"
  15064. },
  15065. "ordertime": {
  15066. "description": "委托时间",
  15067. "type": "string"
  15068. },
  15069. "pricemode": {
  15070. "description": "取价方式 - 1:市价 2: 限价",
  15071. "type": "integer"
  15072. },
  15073. "tradedate": {
  15074. "description": "交易日(yyyyMMdd)",
  15075. "type": "string"
  15076. },
  15077. "tradeqty": {
  15078. "description": "成交数量",
  15079. "type": "integer"
  15080. }
  15081. }
  15082. },
  15083. "models.QueryHedgeTradeDetailRsp": {
  15084. "type": "object",
  15085. "properties": {
  15086. "accountid": {
  15087. "description": "账号ID",
  15088. "type": "integer"
  15089. },
  15090. "buyorsell": {
  15091. "description": "方向 - 0:买 1:卖",
  15092. "type": "integer"
  15093. },
  15094. "channelbuildtype": {
  15095. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15096. "type": "integer"
  15097. },
  15098. "closecharge": {
  15099. "description": "平仓手续费(账户)",
  15100. "type": "number"
  15101. },
  15102. "closecharge2": {
  15103. "description": "平仓手续费(商品)",
  15104. "type": "number"
  15105. },
  15106. "closetype": {
  15107. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15108. "type": "integer"
  15109. },
  15110. "curexchangerate": {
  15111. "description": "当前汇率",
  15112. "type": "number"
  15113. },
  15114. "exchangefullname": {
  15115. "description": "外部交易所全称",
  15116. "type": "string"
  15117. },
  15118. "goodscode": {
  15119. "description": "商品代码(内部)",
  15120. "type": "string"
  15121. },
  15122. "goodsid": {
  15123. "description": "商品ID",
  15124. "type": "integer"
  15125. },
  15126. "goodsname": {
  15127. "description": "商品名称",
  15128. "type": "string"
  15129. },
  15130. "marketid": {
  15131. "description": "市场ID",
  15132. "type": "integer"
  15133. },
  15134. "opencharge": {
  15135. "description": "建仓手续费(账户)",
  15136. "type": "number"
  15137. },
  15138. "opencharge2": {
  15139. "description": "建仓手续费(商品)",
  15140. "type": "number"
  15141. },
  15142. "orderid": {
  15143. "description": "委托单号",
  15144. "type": "string"
  15145. },
  15146. "tradeamount": {
  15147. "description": "成交金额(账户)",
  15148. "type": "number"
  15149. },
  15150. "tradedate": {
  15151. "description": "交易日(yyyyMMdd)",
  15152. "type": "string"
  15153. },
  15154. "tradeid": {
  15155. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15156. "type": "string"
  15157. },
  15158. "tradeprice": {
  15159. "description": "成交价格",
  15160. "type": "number"
  15161. },
  15162. "tradeqty": {
  15163. "description": "成交数量",
  15164. "type": "integer"
  15165. },
  15166. "tradetime": {
  15167. "description": "成交时间",
  15168. "type": "string"
  15169. },
  15170. "tradetype": {
  15171. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  15172. "type": "integer"
  15173. }
  15174. }
  15175. },
  15176. "models.QuotePrimaryMenu": {
  15177. "type": "object",
  15178. "properties": {
  15179. "Index": {
  15180. "description": "序号",
  15181. "type": "integer"
  15182. },
  15183. "Key": {
  15184. "description": "键名",
  15185. "type": "string"
  15186. },
  15187. "Name": {
  15188. "description": "菜单名称",
  15189. "type": "string"
  15190. },
  15191. "SubMenus": {
  15192. "description": "子菜单",
  15193. "type": "array",
  15194. "items": {
  15195. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15196. }
  15197. },
  15198. "SubTitleType": {
  15199. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15200. "type": "integer"
  15201. },
  15202. "TradeModes": {
  15203. "description": "包含市场交易类型",
  15204. "type": "string"
  15205. }
  15206. }
  15207. },
  15208. "models.QuoteSecondaryMenu": {
  15209. "type": "object",
  15210. "properties": {
  15211. "ExExchangeCode": {
  15212. "description": "外部交易所代码",
  15213. "type": "string"
  15214. },
  15215. "ExExchangeID": {
  15216. "description": "外部交易所ID",
  15217. "type": "integer"
  15218. },
  15219. "GoodsGroupIDs": {
  15220. "description": "商品组ID列表",
  15221. "type": "array",
  15222. "items": {
  15223. "type": "integer"
  15224. }
  15225. },
  15226. "Index": {
  15227. "description": "序号",
  15228. "type": "integer"
  15229. },
  15230. "MarketID": {
  15231. "description": "市场ID",
  15232. "type": "integer"
  15233. },
  15234. "MenuTitle": {
  15235. "description": "菜单标题(市场名称或外部交易所名称)",
  15236. "type": "string"
  15237. },
  15238. "TradeMode": {
  15239. "description": "交易模式",
  15240. "type": "integer"
  15241. }
  15242. }
  15243. },
  15244. "models.SearchGoods": {
  15245. "type": "object",
  15246. "required": [
  15247. "goodscode",
  15248. "goodsid",
  15249. "goodsname",
  15250. "marketid",
  15251. "trademode"
  15252. ],
  15253. "properties": {
  15254. "goodscode": {
  15255. "description": "商品代码(内部)",
  15256. "type": "string"
  15257. },
  15258. "goodsid": {
  15259. "description": "商品ID(自增ID SEQ_GOODS)",
  15260. "type": "integer"
  15261. },
  15262. "goodsname": {
  15263. "description": "商品名称",
  15264. "type": "string"
  15265. },
  15266. "marketid": {
  15267. "description": "所属市场ID",
  15268. "type": "integer"
  15269. },
  15270. "marketname": {
  15271. "description": "市场名称",
  15272. "type": "string"
  15273. },
  15274. "trademode": {
  15275. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15276. "type": "integer"
  15277. }
  15278. }
  15279. },
  15280. "models.Systemparam": {
  15281. "type": "object",
  15282. "required": [
  15283. "paramcode"
  15284. ],
  15285. "properties": {
  15286. "loginid": {
  15287. "description": "更新用户账号,登录账号",
  15288. "type": "string"
  15289. },
  15290. "modifyflag": {
  15291. "description": "修改标志0 不允许修改 1 允许修改",
  15292. "type": "integer"
  15293. },
  15294. "paramcode": {
  15295. "description": "参数代码",
  15296. "type": "string"
  15297. },
  15298. "paramname": {
  15299. "description": "参数名",
  15300. "type": "string"
  15301. },
  15302. "paramtype": {
  15303. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  15304. "type": "integer"
  15305. },
  15306. "paramvalue": {
  15307. "description": "参数值",
  15308. "type": "string"
  15309. },
  15310. "paramvalue2": {
  15311. "description": "参数值(CLOB)",
  15312. "type": "string"
  15313. },
  15314. "regexpress": {
  15315. "description": "正则表达式",
  15316. "type": "string"
  15317. },
  15318. "remark": {
  15319. "description": "备注",
  15320. "type": "string"
  15321. },
  15322. "serverip": {
  15323. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  15324. "type": "string"
  15325. },
  15326. "showflag": {
  15327. "description": "是否显示0 不显示 1 显示",
  15328. "type": "integer"
  15329. },
  15330. "updatetime": {
  15331. "description": "更新时间",
  15332. "type": "string"
  15333. },
  15334. "userid": {
  15335. "description": "更新用户ID",
  15336. "type": "integer"
  15337. }
  15338. }
  15339. },
  15340. "models.Szdz3convertconfig": {
  15341. "type": "object",
  15342. "required": [
  15343. "converttype",
  15344. "innergoodsid",
  15345. "outergoodscode"
  15346. ],
  15347. "properties": {
  15348. "canin": {
  15349. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15350. "type": "integer"
  15351. },
  15352. "canout": {
  15353. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15354. "type": "integer"
  15355. },
  15356. "converttype": {
  15357. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15358. "type": "integer"
  15359. },
  15360. "createtime": {
  15361. "description": "创建时间",
  15362. "type": "string"
  15363. },
  15364. "creatorid": {
  15365. "description": "创建人",
  15366. "type": "integer"
  15367. },
  15368. "daymaxvalue": {
  15369. "description": "当日最大转入限制",
  15370. "type": "number"
  15371. },
  15372. "freezedays": {
  15373. "description": "冻结天数 [5:花生米转交易]",
  15374. "type": "integer"
  15375. },
  15376. "innergoodsid": {
  15377. "description": "内部商品ID[交易]",
  15378. "type": "integer"
  15379. },
  15380. "inratio": {
  15381. "description": "目标值",
  15382. "type": "integer"
  15383. },
  15384. "modifierid": {
  15385. "description": "修改人",
  15386. "type": "integer"
  15387. },
  15388. "modifytime": {
  15389. "description": "修改时间",
  15390. "type": "string"
  15391. },
  15392. "outergoodscode": {
  15393. "description": "外部商品代码[JD\\PD]",
  15394. "type": "string"
  15395. },
  15396. "outratio": {
  15397. "description": "源值",
  15398. "type": "integer"
  15399. },
  15400. "pddecimalplace": {
  15401. "description": "PD小数位",
  15402. "type": "integer"
  15403. },
  15404. "timemaxvalue": {
  15405. "description": "单次最大转入限制",
  15406. "type": "number"
  15407. },
  15408. "timeminvalue": {
  15409. "description": "单次最小转入限制",
  15410. "type": "number"
  15411. }
  15412. }
  15413. },
  15414. "models.Szdz3searchwhitelist": {
  15415. "type": "object",
  15416. "required": [
  15417. "userid"
  15418. ],
  15419. "properties": {
  15420. "createtime": {
  15421. "description": "创建时间",
  15422. "type": "string"
  15423. },
  15424. "creatorid": {
  15425. "description": "创建人",
  15426. "type": "integer"
  15427. },
  15428. "modifierid": {
  15429. "description": "修改人",
  15430. "type": "integer"
  15431. },
  15432. "modifytime": {
  15433. "description": "修改时间",
  15434. "type": "string"
  15435. },
  15436. "userid": {
  15437. "description": "用户ID",
  15438. "type": "integer"
  15439. }
  15440. }
  15441. },
  15442. "models.Taaccount": {
  15443. "type": "object",
  15444. "required": [
  15445. "accountid",
  15446. "userid"
  15447. ],
  15448. "properties": {
  15449. "accountflag": {
  15450. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  15451. "type": "integer"
  15452. },
  15453. "accountid": {
  15454. "description": "资金账户ID",
  15455. "type": "integer"
  15456. },
  15457. "accountname": {
  15458. "description": "账户名称",
  15459. "type": "string"
  15460. },
  15461. "balance": {
  15462. "description": "期初余额",
  15463. "type": "number"
  15464. },
  15465. "capitalbalance": {
  15466. "description": "本金余额[外部子账户实际出入金余额]",
  15467. "type": "number"
  15468. },
  15469. "changeflag": {
  15470. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  15471. "type": "integer"
  15472. },
  15473. "changetime": {
  15474. "description": "账户状态变更时间",
  15475. "type": "string"
  15476. },
  15477. "closepl": {
  15478. "description": "今日平仓盈亏",
  15479. "type": "number"
  15480. },
  15481. "creditdecrease": {
  15482. "description": "今日授信减少",
  15483. "type": "number"
  15484. },
  15485. "creditincrease": {
  15486. "description": "今日授信增加",
  15487. "type": "number"
  15488. },
  15489. "currencyid": {
  15490. "description": "货币ID",
  15491. "type": "integer"
  15492. },
  15493. "currentbalance": {
  15494. "description": "期末余额",
  15495. "type": "number"
  15496. },
  15497. "freezecharge": {
  15498. "description": "手续费冻结",
  15499. "type": "number"
  15500. },
  15501. "freezemargin": {
  15502. "description": "冻结保证金",
  15503. "type": "number"
  15504. },
  15505. "fromaccountid": {
  15506. "description": "所属上级账户",
  15507. "type": "integer"
  15508. },
  15509. "inamount": {
  15510. "description": "今日入金金额(包括三方入金)",
  15511. "type": "number"
  15512. },
  15513. "ismain": {
  15514. "description": "是否母账号 0:不是母账户 1:是母账户",
  15515. "type": "integer"
  15516. },
  15517. "ismarketaccount": {
  15518. "description": "是否机构接单账号 0:不是 1:是",
  15519. "type": "integer"
  15520. },
  15521. "isreckonaccount": {
  15522. "description": "是否机构分润账号 0:不是 1:是",
  15523. "type": "integer"
  15524. },
  15525. "mortgagecredit": {
  15526. "description": "授信金额",
  15527. "type": "number"
  15528. },
  15529. "orifreezecharge": {
  15530. "description": "期初手续费冻结",
  15531. "type": "number"
  15532. },
  15533. "orifreezemargin": {
  15534. "description": "期初冻结保证金",
  15535. "type": "number"
  15536. },
  15537. "orimortgagecredit": {
  15538. "description": "期初授信金额",
  15539. "type": "number"
  15540. },
  15541. "oriothercredit": {
  15542. "description": "期初其它授信金额",
  15543. "type": "number"
  15544. },
  15545. "oriotherfreezemargin": {
  15546. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15547. "type": "number"
  15548. },
  15549. "orioutamountfreeze": {
  15550. "description": "期初出金冻结",
  15551. "type": "number"
  15552. },
  15553. "oriusedmargin": {
  15554. "description": "期初占用保证金",
  15555. "type": "number"
  15556. },
  15557. "othercredit": {
  15558. "description": "其它授信金额",
  15559. "type": "number"
  15560. },
  15561. "othercreditdecrease": {
  15562. "description": "今日其它授信减少",
  15563. "type": "number"
  15564. },
  15565. "othercreditincrease": {
  15566. "description": "今日其它授信增加",
  15567. "type": "number"
  15568. },
  15569. "otherfreezemargin": {
  15570. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15571. "type": "number"
  15572. },
  15573. "otherincome": {
  15574. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15575. "type": "number"
  15576. },
  15577. "otherpay": {
  15578. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15579. "type": "number"
  15580. },
  15581. "outamount": {
  15582. "description": "今日出金金额(包括三方出金)",
  15583. "type": "number"
  15584. },
  15585. "outamountfreeze": {
  15586. "description": "出金冻结",
  15587. "type": "number"
  15588. },
  15589. "outthreshold": {
  15590. "description": "出金阈值",
  15591. "type": "number"
  15592. },
  15593. "parentaccountid": {
  15594. "description": "所属根账号",
  15595. "type": "integer"
  15596. },
  15597. "paycharge": {
  15598. "description": "今日手续费支出",
  15599. "type": "number"
  15600. },
  15601. "relatedaccountstatus": {
  15602. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15603. "type": "integer"
  15604. },
  15605. "relateduserid": {
  15606. "description": "关联用户",
  15607. "type": "integer"
  15608. },
  15609. "serivcegroup": {
  15610. "description": "服务分组",
  15611. "type": "integer"
  15612. },
  15613. "signstatus": {
  15614. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15615. "type": "integer"
  15616. },
  15617. "sublevelpath": {
  15618. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15619. "type": "string"
  15620. },
  15621. "taaccounttype": {
  15622. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15623. "type": "integer"
  15624. },
  15625. "thirdinamount": {
  15626. "description": "今日三方入金",
  15627. "type": "number"
  15628. },
  15629. "thirdoutamount": {
  15630. "description": "今日三方出金",
  15631. "type": "number"
  15632. },
  15633. "tradestatus": {
  15634. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15635. "type": "integer"
  15636. },
  15637. "tradestatuschangetime": {
  15638. "description": "激活时间",
  15639. "type": "string"
  15640. },
  15641. "transferamount": {
  15642. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15643. "type": "number"
  15644. },
  15645. "usedmargin": {
  15646. "description": "占用保证金",
  15647. "type": "number"
  15648. },
  15649. "userid": {
  15650. "description": "用户ID",
  15651. "type": "integer"
  15652. }
  15653. }
  15654. },
  15655. "models.Tablecolumnconfig": {
  15656. "type": "object",
  15657. "required": [
  15658. "autoid"
  15659. ],
  15660. "properties": {
  15661. "aligntype": {
  15662. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15663. "type": "integer"
  15664. },
  15665. "autoid": {
  15666. "description": "AutoID",
  15667. "type": "integer"
  15668. },
  15669. "columnfield": {
  15670. "description": "列字段",
  15671. "type": "string"
  15672. },
  15673. "columntitle": {
  15674. "description": "列Title",
  15675. "type": "string"
  15676. },
  15677. "columnwidth": {
  15678. "description": "列宽",
  15679. "type": "string"
  15680. },
  15681. "formatterstring": {
  15682. "description": "格式化字符",
  15683. "type": "string"
  15684. },
  15685. "formattertype": {
  15686. "description": "格式化类型",
  15687. "type": "string"
  15688. },
  15689. "groupname": {
  15690. "description": "表头分组名称",
  15691. "type": "string"
  15692. },
  15693. "isshow": {
  15694. "description": "是否显示 - 0:不显示 1:显示",
  15695. "type": "integer"
  15696. },
  15697. "needsummary": {
  15698. "description": "是否需要汇总 - 0:不需要 1:需要",
  15699. "type": "integer"
  15700. },
  15701. "orderindex": {
  15702. "description": "顺序",
  15703. "type": "integer"
  15704. },
  15705. "remark": {
  15706. "description": "备注",
  15707. "type": "string"
  15708. },
  15709. "summarytype": {
  15710. "description": "汇总类型 - 1:加总 2:最后一个",
  15711. "type": "integer"
  15712. },
  15713. "tablekey": {
  15714. "description": "列表Key",
  15715. "type": "string"
  15716. }
  15717. }
  15718. },
  15719. "models.Useraccount": {
  15720. "type": "object",
  15721. "required": [
  15722. "userid"
  15723. ],
  15724. "properties": {
  15725. "accountname": {
  15726. "description": "账户名称(机构名称)",
  15727. "type": "string"
  15728. },
  15729. "accountstatus": {
  15730. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15731. "type": "integer"
  15732. },
  15733. "auditremark": {
  15734. "description": "审核备注",
  15735. "type": "string"
  15736. },
  15737. "audittime": {
  15738. "description": "审核时间",
  15739. "type": "string"
  15740. },
  15741. "audituserid": {
  15742. "description": "审核人",
  15743. "type": "integer"
  15744. },
  15745. "broker": {
  15746. "description": "所属经纪人ID",
  15747. "type": "integer"
  15748. },
  15749. "canceltime": {
  15750. "description": "销户时间",
  15751. "type": "string"
  15752. },
  15753. "canceluserid": {
  15754. "description": "销户人",
  15755. "type": "integer"
  15756. },
  15757. "createtime": {
  15758. "description": "创建时间",
  15759. "type": "string"
  15760. },
  15761. "creatorid": {
  15762. "description": "创建人",
  15763. "type": "integer"
  15764. },
  15765. "hasauth": {
  15766. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15767. "type": "integer"
  15768. },
  15769. "isanonymous": {
  15770. "description": "是否匿名下单 - 0:否 1:是",
  15771. "type": "integer"
  15772. },
  15773. "maxinvestornum": {
  15774. "description": "最大用户数(经纪会员下投资者个数)",
  15775. "type": "integer"
  15776. },
  15777. "memberuserid": {
  15778. "description": "所属会员ID",
  15779. "type": "integer"
  15780. },
  15781. "modifierid": {
  15782. "description": "修改人",
  15783. "type": "integer"
  15784. },
  15785. "modifyremark": {
  15786. "description": "变更备注",
  15787. "type": "string"
  15788. },
  15789. "modifystatus": {
  15790. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15791. "type": "integer"
  15792. },
  15793. "modifytime": {
  15794. "description": "修改时间",
  15795. "type": "string"
  15796. },
  15797. "parentuserid": {
  15798. "description": "所属机构ID",
  15799. "type": "integer"
  15800. },
  15801. "reckonaccountid": {
  15802. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15803. "type": "integer"
  15804. },
  15805. "refercount": {
  15806. "description": "推荐总人数",
  15807. "type": "integer"
  15808. },
  15809. "refereeuserid": {
  15810. "description": "推荐人ID",
  15811. "type": "integer"
  15812. },
  15813. "refernum": {
  15814. "description": "推荐码",
  15815. "type": "string"
  15816. },
  15817. "subarealevelpath": {
  15818. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15819. "type": "string"
  15820. },
  15821. "userid": {
  15822. "description": "用户ID",
  15823. "type": "integer"
  15824. },
  15825. "usertype": {
  15826. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15827. "type": "integer"
  15828. }
  15829. }
  15830. },
  15831. "models.Userfavoritegoods": {
  15832. "type": "object",
  15833. "required": [
  15834. "goodsid"
  15835. ],
  15836. "properties": {
  15837. "goodsid": {
  15838. "description": "商品ID",
  15839. "type": "integer"
  15840. }
  15841. }
  15842. },
  15843. "models.Userinfo": {
  15844. "type": "object",
  15845. "required": [
  15846. "userid"
  15847. ],
  15848. "properties": {
  15849. "address": {
  15850. "description": "地址",
  15851. "type": "string"
  15852. },
  15853. "attachment1": {
  15854. "description": "附件1",
  15855. "type": "string"
  15856. },
  15857. "attachment2": {
  15858. "description": "附件2",
  15859. "type": "string"
  15860. },
  15861. "bankaccount": {
  15862. "description": "银行帐号 (加密存储)",
  15863. "type": "string"
  15864. },
  15865. "bankaccountname": {
  15866. "description": "收款人名称",
  15867. "type": "string"
  15868. },
  15869. "bankcardfrontphotourl": {
  15870. "description": "银行卡正面照地址",
  15871. "type": "string"
  15872. },
  15873. "bankid": {
  15874. "description": "银行编码",
  15875. "type": "string"
  15876. },
  15877. "bankname": {
  15878. "description": "银行名称",
  15879. "type": "string"
  15880. },
  15881. "biznature": {
  15882. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15883. "type": "integer"
  15884. },
  15885. "bizscope": {
  15886. "description": "企业经营范围(企业)",
  15887. "type": "string"
  15888. },
  15889. "cardbackphotourl": {
  15890. "description": "证件背面图片地址",
  15891. "type": "string"
  15892. },
  15893. "cardfrontphotourl": {
  15894. "description": "证件正面图片地址",
  15895. "type": "string"
  15896. },
  15897. "cardnum": {
  15898. "description": "证件号码(加密存储)",
  15899. "type": "string"
  15900. },
  15901. "cardtypeid": {
  15902. "description": "证件类型ID",
  15903. "type": "integer"
  15904. },
  15905. "cityid": {
  15906. "description": "市",
  15907. "type": "integer"
  15908. },
  15909. "company": {
  15910. "description": "公司(个人)",
  15911. "type": "string"
  15912. },
  15913. "contactname": {
  15914. "description": "联系人",
  15915. "type": "string"
  15916. },
  15917. "countryid": {
  15918. "description": "国家",
  15919. "type": "integer"
  15920. },
  15921. "createtime": {
  15922. "description": "创建时间",
  15923. "type": "string"
  15924. },
  15925. "creatorid": {
  15926. "description": "创建人",
  15927. "type": "integer"
  15928. },
  15929. "customername": {
  15930. "description": "客户名称(企业名称)",
  15931. "type": "string"
  15932. },
  15933. "districtid": {
  15934. "description": "地区",
  15935. "type": "integer"
  15936. },
  15937. "email": {
  15938. "description": "邮件(加密存储)",
  15939. "type": "string"
  15940. },
  15941. "fax": {
  15942. "description": "传真(加密存储)",
  15943. "type": "string"
  15944. },
  15945. "halfbodyphotourl": {
  15946. "description": "半身照地址",
  15947. "type": "string"
  15948. },
  15949. "hasencrypt": {
  15950. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15951. "type": "integer"
  15952. },
  15953. "headurl": {
  15954. "description": "头像地址",
  15955. "type": "string"
  15956. },
  15957. "legalcardbackphotourl": {
  15958. "description": "法人身份证背面照地址",
  15959. "type": "string"
  15960. },
  15961. "legalcardfrontphotourl": {
  15962. "description": "法人身份证正面照地址",
  15963. "type": "string"
  15964. },
  15965. "legalpersonname": {
  15966. "description": "法人姓名(企业)",
  15967. "type": "string"
  15968. },
  15969. "mobile": {
  15970. "description": "手机号码(加密存储)",
  15971. "type": "string"
  15972. },
  15973. "mobile2": {
  15974. "description": "手机号码[明文-尚志]",
  15975. "type": "string"
  15976. },
  15977. "modifierid": {
  15978. "description": "修改人",
  15979. "type": "integer"
  15980. },
  15981. "modifiertime": {
  15982. "description": "修改时间",
  15983. "type": "string"
  15984. },
  15985. "needinvoice": {
  15986. "description": "是否需要发票 - 0:不需要 1:需要",
  15987. "type": "integer"
  15988. },
  15989. "nickname": {
  15990. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15991. "type": "string"
  15992. },
  15993. "openmode": {
  15994. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15995. "type": "integer"
  15996. },
  15997. "otherurl": {
  15998. "description": "其它图片地址[使用分号分隔]",
  15999. "type": "string"
  16000. },
  16001. "postalcode": {
  16002. "description": "邮政编码",
  16003. "type": "string"
  16004. },
  16005. "provinceid": {
  16006. "description": "省",
  16007. "type": "integer"
  16008. },
  16009. "qq": {
  16010. "description": "QQ(加密存储",
  16011. "type": "string"
  16012. },
  16013. "remark": {
  16014. "description": "备注",
  16015. "type": "string"
  16016. },
  16017. "sex": {
  16018. "description": "用户性别 0: 女 1: 男",
  16019. "type": "integer"
  16020. },
  16021. "signpdfurl": {
  16022. "description": "签约pdf文件",
  16023. "type": "string"
  16024. },
  16025. "telphone": {
  16026. "description": "联系电话(加密存储)",
  16027. "type": "string"
  16028. },
  16029. "userid": {
  16030. "description": "用户ID",
  16031. "type": "integer"
  16032. },
  16033. "userinfotype": {
  16034. "description": "用户信息类型 - 1:个人 2:企业",
  16035. "type": "integer"
  16036. },
  16037. "userstatus": {
  16038. "description": "用户状态 - 1:正常 2:注销",
  16039. "type": "integer"
  16040. },
  16041. "usertype": {
  16042. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16043. "type": "integer"
  16044. },
  16045. "wechat": {
  16046. "description": "微信(加密存储)",
  16047. "type": "string"
  16048. },
  16049. "wskhinfo": {
  16050. "description": "开户申请信息(JSON)",
  16051. "type": "string"
  16052. }
  16053. }
  16054. },
  16055. "models.WRCategoryTree": {
  16056. "type": "object",
  16057. "required": [
  16058. "categoryid"
  16059. ],
  16060. "properties": {
  16061. "areauserid": {
  16062. "description": "所属机构",
  16063. "type": "integer"
  16064. },
  16065. "categorydesc": {
  16066. "description": "类别描述",
  16067. "type": "string"
  16068. },
  16069. "categoryid": {
  16070. "description": "类别ID(SEQ_WRCATEGORY)",
  16071. "type": "integer"
  16072. },
  16073. "categoryname": {
  16074. "description": "类别名称",
  16075. "type": "string"
  16076. },
  16077. "iconurl": {
  16078. "description": "图标地址",
  16079. "type": "string"
  16080. },
  16081. "orderindex": {
  16082. "description": "顺序",
  16083. "type": "integer"
  16084. },
  16085. "parentcategoryid": {
  16086. "description": "父类别ID",
  16087. "type": "integer"
  16088. },
  16089. "subcategory": {
  16090. "description": "子分类",
  16091. "type": "array",
  16092. "items": {
  16093. "$ref": "#/definitions/models.WRCategoryTree"
  16094. }
  16095. }
  16096. }
  16097. },
  16098. "models.WRSConverTDetail": {
  16099. "type": "object",
  16100. "properties": {
  16101. "convertratio": {
  16102. "description": "套保系数",
  16103. "type": "number"
  16104. },
  16105. "deliverygoodsid": {
  16106. "description": "现货品种ID",
  16107. "type": "integer"
  16108. },
  16109. "middlegoodscode": {
  16110. "description": "套保品种代码",
  16111. "type": "string"
  16112. },
  16113. "middlegoodsid": {
  16114. "description": "套保品种ID",
  16115. "type": "integer"
  16116. },
  16117. "middlegoodsname": {
  16118. "description": "套保品种名称",
  16119. "type": "string"
  16120. },
  16121. "modifytime": {
  16122. "description": "修改时间",
  16123. "type": "string"
  16124. },
  16125. "wrstandardid": {
  16126. "description": "现货商品ID",
  16127. "type": "integer"
  16128. }
  16129. }
  16130. },
  16131. "models.WRStandardInfo": {
  16132. "type": "object",
  16133. "required": [
  16134. "wrstandardid"
  16135. ],
  16136. "properties": {
  16137. "createtime": {
  16138. "description": "创建时间",
  16139. "type": "string"
  16140. },
  16141. "creatorid": {
  16142. "description": "创建人",
  16143. "type": "integer"
  16144. },
  16145. "deliverygoodsid": {
  16146. "description": "品种ID",
  16147. "type": "integer"
  16148. },
  16149. "deliverygoodsname": {
  16150. "description": "交割商品名称",
  16151. "type": "string"
  16152. },
  16153. "factoryitemjson": {
  16154. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  16155. "type": "string"
  16156. },
  16157. "isvalid": {
  16158. "description": "是否有效 - 0:无效 1:有效",
  16159. "type": "integer"
  16160. },
  16161. "minivalue": {
  16162. "description": "最小变动值",
  16163. "type": "integer"
  16164. },
  16165. "minivaluedp": {
  16166. "description": "最小变动值小数位",
  16167. "type": "integer"
  16168. },
  16169. "realminivalue": {
  16170. "description": "实际最小变动值",
  16171. "type": "integer"
  16172. },
  16173. "realminivaluedp": {
  16174. "description": "实际最小变动值小数位",
  16175. "type": "integer"
  16176. },
  16177. "unitid": {
  16178. "description": "单位ID",
  16179. "type": "integer"
  16180. },
  16181. "unitname": {
  16182. "description": "单位",
  16183. "type": "string"
  16184. },
  16185. "updatetime": {
  16186. "description": "更新时间",
  16187. "type": "string"
  16188. },
  16189. "updatorid": {
  16190. "description": "更新人",
  16191. "type": "integer"
  16192. },
  16193. "wrsstatus": {
  16194. "description": "状态 - 作废 - 0:未激活 1:正常",
  16195. "type": "integer"
  16196. },
  16197. "wrstandardcode": {
  16198. "description": "仓单标准代码",
  16199. "type": "string"
  16200. },
  16201. "wrstandardid": {
  16202. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16203. "type": "integer"
  16204. },
  16205. "wrstandardname": {
  16206. "description": "仓单标准名称",
  16207. "type": "string"
  16208. }
  16209. }
  16210. },
  16211. "models.Warehouseinfo": {
  16212. "type": "object",
  16213. "required": [
  16214. "autoid",
  16215. "warehousecode"
  16216. ],
  16217. "properties": {
  16218. "address": {
  16219. "description": "详细地址",
  16220. "type": "string"
  16221. },
  16222. "areauserid": {
  16223. "description": "所属机构",
  16224. "type": "integer"
  16225. },
  16226. "autoid": {
  16227. "description": "自增ID",
  16228. "type": "integer"
  16229. },
  16230. "cityid": {
  16231. "description": "市",
  16232. "type": "integer"
  16233. },
  16234. "contactname": {
  16235. "description": "联系人",
  16236. "type": "string"
  16237. },
  16238. "contactnum": {
  16239. "description": "联系电话",
  16240. "type": "string"
  16241. },
  16242. "countryid": {
  16243. "description": "国家",
  16244. "type": "integer"
  16245. },
  16246. "createtime": {
  16247. "description": "创建时间",
  16248. "type": "string"
  16249. },
  16250. "districtid": {
  16251. "description": "区",
  16252. "type": "integer"
  16253. },
  16254. "hasvideo": {
  16255. "description": "是否有视频 - 0:无 1:有",
  16256. "type": "integer"
  16257. },
  16258. "provinceid": {
  16259. "description": "省",
  16260. "type": "integer"
  16261. },
  16262. "remark": {
  16263. "description": "审核备注",
  16264. "type": "string"
  16265. },
  16266. "videourl": {
  16267. "description": "视频地址",
  16268. "type": "string"
  16269. },
  16270. "warehousecode": {
  16271. "description": "仓库代码",
  16272. "type": "string"
  16273. },
  16274. "warehousename": {
  16275. "description": "仓库名称",
  16276. "type": "string"
  16277. },
  16278. "warehousestatus": {
  16279. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16280. "type": "integer"
  16281. },
  16282. "warehousetype": {
  16283. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16284. "type": "integer"
  16285. }
  16286. }
  16287. },
  16288. "order.QueryHisTradeDetailRsp": {
  16289. "type": "object",
  16290. "required": [
  16291. "accountid",
  16292. "buyorsell",
  16293. "goodsid",
  16294. "histradedate",
  16295. "marketid",
  16296. "memberuserid",
  16297. "orderid",
  16298. "tradeamount",
  16299. "tradedate",
  16300. "tradeid",
  16301. "tradeprice",
  16302. "tradeqty",
  16303. "tradetime"
  16304. ],
  16305. "properties": {
  16306. "accountid": {
  16307. "description": "账户ID[报价币种]",
  16308. "type": "integer"
  16309. },
  16310. "buildtype": {
  16311. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16312. "type": "integer"
  16313. },
  16314. "buyorsell": {
  16315. "description": "方向 - 0:买 1:卖",
  16316. "type": "integer"
  16317. },
  16318. "charge": {
  16319. "description": "手续费",
  16320. "type": "number"
  16321. },
  16322. "closecharge": {
  16323. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16324. "type": "number"
  16325. },
  16326. "closeexchagechargevalue": {
  16327. "description": "平仓交易所手续费设置值",
  16328. "type": "number"
  16329. },
  16330. "closefeealgorithm": {
  16331. "description": "平仓手续费收取方式 1:比率 2:固定",
  16332. "type": "integer"
  16333. },
  16334. "closememberchargevalue": {
  16335. "description": "平仓会员手续费设置值",
  16336. "type": "number"
  16337. },
  16338. "closepl": {
  16339. "description": "平仓盈亏",
  16340. "type": "number"
  16341. },
  16342. "closepl2": {
  16343. "description": "平仓盈亏[逐笔]",
  16344. "type": "number"
  16345. },
  16346. "closeqty": {
  16347. "description": "平仓数量(先建后平操作 需要记录)",
  16348. "type": "integer"
  16349. },
  16350. "creditamount": {
  16351. "description": "授信金额",
  16352. "type": "number"
  16353. },
  16354. "gcaccountid": {
  16355. "description": "账户ID[合约币种]",
  16356. "type": "integer"
  16357. },
  16358. "goodscode": {
  16359. "description": "商品代码",
  16360. "type": "string"
  16361. },
  16362. "goodsid": {
  16363. "description": "商品ID",
  16364. "type": "integer"
  16365. },
  16366. "goodsname": {
  16367. "description": "商品名称",
  16368. "type": "string"
  16369. },
  16370. "histradedate": {
  16371. "description": "历史交易日",
  16372. "type": "string"
  16373. },
  16374. "intclosepl": {
  16375. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16376. "type": "integer"
  16377. },
  16378. "isconfirmexercise": {
  16379. "description": "是否确认行权- 0:否 1:是",
  16380. "type": "integer"
  16381. },
  16382. "ismain": {
  16383. "description": "是否主单 - 0:不是 1:是",
  16384. "type": "integer"
  16385. },
  16386. "ispreexercise": {
  16387. "description": "是否预申报- 0:否 1:是",
  16388. "type": "integer"
  16389. },
  16390. "isreckoned": {
  16391. "description": "是否结算 - 0:未结算 1:已结算",
  16392. "type": "integer"
  16393. },
  16394. "isvaliddata": {
  16395. "description": "是否有效 - 0:无效 1:有效",
  16396. "type": "integer"
  16397. },
  16398. "listingselecttype": {
  16399. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16400. "type": "integer"
  16401. },
  16402. "marketid": {
  16403. "description": "市场ID",
  16404. "type": "integer"
  16405. },
  16406. "marketname": {
  16407. "description": "市场名称",
  16408. "type": "string"
  16409. },
  16410. "matchaccountid": {
  16411. "description": "对手账号id",
  16412. "type": "integer"
  16413. },
  16414. "memberuserid": {
  16415. "description": "会员id 个人投资者 需要填写",
  16416. "type": "integer"
  16417. },
  16418. "opencharge": {
  16419. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16420. "type": "number"
  16421. },
  16422. "openexchagechargevalue": {
  16423. "description": "建仓交易所手续费设置值",
  16424. "type": "number"
  16425. },
  16426. "openfeealgorithm": {
  16427. "description": "建仓手续费收取方式 1:比率 2:固定",
  16428. "type": "integer"
  16429. },
  16430. "openmemberchargevalue": {
  16431. "description": "建仓会员手续费设置值",
  16432. "type": "number"
  16433. },
  16434. "openqty": {
  16435. "description": "开仓数量(先建后平操作 需要记录)",
  16436. "type": "integer"
  16437. },
  16438. "optiontype": {
  16439. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16440. "type": "integer"
  16441. },
  16442. "orderid": {
  16443. "description": "委托单号",
  16444. "type": "string"
  16445. },
  16446. "performanceplanid": {
  16447. "description": "履约计划ID[期权]",
  16448. "type": "integer"
  16449. },
  16450. "performancestatus": {
  16451. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16452. "type": "integer"
  16453. },
  16454. "preexerciseprice": {
  16455. "description": "预申报价格",
  16456. "type": "number"
  16457. },
  16458. "premium": {
  16459. "description": "权利金 - [持仓单的权利金]",
  16460. "type": "number"
  16461. },
  16462. "relatedouttradeid": {
  16463. "description": "关联外部成交单ID",
  16464. "type": "integer"
  16465. },
  16466. "status": {
  16467. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16468. "type": "integer"
  16469. },
  16470. "tradeamount": {
  16471. "description": "成交金额[账户币种,用于所有权]",
  16472. "type": "number"
  16473. },
  16474. "tradedate": {
  16475. "description": "交易日(yyyyMMdd)",
  16476. "type": "string"
  16477. },
  16478. "tradeid": {
  16479. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16480. "type": "string"
  16481. },
  16482. "trademode": {
  16483. "description": "交易模式",
  16484. "type": "integer"
  16485. },
  16486. "tradeprice": {
  16487. "description": "成交价格",
  16488. "type": "number"
  16489. },
  16490. "tradeproperty": {
  16491. "description": "交易属性",
  16492. "type": "integer"
  16493. },
  16494. "tradeqty": {
  16495. "description": "成交数量",
  16496. "type": "integer"
  16497. },
  16498. "tradetime": {
  16499. "description": "成交时间",
  16500. "type": "string"
  16501. },
  16502. "tradetype": {
  16503. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16504. "type": "integer"
  16505. }
  16506. }
  16507. },
  16508. "order.QueryHisTradeOrderDetailRsp": {
  16509. "type": "object",
  16510. "required": [
  16511. "accountid",
  16512. "buildtype",
  16513. "buyorsell",
  16514. "goodsid",
  16515. "histradedate",
  16516. "marketid",
  16517. "memberuserid",
  16518. "operatetype",
  16519. "orderid",
  16520. "orderqty",
  16521. "ordertime",
  16522. "pricemode",
  16523. "tradedate",
  16524. "validtype"
  16525. ],
  16526. "properties": {
  16527. "accountid": {
  16528. "description": "账户ID[报价币种]",
  16529. "type": "integer"
  16530. },
  16531. "buildtype": {
  16532. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16533. "type": "integer"
  16534. },
  16535. "buyorsell": {
  16536. "description": "买卖 - 0:买 1:卖",
  16537. "type": "integer"
  16538. },
  16539. "cancelorderid": {
  16540. "description": "撤单单号(撤单时填写)",
  16541. "type": "string"
  16542. },
  16543. "cancelqty": {
  16544. "description": "撤单数量",
  16545. "type": "integer"
  16546. },
  16547. "clientordertime": {
  16548. "description": "客户端委托时间",
  16549. "type": "string"
  16550. },
  16551. "clientticket": {
  16552. "description": "客户端流水号",
  16553. "type": "string"
  16554. },
  16555. "clienttype": {
  16556. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16557. "type": "integer"
  16558. },
  16559. "closeexchagechargevalue": {
  16560. "description": "平仓交易所手续费设置值",
  16561. "type": "number"
  16562. },
  16563. "closefeealgorithm": {
  16564. "description": "平仓手续费收取方式 1:比率 2:固定",
  16565. "type": "integer"
  16566. },
  16567. "closefreezecharge": {
  16568. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16569. "type": "number"
  16570. },
  16571. "closememberchargevalue": {
  16572. "description": "平仓会员手续费设置值",
  16573. "type": "number"
  16574. },
  16575. "closeqty": {
  16576. "description": "平仓数量(先建后平操作 需要记录)",
  16577. "type": "integer"
  16578. },
  16579. "closetradeqty": {
  16580. "description": "平仓成交数量(先建后平操作,需要记录)",
  16581. "type": "integer"
  16582. },
  16583. "closeunfreezecharge": {
  16584. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16585. "type": "number"
  16586. },
  16587. "delistingtype": {
  16588. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16589. "type": "integer"
  16590. },
  16591. "freezecharge": {
  16592. "description": "冻结手续费",
  16593. "type": "number"
  16594. },
  16595. "freezemargin": {
  16596. "description": "冻结保证金(冻结交易金额)",
  16597. "type": "number"
  16598. },
  16599. "gcaccountid": {
  16600. "description": "账户ID[合约币种]",
  16601. "type": "integer"
  16602. },
  16603. "goodscode": {
  16604. "description": "商品代码",
  16605. "type": "string"
  16606. },
  16607. "goodsid": {
  16608. "description": "商品ID",
  16609. "type": "integer"
  16610. },
  16611. "goodsname": {
  16612. "description": "商品名称",
  16613. "type": "string"
  16614. },
  16615. "histradedate": {
  16616. "description": "历史交易日",
  16617. "type": "string"
  16618. },
  16619. "isconfirmexercise": {
  16620. "description": "是否确认行权- 0:否 1:是",
  16621. "type": "integer"
  16622. },
  16623. "ispreexercise": {
  16624. "description": "是否预申报- 0:否 1:是",
  16625. "type": "integer"
  16626. },
  16627. "isvaliddata": {
  16628. "description": "是否有效 - 0:无效 1:有效",
  16629. "type": "integer"
  16630. },
  16631. "listingselecttype": {
  16632. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16633. "type": "integer"
  16634. },
  16635. "marginalgorithm": {
  16636. "description": "保证金收取方式 1:比率 2:固定",
  16637. "type": "integer"
  16638. },
  16639. "marginvalue": {
  16640. "description": "即市保证金设置值",
  16641. "type": "number"
  16642. },
  16643. "marketid": {
  16644. "description": "市场ID",
  16645. "type": "integer"
  16646. },
  16647. "marketmaxsub": {
  16648. "description": "市价最大偏移范围",
  16649. "type": "number"
  16650. },
  16651. "marketname": {
  16652. "description": "市场名称",
  16653. "type": "string"
  16654. },
  16655. "memberuserid": {
  16656. "description": "所属会员UserID",
  16657. "type": "integer"
  16658. },
  16659. "openexchagechargevalue": {
  16660. "description": "建仓交易所手续费设置值",
  16661. "type": "number"
  16662. },
  16663. "openfeealgorithm": {
  16664. "description": "建仓手续费收取方式 1:比率 2:固定",
  16665. "type": "integer"
  16666. },
  16667. "openfreezecharge": {
  16668. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16669. "type": "number"
  16670. },
  16671. "openmemberchargevalue": {
  16672. "description": "建仓会员手续费设置值",
  16673. "type": "number"
  16674. },
  16675. "openqty": {
  16676. "description": "开仓数量(先建后平操作,需要记录)",
  16677. "type": "integer"
  16678. },
  16679. "opentradeqty": {
  16680. "description": "开仓成交数量(先建后平操作,需要记录)",
  16681. "type": "integer"
  16682. },
  16683. "openunfreezecharge": {
  16684. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16685. "type": "number"
  16686. },
  16687. "operatetype": {
  16688. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16689. "type": "integer"
  16690. },
  16691. "operatorid": {
  16692. "description": "登录账号(LoginID)",
  16693. "type": "integer"
  16694. },
  16695. "optiontype": {
  16696. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16697. "type": "integer"
  16698. },
  16699. "orderid": {
  16700. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16701. "type": "string"
  16702. },
  16703. "orderprice": {
  16704. "description": "委托价格",
  16705. "type": "number"
  16706. },
  16707. "orderqty": {
  16708. "description": "委托数量",
  16709. "type": "integer"
  16710. },
  16711. "ordersrc": {
  16712. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16713. "type": "integer"
  16714. },
  16715. "orderstatus": {
  16716. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16717. "type": "integer"
  16718. },
  16719. "ordertime": {
  16720. "description": "委托时间",
  16721. "type": "string"
  16722. },
  16723. "preexerciseprice": {
  16724. "description": "预申报价格",
  16725. "type": "number"
  16726. },
  16727. "premium": {
  16728. "description": "权利金",
  16729. "type": "number"
  16730. },
  16731. "preorderid": {
  16732. "description": "关联预埋单号(止盈止损单时填写)",
  16733. "type": "string"
  16734. },
  16735. "pricemode": {
  16736. "description": "取价方式 - 1:市价 2: 限价",
  16737. "type": "integer"
  16738. },
  16739. "quoteid": {
  16740. "description": "报价单ID",
  16741. "type": "integer"
  16742. },
  16743. "relatedid": {
  16744. "description": "关联单号(交割单)",
  16745. "type": "string"
  16746. },
  16747. "retcode": {
  16748. "description": "错误代码",
  16749. "type": "integer"
  16750. },
  16751. "sessionid": {
  16752. "description": "会话ID",
  16753. "type": "integer"
  16754. },
  16755. "tradedate": {
  16756. "description": "交易日(yyyyMMdd)",
  16757. "type": "string"
  16758. },
  16759. "trademode": {
  16760. "description": "交易模式",
  16761. "type": "integer"
  16762. },
  16763. "tradeproperty": {
  16764. "description": "交易属性",
  16765. "type": "integer"
  16766. },
  16767. "tradeqty": {
  16768. "description": "成交数量",
  16769. "type": "integer"
  16770. },
  16771. "unfreezecharge": {
  16772. "description": "解冻手续费",
  16773. "type": "number"
  16774. },
  16775. "unfreezemargin": {
  16776. "description": "解冻保证金",
  16777. "type": "number"
  16778. },
  16779. "updatetime": {
  16780. "description": "更新时间",
  16781. "type": "string"
  16782. },
  16783. "uuid": {
  16784. "description": "发起端唯一id",
  16785. "type": "string"
  16786. },
  16787. "validtime": {
  16788. "description": "有效期限",
  16789. "type": "string"
  16790. },
  16791. "validtype": {
  16792. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16793. "type": "integer"
  16794. },
  16795. "volumetype": {
  16796. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16797. "type": "integer"
  16798. }
  16799. }
  16800. },
  16801. "order.QueryTradeDetailRsp": {
  16802. "type": "object",
  16803. "required": [
  16804. "accountid",
  16805. "buyorsell",
  16806. "goodsid",
  16807. "marketid",
  16808. "memberuserid",
  16809. "orderid",
  16810. "tradeamount",
  16811. "tradedate",
  16812. "tradeid",
  16813. "tradeprice",
  16814. "tradeqty",
  16815. "tradetime"
  16816. ],
  16817. "properties": {
  16818. "accountid": {
  16819. "description": "账户ID[报价币种]",
  16820. "type": "integer"
  16821. },
  16822. "buildtype": {
  16823. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16824. "type": "integer"
  16825. },
  16826. "buyorsell": {
  16827. "description": "方向 - 0:买 1:卖",
  16828. "type": "integer"
  16829. },
  16830. "charge": {
  16831. "description": "手续费",
  16832. "type": "number"
  16833. },
  16834. "closecharge": {
  16835. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16836. "type": "number"
  16837. },
  16838. "closeexchagechargevalue": {
  16839. "description": "平仓交易所手续费设置值",
  16840. "type": "number"
  16841. },
  16842. "closefeealgorithm": {
  16843. "description": "平仓手续费收取方式 1:比率 2:固定",
  16844. "type": "integer"
  16845. },
  16846. "closememberchargevalue": {
  16847. "description": "平仓会员手续费设置值",
  16848. "type": "number"
  16849. },
  16850. "closepl": {
  16851. "description": "平仓盈亏",
  16852. "type": "number"
  16853. },
  16854. "closepl2": {
  16855. "description": "平仓盈亏[逐笔]",
  16856. "type": "number"
  16857. },
  16858. "closeqty": {
  16859. "description": "平仓数量(先建后平操作 需要记录)",
  16860. "type": "integer"
  16861. },
  16862. "creditamount": {
  16863. "description": "授信金额",
  16864. "type": "number"
  16865. },
  16866. "gcaccountid": {
  16867. "description": "账户ID[合约币种]",
  16868. "type": "integer"
  16869. },
  16870. "goodscode": {
  16871. "description": "商品代码",
  16872. "type": "string"
  16873. },
  16874. "goodsid": {
  16875. "description": "商品ID",
  16876. "type": "integer"
  16877. },
  16878. "goodsname": {
  16879. "description": "商品名称",
  16880. "type": "string"
  16881. },
  16882. "intclosepl": {
  16883. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16884. "type": "integer"
  16885. },
  16886. "isconfirmexercise": {
  16887. "description": "是否确认行权- 0:否 1:是",
  16888. "type": "integer"
  16889. },
  16890. "ismain": {
  16891. "description": "是否主单 - 0:不是 1:是",
  16892. "type": "integer"
  16893. },
  16894. "ispreexercise": {
  16895. "description": "是否预申报- 0:否 1:是",
  16896. "type": "integer"
  16897. },
  16898. "isreckoned": {
  16899. "description": "是否结算 - 0:未结算 1:已结算",
  16900. "type": "integer"
  16901. },
  16902. "listingselecttype": {
  16903. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16904. "type": "integer"
  16905. },
  16906. "marketid": {
  16907. "description": "市场ID",
  16908. "type": "integer"
  16909. },
  16910. "marketname": {
  16911. "description": "市场名称",
  16912. "type": "string"
  16913. },
  16914. "matchaccountid": {
  16915. "description": "对手账号id",
  16916. "type": "integer"
  16917. },
  16918. "memberuserid": {
  16919. "description": "会员id 个人投资者 需要填写",
  16920. "type": "integer"
  16921. },
  16922. "opencharge": {
  16923. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16924. "type": "number"
  16925. },
  16926. "openexchagechargevalue": {
  16927. "description": "建仓交易所手续费设置值",
  16928. "type": "number"
  16929. },
  16930. "openfeealgorithm": {
  16931. "description": "建仓手续费收取方式 1:比率 2:固定",
  16932. "type": "integer"
  16933. },
  16934. "openmemberchargevalue": {
  16935. "description": "建仓会员手续费设置值",
  16936. "type": "number"
  16937. },
  16938. "openqty": {
  16939. "description": "开仓数量(先建后平操作 需要记录)",
  16940. "type": "integer"
  16941. },
  16942. "optiontype": {
  16943. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16944. "type": "integer"
  16945. },
  16946. "orderid": {
  16947. "description": "委托单号",
  16948. "type": "string"
  16949. },
  16950. "performanceplanid": {
  16951. "description": "履约计划ID[期权]",
  16952. "type": "integer"
  16953. },
  16954. "performancestatus": {
  16955. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16956. "type": "integer"
  16957. },
  16958. "preexerciseprice": {
  16959. "description": "预申报价格",
  16960. "type": "number"
  16961. },
  16962. "premium": {
  16963. "description": "权利金 - [持仓单的权利金]",
  16964. "type": "number"
  16965. },
  16966. "relatedouttradeid": {
  16967. "description": "关联外部成交单ID",
  16968. "type": "integer"
  16969. },
  16970. "status": {
  16971. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16972. "type": "integer"
  16973. },
  16974. "tradeamount": {
  16975. "description": "成交金额[账户币种,用于所有权]",
  16976. "type": "number"
  16977. },
  16978. "tradedate": {
  16979. "description": "交易日(yyyyMMdd)",
  16980. "type": "string"
  16981. },
  16982. "tradeid": {
  16983. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16984. "type": "string"
  16985. },
  16986. "trademode": {
  16987. "description": "交易模式",
  16988. "type": "integer"
  16989. },
  16990. "tradeprice": {
  16991. "description": "成交价格",
  16992. "type": "number"
  16993. },
  16994. "tradeproperty": {
  16995. "description": "交易属性",
  16996. "type": "integer"
  16997. },
  16998. "tradeqty": {
  16999. "description": "成交数量",
  17000. "type": "integer"
  17001. },
  17002. "tradetime": {
  17003. "description": "成交时间",
  17004. "type": "string"
  17005. },
  17006. "tradetype": {
  17007. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17008. "type": "integer"
  17009. }
  17010. }
  17011. },
  17012. "order.QueryTradeOrderDetailRsp": {
  17013. "type": "object",
  17014. "required": [
  17015. "accountid",
  17016. "buildtype",
  17017. "buyorsell",
  17018. "goodsid",
  17019. "marketid",
  17020. "operatetype",
  17021. "orderqty",
  17022. "ordertime",
  17023. "pricemode",
  17024. "tradedate",
  17025. "validtype"
  17026. ],
  17027. "properties": {
  17028. "accountid": {
  17029. "description": "账户ID[报价币种]",
  17030. "type": "integer"
  17031. },
  17032. "buildtype": {
  17033. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17034. "type": "integer"
  17035. },
  17036. "buyorsell": {
  17037. "description": "买卖 - 0:买 1:卖",
  17038. "type": "integer"
  17039. },
  17040. "cancelorderid": {
  17041. "description": "撤单单号(撤单时填写)",
  17042. "type": "string"
  17043. },
  17044. "cancelqty": {
  17045. "description": "撤单数量",
  17046. "type": "integer"
  17047. },
  17048. "clienttype": {
  17049. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17050. "type": "integer"
  17051. },
  17052. "closefreezecharge": {
  17053. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17054. "type": "number"
  17055. },
  17056. "closeqty": {
  17057. "description": "平仓数量(先建后平操作 需要记录)",
  17058. "type": "integer"
  17059. },
  17060. "closetradeqty": {
  17061. "description": "平仓成交数量(先建后平操作,需要记录)",
  17062. "type": "integer"
  17063. },
  17064. "closeunfreezecharge": {
  17065. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17066. "type": "number"
  17067. },
  17068. "delistingtype": {
  17069. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17070. "type": "integer"
  17071. },
  17072. "enableqty": {
  17073. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  17074. "type": "integer"
  17075. },
  17076. "freezecharge": {
  17077. "description": "冻结手续费",
  17078. "type": "number"
  17079. },
  17080. "freezemargin": {
  17081. "description": "冻结保证金(冻结交易金额)",
  17082. "type": "number"
  17083. },
  17084. "goodscode": {
  17085. "description": "商品代码",
  17086. "type": "string"
  17087. },
  17088. "goodsid": {
  17089. "description": "商品ID",
  17090. "type": "integer"
  17091. },
  17092. "goodsname": {
  17093. "description": "商品名称",
  17094. "type": "string"
  17095. },
  17096. "listingselecttype": {
  17097. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17098. "type": "integer"
  17099. },
  17100. "marketid": {
  17101. "description": "市场ID",
  17102. "type": "integer"
  17103. },
  17104. "marketname": {
  17105. "description": "市场名称",
  17106. "type": "string"
  17107. },
  17108. "openfreezecharge": {
  17109. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17110. "type": "number"
  17111. },
  17112. "openqty": {
  17113. "description": "开仓数量(先建后平操作,需要记录)",
  17114. "type": "integer"
  17115. },
  17116. "opentradeqty": {
  17117. "description": "开仓成交数量(先建后平操作,需要记录)",
  17118. "type": "integer"
  17119. },
  17120. "openunfreezecharge": {
  17121. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17122. "type": "number"
  17123. },
  17124. "operatetype": {
  17125. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17126. "type": "integer"
  17127. },
  17128. "operatorid": {
  17129. "description": "登录账号(LoginID)",
  17130. "type": "integer"
  17131. },
  17132. "orderid": {
  17133. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17134. "type": "string"
  17135. },
  17136. "orderprice": {
  17137. "description": "委托价格",
  17138. "type": "number"
  17139. },
  17140. "orderqty": {
  17141. "description": "委托数量",
  17142. "type": "integer"
  17143. },
  17144. "ordersrc": {
  17145. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17146. "type": "integer"
  17147. },
  17148. "orderstatus": {
  17149. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17150. "type": "integer"
  17151. },
  17152. "ordertime": {
  17153. "description": "委托时间",
  17154. "type": "string"
  17155. },
  17156. "preorderid": {
  17157. "description": "关联预埋单号(止盈止损单时填写)",
  17158. "type": "string"
  17159. },
  17160. "pricemode": {
  17161. "description": "取价方式 - 1:市价 2: 限价",
  17162. "type": "integer"
  17163. },
  17164. "relatedid": {
  17165. "description": "关联单号(交割单)",
  17166. "type": "string"
  17167. },
  17168. "tradedate": {
  17169. "description": "交易日(yyyyMMdd)",
  17170. "type": "string"
  17171. },
  17172. "trademode": {
  17173. "description": "交易模式",
  17174. "type": "integer"
  17175. },
  17176. "tradeqty": {
  17177. "description": "成交数量",
  17178. "type": "integer"
  17179. },
  17180. "unfreezecharge": {
  17181. "description": "解冻手续费",
  17182. "type": "number"
  17183. },
  17184. "unfreezemargin": {
  17185. "description": "解冻保证金",
  17186. "type": "number"
  17187. },
  17188. "validtime": {
  17189. "description": "有效期限",
  17190. "type": "string"
  17191. },
  17192. "validtype": {
  17193. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17194. "type": "integer"
  17195. },
  17196. "volumetype": {
  17197. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17198. "type": "integer"
  17199. }
  17200. }
  17201. },
  17202. "order.QueryTradePositionRsp": {
  17203. "type": "object",
  17204. "required": [
  17205. "goodsid"
  17206. ],
  17207. "properties": {
  17208. "accountid": {
  17209. "description": "资金账户",
  17210. "type": "integer"
  17211. },
  17212. "agreeunit": {
  17213. "description": "合约单位",
  17214. "type": "number"
  17215. },
  17216. "averageprice": {
  17217. "description": "持仓均价",
  17218. "type": "number"
  17219. },
  17220. "buyorsell": {
  17221. "description": "方向 - 0:买 1:卖",
  17222. "type": "integer"
  17223. },
  17224. "closetotalqty": {
  17225. "description": "平仓总数量",
  17226. "type": "integer"
  17227. },
  17228. "curholderamount": {
  17229. "description": "当前持仓总金额[商品币种]",
  17230. "type": "number"
  17231. },
  17232. "curpositionqty": {
  17233. "description": "当前持仓总数量",
  17234. "type": "integer"
  17235. },
  17236. "currencyid": {
  17237. "description": "报价货币ID",
  17238. "type": "integer"
  17239. },
  17240. "curtdposition": {
  17241. "description": "期末今日头寸",
  17242. "type": "integer"
  17243. },
  17244. "decimalplace": {
  17245. "description": "报价小数位",
  17246. "type": "integer"
  17247. },
  17248. "enableqty": {
  17249. "description": "可用量",
  17250. "type": "integer"
  17251. },
  17252. "fretdposition": {
  17253. "description": "冻结今日头寸",
  17254. "type": "integer"
  17255. },
  17256. "frozenqty": {
  17257. "description": "持仓冻结数量",
  17258. "type": "integer"
  17259. },
  17260. "goodscode": {
  17261. "description": "商品代码",
  17262. "type": "string"
  17263. },
  17264. "goodsid": {
  17265. "description": "商品Id",
  17266. "type": "integer"
  17267. },
  17268. "goodsname": {
  17269. "description": "商品名称",
  17270. "type": "string"
  17271. },
  17272. "goodunit": {
  17273. "description": "报价单位",
  17274. "type": "string"
  17275. },
  17276. "goodunitid": {
  17277. "description": "报价单位ID",
  17278. "type": "integer"
  17279. },
  17280. "holderamount": {
  17281. "description": "期初持仓总金额[商品币种]",
  17282. "type": "number"
  17283. },
  17284. "marketid": {
  17285. "description": "所属市场ID",
  17286. "type": "integer"
  17287. },
  17288. "openreqqty": {
  17289. "description": "开仓申请数量(用于比较最大持仓数量)",
  17290. "type": "integer"
  17291. },
  17292. "opentotalqty": {
  17293. "description": "开仓总数量",
  17294. "type": "integer"
  17295. },
  17296. "otherfrozenqty": {
  17297. "description": "持仓其他冻结数量(交割冻结)",
  17298. "type": "integer"
  17299. },
  17300. "positionqty": {
  17301. "description": "期初持仓数量",
  17302. "type": "integer"
  17303. },
  17304. "tnqty": {
  17305. "description": "T+N冻结总量",
  17306. "type": "integer"
  17307. },
  17308. "tnusedqty": {
  17309. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17310. "type": "integer"
  17311. },
  17312. "trademode": {
  17313. "description": "交易模式",
  17314. "type": "integer"
  17315. },
  17316. "usedmargin": {
  17317. "description": "占用保证金[商品币种]",
  17318. "type": "number"
  17319. }
  17320. }
  17321. },
  17322. "quote.HistoryData": {
  17323. "type": "object",
  17324. "properties": {
  17325. "c": {
  17326. "description": "收盘价",
  17327. "type": "number"
  17328. },
  17329. "f": {
  17330. "description": "是否补充数据",
  17331. "type": "boolean"
  17332. },
  17333. "h": {
  17334. "description": "最高价",
  17335. "type": "number"
  17336. },
  17337. "hv": {
  17338. "description": "持仓量",
  17339. "type": "integer"
  17340. },
  17341. "l": {
  17342. "description": "最低价",
  17343. "type": "number"
  17344. },
  17345. "o": {
  17346. "description": "开盘价",
  17347. "type": "number"
  17348. },
  17349. "s": {
  17350. "description": "结算价,日线周期(包括)以上才有",
  17351. "type": "number"
  17352. },
  17353. "ts": {
  17354. "description": "时间",
  17355. "type": "string"
  17356. },
  17357. "tt": {
  17358. "description": "总金额",
  17359. "type": "number"
  17360. },
  17361. "tv": {
  17362. "description": "总量",
  17363. "type": "integer"
  17364. }
  17365. }
  17366. },
  17367. "quote.HistoryTikData": {
  17368. "type": "object",
  17369. "properties": {
  17370. "AV": {
  17371. "description": "卖量",
  17372. "type": "integer"
  17373. },
  17374. "Ask": {
  17375. "description": "卖价",
  17376. "type": "number"
  17377. },
  17378. "BV": {
  17379. "description": "买量",
  17380. "type": "integer"
  17381. },
  17382. "Bid": {
  17383. "description": "买价",
  17384. "type": "number"
  17385. },
  17386. "HI": {
  17387. "description": "单笔持仓",
  17388. "type": "integer"
  17389. },
  17390. "HV": {
  17391. "description": "持仓量",
  17392. "type": "integer"
  17393. },
  17394. "PE": {
  17395. "description": "现价",
  17396. "type": "number"
  17397. },
  17398. "TDR": {
  17399. "description": "交易方向,0:买 1:卖",
  17400. "type": "integer"
  17401. },
  17402. "TK": {
  17403. "description": "交易类型",
  17404. "type": "integer"
  17405. },
  17406. "TS": {
  17407. "description": "行情时间文本",
  17408. "type": "string"
  17409. },
  17410. "TT": {
  17411. "description": "现金额",
  17412. "type": "number"
  17413. },
  17414. "Vol": {
  17415. "description": "现量",
  17416. "type": "integer"
  17417. }
  17418. }
  17419. },
  17420. "quote.QueryQuoteDayRsp": {
  17421. "type": "object",
  17422. "properties": {
  17423. "ask": {
  17424. "description": "卖1",
  17425. "type": "number"
  17426. },
  17427. "ask10": {
  17428. "description": "卖10",
  17429. "type": "number"
  17430. },
  17431. "ask2": {
  17432. "description": "卖2",
  17433. "type": "number"
  17434. },
  17435. "ask3": {
  17436. "description": "卖3",
  17437. "type": "number"
  17438. },
  17439. "ask4": {
  17440. "description": "卖4",
  17441. "type": "number"
  17442. },
  17443. "ask5": {
  17444. "description": "卖5",
  17445. "type": "number"
  17446. },
  17447. "ask6": {
  17448. "description": "卖6",
  17449. "type": "number"
  17450. },
  17451. "ask7": {
  17452. "description": "卖7",
  17453. "type": "number"
  17454. },
  17455. "ask8": {
  17456. "description": "卖8",
  17457. "type": "number"
  17458. },
  17459. "ask9": {
  17460. "description": "卖9",
  17461. "type": "number"
  17462. },
  17463. "askorderid": {
  17464. "description": "卖单号1",
  17465. "type": "integer"
  17466. },
  17467. "askorderid2": {
  17468. "description": "卖单号2",
  17469. "type": "integer"
  17470. },
  17471. "askorderid3": {
  17472. "description": "卖单号3",
  17473. "type": "integer"
  17474. },
  17475. "askorderid4": {
  17476. "description": "卖单号4",
  17477. "type": "integer"
  17478. },
  17479. "askorderid5": {
  17480. "description": "卖单号5",
  17481. "type": "integer"
  17482. },
  17483. "askordervolume": {
  17484. "description": "卖单量1",
  17485. "type": "integer"
  17486. },
  17487. "askordervolume10": {
  17488. "description": "卖单量10",
  17489. "type": "integer"
  17490. },
  17491. "askordervolume2": {
  17492. "description": "卖单量2",
  17493. "type": "integer"
  17494. },
  17495. "askordervolume3": {
  17496. "description": "卖单量3",
  17497. "type": "integer"
  17498. },
  17499. "askordervolume4": {
  17500. "description": "卖单量4",
  17501. "type": "integer"
  17502. },
  17503. "askordervolume5": {
  17504. "description": "卖单量5",
  17505. "type": "integer"
  17506. },
  17507. "askordervolume6": {
  17508. "description": "卖单量6",
  17509. "type": "integer"
  17510. },
  17511. "askordervolume7": {
  17512. "description": "卖单量7",
  17513. "type": "integer"
  17514. },
  17515. "askordervolume8": {
  17516. "description": "卖单量8",
  17517. "type": "integer"
  17518. },
  17519. "askordervolume9": {
  17520. "description": "卖单量9",
  17521. "type": "integer"
  17522. },
  17523. "askqueueinfo": {
  17524. "description": "大利市卖港股用",
  17525. "type": "string"
  17526. },
  17527. "askvolume": {
  17528. "description": "卖量1",
  17529. "type": "integer"
  17530. },
  17531. "askvolume10": {
  17532. "description": "卖量10",
  17533. "type": "integer"
  17534. },
  17535. "askvolume2": {
  17536. "description": "卖量2",
  17537. "type": "integer"
  17538. },
  17539. "askvolume3": {
  17540. "description": "卖量3",
  17541. "type": "integer"
  17542. },
  17543. "askvolume4": {
  17544. "description": "卖量4",
  17545. "type": "integer"
  17546. },
  17547. "askvolume5": {
  17548. "description": "卖量5",
  17549. "type": "integer"
  17550. },
  17551. "askvolume6": {
  17552. "description": "卖量6",
  17553. "type": "integer"
  17554. },
  17555. "askvolume7": {
  17556. "description": "卖量7",
  17557. "type": "integer"
  17558. },
  17559. "askvolume8": {
  17560. "description": "卖量8",
  17561. "type": "integer"
  17562. },
  17563. "askvolume9": {
  17564. "description": "卖量9",
  17565. "type": "integer"
  17566. },
  17567. "averageprice": {
  17568. "description": "均价",
  17569. "type": "number"
  17570. },
  17571. "bid": {
  17572. "description": "买1",
  17573. "type": "number"
  17574. },
  17575. "bid10": {
  17576. "description": "买10",
  17577. "type": "number"
  17578. },
  17579. "bid2": {
  17580. "description": "买2",
  17581. "type": "number"
  17582. },
  17583. "bid3": {
  17584. "description": "买3",
  17585. "type": "number"
  17586. },
  17587. "bid4": {
  17588. "description": "买4",
  17589. "type": "number"
  17590. },
  17591. "bid5": {
  17592. "description": "买5",
  17593. "type": "number"
  17594. },
  17595. "bid6": {
  17596. "description": "买6",
  17597. "type": "number"
  17598. },
  17599. "bid7": {
  17600. "description": "买7",
  17601. "type": "number"
  17602. },
  17603. "bid8": {
  17604. "description": "买8",
  17605. "type": "number"
  17606. },
  17607. "bid9": {
  17608. "description": "买9",
  17609. "type": "number"
  17610. },
  17611. "bidorderid": {
  17612. "description": "买单号1",
  17613. "type": "integer"
  17614. },
  17615. "bidorderid2": {
  17616. "description": "买单号2",
  17617. "type": "integer"
  17618. },
  17619. "bidorderid3": {
  17620. "description": "买单号3",
  17621. "type": "integer"
  17622. },
  17623. "bidorderid4": {
  17624. "description": "买单号4",
  17625. "type": "integer"
  17626. },
  17627. "bidorderid5": {
  17628. "description": "买单号5",
  17629. "type": "integer"
  17630. },
  17631. "bidordervolume": {
  17632. "description": "买单量1",
  17633. "type": "integer"
  17634. },
  17635. "bidordervolume10": {
  17636. "description": "买单量10",
  17637. "type": "integer"
  17638. },
  17639. "bidordervolume2": {
  17640. "description": "买单量2",
  17641. "type": "integer"
  17642. },
  17643. "bidordervolume3": {
  17644. "description": "买单量3",
  17645. "type": "integer"
  17646. },
  17647. "bidordervolume4": {
  17648. "description": "买单量4",
  17649. "type": "integer"
  17650. },
  17651. "bidordervolume5": {
  17652. "description": "买单量5",
  17653. "type": "integer"
  17654. },
  17655. "bidordervolume6": {
  17656. "description": "买单量6",
  17657. "type": "integer"
  17658. },
  17659. "bidordervolume7": {
  17660. "description": "买单量7",
  17661. "type": "integer"
  17662. },
  17663. "bidordervolume8": {
  17664. "description": "买单量8",
  17665. "type": "integer"
  17666. },
  17667. "bidordervolume9": {
  17668. "description": "买单量9",
  17669. "type": "integer"
  17670. },
  17671. "bidqueueinfo": {
  17672. "description": "大利市买港股用",
  17673. "type": "string"
  17674. },
  17675. "bidvolume": {
  17676. "description": "买量1",
  17677. "type": "integer"
  17678. },
  17679. "bidvolume10": {
  17680. "description": "买量10",
  17681. "type": "integer"
  17682. },
  17683. "bidvolume2": {
  17684. "description": "买量2",
  17685. "type": "integer"
  17686. },
  17687. "bidvolume3": {
  17688. "description": "买量3",
  17689. "type": "integer"
  17690. },
  17691. "bidvolume4": {
  17692. "description": "买量4",
  17693. "type": "integer"
  17694. },
  17695. "bidvolume5": {
  17696. "description": "买量5",
  17697. "type": "integer"
  17698. },
  17699. "bidvolume6": {
  17700. "description": "买量6",
  17701. "type": "integer"
  17702. },
  17703. "bidvolume7": {
  17704. "description": "买量7",
  17705. "type": "integer"
  17706. },
  17707. "bidvolume8": {
  17708. "description": "买量8",
  17709. "type": "integer"
  17710. },
  17711. "bidvolume9": {
  17712. "description": "买量9",
  17713. "type": "integer"
  17714. },
  17715. "calloptionpremiums": {
  17716. "description": "认购期权1",
  17717. "type": "integer"
  17718. },
  17719. "calloptionpremiums2": {
  17720. "description": "认购期权2",
  17721. "type": "integer"
  17722. },
  17723. "calloptionpremiums3": {
  17724. "description": "认购期权3",
  17725. "type": "integer"
  17726. },
  17727. "calloptionpremiums4": {
  17728. "description": "认购期权4",
  17729. "type": "integer"
  17730. },
  17731. "calloptionpremiums5": {
  17732. "description": "认购期权5",
  17733. "type": "integer"
  17734. },
  17735. "cleartime": {
  17736. "description": "清盘时间",
  17737. "type": "integer"
  17738. },
  17739. "exchangecode": {
  17740. "description": "交易所代码",
  17741. "type": "integer"
  17742. },
  17743. "exchangedate": {
  17744. "description": "交易日",
  17745. "type": "integer"
  17746. },
  17747. "goodscode": {
  17748. "description": "商品代码",
  17749. "type": "string"
  17750. },
  17751. "grepmarketprice": {
  17752. "description": "暗盘价 港股专用",
  17753. "type": "number"
  17754. },
  17755. "highest": {
  17756. "description": "最高价",
  17757. "type": "number"
  17758. },
  17759. "holdincrement": {
  17760. "description": "单笔持仓",
  17761. "type": "integer"
  17762. },
  17763. "holdvolume": {
  17764. "description": "持仓",
  17765. "type": "integer"
  17766. },
  17767. "iep": {
  17768. "description": "平衡价 港股专用",
  17769. "type": "number"
  17770. },
  17771. "iev": {
  17772. "description": "平衡量 港股专用",
  17773. "type": "number"
  17774. },
  17775. "inventory": {
  17776. "description": "库存",
  17777. "type": "integer"
  17778. },
  17779. "iscleared": {
  17780. "description": "是否清盘标志",
  17781. "type": "integer"
  17782. },
  17783. "issettled": {
  17784. "description": "是否结算标志",
  17785. "type": "integer"
  17786. },
  17787. "last": {
  17788. "description": "最新价",
  17789. "type": "number"
  17790. },
  17791. "lastlot": {
  17792. "description": "最新成交手数",
  17793. "type": "integer"
  17794. },
  17795. "lasttime": {
  17796. "description": "行情时间(只有现价变化行情时间才变化)",
  17797. "type": "string"
  17798. },
  17799. "lastturnover": {
  17800. "description": "最新成交金额",
  17801. "type": "number"
  17802. },
  17803. "lastvolume": {
  17804. "description": "最新成交量",
  17805. "type": "integer"
  17806. },
  17807. "limitdown": {
  17808. "description": "跌停价",
  17809. "type": "number"
  17810. },
  17811. "limitup": {
  17812. "description": "涨停价",
  17813. "type": "number"
  17814. },
  17815. "lowest": {
  17816. "description": "最低价",
  17817. "type": "number"
  17818. },
  17819. "nontotalholdervolume": {
  17820. "description": "非交易持仓量",
  17821. "type": "integer"
  17822. },
  17823. "nontotallot": {
  17824. "description": "非交易总手数",
  17825. "type": "integer"
  17826. },
  17827. "nontotalturnover": {
  17828. "description": "非交易总金额",
  17829. "type": "integer"
  17830. },
  17831. "nontotalvolume": {
  17832. "description": "非交易总量",
  17833. "type": "integer"
  17834. },
  17835. "opened": {
  17836. "description": "开盘价",
  17837. "type": "number"
  17838. },
  17839. "opentime": {
  17840. "description": "开盘时间",
  17841. "type": "string"
  17842. },
  17843. "orderid": {
  17844. "description": "序号",
  17845. "type": "integer"
  17846. },
  17847. "preclose": {
  17848. "description": "昨收",
  17849. "type": "number"
  17850. },
  17851. "preholdvolume": {
  17852. "description": "昨持仓",
  17853. "type": "integer"
  17854. },
  17855. "presettle": {
  17856. "description": "昨结价",
  17857. "type": "number"
  17858. },
  17859. "publictradetype": {
  17860. "description": "公共交易标志类型 港股专用",
  17861. "type": "string"
  17862. },
  17863. "putoptionpremiums": {
  17864. "description": "认沽期权1",
  17865. "type": "integer"
  17866. },
  17867. "putoptionpremiums2": {
  17868. "description": "认沽期权2",
  17869. "type": "integer"
  17870. },
  17871. "putoptionpremiums3": {
  17872. "description": "认沽期权3",
  17873. "type": "integer"
  17874. },
  17875. "putoptionpremiums4": {
  17876. "description": "认沽期权4",
  17877. "type": "integer"
  17878. },
  17879. "putoptionpremiums5": {
  17880. "description": "认沽期权5",
  17881. "type": "integer"
  17882. },
  17883. "settle": {
  17884. "description": "结算价",
  17885. "type": "number"
  17886. },
  17887. "strikeprice": {
  17888. "description": "发行价",
  17889. "type": "number"
  17890. },
  17891. "totalaskvolume": {
  17892. "description": "内盘",
  17893. "type": "integer"
  17894. },
  17895. "totalbidvolume": {
  17896. "description": "外盘",
  17897. "type": "integer"
  17898. },
  17899. "totallot": {
  17900. "description": "总手数",
  17901. "type": "integer"
  17902. },
  17903. "totalturnover": {
  17904. "description": "总金额",
  17905. "type": "number"
  17906. },
  17907. "totalvolume": {
  17908. "description": "总量",
  17909. "type": "integer"
  17910. },
  17911. "utclasttime": {
  17912. "description": "utc的行情时间",
  17913. "type": "string"
  17914. }
  17915. }
  17916. },
  17917. "quote.QueryTSDataRsp": {
  17918. "type": "object",
  17919. "properties": {
  17920. "decimalPlace": {
  17921. "description": "小数位",
  17922. "type": "integer"
  17923. },
  17924. "endTime": {
  17925. "description": "结束时间",
  17926. "type": "string"
  17927. },
  17928. "goodsCode": {
  17929. "description": "商品代码",
  17930. "type": "string"
  17931. },
  17932. "historyDatas": {
  17933. "description": "历史数据",
  17934. "type": "array",
  17935. "items": {
  17936. "$ref": "#/definitions/quote.HistoryData"
  17937. }
  17938. },
  17939. "outGoodsCode": {
  17940. "description": "外部商品代码",
  17941. "type": "string"
  17942. },
  17943. "preSettle": {
  17944. "description": "昨结",
  17945. "type": "number"
  17946. },
  17947. "startTime": {
  17948. "description": "开始时间",
  17949. "type": "string"
  17950. },
  17951. "tradeDate": {
  17952. "description": "交易日",
  17953. "type": "string"
  17954. }
  17955. }
  17956. },
  17957. "szdz.QueryConvertLogRsp": {
  17958. "type": "object",
  17959. "required": [
  17960. "logid"
  17961. ],
  17962. "properties": {
  17963. "accountid": {
  17964. "description": "资金账户ID",
  17965. "type": "integer"
  17966. },
  17967. "clientticket": {
  17968. "description": "客户端流水号",
  17969. "type": "string"
  17970. },
  17971. "converttype": {
  17972. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17973. "type": "integer"
  17974. },
  17975. "createtime": {
  17976. "description": "记账时间",
  17977. "type": "string"
  17978. },
  17979. "daymaxvalue": {
  17980. "description": "配置当日最大转入限制",
  17981. "type": "number"
  17982. },
  17983. "daymaxvalue2": {
  17984. "description": "配置当日最大转入限制(转入)",
  17985. "type": "number"
  17986. },
  17987. "goodscode": {
  17988. "description": "商品代码",
  17989. "type": "string"
  17990. },
  17991. "goodsname": {
  17992. "description": "商品名称",
  17993. "type": "string"
  17994. },
  17995. "handlestatus": {
  17996. "description": "处理状态",
  17997. "type": "integer"
  17998. },
  17999. "innergoodsid": {
  18000. "description": "内部商品ID",
  18001. "type": "integer"
  18002. },
  18003. "inratio": {
  18004. "description": "配置转入比值",
  18005. "type": "integer"
  18006. },
  18007. "invalue": {
  18008. "description": "目标值",
  18009. "type": "number"
  18010. },
  18011. "logid": {
  18012. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18013. "type": "integer"
  18014. },
  18015. "mobile": {
  18016. "description": "手机号码(加密存储)",
  18017. "type": "string"
  18018. },
  18019. "outergoodscode": {
  18020. "description": "外部商品代码[JD\\PD]",
  18021. "type": "string"
  18022. },
  18023. "outratio": {
  18024. "description": "配置转出比值",
  18025. "type": "integer"
  18026. },
  18027. "outvalue": {
  18028. "description": "源值",
  18029. "type": "number"
  18030. },
  18031. "pddecimalplace": {
  18032. "description": "PD小数位",
  18033. "type": "integer"
  18034. },
  18035. "qty": {
  18036. "description": "数量",
  18037. "type": "string"
  18038. },
  18039. "remark": {
  18040. "description": "备注",
  18041. "type": "string"
  18042. },
  18043. "sessionid": {
  18044. "description": "会话ID",
  18045. "type": "integer"
  18046. },
  18047. "timemaxvalue": {
  18048. "description": "配置单次最大转入限制",
  18049. "type": "number"
  18050. },
  18051. "timemaxvalue2": {
  18052. "description": "配置单次最大转入限制(转入)",
  18053. "type": "number"
  18054. },
  18055. "timeminvalue": {
  18056. "description": "配置单次最小数量限制",
  18057. "type": "number"
  18058. },
  18059. "timeminvalue2": {
  18060. "description": "配置单次最小数量限制(转入)",
  18061. "type": "number"
  18062. },
  18063. "tradedate": {
  18064. "description": "交易日(yyyyMMdd)",
  18065. "type": "string"
  18066. },
  18067. "userid": {
  18068. "description": "用户ID",
  18069. "type": "integer"
  18070. }
  18071. }
  18072. },
  18073. "szdz.QueryGoodsPickupRsp": {
  18074. "type": "object",
  18075. "required": [
  18076. "takeorderid"
  18077. ],
  18078. "properties": {
  18079. "accountid": {
  18080. "description": "账户ID",
  18081. "type": "integer"
  18082. },
  18083. "address": {
  18084. "description": "提货人详细地址",
  18085. "type": "string"
  18086. },
  18087. "auditer": {
  18088. "description": "审核人",
  18089. "type": "integer"
  18090. },
  18091. "audittime": {
  18092. "description": "审核时间",
  18093. "type": "string"
  18094. },
  18095. "cardnum": {
  18096. "description": "提货人证件号码",
  18097. "type": "string"
  18098. },
  18099. "cardtypeid": {
  18100. "description": "提货人证件类型",
  18101. "type": "integer"
  18102. },
  18103. "checkremark": {
  18104. "description": "审核备注",
  18105. "type": "string"
  18106. },
  18107. "goodscode": {
  18108. "description": "商品代码",
  18109. "type": "string"
  18110. },
  18111. "goodsid": {
  18112. "description": "商品ID",
  18113. "type": "integer"
  18114. },
  18115. "goodsname": {
  18116. "description": "商品名称",
  18117. "type": "string"
  18118. },
  18119. "handlestatus": {
  18120. "description": "处理状态",
  18121. "type": "integer"
  18122. },
  18123. "marketid": {
  18124. "description": "市场ID",
  18125. "type": "integer"
  18126. },
  18127. "phonenum": {
  18128. "description": "提货人联系方式",
  18129. "type": "string"
  18130. },
  18131. "qty": {
  18132. "description": "提货数量",
  18133. "type": "number"
  18134. },
  18135. "recivername": {
  18136. "description": "提货人姓名",
  18137. "type": "string"
  18138. },
  18139. "reqtime": {
  18140. "description": "更新时间",
  18141. "type": "string"
  18142. },
  18143. "takemode": {
  18144. "description": "提货方式 - 2:自提 3:配送",
  18145. "type": "integer"
  18146. },
  18147. "takeorderid": {
  18148. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18149. "type": "string"
  18150. },
  18151. "takeorderstatus": {
  18152. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18153. "type": "integer"
  18154. },
  18155. "takeremark": {
  18156. "description": "提货备注",
  18157. "type": "string"
  18158. },
  18159. "tradedate": {
  18160. "description": "交易日(yyyyMMdd)",
  18161. "type": "string"
  18162. },
  18163. "userid": {
  18164. "description": "用户ID",
  18165. "type": "integer"
  18166. }
  18167. }
  18168. },
  18169. "szdz.QueryRecieptOrderRsp": {
  18170. "type": "object",
  18171. "required": [
  18172. "ordertime"
  18173. ],
  18174. "properties": {
  18175. "accountName": {
  18176. "description": "所属账号名称(已脱敏)",
  18177. "type": "string"
  18178. },
  18179. "accountid": {
  18180. "description": "资金账号",
  18181. "type": "integer"
  18182. },
  18183. "buyorsell": {
  18184. "description": "方向 - 0:买 1:卖",
  18185. "type": "integer"
  18186. },
  18187. "enableqty": {
  18188. "description": "可摘数量",
  18189. "type": "integer"
  18190. },
  18191. "goodscode": {
  18192. "description": "商品代码",
  18193. "type": "string"
  18194. },
  18195. "goodsid": {
  18196. "description": "商品ID",
  18197. "type": "integer"
  18198. },
  18199. "goodsname": {
  18200. "description": "商品名称",
  18201. "type": "string"
  18202. },
  18203. "orderid": {
  18204. "description": "委托单号",
  18205. "type": "string"
  18206. },
  18207. "orderprice": {
  18208. "description": "委托价格",
  18209. "type": "number"
  18210. },
  18211. "ordertime": {
  18212. "description": "委托时间",
  18213. "type": "string"
  18214. },
  18215. "tradedate": {
  18216. "description": "交易日(yyyyMMdd)",
  18217. "type": "string"
  18218. }
  18219. }
  18220. },
  18221. "szdz.QuerySZDZTradePositionRsp": {
  18222. "type": "object",
  18223. "properties": {
  18224. "accountid": {
  18225. "description": "账号Id",
  18226. "type": "integer"
  18227. },
  18228. "agreeunit": {
  18229. "description": "合约单位",
  18230. "type": "number"
  18231. },
  18232. "averageprice": {
  18233. "description": "持仓均价",
  18234. "type": "number"
  18235. },
  18236. "buyorsell": {
  18237. "description": "方向 - 0:买 1:卖",
  18238. "type": "integer"
  18239. },
  18240. "closetotalqty": {
  18241. "description": "平仓总数量",
  18242. "type": "integer"
  18243. },
  18244. "curholderamount": {
  18245. "description": "当前持仓总金额",
  18246. "type": "number"
  18247. },
  18248. "curpositionqty": {
  18249. "description": "当前持仓总数量",
  18250. "type": "integer"
  18251. },
  18252. "currencyid": {
  18253. "description": "报价货币ID",
  18254. "type": "integer"
  18255. },
  18256. "curtdposition": {
  18257. "description": "期末今日头寸",
  18258. "type": "integer"
  18259. },
  18260. "decimalplace": {
  18261. "description": "报价小数位",
  18262. "type": "integer"
  18263. },
  18264. "enableqty": {
  18265. "description": "可用量",
  18266. "type": "integer"
  18267. },
  18268. "fretdposition": {
  18269. "description": "冻结今日头寸",
  18270. "type": "integer"
  18271. },
  18272. "frozenqty": {
  18273. "description": "持仓冻结数量",
  18274. "type": "integer"
  18275. },
  18276. "goodscode": {
  18277. "description": "商品代码(内部)",
  18278. "type": "string"
  18279. },
  18280. "goodsid": {
  18281. "description": "商品Id",
  18282. "type": "integer"
  18283. },
  18284. "goodsname": {
  18285. "description": "商品名称",
  18286. "type": "string"
  18287. },
  18288. "goodunit": {
  18289. "description": "报价单位",
  18290. "type": "string"
  18291. },
  18292. "goodunitid": {
  18293. "description": "报价单位ID",
  18294. "type": "integer"
  18295. },
  18296. "holderamount": {
  18297. "description": "期初持仓总金额",
  18298. "type": "number"
  18299. },
  18300. "marketid": {
  18301. "description": "市场ID",
  18302. "type": "integer"
  18303. },
  18304. "openreqqty": {
  18305. "description": "开仓申请数量",
  18306. "type": "integer"
  18307. },
  18308. "opentotalqty": {
  18309. "description": "开仓总数量",
  18310. "type": "integer"
  18311. },
  18312. "otherfrozenqty": {
  18313. "description": "持仓其他冻结数量(交割冻结)",
  18314. "type": "integer"
  18315. },
  18316. "positionqty": {
  18317. "description": "期初持仓数量",
  18318. "type": "integer"
  18319. },
  18320. "szdz3freezqty": {
  18321. "description": "尚志大宗转换冻结总数量",
  18322. "type": "integer"
  18323. },
  18324. "tnqty": {
  18325. "description": "T+N冻结总量",
  18326. "type": "integer"
  18327. },
  18328. "tnusedqty": {
  18329. "description": "T+N使用量",
  18330. "type": "integer"
  18331. },
  18332. "trademode": {
  18333. "description": "交易模式",
  18334. "type": "integer"
  18335. },
  18336. "usedmargin": {
  18337. "description": "占用保证金",
  18338. "type": "number"
  18339. }
  18340. }
  18341. },
  18342. "taaccount.QueryAmountLogRsp": {
  18343. "type": "object",
  18344. "required": [
  18345. "accountid",
  18346. "amount",
  18347. "amountadjusttype",
  18348. "autoid",
  18349. "balance",
  18350. "createtime",
  18351. "currentbalance",
  18352. "operatetype"
  18353. ],
  18354. "properties": {
  18355. "OPERATETYPENAME": {
  18356. "description": "资金操作类型名称",
  18357. "type": "string"
  18358. },
  18359. "accountid": {
  18360. "description": "资金账户ID",
  18361. "type": "integer"
  18362. },
  18363. "agoodscode": {
  18364. "description": "竞拍商品代码",
  18365. "type": "string"
  18366. },
  18367. "agoodsname": {
  18368. "description": "竞拍商品名称",
  18369. "type": "string"
  18370. },
  18371. "amount": {
  18372. "description": "资金金额",
  18373. "type": "number"
  18374. },
  18375. "amountadjusttype": {
  18376. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18377. "type": "integer"
  18378. },
  18379. "autoid": {
  18380. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18381. "type": "integer"
  18382. },
  18383. "balance": {
  18384. "description": "期初余额",
  18385. "type": "number"
  18386. },
  18387. "businesscode": {
  18388. "description": "业务编号",
  18389. "type": "integer"
  18390. },
  18391. "createtime": {
  18392. "description": "发生时间",
  18393. "type": "string"
  18394. },
  18395. "currencyid": {
  18396. "description": "币种ID",
  18397. "type": "integer"
  18398. },
  18399. "currentbalance": {
  18400. "description": "期末余额(变动后金额)",
  18401. "type": "number"
  18402. },
  18403. "dgoodscode": {
  18404. "description": "交割商品代码",
  18405. "type": "string"
  18406. },
  18407. "dgoodsname": {
  18408. "description": "交割商品名称",
  18409. "type": "string"
  18410. },
  18411. "goodscode": {
  18412. "description": "商品代码",
  18413. "type": "string"
  18414. },
  18415. "goodsid": {
  18416. "description": "商品ID",
  18417. "type": "integer"
  18418. },
  18419. "goodsname": {
  18420. "description": "商品名称",
  18421. "type": "string"
  18422. },
  18423. "marketid": {
  18424. "description": "市场ID",
  18425. "type": "integer"
  18426. },
  18427. "marketname": {
  18428. "description": "市场名称",
  18429. "type": "string"
  18430. },
  18431. "moneyticket": {
  18432. "description": "资金流水号:银行端流水号",
  18433. "type": "integer"
  18434. },
  18435. "operatetype": {
  18436. "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:营销收款",
  18437. "type": "integer"
  18438. },
  18439. "relationorderid": {
  18440. "description": "关联单号",
  18441. "type": "string"
  18442. },
  18443. "remark": {
  18444. "description": "备注",
  18445. "type": "string"
  18446. },
  18447. "trademode": {
  18448. "description": "交易模式",
  18449. "type": "integer"
  18450. }
  18451. }
  18452. },
  18453. "taaccount.QueryHisAmountLogRsp": {
  18454. "type": "object",
  18455. "required": [
  18456. "accountid",
  18457. "amount",
  18458. "amountadjusttype",
  18459. "autoid",
  18460. "balance",
  18461. "createtime",
  18462. "currentbalance",
  18463. "histradedate",
  18464. "operatetype"
  18465. ],
  18466. "properties": {
  18467. "OPERATETYPENAME": {
  18468. "description": "资金操作类型名称",
  18469. "type": "string"
  18470. },
  18471. "accountid": {
  18472. "description": "资金账户ID",
  18473. "type": "integer"
  18474. },
  18475. "agoodscode": {
  18476. "description": "竞拍商品代码",
  18477. "type": "string"
  18478. },
  18479. "agoodsname": {
  18480. "description": "竞拍商品名称",
  18481. "type": "string"
  18482. },
  18483. "amount": {
  18484. "description": "资金金额",
  18485. "type": "number"
  18486. },
  18487. "amountadjusttype": {
  18488. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18489. "type": "integer"
  18490. },
  18491. "autoid": {
  18492. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18493. "type": "integer"
  18494. },
  18495. "balance": {
  18496. "description": "期初余额",
  18497. "type": "number"
  18498. },
  18499. "businesscode": {
  18500. "description": "业务编号",
  18501. "type": "integer"
  18502. },
  18503. "createtime": {
  18504. "description": "发生时间",
  18505. "type": "string"
  18506. },
  18507. "currencyid": {
  18508. "description": "币种ID",
  18509. "type": "integer"
  18510. },
  18511. "currentbalance": {
  18512. "description": "期末余额(变动后金额)",
  18513. "type": "number"
  18514. },
  18515. "dgoodscode": {
  18516. "description": "交割商品代码",
  18517. "type": "string"
  18518. },
  18519. "dgoodsname": {
  18520. "description": "交割商品名称",
  18521. "type": "string"
  18522. },
  18523. "goodscode": {
  18524. "description": "商品代码",
  18525. "type": "string"
  18526. },
  18527. "goodsid": {
  18528. "description": "商品ID",
  18529. "type": "integer"
  18530. },
  18531. "goodsname": {
  18532. "description": "商品名称",
  18533. "type": "string"
  18534. },
  18535. "histradedate": {
  18536. "description": "历史交易日",
  18537. "type": "string"
  18538. },
  18539. "isvaliddata": {
  18540. "description": "是否有效 - 0:无效 1:有效",
  18541. "type": "integer"
  18542. },
  18543. "marketid": {
  18544. "description": "市场ID",
  18545. "type": "integer"
  18546. },
  18547. "marketname": {
  18548. "description": "市场名称",
  18549. "type": "string"
  18550. },
  18551. "moneyticket": {
  18552. "description": "资金流水号:银行端流水号",
  18553. "type": "integer"
  18554. },
  18555. "operatetype": {
  18556. "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:营销收款",
  18557. "type": "integer"
  18558. },
  18559. "relationorderid": {
  18560. "description": "关联单号",
  18561. "type": "string"
  18562. },
  18563. "remark": {
  18564. "description": "备注",
  18565. "type": "string"
  18566. },
  18567. "trademode": {
  18568. "description": "交易模式",
  18569. "type": "integer"
  18570. }
  18571. }
  18572. },
  18573. "trade.QueryRecieptOrderRsp": {
  18574. "type": "object",
  18575. "required": [
  18576. "ordertime"
  18577. ],
  18578. "properties": {
  18579. "accountName": {
  18580. "description": "所属账号名称(已脱敏)",
  18581. "type": "string"
  18582. },
  18583. "accountid": {
  18584. "description": "资金账号",
  18585. "type": "integer"
  18586. },
  18587. "buyorsell": {
  18588. "description": "方向 - 0:买 1:卖",
  18589. "type": "integer"
  18590. },
  18591. "enableqty": {
  18592. "description": "可摘数量",
  18593. "type": "integer"
  18594. },
  18595. "goodscode": {
  18596. "description": "商品代码",
  18597. "type": "string"
  18598. },
  18599. "goodsid": {
  18600. "description": "商品ID",
  18601. "type": "integer"
  18602. },
  18603. "goodsname": {
  18604. "description": "商品名称",
  18605. "type": "string"
  18606. },
  18607. "orderid": {
  18608. "description": "委托单号",
  18609. "type": "string"
  18610. },
  18611. "orderprice": {
  18612. "description": "委托价格",
  18613. "type": "number"
  18614. },
  18615. "ordertime": {
  18616. "description": "委托时间",
  18617. "type": "string"
  18618. },
  18619. "tradedate": {
  18620. "description": "交易日(yyyyMMdd)",
  18621. "type": "string"
  18622. }
  18623. }
  18624. },
  18625. "user.LoginQueryRsp": {
  18626. "type": "object",
  18627. "properties": {
  18628. "SystemParams": {
  18629. "description": "系统参数",
  18630. "type": "array",
  18631. "items": {
  18632. "$ref": "#/definitions/models.Systemparam"
  18633. }
  18634. },
  18635. "externalExchanges": {
  18636. "description": "外部交易所",
  18637. "type": "array",
  18638. "items": {
  18639. "$ref": "#/definitions/models.Externalexchange"
  18640. }
  18641. },
  18642. "goodsgroups": {
  18643. "description": "商品组",
  18644. "type": "array",
  18645. "items": {
  18646. "$ref": "#/definitions/models.Goodsgroup"
  18647. }
  18648. },
  18649. "loginAccount": {
  18650. "description": "登录账号",
  18651. "$ref": "#/definitions/models.Loginaccount"
  18652. },
  18653. "markets": {
  18654. "description": "市场",
  18655. "type": "array",
  18656. "items": {
  18657. "$ref": "#/definitions/models.Market"
  18658. }
  18659. },
  18660. "userAccount": {
  18661. "description": "用户账号",
  18662. "$ref": "#/definitions/models.Useraccount"
  18663. },
  18664. "userInfo": {
  18665. "description": "用户信息",
  18666. "$ref": "#/definitions/models.Userinfo"
  18667. },
  18668. "username": {
  18669. "description": "用户姓名",
  18670. "type": "string"
  18671. }
  18672. }
  18673. }
  18674. },
  18675. "securityDefinitions": {
  18676. "ApiKeyAuth": {
  18677. "type": "apiKey",
  18678. "name": "Authorization",
  18679. "in": "header"
  18680. }
  18681. }
  18682. }`
  18683. type swaggerInfo struct {
  18684. Version string
  18685. Host string
  18686. BasePath string
  18687. Schemes []string
  18688. Title string
  18689. Description string
  18690. }
  18691. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18692. var SwaggerInfo = swaggerInfo{
  18693. Version: "1.0",
  18694. Host: "",
  18695. BasePath: "/api",
  18696. Schemes: []string{},
  18697. Title: "MTP2.0 查询服务 API",
  18698. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18699. }
  18700. type s struct{}
  18701. func (s *s) ReadDoc() string {
  18702. sInfo := SwaggerInfo
  18703. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18704. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18705. "marshal": func(v interface{}) string {
  18706. a, _ := json.Marshal(v)
  18707. return string(a)
  18708. },
  18709. }).Parse(doc)
  18710. if err != nil {
  18711. return doc
  18712. }
  18713. var tpl bytes.Buffer
  18714. if err := t.Execute(&tpl, sInfo); err != nil {
  18715. return doc
  18716. }
  18717. return tpl.String()
  18718. }
  18719. func init() {
  18720. swag.Register(swag.Name, &s{})
  18721. }