docs.go 230 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345
  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/NoticeReaded": {
  368. "post": {
  369. "security": [
  370. {
  371. "ApiKeyAuth": []
  372. }
  373. ],
  374. "produces": [
  375. "application/json"
  376. ],
  377. "tags": [
  378. "通用服务"
  379. ],
  380. "summary": "通知公告设置已读请求",
  381. "parameters": [
  382. {
  383. "type": "integer",
  384. "description": "登录账号",
  385. "name": "loginID",
  386. "in": "query",
  387. "required": true
  388. },
  389. {
  390. "type": "integer",
  391. "description": "通知公告ID",
  392. "name": "noticeID",
  393. "in": "query",
  394. "required": true
  395. }
  396. ],
  397. "responses": {
  398. "200": {
  399. "description": "OK",
  400. "schema": {
  401. "$ref": "#/definitions/app.Response"
  402. }
  403. },
  404. "500": {
  405. "description": "Internal Server Error",
  406. "schema": {
  407. "$ref": "#/definitions/app.Response"
  408. }
  409. }
  410. }
  411. }
  412. },
  413. "/Common/QueryNotice": {
  414. "get": {
  415. "security": [
  416. {
  417. "ApiKeyAuth": []
  418. }
  419. ],
  420. "produces": [
  421. "application/json"
  422. ],
  423. "tags": [
  424. "通用服务"
  425. ],
  426. "summary": "通知公告系统消息查询",
  427. "parameters": [
  428. {
  429. "type": "integer",
  430. "description": "页码",
  431. "name": "page",
  432. "in": "query"
  433. },
  434. {
  435. "type": "integer",
  436. "description": "每页条数",
  437. "name": "pagesize",
  438. "in": "query"
  439. },
  440. {
  441. "type": "integer",
  442. "description": "登录账号",
  443. "name": "loginID",
  444. "in": "query",
  445. "required": true
  446. },
  447. {
  448. "type": "integer",
  449. "description": "消息类型 - 1:公告通知 2:系统消息",
  450. "name": "msgType",
  451. "in": "query"
  452. },
  453. {
  454. "type": "boolean",
  455. "description": "是否只获取未读信息",
  456. "name": "onlyUnRead",
  457. "in": "query"
  458. }
  459. ],
  460. "responses": {
  461. "200": {
  462. "description": "OK",
  463. "schema": {
  464. "$ref": "#/definitions/common.QueryNoticeRsp"
  465. }
  466. },
  467. "500": {
  468. "description": "Internal Server Error",
  469. "schema": {
  470. "$ref": "#/definitions/app.Response"
  471. }
  472. }
  473. }
  474. }
  475. },
  476. "/Common/QueryProvincesAndCities": {
  477. "get": {
  478. "produces": [
  479. "application/json"
  480. ],
  481. "tags": [
  482. "通用服务"
  483. ],
  484. "summary": "查询省市信息(不包括区)",
  485. "parameters": [
  486. {
  487. "type": "integer",
  488. "description": "省ID",
  489. "name": "provinceID",
  490. "in": "query"
  491. }
  492. ],
  493. "responses": {
  494. "200": {
  495. "description": "OK",
  496. "schema": {
  497. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  498. }
  499. },
  500. "500": {
  501. "description": "Internal Server Error",
  502. "schema": {
  503. "$ref": "#/definitions/app.Response"
  504. }
  505. }
  506. }
  507. }
  508. },
  509. "/Common/QueryTableDefine": {
  510. "get": {
  511. "produces": [
  512. "application/json"
  513. ],
  514. "tags": [
  515. "通用服务"
  516. ],
  517. "summary": "查询交易端列表头信息",
  518. "parameters": [
  519. {
  520. "type": "string",
  521. "description": "表key",
  522. "name": "TableKey",
  523. "in": "query"
  524. }
  525. ],
  526. "responses": {
  527. "200": {
  528. "description": "OK",
  529. "schema": {
  530. "$ref": "#/definitions/common.QueryTableDefineRsp"
  531. }
  532. },
  533. "500": {
  534. "description": "Internal Server Error",
  535. "schema": {
  536. "$ref": "#/definitions/app.Response"
  537. }
  538. }
  539. }
  540. }
  541. },
  542. "/Common/QueryTraderMenu": {
  543. "get": {
  544. "produces": [
  545. "application/json"
  546. ],
  547. "tags": [
  548. "通用服务"
  549. ],
  550. "summary": "查询交易端菜单",
  551. "parameters": [
  552. {
  553. "type": "integer",
  554. "description": "登录账号",
  555. "name": "loginid",
  556. "in": "query",
  557. "required": true
  558. }
  559. ],
  560. "responses": {
  561. "200": {
  562. "description": "OK",
  563. "schema": {
  564. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  565. }
  566. },
  567. "500": {
  568. "description": "Internal Server Error",
  569. "schema": {
  570. "$ref": "#/definitions/app.Response"
  571. }
  572. }
  573. }
  574. }
  575. },
  576. "/Delivery/QueryDeliveryRelation": {
  577. "get": {
  578. "security": [
  579. {
  580. "ApiKeyAuth": []
  581. }
  582. ],
  583. "produces": [
  584. "application/json"
  585. ],
  586. "tags": [
  587. "交割服务"
  588. ],
  589. "summary": "查询商品交割关系表",
  590. "parameters": [
  591. {
  592. "type": "integer",
  593. "description": "商品ID",
  594. "name": "goodsid",
  595. "in": "query"
  596. },
  597. {
  598. "type": "integer",
  599. "description": "品种ID",
  600. "name": "deliverygoodsid",
  601. "in": "query"
  602. },
  603. {
  604. "type": "integer",
  605. "description": "市场ID",
  606. "name": "marketid",
  607. "in": "query"
  608. }
  609. ],
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Erms2/QueryArbitrageStrategy": {
  627. "get": {
  628. "security": [
  629. {
  630. "ApiKeyAuth": []
  631. }
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "风险管理"
  638. ],
  639. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "账户ID",
  644. "name": "userid",
  645. "in": "query",
  646. "required": true
  647. },
  648. {
  649. "type": "string",
  650. "description": "商品组ID(品种ID)",
  651. "name": "goodsgroupid",
  652. "in": "query"
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "OK",
  658. "schema": {
  659. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  660. }
  661. },
  662. "500": {
  663. "description": "Internal Server Error",
  664. "schema": {
  665. "$ref": "#/definitions/app.Response"
  666. }
  667. }
  668. }
  669. }
  670. },
  671. "/Erms2/QueryInnerTradeDetail": {
  672. "get": {
  673. "security": [
  674. {
  675. "ApiKeyAuth": []
  676. }
  677. ],
  678. "produces": [
  679. "application/json"
  680. ],
  681. "tags": [
  682. "风险管理"
  683. ],
  684. "summary": "查询内部成交单信息",
  685. "parameters": [
  686. {
  687. "type": "integer",
  688. "description": "资金账户",
  689. "name": "accountid",
  690. "in": "query",
  691. "required": true
  692. }
  693. ],
  694. "responses": {
  695. "200": {
  696. "description": "OK",
  697. "schema": {
  698. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  699. }
  700. },
  701. "500": {
  702. "description": "Internal Server Error",
  703. "schema": {
  704. "$ref": "#/definitions/app.Response"
  705. }
  706. }
  707. }
  708. }
  709. },
  710. "/Erms2/QuerySpotContract": {
  711. "get": {
  712. "security": [
  713. {
  714. "ApiKeyAuth": []
  715. }
  716. ],
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "风险管理"
  722. ],
  723. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  724. "parameters": [
  725. {
  726. "type": "integer",
  727. "description": "策略申请ID",
  728. "name": "asapplyid",
  729. "in": "query",
  730. "required": true
  731. },
  732. {
  733. "type": "integer",
  734. "description": "现货合同ID",
  735. "name": "spotcontractid",
  736. "in": "query"
  737. }
  738. ],
  739. "responses": {
  740. "200": {
  741. "description": "OK",
  742. "schema": {
  743. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  744. }
  745. },
  746. "500": {
  747. "description": "Internal Server Error",
  748. "schema": {
  749. "$ref": "#/definitions/app.Response"
  750. }
  751. }
  752. }
  753. }
  754. },
  755. "/HSBY/QueryHsbyGoodsOrderDetails": {
  756. "get": {
  757. "security": [
  758. {
  759. "ApiKeyAuth": []
  760. }
  761. ],
  762. "description": "说明:查询结果已按委托价格和委托时间排序; sellOrderDetails - 转让(卖出)单,buyOrderDetails - 求购(买入)单",
  763. "produces": [
  764. "application/json"
  765. ],
  766. "tags": [
  767. "定制【海商报业】"
  768. ],
  769. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  770. "parameters": [
  771. {
  772. "type": "integer",
  773. "description": "商品ID",
  774. "name": "goodsID",
  775. "in": "query",
  776. "required": true
  777. },
  778. {
  779. "type": "integer",
  780. "description": "档位,不传则默认为3档",
  781. "name": "Number",
  782. "in": "query"
  783. }
  784. ],
  785. "responses": {
  786. "200": {
  787. "description": "OK",
  788. "schema": {
  789. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  790. }
  791. },
  792. "500": {
  793. "description": "Internal Server Error",
  794. "schema": {
  795. "$ref": "#/definitions/app.Response"
  796. }
  797. }
  798. }
  799. }
  800. },
  801. "/HSBY/QueryHsbyListingGoodsDetail": {
  802. "get": {
  803. "security": [
  804. {
  805. "ApiKeyAuth": []
  806. }
  807. ],
  808. "produces": [
  809. "application/json"
  810. ],
  811. "tags": [
  812. "定制【海商报业】"
  813. ],
  814. "summary": "查询二级市场(挂牌点选)商品信息详情",
  815. "parameters": [
  816. {
  817. "type": "integer",
  818. "description": "商品ID",
  819. "name": "goodsID",
  820. "in": "query",
  821. "required": true
  822. }
  823. ],
  824. "responses": {
  825. "200": {
  826. "description": "OK",
  827. "schema": {
  828. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  829. }
  830. },
  831. "500": {
  832. "description": "Internal Server Error",
  833. "schema": {
  834. "$ref": "#/definitions/app.Response"
  835. }
  836. }
  837. }
  838. }
  839. },
  840. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  841. "get": {
  842. "security": [
  843. {
  844. "ApiKeyAuth": []
  845. }
  846. ],
  847. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  848. "produces": [
  849. "application/json"
  850. ],
  851. "tags": [
  852. "定制【海商报业】"
  853. ],
  854. "summary": "查询“我的订单”信息",
  855. "parameters": [
  856. {
  857. "type": "string",
  858. "description": "资金账户列表,格式:1,2,3",
  859. "name": "accountIDs",
  860. "in": "query",
  861. "required": true
  862. },
  863. {
  864. "type": "integer",
  865. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  866. "name": "myBuyStatus",
  867. "in": "query"
  868. }
  869. ],
  870. "responses": {
  871. "200": {
  872. "description": "OK",
  873. "schema": {
  874. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  875. }
  876. },
  877. "500": {
  878. "description": "Internal Server Error",
  879. "schema": {
  880. "$ref": "#/definitions/app.Response"
  881. }
  882. }
  883. }
  884. }
  885. },
  886. "/HSBY/QueryHsbyMyGoods": {
  887. "get": {
  888. "security": [
  889. {
  890. "ApiKeyAuth": []
  891. }
  892. ],
  893. "produces": [
  894. "application/json"
  895. ],
  896. "tags": [
  897. "定制【海商报业】"
  898. ],
  899. "summary": "查询“我的商品”信息",
  900. "parameters": [
  901. {
  902. "type": "string",
  903. "description": "资金账户列表,格式:1,2,3",
  904. "name": "accountIDs",
  905. "in": "query",
  906. "required": true
  907. }
  908. ],
  909. "responses": {
  910. "200": {
  911. "description": "OK",
  912. "schema": {
  913. "$ref": "#/definitions/models.HsbyMyGoods"
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/HSBY/QueryHsbyPreGoodses": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "定制【海商报业】"
  938. ],
  939. "summary": "查询新品上市商品列表(一级市场产能预售)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "页码",
  944. "name": "page",
  945. "in": "query"
  946. },
  947. {
  948. "type": "integer",
  949. "description": "每页条数",
  950. "name": "pagesize",
  951. "in": "query"
  952. },
  953. {
  954. "type": "string",
  955. "description": "市场ID列表,格式:1,2,3",
  956. "name": "marketIDs",
  957. "in": "query",
  958. "required": true
  959. },
  960. {
  961. "type": "integer",
  962. "description": "目的地(省)ID",
  963. "name": "DescProvinceID",
  964. "in": "query"
  965. },
  966. {
  967. "type": "integer",
  968. "description": "目的地(市)ID",
  969. "name": "DescCityID",
  970. "in": "query"
  971. }
  972. ],
  973. "responses": {
  974. "200": {
  975. "description": "OK",
  976. "schema": {
  977. "$ref": "#/definitions/models.HsbyPreGoods"
  978. }
  979. },
  980. "500": {
  981. "description": "Internal Server Error",
  982. "schema": {
  983. "$ref": "#/definitions/app.Response"
  984. }
  985. }
  986. }
  987. }
  988. },
  989. "/HSBY/QueryHsbyTopGoodses": {
  990. "get": {
  991. "security": [
  992. {
  993. "ApiKeyAuth": []
  994. }
  995. ],
  996. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  997. "produces": [
  998. "application/json"
  999. ],
  1000. "tags": [
  1001. "定制【海商报业】"
  1002. ],
  1003. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1004. "parameters": [
  1005. {
  1006. "type": "integer",
  1007. "description": "页码",
  1008. "name": "page",
  1009. "in": "query"
  1010. },
  1011. {
  1012. "type": "integer",
  1013. "description": "每页条数",
  1014. "name": "pagesize",
  1015. "in": "query"
  1016. },
  1017. {
  1018. "type": "string",
  1019. "description": "市场ID列表,格式:1,2,3",
  1020. "name": "marketIDs",
  1021. "in": "query",
  1022. "required": true
  1023. },
  1024. {
  1025. "type": "integer",
  1026. "description": "目的地(省)ID",
  1027. "name": "DescProvinceID",
  1028. "in": "query"
  1029. },
  1030. {
  1031. "type": "integer",
  1032. "description": "目的地(市)ID",
  1033. "name": "DescCityID",
  1034. "in": "query"
  1035. }
  1036. ],
  1037. "responses": {
  1038. "200": {
  1039. "description": "OK",
  1040. "schema": {
  1041. "$ref": "#/definitions/models.HsbyTopGoods"
  1042. }
  1043. },
  1044. "500": {
  1045. "description": "Internal Server Error",
  1046. "schema": {
  1047. "$ref": "#/definitions/app.Response"
  1048. }
  1049. }
  1050. }
  1051. }
  1052. },
  1053. "/History/QueryTSData": {
  1054. "get": {
  1055. "produces": [
  1056. "application/json"
  1057. ],
  1058. "tags": [
  1059. "通用服务"
  1060. ],
  1061. "summary": "分时图数据查询",
  1062. "parameters": [
  1063. {
  1064. "type": "string",
  1065. "description": "商品代码",
  1066. "name": "GoodsCode",
  1067. "in": "query",
  1068. "required": true
  1069. }
  1070. ],
  1071. "responses": {
  1072. "200": {
  1073. "description": "OK",
  1074. "schema": {
  1075. "$ref": "#/definitions/quote.QueryTSDataRsp"
  1076. }
  1077. },
  1078. "500": {
  1079. "description": "Internal Server Error",
  1080. "schema": {
  1081. "$ref": "#/definitions/app.Response"
  1082. }
  1083. }
  1084. }
  1085. }
  1086. },
  1087. "/Order/QueryHisTradeDetail": {
  1088. "get": {
  1089. "security": [
  1090. {
  1091. "ApiKeyAuth": []
  1092. }
  1093. ],
  1094. "produces": [
  1095. "application/json"
  1096. ],
  1097. "tags": [
  1098. "通用单据"
  1099. ],
  1100. "summary": "历史成交单查询(合约市场)",
  1101. "parameters": [
  1102. {
  1103. "type": "string",
  1104. "description": "资金账户 - 格式:1,2,3",
  1105. "name": "accountID",
  1106. "in": "query",
  1107. "required": true
  1108. },
  1109. {
  1110. "type": "integer",
  1111. "description": "成交单号",
  1112. "name": "tradeID",
  1113. "in": "query"
  1114. },
  1115. {
  1116. "type": "integer",
  1117. "description": "委托单号",
  1118. "name": "orderID",
  1119. "in": "query"
  1120. },
  1121. {
  1122. "type": "string",
  1123. "description": "交易模式 - 格式:1,2,3",
  1124. "name": "tradeMode",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "委托单据类型",
  1130. "name": "buildType",
  1131. "in": "query"
  1132. },
  1133. {
  1134. "type": "string",
  1135. "description": "成交类别 - 格式:1,2,3",
  1136. "name": "tradeType",
  1137. "in": "query"
  1138. },
  1139. {
  1140. "type": "string",
  1141. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1142. "name": "startDate",
  1143. "in": "query"
  1144. },
  1145. {
  1146. "type": "string",
  1147. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1148. "name": "endDate",
  1149. "in": "query"
  1150. }
  1151. ],
  1152. "responses": {
  1153. "200": {
  1154. "description": "OK",
  1155. "schema": {
  1156. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  1157. }
  1158. },
  1159. "500": {
  1160. "description": "Internal Server Error",
  1161. "schema": {
  1162. "$ref": "#/definitions/app.Response"
  1163. }
  1164. }
  1165. }
  1166. }
  1167. },
  1168. "/Order/QueryHisTradeOrderDetail": {
  1169. "get": {
  1170. "security": [
  1171. {
  1172. "ApiKeyAuth": []
  1173. }
  1174. ],
  1175. "produces": [
  1176. "application/json"
  1177. ],
  1178. "tags": [
  1179. "通用单据"
  1180. ],
  1181. "summary": "历史委托单查询请求(合约市场)",
  1182. "parameters": [
  1183. {
  1184. "type": "string",
  1185. "description": "资金账户 - 格式:1,2,3",
  1186. "name": "accountID",
  1187. "in": "query",
  1188. "required": true
  1189. },
  1190. {
  1191. "type": "string",
  1192. "description": "交易模式 - 格式:1,2,3",
  1193. "name": "tradeMode",
  1194. "in": "query"
  1195. },
  1196. {
  1197. "type": "string",
  1198. "description": "委托状态 - 格式:1,2,3",
  1199. "name": "orderStatus",
  1200. "in": "query"
  1201. },
  1202. {
  1203. "type": "integer",
  1204. "description": "委托单号",
  1205. "name": "orderID",
  1206. "in": "query"
  1207. },
  1208. {
  1209. "type": "string",
  1210. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1211. "name": "startDate",
  1212. "in": "query"
  1213. },
  1214. {
  1215. "type": "string",
  1216. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1217. "name": "endDate",
  1218. "in": "query"
  1219. }
  1220. ],
  1221. "responses": {
  1222. "200": {
  1223. "description": "OK",
  1224. "schema": {
  1225. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  1226. }
  1227. },
  1228. "500": {
  1229. "description": "Internal Server Error",
  1230. "schema": {
  1231. "$ref": "#/definitions/app.Response"
  1232. }
  1233. }
  1234. }
  1235. }
  1236. },
  1237. "/Order/QueryTradeDetail": {
  1238. "get": {
  1239. "security": [
  1240. {
  1241. "ApiKeyAuth": []
  1242. }
  1243. ],
  1244. "produces": [
  1245. "application/json"
  1246. ],
  1247. "tags": [
  1248. "通用单据"
  1249. ],
  1250. "summary": "成交单查询(合约市场)",
  1251. "parameters": [
  1252. {
  1253. "type": "string",
  1254. "description": "资金账户 - 格式:1,2,3",
  1255. "name": "accountID",
  1256. "in": "query",
  1257. "required": true
  1258. },
  1259. {
  1260. "type": "integer",
  1261. "description": "成交单号",
  1262. "name": "tradeID",
  1263. "in": "query"
  1264. },
  1265. {
  1266. "type": "integer",
  1267. "description": "委托单号",
  1268. "name": "orderID",
  1269. "in": "query"
  1270. },
  1271. {
  1272. "type": "string",
  1273. "description": "交易模式 - 格式:1,2,3",
  1274. "name": "tradeMode",
  1275. "in": "query"
  1276. },
  1277. {
  1278. "type": "integer",
  1279. "description": "委托单据类型",
  1280. "name": "buildType",
  1281. "in": "query"
  1282. },
  1283. {
  1284. "type": "string",
  1285. "description": "成交类别 - 格式:1,2,3",
  1286. "name": "tradeType",
  1287. "in": "query"
  1288. }
  1289. ],
  1290. "responses": {
  1291. "200": {
  1292. "description": "OK",
  1293. "schema": {
  1294. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  1295. }
  1296. },
  1297. "500": {
  1298. "description": "Internal Server Error",
  1299. "schema": {
  1300. "$ref": "#/definitions/app.Response"
  1301. }
  1302. }
  1303. }
  1304. }
  1305. },
  1306. "/Order/QueryTradeOrderDetail": {
  1307. "get": {
  1308. "security": [
  1309. {
  1310. "ApiKeyAuth": []
  1311. }
  1312. ],
  1313. "produces": [
  1314. "application/json"
  1315. ],
  1316. "tags": [
  1317. "通用单据"
  1318. ],
  1319. "summary": "委托单查询请求(合约市场)",
  1320. "parameters": [
  1321. {
  1322. "type": "string",
  1323. "description": "资金账户 - 格式:1,2,3",
  1324. "name": "accountID",
  1325. "in": "query",
  1326. "required": true
  1327. },
  1328. {
  1329. "type": "string",
  1330. "description": "交易模式 - 格式:1,2,3",
  1331. "name": "tradeMode",
  1332. "in": "query"
  1333. },
  1334. {
  1335. "type": "string",
  1336. "description": "委托状态 - 格式:1,2,3",
  1337. "name": "orderStatus",
  1338. "in": "query"
  1339. },
  1340. {
  1341. "type": "integer",
  1342. "description": "委托单号",
  1343. "name": "orderID",
  1344. "in": "query"
  1345. }
  1346. ],
  1347. "responses": {
  1348. "200": {
  1349. "description": "OK",
  1350. "schema": {
  1351. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  1352. }
  1353. },
  1354. "500": {
  1355. "description": "Internal Server Error",
  1356. "schema": {
  1357. "$ref": "#/definitions/app.Response"
  1358. }
  1359. }
  1360. }
  1361. }
  1362. },
  1363. "/Order/QueryTradePosition": {
  1364. "get": {
  1365. "security": [
  1366. {
  1367. "ApiKeyAuth": []
  1368. }
  1369. ],
  1370. "produces": [
  1371. "application/json"
  1372. ],
  1373. "tags": [
  1374. "通用单据"
  1375. ],
  1376. "summary": "持仓汇总查询(合约市场)",
  1377. "parameters": [
  1378. {
  1379. "type": "string",
  1380. "description": "资金账户 - 格式:1,2,3",
  1381. "name": "accountID",
  1382. "in": "query",
  1383. "required": true
  1384. },
  1385. {
  1386. "type": "string",
  1387. "description": "交易模式 - 格式:1,2,3",
  1388. "name": "tradeMode",
  1389. "in": "query"
  1390. }
  1391. ],
  1392. "responses": {
  1393. "200": {
  1394. "description": "OK",
  1395. "schema": {
  1396. "$ref": "#/definitions/order.QueryTradePositionRsp"
  1397. }
  1398. },
  1399. "500": {
  1400. "description": "Internal Server Error",
  1401. "schema": {
  1402. "$ref": "#/definitions/app.Response"
  1403. }
  1404. }
  1405. }
  1406. }
  1407. },
  1408. "/SZDZ/QueryConvertConfig": {
  1409. "get": {
  1410. "security": [
  1411. {
  1412. "ApiKeyAuth": []
  1413. }
  1414. ],
  1415. "produces": [
  1416. "application/json"
  1417. ],
  1418. "tags": [
  1419. "定制【尚志大宗】"
  1420. ],
  1421. "summary": "查询交易系统转换设置",
  1422. "parameters": [
  1423. {
  1424. "type": "integer",
  1425. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  1426. "name": "convertType",
  1427. "in": "query"
  1428. },
  1429. {
  1430. "type": "string",
  1431. "description": "外部商品代码[JD\\PD]",
  1432. "name": "outerGoodsCode",
  1433. "in": "query"
  1434. },
  1435. {
  1436. "type": "string",
  1437. "description": "内部商品ID列表[交易],格式:1,2,3",
  1438. "name": "innerGoodsIDs",
  1439. "in": "query"
  1440. }
  1441. ],
  1442. "responses": {
  1443. "200": {
  1444. "description": "OK",
  1445. "schema": {
  1446. "$ref": "#/definitions/models.Szdz3convertconfig"
  1447. }
  1448. },
  1449. "500": {
  1450. "description": "Internal Server Error",
  1451. "schema": {
  1452. "$ref": "#/definitions/app.Response"
  1453. }
  1454. }
  1455. }
  1456. }
  1457. },
  1458. "/SZDZ/QueryConvertLog": {
  1459. "get": {
  1460. "security": [
  1461. {
  1462. "ApiKeyAuth": []
  1463. }
  1464. ],
  1465. "produces": [
  1466. "application/json"
  1467. ],
  1468. "tags": [
  1469. "定制【尚志大宗】"
  1470. ],
  1471. "summary": "交易系统转换流水查询",
  1472. "parameters": [
  1473. {
  1474. "type": "string",
  1475. "description": "资金账户 - 格式:1,2,3",
  1476. "name": "accountID",
  1477. "in": "query",
  1478. "required": true
  1479. },
  1480. {
  1481. "type": "string",
  1482. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1483. "name": "startDate",
  1484. "in": "query"
  1485. },
  1486. {
  1487. "type": "string",
  1488. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1489. "name": "endDate",
  1490. "in": "query"
  1491. }
  1492. ],
  1493. "responses": {
  1494. "200": {
  1495. "description": "OK",
  1496. "schema": {
  1497. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  1498. }
  1499. },
  1500. "500": {
  1501. "description": "Internal Server Error",
  1502. "schema": {
  1503. "$ref": "#/definitions/app.Response"
  1504. }
  1505. }
  1506. }
  1507. }
  1508. },
  1509. "/SZDZ/QueryGoodsPickup": {
  1510. "get": {
  1511. "security": [
  1512. {
  1513. "ApiKeyAuth": []
  1514. }
  1515. ],
  1516. "produces": [
  1517. "application/json"
  1518. ],
  1519. "tags": [
  1520. "定制【尚志大宗】"
  1521. ],
  1522. "summary": "商品提货单查询",
  1523. "parameters": [
  1524. {
  1525. "type": "string",
  1526. "description": "资金账户 - 格式:1,2,3",
  1527. "name": "accountID",
  1528. "in": "query",
  1529. "required": true
  1530. },
  1531. {
  1532. "type": "integer",
  1533. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1534. "name": "takeOrderStatus",
  1535. "in": "query"
  1536. }
  1537. ],
  1538. "responses": {
  1539. "200": {
  1540. "description": "OK",
  1541. "schema": {
  1542. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  1543. }
  1544. },
  1545. "500": {
  1546. "description": "Internal Server Error",
  1547. "schema": {
  1548. "$ref": "#/definitions/app.Response"
  1549. }
  1550. }
  1551. }
  1552. }
  1553. },
  1554. "/SZDZ/QueryRecieptOrder": {
  1555. "get": {
  1556. "security": [
  1557. {
  1558. "ApiKeyAuth": []
  1559. }
  1560. ],
  1561. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "定制【尚志大宗】"
  1567. ],
  1568. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "页码",
  1573. "name": "page",
  1574. "in": "query"
  1575. },
  1576. {
  1577. "type": "integer",
  1578. "description": "每页条数",
  1579. "name": "pagesize",
  1580. "in": "query"
  1581. },
  1582. {
  1583. "type": "integer",
  1584. "description": "商品ID",
  1585. "name": "goodsID",
  1586. "in": "query",
  1587. "required": true
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "所属账户名称",
  1592. "name": "accountName",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "integer",
  1597. "description": "市场ID",
  1598. "name": "marketID",
  1599. "in": "query"
  1600. },
  1601. {
  1602. "type": "integer",
  1603. "description": "方向 - 0:买 1:卖",
  1604. "name": "buyorsell",
  1605. "in": "query",
  1606. "required": true
  1607. }
  1608. ],
  1609. "responses": {
  1610. "200": {
  1611. "description": "OK",
  1612. "schema": {
  1613. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  1614. }
  1615. },
  1616. "500": {
  1617. "description": "Internal Server Error",
  1618. "schema": {
  1619. "$ref": "#/definitions/app.Response"
  1620. }
  1621. }
  1622. }
  1623. }
  1624. },
  1625. "/SZDZ/QuerySZDZTradePosition": {
  1626. "get": {
  1627. "security": [
  1628. {
  1629. "ApiKeyAuth": []
  1630. }
  1631. ],
  1632. "produces": [
  1633. "application/json"
  1634. ],
  1635. "tags": [
  1636. "定制【尚志大宗】"
  1637. ],
  1638. "summary": "持仓汇总查询(尚志大宗)",
  1639. "parameters": [
  1640. {
  1641. "type": "integer",
  1642. "description": "资金账户",
  1643. "name": "accountID",
  1644. "in": "query",
  1645. "required": true
  1646. }
  1647. ],
  1648. "responses": {
  1649. "200": {
  1650. "description": "OK",
  1651. "schema": {
  1652. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  1653. }
  1654. },
  1655. "500": {
  1656. "description": "Internal Server Error",
  1657. "schema": {
  1658. "$ref": "#/definitions/app.Response"
  1659. }
  1660. }
  1661. }
  1662. }
  1663. },
  1664. "/SZDZ/SearchWhite": {
  1665. "get": {
  1666. "security": [
  1667. {
  1668. "ApiKeyAuth": []
  1669. }
  1670. ],
  1671. "produces": [
  1672. "application/json"
  1673. ],
  1674. "tags": [
  1675. "定制【尚志大宗】"
  1676. ],
  1677. "summary": "搜索白名单",
  1678. "parameters": [
  1679. {
  1680. "type": "integer",
  1681. "description": "用户ID",
  1682. "name": "userID",
  1683. "in": "query",
  1684. "required": true
  1685. }
  1686. ],
  1687. "responses": {
  1688. "200": {
  1689. "description": "OK",
  1690. "schema": {
  1691. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  1692. }
  1693. },
  1694. "500": {
  1695. "description": "Internal Server Error",
  1696. "schema": {
  1697. "$ref": "#/definitions/app.Response"
  1698. }
  1699. }
  1700. }
  1701. }
  1702. },
  1703. "/TaAccount/QueryAmountLog": {
  1704. "get": {
  1705. "security": [
  1706. {
  1707. "ApiKeyAuth": []
  1708. }
  1709. ],
  1710. "produces": [
  1711. "application/json"
  1712. ],
  1713. "tags": [
  1714. "资金账户"
  1715. ],
  1716. "summary": "资金流水查询(当前)",
  1717. "parameters": [
  1718. {
  1719. "type": "integer",
  1720. "description": "页码",
  1721. "name": "page",
  1722. "in": "query"
  1723. },
  1724. {
  1725. "type": "integer",
  1726. "description": "每页条数",
  1727. "name": "pagesize",
  1728. "in": "query"
  1729. },
  1730. {
  1731. "type": "string",
  1732. "description": "资金账户 - 格式:1,2,3",
  1733. "name": "accountID",
  1734. "in": "query",
  1735. "required": true
  1736. },
  1737. {
  1738. "type": "string",
  1739. "description": "资金操作类型 - 格式:1,2,3",
  1740. "name": "OperateType",
  1741. "in": "query"
  1742. }
  1743. ],
  1744. "responses": {
  1745. "200": {
  1746. "description": "OK",
  1747. "schema": {
  1748. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  1749. }
  1750. },
  1751. "500": {
  1752. "description": "Internal Server Error",
  1753. "schema": {
  1754. "$ref": "#/definitions/app.Response"
  1755. }
  1756. }
  1757. }
  1758. }
  1759. },
  1760. "/TaAccount/QueryHisAmountLog": {
  1761. "get": {
  1762. "security": [
  1763. {
  1764. "ApiKeyAuth": []
  1765. }
  1766. ],
  1767. "produces": [
  1768. "application/json"
  1769. ],
  1770. "tags": [
  1771. "资金账户"
  1772. ],
  1773. "summary": "资金流水查询(历史)",
  1774. "parameters": [
  1775. {
  1776. "type": "integer",
  1777. "description": "页码",
  1778. "name": "page",
  1779. "in": "query"
  1780. },
  1781. {
  1782. "type": "integer",
  1783. "description": "每页条数",
  1784. "name": "pagesize",
  1785. "in": "query"
  1786. },
  1787. {
  1788. "type": "string",
  1789. "description": "资金账户 - 格式:1,2,3",
  1790. "name": "accountID",
  1791. "in": "query",
  1792. "required": true
  1793. },
  1794. {
  1795. "type": "string",
  1796. "description": "资金操作类型 - 格式:1,2,3",
  1797. "name": "OperateType",
  1798. "in": "query"
  1799. },
  1800. {
  1801. "type": "string",
  1802. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1803. "name": "startDate",
  1804. "in": "query"
  1805. },
  1806. {
  1807. "type": "string",
  1808. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1809. "name": "endDate",
  1810. "in": "query"
  1811. }
  1812. ],
  1813. "responses": {
  1814. "200": {
  1815. "description": "OK",
  1816. "schema": {
  1817. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  1818. }
  1819. },
  1820. "500": {
  1821. "description": "Internal Server Error",
  1822. "schema": {
  1823. "$ref": "#/definitions/app.Response"
  1824. }
  1825. }
  1826. }
  1827. }
  1828. },
  1829. "/User/GetLoginID": {
  1830. "get": {
  1831. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  1832. "produces": [
  1833. "application/json"
  1834. ],
  1835. "tags": [
  1836. "用户信息"
  1837. ],
  1838. "summary": "获取登录ID",
  1839. "parameters": [
  1840. {
  1841. "type": "string",
  1842. "description": "登录代码",
  1843. "name": "username",
  1844. "in": "query",
  1845. "required": true
  1846. }
  1847. ],
  1848. "responses": {
  1849. "200": {
  1850. "description": "OK",
  1851. "schema": {
  1852. "$ref": "#/definitions/app.Response"
  1853. }
  1854. },
  1855. "500": {
  1856. "description": "Internal Server Error",
  1857. "schema": {
  1858. "$ref": "#/definitions/app.Response"
  1859. }
  1860. }
  1861. }
  1862. }
  1863. },
  1864. "/User/GetUserAuthStatus": {
  1865. "get": {
  1866. "security": [
  1867. {
  1868. "ApiKeyAuth": []
  1869. }
  1870. ],
  1871. "produces": [
  1872. "application/json"
  1873. ],
  1874. "tags": [
  1875. "用户信息"
  1876. ],
  1877. "summary": "获取用户实名认证状态",
  1878. "parameters": [
  1879. {
  1880. "type": "integer",
  1881. "description": "用户ID",
  1882. "name": "userID",
  1883. "in": "query",
  1884. "required": true
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "type": "bool"
  1892. }
  1893. },
  1894. "500": {
  1895. "description": "Internal Server Error",
  1896. "schema": {
  1897. "$ref": "#/definitions/app.Response"
  1898. }
  1899. }
  1900. }
  1901. }
  1902. },
  1903. "/User/QueryUserInfo": {
  1904. "get": {
  1905. "security": [
  1906. {
  1907. "ApiKeyAuth": []
  1908. }
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "用户信息"
  1915. ],
  1916. "summary": "获取用户信息",
  1917. "parameters": [
  1918. {
  1919. "type": "integer",
  1920. "description": "用户ID",
  1921. "name": "userID",
  1922. "in": "query",
  1923. "required": true
  1924. }
  1925. ],
  1926. "responses": {
  1927. "200": {
  1928. "description": "OK",
  1929. "schema": {
  1930. "$ref": "#/definitions/models.Userinfo"
  1931. }
  1932. },
  1933. "500": {
  1934. "description": "Internal Server Error",
  1935. "schema": {
  1936. "$ref": "#/definitions/app.Response"
  1937. }
  1938. }
  1939. }
  1940. }
  1941. },
  1942. "/User/QueryUserReferNum": {
  1943. "get": {
  1944. "produces": [
  1945. "application/json"
  1946. ],
  1947. "tags": [
  1948. "用户信息"
  1949. ],
  1950. "summary": "获取用户邀请码",
  1951. "parameters": [
  1952. {
  1953. "type": "integer",
  1954. "description": "用户ID",
  1955. "name": "userID",
  1956. "in": "query",
  1957. "required": true
  1958. }
  1959. ],
  1960. "responses": {
  1961. "200": {
  1962. "description": "OK",
  1963. "schema": {
  1964. "$ref": "#/definitions/app.Response"
  1965. }
  1966. },
  1967. "500": {
  1968. "description": "Internal Server Error",
  1969. "schema": {
  1970. "$ref": "#/definitions/app.Response"
  1971. }
  1972. }
  1973. }
  1974. }
  1975. },
  1976. "/WRTrade/GetAllDeliveryGoods": {
  1977. "get": {
  1978. "security": [
  1979. {
  1980. "ApiKeyAuth": []
  1981. }
  1982. ],
  1983. "produces": [
  1984. "application/json"
  1985. ],
  1986. "tags": [
  1987. "仓单贸易"
  1988. ],
  1989. "summary": "获取带仓单分类的种类信息",
  1990. "responses": {
  1991. "200": {
  1992. "description": "OK",
  1993. "schema": {
  1994. "$ref": "#/definitions/app.Response"
  1995. }
  1996. },
  1997. "500": {
  1998. "description": "Internal Server Error",
  1999. "schema": {
  2000. "$ref": "#/definitions/app.Response"
  2001. }
  2002. }
  2003. }
  2004. }
  2005. }
  2006. },
  2007. "definitions": {
  2008. "app.Response": {
  2009. "type": "object",
  2010. "properties": {
  2011. "code": {
  2012. "type": "integer"
  2013. },
  2014. "data": {
  2015. "type": "object"
  2016. },
  2017. "msg": {
  2018. "type": "string"
  2019. },
  2020. "page": {
  2021. "description": "页码",
  2022. "type": "integer"
  2023. },
  2024. "pagesize": {
  2025. "description": "每页条数",
  2026. "type": "integer"
  2027. },
  2028. "total": {
  2029. "description": "总条数",
  2030. "type": "integer"
  2031. }
  2032. }
  2033. },
  2034. "common.QueryNoticeRsp": {
  2035. "type": "object",
  2036. "required": [
  2037. "autoid"
  2038. ],
  2039. "properties": {
  2040. "auditoruserid": {
  2041. "description": "审核人",
  2042. "type": "integer"
  2043. },
  2044. "auditremark": {
  2045. "description": "审核备注",
  2046. "type": "string"
  2047. },
  2048. "audittime": {
  2049. "description": "审核日期",
  2050. "type": "string"
  2051. },
  2052. "autoid": {
  2053. "description": "自增ID",
  2054. "type": "integer"
  2055. },
  2056. "content": {
  2057. "description": "内容",
  2058. "type": "string"
  2059. },
  2060. "createtime": {
  2061. "description": "创建时间",
  2062. "type": "string"
  2063. },
  2064. "creatorid": {
  2065. "description": "建仓人",
  2066. "type": "integer"
  2067. },
  2068. "endtime": {
  2069. "description": "结束时间",
  2070. "type": "string"
  2071. },
  2072. "istop": {
  2073. "description": "是否置顶 - 0:不置顶 1:置顶",
  2074. "type": "integer"
  2075. },
  2076. "msgtype": {
  2077. "description": "消息类型 - 1:公告通知 2:系统消息",
  2078. "type": "integer"
  2079. },
  2080. "publisher": {
  2081. "description": "消息发布者",
  2082. "type": "string"
  2083. },
  2084. "readed": {
  2085. "description": "是否已读",
  2086. "type": "boolean"
  2087. },
  2088. "scheduletime": {
  2089. "description": "计划发送时间",
  2090. "type": "string"
  2091. },
  2092. "sendtype": {
  2093. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  2094. "type": "integer"
  2095. },
  2096. "sentstatus": {
  2097. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  2098. "type": "integer"
  2099. },
  2100. "title": {
  2101. "description": "标题",
  2102. "type": "string"
  2103. },
  2104. "userid": {
  2105. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  2106. "type": "integer"
  2107. }
  2108. }
  2109. },
  2110. "common.QueryProvincesAndCitiesRsp": {
  2111. "type": "object",
  2112. "properties": {
  2113. "cities": {
  2114. "description": "市",
  2115. "type": "array",
  2116. "items": {
  2117. "$ref": "#/definitions/models.Division"
  2118. }
  2119. },
  2120. "province": {
  2121. "description": "省",
  2122. "$ref": "#/definitions/models.Division"
  2123. }
  2124. }
  2125. },
  2126. "common.QueryTableDefineRsp": {
  2127. "type": "object",
  2128. "required": [
  2129. "tablekey"
  2130. ],
  2131. "properties": {
  2132. "columns": {
  2133. "description": "列头信息数组",
  2134. "type": "array",
  2135. "items": {
  2136. "$ref": "#/definitions/models.Tablecolumnconfig"
  2137. }
  2138. },
  2139. "remark": {
  2140. "description": "Remark",
  2141. "type": "string"
  2142. },
  2143. "tabelmenu": {
  2144. "description": "列表菜单",
  2145. "type": "string"
  2146. },
  2147. "tablekey": {
  2148. "description": "列表Key",
  2149. "type": "string"
  2150. },
  2151. "tablename": {
  2152. "description": "列表名称",
  2153. "type": "string"
  2154. },
  2155. "tabletype": {
  2156. "description": "列表类型 - 1:管理端 2:终端",
  2157. "type": "integer"
  2158. }
  2159. }
  2160. },
  2161. "common.QueryTraderMenuRsp": {
  2162. "type": "object",
  2163. "properties": {
  2164. "OperationMenu": {
  2165. "description": "功能菜单",
  2166. "type": "array",
  2167. "items": {
  2168. "$ref": "#/definitions/models.OperationPrimaryMenu"
  2169. }
  2170. },
  2171. "QuoteMenu": {
  2172. "description": "报价牌分类菜单",
  2173. "type": "array",
  2174. "items": {
  2175. "$ref": "#/definitions/models.QuotePrimaryMenu"
  2176. }
  2177. }
  2178. }
  2179. },
  2180. "cptrade.Cptradepositioncancel": {
  2181. "type": "object",
  2182. "required": [
  2183. "cancelid"
  2184. ],
  2185. "properties": {
  2186. "accountid": {
  2187. "description": "申请人账户ID",
  2188. "type": "integer"
  2189. },
  2190. "applystatus": {
  2191. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  2192. "type": "integer"
  2193. },
  2194. "applytime": {
  2195. "description": "申请时间",
  2196. "type": "string"
  2197. },
  2198. "cancelid": {
  2199. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  2200. "type": "integer"
  2201. },
  2202. "cancelqty": {
  2203. "description": "注销数量",
  2204. "type": "integer"
  2205. },
  2206. "createtime": {
  2207. "description": "创建时间",
  2208. "type": "string"
  2209. },
  2210. "creatorid": {
  2211. "description": "创建人ID",
  2212. "type": "integer"
  2213. },
  2214. "creatorname": {
  2215. "description": "创建人",
  2216. "type": "string"
  2217. },
  2218. "goodscode": {
  2219. "description": "订单商品代码",
  2220. "type": "string"
  2221. },
  2222. "goodsid": {
  2223. "description": "商品ID",
  2224. "type": "integer"
  2225. },
  2226. "goodsname": {
  2227. "description": "订单商品名称",
  2228. "type": "string"
  2229. },
  2230. "goodunit": {
  2231. "description": "报价单位",
  2232. "type": "string"
  2233. },
  2234. "handlestatus": {
  2235. "description": "处理状态",
  2236. "type": "integer"
  2237. },
  2238. "marketid": {
  2239. "description": "市场ID",
  2240. "type": "integer"
  2241. },
  2242. "marketname": {
  2243. "description": "市场名称",
  2244. "type": "string"
  2245. },
  2246. "tradedate": {
  2247. "description": "交易日(yyyyMMdd)",
  2248. "type": "string"
  2249. },
  2250. "userid": {
  2251. "description": "申请人ID",
  2252. "type": "integer"
  2253. }
  2254. }
  2255. },
  2256. "cptrade.Cptradepresaleapply": {
  2257. "type": "object",
  2258. "required": [
  2259. "applyid"
  2260. ],
  2261. "properties": {
  2262. "accountid": {
  2263. "description": "申请人账户ID",
  2264. "type": "integer"
  2265. },
  2266. "applyid": {
  2267. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  2268. "type": "integer"
  2269. },
  2270. "applyremark": {
  2271. "description": "申请备注",
  2272. "type": "string"
  2273. },
  2274. "applystatus": {
  2275. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  2276. "type": "integer"
  2277. },
  2278. "applytime": {
  2279. "description": "申请时间",
  2280. "type": "string"
  2281. },
  2282. "attachmenturl": {
  2283. "description": "附件地址",
  2284. "type": "string"
  2285. },
  2286. "endtime": {
  2287. "description": "预售结束时间",
  2288. "type": "string"
  2289. },
  2290. "goodscode": {
  2291. "description": "商品代码",
  2292. "type": "string"
  2293. },
  2294. "goodsid": {
  2295. "description": "商品ID",
  2296. "type": "integer"
  2297. },
  2298. "goodsname": {
  2299. "description": "商品名称",
  2300. "type": "string"
  2301. },
  2302. "goodunit": {
  2303. "description": "报价单位",
  2304. "type": "string"
  2305. },
  2306. "handlestatus": {
  2307. "description": "处理状态",
  2308. "type": "integer"
  2309. },
  2310. "marketid": {
  2311. "description": "预售市场ID",
  2312. "type": "integer"
  2313. },
  2314. "marketname": {
  2315. "description": "预售市场名称",
  2316. "type": "string"
  2317. },
  2318. "presaleqty": {
  2319. "description": "预售数量",
  2320. "type": "integer"
  2321. },
  2322. "relatedgoodscode": {
  2323. "description": "关联交易合约代码",
  2324. "type": "string"
  2325. },
  2326. "relatedgoodsid": {
  2327. "description": "关联交易合约ID",
  2328. "type": "integer"
  2329. },
  2330. "relatedgoodsname": {
  2331. "description": "关联交易合约名称",
  2332. "type": "string"
  2333. },
  2334. "starttime": {
  2335. "description": "预售开始时间",
  2336. "type": "string"
  2337. },
  2338. "tradedate": {
  2339. "description": "交易日(yyyyMMdd)",
  2340. "type": "string"
  2341. },
  2342. "trademode": {
  2343. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  2344. "type": "integer"
  2345. },
  2346. "userid": {
  2347. "description": "申请人ID",
  2348. "type": "integer"
  2349. }
  2350. }
  2351. },
  2352. "cptrade.Cptradeusergoodsdata": {
  2353. "type": "object",
  2354. "required": [
  2355. "accountid",
  2356. "goodsid"
  2357. ],
  2358. "properties": {
  2359. "EnabledQty": {
  2360. "description": "可用量",
  2361. "type": "integer"
  2362. },
  2363. "GoodsCode": {
  2364. "description": "订单商品代码",
  2365. "type": "string"
  2366. },
  2367. "GoodsName": {
  2368. "description": "订单商品名称",
  2369. "type": "string"
  2370. },
  2371. "WRStandardCode": {
  2372. "description": "仓单标准代码",
  2373. "type": "string"
  2374. },
  2375. "WRStandardName": {
  2376. "description": "仓单标准名称",
  2377. "type": "string"
  2378. },
  2379. "accountid": {
  2380. "description": "账户ID",
  2381. "type": "integer"
  2382. },
  2383. "cancelqty": {
  2384. "description": "注销量",
  2385. "type": "integer"
  2386. },
  2387. "curpresaleqty": {
  2388. "description": "当前预售量",
  2389. "type": "integer"
  2390. },
  2391. "deliveryqty": {
  2392. "description": "交割量",
  2393. "type": "integer"
  2394. },
  2395. "freezeamount": {
  2396. "description": "冻结金额",
  2397. "type": "number"
  2398. },
  2399. "goodsid": {
  2400. "description": "商品ID",
  2401. "type": "integer"
  2402. },
  2403. "goodunit": {
  2404. "description": "报价单位",
  2405. "type": "string"
  2406. },
  2407. "hasspotfreeze": {
  2408. "description": "是否有现货冻结 - 0:否 1:有",
  2409. "type": "integer"
  2410. },
  2411. "inqty": {
  2412. "description": "转入量(总数量)",
  2413. "type": "integer"
  2414. },
  2415. "marketid": {
  2416. "description": "市场ID",
  2417. "type": "integer"
  2418. },
  2419. "presaledamount": {
  2420. "description": "已预售总金额",
  2421. "type": "integer"
  2422. },
  2423. "presaledqty": {
  2424. "description": "已预售量",
  2425. "type": "integer"
  2426. },
  2427. "userid": {
  2428. "description": "用户ID",
  2429. "type": "integer"
  2430. },
  2431. "wrstandardid": {
  2432. "description": "仓单标准ID",
  2433. "type": "integer"
  2434. }
  2435. }
  2436. },
  2437. "cptrade.QueryCPTradeMyBidRsp": {
  2438. "type": "object",
  2439. "required": [
  2440. "accountid",
  2441. "goodsid",
  2442. "marketid",
  2443. "orderid",
  2444. "orderqty",
  2445. "ordertime",
  2446. "tradeprice",
  2447. "tradeqty"
  2448. ],
  2449. "properties": {
  2450. "accountid": {
  2451. "description": "账户ID[报价币种]",
  2452. "type": "integer"
  2453. },
  2454. "goodsid": {
  2455. "description": "商品ID",
  2456. "type": "integer"
  2457. },
  2458. "goodunit": {
  2459. "description": "报价单位",
  2460. "type": "string"
  2461. },
  2462. "marketid": {
  2463. "description": "市场ID",
  2464. "type": "integer"
  2465. },
  2466. "orderid": {
  2467. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  2468. "type": "integer"
  2469. },
  2470. "orderprice": {
  2471. "description": "委托价格",
  2472. "type": "number"
  2473. },
  2474. "orderqty": {
  2475. "description": "委托数量",
  2476. "type": "integer"
  2477. },
  2478. "ordertime": {
  2479. "description": "委托时间",
  2480. "type": "string"
  2481. },
  2482. "ordertotalprice": {
  2483. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  2484. "type": "number"
  2485. },
  2486. "ordertotalweight": {
  2487. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  2488. "type": "integer"
  2489. },
  2490. "totaltotalprice": {
  2491. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  2492. "type": "number"
  2493. },
  2494. "tradeprice": {
  2495. "description": "成交价格",
  2496. "type": "number"
  2497. },
  2498. "tradeqty": {
  2499. "description": "成交数量",
  2500. "type": "integer"
  2501. }
  2502. }
  2503. },
  2504. "cptrade.QueryCPTradeOrderDetailRsq": {
  2505. "type": "object",
  2506. "required": [
  2507. "accountid",
  2508. "buildtype",
  2509. "buyorsell",
  2510. "goodsid",
  2511. "marketid",
  2512. "memberuserid",
  2513. "operatetype",
  2514. "orderqty",
  2515. "ordertime",
  2516. "pricemode",
  2517. "strorderid",
  2518. "tradedate",
  2519. "validtype"
  2520. ],
  2521. "properties": {
  2522. "accountid": {
  2523. "description": "账户ID[报价币种]",
  2524. "type": "integer"
  2525. },
  2526. "buildtype": {
  2527. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  2528. "type": "integer"
  2529. },
  2530. "buyorsell": {
  2531. "description": "买卖 - 0:买 1:卖",
  2532. "type": "integer"
  2533. },
  2534. "cancelorderid": {
  2535. "description": "撤单单号(撤单时填写)",
  2536. "type": "integer"
  2537. },
  2538. "cancelqty": {
  2539. "description": "撤单数量",
  2540. "type": "integer"
  2541. },
  2542. "clientordertime": {
  2543. "description": "客户端委托时间",
  2544. "type": "string"
  2545. },
  2546. "clientticket": {
  2547. "description": "客户端流水号",
  2548. "type": "string"
  2549. },
  2550. "clienttype": {
  2551. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  2552. "type": "integer"
  2553. },
  2554. "closeexchagechargevalue": {
  2555. "description": "平仓交易所手续费设置值",
  2556. "type": "number"
  2557. },
  2558. "closefeealgorithm": {
  2559. "description": "平仓手续费收取方式 1:比率 2:固定",
  2560. "type": "integer"
  2561. },
  2562. "closefreezecharge": {
  2563. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  2564. "type": "number"
  2565. },
  2566. "closememberchargevalue": {
  2567. "description": "平仓会员手续费设置值",
  2568. "type": "number"
  2569. },
  2570. "closeqty": {
  2571. "description": "平仓数量(先建后平操作 需要记录)",
  2572. "type": "integer"
  2573. },
  2574. "closetradeqty": {
  2575. "description": "平仓成交数量(先建后平操作,需要记录)",
  2576. "type": "integer"
  2577. },
  2578. "closeunfreezecharge": {
  2579. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  2580. "type": "number"
  2581. },
  2582. "delistingtype": {
  2583. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  2584. "type": "integer"
  2585. },
  2586. "freezecharge": {
  2587. "description": "冻结手续费",
  2588. "type": "number"
  2589. },
  2590. "freezemargin": {
  2591. "description": "冻结保证金(冻结交易金额)",
  2592. "type": "number"
  2593. },
  2594. "gcaccountid": {
  2595. "description": "账户ID[合约币种]",
  2596. "type": "integer"
  2597. },
  2598. "goodsid": {
  2599. "description": "商品ID",
  2600. "type": "integer"
  2601. },
  2602. "isconfirmexercise": {
  2603. "description": "是否确认行权- 0:否 1:是",
  2604. "type": "integer"
  2605. },
  2606. "ispreexercise": {
  2607. "description": "是否预申报- 0:否 1:是",
  2608. "type": "integer"
  2609. },
  2610. "listingselecttype": {
  2611. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  2612. "type": "integer"
  2613. },
  2614. "marginalgorithm": {
  2615. "description": "保证金收取方式 1:比率 2:固定",
  2616. "type": "integer"
  2617. },
  2618. "marginvalue": {
  2619. "description": "即市保证金设置值",
  2620. "type": "number"
  2621. },
  2622. "marketid": {
  2623. "description": "市场ID",
  2624. "type": "integer"
  2625. },
  2626. "marketmaxsub": {
  2627. "description": "市价最大偏移范围",
  2628. "type": "number"
  2629. },
  2630. "memberuserid": {
  2631. "description": "所属会员UserID",
  2632. "type": "integer"
  2633. },
  2634. "openexchagechargevalue": {
  2635. "description": "建仓交易所手续费设置值",
  2636. "type": "number"
  2637. },
  2638. "openfeealgorithm": {
  2639. "description": "建仓手续费收取方式 1:比率 2:固定",
  2640. "type": "integer"
  2641. },
  2642. "openfreezecharge": {
  2643. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  2644. "type": "number"
  2645. },
  2646. "openmemberchargevalue": {
  2647. "description": "建仓会员手续费设置值",
  2648. "type": "number"
  2649. },
  2650. "openqty": {
  2651. "description": "开仓数量(先建后平操作,需要记录)",
  2652. "type": "integer"
  2653. },
  2654. "opentradeqty": {
  2655. "description": "开仓成交数量(先建后平操作,需要记录)",
  2656. "type": "integer"
  2657. },
  2658. "openunfreezecharge": {
  2659. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  2660. "type": "number"
  2661. },
  2662. "operatetype": {
  2663. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  2664. "type": "integer"
  2665. },
  2666. "operatorid": {
  2667. "description": "登录账号(LoginID)",
  2668. "type": "integer"
  2669. },
  2670. "optiontype": {
  2671. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  2672. "type": "integer"
  2673. },
  2674. "orderprice": {
  2675. "description": "委托价格",
  2676. "type": "number"
  2677. },
  2678. "orderqty": {
  2679. "description": "委托数量",
  2680. "type": "integer"
  2681. },
  2682. "ordersrc": {
  2683. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  2684. "type": "integer"
  2685. },
  2686. "orderstatus": {
  2687. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  2688. "type": "integer"
  2689. },
  2690. "ordertime": {
  2691. "description": "委托时间",
  2692. "type": "string"
  2693. },
  2694. "preexerciseprice": {
  2695. "description": "预申报价格",
  2696. "type": "number"
  2697. },
  2698. "premium": {
  2699. "description": "权利金",
  2700. "type": "number"
  2701. },
  2702. "preorderid": {
  2703. "description": "关联预埋单号(止盈止损单时填写)",
  2704. "type": "integer"
  2705. },
  2706. "pricemode": {
  2707. "description": "取价方式 - 1:市价 2: 限价",
  2708. "type": "integer"
  2709. },
  2710. "quoteid": {
  2711. "description": "报价单ID",
  2712. "type": "integer"
  2713. },
  2714. "relatedid": {
  2715. "description": "关联单号(交割单)",
  2716. "type": "integer"
  2717. },
  2718. "retcode": {
  2719. "description": "错误代码",
  2720. "type": "integer"
  2721. },
  2722. "sessionid": {
  2723. "description": "会话ID",
  2724. "type": "integer"
  2725. },
  2726. "strorderid": {
  2727. "description": "委托单号",
  2728. "type": "string"
  2729. },
  2730. "tradedate": {
  2731. "description": "交易日(yyyyMMdd)",
  2732. "type": "string"
  2733. },
  2734. "tradeproperty": {
  2735. "description": "交易属性",
  2736. "type": "integer"
  2737. },
  2738. "tradeqty": {
  2739. "description": "成交数量",
  2740. "type": "integer"
  2741. },
  2742. "unfreezecharge": {
  2743. "description": "解冻手续费",
  2744. "type": "number"
  2745. },
  2746. "unfreezemargin": {
  2747. "description": "解冻保证金",
  2748. "type": "number"
  2749. },
  2750. "updatetime": {
  2751. "description": "更新时间",
  2752. "type": "string"
  2753. },
  2754. "uuid": {
  2755. "description": "发起端唯一id",
  2756. "type": "string"
  2757. },
  2758. "validtime": {
  2759. "description": "有效期限",
  2760. "type": "string"
  2761. },
  2762. "validtype": {
  2763. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  2764. "type": "integer"
  2765. },
  2766. "volumetype": {
  2767. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  2768. "type": "integer"
  2769. }
  2770. }
  2771. },
  2772. "cptrade.QueryMyCPTradeGoodsRsp": {
  2773. "type": "object",
  2774. "required": [
  2775. "goodscode",
  2776. "goodsid",
  2777. "goodsname",
  2778. "marketid",
  2779. "relatedgoodscode",
  2780. "relatedgoodsname"
  2781. ],
  2782. "properties": {
  2783. "accountid": {
  2784. "description": "卖方账户ID",
  2785. "type": "integer"
  2786. },
  2787. "agreeunit": {
  2788. "description": "合约单位",
  2789. "type": "number"
  2790. },
  2791. "applyid": {
  2792. "description": "关联申请ID",
  2793. "type": "integer"
  2794. },
  2795. "attachmenturl": {
  2796. "description": "附件地址",
  2797. "type": "string"
  2798. },
  2799. "createtime": {
  2800. "description": "创建时间",
  2801. "type": "string"
  2802. },
  2803. "currencyid": {
  2804. "description": "报价货币ID",
  2805. "type": "integer"
  2806. },
  2807. "decimalplace": {
  2808. "description": "报价小数位",
  2809. "type": "integer"
  2810. },
  2811. "endtime": {
  2812. "description": "预售结束时间",
  2813. "type": "string"
  2814. },
  2815. "floorprice": {
  2816. "description": "底价[大宗式竞拍]",
  2817. "type": "number"
  2818. },
  2819. "goodscode": {
  2820. "description": "商品代码(预售)",
  2821. "type": "string"
  2822. },
  2823. "goodsdetail": {
  2824. "description": "详情[大宗]",
  2825. "type": "string"
  2826. },
  2827. "goodsid": {
  2828. "description": "商品ID(自增ID SEQ_GOODS)",
  2829. "type": "integer"
  2830. },
  2831. "goodsname": {
  2832. "description": "商品名称(预售)",
  2833. "type": "string"
  2834. },
  2835. "goodunit": {
  2836. "description": "报价单位",
  2837. "type": "string"
  2838. },
  2839. "goodunitid": {
  2840. "description": "报价单位ID",
  2841. "type": "integer"
  2842. },
  2843. "marketid": {
  2844. "description": "所属市场ID",
  2845. "type": "integer"
  2846. },
  2847. "marketname": {
  2848. "description": "预售市场名称",
  2849. "type": "string"
  2850. },
  2851. "presaledamount": {
  2852. "description": "已预售总金额(预售结束时更新)",
  2853. "type": "number"
  2854. },
  2855. "presaledqty": {
  2856. "description": "已预售量(预售结束时更新)",
  2857. "type": "integer"
  2858. },
  2859. "presalemode": {
  2860. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  2861. "type": "integer"
  2862. },
  2863. "presaleqty": {
  2864. "description": "预售数量",
  2865. "type": "integer"
  2866. },
  2867. "refprice": {
  2868. "description": "参考价格[一口价]",
  2869. "type": "number"
  2870. },
  2871. "relatedgoodscode": {
  2872. "description": "商品代码(订单)",
  2873. "type": "string"
  2874. },
  2875. "relatedgoodsid": {
  2876. "description": "关联交易合约ID",
  2877. "type": "integer"
  2878. },
  2879. "relatedgoodsname": {
  2880. "description": "商品名称(订单)",
  2881. "type": "string"
  2882. },
  2883. "relatedmarketid": {
  2884. "description": "关联交易合约市场ID",
  2885. "type": "integer"
  2886. },
  2887. "sellstatus": {
  2888. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  2889. "type": "integer"
  2890. },
  2891. "startprice": {
  2892. "description": "起拍价[大宗式竞拍]",
  2893. "type": "number"
  2894. },
  2895. "starttime": {
  2896. "description": "预售开始时间",
  2897. "type": "string"
  2898. },
  2899. "tradedate": {
  2900. "description": "交易日(yyyyMMdd)",
  2901. "type": "string"
  2902. },
  2903. "tradeprice": {
  2904. "description": "成交价[大宗]",
  2905. "type": "number"
  2906. },
  2907. "userid": {
  2908. "description": "卖方用户ID",
  2909. "type": "integer"
  2910. }
  2911. }
  2912. },
  2913. "cptrade.QueryPresaleGoodsExRsp": {
  2914. "type": "object",
  2915. "required": [
  2916. "goodsid"
  2917. ],
  2918. "properties": {
  2919. "attachmenturl": {
  2920. "description": "附件地址",
  2921. "type": "string"
  2922. },
  2923. "createtime": {
  2924. "description": "创建时间",
  2925. "type": "string"
  2926. },
  2927. "endtime": {
  2928. "description": "预售结束时间",
  2929. "type": "string"
  2930. },
  2931. "floorprice": {
  2932. "description": "底价[大宗式竞拍]",
  2933. "type": "number"
  2934. },
  2935. "goodsdetail": {
  2936. "description": "详情[大宗]",
  2937. "type": "string"
  2938. },
  2939. "goodsid": {
  2940. "description": "商品ID(预售)",
  2941. "type": "integer"
  2942. },
  2943. "goodunit": {
  2944. "description": "报价单位",
  2945. "type": "string"
  2946. },
  2947. "marketid": {
  2948. "description": "预售市场ID - 根据预售模式选择市场",
  2949. "type": "integer"
  2950. },
  2951. "presaledamount": {
  2952. "description": "已预售总金额(预售结束时更新)",
  2953. "type": "number"
  2954. },
  2955. "presaledqty": {
  2956. "description": "已预售量(预售结束时更新)",
  2957. "type": "integer"
  2958. },
  2959. "presalemode": {
  2960. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  2961. "type": "integer"
  2962. },
  2963. "presaleqty": {
  2964. "description": "预售数量",
  2965. "type": "integer"
  2966. },
  2967. "refprice": {
  2968. "description": "参考价格[一口价]",
  2969. "type": "number"
  2970. },
  2971. "relatedgoodsid": {
  2972. "description": "关联交易合约ID",
  2973. "type": "integer"
  2974. },
  2975. "relatedmarketid": {
  2976. "description": "关联交易合约市场ID",
  2977. "type": "integer"
  2978. },
  2979. "sellstatus": {
  2980. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  2981. "type": "integer"
  2982. },
  2983. "startprice": {
  2984. "description": "起拍价[大宗式竞拍]",
  2985. "type": "number"
  2986. },
  2987. "starttime": {
  2988. "description": "预售开始时间",
  2989. "type": "string"
  2990. },
  2991. "tradedate": {
  2992. "description": "交易日(yyyyMMdd)",
  2993. "type": "string"
  2994. },
  2995. "tradeprice": {
  2996. "description": "成交价[大宗]",
  2997. "type": "number"
  2998. }
  2999. }
  3000. },
  3001. "delivery.QueryDeliveryRelationRsp": {
  3002. "type": "object",
  3003. "required": [
  3004. "begindate",
  3005. "enddate",
  3006. "goodsid",
  3007. "mindeliveryqty",
  3008. "xdeliveryratio"
  3009. ],
  3010. "properties": {
  3011. "begindate": {
  3012. "description": "起始日期(yyyyMMdd)",
  3013. "type": "string"
  3014. },
  3015. "buytemplateid": {
  3016. "description": "买履约计划模板ID",
  3017. "type": "integer"
  3018. },
  3019. "deliverygoodscode": {
  3020. "description": "品种代码",
  3021. "type": "string"
  3022. },
  3023. "deliverygoodsid": {
  3024. "description": "交割商品",
  3025. "type": "integer"
  3026. },
  3027. "deliverygoodsname": {
  3028. "description": "品种名称",
  3029. "type": "string"
  3030. },
  3031. "deliverymode": {
  3032. "description": "交割方式 - 1:点选式 2:申报式",
  3033. "type": "integer"
  3034. },
  3035. "deliverypricerule": {
  3036. "description": "交割价规则- 1:行情价 2:建仓价",
  3037. "type": "integer"
  3038. },
  3039. "deliverytype": {
  3040. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  3041. "type": "integer"
  3042. },
  3043. "enddate": {
  3044. "description": "结束日期(yyyyMMdd)",
  3045. "type": "string"
  3046. },
  3047. "goodscode": {
  3048. "description": "商品代码",
  3049. "type": "string"
  3050. },
  3051. "goodsid": {
  3052. "description": "交易合约ID",
  3053. "type": "integer"
  3054. },
  3055. "goodsname": {
  3056. "description": "商品名称",
  3057. "type": "string"
  3058. },
  3059. "marketid": {
  3060. "description": "市场ID",
  3061. "type": "integer"
  3062. },
  3063. "mindeliveryqty": {
  3064. "description": "最小交割系数(K)",
  3065. "type": "integer"
  3066. },
  3067. "p2deliveryprice": {
  3068. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  3069. "type": "number"
  3070. },
  3071. "p2deliveryratio": {
  3072. "description": "P2合约系数(p)",
  3073. "type": "integer"
  3074. },
  3075. "p2goodsid": {
  3076. "description": "P2合约ID",
  3077. "type": "integer"
  3078. },
  3079. "p2pricemode": {
  3080. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  3081. "type": "integer"
  3082. },
  3083. "pdeliveryprice": {
  3084. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  3085. "type": "number"
  3086. },
  3087. "pdeliveryratio": {
  3088. "description": "P合约系数(n)",
  3089. "type": "integer"
  3090. },
  3091. "pgoodsid": {
  3092. "description": "P合约ID",
  3093. "type": "integer"
  3094. },
  3095. "ppricemode": {
  3096. "description": "P合约价格方式 - 1:商品价 2:固定值",
  3097. "type": "integer"
  3098. },
  3099. "rratio": {
  3100. "description": "兑换系数(R)",
  3101. "type": "integer"
  3102. },
  3103. "rratio1": {
  3104. "description": "兑换系数(交易合约)(R1)",
  3105. "type": "integer"
  3106. },
  3107. "rratio2": {
  3108. "description": "兑换系数(仓单标准)(R2)",
  3109. "type": "integer"
  3110. },
  3111. "selltemplateid": {
  3112. "description": "卖履约计划模板ID",
  3113. "type": "integer"
  3114. },
  3115. "wrstandardid": {
  3116. "description": "仓单标准ID",
  3117. "type": "integer"
  3118. },
  3119. "xdeliveryratio": {
  3120. "description": "交易合约系数(m)",
  3121. "type": "integer"
  3122. }
  3123. }
  3124. },
  3125. "erms2.QueryArbitrageStrategyRsp": {
  3126. "type": "object",
  3127. "required": [
  3128. "asapplyid"
  3129. ],
  3130. "properties": {
  3131. "applybasis": {
  3132. "description": "申请基差",
  3133. "type": "number"
  3134. },
  3135. "asapplyid": {
  3136. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  3137. "type": "string"
  3138. },
  3139. "asname": {
  3140. "description": "策略名称",
  3141. "type": "string"
  3142. },
  3143. "asno": {
  3144. "description": "策略编号",
  3145. "type": "string"
  3146. },
  3147. "basischangepl": {
  3148. "description": "基差变动损益[结算更新]",
  3149. "type": "number"
  3150. },
  3151. "biztype": {
  3152. "description": "业务类型 - 1:正向套利 -1:反向套利",
  3153. "type": "integer"
  3154. },
  3155. "closetradedate": {
  3156. "description": "完结交易日(yyyyMMdd)",
  3157. "type": "string"
  3158. },
  3159. "curbasis": {
  3160. "description": "当前基差[结算更新]",
  3161. "type": "number"
  3162. },
  3163. "deliverygoodsid": {
  3164. "description": "现货品种ID",
  3165. "type": "integer"
  3166. },
  3167. "futureavgprice": {
  3168. "description": "期货建仓均价",
  3169. "type": "number"
  3170. },
  3171. "futurecloseamount": {
  3172. "description": "期货平仓金额",
  3173. "type": "number"
  3174. },
  3175. "futurecloseqty": {
  3176. "description": "期货平仓数量",
  3177. "type": "number"
  3178. },
  3179. "futureopenamount": {
  3180. "description": "期货开仓金额",
  3181. "type": "number"
  3182. },
  3183. "futureopenqty": {
  3184. "description": "期货开仓数量",
  3185. "type": "number"
  3186. },
  3187. "futurepl": {
  3188. "description": "期货总盈亏[结算更新]",
  3189. "type": "number"
  3190. },
  3191. "futureqty": {
  3192. "description": "期货持仓数量",
  3193. "type": "number"
  3194. },
  3195. "futurequote": {
  3196. "description": "期货额度",
  3197. "type": "number"
  3198. },
  3199. "goodsgroupid": {
  3200. "description": "期货品种ID",
  3201. "type": "integer"
  3202. },
  3203. "marketid": {
  3204. "description": "市场ID",
  3205. "type": "integer"
  3206. },
  3207. "netexposure": {
  3208. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  3209. "type": "number"
  3210. },
  3211. "netexposurepl": {
  3212. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  3213. "type": "number"
  3214. },
  3215. "netexposurerate": {
  3216. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  3217. "type": "number"
  3218. },
  3219. "openbasis": {
  3220. "description": "建仓基差",
  3221. "type": "number"
  3222. },
  3223. "pricedspotqty": {
  3224. "description": "已定价现货数量",
  3225. "type": "number"
  3226. },
  3227. "pricedspotqtynotax": {
  3228. "description": "已定价现货不含税数量",
  3229. "type": "number"
  3230. },
  3231. "remark": {
  3232. "description": "备注",
  3233. "type": "string"
  3234. },
  3235. "spotavgprice": {
  3236. "description": "现货均价",
  3237. "type": "number"
  3238. },
  3239. "spotbuyamount": {
  3240. "description": "现货采购金额",
  3241. "type": "number"
  3242. },
  3243. "spotbuyqty": {
  3244. "description": "现货采购数量",
  3245. "type": "number"
  3246. },
  3247. "spotpl": {
  3248. "description": "现货总盈亏[结算更新]",
  3249. "type": "number"
  3250. },
  3251. "spotquota": {
  3252. "description": "现货额度",
  3253. "type": "number"
  3254. },
  3255. "spotsellamount": {
  3256. "description": "现货销售金额",
  3257. "type": "number"
  3258. },
  3259. "spotsellqty": {
  3260. "description": "现货销售数量",
  3261. "type": "number"
  3262. },
  3263. "spotusedquota": {
  3264. "description": "现货占用资金",
  3265. "type": "number"
  3266. },
  3267. "strategystatus": {
  3268. "description": "策略状态 - 0:未结束 1:已结束",
  3269. "type": "integer"
  3270. },
  3271. "totalpl": {
  3272. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  3273. "type": "number"
  3274. },
  3275. "tradedate": {
  3276. "description": "交易日(yyyyMMdd)",
  3277. "type": "string"
  3278. },
  3279. "updatetime": {
  3280. "description": "更新时间",
  3281. "type": "string"
  3282. },
  3283. "usedquota": {
  3284. "description": "已占用资金",
  3285. "type": "number"
  3286. },
  3287. "userid": {
  3288. "description": "所属机构",
  3289. "type": "integer"
  3290. }
  3291. }
  3292. },
  3293. "erms2.QueryInnerTradeDetailRsp": {
  3294. "type": "object",
  3295. "required": [
  3296. "asapplyid",
  3297. "buyorsell",
  3298. "goodscode",
  3299. "goodsgroupid",
  3300. "goodsgroupname",
  3301. "goodsname",
  3302. "tradeid"
  3303. ],
  3304. "properties": {
  3305. "accountid": {
  3306. "description": "账号ID",
  3307. "type": "integer"
  3308. },
  3309. "agreeunit": {
  3310. "description": "合约单位",
  3311. "type": "number"
  3312. },
  3313. "asapplyid": {
  3314. "description": "策略申请ID",
  3315. "type": "integer"
  3316. },
  3317. "asname": {
  3318. "description": "策略名称",
  3319. "type": "string"
  3320. },
  3321. "asno": {
  3322. "description": "策略编号",
  3323. "type": "string"
  3324. },
  3325. "buyorsell": {
  3326. "description": "方向 - 0:买 1:卖",
  3327. "type": "integer"
  3328. },
  3329. "channelbuildtype": {
  3330. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  3331. "type": "integer"
  3332. },
  3333. "closetype": {
  3334. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  3335. "type": "integer"
  3336. },
  3337. "decimalplace": {
  3338. "description": "报价小数位",
  3339. "type": "integer"
  3340. },
  3341. "detailtype": {
  3342. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  3343. "type": "integer"
  3344. },
  3345. "exexchangecode": {
  3346. "description": "外部交易所代码",
  3347. "type": "string"
  3348. },
  3349. "exexchangename": {
  3350. "description": "外部交易所名称",
  3351. "type": "string"
  3352. },
  3353. "goodscode": {
  3354. "description": "商品代码(合约)",
  3355. "type": "string"
  3356. },
  3357. "goodsgroupid": {
  3358. "description": "商品组ID(品种ID)",
  3359. "type": "integer"
  3360. },
  3361. "goodsgroupname": {
  3362. "description": "商品组名称(品种)",
  3363. "type": "string"
  3364. },
  3365. "goodsid": {
  3366. "description": "商品ID",
  3367. "type": "integer"
  3368. },
  3369. "goodsname": {
  3370. "description": "商品名称(合约)",
  3371. "type": "string"
  3372. },
  3373. "goodunit": {
  3374. "description": "报价单位",
  3375. "type": "string"
  3376. },
  3377. "marketid": {
  3378. "description": "市场ID",
  3379. "type": "integer"
  3380. },
  3381. "orderid": {
  3382. "description": "委托单号",
  3383. "type": "string"
  3384. },
  3385. "outgoodscode": {
  3386. "description": "商品代码(外部)",
  3387. "type": "string"
  3388. },
  3389. "relatedouttradeid": {
  3390. "description": "关联外部成交单ID",
  3391. "type": "string"
  3392. },
  3393. "remark": {
  3394. "description": "备注",
  3395. "type": "string"
  3396. },
  3397. "spotcontractid": {
  3398. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  3399. "type": "integer"
  3400. },
  3401. "spotcontractno": {
  3402. "description": "现货合同编号",
  3403. "type": "string"
  3404. },
  3405. "tradeid": {
  3406. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3407. "type": "string"
  3408. },
  3409. "tradeprice": {
  3410. "description": "成交价格",
  3411. "type": "number"
  3412. },
  3413. "tradeqty": {
  3414. "description": "成交数量",
  3415. "type": "integer"
  3416. },
  3417. "tradetime": {
  3418. "description": "成交时间",
  3419. "type": "string"
  3420. },
  3421. "updatetime": {
  3422. "description": "更新时间",
  3423. "type": "string"
  3424. }
  3425. }
  3426. },
  3427. "erms2.QuerySpotContractRsp": {
  3428. "type": "object",
  3429. "required": [
  3430. "spotcontractid"
  3431. ],
  3432. "properties": {
  3433. "accountid": {
  3434. "description": "资金账户ID",
  3435. "type": "integer"
  3436. },
  3437. "areauserid": {
  3438. "description": "所属机构",
  3439. "type": "integer"
  3440. },
  3441. "closedate": {
  3442. "description": "终止日期",
  3443. "type": "string"
  3444. },
  3445. "closeremark": {
  3446. "description": "结束备注",
  3447. "type": "string"
  3448. },
  3449. "closetradedate": {
  3450. "description": "完结交易日(yyyyMMdd)",
  3451. "type": "string"
  3452. },
  3453. "closetype": {
  3454. "description": "终止类型 - 1:违约 2:提前终止",
  3455. "type": "integer"
  3456. },
  3457. "contractamount": {
  3458. "description": "合同金额",
  3459. "type": "number"
  3460. },
  3461. "contractattachment": {
  3462. "description": "合同附件",
  3463. "type": "string"
  3464. },
  3465. "contractno": {
  3466. "description": "现货合同编号",
  3467. "type": "string"
  3468. },
  3469. "contractqty": {
  3470. "description": "合同数量(数值) (用于计算)",
  3471. "type": "number"
  3472. },
  3473. "contractqtychar": {
  3474. "description": "合同数量\\已订价数量 (用于显示)",
  3475. "type": "string"
  3476. },
  3477. "contractstatus": {
  3478. "description": "合同状态 - 0:未结束 1:已结束",
  3479. "type": "integer"
  3480. },
  3481. "contracttype": {
  3482. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  3483. "type": "integer"
  3484. },
  3485. "customeraccountid": {
  3486. "description": "客户资金账户ID",
  3487. "type": "integer"
  3488. },
  3489. "customeruserid": {
  3490. "description": "客户ID",
  3491. "type": "integer"
  3492. },
  3493. "deliverygoodsdesc": {
  3494. "description": "品种说明",
  3495. "type": "string"
  3496. },
  3497. "deliverygoodsid": {
  3498. "description": "现货品种ID",
  3499. "type": "integer"
  3500. },
  3501. "handlestatus": {
  3502. "description": "处理状态",
  3503. "type": "integer"
  3504. },
  3505. "invoiceatt": {
  3506. "description": "发票附件",
  3507. "type": "string"
  3508. },
  3509. "invoicedatetime": {
  3510. "description": "开收票更新时间",
  3511. "type": "string"
  3512. },
  3513. "invoiceopentime": {
  3514. "description": "开票时间",
  3515. "type": "string"
  3516. },
  3517. "invoiceremark": {
  3518. "description": "发票备注",
  3519. "type": "string"
  3520. },
  3521. "invoicestatus": {
  3522. "description": "开收票状态 - 0:未开票 1:已开票",
  3523. "type": "integer"
  3524. },
  3525. "lastdate": {
  3526. "description": "交货时间",
  3527. "type": "string"
  3528. },
  3529. "marketid": {
  3530. "description": "市场ID",
  3531. "type": "integer"
  3532. },
  3533. "paydatetime": {
  3534. "description": "收付款更新时间",
  3535. "type": "string"
  3536. },
  3537. "payremark": {
  3538. "description": "收付款备注",
  3539. "type": "string"
  3540. },
  3541. "paystatus": {
  3542. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  3543. "type": "integer"
  3544. },
  3545. "positionqty": {
  3546. "description": "头寸数量 - 合同数量去小数部分",
  3547. "type": "integer"
  3548. },
  3549. "producttype": {
  3550. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  3551. "type": "integer"
  3552. },
  3553. "relatedqty": {
  3554. "description": "已关联数量",
  3555. "type": "number"
  3556. },
  3557. "relatedstatus": {
  3558. "description": "关联完结状态 - 0:未结束 1:已结束",
  3559. "type": "integer"
  3560. },
  3561. "remark": {
  3562. "description": "备注",
  3563. "type": "string"
  3564. },
  3565. "signdate": {
  3566. "description": "签订日期",
  3567. "type": "string"
  3568. },
  3569. "spotcontractid": {
  3570. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  3571. "type": "string"
  3572. },
  3573. "spotdatetime": {
  3574. "description": "收发货更新时间",
  3575. "type": "string"
  3576. },
  3577. "spotprice": {
  3578. "description": "价格",
  3579. "type": "number"
  3580. },
  3581. "spotremark": {
  3582. "description": "收发货备注",
  3583. "type": "string"
  3584. },
  3585. "spotstatus": {
  3586. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  3587. "type": "integer"
  3588. },
  3589. "tradedate": {
  3590. "description": "交易日(yyyyMMdd)",
  3591. "type": "string"
  3592. },
  3593. "userid": {
  3594. "description": "业务员用户ID",
  3595. "type": "integer"
  3596. },
  3597. "warehouseid": {
  3598. "description": "仓库ID",
  3599. "type": "integer"
  3600. },
  3601. "wrfactortypeid": {
  3602. "description": "仓单要素类型ID",
  3603. "type": "integer"
  3604. },
  3605. "wrstandardid": {
  3606. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  3607. "type": "integer"
  3608. }
  3609. }
  3610. },
  3611. "models.Division": {
  3612. "type": "object",
  3613. "required": [
  3614. "autoid",
  3615. "divisioncode"
  3616. ],
  3617. "properties": {
  3618. "autoid": {
  3619. "description": "自增ID",
  3620. "type": "integer"
  3621. },
  3622. "divisioncode": {
  3623. "description": "行政代码",
  3624. "type": "string"
  3625. },
  3626. "divisionlevel": {
  3627. "description": "行政级别",
  3628. "type": "string"
  3629. },
  3630. "divisionname": {
  3631. "description": "行政名称",
  3632. "type": "string"
  3633. },
  3634. "modifierid": {
  3635. "description": "修改人",
  3636. "type": "integer"
  3637. },
  3638. "modifytime": {
  3639. "description": "修改时间",
  3640. "type": "string"
  3641. },
  3642. "parentcode": {
  3643. "description": "上级行政代码",
  3644. "type": "string"
  3645. },
  3646. "pathname": {
  3647. "description": "路径名称",
  3648. "type": "string"
  3649. },
  3650. "postcode": {
  3651. "description": "邮政编码",
  3652. "type": "string"
  3653. },
  3654. "separablename": {
  3655. "description": "可拆分的全称",
  3656. "type": "string"
  3657. },
  3658. "shortcode": {
  3659. "description": "地区简码",
  3660. "type": "string"
  3661. }
  3662. }
  3663. },
  3664. "models.HsbyGoodsOrderDetail": {
  3665. "type": "object",
  3666. "required": [
  3667. "buyorsell",
  3668. "orderid",
  3669. "ordertime"
  3670. ],
  3671. "properties": {
  3672. "buyorsell": {
  3673. "description": "买卖 - 0:买 1:卖",
  3674. "type": "integer"
  3675. },
  3676. "currencysign": {
  3677. "description": "货币符号",
  3678. "type": "string"
  3679. },
  3680. "customername": {
  3681. "description": "客户名称(企业名称),已脱敏",
  3682. "type": "string"
  3683. },
  3684. "enableqty": {
  3685. "description": "可用数量",
  3686. "type": "integer"
  3687. },
  3688. "goodunit": {
  3689. "description": "报价单位",
  3690. "type": "string"
  3691. },
  3692. "orderid": {
  3693. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3694. "type": "integer"
  3695. },
  3696. "orderprice": {
  3697. "description": "委托价格",
  3698. "type": "number"
  3699. },
  3700. "ordertime": {
  3701. "description": "委托时间",
  3702. "type": "string"
  3703. }
  3704. }
  3705. },
  3706. "models.HsbyListingGoodsDetail": {
  3707. "type": "object",
  3708. "required": [
  3709. "goodscode",
  3710. "goodsid",
  3711. "goodsname",
  3712. "marketid"
  3713. ],
  3714. "properties": {
  3715. "currency": {
  3716. "description": "货币",
  3717. "type": "string"
  3718. },
  3719. "currencysign": {
  3720. "description": "货币符号",
  3721. "type": "string"
  3722. },
  3723. "decimalplace": {
  3724. "description": "报价小数位",
  3725. "type": "integer"
  3726. },
  3727. "desccityid": {
  3728. "description": "目的地(市)ID",
  3729. "type": "integer"
  3730. },
  3731. "descprovinceid": {
  3732. "description": "目的地(省)ID",
  3733. "type": "integer"
  3734. },
  3735. "goodscode": {
  3736. "description": "商品代码(内部)",
  3737. "type": "string"
  3738. },
  3739. "goodsdesc": {
  3740. "description": "商品详情",
  3741. "type": "string"
  3742. },
  3743. "goodsid": {
  3744. "description": "商品ID(自增ID SEQ_GOODS)",
  3745. "type": "integer"
  3746. },
  3747. "goodsname": {
  3748. "description": "商品名称",
  3749. "type": "string"
  3750. },
  3751. "hotindex": {
  3752. "description": "景点热度",
  3753. "type": "integer"
  3754. },
  3755. "last": {
  3756. "description": "现价",
  3757. "type": "number"
  3758. },
  3759. "limitdown": {
  3760. "description": "跌停价",
  3761. "type": "number"
  3762. },
  3763. "limitup": {
  3764. "description": "涨停价",
  3765. "type": "number"
  3766. },
  3767. "marketid": {
  3768. "description": "所属市场ID",
  3769. "type": "integer"
  3770. },
  3771. "picurls": {
  3772. "description": "介绍图片[多张用逗号分隔]",
  3773. "type": "string"
  3774. },
  3775. "vendorattr": {
  3776. "description": "供应商附件(多张,逗号分隔)",
  3777. "type": "string"
  3778. },
  3779. "vendorname": {
  3780. "description": "供应商名称",
  3781. "type": "string"
  3782. },
  3783. "vendorphone": {
  3784. "description": "供应商客服电话",
  3785. "type": "string"
  3786. },
  3787. "videourls": {
  3788. "description": "介绍视频[多张用逗号分隔]",
  3789. "type": "string"
  3790. }
  3791. }
  3792. },
  3793. "models.HsbyMyGoods": {
  3794. "type": "object",
  3795. "required": [
  3796. "accountid",
  3797. "goodscode",
  3798. "goodsid",
  3799. "goodsname"
  3800. ],
  3801. "properties": {
  3802. "accountid": {
  3803. "description": "账号Id",
  3804. "type": "integer"
  3805. },
  3806. "agreeunit": {
  3807. "description": "合约单位",
  3808. "type": "number"
  3809. },
  3810. "buyaverageprice": {
  3811. "description": "持仓均价",
  3812. "type": "number"
  3813. },
  3814. "buycurholderamount": {
  3815. "description": "买当前持仓总金额[商品币种]",
  3816. "type": "number"
  3817. },
  3818. "buycurpositionqty": {
  3819. "description": "买当前持仓总数量",
  3820. "type": "integer"
  3821. },
  3822. "currencysign": {
  3823. "description": "货币符号",
  3824. "type": "string"
  3825. },
  3826. "decimalplace": {
  3827. "description": "报价小数位",
  3828. "type": "integer"
  3829. },
  3830. "goodscode": {
  3831. "description": "商品代码(内部)",
  3832. "type": "string"
  3833. },
  3834. "goodsid": {
  3835. "description": "商品Id",
  3836. "type": "integer"
  3837. },
  3838. "goodsname": {
  3839. "description": "商品名称",
  3840. "type": "string"
  3841. },
  3842. "picurls": {
  3843. "description": "介绍图片[多张用逗号分隔]",
  3844. "type": "string"
  3845. }
  3846. }
  3847. },
  3848. "models.HsbyPreGoods": {
  3849. "type": "object",
  3850. "required": [
  3851. "goodscode",
  3852. "goodsid",
  3853. "goodsname",
  3854. "marketid"
  3855. ],
  3856. "properties": {
  3857. "currency": {
  3858. "description": "货币",
  3859. "type": "string"
  3860. },
  3861. "currencysign": {
  3862. "description": "货币符号",
  3863. "type": "string"
  3864. },
  3865. "decimalplace": {
  3866. "description": "报价小数位",
  3867. "type": "integer"
  3868. },
  3869. "endtime": {
  3870. "description": "预售结束时间",
  3871. "type": "string"
  3872. },
  3873. "goodscode": {
  3874. "description": "商品代码(内部)",
  3875. "type": "string"
  3876. },
  3877. "goodsid": {
  3878. "description": "商品ID(自增ID SEQ_GOODS)",
  3879. "type": "integer"
  3880. },
  3881. "goodsname": {
  3882. "description": "商品名称",
  3883. "type": "string"
  3884. },
  3885. "goodsstatus": {
  3886. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  3887. "type": "integer"
  3888. },
  3889. "marketid": {
  3890. "description": "所属市场ID",
  3891. "type": "integer"
  3892. },
  3893. "picurls": {
  3894. "description": "介绍图片[多张用逗号分隔]",
  3895. "type": "string"
  3896. },
  3897. "presaleqty": {
  3898. "description": "预售数量",
  3899. "type": "integer"
  3900. },
  3901. "refprice": {
  3902. "description": "参考价格[一口价]",
  3903. "type": "number"
  3904. },
  3905. "relatedgoodsid": {
  3906. "description": "关联交易合约ID",
  3907. "type": "integer"
  3908. },
  3909. "starttime": {
  3910. "description": "预售开始时间",
  3911. "type": "string"
  3912. },
  3913. "videourls": {
  3914. "description": "介绍视频[多张用逗号分隔]",
  3915. "type": "string"
  3916. }
  3917. }
  3918. },
  3919. "models.HsbyTopGoods": {
  3920. "type": "object",
  3921. "required": [
  3922. "goodscode",
  3923. "goodsid",
  3924. "goodsname",
  3925. "marketid"
  3926. ],
  3927. "properties": {
  3928. "currency": {
  3929. "description": "货币",
  3930. "type": "string"
  3931. },
  3932. "currencysign": {
  3933. "description": "货币符号",
  3934. "type": "string"
  3935. },
  3936. "decimalplace": {
  3937. "description": "报价小数位",
  3938. "type": "integer"
  3939. },
  3940. "goodscode": {
  3941. "description": "商品代码(内部)",
  3942. "type": "string"
  3943. },
  3944. "goodsid": {
  3945. "description": "商品ID(自增ID SEQ_GOODS)",
  3946. "type": "integer"
  3947. },
  3948. "goodsname": {
  3949. "description": "商品名称",
  3950. "type": "string"
  3951. },
  3952. "hotindex": {
  3953. "description": "景点热度",
  3954. "type": "integer"
  3955. },
  3956. "last": {
  3957. "description": "现价",
  3958. "type": "number"
  3959. },
  3960. "marketid": {
  3961. "description": "所属市场ID",
  3962. "type": "integer"
  3963. },
  3964. "picurls": {
  3965. "description": "介绍图片[多张用逗号分隔]",
  3966. "type": "string"
  3967. },
  3968. "videourls": {
  3969. "description": "介绍视频[多张用逗号分隔]",
  3970. "type": "string"
  3971. }
  3972. }
  3973. },
  3974. "models.HybsMyBuyOrderDetail": {
  3975. "type": "object",
  3976. "required": [
  3977. "accountid",
  3978. "buyorsell",
  3979. "goodscode",
  3980. "goodsid",
  3981. "goodsname",
  3982. "marketid",
  3983. "orderid",
  3984. "orderqty",
  3985. "ordertime",
  3986. "trademode"
  3987. ],
  3988. "properties": {
  3989. "accountid": {
  3990. "description": "账户ID[报价币种]",
  3991. "type": "integer"
  3992. },
  3993. "buyorsell": {
  3994. "description": "买卖 - 0:买 1:卖",
  3995. "type": "integer"
  3996. },
  3997. "cancelqty": {
  3998. "description": "撤单数量",
  3999. "type": "integer"
  4000. },
  4001. "currencysign": {
  4002. "description": "货币符号",
  4003. "type": "string"
  4004. },
  4005. "decimalplace": {
  4006. "description": "报价小数位",
  4007. "type": "integer"
  4008. },
  4009. "goodscode": {
  4010. "description": "商品代码(内部)",
  4011. "type": "string"
  4012. },
  4013. "goodsid": {
  4014. "description": "商品ID",
  4015. "type": "integer"
  4016. },
  4017. "goodsname": {
  4018. "description": "商品名称",
  4019. "type": "string"
  4020. },
  4021. "listingselecttype": {
  4022. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4023. "type": "integer"
  4024. },
  4025. "marketid": {
  4026. "description": "市场ID",
  4027. "type": "integer"
  4028. },
  4029. "mybuystatus": {
  4030. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  4031. "type": "integer"
  4032. },
  4033. "orderid": {
  4034. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4035. "type": "integer"
  4036. },
  4037. "orderprice": {
  4038. "description": "委托价格",
  4039. "type": "number"
  4040. },
  4041. "orderqty": {
  4042. "description": "委托数量",
  4043. "type": "integer"
  4044. },
  4045. "orderstatus": {
  4046. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4047. "type": "integer"
  4048. },
  4049. "ordertime": {
  4050. "description": "委托时间",
  4051. "type": "string"
  4052. },
  4053. "picurls": {
  4054. "description": "介绍图片[多张用逗号分隔]",
  4055. "type": "string"
  4056. },
  4057. "trademode": {
  4058. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  4059. "type": "integer"
  4060. },
  4061. "tradeqty": {
  4062. "description": "成交数量",
  4063. "type": "integer"
  4064. },
  4065. "vendorname": {
  4066. "description": "供应商名称",
  4067. "type": "string"
  4068. }
  4069. }
  4070. },
  4071. "models.OperationPrimaryMenu": {
  4072. "type": "object",
  4073. "properties": {
  4074. "Children": {
  4075. "description": "二级功能菜单",
  4076. "type": "array",
  4077. "items": {
  4078. "$ref": "#/definitions/models.OperationSecondaryMenu"
  4079. }
  4080. },
  4081. "Key": {
  4082. "description": "菜单KEY",
  4083. "type": "string"
  4084. },
  4085. "Label": {
  4086. "description": "菜单标题",
  4087. "type": "string"
  4088. }
  4089. }
  4090. },
  4091. "models.OperationSecondaryMenu": {
  4092. "type": "object",
  4093. "properties": {
  4094. "Key": {
  4095. "description": "菜单KEY",
  4096. "type": "string"
  4097. },
  4098. "Label": {
  4099. "description": "菜单标题",
  4100. "type": "string"
  4101. },
  4102. "TabList": {
  4103. "description": "三级功能菜单",
  4104. "type": "array",
  4105. "items": {
  4106. "$ref": "#/definitions/models.OperationTabMenu"
  4107. }
  4108. }
  4109. }
  4110. },
  4111. "models.OperationTabMenu": {
  4112. "type": "object",
  4113. "properties": {
  4114. "Key": {
  4115. "description": "菜单KEY",
  4116. "type": "string"
  4117. },
  4118. "Label": {
  4119. "description": "菜单标题",
  4120. "type": "string"
  4121. }
  4122. }
  4123. },
  4124. "models.QuotePrimaryMenu": {
  4125. "type": "object",
  4126. "properties": {
  4127. "Index": {
  4128. "description": "序号",
  4129. "type": "integer"
  4130. },
  4131. "Key": {
  4132. "description": "键名",
  4133. "type": "string"
  4134. },
  4135. "Name": {
  4136. "description": "菜单名称",
  4137. "type": "string"
  4138. },
  4139. "SubMenus": {
  4140. "description": "子菜单",
  4141. "type": "array",
  4142. "items": {
  4143. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  4144. }
  4145. },
  4146. "SubTitleType": {
  4147. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  4148. "type": "integer"
  4149. },
  4150. "TradeModes": {
  4151. "description": "包含市场交易类型",
  4152. "type": "string"
  4153. }
  4154. }
  4155. },
  4156. "models.QuoteSecondaryMenu": {
  4157. "type": "object",
  4158. "properties": {
  4159. "ExExchangeCode": {
  4160. "description": "外部交易所代码",
  4161. "type": "string"
  4162. },
  4163. "ExExchangeID": {
  4164. "description": "外部交易所ID",
  4165. "type": "integer"
  4166. },
  4167. "GoodsGroupIDs": {
  4168. "description": "商品组ID列表",
  4169. "type": "array",
  4170. "items": {
  4171. "type": "integer"
  4172. }
  4173. },
  4174. "Index": {
  4175. "description": "序号",
  4176. "type": "integer"
  4177. },
  4178. "MarketID": {
  4179. "description": "市场ID",
  4180. "type": "integer"
  4181. },
  4182. "MenuTitle": {
  4183. "description": "菜单标题(市场名称或外部交易所名称)",
  4184. "type": "string"
  4185. },
  4186. "TradeMode": {
  4187. "description": "交易模式",
  4188. "type": "integer"
  4189. }
  4190. }
  4191. },
  4192. "models.Szdz3convertconfig": {
  4193. "type": "object",
  4194. "required": [
  4195. "converttype",
  4196. "innergoodsid",
  4197. "outergoodscode"
  4198. ],
  4199. "properties": {
  4200. "canin": {
  4201. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  4202. "type": "integer"
  4203. },
  4204. "canout": {
  4205. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  4206. "type": "integer"
  4207. },
  4208. "converttype": {
  4209. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4210. "type": "integer"
  4211. },
  4212. "createtime": {
  4213. "description": "创建时间",
  4214. "type": "string"
  4215. },
  4216. "creatorid": {
  4217. "description": "创建人",
  4218. "type": "integer"
  4219. },
  4220. "daymaxvalue": {
  4221. "description": "当日最大转入限制",
  4222. "type": "number"
  4223. },
  4224. "freezedays": {
  4225. "description": "冻结天数 [5:花生米转交易]",
  4226. "type": "integer"
  4227. },
  4228. "innergoodsid": {
  4229. "description": "内部商品ID[交易]",
  4230. "type": "integer"
  4231. },
  4232. "inratio": {
  4233. "description": "目标值",
  4234. "type": "integer"
  4235. },
  4236. "modifierid": {
  4237. "description": "修改人",
  4238. "type": "integer"
  4239. },
  4240. "modifytime": {
  4241. "description": "修改时间",
  4242. "type": "string"
  4243. },
  4244. "outergoodscode": {
  4245. "description": "外部商品代码[JD\\PD]",
  4246. "type": "string"
  4247. },
  4248. "outratio": {
  4249. "description": "源值",
  4250. "type": "integer"
  4251. },
  4252. "pddecimalplace": {
  4253. "description": "PD小数位",
  4254. "type": "integer"
  4255. },
  4256. "timemaxvalue": {
  4257. "description": "单次最大转入限制",
  4258. "type": "number"
  4259. },
  4260. "timeminvalue": {
  4261. "description": "单次最小转入限制",
  4262. "type": "number"
  4263. }
  4264. }
  4265. },
  4266. "models.Szdz3searchwhitelist": {
  4267. "type": "object",
  4268. "required": [
  4269. "userid"
  4270. ],
  4271. "properties": {
  4272. "createtime": {
  4273. "description": "创建时间",
  4274. "type": "string"
  4275. },
  4276. "creatorid": {
  4277. "description": "创建人",
  4278. "type": "integer"
  4279. },
  4280. "modifierid": {
  4281. "description": "修改人",
  4282. "type": "integer"
  4283. },
  4284. "modifytime": {
  4285. "description": "修改时间",
  4286. "type": "string"
  4287. },
  4288. "userid": {
  4289. "description": "用户ID",
  4290. "type": "integer"
  4291. }
  4292. }
  4293. },
  4294. "models.Tablecolumnconfig": {
  4295. "type": "object",
  4296. "required": [
  4297. "autoid"
  4298. ],
  4299. "properties": {
  4300. "aligntype": {
  4301. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  4302. "type": "integer"
  4303. },
  4304. "autoid": {
  4305. "description": "AutoID",
  4306. "type": "integer"
  4307. },
  4308. "columnfield": {
  4309. "description": "列字段",
  4310. "type": "string"
  4311. },
  4312. "columntitle": {
  4313. "description": "列Title",
  4314. "type": "string"
  4315. },
  4316. "columnwidth": {
  4317. "description": "列宽",
  4318. "type": "string"
  4319. },
  4320. "formatterstring": {
  4321. "description": "格式化字符",
  4322. "type": "string"
  4323. },
  4324. "formattertype": {
  4325. "description": "格式化类型",
  4326. "type": "string"
  4327. },
  4328. "groupname": {
  4329. "description": "表头分组名称",
  4330. "type": "string"
  4331. },
  4332. "isshow": {
  4333. "description": "是否显示 - 0:不显示 1:显示",
  4334. "type": "integer"
  4335. },
  4336. "needsummary": {
  4337. "description": "是否需要汇总 - 0:不需要 1:需要",
  4338. "type": "integer"
  4339. },
  4340. "orderindex": {
  4341. "description": "顺序",
  4342. "type": "integer"
  4343. },
  4344. "remark": {
  4345. "description": "备注",
  4346. "type": "string"
  4347. },
  4348. "summarytype": {
  4349. "description": "汇总类型 - 1:加总 2:最后一个",
  4350. "type": "integer"
  4351. },
  4352. "tablekey": {
  4353. "description": "列表Key",
  4354. "type": "string"
  4355. }
  4356. }
  4357. },
  4358. "models.Userinfo": {
  4359. "type": "object",
  4360. "required": [
  4361. "userid"
  4362. ],
  4363. "properties": {
  4364. "address": {
  4365. "description": "地址",
  4366. "type": "string"
  4367. },
  4368. "attachment1": {
  4369. "description": "附件1",
  4370. "type": "string"
  4371. },
  4372. "attachment2": {
  4373. "description": "附件2",
  4374. "type": "string"
  4375. },
  4376. "bankaccount": {
  4377. "description": "银行帐号 (加密存储)",
  4378. "type": "string"
  4379. },
  4380. "bankaccountname": {
  4381. "description": "收款人名称",
  4382. "type": "string"
  4383. },
  4384. "bankcardfrontphotourl": {
  4385. "description": "银行卡正面照地址",
  4386. "type": "string"
  4387. },
  4388. "bankid": {
  4389. "description": "银行编码",
  4390. "type": "string"
  4391. },
  4392. "bankname": {
  4393. "description": "银行名称",
  4394. "type": "string"
  4395. },
  4396. "biznature": {
  4397. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  4398. "type": "integer"
  4399. },
  4400. "bizscope": {
  4401. "description": "企业经营范围(企业)",
  4402. "type": "string"
  4403. },
  4404. "cardbackphotourl": {
  4405. "description": "证件背面图片地址",
  4406. "type": "string"
  4407. },
  4408. "cardfrontphotourl": {
  4409. "description": "证件正面图片地址",
  4410. "type": "string"
  4411. },
  4412. "cardnum": {
  4413. "description": "证件号码(加密存储)",
  4414. "type": "string"
  4415. },
  4416. "cardtypeid": {
  4417. "description": "证件类型ID",
  4418. "type": "integer"
  4419. },
  4420. "cityid": {
  4421. "description": "市",
  4422. "type": "integer"
  4423. },
  4424. "company": {
  4425. "description": "公司(个人)",
  4426. "type": "string"
  4427. },
  4428. "contactname": {
  4429. "description": "联系人",
  4430. "type": "string"
  4431. },
  4432. "countryid": {
  4433. "description": "国家",
  4434. "type": "integer"
  4435. },
  4436. "createtime": {
  4437. "description": "创建时间",
  4438. "type": "string"
  4439. },
  4440. "creatorid": {
  4441. "description": "创建人",
  4442. "type": "integer"
  4443. },
  4444. "customername": {
  4445. "description": "客户名称(企业名称)",
  4446. "type": "string"
  4447. },
  4448. "districtid": {
  4449. "description": "地区",
  4450. "type": "integer"
  4451. },
  4452. "email": {
  4453. "description": "邮件(加密存储)",
  4454. "type": "string"
  4455. },
  4456. "fax": {
  4457. "description": "传真(加密存储)",
  4458. "type": "string"
  4459. },
  4460. "halfbodyphotourl": {
  4461. "description": "半身照地址",
  4462. "type": "string"
  4463. },
  4464. "hasencrypt": {
  4465. "description": "数据是否已加密 - 0:未加密 1:已加密",
  4466. "type": "integer"
  4467. },
  4468. "headurl": {
  4469. "description": "头像地址",
  4470. "type": "string"
  4471. },
  4472. "legalcardbackphotourl": {
  4473. "description": "法人身份证背面照地址",
  4474. "type": "string"
  4475. },
  4476. "legalcardfrontphotourl": {
  4477. "description": "法人身份证正面照地址",
  4478. "type": "string"
  4479. },
  4480. "legalpersonname": {
  4481. "description": "法人姓名(企业)",
  4482. "type": "string"
  4483. },
  4484. "mobile": {
  4485. "description": "手机号码(加密存储)",
  4486. "type": "string"
  4487. },
  4488. "mobile2": {
  4489. "description": "手机号码[明文-尚志]",
  4490. "type": "string"
  4491. },
  4492. "modifierid": {
  4493. "description": "修改人",
  4494. "type": "integer"
  4495. },
  4496. "modifiertime": {
  4497. "description": "修改时间",
  4498. "type": "string"
  4499. },
  4500. "needinvoice": {
  4501. "description": "是否需要发票 - 0:不需要 1:需要",
  4502. "type": "integer"
  4503. },
  4504. "nickname": {
  4505. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  4506. "type": "string"
  4507. },
  4508. "openmode": {
  4509. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  4510. "type": "integer"
  4511. },
  4512. "otherurl": {
  4513. "description": "其它图片地址[使用分号分隔]",
  4514. "type": "string"
  4515. },
  4516. "postalcode": {
  4517. "description": "邮政编码",
  4518. "type": "string"
  4519. },
  4520. "provinceid": {
  4521. "description": "省",
  4522. "type": "integer"
  4523. },
  4524. "qq": {
  4525. "description": "QQ(加密存储",
  4526. "type": "string"
  4527. },
  4528. "remark": {
  4529. "description": "备注",
  4530. "type": "string"
  4531. },
  4532. "sex": {
  4533. "description": "用户性别 0: 女 1: 男",
  4534. "type": "integer"
  4535. },
  4536. "signpdfurl": {
  4537. "description": "签约pdf文件",
  4538. "type": "string"
  4539. },
  4540. "telphone": {
  4541. "description": "联系电话(加密存储)",
  4542. "type": "string"
  4543. },
  4544. "userid": {
  4545. "description": "用户ID",
  4546. "type": "integer"
  4547. },
  4548. "userinfotype": {
  4549. "description": "用户信息类型 - 1:个人 2:企业",
  4550. "type": "integer"
  4551. },
  4552. "userstatus": {
  4553. "description": "用户状态 - 1:正常 2:注销",
  4554. "type": "integer"
  4555. },
  4556. "usertype": {
  4557. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  4558. "type": "integer"
  4559. },
  4560. "wechat": {
  4561. "description": "微信(加密存储)",
  4562. "type": "string"
  4563. },
  4564. "wskhinfo": {
  4565. "description": "开户申请信息(JSON)",
  4566. "type": "string"
  4567. }
  4568. }
  4569. },
  4570. "order.QueryHisTradeDetailRsp": {
  4571. "type": "object",
  4572. "required": [
  4573. "accountid",
  4574. "buyorsell",
  4575. "goodsid",
  4576. "histradedate",
  4577. "marketid",
  4578. "memberuserid",
  4579. "orderid",
  4580. "tradeamount",
  4581. "tradedate",
  4582. "tradeid",
  4583. "tradeprice",
  4584. "tradeqty",
  4585. "tradetime"
  4586. ],
  4587. "properties": {
  4588. "accountid": {
  4589. "description": "账户ID[报价币种]",
  4590. "type": "integer"
  4591. },
  4592. "buildtype": {
  4593. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  4594. "type": "integer"
  4595. },
  4596. "buyorsell": {
  4597. "description": "方向 - 0:买 1:卖",
  4598. "type": "integer"
  4599. },
  4600. "charge": {
  4601. "description": "手续费",
  4602. "type": "number"
  4603. },
  4604. "closecharge": {
  4605. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  4606. "type": "number"
  4607. },
  4608. "closeexchagechargevalue": {
  4609. "description": "平仓交易所手续费设置值",
  4610. "type": "number"
  4611. },
  4612. "closefeealgorithm": {
  4613. "description": "平仓手续费收取方式 1:比率 2:固定",
  4614. "type": "integer"
  4615. },
  4616. "closememberchargevalue": {
  4617. "description": "平仓会员手续费设置值",
  4618. "type": "number"
  4619. },
  4620. "closepl": {
  4621. "description": "平仓盈亏",
  4622. "type": "number"
  4623. },
  4624. "closepl2": {
  4625. "description": "平仓盈亏[逐笔]",
  4626. "type": "number"
  4627. },
  4628. "closeqty": {
  4629. "description": "平仓数量(先建后平操作 需要记录)",
  4630. "type": "integer"
  4631. },
  4632. "creditamount": {
  4633. "description": "授信金额",
  4634. "type": "number"
  4635. },
  4636. "gcaccountid": {
  4637. "description": "账户ID[合约币种]",
  4638. "type": "integer"
  4639. },
  4640. "goodscode": {
  4641. "description": "商品代码",
  4642. "type": "string"
  4643. },
  4644. "goodsid": {
  4645. "description": "商品ID",
  4646. "type": "integer"
  4647. },
  4648. "goodsname": {
  4649. "description": "商品名称",
  4650. "type": "string"
  4651. },
  4652. "histradedate": {
  4653. "description": "历史交易日",
  4654. "type": "string"
  4655. },
  4656. "intclosepl": {
  4657. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  4658. "type": "integer"
  4659. },
  4660. "isconfirmexercise": {
  4661. "description": "是否确认行权- 0:否 1:是",
  4662. "type": "integer"
  4663. },
  4664. "ismain": {
  4665. "description": "是否主单 - 0:不是 1:是",
  4666. "type": "integer"
  4667. },
  4668. "ispreexercise": {
  4669. "description": "是否预申报- 0:否 1:是",
  4670. "type": "integer"
  4671. },
  4672. "isreckoned": {
  4673. "description": "是否结算 - 0:未结算 1:已结算",
  4674. "type": "integer"
  4675. },
  4676. "isvaliddata": {
  4677. "description": "是否有效 - 0:无效 1:有效",
  4678. "type": "integer"
  4679. },
  4680. "listingselecttype": {
  4681. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4682. "type": "integer"
  4683. },
  4684. "marketid": {
  4685. "description": "市场ID",
  4686. "type": "integer"
  4687. },
  4688. "marketname": {
  4689. "description": "市场名称",
  4690. "type": "string"
  4691. },
  4692. "matchaccountid": {
  4693. "description": "对手账号id",
  4694. "type": "integer"
  4695. },
  4696. "memberuserid": {
  4697. "description": "会员id 个人投资者 需要填写",
  4698. "type": "integer"
  4699. },
  4700. "opencharge": {
  4701. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  4702. "type": "number"
  4703. },
  4704. "openexchagechargevalue": {
  4705. "description": "建仓交易所手续费设置值",
  4706. "type": "number"
  4707. },
  4708. "openfeealgorithm": {
  4709. "description": "建仓手续费收取方式 1:比率 2:固定",
  4710. "type": "integer"
  4711. },
  4712. "openmemberchargevalue": {
  4713. "description": "建仓会员手续费设置值",
  4714. "type": "number"
  4715. },
  4716. "openqty": {
  4717. "description": "开仓数量(先建后平操作 需要记录)",
  4718. "type": "integer"
  4719. },
  4720. "optiontype": {
  4721. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4722. "type": "integer"
  4723. },
  4724. "orderid": {
  4725. "description": "委托单号",
  4726. "type": "string"
  4727. },
  4728. "performanceplanid": {
  4729. "description": "履约计划ID[期权]",
  4730. "type": "integer"
  4731. },
  4732. "performancestatus": {
  4733. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  4734. "type": "integer"
  4735. },
  4736. "preexerciseprice": {
  4737. "description": "预申报价格",
  4738. "type": "number"
  4739. },
  4740. "premium": {
  4741. "description": "权利金 - [持仓单的权利金]",
  4742. "type": "number"
  4743. },
  4744. "relatedouttradeid": {
  4745. "description": "关联外部成交单ID",
  4746. "type": "integer"
  4747. },
  4748. "status": {
  4749. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  4750. "type": "integer"
  4751. },
  4752. "tradeamount": {
  4753. "description": "成交金额[账户币种,用于所有权]",
  4754. "type": "number"
  4755. },
  4756. "tradedate": {
  4757. "description": "交易日(yyyyMMdd)",
  4758. "type": "string"
  4759. },
  4760. "tradeid": {
  4761. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4762. "type": "string"
  4763. },
  4764. "trademode": {
  4765. "description": "交易模式",
  4766. "type": "integer"
  4767. },
  4768. "tradeprice": {
  4769. "description": "成交价格",
  4770. "type": "number"
  4771. },
  4772. "tradeproperty": {
  4773. "description": "交易属性",
  4774. "type": "integer"
  4775. },
  4776. "tradeqty": {
  4777. "description": "成交数量",
  4778. "type": "integer"
  4779. },
  4780. "tradetime": {
  4781. "description": "成交时间",
  4782. "type": "string"
  4783. },
  4784. "tradetype": {
  4785. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  4786. "type": "integer"
  4787. }
  4788. }
  4789. },
  4790. "order.QueryHisTradeOrderDetailRsp": {
  4791. "type": "object",
  4792. "required": [
  4793. "accountid",
  4794. "buildtype",
  4795. "buyorsell",
  4796. "goodsid",
  4797. "histradedate",
  4798. "marketid",
  4799. "memberuserid",
  4800. "operatetype",
  4801. "orderid",
  4802. "orderqty",
  4803. "ordertime",
  4804. "pricemode",
  4805. "tradedate",
  4806. "validtype"
  4807. ],
  4808. "properties": {
  4809. "accountid": {
  4810. "description": "账户ID[报价币种]",
  4811. "type": "integer"
  4812. },
  4813. "buildtype": {
  4814. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4815. "type": "integer"
  4816. },
  4817. "buyorsell": {
  4818. "description": "买卖 - 0:买 1:卖",
  4819. "type": "integer"
  4820. },
  4821. "cancelorderid": {
  4822. "description": "撤单单号(撤单时填写)",
  4823. "type": "string"
  4824. },
  4825. "cancelqty": {
  4826. "description": "撤单数量",
  4827. "type": "integer"
  4828. },
  4829. "clientordertime": {
  4830. "description": "客户端委托时间",
  4831. "type": "string"
  4832. },
  4833. "clientticket": {
  4834. "description": "客户端流水号",
  4835. "type": "string"
  4836. },
  4837. "clienttype": {
  4838. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4839. "type": "integer"
  4840. },
  4841. "closeexchagechargevalue": {
  4842. "description": "平仓交易所手续费设置值",
  4843. "type": "number"
  4844. },
  4845. "closefeealgorithm": {
  4846. "description": "平仓手续费收取方式 1:比率 2:固定",
  4847. "type": "integer"
  4848. },
  4849. "closefreezecharge": {
  4850. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4851. "type": "number"
  4852. },
  4853. "closememberchargevalue": {
  4854. "description": "平仓会员手续费设置值",
  4855. "type": "number"
  4856. },
  4857. "closeqty": {
  4858. "description": "平仓数量(先建后平操作 需要记录)",
  4859. "type": "integer"
  4860. },
  4861. "closetradeqty": {
  4862. "description": "平仓成交数量(先建后平操作,需要记录)",
  4863. "type": "integer"
  4864. },
  4865. "closeunfreezecharge": {
  4866. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4867. "type": "number"
  4868. },
  4869. "delistingtype": {
  4870. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4871. "type": "integer"
  4872. },
  4873. "freezecharge": {
  4874. "description": "冻结手续费",
  4875. "type": "number"
  4876. },
  4877. "freezemargin": {
  4878. "description": "冻结保证金(冻结交易金额)",
  4879. "type": "number"
  4880. },
  4881. "gcaccountid": {
  4882. "description": "账户ID[合约币种]",
  4883. "type": "integer"
  4884. },
  4885. "goodscode": {
  4886. "description": "商品代码",
  4887. "type": "string"
  4888. },
  4889. "goodsid": {
  4890. "description": "商品ID",
  4891. "type": "integer"
  4892. },
  4893. "goodsname": {
  4894. "description": "商品名称",
  4895. "type": "string"
  4896. },
  4897. "histradedate": {
  4898. "description": "历史交易日",
  4899. "type": "string"
  4900. },
  4901. "isconfirmexercise": {
  4902. "description": "是否确认行权- 0:否 1:是",
  4903. "type": "integer"
  4904. },
  4905. "ispreexercise": {
  4906. "description": "是否预申报- 0:否 1:是",
  4907. "type": "integer"
  4908. },
  4909. "isvaliddata": {
  4910. "description": "是否有效 - 0:无效 1:有效",
  4911. "type": "integer"
  4912. },
  4913. "listingselecttype": {
  4914. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4915. "type": "integer"
  4916. },
  4917. "marginalgorithm": {
  4918. "description": "保证金收取方式 1:比率 2:固定",
  4919. "type": "integer"
  4920. },
  4921. "marginvalue": {
  4922. "description": "即市保证金设置值",
  4923. "type": "number"
  4924. },
  4925. "marketid": {
  4926. "description": "市场ID",
  4927. "type": "integer"
  4928. },
  4929. "marketmaxsub": {
  4930. "description": "市价最大偏移范围",
  4931. "type": "number"
  4932. },
  4933. "marketname": {
  4934. "description": "市场名称",
  4935. "type": "string"
  4936. },
  4937. "memberuserid": {
  4938. "description": "所属会员UserID",
  4939. "type": "integer"
  4940. },
  4941. "openexchagechargevalue": {
  4942. "description": "建仓交易所手续费设置值",
  4943. "type": "number"
  4944. },
  4945. "openfeealgorithm": {
  4946. "description": "建仓手续费收取方式 1:比率 2:固定",
  4947. "type": "integer"
  4948. },
  4949. "openfreezecharge": {
  4950. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4951. "type": "number"
  4952. },
  4953. "openmemberchargevalue": {
  4954. "description": "建仓会员手续费设置值",
  4955. "type": "number"
  4956. },
  4957. "openqty": {
  4958. "description": "开仓数量(先建后平操作,需要记录)",
  4959. "type": "integer"
  4960. },
  4961. "opentradeqty": {
  4962. "description": "开仓成交数量(先建后平操作,需要记录)",
  4963. "type": "integer"
  4964. },
  4965. "openunfreezecharge": {
  4966. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4967. "type": "number"
  4968. },
  4969. "operatetype": {
  4970. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4971. "type": "integer"
  4972. },
  4973. "operatorid": {
  4974. "description": "登录账号(LoginID)",
  4975. "type": "integer"
  4976. },
  4977. "optiontype": {
  4978. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4979. "type": "integer"
  4980. },
  4981. "orderid": {
  4982. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4983. "type": "string"
  4984. },
  4985. "orderprice": {
  4986. "description": "委托价格",
  4987. "type": "number"
  4988. },
  4989. "orderqty": {
  4990. "description": "委托数量",
  4991. "type": "integer"
  4992. },
  4993. "ordersrc": {
  4994. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4995. "type": "integer"
  4996. },
  4997. "orderstatus": {
  4998. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4999. "type": "integer"
  5000. },
  5001. "ordertime": {
  5002. "description": "委托时间",
  5003. "type": "string"
  5004. },
  5005. "preexerciseprice": {
  5006. "description": "预申报价格",
  5007. "type": "number"
  5008. },
  5009. "premium": {
  5010. "description": "权利金",
  5011. "type": "number"
  5012. },
  5013. "preorderid": {
  5014. "description": "关联预埋单号(止盈止损单时填写)",
  5015. "type": "string"
  5016. },
  5017. "pricemode": {
  5018. "description": "取价方式 - 1:市价 2: 限价",
  5019. "type": "integer"
  5020. },
  5021. "quoteid": {
  5022. "description": "报价单ID",
  5023. "type": "integer"
  5024. },
  5025. "relatedid": {
  5026. "description": "关联单号(交割单)",
  5027. "type": "string"
  5028. },
  5029. "retcode": {
  5030. "description": "错误代码",
  5031. "type": "integer"
  5032. },
  5033. "sessionid": {
  5034. "description": "会话ID",
  5035. "type": "integer"
  5036. },
  5037. "tradedate": {
  5038. "description": "交易日(yyyyMMdd)",
  5039. "type": "string"
  5040. },
  5041. "trademode": {
  5042. "description": "交易模式",
  5043. "type": "integer"
  5044. },
  5045. "tradeproperty": {
  5046. "description": "交易属性",
  5047. "type": "integer"
  5048. },
  5049. "tradeqty": {
  5050. "description": "成交数量",
  5051. "type": "integer"
  5052. },
  5053. "unfreezecharge": {
  5054. "description": "解冻手续费",
  5055. "type": "number"
  5056. },
  5057. "unfreezemargin": {
  5058. "description": "解冻保证金",
  5059. "type": "number"
  5060. },
  5061. "updatetime": {
  5062. "description": "更新时间",
  5063. "type": "string"
  5064. },
  5065. "uuid": {
  5066. "description": "发起端唯一id",
  5067. "type": "string"
  5068. },
  5069. "validtime": {
  5070. "description": "有效期限",
  5071. "type": "string"
  5072. },
  5073. "validtype": {
  5074. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5075. "type": "integer"
  5076. },
  5077. "volumetype": {
  5078. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5079. "type": "integer"
  5080. }
  5081. }
  5082. },
  5083. "order.QueryTradeDetailRsp": {
  5084. "type": "object",
  5085. "required": [
  5086. "accountid",
  5087. "buyorsell",
  5088. "goodsid",
  5089. "marketid",
  5090. "memberuserid",
  5091. "orderid",
  5092. "tradeamount",
  5093. "tradedate",
  5094. "tradeid",
  5095. "tradeprice",
  5096. "tradeqty",
  5097. "tradetime"
  5098. ],
  5099. "properties": {
  5100. "accountid": {
  5101. "description": "账户ID[报价币种]",
  5102. "type": "integer"
  5103. },
  5104. "buildtype": {
  5105. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  5106. "type": "integer"
  5107. },
  5108. "buyorsell": {
  5109. "description": "方向 - 0:买 1:卖",
  5110. "type": "integer"
  5111. },
  5112. "charge": {
  5113. "description": "手续费",
  5114. "type": "number"
  5115. },
  5116. "closecharge": {
  5117. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  5118. "type": "number"
  5119. },
  5120. "closeexchagechargevalue": {
  5121. "description": "平仓交易所手续费设置值",
  5122. "type": "number"
  5123. },
  5124. "closefeealgorithm": {
  5125. "description": "平仓手续费收取方式 1:比率 2:固定",
  5126. "type": "integer"
  5127. },
  5128. "closememberchargevalue": {
  5129. "description": "平仓会员手续费设置值",
  5130. "type": "number"
  5131. },
  5132. "closepl": {
  5133. "description": "平仓盈亏",
  5134. "type": "number"
  5135. },
  5136. "closepl2": {
  5137. "description": "平仓盈亏[逐笔]",
  5138. "type": "number"
  5139. },
  5140. "closeqty": {
  5141. "description": "平仓数量(先建后平操作 需要记录)",
  5142. "type": "integer"
  5143. },
  5144. "creditamount": {
  5145. "description": "授信金额",
  5146. "type": "number"
  5147. },
  5148. "gcaccountid": {
  5149. "description": "账户ID[合约币种]",
  5150. "type": "integer"
  5151. },
  5152. "goodscode": {
  5153. "description": "商品代码",
  5154. "type": "string"
  5155. },
  5156. "goodsid": {
  5157. "description": "商品ID",
  5158. "type": "integer"
  5159. },
  5160. "goodsname": {
  5161. "description": "商品名称",
  5162. "type": "string"
  5163. },
  5164. "intclosepl": {
  5165. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  5166. "type": "integer"
  5167. },
  5168. "isconfirmexercise": {
  5169. "description": "是否确认行权- 0:否 1:是",
  5170. "type": "integer"
  5171. },
  5172. "ismain": {
  5173. "description": "是否主单 - 0:不是 1:是",
  5174. "type": "integer"
  5175. },
  5176. "ispreexercise": {
  5177. "description": "是否预申报- 0:否 1:是",
  5178. "type": "integer"
  5179. },
  5180. "isreckoned": {
  5181. "description": "是否结算 - 0:未结算 1:已结算",
  5182. "type": "integer"
  5183. },
  5184. "listingselecttype": {
  5185. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5186. "type": "integer"
  5187. },
  5188. "marketid": {
  5189. "description": "市场ID",
  5190. "type": "integer"
  5191. },
  5192. "marketname": {
  5193. "description": "市场名称",
  5194. "type": "string"
  5195. },
  5196. "matchaccountid": {
  5197. "description": "对手账号id",
  5198. "type": "integer"
  5199. },
  5200. "memberuserid": {
  5201. "description": "会员id 个人投资者 需要填写",
  5202. "type": "integer"
  5203. },
  5204. "opencharge": {
  5205. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  5206. "type": "number"
  5207. },
  5208. "openexchagechargevalue": {
  5209. "description": "建仓交易所手续费设置值",
  5210. "type": "number"
  5211. },
  5212. "openfeealgorithm": {
  5213. "description": "建仓手续费收取方式 1:比率 2:固定",
  5214. "type": "integer"
  5215. },
  5216. "openmemberchargevalue": {
  5217. "description": "建仓会员手续费设置值",
  5218. "type": "number"
  5219. },
  5220. "openqty": {
  5221. "description": "开仓数量(先建后平操作 需要记录)",
  5222. "type": "integer"
  5223. },
  5224. "optiontype": {
  5225. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5226. "type": "integer"
  5227. },
  5228. "orderid": {
  5229. "description": "委托单号",
  5230. "type": "string"
  5231. },
  5232. "performanceplanid": {
  5233. "description": "履约计划ID[期权]",
  5234. "type": "integer"
  5235. },
  5236. "performancestatus": {
  5237. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  5238. "type": "integer"
  5239. },
  5240. "preexerciseprice": {
  5241. "description": "预申报价格",
  5242. "type": "number"
  5243. },
  5244. "premium": {
  5245. "description": "权利金 - [持仓单的权利金]",
  5246. "type": "number"
  5247. },
  5248. "relatedouttradeid": {
  5249. "description": "关联外部成交单ID",
  5250. "type": "integer"
  5251. },
  5252. "status": {
  5253. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  5254. "type": "integer"
  5255. },
  5256. "tradeamount": {
  5257. "description": "成交金额[账户币种,用于所有权]",
  5258. "type": "number"
  5259. },
  5260. "tradedate": {
  5261. "description": "交易日(yyyyMMdd)",
  5262. "type": "string"
  5263. },
  5264. "tradeid": {
  5265. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5266. "type": "string"
  5267. },
  5268. "trademode": {
  5269. "description": "交易模式",
  5270. "type": "integer"
  5271. },
  5272. "tradeprice": {
  5273. "description": "成交价格",
  5274. "type": "number"
  5275. },
  5276. "tradeproperty": {
  5277. "description": "交易属性",
  5278. "type": "integer"
  5279. },
  5280. "tradeqty": {
  5281. "description": "成交数量",
  5282. "type": "integer"
  5283. },
  5284. "tradetime": {
  5285. "description": "成交时间",
  5286. "type": "string"
  5287. },
  5288. "tradetype": {
  5289. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  5290. "type": "integer"
  5291. }
  5292. }
  5293. },
  5294. "order.QueryTradeOrderDetailRsp": {
  5295. "type": "object",
  5296. "required": [
  5297. "accountid",
  5298. "buildtype",
  5299. "buyorsell",
  5300. "goodsid",
  5301. "marketid",
  5302. "operatetype",
  5303. "orderqty",
  5304. "ordertime",
  5305. "pricemode",
  5306. "tradedate",
  5307. "validtype"
  5308. ],
  5309. "properties": {
  5310. "accountid": {
  5311. "description": "账户ID[报价币种]",
  5312. "type": "integer"
  5313. },
  5314. "buildtype": {
  5315. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5316. "type": "integer"
  5317. },
  5318. "buyorsell": {
  5319. "description": "买卖 - 0:买 1:卖",
  5320. "type": "integer"
  5321. },
  5322. "cancelorderid": {
  5323. "description": "撤单单号(撤单时填写)",
  5324. "type": "string"
  5325. },
  5326. "cancelqty": {
  5327. "description": "撤单数量",
  5328. "type": "integer"
  5329. },
  5330. "clienttype": {
  5331. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5332. "type": "integer"
  5333. },
  5334. "closefreezecharge": {
  5335. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5336. "type": "number"
  5337. },
  5338. "closeqty": {
  5339. "description": "平仓数量(先建后平操作 需要记录)",
  5340. "type": "integer"
  5341. },
  5342. "closetradeqty": {
  5343. "description": "平仓成交数量(先建后平操作,需要记录)",
  5344. "type": "integer"
  5345. },
  5346. "closeunfreezecharge": {
  5347. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5348. "type": "number"
  5349. },
  5350. "delistingtype": {
  5351. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5352. "type": "integer"
  5353. },
  5354. "enableqty": {
  5355. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  5356. "type": "integer"
  5357. },
  5358. "freezecharge": {
  5359. "description": "冻结手续费",
  5360. "type": "number"
  5361. },
  5362. "freezemargin": {
  5363. "description": "冻结保证金(冻结交易金额)",
  5364. "type": "number"
  5365. },
  5366. "goodscode": {
  5367. "description": "商品代码",
  5368. "type": "string"
  5369. },
  5370. "goodsid": {
  5371. "description": "商品ID",
  5372. "type": "integer"
  5373. },
  5374. "goodsname": {
  5375. "description": "商品名称",
  5376. "type": "string"
  5377. },
  5378. "listingselecttype": {
  5379. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5380. "type": "integer"
  5381. },
  5382. "marketid": {
  5383. "description": "市场ID",
  5384. "type": "integer"
  5385. },
  5386. "marketname": {
  5387. "description": "市场名称",
  5388. "type": "string"
  5389. },
  5390. "openfreezecharge": {
  5391. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5392. "type": "number"
  5393. },
  5394. "openqty": {
  5395. "description": "开仓数量(先建后平操作,需要记录)",
  5396. "type": "integer"
  5397. },
  5398. "opentradeqty": {
  5399. "description": "开仓成交数量(先建后平操作,需要记录)",
  5400. "type": "integer"
  5401. },
  5402. "openunfreezecharge": {
  5403. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5404. "type": "number"
  5405. },
  5406. "operatetype": {
  5407. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5408. "type": "integer"
  5409. },
  5410. "operatorid": {
  5411. "description": "登录账号(LoginID)",
  5412. "type": "integer"
  5413. },
  5414. "orderid": {
  5415. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5416. "type": "string"
  5417. },
  5418. "orderprice": {
  5419. "description": "委托价格",
  5420. "type": "number"
  5421. },
  5422. "orderqty": {
  5423. "description": "委托数量",
  5424. "type": "integer"
  5425. },
  5426. "ordersrc": {
  5427. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5428. "type": "integer"
  5429. },
  5430. "orderstatus": {
  5431. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5432. "type": "integer"
  5433. },
  5434. "ordertime": {
  5435. "description": "委托时间",
  5436. "type": "string"
  5437. },
  5438. "preorderid": {
  5439. "description": "关联预埋单号(止盈止损单时填写)",
  5440. "type": "string"
  5441. },
  5442. "pricemode": {
  5443. "description": "取价方式 - 1:市价 2: 限价",
  5444. "type": "integer"
  5445. },
  5446. "relatedid": {
  5447. "description": "关联单号(交割单)",
  5448. "type": "string"
  5449. },
  5450. "tradedate": {
  5451. "description": "交易日(yyyyMMdd)",
  5452. "type": "string"
  5453. },
  5454. "trademode": {
  5455. "description": "交易模式",
  5456. "type": "integer"
  5457. },
  5458. "tradeqty": {
  5459. "description": "成交数量",
  5460. "type": "integer"
  5461. },
  5462. "unfreezecharge": {
  5463. "description": "解冻手续费",
  5464. "type": "number"
  5465. },
  5466. "unfreezemargin": {
  5467. "description": "解冻保证金",
  5468. "type": "number"
  5469. },
  5470. "validtime": {
  5471. "description": "有效期限",
  5472. "type": "string"
  5473. },
  5474. "validtype": {
  5475. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5476. "type": "integer"
  5477. },
  5478. "volumetype": {
  5479. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5480. "type": "integer"
  5481. }
  5482. }
  5483. },
  5484. "order.QueryTradePositionRsp": {
  5485. "type": "object",
  5486. "required": [
  5487. "goodsid"
  5488. ],
  5489. "properties": {
  5490. "accountid": {
  5491. "description": "资金账户",
  5492. "type": "integer"
  5493. },
  5494. "agreeunit": {
  5495. "description": "合约单位",
  5496. "type": "number"
  5497. },
  5498. "averageprice": {
  5499. "description": "持仓均价",
  5500. "type": "number"
  5501. },
  5502. "buyorsell": {
  5503. "description": "方向 - 0:买 1:卖",
  5504. "type": "integer"
  5505. },
  5506. "closetotalqty": {
  5507. "description": "平仓总数量",
  5508. "type": "integer"
  5509. },
  5510. "curholderamount": {
  5511. "description": "当前持仓总金额[商品币种]",
  5512. "type": "number"
  5513. },
  5514. "curpositionqty": {
  5515. "description": "当前持仓总数量",
  5516. "type": "integer"
  5517. },
  5518. "currencyid": {
  5519. "description": "报价货币ID",
  5520. "type": "integer"
  5521. },
  5522. "curtdposition": {
  5523. "description": "期末今日头寸",
  5524. "type": "integer"
  5525. },
  5526. "decimalplace": {
  5527. "description": "报价小数位",
  5528. "type": "integer"
  5529. },
  5530. "enableqty": {
  5531. "description": "可用量",
  5532. "type": "integer"
  5533. },
  5534. "fretdposition": {
  5535. "description": "冻结今日头寸",
  5536. "type": "integer"
  5537. },
  5538. "frozenqty": {
  5539. "description": "持仓冻结数量",
  5540. "type": "integer"
  5541. },
  5542. "goodscode": {
  5543. "description": "商品代码",
  5544. "type": "string"
  5545. },
  5546. "goodsid": {
  5547. "description": "商品Id",
  5548. "type": "integer"
  5549. },
  5550. "goodsname": {
  5551. "description": "商品名称",
  5552. "type": "string"
  5553. },
  5554. "goodunit": {
  5555. "description": "报价单位",
  5556. "type": "string"
  5557. },
  5558. "goodunitid": {
  5559. "description": "报价单位ID",
  5560. "type": "integer"
  5561. },
  5562. "holderamount": {
  5563. "description": "期初持仓总金额[商品币种]",
  5564. "type": "number"
  5565. },
  5566. "marketid": {
  5567. "description": "所属市场ID",
  5568. "type": "integer"
  5569. },
  5570. "openreqqty": {
  5571. "description": "开仓申请数量(用于比较最大持仓数量)",
  5572. "type": "integer"
  5573. },
  5574. "opentotalqty": {
  5575. "description": "开仓总数量",
  5576. "type": "integer"
  5577. },
  5578. "otherfrozenqty": {
  5579. "description": "持仓其他冻结数量(交割冻结)",
  5580. "type": "integer"
  5581. },
  5582. "positionqty": {
  5583. "description": "期初持仓数量",
  5584. "type": "integer"
  5585. },
  5586. "tnqty": {
  5587. "description": "T+N冻结总量",
  5588. "type": "integer"
  5589. },
  5590. "tnusedqty": {
  5591. "description": "T+N使用量(可以使用T+N的冻结数量)",
  5592. "type": "integer"
  5593. },
  5594. "trademode": {
  5595. "description": "交易模式",
  5596. "type": "integer"
  5597. }
  5598. }
  5599. },
  5600. "quote.HistoryData": {
  5601. "type": "object",
  5602. "properties": {
  5603. "Opened": {
  5604. "description": "开盘价",
  5605. "type": "number"
  5606. },
  5607. "closed": {
  5608. "description": "收盘价",
  5609. "type": "number"
  5610. },
  5611. "highest": {
  5612. "description": "收盘价",
  5613. "type": "number"
  5614. },
  5615. "holdVolume": {
  5616. "description": "持仓量",
  5617. "type": "number"
  5618. },
  5619. "lowest": {
  5620. "description": "最低价",
  5621. "type": "number"
  5622. },
  5623. "settle": {
  5624. "description": "结算价",
  5625. "type": "number"
  5626. },
  5627. "timeStamp": {
  5628. "description": "开盘时间",
  5629. "type": "string"
  5630. },
  5631. "totleTurnover": {
  5632. "description": "总金额",
  5633. "type": "number"
  5634. },
  5635. "totleVolume": {
  5636. "description": "总量",
  5637. "type": "number"
  5638. }
  5639. }
  5640. },
  5641. "quote.QueryTSDataRsp": {
  5642. "type": "object",
  5643. "properties": {
  5644. "decimalPlace": {
  5645. "description": "小数位",
  5646. "type": "integer"
  5647. },
  5648. "endTime": {
  5649. "description": "结束时间",
  5650. "type": "string"
  5651. },
  5652. "goodsCode": {
  5653. "description": "商品代码",
  5654. "type": "string"
  5655. },
  5656. "historyDatas": {
  5657. "description": "历史数据",
  5658. "type": "array",
  5659. "items": {
  5660. "$ref": "#/definitions/quote.HistoryData"
  5661. }
  5662. },
  5663. "preSettle": {
  5664. "description": "昨结",
  5665. "type": "number"
  5666. },
  5667. "startTime": {
  5668. "description": "开始时间",
  5669. "type": "string"
  5670. },
  5671. "tradeDate": {
  5672. "description": "交易日",
  5673. "type": "string"
  5674. }
  5675. }
  5676. },
  5677. "szdz.QueryConvertLogRsp": {
  5678. "type": "object",
  5679. "required": [
  5680. "logid"
  5681. ],
  5682. "properties": {
  5683. "accountid": {
  5684. "description": "资金账户ID",
  5685. "type": "integer"
  5686. },
  5687. "clientticket": {
  5688. "description": "客户端流水号",
  5689. "type": "string"
  5690. },
  5691. "converttype": {
  5692. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  5693. "type": "integer"
  5694. },
  5695. "createtime": {
  5696. "description": "记账时间",
  5697. "type": "string"
  5698. },
  5699. "daymaxvalue": {
  5700. "description": "配置当日最大转入限制",
  5701. "type": "number"
  5702. },
  5703. "daymaxvalue2": {
  5704. "description": "配置当日最大转入限制(转入)",
  5705. "type": "number"
  5706. },
  5707. "goodscode": {
  5708. "description": "商品代码",
  5709. "type": "string"
  5710. },
  5711. "goodsname": {
  5712. "description": "商品名称",
  5713. "type": "string"
  5714. },
  5715. "handlestatus": {
  5716. "description": "处理状态",
  5717. "type": "integer"
  5718. },
  5719. "innergoodsid": {
  5720. "description": "内部商品ID",
  5721. "type": "integer"
  5722. },
  5723. "inratio": {
  5724. "description": "配置转入比值",
  5725. "type": "integer"
  5726. },
  5727. "invalue": {
  5728. "description": "目标值",
  5729. "type": "number"
  5730. },
  5731. "logid": {
  5732. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5733. "type": "integer"
  5734. },
  5735. "mobile": {
  5736. "description": "手机号码(加密存储)",
  5737. "type": "string"
  5738. },
  5739. "outergoodscode": {
  5740. "description": "外部商品代码[JD\\PD]",
  5741. "type": "string"
  5742. },
  5743. "outratio": {
  5744. "description": "配置转出比值",
  5745. "type": "integer"
  5746. },
  5747. "outvalue": {
  5748. "description": "源值",
  5749. "type": "number"
  5750. },
  5751. "pddecimalplace": {
  5752. "description": "PD小数位",
  5753. "type": "integer"
  5754. },
  5755. "qty": {
  5756. "description": "数量",
  5757. "type": "string"
  5758. },
  5759. "remark": {
  5760. "description": "备注",
  5761. "type": "string"
  5762. },
  5763. "sessionid": {
  5764. "description": "会话ID",
  5765. "type": "integer"
  5766. },
  5767. "timemaxvalue": {
  5768. "description": "配置单次最大转入限制",
  5769. "type": "number"
  5770. },
  5771. "timemaxvalue2": {
  5772. "description": "配置单次最大转入限制(转入)",
  5773. "type": "number"
  5774. },
  5775. "timeminvalue": {
  5776. "description": "配置单次最小数量限制",
  5777. "type": "number"
  5778. },
  5779. "timeminvalue2": {
  5780. "description": "配置单次最小数量限制(转入)",
  5781. "type": "number"
  5782. },
  5783. "tradedate": {
  5784. "description": "交易日(yyyyMMdd)",
  5785. "type": "string"
  5786. },
  5787. "userid": {
  5788. "description": "用户ID",
  5789. "type": "integer"
  5790. }
  5791. }
  5792. },
  5793. "szdz.QueryGoodsPickupRsp": {
  5794. "type": "object",
  5795. "required": [
  5796. "takeorderid"
  5797. ],
  5798. "properties": {
  5799. "accountid": {
  5800. "description": "账户ID",
  5801. "type": "integer"
  5802. },
  5803. "address": {
  5804. "description": "提货人详细地址",
  5805. "type": "string"
  5806. },
  5807. "auditer": {
  5808. "description": "审核人",
  5809. "type": "integer"
  5810. },
  5811. "audittime": {
  5812. "description": "审核时间",
  5813. "type": "string"
  5814. },
  5815. "cardnum": {
  5816. "description": "提货人证件号码",
  5817. "type": "string"
  5818. },
  5819. "cardtypeid": {
  5820. "description": "提货人证件类型",
  5821. "type": "integer"
  5822. },
  5823. "checkremark": {
  5824. "description": "审核备注",
  5825. "type": "string"
  5826. },
  5827. "goodscode": {
  5828. "description": "商品代码",
  5829. "type": "string"
  5830. },
  5831. "goodsid": {
  5832. "description": "商品ID",
  5833. "type": "integer"
  5834. },
  5835. "goodsname": {
  5836. "description": "商品名称",
  5837. "type": "string"
  5838. },
  5839. "handlestatus": {
  5840. "description": "处理状态",
  5841. "type": "integer"
  5842. },
  5843. "marketid": {
  5844. "description": "市场ID",
  5845. "type": "integer"
  5846. },
  5847. "phonenum": {
  5848. "description": "提货人联系方式",
  5849. "type": "string"
  5850. },
  5851. "qty": {
  5852. "description": "提货数量",
  5853. "type": "number"
  5854. },
  5855. "recivername": {
  5856. "description": "提货人姓名",
  5857. "type": "string"
  5858. },
  5859. "reqtime": {
  5860. "description": "更新时间",
  5861. "type": "string"
  5862. },
  5863. "takemode": {
  5864. "description": "提货方式 - 2:自提 3:配送",
  5865. "type": "integer"
  5866. },
  5867. "takeorderid": {
  5868. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  5869. "type": "string"
  5870. },
  5871. "takeorderstatus": {
  5872. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5873. "type": "integer"
  5874. },
  5875. "takeremark": {
  5876. "description": "提货备注",
  5877. "type": "string"
  5878. },
  5879. "tradedate": {
  5880. "description": "交易日(yyyyMMdd)",
  5881. "type": "string"
  5882. },
  5883. "userid": {
  5884. "description": "用户ID",
  5885. "type": "integer"
  5886. }
  5887. }
  5888. },
  5889. "szdz.QueryRecieptOrderRsp": {
  5890. "type": "object",
  5891. "properties": {
  5892. "accountName": {
  5893. "description": "所属账号名称(已脱敏)",
  5894. "type": "string"
  5895. },
  5896. "accountid": {
  5897. "description": "资金账号",
  5898. "type": "integer"
  5899. },
  5900. "buyorsell": {
  5901. "description": "方向 - 0:买 1:卖",
  5902. "type": "integer"
  5903. },
  5904. "enableqty": {
  5905. "description": "可摘数量",
  5906. "type": "integer"
  5907. },
  5908. "goodscode": {
  5909. "description": "商品代码",
  5910. "type": "string"
  5911. },
  5912. "goodsid": {
  5913. "description": "商品ID",
  5914. "type": "integer"
  5915. },
  5916. "goodsname": {
  5917. "description": "商品名称",
  5918. "type": "string"
  5919. },
  5920. "orderid": {
  5921. "description": "委托单号",
  5922. "type": "string"
  5923. },
  5924. "orderprice": {
  5925. "description": "委托价格",
  5926. "type": "number"
  5927. },
  5928. "tradedate": {
  5929. "description": "交易日(yyyyMMdd)",
  5930. "type": "string"
  5931. }
  5932. }
  5933. },
  5934. "szdz.QuerySZDZTradePositionRsp": {
  5935. "type": "object",
  5936. "properties": {
  5937. "accountid": {
  5938. "description": "账号Id",
  5939. "type": "integer"
  5940. },
  5941. "agreeunit": {
  5942. "description": "合约单位",
  5943. "type": "number"
  5944. },
  5945. "averageprice": {
  5946. "description": "持仓均价",
  5947. "type": "number"
  5948. },
  5949. "buyorsell": {
  5950. "description": "方向 - 0:买 1:卖",
  5951. "type": "integer"
  5952. },
  5953. "closetotalqty": {
  5954. "description": "平仓总数量",
  5955. "type": "integer"
  5956. },
  5957. "curholderamount": {
  5958. "description": "当前持仓总金额",
  5959. "type": "number"
  5960. },
  5961. "curpositionqty": {
  5962. "description": "当前持仓总数量",
  5963. "type": "integer"
  5964. },
  5965. "currencyid": {
  5966. "description": "报价货币ID",
  5967. "type": "integer"
  5968. },
  5969. "curtdposition": {
  5970. "description": "期末今日头寸",
  5971. "type": "integer"
  5972. },
  5973. "decimalplace": {
  5974. "description": "报价小数位",
  5975. "type": "integer"
  5976. },
  5977. "enableqty": {
  5978. "description": "可用量",
  5979. "type": "integer"
  5980. },
  5981. "fretdposition": {
  5982. "description": "冻结今日头寸",
  5983. "type": "integer"
  5984. },
  5985. "frozenqty": {
  5986. "description": "持仓冻结数量",
  5987. "type": "integer"
  5988. },
  5989. "goodscode": {
  5990. "description": "商品代码(内部)",
  5991. "type": "string"
  5992. },
  5993. "goodsid": {
  5994. "description": "商品Id",
  5995. "type": "integer"
  5996. },
  5997. "goodsname": {
  5998. "description": "商品名称",
  5999. "type": "string"
  6000. },
  6001. "goodunit": {
  6002. "description": "报价单位",
  6003. "type": "string"
  6004. },
  6005. "goodunitid": {
  6006. "description": "报价单位ID",
  6007. "type": "integer"
  6008. },
  6009. "holderamount": {
  6010. "description": "期初持仓总金额",
  6011. "type": "number"
  6012. },
  6013. "marketid": {
  6014. "description": "市场ID",
  6015. "type": "integer"
  6016. },
  6017. "openreqqty": {
  6018. "description": "开仓申请数量",
  6019. "type": "integer"
  6020. },
  6021. "opentotalqty": {
  6022. "description": "开仓总数量",
  6023. "type": "integer"
  6024. },
  6025. "otherfrozenqty": {
  6026. "description": "持仓其他冻结数量(交割冻结)",
  6027. "type": "integer"
  6028. },
  6029. "positionqty": {
  6030. "description": "期初持仓数量",
  6031. "type": "integer"
  6032. },
  6033. "szdz3freezqty": {
  6034. "description": "尚志大宗转换冻结总数量",
  6035. "type": "integer"
  6036. },
  6037. "tnqty": {
  6038. "description": "T+N冻结总量",
  6039. "type": "integer"
  6040. },
  6041. "tnusedqty": {
  6042. "description": "T+N使用量",
  6043. "type": "integer"
  6044. },
  6045. "trademode": {
  6046. "description": "交易模式",
  6047. "type": "integer"
  6048. },
  6049. "usedmargin": {
  6050. "description": "占用保证金",
  6051. "type": "number"
  6052. }
  6053. }
  6054. },
  6055. "taaccount.QueryAmountLogRsp": {
  6056. "type": "object",
  6057. "required": [
  6058. "accountid",
  6059. "amount",
  6060. "amountadjusttype",
  6061. "autoid",
  6062. "balance",
  6063. "createtime",
  6064. "currentbalance",
  6065. "operatetype"
  6066. ],
  6067. "properties": {
  6068. "OPERATETYPENAME": {
  6069. "description": "资金操作类型名称",
  6070. "type": "string"
  6071. },
  6072. "accountid": {
  6073. "description": "资金账户ID",
  6074. "type": "integer"
  6075. },
  6076. "agoodscode": {
  6077. "description": "竞拍商品代码",
  6078. "type": "string"
  6079. },
  6080. "agoodsname": {
  6081. "description": "竞拍商品名称",
  6082. "type": "string"
  6083. },
  6084. "amount": {
  6085. "description": "资金金额",
  6086. "type": "number"
  6087. },
  6088. "amountadjusttype": {
  6089. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  6090. "type": "integer"
  6091. },
  6092. "autoid": {
  6093. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  6094. "type": "integer"
  6095. },
  6096. "balance": {
  6097. "description": "期初余额",
  6098. "type": "number"
  6099. },
  6100. "businesscode": {
  6101. "description": "业务编号",
  6102. "type": "integer"
  6103. },
  6104. "createtime": {
  6105. "description": "发生时间",
  6106. "type": "string"
  6107. },
  6108. "currencyid": {
  6109. "description": "币种ID",
  6110. "type": "integer"
  6111. },
  6112. "currentbalance": {
  6113. "description": "期末余额(变动后金额)",
  6114. "type": "number"
  6115. },
  6116. "dgoodscode": {
  6117. "description": "交割商品代码",
  6118. "type": "string"
  6119. },
  6120. "dgoodsname": {
  6121. "description": "交割商品名称",
  6122. "type": "string"
  6123. },
  6124. "goodscode": {
  6125. "description": "商品代码",
  6126. "type": "string"
  6127. },
  6128. "goodsid": {
  6129. "description": "商品ID",
  6130. "type": "integer"
  6131. },
  6132. "goodsname": {
  6133. "description": "商品名称",
  6134. "type": "string"
  6135. },
  6136. "marketid": {
  6137. "description": "市场ID",
  6138. "type": "integer"
  6139. },
  6140. "marketname": {
  6141. "description": "市场名称",
  6142. "type": "string"
  6143. },
  6144. "moneyticket": {
  6145. "description": "资金流水号:银行端流水号",
  6146. "type": "integer"
  6147. },
  6148. "operatetype": {
  6149. "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:营销收款",
  6150. "type": "integer"
  6151. },
  6152. "relationorderid": {
  6153. "description": "关联单号",
  6154. "type": "string"
  6155. },
  6156. "remark": {
  6157. "description": "备注",
  6158. "type": "string"
  6159. },
  6160. "trademode": {
  6161. "description": "交易模式",
  6162. "type": "integer"
  6163. }
  6164. }
  6165. },
  6166. "taaccount.QueryHisAmountLogRsp": {
  6167. "type": "object",
  6168. "required": [
  6169. "accountid",
  6170. "amount",
  6171. "amountadjusttype",
  6172. "autoid",
  6173. "balance",
  6174. "createtime",
  6175. "currentbalance",
  6176. "histradedate",
  6177. "operatetype"
  6178. ],
  6179. "properties": {
  6180. "OPERATETYPENAME": {
  6181. "description": "资金操作类型名称",
  6182. "type": "string"
  6183. },
  6184. "accountid": {
  6185. "description": "资金账户ID",
  6186. "type": "integer"
  6187. },
  6188. "agoodscode": {
  6189. "description": "竞拍商品代码",
  6190. "type": "string"
  6191. },
  6192. "agoodsname": {
  6193. "description": "竞拍商品名称",
  6194. "type": "string"
  6195. },
  6196. "amount": {
  6197. "description": "资金金额",
  6198. "type": "number"
  6199. },
  6200. "amountadjusttype": {
  6201. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  6202. "type": "integer"
  6203. },
  6204. "autoid": {
  6205. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  6206. "type": "integer"
  6207. },
  6208. "balance": {
  6209. "description": "期初余额",
  6210. "type": "number"
  6211. },
  6212. "businesscode": {
  6213. "description": "业务编号",
  6214. "type": "integer"
  6215. },
  6216. "createtime": {
  6217. "description": "发生时间",
  6218. "type": "string"
  6219. },
  6220. "currencyid": {
  6221. "description": "币种ID",
  6222. "type": "integer"
  6223. },
  6224. "currentbalance": {
  6225. "description": "期末余额(变动后金额)",
  6226. "type": "number"
  6227. },
  6228. "dgoodscode": {
  6229. "description": "交割商品代码",
  6230. "type": "string"
  6231. },
  6232. "dgoodsname": {
  6233. "description": "交割商品名称",
  6234. "type": "string"
  6235. },
  6236. "goodscode": {
  6237. "description": "商品代码",
  6238. "type": "string"
  6239. },
  6240. "goodsid": {
  6241. "description": "商品ID",
  6242. "type": "integer"
  6243. },
  6244. "goodsname": {
  6245. "description": "商品名称",
  6246. "type": "string"
  6247. },
  6248. "histradedate": {
  6249. "description": "历史交易日",
  6250. "type": "string"
  6251. },
  6252. "isvaliddata": {
  6253. "description": "是否有效 - 0:无效 1:有效",
  6254. "type": "integer"
  6255. },
  6256. "marketid": {
  6257. "description": "市场ID",
  6258. "type": "integer"
  6259. },
  6260. "marketname": {
  6261. "description": "市场名称",
  6262. "type": "string"
  6263. },
  6264. "moneyticket": {
  6265. "description": "资金流水号:银行端流水号",
  6266. "type": "integer"
  6267. },
  6268. "operatetype": {
  6269. "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:营销收款",
  6270. "type": "integer"
  6271. },
  6272. "relationorderid": {
  6273. "description": "关联单号",
  6274. "type": "string"
  6275. },
  6276. "remark": {
  6277. "description": "备注",
  6278. "type": "string"
  6279. },
  6280. "trademode": {
  6281. "description": "交易模式",
  6282. "type": "integer"
  6283. }
  6284. }
  6285. }
  6286. },
  6287. "securityDefinitions": {
  6288. "ApiKeyAuth": {
  6289. "type": "apiKey",
  6290. "name": "Authorization",
  6291. "in": "header"
  6292. }
  6293. }
  6294. }`
  6295. type swaggerInfo struct {
  6296. Version string
  6297. Host string
  6298. BasePath string
  6299. Schemes []string
  6300. Title string
  6301. Description string
  6302. }
  6303. // SwaggerInfo holds exported Swagger Info so clients can modify it
  6304. var SwaggerInfo = swaggerInfo{
  6305. Version: "1.0",
  6306. Host: "",
  6307. BasePath: "/api",
  6308. Schemes: []string{},
  6309. Title: "MTP2.0 查询服务 API",
  6310. Description: "新的查询服务,替代原通用查询服务。",
  6311. }
  6312. type s struct{}
  6313. func (s *s) ReadDoc() string {
  6314. sInfo := SwaggerInfo
  6315. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  6316. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  6317. "marshal": func(v interface{}) string {
  6318. a, _ := json.Marshal(v)
  6319. return string(a)
  6320. },
  6321. }).Parse(doc)
  6322. if err != nil {
  6323. return doc
  6324. }
  6325. var tpl bytes.Buffer
  6326. if err := t.Execute(&tpl, sInfo); err != nil {
  6327. return doc
  6328. }
  6329. return tpl.String()
  6330. }
  6331. func init() {
  6332. swag.Register(swag.Name, &s{})
  6333. }