docs.go 275 KB

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