docs.go 297 KB

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