swagger.yaml 179 KB

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