swagger.yaml 194 KB

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