docs.go 275 KB

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