docs.go 667 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetDivisions": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询区域信息",
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/models.Division"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/GetServerTime": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取服务器时间",
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/NoticeReaded": {
  452. "post": {
  453. "security": [
  454. {
  455. "ApiKeyAuth": []
  456. }
  457. ],
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "通知公告设置已读请求",
  465. "parameters": [
  466. {
  467. "type": "integer",
  468. "description": "登录账号",
  469. "name": "loginID",
  470. "in": "query",
  471. "required": true
  472. },
  473. {
  474. "type": "integer",
  475. "description": "通知公告ID",
  476. "name": "noticeID",
  477. "in": "query",
  478. "required": true
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/app.Response"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryErrorInfos": {
  498. "get": {
  499. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "获取数据库错误信息",
  507. "parameters": [
  508. {
  509. "type": "string",
  510. "description": "起始行号前索引",
  511. "name": "rowNumber",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryImageConfigs": {
  532. "get": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "通用服务"
  538. ],
  539. "summary": "查询轮播图配置信息",
  540. "parameters": [
  541. {
  542. "type": "integer",
  543. "description": "类型 - 1:App首页轮播 2:我的",
  544. "name": "imageType",
  545. "in": "query"
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "OK",
  551. "schema": {
  552. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  553. }
  554. },
  555. "500": {
  556. "description": "Internal Server Error",
  557. "schema": {
  558. "$ref": "#/definitions/app.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/Common/QueryNotice": {
  565. "get": {
  566. "security": [
  567. {
  568. "ApiKeyAuth": []
  569. }
  570. ],
  571. "produces": [
  572. "application/json"
  573. ],
  574. "tags": [
  575. "通用服务"
  576. ],
  577. "summary": "通知公告系统消息查询",
  578. "parameters": [
  579. {
  580. "type": "integer",
  581. "description": "页码",
  582. "name": "page",
  583. "in": "query"
  584. },
  585. {
  586. "type": "integer",
  587. "description": "每页条数",
  588. "name": "pagesize",
  589. "in": "query"
  590. },
  591. {
  592. "type": "integer",
  593. "description": "登录账号",
  594. "name": "loginID",
  595. "in": "query",
  596. "required": true
  597. },
  598. {
  599. "type": "integer",
  600. "description": "消息类型 - 1:公告通知 2:系统消息",
  601. "name": "msgType",
  602. "in": "query"
  603. },
  604. {
  605. "type": "boolean",
  606. "description": "是否只获取未读信息",
  607. "name": "onlyUnRead",
  608. "in": "query"
  609. },
  610. {
  611. "type": "integer",
  612. "description": "自增ID,传入后会返回这个ID后面的记录",
  613. "name": "lastID",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/common.QueryNoticeRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryProvincesAndCities": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询省市信息(不包括区)",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "省ID",
  646. "name": "provinceID",
  647. "in": "query"
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Common/QueryTableDefine": {
  667. "get": {
  668. "produces": [
  669. "application/json"
  670. ],
  671. "tags": [
  672. "通用服务"
  673. ],
  674. "summary": "查询交易端列表头信息",
  675. "parameters": [
  676. {
  677. "type": "string",
  678. "description": "表key",
  679. "name": "tableKey",
  680. "in": "query"
  681. },
  682. {
  683. "type": "integer",
  684. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  685. "name": "tableType",
  686. "in": "query"
  687. }
  688. ],
  689. "responses": {
  690. "200": {
  691. "description": "OK",
  692. "schema": {
  693. "$ref": "#/definitions/common.QueryTableDefineRsp"
  694. }
  695. },
  696. "500": {
  697. "description": "Internal Server Error",
  698. "schema": {
  699. "$ref": "#/definitions/app.Response"
  700. }
  701. }
  702. }
  703. }
  704. },
  705. "/Common/QueryTraderMenu": {
  706. "get": {
  707. "produces": [
  708. "application/json"
  709. ],
  710. "tags": [
  711. "通用服务"
  712. ],
  713. "summary": "查询交易端菜单",
  714. "parameters": [
  715. {
  716. "type": "integer",
  717. "description": "登录账号",
  718. "name": "loginid",
  719. "in": "query",
  720. "required": true
  721. }
  722. ],
  723. "responses": {
  724. "200": {
  725. "description": "OK",
  726. "schema": {
  727. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  728. }
  729. },
  730. "500": {
  731. "description": "Internal Server Error",
  732. "schema": {
  733. "$ref": "#/definitions/app.Response"
  734. }
  735. }
  736. }
  737. }
  738. },
  739. "/Delivery/QueryDeliveryRelation": {
  740. "get": {
  741. "security": [
  742. {
  743. "ApiKeyAuth": []
  744. }
  745. ],
  746. "produces": [
  747. "application/json"
  748. ],
  749. "tags": [
  750. "交割服务"
  751. ],
  752. "summary": "查询商品交割关系表",
  753. "parameters": [
  754. {
  755. "type": "integer",
  756. "description": "商品ID",
  757. "name": "goodsid",
  758. "in": "query"
  759. },
  760. {
  761. "type": "integer",
  762. "description": "品种ID",
  763. "name": "deliverygoodsid",
  764. "in": "query"
  765. },
  766. {
  767. "type": "integer",
  768. "description": "市场ID",
  769. "name": "marketid",
  770. "in": "query"
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Ermcp/GetErmcpGoods": {
  790. "get": {
  791. "security": [
  792. {
  793. "ApiKeyAuth": []
  794. }
  795. ],
  796. "produces": [
  797. "application/json"
  798. ],
  799. "tags": [
  800. "企业风险管理(app)"
  801. ],
  802. "summary": "查询企业风管期货商品信息",
  803. "parameters": [
  804. {
  805. "type": "integer",
  806. "description": "已存末尾商品编号",
  807. "name": "lastID",
  808. "in": "query"
  809. }
  810. ],
  811. "responses": {
  812. "200": {
  813. "description": "OK",
  814. "schema": {
  815. "$ref": "#/definitions/models.Goods"
  816. }
  817. },
  818. "500": {
  819. "description": "Internal Server Error",
  820. "schema": {
  821. "$ref": "#/definitions/app.Response"
  822. }
  823. }
  824. }
  825. }
  826. },
  827. "/Ermcp/QryReportDayExposure": {
  828. "get": {
  829. "security": [
  830. {
  831. "ApiKeyAuth": []
  832. }
  833. ],
  834. "produces": [
  835. "application/json"
  836. ],
  837. "tags": [
  838. "企业风险管理(app)"
  839. ],
  840. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  841. "parameters": [
  842. {
  843. "type": "integer",
  844. "description": "用户ID",
  845. "name": "userid",
  846. "in": "query",
  847. "required": true
  848. },
  849. {
  850. "type": "string",
  851. "description": "交易日(格式:yyyyMMdd)",
  852. "name": "tradedate",
  853. "in": "query",
  854. "required": true
  855. }
  856. ],
  857. "responses": {
  858. "200": {
  859. "description": "OK",
  860. "schema": {
  861. "type": "array",
  862. "items": {
  863. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  864. }
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/QryReportDayFinance": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  890. "parameters": [
  891. {
  892. "type": "integer",
  893. "description": "用户ID",
  894. "name": "userid",
  895. "in": "query",
  896. "required": true
  897. },
  898. {
  899. "type": "string",
  900. "description": "交易日(格式:yyyyMMdd)",
  901. "name": "tradedate",
  902. "in": "query",
  903. "required": true
  904. }
  905. ],
  906. "responses": {
  907. "200": {
  908. "description": "OK",
  909. "schema": {
  910. "type": "array",
  911. "items": {
  912. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  913. }
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/Ermcp/QryReportDayFinanceFp": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "produces": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "企业风险管理(app)"
  937. ],
  938. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  939. "parameters": [
  940. {
  941. "type": "integer",
  942. "description": "用户ID",
  943. "name": "userid",
  944. "in": "query",
  945. "required": true
  946. },
  947. {
  948. "type": "string",
  949. "description": "交易日(格式:yyyyMMdd)",
  950. "name": "tradedate",
  951. "in": "query",
  952. "required": true
  953. }
  954. ],
  955. "responses": {
  956. "200": {
  957. "description": "OK",
  958. "schema": {
  959. "type": "array",
  960. "items": {
  961. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  962. }
  963. }
  964. },
  965. "500": {
  966. "description": "Internal Server Error",
  967. "schema": {
  968. "$ref": "#/definitions/app.Response"
  969. }
  970. }
  971. }
  972. }
  973. },
  974. "/Ermcp/QryReportDayFinanceKx": {
  975. "get": {
  976. "security": [
  977. {
  978. "ApiKeyAuth": []
  979. }
  980. ],
  981. "produces": [
  982. "application/json"
  983. ],
  984. "tags": [
  985. "企业风险管理(app)"
  986. ],
  987. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  988. "parameters": [
  989. {
  990. "type": "integer",
  991. "description": "用户ID",
  992. "name": "userid",
  993. "in": "query",
  994. "required": true
  995. },
  996. {
  997. "type": "string",
  998. "description": "交易日(格式:yyyyMMdd)",
  999. "name": "tradedate",
  1000. "in": "query",
  1001. "required": true
  1002. }
  1003. ],
  1004. "responses": {
  1005. "200": {
  1006. "description": "OK",
  1007. "schema": {
  1008. "type": "array",
  1009. "items": {
  1010. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1011. }
  1012. }
  1013. },
  1014. "500": {
  1015. "description": "Internal Server Error",
  1016. "schema": {
  1017. "$ref": "#/definitions/app.Response"
  1018. }
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "/Ermcp/QryReportDaySpot": {
  1024. "get": {
  1025. "security": [
  1026. {
  1027. "ApiKeyAuth": []
  1028. }
  1029. ],
  1030. "produces": [
  1031. "application/json"
  1032. ],
  1033. "tags": [
  1034. "企业风险管理(app)"
  1035. ],
  1036. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1037. "parameters": [
  1038. {
  1039. "type": "integer",
  1040. "description": "用户ID",
  1041. "name": "userid",
  1042. "in": "query",
  1043. "required": true
  1044. },
  1045. {
  1046. "type": "string",
  1047. "description": "交易日(格式:yyyyMMdd)",
  1048. "name": "tradedate",
  1049. "in": "query",
  1050. "required": true
  1051. }
  1052. ],
  1053. "responses": {
  1054. "200": {
  1055. "description": "OK",
  1056. "schema": {
  1057. "type": "array",
  1058. "items": {
  1059. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1060. }
  1061. }
  1062. },
  1063. "500": {
  1064. "description": "Internal Server Error",
  1065. "schema": {
  1066. "$ref": "#/definitions/app.Response"
  1067. }
  1068. }
  1069. }
  1070. }
  1071. },
  1072. "/Ermcp/QryReportDaySpotDetail": {
  1073. "get": {
  1074. "security": [
  1075. {
  1076. "ApiKeyAuth": []
  1077. }
  1078. ],
  1079. "produces": [
  1080. "application/json"
  1081. ],
  1082. "tags": [
  1083. "企业风险管理(app)"
  1084. ],
  1085. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1086. "parameters": [
  1087. {
  1088. "type": "integer",
  1089. "description": "用户ID",
  1090. "name": "userid",
  1091. "in": "query",
  1092. "required": true
  1093. },
  1094. {
  1095. "type": "integer",
  1096. "description": "现货商品id",
  1097. "name": "wrstandardid",
  1098. "in": "query",
  1099. "required": true
  1100. },
  1101. {
  1102. "type": "string",
  1103. "description": "交易日(格式:yyyyMMdd)",
  1104. "name": "tradedate",
  1105. "in": "query",
  1106. "required": true
  1107. }
  1108. ],
  1109. "responses": {
  1110. "200": {
  1111. "description": "OK",
  1112. "schema": {
  1113. "type": "array",
  1114. "items": {
  1115. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1116. }
  1117. }
  1118. },
  1119. "500": {
  1120. "description": "Internal Server Error",
  1121. "schema": {
  1122. "$ref": "#/definitions/app.Response"
  1123. }
  1124. }
  1125. }
  1126. }
  1127. },
  1128. "/Ermcp/QryReportMonthFinance": {
  1129. "get": {
  1130. "security": [
  1131. {
  1132. "ApiKeyAuth": []
  1133. }
  1134. ],
  1135. "produces": [
  1136. "application/json"
  1137. ],
  1138. "tags": [
  1139. "企业风险管理(app)"
  1140. ],
  1141. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1142. "parameters": [
  1143. {
  1144. "type": "integer",
  1145. "description": "用户ID",
  1146. "name": "userid",
  1147. "in": "query",
  1148. "required": true
  1149. },
  1150. {
  1151. "type": "string",
  1152. "description": "周期时间:月(格式:yyyyMM)",
  1153. "name": "cycletime",
  1154. "in": "query",
  1155. "required": true
  1156. }
  1157. ],
  1158. "responses": {
  1159. "200": {
  1160. "description": "OK",
  1161. "schema": {
  1162. "type": "array",
  1163. "items": {
  1164. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1165. }
  1166. }
  1167. },
  1168. "500": {
  1169. "description": "Internal Server Error",
  1170. "schema": {
  1171. "$ref": "#/definitions/app.Response"
  1172. }
  1173. }
  1174. }
  1175. }
  1176. },
  1177. "/Ermcp/QryReportMonthSpot": {
  1178. "get": {
  1179. "security": [
  1180. {
  1181. "ApiKeyAuth": []
  1182. }
  1183. ],
  1184. "produces": [
  1185. "application/json"
  1186. ],
  1187. "tags": [
  1188. "企业风险管理(app)"
  1189. ],
  1190. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1191. "parameters": [
  1192. {
  1193. "type": "integer",
  1194. "description": "用户ID",
  1195. "name": "userid",
  1196. "in": "query",
  1197. "required": true
  1198. },
  1199. {
  1200. "type": "string",
  1201. "description": "周期时间:月(格式:yyyyMM)",
  1202. "name": "cycletime",
  1203. "in": "query",
  1204. "required": true
  1205. }
  1206. ],
  1207. "responses": {
  1208. "200": {
  1209. "description": "OK",
  1210. "schema": {
  1211. "type": "array",
  1212. "items": {
  1213. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1214. }
  1215. }
  1216. },
  1217. "500": {
  1218. "description": "Internal Server Error",
  1219. "schema": {
  1220. "$ref": "#/definitions/app.Response"
  1221. }
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "/Ermcp/QryReportMonthSpotDetail": {
  1227. "get": {
  1228. "security": [
  1229. {
  1230. "ApiKeyAuth": []
  1231. }
  1232. ],
  1233. "produces": [
  1234. "application/json"
  1235. ],
  1236. "tags": [
  1237. "企业风险管理(app)"
  1238. ],
  1239. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1240. "parameters": [
  1241. {
  1242. "type": "integer",
  1243. "description": "用户ID",
  1244. "name": "userid",
  1245. "in": "query",
  1246. "required": true
  1247. },
  1248. {
  1249. "type": "integer",
  1250. "description": "现货商品id",
  1251. "name": "wrstandardid",
  1252. "in": "query",
  1253. "required": true
  1254. },
  1255. {
  1256. "type": "string",
  1257. "description": "周期时间:月(格式:yyyyMM)",
  1258. "name": "cycletime",
  1259. "in": "query",
  1260. "required": true
  1261. }
  1262. ],
  1263. "responses": {
  1264. "200": {
  1265. "description": "OK",
  1266. "schema": {
  1267. "type": "array",
  1268. "items": {
  1269. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1270. }
  1271. }
  1272. },
  1273. "500": {
  1274. "description": "Internal Server Error",
  1275. "schema": {
  1276. "$ref": "#/definitions/app.Response"
  1277. }
  1278. }
  1279. }
  1280. }
  1281. },
  1282. "/Ermcp/QueryAvaildGoodsGroup": {
  1283. "get": {
  1284. "security": [
  1285. {
  1286. "ApiKeyAuth": []
  1287. }
  1288. ],
  1289. "produces": [
  1290. "application/json"
  1291. ],
  1292. "tags": [
  1293. "企业风险管理(app)"
  1294. ],
  1295. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1296. "parameters": [
  1297. {
  1298. "type": "integer",
  1299. "description": "所属机构ID",
  1300. "name": "userid",
  1301. "in": "query",
  1302. "required": true
  1303. }
  1304. ],
  1305. "responses": {
  1306. "200": {
  1307. "description": "OK",
  1308. "schema": {
  1309. "type": "array",
  1310. "items": {
  1311. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1312. }
  1313. }
  1314. },
  1315. "500": {
  1316. "description": "Internal Server Error",
  1317. "schema": {
  1318. "$ref": "#/definitions/app.Response"
  1319. }
  1320. }
  1321. }
  1322. }
  1323. },
  1324. "/Ermcp/QueryBusinessDj": {
  1325. "get": {
  1326. "security": [
  1327. {
  1328. "ApiKeyAuth": []
  1329. }
  1330. ],
  1331. "produces": [
  1332. "application/json"
  1333. ],
  1334. "tags": [
  1335. "企业风险管理(app)"
  1336. ],
  1337. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1338. "parameters": [
  1339. {
  1340. "type": "integer",
  1341. "description": "用户ID",
  1342. "name": "UserId",
  1343. "in": "query",
  1344. "required": true
  1345. },
  1346. {
  1347. "type": "string",
  1348. "description": "现货合同ID, 不填则查所有",
  1349. "name": "relatedid",
  1350. "in": "query"
  1351. }
  1352. ],
  1353. "responses": {
  1354. "200": {
  1355. "description": "OK",
  1356. "schema": {
  1357. "type": "array",
  1358. "items": {
  1359. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1360. }
  1361. }
  1362. },
  1363. "500": {
  1364. "description": "Internal Server Error",
  1365. "schema": {
  1366. "$ref": "#/definitions/app.Response"
  1367. }
  1368. }
  1369. }
  1370. }
  1371. },
  1372. "/Ermcp/QueryBusinessFp": {
  1373. "get": {
  1374. "security": [
  1375. {
  1376. "ApiKeyAuth": []
  1377. }
  1378. ],
  1379. "produces": [
  1380. "application/json"
  1381. ],
  1382. "tags": [
  1383. "企业风险管理(app)"
  1384. ],
  1385. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1386. "parameters": [
  1387. {
  1388. "type": "integer",
  1389. "description": "用户ID",
  1390. "name": "UserId",
  1391. "in": "query",
  1392. "required": true
  1393. },
  1394. {
  1395. "type": "string",
  1396. "description": "现货合同ID, 不填则查所有",
  1397. "name": "relatedid",
  1398. "in": "query"
  1399. }
  1400. ],
  1401. "responses": {
  1402. "200": {
  1403. "description": "OK",
  1404. "schema": {
  1405. "type": "array",
  1406. "items": {
  1407. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1408. }
  1409. }
  1410. },
  1411. "500": {
  1412. "description": "Internal Server Error",
  1413. "schema": {
  1414. "$ref": "#/definitions/app.Response"
  1415. }
  1416. }
  1417. }
  1418. }
  1419. },
  1420. "/Ermcp/QueryBusinessJs": {
  1421. "get": {
  1422. "security": [
  1423. {
  1424. "ApiKeyAuth": []
  1425. }
  1426. ],
  1427. "produces": [
  1428. "application/json"
  1429. ],
  1430. "tags": [
  1431. "企业风险管理(app)"
  1432. ],
  1433. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1434. "parameters": [
  1435. {
  1436. "type": "integer",
  1437. "description": "用户ID",
  1438. "name": "UserId",
  1439. "in": "query",
  1440. "required": true
  1441. },
  1442. {
  1443. "type": "string",
  1444. "description": "现货合同ID, 不填则查所有",
  1445. "name": "relatedid",
  1446. "in": "query"
  1447. }
  1448. ],
  1449. "responses": {
  1450. "200": {
  1451. "description": "OK",
  1452. "schema": {
  1453. "type": "array",
  1454. "items": {
  1455. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1456. }
  1457. }
  1458. },
  1459. "500": {
  1460. "description": "Internal Server Error",
  1461. "schema": {
  1462. "$ref": "#/definitions/app.Response"
  1463. }
  1464. }
  1465. }
  1466. }
  1467. },
  1468. "/Ermcp/QueryBusinessJsEx": {
  1469. "get": {
  1470. "security": [
  1471. {
  1472. "ApiKeyAuth": []
  1473. }
  1474. ],
  1475. "produces": [
  1476. "application/json"
  1477. ],
  1478. "tags": [
  1479. "企业风险管理(app)"
  1480. ],
  1481. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1482. "parameters": [
  1483. {
  1484. "type": "integer",
  1485. "description": "用户ID",
  1486. "name": "UserId",
  1487. "in": "query",
  1488. "required": true
  1489. },
  1490. {
  1491. "type": "string",
  1492. "description": "现货合同ID, 不填则查所有",
  1493. "name": "relatedid",
  1494. "in": "query"
  1495. }
  1496. ],
  1497. "responses": {
  1498. "200": {
  1499. "description": "OK",
  1500. "schema": {
  1501. "type": "array",
  1502. "items": {
  1503. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1504. }
  1505. }
  1506. },
  1507. "500": {
  1508. "description": "Internal Server Error",
  1509. "schema": {
  1510. "$ref": "#/definitions/app.Response"
  1511. }
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "/Ermcp/QueryBusinessKx": {
  1517. "get": {
  1518. "security": [
  1519. {
  1520. "ApiKeyAuth": []
  1521. }
  1522. ],
  1523. "produces": [
  1524. "application/json"
  1525. ],
  1526. "tags": [
  1527. "企业风险管理(app)"
  1528. ],
  1529. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1530. "parameters": [
  1531. {
  1532. "type": "integer",
  1533. "description": "用户ID",
  1534. "name": "UserId",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "string",
  1540. "description": "现货合同ID, 不填则查所有",
  1541. "name": "relatedid",
  1542. "in": "query"
  1543. }
  1544. ],
  1545. "responses": {
  1546. "200": {
  1547. "description": "OK",
  1548. "schema": {
  1549. "type": "array",
  1550. "items": {
  1551. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1552. }
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/Ermcp/QueryChangeLog": {
  1565. "get": {
  1566. "security": [
  1567. {
  1568. "ApiKeyAuth": []
  1569. }
  1570. ],
  1571. "produces": [
  1572. "application/json"
  1573. ],
  1574. "tags": [
  1575. "企业风险管理(app)"
  1576. ],
  1577. "summary": "查询变更记录",
  1578. "parameters": [
  1579. {
  1580. "type": "string",
  1581. "description": "合同ID",
  1582. "name": "RelatedId",
  1583. "in": "query",
  1584. "required": true
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "OK",
  1590. "schema": {
  1591. "type": "array",
  1592. "items": {
  1593. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1594. }
  1595. }
  1596. },
  1597. "500": {
  1598. "description": "Internal Server Error",
  1599. "schema": {
  1600. "$ref": "#/definitions/app.Response"
  1601. }
  1602. }
  1603. }
  1604. }
  1605. },
  1606. "/Ermcp/QueryContract": {
  1607. "get": {
  1608. "security": [
  1609. {
  1610. "ApiKeyAuth": []
  1611. }
  1612. ],
  1613. "produces": [
  1614. "application/json"
  1615. ],
  1616. "tags": [
  1617. "企业风险管理(app)"
  1618. ],
  1619. "summary": "查询合同(采购和销售)",
  1620. "parameters": [
  1621. {
  1622. "type": "integer",
  1623. "description": "用户ID",
  1624. "name": "userId",
  1625. "in": "query",
  1626. "required": true
  1627. },
  1628. {
  1629. "type": "integer",
  1630. "description": "合同类型 1-采购, -1-销售",
  1631. "name": "contracttype",
  1632. "in": "query",
  1633. "required": true
  1634. },
  1635. {
  1636. "type": "integer",
  1637. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1638. "name": "querytype",
  1639. "in": "query",
  1640. "required": true
  1641. }
  1642. ],
  1643. "responses": {
  1644. "200": {
  1645. "description": "OK",
  1646. "schema": {
  1647. "type": "array",
  1648. "items": {
  1649. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1650. }
  1651. }
  1652. },
  1653. "500": {
  1654. "description": "Internal Server Error",
  1655. "schema": {
  1656. "$ref": "#/definitions/app.Response"
  1657. }
  1658. }
  1659. }
  1660. }
  1661. },
  1662. "/Ermcp/QueryErmcpOrderDetails": {
  1663. "get": {
  1664. "security": [
  1665. {
  1666. "ApiKeyAuth": []
  1667. }
  1668. ],
  1669. "produces": [
  1670. "application/json"
  1671. ],
  1672. "tags": [
  1673. "企业风险管理(app)"
  1674. ],
  1675. "summary": "获取企业风管期货委托单信息",
  1676. "parameters": [
  1677. {
  1678. "type": "integer",
  1679. "description": "资金账户ID",
  1680. "name": "accountID",
  1681. "in": "query",
  1682. "required": true
  1683. }
  1684. ],
  1685. "responses": {
  1686. "200": {
  1687. "description": "OK",
  1688. "schema": {
  1689. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1690. }
  1691. },
  1692. "500": {
  1693. "description": "Internal Server Error",
  1694. "schema": {
  1695. "$ref": "#/definitions/app.Response"
  1696. }
  1697. }
  1698. }
  1699. }
  1700. },
  1701. "/Ermcp/QueryErmcpTradeDetails": {
  1702. "get": {
  1703. "security": [
  1704. {
  1705. "ApiKeyAuth": []
  1706. }
  1707. ],
  1708. "produces": [
  1709. "application/json"
  1710. ],
  1711. "tags": [
  1712. "企业风险管理(app)"
  1713. ],
  1714. "summary": "获取企业风管期货成交单信息",
  1715. "parameters": [
  1716. {
  1717. "type": "integer",
  1718. "description": "资金账户ID",
  1719. "name": "accountID",
  1720. "in": "query",
  1721. "required": true
  1722. },
  1723. {
  1724. "type": "integer",
  1725. "description": "商品ID",
  1726. "name": "goodsID",
  1727. "in": "query"
  1728. },
  1729. {
  1730. "type": "integer",
  1731. "description": "买卖方向,0:买 1:卖",
  1732. "name": "buyOrSell",
  1733. "in": "query"
  1734. }
  1735. ],
  1736. "responses": {
  1737. "200": {
  1738. "description": "OK",
  1739. "schema": {
  1740. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1741. }
  1742. },
  1743. "500": {
  1744. "description": "Internal Server Error",
  1745. "schema": {
  1746. "$ref": "#/definitions/app.Response"
  1747. }
  1748. }
  1749. }
  1750. }
  1751. },
  1752. "/Ermcp/QueryErmcpTradePosition": {
  1753. "get": {
  1754. "security": [
  1755. {
  1756. "ApiKeyAuth": []
  1757. }
  1758. ],
  1759. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1760. "produces": [
  1761. "application/json"
  1762. ],
  1763. "tags": [
  1764. "企业风险管理(app)"
  1765. ],
  1766. "summary": "获取企业风管期货持仓头寸信息",
  1767. "parameters": [
  1768. {
  1769. "type": "integer",
  1770. "description": "资金账户ID",
  1771. "name": "accountID",
  1772. "in": "query",
  1773. "required": true
  1774. },
  1775. {
  1776. "type": "integer",
  1777. "description": "所属市场ID",
  1778. "name": "marketID",
  1779. "in": "query"
  1780. }
  1781. ],
  1782. "responses": {
  1783. "200": {
  1784. "description": "OK",
  1785. "schema": {
  1786. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1787. }
  1788. },
  1789. "500": {
  1790. "description": "Internal Server Error",
  1791. "schema": {
  1792. "$ref": "#/definitions/app.Response"
  1793. }
  1794. }
  1795. }
  1796. }
  1797. },
  1798. "/Ermcp/QueryExposureDetail": {
  1799. "get": {
  1800. "security": [
  1801. {
  1802. "ApiKeyAuth": []
  1803. }
  1804. ],
  1805. "produces": [
  1806. "application/json"
  1807. ],
  1808. "tags": [
  1809. "企业风险管理(app)"
  1810. ],
  1811. "summary": "查询敞口现货明细",
  1812. "parameters": [
  1813. {
  1814. "type": "integer",
  1815. "description": "所属机构ID",
  1816. "name": "areaUserId",
  1817. "in": "query",
  1818. "required": true
  1819. },
  1820. {
  1821. "type": "integer",
  1822. "description": "套保商品",
  1823. "name": "middleGoodsId",
  1824. "in": "query",
  1825. "required": true
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "type": "array",
  1833. "items": {
  1834. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1835. }
  1836. }
  1837. },
  1838. "500": {
  1839. "description": "Internal Server Error",
  1840. "schema": {
  1841. "$ref": "#/definitions/app.Response"
  1842. }
  1843. }
  1844. }
  1845. }
  1846. },
  1847. "/Ermcp/QueryExposureHedgePosition": {
  1848. "get": {
  1849. "security": [
  1850. {
  1851. "ApiKeyAuth": []
  1852. }
  1853. ],
  1854. "produces": [
  1855. "application/json"
  1856. ],
  1857. "tags": [
  1858. "企业风险管理(app)"
  1859. ],
  1860. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1861. "parameters": [
  1862. {
  1863. "type": "integer",
  1864. "description": "所属机构ID",
  1865. "name": "areaUserId",
  1866. "in": "query",
  1867. "required": true
  1868. }
  1869. ],
  1870. "responses": {
  1871. "200": {
  1872. "description": "OK",
  1873. "schema": {
  1874. "type": "array",
  1875. "items": {
  1876. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1877. }
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Ermcp/QueryExposureHedgePositionDetail": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "企业风险管理(app)"
  1901. ],
  1902. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "所属机构ID",
  1907. "name": "areaUserId",
  1908. "in": "query",
  1909. "required": true
  1910. },
  1911. {
  1912. "type": "integer",
  1913. "description": "商品id",
  1914. "name": "goodsId",
  1915. "in": "query",
  1916. "required": true
  1917. }
  1918. ],
  1919. "responses": {
  1920. "200": {
  1921. "description": "OK",
  1922. "schema": {
  1923. "type": "array",
  1924. "items": {
  1925. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1926. }
  1927. }
  1928. },
  1929. "500": {
  1930. "description": "Internal Server Error",
  1931. "schema": {
  1932. "$ref": "#/definitions/app.Response"
  1933. }
  1934. }
  1935. }
  1936. }
  1937. },
  1938. "/Ermcp/QueryExposureSpot": {
  1939. "get": {
  1940. "security": [
  1941. {
  1942. "ApiKeyAuth": []
  1943. }
  1944. ],
  1945. "produces": [
  1946. "application/json"
  1947. ],
  1948. "tags": [
  1949. "企业风险管理(app)"
  1950. ],
  1951. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1952. "parameters": [
  1953. {
  1954. "type": "integer",
  1955. "description": "所属机构ID",
  1956. "name": "areaUserId",
  1957. "in": "query",
  1958. "required": true
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryExposureSpotDetail": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "所属机构ID",
  1998. "name": "areaUserId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "现货品种ID",
  2005. "name": "wrstandardId",
  2006. "in": "query",
  2007. "required": true
  2008. }
  2009. ],
  2010. "responses": {
  2011. "200": {
  2012. "description": "OK",
  2013. "schema": {
  2014. "type": "array",
  2015. "items": {
  2016. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2017. }
  2018. }
  2019. },
  2020. "500": {
  2021. "description": "Internal Server Error",
  2022. "schema": {
  2023. "$ref": "#/definitions/app.Response"
  2024. }
  2025. }
  2026. }
  2027. }
  2028. },
  2029. "/Ermcp/QueryGGConvertConfig": {
  2030. "get": {
  2031. "security": [
  2032. {
  2033. "ApiKeyAuth": []
  2034. }
  2035. ],
  2036. "produces": [
  2037. "application/json"
  2038. ],
  2039. "tags": [
  2040. "企业风险管理(app)"
  2041. ],
  2042. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2043. "parameters": [
  2044. {
  2045. "type": "integer",
  2046. "description": "品种id(不填则查所有)",
  2047. "name": "goodsgroupid",
  2048. "in": "query"
  2049. }
  2050. ],
  2051. "responses": {
  2052. "200": {
  2053. "description": "OK",
  2054. "schema": {
  2055. "type": "array",
  2056. "items": {
  2057. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2058. }
  2059. }
  2060. },
  2061. "500": {
  2062. "description": "Internal Server Error",
  2063. "schema": {
  2064. "$ref": "#/definitions/app.Response"
  2065. }
  2066. }
  2067. }
  2068. }
  2069. },
  2070. "/Ermcp/QueryHedgePlan": {
  2071. "get": {
  2072. "security": [
  2073. {
  2074. "ApiKeyAuth": []
  2075. }
  2076. ],
  2077. "produces": [
  2078. "application/json"
  2079. ],
  2080. "tags": [
  2081. "企业风险管理(app)"
  2082. ],
  2083. "summary": "查询套保计划",
  2084. "parameters": [
  2085. {
  2086. "type": "integer",
  2087. "description": "用户ID",
  2088. "name": "userId",
  2089. "in": "query",
  2090. "required": true
  2091. },
  2092. {
  2093. "type": "string",
  2094. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2095. "name": "HedgePlanStatus",
  2096. "in": "query",
  2097. "required": true
  2098. }
  2099. ],
  2100. "responses": {
  2101. "200": {
  2102. "description": "OK",
  2103. "schema": {
  2104. "type": "array",
  2105. "items": {
  2106. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2107. }
  2108. }
  2109. },
  2110. "500": {
  2111. "description": "Internal Server Error",
  2112. "schema": {
  2113. "$ref": "#/definitions/app.Response"
  2114. }
  2115. }
  2116. }
  2117. }
  2118. },
  2119. "/Ermcp/QueryHisExposure": {
  2120. "get": {
  2121. "security": [
  2122. {
  2123. "ApiKeyAuth": []
  2124. }
  2125. ],
  2126. "produces": [
  2127. "application/json"
  2128. ],
  2129. "tags": [
  2130. "企业风险管理(app)"
  2131. ],
  2132. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2133. "parameters": [
  2134. {
  2135. "type": "integer",
  2136. "description": "所属机构ID",
  2137. "name": "areaUserId",
  2138. "in": "query",
  2139. "required": true
  2140. },
  2141. {
  2142. "type": "integer",
  2143. "description": "每个品种记录数",
  2144. "name": "lastNum",
  2145. "in": "query",
  2146. "required": true
  2147. }
  2148. ],
  2149. "responses": {
  2150. "200": {
  2151. "description": "OK",
  2152. "schema": {
  2153. "type": "array",
  2154. "items": {
  2155. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2156. }
  2157. }
  2158. },
  2159. "500": {
  2160. "description": "Internal Server Error",
  2161. "schema": {
  2162. "$ref": "#/definitions/app.Response"
  2163. }
  2164. }
  2165. }
  2166. }
  2167. },
  2168. "/Ermcp/QueryMiddleGoods": {
  2169. "get": {
  2170. "security": [
  2171. {
  2172. "ApiKeyAuth": []
  2173. }
  2174. ],
  2175. "produces": [
  2176. "application/json"
  2177. ],
  2178. "tags": [
  2179. "企业风险管理(app)"
  2180. ],
  2181. "summary": "查询套保品种(菜单:套保品种)",
  2182. "parameters": [
  2183. {
  2184. "type": "integer",
  2185. "description": "所属机构ID",
  2186. "name": "userid",
  2187. "in": "query",
  2188. "required": true
  2189. },
  2190. {
  2191. "type": "integer",
  2192. "description": "状态 0-停用 1-正常",
  2193. "name": "status",
  2194. "in": "query",
  2195. "required": true
  2196. }
  2197. ],
  2198. "responses": {
  2199. "200": {
  2200. "description": "OK",
  2201. "schema": {
  2202. "type": "array",
  2203. "items": {
  2204. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2205. }
  2206. }
  2207. },
  2208. "500": {
  2209. "description": "Internal Server Error",
  2210. "schema": {
  2211. "$ref": "#/definitions/app.Response"
  2212. }
  2213. }
  2214. }
  2215. }
  2216. },
  2217. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2218. "get": {
  2219. "security": [
  2220. {
  2221. "ApiKeyAuth": []
  2222. }
  2223. ],
  2224. "produces": [
  2225. "application/json"
  2226. ],
  2227. "tags": [
  2228. "企业风险管理(app)"
  2229. ],
  2230. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2231. "parameters": [
  2232. {
  2233. "type": "integer",
  2234. "description": "所属机构ID",
  2235. "name": "userid",
  2236. "in": "query",
  2237. "required": true
  2238. },
  2239. {
  2240. "type": "integer",
  2241. "description": "套保品种id",
  2242. "name": "middlegoodsid",
  2243. "in": "query",
  2244. "required": true
  2245. }
  2246. ],
  2247. "responses": {
  2248. "200": {
  2249. "description": "OK",
  2250. "schema": {
  2251. "type": "array",
  2252. "items": {
  2253. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2254. }
  2255. }
  2256. },
  2257. "500": {
  2258. "description": "Internal Server Error",
  2259. "schema": {
  2260. "$ref": "#/definitions/app.Response"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "/Ermcp/QueryMiddleGoodsDetail": {
  2267. "get": {
  2268. "security": [
  2269. {
  2270. "ApiKeyAuth": []
  2271. }
  2272. ],
  2273. "produces": [
  2274. "application/json"
  2275. ],
  2276. "tags": [
  2277. "企业风险管理(app)"
  2278. ],
  2279. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2280. "parameters": [
  2281. {
  2282. "type": "integer",
  2283. "description": "所属机构ID",
  2284. "name": "userid",
  2285. "in": "query",
  2286. "required": true
  2287. },
  2288. {
  2289. "type": "integer",
  2290. "description": "套保品种id",
  2291. "name": "middlegoodsid",
  2292. "in": "query",
  2293. "required": true
  2294. }
  2295. ],
  2296. "responses": {
  2297. "200": {
  2298. "description": "OK",
  2299. "schema": {
  2300. "type": "array",
  2301. "items": {
  2302. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2303. }
  2304. }
  2305. },
  2306. "500": {
  2307. "description": "Internal Server Error",
  2308. "schema": {
  2309. "$ref": "#/definitions/app.Response"
  2310. }
  2311. }
  2312. }
  2313. }
  2314. },
  2315. "/Ermcp/QueryPendingAuditInfo": {
  2316. "get": {
  2317. "security": [
  2318. {
  2319. "ApiKeyAuth": []
  2320. }
  2321. ],
  2322. "produces": [
  2323. "application/json"
  2324. ],
  2325. "tags": [
  2326. "企业风险管理(app)"
  2327. ],
  2328. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2329. "parameters": [
  2330. {
  2331. "type": "integer",
  2332. "description": "用户ID",
  2333. "name": "UserId",
  2334. "in": "query",
  2335. "required": true
  2336. }
  2337. ],
  2338. "responses": {
  2339. "200": {
  2340. "description": "OK",
  2341. "schema": {
  2342. "type": "array",
  2343. "items": {
  2344. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2345. }
  2346. }
  2347. },
  2348. "500": {
  2349. "description": "Internal Server Error",
  2350. "schema": {
  2351. "$ref": "#/definitions/app.Response"
  2352. }
  2353. }
  2354. }
  2355. }
  2356. },
  2357. "/Ermcp/QueryRealtimeExposure": {
  2358. "get": {
  2359. "security": [
  2360. {
  2361. "ApiKeyAuth": []
  2362. }
  2363. ],
  2364. "produces": [
  2365. "application/json"
  2366. ],
  2367. "tags": [
  2368. "企业风险管理(app)"
  2369. ],
  2370. "summary": "查询实时敞口",
  2371. "parameters": [
  2372. {
  2373. "type": "integer",
  2374. "description": "所属机构ID",
  2375. "name": "AreaUserID",
  2376. "in": "query",
  2377. "required": true
  2378. }
  2379. ],
  2380. "responses": {
  2381. "200": {
  2382. "description": "OK",
  2383. "schema": {
  2384. "type": "array",
  2385. "items": {
  2386. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2387. }
  2388. }
  2389. },
  2390. "500": {
  2391. "description": "Internal Server Error",
  2392. "schema": {
  2393. "$ref": "#/definitions/app.Response"
  2394. }
  2395. }
  2396. }
  2397. }
  2398. },
  2399. "/Ermcp/QueryRealtimeExposurePosition": {
  2400. "get": {
  2401. "security": [
  2402. {
  2403. "ApiKeyAuth": []
  2404. }
  2405. ],
  2406. "produces": [
  2407. "application/json"
  2408. ],
  2409. "tags": [
  2410. "企业风险管理(app)"
  2411. ],
  2412. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2413. "parameters": [
  2414. {
  2415. "type": "integer",
  2416. "description": "所属机构ID",
  2417. "name": "areaUserId",
  2418. "in": "query",
  2419. "required": true
  2420. },
  2421. {
  2422. "type": "integer",
  2423. "description": "套保商品ID",
  2424. "name": "middleGoodsId",
  2425. "in": "query",
  2426. "required": true
  2427. }
  2428. ],
  2429. "responses": {
  2430. "200": {
  2431. "description": "OK",
  2432. "schema": {
  2433. "type": "array",
  2434. "items": {
  2435. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2436. }
  2437. }
  2438. },
  2439. "500": {
  2440. "description": "Internal Server Error",
  2441. "schema": {
  2442. "$ref": "#/definitions/app.Response"
  2443. }
  2444. }
  2445. }
  2446. }
  2447. },
  2448. "/Ermcp/QuerySpotContract": {
  2449. "get": {
  2450. "security": [
  2451. {
  2452. "ApiKeyAuth": []
  2453. }
  2454. ],
  2455. "produces": [
  2456. "application/json"
  2457. ],
  2458. "tags": [
  2459. "企业风险管理(app)"
  2460. ],
  2461. "summary": "查询现货合同(对应现货合同菜单)",
  2462. "parameters": [
  2463. {
  2464. "type": "integer",
  2465. "description": "用户ID",
  2466. "name": "userId",
  2467. "in": "query",
  2468. "required": true
  2469. },
  2470. {
  2471. "type": "integer",
  2472. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2473. "name": "QueryType",
  2474. "in": "query",
  2475. "required": true
  2476. }
  2477. ],
  2478. "responses": {
  2479. "200": {
  2480. "description": "OK",
  2481. "schema": {
  2482. "type": "array",
  2483. "items": {
  2484. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2485. }
  2486. }
  2487. },
  2488. "500": {
  2489. "description": "Internal Server Error",
  2490. "schema": {
  2491. "$ref": "#/definitions/app.Response"
  2492. }
  2493. }
  2494. }
  2495. }
  2496. },
  2497. "/Ermcp/QueryUserInfo": {
  2498. "get": {
  2499. "security": [
  2500. {
  2501. "ApiKeyAuth": []
  2502. }
  2503. ],
  2504. "produces": [
  2505. "application/json"
  2506. ],
  2507. "tags": [
  2508. "企业风险管理(app)"
  2509. ],
  2510. "summary": "查询客户资料",
  2511. "parameters": [
  2512. {
  2513. "type": "integer",
  2514. "description": "所属机构用户ID",
  2515. "name": "MemberUserID",
  2516. "in": "query",
  2517. "required": true
  2518. },
  2519. {
  2520. "type": "integer",
  2521. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2522. "name": "queryType",
  2523. "in": "query",
  2524. "required": true
  2525. }
  2526. ],
  2527. "responses": {
  2528. "200": {
  2529. "description": "OK",
  2530. "schema": {
  2531. "type": "array",
  2532. "items": {
  2533. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2534. }
  2535. }
  2536. },
  2537. "500": {
  2538. "description": "Internal Server Error",
  2539. "schema": {
  2540. "$ref": "#/definitions/app.Response"
  2541. }
  2542. }
  2543. }
  2544. }
  2545. },
  2546. "/Ermcp/QueryWrStandard": {
  2547. "get": {
  2548. "security": [
  2549. {
  2550. "ApiKeyAuth": []
  2551. }
  2552. ],
  2553. "produces": [
  2554. "application/json"
  2555. ],
  2556. "tags": [
  2557. "企业风险管理(app)"
  2558. ],
  2559. "summary": "查询现货商品",
  2560. "parameters": [
  2561. {
  2562. "type": "integer",
  2563. "description": "所属机构ID",
  2564. "name": "userid",
  2565. "in": "query",
  2566. "required": true
  2567. },
  2568. {
  2569. "type": "integer",
  2570. "description": "状态 0-停用 1-正常",
  2571. "name": "status",
  2572. "in": "query",
  2573. "required": true
  2574. }
  2575. ],
  2576. "responses": {
  2577. "200": {
  2578. "description": "OK",
  2579. "schema": {
  2580. "type": "array",
  2581. "items": {
  2582. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2583. }
  2584. }
  2585. },
  2586. "500": {
  2587. "description": "Internal Server Error",
  2588. "schema": {
  2589. "$ref": "#/definitions/app.Response"
  2590. }
  2591. }
  2592. }
  2593. }
  2594. },
  2595. "/Ermcp/QueryWrStandardDetail": {
  2596. "get": {
  2597. "security": [
  2598. {
  2599. "ApiKeyAuth": []
  2600. }
  2601. ],
  2602. "produces": [
  2603. "application/json"
  2604. ],
  2605. "tags": [
  2606. "企业风险管理(app)"
  2607. ],
  2608. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2609. "parameters": [
  2610. {
  2611. "type": "integer",
  2612. "description": "所属机构ID",
  2613. "name": "userid",
  2614. "in": "query",
  2615. "required": true
  2616. },
  2617. {
  2618. "type": "integer",
  2619. "description": "现货商品ID",
  2620. "name": "wrstandardid",
  2621. "in": "query",
  2622. "required": true
  2623. }
  2624. ],
  2625. "responses": {
  2626. "200": {
  2627. "description": "OK",
  2628. "schema": {
  2629. "type": "array",
  2630. "items": {
  2631. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2632. }
  2633. }
  2634. },
  2635. "500": {
  2636. "description": "Internal Server Error",
  2637. "schema": {
  2638. "$ref": "#/definitions/app.Response"
  2639. }
  2640. }
  2641. }
  2642. }
  2643. },
  2644. "/Erms2/QueryArbitrageStrategy": {
  2645. "get": {
  2646. "security": [
  2647. {
  2648. "ApiKeyAuth": []
  2649. }
  2650. ],
  2651. "produces": [
  2652. "application/json"
  2653. ],
  2654. "tags": [
  2655. "风险管理"
  2656. ],
  2657. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2658. "parameters": [
  2659. {
  2660. "type": "integer",
  2661. "description": "账户ID",
  2662. "name": "userid",
  2663. "in": "query",
  2664. "required": true
  2665. },
  2666. {
  2667. "type": "string",
  2668. "description": "商品组ID(品种ID)",
  2669. "name": "goodsgroupid",
  2670. "in": "query"
  2671. }
  2672. ],
  2673. "responses": {
  2674. "200": {
  2675. "description": "OK",
  2676. "schema": {
  2677. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2678. }
  2679. },
  2680. "500": {
  2681. "description": "Internal Server Error",
  2682. "schema": {
  2683. "$ref": "#/definitions/app.Response"
  2684. }
  2685. }
  2686. }
  2687. }
  2688. },
  2689. "/Erms2/QueryInnerTradeDetail": {
  2690. "get": {
  2691. "security": [
  2692. {
  2693. "ApiKeyAuth": []
  2694. }
  2695. ],
  2696. "produces": [
  2697. "application/json"
  2698. ],
  2699. "tags": [
  2700. "风险管理"
  2701. ],
  2702. "summary": "查询内部成交单信息",
  2703. "parameters": [
  2704. {
  2705. "type": "integer",
  2706. "description": "资金账户",
  2707. "name": "accountid",
  2708. "in": "query",
  2709. "required": true
  2710. }
  2711. ],
  2712. "responses": {
  2713. "200": {
  2714. "description": "OK",
  2715. "schema": {
  2716. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Erms2/QuerySpotContract": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "风险管理"
  2740. ],
  2741. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "策略申请ID",
  2746. "name": "asapplyid",
  2747. "in": "query",
  2748. "required": true
  2749. },
  2750. {
  2751. "type": "integer",
  2752. "description": "现货合同ID",
  2753. "name": "spotcontractid",
  2754. "in": "query"
  2755. }
  2756. ],
  2757. "responses": {
  2758. "200": {
  2759. "description": "OK",
  2760. "schema": {
  2761. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2762. }
  2763. },
  2764. "500": {
  2765. "description": "Internal Server Error",
  2766. "schema": {
  2767. "$ref": "#/definitions/app.Response"
  2768. }
  2769. }
  2770. }
  2771. }
  2772. },
  2773. "/Erms3/AddErms2ASApply": {
  2774. "post": {
  2775. "security": [
  2776. {
  2777. "ApiKeyAuth": []
  2778. }
  2779. ],
  2780. "produces": [
  2781. "application/json"
  2782. ],
  2783. "tags": [
  2784. "风险管理v3"
  2785. ],
  2786. "summary": "新增期现套利业务申请",
  2787. "parameters": [
  2788. {
  2789. "description": "申请参数",
  2790. "name": "jsonBody",
  2791. "in": "body",
  2792. "required": true,
  2793. "schema": {
  2794. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2795. }
  2796. }
  2797. ],
  2798. "responses": {
  2799. "200": {
  2800. "description": "OK",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. },
  2805. "500": {
  2806. "description": "Internal Server Error",
  2807. "schema": {
  2808. "$ref": "#/definitions/app.Response"
  2809. }
  2810. }
  2811. }
  2812. }
  2813. },
  2814. "/Erms3/AddErms2SpotTradeApply": {
  2815. "post": {
  2816. "security": [
  2817. {
  2818. "ApiKeyAuth": []
  2819. }
  2820. ],
  2821. "produces": [
  2822. "application/json"
  2823. ],
  2824. "tags": [
  2825. "风险管理v3"
  2826. ],
  2827. "summary": "新增现货贸易业务申请",
  2828. "parameters": [
  2829. {
  2830. "description": "申请参数",
  2831. "name": "jsonBody",
  2832. "in": "body",
  2833. "required": true,
  2834. "schema": {
  2835. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2836. }
  2837. }
  2838. ],
  2839. "responses": {
  2840. "200": {
  2841. "description": "OK",
  2842. "schema": {
  2843. "$ref": "#/definitions/app.Response"
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Erms3/AddSpotContractApply": {
  2856. "post": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "风险管理v3"
  2867. ],
  2868. "summary": "新增现货合同申请",
  2869. "parameters": [
  2870. {
  2871. "description": "申请参数",
  2872. "name": "jsonBody",
  2873. "in": "body",
  2874. "required": true,
  2875. "schema": {
  2876. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2877. }
  2878. }
  2879. ],
  2880. "responses": {
  2881. "200": {
  2882. "description": "OK",
  2883. "schema": {
  2884. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2885. }
  2886. },
  2887. "500": {
  2888. "description": "Internal Server Error",
  2889. "schema": {
  2890. "$ref": "#/definitions/app.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/Erms3/AddUserInfoApply": {
  2897. "post": {
  2898. "security": [
  2899. {
  2900. "ApiKeyAuth": []
  2901. }
  2902. ],
  2903. "produces": [
  2904. "application/json"
  2905. ],
  2906. "tags": [
  2907. "风险管理v3"
  2908. ],
  2909. "summary": "新增客户申请",
  2910. "parameters": [
  2911. {
  2912. "description": "用户信息",
  2913. "name": "jsonBody",
  2914. "in": "body",
  2915. "required": true,
  2916. "schema": {
  2917. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2918. }
  2919. }
  2920. ],
  2921. "responses": {
  2922. "200": {
  2923. "description": "OK",
  2924. "schema": {
  2925. "$ref": "#/definitions/app.Response"
  2926. }
  2927. },
  2928. "500": {
  2929. "description": "Internal Server Error",
  2930. "schema": {
  2931. "$ref": "#/definitions/app.Response"
  2932. }
  2933. }
  2934. }
  2935. }
  2936. },
  2937. "/Erms3/ModifyUserInfoApply": {
  2938. "post": {
  2939. "security": [
  2940. {
  2941. "ApiKeyAuth": []
  2942. }
  2943. ],
  2944. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2945. "produces": [
  2946. "application/json"
  2947. ],
  2948. "tags": [
  2949. "风险管理v3"
  2950. ],
  2951. "summary": "修改客户申请",
  2952. "parameters": [
  2953. {
  2954. "description": "用户信息",
  2955. "name": "jsonBody",
  2956. "in": "body",
  2957. "required": true,
  2958. "schema": {
  2959. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2960. }
  2961. }
  2962. ],
  2963. "responses": {
  2964. "200": {
  2965. "description": "OK",
  2966. "schema": {
  2967. "$ref": "#/definitions/app.Response"
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Erms3/QueryBusinessInfo": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "风险管理v3"
  2991. ],
  2992. "summary": "查询业务表单数据",
  2993. "parameters": [
  2994. {
  2995. "type": "string",
  2996. "description": "资金账号ID列表,用逗号分隔",
  2997. "name": "accountids",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "状态,0为未结束 1为已结束",
  3004. "name": "status",
  3005. "in": "query",
  3006. "required": true
  3007. }
  3008. ],
  3009. "responses": {
  3010. "200": {
  3011. "description": "OK",
  3012. "schema": {
  3013. "type": "array",
  3014. "items": {
  3015. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3016. }
  3017. }
  3018. },
  3019. "500": {
  3020. "description": "Internal Server Error",
  3021. "schema": {
  3022. "$ref": "#/definitions/app.Response"
  3023. }
  3024. }
  3025. }
  3026. }
  3027. },
  3028. "/Erms3/QueryPendingAuditContract": {
  3029. "get": {
  3030. "security": [
  3031. {
  3032. "ApiKeyAuth": []
  3033. }
  3034. ],
  3035. "produces": [
  3036. "application/json"
  3037. ],
  3038. "tags": [
  3039. "风险管理v3"
  3040. ],
  3041. "summary": "查询待审核合同",
  3042. "parameters": [
  3043. {
  3044. "type": "string",
  3045. "description": "资金账号ID列表,逗号隔开",
  3046. "name": "accountids",
  3047. "in": "query",
  3048. "required": true
  3049. },
  3050. {
  3051. "type": "integer",
  3052. "description": "合同类型 1-采购 -1-销售",
  3053. "name": "contracttype",
  3054. "in": "query",
  3055. "required": true
  3056. },
  3057. {
  3058. "type": "integer",
  3059. "description": "合同模式 1-普通 2-回购",
  3060. "name": "contractmode",
  3061. "in": "query",
  3062. "required": true
  3063. }
  3064. ],
  3065. "responses": {
  3066. "200": {
  3067. "description": "OK",
  3068. "schema": {
  3069. "type": "array",
  3070. "items": {
  3071. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3072. }
  3073. }
  3074. },
  3075. "500": {
  3076. "description": "Internal Server Error",
  3077. "schema": {
  3078. "$ref": "#/definitions/app.Response"
  3079. }
  3080. }
  3081. }
  3082. }
  3083. },
  3084. "/Erms3/QueryPendingBusiness": {
  3085. "get": {
  3086. "security": [
  3087. {
  3088. "ApiKeyAuth": []
  3089. }
  3090. ],
  3091. "produces": [
  3092. "application/json"
  3093. ],
  3094. "tags": [
  3095. "风险管理v3"
  3096. ],
  3097. "summary": "查询待审核基差贸易业务",
  3098. "parameters": [
  3099. {
  3100. "type": "string",
  3101. "description": "资金账号ID列表,逗号隔开",
  3102. "name": "accountids",
  3103. "in": "query",
  3104. "required": true
  3105. }
  3106. ],
  3107. "responses": {
  3108. "200": {
  3109. "description": "OK",
  3110. "schema": {
  3111. "type": "array",
  3112. "items": {
  3113. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3114. }
  3115. }
  3116. },
  3117. "500": {
  3118. "description": "Internal Server Error",
  3119. "schema": {
  3120. "$ref": "#/definitions/app.Response"
  3121. }
  3122. }
  3123. }
  3124. }
  3125. },
  3126. "/Erms3/QuerySpotContractAppleForm": {
  3127. "get": {
  3128. "security": [
  3129. {
  3130. "ApiKeyAuth": []
  3131. }
  3132. ],
  3133. "produces": [
  3134. "application/json"
  3135. ],
  3136. "tags": [
  3137. "风险管理v3"
  3138. ],
  3139. "summary": "查询合同申请表单数据",
  3140. "parameters": [
  3141. {
  3142. "type": "integer",
  3143. "description": "登录账号",
  3144. "name": "loginID",
  3145. "in": "query",
  3146. "required": true
  3147. }
  3148. ],
  3149. "responses": {
  3150. "200": {
  3151. "description": "OK",
  3152. "schema": {
  3153. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3154. }
  3155. },
  3156. "500": {
  3157. "description": "Internal Server Error",
  3158. "schema": {
  3159. "$ref": "#/definitions/app.Response"
  3160. }
  3161. }
  3162. }
  3163. }
  3164. },
  3165. "/Erms3/QuerySpotContractDetail": {
  3166. "get": {
  3167. "security": [
  3168. {
  3169. "ApiKeyAuth": []
  3170. }
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "风险管理v3"
  3177. ],
  3178. "summary": "查询合同详细信息",
  3179. "parameters": [
  3180. {
  3181. "type": "string",
  3182. "description": "资金账号ID列表,用逗号分隔",
  3183. "name": "accountids",
  3184. "in": "query",
  3185. "required": true
  3186. },
  3187. {
  3188. "type": "integer",
  3189. "description": "合同类型,1为采购合同 -1为销售合同",
  3190. "name": "contracttype",
  3191. "in": "query",
  3192. "required": true
  3193. },
  3194. {
  3195. "type": "integer",
  3196. "description": "合同模式,1为普通合同 2为回购销售合同",
  3197. "name": "contractmode",
  3198. "in": "query",
  3199. "required": true
  3200. },
  3201. {
  3202. "type": "integer",
  3203. "description": "状态,0为履约中 1为已完成",
  3204. "name": "status",
  3205. "in": "query",
  3206. "required": true
  3207. }
  3208. ],
  3209. "responses": {
  3210. "200": {
  3211. "description": "OK",
  3212. "schema": {
  3213. "type": "array",
  3214. "items": {
  3215. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3216. }
  3217. }
  3218. },
  3219. "500": {
  3220. "description": "Internal Server Error",
  3221. "schema": {
  3222. "$ref": "#/definitions/app.Response"
  3223. }
  3224. }
  3225. }
  3226. }
  3227. },
  3228. "/Erms3/QueryUserInfoApplies": {
  3229. "get": {
  3230. "security": [
  3231. {
  3232. "ApiKeyAuth": []
  3233. }
  3234. ],
  3235. "produces": [
  3236. "application/json"
  3237. ],
  3238. "tags": [
  3239. "风险管理v3"
  3240. ],
  3241. "summary": "客户申请信息查询",
  3242. "parameters": [
  3243. {
  3244. "type": "integer",
  3245. "description": "页码",
  3246. "name": "page",
  3247. "in": "query"
  3248. },
  3249. {
  3250. "type": "integer",
  3251. "description": "每页条数",
  3252. "name": "pagesize",
  3253. "in": "query"
  3254. },
  3255. {
  3256. "type": "string",
  3257. "description": "客户名称,支持模糊查询",
  3258. "name": "userName",
  3259. "in": "query"
  3260. }
  3261. ],
  3262. "responses": {
  3263. "200": {
  3264. "description": "OK",
  3265. "schema": {
  3266. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3267. }
  3268. },
  3269. "500": {
  3270. "description": "Internal Server Error",
  3271. "schema": {
  3272. "$ref": "#/definitions/app.Response"
  3273. }
  3274. }
  3275. }
  3276. }
  3277. },
  3278. "/Erms3/QueryUserInfos": {
  3279. "get": {
  3280. "security": [
  3281. {
  3282. "ApiKeyAuth": []
  3283. }
  3284. ],
  3285. "produces": [
  3286. "application/json"
  3287. ],
  3288. "tags": [
  3289. "风险管理v3"
  3290. ],
  3291. "summary": "客户信息查询",
  3292. "parameters": [
  3293. {
  3294. "type": "integer",
  3295. "description": "页码",
  3296. "name": "page",
  3297. "in": "query"
  3298. },
  3299. {
  3300. "type": "integer",
  3301. "description": "每页条数",
  3302. "name": "pagesize",
  3303. "in": "query"
  3304. },
  3305. {
  3306. "type": "string",
  3307. "description": "客户名称,支持模糊查询",
  3308. "name": "userName",
  3309. "in": "query"
  3310. }
  3311. ],
  3312. "responses": {
  3313. "200": {
  3314. "description": "OK",
  3315. "schema": {
  3316. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3317. }
  3318. },
  3319. "500": {
  3320. "description": "Internal Server Error",
  3321. "schema": {
  3322. "$ref": "#/definitions/app.Response"
  3323. }
  3324. }
  3325. }
  3326. }
  3327. },
  3328. "/HSBY/GetHsbyMyCount": {
  3329. "get": {
  3330. "security": [
  3331. {
  3332. "ApiKeyAuth": []
  3333. }
  3334. ],
  3335. "description": "说明: 不包括已完成的数量。",
  3336. "produces": [
  3337. "application/json"
  3338. ],
  3339. "tags": [
  3340. "定制【海商报业】"
  3341. ],
  3342. "summary": "获取我的订单与包裹数量",
  3343. "parameters": [
  3344. {
  3345. "type": "string",
  3346. "description": "资金账户列表,格式:1,2,3",
  3347. "name": "accountIDs",
  3348. "in": "query",
  3349. "required": true
  3350. }
  3351. ],
  3352. "responses": {
  3353. "200": {
  3354. "description": "OK",
  3355. "schema": {
  3356. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3357. }
  3358. },
  3359. "500": {
  3360. "description": "Internal Server Error",
  3361. "schema": {
  3362. "$ref": "#/definitions/app.Response"
  3363. }
  3364. }
  3365. }
  3366. }
  3367. },
  3368. "/HSBY/QueryClientFixedADConfigs": {
  3369. "get": {
  3370. "security": [
  3371. {
  3372. "ApiKeyAuth": []
  3373. }
  3374. ],
  3375. "produces": [
  3376. "application/json"
  3377. ],
  3378. "tags": [
  3379. "定制【海商报业】"
  3380. ],
  3381. "summary": "获取终端固定广告配置",
  3382. "responses": {
  3383. "200": {
  3384. "description": "OK",
  3385. "schema": {
  3386. "$ref": "#/definitions/models.Clientfixedadconfig"
  3387. }
  3388. },
  3389. "500": {
  3390. "description": "Internal Server Error",
  3391. "schema": {
  3392. "$ref": "#/definitions/app.Response"
  3393. }
  3394. }
  3395. }
  3396. }
  3397. },
  3398. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3399. "get": {
  3400. "security": [
  3401. {
  3402. "ApiKeyAuth": []
  3403. }
  3404. ],
  3405. "produces": [
  3406. "application/json"
  3407. ],
  3408. "tags": [
  3409. "定制【海商报业】"
  3410. ],
  3411. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3412. "parameters": [
  3413. {
  3414. "type": "integer",
  3415. "description": "页码",
  3416. "name": "page",
  3417. "in": "query"
  3418. },
  3419. {
  3420. "type": "integer",
  3421. "description": "每页条数",
  3422. "name": "pagesize",
  3423. "in": "query"
  3424. },
  3425. {
  3426. "type": "string",
  3427. "description": "资金账户列表,格式:1,2,3",
  3428. "name": "accountIDs",
  3429. "in": "query",
  3430. "required": true
  3431. }
  3432. ],
  3433. "responses": {
  3434. "200": {
  3435. "description": "OK",
  3436. "schema": {
  3437. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3438. }
  3439. },
  3440. "500": {
  3441. "description": "Internal Server Error",
  3442. "schema": {
  3443. "$ref": "#/definitions/app.Response"
  3444. }
  3445. }
  3446. }
  3447. }
  3448. },
  3449. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3450. "get": {
  3451. "security": [
  3452. {
  3453. "ApiKeyAuth": []
  3454. }
  3455. ],
  3456. "description": "说明:查询结果已按委托价格和委托时间排序",
  3457. "produces": [
  3458. "application/json"
  3459. ],
  3460. "tags": [
  3461. "定制【海商报业】"
  3462. ],
  3463. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3464. "parameters": [
  3465. {
  3466. "type": "integer",
  3467. "description": "商品ID",
  3468. "name": "goodsID",
  3469. "in": "query",
  3470. "required": true
  3471. },
  3472. {
  3473. "type": "string",
  3474. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3475. "name": "accountIDs",
  3476. "in": "query"
  3477. },
  3478. {
  3479. "type": "integer",
  3480. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3481. "name": "buyOrSell",
  3482. "in": "query"
  3483. },
  3484. {
  3485. "type": "number",
  3486. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3487. "name": "price",
  3488. "in": "query"
  3489. },
  3490. {
  3491. "type": "integer",
  3492. "description": "档位,不传则默认为3档",
  3493. "name": "speed",
  3494. "in": "query"
  3495. }
  3496. ],
  3497. "responses": {
  3498. "200": {
  3499. "description": "OK",
  3500. "schema": {
  3501. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3502. }
  3503. },
  3504. "500": {
  3505. "description": "Internal Server Error",
  3506. "schema": {
  3507. "$ref": "#/definitions/app.Response"
  3508. }
  3509. }
  3510. }
  3511. }
  3512. },
  3513. "/HSBY/QueryHsbyListingGoodsDetail": {
  3514. "get": {
  3515. "security": [
  3516. {
  3517. "ApiKeyAuth": []
  3518. }
  3519. ],
  3520. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3521. "produces": [
  3522. "application/json"
  3523. ],
  3524. "tags": [
  3525. "定制【海商报业】"
  3526. ],
  3527. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3528. "parameters": [
  3529. {
  3530. "type": "integer",
  3531. "description": "商品ID",
  3532. "name": "goodsID",
  3533. "in": "query",
  3534. "required": true
  3535. },
  3536. {
  3537. "type": "integer",
  3538. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3539. "name": "accountID",
  3540. "in": "query"
  3541. }
  3542. ],
  3543. "responses": {
  3544. "200": {
  3545. "description": "OK",
  3546. "schema": {
  3547. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3548. }
  3549. },
  3550. "500": {
  3551. "description": "Internal Server Error",
  3552. "schema": {
  3553. "$ref": "#/definitions/app.Response"
  3554. }
  3555. }
  3556. }
  3557. }
  3558. },
  3559. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3560. "get": {
  3561. "security": [
  3562. {
  3563. "ApiKeyAuth": []
  3564. }
  3565. ],
  3566. "produces": [
  3567. "application/json"
  3568. ],
  3569. "tags": [
  3570. "定制【海商报业】"
  3571. ],
  3572. "summary": "查询三级市场(商城)商品信息详情",
  3573. "parameters": [
  3574. {
  3575. "type": "integer",
  3576. "description": "委托单号",
  3577. "name": "orderID",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3584. "name": "accountID",
  3585. "in": "query"
  3586. }
  3587. ],
  3588. "responses": {
  3589. "200": {
  3590. "description": "OK",
  3591. "schema": {
  3592. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3593. }
  3594. },
  3595. "500": {
  3596. "description": "Internal Server Error",
  3597. "schema": {
  3598. "$ref": "#/definitions/app.Response"
  3599. }
  3600. }
  3601. }
  3602. }
  3603. },
  3604. "/HSBY/QueryHsbyMarketGoodses": {
  3605. "get": {
  3606. "security": [
  3607. {
  3608. "ApiKeyAuth": []
  3609. }
  3610. ],
  3611. "produces": [
  3612. "application/json"
  3613. ],
  3614. "tags": [
  3615. "定制【海商报业】"
  3616. ],
  3617. "summary": "查询特卖商品列表(三级商城)",
  3618. "parameters": [
  3619. {
  3620. "type": "integer",
  3621. "description": "页码",
  3622. "name": "page",
  3623. "in": "query"
  3624. },
  3625. {
  3626. "type": "integer",
  3627. "description": "每页条数",
  3628. "name": "pagesize",
  3629. "in": "query"
  3630. },
  3631. {
  3632. "type": "string",
  3633. "description": "市场ID列表,格式:1,2,3",
  3634. "name": "marketIDs",
  3635. "in": "query",
  3636. "required": true
  3637. },
  3638. {
  3639. "type": "integer",
  3640. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3641. "name": "accountID",
  3642. "in": "query",
  3643. "required": true
  3644. },
  3645. {
  3646. "type": "integer",
  3647. "description": "类别ID",
  3648. "name": "categoryID",
  3649. "in": "query"
  3650. },
  3651. {
  3652. "type": "string",
  3653. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3654. "name": "goodsIDs",
  3655. "in": "query"
  3656. },
  3657. {
  3658. "type": "integer",
  3659. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3660. "name": "couponTypeID",
  3661. "in": "query"
  3662. }
  3663. ],
  3664. "responses": {
  3665. "200": {
  3666. "description": "OK",
  3667. "schema": {
  3668. "$ref": "#/definitions/models.HsbyMarketGoods"
  3669. }
  3670. },
  3671. "500": {
  3672. "description": "Internal Server Error",
  3673. "schema": {
  3674. "$ref": "#/definitions/app.Response"
  3675. }
  3676. }
  3677. }
  3678. }
  3679. },
  3680. "/HSBY/QueryHsbyMarkets": {
  3681. "get": {
  3682. "security": [
  3683. {
  3684. "ApiKeyAuth": []
  3685. }
  3686. ],
  3687. "produces": [
  3688. "application/json"
  3689. ],
  3690. "tags": [
  3691. "定制【海商报业】"
  3692. ],
  3693. "summary": "查询海商报业相关市场信息",
  3694. "responses": {
  3695. "200": {
  3696. "description": "OK",
  3697. "schema": {
  3698. "$ref": "#/definitions/models.HsbyMarketInfo"
  3699. }
  3700. },
  3701. "500": {
  3702. "description": "Internal Server Error",
  3703. "schema": {
  3704. "$ref": "#/definitions/app.Response"
  3705. }
  3706. }
  3707. }
  3708. }
  3709. },
  3710. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3711. "get": {
  3712. "security": [
  3713. {
  3714. "ApiKeyAuth": []
  3715. }
  3716. ],
  3717. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3718. "produces": [
  3719. "application/json"
  3720. ],
  3721. "tags": [
  3722. "定制【海商报业】"
  3723. ],
  3724. "summary": "查询“我的订单”信息",
  3725. "parameters": [
  3726. {
  3727. "type": "string",
  3728. "description": "资金账户列表,格式:1,2,3",
  3729. "name": "accountIDs",
  3730. "in": "query",
  3731. "required": true
  3732. }
  3733. ],
  3734. "responses": {
  3735. "200": {
  3736. "description": "OK",
  3737. "schema": {
  3738. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3739. }
  3740. },
  3741. "500": {
  3742. "description": "Internal Server Error",
  3743. "schema": {
  3744. "$ref": "#/definitions/app.Response"
  3745. }
  3746. }
  3747. }
  3748. }
  3749. },
  3750. "/HSBY/QueryHsbyMyGoods": {
  3751. "get": {
  3752. "security": [
  3753. {
  3754. "ApiKeyAuth": []
  3755. }
  3756. ],
  3757. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3758. "produces": [
  3759. "application/json"
  3760. ],
  3761. "tags": [
  3762. "定制【海商报业】"
  3763. ],
  3764. "summary": "查询“我的商品”信息",
  3765. "parameters": [
  3766. {
  3767. "type": "string",
  3768. "description": "资金账户列表,格式:1,2,3",
  3769. "name": "accountIDs",
  3770. "in": "query",
  3771. "required": true
  3772. }
  3773. ],
  3774. "responses": {
  3775. "200": {
  3776. "description": "OK",
  3777. "schema": {
  3778. "$ref": "#/definitions/models.HsbyMyGoods"
  3779. }
  3780. },
  3781. "500": {
  3782. "description": "Internal Server Error",
  3783. "schema": {
  3784. "$ref": "#/definitions/app.Response"
  3785. }
  3786. }
  3787. }
  3788. }
  3789. },
  3790. "/HSBY/QueryHsbyMyPackages": {
  3791. "get": {
  3792. "security": [
  3793. {
  3794. "ApiKeyAuth": []
  3795. }
  3796. ],
  3797. "produces": [
  3798. "application/json"
  3799. ],
  3800. "tags": [
  3801. "定制【海商报业】"
  3802. ],
  3803. "summary": "查询我的包裹信息",
  3804. "parameters": [
  3805. {
  3806. "type": "string",
  3807. "description": "资金账户列表,格式:1,2,3",
  3808. "name": "accountIDs",
  3809. "in": "query",
  3810. "required": true
  3811. },
  3812. {
  3813. "type": "integer",
  3814. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3815. "name": "takeOrderStatus",
  3816. "in": "query"
  3817. }
  3818. ],
  3819. "responses": {
  3820. "200": {
  3821. "description": "OK",
  3822. "schema": {
  3823. "$ref": "#/definitions/models.HsbyMyPackage"
  3824. }
  3825. },
  3826. "500": {
  3827. "description": "Internal Server Error",
  3828. "schema": {
  3829. "$ref": "#/definitions/app.Response"
  3830. }
  3831. }
  3832. }
  3833. }
  3834. },
  3835. "/HSBY/QueryHsbyPreGoodsDetail": {
  3836. "get": {
  3837. "security": [
  3838. {
  3839. "ApiKeyAuth": []
  3840. }
  3841. ],
  3842. "produces": [
  3843. "application/json"
  3844. ],
  3845. "tags": [
  3846. "定制【海商报业】"
  3847. ],
  3848. "summary": "查询一级市场(预售)商品信息详情",
  3849. "parameters": [
  3850. {
  3851. "type": "integer",
  3852. "description": "商品ID",
  3853. "name": "goodsID",
  3854. "in": "query",
  3855. "required": true
  3856. },
  3857. {
  3858. "type": "integer",
  3859. "description": "资金账户,主要用于获取预售商品购买上限",
  3860. "name": "accountID",
  3861. "in": "query"
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3869. }
  3870. },
  3871. "500": {
  3872. "description": "Internal Server Error",
  3873. "schema": {
  3874. "$ref": "#/definitions/app.Response"
  3875. }
  3876. }
  3877. }
  3878. }
  3879. },
  3880. "/HSBY/QueryHsbyPreGoodses": {
  3881. "get": {
  3882. "security": [
  3883. {
  3884. "ApiKeyAuth": []
  3885. }
  3886. ],
  3887. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3888. "produces": [
  3889. "application/json"
  3890. ],
  3891. "tags": [
  3892. "定制【海商报业】"
  3893. ],
  3894. "summary": "查询新品上市商品列表(一级市场预售)",
  3895. "parameters": [
  3896. {
  3897. "type": "integer",
  3898. "description": "页码",
  3899. "name": "page",
  3900. "in": "query"
  3901. },
  3902. {
  3903. "type": "integer",
  3904. "description": "每页条数",
  3905. "name": "pagesize",
  3906. "in": "query"
  3907. },
  3908. {
  3909. "type": "string",
  3910. "description": "市场ID列表,格式:1,2,3",
  3911. "name": "marketIDs",
  3912. "in": "query",
  3913. "required": true
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "目的地(省)ID",
  3918. "name": "descProvinceID",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "目的地(市)ID",
  3924. "name": "descCityID",
  3925. "in": "query"
  3926. }
  3927. ],
  3928. "responses": {
  3929. "200": {
  3930. "description": "OK",
  3931. "schema": {
  3932. "$ref": "#/definitions/models.HsbyPreGoods"
  3933. }
  3934. },
  3935. "500": {
  3936. "description": "Internal Server Error",
  3937. "schema": {
  3938. "$ref": "#/definitions/app.Response"
  3939. }
  3940. }
  3941. }
  3942. }
  3943. },
  3944. "/HSBY/QueryHsbySellMyDetails": {
  3945. "get": {
  3946. "security": [
  3947. {
  3948. "ApiKeyAuth": []
  3949. }
  3950. ],
  3951. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3952. "produces": [
  3953. "application/json"
  3954. ],
  3955. "tags": [
  3956. "定制【海商报业】"
  3957. ],
  3958. "summary": "查询\"我的闲置\"单据信息",
  3959. "parameters": [
  3960. {
  3961. "type": "integer",
  3962. "description": "页码",
  3963. "name": "page",
  3964. "in": "query"
  3965. },
  3966. {
  3967. "type": "integer",
  3968. "description": "每页条数",
  3969. "name": "pagesize",
  3970. "in": "query"
  3971. },
  3972. {
  3973. "type": "string",
  3974. "description": "资金账户列表,格式:1,2,3",
  3975. "name": "accountIDs",
  3976. "in": "query",
  3977. "required": true
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3982. "name": "orderType",
  3983. "in": "query"
  3984. }
  3985. ],
  3986. "responses": {
  3987. "200": {
  3988. "description": "OK",
  3989. "schema": {
  3990. "$ref": "#/definitions/models.HsbySellMyDetail"
  3991. }
  3992. },
  3993. "500": {
  3994. "description": "Internal Server Error",
  3995. "schema": {
  3996. "$ref": "#/definitions/app.Response"
  3997. }
  3998. }
  3999. }
  4000. }
  4001. },
  4002. "/HSBY/QueryHsbyTopGoodses": {
  4003. "get": {
  4004. "security": [
  4005. {
  4006. "ApiKeyAuth": []
  4007. }
  4008. ],
  4009. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4010. "produces": [
  4011. "application/json"
  4012. ],
  4013. "tags": [
  4014. "定制【海商报业】"
  4015. ],
  4016. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4017. "parameters": [
  4018. {
  4019. "type": "integer",
  4020. "description": "页码",
  4021. "name": "page",
  4022. "in": "query"
  4023. },
  4024. {
  4025. "type": "integer",
  4026. "description": "每页条数",
  4027. "name": "pagesize",
  4028. "in": "query"
  4029. },
  4030. {
  4031. "type": "string",
  4032. "description": "市场ID列表,格式:1,2,3",
  4033. "name": "marketIDs",
  4034. "in": "query",
  4035. "required": true
  4036. },
  4037. {
  4038. "type": "integer",
  4039. "description": "目的地(省)ID",
  4040. "name": "descProvinceID",
  4041. "in": "query"
  4042. },
  4043. {
  4044. "type": "integer",
  4045. "description": "目的地(市)ID",
  4046. "name": "descCityID",
  4047. "in": "query"
  4048. }
  4049. ],
  4050. "responses": {
  4051. "200": {
  4052. "description": "OK",
  4053. "schema": {
  4054. "$ref": "#/definitions/models.HsbyTopGoods"
  4055. }
  4056. },
  4057. "500": {
  4058. "description": "Internal Server Error",
  4059. "schema": {
  4060. "$ref": "#/definitions/app.Response"
  4061. }
  4062. }
  4063. }
  4064. }
  4065. },
  4066. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4067. "get": {
  4068. "security": [
  4069. {
  4070. "ApiKeyAuth": []
  4071. }
  4072. ],
  4073. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4074. "produces": [
  4075. "application/json"
  4076. ],
  4077. "tags": [
  4078. "定制【海商报业】"
  4079. ],
  4080. "summary": "查询游客三级市场(商城)商品信息详情",
  4081. "parameters": [
  4082. {
  4083. "type": "integer",
  4084. "description": "商品ID",
  4085. "name": "goodsID",
  4086. "in": "query",
  4087. "required": true
  4088. }
  4089. ],
  4090. "responses": {
  4091. "200": {
  4092. "description": "OK",
  4093. "schema": {
  4094. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4095. }
  4096. },
  4097. "500": {
  4098. "description": "Internal Server Error",
  4099. "schema": {
  4100. "$ref": "#/definitions/app.Response"
  4101. }
  4102. }
  4103. }
  4104. }
  4105. },
  4106. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4107. "get": {
  4108. "security": [
  4109. {
  4110. "ApiKeyAuth": []
  4111. }
  4112. ],
  4113. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4114. "produces": [
  4115. "application/json"
  4116. ],
  4117. "tags": [
  4118. "定制【海商报业】"
  4119. ],
  4120. "summary": "查询游客特卖商品列表(三级商城)",
  4121. "parameters": [
  4122. {
  4123. "type": "integer",
  4124. "description": "页码",
  4125. "name": "page",
  4126. "in": "query"
  4127. },
  4128. {
  4129. "type": "integer",
  4130. "description": "每页条数",
  4131. "name": "pagesize",
  4132. "in": "query"
  4133. },
  4134. {
  4135. "type": "string",
  4136. "description": "市场ID列表,格式:1,2,3",
  4137. "name": "marketIDs",
  4138. "in": "query",
  4139. "required": true
  4140. },
  4141. {
  4142. "type": "integer",
  4143. "description": "类别ID",
  4144. "name": "categoryID",
  4145. "in": "query"
  4146. },
  4147. {
  4148. "type": "string",
  4149. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4150. "name": "goodsIDs",
  4151. "in": "query"
  4152. }
  4153. ],
  4154. "responses": {
  4155. "200": {
  4156. "description": "OK",
  4157. "schema": {
  4158. "$ref": "#/definitions/models.HsbyMarketGoods"
  4159. }
  4160. },
  4161. "500": {
  4162. "description": "Internal Server Error",
  4163. "schema": {
  4164. "$ref": "#/definitions/app.Response"
  4165. }
  4166. }
  4167. }
  4168. }
  4169. },
  4170. "/HSBY/QueryMyCollectionOrders": {
  4171. "get": {
  4172. "security": [
  4173. {
  4174. "ApiKeyAuth": []
  4175. }
  4176. ],
  4177. "produces": [
  4178. "application/json"
  4179. ],
  4180. "tags": [
  4181. "定制【海商报业】"
  4182. ],
  4183. "summary": "我的闲置中收款信息查询",
  4184. "parameters": [
  4185. {
  4186. "type": "integer",
  4187. "description": "页码",
  4188. "name": "page",
  4189. "in": "query"
  4190. },
  4191. {
  4192. "type": "integer",
  4193. "description": "每页条数",
  4194. "name": "pagesize",
  4195. "in": "query"
  4196. },
  4197. {
  4198. "type": "string",
  4199. "description": "资金账户,格式:1,2,3",
  4200. "name": "accountIDs",
  4201. "in": "query",
  4202. "required": true
  4203. }
  4204. ],
  4205. "responses": {
  4206. "200": {
  4207. "description": "OK",
  4208. "schema": {
  4209. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4210. }
  4211. },
  4212. "500": {
  4213. "description": "Internal Server Error",
  4214. "schema": {
  4215. "$ref": "#/definitions/app.Response"
  4216. }
  4217. }
  4218. }
  4219. }
  4220. },
  4221. "/HSBY/QueryMyCouponHolds": {
  4222. "get": {
  4223. "security": [
  4224. {
  4225. "ApiKeyAuth": []
  4226. }
  4227. ],
  4228. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4229. "produces": [
  4230. "application/json"
  4231. ],
  4232. "tags": [
  4233. "定制【海商报业】"
  4234. ],
  4235. "summary": "我的优惠卷持仓查询",
  4236. "parameters": [
  4237. {
  4238. "type": "string",
  4239. "description": "资金账户列表,格式:1,2,3",
  4240. "name": "accountIDs",
  4241. "in": "query",
  4242. "required": true
  4243. },
  4244. {
  4245. "type": "string",
  4246. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4247. "name": "holdStatus",
  4248. "in": "query"
  4249. }
  4250. ],
  4251. "responses": {
  4252. "200": {
  4253. "description": "OK",
  4254. "schema": {
  4255. "$ref": "#/definitions/models.MyCouponHold"
  4256. }
  4257. },
  4258. "500": {
  4259. "description": "Internal Server Error",
  4260. "schema": {
  4261. "$ref": "#/definitions/app.Response"
  4262. }
  4263. }
  4264. }
  4265. }
  4266. },
  4267. "/HSBY/QueryMyCoupons": {
  4268. "get": {
  4269. "security": [
  4270. {
  4271. "ApiKeyAuth": []
  4272. }
  4273. ],
  4274. "produces": [
  4275. "application/json"
  4276. ],
  4277. "tags": [
  4278. "定制【海商报业】"
  4279. ],
  4280. "summary": "我的优惠卷查询",
  4281. "parameters": [
  4282. {
  4283. "type": "string",
  4284. "description": "资金账户列表,格式:1,2,3",
  4285. "name": "accountIDs",
  4286. "in": "query",
  4287. "required": true
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "商品ID, 一般与sellUserID配套传入",
  4292. "name": "goodsID",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "卖方UserID",
  4298. "name": "sellUserID",
  4299. "in": "query"
  4300. }
  4301. ],
  4302. "responses": {
  4303. "200": {
  4304. "description": "OK",
  4305. "schema": {
  4306. "$ref": "#/definitions/models.MyCoupon"
  4307. }
  4308. },
  4309. "500": {
  4310. "description": "Internal Server Error",
  4311. "schema": {
  4312. "$ref": "#/definitions/app.Response"
  4313. }
  4314. }
  4315. }
  4316. }
  4317. },
  4318. "/HSBY/QueryMyPayOrders": {
  4319. "get": {
  4320. "security": [
  4321. {
  4322. "ApiKeyAuth": []
  4323. }
  4324. ],
  4325. "produces": [
  4326. "application/json"
  4327. ],
  4328. "tags": [
  4329. "定制【海商报业】"
  4330. ],
  4331. "summary": "获取我的订单中待付款信息",
  4332. "parameters": [
  4333. {
  4334. "type": "integer",
  4335. "description": "页码",
  4336. "name": "page",
  4337. "in": "query"
  4338. },
  4339. {
  4340. "type": "integer",
  4341. "description": "每页条数",
  4342. "name": "pagesize",
  4343. "in": "query"
  4344. },
  4345. {
  4346. "type": "string",
  4347. "description": "资金账户列表,格式:1,2,3",
  4348. "name": "accountIDs",
  4349. "in": "query",
  4350. "required": true
  4351. },
  4352. {
  4353. "type": "integer",
  4354. "description": "买方委托单号",
  4355. "name": "buyOrderID",
  4356. "in": "query"
  4357. },
  4358. {
  4359. "type": "integer",
  4360. "description": "卖方委托单号",
  4361. "name": "sellOrderID",
  4362. "in": "query"
  4363. }
  4364. ],
  4365. "responses": {
  4366. "200": {
  4367. "description": "OK",
  4368. "schema": {
  4369. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4370. }
  4371. },
  4372. "500": {
  4373. "description": "Internal Server Error",
  4374. "schema": {
  4375. "$ref": "#/definitions/app.Response"
  4376. }
  4377. }
  4378. }
  4379. }
  4380. },
  4381. "/HSBY/QueryMyUsedCoupon": {
  4382. "get": {
  4383. "security": [
  4384. {
  4385. "ApiKeyAuth": []
  4386. }
  4387. ],
  4388. "produces": [
  4389. "application/json"
  4390. ],
  4391. "tags": [
  4392. "定制【海商报业】"
  4393. ],
  4394. "summary": "已使用优惠卷查询",
  4395. "parameters": [
  4396. {
  4397. "type": "string",
  4398. "description": "资金账户列表,格式:1,2,3",
  4399. "name": "accountIDs",
  4400. "in": "query",
  4401. "required": true
  4402. }
  4403. ],
  4404. "responses": {
  4405. "200": {
  4406. "description": "OK",
  4407. "schema": {
  4408. "$ref": "#/definitions/models.MyUsedCoupon"
  4409. }
  4410. },
  4411. "500": {
  4412. "description": "Internal Server Error",
  4413. "schema": {
  4414. "$ref": "#/definitions/app.Response"
  4415. }
  4416. }
  4417. }
  4418. }
  4419. },
  4420. "/HSBY/QueryProvincesAndCities": {
  4421. "get": {
  4422. "security": [
  4423. {
  4424. "ApiKeyAuth": []
  4425. }
  4426. ],
  4427. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4428. "produces": [
  4429. "application/json"
  4430. ],
  4431. "tags": [
  4432. "定制【海商报业】"
  4433. ],
  4434. "summary": "查询省市信息(不包括区)",
  4435. "parameters": [
  4436. {
  4437. "type": "integer",
  4438. "description": "省ID",
  4439. "name": "provinceID",
  4440. "in": "query"
  4441. }
  4442. ],
  4443. "responses": {
  4444. "200": {
  4445. "description": "OK",
  4446. "schema": {
  4447. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4448. }
  4449. },
  4450. "500": {
  4451. "description": "Internal Server Error",
  4452. "schema": {
  4453. "$ref": "#/definitions/app.Response"
  4454. }
  4455. }
  4456. }
  4457. }
  4458. },
  4459. "/HSBY/SetHsbyMyPackagesStatus": {
  4460. "post": {
  4461. "security": [
  4462. {
  4463. "ApiKeyAuth": []
  4464. }
  4465. ],
  4466. "produces": [
  4467. "application/json"
  4468. ],
  4469. "tags": [
  4470. "定制【海商报业】"
  4471. ],
  4472. "summary": "设置我的包裹已收货状态",
  4473. "parameters": [
  4474. {
  4475. "type": "string",
  4476. "description": "提货单号",
  4477. "name": "takeOrderID",
  4478. "in": "query",
  4479. "required": true
  4480. },
  4481. {
  4482. "type": "integer",
  4483. "description": "资金账号",
  4484. "name": "accountID",
  4485. "in": "query",
  4486. "required": true
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "$ref": "#/definitions/app.Response"
  4494. }
  4495. },
  4496. "500": {
  4497. "description": "Internal Server Error",
  4498. "schema": {
  4499. "$ref": "#/definitions/app.Response"
  4500. }
  4501. }
  4502. }
  4503. }
  4504. },
  4505. "/Market/QueryGoodsesByLoginID": {
  4506. "get": {
  4507. "security": [
  4508. {
  4509. "ApiKeyAuth": []
  4510. }
  4511. ],
  4512. "produces": [
  4513. "application/json"
  4514. ],
  4515. "tags": [
  4516. "通用市场"
  4517. ],
  4518. "summary": "获取登录账号有权限的商品信息",
  4519. "parameters": [
  4520. {
  4521. "type": "integer",
  4522. "description": "登录账号",
  4523. "name": "loginID",
  4524. "in": "query",
  4525. "required": true
  4526. },
  4527. {
  4528. "type": "string",
  4529. "description": "市场ID列表,格式:1,2,3",
  4530. "name": "marketIDs",
  4531. "in": "query"
  4532. }
  4533. ],
  4534. "responses": {
  4535. "200": {
  4536. "description": "OK",
  4537. "schema": {
  4538. "$ref": "#/definitions/models.Goods"
  4539. }
  4540. },
  4541. "500": {
  4542. "description": "Internal Server Error",
  4543. "schema": {
  4544. "$ref": "#/definitions/app.Response"
  4545. }
  4546. }
  4547. }
  4548. }
  4549. },
  4550. "/Market/QueryMarketRun": {
  4551. "get": {
  4552. "security": [
  4553. {
  4554. "ApiKeyAuth": []
  4555. }
  4556. ],
  4557. "produces": [
  4558. "application/json"
  4559. ],
  4560. "tags": [
  4561. "通用市场"
  4562. ],
  4563. "summary": "查询市场运行信息",
  4564. "parameters": [
  4565. {
  4566. "type": "integer",
  4567. "description": "市场ID,不传返回所有",
  4568. "name": "marketID",
  4569. "in": "query"
  4570. }
  4571. ],
  4572. "responses": {
  4573. "200": {
  4574. "description": "OK",
  4575. "schema": {
  4576. "$ref": "#/definitions/models.Marketrun"
  4577. }
  4578. },
  4579. "500": {
  4580. "description": "Internal Server Error",
  4581. "schema": {
  4582. "$ref": "#/definitions/app.Response"
  4583. }
  4584. }
  4585. }
  4586. }
  4587. },
  4588. "/Market/QueryMarketsByLoginID": {
  4589. "get": {
  4590. "security": [
  4591. {
  4592. "ApiKeyAuth": []
  4593. }
  4594. ],
  4595. "produces": [
  4596. "application/json"
  4597. ],
  4598. "tags": [
  4599. "通用市场"
  4600. ],
  4601. "summary": "获取登录账号有权限的市场信息",
  4602. "parameters": [
  4603. {
  4604. "type": "integer",
  4605. "description": "登录账号",
  4606. "name": "loginID",
  4607. "in": "query",
  4608. "required": true
  4609. }
  4610. ],
  4611. "responses": {
  4612. "200": {
  4613. "description": "OK",
  4614. "schema": {
  4615. "$ref": "#/definitions/models.Market"
  4616. }
  4617. },
  4618. "500": {
  4619. "description": "Internal Server Error",
  4620. "schema": {
  4621. "$ref": "#/definitions/app.Response"
  4622. }
  4623. }
  4624. }
  4625. }
  4626. },
  4627. "/Order/QueryHisTradeDetail": {
  4628. "get": {
  4629. "security": [
  4630. {
  4631. "ApiKeyAuth": []
  4632. }
  4633. ],
  4634. "produces": [
  4635. "application/json"
  4636. ],
  4637. "tags": [
  4638. "通用单据"
  4639. ],
  4640. "summary": "历史成交单查询(合约市场)",
  4641. "parameters": [
  4642. {
  4643. "type": "string",
  4644. "description": "资金账户 - 格式:1,2,3",
  4645. "name": "accountID",
  4646. "in": "query",
  4647. "required": true
  4648. },
  4649. {
  4650. "type": "integer",
  4651. "description": "成交单号",
  4652. "name": "tradeID",
  4653. "in": "query"
  4654. },
  4655. {
  4656. "type": "integer",
  4657. "description": "委托单号",
  4658. "name": "orderID",
  4659. "in": "query"
  4660. },
  4661. {
  4662. "type": "string",
  4663. "description": "交易模式 - 格式:1,2,3",
  4664. "name": "tradeMode",
  4665. "in": "query"
  4666. },
  4667. {
  4668. "type": "integer",
  4669. "description": "委托单据类型",
  4670. "name": "buildType",
  4671. "in": "query"
  4672. },
  4673. {
  4674. "type": "string",
  4675. "description": "成交类别 - 格式:1,2,3",
  4676. "name": "tradeType",
  4677. "in": "query"
  4678. },
  4679. {
  4680. "type": "string",
  4681. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4682. "name": "startDate",
  4683. "in": "query"
  4684. },
  4685. {
  4686. "type": "string",
  4687. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4688. "name": "endDate",
  4689. "in": "query"
  4690. }
  4691. ],
  4692. "responses": {
  4693. "200": {
  4694. "description": "OK",
  4695. "schema": {
  4696. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4697. }
  4698. },
  4699. "500": {
  4700. "description": "Internal Server Error",
  4701. "schema": {
  4702. "$ref": "#/definitions/app.Response"
  4703. }
  4704. }
  4705. }
  4706. }
  4707. },
  4708. "/Order/QueryHisTradeOrderDetail": {
  4709. "get": {
  4710. "security": [
  4711. {
  4712. "ApiKeyAuth": []
  4713. }
  4714. ],
  4715. "produces": [
  4716. "application/json"
  4717. ],
  4718. "tags": [
  4719. "通用单据"
  4720. ],
  4721. "summary": "历史委托单查询请求(合约市场)",
  4722. "parameters": [
  4723. {
  4724. "type": "string",
  4725. "description": "资金账户 - 格式:1,2,3",
  4726. "name": "accountID",
  4727. "in": "query",
  4728. "required": true
  4729. },
  4730. {
  4731. "type": "string",
  4732. "description": "交易模式 - 格式:1,2,3",
  4733. "name": "tradeMode",
  4734. "in": "query"
  4735. },
  4736. {
  4737. "type": "string",
  4738. "description": "委托状态 - 格式:1,2,3",
  4739. "name": "orderStatus",
  4740. "in": "query"
  4741. },
  4742. {
  4743. "type": "integer",
  4744. "description": "委托单号",
  4745. "name": "orderID",
  4746. "in": "query"
  4747. },
  4748. {
  4749. "type": "string",
  4750. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4751. "name": "startDate",
  4752. "in": "query"
  4753. },
  4754. {
  4755. "type": "string",
  4756. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4757. "name": "endDate",
  4758. "in": "query"
  4759. }
  4760. ],
  4761. "responses": {
  4762. "200": {
  4763. "description": "OK",
  4764. "schema": {
  4765. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4766. }
  4767. },
  4768. "500": {
  4769. "description": "Internal Server Error",
  4770. "schema": {
  4771. "$ref": "#/definitions/app.Response"
  4772. }
  4773. }
  4774. }
  4775. }
  4776. },
  4777. "/Order/QueryTradeDetail": {
  4778. "get": {
  4779. "security": [
  4780. {
  4781. "ApiKeyAuth": []
  4782. }
  4783. ],
  4784. "produces": [
  4785. "application/json"
  4786. ],
  4787. "tags": [
  4788. "通用单据"
  4789. ],
  4790. "summary": "成交单查询(合约市场)",
  4791. "parameters": [
  4792. {
  4793. "type": "string",
  4794. "description": "资金账户 - 格式:1,2,3",
  4795. "name": "accountID",
  4796. "in": "query",
  4797. "required": true
  4798. },
  4799. {
  4800. "type": "integer",
  4801. "description": "成交单号",
  4802. "name": "tradeID",
  4803. "in": "query"
  4804. },
  4805. {
  4806. "type": "integer",
  4807. "description": "委托单号",
  4808. "name": "orderID",
  4809. "in": "query"
  4810. },
  4811. {
  4812. "type": "string",
  4813. "description": "交易模式 - 格式:1,2,3",
  4814. "name": "tradeMode",
  4815. "in": "query"
  4816. },
  4817. {
  4818. "type": "integer",
  4819. "description": "委托单据类型",
  4820. "name": "buildType",
  4821. "in": "query"
  4822. },
  4823. {
  4824. "type": "string",
  4825. "description": "成交类别 - 格式:1,2,3",
  4826. "name": "tradeType",
  4827. "in": "query"
  4828. }
  4829. ],
  4830. "responses": {
  4831. "200": {
  4832. "description": "OK",
  4833. "schema": {
  4834. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4835. }
  4836. },
  4837. "500": {
  4838. "description": "Internal Server Error",
  4839. "schema": {
  4840. "$ref": "#/definitions/app.Response"
  4841. }
  4842. }
  4843. }
  4844. }
  4845. },
  4846. "/Order/QueryTradeOrderDetail": {
  4847. "get": {
  4848. "security": [
  4849. {
  4850. "ApiKeyAuth": []
  4851. }
  4852. ],
  4853. "produces": [
  4854. "application/json"
  4855. ],
  4856. "tags": [
  4857. "通用单据"
  4858. ],
  4859. "summary": "委托单查询请求(合约市场)",
  4860. "parameters": [
  4861. {
  4862. "type": "string",
  4863. "description": "资金账户 - 格式:1,2,3",
  4864. "name": "accountID",
  4865. "in": "query",
  4866. "required": true
  4867. },
  4868. {
  4869. "type": "string",
  4870. "description": "交易模式 - 格式:1,2,3",
  4871. "name": "tradeMode",
  4872. "in": "query"
  4873. },
  4874. {
  4875. "type": "string",
  4876. "description": "委托状态 - 格式:1,2,3",
  4877. "name": "orderStatus",
  4878. "in": "query"
  4879. },
  4880. {
  4881. "type": "integer",
  4882. "description": "委托单号",
  4883. "name": "orderID",
  4884. "in": "query"
  4885. }
  4886. ],
  4887. "responses": {
  4888. "200": {
  4889. "description": "OK",
  4890. "schema": {
  4891. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4892. }
  4893. },
  4894. "500": {
  4895. "description": "Internal Server Error",
  4896. "schema": {
  4897. "$ref": "#/definitions/app.Response"
  4898. }
  4899. }
  4900. }
  4901. }
  4902. },
  4903. "/Order/QueryTradePosition": {
  4904. "get": {
  4905. "security": [
  4906. {
  4907. "ApiKeyAuth": []
  4908. }
  4909. ],
  4910. "produces": [
  4911. "application/json"
  4912. ],
  4913. "tags": [
  4914. "通用单据"
  4915. ],
  4916. "summary": "持仓汇总查询(合约市场)",
  4917. "parameters": [
  4918. {
  4919. "type": "string",
  4920. "description": "资金账户 - 格式:1,2,3",
  4921. "name": "accountID",
  4922. "in": "query",
  4923. "required": true
  4924. },
  4925. {
  4926. "type": "string",
  4927. "description": "交易模式 - 格式:1,2,3",
  4928. "name": "tradeMode",
  4929. "in": "query"
  4930. }
  4931. ],
  4932. "responses": {
  4933. "200": {
  4934. "description": "OK",
  4935. "schema": {
  4936. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4937. }
  4938. },
  4939. "500": {
  4940. "description": "Internal Server Error",
  4941. "schema": {
  4942. "$ref": "#/definitions/app.Response"
  4943. }
  4944. }
  4945. }
  4946. }
  4947. },
  4948. "/Quote/QueryHistoryDatas": {
  4949. "get": {
  4950. "security": [
  4951. {
  4952. "ApiKeyAuth": []
  4953. }
  4954. ],
  4955. "produces": [
  4956. "application/json"
  4957. ],
  4958. "tags": [
  4959. "行情服务"
  4960. ],
  4961. "summary": "查询行情历史数据",
  4962. "parameters": [
  4963. {
  4964. "type": "integer",
  4965. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  4966. "name": "cycleType",
  4967. "in": "query",
  4968. "required": true
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "商品代码",
  4973. "name": "goodsCode",
  4974. "in": "query",
  4975. "required": true
  4976. },
  4977. {
  4978. "type": "string",
  4979. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4980. "name": "startTime",
  4981. "in": "query"
  4982. },
  4983. {
  4984. "type": "string",
  4985. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4986. "name": "endTime",
  4987. "in": "query"
  4988. },
  4989. {
  4990. "type": "integer",
  4991. "description": "条数",
  4992. "name": "count",
  4993. "in": "query"
  4994. },
  4995. {
  4996. "type": "boolean",
  4997. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4998. "name": "isAsc",
  4999. "in": "query"
  5000. }
  5001. ],
  5002. "responses": {
  5003. "200": {
  5004. "description": "OK",
  5005. "schema": {
  5006. "$ref": "#/definitions/quote.HistoryData"
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Quote/QueryHistoryTikDatas": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "行情服务"
  5030. ],
  5031. "summary": "查询行情Tik数据",
  5032. "parameters": [
  5033. {
  5034. "type": "string",
  5035. "description": "商品代码",
  5036. "name": "goodsCode",
  5037. "in": "query",
  5038. "required": true
  5039. },
  5040. {
  5041. "type": "string",
  5042. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5043. "name": "startTime",
  5044. "in": "query"
  5045. },
  5046. {
  5047. "type": "string",
  5048. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5049. "name": "endTime",
  5050. "in": "query"
  5051. },
  5052. {
  5053. "type": "integer",
  5054. "description": "条数",
  5055. "name": "count",
  5056. "in": "query"
  5057. },
  5058. {
  5059. "type": "boolean",
  5060. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5061. "name": "isAsc",
  5062. "in": "query"
  5063. }
  5064. ],
  5065. "responses": {
  5066. "200": {
  5067. "description": "OK",
  5068. "schema": {
  5069. "$ref": "#/definitions/quote.HistoryTikData"
  5070. }
  5071. },
  5072. "500": {
  5073. "description": "Internal Server Error",
  5074. "schema": {
  5075. "$ref": "#/definitions/app.Response"
  5076. }
  5077. }
  5078. }
  5079. }
  5080. },
  5081. "/Quote/QueryQuoteDay": {
  5082. "get": {
  5083. "security": [
  5084. {
  5085. "ApiKeyAuth": []
  5086. }
  5087. ],
  5088. "produces": [
  5089. "application/json"
  5090. ],
  5091. "tags": [
  5092. "行情服务"
  5093. ],
  5094. "summary": "获取商品盘面信息",
  5095. "parameters": [
  5096. {
  5097. "type": "string",
  5098. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5099. "name": "goodsCodes",
  5100. "in": "query",
  5101. "required": true
  5102. }
  5103. ],
  5104. "responses": {
  5105. "200": {
  5106. "description": "OK",
  5107. "schema": {
  5108. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5109. }
  5110. },
  5111. "500": {
  5112. "description": "Internal Server Error",
  5113. "schema": {
  5114. "$ref": "#/definitions/app.Response"
  5115. }
  5116. }
  5117. }
  5118. }
  5119. },
  5120. "/Quote/QueryTSData": {
  5121. "get": {
  5122. "produces": [
  5123. "application/json"
  5124. ],
  5125. "tags": [
  5126. "行情服务"
  5127. ],
  5128. "summary": "分时图数据查询",
  5129. "parameters": [
  5130. {
  5131. "type": "string",
  5132. "description": "商品代码",
  5133. "name": "goodsCode",
  5134. "in": "query",
  5135. "required": true
  5136. }
  5137. ],
  5138. "responses": {
  5139. "200": {
  5140. "description": "OK",
  5141. "schema": {
  5142. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5143. }
  5144. },
  5145. "500": {
  5146. "description": "Internal Server Error",
  5147. "schema": {
  5148. "$ref": "#/definitions/app.Response"
  5149. }
  5150. }
  5151. }
  5152. }
  5153. },
  5154. "/SZDZ/QueryConvertConfig": {
  5155. "get": {
  5156. "security": [
  5157. {
  5158. "ApiKeyAuth": []
  5159. }
  5160. ],
  5161. "produces": [
  5162. "application/json"
  5163. ],
  5164. "tags": [
  5165. "定制【尚志大宗】"
  5166. ],
  5167. "summary": "查询交易系统转换设置",
  5168. "parameters": [
  5169. {
  5170. "type": "integer",
  5171. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5172. "name": "convertType",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "外部商品代码[JD\\PD]",
  5178. "name": "outerGoodsCode",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "内部商品ID列表[交易],格式:1,2,3",
  5184. "name": "innerGoodsIDs",
  5185. "in": "query"
  5186. }
  5187. ],
  5188. "responses": {
  5189. "200": {
  5190. "description": "OK",
  5191. "schema": {
  5192. "$ref": "#/definitions/models.Szdz3convertconfig"
  5193. }
  5194. },
  5195. "500": {
  5196. "description": "Internal Server Error",
  5197. "schema": {
  5198. "$ref": "#/definitions/app.Response"
  5199. }
  5200. }
  5201. }
  5202. }
  5203. },
  5204. "/SZDZ/QueryConvertLog": {
  5205. "get": {
  5206. "security": [
  5207. {
  5208. "ApiKeyAuth": []
  5209. }
  5210. ],
  5211. "produces": [
  5212. "application/json"
  5213. ],
  5214. "tags": [
  5215. "定制【尚志大宗】"
  5216. ],
  5217. "summary": "交易系统转换流水查询",
  5218. "parameters": [
  5219. {
  5220. "type": "string",
  5221. "description": "资金账户 - 格式:1,2,3",
  5222. "name": "accountID",
  5223. "in": "query",
  5224. "required": true
  5225. },
  5226. {
  5227. "type": "string",
  5228. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5229. "name": "startDate",
  5230. "in": "query"
  5231. },
  5232. {
  5233. "type": "string",
  5234. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5235. "name": "endDate",
  5236. "in": "query"
  5237. }
  5238. ],
  5239. "responses": {
  5240. "200": {
  5241. "description": "OK",
  5242. "schema": {
  5243. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5244. }
  5245. },
  5246. "500": {
  5247. "description": "Internal Server Error",
  5248. "schema": {
  5249. "$ref": "#/definitions/app.Response"
  5250. }
  5251. }
  5252. }
  5253. }
  5254. },
  5255. "/SZDZ/QueryGoodsPickup": {
  5256. "get": {
  5257. "security": [
  5258. {
  5259. "ApiKeyAuth": []
  5260. }
  5261. ],
  5262. "produces": [
  5263. "application/json"
  5264. ],
  5265. "tags": [
  5266. "定制【尚志大宗】"
  5267. ],
  5268. "summary": "商品提货单查询",
  5269. "parameters": [
  5270. {
  5271. "type": "string",
  5272. "description": "资金账户 - 格式:1,2,3",
  5273. "name": "accountID",
  5274. "in": "query",
  5275. "required": true
  5276. },
  5277. {
  5278. "type": "integer",
  5279. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5280. "name": "takeOrderStatus",
  5281. "in": "query"
  5282. }
  5283. ],
  5284. "responses": {
  5285. "200": {
  5286. "description": "OK",
  5287. "schema": {
  5288. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5289. }
  5290. },
  5291. "500": {
  5292. "description": "Internal Server Error",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. }
  5297. }
  5298. }
  5299. },
  5300. "/SZDZ/QueryRecieptOrder": {
  5301. "get": {
  5302. "security": [
  5303. {
  5304. "ApiKeyAuth": []
  5305. }
  5306. ],
  5307. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5308. "produces": [
  5309. "application/json"
  5310. ],
  5311. "tags": [
  5312. "定制【尚志大宗】"
  5313. ],
  5314. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5315. "parameters": [
  5316. {
  5317. "type": "integer",
  5318. "description": "页码",
  5319. "name": "page",
  5320. "in": "query"
  5321. },
  5322. {
  5323. "type": "integer",
  5324. "description": "每页条数",
  5325. "name": "pagesize",
  5326. "in": "query"
  5327. },
  5328. {
  5329. "type": "integer",
  5330. "description": "商品ID",
  5331. "name": "goodsID",
  5332. "in": "query",
  5333. "required": true
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "所属账户名称",
  5338. "name": "accountName",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "integer",
  5343. "description": "市场ID",
  5344. "name": "marketID",
  5345. "in": "query"
  5346. },
  5347. {
  5348. "type": "integer",
  5349. "description": "方向 - 0:买 1:卖",
  5350. "name": "buyorsell",
  5351. "in": "query",
  5352. "required": true
  5353. }
  5354. ],
  5355. "responses": {
  5356. "200": {
  5357. "description": "OK",
  5358. "schema": {
  5359. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5360. }
  5361. },
  5362. "500": {
  5363. "description": "Internal Server Error",
  5364. "schema": {
  5365. "$ref": "#/definitions/app.Response"
  5366. }
  5367. }
  5368. }
  5369. }
  5370. },
  5371. "/SZDZ/QuerySZDZTradePosition": {
  5372. "get": {
  5373. "security": [
  5374. {
  5375. "ApiKeyAuth": []
  5376. }
  5377. ],
  5378. "produces": [
  5379. "application/json"
  5380. ],
  5381. "tags": [
  5382. "定制【尚志大宗】"
  5383. ],
  5384. "summary": "持仓汇总查询(尚志大宗)",
  5385. "parameters": [
  5386. {
  5387. "type": "integer",
  5388. "description": "资金账户",
  5389. "name": "accountID",
  5390. "in": "query",
  5391. "required": true
  5392. }
  5393. ],
  5394. "responses": {
  5395. "200": {
  5396. "description": "OK",
  5397. "schema": {
  5398. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5399. }
  5400. },
  5401. "500": {
  5402. "description": "Internal Server Error",
  5403. "schema": {
  5404. "$ref": "#/definitions/app.Response"
  5405. }
  5406. }
  5407. }
  5408. }
  5409. },
  5410. "/SZDZ/SearchWhite": {
  5411. "get": {
  5412. "security": [
  5413. {
  5414. "ApiKeyAuth": []
  5415. }
  5416. ],
  5417. "produces": [
  5418. "application/json"
  5419. ],
  5420. "tags": [
  5421. "定制【尚志大宗】"
  5422. ],
  5423. "summary": "搜索白名单",
  5424. "parameters": [
  5425. {
  5426. "type": "integer",
  5427. "description": "用户ID",
  5428. "name": "userID",
  5429. "in": "query",
  5430. "required": true
  5431. }
  5432. ],
  5433. "responses": {
  5434. "200": {
  5435. "description": "OK",
  5436. "schema": {
  5437. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5438. }
  5439. },
  5440. "500": {
  5441. "description": "Internal Server Error",
  5442. "schema": {
  5443. "$ref": "#/definitions/app.Response"
  5444. }
  5445. }
  5446. }
  5447. }
  5448. },
  5449. "/Search/SearchGoodses": {
  5450. "get": {
  5451. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5452. "produces": [
  5453. "application/json"
  5454. ],
  5455. "tags": [
  5456. "检索服务"
  5457. ],
  5458. "summary": "检索商品信息",
  5459. "parameters": [
  5460. {
  5461. "type": "string",
  5462. "description": "检索内容",
  5463. "name": "content",
  5464. "in": "query",
  5465. "required": true
  5466. },
  5467. {
  5468. "type": "string",
  5469. "description": "交易模式,格式:1,2,3",
  5470. "name": "tradeModes",
  5471. "in": "query"
  5472. }
  5473. ],
  5474. "responses": {
  5475. "200": {
  5476. "description": "OK",
  5477. "schema": {
  5478. "$ref": "#/definitions/models.SearchGoods"
  5479. }
  5480. },
  5481. "500": {
  5482. "description": "Internal Server Error",
  5483. "schema": {
  5484. "$ref": "#/definitions/app.Response"
  5485. }
  5486. }
  5487. }
  5488. }
  5489. },
  5490. "/TaAccount/GetTaAccounts": {
  5491. "get": {
  5492. "security": [
  5493. {
  5494. "ApiKeyAuth": []
  5495. }
  5496. ],
  5497. "produces": [
  5498. "application/json"
  5499. ],
  5500. "tags": [
  5501. "资金账户"
  5502. ],
  5503. "summary": "获取资金账户信息",
  5504. "parameters": [
  5505. {
  5506. "type": "integer",
  5507. "description": "登录账户",
  5508. "name": "loginID",
  5509. "in": "query",
  5510. "required": true
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5515. "name": "taAccountType",
  5516. "in": "query"
  5517. }
  5518. ],
  5519. "responses": {
  5520. "200": {
  5521. "description": "OK",
  5522. "schema": {
  5523. "$ref": "#/definitions/models.Taaccount"
  5524. }
  5525. },
  5526. "500": {
  5527. "description": "Internal Server Error",
  5528. "schema": {
  5529. "$ref": "#/definitions/app.Response"
  5530. }
  5531. }
  5532. }
  5533. }
  5534. },
  5535. "/TaAccount/QueryAmountLog": {
  5536. "get": {
  5537. "security": [
  5538. {
  5539. "ApiKeyAuth": []
  5540. }
  5541. ],
  5542. "produces": [
  5543. "application/json"
  5544. ],
  5545. "tags": [
  5546. "资金账户"
  5547. ],
  5548. "summary": "资金流水查询(当前)",
  5549. "parameters": [
  5550. {
  5551. "type": "integer",
  5552. "description": "页码",
  5553. "name": "page",
  5554. "in": "query"
  5555. },
  5556. {
  5557. "type": "integer",
  5558. "description": "每页条数",
  5559. "name": "pagesize",
  5560. "in": "query"
  5561. },
  5562. {
  5563. "type": "string",
  5564. "description": "资金账户 - 格式:1,2,3",
  5565. "name": "accountID",
  5566. "in": "query",
  5567. "required": true
  5568. },
  5569. {
  5570. "type": "string",
  5571. "description": "资金操作类型 - 格式:1,2,3",
  5572. "name": "OperateType",
  5573. "in": "query"
  5574. }
  5575. ],
  5576. "responses": {
  5577. "200": {
  5578. "description": "OK",
  5579. "schema": {
  5580. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5581. }
  5582. },
  5583. "500": {
  5584. "description": "Internal Server Error",
  5585. "schema": {
  5586. "$ref": "#/definitions/app.Response"
  5587. }
  5588. }
  5589. }
  5590. }
  5591. },
  5592. "/TaAccount/QueryHisAmountLog": {
  5593. "get": {
  5594. "security": [
  5595. {
  5596. "ApiKeyAuth": []
  5597. }
  5598. ],
  5599. "produces": [
  5600. "application/json"
  5601. ],
  5602. "tags": [
  5603. "资金账户"
  5604. ],
  5605. "summary": "资金流水查询(历史)",
  5606. "parameters": [
  5607. {
  5608. "type": "integer",
  5609. "description": "页码",
  5610. "name": "page",
  5611. "in": "query"
  5612. },
  5613. {
  5614. "type": "integer",
  5615. "description": "每页条数",
  5616. "name": "pagesize",
  5617. "in": "query"
  5618. },
  5619. {
  5620. "type": "string",
  5621. "description": "资金账户 - 格式:1,2,3",
  5622. "name": "accountID",
  5623. "in": "query",
  5624. "required": true
  5625. },
  5626. {
  5627. "type": "string",
  5628. "description": "资金操作类型 - 格式:1,2,3",
  5629. "name": "OperateType",
  5630. "in": "query"
  5631. },
  5632. {
  5633. "type": "string",
  5634. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5635. "name": "startDate",
  5636. "in": "query"
  5637. },
  5638. {
  5639. "type": "string",
  5640. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5641. "name": "endDate",
  5642. "in": "query"
  5643. }
  5644. ],
  5645. "responses": {
  5646. "200": {
  5647. "description": "OK",
  5648. "schema": {
  5649. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5650. }
  5651. },
  5652. "500": {
  5653. "description": "Internal Server Error",
  5654. "schema": {
  5655. "$ref": "#/definitions/app.Response"
  5656. }
  5657. }
  5658. }
  5659. }
  5660. },
  5661. "/Trade/QueryRecieptOrder": {
  5662. "get": {
  5663. "security": [
  5664. {
  5665. "ApiKeyAuth": []
  5666. }
  5667. ],
  5668. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5669. "produces": [
  5670. "application/json"
  5671. ],
  5672. "tags": [
  5673. "通用交易"
  5674. ],
  5675. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5676. "parameters": [
  5677. {
  5678. "type": "integer",
  5679. "description": "页码",
  5680. "name": "page",
  5681. "in": "query"
  5682. },
  5683. {
  5684. "type": "integer",
  5685. "description": "每页条数",
  5686. "name": "pagesize",
  5687. "in": "query"
  5688. },
  5689. {
  5690. "type": "integer",
  5691. "description": "商品ID",
  5692. "name": "goodsID",
  5693. "in": "query",
  5694. "required": true
  5695. },
  5696. {
  5697. "type": "string",
  5698. "description": "所属账户名称",
  5699. "name": "accountName",
  5700. "in": "query"
  5701. },
  5702. {
  5703. "type": "integer",
  5704. "description": "市场ID",
  5705. "name": "marketID",
  5706. "in": "query"
  5707. },
  5708. {
  5709. "type": "integer",
  5710. "description": "方向 - 0:买 1:卖",
  5711. "name": "buyorsell",
  5712. "in": "query",
  5713. "required": true
  5714. }
  5715. ],
  5716. "responses": {
  5717. "200": {
  5718. "description": "OK",
  5719. "schema": {
  5720. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5721. }
  5722. },
  5723. "500": {
  5724. "description": "Internal Server Error",
  5725. "schema": {
  5726. "$ref": "#/definitions/app.Response"
  5727. }
  5728. }
  5729. }
  5730. }
  5731. },
  5732. "/User/AddMessageBoard": {
  5733. "post": {
  5734. "security": [
  5735. {
  5736. "ApiKeyAuth": []
  5737. }
  5738. ],
  5739. "produces": [
  5740. "application/json"
  5741. ],
  5742. "tags": [
  5743. "用户信息"
  5744. ],
  5745. "summary": "添加用户留言板信息",
  5746. "parameters": [
  5747. {
  5748. "type": "integer",
  5749. "description": "用户ID",
  5750. "name": "userID",
  5751. "in": "query",
  5752. "required": true
  5753. },
  5754. {
  5755. "type": "string",
  5756. "description": "留言信息",
  5757. "name": "message",
  5758. "in": "query",
  5759. "required": true
  5760. },
  5761. {
  5762. "type": "string",
  5763. "description": "联系电话",
  5764. "name": "contactNum",
  5765. "in": "query",
  5766. "required": true
  5767. }
  5768. ],
  5769. "responses": {
  5770. "200": {
  5771. "description": "OK",
  5772. "schema": {
  5773. "$ref": "#/definitions/app.Response"
  5774. }
  5775. },
  5776. "500": {
  5777. "description": "Internal Server Error",
  5778. "schema": {
  5779. "$ref": "#/definitions/app.Response"
  5780. }
  5781. }
  5782. }
  5783. }
  5784. },
  5785. "/User/AddUserFavoriteGoods": {
  5786. "post": {
  5787. "security": [
  5788. {
  5789. "ApiKeyAuth": []
  5790. }
  5791. ],
  5792. "produces": [
  5793. "application/json"
  5794. ],
  5795. "tags": [
  5796. "用户信息"
  5797. ],
  5798. "summary": "添加用户商品收藏信息",
  5799. "parameters": [
  5800. {
  5801. "type": "integer",
  5802. "description": "用户ID",
  5803. "name": "userID",
  5804. "in": "query",
  5805. "required": true
  5806. },
  5807. {
  5808. "type": "integer",
  5809. "description": "商品ID",
  5810. "name": "goodsID",
  5811. "in": "query",
  5812. "required": true
  5813. }
  5814. ],
  5815. "responses": {
  5816. "200": {
  5817. "description": "OK",
  5818. "schema": {
  5819. "$ref": "#/definitions/app.Response"
  5820. }
  5821. },
  5822. "500": {
  5823. "description": "Internal Server Error",
  5824. "schema": {
  5825. "$ref": "#/definitions/app.Response"
  5826. }
  5827. }
  5828. }
  5829. }
  5830. },
  5831. "/User/GetLoginID": {
  5832. "get": {
  5833. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5834. "produces": [
  5835. "application/json"
  5836. ],
  5837. "tags": [
  5838. "用户信息"
  5839. ],
  5840. "summary": "获取登录ID",
  5841. "parameters": [
  5842. {
  5843. "type": "string",
  5844. "description": "登录代码",
  5845. "name": "username",
  5846. "in": "query",
  5847. "required": true
  5848. }
  5849. ],
  5850. "responses": {
  5851. "200": {
  5852. "description": "OK",
  5853. "schema": {
  5854. "$ref": "#/definitions/app.Response"
  5855. }
  5856. },
  5857. "500": {
  5858. "description": "Internal Server Error",
  5859. "schema": {
  5860. "$ref": "#/definitions/app.Response"
  5861. }
  5862. }
  5863. }
  5864. }
  5865. },
  5866. "/User/GetUserAccount": {
  5867. "get": {
  5868. "security": [
  5869. {
  5870. "ApiKeyAuth": []
  5871. }
  5872. ],
  5873. "produces": [
  5874. "application/json"
  5875. ],
  5876. "tags": [
  5877. "用户信息"
  5878. ],
  5879. "summary": "获取用户账号信息",
  5880. "parameters": [
  5881. {
  5882. "type": "integer",
  5883. "description": "用户ID",
  5884. "name": "userID",
  5885. "in": "query",
  5886. "required": true
  5887. }
  5888. ],
  5889. "responses": {
  5890. "200": {
  5891. "description": "OK",
  5892. "schema": {
  5893. "$ref": "#/definitions/models.Useraccount"
  5894. }
  5895. },
  5896. "500": {
  5897. "description": "Internal Server Error",
  5898. "schema": {
  5899. "$ref": "#/definitions/app.Response"
  5900. }
  5901. }
  5902. }
  5903. }
  5904. },
  5905. "/User/GetUserAuthStatus": {
  5906. "get": {
  5907. "security": [
  5908. {
  5909. "ApiKeyAuth": []
  5910. }
  5911. ],
  5912. "produces": [
  5913. "application/json"
  5914. ],
  5915. "tags": [
  5916. "用户信息"
  5917. ],
  5918. "summary": "获取用户实名认证状态",
  5919. "parameters": [
  5920. {
  5921. "type": "integer",
  5922. "description": "用户ID",
  5923. "name": "userID",
  5924. "in": "query",
  5925. "required": true
  5926. }
  5927. ],
  5928. "responses": {
  5929. "200": {
  5930. "description": "OK",
  5931. "schema": {
  5932. "$ref": "#/definitions/app.Response"
  5933. }
  5934. },
  5935. "500": {
  5936. "description": "Internal Server Error",
  5937. "schema": {
  5938. "$ref": "#/definitions/app.Response"
  5939. }
  5940. }
  5941. }
  5942. }
  5943. },
  5944. "/User/LoginQuery": {
  5945. "get": {
  5946. "security": [
  5947. {
  5948. "ApiKeyAuth": []
  5949. }
  5950. ],
  5951. "produces": [
  5952. "application/json"
  5953. ],
  5954. "tags": [
  5955. "用户信息"
  5956. ],
  5957. "summary": "账户登录后信息查询",
  5958. "parameters": [
  5959. {
  5960. "type": "integer",
  5961. "description": "登录账号",
  5962. "name": "loginID",
  5963. "in": "query",
  5964. "required": true
  5965. }
  5966. ],
  5967. "responses": {
  5968. "200": {
  5969. "description": "OK",
  5970. "schema": {
  5971. "$ref": "#/definitions/user.LoginQueryRsp"
  5972. }
  5973. },
  5974. "500": {
  5975. "description": "Internal Server Error",
  5976. "schema": {
  5977. "$ref": "#/definitions/app.Response"
  5978. }
  5979. }
  5980. }
  5981. }
  5982. },
  5983. "/User/QueryMessageBoard": {
  5984. "get": {
  5985. "security": [
  5986. {
  5987. "ApiKeyAuth": []
  5988. }
  5989. ],
  5990. "produces": [
  5991. "application/json"
  5992. ],
  5993. "tags": [
  5994. "用户信息"
  5995. ],
  5996. "summary": "获取用户留言板信息",
  5997. "parameters": [
  5998. {
  5999. "type": "integer",
  6000. "description": "用户ID",
  6001. "name": "userID",
  6002. "in": "query",
  6003. "required": true
  6004. }
  6005. ],
  6006. "responses": {
  6007. "200": {
  6008. "description": "OK",
  6009. "schema": {
  6010. "$ref": "#/definitions/models.Messageboard"
  6011. }
  6012. },
  6013. "500": {
  6014. "description": "Internal Server Error",
  6015. "schema": {
  6016. "$ref": "#/definitions/app.Response"
  6017. }
  6018. }
  6019. }
  6020. }
  6021. },
  6022. "/User/QueryUserFavoriteGoodses": {
  6023. "get": {
  6024. "security": [
  6025. {
  6026. "ApiKeyAuth": []
  6027. }
  6028. ],
  6029. "produces": [
  6030. "application/json"
  6031. ],
  6032. "tags": [
  6033. "用户信息"
  6034. ],
  6035. "summary": "获取用户商品收藏信息",
  6036. "parameters": [
  6037. {
  6038. "type": "integer",
  6039. "description": "用户ID",
  6040. "name": "userID",
  6041. "in": "query",
  6042. "required": true
  6043. }
  6044. ],
  6045. "responses": {
  6046. "200": {
  6047. "description": "OK",
  6048. "schema": {
  6049. "$ref": "#/definitions/models.Userfavoritegoods"
  6050. }
  6051. },
  6052. "500": {
  6053. "description": "Internal Server Error",
  6054. "schema": {
  6055. "$ref": "#/definitions/app.Response"
  6056. }
  6057. }
  6058. }
  6059. }
  6060. },
  6061. "/User/QueryUserInfo": {
  6062. "get": {
  6063. "security": [
  6064. {
  6065. "ApiKeyAuth": []
  6066. }
  6067. ],
  6068. "produces": [
  6069. "application/json"
  6070. ],
  6071. "tags": [
  6072. "用户信息"
  6073. ],
  6074. "summary": "获取用户信息",
  6075. "parameters": [
  6076. {
  6077. "type": "integer",
  6078. "description": "用户ID",
  6079. "name": "userID",
  6080. "in": "query",
  6081. "required": true
  6082. }
  6083. ],
  6084. "responses": {
  6085. "200": {
  6086. "description": "OK",
  6087. "schema": {
  6088. "$ref": "#/definitions/models.Userinfo"
  6089. }
  6090. },
  6091. "500": {
  6092. "description": "Internal Server Error",
  6093. "schema": {
  6094. "$ref": "#/definitions/app.Response"
  6095. }
  6096. }
  6097. }
  6098. }
  6099. },
  6100. "/User/QueryUserReferNum": {
  6101. "get": {
  6102. "produces": [
  6103. "application/json"
  6104. ],
  6105. "tags": [
  6106. "用户信息"
  6107. ],
  6108. "summary": "获取用户邀请码",
  6109. "parameters": [
  6110. {
  6111. "type": "integer",
  6112. "description": "用户ID",
  6113. "name": "userID",
  6114. "in": "query",
  6115. "required": true
  6116. }
  6117. ],
  6118. "responses": {
  6119. "200": {
  6120. "description": "OK",
  6121. "schema": {
  6122. "$ref": "#/definitions/app.Response"
  6123. }
  6124. },
  6125. "500": {
  6126. "description": "Internal Server Error",
  6127. "schema": {
  6128. "$ref": "#/definitions/app.Response"
  6129. }
  6130. }
  6131. }
  6132. }
  6133. },
  6134. "/User/RemoveUserFavoriteGoods": {
  6135. "post": {
  6136. "security": [
  6137. {
  6138. "ApiKeyAuth": []
  6139. }
  6140. ],
  6141. "produces": [
  6142. "application/json"
  6143. ],
  6144. "tags": [
  6145. "用户信息"
  6146. ],
  6147. "summary": "移除用户商品收藏信息",
  6148. "parameters": [
  6149. {
  6150. "type": "integer",
  6151. "description": "用户ID",
  6152. "name": "userID",
  6153. "in": "query",
  6154. "required": true
  6155. },
  6156. {
  6157. "type": "integer",
  6158. "description": "商品ID",
  6159. "name": "goodsID",
  6160. "in": "query",
  6161. "required": true
  6162. }
  6163. ],
  6164. "responses": {
  6165. "200": {
  6166. "description": "OK",
  6167. "schema": {
  6168. "$ref": "#/definitions/app.Response"
  6169. }
  6170. },
  6171. "500": {
  6172. "description": "Internal Server Error",
  6173. "schema": {
  6174. "$ref": "#/definitions/app.Response"
  6175. }
  6176. }
  6177. }
  6178. }
  6179. },
  6180. "/User/UpdateUserAccountStatus": {
  6181. "post": {
  6182. "security": [
  6183. {
  6184. "ApiKeyAuth": []
  6185. }
  6186. ],
  6187. "produces": [
  6188. "application/json"
  6189. ],
  6190. "tags": [
  6191. "用户信息"
  6192. ],
  6193. "summary": "更新用户状态",
  6194. "parameters": [
  6195. {
  6196. "type": "integer",
  6197. "description": "用户ID",
  6198. "name": "userID",
  6199. "in": "query",
  6200. "required": true
  6201. },
  6202. {
  6203. "type": "integer",
  6204. "description": "账户状态 - 4:正常 6:注销(停用)",
  6205. "name": "accountStatus",
  6206. "in": "query",
  6207. "required": true
  6208. }
  6209. ],
  6210. "responses": {
  6211. "200": {
  6212. "description": "OK",
  6213. "schema": {
  6214. "$ref": "#/definitions/app.Response"
  6215. }
  6216. },
  6217. "500": {
  6218. "description": "Internal Server Error",
  6219. "schema": {
  6220. "$ref": "#/definitions/app.Response"
  6221. }
  6222. }
  6223. }
  6224. }
  6225. },
  6226. "/WR/GetWRCategoryInfo": {
  6227. "get": {
  6228. "produces": [
  6229. "application/json"
  6230. ],
  6231. "tags": [
  6232. "仓单服务"
  6233. ],
  6234. "summary": "获取现货分类信息",
  6235. "responses": {
  6236. "200": {
  6237. "description": "OK",
  6238. "schema": {
  6239. "$ref": "#/definitions/models.WRCategoryTree"
  6240. }
  6241. },
  6242. "500": {
  6243. "description": "Internal Server Error",
  6244. "schema": {
  6245. "$ref": "#/definitions/app.Response"
  6246. }
  6247. }
  6248. }
  6249. }
  6250. },
  6251. "/WRTrade/GetAllDeliveryGoods": {
  6252. "get": {
  6253. "security": [
  6254. {
  6255. "ApiKeyAuth": []
  6256. },
  6257. {
  6258. "ApiKeyAuth": []
  6259. }
  6260. ],
  6261. "produces": [
  6262. "application/json",
  6263. "application/json"
  6264. ],
  6265. "tags": [
  6266. "仓单贸易",
  6267. "仓单贸易"
  6268. ],
  6269. "summary": "获取带仓单分类的种类信息",
  6270. "responses": {
  6271. "200": {
  6272. "description": "OK",
  6273. "schema": {
  6274. "$ref": "#/definitions/app.Response"
  6275. }
  6276. },
  6277. "500": {
  6278. "description": "Internal Server Error",
  6279. "schema": {
  6280. "$ref": "#/definitions/app.Response"
  6281. }
  6282. }
  6283. }
  6284. }
  6285. }
  6286. },
  6287. "definitions": {
  6288. "app.Response": {
  6289. "type": "object",
  6290. "properties": {
  6291. "code": {
  6292. "type": "integer"
  6293. },
  6294. "data": {
  6295. "type": "object"
  6296. },
  6297. "msg": {
  6298. "type": "string"
  6299. },
  6300. "page": {
  6301. "description": "页码",
  6302. "type": "integer"
  6303. },
  6304. "pagesize": {
  6305. "description": "每页条数",
  6306. "type": "integer"
  6307. },
  6308. "total": {
  6309. "description": "总条数",
  6310. "type": "integer"
  6311. }
  6312. }
  6313. },
  6314. "common.QueryImageConfigsRsp": {
  6315. "type": "object",
  6316. "required": [
  6317. "configid"
  6318. ],
  6319. "properties": {
  6320. "areauserid": {
  6321. "description": "所属机构ID",
  6322. "type": "integer"
  6323. },
  6324. "configid": {
  6325. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6326. "type": "integer"
  6327. },
  6328. "createdate": {
  6329. "description": "创建时间",
  6330. "type": "string"
  6331. },
  6332. "creatorid": {
  6333. "description": "创建人",
  6334. "type": "integer"
  6335. },
  6336. "imagepath": {
  6337. "description": "图片",
  6338. "type": "string"
  6339. },
  6340. "imagetype": {
  6341. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6342. "type": "integer"
  6343. },
  6344. "isshow": {
  6345. "description": "是否展示 - 0:不展示 1:展示",
  6346. "type": "integer"
  6347. },
  6348. "marketid": {
  6349. "description": "市场ID",
  6350. "type": "integer"
  6351. },
  6352. "modifierid": {
  6353. "description": "操作人",
  6354. "type": "integer"
  6355. },
  6356. "sort": {
  6357. "description": "排序",
  6358. "type": "integer"
  6359. },
  6360. "title": {
  6361. "description": "标题",
  6362. "type": "string"
  6363. },
  6364. "trademode": {
  6365. "description": "交易模式",
  6366. "type": "integer"
  6367. },
  6368. "updatedate": {
  6369. "description": "修改时间",
  6370. "type": "string"
  6371. },
  6372. "url": {
  6373. "description": "链接(地址或商品ID)",
  6374. "type": "string"
  6375. },
  6376. "urltype": {
  6377. "description": "链接类型 - 1:直接地址 2:商品ID",
  6378. "type": "integer"
  6379. }
  6380. }
  6381. },
  6382. "common.QueryNoticeRsp": {
  6383. "type": "object",
  6384. "required": [
  6385. "autoid"
  6386. ],
  6387. "properties": {
  6388. "auditoruserid": {
  6389. "description": "审核人",
  6390. "type": "integer"
  6391. },
  6392. "auditremark": {
  6393. "description": "审核备注",
  6394. "type": "string"
  6395. },
  6396. "audittime": {
  6397. "description": "审核日期",
  6398. "type": "string"
  6399. },
  6400. "autoid": {
  6401. "description": "自增ID",
  6402. "type": "integer"
  6403. },
  6404. "content": {
  6405. "description": "内容",
  6406. "type": "string"
  6407. },
  6408. "createtime": {
  6409. "description": "创建时间",
  6410. "type": "string"
  6411. },
  6412. "creatorid": {
  6413. "description": "建仓人",
  6414. "type": "integer"
  6415. },
  6416. "endtime": {
  6417. "description": "结束时间",
  6418. "type": "string"
  6419. },
  6420. "istop": {
  6421. "description": "是否置顶 - 0:不置顶 1:置顶",
  6422. "type": "integer"
  6423. },
  6424. "msgiconurl": {
  6425. "description": "消息图标Url",
  6426. "type": "string"
  6427. },
  6428. "msgtype": {
  6429. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6430. "type": "integer"
  6431. },
  6432. "publisher": {
  6433. "description": "消息发布者",
  6434. "type": "string"
  6435. },
  6436. "readed": {
  6437. "description": "是否已读",
  6438. "type": "boolean"
  6439. },
  6440. "scheduletime": {
  6441. "description": "计划发送时间",
  6442. "type": "string"
  6443. },
  6444. "sendtype": {
  6445. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6446. "type": "integer"
  6447. },
  6448. "sentstatus": {
  6449. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6450. "type": "integer"
  6451. },
  6452. "title": {
  6453. "description": "标题",
  6454. "type": "string"
  6455. },
  6456. "userid": {
  6457. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6458. "type": "integer"
  6459. }
  6460. }
  6461. },
  6462. "common.QueryProvincesAndCitiesRsp": {
  6463. "type": "object",
  6464. "properties": {
  6465. "cities": {
  6466. "description": "市",
  6467. "type": "array",
  6468. "items": {
  6469. "$ref": "#/definitions/models.Division"
  6470. }
  6471. },
  6472. "province": {
  6473. "description": "省",
  6474. "$ref": "#/definitions/models.Division"
  6475. }
  6476. }
  6477. },
  6478. "common.QueryTableDefineRsp": {
  6479. "type": "object",
  6480. "required": [
  6481. "tablekey"
  6482. ],
  6483. "properties": {
  6484. "columns": {
  6485. "description": "列头信息数组",
  6486. "type": "array",
  6487. "items": {
  6488. "$ref": "#/definitions/models.Tablecolumnconfig"
  6489. }
  6490. },
  6491. "remark": {
  6492. "description": "Remark",
  6493. "type": "string"
  6494. },
  6495. "tabelmenu": {
  6496. "description": "列表菜单",
  6497. "type": "string"
  6498. },
  6499. "tablekey": {
  6500. "description": "列表Key",
  6501. "type": "string"
  6502. },
  6503. "tablename": {
  6504. "description": "列表名称",
  6505. "type": "string"
  6506. },
  6507. "tabletype": {
  6508. "description": "列表类型 - 1:管理端 2:终端",
  6509. "type": "integer"
  6510. }
  6511. }
  6512. },
  6513. "common.QueryTraderMenuRsp": {
  6514. "type": "object",
  6515. "properties": {
  6516. "OperationMenu": {
  6517. "description": "功能菜单",
  6518. "type": "array",
  6519. "items": {
  6520. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6521. }
  6522. },
  6523. "QuoteMenu": {
  6524. "description": "报价牌分类菜单",
  6525. "type": "array",
  6526. "items": {
  6527. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6528. }
  6529. }
  6530. }
  6531. },
  6532. "cptrade.Cptradepositioncancel": {
  6533. "type": "object",
  6534. "required": [
  6535. "cancelid"
  6536. ],
  6537. "properties": {
  6538. "accountid": {
  6539. "description": "申请人账户ID",
  6540. "type": "integer"
  6541. },
  6542. "applystatus": {
  6543. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6544. "type": "integer"
  6545. },
  6546. "applytime": {
  6547. "description": "申请时间",
  6548. "type": "string"
  6549. },
  6550. "cancelid": {
  6551. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6552. "type": "integer"
  6553. },
  6554. "cancelqty": {
  6555. "description": "注销数量",
  6556. "type": "integer"
  6557. },
  6558. "createtime": {
  6559. "description": "创建时间",
  6560. "type": "string"
  6561. },
  6562. "creatorid": {
  6563. "description": "创建人ID",
  6564. "type": "integer"
  6565. },
  6566. "creatorname": {
  6567. "description": "创建人",
  6568. "type": "string"
  6569. },
  6570. "goodscode": {
  6571. "description": "订单商品代码",
  6572. "type": "string"
  6573. },
  6574. "goodsid": {
  6575. "description": "商品ID",
  6576. "type": "integer"
  6577. },
  6578. "goodsname": {
  6579. "description": "订单商品名称",
  6580. "type": "string"
  6581. },
  6582. "goodunit": {
  6583. "description": "报价单位",
  6584. "type": "string"
  6585. },
  6586. "handlestatus": {
  6587. "description": "处理状态",
  6588. "type": "integer"
  6589. },
  6590. "marketid": {
  6591. "description": "市场ID",
  6592. "type": "integer"
  6593. },
  6594. "marketname": {
  6595. "description": "市场名称",
  6596. "type": "string"
  6597. },
  6598. "tradedate": {
  6599. "description": "交易日(yyyyMMdd)",
  6600. "type": "string"
  6601. },
  6602. "userid": {
  6603. "description": "申请人ID",
  6604. "type": "integer"
  6605. }
  6606. }
  6607. },
  6608. "cptrade.Cptradepresaleapply": {
  6609. "type": "object",
  6610. "required": [
  6611. "applyid"
  6612. ],
  6613. "properties": {
  6614. "accountid": {
  6615. "description": "申请人账户ID",
  6616. "type": "integer"
  6617. },
  6618. "applyid": {
  6619. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6620. "type": "integer"
  6621. },
  6622. "applyremark": {
  6623. "description": "申请备注",
  6624. "type": "string"
  6625. },
  6626. "applystatus": {
  6627. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6628. "type": "integer"
  6629. },
  6630. "applytime": {
  6631. "description": "申请时间",
  6632. "type": "string"
  6633. },
  6634. "attachmenturl": {
  6635. "description": "附件地址",
  6636. "type": "string"
  6637. },
  6638. "endtime": {
  6639. "description": "预售结束时间",
  6640. "type": "string"
  6641. },
  6642. "goodscode": {
  6643. "description": "商品代码",
  6644. "type": "string"
  6645. },
  6646. "goodsid": {
  6647. "description": "商品ID",
  6648. "type": "integer"
  6649. },
  6650. "goodsname": {
  6651. "description": "商品名称",
  6652. "type": "string"
  6653. },
  6654. "goodunit": {
  6655. "description": "报价单位",
  6656. "type": "string"
  6657. },
  6658. "handlestatus": {
  6659. "description": "处理状态",
  6660. "type": "integer"
  6661. },
  6662. "marketid": {
  6663. "description": "预售市场ID",
  6664. "type": "integer"
  6665. },
  6666. "marketname": {
  6667. "description": "预售市场名称",
  6668. "type": "string"
  6669. },
  6670. "presaleqty": {
  6671. "description": "预售数量",
  6672. "type": "integer"
  6673. },
  6674. "relatedgoodscode": {
  6675. "description": "关联交易合约代码",
  6676. "type": "string"
  6677. },
  6678. "relatedgoodsid": {
  6679. "description": "关联交易合约ID",
  6680. "type": "integer"
  6681. },
  6682. "relatedgoodsname": {
  6683. "description": "关联交易合约名称",
  6684. "type": "string"
  6685. },
  6686. "starttime": {
  6687. "description": "预售开始时间",
  6688. "type": "string"
  6689. },
  6690. "tradedate": {
  6691. "description": "交易日(yyyyMMdd)",
  6692. "type": "string"
  6693. },
  6694. "trademode": {
  6695. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6696. "type": "integer"
  6697. },
  6698. "userid": {
  6699. "description": "申请人ID",
  6700. "type": "integer"
  6701. }
  6702. }
  6703. },
  6704. "cptrade.Cptradeusergoodsdata": {
  6705. "type": "object",
  6706. "required": [
  6707. "accountid",
  6708. "goodsid"
  6709. ],
  6710. "properties": {
  6711. "EnabledQty": {
  6712. "description": "可用量",
  6713. "type": "integer"
  6714. },
  6715. "GoodsCode": {
  6716. "description": "订单商品代码",
  6717. "type": "string"
  6718. },
  6719. "GoodsName": {
  6720. "description": "订单商品名称",
  6721. "type": "string"
  6722. },
  6723. "WRStandardCode": {
  6724. "description": "仓单标准代码",
  6725. "type": "string"
  6726. },
  6727. "WRStandardName": {
  6728. "description": "仓单标准名称",
  6729. "type": "string"
  6730. },
  6731. "accountid": {
  6732. "description": "账户ID",
  6733. "type": "integer"
  6734. },
  6735. "cancelqty": {
  6736. "description": "注销量",
  6737. "type": "integer"
  6738. },
  6739. "curpresaleqty": {
  6740. "description": "当前预售量",
  6741. "type": "integer"
  6742. },
  6743. "deliveryqty": {
  6744. "description": "交割量",
  6745. "type": "integer"
  6746. },
  6747. "freezeamount": {
  6748. "description": "冻结金额",
  6749. "type": "number"
  6750. },
  6751. "goodsid": {
  6752. "description": "商品ID",
  6753. "type": "integer"
  6754. },
  6755. "goodunit": {
  6756. "description": "报价单位",
  6757. "type": "string"
  6758. },
  6759. "hasspotfreeze": {
  6760. "description": "是否有现货冻结 - 0:否 1:有",
  6761. "type": "integer"
  6762. },
  6763. "inqty": {
  6764. "description": "转入量(总数量)",
  6765. "type": "integer"
  6766. },
  6767. "marketid": {
  6768. "description": "市场ID",
  6769. "type": "integer"
  6770. },
  6771. "presaledamount": {
  6772. "description": "已预售总金额",
  6773. "type": "integer"
  6774. },
  6775. "presaledqty": {
  6776. "description": "已预售量",
  6777. "type": "integer"
  6778. },
  6779. "userid": {
  6780. "description": "用户ID",
  6781. "type": "integer"
  6782. },
  6783. "wrstandardid": {
  6784. "description": "仓单标准ID",
  6785. "type": "integer"
  6786. }
  6787. }
  6788. },
  6789. "cptrade.QueryCPTradeMyBidRsp": {
  6790. "type": "object",
  6791. "required": [
  6792. "accountid",
  6793. "goodsid",
  6794. "marketid",
  6795. "orderid",
  6796. "orderqty",
  6797. "ordertime",
  6798. "tradeprice",
  6799. "tradeqty"
  6800. ],
  6801. "properties": {
  6802. "accountid": {
  6803. "description": "账户ID[报价币种]",
  6804. "type": "integer"
  6805. },
  6806. "goodsid": {
  6807. "description": "商品ID",
  6808. "type": "integer"
  6809. },
  6810. "goodunit": {
  6811. "description": "报价单位",
  6812. "type": "string"
  6813. },
  6814. "marketid": {
  6815. "description": "市场ID",
  6816. "type": "integer"
  6817. },
  6818. "orderid": {
  6819. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6820. "type": "integer"
  6821. },
  6822. "orderprice": {
  6823. "description": "委托价格",
  6824. "type": "number"
  6825. },
  6826. "orderqty": {
  6827. "description": "委托数量",
  6828. "type": "integer"
  6829. },
  6830. "ordertime": {
  6831. "description": "委托时间",
  6832. "type": "string"
  6833. },
  6834. "ordertotalprice": {
  6835. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6836. "type": "number"
  6837. },
  6838. "ordertotalweight": {
  6839. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6840. "type": "integer"
  6841. },
  6842. "totaltotalprice": {
  6843. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6844. "type": "number"
  6845. },
  6846. "tradeprice": {
  6847. "description": "成交价格",
  6848. "type": "number"
  6849. },
  6850. "tradeqty": {
  6851. "description": "成交数量",
  6852. "type": "integer"
  6853. }
  6854. }
  6855. },
  6856. "cptrade.QueryCPTradeOrderDetailRsq": {
  6857. "type": "object",
  6858. "required": [
  6859. "accountid",
  6860. "buildtype",
  6861. "buyorsell",
  6862. "goodsid",
  6863. "marketid",
  6864. "memberuserid",
  6865. "operatetype",
  6866. "orderqty",
  6867. "ordertime",
  6868. "pricemode",
  6869. "strorderid",
  6870. "tradedate",
  6871. "validtype"
  6872. ],
  6873. "properties": {
  6874. "accountid": {
  6875. "description": "账户ID[报价币种]",
  6876. "type": "integer"
  6877. },
  6878. "buildtype": {
  6879. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6880. "type": "integer"
  6881. },
  6882. "buyorsell": {
  6883. "description": "买卖 - 0:买 1:卖",
  6884. "type": "integer"
  6885. },
  6886. "cancelorderid": {
  6887. "description": "撤单单号(撤单时填写)",
  6888. "type": "integer"
  6889. },
  6890. "cancelqty": {
  6891. "description": "撤单数量",
  6892. "type": "integer"
  6893. },
  6894. "clientordertime": {
  6895. "description": "客户端委托时间",
  6896. "type": "string"
  6897. },
  6898. "clientticket": {
  6899. "description": "客户端流水号",
  6900. "type": "string"
  6901. },
  6902. "clienttype": {
  6903. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6904. "type": "integer"
  6905. },
  6906. "closeexchagechargevalue": {
  6907. "description": "平仓交易所手续费设置值",
  6908. "type": "number"
  6909. },
  6910. "closefeealgorithm": {
  6911. "description": "平仓手续费收取方式 1:比率 2:固定",
  6912. "type": "integer"
  6913. },
  6914. "closefreezecharge": {
  6915. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6916. "type": "number"
  6917. },
  6918. "closememberchargevalue": {
  6919. "description": "平仓会员手续费设置值",
  6920. "type": "number"
  6921. },
  6922. "closeqty": {
  6923. "description": "平仓数量(先建后平操作 需要记录)",
  6924. "type": "integer"
  6925. },
  6926. "closetradeqty": {
  6927. "description": "平仓成交数量(先建后平操作,需要记录)",
  6928. "type": "integer"
  6929. },
  6930. "closeunfreezecharge": {
  6931. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6932. "type": "number"
  6933. },
  6934. "delistingtype": {
  6935. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6936. "type": "integer"
  6937. },
  6938. "freezecharge": {
  6939. "description": "冻结手续费",
  6940. "type": "number"
  6941. },
  6942. "freezemargin": {
  6943. "description": "冻结保证金(冻结交易金额)",
  6944. "type": "number"
  6945. },
  6946. "gcaccountid": {
  6947. "description": "账户ID[合约币种]",
  6948. "type": "integer"
  6949. },
  6950. "goodsid": {
  6951. "description": "商品ID",
  6952. "type": "integer"
  6953. },
  6954. "isconfirmexercise": {
  6955. "description": "是否确认行权- 0:否 1:是",
  6956. "type": "integer"
  6957. },
  6958. "ispreexercise": {
  6959. "description": "是否预申报- 0:否 1:是",
  6960. "type": "integer"
  6961. },
  6962. "listingselecttype": {
  6963. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6964. "type": "integer"
  6965. },
  6966. "marginalgorithm": {
  6967. "description": "保证金收取方式 1:比率 2:固定",
  6968. "type": "integer"
  6969. },
  6970. "marginvalue": {
  6971. "description": "即市保证金设置值",
  6972. "type": "number"
  6973. },
  6974. "marketid": {
  6975. "description": "市场ID",
  6976. "type": "integer"
  6977. },
  6978. "marketmaxsub": {
  6979. "description": "市价最大偏移范围",
  6980. "type": "number"
  6981. },
  6982. "memberuserid": {
  6983. "description": "所属会员UserID",
  6984. "type": "integer"
  6985. },
  6986. "openexchagechargevalue": {
  6987. "description": "建仓交易所手续费设置值",
  6988. "type": "number"
  6989. },
  6990. "openfeealgorithm": {
  6991. "description": "建仓手续费收取方式 1:比率 2:固定",
  6992. "type": "integer"
  6993. },
  6994. "openfreezecharge": {
  6995. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6996. "type": "number"
  6997. },
  6998. "openmemberchargevalue": {
  6999. "description": "建仓会员手续费设置值",
  7000. "type": "number"
  7001. },
  7002. "openqty": {
  7003. "description": "开仓数量(先建后平操作,需要记录)",
  7004. "type": "integer"
  7005. },
  7006. "opentradeqty": {
  7007. "description": "开仓成交数量(先建后平操作,需要记录)",
  7008. "type": "integer"
  7009. },
  7010. "openunfreezecharge": {
  7011. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7012. "type": "number"
  7013. },
  7014. "operatetype": {
  7015. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7016. "type": "integer"
  7017. },
  7018. "operatorid": {
  7019. "description": "登录账号(LoginID)",
  7020. "type": "integer"
  7021. },
  7022. "optiontype": {
  7023. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7024. "type": "integer"
  7025. },
  7026. "orderprice": {
  7027. "description": "委托价格",
  7028. "type": "number"
  7029. },
  7030. "orderqty": {
  7031. "description": "委托数量",
  7032. "type": "integer"
  7033. },
  7034. "ordersrc": {
  7035. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7036. "type": "integer"
  7037. },
  7038. "orderstatus": {
  7039. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7040. "type": "integer"
  7041. },
  7042. "ordertime": {
  7043. "description": "委托时间",
  7044. "type": "string"
  7045. },
  7046. "preexerciseprice": {
  7047. "description": "预申报价格",
  7048. "type": "number"
  7049. },
  7050. "premium": {
  7051. "description": "权利金",
  7052. "type": "number"
  7053. },
  7054. "preorderid": {
  7055. "description": "关联预埋单号(止盈止损单时填写)",
  7056. "type": "integer"
  7057. },
  7058. "pricemode": {
  7059. "description": "取价方式 - 1:市价 2: 限价",
  7060. "type": "integer"
  7061. },
  7062. "quoteid": {
  7063. "description": "报价单ID",
  7064. "type": "integer"
  7065. },
  7066. "relatedid": {
  7067. "description": "关联单号(交割单)",
  7068. "type": "integer"
  7069. },
  7070. "retcode": {
  7071. "description": "错误代码",
  7072. "type": "integer"
  7073. },
  7074. "sessionid": {
  7075. "description": "会话ID",
  7076. "type": "integer"
  7077. },
  7078. "strorderid": {
  7079. "description": "委托单号",
  7080. "type": "string"
  7081. },
  7082. "tradedate": {
  7083. "description": "交易日(yyyyMMdd)",
  7084. "type": "string"
  7085. },
  7086. "tradeproperty": {
  7087. "description": "交易属性",
  7088. "type": "integer"
  7089. },
  7090. "tradeqty": {
  7091. "description": "成交数量",
  7092. "type": "integer"
  7093. },
  7094. "unfreezecharge": {
  7095. "description": "解冻手续费",
  7096. "type": "number"
  7097. },
  7098. "unfreezemargin": {
  7099. "description": "解冻保证金",
  7100. "type": "number"
  7101. },
  7102. "updatetime": {
  7103. "description": "更新时间",
  7104. "type": "string"
  7105. },
  7106. "uuid": {
  7107. "description": "发起端唯一id",
  7108. "type": "string"
  7109. },
  7110. "validtime": {
  7111. "description": "有效期限",
  7112. "type": "string"
  7113. },
  7114. "validtype": {
  7115. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7116. "type": "integer"
  7117. },
  7118. "volumetype": {
  7119. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7120. "type": "integer"
  7121. }
  7122. }
  7123. },
  7124. "cptrade.QueryMyCPTradeGoodsRsp": {
  7125. "type": "object",
  7126. "required": [
  7127. "goodscode",
  7128. "goodsid",
  7129. "goodsname",
  7130. "marketid",
  7131. "relatedgoodscode",
  7132. "relatedgoodsname"
  7133. ],
  7134. "properties": {
  7135. "accountid": {
  7136. "description": "卖方账户ID",
  7137. "type": "integer"
  7138. },
  7139. "agreeunit": {
  7140. "description": "合约单位",
  7141. "type": "number"
  7142. },
  7143. "applyid": {
  7144. "description": "关联申请ID",
  7145. "type": "integer"
  7146. },
  7147. "attachmenturl": {
  7148. "description": "附件地址",
  7149. "type": "string"
  7150. },
  7151. "createtime": {
  7152. "description": "创建时间",
  7153. "type": "string"
  7154. },
  7155. "currencyid": {
  7156. "description": "报价货币ID",
  7157. "type": "integer"
  7158. },
  7159. "decimalplace": {
  7160. "description": "报价小数位",
  7161. "type": "integer"
  7162. },
  7163. "endtime": {
  7164. "description": "预售结束时间",
  7165. "type": "string"
  7166. },
  7167. "floorprice": {
  7168. "description": "底价[大宗式竞拍]",
  7169. "type": "number"
  7170. },
  7171. "goodscode": {
  7172. "description": "商品代码(预售)",
  7173. "type": "string"
  7174. },
  7175. "goodsdetail": {
  7176. "description": "详情[大宗]",
  7177. "type": "string"
  7178. },
  7179. "goodsid": {
  7180. "description": "商品ID(自增ID SEQ_GOODS)",
  7181. "type": "integer"
  7182. },
  7183. "goodsname": {
  7184. "description": "商品名称(预售)",
  7185. "type": "string"
  7186. },
  7187. "goodunit": {
  7188. "description": "报价单位",
  7189. "type": "string"
  7190. },
  7191. "goodunitid": {
  7192. "description": "报价单位ID",
  7193. "type": "integer"
  7194. },
  7195. "marketid": {
  7196. "description": "所属市场ID",
  7197. "type": "integer"
  7198. },
  7199. "marketname": {
  7200. "description": "预售市场名称",
  7201. "type": "string"
  7202. },
  7203. "presaledamount": {
  7204. "description": "已预售总金额(预售结束时更新)",
  7205. "type": "number"
  7206. },
  7207. "presaledqty": {
  7208. "description": "已预售量(预售结束时更新)",
  7209. "type": "integer"
  7210. },
  7211. "presalemode": {
  7212. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7213. "type": "integer"
  7214. },
  7215. "presaleqty": {
  7216. "description": "预售数量",
  7217. "type": "integer"
  7218. },
  7219. "refprice": {
  7220. "description": "参考价格[一口价]",
  7221. "type": "number"
  7222. },
  7223. "relatedgoodscode": {
  7224. "description": "商品代码(订单)",
  7225. "type": "string"
  7226. },
  7227. "relatedgoodsid": {
  7228. "description": "关联交易合约ID",
  7229. "type": "integer"
  7230. },
  7231. "relatedgoodsname": {
  7232. "description": "商品名称(订单)",
  7233. "type": "string"
  7234. },
  7235. "relatedmarketid": {
  7236. "description": "关联交易合约市场ID",
  7237. "type": "integer"
  7238. },
  7239. "sellstatus": {
  7240. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7241. "type": "integer"
  7242. },
  7243. "startprice": {
  7244. "description": "起拍价[大宗式竞拍]",
  7245. "type": "number"
  7246. },
  7247. "starttime": {
  7248. "description": "预售开始时间",
  7249. "type": "string"
  7250. },
  7251. "tradedate": {
  7252. "description": "交易日(yyyyMMdd)",
  7253. "type": "string"
  7254. },
  7255. "tradeprice": {
  7256. "description": "成交价[大宗]",
  7257. "type": "number"
  7258. },
  7259. "userid": {
  7260. "description": "卖方用户ID",
  7261. "type": "integer"
  7262. }
  7263. }
  7264. },
  7265. "cptrade.QueryPresaleGoodsExRsp": {
  7266. "type": "object",
  7267. "required": [
  7268. "goodsid"
  7269. ],
  7270. "properties": {
  7271. "attachmenturl": {
  7272. "description": "附件地址",
  7273. "type": "string"
  7274. },
  7275. "createtime": {
  7276. "description": "创建时间",
  7277. "type": "string"
  7278. },
  7279. "endtime": {
  7280. "description": "预售结束时间",
  7281. "type": "string"
  7282. },
  7283. "floorprice": {
  7284. "description": "底价[大宗式竞拍]",
  7285. "type": "number"
  7286. },
  7287. "goodsdetail": {
  7288. "description": "详情[大宗]",
  7289. "type": "string"
  7290. },
  7291. "goodsid": {
  7292. "description": "商品ID(预售)",
  7293. "type": "integer"
  7294. },
  7295. "goodunit": {
  7296. "description": "报价单位",
  7297. "type": "string"
  7298. },
  7299. "marketid": {
  7300. "description": "预售市场ID - 根据预售模式选择市场",
  7301. "type": "integer"
  7302. },
  7303. "presaledamount": {
  7304. "description": "已预售总金额(预售结束时更新)",
  7305. "type": "number"
  7306. },
  7307. "presaledqty": {
  7308. "description": "已预售量(预售结束时更新)",
  7309. "type": "integer"
  7310. },
  7311. "presalemode": {
  7312. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7313. "type": "integer"
  7314. },
  7315. "presaleqty": {
  7316. "description": "预售数量",
  7317. "type": "integer"
  7318. },
  7319. "refprice": {
  7320. "description": "参考价格[一口价]",
  7321. "type": "number"
  7322. },
  7323. "relatedgoodsid": {
  7324. "description": "关联交易合约ID",
  7325. "type": "integer"
  7326. },
  7327. "relatedmarketid": {
  7328. "description": "关联交易合约市场ID",
  7329. "type": "integer"
  7330. },
  7331. "sellstatus": {
  7332. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7333. "type": "integer"
  7334. },
  7335. "startprice": {
  7336. "description": "起拍价[大宗式竞拍]",
  7337. "type": "number"
  7338. },
  7339. "starttime": {
  7340. "description": "预售开始时间",
  7341. "type": "string"
  7342. },
  7343. "tradedate": {
  7344. "description": "交易日(yyyyMMdd)",
  7345. "type": "string"
  7346. },
  7347. "tradeprice": {
  7348. "description": "成交价[大宗]",
  7349. "type": "number"
  7350. }
  7351. }
  7352. },
  7353. "delivery.QueryDeliveryRelationRsp": {
  7354. "type": "object",
  7355. "required": [
  7356. "begindate",
  7357. "enddate",
  7358. "goodsid",
  7359. "mindeliveryqty",
  7360. "xdeliveryratio"
  7361. ],
  7362. "properties": {
  7363. "begindate": {
  7364. "description": "起始日期(yyyyMMdd)",
  7365. "type": "string"
  7366. },
  7367. "buytemplateid": {
  7368. "description": "买履约计划模板ID",
  7369. "type": "integer"
  7370. },
  7371. "deliverygoodscode": {
  7372. "description": "品种代码",
  7373. "type": "string"
  7374. },
  7375. "deliverygoodsid": {
  7376. "description": "交割商品",
  7377. "type": "integer"
  7378. },
  7379. "deliverygoodsname": {
  7380. "description": "品种名称",
  7381. "type": "string"
  7382. },
  7383. "deliverymode": {
  7384. "description": "交割方式 - 1:点选式 2:申报式",
  7385. "type": "integer"
  7386. },
  7387. "deliverypricerule": {
  7388. "description": "交割价规则- 1:行情价 2:建仓价",
  7389. "type": "integer"
  7390. },
  7391. "deliverytype": {
  7392. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7393. "type": "integer"
  7394. },
  7395. "enddate": {
  7396. "description": "结束日期(yyyyMMdd)",
  7397. "type": "string"
  7398. },
  7399. "goodscode": {
  7400. "description": "商品代码",
  7401. "type": "string"
  7402. },
  7403. "goodsid": {
  7404. "description": "交易合约ID",
  7405. "type": "integer"
  7406. },
  7407. "goodsname": {
  7408. "description": "商品名称",
  7409. "type": "string"
  7410. },
  7411. "marketid": {
  7412. "description": "市场ID",
  7413. "type": "integer"
  7414. },
  7415. "mindeliveryqty": {
  7416. "description": "最小交割系数(K)",
  7417. "type": "integer"
  7418. },
  7419. "p2deliveryprice": {
  7420. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7421. "type": "number"
  7422. },
  7423. "p2deliveryratio": {
  7424. "description": "P2合约系数(p)",
  7425. "type": "integer"
  7426. },
  7427. "p2goodsid": {
  7428. "description": "P2合约ID",
  7429. "type": "integer"
  7430. },
  7431. "p2pricemode": {
  7432. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7433. "type": "integer"
  7434. },
  7435. "pdeliveryprice": {
  7436. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7437. "type": "number"
  7438. },
  7439. "pdeliveryratio": {
  7440. "description": "P合约系数(n)",
  7441. "type": "integer"
  7442. },
  7443. "pgoodsid": {
  7444. "description": "P合约ID",
  7445. "type": "integer"
  7446. },
  7447. "ppricemode": {
  7448. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7449. "type": "integer"
  7450. },
  7451. "rratio": {
  7452. "description": "兑换系数(R)",
  7453. "type": "integer"
  7454. },
  7455. "rratio1": {
  7456. "description": "兑换系数(交易合约)(R1)",
  7457. "type": "integer"
  7458. },
  7459. "rratio2": {
  7460. "description": "兑换系数(仓单标准)(R2)",
  7461. "type": "integer"
  7462. },
  7463. "selltemplateid": {
  7464. "description": "卖履约计划模板ID",
  7465. "type": "integer"
  7466. },
  7467. "wrstandardid": {
  7468. "description": "仓单标准ID",
  7469. "type": "integer"
  7470. },
  7471. "xdeliveryratio": {
  7472. "description": "交易合约系数(m)",
  7473. "type": "integer"
  7474. }
  7475. }
  7476. },
  7477. "ermcp.ExposureDetailRsp": {
  7478. "type": "object",
  7479. "properties": {
  7480. "areauserid": {
  7481. "description": "机构ID",
  7482. "type": "integer"
  7483. },
  7484. "changeQty": {
  7485. "description": "套保变动量",
  7486. "type": "number"
  7487. },
  7488. "contracttype": {
  7489. "description": "现货合同类型 - 1:采购 -1:销售",
  7490. "type": "integer"
  7491. },
  7492. "convertfactor": {
  7493. "description": "标仓系数",
  7494. "type": "number"
  7495. },
  7496. "convertratio": {
  7497. "description": "套保系数",
  7498. "type": "number"
  7499. },
  7500. "createtime": {
  7501. "description": "时间",
  7502. "type": "string"
  7503. },
  7504. "enumdicname": {
  7505. "description": "现货商品单位名称",
  7506. "type": "string"
  7507. },
  7508. "logtype": {
  7509. "description": "类型 - 1:套保计划 2:现货合同",
  7510. "type": "integer"
  7511. },
  7512. "middlegoodsId": {
  7513. "description": "套保商品id",
  7514. "type": "integer"
  7515. },
  7516. "middlegoodscode": {
  7517. "description": "套保商品代码",
  7518. "type": "string"
  7519. },
  7520. "middlegoodsname": {
  7521. "description": "套保商品名称",
  7522. "type": "string"
  7523. },
  7524. "qty": {
  7525. "description": "数量",
  7526. "type": "number"
  7527. },
  7528. "relateNo": {
  7529. "description": "现货合同/套保计划编号",
  7530. "type": "string"
  7531. },
  7532. "wrstandardcode": {
  7533. "description": "现货商品代码",
  7534. "type": "string"
  7535. },
  7536. "wrstandardid": {
  7537. "description": "现货商品ID",
  7538. "type": "integer"
  7539. },
  7540. "wrstandardname": {
  7541. "description": "现货商品名称",
  7542. "type": "string"
  7543. }
  7544. }
  7545. },
  7546. "ermcp.ExposureHedgePosDetailRsp": {
  7547. "type": "object",
  7548. "properties": {
  7549. "buyorsell": {
  7550. "description": "买卖方向 0-买 1-卖",
  7551. "type": "integer"
  7552. },
  7553. "channelbuildtype": {
  7554. "description": "开平方向 1-建仓 2-平仓",
  7555. "type": "integer"
  7556. },
  7557. "goodscode": {
  7558. "description": "商品代码",
  7559. "type": "string"
  7560. },
  7561. "goodsname": {
  7562. "description": "商品名称",
  7563. "type": "string"
  7564. },
  7565. "hedgegoodsid": {
  7566. "description": "商品id",
  7567. "type": "integer"
  7568. },
  7569. "tradeqty": {
  7570. "description": "数量(成交数量)",
  7571. "type": "integer"
  7572. },
  7573. "tradetime": {
  7574. "description": "时间(成交时间)",
  7575. "type": "string"
  7576. }
  7577. }
  7578. },
  7579. "ermcp.ExposureHedgePositionRsp": {
  7580. "type": "object",
  7581. "properties": {
  7582. "accountid": {
  7583. "description": "资金账号[外部母账户]",
  7584. "type": "integer"
  7585. },
  7586. "curbuyposition": {
  7587. "description": "期末买头寸",
  7588. "type": "integer"
  7589. },
  7590. "cursellposition": {
  7591. "description": "期末卖头寸",
  7592. "type": "integer"
  7593. },
  7594. "curtdbuyposition": {
  7595. "description": "期末今日买头寸",
  7596. "type": "integer"
  7597. },
  7598. "curtdsellposition": {
  7599. "description": "期末今日卖头寸",
  7600. "type": "integer"
  7601. },
  7602. "curydbuyposition": {
  7603. "description": "期末上日买头寸",
  7604. "type": "integer"
  7605. },
  7606. "curydsellposition": {
  7607. "description": "期末上日卖头寸",
  7608. "type": "integer"
  7609. },
  7610. "decreaseqty": {
  7611. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7612. "type": "integer"
  7613. },
  7614. "fretdbuyposition": {
  7615. "description": "冻结今日买头寸",
  7616. "type": "integer"
  7617. },
  7618. "fretdsellposition": {
  7619. "description": "冻结今日卖头寸",
  7620. "type": "integer"
  7621. },
  7622. "freydbuyposition": {
  7623. "description": "冻结上日买头寸",
  7624. "type": "integer"
  7625. },
  7626. "freydsellposition": {
  7627. "description": "冻结上日卖头寸",
  7628. "type": "integer"
  7629. },
  7630. "goodscode": {
  7631. "description": "商品代码",
  7632. "type": "string"
  7633. },
  7634. "goodsid": {
  7635. "description": "商品id",
  7636. "type": "integer"
  7637. },
  7638. "goodsname": {
  7639. "description": "商品名称",
  7640. "type": "string"
  7641. },
  7642. "hedgeaccountcode": {
  7643. "description": "对冲账号",
  7644. "type": "string"
  7645. },
  7646. "hedgegoodsid": {
  7647. "description": "对冲合约ID",
  7648. "type": "integer"
  7649. },
  7650. "increaseqty": {
  7651. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7652. "type": "integer"
  7653. },
  7654. "marketid": {
  7655. "description": "市场ID",
  7656. "type": "integer"
  7657. },
  7658. "relateduserid": {
  7659. "description": "关联用户id",
  7660. "type": "integer"
  7661. },
  7662. "totalcurqty": {
  7663. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7664. "type": "integer"
  7665. },
  7666. "totalydqty": {
  7667. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7668. "type": "integer"
  7669. },
  7670. "tradedate": {
  7671. "description": "交易日(yyyyMMdd)",
  7672. "type": "string"
  7673. },
  7674. "ydbuyposition": {
  7675. "description": "期初买头寸",
  7676. "type": "integer"
  7677. },
  7678. "ydsellposition": {
  7679. "description": "期初卖头寸",
  7680. "type": "integer"
  7681. }
  7682. }
  7683. },
  7684. "ermcp.ExposureSpotDetailRsp": {
  7685. "type": "object",
  7686. "properties": {
  7687. "contracttype": {
  7688. "description": "合同类型 1-采购 -1-销售",
  7689. "type": "integer"
  7690. },
  7691. "createtime": {
  7692. "description": "创建时间",
  7693. "type": "string"
  7694. },
  7695. "enumdicname": {
  7696. "description": "现货商品单位名称",
  7697. "type": "string"
  7698. },
  7699. "logtype": {
  7700. "description": "记录类型 1-套保 2-现货合同",
  7701. "type": "integer"
  7702. },
  7703. "qty": {
  7704. "description": "数量",
  7705. "type": "number"
  7706. },
  7707. "recordname": {
  7708. "description": "类型名称",
  7709. "type": "string"
  7710. },
  7711. "relatedid": {
  7712. "description": "套保计划ID/现货合同ID",
  7713. "type": "string"
  7714. },
  7715. "relatedno": {
  7716. "description": "编号",
  7717. "type": "string"
  7718. },
  7719. "strtime": {
  7720. "description": "时间",
  7721. "type": "string"
  7722. },
  7723. "wrstandardcode": {
  7724. "description": "现货商品代码",
  7725. "type": "string"
  7726. },
  7727. "wrstandardname": {
  7728. "description": "现货商品名称",
  7729. "type": "string"
  7730. }
  7731. }
  7732. },
  7733. "ermcp.ExposureSpotRsp": {
  7734. "type": "object",
  7735. "properties": {
  7736. "areauserid": {
  7737. "description": "所属机构",
  7738. "type": "integer"
  7739. },
  7740. "decreaseqty": {
  7741. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7742. "type": "number"
  7743. },
  7744. "increaseqty": {
  7745. "description": "增加数量=销售计划数量+采购已定价数量",
  7746. "type": "number"
  7747. },
  7748. "oritoalspotqty": {
  7749. "description": "昨日数量",
  7750. "type": "number"
  7751. },
  7752. "totalspotqty": {
  7753. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7754. "type": "number"
  7755. },
  7756. "updatetime": {
  7757. "description": "更新时间",
  7758. "type": "string"
  7759. },
  7760. "wrstandardcode": {
  7761. "description": "现货品种代码",
  7762. "type": "string"
  7763. },
  7764. "wrstandardid": {
  7765. "description": "现货商品ID",
  7766. "type": "integer"
  7767. },
  7768. "wrstandardname": {
  7769. "description": "现货品种",
  7770. "type": "string"
  7771. }
  7772. }
  7773. },
  7774. "ermcp.HisExposureRsp": {
  7775. "type": "object",
  7776. "properties": {
  7777. "data": {
  7778. "description": "历史敞口",
  7779. "type": "array",
  7780. "items": {
  7781. "$ref": "#/definitions/models.ErmcpHisExposure"
  7782. }
  7783. },
  7784. "enumdicname": {
  7785. "description": "单位名称",
  7786. "type": "string"
  7787. },
  7788. "middlegoodscode": {
  7789. "description": "套保品种代码",
  7790. "type": "string"
  7791. },
  7792. "middlegoodsid": {
  7793. "description": "套保品种ID",
  7794. "type": "integer"
  7795. },
  7796. "middlegoodsname": {
  7797. "description": "套保品种名称",
  7798. "type": "string"
  7799. }
  7800. }
  7801. },
  7802. "ermcp.PendingAuditCntRsp": {
  7803. "type": "object",
  7804. "properties": {
  7805. "businessdjqty": {
  7806. "description": "待审核数量: 点价",
  7807. "type": "integer"
  7808. },
  7809. "businessfpqty": {
  7810. "description": "待审核数量: 发票",
  7811. "type": "integer"
  7812. },
  7813. "businessjsqty": {
  7814. "description": "待审核数量: 结算",
  7815. "type": "integer"
  7816. },
  7817. "businesskxqty": {
  7818. "description": "待审核数量: 款项",
  7819. "type": "integer"
  7820. },
  7821. "hedgeplanqty": {
  7822. "description": "待审核数量: 套保计划",
  7823. "type": "integer"
  7824. },
  7825. "spotcontractqty": {
  7826. "description": "待审核数量: 现货合同",
  7827. "type": "integer"
  7828. },
  7829. "userqty": {
  7830. "description": "待审核数量: 用户",
  7831. "type": "integer"
  7832. }
  7833. }
  7834. },
  7835. "ermcp.QryAvalidGPRsp": {
  7836. "type": "object",
  7837. "properties": {
  7838. "goodsgroupid": {
  7839. "description": "期货品种id",
  7840. "type": "integer"
  7841. },
  7842. "goodsgroupname": {
  7843. "description": "期货品种名称",
  7844. "type": "string"
  7845. },
  7846. "goodunitid": {
  7847. "description": "品种单位id",
  7848. "type": "integer"
  7849. },
  7850. "goodunitname": {
  7851. "description": "品种单位名称",
  7852. "type": "string"
  7853. },
  7854. "outergroupcode": {
  7855. "description": "期货品种代码",
  7856. "type": "string"
  7857. }
  7858. }
  7859. },
  7860. "ermcp.QryBusinessDjRsp": {
  7861. "type": "object",
  7862. "properties": {
  7863. "amount": {
  7864. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7865. "type": "number"
  7866. },
  7867. "applyid": {
  7868. "description": "申请人",
  7869. "type": "string"
  7870. },
  7871. "applyname": {
  7872. "description": "申请人名称",
  7873. "type": "string"
  7874. },
  7875. "applystatus": {
  7876. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7877. "type": "integer"
  7878. },
  7879. "applytime": {
  7880. "description": "申请时间",
  7881. "type": "string"
  7882. },
  7883. "attachurl": {
  7884. "description": "附件",
  7885. "type": "string"
  7886. },
  7887. "auditname": {
  7888. "description": "审核人名称",
  7889. "type": "string"
  7890. },
  7891. "audittime": {
  7892. "description": "审核时间",
  7893. "type": "string"
  7894. },
  7895. "buyusername": {
  7896. "description": "采购方名称",
  7897. "type": "string"
  7898. },
  7899. "contractno": {
  7900. "description": "合同编号",
  7901. "type": "string"
  7902. },
  7903. "contractstatus": {
  7904. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7905. "type": "integer"
  7906. },
  7907. "contracttype": {
  7908. "description": "现货合同类型 - 1:采购 -1:销售",
  7909. "type": "integer"
  7910. },
  7911. "enumdicname": {
  7912. "description": "单位名称",
  7913. "type": "string"
  7914. },
  7915. "goodscode": {
  7916. "description": "点价合约",
  7917. "type": "string"
  7918. },
  7919. "goodsname": {
  7920. "description": "商品名称",
  7921. "type": "string"
  7922. },
  7923. "operateapplyid": {
  7924. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7925. "type": "string"
  7926. },
  7927. "operateapplytype": {
  7928. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7929. "type": "integer"
  7930. },
  7931. "pricedPrice": {
  7932. "description": "点价价格(非必填)",
  7933. "type": "number"
  7934. },
  7935. "pricedQty": {
  7936. "description": "点价数量(非必填)",
  7937. "type": "number"
  7938. },
  7939. "pricemove": {
  7940. "description": "升贴水",
  7941. "type": "number"
  7942. },
  7943. "pricetype": {
  7944. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7945. "type": "integer"
  7946. },
  7947. "relatedid": {
  7948. "description": "现货合同ID",
  7949. "type": "string"
  7950. },
  7951. "sellusername": {
  7952. "description": "销售方名字",
  7953. "type": "string"
  7954. },
  7955. "userid": {
  7956. "description": "用户ID",
  7957. "type": "integer"
  7958. }
  7959. }
  7960. },
  7961. "ermcp.QryBussinessFpRsp": {
  7962. "type": "object",
  7963. "properties": {
  7964. "applyid": {
  7965. "description": "申请人",
  7966. "type": "string"
  7967. },
  7968. "applyname": {
  7969. "description": "申请人名称",
  7970. "type": "string"
  7971. },
  7972. "applystatus": {
  7973. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7974. "type": "integer"
  7975. },
  7976. "applytime": {
  7977. "description": "申请时间",
  7978. "type": "string"
  7979. },
  7980. "attachurl": {
  7981. "description": "附件",
  7982. "type": "string"
  7983. },
  7984. "auditname": {
  7985. "description": "审核人名称",
  7986. "type": "string"
  7987. },
  7988. "audittime": {
  7989. "description": "审核时间",
  7990. "type": "string"
  7991. },
  7992. "buyusername": {
  7993. "description": "采购方名称",
  7994. "type": "string"
  7995. },
  7996. "contractno": {
  7997. "description": "合同编号",
  7998. "type": "string"
  7999. },
  8000. "contractstatus": {
  8001. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8002. "type": "integer"
  8003. },
  8004. "contracttype": {
  8005. "description": "现货合同类型 - 1:采购 -1:销售",
  8006. "type": "integer"
  8007. },
  8008. "enumdicname": {
  8009. "description": "单位名称",
  8010. "type": "string"
  8011. },
  8012. "goodscode": {
  8013. "description": "点价合约",
  8014. "type": "string"
  8015. },
  8016. "goodsname": {
  8017. "description": "商品名称",
  8018. "type": "string"
  8019. },
  8020. "invoiceAmount": {
  8021. "description": "已开收票金额(销售为开票,采购为收票)",
  8022. "type": "number"
  8023. },
  8024. "operateapplyid": {
  8025. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8026. "type": "string"
  8027. },
  8028. "operateapplytype": {
  8029. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8030. "type": "integer"
  8031. },
  8032. "pricemove": {
  8033. "description": "升贴水",
  8034. "type": "number"
  8035. },
  8036. "pricetype": {
  8037. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8038. "type": "integer"
  8039. },
  8040. "relatedid": {
  8041. "description": "现货合同ID",
  8042. "type": "string"
  8043. },
  8044. "sellusername": {
  8045. "description": "销售方名字",
  8046. "type": "string"
  8047. },
  8048. "userid": {
  8049. "description": "用户ID",
  8050. "type": "integer"
  8051. }
  8052. }
  8053. },
  8054. "ermcp.QryBussinessJsExRsp": {
  8055. "type": "object",
  8056. "properties": {
  8057. "applyid": {
  8058. "description": "申请人",
  8059. "type": "string"
  8060. },
  8061. "applyname": {
  8062. "description": "申请人名称",
  8063. "type": "string"
  8064. },
  8065. "applystatus": {
  8066. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8067. "type": "integer"
  8068. },
  8069. "applytime": {
  8070. "description": "申请时间",
  8071. "type": "string"
  8072. },
  8073. "attachurl": {
  8074. "description": "附件",
  8075. "type": "string"
  8076. },
  8077. "auditname": {
  8078. "description": "审核人名称",
  8079. "type": "string"
  8080. },
  8081. "audittime": {
  8082. "description": "审核时间",
  8083. "type": "string"
  8084. },
  8085. "buyusername": {
  8086. "description": "采购方名称",
  8087. "type": "string"
  8088. },
  8089. "contractno": {
  8090. "description": "合同编号",
  8091. "type": "string"
  8092. },
  8093. "contractstatus": {
  8094. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8095. "type": "integer"
  8096. },
  8097. "contracttype": {
  8098. "description": "现货合同类型 - 1:采购 -1:销售",
  8099. "type": "integer"
  8100. },
  8101. "enumdicname": {
  8102. "description": "单位名称",
  8103. "type": "string"
  8104. },
  8105. "goodscode": {
  8106. "description": "点价合约",
  8107. "type": "string"
  8108. },
  8109. "goodsname": {
  8110. "description": "商品名称",
  8111. "type": "string"
  8112. },
  8113. "operateapplyid": {
  8114. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8115. "type": "string"
  8116. },
  8117. "operateapplytype": {
  8118. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8119. "type": "integer"
  8120. },
  8121. "pricemove": {
  8122. "description": "升贴水",
  8123. "type": "number"
  8124. },
  8125. "pricetype": {
  8126. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8127. "type": "integer"
  8128. },
  8129. "reckontype": {
  8130. "description": "结算类型",
  8131. "type": "string"
  8132. },
  8133. "reckonvalue": {
  8134. "description": "值",
  8135. "type": "number"
  8136. },
  8137. "relatedid": {
  8138. "description": "现货合同ID",
  8139. "type": "string"
  8140. },
  8141. "sellusername": {
  8142. "description": "销售方名字",
  8143. "type": "string"
  8144. },
  8145. "userid": {
  8146. "description": "用户ID",
  8147. "type": "integer"
  8148. }
  8149. }
  8150. },
  8151. "ermcp.QryBussinessJsRsp": {
  8152. "type": "object",
  8153. "properties": {
  8154. "addmargin": {
  8155. "description": "追加保证金(非必填)",
  8156. "type": "number"
  8157. },
  8158. "applyid": {
  8159. "description": "申请人",
  8160. "type": "string"
  8161. },
  8162. "applyname": {
  8163. "description": "申请人名称",
  8164. "type": "string"
  8165. },
  8166. "applystatus": {
  8167. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8168. "type": "integer"
  8169. },
  8170. "applytime": {
  8171. "description": "申请时间",
  8172. "type": "string"
  8173. },
  8174. "attachurl": {
  8175. "description": "附件",
  8176. "type": "string"
  8177. },
  8178. "auditname": {
  8179. "description": "审核人名称",
  8180. "type": "string"
  8181. },
  8182. "audittime": {
  8183. "description": "审核时间",
  8184. "type": "string"
  8185. },
  8186. "buyusername": {
  8187. "description": "采购方名称",
  8188. "type": "string"
  8189. },
  8190. "contractno": {
  8191. "description": "合同编号",
  8192. "type": "string"
  8193. },
  8194. "contractstatus": {
  8195. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8196. "type": "integer"
  8197. },
  8198. "contracttype": {
  8199. "description": "现货合同类型 - 1:采购 -1:销售",
  8200. "type": "integer"
  8201. },
  8202. "decmargin": {
  8203. "description": "减少保证金(非必填)",
  8204. "type": "number"
  8205. },
  8206. "enumdicname": {
  8207. "description": "单位名称",
  8208. "type": "string"
  8209. },
  8210. "goodscode": {
  8211. "description": "点价合约",
  8212. "type": "string"
  8213. },
  8214. "goodsname": {
  8215. "description": "商品名称",
  8216. "type": "string"
  8217. },
  8218. "operateapplyid": {
  8219. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8220. "type": "string"
  8221. },
  8222. "operateapplytype": {
  8223. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8224. "type": "integer"
  8225. },
  8226. "pricemove": {
  8227. "description": "升贴水",
  8228. "type": "number"
  8229. },
  8230. "pricetype": {
  8231. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8232. "type": "integer"
  8233. },
  8234. "reckonadjustamount": {
  8235. "description": "结算调整金额(非必填)",
  8236. "type": "number"
  8237. },
  8238. "reckonosamount": {
  8239. "description": "结算溢短金额(非必填)",
  8240. "type": "number"
  8241. },
  8242. "reckonotheramount": {
  8243. "description": "结算其他费用(非必填)",
  8244. "type": "number"
  8245. },
  8246. "reckonrealqty": {
  8247. "description": "结算实际数量(非必填)",
  8248. "type": "number"
  8249. },
  8250. "relatedid": {
  8251. "description": "现货合同ID",
  8252. "type": "string"
  8253. },
  8254. "sellusername": {
  8255. "description": "销售方名字",
  8256. "type": "string"
  8257. },
  8258. "userid": {
  8259. "description": "用户ID",
  8260. "type": "integer"
  8261. }
  8262. }
  8263. },
  8264. "ermcp.QryBussinessKxRsp": {
  8265. "type": "object",
  8266. "properties": {
  8267. "applyid": {
  8268. "description": "申请人",
  8269. "type": "string"
  8270. },
  8271. "applyname": {
  8272. "description": "申请人名称",
  8273. "type": "string"
  8274. },
  8275. "applystatus": {
  8276. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8277. "type": "integer"
  8278. },
  8279. "applytime": {
  8280. "description": "申请时间",
  8281. "type": "string"
  8282. },
  8283. "attachurl": {
  8284. "description": "附件",
  8285. "type": "string"
  8286. },
  8287. "auditname": {
  8288. "description": "审核人名称",
  8289. "type": "string"
  8290. },
  8291. "audittime": {
  8292. "description": "审核时间",
  8293. "type": "string"
  8294. },
  8295. "buyusername": {
  8296. "description": "采购方名称",
  8297. "type": "string"
  8298. },
  8299. "contractno": {
  8300. "description": "合同编号",
  8301. "type": "string"
  8302. },
  8303. "contractstatus": {
  8304. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8305. "type": "integer"
  8306. },
  8307. "contracttype": {
  8308. "description": "现货合同类型 - 1:采购 -1:销售",
  8309. "type": "integer"
  8310. },
  8311. "deductamount": {
  8312. "description": "退款(非必填)",
  8313. "type": "number"
  8314. },
  8315. "enumdicname": {
  8316. "description": "单位名称",
  8317. "type": "string"
  8318. },
  8319. "goodscode": {
  8320. "description": "点价合约",
  8321. "type": "string"
  8322. },
  8323. "goodsname": {
  8324. "description": "商品名称",
  8325. "type": "string"
  8326. },
  8327. "kxtype": {
  8328. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8329. "type": "integer"
  8330. },
  8331. "operateapplyid": {
  8332. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8333. "type": "string"
  8334. },
  8335. "operateapplytype": {
  8336. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8337. "type": "integer"
  8338. },
  8339. "payamount": {
  8340. "description": "收付款(非必填)",
  8341. "type": "number"
  8342. },
  8343. "pricemove": {
  8344. "description": "升贴水",
  8345. "type": "number"
  8346. },
  8347. "pricetype": {
  8348. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8349. "type": "integer"
  8350. },
  8351. "relatedid": {
  8352. "description": "现货合同ID",
  8353. "type": "string"
  8354. },
  8355. "sellusername": {
  8356. "description": "销售方名字",
  8357. "type": "string"
  8358. },
  8359. "userid": {
  8360. "description": "用户ID",
  8361. "type": "integer"
  8362. }
  8363. }
  8364. },
  8365. "ermcp.QryErmcpRsp": {
  8366. "type": "object",
  8367. "properties": {
  8368. "accountname": {
  8369. "description": "账户名称",
  8370. "type": "string"
  8371. },
  8372. "attachment": {
  8373. "description": "附件",
  8374. "type": "string"
  8375. },
  8376. "audittime": {
  8377. "description": "审核时间",
  8378. "type": "string"
  8379. },
  8380. "contracctstatus": {
  8381. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8382. "type": "integer"
  8383. },
  8384. "contractmargin": {
  8385. "description": "合同保证金",
  8386. "type": "number"
  8387. },
  8388. "contractno": {
  8389. "description": "合同编号",
  8390. "type": "string"
  8391. },
  8392. "contracttype": {
  8393. "description": "合同类型 1-采购, -1-销售",
  8394. "type": "integer"
  8395. },
  8396. "convertfactor": {
  8397. "description": "标仓系数",
  8398. "type": "number"
  8399. },
  8400. "createtime": {
  8401. "description": "创建时间",
  8402. "type": "string"
  8403. },
  8404. "daikaiamount": {
  8405. "description": "待开票额",
  8406. "type": "number"
  8407. },
  8408. "deliveryenddate": {
  8409. "description": "交割结束日",
  8410. "type": "string"
  8411. },
  8412. "deliverygoodscode": {
  8413. "description": "现货商品代码",
  8414. "type": "string"
  8415. },
  8416. "deliverygoodsid": {
  8417. "description": "现货商品ID",
  8418. "type": "integer"
  8419. },
  8420. "deliverygoodsname": {
  8421. "description": "现货商品名称",
  8422. "type": "string"
  8423. },
  8424. "deliverystartdate": {
  8425. "description": "交割开始日",
  8426. "type": "string"
  8427. },
  8428. "enddate": {
  8429. "description": "点价结束日",
  8430. "type": "string"
  8431. },
  8432. "enumdicname": {
  8433. "description": "单位名称",
  8434. "type": "string"
  8435. },
  8436. "goodscode": {
  8437. "description": "点价商品代码",
  8438. "type": "string"
  8439. },
  8440. "goodsid": {
  8441. "description": "点价商品ID",
  8442. "type": "integer"
  8443. },
  8444. "goodsname": {
  8445. "description": "点价商品名称",
  8446. "type": "string"
  8447. },
  8448. "invoiceamount": {
  8449. "description": "已开票额",
  8450. "type": "number"
  8451. },
  8452. "loanamount": {
  8453. "description": "贷款总额=已定价额+调整金额",
  8454. "type": "number"
  8455. },
  8456. "margin": {
  8457. "description": "保证金",
  8458. "type": "number"
  8459. },
  8460. "payamount": {
  8461. "description": "已收付额(收款或付款)",
  8462. "type": "number"
  8463. },
  8464. "price": {
  8465. "description": "价格",
  8466. "type": "number"
  8467. },
  8468. "pricedamount": {
  8469. "description": "已定价额",
  8470. "type": "number"
  8471. },
  8472. "pricedavg": {
  8473. "description": "已点均价",
  8474. "type": "number"
  8475. },
  8476. "pricedqty": {
  8477. "description": "已定价量",
  8478. "type": "number"
  8479. },
  8480. "pricemove": {
  8481. "description": "升贴水",
  8482. "type": "number"
  8483. },
  8484. "pricetype": {
  8485. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8486. "type": "integer"
  8487. },
  8488. "producttype": {
  8489. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8490. "type": "integer"
  8491. },
  8492. "qty": {
  8493. "description": "合同量",
  8494. "type": "number"
  8495. },
  8496. "reckonadjustamount": {
  8497. "description": "调整金额",
  8498. "type": "number"
  8499. },
  8500. "reckonedamount": {
  8501. "description": "已收付额(已确定额)",
  8502. "type": "number"
  8503. },
  8504. "reckonotheramount": {
  8505. "description": "其它费用",
  8506. "type": "number"
  8507. },
  8508. "reckonrealqty": {
  8509. "description": "已确定量",
  8510. "type": "number"
  8511. },
  8512. "remark": {
  8513. "description": "备注",
  8514. "type": "string"
  8515. },
  8516. "spotcontractid": {
  8517. "description": "合同ID",
  8518. "type": "string"
  8519. },
  8520. "spotgoodsdesc": {
  8521. "description": "商品型号(商品规格)",
  8522. "type": "string"
  8523. },
  8524. "startdate": {
  8525. "description": "点价开始日",
  8526. "type": "string"
  8527. },
  8528. "totalamount": {
  8529. "description": "合计总额",
  8530. "type": "number"
  8531. },
  8532. "unpayamount": {
  8533. "description": "待支收额(支付或收款)",
  8534. "type": "number"
  8535. },
  8536. "unpricedqty": {
  8537. "description": "未定价量",
  8538. "type": "number"
  8539. },
  8540. "unsureqty": {
  8541. "description": "未确定量",
  8542. "type": "number"
  8543. },
  8544. "userid": {
  8545. "description": "用户ID",
  8546. "type": "integer"
  8547. }
  8548. }
  8549. },
  8550. "ermcp.QryGGCovertCfgRsp": {
  8551. "type": "object",
  8552. "properties": {
  8553. "convertratio": {
  8554. "description": "折算系数",
  8555. "type": "number"
  8556. },
  8557. "destgoodsgroupid": {
  8558. "description": "目标品种ID",
  8559. "type": "integer"
  8560. },
  8561. "dstcode": {
  8562. "description": "目录品种代码",
  8563. "type": "string"
  8564. },
  8565. "dstexchangecode": {
  8566. "description": "目标期货交易所",
  8567. "type": "string"
  8568. },
  8569. "dstname": {
  8570. "description": "目标品种名称",
  8571. "type": "string"
  8572. },
  8573. "dstunitid": {
  8574. "description": "目标品种单位ID",
  8575. "type": "integer"
  8576. },
  8577. "dstunitidname": {
  8578. "description": "目标品种单位名称",
  8579. "type": "string"
  8580. },
  8581. "srccode": {
  8582. "description": "源品种代码",
  8583. "type": "string"
  8584. },
  8585. "srcexchangecode": {
  8586. "description": "源期货交易所",
  8587. "type": "string"
  8588. },
  8589. "srcgoodsgroupid": {
  8590. "description": "源品种ID",
  8591. "type": "integer"
  8592. },
  8593. "srcname": {
  8594. "description": "源品种名称",
  8595. "type": "string"
  8596. },
  8597. "srcunitid": {
  8598. "description": "源品种单位ID",
  8599. "type": "integer"
  8600. },
  8601. "srcunitidname": {
  8602. "description": "源品种单位名称",
  8603. "type": "string"
  8604. }
  8605. }
  8606. },
  8607. "ermcp.QryHedgePlanRsp": {
  8608. "type": "object",
  8609. "properties": {
  8610. "areauserid": {
  8611. "description": "用户ID",
  8612. "type": "integer"
  8613. },
  8614. "contracttype": {
  8615. "description": "计划类型 - 1:采购 -1:销售",
  8616. "type": "integer"
  8617. },
  8618. "convertfactor": {
  8619. "description": "标仓系数",
  8620. "type": "number"
  8621. },
  8622. "createtime": {
  8623. "description": "创建时间",
  8624. "type": "string"
  8625. },
  8626. "deliverygoodsid": {
  8627. "description": "现货品种ID",
  8628. "type": "integer"
  8629. },
  8630. "deliverygoodsname": {
  8631. "description": "现货品种名称",
  8632. "type": "string"
  8633. },
  8634. "hedgeplanid": {
  8635. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8636. "type": "string"
  8637. },
  8638. "hedgeplanno": {
  8639. "description": "套保计划编号(名称)",
  8640. "type": "string"
  8641. },
  8642. "hedgeplanstatus": {
  8643. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8644. "type": "integer"
  8645. },
  8646. "planqty": {
  8647. "description": "计划数量",
  8648. "type": "number"
  8649. },
  8650. "plantime": {
  8651. "description": "计划时间",
  8652. "type": "string"
  8653. },
  8654. "producttype": {
  8655. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8656. "type": "integer"
  8657. },
  8658. "remark": {
  8659. "description": "备注",
  8660. "type": "string"
  8661. },
  8662. "spotgoodsdesc": {
  8663. "description": "商品型号",
  8664. "type": "string"
  8665. },
  8666. "wrstandardid": {
  8667. "description": "现货商品ID",
  8668. "type": "integer"
  8669. },
  8670. "wrstandardname": {
  8671. "description": "现货商品名称",
  8672. "type": "string"
  8673. }
  8674. }
  8675. },
  8676. "ermcp.QryMGChangeLogRsp": {
  8677. "type": "object",
  8678. "properties": {
  8679. "aftervalue": {
  8680. "description": "变更后",
  8681. "type": "number"
  8682. },
  8683. "applyid": {
  8684. "description": "操作人",
  8685. "type": "integer"
  8686. },
  8687. "applyname": {
  8688. "description": "操作人名称",
  8689. "type": "string"
  8690. },
  8691. "applysrc": {
  8692. "description": "操作来源 - 1:管理端 2:终端",
  8693. "type": "integer"
  8694. },
  8695. "beforevalue": {
  8696. "description": "变更前",
  8697. "type": "number"
  8698. },
  8699. "changelogtype": {
  8700. "description": "变更流水类型 - 1:套保比率变更",
  8701. "type": "integer"
  8702. },
  8703. "handlestatus": {
  8704. "description": "处理状态",
  8705. "type": "integer"
  8706. },
  8707. "logdatetime": {
  8708. "description": "流水日期",
  8709. "type": "string"
  8710. },
  8711. "logid": {
  8712. "description": "流水ID",
  8713. "type": "integer"
  8714. },
  8715. "logremark": {
  8716. "description": "流水备注",
  8717. "type": "string"
  8718. },
  8719. "middlegoodsid": {
  8720. "description": "套保品种ID",
  8721. "type": "integer"
  8722. },
  8723. "tradedate": {
  8724. "description": "交易日(yyyyMMdd)",
  8725. "type": "string"
  8726. },
  8727. "updatetime": {
  8728. "description": "更新时间",
  8729. "type": "string"
  8730. }
  8731. }
  8732. },
  8733. "ermcp.QryMiddleGoodsDetailRsp": {
  8734. "type": "object",
  8735. "properties": {
  8736. "cvList": {
  8737. "description": "期货品种折算列表",
  8738. "type": "array",
  8739. "items": {
  8740. "$ref": "#/definitions/models.GoodsGroupConvert"
  8741. }
  8742. },
  8743. "mg": {
  8744. "description": "套保品种基本信息",
  8745. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8746. }
  8747. }
  8748. },
  8749. "ermcp.QryMiddleGoodsRsp": {
  8750. "type": "object",
  8751. "properties": {
  8752. "areauserid": {
  8753. "description": "机构用户ID",
  8754. "type": "integer"
  8755. },
  8756. "enumdicname": {
  8757. "description": "单位名称",
  8758. "type": "string"
  8759. },
  8760. "evaluateratio": {
  8761. "description": "估价系数",
  8762. "type": "number"
  8763. },
  8764. "goodsgroupid": {
  8765. "description": "关联期货品种ID",
  8766. "type": "integer"
  8767. },
  8768. "isvalid": {
  8769. "description": "状态 0-无效(停用) 1-有效(正常)",
  8770. "type": "integer"
  8771. },
  8772. "middlegoodscode": {
  8773. "description": "套保品种代码",
  8774. "type": "string"
  8775. },
  8776. "middlegoodsid": {
  8777. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8778. "type": "integer"
  8779. },
  8780. "middlegoodsname": {
  8781. "description": "套保品种名称",
  8782. "type": "string"
  8783. },
  8784. "modifytime": {
  8785. "description": "修改时间",
  8786. "type": "string"
  8787. },
  8788. "needhedgeratio": {
  8789. "description": "套保比率",
  8790. "type": "number"
  8791. },
  8792. "qtydecimalplace": {
  8793. "description": "数量小数位",
  8794. "type": "integer"
  8795. },
  8796. "relatedgoodsid": {
  8797. "description": "关联交易商品ID",
  8798. "type": "integer"
  8799. },
  8800. "relatedgoodstype": {
  8801. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8802. "type": "integer"
  8803. }
  8804. }
  8805. },
  8806. "ermcp.QryOPLogRsp": {
  8807. "type": "object",
  8808. "properties": {
  8809. "aftervalue": {
  8810. "description": "变更后",
  8811. "type": "number"
  8812. },
  8813. "applyid": {
  8814. "description": "操作人ID",
  8815. "type": "string"
  8816. },
  8817. "applyname": {
  8818. "description": "操作人名称",
  8819. "type": "string"
  8820. },
  8821. "beforevalue": {
  8822. "description": "变更前",
  8823. "type": "number"
  8824. },
  8825. "biztype": {
  8826. "description": "业务类型 - 1:套保计划 2:现货合同",
  8827. "type": "integer"
  8828. },
  8829. "contracttype": {
  8830. "description": "现货合同类型 - 1:采购 -1:销售",
  8831. "type": "integer"
  8832. },
  8833. "logvalue": {
  8834. "description": "数值",
  8835. "type": "number"
  8836. },
  8837. "operatelogtype": {
  8838. "description": "操作流水类型",
  8839. "type": "integer"
  8840. },
  8841. "operatelogtypedesc": {
  8842. "description": "操作流水类型名称",
  8843. "type": "string"
  8844. },
  8845. "relatedid": {
  8846. "description": "现货合同ID\\套保计划",
  8847. "type": "string"
  8848. },
  8849. "updatetime": {
  8850. "description": "更新时间",
  8851. "type": "string"
  8852. }
  8853. }
  8854. },
  8855. "ermcp.QryReportDaySpotDetailRsp": {
  8856. "type": "object",
  8857. "properties": {
  8858. "applyid": {
  8859. "description": "操作人",
  8860. "type": "integer"
  8861. },
  8862. "applyname": {
  8863. "description": "操作人名称",
  8864. "type": "string"
  8865. },
  8866. "biztype": {
  8867. "description": "业务类型 - 1:套保计划 2:现货合同",
  8868. "type": "integer"
  8869. },
  8870. "contracttype": {
  8871. "description": "现货合同类型 - 1:采购 -1:销售",
  8872. "type": "integer"
  8873. },
  8874. "enumdicName": {
  8875. "description": "单位名称",
  8876. "type": "string"
  8877. },
  8878. "logdatetime": {
  8879. "description": "流水日期(时间)",
  8880. "type": "string"
  8881. },
  8882. "logid": {
  8883. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8884. "type": "string"
  8885. },
  8886. "logtypename": {
  8887. "description": "合同类型(名称)",
  8888. "type": "string"
  8889. },
  8890. "logvalue": {
  8891. "description": "数值",
  8892. "type": "string"
  8893. },
  8894. "operatelogtype": {
  8895. "description": "操作流水类型 -",
  8896. "type": "integer"
  8897. },
  8898. "optypename": {
  8899. "description": "流水类型名称",
  8900. "type": "string"
  8901. },
  8902. "relatedid": {
  8903. "description": "现货合同ID\\套保计划",
  8904. "type": "string"
  8905. },
  8906. "relatedno": {
  8907. "description": "合同编号",
  8908. "type": "string"
  8909. },
  8910. "tradedate": {
  8911. "description": "交易日(yyyyMMdd)",
  8912. "type": "string"
  8913. },
  8914. "userid": {
  8915. "description": "机构ID",
  8916. "type": "integer"
  8917. },
  8918. "wrstandardcode": {
  8919. "description": "现货商品代码",
  8920. "type": "string"
  8921. },
  8922. "wrstandardid": {
  8923. "description": "现货商品ID",
  8924. "type": "integer"
  8925. },
  8926. "wrstandardname": {
  8927. "description": "现货商品名称",
  8928. "type": "string"
  8929. }
  8930. }
  8931. },
  8932. "ermcp.QryReportExposureDayRsp": {
  8933. "type": "object",
  8934. "properties": {
  8935. "areauserid": {
  8936. "description": "所属机构",
  8937. "type": "integer"
  8938. },
  8939. "buyfutureqty": {
  8940. "description": "买入期货数量",
  8941. "type": "number"
  8942. },
  8943. "buyplanqty": {
  8944. "description": "采购计划数量",
  8945. "type": "number"
  8946. },
  8947. "buypricedqty": {
  8948. "description": "采购合同已定价数量",
  8949. "type": "number"
  8950. },
  8951. "diffFutuQty": {
  8952. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8953. "type": "number"
  8954. },
  8955. "diffSpotQty": {
  8956. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8957. "type": "number"
  8958. },
  8959. "enumdicname": {
  8960. "description": "单位名称",
  8961. "type": "string"
  8962. },
  8963. "middlegoodscode": {
  8964. "description": "套保品种代码",
  8965. "type": "string"
  8966. },
  8967. "middlegoodshedgeratio": {
  8968. "description": "应套保比例",
  8969. "type": "number"
  8970. },
  8971. "middlegoodsid": {
  8972. "description": "套保品种ID",
  8973. "type": "integer"
  8974. },
  8975. "middlegoodsname": {
  8976. "description": "套保品种名称",
  8977. "type": "string"
  8978. },
  8979. "needhedgeexposoure": {
  8980. "description": "应套保敞口",
  8981. "type": "number"
  8982. },
  8983. "needhedgeratio": {
  8984. "description": "应套保敞口比例",
  8985. "type": "number"
  8986. },
  8987. "oriTotalFutuQty": {
  8988. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8989. "type": "number"
  8990. },
  8991. "oriTotalSpotQty": {
  8992. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8993. "type": "number"
  8994. },
  8995. "oribuyfutureqty": {
  8996. "description": "期初买入期货数量",
  8997. "type": "number"
  8998. },
  8999. "oribuyplanqty": {
  9000. "description": "期初采购计划数量",
  9001. "type": "number"
  9002. },
  9003. "oribuypricedqty": {
  9004. "description": "期初采购合同已定价数量",
  9005. "type": "number"
  9006. },
  9007. "orisellfutureqty": {
  9008. "description": "期初卖出期货数量",
  9009. "type": "number"
  9010. },
  9011. "orisellplanqty": {
  9012. "description": "期初销售计划数量",
  9013. "type": "number"
  9014. },
  9015. "orisellpricedqty": {
  9016. "description": "期初销售合同已定价数量",
  9017. "type": "number"
  9018. },
  9019. "reckondate": {
  9020. "description": "日照时期(yyyyMMdd)",
  9021. "type": "string"
  9022. },
  9023. "sellfutureqty": {
  9024. "description": "卖出期货数量",
  9025. "type": "number"
  9026. },
  9027. "sellplanqty": {
  9028. "description": "销售计划数量",
  9029. "type": "number"
  9030. },
  9031. "sellpricedqty": {
  9032. "description": "销售合同已定价数量",
  9033. "type": "number"
  9034. },
  9035. "totalexposure": {
  9036. "description": "总敞口",
  9037. "type": "number"
  9038. },
  9039. "totalfutureqty": {
  9040. "description": "期货数量",
  9041. "type": "number"
  9042. },
  9043. "totalhedgeratio": {
  9044. "description": "敞口比例",
  9045. "type": "number"
  9046. },
  9047. "totalneedhedgeqty": {
  9048. "description": "期货应套保量",
  9049. "type": "number"
  9050. },
  9051. "totalspotqty": {
  9052. "description": "现货数量",
  9053. "type": "number"
  9054. }
  9055. }
  9056. },
  9057. "ermcp.QryReportFinanceDayRsp": {
  9058. "type": "object",
  9059. "properties": {
  9060. "areauserid": {
  9061. "description": "所属机构",
  9062. "type": "integer"
  9063. },
  9064. "collectinvoiceamount": {
  9065. "description": "今日开票金额",
  9066. "type": "number"
  9067. },
  9068. "collectinvoicecount": {
  9069. "description": "今日开票笔数",
  9070. "type": "integer"
  9071. },
  9072. "collectmoneyamount": {
  9073. "description": "今日收款金额",
  9074. "type": "number"
  9075. },
  9076. "collectmoneycount": {
  9077. "description": "今日收款笔数",
  9078. "type": "integer"
  9079. },
  9080. "payinvoiceamount": {
  9081. "description": "今日收票金额",
  9082. "type": "number"
  9083. },
  9084. "payinvoicecount": {
  9085. "description": "今日收票笔数",
  9086. "type": "integer"
  9087. },
  9088. "paymoneyamount": {
  9089. "description": "今日付款金额",
  9090. "type": "number"
  9091. },
  9092. "paymoneycount": {
  9093. "description": "今日付款笔数",
  9094. "type": "integer"
  9095. },
  9096. "reckondate": {
  9097. "description": "日照时期(yyyyMMdd)",
  9098. "type": "string"
  9099. },
  9100. "updatetime": {
  9101. "description": "更新时间",
  9102. "type": "string"
  9103. }
  9104. }
  9105. },
  9106. "ermcp.QryReportFinanceKxRsp": {
  9107. "type": "object",
  9108. "properties": {
  9109. "applyid": {
  9110. "description": "操作人",
  9111. "type": "integer"
  9112. },
  9113. "applyname": {
  9114. "description": "操作人名称",
  9115. "type": "string"
  9116. },
  9117. "biztype": {
  9118. "description": "业务类型 - 1:套保计划 2:现货合同",
  9119. "type": "integer"
  9120. },
  9121. "contracttype": {
  9122. "description": "现货合同类型 - 1:采购 -1:销售",
  9123. "type": "integer"
  9124. },
  9125. "enumdicName": {
  9126. "description": "单位名称",
  9127. "type": "string"
  9128. },
  9129. "logdatetime": {
  9130. "description": "流水日期(时间)",
  9131. "type": "string"
  9132. },
  9133. "logid": {
  9134. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9135. "type": "string"
  9136. },
  9137. "logtypename": {
  9138. "description": "合同类型(名称)",
  9139. "type": "string"
  9140. },
  9141. "logvalue": {
  9142. "description": "数值",
  9143. "type": "string"
  9144. },
  9145. "operatelogtype": {
  9146. "description": "操作流水类型 -",
  9147. "type": "integer"
  9148. },
  9149. "optypename": {
  9150. "description": "流水类型名称",
  9151. "type": "string"
  9152. },
  9153. "relatedid": {
  9154. "description": "现货合同ID\\套保计划",
  9155. "type": "string"
  9156. },
  9157. "relatedno": {
  9158. "description": "合同编号",
  9159. "type": "string"
  9160. },
  9161. "tradedate": {
  9162. "description": "交易日(yyyyMMdd)",
  9163. "type": "string"
  9164. },
  9165. "userid": {
  9166. "description": "机构ID",
  9167. "type": "integer"
  9168. },
  9169. "wrstandardcode": {
  9170. "description": "现货商品代码",
  9171. "type": "string"
  9172. },
  9173. "wrstandardid": {
  9174. "description": "现货商品ID",
  9175. "type": "integer"
  9176. },
  9177. "wrstandardname": {
  9178. "description": "现货商品名称",
  9179. "type": "string"
  9180. }
  9181. }
  9182. },
  9183. "ermcp.QryReportFinanceMonRsp": {
  9184. "type": "object",
  9185. "properties": {
  9186. "areauserid": {
  9187. "description": "所属机构【原值】",
  9188. "type": "integer"
  9189. },
  9190. "collectinvoiceamount": {
  9191. "description": "今日开票金额【汇总】",
  9192. "type": "number"
  9193. },
  9194. "collectinvoicecount": {
  9195. "description": "今日开票笔数【汇总】",
  9196. "type": "integer"
  9197. },
  9198. "collectmoneyamount": {
  9199. "description": "今日收款金额【汇总】",
  9200. "type": "number"
  9201. },
  9202. "collectmoneycount": {
  9203. "description": "今日收款笔数 【汇总】",
  9204. "type": "integer"
  9205. },
  9206. "cycletime": {
  9207. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9208. "type": "string"
  9209. },
  9210. "cycletype": {
  9211. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9212. "type": "integer"
  9213. },
  9214. "dayFr": {
  9215. "description": "日报表明细",
  9216. "type": "array",
  9217. "items": {
  9218. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9219. }
  9220. },
  9221. "payinvoiceamount": {
  9222. "description": "今日收票金额【汇总】",
  9223. "type": "number"
  9224. },
  9225. "payinvoicecount": {
  9226. "description": "今日收票笔数【汇总】",
  9227. "type": "integer"
  9228. },
  9229. "paymoneyamount": {
  9230. "description": "今日付款金额【汇总】",
  9231. "type": "number"
  9232. },
  9233. "paymoneycount": {
  9234. "description": "今日付款笔数【汇总】",
  9235. "type": "integer"
  9236. },
  9237. "updatetime": {
  9238. "description": "更新时间",
  9239. "type": "string"
  9240. }
  9241. }
  9242. },
  9243. "ermcp.QryReportSpotDayRsp": {
  9244. "type": "object",
  9245. "properties": {
  9246. "areauserid": {
  9247. "description": "所属机构T",
  9248. "type": "integer"
  9249. },
  9250. "enumdicname": {
  9251. "description": "现货商品单位名称",
  9252. "type": "string"
  9253. },
  9254. "reckondate": {
  9255. "description": "日照时期(yyyyMMdd)",
  9256. "type": "string"
  9257. },
  9258. "todaybuyreckonqty": {
  9259. "description": "采购确定量",
  9260. "type": "number"
  9261. },
  9262. "todaysellreckonqty": {
  9263. "description": "销售确定量",
  9264. "type": "number"
  9265. },
  9266. "totalbuypricedqty": {
  9267. "description": "采购定价量 = 期末 - 期初",
  9268. "type": "number"
  9269. },
  9270. "totalsellpricedqty": {
  9271. "description": "销售定价量 = 期末 - 期初",
  9272. "type": "number"
  9273. },
  9274. "wrstandardcode": {
  9275. "description": "现货商品代码",
  9276. "type": "string"
  9277. },
  9278. "wrstandardid": {
  9279. "description": "现货商品ID",
  9280. "type": "integer"
  9281. },
  9282. "wrstandardname": {
  9283. "description": "现货商品名称",
  9284. "type": "string"
  9285. }
  9286. }
  9287. },
  9288. "ermcp.QryReportSpotMonRsp": {
  9289. "type": "object",
  9290. "properties": {
  9291. "areauserid": {
  9292. "description": "所属机构T",
  9293. "type": "integer"
  9294. },
  9295. "cycletime": {
  9296. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9297. "type": "string"
  9298. },
  9299. "cycletype": {
  9300. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9301. "type": "integer"
  9302. },
  9303. "enumdicname": {
  9304. "description": "现货商品单位名称",
  9305. "type": "string"
  9306. },
  9307. "todaybuyreckonqty": {
  9308. "description": "采购确定量",
  9309. "type": "number"
  9310. },
  9311. "todaysellreckonqty": {
  9312. "description": "销售确定量",
  9313. "type": "number"
  9314. },
  9315. "totalbuypricedqty": {
  9316. "description": "采购定价量 = 期末 - 期初",
  9317. "type": "number"
  9318. },
  9319. "totalsellpricedqty": {
  9320. "description": "销售定价量 = 期末 - 期初",
  9321. "type": "number"
  9322. },
  9323. "wrstandardcode": {
  9324. "description": "现货商品代码",
  9325. "type": "string"
  9326. },
  9327. "wrstandardid": {
  9328. "description": "现货商品ID",
  9329. "type": "integer"
  9330. },
  9331. "wrstandardname": {
  9332. "description": "现货商品名称",
  9333. "type": "string"
  9334. }
  9335. }
  9336. },
  9337. "ermcp.QryReportSpotMonthDetailRsp": {
  9338. "type": "object",
  9339. "properties": {
  9340. "areauserid": {
  9341. "description": "所属机构T",
  9342. "type": "integer"
  9343. },
  9344. "enumdicname": {
  9345. "description": "现货商品单位名称",
  9346. "type": "string"
  9347. },
  9348. "reckondate": {
  9349. "description": "日照时期(yyyyMMdd)",
  9350. "type": "string"
  9351. },
  9352. "todaybuyreckonqty": {
  9353. "description": "采购确定量",
  9354. "type": "number"
  9355. },
  9356. "todaysellreckonqty": {
  9357. "description": "销售确定量",
  9358. "type": "number"
  9359. },
  9360. "totalbuypricedqty": {
  9361. "description": "采购定价量 = 期末 - 期初",
  9362. "type": "number"
  9363. },
  9364. "totalsellpricedqty": {
  9365. "description": "销售定价量 = 期末 - 期初",
  9366. "type": "number"
  9367. },
  9368. "wrstandardcode": {
  9369. "description": "现货商品代码",
  9370. "type": "string"
  9371. },
  9372. "wrstandardid": {
  9373. "description": "现货商品ID",
  9374. "type": "integer"
  9375. },
  9376. "wrstandardname": {
  9377. "description": "现货商品名称",
  9378. "type": "string"
  9379. }
  9380. }
  9381. },
  9382. "ermcp.QrySpotContractRsp": {
  9383. "type": "object",
  9384. "properties": {
  9385. "amount": {
  9386. "description": "金额 [1:一口价、3:暂定价]",
  9387. "type": "number"
  9388. },
  9389. "attachment": {
  9390. "description": "附件",
  9391. "type": "string"
  9392. },
  9393. "auditremark": {
  9394. "description": "审核意见",
  9395. "type": "string"
  9396. },
  9397. "audittime": {
  9398. "description": "审核时间",
  9399. "type": "string"
  9400. },
  9401. "brandname": {
  9402. "description": "品牌名称",
  9403. "type": "string"
  9404. },
  9405. "buyuserid": {
  9406. "description": "采购方ID",
  9407. "type": "integer"
  9408. },
  9409. "buyusername": {
  9410. "description": "采购方名称",
  9411. "type": "string"
  9412. },
  9413. "contracctstatus": {
  9414. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9415. "type": "integer"
  9416. },
  9417. "contractmargin": {
  9418. "description": "合同保证金",
  9419. "type": "number"
  9420. },
  9421. "contractno": {
  9422. "description": "现货合同编号",
  9423. "type": "string"
  9424. },
  9425. "contracttype": {
  9426. "description": "现货合同类型 - 1:采购 -1:销售",
  9427. "type": "integer"
  9428. },
  9429. "convertfactor": {
  9430. "description": "标仓系数",
  9431. "type": "number"
  9432. },
  9433. "createtime": {
  9434. "description": "创建时间",
  9435. "type": "string"
  9436. },
  9437. "deliveryenddate": {
  9438. "description": "交收期(结束)",
  9439. "type": "string"
  9440. },
  9441. "deliverygoodscode": {
  9442. "description": "现货品种代码",
  9443. "type": "string"
  9444. },
  9445. "deliverygoodsid": {
  9446. "description": "现货品种ID",
  9447. "type": "integer"
  9448. },
  9449. "deliverygoodsname": {
  9450. "description": "现货品种名称",
  9451. "type": "string"
  9452. },
  9453. "deliverystartdate": {
  9454. "description": "交收期(开始)",
  9455. "type": "string"
  9456. },
  9457. "enddate": {
  9458. "description": "点价结束日期 [2:点价 3:暂定价]",
  9459. "type": "string"
  9460. },
  9461. "enumdicname": {
  9462. "description": "单位名称",
  9463. "type": "string"
  9464. },
  9465. "goodscode": {
  9466. "description": "点价合约代码",
  9467. "type": "string"
  9468. },
  9469. "goodsid": {
  9470. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9471. "type": "integer"
  9472. },
  9473. "goodsname": {
  9474. "description": "点价商品名称",
  9475. "type": "string"
  9476. },
  9477. "margin": {
  9478. "description": "当前保证金",
  9479. "type": "number"
  9480. },
  9481. "modelname": {
  9482. "description": "型号名称",
  9483. "type": "string"
  9484. },
  9485. "price": {
  9486. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9487. "type": "number"
  9488. },
  9489. "pricemove": {
  9490. "description": "升贴水 [2:点价 3:暂定价]",
  9491. "type": "number"
  9492. },
  9493. "pricetype": {
  9494. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9495. "type": "integer"
  9496. },
  9497. "producttype": {
  9498. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9499. "type": "integer"
  9500. },
  9501. "qty": {
  9502. "description": "数量",
  9503. "type": "number"
  9504. },
  9505. "remark": {
  9506. "description": "备注",
  9507. "type": "string"
  9508. },
  9509. "selluserid": {
  9510. "description": "销售方ID",
  9511. "type": "integer"
  9512. },
  9513. "sellusername": {
  9514. "description": "销售方名称",
  9515. "type": "string"
  9516. },
  9517. "spotcontractid": {
  9518. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9519. "type": "string"
  9520. },
  9521. "spotgoodsbrandid": {
  9522. "description": "现货品牌ID",
  9523. "type": "integer"
  9524. },
  9525. "spotgoodsdesc": {
  9526. "description": "商品型号",
  9527. "type": "string"
  9528. },
  9529. "spotgoodsmodelid": {
  9530. "description": "现货型号ID",
  9531. "type": "integer"
  9532. },
  9533. "startdate": {
  9534. "description": "点价开始日期 [2:点价 3:暂定价]",
  9535. "type": "string"
  9536. },
  9537. "userid": {
  9538. "description": "机构ID",
  9539. "type": "integer"
  9540. },
  9541. "wrstandardid": {
  9542. "description": "现货商品ID",
  9543. "type": "integer"
  9544. }
  9545. }
  9546. },
  9547. "ermcp.QryUserInfoRsp": {
  9548. "type": "object",
  9549. "properties": {
  9550. "address": {
  9551. "description": "通讯地址",
  9552. "type": "string"
  9553. },
  9554. "attachment1": {
  9555. "description": "附件1",
  9556. "type": "string"
  9557. },
  9558. "cardfrontphotourl": {
  9559. "description": "证件正面图片地址",
  9560. "type": "string"
  9561. },
  9562. "cardnum": {
  9563. "description": "证件号码",
  9564. "type": "string"
  9565. },
  9566. "cardtype": {
  9567. "description": "证件类型",
  9568. "type": "integer"
  9569. },
  9570. "cardtypename": {
  9571. "description": "证件类型名称",
  9572. "type": "string"
  9573. },
  9574. "cityid": {
  9575. "description": "市",
  9576. "type": "integer"
  9577. },
  9578. "countryid": {
  9579. "description": "国家",
  9580. "type": "integer"
  9581. },
  9582. "createtime": {
  9583. "description": "创建时间",
  9584. "type": "string"
  9585. },
  9586. "customername": {
  9587. "description": "企业名称",
  9588. "type": "string"
  9589. },
  9590. "memberuserid": {
  9591. "description": "所属机构ID",
  9592. "type": "integer"
  9593. },
  9594. "mobile": {
  9595. "description": "手机号码",
  9596. "type": "string"
  9597. },
  9598. "provinceid": {
  9599. "description": "省",
  9600. "type": "integer"
  9601. },
  9602. "remark": {
  9603. "description": "备注",
  9604. "type": "string"
  9605. },
  9606. "status": {
  9607. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9608. "type": "integer"
  9609. },
  9610. "statusdesc": {
  9611. "description": "账户状态中文描述",
  9612. "type": "string"
  9613. },
  9614. "telphone": {
  9615. "description": "联系电话",
  9616. "type": "string"
  9617. },
  9618. "userid": {
  9619. "description": "用户ID",
  9620. "type": "integer"
  9621. },
  9622. "userinfotype": {
  9623. "description": "客户类型",
  9624. "type": "string"
  9625. }
  9626. }
  9627. },
  9628. "ermcp.QryWrStandardDetailRsp": {
  9629. "type": "object",
  9630. "properties": {
  9631. "gbList": {
  9632. "description": "品牌列表",
  9633. "type": "array",
  9634. "items": {
  9635. "$ref": "#/definitions/models.GoodsBrand"
  9636. }
  9637. },
  9638. "gtList": {
  9639. "description": "型号列表",
  9640. "type": "array",
  9641. "items": {
  9642. "$ref": "#/definitions/models.GoodsTypeModel"
  9643. }
  9644. },
  9645. "wrd": {
  9646. "description": "基本信息",
  9647. "$ref": "#/definitions/models.ErmcpWrstandard"
  9648. },
  9649. "wrsList": {
  9650. "description": "套保信息列表",
  9651. "type": "array",
  9652. "items": {
  9653. "$ref": "#/definitions/models.WRSConverTDetail"
  9654. }
  9655. }
  9656. }
  9657. },
  9658. "ermcp.QryWrStandardRsp": {
  9659. "type": "object",
  9660. "properties": {
  9661. "areauserid": {
  9662. "description": "所属机构",
  9663. "type": "integer"
  9664. },
  9665. "createtime": {
  9666. "description": "创建时间",
  9667. "type": "string"
  9668. },
  9669. "creatorid": {
  9670. "description": "创建人",
  9671. "type": "integer"
  9672. },
  9673. "deliverygoodsid": {
  9674. "description": "品种ID",
  9675. "type": "integer"
  9676. },
  9677. "enumdicname": {
  9678. "description": "单位名称",
  9679. "type": "string"
  9680. },
  9681. "isvalid": {
  9682. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9683. "type": "integer"
  9684. },
  9685. "minivalue": {
  9686. "description": "最小变动值",
  9687. "type": "integer"
  9688. },
  9689. "minivaluedp": {
  9690. "description": "最小变动值小数位",
  9691. "type": "integer"
  9692. },
  9693. "realminivalue": {
  9694. "description": "实际最小变动值",
  9695. "type": "integer"
  9696. },
  9697. "realminivaluedp": {
  9698. "description": "实际最小变动值小数位",
  9699. "type": "integer"
  9700. },
  9701. "remark": {
  9702. "description": "备注",
  9703. "type": "string"
  9704. },
  9705. "unitid": {
  9706. "description": "单位ID",
  9707. "type": "integer"
  9708. },
  9709. "updatetime": {
  9710. "description": "更新时间",
  9711. "type": "string"
  9712. },
  9713. "wrstandardcode": {
  9714. "description": "现货商品代码",
  9715. "type": "string"
  9716. },
  9717. "wrstandardid": {
  9718. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9719. "type": "integer"
  9720. },
  9721. "wrstandardname": {
  9722. "description": "现货商品名称",
  9723. "type": "string"
  9724. }
  9725. }
  9726. },
  9727. "ermcp.QueryErmcpTradePositionRsp": {
  9728. "type": "object",
  9729. "properties": {
  9730. "agreeunit": {
  9731. "description": "合约单位",
  9732. "type": "number"
  9733. },
  9734. "buyorsell": {
  9735. "description": "方向 - 0:买 1:卖",
  9736. "type": "integer"
  9737. },
  9738. "curpositionqty": {
  9739. "description": "持仓(总仓数量, 期末头寸)",
  9740. "type": "integer"
  9741. },
  9742. "curtdposition": {
  9743. "description": "今仓数量(期末今日头寸)",
  9744. "type": "integer"
  9745. },
  9746. "curtdpositionenabled": {
  9747. "description": "今仓可用",
  9748. "type": "integer"
  9749. },
  9750. "decimalplace": {
  9751. "description": "报价小数位",
  9752. "type": "integer"
  9753. },
  9754. "enableqty": {
  9755. "description": "可用(总仓可用)",
  9756. "type": "integer"
  9757. },
  9758. "exexchangename": {
  9759. "description": "外部交易所名称",
  9760. "type": "string"
  9761. },
  9762. "goodscode": {
  9763. "description": "商品代码(内部)",
  9764. "type": "string"
  9765. },
  9766. "goodsid": {
  9767. "description": "商品ID(自增ID SEQ_GOODS)",
  9768. "type": "integer"
  9769. },
  9770. "goodsname": {
  9771. "description": "商品名称",
  9772. "type": "string"
  9773. },
  9774. "last": {
  9775. "description": "现价",
  9776. "type": "number"
  9777. },
  9778. "marketid": {
  9779. "description": "所属市场ID",
  9780. "type": "integer"
  9781. },
  9782. "openaverageprice": {
  9783. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9784. "type": "number"
  9785. },
  9786. "opencost": {
  9787. "description": "开仓成本",
  9788. "type": "number"
  9789. },
  9790. "openpl": {
  9791. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9792. "type": "number"
  9793. },
  9794. "outgoodscode": {
  9795. "description": "商品代码(外部)",
  9796. "type": "string"
  9797. },
  9798. "positionaverageprice": {
  9799. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9800. "type": "number"
  9801. },
  9802. "positioncost": {
  9803. "description": "持仓成本",
  9804. "type": "number"
  9805. },
  9806. "positionpl": {
  9807. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9808. "type": "number"
  9809. },
  9810. "positionplrate": {
  9811. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9812. "type": "number"
  9813. },
  9814. "usedmargin": {
  9815. "description": "占用保证金",
  9816. "type": "number"
  9817. }
  9818. }
  9819. },
  9820. "ermcp.RealtimeExposurePositionRsp": {
  9821. "type": "object",
  9822. "properties": {
  9823. "agreeunit": {
  9824. "description": "合约单位",
  9825. "type": "string"
  9826. },
  9827. "areauserid": {
  9828. "description": "所属机构id",
  9829. "type": "integer"
  9830. },
  9831. "convertratio": {
  9832. "description": "期货品种系数(折算系数)",
  9833. "type": "number"
  9834. },
  9835. "curqty": {
  9836. "description": "当前持仓",
  9837. "type": "integer"
  9838. },
  9839. "diffhedgeqty": {
  9840. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9841. "type": "number"
  9842. },
  9843. "diffqty": {
  9844. "description": "持仓变动量=当前持仓-昨日持仓",
  9845. "type": "integer"
  9846. },
  9847. "goodscode": {
  9848. "description": "商品代码",
  9849. "type": "string"
  9850. },
  9851. "goodsid": {
  9852. "description": "商品id",
  9853. "type": "integer"
  9854. },
  9855. "goodsname": {
  9856. "description": "商品名称",
  9857. "type": "string"
  9858. },
  9859. "middlegoodsid": {
  9860. "description": "套保商品id",
  9861. "type": "integer"
  9862. },
  9863. "ydqty": {
  9864. "description": "昨日持仓",
  9865. "type": "integer"
  9866. }
  9867. }
  9868. },
  9869. "ermcp.RealtimeExposureRsp": {
  9870. "type": "object",
  9871. "properties": {
  9872. "areaUserID": {
  9873. "description": "所属机构",
  9874. "type": "integer"
  9875. },
  9876. "buyFutureQty": {
  9877. "description": "买入期货数量",
  9878. "type": "number"
  9879. },
  9880. "buyPlanQty": {
  9881. "description": "采购计划数量",
  9882. "type": "number"
  9883. },
  9884. "buyPricedQty": {
  9885. "description": "采购合同已定价数量",
  9886. "type": "number"
  9887. },
  9888. "diffFutuQty": {
  9889. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9890. "type": "number"
  9891. },
  9892. "diffSpotQty": {
  9893. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9894. "type": "number"
  9895. },
  9896. "enumdicname": {
  9897. "description": "单位名称",
  9898. "type": "string"
  9899. },
  9900. "middleGoodsCode": {
  9901. "description": "套保品种代码",
  9902. "type": "string"
  9903. },
  9904. "middleGoodsHedgeRatio": {
  9905. "description": "应套保比例",
  9906. "type": "number"
  9907. },
  9908. "middleGoodsID": {
  9909. "description": "套保品种",
  9910. "type": "integer"
  9911. },
  9912. "middleGoodsName": {
  9913. "description": "套保品种名称",
  9914. "type": "string"
  9915. },
  9916. "needHedgeExposoure": {
  9917. "description": "应套保敞口",
  9918. "type": "number"
  9919. },
  9920. "needHedgeRatio": {
  9921. "description": "应套保敞口比例",
  9922. "type": "number"
  9923. },
  9924. "oriBuyFutureQty": {
  9925. "description": "期初买入期货数量",
  9926. "type": "number"
  9927. },
  9928. "oriBuyPlanQty": {
  9929. "description": "期初采购计划数量",
  9930. "type": "number"
  9931. },
  9932. "oriBuyPricedQty": {
  9933. "description": "期初采购合同已定价数量",
  9934. "type": "number"
  9935. },
  9936. "oriSellFutureQty": {
  9937. "description": "期初卖出期货数量",
  9938. "type": "number"
  9939. },
  9940. "oriSellPlanQty": {
  9941. "description": "期初销售计划数量",
  9942. "type": "number"
  9943. },
  9944. "oriSellPricedQty": {
  9945. "description": "期初销售合同已定价数量",
  9946. "type": "number"
  9947. },
  9948. "oriTotalFutuQty": {
  9949. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9950. "type": "number"
  9951. },
  9952. "oriTotalSpotQty": {
  9953. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9954. "type": "number"
  9955. },
  9956. "sellFutureQty": {
  9957. "description": "卖出期货数量",
  9958. "type": "number"
  9959. },
  9960. "sellPlanQty": {
  9961. "description": "销售计划数量",
  9962. "type": "number"
  9963. },
  9964. "sellPricedQty": {
  9965. "description": "销售合同已定价数量",
  9966. "type": "number"
  9967. },
  9968. "totalExposure": {
  9969. "description": "总敞口",
  9970. "type": "number"
  9971. },
  9972. "totalFutureQty": {
  9973. "description": "期货数量",
  9974. "type": "number"
  9975. },
  9976. "totalHedgeRatio": {
  9977. "description": "敞口比例",
  9978. "type": "number"
  9979. },
  9980. "totalNeedHedgeQty": {
  9981. "description": "期货应套保量",
  9982. "type": "number"
  9983. },
  9984. "totalSpotQty": {
  9985. "description": "现货数量",
  9986. "type": "number"
  9987. }
  9988. }
  9989. },
  9990. "erms2.QueryArbitrageStrategyRsp": {
  9991. "type": "object",
  9992. "required": [
  9993. "asapplyid"
  9994. ],
  9995. "properties": {
  9996. "applybasis": {
  9997. "description": "申请基差",
  9998. "type": "number"
  9999. },
  10000. "asapplyid": {
  10001. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10002. "type": "string"
  10003. },
  10004. "asname": {
  10005. "description": "策略名称",
  10006. "type": "string"
  10007. },
  10008. "asno": {
  10009. "description": "策略编号",
  10010. "type": "string"
  10011. },
  10012. "basischangepl": {
  10013. "description": "基差变动损益[结算更新]",
  10014. "type": "number"
  10015. },
  10016. "biztype": {
  10017. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10018. "type": "integer"
  10019. },
  10020. "closetradedate": {
  10021. "description": "完结交易日(yyyyMMdd)",
  10022. "type": "string"
  10023. },
  10024. "curbasis": {
  10025. "description": "当前基差[结算更新]",
  10026. "type": "number"
  10027. },
  10028. "deliverygoodsid": {
  10029. "description": "现货品种ID",
  10030. "type": "integer"
  10031. },
  10032. "futureavgprice": {
  10033. "description": "期货建仓均价",
  10034. "type": "number"
  10035. },
  10036. "futurecloseamount": {
  10037. "description": "期货平仓金额",
  10038. "type": "number"
  10039. },
  10040. "futurecloseqty": {
  10041. "description": "期货平仓数量",
  10042. "type": "number"
  10043. },
  10044. "futureopenamount": {
  10045. "description": "期货开仓金额",
  10046. "type": "number"
  10047. },
  10048. "futureopenqty": {
  10049. "description": "期货开仓数量",
  10050. "type": "number"
  10051. },
  10052. "futurepl": {
  10053. "description": "期货总盈亏[结算更新]",
  10054. "type": "number"
  10055. },
  10056. "futureqty": {
  10057. "description": "期货持仓数量",
  10058. "type": "number"
  10059. },
  10060. "futurequote": {
  10061. "description": "期货额度",
  10062. "type": "number"
  10063. },
  10064. "goodsgroupid": {
  10065. "description": "期货品种ID",
  10066. "type": "integer"
  10067. },
  10068. "marketid": {
  10069. "description": "市场ID",
  10070. "type": "integer"
  10071. },
  10072. "netexposure": {
  10073. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10074. "type": "number"
  10075. },
  10076. "netexposurepl": {
  10077. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10078. "type": "number"
  10079. },
  10080. "netexposurerate": {
  10081. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10082. "type": "number"
  10083. },
  10084. "openbasis": {
  10085. "description": "建仓基差",
  10086. "type": "number"
  10087. },
  10088. "pricedspotqty": {
  10089. "description": "已定价现货数量",
  10090. "type": "number"
  10091. },
  10092. "pricedspotqtynotax": {
  10093. "description": "已定价现货不含税数量",
  10094. "type": "number"
  10095. },
  10096. "remark": {
  10097. "description": "备注",
  10098. "type": "string"
  10099. },
  10100. "spotavgprice": {
  10101. "description": "现货均价",
  10102. "type": "number"
  10103. },
  10104. "spotbuyamount": {
  10105. "description": "现货采购金额",
  10106. "type": "number"
  10107. },
  10108. "spotbuyqty": {
  10109. "description": "现货采购数量",
  10110. "type": "number"
  10111. },
  10112. "spotpl": {
  10113. "description": "现货总盈亏[结算更新]",
  10114. "type": "number"
  10115. },
  10116. "spotquota": {
  10117. "description": "现货额度",
  10118. "type": "number"
  10119. },
  10120. "spotsellamount": {
  10121. "description": "现货销售金额",
  10122. "type": "number"
  10123. },
  10124. "spotsellqty": {
  10125. "description": "现货销售数量",
  10126. "type": "number"
  10127. },
  10128. "spotusedquota": {
  10129. "description": "现货占用资金",
  10130. "type": "number"
  10131. },
  10132. "strategystatus": {
  10133. "description": "策略状态 - 0:未结束 1:已结束",
  10134. "type": "integer"
  10135. },
  10136. "totalpl": {
  10137. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10138. "type": "number"
  10139. },
  10140. "tradedate": {
  10141. "description": "交易日(yyyyMMdd)",
  10142. "type": "string"
  10143. },
  10144. "updatetime": {
  10145. "description": "更新时间",
  10146. "type": "string"
  10147. },
  10148. "usedquota": {
  10149. "description": "已占用资金",
  10150. "type": "number"
  10151. },
  10152. "userid": {
  10153. "description": "所属机构",
  10154. "type": "integer"
  10155. }
  10156. }
  10157. },
  10158. "erms2.QueryInnerTradeDetailRsp": {
  10159. "type": "object",
  10160. "required": [
  10161. "asapplyid",
  10162. "buyorsell",
  10163. "goodscode",
  10164. "goodsgroupid",
  10165. "goodsgroupname",
  10166. "goodsname",
  10167. "tradeid"
  10168. ],
  10169. "properties": {
  10170. "accountid": {
  10171. "description": "账号ID",
  10172. "type": "integer"
  10173. },
  10174. "agreeunit": {
  10175. "description": "合约单位",
  10176. "type": "number"
  10177. },
  10178. "asapplyid": {
  10179. "description": "策略申请ID",
  10180. "type": "integer"
  10181. },
  10182. "asname": {
  10183. "description": "策略名称",
  10184. "type": "string"
  10185. },
  10186. "asno": {
  10187. "description": "策略编号",
  10188. "type": "string"
  10189. },
  10190. "buyorsell": {
  10191. "description": "方向 - 0:买 1:卖",
  10192. "type": "integer"
  10193. },
  10194. "channelbuildtype": {
  10195. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10196. "type": "integer"
  10197. },
  10198. "closetype": {
  10199. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10200. "type": "integer"
  10201. },
  10202. "decimalplace": {
  10203. "description": "报价小数位",
  10204. "type": "integer"
  10205. },
  10206. "detailtype": {
  10207. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10208. "type": "integer"
  10209. },
  10210. "exexchangecode": {
  10211. "description": "外部交易所代码",
  10212. "type": "string"
  10213. },
  10214. "exexchangename": {
  10215. "description": "外部交易所名称",
  10216. "type": "string"
  10217. },
  10218. "goodscode": {
  10219. "description": "商品代码(合约)",
  10220. "type": "string"
  10221. },
  10222. "goodsgroupid": {
  10223. "description": "商品组ID(品种ID)",
  10224. "type": "integer"
  10225. },
  10226. "goodsgroupname": {
  10227. "description": "商品组名称(品种)",
  10228. "type": "string"
  10229. },
  10230. "goodsid": {
  10231. "description": "商品ID",
  10232. "type": "integer"
  10233. },
  10234. "goodsname": {
  10235. "description": "商品名称(合约)",
  10236. "type": "string"
  10237. },
  10238. "goodunit": {
  10239. "description": "报价单位",
  10240. "type": "string"
  10241. },
  10242. "marketid": {
  10243. "description": "市场ID",
  10244. "type": "integer"
  10245. },
  10246. "orderid": {
  10247. "description": "委托单号",
  10248. "type": "string"
  10249. },
  10250. "outgoodscode": {
  10251. "description": "商品代码(外部)",
  10252. "type": "string"
  10253. },
  10254. "relatedouttradeid": {
  10255. "description": "关联外部成交单ID",
  10256. "type": "string"
  10257. },
  10258. "remark": {
  10259. "description": "备注",
  10260. "type": "string"
  10261. },
  10262. "spotcontractid": {
  10263. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10264. "type": "integer"
  10265. },
  10266. "spotcontractno": {
  10267. "description": "现货合同编号",
  10268. "type": "string"
  10269. },
  10270. "tradeid": {
  10271. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10272. "type": "string"
  10273. },
  10274. "tradeprice": {
  10275. "description": "成交价格",
  10276. "type": "number"
  10277. },
  10278. "tradeqty": {
  10279. "description": "成交数量",
  10280. "type": "integer"
  10281. },
  10282. "tradetime": {
  10283. "description": "成交时间",
  10284. "type": "string"
  10285. },
  10286. "updatetime": {
  10287. "description": "更新时间",
  10288. "type": "string"
  10289. }
  10290. }
  10291. },
  10292. "erms2.QuerySpotContractRsp": {
  10293. "type": "object",
  10294. "required": [
  10295. "spotcontractid"
  10296. ],
  10297. "properties": {
  10298. "accountid": {
  10299. "description": "资金账户ID",
  10300. "type": "integer"
  10301. },
  10302. "areauserid": {
  10303. "description": "所属机构",
  10304. "type": "integer"
  10305. },
  10306. "closedate": {
  10307. "description": "终止日期",
  10308. "type": "string"
  10309. },
  10310. "closeremark": {
  10311. "description": "结束备注",
  10312. "type": "string"
  10313. },
  10314. "closetradedate": {
  10315. "description": "完结交易日(yyyyMMdd)",
  10316. "type": "string"
  10317. },
  10318. "closetype": {
  10319. "description": "终止类型 - 1:违约 2:提前终止",
  10320. "type": "integer"
  10321. },
  10322. "contractamount": {
  10323. "description": "合同金额",
  10324. "type": "number"
  10325. },
  10326. "contractattachment": {
  10327. "description": "合同附件",
  10328. "type": "string"
  10329. },
  10330. "contractno": {
  10331. "description": "现货合同编号",
  10332. "type": "string"
  10333. },
  10334. "contractqty": {
  10335. "description": "合同数量(数值) (用于计算)",
  10336. "type": "number"
  10337. },
  10338. "contractqtychar": {
  10339. "description": "合同数量\\已订价数量 (用于显示)",
  10340. "type": "string"
  10341. },
  10342. "contractstatus": {
  10343. "description": "合同状态 - 0:未结束 1:已结束",
  10344. "type": "integer"
  10345. },
  10346. "contracttype": {
  10347. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10348. "type": "integer"
  10349. },
  10350. "customeraccountid": {
  10351. "description": "客户资金账户ID",
  10352. "type": "integer"
  10353. },
  10354. "customeruserid": {
  10355. "description": "客户ID",
  10356. "type": "integer"
  10357. },
  10358. "deliverygoodsdesc": {
  10359. "description": "品种说明",
  10360. "type": "string"
  10361. },
  10362. "deliverygoodsid": {
  10363. "description": "现货品种ID",
  10364. "type": "integer"
  10365. },
  10366. "handlestatus": {
  10367. "description": "处理状态",
  10368. "type": "integer"
  10369. },
  10370. "invoiceatt": {
  10371. "description": "发票附件",
  10372. "type": "string"
  10373. },
  10374. "invoicedatetime": {
  10375. "description": "开收票更新时间",
  10376. "type": "string"
  10377. },
  10378. "invoiceopentime": {
  10379. "description": "开票时间",
  10380. "type": "string"
  10381. },
  10382. "invoiceremark": {
  10383. "description": "发票备注",
  10384. "type": "string"
  10385. },
  10386. "invoicestatus": {
  10387. "description": "开收票状态 - 0:未开票 1:已开票",
  10388. "type": "integer"
  10389. },
  10390. "lastdate": {
  10391. "description": "交货时间",
  10392. "type": "string"
  10393. },
  10394. "marketid": {
  10395. "description": "市场ID",
  10396. "type": "integer"
  10397. },
  10398. "paydatetime": {
  10399. "description": "收付款更新时间",
  10400. "type": "string"
  10401. },
  10402. "payremark": {
  10403. "description": "收付款备注",
  10404. "type": "string"
  10405. },
  10406. "paystatus": {
  10407. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10408. "type": "integer"
  10409. },
  10410. "positionqty": {
  10411. "description": "头寸数量 - 合同数量去小数部分",
  10412. "type": "integer"
  10413. },
  10414. "producttype": {
  10415. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10416. "type": "integer"
  10417. },
  10418. "relatedqty": {
  10419. "description": "已关联数量",
  10420. "type": "number"
  10421. },
  10422. "relatedstatus": {
  10423. "description": "关联完结状态 - 0:未结束 1:已结束",
  10424. "type": "integer"
  10425. },
  10426. "remark": {
  10427. "description": "备注",
  10428. "type": "string"
  10429. },
  10430. "signdate": {
  10431. "description": "签订日期",
  10432. "type": "string"
  10433. },
  10434. "spotcontractid": {
  10435. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10436. "type": "string"
  10437. },
  10438. "spotdatetime": {
  10439. "description": "收发货更新时间",
  10440. "type": "string"
  10441. },
  10442. "spotprice": {
  10443. "description": "价格",
  10444. "type": "number"
  10445. },
  10446. "spotremark": {
  10447. "description": "收发货备注",
  10448. "type": "string"
  10449. },
  10450. "spotstatus": {
  10451. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10452. "type": "integer"
  10453. },
  10454. "tradedate": {
  10455. "description": "交易日(yyyyMMdd)",
  10456. "type": "string"
  10457. },
  10458. "userid": {
  10459. "description": "业务员用户ID",
  10460. "type": "integer"
  10461. },
  10462. "warehouseid": {
  10463. "description": "仓库ID",
  10464. "type": "integer"
  10465. },
  10466. "wrfactortypeid": {
  10467. "description": "仓单要素类型ID",
  10468. "type": "integer"
  10469. },
  10470. "wrstandardid": {
  10471. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10472. "type": "integer"
  10473. }
  10474. }
  10475. },
  10476. "erms3.AddErms2ASApplyReq": {
  10477. "type": "object",
  10478. "required": [
  10479. "asapplyid"
  10480. ],
  10481. "properties": {
  10482. "applybasis": {
  10483. "description": "申请基差",
  10484. "type": "number"
  10485. },
  10486. "applystatus": {
  10487. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10488. "type": "integer"
  10489. },
  10490. "asapplyid": {
  10491. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10492. "type": "integer"
  10493. },
  10494. "asname": {
  10495. "description": "策略名称",
  10496. "type": "string"
  10497. },
  10498. "asno": {
  10499. "description": "策略编号",
  10500. "type": "string"
  10501. },
  10502. "auditid": {
  10503. "description": "审核人",
  10504. "type": "integer"
  10505. },
  10506. "auditremark": {
  10507. "description": "审核备注",
  10508. "type": "string"
  10509. },
  10510. "audittime": {
  10511. "description": "审核时间",
  10512. "type": "string"
  10513. },
  10514. "biztype": {
  10515. "description": "业务类型 - 1:正向套利 2:反向套利",
  10516. "type": "integer"
  10517. },
  10518. "createtime": {
  10519. "description": "创建时间",
  10520. "type": "string"
  10521. },
  10522. "creatorid": {
  10523. "description": "创建人",
  10524. "type": "integer"
  10525. },
  10526. "deliverygoodsid": {
  10527. "description": "现货品种ID",
  10528. "type": "integer"
  10529. },
  10530. "futurequote": {
  10531. "description": "期货额度",
  10532. "type": "number"
  10533. },
  10534. "goodsgroupid": {
  10535. "description": "期货品种ID",
  10536. "type": "integer"
  10537. },
  10538. "marketid": {
  10539. "description": "市场ID",
  10540. "type": "integer"
  10541. },
  10542. "remark": {
  10543. "description": "备注",
  10544. "type": "string"
  10545. },
  10546. "spotquota": {
  10547. "description": "现货额度",
  10548. "type": "number"
  10549. },
  10550. "tradedate": {
  10551. "description": "交易日(yyyyMMdd)",
  10552. "type": "string"
  10553. },
  10554. "userid": {
  10555. "description": "所属机构",
  10556. "type": "integer"
  10557. }
  10558. }
  10559. },
  10560. "erms3.AddErms2SpotTradeApplyReq": {
  10561. "type": "object",
  10562. "required": [
  10563. "spottradeid"
  10564. ],
  10565. "properties": {
  10566. "applyjsondetail": {
  10567. "description": "申请明细(JSON)",
  10568. "type": "string"
  10569. },
  10570. "applystatus": {
  10571. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10572. "type": "integer"
  10573. },
  10574. "areauserid": {
  10575. "description": "所属机构",
  10576. "type": "integer"
  10577. },
  10578. "auditid": {
  10579. "description": "审核人",
  10580. "type": "integer"
  10581. },
  10582. "auditremark": {
  10583. "description": "审核备注",
  10584. "type": "string"
  10585. },
  10586. "audittime": {
  10587. "description": "审核时间",
  10588. "type": "string"
  10589. },
  10590. "createtime": {
  10591. "description": "创建时间",
  10592. "type": "string"
  10593. },
  10594. "creatorid": {
  10595. "description": "创建人",
  10596. "type": "integer"
  10597. },
  10598. "deliverygoodsid": {
  10599. "description": "现货品种ID",
  10600. "type": "integer"
  10601. },
  10602. "futureaccountid": {
  10603. "description": "期货资金账户",
  10604. "type": "integer"
  10605. },
  10606. "goodsgroupid": {
  10607. "description": "期货品种",
  10608. "type": "integer"
  10609. },
  10610. "marketid": {
  10611. "description": "市场ID",
  10612. "type": "integer"
  10613. },
  10614. "remark": {
  10615. "description": "备注",
  10616. "type": "string"
  10617. },
  10618. "spotaccountid": {
  10619. "description": "现货资金账户",
  10620. "type": "integer"
  10621. },
  10622. "spottradeid": {
  10623. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10624. "type": "integer"
  10625. },
  10626. "spottradename": {
  10627. "description": "业务名称",
  10628. "type": "string"
  10629. },
  10630. "spottradeno": {
  10631. "description": "业务编号",
  10632. "type": "string"
  10633. },
  10634. "tradedate": {
  10635. "description": "交易日(yyyyMMdd)",
  10636. "type": "string"
  10637. },
  10638. "wrstandardid": {
  10639. "description": "仓单标准ID",
  10640. "type": "integer"
  10641. }
  10642. }
  10643. },
  10644. "erms3.AddSpotContractApplyReq": {
  10645. "type": "object",
  10646. "required": [
  10647. "accountid",
  10648. "areauserid",
  10649. "contractno",
  10650. "contracttype",
  10651. "customeraccountid",
  10652. "customeruserid",
  10653. "details",
  10654. "orimargin",
  10655. "signdate"
  10656. ],
  10657. "properties": {
  10658. "accountid": {
  10659. "description": "资金账户ID",
  10660. "type": "integer"
  10661. },
  10662. "areauserid": {
  10663. "description": "所属机构",
  10664. "type": "integer"
  10665. },
  10666. "contractattachment": {
  10667. "description": "合同附件",
  10668. "type": "string"
  10669. },
  10670. "contractno": {
  10671. "description": "现货合同编号",
  10672. "type": "string"
  10673. },
  10674. "contracttype": {
  10675. "description": "现货合同类型 - 1:采购 -1:销售",
  10676. "type": "integer"
  10677. },
  10678. "creatorid": {
  10679. "description": "申请人",
  10680. "type": "integer"
  10681. },
  10682. "customeraccountid": {
  10683. "description": "客户资金账户ID",
  10684. "type": "integer"
  10685. },
  10686. "customeruserid": {
  10687. "description": "客户ID",
  10688. "type": "integer"
  10689. },
  10690. "details": {
  10691. "description": "明细",
  10692. "type": "array",
  10693. "items": {
  10694. "$ref": "#/definitions/erms3.SoptContractDetail"
  10695. }
  10696. },
  10697. "orimargin": {
  10698. "description": "初始保证金",
  10699. "type": "number"
  10700. },
  10701. "remark": {
  10702. "description": "备注",
  10703. "type": "string"
  10704. },
  10705. "signdate": {
  10706. "description": "签订日期",
  10707. "type": "string"
  10708. }
  10709. }
  10710. },
  10711. "erms3.AddSpotContractApplyRsp": {
  10712. "type": "object",
  10713. "required": [
  10714. "contractno"
  10715. ],
  10716. "properties": {
  10717. "contractno": {
  10718. "description": "现货合同编号",
  10719. "type": "string"
  10720. },
  10721. "spotcontractid": {
  10722. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10723. "type": "integer"
  10724. }
  10725. }
  10726. },
  10727. "erms3.AddUserInfoApplyReq": {
  10728. "type": "object",
  10729. "required": [
  10730. "userid"
  10731. ],
  10732. "properties": {
  10733. "accountid": {
  10734. "description": "交易系统帐号Id (加密存储)",
  10735. "type": "integer"
  10736. },
  10737. "areacode": {
  10738. "description": "机构代码",
  10739. "type": "string"
  10740. },
  10741. "areaid": {
  10742. "description": "机构Id",
  10743. "type": "integer"
  10744. },
  10745. "attachment1": {
  10746. "description": "附件1",
  10747. "type": "string"
  10748. },
  10749. "attachment2": {
  10750. "description": "附件2",
  10751. "type": "string"
  10752. },
  10753. "attachment3": {
  10754. "description": "附件3",
  10755. "type": "string"
  10756. },
  10757. "attachment4": {
  10758. "description": "附件4",
  10759. "type": "string"
  10760. },
  10761. "attachment5": {
  10762. "description": "附件5",
  10763. "type": "string"
  10764. },
  10765. "auditedby": {
  10766. "description": "审核人",
  10767. "type": "string"
  10768. },
  10769. "auditime": {
  10770. "description": "审核时间",
  10771. "type": "string"
  10772. },
  10773. "bankaccount": {
  10774. "description": "银行帐号 (加密存储)",
  10775. "type": "string"
  10776. },
  10777. "bankaccountname": {
  10778. "description": "收款人名称",
  10779. "type": "string"
  10780. },
  10781. "bankcardbackphotourl": {
  10782. "description": "银行卡背面照地址",
  10783. "type": "string"
  10784. },
  10785. "bankcardfrontphotourl": {
  10786. "description": "银行卡正面照地址",
  10787. "type": "string"
  10788. },
  10789. "bankid": {
  10790. "description": "银行编码",
  10791. "type": "string"
  10792. },
  10793. "bankname": {
  10794. "description": "银行名称",
  10795. "type": "string"
  10796. },
  10797. "bankpictureurl": {
  10798. "description": "银行卡正面地址",
  10799. "type": "string"
  10800. },
  10801. "biznature": {
  10802. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10803. "type": "integer"
  10804. },
  10805. "bizscope": {
  10806. "description": "企业经营范围(企业)",
  10807. "type": "string"
  10808. },
  10809. "biztype": {
  10810. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10811. "type": "integer"
  10812. },
  10813. "brokerid": {
  10814. "description": "经纪人ID(加密存储)",
  10815. "type": "string"
  10816. },
  10817. "cardaddress": {
  10818. "description": "证件地址 (加密存储)",
  10819. "type": "string"
  10820. },
  10821. "cardbackphotourl": {
  10822. "description": "背面证件照地址",
  10823. "type": "string"
  10824. },
  10825. "cardfrontphotourl": {
  10826. "description": "正面证件照地址",
  10827. "type": "string"
  10828. },
  10829. "cardnum": {
  10830. "description": "证件号码 (加密存储)",
  10831. "type": "string"
  10832. },
  10833. "cardtype": {
  10834. "description": "证件类型",
  10835. "type": "integer"
  10836. },
  10837. "cityid": {
  10838. "description": "市",
  10839. "type": "integer"
  10840. },
  10841. "company": {
  10842. "description": "公司(个人)",
  10843. "type": "string"
  10844. },
  10845. "contactcardbackphotourl": {
  10846. "description": "联系人证件背面图片地址",
  10847. "type": "string"
  10848. },
  10849. "contactcardfrontphotourl": {
  10850. "description": "联系人证件正面图片地址",
  10851. "type": "string"
  10852. },
  10853. "contactname": {
  10854. "description": "联系人",
  10855. "type": "string"
  10856. },
  10857. "countryid": {
  10858. "description": "国家",
  10859. "type": "integer"
  10860. },
  10861. "createtime": {
  10862. "description": "开户申请时间",
  10863. "type": "string"
  10864. },
  10865. "cusbankid": {
  10866. "description": "签约类型",
  10867. "type": "string"
  10868. },
  10869. "cusbankname": {
  10870. "description": "签约类型名称",
  10871. "type": "string"
  10872. },
  10873. "customername": {
  10874. "description": "客户名称(企业名称)",
  10875. "type": "string"
  10876. },
  10877. "districtid": {
  10878. "description": "地区",
  10879. "type": "integer"
  10880. },
  10881. "email": {
  10882. "description": "Email地址(加密存储)",
  10883. "type": "string"
  10884. },
  10885. "halfbodyphotourl": {
  10886. "description": "半身照地址",
  10887. "type": "string"
  10888. },
  10889. "headurl": {
  10890. "description": "头像地址",
  10891. "type": "string"
  10892. },
  10893. "ipaddress": {
  10894. "description": "IP地址",
  10895. "type": "string"
  10896. },
  10897. "isvalidate": {
  10898. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10899. "type": "string"
  10900. },
  10901. "legalcardbackphotourl": {
  10902. "description": "法人身份证背面照地址",
  10903. "type": "string"
  10904. },
  10905. "legalcardfrontphotourl": {
  10906. "description": "法人身份证正面照地址",
  10907. "type": "string"
  10908. },
  10909. "legalpersonname": {
  10910. "description": "法人姓名(企业)",
  10911. "type": "string"
  10912. },
  10913. "logincode": {
  10914. "description": "登录帐号 (加密存储)",
  10915. "type": "string"
  10916. },
  10917. "memberareaid": {
  10918. "description": "所属会员ID",
  10919. "type": "integer"
  10920. },
  10921. "mobile2": {
  10922. "description": "手机号码[明文-尚志]",
  10923. "type": "string"
  10924. },
  10925. "mobilephone": {
  10926. "description": "手机号码 (加密存储)",
  10927. "type": "string"
  10928. },
  10929. "modifiedby": {
  10930. "description": "修改人帐号",
  10931. "type": "integer"
  10932. },
  10933. "modifiedtime": {
  10934. "description": "修改时间",
  10935. "type": "string"
  10936. },
  10937. "nickname": {
  10938. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10939. "type": "string"
  10940. },
  10941. "openmode": {
  10942. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10943. "type": "integer"
  10944. },
  10945. "otherurl": {
  10946. "description": "其它图片地址[使用分号分隔]",
  10947. "type": "string"
  10948. },
  10949. "postalcode": {
  10950. "description": "邮政编码",
  10951. "type": "string"
  10952. },
  10953. "provinceid": {
  10954. "description": "省",
  10955. "type": "integer"
  10956. },
  10957. "proxystatementurl": {
  10958. "description": "授权委托书",
  10959. "type": "string"
  10960. },
  10961. "qq": {
  10962. "description": "QQ(加密存储",
  10963. "type": "string"
  10964. },
  10965. "referral": {
  10966. "description": "推荐人编码",
  10967. "type": "string"
  10968. },
  10969. "remark": {
  10970. "description": "备注",
  10971. "type": "string"
  10972. },
  10973. "removebeforestatus": {
  10974. "description": "REMOVEBEFORESTATUS",
  10975. "type": "integer"
  10976. },
  10977. "sex": {
  10978. "description": "性别 - 0:女 1:男",
  10979. "type": "integer"
  10980. },
  10981. "signedstatus": {
  10982. "description": "账户一号签签约状态",
  10983. "type": "integer"
  10984. },
  10985. "signpdfurl": {
  10986. "description": "签约pdf文件",
  10987. "type": "string"
  10988. },
  10989. "subbranch": {
  10990. "description": "开户支行",
  10991. "type": "string"
  10992. },
  10993. "telphone": {
  10994. "description": "联系电话(加密存储)",
  10995. "type": "string"
  10996. },
  10997. "userid": {
  10998. "description": "用户ID(自增ID)",
  10999. "type": "integer"
  11000. },
  11001. "userinfotype": {
  11002. "description": "用户信息类型 - 1:个人 2:企业",
  11003. "type": "integer"
  11004. },
  11005. "username": {
  11006. "description": "用户姓名",
  11007. "type": "string"
  11008. },
  11009. "userstate": {
  11010. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11011. "type": "integer"
  11012. },
  11013. "usertype": {
  11014. "description": "用户类型 - 1:投资者 2:机构",
  11015. "type": "integer"
  11016. },
  11017. "videourl": {
  11018. "description": "视频地址",
  11019. "type": "string"
  11020. },
  11021. "wechat": {
  11022. "description": "微信号 (加密存储)",
  11023. "type": "string"
  11024. }
  11025. }
  11026. },
  11027. "erms3.CustomerInfo": {
  11028. "type": "object",
  11029. "required": [
  11030. "userid"
  11031. ],
  11032. "properties": {
  11033. "accountids": {
  11034. "description": "资金账户ID列表",
  11035. "type": "array",
  11036. "items": {
  11037. "type": "integer"
  11038. }
  11039. },
  11040. "customername": {
  11041. "description": "名称(企业名称)",
  11042. "type": "string"
  11043. },
  11044. "mobile": {
  11045. "description": "手机号码",
  11046. "type": "string"
  11047. },
  11048. "userid": {
  11049. "description": "用户ID",
  11050. "type": "integer"
  11051. }
  11052. }
  11053. },
  11054. "erms3.ModifyUserInfoApplyReq": {
  11055. "type": "object",
  11056. "required": [
  11057. "userid"
  11058. ],
  11059. "properties": {
  11060. "accountid": {
  11061. "description": "交易系统帐号Id (加密存储)",
  11062. "type": "integer"
  11063. },
  11064. "areacode": {
  11065. "description": "机构代码",
  11066. "type": "string"
  11067. },
  11068. "areaid": {
  11069. "description": "机构Id",
  11070. "type": "integer"
  11071. },
  11072. "attachment1": {
  11073. "description": "附件1",
  11074. "type": "string"
  11075. },
  11076. "attachment2": {
  11077. "description": "附件2",
  11078. "type": "string"
  11079. },
  11080. "attachment3": {
  11081. "description": "附件3",
  11082. "type": "string"
  11083. },
  11084. "attachment4": {
  11085. "description": "附件4",
  11086. "type": "string"
  11087. },
  11088. "attachment5": {
  11089. "description": "附件5",
  11090. "type": "string"
  11091. },
  11092. "auditedby": {
  11093. "description": "审核人",
  11094. "type": "string"
  11095. },
  11096. "auditime": {
  11097. "description": "审核时间",
  11098. "type": "string"
  11099. },
  11100. "bankaccount": {
  11101. "description": "银行帐号 (加密存储)",
  11102. "type": "string"
  11103. },
  11104. "bankaccountname": {
  11105. "description": "收款人名称",
  11106. "type": "string"
  11107. },
  11108. "bankcardbackphotourl": {
  11109. "description": "银行卡背面照地址",
  11110. "type": "string"
  11111. },
  11112. "bankcardfrontphotourl": {
  11113. "description": "银行卡正面照地址",
  11114. "type": "string"
  11115. },
  11116. "bankid": {
  11117. "description": "银行编码",
  11118. "type": "string"
  11119. },
  11120. "bankname": {
  11121. "description": "银行名称",
  11122. "type": "string"
  11123. },
  11124. "bankpictureurl": {
  11125. "description": "银行卡正面地址",
  11126. "type": "string"
  11127. },
  11128. "biznature": {
  11129. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11130. "type": "integer"
  11131. },
  11132. "bizscope": {
  11133. "description": "企业经营范围(企业)",
  11134. "type": "string"
  11135. },
  11136. "biztype": {
  11137. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11138. "type": "integer"
  11139. },
  11140. "brokerid": {
  11141. "description": "经纪人ID(加密存储)",
  11142. "type": "string"
  11143. },
  11144. "cardaddress": {
  11145. "description": "证件地址 (加密存储)",
  11146. "type": "string"
  11147. },
  11148. "cardbackphotourl": {
  11149. "description": "背面证件照地址",
  11150. "type": "string"
  11151. },
  11152. "cardfrontphotourl": {
  11153. "description": "正面证件照地址",
  11154. "type": "string"
  11155. },
  11156. "cardnum": {
  11157. "description": "证件号码 (加密存储)",
  11158. "type": "string"
  11159. },
  11160. "cardtype": {
  11161. "description": "证件类型",
  11162. "type": "integer"
  11163. },
  11164. "cityid": {
  11165. "description": "市",
  11166. "type": "integer"
  11167. },
  11168. "company": {
  11169. "description": "公司(个人)",
  11170. "type": "string"
  11171. },
  11172. "contactcardbackphotourl": {
  11173. "description": "联系人证件背面图片地址",
  11174. "type": "string"
  11175. },
  11176. "contactcardfrontphotourl": {
  11177. "description": "联系人证件正面图片地址",
  11178. "type": "string"
  11179. },
  11180. "contactname": {
  11181. "description": "联系人",
  11182. "type": "string"
  11183. },
  11184. "countryid": {
  11185. "description": "国家",
  11186. "type": "integer"
  11187. },
  11188. "createtime": {
  11189. "description": "开户申请时间",
  11190. "type": "string"
  11191. },
  11192. "cusbankid": {
  11193. "description": "签约类型",
  11194. "type": "string"
  11195. },
  11196. "cusbankname": {
  11197. "description": "签约类型名称",
  11198. "type": "string"
  11199. },
  11200. "customername": {
  11201. "description": "客户名称(企业名称)",
  11202. "type": "string"
  11203. },
  11204. "districtid": {
  11205. "description": "地区",
  11206. "type": "integer"
  11207. },
  11208. "email": {
  11209. "description": "Email地址(加密存储)",
  11210. "type": "string"
  11211. },
  11212. "halfbodyphotourl": {
  11213. "description": "半身照地址",
  11214. "type": "string"
  11215. },
  11216. "headurl": {
  11217. "description": "头像地址",
  11218. "type": "string"
  11219. },
  11220. "ipaddress": {
  11221. "description": "IP地址",
  11222. "type": "string"
  11223. },
  11224. "isvalidate": {
  11225. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11226. "type": "string"
  11227. },
  11228. "legalcardbackphotourl": {
  11229. "description": "法人身份证背面照地址",
  11230. "type": "string"
  11231. },
  11232. "legalcardfrontphotourl": {
  11233. "description": "法人身份证正面照地址",
  11234. "type": "string"
  11235. },
  11236. "legalpersonname": {
  11237. "description": "法人姓名(企业)",
  11238. "type": "string"
  11239. },
  11240. "logincode": {
  11241. "description": "登录帐号 (加密存储)",
  11242. "type": "string"
  11243. },
  11244. "memberareaid": {
  11245. "description": "所属会员ID",
  11246. "type": "integer"
  11247. },
  11248. "mobile2": {
  11249. "description": "手机号码[明文-尚志]",
  11250. "type": "string"
  11251. },
  11252. "mobilephone": {
  11253. "description": "手机号码 (加密存储)",
  11254. "type": "string"
  11255. },
  11256. "modifiedby": {
  11257. "description": "修改人帐号",
  11258. "type": "integer"
  11259. },
  11260. "modifiedtime": {
  11261. "description": "修改时间",
  11262. "type": "string"
  11263. },
  11264. "nickname": {
  11265. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11266. "type": "string"
  11267. },
  11268. "openmode": {
  11269. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11270. "type": "integer"
  11271. },
  11272. "otherurl": {
  11273. "description": "其它图片地址[使用分号分隔]",
  11274. "type": "string"
  11275. },
  11276. "postalcode": {
  11277. "description": "邮政编码",
  11278. "type": "string"
  11279. },
  11280. "provinceid": {
  11281. "description": "省",
  11282. "type": "integer"
  11283. },
  11284. "proxystatementurl": {
  11285. "description": "授权委托书",
  11286. "type": "string"
  11287. },
  11288. "qq": {
  11289. "description": "QQ(加密存储",
  11290. "type": "string"
  11291. },
  11292. "referral": {
  11293. "description": "推荐人编码",
  11294. "type": "string"
  11295. },
  11296. "remark": {
  11297. "description": "备注",
  11298. "type": "string"
  11299. },
  11300. "removebeforestatus": {
  11301. "description": "REMOVEBEFORESTATUS",
  11302. "type": "integer"
  11303. },
  11304. "sex": {
  11305. "description": "性别 - 0:女 1:男",
  11306. "type": "integer"
  11307. },
  11308. "signedstatus": {
  11309. "description": "账户一号签签约状态",
  11310. "type": "integer"
  11311. },
  11312. "signpdfurl": {
  11313. "description": "签约pdf文件",
  11314. "type": "string"
  11315. },
  11316. "subbranch": {
  11317. "description": "开户支行",
  11318. "type": "string"
  11319. },
  11320. "telphone": {
  11321. "description": "联系电话(加密存储)",
  11322. "type": "string"
  11323. },
  11324. "userid": {
  11325. "description": "用户ID(自增ID)",
  11326. "type": "integer"
  11327. },
  11328. "userinfotype": {
  11329. "description": "用户信息类型 - 1:个人 2:企业",
  11330. "type": "integer"
  11331. },
  11332. "username": {
  11333. "description": "用户姓名",
  11334. "type": "string"
  11335. },
  11336. "userstate": {
  11337. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11338. "type": "integer"
  11339. },
  11340. "usertype": {
  11341. "description": "用户类型 - 1:投资者 2:机构",
  11342. "type": "integer"
  11343. },
  11344. "videourl": {
  11345. "description": "视频地址",
  11346. "type": "string"
  11347. },
  11348. "wechat": {
  11349. "description": "微信号 (加密存储)",
  11350. "type": "string"
  11351. }
  11352. }
  11353. },
  11354. "erms3.QryAuditContractRsp": {
  11355. "type": "object",
  11356. "required": [
  11357. "matchcustomername",
  11358. "spotcontractid"
  11359. ],
  11360. "properties": {
  11361. "accountid": {
  11362. "description": "交易员ID",
  11363. "type": "string"
  11364. },
  11365. "applystatus": {
  11366. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11367. "type": "integer"
  11368. },
  11369. "curdeliveryqty": {
  11370. "description": "未交收量",
  11371. "type": "integer"
  11372. },
  11373. "customername": {
  11374. "description": "采购方ID",
  11375. "type": "string"
  11376. },
  11377. "deliverygoodsid": {
  11378. "description": "品种ID",
  11379. "type": "string"
  11380. },
  11381. "deliveryqty": {
  11382. "description": "交收量",
  11383. "type": "integer"
  11384. },
  11385. "enumdicname": {
  11386. "description": "单位名称",
  11387. "type": "string"
  11388. },
  11389. "matchaccountid": {
  11390. "description": "业务员ID",
  11391. "type": "string"
  11392. },
  11393. "matchcustomername": {
  11394. "description": "销售方ID",
  11395. "type": "string"
  11396. },
  11397. "pricedqty": {
  11398. "description": "定价量",
  11399. "type": "number"
  11400. },
  11401. "signdate": {
  11402. "description": "签订日期",
  11403. "type": "string"
  11404. },
  11405. "spotcontractid": {
  11406. "description": "合同ID",
  11407. "type": "string"
  11408. },
  11409. "totaldqty": {
  11410. "description": "合同量",
  11411. "type": "number"
  11412. },
  11413. "unpricedqty": {
  11414. "description": "未定价量",
  11415. "type": "number"
  11416. },
  11417. "wrstandardname": {
  11418. "description": "商品名称",
  11419. "type": "string"
  11420. }
  11421. }
  11422. },
  11423. "erms3.QryPendingBizRsp": {
  11424. "type": "object",
  11425. "properties": {
  11426. "accountid": {
  11427. "description": "现货账户",
  11428. "type": "string"
  11429. },
  11430. "areaname": {
  11431. "description": "所属部门",
  11432. "type": "string"
  11433. },
  11434. "bizid": {
  11435. "description": "业务ID",
  11436. "type": "string"
  11437. },
  11438. "bizname": {
  11439. "description": "业务名称",
  11440. "type": "string"
  11441. },
  11442. "status": {
  11443. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11444. "type": "integer"
  11445. },
  11446. "type": {
  11447. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11448. "type": "integer"
  11449. }
  11450. }
  11451. },
  11452. "erms3.QueryBusinessInfoRsp": {
  11453. "type": "object",
  11454. "properties": {
  11455. "businessid": {
  11456. "description": "业务ID.",
  11457. "type": "integer"
  11458. },
  11459. "buyamount": {
  11460. "description": "采购额.",
  11461. "type": "number"
  11462. },
  11463. "buyqty": {
  11464. "description": "采购量.",
  11465. "type": "string"
  11466. },
  11467. "futurepl": {
  11468. "description": "期货盈亏.",
  11469. "type": "number"
  11470. },
  11471. "futureqty": {
  11472. "description": "期货敞口.",
  11473. "type": "string"
  11474. },
  11475. "goodsid": {
  11476. "description": "商品名称/商品代码.",
  11477. "type": "string"
  11478. },
  11479. "hedgingqty": {
  11480. "description": "套保量.",
  11481. "type": "string"
  11482. },
  11483. "sellamount": {
  11484. "description": "销售额.",
  11485. "type": "number"
  11486. },
  11487. "sellqty": {
  11488. "description": "销售量.",
  11489. "type": "string"
  11490. },
  11491. "spotmarketvalue": {
  11492. "description": "现货市值.",
  11493. "type": "number"
  11494. },
  11495. "spotpl": {
  11496. "description": "浮动权益.",
  11497. "type": "number"
  11498. },
  11499. "spotqty": {
  11500. "description": "现货量.",
  11501. "type": "string"
  11502. },
  11503. "statu": {
  11504. "description": "状态,0-未结束 1-已结束.",
  11505. "type": "integer"
  11506. },
  11507. "totalpl": {
  11508. "description": "总盈亏.",
  11509. "type": "number"
  11510. },
  11511. "totalqty": {
  11512. "description": "总敞口.",
  11513. "type": "string"
  11514. },
  11515. "type": {
  11516. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11517. "type": "integer"
  11518. }
  11519. }
  11520. },
  11521. "erms3.QuerySpotContractAppleFormRsp": {
  11522. "type": "object",
  11523. "properties": {
  11524. "goodses": {
  11525. "description": "合约列表",
  11526. "type": "array",
  11527. "items": {
  11528. "$ref": "#/definitions/models.GoodsIDAndName"
  11529. }
  11530. },
  11531. "oppositeusers": {
  11532. "description": "对方账号列表",
  11533. "type": "array",
  11534. "items": {
  11535. "$ref": "#/definitions/erms3.CustomerInfo"
  11536. }
  11537. },
  11538. "ouruser": {
  11539. "description": "我方账号",
  11540. "$ref": "#/definitions/erms3.CustomerInfo"
  11541. },
  11542. "warehouseinfos": {
  11543. "description": "仓库信息列表",
  11544. "type": "array",
  11545. "items": {
  11546. "$ref": "#/definitions/models.Warehouseinfo"
  11547. }
  11548. },
  11549. "wrstandards": {
  11550. "description": "仓单标准列表",
  11551. "type": "array",
  11552. "items": {
  11553. "$ref": "#/definitions/models.WRStandardInfo"
  11554. }
  11555. }
  11556. }
  11557. },
  11558. "erms3.QuerySpotContractInfoRsp": {
  11559. "type": "object",
  11560. "properties": {
  11561. "accountid": {
  11562. "description": "表示交易员ID.",
  11563. "type": "integer"
  11564. },
  11565. "curdeliveryqty": {
  11566. "description": "表示未交收量.",
  11567. "type": "number"
  11568. },
  11569. "customername": {
  11570. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11571. "type": "string"
  11572. },
  11573. "deliverygoodsid": {
  11574. "description": "表示品种ID.",
  11575. "type": "string"
  11576. },
  11577. "deliveryqty": {
  11578. "description": "表示交收量.",
  11579. "type": "number"
  11580. },
  11581. "matchaccountid": {
  11582. "description": "表示业务员ID.",
  11583. "type": "integer"
  11584. },
  11585. "matchcustomername": {
  11586. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11587. "type": "string"
  11588. },
  11589. "priceqty": {
  11590. "description": "表示定价量.",
  11591. "type": "number"
  11592. },
  11593. "relatedbizid": {
  11594. "description": "表示业务ID.",
  11595. "type": "string"
  11596. },
  11597. "signdate": {
  11598. "description": "表示签订日期.",
  11599. "type": "string"
  11600. },
  11601. "spotcontractid": {
  11602. "description": "合同ID",
  11603. "type": "string"
  11604. },
  11605. "status": {
  11606. "description": "表示状态,0-履约中 1-已完成.",
  11607. "type": "integer"
  11608. },
  11609. "totalqty": {
  11610. "description": "表示合同量.",
  11611. "type": "number"
  11612. },
  11613. "unpricedqty": {
  11614. "description": "表示未定价量.",
  11615. "type": "number"
  11616. },
  11617. "wrstandardname": {
  11618. "description": "表示商品ID.",
  11619. "type": "string"
  11620. }
  11621. }
  11622. },
  11623. "erms3.QueryUserInfoAppliesRsp": {
  11624. "type": "object",
  11625. "required": [
  11626. "userid"
  11627. ],
  11628. "properties": {
  11629. "biznature": {
  11630. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11631. "type": "integer"
  11632. },
  11633. "contactname": {
  11634. "description": "联系人",
  11635. "type": "string"
  11636. },
  11637. "createtime": {
  11638. "description": "开户申请时间",
  11639. "type": "string"
  11640. },
  11641. "userid": {
  11642. "description": "用户ID(自增ID)",
  11643. "type": "integer"
  11644. },
  11645. "userinfotype": {
  11646. "description": "用户信息类型 - 1:个人 2:企业",
  11647. "type": "integer"
  11648. },
  11649. "username": {
  11650. "description": "用户姓名",
  11651. "type": "string"
  11652. },
  11653. "userstate": {
  11654. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11655. "type": "integer"
  11656. }
  11657. }
  11658. },
  11659. "erms3.QueryUserInfosRsp": {
  11660. "type": "object",
  11661. "required": [
  11662. "userid"
  11663. ],
  11664. "properties": {
  11665. "biznature": {
  11666. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11667. "type": "integer"
  11668. },
  11669. "contactname": {
  11670. "description": "联系人",
  11671. "type": "string"
  11672. },
  11673. "customername": {
  11674. "description": "客户名称(企业名称)",
  11675. "type": "string"
  11676. },
  11677. "userid": {
  11678. "description": "用户ID",
  11679. "type": "integer"
  11680. },
  11681. "userinfotype": {
  11682. "description": "用户信息类型 - 1:个人 2:企业",
  11683. "type": "integer"
  11684. },
  11685. "userstatus": {
  11686. "description": "用户状态 - 1:正常 2:注销",
  11687. "type": "integer"
  11688. }
  11689. }
  11690. },
  11691. "erms3.SoptContractDetail": {
  11692. "type": "object",
  11693. "required": [
  11694. "deliverygoodsid",
  11695. "producttype",
  11696. "unitname",
  11697. "warehouseid",
  11698. "wrstandardid",
  11699. "wrstandardname"
  11700. ],
  11701. "properties": {
  11702. "deliverygoodsdesc": {
  11703. "description": "现货品种说明",
  11704. "type": "string"
  11705. },
  11706. "deliverygoodsid": {
  11707. "description": "现货品种ID",
  11708. "type": "integer"
  11709. },
  11710. "deliverygoodsname": {
  11711. "description": "现货品种名称",
  11712. "type": "string"
  11713. },
  11714. "pointdesc": {
  11715. "description": "点价描述",
  11716. "type": "string"
  11717. },
  11718. "producttype": {
  11719. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11720. "type": "integer"
  11721. },
  11722. "producttypename": {
  11723. "description": "产品类型名称",
  11724. "type": "string"
  11725. },
  11726. "spotPointOrderVoList": {
  11727. "description": "点价列表",
  11728. "type": "array",
  11729. "items": {
  11730. "$ref": "#/definitions/erms3.SpotPointOrder"
  11731. }
  11732. },
  11733. "spotPriceOrderList": {
  11734. "description": "定价列表",
  11735. "type": "array",
  11736. "items": {
  11737. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11738. }
  11739. },
  11740. "unitname": {
  11741. "description": "单位名称",
  11742. "type": "string"
  11743. },
  11744. "warehouseid": {
  11745. "description": "仓库ID",
  11746. "type": "integer"
  11747. },
  11748. "warehousename": {
  11749. "description": "仓库名称",
  11750. "type": "string"
  11751. },
  11752. "wrstandardid": {
  11753. "description": "交易标的ID",
  11754. "type": "integer"
  11755. },
  11756. "wrstandardname": {
  11757. "description": "交易标的名称",
  11758. "type": "string"
  11759. }
  11760. }
  11761. },
  11762. "erms3.SpotPointOrder": {
  11763. "type": "object",
  11764. "required": [
  11765. "basic",
  11766. "goodsid",
  11767. "qty"
  11768. ],
  11769. "properties": {
  11770. "basic": {
  11771. "description": "基差",
  11772. "type": "number"
  11773. },
  11774. "deliveryenddate": {
  11775. "description": "交收结束日期",
  11776. "type": "string"
  11777. },
  11778. "deliverystartdate": {
  11779. "description": "交收开始日期",
  11780. "type": "string"
  11781. },
  11782. "enddate": {
  11783. "description": "点价结束日期",
  11784. "type": "string"
  11785. },
  11786. "goodsid": {
  11787. "description": "商品ID",
  11788. "type": "integer"
  11789. },
  11790. "goodsname": {
  11791. "description": "商品名称",
  11792. "type": "string"
  11793. },
  11794. "qty": {
  11795. "description": "数量",
  11796. "type": "number"
  11797. },
  11798. "startdate": {
  11799. "description": "点价开始日期",
  11800. "type": "string"
  11801. }
  11802. }
  11803. },
  11804. "erms3.SpotPriceOrder": {
  11805. "type": "object",
  11806. "required": [
  11807. "amount",
  11808. "price",
  11809. "qty"
  11810. ],
  11811. "properties": {
  11812. "amount": {
  11813. "description": "金额",
  11814. "type": "number"
  11815. },
  11816. "deliveryenddate": {
  11817. "description": "交收结束日期",
  11818. "type": "string"
  11819. },
  11820. "deliverystartdate": {
  11821. "description": "交收开始日期",
  11822. "type": "string"
  11823. },
  11824. "price": {
  11825. "description": "价格",
  11826. "type": "number"
  11827. },
  11828. "qty": {
  11829. "description": "数量",
  11830. "type": "number"
  11831. }
  11832. }
  11833. },
  11834. "hsby.GetHsbyMyCountRsp": {
  11835. "type": "object",
  11836. "properties": {
  11837. "myCouponCount": {
  11838. "description": "我的优惠卷数量",
  11839. "type": "integer"
  11840. },
  11841. "myOrderDetailListingCount": {
  11842. "description": "我的订单求购中数量",
  11843. "type": "integer"
  11844. },
  11845. "myOrderDetailPreCount": {
  11846. "description": "我的订单抢购中数量",
  11847. "type": "integer"
  11848. },
  11849. "myPackageUnReceiveCount": {
  11850. "description": "我的包裹待收货数量",
  11851. "type": "integer"
  11852. },
  11853. "myPackageUnSendCount": {
  11854. "description": "我的包裹待发货数量",
  11855. "type": "integer"
  11856. },
  11857. "myPayOrderCount": {
  11858. "description": "我的订单待付款数量",
  11859. "type": "integer"
  11860. }
  11861. }
  11862. },
  11863. "hsby.QueryProvincesAndCitiesRsp": {
  11864. "type": "object",
  11865. "properties": {
  11866. "cities": {
  11867. "description": "市",
  11868. "type": "array",
  11869. "items": {
  11870. "$ref": "#/definitions/models.Division"
  11871. }
  11872. },
  11873. "province": {
  11874. "description": "省",
  11875. "$ref": "#/definitions/models.Division"
  11876. }
  11877. }
  11878. },
  11879. "models.Clientfixedadconfig": {
  11880. "type": "object",
  11881. "required": [
  11882. "adsort",
  11883. "adtype"
  11884. ],
  11885. "properties": {
  11886. "adsort": {
  11887. "description": "排序",
  11888. "type": "integer"
  11889. },
  11890. "adtype": {
  11891. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11892. "type": "integer"
  11893. },
  11894. "areauserid": {
  11895. "description": "所属机构ID",
  11896. "type": "integer"
  11897. },
  11898. "createdate": {
  11899. "description": "创建时间",
  11900. "type": "string"
  11901. },
  11902. "creatorid": {
  11903. "description": "创建人",
  11904. "type": "integer"
  11905. },
  11906. "imagepath": {
  11907. "description": "图片",
  11908. "type": "string"
  11909. },
  11910. "isshow": {
  11911. "description": "是否展示 - 0:不展示 1:展示",
  11912. "type": "integer"
  11913. },
  11914. "modifierid": {
  11915. "description": "操作人",
  11916. "type": "integer"
  11917. },
  11918. "recsize": {
  11919. "description": "推荐尺寸",
  11920. "type": "string"
  11921. },
  11922. "title": {
  11923. "description": "标题",
  11924. "type": "string"
  11925. },
  11926. "updatedate": {
  11927. "description": "更新时间",
  11928. "type": "string"
  11929. },
  11930. "urlcontent": {
  11931. "description": "链接(地址或商品ID)",
  11932. "type": "string"
  11933. },
  11934. "urltype": {
  11935. "description": "链接类型 - 1:直接地址 2:商品ID",
  11936. "type": "integer"
  11937. }
  11938. }
  11939. },
  11940. "models.Division": {
  11941. "type": "object",
  11942. "required": [
  11943. "autoid",
  11944. "divisioncode"
  11945. ],
  11946. "properties": {
  11947. "autoid": {
  11948. "description": "自增ID",
  11949. "type": "integer"
  11950. },
  11951. "divisioncode": {
  11952. "description": "行政代码",
  11953. "type": "string"
  11954. },
  11955. "divisionlevel": {
  11956. "description": "行政级别",
  11957. "type": "string"
  11958. },
  11959. "divisionname": {
  11960. "description": "行政名称",
  11961. "type": "string"
  11962. },
  11963. "modifierid": {
  11964. "description": "修改人",
  11965. "type": "integer"
  11966. },
  11967. "modifytime": {
  11968. "description": "修改时间",
  11969. "type": "string"
  11970. },
  11971. "parentcode": {
  11972. "description": "上级行政代码",
  11973. "type": "string"
  11974. },
  11975. "pathname": {
  11976. "description": "路径名称",
  11977. "type": "string"
  11978. },
  11979. "postcode": {
  11980. "description": "邮政编码",
  11981. "type": "string"
  11982. },
  11983. "separablename": {
  11984. "description": "可拆分的全称",
  11985. "type": "string"
  11986. },
  11987. "shortcode": {
  11988. "description": "地区简码",
  11989. "type": "string"
  11990. }
  11991. }
  11992. },
  11993. "models.Enumdicitem": {
  11994. "type": "object",
  11995. "required": [
  11996. "autoid",
  11997. "enumdiccode",
  11998. "enumdicid",
  11999. "enumitemname"
  12000. ],
  12001. "properties": {
  12002. "autoid": {
  12003. "description": "自增ID",
  12004. "type": "integer"
  12005. },
  12006. "bankmappedvalue": {
  12007. "description": "银行服务对应值",
  12008. "type": "string"
  12009. },
  12010. "enumdiccode": {
  12011. "description": "所属枚举代码",
  12012. "type": "string"
  12013. },
  12014. "enumdicid": {
  12015. "description": "所属枚举ID",
  12016. "type": "integer"
  12017. },
  12018. "enumdicname": {
  12019. "description": "枚举项名称",
  12020. "type": "string"
  12021. },
  12022. "enumitemname": {
  12023. "description": "枚举项值",
  12024. "type": "integer"
  12025. },
  12026. "enumitemstatus": {
  12027. "description": "枚举项状态 - 1.启用 2.不启用",
  12028. "type": "integer"
  12029. },
  12030. "enumitemvalue": {
  12031. "description": "通用值 - [币种通用简写]",
  12032. "type": "string"
  12033. },
  12034. "param1": {
  12035. "description": "参数1[币种:币种小数位]",
  12036. "type": "string"
  12037. },
  12038. "param2": {
  12039. "description": "参数1[币种:币种显示单位]",
  12040. "type": "string"
  12041. },
  12042. "remark": {
  12043. "description": "备注",
  12044. "type": "string"
  12045. }
  12046. }
  12047. },
  12048. "models.ErmcpHisExposure": {
  12049. "type": "object",
  12050. "properties": {
  12051. "needhedgeexposoure": {
  12052. "description": "应套保敞口",
  12053. "type": "number"
  12054. },
  12055. "reckondate": {
  12056. "description": "日照时期(yyyyMMdd)",
  12057. "type": "string"
  12058. },
  12059. "totalexposure": {
  12060. "description": "总敞口",
  12061. "type": "number"
  12062. }
  12063. }
  12064. },
  12065. "models.ErmcpMiddleGoodsModel": {
  12066. "type": "object",
  12067. "properties": {
  12068. "areauserid": {
  12069. "description": "机构用户ID",
  12070. "type": "integer"
  12071. },
  12072. "enumdicname": {
  12073. "description": "单位名称",
  12074. "type": "string"
  12075. },
  12076. "evaluateratio": {
  12077. "description": "估价系数",
  12078. "type": "number"
  12079. },
  12080. "goodsgroupid": {
  12081. "description": "关联期货品种ID",
  12082. "type": "integer"
  12083. },
  12084. "isvalid": {
  12085. "description": "状态 0-无效(停用) 1-有效(正常)",
  12086. "type": "integer"
  12087. },
  12088. "middlegoodscode": {
  12089. "description": "套保品种代码",
  12090. "type": "string"
  12091. },
  12092. "middlegoodsid": {
  12093. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12094. "type": "integer"
  12095. },
  12096. "middlegoodsname": {
  12097. "description": "套保品种名称",
  12098. "type": "string"
  12099. },
  12100. "modifytime": {
  12101. "description": "修改时间",
  12102. "type": "string"
  12103. },
  12104. "needhedgeratio": {
  12105. "description": "套保比率",
  12106. "type": "number"
  12107. },
  12108. "qtydecimalplace": {
  12109. "description": "数量小数位",
  12110. "type": "integer"
  12111. },
  12112. "relatedgoodsid": {
  12113. "description": "关联交易商品ID",
  12114. "type": "integer"
  12115. },
  12116. "relatedgoodstype": {
  12117. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12118. "type": "integer"
  12119. }
  12120. }
  12121. },
  12122. "models.ErmcpReportDayFR": {
  12123. "type": "object",
  12124. "properties": {
  12125. "areauserid": {
  12126. "description": "所属机构",
  12127. "type": "integer"
  12128. },
  12129. "collectinvoiceamount": {
  12130. "description": "今日开票金额",
  12131. "type": "number"
  12132. },
  12133. "collectinvoicecount": {
  12134. "description": "今日开票笔数",
  12135. "type": "integer"
  12136. },
  12137. "collectmoneyamount": {
  12138. "description": "今日收款金额",
  12139. "type": "number"
  12140. },
  12141. "collectmoneycount": {
  12142. "description": "今日收款笔数",
  12143. "type": "integer"
  12144. },
  12145. "payinvoiceamount": {
  12146. "description": "今日收票金额",
  12147. "type": "number"
  12148. },
  12149. "payinvoicecount": {
  12150. "description": "今日收票笔数",
  12151. "type": "integer"
  12152. },
  12153. "paymoneyamount": {
  12154. "description": "今日付款金额",
  12155. "type": "number"
  12156. },
  12157. "paymoneycount": {
  12158. "description": "今日付款笔数",
  12159. "type": "integer"
  12160. },
  12161. "reckondate": {
  12162. "description": "日照时期(yyyyMMdd)",
  12163. "type": "string"
  12164. },
  12165. "updatetime": {
  12166. "description": "更新时间",
  12167. "type": "string"
  12168. }
  12169. }
  12170. },
  12171. "models.ErmcpWrstandard": {
  12172. "type": "object",
  12173. "properties": {
  12174. "areauserid": {
  12175. "description": "所属机构",
  12176. "type": "integer"
  12177. },
  12178. "createtime": {
  12179. "description": "创建时间",
  12180. "type": "string"
  12181. },
  12182. "creatorid": {
  12183. "description": "创建人",
  12184. "type": "integer"
  12185. },
  12186. "deliverygoodsid": {
  12187. "description": "品种ID",
  12188. "type": "integer"
  12189. },
  12190. "enumdicname": {
  12191. "description": "单位名称",
  12192. "type": "string"
  12193. },
  12194. "isvalid": {
  12195. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12196. "type": "integer"
  12197. },
  12198. "minivalue": {
  12199. "description": "最小变动值",
  12200. "type": "integer"
  12201. },
  12202. "minivaluedp": {
  12203. "description": "最小变动值小数位",
  12204. "type": "integer"
  12205. },
  12206. "realminivalue": {
  12207. "description": "实际最小变动值",
  12208. "type": "integer"
  12209. },
  12210. "realminivaluedp": {
  12211. "description": "实际最小变动值小数位",
  12212. "type": "integer"
  12213. },
  12214. "remark": {
  12215. "description": "备注",
  12216. "type": "string"
  12217. },
  12218. "unitid": {
  12219. "description": "单位ID",
  12220. "type": "integer"
  12221. },
  12222. "updatetime": {
  12223. "description": "更新时间",
  12224. "type": "string"
  12225. },
  12226. "wrstandardcode": {
  12227. "description": "现货商品代码",
  12228. "type": "string"
  12229. },
  12230. "wrstandardid": {
  12231. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12232. "type": "integer"
  12233. },
  12234. "wrstandardname": {
  12235. "description": "现货商品名称",
  12236. "type": "string"
  12237. }
  12238. }
  12239. },
  12240. "models.Externalexchange": {
  12241. "type": "object",
  12242. "required": [
  12243. "autoid"
  12244. ],
  12245. "properties": {
  12246. "autoid": {
  12247. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  12248. "type": "integer"
  12249. },
  12250. "exchangefullname": {
  12251. "description": "外部交易所全称",
  12252. "type": "string"
  12253. },
  12254. "exexchangecode": {
  12255. "description": "外部交易所代码",
  12256. "type": "string"
  12257. },
  12258. "exexchangename": {
  12259. "description": "外部交易所名称(简称)",
  12260. "type": "string"
  12261. },
  12262. "ismarketprice": {
  12263. "description": "是否支持市价 - 0:不支持 1:支持",
  12264. "type": "integer"
  12265. },
  12266. "quotegear": {
  12267. "description": "行情档位(1-10)",
  12268. "type": "integer"
  12269. },
  12270. "showbrokerflag": {
  12271. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  12272. "type": "integer"
  12273. },
  12274. "updatetime": {
  12275. "description": "更新时间",
  12276. "type": "string"
  12277. }
  12278. }
  12279. },
  12280. "models.Goods": {
  12281. "type": "object",
  12282. "required": [
  12283. "goodscode",
  12284. "goodsid",
  12285. "goodsname",
  12286. "marketid"
  12287. ],
  12288. "properties": {
  12289. "agreeunit": {
  12290. "description": "合约单位",
  12291. "type": "number"
  12292. },
  12293. "auditaccountid": {
  12294. "description": "审核操作员账号",
  12295. "type": "integer"
  12296. },
  12297. "audittime": {
  12298. "description": "审核时间",
  12299. "type": "string"
  12300. },
  12301. "cancelaccountid": {
  12302. "description": "注销操作员账号",
  12303. "type": "integer"
  12304. },
  12305. "canceltime": {
  12306. "description": "注销时间",
  12307. "type": "string"
  12308. },
  12309. "closepricemode": {
  12310. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12311. "type": "integer"
  12312. },
  12313. "closepriceparam": {
  12314. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12315. "type": "number"
  12316. },
  12317. "createtime": {
  12318. "description": "创建时间",
  12319. "type": "string"
  12320. },
  12321. "creatorid": {
  12322. "description": "创建人",
  12323. "type": "integer"
  12324. },
  12325. "currencyid": {
  12326. "description": "报价货币ID",
  12327. "type": "integer"
  12328. },
  12329. "cutmode": {
  12330. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12331. "type": "integer"
  12332. },
  12333. "decimalplace": {
  12334. "description": "报价小数位",
  12335. "type": "integer"
  12336. },
  12337. "delistingdate": {
  12338. "description": "商品退市时间(状态:退市) -- 已作废",
  12339. "type": "string"
  12340. },
  12341. "delistingmode": {
  12342. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12343. "type": "integer"
  12344. },
  12345. "deliveryflag": {
  12346. "description": "交割标志 - 0:不可交割 1:可交割",
  12347. "type": "integer"
  12348. },
  12349. "forceclosemode": {
  12350. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12351. "type": "integer"
  12352. },
  12353. "forceclosevalue": {
  12354. "description": "定期强平参数 [收益权]",
  12355. "type": "integer"
  12356. },
  12357. "goodscode": {
  12358. "description": "商品代码(内部)",
  12359. "type": "string"
  12360. },
  12361. "goodscurrencyid": {
  12362. "description": "合约货币ID",
  12363. "type": "integer"
  12364. },
  12365. "goodsgroupid": {
  12366. "description": "所属商品组ID",
  12367. "type": "integer"
  12368. },
  12369. "goodsid": {
  12370. "description": "商品ID(自增ID SEQ_GOODS)",
  12371. "type": "integer"
  12372. },
  12373. "goodsname": {
  12374. "description": "商品名称",
  12375. "type": "string"
  12376. },
  12377. "goodsquotetype": {
  12378. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12379. "type": "integer"
  12380. },
  12381. "goodsstatus": {
  12382. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12383. "type": "integer"
  12384. },
  12385. "goodstradetype": {
  12386. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12387. "type": "integer"
  12388. },
  12389. "goodunitid": {
  12390. "description": "报价单位ID",
  12391. "type": "integer"
  12392. },
  12393. "hasquoter": {
  12394. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12395. "type": "integer"
  12396. },
  12397. "hqprotecttime": {
  12398. "description": "行情保护时间(秒)",
  12399. "type": "integer"
  12400. },
  12401. "innerdealmode": {
  12402. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12403. "type": "integer"
  12404. },
  12405. "isbuylimited": {
  12406. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12407. "type": "integer"
  12408. },
  12409. "lasttradedate": {
  12410. "description": "最后交易日期(状态:待退市)",
  12411. "type": "string"
  12412. },
  12413. "listingdate": {
  12414. "description": "交易开始日期",
  12415. "type": "string"
  12416. },
  12417. "marketid": {
  12418. "description": "所属市场ID",
  12419. "type": "integer"
  12420. },
  12421. "modifierid": {
  12422. "description": "修改人",
  12423. "type": "integer"
  12424. },
  12425. "modifystatus": {
  12426. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12427. "type": "integer"
  12428. },
  12429. "modifytime": {
  12430. "description": "修改时间",
  12431. "type": "string"
  12432. },
  12433. "outerdealmode": {
  12434. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12435. "type": "integer"
  12436. },
  12437. "outgoodscode": {
  12438. "description": "商品代码(外部)",
  12439. "type": "string"
  12440. },
  12441. "qtydecimalplace": {
  12442. "description": "成交量小数位",
  12443. "type": "integer"
  12444. },
  12445. "quotegear": {
  12446. "description": "行情档位(1-10)",
  12447. "type": "integer"
  12448. },
  12449. "quoteminunit": {
  12450. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12451. "type": "integer"
  12452. },
  12453. "quoteshowtype": {
  12454. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12455. "type": "integer"
  12456. },
  12457. "quoteshowtypeinterval": {
  12458. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12459. "type": "integer"
  12460. },
  12461. "remark": {
  12462. "description": "备注",
  12463. "type": "string"
  12464. }
  12465. }
  12466. },
  12467. "models.GoodsBrand": {
  12468. "type": "object",
  12469. "properties": {
  12470. "brandid": {
  12471. "description": "品牌ID",
  12472. "type": "integer"
  12473. },
  12474. "brandname": {
  12475. "description": "品牌名称",
  12476. "type": "string"
  12477. },
  12478. "isvalid": {
  12479. "description": "是否有效 - 0:无效 1:有效",
  12480. "type": "integer"
  12481. }
  12482. }
  12483. },
  12484. "models.GoodsGroupConvert": {
  12485. "type": "object",
  12486. "properties": {
  12487. "convertratio": {
  12488. "description": "折算系数",
  12489. "type": "number"
  12490. },
  12491. "dstgoodsgroupid": {
  12492. "description": "目标期货品种ID",
  12493. "type": "integer"
  12494. },
  12495. "goodsgroupname": {
  12496. "description": "期货品种名称",
  12497. "type": "string"
  12498. },
  12499. "outergroupcode": {
  12500. "description": "期货品种代码",
  12501. "type": "string"
  12502. },
  12503. "srcgoodsgroupid": {
  12504. "description": "源期货品种ID",
  12505. "type": "integer"
  12506. }
  12507. }
  12508. },
  12509. "models.GoodsIDAndName": {
  12510. "type": "object",
  12511. "required": [
  12512. "goodscode",
  12513. "goodsid",
  12514. "goodsname",
  12515. "marketid"
  12516. ],
  12517. "properties": {
  12518. "goodscode": {
  12519. "description": "商品代码(内部)",
  12520. "type": "string"
  12521. },
  12522. "goodsid": {
  12523. "description": "商品ID(自增ID SEQ_GOODS)",
  12524. "type": "integer"
  12525. },
  12526. "goodsname": {
  12527. "description": "商品名称",
  12528. "type": "string"
  12529. },
  12530. "marketid": {
  12531. "description": "所属市场ID",
  12532. "type": "integer"
  12533. }
  12534. }
  12535. },
  12536. "models.GoodsTypeModel": {
  12537. "type": "object",
  12538. "properties": {
  12539. "modelid": {
  12540. "description": "型号ID",
  12541. "type": "integer"
  12542. },
  12543. "modelname": {
  12544. "description": "型号名称",
  12545. "type": "string"
  12546. },
  12547. "updatetime": {
  12548. "description": "更新时间",
  12549. "type": "string"
  12550. }
  12551. }
  12552. },
  12553. "models.Goodsgroup": {
  12554. "type": "object",
  12555. "required": [
  12556. "goodsgroupid",
  12557. "goodsgroupname",
  12558. "goodsgroupstatus",
  12559. "marketid"
  12560. ],
  12561. "properties": {
  12562. "agreeunit": {
  12563. "description": "合约单位",
  12564. "type": "number"
  12565. },
  12566. "canshort": {
  12567. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12568. "type": "integer"
  12569. },
  12570. "closepricemode": {
  12571. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12572. "type": "integer"
  12573. },
  12574. "closepriceparam": {
  12575. "description": "强平最新价浮动比例 - 方式为2时使用",
  12576. "type": "number"
  12577. },
  12578. "createtime": {
  12579. "description": "创建时间",
  12580. "type": "string"
  12581. },
  12582. "creatorid": {
  12583. "description": "创建人",
  12584. "type": "integer"
  12585. },
  12586. "currencyid": {
  12587. "description": "报价货币ID",
  12588. "type": "integer"
  12589. },
  12590. "decimalplace": {
  12591. "description": "报价小数位",
  12592. "type": "integer"
  12593. },
  12594. "exercisetype": {
  12595. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  12596. "type": "integer"
  12597. },
  12598. "exexchangeid": {
  12599. "description": "外部交易所ID[通道交易]",
  12600. "type": "integer"
  12601. },
  12602. "goodsgroupid": {
  12603. "description": "商品组ID(自增ID)",
  12604. "type": "integer"
  12605. },
  12606. "goodsgroupname": {
  12607. "description": "商品组名称",
  12608. "type": "string"
  12609. },
  12610. "goodsgroupstatus": {
  12611. "description": "商品组状态 - 1:正常 2:注销",
  12612. "type": "integer"
  12613. },
  12614. "goodunitid": {
  12615. "description": "报价单位ID",
  12616. "type": "integer"
  12617. },
  12618. "innerdealmode": {
  12619. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12620. "type": "integer"
  12621. },
  12622. "isbuylimited": {
  12623. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12624. "type": "integer"
  12625. },
  12626. "marketid": {
  12627. "description": "所属市场ID",
  12628. "type": "integer"
  12629. },
  12630. "modifierid": {
  12631. "description": "修改人",
  12632. "type": "integer"
  12633. },
  12634. "modifytime": {
  12635. "description": "修改时间",
  12636. "type": "string"
  12637. },
  12638. "outerdealmode": {
  12639. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12640. "type": "integer"
  12641. },
  12642. "outergroupcode": {
  12643. "description": "外部商品组代码[通道交易]",
  12644. "type": "string"
  12645. },
  12646. "premiumdecimalplace": {
  12647. "description": "权利金小数位[场外期权]",
  12648. "type": "integer"
  12649. },
  12650. "premiumspreadalgorithm": {
  12651. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  12652. "type": "integer"
  12653. },
  12654. "premiumspreadvalue": {
  12655. "description": "权利金点差值[场外期权]",
  12656. "type": "number"
  12657. },
  12658. "qtydecimalplace": {
  12659. "description": "成交量小数位",
  12660. "type": "integer"
  12661. },
  12662. "quotegear": {
  12663. "description": "行情档位(1-10)",
  12664. "type": "integer"
  12665. },
  12666. "quoteminunit": {
  12667. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12668. "type": "integer"
  12669. },
  12670. "quoterid": {
  12671. "description": "报价商ID[场外期权]",
  12672. "type": "integer"
  12673. },
  12674. "quotesourcegroupid": {
  12675. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12676. "type": "integer"
  12677. },
  12678. "syncgoodsqty": {
  12679. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12680. "type": "integer"
  12681. }
  12682. }
  12683. },
  12684. "models.HsbyBuyMyPayOrder": {
  12685. "type": "object",
  12686. "required": [
  12687. "goodscode",
  12688. "goodsname",
  12689. "tradeid",
  12690. "trademode"
  12691. ],
  12692. "properties": {
  12693. "agreeunit": {
  12694. "description": "合约单位",
  12695. "type": "number"
  12696. },
  12697. "buyaccountid": {
  12698. "description": "买方账号ID[报价币种]",
  12699. "type": "integer"
  12700. },
  12701. "buyorderid": {
  12702. "description": "买方委托单号",
  12703. "type": "string"
  12704. },
  12705. "createtime": {
  12706. "description": "创建时间",
  12707. "type": "string"
  12708. },
  12709. "currencysign": {
  12710. "description": "货币符号",
  12711. "type": "string"
  12712. },
  12713. "decimalplace": {
  12714. "description": "报价小数位",
  12715. "type": "integer"
  12716. },
  12717. "goodscode": {
  12718. "description": "商品代码(内部)",
  12719. "type": "string"
  12720. },
  12721. "goodsid": {
  12722. "description": "商品ID",
  12723. "type": "integer"
  12724. },
  12725. "goodsname": {
  12726. "description": "商品名称",
  12727. "type": "string"
  12728. },
  12729. "marketid": {
  12730. "description": "市场ID",
  12731. "type": "integer"
  12732. },
  12733. "offamount": {
  12734. "description": "优惠金额",
  12735. "type": "number"
  12736. },
  12737. "payamount": {
  12738. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12739. "type": "number"
  12740. },
  12741. "payflag": {
  12742. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12743. "type": "integer"
  12744. },
  12745. "paylimitedtime": {
  12746. "description": "支付期限",
  12747. "type": "string"
  12748. },
  12749. "paytime": {
  12750. "description": "付款时间",
  12751. "type": "string"
  12752. },
  12753. "picurls1": {
  12754. "description": "预售商品介绍图片[多张用逗号分隔]",
  12755. "type": "string"
  12756. },
  12757. "picurls2": {
  12758. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12759. "type": "string"
  12760. },
  12761. "sellaccountid": {
  12762. "description": "卖方账号ID[报价币种]",
  12763. "type": "integer"
  12764. },
  12765. "sellorderid": {
  12766. "description": "卖方委托单号",
  12767. "type": "string"
  12768. },
  12769. "tradeamount": {
  12770. "description": "成交金额",
  12771. "type": "number"
  12772. },
  12773. "tradecharge": {
  12774. "description": "成交手续费(买方)",
  12775. "type": "number"
  12776. },
  12777. "tradedate": {
  12778. "description": "交易日(yyyyMMdd)",
  12779. "type": "string"
  12780. },
  12781. "tradeid": {
  12782. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12783. "type": "string"
  12784. },
  12785. "trademode": {
  12786. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12787. "type": "integer"
  12788. },
  12789. "tradeprice": {
  12790. "description": "成交价格",
  12791. "type": "number"
  12792. },
  12793. "tradeqty": {
  12794. "description": "成交数量",
  12795. "type": "integer"
  12796. },
  12797. "vendorname1": {
  12798. "description": "预售商品供应商名称",
  12799. "type": "string"
  12800. },
  12801. "vendorname2": {
  12802. "description": "挂牌商品供应商名称",
  12803. "type": "string"
  12804. }
  12805. }
  12806. },
  12807. "models.HsbyBuyMyTradeDetail": {
  12808. "type": "object",
  12809. "required": [
  12810. "accountid",
  12811. "buyorsell",
  12812. "goodscode",
  12813. "goodsid",
  12814. "goodsname",
  12815. "marketid",
  12816. "orderid",
  12817. "qty",
  12818. "time",
  12819. "trademode"
  12820. ],
  12821. "properties": {
  12822. "accountid": {
  12823. "description": "账户ID[报价币种]",
  12824. "type": "integer"
  12825. },
  12826. "agreeunit": {
  12827. "description": "合约单位",
  12828. "type": "number"
  12829. },
  12830. "amount": {
  12831. "description": "金额 = 价格 * 数量 * 合约单位",
  12832. "type": "number"
  12833. },
  12834. "buyorsell": {
  12835. "description": "买卖 - 0:买 1:卖",
  12836. "type": "integer"
  12837. },
  12838. "currencysign": {
  12839. "description": "货币符号",
  12840. "type": "string"
  12841. },
  12842. "decimalplace": {
  12843. "description": "报价小数位",
  12844. "type": "integer"
  12845. },
  12846. "goodscode": {
  12847. "description": "商品代码(内部)",
  12848. "type": "string"
  12849. },
  12850. "goodsid": {
  12851. "description": "商品ID",
  12852. "type": "integer"
  12853. },
  12854. "goodsname": {
  12855. "description": "商品名称",
  12856. "type": "string"
  12857. },
  12858. "marketid": {
  12859. "description": "市场ID",
  12860. "type": "integer"
  12861. },
  12862. "orderid": {
  12863. "description": "单号(成交单号)",
  12864. "type": "string"
  12865. },
  12866. "picurls1": {
  12867. "description": "预售商品介绍图片[多张用逗号分隔]",
  12868. "type": "string"
  12869. },
  12870. "picurls2": {
  12871. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12872. "type": "string"
  12873. },
  12874. "price": {
  12875. "description": "价格",
  12876. "type": "number"
  12877. },
  12878. "qty": {
  12879. "description": "数量",
  12880. "type": "integer"
  12881. },
  12882. "time": {
  12883. "description": "时间",
  12884. "type": "string"
  12885. },
  12886. "trademode": {
  12887. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12888. "type": "integer"
  12889. },
  12890. "vendorname1": {
  12891. "description": "预售商品供应商名称",
  12892. "type": "string"
  12893. },
  12894. "vendorname2": {
  12895. "description": "挂牌商品供应商名称",
  12896. "type": "string"
  12897. }
  12898. }
  12899. },
  12900. "models.HsbyGoodsOrderDetail": {
  12901. "type": "object",
  12902. "required": [
  12903. "buyorsell",
  12904. "orderid",
  12905. "ordertime"
  12906. ],
  12907. "properties": {
  12908. "buyorsell": {
  12909. "description": "买卖 - 0:买 1:卖",
  12910. "type": "integer"
  12911. },
  12912. "currencysign": {
  12913. "description": "货币符号",
  12914. "type": "string"
  12915. },
  12916. "customername": {
  12917. "description": "客户名称(企业名称),已脱敏",
  12918. "type": "string"
  12919. },
  12920. "enableqty": {
  12921. "description": "可用数量",
  12922. "type": "integer"
  12923. },
  12924. "goodunit": {
  12925. "description": "报价单位",
  12926. "type": "string"
  12927. },
  12928. "orderid": {
  12929. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12930. "type": "string"
  12931. },
  12932. "orderprice": {
  12933. "description": "委托价格",
  12934. "type": "number"
  12935. },
  12936. "ordertime": {
  12937. "description": "委托时间",
  12938. "type": "string"
  12939. }
  12940. }
  12941. },
  12942. "models.HsbyListingGoodsDetail": {
  12943. "type": "object",
  12944. "required": [
  12945. "goodscode",
  12946. "goodsid",
  12947. "goodsname",
  12948. "marketid",
  12949. "trademode"
  12950. ],
  12951. "properties": {
  12952. "agreeunit": {
  12953. "description": "合约单位",
  12954. "type": "number"
  12955. },
  12956. "buymaxqty": {
  12957. "description": "购买上限 [71] - 0为不限",
  12958. "type": "integer"
  12959. },
  12960. "currency": {
  12961. "description": "货币",
  12962. "type": "string"
  12963. },
  12964. "currencysign": {
  12965. "description": "货币符号",
  12966. "type": "string"
  12967. },
  12968. "decimalplace": {
  12969. "description": "报价小数位",
  12970. "type": "integer"
  12971. },
  12972. "desccityid": {
  12973. "description": "目的地(市)ID",
  12974. "type": "integer"
  12975. },
  12976. "descprovinceid": {
  12977. "description": "目的地(省)ID",
  12978. "type": "integer"
  12979. },
  12980. "goodscode": {
  12981. "description": "商品代码(内部)",
  12982. "type": "string"
  12983. },
  12984. "goodsdesc": {
  12985. "description": "商品详情",
  12986. "type": "string"
  12987. },
  12988. "goodsid": {
  12989. "description": "商品ID(自增ID SEQ_GOODS)",
  12990. "type": "integer"
  12991. },
  12992. "goodsname": {
  12993. "description": "商品名称",
  12994. "type": "string"
  12995. },
  12996. "goodsprice": {
  12997. "description": "商品价格",
  12998. "type": "number"
  12999. },
  13000. "hotindex": {
  13001. "description": "景点热度",
  13002. "type": "integer"
  13003. },
  13004. "last": {
  13005. "description": "现价",
  13006. "type": "number"
  13007. },
  13008. "limitdown": {
  13009. "description": "跌停价",
  13010. "type": "number"
  13011. },
  13012. "limitup": {
  13013. "description": "涨停价",
  13014. "type": "number"
  13015. },
  13016. "lotsize": {
  13017. "description": "手数最小变动单位",
  13018. "type": "integer"
  13019. },
  13020. "marketid": {
  13021. "description": "所属市场ID",
  13022. "type": "integer"
  13023. },
  13024. "picurls": {
  13025. "description": "介绍图片[多张用逗号分隔]",
  13026. "type": "string"
  13027. },
  13028. "quoteminunit": {
  13029. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13030. "type": "integer"
  13031. },
  13032. "stepvalue": {
  13033. "description": "价格最小变动单位",
  13034. "type": "number"
  13035. },
  13036. "trademode": {
  13037. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13038. "type": "integer"
  13039. },
  13040. "vendorattr": {
  13041. "description": "供应商附件(多张,逗号分隔)",
  13042. "type": "string"
  13043. },
  13044. "vendorname": {
  13045. "description": "供应商名称",
  13046. "type": "string"
  13047. },
  13048. "vendorphone": {
  13049. "description": "供应商客服电话",
  13050. "type": "string"
  13051. },
  13052. "videourls": {
  13053. "description": "介绍视频[多张用逗号分隔]",
  13054. "type": "string"
  13055. }
  13056. }
  13057. },
  13058. "models.HsbyMarketGoods": {
  13059. "type": "object",
  13060. "required": [
  13061. "accountid",
  13062. "buyorsell",
  13063. "goodscode",
  13064. "goodsid",
  13065. "goodsname",
  13066. "marketid",
  13067. "orderid",
  13068. "trademode"
  13069. ],
  13070. "properties": {
  13071. "accountid": {
  13072. "description": "账户ID[报价币种]",
  13073. "type": "integer"
  13074. },
  13075. "agreeunit": {
  13076. "description": "合约单位",
  13077. "type": "number"
  13078. },
  13079. "buyorsell": {
  13080. "description": "买卖 - 0:买 1:卖",
  13081. "type": "integer"
  13082. },
  13083. "categoryid": {
  13084. "description": "类别ID(WRCATEGORY)",
  13085. "type": "integer"
  13086. },
  13087. "currency": {
  13088. "description": "货币",
  13089. "type": "string"
  13090. },
  13091. "currencysign": {
  13092. "description": "货币符号",
  13093. "type": "string"
  13094. },
  13095. "customername": {
  13096. "description": "卖家名称",
  13097. "type": "string"
  13098. },
  13099. "decimalplace": {
  13100. "description": "报价小数位",
  13101. "type": "integer"
  13102. },
  13103. "goodscode": {
  13104. "description": "商品代码(内部)",
  13105. "type": "string"
  13106. },
  13107. "goodsid": {
  13108. "description": "商品ID",
  13109. "type": "integer"
  13110. },
  13111. "goodsname": {
  13112. "description": "商品名称",
  13113. "type": "string"
  13114. },
  13115. "goodsprice": {
  13116. "description": "商品价格",
  13117. "type": "number"
  13118. },
  13119. "hascoupon": {
  13120. "description": "是否可用优惠卷",
  13121. "type": "boolean"
  13122. },
  13123. "hotindex": {
  13124. "description": "景点热度",
  13125. "type": "integer"
  13126. },
  13127. "marketid": {
  13128. "description": "市场ID",
  13129. "type": "integer"
  13130. },
  13131. "orderid": {
  13132. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13133. "type": "string"
  13134. },
  13135. "orderprice": {
  13136. "description": "委托价格",
  13137. "type": "number"
  13138. },
  13139. "orderstatus": {
  13140. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13141. "type": "integer"
  13142. },
  13143. "picurls": {
  13144. "description": "介绍图片[多张用逗号分隔]",
  13145. "type": "string"
  13146. },
  13147. "quoteminunit": {
  13148. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13149. "type": "integer"
  13150. },
  13151. "sellUserID": {
  13152. "description": "卖方UserID",
  13153. "type": "integer"
  13154. },
  13155. "trademode": {
  13156. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13157. "type": "integer"
  13158. },
  13159. "videourls": {
  13160. "description": "介绍视频[多张用逗号分隔]",
  13161. "type": "string"
  13162. }
  13163. }
  13164. },
  13165. "models.HsbyMarketGoodsDetail": {
  13166. "type": "object",
  13167. "required": [
  13168. "accountid",
  13169. "buyorsell",
  13170. "goodscode",
  13171. "goodsid",
  13172. "goodsname",
  13173. "marketid",
  13174. "orderid",
  13175. "orderqty",
  13176. "trademode"
  13177. ],
  13178. "properties": {
  13179. "accountid": {
  13180. "description": "账户ID[报价币种]",
  13181. "type": "integer"
  13182. },
  13183. "agreeunit": {
  13184. "description": "合约单位",
  13185. "type": "number"
  13186. },
  13187. "buymaxqty": {
  13188. "description": "购买上限 [71] - 0为不限",
  13189. "type": "integer"
  13190. },
  13191. "buyorsell": {
  13192. "description": "买卖 - 0:买 1:卖",
  13193. "type": "integer"
  13194. },
  13195. "cancelqty": {
  13196. "description": "撤单数量",
  13197. "type": "integer"
  13198. },
  13199. "categoryid": {
  13200. "description": "类别ID(WRCATEGORY)",
  13201. "type": "integer"
  13202. },
  13203. "currency": {
  13204. "description": "货币",
  13205. "type": "string"
  13206. },
  13207. "currencysign": {
  13208. "description": "货币符号",
  13209. "type": "string"
  13210. },
  13211. "customername": {
  13212. "description": "卖家名称",
  13213. "type": "string"
  13214. },
  13215. "decimalplace": {
  13216. "description": "报价小数位",
  13217. "type": "integer"
  13218. },
  13219. "goodscode": {
  13220. "description": "商品代码(内部)",
  13221. "type": "string"
  13222. },
  13223. "goodsdesc": {
  13224. "description": "商品详情",
  13225. "type": "string"
  13226. },
  13227. "goodsid": {
  13228. "description": "商品ID",
  13229. "type": "integer"
  13230. },
  13231. "goodsname": {
  13232. "description": "商品名称",
  13233. "type": "string"
  13234. },
  13235. "goodsprice": {
  13236. "description": "商品价格",
  13237. "type": "number"
  13238. },
  13239. "hotindex": {
  13240. "description": "景点热度",
  13241. "type": "integer"
  13242. },
  13243. "lotsize": {
  13244. "description": "手数最小变动单位",
  13245. "type": "integer"
  13246. },
  13247. "marketid": {
  13248. "description": "市场ID",
  13249. "type": "integer"
  13250. },
  13251. "orderid": {
  13252. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13253. "type": "string"
  13254. },
  13255. "orderprice": {
  13256. "description": "委托价格",
  13257. "type": "number"
  13258. },
  13259. "orderqty": {
  13260. "description": "委托数量",
  13261. "type": "integer"
  13262. },
  13263. "orderstatus": {
  13264. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13265. "type": "integer"
  13266. },
  13267. "picurls": {
  13268. "description": "介绍图片[多张用逗号分隔]",
  13269. "type": "string"
  13270. },
  13271. "quoteminunit": {
  13272. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13273. "type": "integer"
  13274. },
  13275. "sellUserID": {
  13276. "description": "卖方UserID",
  13277. "type": "integer"
  13278. },
  13279. "trademode": {
  13280. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13281. "type": "integer"
  13282. },
  13283. "tradeqty": {
  13284. "description": "成交数量",
  13285. "type": "integer"
  13286. },
  13287. "vendorattr": {
  13288. "description": "供应商附件(多张,逗号分隔)",
  13289. "type": "string"
  13290. },
  13291. "vendorname": {
  13292. "description": "供应商名称",
  13293. "type": "string"
  13294. },
  13295. "vendorphone": {
  13296. "description": "供应商客服电话",
  13297. "type": "string"
  13298. },
  13299. "videourls": {
  13300. "description": "介绍视频[多张用逗号分隔]",
  13301. "type": "string"
  13302. }
  13303. }
  13304. },
  13305. "models.HsbyMarketInfo": {
  13306. "type": "object",
  13307. "required": [
  13308. "marketid",
  13309. "marketstatus",
  13310. "trademode"
  13311. ],
  13312. "properties": {
  13313. "marketid": {
  13314. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13315. "type": "integer"
  13316. },
  13317. "marketname": {
  13318. "description": "市场名称",
  13319. "type": "string"
  13320. },
  13321. "marketstatus": {
  13322. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13323. "type": "integer"
  13324. },
  13325. "trademode": {
  13326. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13327. "type": "integer"
  13328. }
  13329. }
  13330. },
  13331. "models.HsbyMyGoods": {
  13332. "type": "object",
  13333. "required": [
  13334. "accountid",
  13335. "goodscode",
  13336. "goodsid",
  13337. "goodsname",
  13338. "marketid",
  13339. "trademode"
  13340. ],
  13341. "properties": {
  13342. "accountid": {
  13343. "description": "账号Id",
  13344. "type": "integer"
  13345. },
  13346. "agreeunit": {
  13347. "description": "合约单位",
  13348. "type": "number"
  13349. },
  13350. "buyaverageprice": {
  13351. "description": "持仓均价",
  13352. "type": "number"
  13353. },
  13354. "buycurholderamount": {
  13355. "description": "买当前持仓总金额[商品币种]",
  13356. "type": "number"
  13357. },
  13358. "buycurpositionqty": {
  13359. "description": "买当前持仓总数量",
  13360. "type": "integer"
  13361. },
  13362. "buymaxqty": {
  13363. "description": "购买上限 [71] - 0为不限",
  13364. "type": "integer"
  13365. },
  13366. "currencysign": {
  13367. "description": "货币符号",
  13368. "type": "string"
  13369. },
  13370. "decimalplace": {
  13371. "description": "报价小数位",
  13372. "type": "integer"
  13373. },
  13374. "enableqty": {
  13375. "description": "可用数量",
  13376. "type": "integer"
  13377. },
  13378. "goodscode": {
  13379. "description": "商品代码(内部)",
  13380. "type": "string"
  13381. },
  13382. "goodsid": {
  13383. "description": "商品Id",
  13384. "type": "integer"
  13385. },
  13386. "goodsname": {
  13387. "description": "商品名称",
  13388. "type": "string"
  13389. },
  13390. "goodsprice": {
  13391. "description": "商品价格",
  13392. "type": "number"
  13393. },
  13394. "goodsstatus": {
  13395. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13396. "type": "integer"
  13397. },
  13398. "last": {
  13399. "description": "现价(仅使用于挂牌点选)",
  13400. "type": "number"
  13401. },
  13402. "limitdown": {
  13403. "description": "跌停价(仅使用于挂牌点选)",
  13404. "type": "number"
  13405. },
  13406. "limitup": {
  13407. "description": "涨停价(仅使用于挂牌点选)",
  13408. "type": "number"
  13409. },
  13410. "lotsize": {
  13411. "description": "手数最小变动单位",
  13412. "type": "integer"
  13413. },
  13414. "marketid": {
  13415. "description": "所属市场ID",
  13416. "type": "integer"
  13417. },
  13418. "picurls": {
  13419. "description": "介绍图片[多张用逗号分隔]",
  13420. "type": "string"
  13421. },
  13422. "quoteminunit": {
  13423. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13424. "type": "integer"
  13425. },
  13426. "stepvalue": {
  13427. "description": "价格最小变动单位",
  13428. "type": "number"
  13429. },
  13430. "trademode": {
  13431. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13432. "type": "integer"
  13433. }
  13434. }
  13435. },
  13436. "models.HsbyMyPackage": {
  13437. "type": "object",
  13438. "required": [
  13439. "goodscode",
  13440. "goodsname",
  13441. "takeorderid",
  13442. "trademode"
  13443. ],
  13444. "properties": {
  13445. "accountid": {
  13446. "description": "账户ID",
  13447. "type": "integer"
  13448. },
  13449. "address": {
  13450. "description": "提货人详细地址",
  13451. "type": "string"
  13452. },
  13453. "agreeunit": {
  13454. "description": "合约单位",
  13455. "type": "number"
  13456. },
  13457. "amount": {
  13458. "description": "提货金额",
  13459. "type": "number"
  13460. },
  13461. "auditer": {
  13462. "description": "审核人",
  13463. "type": "integer"
  13464. },
  13465. "audittime": {
  13466. "description": "审核时间",
  13467. "type": "string"
  13468. },
  13469. "averageprice": {
  13470. "description": "均价",
  13471. "type": "number"
  13472. },
  13473. "cardnum": {
  13474. "description": "提货人证件号码",
  13475. "type": "string"
  13476. },
  13477. "cardtypeid": {
  13478. "description": "提货人证件类型",
  13479. "type": "integer"
  13480. },
  13481. "checkremark": {
  13482. "description": "审核备注",
  13483. "type": "string"
  13484. },
  13485. "currencysign": {
  13486. "description": "货币符号",
  13487. "type": "string"
  13488. },
  13489. "decimalplace": {
  13490. "description": "报价小数位",
  13491. "type": "integer"
  13492. },
  13493. "goodscode": {
  13494. "description": "商品代码(内部)",
  13495. "type": "string"
  13496. },
  13497. "goodsid": {
  13498. "description": "商品ID",
  13499. "type": "integer"
  13500. },
  13501. "goodsname": {
  13502. "description": "商品名称",
  13503. "type": "string"
  13504. },
  13505. "handlestatus": {
  13506. "description": "处理状态",
  13507. "type": "integer"
  13508. },
  13509. "marketid": {
  13510. "description": "市场ID",
  13511. "type": "integer"
  13512. },
  13513. "phonenum": {
  13514. "description": "提货人联系方式",
  13515. "type": "string"
  13516. },
  13517. "picurls": {
  13518. "description": "介绍图片[多张用逗号分隔]",
  13519. "type": "string"
  13520. },
  13521. "qty": {
  13522. "description": "提货数量",
  13523. "type": "number"
  13524. },
  13525. "recivername": {
  13526. "description": "提货人姓名",
  13527. "type": "string"
  13528. },
  13529. "reqtime": {
  13530. "description": "更新时间",
  13531. "type": "string"
  13532. },
  13533. "takemode": {
  13534. "description": "提货方式 - 2:自提 3:配送",
  13535. "type": "integer"
  13536. },
  13537. "takeorderid": {
  13538. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13539. "type": "string"
  13540. },
  13541. "takeorderstatus": {
  13542. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13543. "type": "integer"
  13544. },
  13545. "takeremark": {
  13546. "description": "提货备注",
  13547. "type": "string"
  13548. },
  13549. "tradedate": {
  13550. "description": "交易日(yyyyMMdd)",
  13551. "type": "string"
  13552. },
  13553. "trademode": {
  13554. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13555. "type": "integer"
  13556. },
  13557. "userid": {
  13558. "description": "用户ID",
  13559. "type": "integer"
  13560. },
  13561. "vendorname": {
  13562. "description": "供应商名称",
  13563. "type": "string"
  13564. }
  13565. }
  13566. },
  13567. "models.HsbyPreGoods": {
  13568. "type": "object",
  13569. "required": [
  13570. "goodscode",
  13571. "goodsid",
  13572. "goodsname",
  13573. "marketid",
  13574. "trademode"
  13575. ],
  13576. "properties": {
  13577. "agreeunit": {
  13578. "description": "合约单位",
  13579. "type": "number"
  13580. },
  13581. "currency": {
  13582. "description": "货币",
  13583. "type": "string"
  13584. },
  13585. "currencysign": {
  13586. "description": "货币符号",
  13587. "type": "string"
  13588. },
  13589. "decimalplace": {
  13590. "description": "报价小数位",
  13591. "type": "integer"
  13592. },
  13593. "desccityid": {
  13594. "description": "目的地(市)",
  13595. "type": "integer"
  13596. },
  13597. "descprovinceid": {
  13598. "description": "目的地(省)",
  13599. "type": "integer"
  13600. },
  13601. "enableqty": {
  13602. "description": "剩余数量",
  13603. "type": "integer"
  13604. },
  13605. "goodscode": {
  13606. "description": "商品代码(内部)",
  13607. "type": "string"
  13608. },
  13609. "goodsid": {
  13610. "description": "商品ID(自增ID SEQ_GOODS)",
  13611. "type": "integer"
  13612. },
  13613. "goodsname": {
  13614. "description": "商品名称",
  13615. "type": "string"
  13616. },
  13617. "goodsstatus": {
  13618. "description": "商品状态- 2:未上市 3:上市",
  13619. "type": "integer"
  13620. },
  13621. "lasttradedate": {
  13622. "description": "最后交易日期(状态:待退市)",
  13623. "type": "string"
  13624. },
  13625. "listingdate": {
  13626. "description": "交易开始日期",
  13627. "type": "string"
  13628. },
  13629. "marketid": {
  13630. "description": "所属市场ID",
  13631. "type": "integer"
  13632. },
  13633. "picurls": {
  13634. "description": "介绍图片[多张用逗号分隔]",
  13635. "type": "string"
  13636. },
  13637. "presaledqty": {
  13638. "description": "已预售量(预售结束时更新)",
  13639. "type": "integer"
  13640. },
  13641. "presaleqty": {
  13642. "description": "预售数量",
  13643. "type": "integer"
  13644. },
  13645. "quoteminunit": {
  13646. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13647. "type": "integer"
  13648. },
  13649. "refprice": {
  13650. "description": "参考价格[一口价]",
  13651. "type": "number"
  13652. },
  13653. "relatedgoodsid": {
  13654. "description": "关联交易合约ID",
  13655. "type": "integer"
  13656. },
  13657. "trademode": {
  13658. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13659. "type": "integer"
  13660. },
  13661. "videourls": {
  13662. "description": "介绍视频[多张用逗号分隔]",
  13663. "type": "string"
  13664. }
  13665. }
  13666. },
  13667. "models.HsbyPreGoodsDetail": {
  13668. "type": "object",
  13669. "required": [
  13670. "goodscode",
  13671. "goodsid",
  13672. "goodsname",
  13673. "marketid",
  13674. "trademode"
  13675. ],
  13676. "properties": {
  13677. "agreeunit": {
  13678. "description": "合约单位",
  13679. "type": "number"
  13680. },
  13681. "buymaxqty": {
  13682. "description": "购买上限 [71] - 0为不限",
  13683. "type": "integer"
  13684. },
  13685. "currency": {
  13686. "description": "货币",
  13687. "type": "string"
  13688. },
  13689. "currencysign": {
  13690. "description": "货币符号",
  13691. "type": "string"
  13692. },
  13693. "customername": {
  13694. "description": "发行单位",
  13695. "type": "string"
  13696. },
  13697. "decimalplace": {
  13698. "description": "报价小数位",
  13699. "type": "integer"
  13700. },
  13701. "desccityid": {
  13702. "description": "目的地(市)ID",
  13703. "type": "integer"
  13704. },
  13705. "descprovinceid": {
  13706. "description": "目的地(省)ID",
  13707. "type": "integer"
  13708. },
  13709. "enableqty": {
  13710. "description": "剩余数量",
  13711. "type": "integer"
  13712. },
  13713. "goodscode": {
  13714. "description": "商品代码(内部)",
  13715. "type": "string"
  13716. },
  13717. "goodsdesc": {
  13718. "description": "商品详情",
  13719. "type": "string"
  13720. },
  13721. "goodsid": {
  13722. "description": "商品ID(自增ID SEQ_GOODS)",
  13723. "type": "integer"
  13724. },
  13725. "goodsname": {
  13726. "description": "商品名称",
  13727. "type": "string"
  13728. },
  13729. "goodsstatus": {
  13730. "description": "商品状态- 2:未上市 3:上市",
  13731. "type": "integer"
  13732. },
  13733. "goodunit": {
  13734. "description": "报价单位",
  13735. "type": "string"
  13736. },
  13737. "lasttradedate": {
  13738. "description": "最后交易日期(状态:待退市)",
  13739. "type": "string"
  13740. },
  13741. "listingdate": {
  13742. "description": "交易开始日期",
  13743. "type": "string"
  13744. },
  13745. "lotsize": {
  13746. "description": "手数最小变动单位",
  13747. "type": "integer"
  13748. },
  13749. "marketid": {
  13750. "description": "所属市场ID",
  13751. "type": "integer"
  13752. },
  13753. "picurls": {
  13754. "description": "介绍图片[多张用逗号分隔]",
  13755. "type": "string"
  13756. },
  13757. "presaledqty": {
  13758. "description": "已预售量(预售结束时更新)",
  13759. "type": "integer"
  13760. },
  13761. "presaleqty": {
  13762. "description": "预售数量",
  13763. "type": "integer"
  13764. },
  13765. "quoteminunit": {
  13766. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13767. "type": "integer"
  13768. },
  13769. "refprice": {
  13770. "description": "参考价格[一口价]",
  13771. "type": "number"
  13772. },
  13773. "relatedgoodsid": {
  13774. "description": "关联交易合约ID",
  13775. "type": "integer"
  13776. },
  13777. "stepvalue": {
  13778. "description": "价格最小变动单位",
  13779. "type": "number"
  13780. },
  13781. "trademode": {
  13782. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13783. "type": "integer"
  13784. },
  13785. "vendorattr": {
  13786. "description": "供应商附件(多张,逗号分隔)",
  13787. "type": "string"
  13788. },
  13789. "vendorname": {
  13790. "description": "供应商名称",
  13791. "type": "string"
  13792. },
  13793. "vendorphone": {
  13794. "description": "供应商客服电话",
  13795. "type": "string"
  13796. },
  13797. "videourls": {
  13798. "description": "介绍视频[多张用逗号分隔]",
  13799. "type": "string"
  13800. }
  13801. }
  13802. },
  13803. "models.HsbySellCollectionOrder": {
  13804. "type": "object",
  13805. "required": [
  13806. "goodscode",
  13807. "goodsname",
  13808. "tradeid",
  13809. "trademode"
  13810. ],
  13811. "properties": {
  13812. "agreeunit": {
  13813. "description": "合约单位",
  13814. "type": "number"
  13815. },
  13816. "buyaccountid": {
  13817. "description": "买方账号ID[报价币种]",
  13818. "type": "integer"
  13819. },
  13820. "buyorderid": {
  13821. "description": "买方委托单号",
  13822. "type": "string"
  13823. },
  13824. "createtime": {
  13825. "description": "创建时间",
  13826. "type": "string"
  13827. },
  13828. "currencysign": {
  13829. "description": "货币符号",
  13830. "type": "string"
  13831. },
  13832. "decimalplace": {
  13833. "description": "报价小数位",
  13834. "type": "integer"
  13835. },
  13836. "goodscode": {
  13837. "description": "商品代码(内部)",
  13838. "type": "string"
  13839. },
  13840. "goodsid": {
  13841. "description": "商品ID",
  13842. "type": "integer"
  13843. },
  13844. "goodsname": {
  13845. "description": "商品名称",
  13846. "type": "string"
  13847. },
  13848. "marketid": {
  13849. "description": "市场ID",
  13850. "type": "integer"
  13851. },
  13852. "offamount": {
  13853. "description": "优惠金额",
  13854. "type": "number"
  13855. },
  13856. "payamount": {
  13857. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13858. "type": "number"
  13859. },
  13860. "payflag": {
  13861. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13862. "type": "integer"
  13863. },
  13864. "paylimitedtime": {
  13865. "description": "支付期限",
  13866. "type": "string"
  13867. },
  13868. "paytime": {
  13869. "description": "付款时间",
  13870. "type": "string"
  13871. },
  13872. "picurls": {
  13873. "description": "商品介绍图片[多张用逗号分隔]",
  13874. "type": "string"
  13875. },
  13876. "sellaccountid": {
  13877. "description": "卖方账号ID[报价币种]",
  13878. "type": "integer"
  13879. },
  13880. "sellorderid": {
  13881. "description": "卖方委托单号",
  13882. "type": "string"
  13883. },
  13884. "tradeamount": {
  13885. "description": "成交金额",
  13886. "type": "number"
  13887. },
  13888. "tradecharge": {
  13889. "description": "成交手续费(买方)",
  13890. "type": "number"
  13891. },
  13892. "tradedate": {
  13893. "description": "交易日(yyyyMMdd)",
  13894. "type": "string"
  13895. },
  13896. "tradeid": {
  13897. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13898. "type": "string"
  13899. },
  13900. "trademode": {
  13901. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13902. "type": "integer"
  13903. },
  13904. "tradeprice": {
  13905. "description": "成交价格",
  13906. "type": "number"
  13907. },
  13908. "tradeqty": {
  13909. "description": "成交数量",
  13910. "type": "integer"
  13911. }
  13912. }
  13913. },
  13914. "models.HsbySellMyDetail": {
  13915. "type": "object",
  13916. "required": [
  13917. "accountid",
  13918. "buyorsell",
  13919. "goodscode",
  13920. "goodsid",
  13921. "goodsname",
  13922. "marketid",
  13923. "orderid",
  13924. "time",
  13925. "trademode"
  13926. ],
  13927. "properties": {
  13928. "accountid": {
  13929. "description": "账户ID[报价币种]",
  13930. "type": "integer"
  13931. },
  13932. "agreeunit": {
  13933. "description": "合约单位",
  13934. "type": "number"
  13935. },
  13936. "buyorsell": {
  13937. "description": "买卖 - 0:买 1:卖",
  13938. "type": "integer"
  13939. },
  13940. "currencysign": {
  13941. "description": "货币符号",
  13942. "type": "string"
  13943. },
  13944. "decimalplace": {
  13945. "description": "报价小数位",
  13946. "type": "integer"
  13947. },
  13948. "goodscode": {
  13949. "description": "商品代码(内部)",
  13950. "type": "string"
  13951. },
  13952. "goodsid": {
  13953. "description": "商品ID",
  13954. "type": "integer"
  13955. },
  13956. "goodsname": {
  13957. "description": "商品名称",
  13958. "type": "string"
  13959. },
  13960. "marketid": {
  13961. "description": "市场ID",
  13962. "type": "integer"
  13963. },
  13964. "orderid": {
  13965. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13966. "type": "string"
  13967. },
  13968. "ordertype": {
  13969. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13970. "type": "integer"
  13971. },
  13972. "picurls": {
  13973. "description": "介绍图片[多张用逗号分隔]",
  13974. "type": "string"
  13975. },
  13976. "price": {
  13977. "description": "价格",
  13978. "type": "number"
  13979. },
  13980. "qty": {
  13981. "description": "数量",
  13982. "type": "integer"
  13983. },
  13984. "time": {
  13985. "description": "时间",
  13986. "type": "string"
  13987. },
  13988. "trademode": {
  13989. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13990. "type": "integer"
  13991. },
  13992. "vendorname": {
  13993. "description": "供应商名称",
  13994. "type": "string"
  13995. }
  13996. }
  13997. },
  13998. "models.HsbyTopGoods": {
  13999. "type": "object",
  14000. "required": [
  14001. "goodscode",
  14002. "goodsid",
  14003. "goodsname",
  14004. "marketid",
  14005. "trademode"
  14006. ],
  14007. "properties": {
  14008. "agreeunit": {
  14009. "description": "合约单位",
  14010. "type": "number"
  14011. },
  14012. "currency": {
  14013. "description": "货币",
  14014. "type": "string"
  14015. },
  14016. "currencysign": {
  14017. "description": "货币符号",
  14018. "type": "string"
  14019. },
  14020. "decimalplace": {
  14021. "description": "报价小数位",
  14022. "type": "integer"
  14023. },
  14024. "desccityid": {
  14025. "description": "目的地(市)",
  14026. "type": "integer"
  14027. },
  14028. "descprovinceid": {
  14029. "description": "目的地(省)",
  14030. "type": "integer"
  14031. },
  14032. "goodscode": {
  14033. "description": "商品代码(内部)",
  14034. "type": "string"
  14035. },
  14036. "goodsid": {
  14037. "description": "商品ID(自增ID SEQ_GOODS)",
  14038. "type": "integer"
  14039. },
  14040. "goodsname": {
  14041. "description": "商品名称",
  14042. "type": "string"
  14043. },
  14044. "hotindex": {
  14045. "description": "景点热度",
  14046. "type": "integer"
  14047. },
  14048. "last": {
  14049. "description": "现价",
  14050. "type": "number"
  14051. },
  14052. "marketid": {
  14053. "description": "所属市场ID",
  14054. "type": "integer"
  14055. },
  14056. "picurls": {
  14057. "description": "介绍图片[多张用逗号分隔]",
  14058. "type": "string"
  14059. },
  14060. "quoteminunit": {
  14061. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14062. "type": "integer"
  14063. },
  14064. "trademode": {
  14065. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14066. "type": "integer"
  14067. },
  14068. "videourls": {
  14069. "description": "介绍视频[多张用逗号分隔]",
  14070. "type": "string"
  14071. }
  14072. }
  14073. },
  14074. "models.HybsMyBuyOrderDetail": {
  14075. "type": "object",
  14076. "required": [
  14077. "accountid",
  14078. "buyorsell",
  14079. "goodscode",
  14080. "goodsid",
  14081. "goodsname",
  14082. "marketid",
  14083. "orderid",
  14084. "orderqty",
  14085. "ordertime",
  14086. "trademode"
  14087. ],
  14088. "properties": {
  14089. "accountid": {
  14090. "description": "账户ID[报价币种]",
  14091. "type": "integer"
  14092. },
  14093. "agreeunit": {
  14094. "description": "合约单位",
  14095. "type": "number"
  14096. },
  14097. "buyorsell": {
  14098. "description": "买卖 - 0:买 1:卖",
  14099. "type": "integer"
  14100. },
  14101. "cancelqty": {
  14102. "description": "撤单数量",
  14103. "type": "integer"
  14104. },
  14105. "currencysign": {
  14106. "description": "货币符号",
  14107. "type": "string"
  14108. },
  14109. "decimalplace": {
  14110. "description": "报价小数位",
  14111. "type": "integer"
  14112. },
  14113. "goodscode": {
  14114. "description": "商品代码(内部)",
  14115. "type": "string"
  14116. },
  14117. "goodsid": {
  14118. "description": "商品ID",
  14119. "type": "integer"
  14120. },
  14121. "goodsname": {
  14122. "description": "商品名称",
  14123. "type": "string"
  14124. },
  14125. "listingselecttype": {
  14126. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14127. "type": "integer"
  14128. },
  14129. "marketid": {
  14130. "description": "市场ID",
  14131. "type": "integer"
  14132. },
  14133. "mybuystatus": {
  14134. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14135. "type": "integer"
  14136. },
  14137. "orderamount": {
  14138. "description": "委托金额",
  14139. "type": "number"
  14140. },
  14141. "orderid": {
  14142. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14143. "type": "string"
  14144. },
  14145. "orderprice": {
  14146. "description": "委托价格",
  14147. "type": "number"
  14148. },
  14149. "orderqty": {
  14150. "description": "委托数量",
  14151. "type": "integer"
  14152. },
  14153. "orderstatus": {
  14154. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14155. "type": "integer"
  14156. },
  14157. "ordertime": {
  14158. "description": "委托时间",
  14159. "type": "string"
  14160. },
  14161. "picurls1": {
  14162. "description": "预售商品介绍图片[多张用逗号分隔]",
  14163. "type": "string"
  14164. },
  14165. "picurls2": {
  14166. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14167. "type": "string"
  14168. },
  14169. "trademode": {
  14170. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14171. "type": "integer"
  14172. },
  14173. "tradeqty": {
  14174. "description": "成交数量",
  14175. "type": "integer"
  14176. },
  14177. "vendorname1": {
  14178. "description": "预售商品供应商名称",
  14179. "type": "string"
  14180. },
  14181. "vendorname2": {
  14182. "description": "挂牌商品供应商名称",
  14183. "type": "string"
  14184. }
  14185. }
  14186. },
  14187. "models.Loginaccount": {
  14188. "type": "object",
  14189. "required": [
  14190. "loginid"
  14191. ],
  14192. "properties": {
  14193. "canoutin": {
  14194. "description": "是否可出入金 - 0:不可 1:可",
  14195. "type": "integer"
  14196. },
  14197. "clientroleid": {
  14198. "description": "终端角色ID",
  14199. "type": "integer"
  14200. },
  14201. "haslogined": {
  14202. "description": "是否已登录 - 0:未登录 1:已登录",
  14203. "type": "integer"
  14204. },
  14205. "hasupdatedpwd": {
  14206. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14207. "type": "integer"
  14208. },
  14209. "lastloginip": {
  14210. "description": "最新登录地址",
  14211. "type": "string"
  14212. },
  14213. "lastloginmode": {
  14214. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14215. "type": "integer"
  14216. },
  14217. "lastloginremark": {
  14218. "description": "最新登录描述",
  14219. "type": "string"
  14220. },
  14221. "lastlogintime": {
  14222. "description": "最新登录时间",
  14223. "type": "string"
  14224. },
  14225. "logincode": {
  14226. "description": "登录代码",
  14227. "type": "string"
  14228. },
  14229. "loginfailnum": {
  14230. "description": "连续登录失败次数(登录成功时清零)",
  14231. "type": "integer"
  14232. },
  14233. "loginid": {
  14234. "description": "登陆账号",
  14235. "type": "integer"
  14236. },
  14237. "loginport": {
  14238. "description": "最新登录端口",
  14239. "type": "integer"
  14240. },
  14241. "loginstatus": {
  14242. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14243. "type": "integer"
  14244. },
  14245. "loginusertype": {
  14246. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14247. "type": "integer"
  14248. },
  14249. "modifierid": {
  14250. "description": "修改人",
  14251. "type": "integer"
  14252. },
  14253. "modifytime": {
  14254. "description": "修改时间",
  14255. "type": "string"
  14256. },
  14257. "pwdwrongcount": {
  14258. "description": "密码错误次数",
  14259. "type": "integer"
  14260. },
  14261. "taaccountrighttype": {
  14262. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14263. "type": "integer"
  14264. },
  14265. "unfreezetime": {
  14266. "description": "账户解冻时间",
  14267. "type": "string"
  14268. },
  14269. "userid": {
  14270. "description": "用户ID",
  14271. "type": "integer"
  14272. }
  14273. }
  14274. },
  14275. "models.Market": {
  14276. "type": "object",
  14277. "required": [
  14278. "marketid",
  14279. "marketstatus",
  14280. "openmethod",
  14281. "reckonpricealgorithm",
  14282. "trademode",
  14283. "tradeproperty"
  14284. ],
  14285. "properties": {
  14286. "auctionwrtype": {
  14287. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14288. "type": "integer"
  14289. },
  14290. "canacceptquote": {
  14291. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14292. "type": "integer"
  14293. },
  14294. "cangoodsexercise": {
  14295. "description": "[期权]是否可现货行权- 0:否 1:是",
  14296. "type": "integer"
  14297. },
  14298. "cangoodsexercisetype": {
  14299. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14300. "type": "integer"
  14301. },
  14302. "canmanualquotestrike": {
  14303. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14304. "type": "integer"
  14305. },
  14306. "canmutistage": {
  14307. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14308. "type": "integer"
  14309. },
  14310. "canpreexercise": {
  14311. "description": "[期权]是否可预申报- 0:否 1:是",
  14312. "type": "integer"
  14313. },
  14314. "clearinterval": {
  14315. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14316. "type": "integer"
  14317. },
  14318. "contracttmp": {
  14319. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14320. "type": "string"
  14321. },
  14322. "exchareaid": {
  14323. "description": "所属交易所,可以没有",
  14324. "type": "integer"
  14325. },
  14326. "goodstype": {
  14327. "description": "商品类型 - 1:交易商品 2:仓单商品",
  14328. "type": "integer"
  14329. },
  14330. "hasrebate": {
  14331. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  14332. "type": "integer"
  14333. },
  14334. "hastradecredit": {
  14335. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  14336. "type": "integer"
  14337. },
  14338. "haswr": {
  14339. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  14340. "type": "integer"
  14341. },
  14342. "isdeductmargin": {
  14343. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  14344. "type": "integer"
  14345. },
  14346. "isrecordsource": {
  14347. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  14348. "type": "integer"
  14349. },
  14350. "isreleasemargin": {
  14351. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  14352. "type": "integer"
  14353. },
  14354. "marginformula": {
  14355. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14356. "type": "integer"
  14357. },
  14358. "marginformula2": {
  14359. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14360. "type": "integer"
  14361. },
  14362. "marketid": {
  14363. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14364. "type": "integer"
  14365. },
  14366. "marketname": {
  14367. "description": "市场名称",
  14368. "type": "string"
  14369. },
  14370. "marketserviceid": {
  14371. "description": "市场服务ID",
  14372. "type": "integer"
  14373. },
  14374. "marketstatus": {
  14375. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14376. "type": "integer"
  14377. },
  14378. "markettype": {
  14379. "description": "市场类型- 1:非交易服务 2:交易服务",
  14380. "type": "integer"
  14381. },
  14382. "matchermode": {
  14383. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14384. "type": "integer"
  14385. },
  14386. "openmethod": {
  14387. "description": "开盘模式 - 0 自动 1手动",
  14388. "type": "integer"
  14389. },
  14390. "otcuserid": {
  14391. "description": "场外期权做市商[场外期权]",
  14392. "type": "integer"
  14393. },
  14394. "outersynctime": {
  14395. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14396. "type": "string"
  14397. },
  14398. "pendingflag": {
  14399. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14400. "type": "integer"
  14401. },
  14402. "pendingtime": {
  14403. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14404. "type": "string"
  14405. },
  14406. "performancetempid": {
  14407. "description": "履约计划模板ID - 作废",
  14408. "type": "integer"
  14409. },
  14410. "premiumquotemode": {
  14411. "description": "权利金报价方式 - 1:自动 2:手动",
  14412. "type": "integer"
  14413. },
  14414. "rebateratio": {
  14415. "description": "返利比率[竞价式]",
  14416. "type": "number"
  14417. },
  14418. "reckonorder": {
  14419. "description": "结算顺序",
  14420. "type": "integer"
  14421. },
  14422. "reckonpricealgorithm": {
  14423. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14424. "type": "integer"
  14425. },
  14426. "reckonpriceparam": {
  14427. "description": "结算价参数",
  14428. "type": "integer"
  14429. },
  14430. "reckontime": {
  14431. "description": "结算时间[通道交易-对冲](HH:mm)",
  14432. "type": "string"
  14433. },
  14434. "roleprioritytype": {
  14435. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14436. "type": "integer"
  14437. },
  14438. "selllistingauditflag": {
  14439. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14440. "type": "integer"
  14441. },
  14442. "trademarkettype": {
  14443. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14444. "type": "integer"
  14445. },
  14446. "trademode": {
  14447. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14448. "type": "integer"
  14449. },
  14450. "tradeproperty": {
  14451. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14452. "type": "integer"
  14453. },
  14454. "tradetype": {
  14455. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14456. "type": "integer"
  14457. }
  14458. }
  14459. },
  14460. "models.Marketrun": {
  14461. "type": "object",
  14462. "required": [
  14463. "marketid",
  14464. "nexttradedate",
  14465. "reckonflag",
  14466. "runstatus",
  14467. "tradedate",
  14468. "tradedate2"
  14469. ],
  14470. "properties": {
  14471. "afternexttradedate": {
  14472. "description": "下下交易日",
  14473. "type": "string"
  14474. },
  14475. "clearquoteflag": {
  14476. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14477. "type": "integer"
  14478. },
  14479. "lastreckondate": {
  14480. "description": "最新交易日(结算成功)",
  14481. "type": "string"
  14482. },
  14483. "machinedate": {
  14484. "description": "机器时间",
  14485. "type": "string"
  14486. },
  14487. "manualflag": {
  14488. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14489. "type": "integer"
  14490. },
  14491. "marketid": {
  14492. "description": "市场ID",
  14493. "type": "integer"
  14494. },
  14495. "nexttradedate": {
  14496. "description": "下一交易日",
  14497. "type": "string"
  14498. },
  14499. "pretradedate": {
  14500. "description": "上一交易日",
  14501. "type": "string"
  14502. },
  14503. "reckonflag": {
  14504. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14505. "type": "integer"
  14506. },
  14507. "runstatus": {
  14508. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  14509. "type": "integer"
  14510. },
  14511. "sectionid": {
  14512. "description": "时间段号[多时段时用]",
  14513. "type": "integer"
  14514. },
  14515. "tradedate": {
  14516. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14517. "type": "string"
  14518. },
  14519. "tradedate2": {
  14520. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14521. "type": "string"
  14522. },
  14523. "updatetime": {
  14524. "description": "更新时间",
  14525. "type": "string"
  14526. }
  14527. }
  14528. },
  14529. "models.Messageboard": {
  14530. "type": "object",
  14531. "required": [
  14532. "messageboardid"
  14533. ],
  14534. "properties": {
  14535. "contactnum": {
  14536. "description": "联系电话",
  14537. "type": "string"
  14538. },
  14539. "createtime": {
  14540. "description": "创建时间",
  14541. "type": "string"
  14542. },
  14543. "message": {
  14544. "description": "留言信息",
  14545. "type": "string"
  14546. },
  14547. "messageboardid": {
  14548. "description": "留言簿ID(SEQ_MessageBoard)",
  14549. "type": "integer"
  14550. },
  14551. "userid": {
  14552. "description": "用户ID",
  14553. "type": "integer"
  14554. }
  14555. }
  14556. },
  14557. "models.MyCoupon": {
  14558. "type": "object",
  14559. "required": [
  14560. "accountid",
  14561. "coupontypeid"
  14562. ],
  14563. "properties": {
  14564. "accountid": {
  14565. "description": "资金账户ID",
  14566. "type": "integer"
  14567. },
  14568. "areauserid": {
  14569. "description": "所属机构",
  14570. "type": "integer"
  14571. },
  14572. "conditionvalue": {
  14573. "description": "条件阈值(可为0)",
  14574. "type": "number"
  14575. },
  14576. "couponcategroy": {
  14577. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14578. "type": "integer"
  14579. },
  14580. "couponname": {
  14581. "description": "优惠券名称",
  14582. "type": "string"
  14583. },
  14584. "coupontypeid": {
  14585. "description": "优惠券类型ID",
  14586. "type": "string"
  14587. },
  14588. "couponvalue": {
  14589. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14590. "type": "number"
  14591. },
  14592. "curfreezeqty": {
  14593. "description": "期末冻结数量",
  14594. "type": "integer"
  14595. },
  14596. "curqty": {
  14597. "description": "期末数量",
  14598. "type": "integer"
  14599. },
  14600. "isgeneral": {
  14601. "description": "是否通用券 - 0:否 1:是",
  14602. "type": "integer"
  14603. },
  14604. "isunusable": {
  14605. "description": "是否不可用",
  14606. "type": "boolean"
  14607. },
  14608. "limitedflag": {
  14609. "description": "是否指定商品 - 0:不限 1:限制",
  14610. "type": "integer"
  14611. },
  14612. "limitedgoodsids": {
  14613. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14614. "type": "string"
  14615. },
  14616. "orifreezeqty": {
  14617. "description": "期初冻结数量",
  14618. "type": "integer"
  14619. },
  14620. "oriqty": {
  14621. "description": "期初数量",
  14622. "type": "integer"
  14623. },
  14624. "reasontype": {
  14625. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14626. "type": "integer"
  14627. },
  14628. "todaydecrease": {
  14629. "description": "今日减少",
  14630. "type": "integer"
  14631. },
  14632. "todayincrease": {
  14633. "description": "今日增加",
  14634. "type": "integer"
  14635. },
  14636. "userid": {
  14637. "description": "用户ID",
  14638. "type": "integer"
  14639. },
  14640. "userscope": {
  14641. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14642. "type": "string"
  14643. }
  14644. }
  14645. },
  14646. "models.MyCouponHold": {
  14647. "type": "object",
  14648. "required": [
  14649. "couponholdid"
  14650. ],
  14651. "properties": {
  14652. "accountid": {
  14653. "description": "资金账户ID",
  14654. "type": "integer"
  14655. },
  14656. "conditionvalue": {
  14657. "description": "条件阈值(可为0)",
  14658. "type": "number"
  14659. },
  14660. "couponcategroy": {
  14661. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14662. "type": "integer"
  14663. },
  14664. "couponholdid": {
  14665. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14666. "type": "string"
  14667. },
  14668. "couponname": {
  14669. "description": "优惠券名称",
  14670. "type": "string"
  14671. },
  14672. "coupontypeid": {
  14673. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14674. "type": "string"
  14675. },
  14676. "couponvalue": {
  14677. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14678. "type": "number"
  14679. },
  14680. "createtime": {
  14681. "description": "创建时间",
  14682. "type": "string"
  14683. },
  14684. "enddate": {
  14685. "description": "结束日期",
  14686. "type": "string"
  14687. },
  14688. "giveapplyid": {
  14689. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14690. "type": "integer"
  14691. },
  14692. "holdstatus": {
  14693. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14694. "type": "integer"
  14695. },
  14696. "isgeneral": {
  14697. "description": "是否通用券 - 0:否 1:是",
  14698. "type": "integer"
  14699. },
  14700. "limitedflag": {
  14701. "description": "是否指定商品 - 0:不限 1:限制",
  14702. "type": "integer"
  14703. },
  14704. "limitedgoodsids": {
  14705. "description": "指定商品IDs[逗号分隔]",
  14706. "type": "string"
  14707. },
  14708. "qty": {
  14709. "description": "数量(按1平铺)",
  14710. "type": "integer"
  14711. },
  14712. "startdate": {
  14713. "description": "开始日期",
  14714. "type": "string"
  14715. },
  14716. "userid": {
  14717. "description": "用户ID",
  14718. "type": "integer"
  14719. },
  14720. "userscope": {
  14721. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14722. "type": "string"
  14723. }
  14724. }
  14725. },
  14726. "models.MyUsedCoupon": {
  14727. "type": "object",
  14728. "required": [
  14729. "coupontypeid",
  14730. "orderid"
  14731. ],
  14732. "properties": {
  14733. "accountid": {
  14734. "description": "资金账户ID(买方)",
  14735. "type": "integer"
  14736. },
  14737. "conditionvalue": {
  14738. "description": "条件阈值(可为0)",
  14739. "type": "number"
  14740. },
  14741. "couponcategroy": {
  14742. "description": "种类 - 1:现金券 2:折扣券",
  14743. "type": "integer"
  14744. },
  14745. "couponname": {
  14746. "description": "优惠券名称",
  14747. "type": "string"
  14748. },
  14749. "coupontypeid": {
  14750. "description": "优惠券类型ID(买方)",
  14751. "type": "string"
  14752. },
  14753. "couponvalue": {
  14754. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14755. "type": "number"
  14756. },
  14757. "createtime": {
  14758. "description": "创建时间",
  14759. "type": "string"
  14760. },
  14761. "goodsid": {
  14762. "description": "商品ID",
  14763. "type": "integer"
  14764. },
  14765. "handlestatus": {
  14766. "description": "处理状态",
  14767. "type": "integer"
  14768. },
  14769. "marketid": {
  14770. "description": "市场ID",
  14771. "type": "integer"
  14772. },
  14773. "offamount": {
  14774. "description": "优惠金额",
  14775. "type": "number"
  14776. },
  14777. "orderid": {
  14778. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14779. "type": "string"
  14780. },
  14781. "sellaccountid": {
  14782. "description": "资金账户ID(卖方)",
  14783. "type": "integer"
  14784. },
  14785. "tradeamount": {
  14786. "description": "成交金额",
  14787. "type": "number"
  14788. },
  14789. "tradeid": {
  14790. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14791. "type": "string"
  14792. },
  14793. "usedqty": {
  14794. "description": "使用数量",
  14795. "type": "integer"
  14796. }
  14797. }
  14798. },
  14799. "models.OperationPrimaryMenu": {
  14800. "type": "object",
  14801. "properties": {
  14802. "Children": {
  14803. "description": "二级功能菜单",
  14804. "type": "array",
  14805. "items": {
  14806. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14807. }
  14808. },
  14809. "Key": {
  14810. "description": "菜单KEY",
  14811. "type": "string"
  14812. },
  14813. "Label": {
  14814. "description": "菜单标题",
  14815. "type": "string"
  14816. }
  14817. }
  14818. },
  14819. "models.OperationSecondaryMenu": {
  14820. "type": "object",
  14821. "properties": {
  14822. "Key": {
  14823. "description": "菜单KEY",
  14824. "type": "string"
  14825. },
  14826. "Label": {
  14827. "description": "菜单标题",
  14828. "type": "string"
  14829. },
  14830. "TabList": {
  14831. "description": "三级功能菜单",
  14832. "type": "array",
  14833. "items": {
  14834. "$ref": "#/definitions/models.OperationTabMenu"
  14835. }
  14836. }
  14837. }
  14838. },
  14839. "models.OperationTabMenu": {
  14840. "type": "object",
  14841. "properties": {
  14842. "Key": {
  14843. "description": "菜单KEY",
  14844. "type": "string"
  14845. },
  14846. "Label": {
  14847. "description": "菜单标题",
  14848. "type": "string"
  14849. }
  14850. }
  14851. },
  14852. "models.QueryErrorInfosRsp": {
  14853. "type": "object",
  14854. "required": [
  14855. "errorid"
  14856. ],
  14857. "properties": {
  14858. "description": {
  14859. "description": "异常描述",
  14860. "type": "string"
  14861. },
  14862. "errorcode": {
  14863. "description": "异常代码",
  14864. "type": "string"
  14865. },
  14866. "errorid": {
  14867. "description": "异常ID",
  14868. "type": "integer"
  14869. },
  14870. "modulecode": {
  14871. "description": "所属模块",
  14872. "type": "string"
  14873. },
  14874. "operatecode": {
  14875. "description": "所属操作",
  14876. "type": "string"
  14877. },
  14878. "rownumber": {
  14879. "description": "行号",
  14880. "type": "string"
  14881. }
  14882. }
  14883. },
  14884. "models.QueryHedgeOrderDetailRsp": {
  14885. "type": "object",
  14886. "properties": {
  14887. "accountid": {
  14888. "description": "账户ID",
  14889. "type": "integer"
  14890. },
  14891. "buyorsell": {
  14892. "description": "买卖 - 0:买 1:卖",
  14893. "type": "integer"
  14894. },
  14895. "channelbuildtype": {
  14896. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  14897. "type": "integer"
  14898. },
  14899. "channelinnerorderstatus": {
  14900. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  14901. "type": "integer"
  14902. },
  14903. "channeloperatetype": {
  14904. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  14905. "type": "integer"
  14906. },
  14907. "closetype": {
  14908. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14909. "type": "integer"
  14910. },
  14911. "curexchangerate": {
  14912. "description": "当前汇率",
  14913. "type": "number"
  14914. },
  14915. "exchangefullname": {
  14916. "description": "外部交易所全称",
  14917. "type": "string"
  14918. },
  14919. "goodscode": {
  14920. "description": "商品代码(内部)",
  14921. "type": "string"
  14922. },
  14923. "goodsid": {
  14924. "description": "商品ID",
  14925. "type": "integer"
  14926. },
  14927. "goodsname": {
  14928. "description": "商品名称",
  14929. "type": "string"
  14930. },
  14931. "marketid": {
  14932. "description": "市场ID",
  14933. "type": "integer"
  14934. },
  14935. "openfreezemargin": {
  14936. "description": "冻结保证金(冻结交易金额)",
  14937. "type": "number"
  14938. },
  14939. "orderid": {
  14940. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14941. "type": "string"
  14942. },
  14943. "orderprice": {
  14944. "description": "委托价格(账户)",
  14945. "type": "number"
  14946. },
  14947. "orderqty": {
  14948. "description": "委托数量",
  14949. "type": "integer"
  14950. },
  14951. "ordertime": {
  14952. "description": "委托时间",
  14953. "type": "string"
  14954. },
  14955. "pricemode": {
  14956. "description": "取价方式 - 1:市价 2: 限价",
  14957. "type": "integer"
  14958. },
  14959. "tradedate": {
  14960. "description": "交易日(yyyyMMdd)",
  14961. "type": "string"
  14962. },
  14963. "tradeqty": {
  14964. "description": "成交数量",
  14965. "type": "integer"
  14966. }
  14967. }
  14968. },
  14969. "models.QueryHedgeTradeDetailRsp": {
  14970. "type": "object",
  14971. "properties": {
  14972. "accountid": {
  14973. "description": "账号ID",
  14974. "type": "integer"
  14975. },
  14976. "buyorsell": {
  14977. "description": "方向 - 0:买 1:卖",
  14978. "type": "integer"
  14979. },
  14980. "channelbuildtype": {
  14981. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14982. "type": "integer"
  14983. },
  14984. "closecharge": {
  14985. "description": "平仓手续费(账户)",
  14986. "type": "number"
  14987. },
  14988. "closecharge2": {
  14989. "description": "平仓手续费(商品)",
  14990. "type": "number"
  14991. },
  14992. "closetype": {
  14993. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14994. "type": "integer"
  14995. },
  14996. "curexchangerate": {
  14997. "description": "当前汇率",
  14998. "type": "number"
  14999. },
  15000. "exchangefullname": {
  15001. "description": "外部交易所全称",
  15002. "type": "string"
  15003. },
  15004. "goodscode": {
  15005. "description": "商品代码(内部)",
  15006. "type": "string"
  15007. },
  15008. "goodsid": {
  15009. "description": "商品ID",
  15010. "type": "integer"
  15011. },
  15012. "goodsname": {
  15013. "description": "商品名称",
  15014. "type": "string"
  15015. },
  15016. "marketid": {
  15017. "description": "市场ID",
  15018. "type": "integer"
  15019. },
  15020. "opencharge": {
  15021. "description": "建仓手续费(账户)",
  15022. "type": "number"
  15023. },
  15024. "opencharge2": {
  15025. "description": "建仓手续费(商品)",
  15026. "type": "number"
  15027. },
  15028. "orderid": {
  15029. "description": "委托单号",
  15030. "type": "string"
  15031. },
  15032. "tradeamount": {
  15033. "description": "成交金额(账户)",
  15034. "type": "number"
  15035. },
  15036. "tradedate": {
  15037. "description": "交易日(yyyyMMdd)",
  15038. "type": "string"
  15039. },
  15040. "tradeid": {
  15041. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15042. "type": "string"
  15043. },
  15044. "tradeprice": {
  15045. "description": "成交价格",
  15046. "type": "number"
  15047. },
  15048. "tradeqty": {
  15049. "description": "成交数量",
  15050. "type": "integer"
  15051. },
  15052. "tradetime": {
  15053. "description": "成交时间",
  15054. "type": "string"
  15055. },
  15056. "tradetype": {
  15057. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  15058. "type": "integer"
  15059. }
  15060. }
  15061. },
  15062. "models.QuotePrimaryMenu": {
  15063. "type": "object",
  15064. "properties": {
  15065. "Index": {
  15066. "description": "序号",
  15067. "type": "integer"
  15068. },
  15069. "Key": {
  15070. "description": "键名",
  15071. "type": "string"
  15072. },
  15073. "Name": {
  15074. "description": "菜单名称",
  15075. "type": "string"
  15076. },
  15077. "SubMenus": {
  15078. "description": "子菜单",
  15079. "type": "array",
  15080. "items": {
  15081. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15082. }
  15083. },
  15084. "SubTitleType": {
  15085. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15086. "type": "integer"
  15087. },
  15088. "TradeModes": {
  15089. "description": "包含市场交易类型",
  15090. "type": "string"
  15091. }
  15092. }
  15093. },
  15094. "models.QuoteSecondaryMenu": {
  15095. "type": "object",
  15096. "properties": {
  15097. "ExExchangeCode": {
  15098. "description": "外部交易所代码",
  15099. "type": "string"
  15100. },
  15101. "ExExchangeID": {
  15102. "description": "外部交易所ID",
  15103. "type": "integer"
  15104. },
  15105. "GoodsGroupIDs": {
  15106. "description": "商品组ID列表",
  15107. "type": "array",
  15108. "items": {
  15109. "type": "integer"
  15110. }
  15111. },
  15112. "Index": {
  15113. "description": "序号",
  15114. "type": "integer"
  15115. },
  15116. "MarketID": {
  15117. "description": "市场ID",
  15118. "type": "integer"
  15119. },
  15120. "MenuTitle": {
  15121. "description": "菜单标题(市场名称或外部交易所名称)",
  15122. "type": "string"
  15123. },
  15124. "TradeMode": {
  15125. "description": "交易模式",
  15126. "type": "integer"
  15127. }
  15128. }
  15129. },
  15130. "models.SearchGoods": {
  15131. "type": "object",
  15132. "required": [
  15133. "goodscode",
  15134. "goodsid",
  15135. "goodsname",
  15136. "marketid",
  15137. "trademode"
  15138. ],
  15139. "properties": {
  15140. "goodscode": {
  15141. "description": "商品代码(内部)",
  15142. "type": "string"
  15143. },
  15144. "goodsid": {
  15145. "description": "商品ID(自增ID SEQ_GOODS)",
  15146. "type": "integer"
  15147. },
  15148. "goodsname": {
  15149. "description": "商品名称",
  15150. "type": "string"
  15151. },
  15152. "marketid": {
  15153. "description": "所属市场ID",
  15154. "type": "integer"
  15155. },
  15156. "marketname": {
  15157. "description": "市场名称",
  15158. "type": "string"
  15159. },
  15160. "trademode": {
  15161. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15162. "type": "integer"
  15163. }
  15164. }
  15165. },
  15166. "models.Szdz3convertconfig": {
  15167. "type": "object",
  15168. "required": [
  15169. "converttype",
  15170. "innergoodsid",
  15171. "outergoodscode"
  15172. ],
  15173. "properties": {
  15174. "canin": {
  15175. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15176. "type": "integer"
  15177. },
  15178. "canout": {
  15179. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15180. "type": "integer"
  15181. },
  15182. "converttype": {
  15183. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15184. "type": "integer"
  15185. },
  15186. "createtime": {
  15187. "description": "创建时间",
  15188. "type": "string"
  15189. },
  15190. "creatorid": {
  15191. "description": "创建人",
  15192. "type": "integer"
  15193. },
  15194. "daymaxvalue": {
  15195. "description": "当日最大转入限制",
  15196. "type": "number"
  15197. },
  15198. "freezedays": {
  15199. "description": "冻结天数 [5:花生米转交易]",
  15200. "type": "integer"
  15201. },
  15202. "innergoodsid": {
  15203. "description": "内部商品ID[交易]",
  15204. "type": "integer"
  15205. },
  15206. "inratio": {
  15207. "description": "目标值",
  15208. "type": "integer"
  15209. },
  15210. "modifierid": {
  15211. "description": "修改人",
  15212. "type": "integer"
  15213. },
  15214. "modifytime": {
  15215. "description": "修改时间",
  15216. "type": "string"
  15217. },
  15218. "outergoodscode": {
  15219. "description": "外部商品代码[JD\\PD]",
  15220. "type": "string"
  15221. },
  15222. "outratio": {
  15223. "description": "源值",
  15224. "type": "integer"
  15225. },
  15226. "pddecimalplace": {
  15227. "description": "PD小数位",
  15228. "type": "integer"
  15229. },
  15230. "timemaxvalue": {
  15231. "description": "单次最大转入限制",
  15232. "type": "number"
  15233. },
  15234. "timeminvalue": {
  15235. "description": "单次最小转入限制",
  15236. "type": "number"
  15237. }
  15238. }
  15239. },
  15240. "models.Szdz3searchwhitelist": {
  15241. "type": "object",
  15242. "required": [
  15243. "userid"
  15244. ],
  15245. "properties": {
  15246. "createtime": {
  15247. "description": "创建时间",
  15248. "type": "string"
  15249. },
  15250. "creatorid": {
  15251. "description": "创建人",
  15252. "type": "integer"
  15253. },
  15254. "modifierid": {
  15255. "description": "修改人",
  15256. "type": "integer"
  15257. },
  15258. "modifytime": {
  15259. "description": "修改时间",
  15260. "type": "string"
  15261. },
  15262. "userid": {
  15263. "description": "用户ID",
  15264. "type": "integer"
  15265. }
  15266. }
  15267. },
  15268. "models.Taaccount": {
  15269. "type": "object",
  15270. "required": [
  15271. "accountid",
  15272. "userid"
  15273. ],
  15274. "properties": {
  15275. "accountflag": {
  15276. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  15277. "type": "integer"
  15278. },
  15279. "accountid": {
  15280. "description": "资金账户ID",
  15281. "type": "integer"
  15282. },
  15283. "accountname": {
  15284. "description": "账户名称",
  15285. "type": "string"
  15286. },
  15287. "balance": {
  15288. "description": "期初余额",
  15289. "type": "number"
  15290. },
  15291. "capitalbalance": {
  15292. "description": "本金余额[外部子账户实际出入金余额]",
  15293. "type": "number"
  15294. },
  15295. "changeflag": {
  15296. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  15297. "type": "integer"
  15298. },
  15299. "changetime": {
  15300. "description": "账户状态变更时间",
  15301. "type": "string"
  15302. },
  15303. "closepl": {
  15304. "description": "今日平仓盈亏",
  15305. "type": "number"
  15306. },
  15307. "creditdecrease": {
  15308. "description": "今日授信减少",
  15309. "type": "number"
  15310. },
  15311. "creditincrease": {
  15312. "description": "今日授信增加",
  15313. "type": "number"
  15314. },
  15315. "currencyid": {
  15316. "description": "货币ID",
  15317. "type": "integer"
  15318. },
  15319. "currentbalance": {
  15320. "description": "期末余额",
  15321. "type": "number"
  15322. },
  15323. "freezecharge": {
  15324. "description": "手续费冻结",
  15325. "type": "number"
  15326. },
  15327. "freezemargin": {
  15328. "description": "冻结保证金",
  15329. "type": "number"
  15330. },
  15331. "fromaccountid": {
  15332. "description": "所属上级账户",
  15333. "type": "integer"
  15334. },
  15335. "inamount": {
  15336. "description": "今日入金金额(包括三方入金)",
  15337. "type": "number"
  15338. },
  15339. "ismain": {
  15340. "description": "是否母账号 0:不是母账户 1:是母账户",
  15341. "type": "integer"
  15342. },
  15343. "ismarketaccount": {
  15344. "description": "是否机构接单账号 0:不是 1:是",
  15345. "type": "integer"
  15346. },
  15347. "isreckonaccount": {
  15348. "description": "是否机构分润账号 0:不是 1:是",
  15349. "type": "integer"
  15350. },
  15351. "mortgagecredit": {
  15352. "description": "授信金额",
  15353. "type": "number"
  15354. },
  15355. "orifreezecharge": {
  15356. "description": "期初手续费冻结",
  15357. "type": "number"
  15358. },
  15359. "orifreezemargin": {
  15360. "description": "期初冻结保证金",
  15361. "type": "number"
  15362. },
  15363. "orimortgagecredit": {
  15364. "description": "期初授信金额",
  15365. "type": "number"
  15366. },
  15367. "oriothercredit": {
  15368. "description": "期初其它授信金额",
  15369. "type": "number"
  15370. },
  15371. "oriotherfreezemargin": {
  15372. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15373. "type": "number"
  15374. },
  15375. "orioutamountfreeze": {
  15376. "description": "期初出金冻结",
  15377. "type": "number"
  15378. },
  15379. "oriusedmargin": {
  15380. "description": "期初占用保证金",
  15381. "type": "number"
  15382. },
  15383. "othercredit": {
  15384. "description": "其它授信金额",
  15385. "type": "number"
  15386. },
  15387. "othercreditdecrease": {
  15388. "description": "今日其它授信减少",
  15389. "type": "number"
  15390. },
  15391. "othercreditincrease": {
  15392. "description": "今日其它授信增加",
  15393. "type": "number"
  15394. },
  15395. "otherfreezemargin": {
  15396. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15397. "type": "number"
  15398. },
  15399. "otherincome": {
  15400. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15401. "type": "number"
  15402. },
  15403. "otherpay": {
  15404. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15405. "type": "number"
  15406. },
  15407. "outamount": {
  15408. "description": "今日出金金额(包括三方出金)",
  15409. "type": "number"
  15410. },
  15411. "outamountfreeze": {
  15412. "description": "出金冻结",
  15413. "type": "number"
  15414. },
  15415. "outthreshold": {
  15416. "description": "出金阈值",
  15417. "type": "number"
  15418. },
  15419. "parentaccountid": {
  15420. "description": "所属根账号",
  15421. "type": "integer"
  15422. },
  15423. "paycharge": {
  15424. "description": "今日手续费支出",
  15425. "type": "number"
  15426. },
  15427. "relatedaccountstatus": {
  15428. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15429. "type": "integer"
  15430. },
  15431. "relateduserid": {
  15432. "description": "关联用户",
  15433. "type": "integer"
  15434. },
  15435. "serivcegroup": {
  15436. "description": "服务分组",
  15437. "type": "integer"
  15438. },
  15439. "signstatus": {
  15440. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15441. "type": "integer"
  15442. },
  15443. "sublevelpath": {
  15444. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15445. "type": "string"
  15446. },
  15447. "taaccounttype": {
  15448. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15449. "type": "integer"
  15450. },
  15451. "thirdinamount": {
  15452. "description": "今日三方入金",
  15453. "type": "number"
  15454. },
  15455. "thirdoutamount": {
  15456. "description": "今日三方出金",
  15457. "type": "number"
  15458. },
  15459. "tradestatus": {
  15460. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15461. "type": "integer"
  15462. },
  15463. "tradestatuschangetime": {
  15464. "description": "激活时间",
  15465. "type": "string"
  15466. },
  15467. "transferamount": {
  15468. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15469. "type": "number"
  15470. },
  15471. "usedmargin": {
  15472. "description": "占用保证金",
  15473. "type": "number"
  15474. },
  15475. "userid": {
  15476. "description": "用户ID",
  15477. "type": "integer"
  15478. }
  15479. }
  15480. },
  15481. "models.Tablecolumnconfig": {
  15482. "type": "object",
  15483. "required": [
  15484. "autoid"
  15485. ],
  15486. "properties": {
  15487. "aligntype": {
  15488. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15489. "type": "integer"
  15490. },
  15491. "autoid": {
  15492. "description": "AutoID",
  15493. "type": "integer"
  15494. },
  15495. "columnfield": {
  15496. "description": "列字段",
  15497. "type": "string"
  15498. },
  15499. "columntitle": {
  15500. "description": "列Title",
  15501. "type": "string"
  15502. },
  15503. "columnwidth": {
  15504. "description": "列宽",
  15505. "type": "string"
  15506. },
  15507. "formatterstring": {
  15508. "description": "格式化字符",
  15509. "type": "string"
  15510. },
  15511. "formattertype": {
  15512. "description": "格式化类型",
  15513. "type": "string"
  15514. },
  15515. "groupname": {
  15516. "description": "表头分组名称",
  15517. "type": "string"
  15518. },
  15519. "isshow": {
  15520. "description": "是否显示 - 0:不显示 1:显示",
  15521. "type": "integer"
  15522. },
  15523. "needsummary": {
  15524. "description": "是否需要汇总 - 0:不需要 1:需要",
  15525. "type": "integer"
  15526. },
  15527. "orderindex": {
  15528. "description": "顺序",
  15529. "type": "integer"
  15530. },
  15531. "remark": {
  15532. "description": "备注",
  15533. "type": "string"
  15534. },
  15535. "summarytype": {
  15536. "description": "汇总类型 - 1:加总 2:最后一个",
  15537. "type": "integer"
  15538. },
  15539. "tablekey": {
  15540. "description": "列表Key",
  15541. "type": "string"
  15542. }
  15543. }
  15544. },
  15545. "models.Useraccount": {
  15546. "type": "object",
  15547. "required": [
  15548. "userid"
  15549. ],
  15550. "properties": {
  15551. "accountname": {
  15552. "description": "账户名称(机构名称)",
  15553. "type": "string"
  15554. },
  15555. "accountstatus": {
  15556. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15557. "type": "integer"
  15558. },
  15559. "auditremark": {
  15560. "description": "审核备注",
  15561. "type": "string"
  15562. },
  15563. "audittime": {
  15564. "description": "审核时间",
  15565. "type": "string"
  15566. },
  15567. "audituserid": {
  15568. "description": "审核人",
  15569. "type": "integer"
  15570. },
  15571. "broker": {
  15572. "description": "所属经纪人ID",
  15573. "type": "integer"
  15574. },
  15575. "canceltime": {
  15576. "description": "销户时间",
  15577. "type": "string"
  15578. },
  15579. "canceluserid": {
  15580. "description": "销户人",
  15581. "type": "integer"
  15582. },
  15583. "createtime": {
  15584. "description": "创建时间",
  15585. "type": "string"
  15586. },
  15587. "creatorid": {
  15588. "description": "创建人",
  15589. "type": "integer"
  15590. },
  15591. "hasauth": {
  15592. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15593. "type": "integer"
  15594. },
  15595. "isanonymous": {
  15596. "description": "是否匿名下单 - 0:否 1:是",
  15597. "type": "integer"
  15598. },
  15599. "maxinvestornum": {
  15600. "description": "最大用户数(经纪会员下投资者个数)",
  15601. "type": "integer"
  15602. },
  15603. "memberuserid": {
  15604. "description": "所属会员ID",
  15605. "type": "integer"
  15606. },
  15607. "modifierid": {
  15608. "description": "修改人",
  15609. "type": "integer"
  15610. },
  15611. "modifyremark": {
  15612. "description": "变更备注",
  15613. "type": "string"
  15614. },
  15615. "modifystatus": {
  15616. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15617. "type": "integer"
  15618. },
  15619. "modifytime": {
  15620. "description": "修改时间",
  15621. "type": "string"
  15622. },
  15623. "parentuserid": {
  15624. "description": "所属机构ID",
  15625. "type": "integer"
  15626. },
  15627. "reckonaccountid": {
  15628. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15629. "type": "integer"
  15630. },
  15631. "refercount": {
  15632. "description": "推荐总人数",
  15633. "type": "integer"
  15634. },
  15635. "refereeuserid": {
  15636. "description": "推荐人ID",
  15637. "type": "integer"
  15638. },
  15639. "refernum": {
  15640. "description": "推荐码",
  15641. "type": "string"
  15642. },
  15643. "subarealevelpath": {
  15644. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15645. "type": "string"
  15646. },
  15647. "userid": {
  15648. "description": "用户ID",
  15649. "type": "integer"
  15650. },
  15651. "usertype": {
  15652. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15653. "type": "integer"
  15654. }
  15655. }
  15656. },
  15657. "models.Userfavoritegoods": {
  15658. "type": "object",
  15659. "required": [
  15660. "goodsid"
  15661. ],
  15662. "properties": {
  15663. "goodsid": {
  15664. "description": "商品ID",
  15665. "type": "integer"
  15666. }
  15667. }
  15668. },
  15669. "models.Userinfo": {
  15670. "type": "object",
  15671. "required": [
  15672. "userid"
  15673. ],
  15674. "properties": {
  15675. "address": {
  15676. "description": "地址",
  15677. "type": "string"
  15678. },
  15679. "attachment1": {
  15680. "description": "附件1",
  15681. "type": "string"
  15682. },
  15683. "attachment2": {
  15684. "description": "附件2",
  15685. "type": "string"
  15686. },
  15687. "bankaccount": {
  15688. "description": "银行帐号 (加密存储)",
  15689. "type": "string"
  15690. },
  15691. "bankaccountname": {
  15692. "description": "收款人名称",
  15693. "type": "string"
  15694. },
  15695. "bankcardfrontphotourl": {
  15696. "description": "银行卡正面照地址",
  15697. "type": "string"
  15698. },
  15699. "bankid": {
  15700. "description": "银行编码",
  15701. "type": "string"
  15702. },
  15703. "bankname": {
  15704. "description": "银行名称",
  15705. "type": "string"
  15706. },
  15707. "biznature": {
  15708. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15709. "type": "integer"
  15710. },
  15711. "bizscope": {
  15712. "description": "企业经营范围(企业)",
  15713. "type": "string"
  15714. },
  15715. "cardbackphotourl": {
  15716. "description": "证件背面图片地址",
  15717. "type": "string"
  15718. },
  15719. "cardfrontphotourl": {
  15720. "description": "证件正面图片地址",
  15721. "type": "string"
  15722. },
  15723. "cardnum": {
  15724. "description": "证件号码(加密存储)",
  15725. "type": "string"
  15726. },
  15727. "cardtypeid": {
  15728. "description": "证件类型ID",
  15729. "type": "integer"
  15730. },
  15731. "cityid": {
  15732. "description": "市",
  15733. "type": "integer"
  15734. },
  15735. "company": {
  15736. "description": "公司(个人)",
  15737. "type": "string"
  15738. },
  15739. "contactname": {
  15740. "description": "联系人",
  15741. "type": "string"
  15742. },
  15743. "countryid": {
  15744. "description": "国家",
  15745. "type": "integer"
  15746. },
  15747. "createtime": {
  15748. "description": "创建时间",
  15749. "type": "string"
  15750. },
  15751. "creatorid": {
  15752. "description": "创建人",
  15753. "type": "integer"
  15754. },
  15755. "customername": {
  15756. "description": "客户名称(企业名称)",
  15757. "type": "string"
  15758. },
  15759. "districtid": {
  15760. "description": "地区",
  15761. "type": "integer"
  15762. },
  15763. "email": {
  15764. "description": "邮件(加密存储)",
  15765. "type": "string"
  15766. },
  15767. "fax": {
  15768. "description": "传真(加密存储)",
  15769. "type": "string"
  15770. },
  15771. "halfbodyphotourl": {
  15772. "description": "半身照地址",
  15773. "type": "string"
  15774. },
  15775. "hasencrypt": {
  15776. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15777. "type": "integer"
  15778. },
  15779. "headurl": {
  15780. "description": "头像地址",
  15781. "type": "string"
  15782. },
  15783. "legalcardbackphotourl": {
  15784. "description": "法人身份证背面照地址",
  15785. "type": "string"
  15786. },
  15787. "legalcardfrontphotourl": {
  15788. "description": "法人身份证正面照地址",
  15789. "type": "string"
  15790. },
  15791. "legalpersonname": {
  15792. "description": "法人姓名(企业)",
  15793. "type": "string"
  15794. },
  15795. "mobile": {
  15796. "description": "手机号码(加密存储)",
  15797. "type": "string"
  15798. },
  15799. "mobile2": {
  15800. "description": "手机号码[明文-尚志]",
  15801. "type": "string"
  15802. },
  15803. "modifierid": {
  15804. "description": "修改人",
  15805. "type": "integer"
  15806. },
  15807. "modifiertime": {
  15808. "description": "修改时间",
  15809. "type": "string"
  15810. },
  15811. "needinvoice": {
  15812. "description": "是否需要发票 - 0:不需要 1:需要",
  15813. "type": "integer"
  15814. },
  15815. "nickname": {
  15816. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15817. "type": "string"
  15818. },
  15819. "openmode": {
  15820. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15821. "type": "integer"
  15822. },
  15823. "otherurl": {
  15824. "description": "其它图片地址[使用分号分隔]",
  15825. "type": "string"
  15826. },
  15827. "postalcode": {
  15828. "description": "邮政编码",
  15829. "type": "string"
  15830. },
  15831. "provinceid": {
  15832. "description": "省",
  15833. "type": "integer"
  15834. },
  15835. "qq": {
  15836. "description": "QQ(加密存储",
  15837. "type": "string"
  15838. },
  15839. "remark": {
  15840. "description": "备注",
  15841. "type": "string"
  15842. },
  15843. "sex": {
  15844. "description": "用户性别 0: 女 1: 男",
  15845. "type": "integer"
  15846. },
  15847. "signpdfurl": {
  15848. "description": "签约pdf文件",
  15849. "type": "string"
  15850. },
  15851. "telphone": {
  15852. "description": "联系电话(加密存储)",
  15853. "type": "string"
  15854. },
  15855. "userid": {
  15856. "description": "用户ID",
  15857. "type": "integer"
  15858. },
  15859. "userinfotype": {
  15860. "description": "用户信息类型 - 1:个人 2:企业",
  15861. "type": "integer"
  15862. },
  15863. "userstatus": {
  15864. "description": "用户状态 - 1:正常 2:注销",
  15865. "type": "integer"
  15866. },
  15867. "usertype": {
  15868. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15869. "type": "integer"
  15870. },
  15871. "wechat": {
  15872. "description": "微信(加密存储)",
  15873. "type": "string"
  15874. },
  15875. "wskhinfo": {
  15876. "description": "开户申请信息(JSON)",
  15877. "type": "string"
  15878. }
  15879. }
  15880. },
  15881. "models.WRCategoryTree": {
  15882. "type": "object",
  15883. "required": [
  15884. "categoryid"
  15885. ],
  15886. "properties": {
  15887. "areauserid": {
  15888. "description": "所属机构",
  15889. "type": "integer"
  15890. },
  15891. "categorydesc": {
  15892. "description": "类别描述",
  15893. "type": "string"
  15894. },
  15895. "categoryid": {
  15896. "description": "类别ID(SEQ_WRCATEGORY)",
  15897. "type": "integer"
  15898. },
  15899. "categoryname": {
  15900. "description": "类别名称",
  15901. "type": "string"
  15902. },
  15903. "iconurl": {
  15904. "description": "图标地址",
  15905. "type": "string"
  15906. },
  15907. "orderindex": {
  15908. "description": "顺序",
  15909. "type": "integer"
  15910. },
  15911. "parentcategoryid": {
  15912. "description": "父类别ID",
  15913. "type": "integer"
  15914. },
  15915. "subcategory": {
  15916. "description": "子分类",
  15917. "type": "array",
  15918. "items": {
  15919. "$ref": "#/definitions/models.WRCategoryTree"
  15920. }
  15921. }
  15922. }
  15923. },
  15924. "models.WRSConverTDetail": {
  15925. "type": "object",
  15926. "properties": {
  15927. "convertratio": {
  15928. "description": "套保系数",
  15929. "type": "number"
  15930. },
  15931. "deliverygoodsid": {
  15932. "description": "现货品种ID",
  15933. "type": "integer"
  15934. },
  15935. "middlegoodscode": {
  15936. "description": "套保品种代码",
  15937. "type": "string"
  15938. },
  15939. "middlegoodsid": {
  15940. "description": "套保品种ID",
  15941. "type": "integer"
  15942. },
  15943. "middlegoodsname": {
  15944. "description": "套保品种名称",
  15945. "type": "string"
  15946. },
  15947. "modifytime": {
  15948. "description": "修改时间",
  15949. "type": "string"
  15950. },
  15951. "wrstandardid": {
  15952. "description": "现货商品ID",
  15953. "type": "integer"
  15954. }
  15955. }
  15956. },
  15957. "models.WRStandardInfo": {
  15958. "type": "object",
  15959. "required": [
  15960. "wrstandardid"
  15961. ],
  15962. "properties": {
  15963. "createtime": {
  15964. "description": "创建时间",
  15965. "type": "string"
  15966. },
  15967. "creatorid": {
  15968. "description": "创建人",
  15969. "type": "integer"
  15970. },
  15971. "deliverygoodsid": {
  15972. "description": "品种ID",
  15973. "type": "integer"
  15974. },
  15975. "deliverygoodsname": {
  15976. "description": "交割商品名称",
  15977. "type": "string"
  15978. },
  15979. "factoryitemjson": {
  15980. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15981. "type": "string"
  15982. },
  15983. "isvalid": {
  15984. "description": "是否有效 - 0:无效 1:有效",
  15985. "type": "integer"
  15986. },
  15987. "minivalue": {
  15988. "description": "最小变动值",
  15989. "type": "integer"
  15990. },
  15991. "minivaluedp": {
  15992. "description": "最小变动值小数位",
  15993. "type": "integer"
  15994. },
  15995. "realminivalue": {
  15996. "description": "实际最小变动值",
  15997. "type": "integer"
  15998. },
  15999. "realminivaluedp": {
  16000. "description": "实际最小变动值小数位",
  16001. "type": "integer"
  16002. },
  16003. "unitid": {
  16004. "description": "单位ID",
  16005. "type": "integer"
  16006. },
  16007. "unitname": {
  16008. "description": "单位",
  16009. "type": "string"
  16010. },
  16011. "updatetime": {
  16012. "description": "更新时间",
  16013. "type": "string"
  16014. },
  16015. "updatorid": {
  16016. "description": "更新人",
  16017. "type": "integer"
  16018. },
  16019. "wrsstatus": {
  16020. "description": "状态 - 作废 - 0:未激活 1:正常",
  16021. "type": "integer"
  16022. },
  16023. "wrstandardcode": {
  16024. "description": "仓单标准代码",
  16025. "type": "string"
  16026. },
  16027. "wrstandardid": {
  16028. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16029. "type": "integer"
  16030. },
  16031. "wrstandardname": {
  16032. "description": "仓单标准名称",
  16033. "type": "string"
  16034. }
  16035. }
  16036. },
  16037. "models.Warehouseinfo": {
  16038. "type": "object",
  16039. "required": [
  16040. "autoid",
  16041. "warehousecode"
  16042. ],
  16043. "properties": {
  16044. "address": {
  16045. "description": "详细地址",
  16046. "type": "string"
  16047. },
  16048. "areauserid": {
  16049. "description": "所属机构",
  16050. "type": "integer"
  16051. },
  16052. "autoid": {
  16053. "description": "自增ID",
  16054. "type": "integer"
  16055. },
  16056. "cityid": {
  16057. "description": "市",
  16058. "type": "integer"
  16059. },
  16060. "contactname": {
  16061. "description": "联系人",
  16062. "type": "string"
  16063. },
  16064. "contactnum": {
  16065. "description": "联系电话",
  16066. "type": "string"
  16067. },
  16068. "countryid": {
  16069. "description": "国家",
  16070. "type": "integer"
  16071. },
  16072. "createtime": {
  16073. "description": "创建时间",
  16074. "type": "string"
  16075. },
  16076. "districtid": {
  16077. "description": "区",
  16078. "type": "integer"
  16079. },
  16080. "hasvideo": {
  16081. "description": "是否有视频 - 0:无 1:有",
  16082. "type": "integer"
  16083. },
  16084. "provinceid": {
  16085. "description": "省",
  16086. "type": "integer"
  16087. },
  16088. "remark": {
  16089. "description": "审核备注",
  16090. "type": "string"
  16091. },
  16092. "videourl": {
  16093. "description": "视频地址",
  16094. "type": "string"
  16095. },
  16096. "warehousecode": {
  16097. "description": "仓库代码",
  16098. "type": "string"
  16099. },
  16100. "warehousename": {
  16101. "description": "仓库名称",
  16102. "type": "string"
  16103. },
  16104. "warehousestatus": {
  16105. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16106. "type": "integer"
  16107. },
  16108. "warehousetype": {
  16109. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16110. "type": "integer"
  16111. }
  16112. }
  16113. },
  16114. "order.QueryHisTradeDetailRsp": {
  16115. "type": "object",
  16116. "required": [
  16117. "accountid",
  16118. "buyorsell",
  16119. "goodsid",
  16120. "histradedate",
  16121. "marketid",
  16122. "memberuserid",
  16123. "orderid",
  16124. "tradeamount",
  16125. "tradedate",
  16126. "tradeid",
  16127. "tradeprice",
  16128. "tradeqty",
  16129. "tradetime"
  16130. ],
  16131. "properties": {
  16132. "accountid": {
  16133. "description": "账户ID[报价币种]",
  16134. "type": "integer"
  16135. },
  16136. "buildtype": {
  16137. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16138. "type": "integer"
  16139. },
  16140. "buyorsell": {
  16141. "description": "方向 - 0:买 1:卖",
  16142. "type": "integer"
  16143. },
  16144. "charge": {
  16145. "description": "手续费",
  16146. "type": "number"
  16147. },
  16148. "closecharge": {
  16149. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16150. "type": "number"
  16151. },
  16152. "closeexchagechargevalue": {
  16153. "description": "平仓交易所手续费设置值",
  16154. "type": "number"
  16155. },
  16156. "closefeealgorithm": {
  16157. "description": "平仓手续费收取方式 1:比率 2:固定",
  16158. "type": "integer"
  16159. },
  16160. "closememberchargevalue": {
  16161. "description": "平仓会员手续费设置值",
  16162. "type": "number"
  16163. },
  16164. "closepl": {
  16165. "description": "平仓盈亏",
  16166. "type": "number"
  16167. },
  16168. "closepl2": {
  16169. "description": "平仓盈亏[逐笔]",
  16170. "type": "number"
  16171. },
  16172. "closeqty": {
  16173. "description": "平仓数量(先建后平操作 需要记录)",
  16174. "type": "integer"
  16175. },
  16176. "creditamount": {
  16177. "description": "授信金额",
  16178. "type": "number"
  16179. },
  16180. "gcaccountid": {
  16181. "description": "账户ID[合约币种]",
  16182. "type": "integer"
  16183. },
  16184. "goodscode": {
  16185. "description": "商品代码",
  16186. "type": "string"
  16187. },
  16188. "goodsid": {
  16189. "description": "商品ID",
  16190. "type": "integer"
  16191. },
  16192. "goodsname": {
  16193. "description": "商品名称",
  16194. "type": "string"
  16195. },
  16196. "histradedate": {
  16197. "description": "历史交易日",
  16198. "type": "string"
  16199. },
  16200. "intclosepl": {
  16201. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16202. "type": "integer"
  16203. },
  16204. "isconfirmexercise": {
  16205. "description": "是否确认行权- 0:否 1:是",
  16206. "type": "integer"
  16207. },
  16208. "ismain": {
  16209. "description": "是否主单 - 0:不是 1:是",
  16210. "type": "integer"
  16211. },
  16212. "ispreexercise": {
  16213. "description": "是否预申报- 0:否 1:是",
  16214. "type": "integer"
  16215. },
  16216. "isreckoned": {
  16217. "description": "是否结算 - 0:未结算 1:已结算",
  16218. "type": "integer"
  16219. },
  16220. "isvaliddata": {
  16221. "description": "是否有效 - 0:无效 1:有效",
  16222. "type": "integer"
  16223. },
  16224. "listingselecttype": {
  16225. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16226. "type": "integer"
  16227. },
  16228. "marketid": {
  16229. "description": "市场ID",
  16230. "type": "integer"
  16231. },
  16232. "marketname": {
  16233. "description": "市场名称",
  16234. "type": "string"
  16235. },
  16236. "matchaccountid": {
  16237. "description": "对手账号id",
  16238. "type": "integer"
  16239. },
  16240. "memberuserid": {
  16241. "description": "会员id 个人投资者 需要填写",
  16242. "type": "integer"
  16243. },
  16244. "opencharge": {
  16245. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16246. "type": "number"
  16247. },
  16248. "openexchagechargevalue": {
  16249. "description": "建仓交易所手续费设置值",
  16250. "type": "number"
  16251. },
  16252. "openfeealgorithm": {
  16253. "description": "建仓手续费收取方式 1:比率 2:固定",
  16254. "type": "integer"
  16255. },
  16256. "openmemberchargevalue": {
  16257. "description": "建仓会员手续费设置值",
  16258. "type": "number"
  16259. },
  16260. "openqty": {
  16261. "description": "开仓数量(先建后平操作 需要记录)",
  16262. "type": "integer"
  16263. },
  16264. "optiontype": {
  16265. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16266. "type": "integer"
  16267. },
  16268. "orderid": {
  16269. "description": "委托单号",
  16270. "type": "string"
  16271. },
  16272. "performanceplanid": {
  16273. "description": "履约计划ID[期权]",
  16274. "type": "integer"
  16275. },
  16276. "performancestatus": {
  16277. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16278. "type": "integer"
  16279. },
  16280. "preexerciseprice": {
  16281. "description": "预申报价格",
  16282. "type": "number"
  16283. },
  16284. "premium": {
  16285. "description": "权利金 - [持仓单的权利金]",
  16286. "type": "number"
  16287. },
  16288. "relatedouttradeid": {
  16289. "description": "关联外部成交单ID",
  16290. "type": "integer"
  16291. },
  16292. "status": {
  16293. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16294. "type": "integer"
  16295. },
  16296. "tradeamount": {
  16297. "description": "成交金额[账户币种,用于所有权]",
  16298. "type": "number"
  16299. },
  16300. "tradedate": {
  16301. "description": "交易日(yyyyMMdd)",
  16302. "type": "string"
  16303. },
  16304. "tradeid": {
  16305. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16306. "type": "string"
  16307. },
  16308. "trademode": {
  16309. "description": "交易模式",
  16310. "type": "integer"
  16311. },
  16312. "tradeprice": {
  16313. "description": "成交价格",
  16314. "type": "number"
  16315. },
  16316. "tradeproperty": {
  16317. "description": "交易属性",
  16318. "type": "integer"
  16319. },
  16320. "tradeqty": {
  16321. "description": "成交数量",
  16322. "type": "integer"
  16323. },
  16324. "tradetime": {
  16325. "description": "成交时间",
  16326. "type": "string"
  16327. },
  16328. "tradetype": {
  16329. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16330. "type": "integer"
  16331. }
  16332. }
  16333. },
  16334. "order.QueryHisTradeOrderDetailRsp": {
  16335. "type": "object",
  16336. "required": [
  16337. "accountid",
  16338. "buildtype",
  16339. "buyorsell",
  16340. "goodsid",
  16341. "histradedate",
  16342. "marketid",
  16343. "memberuserid",
  16344. "operatetype",
  16345. "orderid",
  16346. "orderqty",
  16347. "ordertime",
  16348. "pricemode",
  16349. "tradedate",
  16350. "validtype"
  16351. ],
  16352. "properties": {
  16353. "accountid": {
  16354. "description": "账户ID[报价币种]",
  16355. "type": "integer"
  16356. },
  16357. "buildtype": {
  16358. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16359. "type": "integer"
  16360. },
  16361. "buyorsell": {
  16362. "description": "买卖 - 0:买 1:卖",
  16363. "type": "integer"
  16364. },
  16365. "cancelorderid": {
  16366. "description": "撤单单号(撤单时填写)",
  16367. "type": "string"
  16368. },
  16369. "cancelqty": {
  16370. "description": "撤单数量",
  16371. "type": "integer"
  16372. },
  16373. "clientordertime": {
  16374. "description": "客户端委托时间",
  16375. "type": "string"
  16376. },
  16377. "clientticket": {
  16378. "description": "客户端流水号",
  16379. "type": "string"
  16380. },
  16381. "clienttype": {
  16382. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16383. "type": "integer"
  16384. },
  16385. "closeexchagechargevalue": {
  16386. "description": "平仓交易所手续费设置值",
  16387. "type": "number"
  16388. },
  16389. "closefeealgorithm": {
  16390. "description": "平仓手续费收取方式 1:比率 2:固定",
  16391. "type": "integer"
  16392. },
  16393. "closefreezecharge": {
  16394. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16395. "type": "number"
  16396. },
  16397. "closememberchargevalue": {
  16398. "description": "平仓会员手续费设置值",
  16399. "type": "number"
  16400. },
  16401. "closeqty": {
  16402. "description": "平仓数量(先建后平操作 需要记录)",
  16403. "type": "integer"
  16404. },
  16405. "closetradeqty": {
  16406. "description": "平仓成交数量(先建后平操作,需要记录)",
  16407. "type": "integer"
  16408. },
  16409. "closeunfreezecharge": {
  16410. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16411. "type": "number"
  16412. },
  16413. "delistingtype": {
  16414. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16415. "type": "integer"
  16416. },
  16417. "freezecharge": {
  16418. "description": "冻结手续费",
  16419. "type": "number"
  16420. },
  16421. "freezemargin": {
  16422. "description": "冻结保证金(冻结交易金额)",
  16423. "type": "number"
  16424. },
  16425. "gcaccountid": {
  16426. "description": "账户ID[合约币种]",
  16427. "type": "integer"
  16428. },
  16429. "goodscode": {
  16430. "description": "商品代码",
  16431. "type": "string"
  16432. },
  16433. "goodsid": {
  16434. "description": "商品ID",
  16435. "type": "integer"
  16436. },
  16437. "goodsname": {
  16438. "description": "商品名称",
  16439. "type": "string"
  16440. },
  16441. "histradedate": {
  16442. "description": "历史交易日",
  16443. "type": "string"
  16444. },
  16445. "isconfirmexercise": {
  16446. "description": "是否确认行权- 0:否 1:是",
  16447. "type": "integer"
  16448. },
  16449. "ispreexercise": {
  16450. "description": "是否预申报- 0:否 1:是",
  16451. "type": "integer"
  16452. },
  16453. "isvaliddata": {
  16454. "description": "是否有效 - 0:无效 1:有效",
  16455. "type": "integer"
  16456. },
  16457. "listingselecttype": {
  16458. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16459. "type": "integer"
  16460. },
  16461. "marginalgorithm": {
  16462. "description": "保证金收取方式 1:比率 2:固定",
  16463. "type": "integer"
  16464. },
  16465. "marginvalue": {
  16466. "description": "即市保证金设置值",
  16467. "type": "number"
  16468. },
  16469. "marketid": {
  16470. "description": "市场ID",
  16471. "type": "integer"
  16472. },
  16473. "marketmaxsub": {
  16474. "description": "市价最大偏移范围",
  16475. "type": "number"
  16476. },
  16477. "marketname": {
  16478. "description": "市场名称",
  16479. "type": "string"
  16480. },
  16481. "memberuserid": {
  16482. "description": "所属会员UserID",
  16483. "type": "integer"
  16484. },
  16485. "openexchagechargevalue": {
  16486. "description": "建仓交易所手续费设置值",
  16487. "type": "number"
  16488. },
  16489. "openfeealgorithm": {
  16490. "description": "建仓手续费收取方式 1:比率 2:固定",
  16491. "type": "integer"
  16492. },
  16493. "openfreezecharge": {
  16494. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16495. "type": "number"
  16496. },
  16497. "openmemberchargevalue": {
  16498. "description": "建仓会员手续费设置值",
  16499. "type": "number"
  16500. },
  16501. "openqty": {
  16502. "description": "开仓数量(先建后平操作,需要记录)",
  16503. "type": "integer"
  16504. },
  16505. "opentradeqty": {
  16506. "description": "开仓成交数量(先建后平操作,需要记录)",
  16507. "type": "integer"
  16508. },
  16509. "openunfreezecharge": {
  16510. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16511. "type": "number"
  16512. },
  16513. "operatetype": {
  16514. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16515. "type": "integer"
  16516. },
  16517. "operatorid": {
  16518. "description": "登录账号(LoginID)",
  16519. "type": "integer"
  16520. },
  16521. "optiontype": {
  16522. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16523. "type": "integer"
  16524. },
  16525. "orderid": {
  16526. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16527. "type": "string"
  16528. },
  16529. "orderprice": {
  16530. "description": "委托价格",
  16531. "type": "number"
  16532. },
  16533. "orderqty": {
  16534. "description": "委托数量",
  16535. "type": "integer"
  16536. },
  16537. "ordersrc": {
  16538. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16539. "type": "integer"
  16540. },
  16541. "orderstatus": {
  16542. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16543. "type": "integer"
  16544. },
  16545. "ordertime": {
  16546. "description": "委托时间",
  16547. "type": "string"
  16548. },
  16549. "preexerciseprice": {
  16550. "description": "预申报价格",
  16551. "type": "number"
  16552. },
  16553. "premium": {
  16554. "description": "权利金",
  16555. "type": "number"
  16556. },
  16557. "preorderid": {
  16558. "description": "关联预埋单号(止盈止损单时填写)",
  16559. "type": "string"
  16560. },
  16561. "pricemode": {
  16562. "description": "取价方式 - 1:市价 2: 限价",
  16563. "type": "integer"
  16564. },
  16565. "quoteid": {
  16566. "description": "报价单ID",
  16567. "type": "integer"
  16568. },
  16569. "relatedid": {
  16570. "description": "关联单号(交割单)",
  16571. "type": "string"
  16572. },
  16573. "retcode": {
  16574. "description": "错误代码",
  16575. "type": "integer"
  16576. },
  16577. "sessionid": {
  16578. "description": "会话ID",
  16579. "type": "integer"
  16580. },
  16581. "tradedate": {
  16582. "description": "交易日(yyyyMMdd)",
  16583. "type": "string"
  16584. },
  16585. "trademode": {
  16586. "description": "交易模式",
  16587. "type": "integer"
  16588. },
  16589. "tradeproperty": {
  16590. "description": "交易属性",
  16591. "type": "integer"
  16592. },
  16593. "tradeqty": {
  16594. "description": "成交数量",
  16595. "type": "integer"
  16596. },
  16597. "unfreezecharge": {
  16598. "description": "解冻手续费",
  16599. "type": "number"
  16600. },
  16601. "unfreezemargin": {
  16602. "description": "解冻保证金",
  16603. "type": "number"
  16604. },
  16605. "updatetime": {
  16606. "description": "更新时间",
  16607. "type": "string"
  16608. },
  16609. "uuid": {
  16610. "description": "发起端唯一id",
  16611. "type": "string"
  16612. },
  16613. "validtime": {
  16614. "description": "有效期限",
  16615. "type": "string"
  16616. },
  16617. "validtype": {
  16618. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16619. "type": "integer"
  16620. },
  16621. "volumetype": {
  16622. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16623. "type": "integer"
  16624. }
  16625. }
  16626. },
  16627. "order.QueryTradeDetailRsp": {
  16628. "type": "object",
  16629. "required": [
  16630. "accountid",
  16631. "buyorsell",
  16632. "goodsid",
  16633. "marketid",
  16634. "memberuserid",
  16635. "orderid",
  16636. "tradeamount",
  16637. "tradedate",
  16638. "tradeid",
  16639. "tradeprice",
  16640. "tradeqty",
  16641. "tradetime"
  16642. ],
  16643. "properties": {
  16644. "accountid": {
  16645. "description": "账户ID[报价币种]",
  16646. "type": "integer"
  16647. },
  16648. "buildtype": {
  16649. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16650. "type": "integer"
  16651. },
  16652. "buyorsell": {
  16653. "description": "方向 - 0:买 1:卖",
  16654. "type": "integer"
  16655. },
  16656. "charge": {
  16657. "description": "手续费",
  16658. "type": "number"
  16659. },
  16660. "closecharge": {
  16661. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16662. "type": "number"
  16663. },
  16664. "closeexchagechargevalue": {
  16665. "description": "平仓交易所手续费设置值",
  16666. "type": "number"
  16667. },
  16668. "closefeealgorithm": {
  16669. "description": "平仓手续费收取方式 1:比率 2:固定",
  16670. "type": "integer"
  16671. },
  16672. "closememberchargevalue": {
  16673. "description": "平仓会员手续费设置值",
  16674. "type": "number"
  16675. },
  16676. "closepl": {
  16677. "description": "平仓盈亏",
  16678. "type": "number"
  16679. },
  16680. "closepl2": {
  16681. "description": "平仓盈亏[逐笔]",
  16682. "type": "number"
  16683. },
  16684. "closeqty": {
  16685. "description": "平仓数量(先建后平操作 需要记录)",
  16686. "type": "integer"
  16687. },
  16688. "creditamount": {
  16689. "description": "授信金额",
  16690. "type": "number"
  16691. },
  16692. "gcaccountid": {
  16693. "description": "账户ID[合约币种]",
  16694. "type": "integer"
  16695. },
  16696. "goodscode": {
  16697. "description": "商品代码",
  16698. "type": "string"
  16699. },
  16700. "goodsid": {
  16701. "description": "商品ID",
  16702. "type": "integer"
  16703. },
  16704. "goodsname": {
  16705. "description": "商品名称",
  16706. "type": "string"
  16707. },
  16708. "intclosepl": {
  16709. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16710. "type": "integer"
  16711. },
  16712. "isconfirmexercise": {
  16713. "description": "是否确认行权- 0:否 1:是",
  16714. "type": "integer"
  16715. },
  16716. "ismain": {
  16717. "description": "是否主单 - 0:不是 1:是",
  16718. "type": "integer"
  16719. },
  16720. "ispreexercise": {
  16721. "description": "是否预申报- 0:否 1:是",
  16722. "type": "integer"
  16723. },
  16724. "isreckoned": {
  16725. "description": "是否结算 - 0:未结算 1:已结算",
  16726. "type": "integer"
  16727. },
  16728. "listingselecttype": {
  16729. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16730. "type": "integer"
  16731. },
  16732. "marketid": {
  16733. "description": "市场ID",
  16734. "type": "integer"
  16735. },
  16736. "marketname": {
  16737. "description": "市场名称",
  16738. "type": "string"
  16739. },
  16740. "matchaccountid": {
  16741. "description": "对手账号id",
  16742. "type": "integer"
  16743. },
  16744. "memberuserid": {
  16745. "description": "会员id 个人投资者 需要填写",
  16746. "type": "integer"
  16747. },
  16748. "opencharge": {
  16749. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16750. "type": "number"
  16751. },
  16752. "openexchagechargevalue": {
  16753. "description": "建仓交易所手续费设置值",
  16754. "type": "number"
  16755. },
  16756. "openfeealgorithm": {
  16757. "description": "建仓手续费收取方式 1:比率 2:固定",
  16758. "type": "integer"
  16759. },
  16760. "openmemberchargevalue": {
  16761. "description": "建仓会员手续费设置值",
  16762. "type": "number"
  16763. },
  16764. "openqty": {
  16765. "description": "开仓数量(先建后平操作 需要记录)",
  16766. "type": "integer"
  16767. },
  16768. "optiontype": {
  16769. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16770. "type": "integer"
  16771. },
  16772. "orderid": {
  16773. "description": "委托单号",
  16774. "type": "string"
  16775. },
  16776. "performanceplanid": {
  16777. "description": "履约计划ID[期权]",
  16778. "type": "integer"
  16779. },
  16780. "performancestatus": {
  16781. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16782. "type": "integer"
  16783. },
  16784. "preexerciseprice": {
  16785. "description": "预申报价格",
  16786. "type": "number"
  16787. },
  16788. "premium": {
  16789. "description": "权利金 - [持仓单的权利金]",
  16790. "type": "number"
  16791. },
  16792. "relatedouttradeid": {
  16793. "description": "关联外部成交单ID",
  16794. "type": "integer"
  16795. },
  16796. "status": {
  16797. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16798. "type": "integer"
  16799. },
  16800. "tradeamount": {
  16801. "description": "成交金额[账户币种,用于所有权]",
  16802. "type": "number"
  16803. },
  16804. "tradedate": {
  16805. "description": "交易日(yyyyMMdd)",
  16806. "type": "string"
  16807. },
  16808. "tradeid": {
  16809. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16810. "type": "string"
  16811. },
  16812. "trademode": {
  16813. "description": "交易模式",
  16814. "type": "integer"
  16815. },
  16816. "tradeprice": {
  16817. "description": "成交价格",
  16818. "type": "number"
  16819. },
  16820. "tradeproperty": {
  16821. "description": "交易属性",
  16822. "type": "integer"
  16823. },
  16824. "tradeqty": {
  16825. "description": "成交数量",
  16826. "type": "integer"
  16827. },
  16828. "tradetime": {
  16829. "description": "成交时间",
  16830. "type": "string"
  16831. },
  16832. "tradetype": {
  16833. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16834. "type": "integer"
  16835. }
  16836. }
  16837. },
  16838. "order.QueryTradeOrderDetailRsp": {
  16839. "type": "object",
  16840. "required": [
  16841. "accountid",
  16842. "buildtype",
  16843. "buyorsell",
  16844. "goodsid",
  16845. "marketid",
  16846. "operatetype",
  16847. "orderqty",
  16848. "ordertime",
  16849. "pricemode",
  16850. "tradedate",
  16851. "validtype"
  16852. ],
  16853. "properties": {
  16854. "accountid": {
  16855. "description": "账户ID[报价币种]",
  16856. "type": "integer"
  16857. },
  16858. "buildtype": {
  16859. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16860. "type": "integer"
  16861. },
  16862. "buyorsell": {
  16863. "description": "买卖 - 0:买 1:卖",
  16864. "type": "integer"
  16865. },
  16866. "cancelorderid": {
  16867. "description": "撤单单号(撤单时填写)",
  16868. "type": "string"
  16869. },
  16870. "cancelqty": {
  16871. "description": "撤单数量",
  16872. "type": "integer"
  16873. },
  16874. "clienttype": {
  16875. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16876. "type": "integer"
  16877. },
  16878. "closefreezecharge": {
  16879. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16880. "type": "number"
  16881. },
  16882. "closeqty": {
  16883. "description": "平仓数量(先建后平操作 需要记录)",
  16884. "type": "integer"
  16885. },
  16886. "closetradeqty": {
  16887. "description": "平仓成交数量(先建后平操作,需要记录)",
  16888. "type": "integer"
  16889. },
  16890. "closeunfreezecharge": {
  16891. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16892. "type": "number"
  16893. },
  16894. "delistingtype": {
  16895. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16896. "type": "integer"
  16897. },
  16898. "enableqty": {
  16899. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16900. "type": "integer"
  16901. },
  16902. "freezecharge": {
  16903. "description": "冻结手续费",
  16904. "type": "number"
  16905. },
  16906. "freezemargin": {
  16907. "description": "冻结保证金(冻结交易金额)",
  16908. "type": "number"
  16909. },
  16910. "goodscode": {
  16911. "description": "商品代码",
  16912. "type": "string"
  16913. },
  16914. "goodsid": {
  16915. "description": "商品ID",
  16916. "type": "integer"
  16917. },
  16918. "goodsname": {
  16919. "description": "商品名称",
  16920. "type": "string"
  16921. },
  16922. "listingselecttype": {
  16923. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16924. "type": "integer"
  16925. },
  16926. "marketid": {
  16927. "description": "市场ID",
  16928. "type": "integer"
  16929. },
  16930. "marketname": {
  16931. "description": "市场名称",
  16932. "type": "string"
  16933. },
  16934. "openfreezecharge": {
  16935. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16936. "type": "number"
  16937. },
  16938. "openqty": {
  16939. "description": "开仓数量(先建后平操作,需要记录)",
  16940. "type": "integer"
  16941. },
  16942. "opentradeqty": {
  16943. "description": "开仓成交数量(先建后平操作,需要记录)",
  16944. "type": "integer"
  16945. },
  16946. "openunfreezecharge": {
  16947. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16948. "type": "number"
  16949. },
  16950. "operatetype": {
  16951. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16952. "type": "integer"
  16953. },
  16954. "operatorid": {
  16955. "description": "登录账号(LoginID)",
  16956. "type": "integer"
  16957. },
  16958. "orderid": {
  16959. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16960. "type": "string"
  16961. },
  16962. "orderprice": {
  16963. "description": "委托价格",
  16964. "type": "number"
  16965. },
  16966. "orderqty": {
  16967. "description": "委托数量",
  16968. "type": "integer"
  16969. },
  16970. "ordersrc": {
  16971. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16972. "type": "integer"
  16973. },
  16974. "orderstatus": {
  16975. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16976. "type": "integer"
  16977. },
  16978. "ordertime": {
  16979. "description": "委托时间",
  16980. "type": "string"
  16981. },
  16982. "preorderid": {
  16983. "description": "关联预埋单号(止盈止损单时填写)",
  16984. "type": "string"
  16985. },
  16986. "pricemode": {
  16987. "description": "取价方式 - 1:市价 2: 限价",
  16988. "type": "integer"
  16989. },
  16990. "relatedid": {
  16991. "description": "关联单号(交割单)",
  16992. "type": "string"
  16993. },
  16994. "tradedate": {
  16995. "description": "交易日(yyyyMMdd)",
  16996. "type": "string"
  16997. },
  16998. "trademode": {
  16999. "description": "交易模式",
  17000. "type": "integer"
  17001. },
  17002. "tradeqty": {
  17003. "description": "成交数量",
  17004. "type": "integer"
  17005. },
  17006. "unfreezecharge": {
  17007. "description": "解冻手续费",
  17008. "type": "number"
  17009. },
  17010. "unfreezemargin": {
  17011. "description": "解冻保证金",
  17012. "type": "number"
  17013. },
  17014. "validtime": {
  17015. "description": "有效期限",
  17016. "type": "string"
  17017. },
  17018. "validtype": {
  17019. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17020. "type": "integer"
  17021. },
  17022. "volumetype": {
  17023. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17024. "type": "integer"
  17025. }
  17026. }
  17027. },
  17028. "order.QueryTradePositionRsp": {
  17029. "type": "object",
  17030. "required": [
  17031. "goodsid"
  17032. ],
  17033. "properties": {
  17034. "accountid": {
  17035. "description": "资金账户",
  17036. "type": "integer"
  17037. },
  17038. "agreeunit": {
  17039. "description": "合约单位",
  17040. "type": "number"
  17041. },
  17042. "averageprice": {
  17043. "description": "持仓均价",
  17044. "type": "number"
  17045. },
  17046. "buyorsell": {
  17047. "description": "方向 - 0:买 1:卖",
  17048. "type": "integer"
  17049. },
  17050. "closetotalqty": {
  17051. "description": "平仓总数量",
  17052. "type": "integer"
  17053. },
  17054. "curholderamount": {
  17055. "description": "当前持仓总金额[商品币种]",
  17056. "type": "number"
  17057. },
  17058. "curpositionqty": {
  17059. "description": "当前持仓总数量",
  17060. "type": "integer"
  17061. },
  17062. "currencyid": {
  17063. "description": "报价货币ID",
  17064. "type": "integer"
  17065. },
  17066. "curtdposition": {
  17067. "description": "期末今日头寸",
  17068. "type": "integer"
  17069. },
  17070. "decimalplace": {
  17071. "description": "报价小数位",
  17072. "type": "integer"
  17073. },
  17074. "enableqty": {
  17075. "description": "可用量",
  17076. "type": "integer"
  17077. },
  17078. "fretdposition": {
  17079. "description": "冻结今日头寸",
  17080. "type": "integer"
  17081. },
  17082. "frozenqty": {
  17083. "description": "持仓冻结数量",
  17084. "type": "integer"
  17085. },
  17086. "goodscode": {
  17087. "description": "商品代码",
  17088. "type": "string"
  17089. },
  17090. "goodsid": {
  17091. "description": "商品Id",
  17092. "type": "integer"
  17093. },
  17094. "goodsname": {
  17095. "description": "商品名称",
  17096. "type": "string"
  17097. },
  17098. "goodunit": {
  17099. "description": "报价单位",
  17100. "type": "string"
  17101. },
  17102. "goodunitid": {
  17103. "description": "报价单位ID",
  17104. "type": "integer"
  17105. },
  17106. "holderamount": {
  17107. "description": "期初持仓总金额[商品币种]",
  17108. "type": "number"
  17109. },
  17110. "marketid": {
  17111. "description": "所属市场ID",
  17112. "type": "integer"
  17113. },
  17114. "openreqqty": {
  17115. "description": "开仓申请数量(用于比较最大持仓数量)",
  17116. "type": "integer"
  17117. },
  17118. "opentotalqty": {
  17119. "description": "开仓总数量",
  17120. "type": "integer"
  17121. },
  17122. "otherfrozenqty": {
  17123. "description": "持仓其他冻结数量(交割冻结)",
  17124. "type": "integer"
  17125. },
  17126. "positionqty": {
  17127. "description": "期初持仓数量",
  17128. "type": "integer"
  17129. },
  17130. "tnqty": {
  17131. "description": "T+N冻结总量",
  17132. "type": "integer"
  17133. },
  17134. "tnusedqty": {
  17135. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17136. "type": "integer"
  17137. },
  17138. "trademode": {
  17139. "description": "交易模式",
  17140. "type": "integer"
  17141. },
  17142. "usedmargin": {
  17143. "description": "占用保证金[商品币种]",
  17144. "type": "number"
  17145. }
  17146. }
  17147. },
  17148. "quote.HistoryData": {
  17149. "type": "object",
  17150. "properties": {
  17151. "c": {
  17152. "description": "收盘价",
  17153. "type": "number"
  17154. },
  17155. "f": {
  17156. "description": "是否补充数据",
  17157. "type": "boolean"
  17158. },
  17159. "h": {
  17160. "description": "最高价",
  17161. "type": "number"
  17162. },
  17163. "hv": {
  17164. "description": "持仓量",
  17165. "type": "integer"
  17166. },
  17167. "l": {
  17168. "description": "最低价",
  17169. "type": "number"
  17170. },
  17171. "o": {
  17172. "description": "开盘价",
  17173. "type": "number"
  17174. },
  17175. "s": {
  17176. "description": "结算价,日线周期(包括)以上才有",
  17177. "type": "number"
  17178. },
  17179. "ts": {
  17180. "description": "时间",
  17181. "type": "string"
  17182. },
  17183. "tt": {
  17184. "description": "总金额",
  17185. "type": "number"
  17186. },
  17187. "tv": {
  17188. "description": "总量",
  17189. "type": "integer"
  17190. }
  17191. }
  17192. },
  17193. "quote.HistoryTikData": {
  17194. "type": "object",
  17195. "properties": {
  17196. "AV": {
  17197. "description": "卖量",
  17198. "type": "integer"
  17199. },
  17200. "Ask": {
  17201. "description": "卖价",
  17202. "type": "number"
  17203. },
  17204. "BV": {
  17205. "description": "买量",
  17206. "type": "integer"
  17207. },
  17208. "Bid": {
  17209. "description": "买价",
  17210. "type": "number"
  17211. },
  17212. "HI": {
  17213. "description": "单笔持仓",
  17214. "type": "integer"
  17215. },
  17216. "HV": {
  17217. "description": "持仓量",
  17218. "type": "integer"
  17219. },
  17220. "PE": {
  17221. "description": "现价",
  17222. "type": "number"
  17223. },
  17224. "TDR": {
  17225. "description": "交易方向,0:买 1:卖",
  17226. "type": "integer"
  17227. },
  17228. "TK": {
  17229. "description": "交易类型",
  17230. "type": "integer"
  17231. },
  17232. "TS": {
  17233. "description": "行情时间文本",
  17234. "type": "string"
  17235. },
  17236. "TT": {
  17237. "description": "现金额",
  17238. "type": "number"
  17239. },
  17240. "Vol": {
  17241. "description": "现量",
  17242. "type": "integer"
  17243. }
  17244. }
  17245. },
  17246. "quote.QueryQuoteDayRsp": {
  17247. "type": "object",
  17248. "properties": {
  17249. "ask": {
  17250. "description": "卖1",
  17251. "type": "number"
  17252. },
  17253. "ask10": {
  17254. "description": "卖10",
  17255. "type": "number"
  17256. },
  17257. "ask2": {
  17258. "description": "卖2",
  17259. "type": "number"
  17260. },
  17261. "ask3": {
  17262. "description": "卖3",
  17263. "type": "number"
  17264. },
  17265. "ask4": {
  17266. "description": "卖4",
  17267. "type": "number"
  17268. },
  17269. "ask5": {
  17270. "description": "卖5",
  17271. "type": "number"
  17272. },
  17273. "ask6": {
  17274. "description": "卖6",
  17275. "type": "number"
  17276. },
  17277. "ask7": {
  17278. "description": "卖7",
  17279. "type": "number"
  17280. },
  17281. "ask8": {
  17282. "description": "卖8",
  17283. "type": "number"
  17284. },
  17285. "ask9": {
  17286. "description": "卖9",
  17287. "type": "number"
  17288. },
  17289. "askorderid": {
  17290. "description": "卖单号1",
  17291. "type": "integer"
  17292. },
  17293. "askorderid2": {
  17294. "description": "卖单号2",
  17295. "type": "integer"
  17296. },
  17297. "askorderid3": {
  17298. "description": "卖单号3",
  17299. "type": "integer"
  17300. },
  17301. "askorderid4": {
  17302. "description": "卖单号4",
  17303. "type": "integer"
  17304. },
  17305. "askorderid5": {
  17306. "description": "卖单号5",
  17307. "type": "integer"
  17308. },
  17309. "askordervolume": {
  17310. "description": "卖单量1",
  17311. "type": "integer"
  17312. },
  17313. "askordervolume10": {
  17314. "description": "卖单量10",
  17315. "type": "integer"
  17316. },
  17317. "askordervolume2": {
  17318. "description": "卖单量2",
  17319. "type": "integer"
  17320. },
  17321. "askordervolume3": {
  17322. "description": "卖单量3",
  17323. "type": "integer"
  17324. },
  17325. "askordervolume4": {
  17326. "description": "卖单量4",
  17327. "type": "integer"
  17328. },
  17329. "askordervolume5": {
  17330. "description": "卖单量5",
  17331. "type": "integer"
  17332. },
  17333. "askordervolume6": {
  17334. "description": "卖单量6",
  17335. "type": "integer"
  17336. },
  17337. "askordervolume7": {
  17338. "description": "卖单量7",
  17339. "type": "integer"
  17340. },
  17341. "askordervolume8": {
  17342. "description": "卖单量8",
  17343. "type": "integer"
  17344. },
  17345. "askordervolume9": {
  17346. "description": "卖单量9",
  17347. "type": "integer"
  17348. },
  17349. "askqueueinfo": {
  17350. "description": "大利市卖港股用",
  17351. "type": "string"
  17352. },
  17353. "askvolume": {
  17354. "description": "卖量1",
  17355. "type": "integer"
  17356. },
  17357. "askvolume10": {
  17358. "description": "卖量10",
  17359. "type": "integer"
  17360. },
  17361. "askvolume2": {
  17362. "description": "卖量2",
  17363. "type": "integer"
  17364. },
  17365. "askvolume3": {
  17366. "description": "卖量3",
  17367. "type": "integer"
  17368. },
  17369. "askvolume4": {
  17370. "description": "卖量4",
  17371. "type": "integer"
  17372. },
  17373. "askvolume5": {
  17374. "description": "卖量5",
  17375. "type": "integer"
  17376. },
  17377. "askvolume6": {
  17378. "description": "卖量6",
  17379. "type": "integer"
  17380. },
  17381. "askvolume7": {
  17382. "description": "卖量7",
  17383. "type": "integer"
  17384. },
  17385. "askvolume8": {
  17386. "description": "卖量8",
  17387. "type": "integer"
  17388. },
  17389. "askvolume9": {
  17390. "description": "卖量9",
  17391. "type": "integer"
  17392. },
  17393. "averageprice": {
  17394. "description": "均价",
  17395. "type": "number"
  17396. },
  17397. "bid": {
  17398. "description": "买1",
  17399. "type": "number"
  17400. },
  17401. "bid10": {
  17402. "description": "买10",
  17403. "type": "number"
  17404. },
  17405. "bid2": {
  17406. "description": "买2",
  17407. "type": "number"
  17408. },
  17409. "bid3": {
  17410. "description": "买3",
  17411. "type": "number"
  17412. },
  17413. "bid4": {
  17414. "description": "买4",
  17415. "type": "number"
  17416. },
  17417. "bid5": {
  17418. "description": "买5",
  17419. "type": "number"
  17420. },
  17421. "bid6": {
  17422. "description": "买6",
  17423. "type": "number"
  17424. },
  17425. "bid7": {
  17426. "description": "买7",
  17427. "type": "number"
  17428. },
  17429. "bid8": {
  17430. "description": "买8",
  17431. "type": "number"
  17432. },
  17433. "bid9": {
  17434. "description": "买9",
  17435. "type": "number"
  17436. },
  17437. "bidorderid": {
  17438. "description": "买单号1",
  17439. "type": "integer"
  17440. },
  17441. "bidorderid2": {
  17442. "description": "买单号2",
  17443. "type": "integer"
  17444. },
  17445. "bidorderid3": {
  17446. "description": "买单号3",
  17447. "type": "integer"
  17448. },
  17449. "bidorderid4": {
  17450. "description": "买单号4",
  17451. "type": "integer"
  17452. },
  17453. "bidorderid5": {
  17454. "description": "买单号5",
  17455. "type": "integer"
  17456. },
  17457. "bidordervolume": {
  17458. "description": "买单量1",
  17459. "type": "integer"
  17460. },
  17461. "bidordervolume10": {
  17462. "description": "买单量10",
  17463. "type": "integer"
  17464. },
  17465. "bidordervolume2": {
  17466. "description": "买单量2",
  17467. "type": "integer"
  17468. },
  17469. "bidordervolume3": {
  17470. "description": "买单量3",
  17471. "type": "integer"
  17472. },
  17473. "bidordervolume4": {
  17474. "description": "买单量4",
  17475. "type": "integer"
  17476. },
  17477. "bidordervolume5": {
  17478. "description": "买单量5",
  17479. "type": "integer"
  17480. },
  17481. "bidordervolume6": {
  17482. "description": "买单量6",
  17483. "type": "integer"
  17484. },
  17485. "bidordervolume7": {
  17486. "description": "买单量7",
  17487. "type": "integer"
  17488. },
  17489. "bidordervolume8": {
  17490. "description": "买单量8",
  17491. "type": "integer"
  17492. },
  17493. "bidordervolume9": {
  17494. "description": "买单量9",
  17495. "type": "integer"
  17496. },
  17497. "bidqueueinfo": {
  17498. "description": "大利市买港股用",
  17499. "type": "string"
  17500. },
  17501. "bidvolume": {
  17502. "description": "买量1",
  17503. "type": "integer"
  17504. },
  17505. "bidvolume10": {
  17506. "description": "买量10",
  17507. "type": "integer"
  17508. },
  17509. "bidvolume2": {
  17510. "description": "买量2",
  17511. "type": "integer"
  17512. },
  17513. "bidvolume3": {
  17514. "description": "买量3",
  17515. "type": "integer"
  17516. },
  17517. "bidvolume4": {
  17518. "description": "买量4",
  17519. "type": "integer"
  17520. },
  17521. "bidvolume5": {
  17522. "description": "买量5",
  17523. "type": "integer"
  17524. },
  17525. "bidvolume6": {
  17526. "description": "买量6",
  17527. "type": "integer"
  17528. },
  17529. "bidvolume7": {
  17530. "description": "买量7",
  17531. "type": "integer"
  17532. },
  17533. "bidvolume8": {
  17534. "description": "买量8",
  17535. "type": "integer"
  17536. },
  17537. "bidvolume9": {
  17538. "description": "买量9",
  17539. "type": "integer"
  17540. },
  17541. "calloptionpremiums": {
  17542. "description": "认购期权1",
  17543. "type": "integer"
  17544. },
  17545. "calloptionpremiums2": {
  17546. "description": "认购期权2",
  17547. "type": "integer"
  17548. },
  17549. "calloptionpremiums3": {
  17550. "description": "认购期权3",
  17551. "type": "integer"
  17552. },
  17553. "calloptionpremiums4": {
  17554. "description": "认购期权4",
  17555. "type": "integer"
  17556. },
  17557. "calloptionpremiums5": {
  17558. "description": "认购期权5",
  17559. "type": "integer"
  17560. },
  17561. "cleartime": {
  17562. "description": "清盘时间",
  17563. "type": "integer"
  17564. },
  17565. "exchangecode": {
  17566. "description": "交易所代码",
  17567. "type": "integer"
  17568. },
  17569. "exchangedate": {
  17570. "description": "交易日",
  17571. "type": "integer"
  17572. },
  17573. "goodscode": {
  17574. "description": "商品代码",
  17575. "type": "string"
  17576. },
  17577. "grepmarketprice": {
  17578. "description": "暗盘价 港股专用",
  17579. "type": "number"
  17580. },
  17581. "highest": {
  17582. "description": "最高价",
  17583. "type": "number"
  17584. },
  17585. "holdincrement": {
  17586. "description": "单笔持仓",
  17587. "type": "integer"
  17588. },
  17589. "holdvolume": {
  17590. "description": "持仓",
  17591. "type": "integer"
  17592. },
  17593. "iep": {
  17594. "description": "平衡价 港股专用",
  17595. "type": "number"
  17596. },
  17597. "iev": {
  17598. "description": "平衡量 港股专用",
  17599. "type": "number"
  17600. },
  17601. "inventory": {
  17602. "description": "库存",
  17603. "type": "integer"
  17604. },
  17605. "iscleared": {
  17606. "description": "是否清盘标志",
  17607. "type": "integer"
  17608. },
  17609. "issettled": {
  17610. "description": "是否结算标志",
  17611. "type": "integer"
  17612. },
  17613. "last": {
  17614. "description": "最新价",
  17615. "type": "number"
  17616. },
  17617. "lastlot": {
  17618. "description": "最新成交手数",
  17619. "type": "integer"
  17620. },
  17621. "lasttime": {
  17622. "description": "行情时间(只有现价变化行情时间才变化)",
  17623. "type": "string"
  17624. },
  17625. "lastturnover": {
  17626. "description": "最新成交金额",
  17627. "type": "number"
  17628. },
  17629. "lastvolume": {
  17630. "description": "最新成交量",
  17631. "type": "integer"
  17632. },
  17633. "limitdown": {
  17634. "description": "跌停价",
  17635. "type": "number"
  17636. },
  17637. "limitup": {
  17638. "description": "涨停价",
  17639. "type": "number"
  17640. },
  17641. "lowest": {
  17642. "description": "最低价",
  17643. "type": "number"
  17644. },
  17645. "nontotalholdervolume": {
  17646. "description": "非交易持仓量",
  17647. "type": "integer"
  17648. },
  17649. "nontotallot": {
  17650. "description": "非交易总手数",
  17651. "type": "integer"
  17652. },
  17653. "nontotalturnover": {
  17654. "description": "非交易总金额",
  17655. "type": "integer"
  17656. },
  17657. "nontotalvolume": {
  17658. "description": "非交易总量",
  17659. "type": "integer"
  17660. },
  17661. "opened": {
  17662. "description": "开盘价",
  17663. "type": "number"
  17664. },
  17665. "opentime": {
  17666. "description": "开盘时间",
  17667. "type": "string"
  17668. },
  17669. "orderid": {
  17670. "description": "序号",
  17671. "type": "integer"
  17672. },
  17673. "preclose": {
  17674. "description": "昨收",
  17675. "type": "number"
  17676. },
  17677. "preholdvolume": {
  17678. "description": "昨持仓",
  17679. "type": "integer"
  17680. },
  17681. "presettle": {
  17682. "description": "昨结价",
  17683. "type": "number"
  17684. },
  17685. "publictradetype": {
  17686. "description": "公共交易标志类型 港股专用",
  17687. "type": "string"
  17688. },
  17689. "putoptionpremiums": {
  17690. "description": "认沽期权1",
  17691. "type": "integer"
  17692. },
  17693. "putoptionpremiums2": {
  17694. "description": "认沽期权2",
  17695. "type": "integer"
  17696. },
  17697. "putoptionpremiums3": {
  17698. "description": "认沽期权3",
  17699. "type": "integer"
  17700. },
  17701. "putoptionpremiums4": {
  17702. "description": "认沽期权4",
  17703. "type": "integer"
  17704. },
  17705. "putoptionpremiums5": {
  17706. "description": "认沽期权5",
  17707. "type": "integer"
  17708. },
  17709. "settle": {
  17710. "description": "结算价",
  17711. "type": "number"
  17712. },
  17713. "strikeprice": {
  17714. "description": "发行价",
  17715. "type": "number"
  17716. },
  17717. "totalaskvolume": {
  17718. "description": "内盘",
  17719. "type": "integer"
  17720. },
  17721. "totalbidvolume": {
  17722. "description": "外盘",
  17723. "type": "integer"
  17724. },
  17725. "totallot": {
  17726. "description": "总手数",
  17727. "type": "integer"
  17728. },
  17729. "totalturnover": {
  17730. "description": "总金额",
  17731. "type": "number"
  17732. },
  17733. "totalvolume": {
  17734. "description": "总量",
  17735. "type": "integer"
  17736. },
  17737. "utclasttime": {
  17738. "description": "utc的行情时间",
  17739. "type": "string"
  17740. }
  17741. }
  17742. },
  17743. "quote.QueryTSDataRsp": {
  17744. "type": "object",
  17745. "properties": {
  17746. "decimalPlace": {
  17747. "description": "小数位",
  17748. "type": "integer"
  17749. },
  17750. "endTime": {
  17751. "description": "结束时间",
  17752. "type": "string"
  17753. },
  17754. "goodsCode": {
  17755. "description": "商品代码",
  17756. "type": "string"
  17757. },
  17758. "historyDatas": {
  17759. "description": "历史数据",
  17760. "type": "array",
  17761. "items": {
  17762. "$ref": "#/definitions/quote.HistoryData"
  17763. }
  17764. },
  17765. "outGoodsCode": {
  17766. "description": "外部商品代码",
  17767. "type": "string"
  17768. },
  17769. "preSettle": {
  17770. "description": "昨结",
  17771. "type": "number"
  17772. },
  17773. "startTime": {
  17774. "description": "开始时间",
  17775. "type": "string"
  17776. },
  17777. "tradeDate": {
  17778. "description": "交易日",
  17779. "type": "string"
  17780. }
  17781. }
  17782. },
  17783. "szdz.QueryConvertLogRsp": {
  17784. "type": "object",
  17785. "required": [
  17786. "logid"
  17787. ],
  17788. "properties": {
  17789. "accountid": {
  17790. "description": "资金账户ID",
  17791. "type": "integer"
  17792. },
  17793. "clientticket": {
  17794. "description": "客户端流水号",
  17795. "type": "string"
  17796. },
  17797. "converttype": {
  17798. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17799. "type": "integer"
  17800. },
  17801. "createtime": {
  17802. "description": "记账时间",
  17803. "type": "string"
  17804. },
  17805. "daymaxvalue": {
  17806. "description": "配置当日最大转入限制",
  17807. "type": "number"
  17808. },
  17809. "daymaxvalue2": {
  17810. "description": "配置当日最大转入限制(转入)",
  17811. "type": "number"
  17812. },
  17813. "goodscode": {
  17814. "description": "商品代码",
  17815. "type": "string"
  17816. },
  17817. "goodsname": {
  17818. "description": "商品名称",
  17819. "type": "string"
  17820. },
  17821. "handlestatus": {
  17822. "description": "处理状态",
  17823. "type": "integer"
  17824. },
  17825. "innergoodsid": {
  17826. "description": "内部商品ID",
  17827. "type": "integer"
  17828. },
  17829. "inratio": {
  17830. "description": "配置转入比值",
  17831. "type": "integer"
  17832. },
  17833. "invalue": {
  17834. "description": "目标值",
  17835. "type": "number"
  17836. },
  17837. "logid": {
  17838. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17839. "type": "integer"
  17840. },
  17841. "mobile": {
  17842. "description": "手机号码(加密存储)",
  17843. "type": "string"
  17844. },
  17845. "outergoodscode": {
  17846. "description": "外部商品代码[JD\\PD]",
  17847. "type": "string"
  17848. },
  17849. "outratio": {
  17850. "description": "配置转出比值",
  17851. "type": "integer"
  17852. },
  17853. "outvalue": {
  17854. "description": "源值",
  17855. "type": "number"
  17856. },
  17857. "pddecimalplace": {
  17858. "description": "PD小数位",
  17859. "type": "integer"
  17860. },
  17861. "qty": {
  17862. "description": "数量",
  17863. "type": "string"
  17864. },
  17865. "remark": {
  17866. "description": "备注",
  17867. "type": "string"
  17868. },
  17869. "sessionid": {
  17870. "description": "会话ID",
  17871. "type": "integer"
  17872. },
  17873. "timemaxvalue": {
  17874. "description": "配置单次最大转入限制",
  17875. "type": "number"
  17876. },
  17877. "timemaxvalue2": {
  17878. "description": "配置单次最大转入限制(转入)",
  17879. "type": "number"
  17880. },
  17881. "timeminvalue": {
  17882. "description": "配置单次最小数量限制",
  17883. "type": "number"
  17884. },
  17885. "timeminvalue2": {
  17886. "description": "配置单次最小数量限制(转入)",
  17887. "type": "number"
  17888. },
  17889. "tradedate": {
  17890. "description": "交易日(yyyyMMdd)",
  17891. "type": "string"
  17892. },
  17893. "userid": {
  17894. "description": "用户ID",
  17895. "type": "integer"
  17896. }
  17897. }
  17898. },
  17899. "szdz.QueryGoodsPickupRsp": {
  17900. "type": "object",
  17901. "required": [
  17902. "takeorderid"
  17903. ],
  17904. "properties": {
  17905. "accountid": {
  17906. "description": "账户ID",
  17907. "type": "integer"
  17908. },
  17909. "address": {
  17910. "description": "提货人详细地址",
  17911. "type": "string"
  17912. },
  17913. "auditer": {
  17914. "description": "审核人",
  17915. "type": "integer"
  17916. },
  17917. "audittime": {
  17918. "description": "审核时间",
  17919. "type": "string"
  17920. },
  17921. "cardnum": {
  17922. "description": "提货人证件号码",
  17923. "type": "string"
  17924. },
  17925. "cardtypeid": {
  17926. "description": "提货人证件类型",
  17927. "type": "integer"
  17928. },
  17929. "checkremark": {
  17930. "description": "审核备注",
  17931. "type": "string"
  17932. },
  17933. "goodscode": {
  17934. "description": "商品代码",
  17935. "type": "string"
  17936. },
  17937. "goodsid": {
  17938. "description": "商品ID",
  17939. "type": "integer"
  17940. },
  17941. "goodsname": {
  17942. "description": "商品名称",
  17943. "type": "string"
  17944. },
  17945. "handlestatus": {
  17946. "description": "处理状态",
  17947. "type": "integer"
  17948. },
  17949. "marketid": {
  17950. "description": "市场ID",
  17951. "type": "integer"
  17952. },
  17953. "phonenum": {
  17954. "description": "提货人联系方式",
  17955. "type": "string"
  17956. },
  17957. "qty": {
  17958. "description": "提货数量",
  17959. "type": "number"
  17960. },
  17961. "recivername": {
  17962. "description": "提货人姓名",
  17963. "type": "string"
  17964. },
  17965. "reqtime": {
  17966. "description": "更新时间",
  17967. "type": "string"
  17968. },
  17969. "takemode": {
  17970. "description": "提货方式 - 2:自提 3:配送",
  17971. "type": "integer"
  17972. },
  17973. "takeorderid": {
  17974. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17975. "type": "string"
  17976. },
  17977. "takeorderstatus": {
  17978. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17979. "type": "integer"
  17980. },
  17981. "takeremark": {
  17982. "description": "提货备注",
  17983. "type": "string"
  17984. },
  17985. "tradedate": {
  17986. "description": "交易日(yyyyMMdd)",
  17987. "type": "string"
  17988. },
  17989. "userid": {
  17990. "description": "用户ID",
  17991. "type": "integer"
  17992. }
  17993. }
  17994. },
  17995. "szdz.QueryRecieptOrderRsp": {
  17996. "type": "object",
  17997. "required": [
  17998. "ordertime"
  17999. ],
  18000. "properties": {
  18001. "accountName": {
  18002. "description": "所属账号名称(已脱敏)",
  18003. "type": "string"
  18004. },
  18005. "accountid": {
  18006. "description": "资金账号",
  18007. "type": "integer"
  18008. },
  18009. "buyorsell": {
  18010. "description": "方向 - 0:买 1:卖",
  18011. "type": "integer"
  18012. },
  18013. "enableqty": {
  18014. "description": "可摘数量",
  18015. "type": "integer"
  18016. },
  18017. "goodscode": {
  18018. "description": "商品代码",
  18019. "type": "string"
  18020. },
  18021. "goodsid": {
  18022. "description": "商品ID",
  18023. "type": "integer"
  18024. },
  18025. "goodsname": {
  18026. "description": "商品名称",
  18027. "type": "string"
  18028. },
  18029. "orderid": {
  18030. "description": "委托单号",
  18031. "type": "string"
  18032. },
  18033. "orderprice": {
  18034. "description": "委托价格",
  18035. "type": "number"
  18036. },
  18037. "ordertime": {
  18038. "description": "委托时间",
  18039. "type": "string"
  18040. },
  18041. "tradedate": {
  18042. "description": "交易日(yyyyMMdd)",
  18043. "type": "string"
  18044. }
  18045. }
  18046. },
  18047. "szdz.QuerySZDZTradePositionRsp": {
  18048. "type": "object",
  18049. "properties": {
  18050. "accountid": {
  18051. "description": "账号Id",
  18052. "type": "integer"
  18053. },
  18054. "agreeunit": {
  18055. "description": "合约单位",
  18056. "type": "number"
  18057. },
  18058. "averageprice": {
  18059. "description": "持仓均价",
  18060. "type": "number"
  18061. },
  18062. "buyorsell": {
  18063. "description": "方向 - 0:买 1:卖",
  18064. "type": "integer"
  18065. },
  18066. "closetotalqty": {
  18067. "description": "平仓总数量",
  18068. "type": "integer"
  18069. },
  18070. "curholderamount": {
  18071. "description": "当前持仓总金额",
  18072. "type": "number"
  18073. },
  18074. "curpositionqty": {
  18075. "description": "当前持仓总数量",
  18076. "type": "integer"
  18077. },
  18078. "currencyid": {
  18079. "description": "报价货币ID",
  18080. "type": "integer"
  18081. },
  18082. "curtdposition": {
  18083. "description": "期末今日头寸",
  18084. "type": "integer"
  18085. },
  18086. "decimalplace": {
  18087. "description": "报价小数位",
  18088. "type": "integer"
  18089. },
  18090. "enableqty": {
  18091. "description": "可用量",
  18092. "type": "integer"
  18093. },
  18094. "fretdposition": {
  18095. "description": "冻结今日头寸",
  18096. "type": "integer"
  18097. },
  18098. "frozenqty": {
  18099. "description": "持仓冻结数量",
  18100. "type": "integer"
  18101. },
  18102. "goodscode": {
  18103. "description": "商品代码(内部)",
  18104. "type": "string"
  18105. },
  18106. "goodsid": {
  18107. "description": "商品Id",
  18108. "type": "integer"
  18109. },
  18110. "goodsname": {
  18111. "description": "商品名称",
  18112. "type": "string"
  18113. },
  18114. "goodunit": {
  18115. "description": "报价单位",
  18116. "type": "string"
  18117. },
  18118. "goodunitid": {
  18119. "description": "报价单位ID",
  18120. "type": "integer"
  18121. },
  18122. "holderamount": {
  18123. "description": "期初持仓总金额",
  18124. "type": "number"
  18125. },
  18126. "marketid": {
  18127. "description": "市场ID",
  18128. "type": "integer"
  18129. },
  18130. "openreqqty": {
  18131. "description": "开仓申请数量",
  18132. "type": "integer"
  18133. },
  18134. "opentotalqty": {
  18135. "description": "开仓总数量",
  18136. "type": "integer"
  18137. },
  18138. "otherfrozenqty": {
  18139. "description": "持仓其他冻结数量(交割冻结)",
  18140. "type": "integer"
  18141. },
  18142. "positionqty": {
  18143. "description": "期初持仓数量",
  18144. "type": "integer"
  18145. },
  18146. "szdz3freezqty": {
  18147. "description": "尚志大宗转换冻结总数量",
  18148. "type": "integer"
  18149. },
  18150. "tnqty": {
  18151. "description": "T+N冻结总量",
  18152. "type": "integer"
  18153. },
  18154. "tnusedqty": {
  18155. "description": "T+N使用量",
  18156. "type": "integer"
  18157. },
  18158. "trademode": {
  18159. "description": "交易模式",
  18160. "type": "integer"
  18161. },
  18162. "usedmargin": {
  18163. "description": "占用保证金",
  18164. "type": "number"
  18165. }
  18166. }
  18167. },
  18168. "taaccount.QueryAmountLogRsp": {
  18169. "type": "object",
  18170. "required": [
  18171. "accountid",
  18172. "amount",
  18173. "amountadjusttype",
  18174. "autoid",
  18175. "balance",
  18176. "createtime",
  18177. "currentbalance",
  18178. "operatetype"
  18179. ],
  18180. "properties": {
  18181. "OPERATETYPENAME": {
  18182. "description": "资金操作类型名称",
  18183. "type": "string"
  18184. },
  18185. "accountid": {
  18186. "description": "资金账户ID",
  18187. "type": "integer"
  18188. },
  18189. "agoodscode": {
  18190. "description": "竞拍商品代码",
  18191. "type": "string"
  18192. },
  18193. "agoodsname": {
  18194. "description": "竞拍商品名称",
  18195. "type": "string"
  18196. },
  18197. "amount": {
  18198. "description": "资金金额",
  18199. "type": "number"
  18200. },
  18201. "amountadjusttype": {
  18202. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18203. "type": "integer"
  18204. },
  18205. "autoid": {
  18206. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18207. "type": "integer"
  18208. },
  18209. "balance": {
  18210. "description": "期初余额",
  18211. "type": "number"
  18212. },
  18213. "businesscode": {
  18214. "description": "业务编号",
  18215. "type": "integer"
  18216. },
  18217. "createtime": {
  18218. "description": "发生时间",
  18219. "type": "string"
  18220. },
  18221. "currencyid": {
  18222. "description": "币种ID",
  18223. "type": "integer"
  18224. },
  18225. "currentbalance": {
  18226. "description": "期末余额(变动后金额)",
  18227. "type": "number"
  18228. },
  18229. "dgoodscode": {
  18230. "description": "交割商品代码",
  18231. "type": "string"
  18232. },
  18233. "dgoodsname": {
  18234. "description": "交割商品名称",
  18235. "type": "string"
  18236. },
  18237. "goodscode": {
  18238. "description": "商品代码",
  18239. "type": "string"
  18240. },
  18241. "goodsid": {
  18242. "description": "商品ID",
  18243. "type": "integer"
  18244. },
  18245. "goodsname": {
  18246. "description": "商品名称",
  18247. "type": "string"
  18248. },
  18249. "marketid": {
  18250. "description": "市场ID",
  18251. "type": "integer"
  18252. },
  18253. "marketname": {
  18254. "description": "市场名称",
  18255. "type": "string"
  18256. },
  18257. "moneyticket": {
  18258. "description": "资金流水号:银行端流水号",
  18259. "type": "integer"
  18260. },
  18261. "operatetype": {
  18262. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  18263. "type": "integer"
  18264. },
  18265. "relationorderid": {
  18266. "description": "关联单号",
  18267. "type": "string"
  18268. },
  18269. "remark": {
  18270. "description": "备注",
  18271. "type": "string"
  18272. },
  18273. "trademode": {
  18274. "description": "交易模式",
  18275. "type": "integer"
  18276. }
  18277. }
  18278. },
  18279. "taaccount.QueryHisAmountLogRsp": {
  18280. "type": "object",
  18281. "required": [
  18282. "accountid",
  18283. "amount",
  18284. "amountadjusttype",
  18285. "autoid",
  18286. "balance",
  18287. "createtime",
  18288. "currentbalance",
  18289. "histradedate",
  18290. "operatetype"
  18291. ],
  18292. "properties": {
  18293. "OPERATETYPENAME": {
  18294. "description": "资金操作类型名称",
  18295. "type": "string"
  18296. },
  18297. "accountid": {
  18298. "description": "资金账户ID",
  18299. "type": "integer"
  18300. },
  18301. "agoodscode": {
  18302. "description": "竞拍商品代码",
  18303. "type": "string"
  18304. },
  18305. "agoodsname": {
  18306. "description": "竞拍商品名称",
  18307. "type": "string"
  18308. },
  18309. "amount": {
  18310. "description": "资金金额",
  18311. "type": "number"
  18312. },
  18313. "amountadjusttype": {
  18314. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18315. "type": "integer"
  18316. },
  18317. "autoid": {
  18318. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18319. "type": "integer"
  18320. },
  18321. "balance": {
  18322. "description": "期初余额",
  18323. "type": "number"
  18324. },
  18325. "businesscode": {
  18326. "description": "业务编号",
  18327. "type": "integer"
  18328. },
  18329. "createtime": {
  18330. "description": "发生时间",
  18331. "type": "string"
  18332. },
  18333. "currencyid": {
  18334. "description": "币种ID",
  18335. "type": "integer"
  18336. },
  18337. "currentbalance": {
  18338. "description": "期末余额(变动后金额)",
  18339. "type": "number"
  18340. },
  18341. "dgoodscode": {
  18342. "description": "交割商品代码",
  18343. "type": "string"
  18344. },
  18345. "dgoodsname": {
  18346. "description": "交割商品名称",
  18347. "type": "string"
  18348. },
  18349. "goodscode": {
  18350. "description": "商品代码",
  18351. "type": "string"
  18352. },
  18353. "goodsid": {
  18354. "description": "商品ID",
  18355. "type": "integer"
  18356. },
  18357. "goodsname": {
  18358. "description": "商品名称",
  18359. "type": "string"
  18360. },
  18361. "histradedate": {
  18362. "description": "历史交易日",
  18363. "type": "string"
  18364. },
  18365. "isvaliddata": {
  18366. "description": "是否有效 - 0:无效 1:有效",
  18367. "type": "integer"
  18368. },
  18369. "marketid": {
  18370. "description": "市场ID",
  18371. "type": "integer"
  18372. },
  18373. "marketname": {
  18374. "description": "市场名称",
  18375. "type": "string"
  18376. },
  18377. "moneyticket": {
  18378. "description": "资金流水号:银行端流水号",
  18379. "type": "integer"
  18380. },
  18381. "operatetype": {
  18382. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  18383. "type": "integer"
  18384. },
  18385. "relationorderid": {
  18386. "description": "关联单号",
  18387. "type": "string"
  18388. },
  18389. "remark": {
  18390. "description": "备注",
  18391. "type": "string"
  18392. },
  18393. "trademode": {
  18394. "description": "交易模式",
  18395. "type": "integer"
  18396. }
  18397. }
  18398. },
  18399. "trade.QueryRecieptOrderRsp": {
  18400. "type": "object",
  18401. "required": [
  18402. "ordertime"
  18403. ],
  18404. "properties": {
  18405. "accountName": {
  18406. "description": "所属账号名称(已脱敏)",
  18407. "type": "string"
  18408. },
  18409. "accountid": {
  18410. "description": "资金账号",
  18411. "type": "integer"
  18412. },
  18413. "buyorsell": {
  18414. "description": "方向 - 0:买 1:卖",
  18415. "type": "integer"
  18416. },
  18417. "enableqty": {
  18418. "description": "可摘数量",
  18419. "type": "integer"
  18420. },
  18421. "goodscode": {
  18422. "description": "商品代码",
  18423. "type": "string"
  18424. },
  18425. "goodsid": {
  18426. "description": "商品ID",
  18427. "type": "integer"
  18428. },
  18429. "goodsname": {
  18430. "description": "商品名称",
  18431. "type": "string"
  18432. },
  18433. "orderid": {
  18434. "description": "委托单号",
  18435. "type": "string"
  18436. },
  18437. "orderprice": {
  18438. "description": "委托价格",
  18439. "type": "number"
  18440. },
  18441. "ordertime": {
  18442. "description": "委托时间",
  18443. "type": "string"
  18444. },
  18445. "tradedate": {
  18446. "description": "交易日(yyyyMMdd)",
  18447. "type": "string"
  18448. }
  18449. }
  18450. },
  18451. "user.LoginQueryRsp": {
  18452. "type": "object",
  18453. "properties": {
  18454. "externalExchanges": {
  18455. "description": "外部交易所",
  18456. "type": "array",
  18457. "items": {
  18458. "$ref": "#/definitions/models.Externalexchange"
  18459. }
  18460. },
  18461. "goodsgroups": {
  18462. "description": "商品组",
  18463. "type": "array",
  18464. "items": {
  18465. "$ref": "#/definitions/models.Goodsgroup"
  18466. }
  18467. },
  18468. "loginAccount": {
  18469. "description": "登录账号",
  18470. "$ref": "#/definitions/models.Loginaccount"
  18471. },
  18472. "markets": {
  18473. "description": "市场",
  18474. "type": "array",
  18475. "items": {
  18476. "$ref": "#/definitions/models.Market"
  18477. }
  18478. },
  18479. "userAccount": {
  18480. "description": "用户账号",
  18481. "$ref": "#/definitions/models.Useraccount"
  18482. },
  18483. "userInfo": {
  18484. "description": "用户信息",
  18485. "$ref": "#/definitions/models.Userinfo"
  18486. }
  18487. }
  18488. }
  18489. },
  18490. "securityDefinitions": {
  18491. "ApiKeyAuth": {
  18492. "type": "apiKey",
  18493. "name": "Authorization",
  18494. "in": "header"
  18495. }
  18496. }
  18497. }`
  18498. type swaggerInfo struct {
  18499. Version string
  18500. Host string
  18501. BasePath string
  18502. Schemes []string
  18503. Title string
  18504. Description string
  18505. }
  18506. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18507. var SwaggerInfo = swaggerInfo{
  18508. Version: "1.0",
  18509. Host: "",
  18510. BasePath: "/api",
  18511. Schemes: []string{},
  18512. Title: "MTP2.0 查询服务 API",
  18513. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18514. }
  18515. type s struct{}
  18516. func (s *s) ReadDoc() string {
  18517. sInfo := SwaggerInfo
  18518. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18519. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18520. "marshal": func(v interface{}) string {
  18521. a, _ := json.Marshal(v)
  18522. return string(a)
  18523. },
  18524. }).Parse(doc)
  18525. if err != nil {
  18526. return doc
  18527. }
  18528. var tpl bytes.Buffer
  18529. if err := t.Execute(&tpl, sInfo); err != nil {
  18530. return doc
  18531. }
  18532. return tpl.String()
  18533. }
  18534. func init() {
  18535. swag.Register(swag.Name, &s{})
  18536. }