swagger.yaml 178 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456
  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.SoptContractDetail:
  1670. properties:
  1671. deliverygoodsdesc:
  1672. description: 现货品种说明
  1673. type: string
  1674. deliverygoodsid:
  1675. description: 现货品种ID
  1676. type: integer
  1677. deliverygoodsname:
  1678. description: 现货品种名称
  1679. type: string
  1680. pointdesc:
  1681. description: 点价描述
  1682. type: string
  1683. producttype:
  1684. description: 产品类型 1:标准仓单 2:等标 3:非标
  1685. type: integer
  1686. producttypename:
  1687. description: 产品类型名称
  1688. type: string
  1689. spotPointOrderVoList:
  1690. description: 点价列表
  1691. items:
  1692. $ref: '#/definitions/erms3.SpotPointOrder'
  1693. type: array
  1694. spotPriceOrderList:
  1695. description: 定价列表
  1696. items:
  1697. $ref: '#/definitions/erms3.SpotPriceOrder'
  1698. type: array
  1699. unitname:
  1700. description: 单位名称
  1701. type: string
  1702. warehouseid:
  1703. description: 仓库ID
  1704. type: integer
  1705. warehousename:
  1706. description: 仓库名称
  1707. type: string
  1708. wrstandardid:
  1709. description: 交易标的ID
  1710. type: integer
  1711. wrstandardname:
  1712. description: 交易标的名称
  1713. type: string
  1714. required:
  1715. - deliverygoodsid
  1716. - producttype
  1717. - unitname
  1718. - warehouseid
  1719. - wrstandardid
  1720. - wrstandardname
  1721. type: object
  1722. erms3.SpotPointOrder:
  1723. properties:
  1724. basic:
  1725. description: 基差
  1726. type: number
  1727. deliveryendtdate:
  1728. description: 交收结束日期
  1729. type: string
  1730. deliverystartdate:
  1731. description: 交收开始日期
  1732. type: string
  1733. enddate:
  1734. description: 点价结束日期
  1735. type: string
  1736. goodsid:
  1737. description: 商品ID
  1738. type: integer
  1739. goodsname:
  1740. description: 商品名称
  1741. type: string
  1742. qty:
  1743. description: 数量
  1744. type: number
  1745. startdate:
  1746. description: 点价开始日期
  1747. type: string
  1748. required:
  1749. - basic
  1750. - goodsid
  1751. - qty
  1752. type: object
  1753. erms3.SpotPriceOrder:
  1754. properties:
  1755. amount:
  1756. description: 金额
  1757. type: number
  1758. deliveryendtdate:
  1759. description: 交收结束日期
  1760. type: string
  1761. deliverystartdate:
  1762. description: 交收开始日期
  1763. type: string
  1764. price:
  1765. description: 价格
  1766. type: number
  1767. qty:
  1768. description: 数量
  1769. type: number
  1770. required:
  1771. - amount
  1772. - price
  1773. - qty
  1774. type: object
  1775. hsby.GetHsbyMyCountRsp:
  1776. properties:
  1777. myOrderDetailListingCount:
  1778. description: 我的订单求购中数量
  1779. type: integer
  1780. myOrderDetailPreCount:
  1781. description: 我的订单抢购中数量
  1782. type: integer
  1783. myPackageUnReceiveCount:
  1784. description: 我的包裹待收货数量
  1785. type: integer
  1786. myPackageUnSendCount:
  1787. description: 我的包裹待发货数量
  1788. type: integer
  1789. type: object
  1790. hsby.QueryProvincesAndCitiesRsp:
  1791. properties:
  1792. cities:
  1793. description: 市
  1794. items:
  1795. $ref: '#/definitions/models.Division'
  1796. type: array
  1797. province:
  1798. $ref: '#/definitions/models.Division'
  1799. description: 省
  1800. type: object
  1801. models.Division:
  1802. properties:
  1803. autoid:
  1804. description: 自增ID
  1805. type: integer
  1806. divisioncode:
  1807. description: 行政代码
  1808. type: string
  1809. divisionlevel:
  1810. description: 行政级别
  1811. type: string
  1812. divisionname:
  1813. description: 行政名称
  1814. type: string
  1815. modifierid:
  1816. description: 修改人
  1817. type: integer
  1818. modifytime:
  1819. description: 修改时间
  1820. type: string
  1821. parentcode:
  1822. description: 上级行政代码
  1823. type: string
  1824. pathname:
  1825. description: 路径名称
  1826. type: string
  1827. postcode:
  1828. description: 邮政编码
  1829. type: string
  1830. separablename:
  1831. description: 可拆分的全称
  1832. type: string
  1833. shortcode:
  1834. description: 地区简码
  1835. type: string
  1836. required:
  1837. - autoid
  1838. - divisioncode
  1839. type: object
  1840. models.GoodsIDAndName:
  1841. properties:
  1842. goodscode:
  1843. description: 商品代码(内部)
  1844. type: string
  1845. goodsid:
  1846. description: 商品ID(自增ID SEQ_GOODS)
  1847. type: integer
  1848. goodsname:
  1849. description: 商品名称
  1850. type: string
  1851. marketid:
  1852. description: 所属市场ID
  1853. type: integer
  1854. required:
  1855. - goodscode
  1856. - goodsid
  1857. - goodsname
  1858. - marketid
  1859. type: object
  1860. models.HsbyBuyMyTradeDetail:
  1861. properties:
  1862. accountid:
  1863. description: 账户ID[报价币种]
  1864. type: integer
  1865. agreeunit:
  1866. description: 合约单位
  1867. type: number
  1868. amount:
  1869. description: 金额 = 价格 * 数量 * 合约单位
  1870. type: number
  1871. buyorsell:
  1872. description: 买卖 - 0:买 1:卖
  1873. type: integer
  1874. currencysign:
  1875. description: 货币符号
  1876. type: string
  1877. decimalplace:
  1878. description: 报价小数位
  1879. type: integer
  1880. goodscode:
  1881. description: 商品代码(内部)
  1882. type: string
  1883. goodsid:
  1884. description: 商品ID
  1885. type: integer
  1886. goodsname:
  1887. description: 商品名称
  1888. type: string
  1889. marketid:
  1890. description: 市场ID
  1891. type: integer
  1892. orderid:
  1893. description: 单号(成交单号)
  1894. type: string
  1895. picurls1:
  1896. description: 预售商品介绍图片[多张用逗号分隔]
  1897. type: string
  1898. picurls2:
  1899. description: 挂牌商品介绍图片[多张用逗号分隔]
  1900. type: string
  1901. price:
  1902. description: 价格
  1903. type: number
  1904. qty:
  1905. description: 数量
  1906. type: integer
  1907. time:
  1908. description: 时间
  1909. type: string
  1910. trademode:
  1911. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1912. 21:竞拍-大宗式 22:受托竞价
  1913. type: integer
  1914. vendorname1:
  1915. description: 预售商品供应商名称
  1916. type: string
  1917. vendorname2:
  1918. description: 挂牌商品供应商名称
  1919. type: string
  1920. required:
  1921. - accountid
  1922. - buyorsell
  1923. - goodscode
  1924. - goodsid
  1925. - goodsname
  1926. - marketid
  1927. - orderid
  1928. - qty
  1929. - time
  1930. - trademode
  1931. type: object
  1932. models.HsbyGoodsOrderDetail:
  1933. properties:
  1934. buyorsell:
  1935. description: 买卖 - 0:买 1:卖
  1936. type: integer
  1937. currencysign:
  1938. description: 货币符号
  1939. type: string
  1940. customername:
  1941. description: 客户名称(企业名称),已脱敏
  1942. type: string
  1943. enableqty:
  1944. description: 可用数量
  1945. type: integer
  1946. goodunit:
  1947. description: 报价单位
  1948. type: string
  1949. orderid:
  1950. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1951. type: string
  1952. orderprice:
  1953. description: 委托价格
  1954. type: number
  1955. ordertime:
  1956. description: 委托时间
  1957. type: string
  1958. required:
  1959. - buyorsell
  1960. - orderid
  1961. - ordertime
  1962. type: object
  1963. models.HsbyListingGoodsDetail:
  1964. properties:
  1965. agreeunit:
  1966. description: 合约单位
  1967. type: number
  1968. currency:
  1969. description: 货币
  1970. type: string
  1971. currencysign:
  1972. description: 货币符号
  1973. type: string
  1974. decimalplace:
  1975. description: 报价小数位
  1976. type: integer
  1977. desccityid:
  1978. description: 目的地(市)ID
  1979. type: integer
  1980. descprovinceid:
  1981. description: 目的地(省)ID
  1982. type: integer
  1983. goodscode:
  1984. description: 商品代码(内部)
  1985. type: string
  1986. goodsdesc:
  1987. description: 商品详情
  1988. type: string
  1989. goodsid:
  1990. description: 商品ID(自增ID SEQ_GOODS)
  1991. type: integer
  1992. goodsname:
  1993. description: 商品名称
  1994. type: string
  1995. hotindex:
  1996. description: 景点热度
  1997. type: integer
  1998. last:
  1999. description: 现价
  2000. type: number
  2001. limitdown:
  2002. description: 跌停价
  2003. type: number
  2004. limitup:
  2005. description: 涨停价
  2006. type: number
  2007. lotsize:
  2008. description: 手数最小变动单位
  2009. type: integer
  2010. marketid:
  2011. description: 所属市场ID
  2012. type: integer
  2013. picurls:
  2014. description: 介绍图片[多张用逗号分隔]
  2015. type: string
  2016. quoteminunit:
  2017. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2018. type: integer
  2019. stepvalue:
  2020. description: 价格最小变动单位
  2021. type: number
  2022. trademode:
  2023. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2024. 21:竞拍-大宗式 22:受托竞价
  2025. type: integer
  2026. vendorattr:
  2027. description: 供应商附件(多张,逗号分隔)
  2028. type: string
  2029. vendorname:
  2030. description: 供应商名称
  2031. type: string
  2032. vendorphone:
  2033. description: 供应商客服电话
  2034. type: string
  2035. videourls:
  2036. description: 介绍视频[多张用逗号分隔]
  2037. type: string
  2038. required:
  2039. - goodscode
  2040. - goodsid
  2041. - goodsname
  2042. - marketid
  2043. - trademode
  2044. type: object
  2045. models.HsbyMyGoods:
  2046. properties:
  2047. accountid:
  2048. description: 账号Id
  2049. type: integer
  2050. agreeunit:
  2051. description: 合约单位
  2052. type: number
  2053. buyaverageprice:
  2054. description: 持仓均价
  2055. type: number
  2056. buycurholderamount:
  2057. description: 买当前持仓总金额[商品币种]
  2058. type: number
  2059. buycurpositionqty:
  2060. description: 买当前持仓总数量
  2061. type: integer
  2062. currencysign:
  2063. description: 货币符号
  2064. type: string
  2065. decimalplace:
  2066. description: 报价小数位
  2067. type: integer
  2068. enableqty:
  2069. description: 可用数量
  2070. type: integer
  2071. goodscode:
  2072. description: 商品代码(内部)
  2073. type: string
  2074. goodsid:
  2075. description: 商品Id
  2076. type: integer
  2077. goodsname:
  2078. description: 商品名称
  2079. type: string
  2080. goodsstatus:
  2081. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  2082. type: integer
  2083. picurls:
  2084. description: 介绍图片[多张用逗号分隔]
  2085. type: string
  2086. required:
  2087. - accountid
  2088. - goodscode
  2089. - goodsid
  2090. - goodsname
  2091. type: object
  2092. models.HsbyMyPackage:
  2093. properties:
  2094. accountid:
  2095. description: 账户ID
  2096. type: integer
  2097. address:
  2098. description: 提货人详细地址
  2099. type: string
  2100. agreeunit:
  2101. description: 合约单位
  2102. type: number
  2103. amount:
  2104. description: 提货金额
  2105. type: number
  2106. auditer:
  2107. description: 审核人
  2108. type: integer
  2109. audittime:
  2110. description: 审核时间
  2111. type: string
  2112. averageprice:
  2113. description: 均价
  2114. type: number
  2115. cardnum:
  2116. description: 提货人证件号码
  2117. type: string
  2118. cardtypeid:
  2119. description: 提货人证件类型
  2120. type: integer
  2121. checkremark:
  2122. description: 审核备注
  2123. type: string
  2124. currencysign:
  2125. description: 货币符号
  2126. type: string
  2127. decimalplace:
  2128. description: 报价小数位
  2129. type: integer
  2130. goodscode:
  2131. description: 商品代码(内部)
  2132. type: string
  2133. goodsid:
  2134. description: 商品ID
  2135. type: integer
  2136. goodsname:
  2137. description: 商品名称
  2138. type: string
  2139. handlestatus:
  2140. description: 处理状态
  2141. type: integer
  2142. marketid:
  2143. description: 市场ID
  2144. type: integer
  2145. phonenum:
  2146. description: 提货人联系方式
  2147. type: string
  2148. picurls:
  2149. description: 介绍图片[多张用逗号分隔]
  2150. type: string
  2151. qty:
  2152. description: 提货数量
  2153. type: number
  2154. recivername:
  2155. description: 提货人姓名
  2156. type: string
  2157. reqtime:
  2158. description: 更新时间
  2159. type: string
  2160. takemode:
  2161. description: 提货方式 - 2:自提 3:配送
  2162. type: integer
  2163. takeorderid:
  2164. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  2165. type: string
  2166. takeorderstatus:
  2167. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  2168. type: integer
  2169. takeremark:
  2170. description: 提货备注
  2171. type: string
  2172. tradedate:
  2173. description: 交易日(yyyyMMdd)
  2174. type: string
  2175. userid:
  2176. description: 用户ID
  2177. type: integer
  2178. vendorname:
  2179. description: 供应商名称
  2180. type: string
  2181. required:
  2182. - goodscode
  2183. - goodsname
  2184. - takeorderid
  2185. type: object
  2186. models.HsbyPreGoods:
  2187. properties:
  2188. agreeunit:
  2189. description: 合约单位
  2190. type: number
  2191. currency:
  2192. description: 货币
  2193. type: string
  2194. currencysign:
  2195. description: 货币符号
  2196. type: string
  2197. decimalplace:
  2198. description: 报价小数位
  2199. type: integer
  2200. enableqty:
  2201. description: 剩余数量
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码(内部)
  2205. type: string
  2206. goodsid:
  2207. description: 商品ID(自增ID SEQ_GOODS)
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. goodsstatus:
  2213. description: 商品状态- 2:未上市 3:上市
  2214. type: integer
  2215. lasttradedate:
  2216. description: 最后交易日期(状态:待退市)
  2217. type: string
  2218. listingdate:
  2219. description: 交易开始日期
  2220. type: string
  2221. marketid:
  2222. description: 所属市场ID
  2223. type: integer
  2224. picurls:
  2225. description: 介绍图片[多张用逗号分隔]
  2226. type: string
  2227. presaledqty:
  2228. description: 已预售量(预售结束时更新)
  2229. type: integer
  2230. presaleqty:
  2231. description: 预售数量
  2232. type: integer
  2233. quoteminunit:
  2234. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2235. type: integer
  2236. refprice:
  2237. description: 参考价格[一口价]
  2238. type: number
  2239. relatedgoodsid:
  2240. description: 关联交易合约ID
  2241. type: integer
  2242. trademode:
  2243. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2244. 21:竞拍-大宗式 22:受托竞价
  2245. type: integer
  2246. videourls:
  2247. description: 介绍视频[多张用逗号分隔]
  2248. type: string
  2249. required:
  2250. - goodscode
  2251. - goodsid
  2252. - goodsname
  2253. - marketid
  2254. - trademode
  2255. type: object
  2256. models.HsbyPreGoodsDetail:
  2257. properties:
  2258. agreeunit:
  2259. description: 合约单位
  2260. type: number
  2261. buymaxqty:
  2262. description: 购买上限 [71] - 0为不限
  2263. type: integer
  2264. currency:
  2265. description: 货币
  2266. type: string
  2267. currencysign:
  2268. description: 货币符号
  2269. type: string
  2270. customername:
  2271. description: 发行单位
  2272. type: string
  2273. decimalplace:
  2274. description: 报价小数位
  2275. type: integer
  2276. desccityid:
  2277. description: 目的地(市)ID
  2278. type: integer
  2279. descprovinceid:
  2280. description: 目的地(省)ID
  2281. type: integer
  2282. enableqty:
  2283. description: 剩余数量
  2284. type: integer
  2285. goodscode:
  2286. description: 商品代码(内部)
  2287. type: string
  2288. goodsdesc:
  2289. description: 商品详情
  2290. type: string
  2291. goodsid:
  2292. description: 商品ID(自增ID SEQ_GOODS)
  2293. type: integer
  2294. goodsname:
  2295. description: 商品名称
  2296. type: string
  2297. goodsstatus:
  2298. description: 商品状态- 2:未上市 3:上市
  2299. type: integer
  2300. goodunit:
  2301. description: 报价单位
  2302. type: string
  2303. lasttradedate:
  2304. description: 最后交易日期(状态:待退市)
  2305. type: string
  2306. listingdate:
  2307. description: 交易开始日期
  2308. type: string
  2309. lotsize:
  2310. description: 手数最小变动单位
  2311. type: integer
  2312. marketid:
  2313. description: 所属市场ID
  2314. type: integer
  2315. picurls:
  2316. description: 介绍图片[多张用逗号分隔]
  2317. type: string
  2318. presaledqty:
  2319. description: 已预售量(预售结束时更新)
  2320. type: integer
  2321. presaleqty:
  2322. description: 预售数量
  2323. type: integer
  2324. quoteminunit:
  2325. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2326. type: integer
  2327. refprice:
  2328. description: 参考价格[一口价]
  2329. type: number
  2330. relatedgoodsid:
  2331. description: 关联交易合约ID
  2332. type: integer
  2333. stepvalue:
  2334. description: 价格最小变动单位
  2335. type: number
  2336. trademode:
  2337. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2338. 21:竞拍-大宗式 22:受托竞价
  2339. type: integer
  2340. vendorattr:
  2341. description: 供应商附件(多张,逗号分隔)
  2342. type: string
  2343. vendorname:
  2344. description: 供应商名称
  2345. type: string
  2346. vendorphone:
  2347. description: 供应商客服电话
  2348. type: string
  2349. videourls:
  2350. description: 介绍视频[多张用逗号分隔]
  2351. type: string
  2352. required:
  2353. - goodscode
  2354. - goodsid
  2355. - goodsname
  2356. - marketid
  2357. - trademode
  2358. type: object
  2359. models.HsbySellMyDetail:
  2360. properties:
  2361. accountid:
  2362. description: 账户ID[报价币种]
  2363. type: integer
  2364. agreeunit:
  2365. description: 合约单位
  2366. type: number
  2367. amount:
  2368. description: 金额 = 价格 * 数量 * 合约单位
  2369. type: number
  2370. buyorsell:
  2371. description: 买卖 - 0:买 1:卖
  2372. type: integer
  2373. currencysign:
  2374. description: 货币符号
  2375. type: string
  2376. decimalplace:
  2377. description: 报价小数位
  2378. type: integer
  2379. goodscode:
  2380. description: 商品代码(内部)
  2381. type: string
  2382. goodsid:
  2383. description: 商品ID
  2384. type: integer
  2385. goodsname:
  2386. description: 商品名称
  2387. type: string
  2388. marketid:
  2389. description: 市场ID
  2390. type: integer
  2391. orderid:
  2392. description: 单号(已发布 - 委托单号;已完成 - 成交单号)
  2393. type: string
  2394. ordertype:
  2395. description: 单据类型:0 - 已发布, 1 - 已完成
  2396. type: integer
  2397. picurls:
  2398. description: 介绍图片[多张用逗号分隔]
  2399. type: string
  2400. price:
  2401. description: 价格
  2402. type: number
  2403. qty:
  2404. description: 数量
  2405. type: integer
  2406. time:
  2407. description: 时间
  2408. type: string
  2409. trademode:
  2410. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2411. 21:竞拍-大宗式 22:受托竞价
  2412. type: integer
  2413. vendorname:
  2414. description: 供应商名称
  2415. type: string
  2416. required:
  2417. - accountid
  2418. - buyorsell
  2419. - goodscode
  2420. - goodsid
  2421. - goodsname
  2422. - marketid
  2423. - orderid
  2424. - qty
  2425. - time
  2426. - trademode
  2427. type: object
  2428. models.HsbyTopGoods:
  2429. properties:
  2430. agreeunit:
  2431. description: 合约单位
  2432. type: number
  2433. currency:
  2434. description: 货币
  2435. type: string
  2436. currencysign:
  2437. description: 货币符号
  2438. type: string
  2439. decimalplace:
  2440. description: 报价小数位
  2441. type: integer
  2442. goodscode:
  2443. description: 商品代码(内部)
  2444. type: string
  2445. goodsid:
  2446. description: 商品ID(自增ID SEQ_GOODS)
  2447. type: integer
  2448. goodsname:
  2449. description: 商品名称
  2450. type: string
  2451. hotindex:
  2452. description: 景点热度
  2453. type: integer
  2454. last:
  2455. description: 现价
  2456. type: number
  2457. marketid:
  2458. description: 所属市场ID
  2459. type: integer
  2460. picurls:
  2461. description: 介绍图片[多张用逗号分隔]
  2462. type: string
  2463. quoteminunit:
  2464. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2465. type: integer
  2466. trademode:
  2467. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2468. 21:竞拍-大宗式 22:受托竞价
  2469. type: integer
  2470. videourls:
  2471. description: 介绍视频[多张用逗号分隔]
  2472. type: string
  2473. required:
  2474. - goodscode
  2475. - goodsid
  2476. - goodsname
  2477. - marketid
  2478. - trademode
  2479. type: object
  2480. models.HybsMyBuyOrderDetail:
  2481. properties:
  2482. accountid:
  2483. description: 账户ID[报价币种]
  2484. type: integer
  2485. agreeunit:
  2486. description: 合约单位
  2487. type: number
  2488. buyorsell:
  2489. description: 买卖 - 0:买 1:卖
  2490. type: integer
  2491. cancelqty:
  2492. description: 撤单数量
  2493. type: integer
  2494. currencysign:
  2495. description: 货币符号
  2496. type: string
  2497. decimalplace:
  2498. description: 报价小数位
  2499. type: integer
  2500. goodscode:
  2501. description: 商品代码(内部)
  2502. type: string
  2503. goodsid:
  2504. description: 商品ID
  2505. type: integer
  2506. goodsname:
  2507. description: 商品名称
  2508. type: string
  2509. listingselecttype:
  2510. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2511. type: integer
  2512. marketid:
  2513. description: 市场ID
  2514. type: integer
  2515. mybuystatus:
  2516. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  2517. type: integer
  2518. orderamount:
  2519. description: 委托金额
  2520. type: number
  2521. orderid:
  2522. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2523. type: string
  2524. orderprice:
  2525. description: 委托价格
  2526. type: number
  2527. orderqty:
  2528. description: 委托数量
  2529. type: integer
  2530. orderstatus:
  2531. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2532. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2533. 16:成交失败违约(荷兰式竞拍专用)
  2534. type: integer
  2535. ordertime:
  2536. description: 委托时间
  2537. type: string
  2538. picurls1:
  2539. description: 预售商品介绍图片[多张用逗号分隔]
  2540. type: string
  2541. picurls2:
  2542. description: 挂牌商品介绍图片[多张用逗号分隔]
  2543. type: string
  2544. trademode:
  2545. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2546. 21:竞拍-大宗式 22:受托竞价
  2547. type: integer
  2548. tradeqty:
  2549. description: 成交数量
  2550. type: integer
  2551. vendorname1:
  2552. description: 预售商品供应商名称
  2553. type: string
  2554. vendorname2:
  2555. description: 挂牌商品供应商名称
  2556. type: string
  2557. required:
  2558. - accountid
  2559. - buyorsell
  2560. - goodscode
  2561. - goodsid
  2562. - goodsname
  2563. - marketid
  2564. - orderid
  2565. - orderqty
  2566. - ordertime
  2567. - trademode
  2568. type: object
  2569. models.Messageboard:
  2570. properties:
  2571. createtime:
  2572. description: 创建时间
  2573. type: string
  2574. message:
  2575. description: 留言信息
  2576. type: string
  2577. messageboardid:
  2578. description: 留言簿ID(SEQ_MessageBoard)
  2579. type: integer
  2580. userid:
  2581. description: 用户ID
  2582. type: integer
  2583. required:
  2584. - messageboardid
  2585. type: object
  2586. models.OperationPrimaryMenu:
  2587. properties:
  2588. Children:
  2589. description: 二级功能菜单
  2590. items:
  2591. $ref: '#/definitions/models.OperationSecondaryMenu'
  2592. type: array
  2593. Key:
  2594. description: 菜单KEY
  2595. type: string
  2596. Label:
  2597. description: 菜单标题
  2598. type: string
  2599. type: object
  2600. models.OperationSecondaryMenu:
  2601. properties:
  2602. Key:
  2603. description: 菜单KEY
  2604. type: string
  2605. Label:
  2606. description: 菜单标题
  2607. type: string
  2608. TabList:
  2609. description: 三级功能菜单
  2610. items:
  2611. $ref: '#/definitions/models.OperationTabMenu'
  2612. type: array
  2613. type: object
  2614. models.OperationTabMenu:
  2615. properties:
  2616. Key:
  2617. description: 菜单KEY
  2618. type: string
  2619. Label:
  2620. description: 菜单标题
  2621. type: string
  2622. type: object
  2623. models.QuotePrimaryMenu:
  2624. properties:
  2625. Index:
  2626. description: 序号
  2627. type: integer
  2628. Key:
  2629. description: 键名
  2630. type: string
  2631. Name:
  2632. description: 菜单名称
  2633. type: string
  2634. SubMenus:
  2635. description: 子菜单
  2636. items:
  2637. $ref: '#/definitions/models.QuoteSecondaryMenu'
  2638. type: array
  2639. SubTitleType:
  2640. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  2641. type: integer
  2642. TradeModes:
  2643. description: 包含市场交易类型
  2644. type: string
  2645. type: object
  2646. models.QuoteSecondaryMenu:
  2647. properties:
  2648. ExExchangeCode:
  2649. description: 外部交易所代码
  2650. type: string
  2651. ExExchangeID:
  2652. description: 外部交易所ID
  2653. type: integer
  2654. GoodsGroupIDs:
  2655. description: 商品组ID列表
  2656. items:
  2657. type: integer
  2658. type: array
  2659. Index:
  2660. description: 序号
  2661. type: integer
  2662. MarketID:
  2663. description: 市场ID
  2664. type: integer
  2665. MenuTitle:
  2666. description: 菜单标题(市场名称或外部交易所名称)
  2667. type: string
  2668. TradeMode:
  2669. description: 交易模式
  2670. type: integer
  2671. type: object
  2672. models.SearchGoods:
  2673. properties:
  2674. goodscode:
  2675. description: 商品代码(内部)
  2676. type: string
  2677. goodsid:
  2678. description: 商品ID(自增ID SEQ_GOODS)
  2679. type: integer
  2680. goodsname:
  2681. description: 商品名称
  2682. type: string
  2683. marketid:
  2684. description: 所属市场ID
  2685. type: integer
  2686. marketname:
  2687. description: 市场名称
  2688. type: string
  2689. trademode:
  2690. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2691. 21:竞拍-大宗式 22:受托竞价
  2692. type: integer
  2693. required:
  2694. - goodscode
  2695. - goodsid
  2696. - goodsname
  2697. - marketid
  2698. - trademode
  2699. type: object
  2700. models.Szdz2imageconfig:
  2701. properties:
  2702. configid:
  2703. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  2704. type: integer
  2705. imagepath:
  2706. description: 图片
  2707. type: string
  2708. imagetype:
  2709. description: 类型 - 1:App首页轮播 2:我的
  2710. type: integer
  2711. sort:
  2712. description: 排序
  2713. type: integer
  2714. title:
  2715. description: 标题
  2716. type: string
  2717. url:
  2718. description: 链接
  2719. type: string
  2720. required:
  2721. - configid
  2722. type: object
  2723. models.Szdz3convertconfig:
  2724. properties:
  2725. canin:
  2726. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  2727. type: integer
  2728. canout:
  2729. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  2730. type: integer
  2731. converttype:
  2732. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  2733. 6:交易转花生米(不设置)
  2734. type: integer
  2735. createtime:
  2736. description: 创建时间
  2737. type: string
  2738. creatorid:
  2739. description: 创建人
  2740. type: integer
  2741. daymaxvalue:
  2742. description: 当日最大转入限制
  2743. type: number
  2744. freezedays:
  2745. description: 冻结天数 [5:花生米转交易]
  2746. type: integer
  2747. innergoodsid:
  2748. description: 内部商品ID[交易]
  2749. type: integer
  2750. inratio:
  2751. description: 目标值
  2752. type: integer
  2753. modifierid:
  2754. description: 修改人
  2755. type: integer
  2756. modifytime:
  2757. description: 修改时间
  2758. type: string
  2759. outergoodscode:
  2760. description: 外部商品代码[JD\PD]
  2761. type: string
  2762. outratio:
  2763. description: 源值
  2764. type: integer
  2765. pddecimalplace:
  2766. description: PD小数位
  2767. type: integer
  2768. timemaxvalue:
  2769. description: 单次最大转入限制
  2770. type: number
  2771. timeminvalue:
  2772. description: 单次最小转入限制
  2773. type: number
  2774. required:
  2775. - converttype
  2776. - innergoodsid
  2777. - outergoodscode
  2778. type: object
  2779. models.Szdz3searchwhitelist:
  2780. properties:
  2781. createtime:
  2782. description: 创建时间
  2783. type: string
  2784. creatorid:
  2785. description: 创建人
  2786. type: integer
  2787. modifierid:
  2788. description: 修改人
  2789. type: integer
  2790. modifytime:
  2791. description: 修改时间
  2792. type: string
  2793. userid:
  2794. description: 用户ID
  2795. type: integer
  2796. required:
  2797. - userid
  2798. type: object
  2799. models.Tablecolumnconfig:
  2800. properties:
  2801. aligntype:
  2802. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  2803. type: integer
  2804. autoid:
  2805. description: AutoID
  2806. type: integer
  2807. columnfield:
  2808. description: 列字段
  2809. type: string
  2810. columntitle:
  2811. description: 列Title
  2812. type: string
  2813. columnwidth:
  2814. description: 列宽
  2815. type: string
  2816. formatterstring:
  2817. description: 格式化字符
  2818. type: string
  2819. formattertype:
  2820. description: 格式化类型
  2821. type: string
  2822. groupname:
  2823. description: 表头分组名称
  2824. type: string
  2825. isshow:
  2826. description: 是否显示 - 0:不显示 1:显示
  2827. type: integer
  2828. needsummary:
  2829. description: 是否需要汇总 - 0:不需要 1:需要
  2830. type: integer
  2831. orderindex:
  2832. description: 顺序
  2833. type: integer
  2834. remark:
  2835. description: 备注
  2836. type: string
  2837. summarytype:
  2838. description: 汇总类型 - 1:加总 2:最后一个
  2839. type: integer
  2840. tablekey:
  2841. description: 列表Key
  2842. type: string
  2843. required:
  2844. - autoid
  2845. type: object
  2846. models.Useraccount:
  2847. properties:
  2848. accountname:
  2849. description: 账户名称(机构名称)
  2850. type: string
  2851. accountstatus:
  2852. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2853. type: integer
  2854. auditremark:
  2855. description: 审核备注
  2856. type: string
  2857. audittime:
  2858. description: 审核时间
  2859. type: string
  2860. audituserid:
  2861. description: 审核人
  2862. type: integer
  2863. broker:
  2864. description: 所属经纪人ID
  2865. type: integer
  2866. canceltime:
  2867. description: 销户时间
  2868. type: string
  2869. canceluserid:
  2870. description: 销户人
  2871. type: integer
  2872. createtime:
  2873. description: 创建时间
  2874. type: string
  2875. creatorid:
  2876. description: 创建人
  2877. type: integer
  2878. hasauth:
  2879. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  2880. type: integer
  2881. isanonymous:
  2882. description: 是否匿名下单 - 0:否 1:是
  2883. type: integer
  2884. maxinvestornum:
  2885. description: 最大用户数(经纪会员下投资者个数)
  2886. type: integer
  2887. memberuserid:
  2888. description: 所属会员ID
  2889. type: integer
  2890. modifierid:
  2891. description: 修改人
  2892. type: integer
  2893. modifyremark:
  2894. description: 变更备注
  2895. type: string
  2896. modifystatus:
  2897. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  2898. type: integer
  2899. modifytime:
  2900. description: 修改时间
  2901. type: string
  2902. parentuserid:
  2903. description: 所属机构ID
  2904. type: integer
  2905. reckonaccountid:
  2906. description: 默认结算资金账号ID(机构分润使用) 作废
  2907. type: integer
  2908. refercount:
  2909. description: 推荐总人数
  2910. type: integer
  2911. refereeuserid:
  2912. description: 推荐人ID
  2913. type: integer
  2914. refernum:
  2915. description: 推荐码
  2916. type: string
  2917. subarealevelpath:
  2918. description: 子机构层级路径(逗号分隔,首尾加逗号)
  2919. type: string
  2920. userid:
  2921. description: 用户ID
  2922. type: integer
  2923. usertype:
  2924. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  2925. type: integer
  2926. required:
  2927. - userid
  2928. type: object
  2929. models.Userfavoritegoods:
  2930. properties:
  2931. goodsid:
  2932. description: 商品ID
  2933. type: integer
  2934. required:
  2935. - goodsid
  2936. type: object
  2937. models.Userinfo:
  2938. properties:
  2939. address:
  2940. description: 地址
  2941. type: string
  2942. attachment1:
  2943. description: 附件1
  2944. type: string
  2945. attachment2:
  2946. description: 附件2
  2947. type: string
  2948. bankaccount:
  2949. description: 银行帐号 (加密存储)
  2950. type: string
  2951. bankaccountname:
  2952. description: 收款人名称
  2953. type: string
  2954. bankcardfrontphotourl:
  2955. description: 银行卡正面照地址
  2956. type: string
  2957. bankid:
  2958. description: 银行编码
  2959. type: string
  2960. bankname:
  2961. description: 银行名称
  2962. type: string
  2963. biznature:
  2964. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2965. type: integer
  2966. bizscope:
  2967. description: 企业经营范围(企业)
  2968. type: string
  2969. cardbackphotourl:
  2970. description: 证件背面图片地址
  2971. type: string
  2972. cardfrontphotourl:
  2973. description: 证件正面图片地址
  2974. type: string
  2975. cardnum:
  2976. description: 证件号码(加密存储)
  2977. type: string
  2978. cardtypeid:
  2979. description: 证件类型ID
  2980. type: integer
  2981. cityid:
  2982. description: 市
  2983. type: integer
  2984. company:
  2985. description: 公司(个人)
  2986. type: string
  2987. contactname:
  2988. description: 联系人
  2989. type: string
  2990. countryid:
  2991. description: 国家
  2992. type: integer
  2993. createtime:
  2994. description: 创建时间
  2995. type: string
  2996. creatorid:
  2997. description: 创建人
  2998. type: integer
  2999. customername:
  3000. description: 客户名称(企业名称)
  3001. type: string
  3002. districtid:
  3003. description: 地区
  3004. type: integer
  3005. email:
  3006. description: 邮件(加密存储)
  3007. type: string
  3008. fax:
  3009. description: 传真(加密存储)
  3010. type: string
  3011. halfbodyphotourl:
  3012. description: 半身照地址
  3013. type: string
  3014. hasencrypt:
  3015. description: 数据是否已加密 - 0:未加密 1:已加密
  3016. type: integer
  3017. headurl:
  3018. description: 头像地址
  3019. type: string
  3020. legalcardbackphotourl:
  3021. description: 法人身份证背面照地址
  3022. type: string
  3023. legalcardfrontphotourl:
  3024. description: 法人身份证正面照地址
  3025. type: string
  3026. legalpersonname:
  3027. description: 法人姓名(企业)
  3028. type: string
  3029. mobile:
  3030. description: 手机号码(加密存储)
  3031. type: string
  3032. mobile2:
  3033. description: 手机号码[明文-尚志]
  3034. type: string
  3035. modifierid:
  3036. description: 修改人
  3037. type: integer
  3038. modifiertime:
  3039. description: 修改时间
  3040. type: string
  3041. needinvoice:
  3042. description: 是否需要发票 - 0:不需要 1:需要
  3043. type: integer
  3044. nickname:
  3045. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  3046. type: string
  3047. openmode:
  3048. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  3049. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  3050. type: integer
  3051. otherurl:
  3052. description: 其它图片地址[使用分号分隔]
  3053. type: string
  3054. postalcode:
  3055. description: 邮政编码
  3056. type: string
  3057. provinceid:
  3058. description: 省
  3059. type: integer
  3060. qq:
  3061. description: QQ(加密存储
  3062. type: string
  3063. remark:
  3064. description: 备注
  3065. type: string
  3066. sex:
  3067. description: '用户性别 0: 女 1: 男'
  3068. type: integer
  3069. signpdfurl:
  3070. description: 签约pdf文件
  3071. type: string
  3072. telphone:
  3073. description: 联系电话(加密存储)
  3074. type: string
  3075. userid:
  3076. description: 用户ID
  3077. type: integer
  3078. userinfotype:
  3079. description: 用户信息类型 - 1:个人 2:企业
  3080. type: integer
  3081. userstatus:
  3082. description: 用户状态 - 1:正常 2:注销
  3083. type: integer
  3084. usertype:
  3085. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3086. type: integer
  3087. wechat:
  3088. description: 微信(加密存储)
  3089. type: string
  3090. wskhinfo:
  3091. description: 开户申请信息(JSON)
  3092. type: string
  3093. required:
  3094. - userid
  3095. type: object
  3096. models.WRStandardInfo:
  3097. properties:
  3098. createtime:
  3099. description: 创建时间
  3100. type: string
  3101. creatorid:
  3102. description: 创建人
  3103. type: integer
  3104. deliverygoodsid:
  3105. description: 品种ID
  3106. type: integer
  3107. deliverygoodsname:
  3108. description: 交割商品名称
  3109. type: string
  3110. factoryitemjson:
  3111. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  3112. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  3113. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  3114. 逗号分隔'
  3115. type: string
  3116. isvalid:
  3117. description: 是否有效 - 0:无效 1:有效
  3118. type: integer
  3119. minivalue:
  3120. description: 最小变动值
  3121. type: integer
  3122. minivaluedp:
  3123. description: 最小变动值小数位
  3124. type: integer
  3125. realminivalue:
  3126. description: 实际最小变动值
  3127. type: integer
  3128. realminivaluedp:
  3129. description: 实际最小变动值小数位
  3130. type: integer
  3131. unitid:
  3132. description: 单位ID
  3133. type: integer
  3134. unitname:
  3135. description: 单位
  3136. type: string
  3137. updatetime:
  3138. description: 更新时间
  3139. type: string
  3140. updatorid:
  3141. description: 更新人
  3142. type: integer
  3143. wrsstatus:
  3144. description: 状态 - 作废 - 0:未激活 1:正常
  3145. type: integer
  3146. wrstandardcode:
  3147. description: 仓单标准代码
  3148. type: string
  3149. wrstandardid:
  3150. description: 仓单标准ID(SEQ_WRSTANDARD)
  3151. type: integer
  3152. wrstandardname:
  3153. description: 仓单标准名称
  3154. type: string
  3155. required:
  3156. - wrstandardid
  3157. type: object
  3158. models.Warehouseinfo:
  3159. properties:
  3160. address:
  3161. description: 详细地址
  3162. type: string
  3163. areauserid:
  3164. description: 所属机构
  3165. type: integer
  3166. autoid:
  3167. description: 自增ID
  3168. type: integer
  3169. cityid:
  3170. description: 市
  3171. type: integer
  3172. contactname:
  3173. description: 联系人
  3174. type: string
  3175. contactnum:
  3176. description: 联系电话
  3177. type: string
  3178. countryid:
  3179. description: 国家
  3180. type: integer
  3181. createtime:
  3182. description: 创建时间
  3183. type: string
  3184. districtid:
  3185. description: 区
  3186. type: integer
  3187. hasvideo:
  3188. description: 是否有视频 - 0:无 1:有
  3189. type: integer
  3190. provinceid:
  3191. description: 省
  3192. type: integer
  3193. remark:
  3194. description: 审核备注
  3195. type: string
  3196. videourl:
  3197. description: 视频地址
  3198. type: string
  3199. warehousecode:
  3200. description: 仓库代码
  3201. type: string
  3202. warehousename:
  3203. description: 仓库名称
  3204. type: string
  3205. warehousestatus:
  3206. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  3207. type: integer
  3208. warehousetype:
  3209. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3210. type: integer
  3211. required:
  3212. - autoid
  3213. - warehousecode
  3214. type: object
  3215. order.QueryHisTradeDetailRsp:
  3216. properties:
  3217. accountid:
  3218. description: 账户ID[报价币种]
  3219. type: integer
  3220. buildtype:
  3221. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3222. type: integer
  3223. buyorsell:
  3224. description: 方向 - 0:买 1:卖
  3225. type: integer
  3226. charge:
  3227. description: 手续费
  3228. type: number
  3229. closecharge:
  3230. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3231. type: number
  3232. closeexchagechargevalue:
  3233. description: 平仓交易所手续费设置值
  3234. type: number
  3235. closefeealgorithm:
  3236. description: 平仓手续费收取方式 1:比率 2:固定
  3237. type: integer
  3238. closememberchargevalue:
  3239. description: 平仓会员手续费设置值
  3240. type: number
  3241. closepl:
  3242. description: 平仓盈亏
  3243. type: number
  3244. closepl2:
  3245. description: 平仓盈亏[逐笔]
  3246. type: number
  3247. closeqty:
  3248. description: 平仓数量(先建后平操作 需要记录)
  3249. type: integer
  3250. creditamount:
  3251. description: 授信金额
  3252. type: number
  3253. gcaccountid:
  3254. description: 账户ID[合约币种]
  3255. type: integer
  3256. goodscode:
  3257. description: 商品代码
  3258. type: string
  3259. goodsid:
  3260. description: 商品ID
  3261. type: integer
  3262. goodsname:
  3263. description: 商品名称
  3264. type: string
  3265. histradedate:
  3266. description: 历史交易日
  3267. type: string
  3268. intclosepl:
  3269. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3270. type: integer
  3271. isconfirmexercise:
  3272. description: 是否确认行权- 0:否 1:是
  3273. type: integer
  3274. ismain:
  3275. description: 是否主单 - 0:不是 1:是
  3276. type: integer
  3277. ispreexercise:
  3278. description: 是否预申报- 0:否 1:是
  3279. type: integer
  3280. isreckoned:
  3281. description: 是否结算 - 0:未结算 1:已结算
  3282. type: integer
  3283. isvaliddata:
  3284. description: 是否有效 - 0:无效 1:有效
  3285. type: integer
  3286. listingselecttype:
  3287. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3288. type: integer
  3289. marketid:
  3290. description: 市场ID
  3291. type: integer
  3292. marketname:
  3293. description: 市场名称
  3294. type: string
  3295. matchaccountid:
  3296. description: 对手账号id
  3297. type: integer
  3298. memberuserid:
  3299. description: 会员id 个人投资者 需要填写
  3300. type: integer
  3301. opencharge:
  3302. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3303. type: number
  3304. openexchagechargevalue:
  3305. description: 建仓交易所手续费设置值
  3306. type: number
  3307. openfeealgorithm:
  3308. description: 建仓手续费收取方式 1:比率 2:固定
  3309. type: integer
  3310. openmemberchargevalue:
  3311. description: 建仓会员手续费设置值
  3312. type: number
  3313. openqty:
  3314. description: 开仓数量(先建后平操作 需要记录)
  3315. type: integer
  3316. optiontype:
  3317. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3318. type: integer
  3319. orderid:
  3320. description: 委托单号
  3321. type: string
  3322. performanceplanid:
  3323. description: 履约计划ID[期权]
  3324. type: integer
  3325. performancestatus:
  3326. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3327. type: integer
  3328. preexerciseprice:
  3329. description: 预申报价格
  3330. type: number
  3331. premium:
  3332. description: 权利金 - [持仓单的权利金]
  3333. type: number
  3334. relatedouttradeid:
  3335. description: 关联外部成交单ID
  3336. type: integer
  3337. status:
  3338. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3339. type: integer
  3340. tradeamount:
  3341. description: 成交金额[账户币种,用于所有权]
  3342. type: number
  3343. tradedate:
  3344. description: 交易日(yyyyMMdd)
  3345. type: string
  3346. tradeid:
  3347. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3348. type: string
  3349. trademode:
  3350. description: 交易模式
  3351. type: integer
  3352. tradeprice:
  3353. description: 成交价格
  3354. type: number
  3355. tradeproperty:
  3356. description: 交易属性
  3357. type: integer
  3358. tradeqty:
  3359. description: 成交数量
  3360. type: integer
  3361. tradetime:
  3362. description: 成交时间
  3363. type: string
  3364. tradetype:
  3365. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  3366. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3367. type: integer
  3368. required:
  3369. - accountid
  3370. - buyorsell
  3371. - goodsid
  3372. - histradedate
  3373. - marketid
  3374. - memberuserid
  3375. - orderid
  3376. - tradeamount
  3377. - tradedate
  3378. - tradeid
  3379. - tradeprice
  3380. - tradeqty
  3381. - tradetime
  3382. type: object
  3383. order.QueryHisTradeOrderDetailRsp:
  3384. properties:
  3385. accountid:
  3386. description: 账户ID[报价币种]
  3387. type: integer
  3388. buildtype:
  3389. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3390. type: integer
  3391. buyorsell:
  3392. description: 买卖 - 0:买 1:卖
  3393. type: integer
  3394. cancelorderid:
  3395. description: 撤单单号(撤单时填写)
  3396. type: string
  3397. cancelqty:
  3398. description: 撤单数量
  3399. type: integer
  3400. clientordertime:
  3401. description: 客户端委托时间
  3402. type: string
  3403. clientticket:
  3404. description: 客户端流水号
  3405. type: string
  3406. clienttype:
  3407. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  3408. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3409. type: integer
  3410. closeexchagechargevalue:
  3411. description: 平仓交易所手续费设置值
  3412. type: number
  3413. closefeealgorithm:
  3414. description: 平仓手续费收取方式 1:比率 2:固定
  3415. type: integer
  3416. closefreezecharge:
  3417. description: 平仓冻结手续费(先建后平操作,需要记录)
  3418. type: number
  3419. closememberchargevalue:
  3420. description: 平仓会员手续费设置值
  3421. type: number
  3422. closeqty:
  3423. description: 平仓数量(先建后平操作 需要记录)
  3424. type: integer
  3425. closetradeqty:
  3426. description: 平仓成交数量(先建后平操作,需要记录)
  3427. type: integer
  3428. closeunfreezecharge:
  3429. description: 平仓解冻手续费(先建后平操作,需要记录)
  3430. type: number
  3431. delistingtype:
  3432. description: 摘牌类型 - 1:价格最优 2:点选成交
  3433. type: integer
  3434. freezecharge:
  3435. description: 冻结手续费
  3436. type: number
  3437. freezemargin:
  3438. description: 冻结保证金(冻结交易金额)
  3439. type: number
  3440. gcaccountid:
  3441. description: 账户ID[合约币种]
  3442. type: integer
  3443. goodscode:
  3444. description: 商品代码
  3445. type: string
  3446. goodsid:
  3447. description: 商品ID
  3448. type: integer
  3449. goodsname:
  3450. description: 商品名称
  3451. type: string
  3452. histradedate:
  3453. description: 历史交易日
  3454. type: string
  3455. isconfirmexercise:
  3456. description: 是否确认行权- 0:否 1:是
  3457. type: integer
  3458. ispreexercise:
  3459. description: 是否预申报- 0:否 1:是
  3460. type: integer
  3461. isvaliddata:
  3462. description: 是否有效 - 0:无效 1:有效
  3463. type: integer
  3464. listingselecttype:
  3465. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3466. type: integer
  3467. marginalgorithm:
  3468. description: 保证金收取方式 1:比率 2:固定
  3469. type: integer
  3470. marginvalue:
  3471. description: 即市保证金设置值
  3472. type: number
  3473. marketid:
  3474. description: 市场ID
  3475. type: integer
  3476. marketmaxsub:
  3477. description: 市价最大偏移范围
  3478. type: number
  3479. marketname:
  3480. description: 市场名称
  3481. type: string
  3482. memberuserid:
  3483. description: 所属会员UserID
  3484. type: integer
  3485. openexchagechargevalue:
  3486. description: 建仓交易所手续费设置值
  3487. type: number
  3488. openfeealgorithm:
  3489. description: 建仓手续费收取方式 1:比率 2:固定
  3490. type: integer
  3491. openfreezecharge:
  3492. description: 开仓冻结手续费(先建后平操作,需要记录)
  3493. type: number
  3494. openmemberchargevalue:
  3495. description: 建仓会员手续费设置值
  3496. type: number
  3497. openqty:
  3498. description: 开仓数量(先建后平操作,需要记录)
  3499. type: integer
  3500. opentradeqty:
  3501. description: 开仓成交数量(先建后平操作,需要记录)
  3502. type: integer
  3503. openunfreezecharge:
  3504. description: 开仓解冻手续费(先建后平操作,需要记录)
  3505. type: number
  3506. operatetype:
  3507. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  3508. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  3509. 15:管理端协议转让
  3510. type: integer
  3511. operatorid:
  3512. description: 登录账号(LoginID)
  3513. type: integer
  3514. optiontype:
  3515. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3516. type: integer
  3517. orderid:
  3518. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3519. type: string
  3520. orderprice:
  3521. description: 委托价格
  3522. type: number
  3523. orderqty:
  3524. description: 委托数量
  3525. type: integer
  3526. ordersrc:
  3527. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  3528. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3529. type: integer
  3530. orderstatus:
  3531. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3532. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3533. 16:成交失败违约(荷兰式竞拍专用)
  3534. type: integer
  3535. ordertime:
  3536. description: 委托时间
  3537. type: string
  3538. preexerciseprice:
  3539. description: 预申报价格
  3540. type: number
  3541. premium:
  3542. description: 权利金
  3543. type: number
  3544. preorderid:
  3545. description: 关联预埋单号(止盈止损单时填写)
  3546. type: string
  3547. pricemode:
  3548. description: '取价方式 - 1:市价 2: 限价'
  3549. type: integer
  3550. quoteid:
  3551. description: 报价单ID
  3552. type: integer
  3553. relatedid:
  3554. description: 关联单号(交割单)
  3555. type: string
  3556. retcode:
  3557. description: 错误代码
  3558. type: integer
  3559. sessionid:
  3560. description: 会话ID
  3561. type: integer
  3562. tradedate:
  3563. description: 交易日(yyyyMMdd)
  3564. type: string
  3565. trademode:
  3566. description: 交易模式
  3567. type: integer
  3568. tradeproperty:
  3569. description: 交易属性
  3570. type: integer
  3571. tradeqty:
  3572. description: 成交数量
  3573. type: integer
  3574. unfreezecharge:
  3575. description: 解冻手续费
  3576. type: number
  3577. unfreezemargin:
  3578. description: 解冻保证金
  3579. type: number
  3580. updatetime:
  3581. description: 更新时间
  3582. type: string
  3583. uuid:
  3584. description: 发起端唯一id
  3585. type: string
  3586. validtime:
  3587. description: 有效期限
  3588. type: string
  3589. validtype:
  3590. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3591. type: integer
  3592. volumetype:
  3593. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3594. type: integer
  3595. required:
  3596. - accountid
  3597. - buildtype
  3598. - buyorsell
  3599. - goodsid
  3600. - histradedate
  3601. - marketid
  3602. - memberuserid
  3603. - operatetype
  3604. - orderid
  3605. - orderqty
  3606. - ordertime
  3607. - pricemode
  3608. - tradedate
  3609. - validtype
  3610. type: object
  3611. order.QueryTradeDetailRsp:
  3612. properties:
  3613. accountid:
  3614. description: 账户ID[报价币种]
  3615. type: integer
  3616. buildtype:
  3617. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3618. type: integer
  3619. buyorsell:
  3620. description: 方向 - 0:买 1:卖
  3621. type: integer
  3622. charge:
  3623. description: 手续费
  3624. type: number
  3625. closecharge:
  3626. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3627. type: number
  3628. closeexchagechargevalue:
  3629. description: 平仓交易所手续费设置值
  3630. type: number
  3631. closefeealgorithm:
  3632. description: 平仓手续费收取方式 1:比率 2:固定
  3633. type: integer
  3634. closememberchargevalue:
  3635. description: 平仓会员手续费设置值
  3636. type: number
  3637. closepl:
  3638. description: 平仓盈亏
  3639. type: number
  3640. closepl2:
  3641. description: 平仓盈亏[逐笔]
  3642. type: number
  3643. closeqty:
  3644. description: 平仓数量(先建后平操作 需要记录)
  3645. type: integer
  3646. creditamount:
  3647. description: 授信金额
  3648. type: number
  3649. gcaccountid:
  3650. description: 账户ID[合约币种]
  3651. type: integer
  3652. goodscode:
  3653. description: 商品代码
  3654. type: string
  3655. goodsid:
  3656. description: 商品ID
  3657. type: integer
  3658. goodsname:
  3659. description: 商品名称
  3660. type: string
  3661. intclosepl:
  3662. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3663. type: integer
  3664. isconfirmexercise:
  3665. description: 是否确认行权- 0:否 1:是
  3666. type: integer
  3667. ismain:
  3668. description: 是否主单 - 0:不是 1:是
  3669. type: integer
  3670. ispreexercise:
  3671. description: 是否预申报- 0:否 1:是
  3672. type: integer
  3673. isreckoned:
  3674. description: 是否结算 - 0:未结算 1:已结算
  3675. type: integer
  3676. listingselecttype:
  3677. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3678. type: integer
  3679. marketid:
  3680. description: 市场ID
  3681. type: integer
  3682. marketname:
  3683. description: 市场名称
  3684. type: string
  3685. matchaccountid:
  3686. description: 对手账号id
  3687. type: integer
  3688. memberuserid:
  3689. description: 会员id 个人投资者 需要填写
  3690. type: integer
  3691. opencharge:
  3692. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3693. type: number
  3694. openexchagechargevalue:
  3695. description: 建仓交易所手续费设置值
  3696. type: number
  3697. openfeealgorithm:
  3698. description: 建仓手续费收取方式 1:比率 2:固定
  3699. type: integer
  3700. openmemberchargevalue:
  3701. description: 建仓会员手续费设置值
  3702. type: number
  3703. openqty:
  3704. description: 开仓数量(先建后平操作 需要记录)
  3705. type: integer
  3706. optiontype:
  3707. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3708. type: integer
  3709. orderid:
  3710. description: 委托单号
  3711. type: string
  3712. performanceplanid:
  3713. description: 履约计划ID[期权]
  3714. type: integer
  3715. performancestatus:
  3716. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3717. type: integer
  3718. preexerciseprice:
  3719. description: 预申报价格
  3720. type: number
  3721. premium:
  3722. description: 权利金 - [持仓单的权利金]
  3723. type: number
  3724. relatedouttradeid:
  3725. description: 关联外部成交单ID
  3726. type: integer
  3727. status:
  3728. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3729. type: integer
  3730. tradeamount:
  3731. description: 成交金额[账户币种,用于所有权]
  3732. type: number
  3733. tradedate:
  3734. description: 交易日(yyyyMMdd)
  3735. type: string
  3736. tradeid:
  3737. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3738. type: string
  3739. trademode:
  3740. description: 交易模式
  3741. type: integer
  3742. tradeprice:
  3743. description: 成交价格
  3744. type: number
  3745. tradeproperty:
  3746. description: 交易属性
  3747. type: integer
  3748. tradeqty:
  3749. description: 成交数量
  3750. type: integer
  3751. tradetime:
  3752. description: 成交时间
  3753. type: string
  3754. tradetype:
  3755. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  3756. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3757. type: integer
  3758. required:
  3759. - accountid
  3760. - buyorsell
  3761. - goodsid
  3762. - marketid
  3763. - memberuserid
  3764. - orderid
  3765. - tradeamount
  3766. - tradedate
  3767. - tradeid
  3768. - tradeprice
  3769. - tradeqty
  3770. - tradetime
  3771. type: object
  3772. order.QueryTradeOrderDetailRsp:
  3773. properties:
  3774. accountid:
  3775. description: 账户ID[报价币种]
  3776. type: integer
  3777. buildtype:
  3778. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3779. type: integer
  3780. buyorsell:
  3781. description: 买卖 - 0:买 1:卖
  3782. type: integer
  3783. cancelorderid:
  3784. description: 撤单单号(撤单时填写)
  3785. type: string
  3786. cancelqty:
  3787. description: 撤单数量
  3788. type: integer
  3789. clienttype:
  3790. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  3791. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3792. type: integer
  3793. closefreezecharge:
  3794. description: 平仓冻结手续费(先建后平操作,需要记录)
  3795. type: number
  3796. closeqty:
  3797. description: 平仓数量(先建后平操作 需要记录)
  3798. type: integer
  3799. closetradeqty:
  3800. description: 平仓成交数量(先建后平操作,需要记录)
  3801. type: integer
  3802. closeunfreezecharge:
  3803. description: 平仓解冻手续费(先建后平操作,需要记录)
  3804. type: number
  3805. delistingtype:
  3806. description: 摘牌类型 - 1:价格最优 2:点选成交
  3807. type: integer
  3808. enableqty:
  3809. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  3810. type: integer
  3811. freezecharge:
  3812. description: 冻结手续费
  3813. type: number
  3814. freezemargin:
  3815. description: 冻结保证金(冻结交易金额)
  3816. type: number
  3817. goodscode:
  3818. description: 商品代码
  3819. type: string
  3820. goodsid:
  3821. description: 商品ID
  3822. type: integer
  3823. goodsname:
  3824. description: 商品名称
  3825. type: string
  3826. listingselecttype:
  3827. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3828. type: integer
  3829. marketid:
  3830. description: 市场ID
  3831. type: integer
  3832. marketname:
  3833. description: 市场名称
  3834. type: string
  3835. openfreezecharge:
  3836. description: 开仓冻结手续费(先建后平操作,需要记录)
  3837. type: number
  3838. openqty:
  3839. description: 开仓数量(先建后平操作,需要记录)
  3840. type: integer
  3841. opentradeqty:
  3842. description: 开仓成交数量(先建后平操作,需要记录)
  3843. type: integer
  3844. openunfreezecharge:
  3845. description: 开仓解冻手续费(先建后平操作,需要记录)
  3846. type: number
  3847. operatetype:
  3848. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  3849. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  3850. 15:管理端协议转让
  3851. type: integer
  3852. operatorid:
  3853. description: 登录账号(LoginID)
  3854. type: integer
  3855. orderid:
  3856. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3857. type: string
  3858. orderprice:
  3859. description: 委托价格
  3860. type: number
  3861. orderqty:
  3862. description: 委托数量
  3863. type: integer
  3864. ordersrc:
  3865. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  3866. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3867. type: integer
  3868. orderstatus:
  3869. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3870. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3871. 16:成交失败违约(荷兰式竞拍专用)
  3872. type: integer
  3873. ordertime:
  3874. description: 委托时间
  3875. type: string
  3876. preorderid:
  3877. description: 关联预埋单号(止盈止损单时填写)
  3878. type: string
  3879. pricemode:
  3880. description: '取价方式 - 1:市价 2: 限价'
  3881. type: integer
  3882. relatedid:
  3883. description: 关联单号(交割单)
  3884. type: string
  3885. tradedate:
  3886. description: 交易日(yyyyMMdd)
  3887. type: string
  3888. trademode:
  3889. description: 交易模式
  3890. type: integer
  3891. tradeqty:
  3892. description: 成交数量
  3893. type: integer
  3894. unfreezecharge:
  3895. description: 解冻手续费
  3896. type: number
  3897. unfreezemargin:
  3898. description: 解冻保证金
  3899. type: number
  3900. validtime:
  3901. description: 有效期限
  3902. type: string
  3903. validtype:
  3904. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3905. type: integer
  3906. volumetype:
  3907. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3908. type: integer
  3909. required:
  3910. - accountid
  3911. - buildtype
  3912. - buyorsell
  3913. - goodsid
  3914. - marketid
  3915. - operatetype
  3916. - orderqty
  3917. - ordertime
  3918. - pricemode
  3919. - tradedate
  3920. - validtype
  3921. type: object
  3922. order.QueryTradePositionRsp:
  3923. properties:
  3924. accountid:
  3925. description: 资金账户
  3926. type: integer
  3927. agreeunit:
  3928. description: 合约单位
  3929. type: number
  3930. averageprice:
  3931. description: 持仓均价
  3932. type: number
  3933. buyorsell:
  3934. description: 方向 - 0:买 1:卖
  3935. type: integer
  3936. closetotalqty:
  3937. description: 平仓总数量
  3938. type: integer
  3939. curholderamount:
  3940. description: 当前持仓总金额[商品币种]
  3941. type: number
  3942. curpositionqty:
  3943. description: 当前持仓总数量
  3944. type: integer
  3945. currencyid:
  3946. description: 报价货币ID
  3947. type: integer
  3948. curtdposition:
  3949. description: 期末今日头寸
  3950. type: integer
  3951. decimalplace:
  3952. description: 报价小数位
  3953. type: integer
  3954. enableqty:
  3955. description: 可用量
  3956. type: integer
  3957. fretdposition:
  3958. description: 冻结今日头寸
  3959. type: integer
  3960. frozenqty:
  3961. description: 持仓冻结数量
  3962. type: integer
  3963. goodscode:
  3964. description: 商品代码
  3965. type: string
  3966. goodsid:
  3967. description: 商品Id
  3968. type: integer
  3969. goodsname:
  3970. description: 商品名称
  3971. type: string
  3972. goodunit:
  3973. description: 报价单位
  3974. type: string
  3975. goodunitid:
  3976. description: 报价单位ID
  3977. type: integer
  3978. holderamount:
  3979. description: 期初持仓总金额[商品币种]
  3980. type: number
  3981. marketid:
  3982. description: 所属市场ID
  3983. type: integer
  3984. openreqqty:
  3985. description: 开仓申请数量(用于比较最大持仓数量)
  3986. type: integer
  3987. opentotalqty:
  3988. description: 开仓总数量
  3989. type: integer
  3990. otherfrozenqty:
  3991. description: 持仓其他冻结数量(交割冻结)
  3992. type: integer
  3993. positionqty:
  3994. description: 期初持仓数量
  3995. type: integer
  3996. tnqty:
  3997. description: T+N冻结总量
  3998. type: integer
  3999. tnusedqty:
  4000. description: T+N使用量(可以使用T+N的冻结数量)
  4001. type: integer
  4002. trademode:
  4003. description: 交易模式
  4004. type: integer
  4005. usedmargin:
  4006. description: 占用保证金[商品币种]
  4007. type: number
  4008. required:
  4009. - goodsid
  4010. type: object
  4011. quote.HistoryData:
  4012. properties:
  4013. c:
  4014. description: 收盘价
  4015. type: number
  4016. h:
  4017. description: 最高价
  4018. type: number
  4019. hv:
  4020. description: 持仓量
  4021. type: integer
  4022. l:
  4023. description: 最低价
  4024. type: number
  4025. o:
  4026. description: 开盘价
  4027. type: number
  4028. s:
  4029. description: 结算价,日线周期(包括)以上才有
  4030. type: number
  4031. ts:
  4032. description: 时间
  4033. type: string
  4034. tt:
  4035. description: 总金额
  4036. type: number
  4037. tv:
  4038. description: 总量
  4039. type: integer
  4040. type: object
  4041. quote.QueryTSDataRsp:
  4042. properties:
  4043. decimalPlace:
  4044. description: 小数位
  4045. type: integer
  4046. endTime:
  4047. description: 结束时间
  4048. type: string
  4049. goodsCode:
  4050. description: 商品代码
  4051. type: string
  4052. historyDatas:
  4053. description: 历史数据
  4054. items:
  4055. $ref: '#/definitions/quote.HistoryData'
  4056. type: array
  4057. preSettle:
  4058. description: 昨结
  4059. type: number
  4060. startTime:
  4061. description: 开始时间
  4062. type: string
  4063. tradeDate:
  4064. description: 交易日
  4065. type: string
  4066. type: object
  4067. szdz.QueryConvertLogRsp:
  4068. properties:
  4069. accountid:
  4070. description: 资金账户ID
  4071. type: integer
  4072. clientticket:
  4073. description: 客户端流水号
  4074. type: string
  4075. converttype:
  4076. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  4077. type: integer
  4078. createtime:
  4079. description: 记账时间
  4080. type: string
  4081. daymaxvalue:
  4082. description: 配置当日最大转入限制
  4083. type: number
  4084. daymaxvalue2:
  4085. description: 配置当日最大转入限制(转入)
  4086. type: number
  4087. goodscode:
  4088. description: 商品代码
  4089. type: string
  4090. goodsname:
  4091. description: 商品名称
  4092. type: string
  4093. handlestatus:
  4094. description: 处理状态
  4095. type: integer
  4096. innergoodsid:
  4097. description: 内部商品ID
  4098. type: integer
  4099. inratio:
  4100. description: 配置转入比值
  4101. type: integer
  4102. invalue:
  4103. description: 目标值
  4104. type: number
  4105. logid:
  4106. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4107. type: integer
  4108. mobile:
  4109. description: 手机号码(加密存储)
  4110. type: string
  4111. outergoodscode:
  4112. description: 外部商品代码[JD\PD]
  4113. type: string
  4114. outratio:
  4115. description: 配置转出比值
  4116. type: integer
  4117. outvalue:
  4118. description: 源值
  4119. type: number
  4120. pddecimalplace:
  4121. description: PD小数位
  4122. type: integer
  4123. qty:
  4124. description: 数量
  4125. type: string
  4126. remark:
  4127. description: 备注
  4128. type: string
  4129. sessionid:
  4130. description: 会话ID
  4131. type: integer
  4132. timemaxvalue:
  4133. description: 配置单次最大转入限制
  4134. type: number
  4135. timemaxvalue2:
  4136. description: 配置单次最大转入限制(转入)
  4137. type: number
  4138. timeminvalue:
  4139. description: 配置单次最小数量限制
  4140. type: number
  4141. timeminvalue2:
  4142. description: 配置单次最小数量限制(转入)
  4143. type: number
  4144. tradedate:
  4145. description: 交易日(yyyyMMdd)
  4146. type: string
  4147. userid:
  4148. description: 用户ID
  4149. type: integer
  4150. required:
  4151. - logid
  4152. type: object
  4153. szdz.QueryGoodsPickupRsp:
  4154. properties:
  4155. accountid:
  4156. description: 账户ID
  4157. type: integer
  4158. address:
  4159. description: 提货人详细地址
  4160. type: string
  4161. auditer:
  4162. description: 审核人
  4163. type: integer
  4164. audittime:
  4165. description: 审核时间
  4166. type: string
  4167. cardnum:
  4168. description: 提货人证件号码
  4169. type: string
  4170. cardtypeid:
  4171. description: 提货人证件类型
  4172. type: integer
  4173. checkremark:
  4174. description: 审核备注
  4175. type: string
  4176. goodscode:
  4177. description: 商品代码
  4178. type: string
  4179. goodsid:
  4180. description: 商品ID
  4181. type: integer
  4182. goodsname:
  4183. description: 商品名称
  4184. type: string
  4185. handlestatus:
  4186. description: 处理状态
  4187. type: integer
  4188. marketid:
  4189. description: 市场ID
  4190. type: integer
  4191. phonenum:
  4192. description: 提货人联系方式
  4193. type: string
  4194. qty:
  4195. description: 提货数量
  4196. type: number
  4197. recivername:
  4198. description: 提货人姓名
  4199. type: string
  4200. reqtime:
  4201. description: 更新时间
  4202. type: string
  4203. takemode:
  4204. description: 提货方式 - 2:自提 3:配送
  4205. type: integer
  4206. takeorderid:
  4207. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  4208. type: string
  4209. takeorderstatus:
  4210. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4211. type: integer
  4212. takeremark:
  4213. description: 提货备注
  4214. type: string
  4215. tradedate:
  4216. description: 交易日(yyyyMMdd)
  4217. type: string
  4218. userid:
  4219. description: 用户ID
  4220. type: integer
  4221. required:
  4222. - takeorderid
  4223. type: object
  4224. szdz.QueryRecieptOrderRsp:
  4225. properties:
  4226. accountName:
  4227. description: 所属账号名称(已脱敏)
  4228. type: string
  4229. accountid:
  4230. description: 资金账号
  4231. type: integer
  4232. buyorsell:
  4233. description: 方向 - 0:买 1:卖
  4234. type: integer
  4235. enableqty:
  4236. description: 可摘数量
  4237. type: integer
  4238. goodscode:
  4239. description: 商品代码
  4240. type: string
  4241. goodsid:
  4242. description: 商品ID
  4243. type: integer
  4244. goodsname:
  4245. description: 商品名称
  4246. type: string
  4247. orderid:
  4248. description: 委托单号
  4249. type: string
  4250. orderprice:
  4251. description: 委托价格
  4252. type: number
  4253. tradedate:
  4254. description: 交易日(yyyyMMdd)
  4255. type: string
  4256. type: object
  4257. szdz.QuerySZDZTradePositionRsp:
  4258. properties:
  4259. accountid:
  4260. description: 账号Id
  4261. type: integer
  4262. agreeunit:
  4263. description: 合约单位
  4264. type: number
  4265. averageprice:
  4266. description: 持仓均价
  4267. type: number
  4268. buyorsell:
  4269. description: 方向 - 0:买 1:卖
  4270. type: integer
  4271. closetotalqty:
  4272. description: 平仓总数量
  4273. type: integer
  4274. curholderamount:
  4275. description: 当前持仓总金额
  4276. type: number
  4277. curpositionqty:
  4278. description: 当前持仓总数量
  4279. type: integer
  4280. currencyid:
  4281. description: 报价货币ID
  4282. type: integer
  4283. curtdposition:
  4284. description: 期末今日头寸
  4285. type: integer
  4286. decimalplace:
  4287. description: 报价小数位
  4288. type: integer
  4289. enableqty:
  4290. description: 可用量
  4291. type: integer
  4292. fretdposition:
  4293. description: 冻结今日头寸
  4294. type: integer
  4295. frozenqty:
  4296. description: 持仓冻结数量
  4297. type: integer
  4298. goodscode:
  4299. description: 商品代码(内部)
  4300. type: string
  4301. goodsid:
  4302. description: 商品Id
  4303. type: integer
  4304. goodsname:
  4305. description: 商品名称
  4306. type: string
  4307. goodunit:
  4308. description: 报价单位
  4309. type: string
  4310. goodunitid:
  4311. description: 报价单位ID
  4312. type: integer
  4313. holderamount:
  4314. description: 期初持仓总金额
  4315. type: number
  4316. marketid:
  4317. description: 市场ID
  4318. type: integer
  4319. openreqqty:
  4320. description: 开仓申请数量
  4321. type: integer
  4322. opentotalqty:
  4323. description: 开仓总数量
  4324. type: integer
  4325. otherfrozenqty:
  4326. description: 持仓其他冻结数量(交割冻结)
  4327. type: integer
  4328. positionqty:
  4329. description: 期初持仓数量
  4330. type: integer
  4331. szdz3freezqty:
  4332. description: 尚志大宗转换冻结总数量
  4333. type: integer
  4334. tnqty:
  4335. description: T+N冻结总量
  4336. type: integer
  4337. tnusedqty:
  4338. description: T+N使用量
  4339. type: integer
  4340. trademode:
  4341. description: 交易模式
  4342. type: integer
  4343. usedmargin:
  4344. description: 占用保证金
  4345. type: number
  4346. type: object
  4347. taaccount.QueryAmountLogRsp:
  4348. properties:
  4349. OPERATETYPENAME:
  4350. description: 资金操作类型名称
  4351. type: string
  4352. accountid:
  4353. description: 资金账户ID
  4354. type: integer
  4355. agoodscode:
  4356. description: 竞拍商品代码
  4357. type: string
  4358. agoodsname:
  4359. description: 竞拍商品名称
  4360. type: string
  4361. amount:
  4362. description: 资金金额
  4363. type: number
  4364. amountadjusttype:
  4365. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4366. type: integer
  4367. autoid:
  4368. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4369. type: integer
  4370. balance:
  4371. description: 期初余额
  4372. type: number
  4373. businesscode:
  4374. description: 业务编号
  4375. type: integer
  4376. createtime:
  4377. description: 发生时间
  4378. type: string
  4379. currencyid:
  4380. description: 币种ID
  4381. type: integer
  4382. currentbalance:
  4383. description: 期末余额(变动后金额)
  4384. type: number
  4385. dgoodscode:
  4386. description: 交割商品代码
  4387. type: string
  4388. dgoodsname:
  4389. description: 交割商品名称
  4390. type: string
  4391. goodscode:
  4392. description: 商品代码
  4393. type: string
  4394. goodsid:
  4395. description: 商品ID
  4396. type: integer
  4397. goodsname:
  4398. description: 商品名称
  4399. type: string
  4400. marketid:
  4401. description: 市场ID
  4402. type: integer
  4403. marketname:
  4404. description: 市场名称
  4405. type: string
  4406. moneyticket:
  4407. description: 资金流水号:银行端流水号
  4408. type: integer
  4409. operatetype:
  4410. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  4411. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  4412. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  4413. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  4414. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  4415. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  4416. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  4417. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  4418. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  4419. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  4420. type: integer
  4421. relationorderid:
  4422. description: 关联单号
  4423. type: string
  4424. remark:
  4425. description: 备注
  4426. type: string
  4427. trademode:
  4428. description: 交易模式
  4429. type: integer
  4430. required:
  4431. - accountid
  4432. - amount
  4433. - amountadjusttype
  4434. - autoid
  4435. - balance
  4436. - createtime
  4437. - currentbalance
  4438. - operatetype
  4439. type: object
  4440. taaccount.QueryHisAmountLogRsp:
  4441. properties:
  4442. OPERATETYPENAME:
  4443. description: 资金操作类型名称
  4444. type: string
  4445. accountid:
  4446. description: 资金账户ID
  4447. type: integer
  4448. agoodscode:
  4449. description: 竞拍商品代码
  4450. type: string
  4451. agoodsname:
  4452. description: 竞拍商品名称
  4453. type: string
  4454. amount:
  4455. description: 资金金额
  4456. type: number
  4457. amountadjusttype:
  4458. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4459. type: integer
  4460. autoid:
  4461. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4462. type: integer
  4463. balance:
  4464. description: 期初余额
  4465. type: number
  4466. businesscode:
  4467. description: 业务编号
  4468. type: integer
  4469. createtime:
  4470. description: 发生时间
  4471. type: string
  4472. currencyid:
  4473. description: 币种ID
  4474. type: integer
  4475. currentbalance:
  4476. description: 期末余额(变动后金额)
  4477. type: number
  4478. dgoodscode:
  4479. description: 交割商品代码
  4480. type: string
  4481. dgoodsname:
  4482. description: 交割商品名称
  4483. type: string
  4484. goodscode:
  4485. description: 商品代码
  4486. type: string
  4487. goodsid:
  4488. description: 商品ID
  4489. type: integer
  4490. goodsname:
  4491. description: 商品名称
  4492. type: string
  4493. histradedate:
  4494. description: 历史交易日
  4495. type: string
  4496. isvaliddata:
  4497. description: 是否有效 - 0:无效 1:有效
  4498. type: integer
  4499. marketid:
  4500. description: 市场ID
  4501. type: integer
  4502. marketname:
  4503. description: 市场名称
  4504. type: string
  4505. moneyticket:
  4506. description: 资金流水号:银行端流水号
  4507. type: integer
  4508. operatetype:
  4509. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  4510. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  4511. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  4512. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  4513. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  4514. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  4515. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  4516. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  4517. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  4518. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  4519. type: integer
  4520. relationorderid:
  4521. description: 关联单号
  4522. type: string
  4523. remark:
  4524. description: 备注
  4525. type: string
  4526. trademode:
  4527. description: 交易模式
  4528. type: integer
  4529. required:
  4530. - accountid
  4531. - amount
  4532. - amountadjusttype
  4533. - autoid
  4534. - balance
  4535. - createtime
  4536. - currentbalance
  4537. - histradedate
  4538. - operatetype
  4539. type: object
  4540. info:
  4541. contact: {}
  4542. description: 新的查询服务,替代原通用查询服务。
  4543. termsOfService: http://muchinfo.cn
  4544. title: MTP2.0 查询服务 API
  4545. version: "1.0"
  4546. paths:
  4547. /CPTrade/QueryCPTradeMyBidInfos:
  4548. get:
  4549. parameters:
  4550. - description: 资金账户
  4551. in: query
  4552. name: accountid
  4553. required: true
  4554. type: integer
  4555. - description: 预售市场ID
  4556. in: query
  4557. name: marketid
  4558. type: integer
  4559. - description: 预售商品ID
  4560. in: query
  4561. name: goodsid
  4562. type: integer
  4563. produces:
  4564. - application/json
  4565. responses:
  4566. "200":
  4567. description: OK
  4568. schema:
  4569. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  4570. "500":
  4571. description: Internal Server Error
  4572. schema:
  4573. $ref: '#/definitions/app.Response'
  4574. security:
  4575. - ApiKeyAuth: []
  4576. summary: 查询产能预售我的出价信息
  4577. tags:
  4578. - 产能预售
  4579. /CPTrade/QueryCPTradeOrderDetail:
  4580. get:
  4581. parameters:
  4582. - description: 预售商品ID
  4583. in: query
  4584. name: goodsid
  4585. type: integer
  4586. - description: 预售市场ID
  4587. in: query
  4588. name: marketid
  4589. type: integer
  4590. - description: 预售商品ID列表 - 格式:1,2,3
  4591. in: query
  4592. name: goodsids
  4593. type: string
  4594. produces:
  4595. - application/json
  4596. responses:
  4597. "200":
  4598. description: OK
  4599. schema:
  4600. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  4601. "500":
  4602. description: Internal Server Error
  4603. schema:
  4604. $ref: '#/definitions/app.Response'
  4605. security:
  4606. - ApiKeyAuth: []
  4607. summary: 查询产能预售委托单信息
  4608. tags:
  4609. - 产能预售
  4610. /CPTrade/QueryMyCPTradeGoods:
  4611. get:
  4612. parameters:
  4613. - description: 资金账户
  4614. in: query
  4615. name: accountid
  4616. required: true
  4617. type: integer
  4618. produces:
  4619. - application/json
  4620. responses:
  4621. "200":
  4622. description: OK
  4623. schema:
  4624. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  4625. "500":
  4626. description: Internal Server Error
  4627. schema:
  4628. $ref: '#/definitions/app.Response'
  4629. security:
  4630. - ApiKeyAuth: []
  4631. summary: 查询我的预售信息
  4632. tags:
  4633. - 产能预售
  4634. /CPTrade/QueryPositionCancel:
  4635. get:
  4636. parameters:
  4637. - description: 账户ID
  4638. in: query
  4639. name: userid
  4640. required: true
  4641. type: integer
  4642. - description: 注销ID
  4643. in: query
  4644. name: cancelid
  4645. type: integer
  4646. - description: 资金账户ID
  4647. in: query
  4648. name: accountid
  4649. type: integer
  4650. produces:
  4651. - application/json
  4652. responses:
  4653. "200":
  4654. description: OK
  4655. schema:
  4656. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  4657. "500":
  4658. description: Internal Server Error
  4659. schema:
  4660. $ref: '#/definitions/app.Response'
  4661. security:
  4662. - ApiKeyAuth: []
  4663. summary: 查询远期订单注销申请信息
  4664. tags:
  4665. - 产能预售
  4666. /CPTrade/QueryPreasleApply:
  4667. get:
  4668. parameters:
  4669. - description: 账户ID
  4670. in: query
  4671. name: userid
  4672. required: true
  4673. type: integer
  4674. - description: 申请ID
  4675. in: query
  4676. name: applyid
  4677. type: integer
  4678. - description: 资金账户ID
  4679. in: query
  4680. name: accountid
  4681. type: integer
  4682. produces:
  4683. - application/json
  4684. responses:
  4685. "200":
  4686. description: OK
  4687. schema:
  4688. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  4689. "500":
  4690. description: Internal Server Error
  4691. schema:
  4692. $ref: '#/definitions/app.Response'
  4693. security:
  4694. - ApiKeyAuth: []
  4695. summary: 查询产能预售申请信息
  4696. tags:
  4697. - 产能预售
  4698. /CPTrade/QueryPresaleGoodsEx:
  4699. get:
  4700. parameters:
  4701. - description: 预售商品ID
  4702. in: query
  4703. name: goodsid
  4704. type: integer
  4705. - description: 预售市场ID
  4706. in: query
  4707. name: marketid
  4708. type: integer
  4709. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  4710. in: query
  4711. name: presalemode
  4712. type: integer
  4713. - description: 预售商品ID列表 - 格式:1,2,3
  4714. in: query
  4715. name: goodsids
  4716. type: string
  4717. - description: 预售商品代码
  4718. in: query
  4719. name: goodscode
  4720. type: string
  4721. produces:
  4722. - application/json
  4723. responses:
  4724. "200":
  4725. description: OK
  4726. schema:
  4727. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  4728. "500":
  4729. description: Internal Server Error
  4730. schema:
  4731. $ref: '#/definitions/app.Response'
  4732. security:
  4733. - ApiKeyAuth: []
  4734. summary: 查询产能预售商品扩展信息
  4735. tags:
  4736. - 产能预售
  4737. /CPTrade/QueryUserGoodsData:
  4738. get:
  4739. parameters:
  4740. - description: 资金账户ID
  4741. in: query
  4742. name: accountid
  4743. required: true
  4744. type: integer
  4745. produces:
  4746. - application/json
  4747. responses:
  4748. "200":
  4749. description: OK
  4750. schema:
  4751. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  4752. "500":
  4753. description: Internal Server Error
  4754. schema:
  4755. $ref: '#/definitions/app.Response'
  4756. security:
  4757. - ApiKeyAuth: []
  4758. summary: 查询远期订单信息
  4759. tags:
  4760. - 产能预售
  4761. /Common/NoticeReaded:
  4762. post:
  4763. parameters:
  4764. - description: 登录账号
  4765. in: query
  4766. name: loginID
  4767. required: true
  4768. type: integer
  4769. - description: 通知公告ID
  4770. in: query
  4771. name: noticeID
  4772. required: true
  4773. type: integer
  4774. produces:
  4775. - application/json
  4776. responses:
  4777. "200":
  4778. description: OK
  4779. schema:
  4780. $ref: '#/definitions/app.Response'
  4781. "500":
  4782. description: Internal Server Error
  4783. schema:
  4784. $ref: '#/definitions/app.Response'
  4785. security:
  4786. - ApiKeyAuth: []
  4787. summary: 通知公告设置已读请求
  4788. tags:
  4789. - 通用服务
  4790. /Common/QueryImageConfigs:
  4791. get:
  4792. parameters:
  4793. - description: 类型 - 1:App首页轮播 2:我的
  4794. in: query
  4795. name: imageType
  4796. type: integer
  4797. produces:
  4798. - application/json
  4799. responses:
  4800. "200":
  4801. description: OK
  4802. schema:
  4803. $ref: '#/definitions/models.Szdz2imageconfig'
  4804. "500":
  4805. description: Internal Server Error
  4806. schema:
  4807. $ref: '#/definitions/app.Response'
  4808. summary: 查询轮播图配置信息
  4809. tags:
  4810. - 通用服务
  4811. /Common/QueryNotice:
  4812. get:
  4813. parameters:
  4814. - description: 页码
  4815. in: query
  4816. name: page
  4817. type: integer
  4818. - description: 每页条数
  4819. in: query
  4820. name: pagesize
  4821. type: integer
  4822. - description: 登录账号
  4823. in: query
  4824. name: loginID
  4825. required: true
  4826. type: integer
  4827. - description: 消息类型 - 1:公告通知 2:系统消息
  4828. in: query
  4829. name: msgType
  4830. type: integer
  4831. - description: 是否只获取未读信息
  4832. in: query
  4833. name: onlyUnRead
  4834. type: boolean
  4835. produces:
  4836. - application/json
  4837. responses:
  4838. "200":
  4839. description: OK
  4840. schema:
  4841. $ref: '#/definitions/common.QueryNoticeRsp'
  4842. "500":
  4843. description: Internal Server Error
  4844. schema:
  4845. $ref: '#/definitions/app.Response'
  4846. security:
  4847. - ApiKeyAuth: []
  4848. summary: 通知公告系统消息查询
  4849. tags:
  4850. - 通用服务
  4851. /Common/QueryProvincesAndCities:
  4852. get:
  4853. parameters:
  4854. - description: 省ID
  4855. in: query
  4856. name: provinceID
  4857. type: integer
  4858. produces:
  4859. - application/json
  4860. responses:
  4861. "200":
  4862. description: OK
  4863. schema:
  4864. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  4865. "500":
  4866. description: Internal Server Error
  4867. schema:
  4868. $ref: '#/definitions/app.Response'
  4869. summary: 查询省市信息(不包括区)
  4870. tags:
  4871. - 通用服务
  4872. /Common/QueryTableDefine:
  4873. get:
  4874. parameters:
  4875. - description: 表key
  4876. in: query
  4877. name: TableKey
  4878. type: string
  4879. produces:
  4880. - application/json
  4881. responses:
  4882. "200":
  4883. description: OK
  4884. schema:
  4885. $ref: '#/definitions/common.QueryTableDefineRsp'
  4886. "500":
  4887. description: Internal Server Error
  4888. schema:
  4889. $ref: '#/definitions/app.Response'
  4890. summary: 查询交易端列表头信息
  4891. tags:
  4892. - 通用服务
  4893. /Common/QueryTraderMenu:
  4894. get:
  4895. parameters:
  4896. - description: 登录账号
  4897. in: query
  4898. name: loginid
  4899. required: true
  4900. type: integer
  4901. produces:
  4902. - application/json
  4903. responses:
  4904. "200":
  4905. description: OK
  4906. schema:
  4907. $ref: '#/definitions/common.QueryTraderMenuRsp'
  4908. "500":
  4909. description: Internal Server Error
  4910. schema:
  4911. $ref: '#/definitions/app.Response'
  4912. summary: 查询交易端菜单
  4913. tags:
  4914. - 通用服务
  4915. /Delivery/QueryDeliveryRelation:
  4916. get:
  4917. parameters:
  4918. - description: 商品ID
  4919. in: query
  4920. name: goodsid
  4921. type: integer
  4922. - description: 品种ID
  4923. in: query
  4924. name: deliverygoodsid
  4925. type: integer
  4926. - description: 市场ID
  4927. in: query
  4928. name: marketid
  4929. type: integer
  4930. produces:
  4931. - application/json
  4932. responses:
  4933. "200":
  4934. description: OK
  4935. schema:
  4936. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  4937. "500":
  4938. description: Internal Server Error
  4939. schema:
  4940. $ref: '#/definitions/app.Response'
  4941. security:
  4942. - ApiKeyAuth: []
  4943. summary: 查询商品交割关系表
  4944. tags:
  4945. - 交割服务
  4946. /Erms2/QueryArbitrageStrategy:
  4947. get:
  4948. parameters:
  4949. - description: 账户ID
  4950. in: query
  4951. name: userid
  4952. required: true
  4953. type: integer
  4954. - description: 商品组ID(品种ID)
  4955. in: query
  4956. name: goodsgroupid
  4957. type: string
  4958. produces:
  4959. - application/json
  4960. responses:
  4961. "200":
  4962. description: OK
  4963. schema:
  4964. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  4965. "500":
  4966. description: Internal Server Error
  4967. schema:
  4968. $ref: '#/definitions/app.Response'
  4969. security:
  4970. - ApiKeyAuth: []
  4971. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  4972. tags:
  4973. - 风险管理
  4974. /Erms2/QueryInnerTradeDetail:
  4975. get:
  4976. parameters:
  4977. - description: 资金账户
  4978. in: query
  4979. name: accountid
  4980. required: true
  4981. type: integer
  4982. produces:
  4983. - application/json
  4984. responses:
  4985. "200":
  4986. description: OK
  4987. schema:
  4988. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  4989. "500":
  4990. description: Internal Server Error
  4991. schema:
  4992. $ref: '#/definitions/app.Response'
  4993. security:
  4994. - ApiKeyAuth: []
  4995. summary: 查询内部成交单信息
  4996. tags:
  4997. - 风险管理
  4998. /Erms2/QuerySpotContract:
  4999. get:
  5000. parameters:
  5001. - description: 策略申请ID
  5002. in: query
  5003. name: asapplyid
  5004. required: true
  5005. type: integer
  5006. - description: 现货合同ID
  5007. in: query
  5008. name: spotcontractid
  5009. type: integer
  5010. produces:
  5011. - application/json
  5012. responses:
  5013. "200":
  5014. description: OK
  5015. schema:
  5016. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  5017. "500":
  5018. description: Internal Server Error
  5019. schema:
  5020. $ref: '#/definitions/app.Response'
  5021. security:
  5022. - ApiKeyAuth: []
  5023. summary: 查询现货合同表信息(指定策略ID、未结束的)
  5024. tags:
  5025. - 风险管理
  5026. /Erms3/AddSpotContractApply:
  5027. post:
  5028. parameters:
  5029. - description: 申请参数
  5030. in: body
  5031. name: jsonBody
  5032. required: true
  5033. schema:
  5034. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  5035. produces:
  5036. - application/json
  5037. responses:
  5038. "200":
  5039. description: OK
  5040. schema:
  5041. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  5042. "500":
  5043. description: Internal Server Error
  5044. schema:
  5045. $ref: '#/definitions/app.Response'
  5046. security:
  5047. - ApiKeyAuth: []
  5048. summary: 新增现货合同申请
  5049. tags:
  5050. - 风险管理v3
  5051. /Erms3/AddUserInfoApply:
  5052. post:
  5053. parameters:
  5054. - description: 申请参数
  5055. in: body
  5056. name: jsonBody
  5057. required: true
  5058. schema:
  5059. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  5060. produces:
  5061. - application/json
  5062. responses:
  5063. "200":
  5064. description: OK
  5065. schema:
  5066. $ref: '#/definitions/app.Response'
  5067. "500":
  5068. description: Internal Server Error
  5069. schema:
  5070. $ref: '#/definitions/app.Response'
  5071. security:
  5072. - ApiKeyAuth: []
  5073. summary: 新增客户申请
  5074. tags:
  5075. - 风险管理v3
  5076. /Erms3/QueryPendingAuditContract:
  5077. get:
  5078. parameters:
  5079. - description: 账号ID
  5080. in: query
  5081. name: accountid
  5082. required: true
  5083. type: integer
  5084. - description: 合同类型 1-采购 -1-销售
  5085. in: query
  5086. name: contracttype
  5087. required: true
  5088. type: integer
  5089. - description: 合同模式 1-普通 2-回购
  5090. in: query
  5091. name: contractmode
  5092. required: true
  5093. type: integer
  5094. produces:
  5095. - application/json
  5096. responses:
  5097. "200":
  5098. description: OK
  5099. schema:
  5100. items:
  5101. $ref: '#/definitions/erms3.QryAuditContractRsp'
  5102. type: array
  5103. "500":
  5104. description: Internal Server Error
  5105. schema:
  5106. $ref: '#/definitions/app.Response'
  5107. security:
  5108. - ApiKeyAuth: []
  5109. summary: 查询待审核合同
  5110. tags:
  5111. - 风险管理v3
  5112. /Erms3/QuerySpotContractAppleForm:
  5113. get:
  5114. parameters:
  5115. - description: 用户ID
  5116. in: query
  5117. name: userID
  5118. required: true
  5119. type: integer
  5120. produces:
  5121. - application/json
  5122. responses:
  5123. "200":
  5124. description: OK
  5125. schema:
  5126. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  5127. "500":
  5128. description: Internal Server Error
  5129. schema:
  5130. $ref: '#/definitions/app.Response'
  5131. security:
  5132. - ApiKeyAuth: []
  5133. summary: 查询合同申请表单数据
  5134. tags:
  5135. - 风险管理v3
  5136. /Erms3/QuerySpotContractDetail:
  5137. get:
  5138. parameters:
  5139. - description: 资金账号ID列表,用逗号分隔
  5140. in: query
  5141. name: accountids
  5142. required: true
  5143. type: string
  5144. - description: 合同类型,1为采购合同 -1为销售合同
  5145. in: query
  5146. name: contracttype
  5147. required: true
  5148. type: integer
  5149. - description: 合同模式,1为普通合同 2为回购销售合同
  5150. in: query
  5151. name: contractmode
  5152. required: true
  5153. type: integer
  5154. - description: 状态,0为履约中 1为已完成
  5155. in: query
  5156. name: status
  5157. required: true
  5158. type: integer
  5159. produces:
  5160. - application/json
  5161. responses:
  5162. "200":
  5163. description: OK
  5164. schema:
  5165. items:
  5166. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  5167. type: array
  5168. "500":
  5169. description: Internal Server Error
  5170. schema:
  5171. $ref: '#/definitions/app.Response'
  5172. security:
  5173. - ApiKeyAuth: []
  5174. summary: 查询合同详细信息
  5175. tags:
  5176. - 风险管理v3
  5177. /Erms3/QueryUserInfoApplies:
  5178. get:
  5179. parameters:
  5180. - description: 页码
  5181. in: query
  5182. name: page
  5183. type: integer
  5184. - description: 每页条数
  5185. in: query
  5186. name: pagesize
  5187. type: integer
  5188. - description: 客户名称,支持模糊查询
  5189. in: query
  5190. name: userName
  5191. type: string
  5192. produces:
  5193. - application/json
  5194. responses:
  5195. "200":
  5196. description: OK
  5197. schema:
  5198. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  5199. "500":
  5200. description: Internal Server Error
  5201. schema:
  5202. $ref: '#/definitions/app.Response'
  5203. security:
  5204. - ApiKeyAuth: []
  5205. summary: 客户申请信息查询
  5206. tags:
  5207. - 风险管理v3
  5208. /HSBY/GetHsbyMyCount:
  5209. get:
  5210. description: 说明: 不包括已完成的数量。
  5211. parameters:
  5212. - description: 资金账户列表,格式:1,2,3
  5213. in: query
  5214. name: accountIDs
  5215. required: true
  5216. type: string
  5217. produces:
  5218. - application/json
  5219. responses:
  5220. "200":
  5221. description: OK
  5222. schema:
  5223. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  5224. "500":
  5225. description: Internal Server Error
  5226. schema:
  5227. $ref: '#/definitions/app.Response'
  5228. security:
  5229. - ApiKeyAuth: []
  5230. summary: 获取我的订单与包裹数量
  5231. tags:
  5232. - 定制【海商报业】
  5233. /HSBY/QueryHsbyBuyMyTradeDetail:
  5234. get:
  5235. parameters:
  5236. - description: 页码
  5237. in: query
  5238. name: page
  5239. type: integer
  5240. - description: 每页条数
  5241. in: query
  5242. name: pagesize
  5243. type: integer
  5244. - description: 资金账户列表,格式:1,2,3
  5245. in: query
  5246. name: accountIDs
  5247. required: true
  5248. type: string
  5249. produces:
  5250. - application/json
  5251. responses:
  5252. "200":
  5253. description: OK
  5254. schema:
  5255. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  5256. "500":
  5257. description: Internal Server Error
  5258. schema:
  5259. $ref: '#/definitions/app.Response'
  5260. security:
  5261. - ApiKeyAuth: []
  5262. summary: 查询"我的订单 - 已完成"单据信息
  5263. tags:
  5264. - 定制【海商报业】
  5265. /HSBY/QueryHsbyGoodsOrderDetails:
  5266. get:
  5267. description: 说明:查询结果已按委托价格和委托时间排序
  5268. parameters:
  5269. - description: 商品ID
  5270. in: query
  5271. name: goodsID
  5272. required: true
  5273. type: integer
  5274. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  5275. in: query
  5276. name: accountIDs
  5277. required: true
  5278. type: string
  5279. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  5280. in: query
  5281. name: buyOrSell
  5282. type: integer
  5283. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  5284. in: query
  5285. name: price
  5286. type: number
  5287. - description: 档位,不传则默认为3档
  5288. in: query
  5289. name: speed
  5290. type: integer
  5291. produces:
  5292. - application/json
  5293. responses:
  5294. "200":
  5295. description: OK
  5296. schema:
  5297. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  5298. "500":
  5299. description: Internal Server Error
  5300. schema:
  5301. $ref: '#/definitions/app.Response'
  5302. security:
  5303. - ApiKeyAuth: []
  5304. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  5305. tags:
  5306. - 定制【海商报业】
  5307. /HSBY/QueryHsbyListingGoodsDetail:
  5308. get:
  5309. parameters:
  5310. - description: 商品ID
  5311. in: query
  5312. name: goodsID
  5313. required: true
  5314. type: integer
  5315. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  5316. in: query
  5317. name: AccountID
  5318. type: integer
  5319. produces:
  5320. - application/json
  5321. responses:
  5322. "200":
  5323. description: OK
  5324. schema:
  5325. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  5326. "500":
  5327. description: Internal Server Error
  5328. schema:
  5329. $ref: '#/definitions/app.Response'
  5330. security:
  5331. - ApiKeyAuth: []
  5332. summary: 查询二级市场(挂牌点选)商品信息详情
  5333. tags:
  5334. - 定制【海商报业】
  5335. /HSBY/QueryHsbyMyBuyOrderDetails:
  5336. get:
  5337. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  5338. parameters:
  5339. - description: 资金账户列表,格式:1,2,3
  5340. in: query
  5341. name: accountIDs
  5342. required: true
  5343. type: string
  5344. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  5345. in: query
  5346. name: myBuyStatus
  5347. type: integer
  5348. produces:
  5349. - application/json
  5350. responses:
  5351. "200":
  5352. description: OK
  5353. schema:
  5354. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  5355. "500":
  5356. description: Internal Server Error
  5357. schema:
  5358. $ref: '#/definitions/app.Response'
  5359. security:
  5360. - ApiKeyAuth: []
  5361. summary: 查询“我的订单”信息
  5362. tags:
  5363. - 定制【海商报业】
  5364. /HSBY/QueryHsbyMyGoods:
  5365. get:
  5366. parameters:
  5367. - description: 资金账户列表,格式:1,2,3
  5368. in: query
  5369. name: accountIDs
  5370. required: true
  5371. type: string
  5372. produces:
  5373. - application/json
  5374. responses:
  5375. "200":
  5376. description: OK
  5377. schema:
  5378. $ref: '#/definitions/models.HsbyMyGoods'
  5379. "500":
  5380. description: Internal Server Error
  5381. schema:
  5382. $ref: '#/definitions/app.Response'
  5383. security:
  5384. - ApiKeyAuth: []
  5385. summary: 查询“我的商品”信息
  5386. tags:
  5387. - 定制【海商报业】
  5388. /HSBY/QueryHsbyMyPackages:
  5389. get:
  5390. parameters:
  5391. - description: 资金账户列表,格式:1,2,3
  5392. in: query
  5393. name: accountIDs
  5394. required: true
  5395. type: string
  5396. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5397. in: query
  5398. name: takeOrderStatus
  5399. type: integer
  5400. produces:
  5401. - application/json
  5402. responses:
  5403. "200":
  5404. description: OK
  5405. schema:
  5406. $ref: '#/definitions/models.HsbyMyPackage'
  5407. "500":
  5408. description: Internal Server Error
  5409. schema:
  5410. $ref: '#/definitions/app.Response'
  5411. security:
  5412. - ApiKeyAuth: []
  5413. summary: 查询我的包裹信息
  5414. tags:
  5415. - 定制【海商报业】
  5416. /HSBY/QueryHsbyPreGoodsDetail:
  5417. get:
  5418. parameters:
  5419. - description: 商品ID
  5420. in: query
  5421. name: goodsID
  5422. required: true
  5423. type: integer
  5424. - description: 资金账户,主要用于获取预售商品购买上限
  5425. in: query
  5426. name: accountID
  5427. required: true
  5428. type: integer
  5429. produces:
  5430. - application/json
  5431. responses:
  5432. "200":
  5433. description: OK
  5434. schema:
  5435. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  5436. "500":
  5437. description: Internal Server Error
  5438. schema:
  5439. $ref: '#/definitions/app.Response'
  5440. security:
  5441. - ApiKeyAuth: []
  5442. summary: 查询一级市场(产能预售)商品信息详情
  5443. tags:
  5444. - 定制【海商报业】
  5445. /HSBY/QueryHsbyPreGoodses:
  5446. get:
  5447. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  5448. parameters:
  5449. - description: 页码
  5450. in: query
  5451. name: page
  5452. type: integer
  5453. - description: 每页条数
  5454. in: query
  5455. name: pagesize
  5456. type: integer
  5457. - description: 市场ID列表,格式:1,2,3
  5458. in: query
  5459. name: marketIDs
  5460. required: true
  5461. type: string
  5462. - description: 目的地(省)ID
  5463. in: query
  5464. name: descProvinceID
  5465. type: integer
  5466. - description: 目的地(市)ID
  5467. in: query
  5468. name: descCityID
  5469. type: integer
  5470. produces:
  5471. - application/json
  5472. responses:
  5473. "200":
  5474. description: OK
  5475. schema:
  5476. $ref: '#/definitions/models.HsbyPreGoods'
  5477. "500":
  5478. description: Internal Server Error
  5479. schema:
  5480. $ref: '#/definitions/app.Response'
  5481. security:
  5482. - ApiKeyAuth: []
  5483. summary: 查询新品上市商品列表(一级市场产能预售)
  5484. tags:
  5485. - 定制【海商报业】
  5486. /HSBY/QueryHsbySellMyDetails:
  5487. get:
  5488. description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  5489. parameters:
  5490. - description: 页码
  5491. in: query
  5492. name: page
  5493. type: integer
  5494. - description: 每页条数
  5495. in: query
  5496. name: pagesize
  5497. type: integer
  5498. - description: 资金账户列表,格式:1,2,3
  5499. in: query
  5500. name: accountIDs
  5501. required: true
  5502. type: string
  5503. - description: 单据类型:0 - 已发布(默认), 1 - 已完成
  5504. in: query
  5505. name: orderType
  5506. type: integer
  5507. produces:
  5508. - application/json
  5509. responses:
  5510. "200":
  5511. description: OK
  5512. schema:
  5513. $ref: '#/definitions/models.HsbySellMyDetail'
  5514. "500":
  5515. description: Internal Server Error
  5516. schema:
  5517. $ref: '#/definitions/app.Response'
  5518. security:
  5519. - ApiKeyAuth: []
  5520. summary: 查询"我的闲置"单据信息
  5521. tags:
  5522. - 定制【海商报业】
  5523. /HSBY/QueryHsbyTopGoodses:
  5524. get:
  5525. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  5526. parameters:
  5527. - description: 页码
  5528. in: query
  5529. name: page
  5530. type: integer
  5531. - description: 每页条数
  5532. in: query
  5533. name: pagesize
  5534. type: integer
  5535. - description: 市场ID列表,格式:1,2,3
  5536. in: query
  5537. name: marketIDs
  5538. required: true
  5539. type: string
  5540. - description: 目的地(省)ID
  5541. in: query
  5542. name: descProvinceID
  5543. type: integer
  5544. - description: 目的地(市)ID
  5545. in: query
  5546. name: descCityID
  5547. type: integer
  5548. produces:
  5549. - application/json
  5550. responses:
  5551. "200":
  5552. description: OK
  5553. schema:
  5554. $ref: '#/definitions/models.HsbyTopGoods'
  5555. "500":
  5556. description: Internal Server Error
  5557. schema:
  5558. $ref: '#/definitions/app.Response'
  5559. security:
  5560. - ApiKeyAuth: []
  5561. summary: 查询热卖商品列表(二级市场挂牌点选)
  5562. tags:
  5563. - 定制【海商报业】
  5564. /HSBY/QueryProvincesAndCities:
  5565. get:
  5566. description: 查询结果只包括二级市场商品已关连的省市信息。
  5567. parameters:
  5568. - description: 省ID
  5569. in: query
  5570. name: provinceID
  5571. type: integer
  5572. produces:
  5573. - application/json
  5574. responses:
  5575. "200":
  5576. description: OK
  5577. schema:
  5578. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  5579. "500":
  5580. description: Internal Server Error
  5581. schema:
  5582. $ref: '#/definitions/app.Response'
  5583. security:
  5584. - ApiKeyAuth: []
  5585. summary: 查询省市信息(不包括区)
  5586. tags:
  5587. - 定制【海商报业】
  5588. /HSBY/SetHsbyMyPackagesStatus:
  5589. post:
  5590. parameters:
  5591. - description: 提货单号
  5592. in: query
  5593. name: takeOrderID
  5594. required: true
  5595. type: string
  5596. - description: 资金账号
  5597. in: query
  5598. name: accountID
  5599. required: true
  5600. type: integer
  5601. produces:
  5602. - application/json
  5603. responses:
  5604. "200":
  5605. description: OK
  5606. schema:
  5607. $ref: '#/definitions/app.Response'
  5608. "500":
  5609. description: Internal Server Error
  5610. schema:
  5611. $ref: '#/definitions/app.Response'
  5612. security:
  5613. - ApiKeyAuth: []
  5614. summary: 设置我的包裹已收货状态
  5615. tags:
  5616. - 定制【海商报业】
  5617. /Order/QueryHisTradeDetail:
  5618. get:
  5619. parameters:
  5620. - description: 资金账户 - 格式:1,2,3
  5621. in: query
  5622. name: accountID
  5623. required: true
  5624. type: string
  5625. - description: 成交单号
  5626. in: query
  5627. name: tradeID
  5628. type: integer
  5629. - description: 委托单号
  5630. in: query
  5631. name: orderID
  5632. type: integer
  5633. - description: 交易模式 - 格式:1,2,3
  5634. in: query
  5635. name: tradeMode
  5636. type: string
  5637. - description: 委托单据类型
  5638. in: query
  5639. name: buildType
  5640. type: integer
  5641. - description: 成交类别 - 格式:1,2,3
  5642. in: query
  5643. name: tradeType
  5644. type: string
  5645. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5646. in: query
  5647. name: startDate
  5648. type: string
  5649. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5650. in: query
  5651. name: endDate
  5652. type: string
  5653. produces:
  5654. - application/json
  5655. responses:
  5656. "200":
  5657. description: OK
  5658. schema:
  5659. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  5660. "500":
  5661. description: Internal Server Error
  5662. schema:
  5663. $ref: '#/definitions/app.Response'
  5664. security:
  5665. - ApiKeyAuth: []
  5666. summary: 历史成交单查询(合约市场)
  5667. tags:
  5668. - 通用单据
  5669. /Order/QueryHisTradeOrderDetail:
  5670. get:
  5671. parameters:
  5672. - description: 资金账户 - 格式:1,2,3
  5673. in: query
  5674. name: accountID
  5675. required: true
  5676. type: string
  5677. - description: 交易模式 - 格式:1,2,3
  5678. in: query
  5679. name: tradeMode
  5680. type: string
  5681. - description: 委托状态 - 格式:1,2,3
  5682. in: query
  5683. name: orderStatus
  5684. type: string
  5685. - description: 委托单号
  5686. in: query
  5687. name: orderID
  5688. type: integer
  5689. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5690. in: query
  5691. name: startDate
  5692. type: string
  5693. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5694. in: query
  5695. name: endDate
  5696. type: string
  5697. produces:
  5698. - application/json
  5699. responses:
  5700. "200":
  5701. description: OK
  5702. schema:
  5703. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  5704. "500":
  5705. description: Internal Server Error
  5706. schema:
  5707. $ref: '#/definitions/app.Response'
  5708. security:
  5709. - ApiKeyAuth: []
  5710. summary: 历史委托单查询请求(合约市场)
  5711. tags:
  5712. - 通用单据
  5713. /Order/QueryTradeDetail:
  5714. get:
  5715. parameters:
  5716. - description: 资金账户 - 格式:1,2,3
  5717. in: query
  5718. name: accountID
  5719. required: true
  5720. type: string
  5721. - description: 成交单号
  5722. in: query
  5723. name: tradeID
  5724. type: integer
  5725. - description: 委托单号
  5726. in: query
  5727. name: orderID
  5728. type: integer
  5729. - description: 交易模式 - 格式:1,2,3
  5730. in: query
  5731. name: tradeMode
  5732. type: string
  5733. - description: 委托单据类型
  5734. in: query
  5735. name: buildType
  5736. type: integer
  5737. - description: 成交类别 - 格式:1,2,3
  5738. in: query
  5739. name: tradeType
  5740. type: string
  5741. produces:
  5742. - application/json
  5743. responses:
  5744. "200":
  5745. description: OK
  5746. schema:
  5747. $ref: '#/definitions/order.QueryTradeDetailRsp'
  5748. "500":
  5749. description: Internal Server Error
  5750. schema:
  5751. $ref: '#/definitions/app.Response'
  5752. security:
  5753. - ApiKeyAuth: []
  5754. summary: 成交单查询(合约市场)
  5755. tags:
  5756. - 通用单据
  5757. /Order/QueryTradeOrderDetail:
  5758. get:
  5759. parameters:
  5760. - description: 资金账户 - 格式:1,2,3
  5761. in: query
  5762. name: accountID
  5763. required: true
  5764. type: string
  5765. - description: 交易模式 - 格式:1,2,3
  5766. in: query
  5767. name: tradeMode
  5768. type: string
  5769. - description: 委托状态 - 格式:1,2,3
  5770. in: query
  5771. name: orderStatus
  5772. type: string
  5773. - description: 委托单号
  5774. in: query
  5775. name: orderID
  5776. type: integer
  5777. produces:
  5778. - application/json
  5779. responses:
  5780. "200":
  5781. description: OK
  5782. schema:
  5783. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  5784. "500":
  5785. description: Internal Server Error
  5786. schema:
  5787. $ref: '#/definitions/app.Response'
  5788. security:
  5789. - ApiKeyAuth: []
  5790. summary: 委托单查询请求(合约市场)
  5791. tags:
  5792. - 通用单据
  5793. /Order/QueryTradePosition:
  5794. get:
  5795. parameters:
  5796. - description: 资金账户 - 格式:1,2,3
  5797. in: query
  5798. name: accountID
  5799. required: true
  5800. type: string
  5801. - description: 交易模式 - 格式:1,2,3
  5802. in: query
  5803. name: tradeMode
  5804. type: string
  5805. produces:
  5806. - application/json
  5807. responses:
  5808. "200":
  5809. description: OK
  5810. schema:
  5811. $ref: '#/definitions/order.QueryTradePositionRsp'
  5812. "500":
  5813. description: Internal Server Error
  5814. schema:
  5815. $ref: '#/definitions/app.Response'
  5816. security:
  5817. - ApiKeyAuth: []
  5818. summary: 持仓汇总查询(合约市场)
  5819. tags:
  5820. - 通用单据
  5821. /Quote/QueryHistoryDatas:
  5822. get:
  5823. parameters:
  5824. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  5825. 日线 10: Tik'
  5826. in: query
  5827. name: cycleType
  5828. required: true
  5829. type: integer
  5830. - description: 商品代码
  5831. in: query
  5832. name: goodsCode
  5833. required: true
  5834. type: string
  5835. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  5836. in: query
  5837. name: startTime
  5838. type: string
  5839. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  5840. in: query
  5841. name: endTime
  5842. type: string
  5843. - description: 条数
  5844. in: query
  5845. name: count
  5846. type: integer
  5847. - description: 是否按时间顺序排序(默认为时间倒序排序)
  5848. in: query
  5849. name: isAsc
  5850. type: boolean
  5851. produces:
  5852. - application/json
  5853. responses:
  5854. "200":
  5855. description: OK
  5856. schema:
  5857. $ref: '#/definitions/quote.HistoryData'
  5858. "500":
  5859. description: Internal Server Error
  5860. schema:
  5861. $ref: '#/definitions/app.Response'
  5862. security:
  5863. - ApiKeyAuth: []
  5864. summary: 查询行情历史数据
  5865. tags:
  5866. - 行情服务
  5867. /Quote/QueryTSData:
  5868. get:
  5869. parameters:
  5870. - description: 商品代码
  5871. in: query
  5872. name: GoodsCode
  5873. required: true
  5874. type: string
  5875. produces:
  5876. - application/json
  5877. responses:
  5878. "200":
  5879. description: OK
  5880. schema:
  5881. $ref: '#/definitions/quote.QueryTSDataRsp'
  5882. "500":
  5883. description: Internal Server Error
  5884. schema:
  5885. $ref: '#/definitions/app.Response'
  5886. summary: 分时图数据查询
  5887. tags:
  5888. - 行情服务
  5889. /SZDZ/QueryConvertConfig:
  5890. get:
  5891. parameters:
  5892. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  5893. 6:交易转花生米(不设置)
  5894. in: query
  5895. name: convertType
  5896. type: integer
  5897. - description: 外部商品代码[JD\PD]
  5898. in: query
  5899. name: outerGoodsCode
  5900. type: string
  5901. - description: 内部商品ID列表[交易],格式:1,2,3
  5902. in: query
  5903. name: innerGoodsIDs
  5904. type: string
  5905. produces:
  5906. - application/json
  5907. responses:
  5908. "200":
  5909. description: OK
  5910. schema:
  5911. $ref: '#/definitions/models.Szdz3convertconfig'
  5912. "500":
  5913. description: Internal Server Error
  5914. schema:
  5915. $ref: '#/definitions/app.Response'
  5916. security:
  5917. - ApiKeyAuth: []
  5918. summary: 查询交易系统转换设置
  5919. tags:
  5920. - 定制【尚志大宗】
  5921. /SZDZ/QueryConvertLog:
  5922. get:
  5923. parameters:
  5924. - description: 资金账户 - 格式:1,2,3
  5925. in: query
  5926. name: accountID
  5927. required: true
  5928. type: string
  5929. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  5930. in: query
  5931. name: startDate
  5932. type: string
  5933. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  5934. in: query
  5935. name: endDate
  5936. type: string
  5937. produces:
  5938. - application/json
  5939. responses:
  5940. "200":
  5941. description: OK
  5942. schema:
  5943. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  5944. "500":
  5945. description: Internal Server Error
  5946. schema:
  5947. $ref: '#/definitions/app.Response'
  5948. security:
  5949. - ApiKeyAuth: []
  5950. summary: 交易系统转换流水查询
  5951. tags:
  5952. - 定制【尚志大宗】
  5953. /SZDZ/QueryGoodsPickup:
  5954. get:
  5955. parameters:
  5956. - description: 资金账户 - 格式:1,2,3
  5957. in: query
  5958. name: accountID
  5959. required: true
  5960. type: string
  5961. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5962. in: query
  5963. name: takeOrderStatus
  5964. type: integer
  5965. produces:
  5966. - application/json
  5967. responses:
  5968. "200":
  5969. description: OK
  5970. schema:
  5971. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  5972. "500":
  5973. description: Internal Server Error
  5974. schema:
  5975. $ref: '#/definitions/app.Response'
  5976. security:
  5977. - ApiKeyAuth: []
  5978. summary: 商品提货单查询
  5979. tags:
  5980. - 定制【尚志大宗】
  5981. /SZDZ/QueryRecieptOrder:
  5982. get:
  5983. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  5984. parameters:
  5985. - description: 页码
  5986. in: query
  5987. name: page
  5988. type: integer
  5989. - description: 每页条数
  5990. in: query
  5991. name: pagesize
  5992. type: integer
  5993. - description: 商品ID
  5994. in: query
  5995. name: goodsID
  5996. required: true
  5997. type: integer
  5998. - description: 所属账户名称
  5999. in: query
  6000. name: accountName
  6001. type: string
  6002. - description: 市场ID
  6003. in: query
  6004. name: marketID
  6005. type: integer
  6006. - description: 方向 - 0:买 1:卖
  6007. in: query
  6008. name: buyorsell
  6009. required: true
  6010. type: integer
  6011. produces:
  6012. - application/json
  6013. responses:
  6014. "200":
  6015. description: OK
  6016. schema:
  6017. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  6018. "500":
  6019. description: Internal Server Error
  6020. schema:
  6021. $ref: '#/definitions/app.Response'
  6022. security:
  6023. - ApiKeyAuth: []
  6024. summary: 点选挂牌委托单据查询(摘牌大厅)
  6025. tags:
  6026. - 定制【尚志大宗】
  6027. /SZDZ/QuerySZDZTradePosition:
  6028. get:
  6029. parameters:
  6030. - description: 资金账户
  6031. in: query
  6032. name: accountID
  6033. required: true
  6034. type: integer
  6035. produces:
  6036. - application/json
  6037. responses:
  6038. "200":
  6039. description: OK
  6040. schema:
  6041. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  6042. "500":
  6043. description: Internal Server Error
  6044. schema:
  6045. $ref: '#/definitions/app.Response'
  6046. security:
  6047. - ApiKeyAuth: []
  6048. summary: 持仓汇总查询(尚志大宗)
  6049. tags:
  6050. - 定制【尚志大宗】
  6051. /SZDZ/SearchWhite:
  6052. get:
  6053. parameters:
  6054. - description: 用户ID
  6055. in: query
  6056. name: userID
  6057. required: true
  6058. type: integer
  6059. produces:
  6060. - application/json
  6061. responses:
  6062. "200":
  6063. description: OK
  6064. schema:
  6065. $ref: '#/definitions/models.Szdz3searchwhitelist'
  6066. "500":
  6067. description: Internal Server Error
  6068. schema:
  6069. $ref: '#/definitions/app.Response'
  6070. security:
  6071. - ApiKeyAuth: []
  6072. summary: 搜索白名单
  6073. tags:
  6074. - 定制【尚志大宗】
  6075. /Search/SearchGoodses:
  6076. get:
  6077. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  6078. parameters:
  6079. - description: 检索内容
  6080. in: query
  6081. name: content
  6082. required: true
  6083. type: string
  6084. produces:
  6085. - application/json
  6086. responses:
  6087. "200":
  6088. description: OK
  6089. schema:
  6090. $ref: '#/definitions/models.SearchGoods'
  6091. "500":
  6092. description: Internal Server Error
  6093. schema:
  6094. $ref: '#/definitions/app.Response'
  6095. summary: 检索商品信息
  6096. tags:
  6097. - 检索服务
  6098. /TaAccount/QueryAmountLog:
  6099. get:
  6100. parameters:
  6101. - description: 页码
  6102. in: query
  6103. name: page
  6104. type: integer
  6105. - description: 每页条数
  6106. in: query
  6107. name: pagesize
  6108. type: integer
  6109. - description: 资金账户 - 格式:1,2,3
  6110. in: query
  6111. name: accountID
  6112. required: true
  6113. type: string
  6114. - description: 资金操作类型 - 格式:1,2,3
  6115. in: query
  6116. name: OperateType
  6117. type: string
  6118. produces:
  6119. - application/json
  6120. responses:
  6121. "200":
  6122. description: OK
  6123. schema:
  6124. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  6125. "500":
  6126. description: Internal Server Error
  6127. schema:
  6128. $ref: '#/definitions/app.Response'
  6129. security:
  6130. - ApiKeyAuth: []
  6131. summary: 资金流水查询(当前)
  6132. tags:
  6133. - 资金账户
  6134. /TaAccount/QueryHisAmountLog:
  6135. get:
  6136. parameters:
  6137. - description: 页码
  6138. in: query
  6139. name: page
  6140. type: integer
  6141. - description: 每页条数
  6142. in: query
  6143. name: pagesize
  6144. type: integer
  6145. - description: 资金账户 - 格式:1,2,3
  6146. in: query
  6147. name: accountID
  6148. required: true
  6149. type: string
  6150. - description: 资金操作类型 - 格式:1,2,3
  6151. in: query
  6152. name: OperateType
  6153. type: string
  6154. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6155. in: query
  6156. name: startDate
  6157. type: string
  6158. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  6159. in: query
  6160. name: endDate
  6161. type: string
  6162. produces:
  6163. - application/json
  6164. responses:
  6165. "200":
  6166. description: OK
  6167. schema:
  6168. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  6169. "500":
  6170. description: Internal Server Error
  6171. schema:
  6172. $ref: '#/definitions/app.Response'
  6173. security:
  6174. - ApiKeyAuth: []
  6175. summary: 资金流水查询(历史)
  6176. tags:
  6177. - 资金账户
  6178. /User/AddMessageBoard:
  6179. post:
  6180. parameters:
  6181. - description: 用户ID
  6182. in: query
  6183. name: userID
  6184. required: true
  6185. type: integer
  6186. - description: 留言信息
  6187. in: query
  6188. name: message
  6189. required: true
  6190. type: string
  6191. produces:
  6192. - application/json
  6193. responses:
  6194. "200":
  6195. description: OK
  6196. schema:
  6197. $ref: '#/definitions/app.Response'
  6198. "500":
  6199. description: Internal Server Error
  6200. schema:
  6201. $ref: '#/definitions/app.Response'
  6202. security:
  6203. - ApiKeyAuth: []
  6204. summary: 添加用户留言板信息
  6205. tags:
  6206. - 用户信息
  6207. /User/AddUserFavoriteGoods:
  6208. post:
  6209. parameters:
  6210. - description: 用户ID
  6211. in: query
  6212. name: userID
  6213. required: true
  6214. type: integer
  6215. - description: 商品ID
  6216. in: query
  6217. name: goodsID
  6218. required: true
  6219. type: integer
  6220. produces:
  6221. - application/json
  6222. responses:
  6223. "200":
  6224. description: OK
  6225. schema:
  6226. $ref: '#/definitions/app.Response'
  6227. "500":
  6228. description: Internal Server Error
  6229. schema:
  6230. $ref: '#/definitions/app.Response'
  6231. security:
  6232. - ApiKeyAuth: []
  6233. summary: 添加用户商品收藏信息
  6234. tags:
  6235. - 用户信息
  6236. /User/GetLoginID:
  6237. get:
  6238. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  6239. parameters:
  6240. - description: 登录代码
  6241. in: query
  6242. name: username
  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. summary: 获取登录ID
  6257. tags:
  6258. - 用户信息
  6259. /User/GetUserAccount:
  6260. get:
  6261. parameters:
  6262. - description: 用户ID
  6263. in: query
  6264. name: userID
  6265. required: true
  6266. type: integer
  6267. produces:
  6268. - application/json
  6269. responses:
  6270. "200":
  6271. description: OK
  6272. schema:
  6273. $ref: '#/definitions/models.Useraccount'
  6274. "500":
  6275. description: Internal Server Error
  6276. schema:
  6277. $ref: '#/definitions/app.Response'
  6278. security:
  6279. - ApiKeyAuth: []
  6280. summary: 获取用户账号信息
  6281. tags:
  6282. - 用户信息
  6283. /User/GetUserAuthStatus:
  6284. get:
  6285. parameters:
  6286. - description: 用户ID
  6287. in: query
  6288. name: userID
  6289. required: true
  6290. type: integer
  6291. produces:
  6292. - application/json
  6293. responses:
  6294. "200":
  6295. description: OK
  6296. schema:
  6297. $ref: '#/definitions/app.Response'
  6298. "500":
  6299. description: Internal Server Error
  6300. schema:
  6301. $ref: '#/definitions/app.Response'
  6302. security:
  6303. - ApiKeyAuth: []
  6304. summary: 获取用户实名认证状态
  6305. tags:
  6306. - 用户信息
  6307. /User/QueryMessageBoard:
  6308. get:
  6309. parameters:
  6310. - description: 用户ID
  6311. in: query
  6312. name: userID
  6313. required: true
  6314. type: integer
  6315. produces:
  6316. - application/json
  6317. responses:
  6318. "200":
  6319. description: OK
  6320. schema:
  6321. $ref: '#/definitions/models.Messageboard'
  6322. "500":
  6323. description: Internal Server Error
  6324. schema:
  6325. $ref: '#/definitions/app.Response'
  6326. security:
  6327. - ApiKeyAuth: []
  6328. summary: 获取用户留言板信息
  6329. tags:
  6330. - 用户信息
  6331. /User/QueryUserFavoriteGoodses:
  6332. get:
  6333. parameters:
  6334. - description: 用户ID
  6335. in: query
  6336. name: userID
  6337. required: true
  6338. type: integer
  6339. produces:
  6340. - application/json
  6341. responses:
  6342. "200":
  6343. description: OK
  6344. schema:
  6345. $ref: '#/definitions/models.Userfavoritegoods'
  6346. "500":
  6347. description: Internal Server Error
  6348. schema:
  6349. $ref: '#/definitions/app.Response'
  6350. security:
  6351. - ApiKeyAuth: []
  6352. summary: 获取用户商品收藏信息
  6353. tags:
  6354. - 用户信息
  6355. /User/QueryUserInfo:
  6356. get:
  6357. parameters:
  6358. - description: 用户ID
  6359. in: query
  6360. name: userID
  6361. required: true
  6362. type: integer
  6363. produces:
  6364. - application/json
  6365. responses:
  6366. "200":
  6367. description: OK
  6368. schema:
  6369. $ref: '#/definitions/models.Userinfo'
  6370. "500":
  6371. description: Internal Server Error
  6372. schema:
  6373. $ref: '#/definitions/app.Response'
  6374. security:
  6375. - ApiKeyAuth: []
  6376. summary: 获取用户信息
  6377. tags:
  6378. - 用户信息
  6379. /User/QueryUserReferNum:
  6380. get:
  6381. parameters:
  6382. - description: 用户ID
  6383. in: query
  6384. name: userID
  6385. required: true
  6386. type: integer
  6387. produces:
  6388. - application/json
  6389. responses:
  6390. "200":
  6391. description: OK
  6392. schema:
  6393. $ref: '#/definitions/app.Response'
  6394. "500":
  6395. description: Internal Server Error
  6396. schema:
  6397. $ref: '#/definitions/app.Response'
  6398. summary: 获取用户邀请码
  6399. tags:
  6400. - 用户信息
  6401. /User/RemoveUserFavoriteGoods:
  6402. post:
  6403. parameters:
  6404. - description: 用户ID
  6405. in: query
  6406. name: userID
  6407. required: true
  6408. type: integer
  6409. - description: 商品ID
  6410. in: query
  6411. name: goodsID
  6412. required: true
  6413. type: integer
  6414. produces:
  6415. - application/json
  6416. responses:
  6417. "200":
  6418. description: OK
  6419. schema:
  6420. $ref: '#/definitions/app.Response'
  6421. "500":
  6422. description: Internal Server Error
  6423. schema:
  6424. $ref: '#/definitions/app.Response'
  6425. security:
  6426. - ApiKeyAuth: []
  6427. summary: 移除用户商品收藏信息
  6428. tags:
  6429. - 用户信息
  6430. /WRTrade/GetAllDeliveryGoods:
  6431. get:
  6432. produces:
  6433. - application/json
  6434. - application/json
  6435. responses:
  6436. "200":
  6437. description: OK
  6438. schema:
  6439. $ref: '#/definitions/app.Response'
  6440. "500":
  6441. description: Internal Server Error
  6442. schema:
  6443. $ref: '#/definitions/app.Response'
  6444. security:
  6445. - ApiKeyAuth: []
  6446. - ApiKeyAuth: []
  6447. summary: 获取带仓单分类的种类信息
  6448. tags:
  6449. - 仓单贸易
  6450. - 仓单贸易
  6451. securityDefinitions:
  6452. ApiKeyAuth:
  6453. in: header
  6454. name: Authorization
  6455. type: apiKey
  6456. swagger: "2.0"