docs.go 249 KB

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