docs.go 664 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436
  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: 日线 10: Tik",
  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/QueryQuoteDay": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "行情服务"
  5030. ],
  5031. "summary": "获取商品盘面信息",
  5032. "parameters": [
  5033. {
  5034. "type": "string",
  5035. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5036. "name": "goodsCodes",
  5037. "in": "query",
  5038. "required": true
  5039. }
  5040. ],
  5041. "responses": {
  5042. "200": {
  5043. "description": "OK",
  5044. "schema": {
  5045. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5046. }
  5047. },
  5048. "500": {
  5049. "description": "Internal Server Error",
  5050. "schema": {
  5051. "$ref": "#/definitions/app.Response"
  5052. }
  5053. }
  5054. }
  5055. }
  5056. },
  5057. "/Quote/QueryTSData": {
  5058. "get": {
  5059. "produces": [
  5060. "application/json"
  5061. ],
  5062. "tags": [
  5063. "行情服务"
  5064. ],
  5065. "summary": "分时图数据查询",
  5066. "parameters": [
  5067. {
  5068. "type": "string",
  5069. "description": "商品代码",
  5070. "name": "goodsCode",
  5071. "in": "query",
  5072. "required": true
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "Internal Server Error",
  5084. "schema": {
  5085. "$ref": "#/definitions/app.Response"
  5086. }
  5087. }
  5088. }
  5089. }
  5090. },
  5091. "/SZDZ/QueryConvertConfig": {
  5092. "get": {
  5093. "security": [
  5094. {
  5095. "ApiKeyAuth": []
  5096. }
  5097. ],
  5098. "produces": [
  5099. "application/json"
  5100. ],
  5101. "tags": [
  5102. "定制【尚志大宗】"
  5103. ],
  5104. "summary": "查询交易系统转换设置",
  5105. "parameters": [
  5106. {
  5107. "type": "integer",
  5108. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5109. "name": "convertType",
  5110. "in": "query"
  5111. },
  5112. {
  5113. "type": "string",
  5114. "description": "外部商品代码[JD\\PD]",
  5115. "name": "outerGoodsCode",
  5116. "in": "query"
  5117. },
  5118. {
  5119. "type": "string",
  5120. "description": "内部商品ID列表[交易],格式:1,2,3",
  5121. "name": "innerGoodsIDs",
  5122. "in": "query"
  5123. }
  5124. ],
  5125. "responses": {
  5126. "200": {
  5127. "description": "OK",
  5128. "schema": {
  5129. "$ref": "#/definitions/models.Szdz3convertconfig"
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/SZDZ/QueryConvertLog": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "定制【尚志大宗】"
  5153. ],
  5154. "summary": "交易系统转换流水查询",
  5155. "parameters": [
  5156. {
  5157. "type": "string",
  5158. "description": "资金账户 - 格式:1,2,3",
  5159. "name": "accountID",
  5160. "in": "query",
  5161. "required": true
  5162. },
  5163. {
  5164. "type": "string",
  5165. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5166. "name": "startDate",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5172. "name": "endDate",
  5173. "in": "query"
  5174. }
  5175. ],
  5176. "responses": {
  5177. "200": {
  5178. "description": "OK",
  5179. "schema": {
  5180. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5181. }
  5182. },
  5183. "500": {
  5184. "description": "Internal Server Error",
  5185. "schema": {
  5186. "$ref": "#/definitions/app.Response"
  5187. }
  5188. }
  5189. }
  5190. }
  5191. },
  5192. "/SZDZ/QueryGoodsPickup": {
  5193. "get": {
  5194. "security": [
  5195. {
  5196. "ApiKeyAuth": []
  5197. }
  5198. ],
  5199. "produces": [
  5200. "application/json"
  5201. ],
  5202. "tags": [
  5203. "定制【尚志大宗】"
  5204. ],
  5205. "summary": "商品提货单查询",
  5206. "parameters": [
  5207. {
  5208. "type": "string",
  5209. "description": "资金账户 - 格式:1,2,3",
  5210. "name": "accountID",
  5211. "in": "query",
  5212. "required": true
  5213. },
  5214. {
  5215. "type": "integer",
  5216. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5217. "name": "takeOrderStatus",
  5218. "in": "query"
  5219. }
  5220. ],
  5221. "responses": {
  5222. "200": {
  5223. "description": "OK",
  5224. "schema": {
  5225. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5226. }
  5227. },
  5228. "500": {
  5229. "description": "Internal Server Error",
  5230. "schema": {
  5231. "$ref": "#/definitions/app.Response"
  5232. }
  5233. }
  5234. }
  5235. }
  5236. },
  5237. "/SZDZ/QueryRecieptOrder": {
  5238. "get": {
  5239. "security": [
  5240. {
  5241. "ApiKeyAuth": []
  5242. }
  5243. ],
  5244. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5245. "produces": [
  5246. "application/json"
  5247. ],
  5248. "tags": [
  5249. "定制【尚志大宗】"
  5250. ],
  5251. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5252. "parameters": [
  5253. {
  5254. "type": "integer",
  5255. "description": "页码",
  5256. "name": "page",
  5257. "in": "query"
  5258. },
  5259. {
  5260. "type": "integer",
  5261. "description": "每页条数",
  5262. "name": "pagesize",
  5263. "in": "query"
  5264. },
  5265. {
  5266. "type": "integer",
  5267. "description": "商品ID",
  5268. "name": "goodsID",
  5269. "in": "query",
  5270. "required": true
  5271. },
  5272. {
  5273. "type": "string",
  5274. "description": "所属账户名称",
  5275. "name": "accountName",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "integer",
  5280. "description": "市场ID",
  5281. "name": "marketID",
  5282. "in": "query"
  5283. },
  5284. {
  5285. "type": "integer",
  5286. "description": "方向 - 0:买 1:卖",
  5287. "name": "buyorsell",
  5288. "in": "query",
  5289. "required": true
  5290. }
  5291. ],
  5292. "responses": {
  5293. "200": {
  5294. "description": "OK",
  5295. "schema": {
  5296. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5297. }
  5298. },
  5299. "500": {
  5300. "description": "Internal Server Error",
  5301. "schema": {
  5302. "$ref": "#/definitions/app.Response"
  5303. }
  5304. }
  5305. }
  5306. }
  5307. },
  5308. "/SZDZ/QuerySZDZTradePosition": {
  5309. "get": {
  5310. "security": [
  5311. {
  5312. "ApiKeyAuth": []
  5313. }
  5314. ],
  5315. "produces": [
  5316. "application/json"
  5317. ],
  5318. "tags": [
  5319. "定制【尚志大宗】"
  5320. ],
  5321. "summary": "持仓汇总查询(尚志大宗)",
  5322. "parameters": [
  5323. {
  5324. "type": "integer",
  5325. "description": "资金账户",
  5326. "name": "accountID",
  5327. "in": "query",
  5328. "required": true
  5329. }
  5330. ],
  5331. "responses": {
  5332. "200": {
  5333. "description": "OK",
  5334. "schema": {
  5335. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5336. }
  5337. },
  5338. "500": {
  5339. "description": "Internal Server Error",
  5340. "schema": {
  5341. "$ref": "#/definitions/app.Response"
  5342. }
  5343. }
  5344. }
  5345. }
  5346. },
  5347. "/SZDZ/SearchWhite": {
  5348. "get": {
  5349. "security": [
  5350. {
  5351. "ApiKeyAuth": []
  5352. }
  5353. ],
  5354. "produces": [
  5355. "application/json"
  5356. ],
  5357. "tags": [
  5358. "定制【尚志大宗】"
  5359. ],
  5360. "summary": "搜索白名单",
  5361. "parameters": [
  5362. {
  5363. "type": "integer",
  5364. "description": "用户ID",
  5365. "name": "userID",
  5366. "in": "query",
  5367. "required": true
  5368. }
  5369. ],
  5370. "responses": {
  5371. "200": {
  5372. "description": "OK",
  5373. "schema": {
  5374. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5375. }
  5376. },
  5377. "500": {
  5378. "description": "Internal Server Error",
  5379. "schema": {
  5380. "$ref": "#/definitions/app.Response"
  5381. }
  5382. }
  5383. }
  5384. }
  5385. },
  5386. "/Search/SearchGoodses": {
  5387. "get": {
  5388. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5389. "produces": [
  5390. "application/json"
  5391. ],
  5392. "tags": [
  5393. "检索服务"
  5394. ],
  5395. "summary": "检索商品信息",
  5396. "parameters": [
  5397. {
  5398. "type": "string",
  5399. "description": "检索内容",
  5400. "name": "content",
  5401. "in": "query",
  5402. "required": true
  5403. },
  5404. {
  5405. "type": "string",
  5406. "description": "交易模式,格式:1,2,3",
  5407. "name": "tradeModes",
  5408. "in": "query"
  5409. }
  5410. ],
  5411. "responses": {
  5412. "200": {
  5413. "description": "OK",
  5414. "schema": {
  5415. "$ref": "#/definitions/models.SearchGoods"
  5416. }
  5417. },
  5418. "500": {
  5419. "description": "Internal Server Error",
  5420. "schema": {
  5421. "$ref": "#/definitions/app.Response"
  5422. }
  5423. }
  5424. }
  5425. }
  5426. },
  5427. "/TaAccount/GetTaAccounts": {
  5428. "get": {
  5429. "security": [
  5430. {
  5431. "ApiKeyAuth": []
  5432. }
  5433. ],
  5434. "produces": [
  5435. "application/json"
  5436. ],
  5437. "tags": [
  5438. "资金账户"
  5439. ],
  5440. "summary": "获取资金账户信息",
  5441. "parameters": [
  5442. {
  5443. "type": "integer",
  5444. "description": "登录账户",
  5445. "name": "loginID",
  5446. "in": "query",
  5447. "required": true
  5448. },
  5449. {
  5450. "type": "integer",
  5451. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5452. "name": "taAccountType",
  5453. "in": "query"
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "$ref": "#/definitions/models.Taaccount"
  5461. }
  5462. },
  5463. "500": {
  5464. "description": "Internal Server Error",
  5465. "schema": {
  5466. "$ref": "#/definitions/app.Response"
  5467. }
  5468. }
  5469. }
  5470. }
  5471. },
  5472. "/TaAccount/QueryAmountLog": {
  5473. "get": {
  5474. "security": [
  5475. {
  5476. "ApiKeyAuth": []
  5477. }
  5478. ],
  5479. "produces": [
  5480. "application/json"
  5481. ],
  5482. "tags": [
  5483. "资金账户"
  5484. ],
  5485. "summary": "资金流水查询(当前)",
  5486. "parameters": [
  5487. {
  5488. "type": "integer",
  5489. "description": "页码",
  5490. "name": "page",
  5491. "in": "query"
  5492. },
  5493. {
  5494. "type": "integer",
  5495. "description": "每页条数",
  5496. "name": "pagesize",
  5497. "in": "query"
  5498. },
  5499. {
  5500. "type": "string",
  5501. "description": "资金账户 - 格式:1,2,3",
  5502. "name": "accountID",
  5503. "in": "query",
  5504. "required": true
  5505. },
  5506. {
  5507. "type": "string",
  5508. "description": "资金操作类型 - 格式:1,2,3",
  5509. "name": "OperateType",
  5510. "in": "query"
  5511. }
  5512. ],
  5513. "responses": {
  5514. "200": {
  5515. "description": "OK",
  5516. "schema": {
  5517. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5518. }
  5519. },
  5520. "500": {
  5521. "description": "Internal Server Error",
  5522. "schema": {
  5523. "$ref": "#/definitions/app.Response"
  5524. }
  5525. }
  5526. }
  5527. }
  5528. },
  5529. "/TaAccount/QueryHisAmountLog": {
  5530. "get": {
  5531. "security": [
  5532. {
  5533. "ApiKeyAuth": []
  5534. }
  5535. ],
  5536. "produces": [
  5537. "application/json"
  5538. ],
  5539. "tags": [
  5540. "资金账户"
  5541. ],
  5542. "summary": "资金流水查询(历史)",
  5543. "parameters": [
  5544. {
  5545. "type": "integer",
  5546. "description": "页码",
  5547. "name": "page",
  5548. "in": "query"
  5549. },
  5550. {
  5551. "type": "integer",
  5552. "description": "每页条数",
  5553. "name": "pagesize",
  5554. "in": "query"
  5555. },
  5556. {
  5557. "type": "string",
  5558. "description": "资金账户 - 格式:1,2,3",
  5559. "name": "accountID",
  5560. "in": "query",
  5561. "required": true
  5562. },
  5563. {
  5564. "type": "string",
  5565. "description": "资金操作类型 - 格式:1,2,3",
  5566. "name": "OperateType",
  5567. "in": "query"
  5568. },
  5569. {
  5570. "type": "string",
  5571. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5572. "name": "startDate",
  5573. "in": "query"
  5574. },
  5575. {
  5576. "type": "string",
  5577. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5578. "name": "endDate",
  5579. "in": "query"
  5580. }
  5581. ],
  5582. "responses": {
  5583. "200": {
  5584. "description": "OK",
  5585. "schema": {
  5586. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5587. }
  5588. },
  5589. "500": {
  5590. "description": "Internal Server Error",
  5591. "schema": {
  5592. "$ref": "#/definitions/app.Response"
  5593. }
  5594. }
  5595. }
  5596. }
  5597. },
  5598. "/Trade/QueryRecieptOrder": {
  5599. "get": {
  5600. "security": [
  5601. {
  5602. "ApiKeyAuth": []
  5603. }
  5604. ],
  5605. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5606. "produces": [
  5607. "application/json"
  5608. ],
  5609. "tags": [
  5610. "通用交易"
  5611. ],
  5612. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5613. "parameters": [
  5614. {
  5615. "type": "integer",
  5616. "description": "页码",
  5617. "name": "page",
  5618. "in": "query"
  5619. },
  5620. {
  5621. "type": "integer",
  5622. "description": "每页条数",
  5623. "name": "pagesize",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "商品ID",
  5629. "name": "goodsID",
  5630. "in": "query",
  5631. "required": true
  5632. },
  5633. {
  5634. "type": "string",
  5635. "description": "所属账户名称",
  5636. "name": "accountName",
  5637. "in": "query"
  5638. },
  5639. {
  5640. "type": "integer",
  5641. "description": "市场ID",
  5642. "name": "marketID",
  5643. "in": "query"
  5644. },
  5645. {
  5646. "type": "integer",
  5647. "description": "方向 - 0:买 1:卖",
  5648. "name": "buyorsell",
  5649. "in": "query",
  5650. "required": true
  5651. }
  5652. ],
  5653. "responses": {
  5654. "200": {
  5655. "description": "OK",
  5656. "schema": {
  5657. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5658. }
  5659. },
  5660. "500": {
  5661. "description": "Internal Server Error",
  5662. "schema": {
  5663. "$ref": "#/definitions/app.Response"
  5664. }
  5665. }
  5666. }
  5667. }
  5668. },
  5669. "/User/AddMessageBoard": {
  5670. "post": {
  5671. "security": [
  5672. {
  5673. "ApiKeyAuth": []
  5674. }
  5675. ],
  5676. "produces": [
  5677. "application/json"
  5678. ],
  5679. "tags": [
  5680. "用户信息"
  5681. ],
  5682. "summary": "添加用户留言板信息",
  5683. "parameters": [
  5684. {
  5685. "type": "integer",
  5686. "description": "用户ID",
  5687. "name": "userID",
  5688. "in": "query",
  5689. "required": true
  5690. },
  5691. {
  5692. "type": "string",
  5693. "description": "留言信息",
  5694. "name": "message",
  5695. "in": "query",
  5696. "required": true
  5697. },
  5698. {
  5699. "type": "string",
  5700. "description": "联系电话",
  5701. "name": "contactNum",
  5702. "in": "query",
  5703. "required": true
  5704. }
  5705. ],
  5706. "responses": {
  5707. "200": {
  5708. "description": "OK",
  5709. "schema": {
  5710. "$ref": "#/definitions/app.Response"
  5711. }
  5712. },
  5713. "500": {
  5714. "description": "Internal Server Error",
  5715. "schema": {
  5716. "$ref": "#/definitions/app.Response"
  5717. }
  5718. }
  5719. }
  5720. }
  5721. },
  5722. "/User/AddUserFavoriteGoods": {
  5723. "post": {
  5724. "security": [
  5725. {
  5726. "ApiKeyAuth": []
  5727. }
  5728. ],
  5729. "produces": [
  5730. "application/json"
  5731. ],
  5732. "tags": [
  5733. "用户信息"
  5734. ],
  5735. "summary": "添加用户商品收藏信息",
  5736. "parameters": [
  5737. {
  5738. "type": "integer",
  5739. "description": "用户ID",
  5740. "name": "userID",
  5741. "in": "query",
  5742. "required": true
  5743. },
  5744. {
  5745. "type": "integer",
  5746. "description": "商品ID",
  5747. "name": "goodsID",
  5748. "in": "query",
  5749. "required": true
  5750. }
  5751. ],
  5752. "responses": {
  5753. "200": {
  5754. "description": "OK",
  5755. "schema": {
  5756. "$ref": "#/definitions/app.Response"
  5757. }
  5758. },
  5759. "500": {
  5760. "description": "Internal Server Error",
  5761. "schema": {
  5762. "$ref": "#/definitions/app.Response"
  5763. }
  5764. }
  5765. }
  5766. }
  5767. },
  5768. "/User/GetLoginID": {
  5769. "get": {
  5770. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5771. "produces": [
  5772. "application/json"
  5773. ],
  5774. "tags": [
  5775. "用户信息"
  5776. ],
  5777. "summary": "获取登录ID",
  5778. "parameters": [
  5779. {
  5780. "type": "string",
  5781. "description": "登录代码",
  5782. "name": "username",
  5783. "in": "query",
  5784. "required": true
  5785. }
  5786. ],
  5787. "responses": {
  5788. "200": {
  5789. "description": "OK",
  5790. "schema": {
  5791. "$ref": "#/definitions/app.Response"
  5792. }
  5793. },
  5794. "500": {
  5795. "description": "Internal Server Error",
  5796. "schema": {
  5797. "$ref": "#/definitions/app.Response"
  5798. }
  5799. }
  5800. }
  5801. }
  5802. },
  5803. "/User/GetUserAccount": {
  5804. "get": {
  5805. "security": [
  5806. {
  5807. "ApiKeyAuth": []
  5808. }
  5809. ],
  5810. "produces": [
  5811. "application/json"
  5812. ],
  5813. "tags": [
  5814. "用户信息"
  5815. ],
  5816. "summary": "获取用户账号信息",
  5817. "parameters": [
  5818. {
  5819. "type": "integer",
  5820. "description": "用户ID",
  5821. "name": "userID",
  5822. "in": "query",
  5823. "required": true
  5824. }
  5825. ],
  5826. "responses": {
  5827. "200": {
  5828. "description": "OK",
  5829. "schema": {
  5830. "$ref": "#/definitions/models.Useraccount"
  5831. }
  5832. },
  5833. "500": {
  5834. "description": "Internal Server Error",
  5835. "schema": {
  5836. "$ref": "#/definitions/app.Response"
  5837. }
  5838. }
  5839. }
  5840. }
  5841. },
  5842. "/User/GetUserAuthStatus": {
  5843. "get": {
  5844. "security": [
  5845. {
  5846. "ApiKeyAuth": []
  5847. }
  5848. ],
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "用户信息"
  5854. ],
  5855. "summary": "获取用户实名认证状态",
  5856. "parameters": [
  5857. {
  5858. "type": "integer",
  5859. "description": "用户ID",
  5860. "name": "userID",
  5861. "in": "query",
  5862. "required": true
  5863. }
  5864. ],
  5865. "responses": {
  5866. "200": {
  5867. "description": "OK",
  5868. "schema": {
  5869. "$ref": "#/definitions/app.Response"
  5870. }
  5871. },
  5872. "500": {
  5873. "description": "Internal Server Error",
  5874. "schema": {
  5875. "$ref": "#/definitions/app.Response"
  5876. }
  5877. }
  5878. }
  5879. }
  5880. },
  5881. "/User/LoginQuery": {
  5882. "get": {
  5883. "security": [
  5884. {
  5885. "ApiKeyAuth": []
  5886. }
  5887. ],
  5888. "produces": [
  5889. "application/json"
  5890. ],
  5891. "tags": [
  5892. "用户信息"
  5893. ],
  5894. "summary": "账户登录后信息查询",
  5895. "parameters": [
  5896. {
  5897. "type": "integer",
  5898. "description": "登录账号",
  5899. "name": "loginID",
  5900. "in": "query",
  5901. "required": true
  5902. }
  5903. ],
  5904. "responses": {
  5905. "200": {
  5906. "description": "OK",
  5907. "schema": {
  5908. "$ref": "#/definitions/user.LoginQueryRsp"
  5909. }
  5910. },
  5911. "500": {
  5912. "description": "Internal Server Error",
  5913. "schema": {
  5914. "$ref": "#/definitions/app.Response"
  5915. }
  5916. }
  5917. }
  5918. }
  5919. },
  5920. "/User/QueryMessageBoard": {
  5921. "get": {
  5922. "security": [
  5923. {
  5924. "ApiKeyAuth": []
  5925. }
  5926. ],
  5927. "produces": [
  5928. "application/json"
  5929. ],
  5930. "tags": [
  5931. "用户信息"
  5932. ],
  5933. "summary": "获取用户留言板信息",
  5934. "parameters": [
  5935. {
  5936. "type": "integer",
  5937. "description": "用户ID",
  5938. "name": "userID",
  5939. "in": "query",
  5940. "required": true
  5941. }
  5942. ],
  5943. "responses": {
  5944. "200": {
  5945. "description": "OK",
  5946. "schema": {
  5947. "$ref": "#/definitions/models.Messageboard"
  5948. }
  5949. },
  5950. "500": {
  5951. "description": "Internal Server Error",
  5952. "schema": {
  5953. "$ref": "#/definitions/app.Response"
  5954. }
  5955. }
  5956. }
  5957. }
  5958. },
  5959. "/User/QueryUserFavoriteGoodses": {
  5960. "get": {
  5961. "security": [
  5962. {
  5963. "ApiKeyAuth": []
  5964. }
  5965. ],
  5966. "produces": [
  5967. "application/json"
  5968. ],
  5969. "tags": [
  5970. "用户信息"
  5971. ],
  5972. "summary": "获取用户商品收藏信息",
  5973. "parameters": [
  5974. {
  5975. "type": "integer",
  5976. "description": "用户ID",
  5977. "name": "userID",
  5978. "in": "query",
  5979. "required": true
  5980. }
  5981. ],
  5982. "responses": {
  5983. "200": {
  5984. "description": "OK",
  5985. "schema": {
  5986. "$ref": "#/definitions/models.Userfavoritegoods"
  5987. }
  5988. },
  5989. "500": {
  5990. "description": "Internal Server Error",
  5991. "schema": {
  5992. "$ref": "#/definitions/app.Response"
  5993. }
  5994. }
  5995. }
  5996. }
  5997. },
  5998. "/User/QueryUserInfo": {
  5999. "get": {
  6000. "security": [
  6001. {
  6002. "ApiKeyAuth": []
  6003. }
  6004. ],
  6005. "produces": [
  6006. "application/json"
  6007. ],
  6008. "tags": [
  6009. "用户信息"
  6010. ],
  6011. "summary": "获取用户信息",
  6012. "parameters": [
  6013. {
  6014. "type": "integer",
  6015. "description": "用户ID",
  6016. "name": "userID",
  6017. "in": "query",
  6018. "required": true
  6019. }
  6020. ],
  6021. "responses": {
  6022. "200": {
  6023. "description": "OK",
  6024. "schema": {
  6025. "$ref": "#/definitions/models.Userinfo"
  6026. }
  6027. },
  6028. "500": {
  6029. "description": "Internal Server Error",
  6030. "schema": {
  6031. "$ref": "#/definitions/app.Response"
  6032. }
  6033. }
  6034. }
  6035. }
  6036. },
  6037. "/User/QueryUserReferNum": {
  6038. "get": {
  6039. "produces": [
  6040. "application/json"
  6041. ],
  6042. "tags": [
  6043. "用户信息"
  6044. ],
  6045. "summary": "获取用户邀请码",
  6046. "parameters": [
  6047. {
  6048. "type": "integer",
  6049. "description": "用户ID",
  6050. "name": "userID",
  6051. "in": "query",
  6052. "required": true
  6053. }
  6054. ],
  6055. "responses": {
  6056. "200": {
  6057. "description": "OK",
  6058. "schema": {
  6059. "$ref": "#/definitions/app.Response"
  6060. }
  6061. },
  6062. "500": {
  6063. "description": "Internal Server Error",
  6064. "schema": {
  6065. "$ref": "#/definitions/app.Response"
  6066. }
  6067. }
  6068. }
  6069. }
  6070. },
  6071. "/User/RemoveUserFavoriteGoods": {
  6072. "post": {
  6073. "security": [
  6074. {
  6075. "ApiKeyAuth": []
  6076. }
  6077. ],
  6078. "produces": [
  6079. "application/json"
  6080. ],
  6081. "tags": [
  6082. "用户信息"
  6083. ],
  6084. "summary": "移除用户商品收藏信息",
  6085. "parameters": [
  6086. {
  6087. "type": "integer",
  6088. "description": "用户ID",
  6089. "name": "userID",
  6090. "in": "query",
  6091. "required": true
  6092. },
  6093. {
  6094. "type": "integer",
  6095. "description": "商品ID",
  6096. "name": "goodsID",
  6097. "in": "query",
  6098. "required": true
  6099. }
  6100. ],
  6101. "responses": {
  6102. "200": {
  6103. "description": "OK",
  6104. "schema": {
  6105. "$ref": "#/definitions/app.Response"
  6106. }
  6107. },
  6108. "500": {
  6109. "description": "Internal Server Error",
  6110. "schema": {
  6111. "$ref": "#/definitions/app.Response"
  6112. }
  6113. }
  6114. }
  6115. }
  6116. },
  6117. "/User/UpdateUserAccountStatus": {
  6118. "post": {
  6119. "security": [
  6120. {
  6121. "ApiKeyAuth": []
  6122. }
  6123. ],
  6124. "produces": [
  6125. "application/json"
  6126. ],
  6127. "tags": [
  6128. "用户信息"
  6129. ],
  6130. "summary": "更新用户状态",
  6131. "parameters": [
  6132. {
  6133. "type": "integer",
  6134. "description": "用户ID",
  6135. "name": "userID",
  6136. "in": "query",
  6137. "required": true
  6138. },
  6139. {
  6140. "type": "integer",
  6141. "description": "账户状态 - 4:正常 6:注销(停用)",
  6142. "name": "accountStatus",
  6143. "in": "query",
  6144. "required": true
  6145. }
  6146. ],
  6147. "responses": {
  6148. "200": {
  6149. "description": "OK",
  6150. "schema": {
  6151. "$ref": "#/definitions/app.Response"
  6152. }
  6153. },
  6154. "500": {
  6155. "description": "Internal Server Error",
  6156. "schema": {
  6157. "$ref": "#/definitions/app.Response"
  6158. }
  6159. }
  6160. }
  6161. }
  6162. },
  6163. "/WR/GetWRCategoryInfo": {
  6164. "get": {
  6165. "produces": [
  6166. "application/json"
  6167. ],
  6168. "tags": [
  6169. "仓单服务"
  6170. ],
  6171. "summary": "获取现货分类信息",
  6172. "responses": {
  6173. "200": {
  6174. "description": "OK",
  6175. "schema": {
  6176. "$ref": "#/definitions/models.WRCategoryTree"
  6177. }
  6178. },
  6179. "500": {
  6180. "description": "Internal Server Error",
  6181. "schema": {
  6182. "$ref": "#/definitions/app.Response"
  6183. }
  6184. }
  6185. }
  6186. }
  6187. },
  6188. "/WRTrade/GetAllDeliveryGoods": {
  6189. "get": {
  6190. "security": [
  6191. {
  6192. "ApiKeyAuth": []
  6193. },
  6194. {
  6195. "ApiKeyAuth": []
  6196. }
  6197. ],
  6198. "produces": [
  6199. "application/json",
  6200. "application/json"
  6201. ],
  6202. "tags": [
  6203. "仓单贸易",
  6204. "仓单贸易"
  6205. ],
  6206. "summary": "获取带仓单分类的种类信息",
  6207. "responses": {
  6208. "200": {
  6209. "description": "OK",
  6210. "schema": {
  6211. "$ref": "#/definitions/app.Response"
  6212. }
  6213. },
  6214. "500": {
  6215. "description": "Internal Server Error",
  6216. "schema": {
  6217. "$ref": "#/definitions/app.Response"
  6218. }
  6219. }
  6220. }
  6221. }
  6222. }
  6223. },
  6224. "definitions": {
  6225. "app.Response": {
  6226. "type": "object",
  6227. "properties": {
  6228. "code": {
  6229. "type": "integer"
  6230. },
  6231. "data": {
  6232. "type": "object"
  6233. },
  6234. "msg": {
  6235. "type": "string"
  6236. },
  6237. "page": {
  6238. "description": "页码",
  6239. "type": "integer"
  6240. },
  6241. "pagesize": {
  6242. "description": "每页条数",
  6243. "type": "integer"
  6244. },
  6245. "total": {
  6246. "description": "总条数",
  6247. "type": "integer"
  6248. }
  6249. }
  6250. },
  6251. "common.QueryImageConfigsRsp": {
  6252. "type": "object",
  6253. "required": [
  6254. "configid"
  6255. ],
  6256. "properties": {
  6257. "areauserid": {
  6258. "description": "所属机构ID",
  6259. "type": "integer"
  6260. },
  6261. "configid": {
  6262. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6263. "type": "integer"
  6264. },
  6265. "createdate": {
  6266. "description": "创建时间",
  6267. "type": "string"
  6268. },
  6269. "creatorid": {
  6270. "description": "创建人",
  6271. "type": "integer"
  6272. },
  6273. "imagepath": {
  6274. "description": "图片",
  6275. "type": "string"
  6276. },
  6277. "imagetype": {
  6278. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6279. "type": "integer"
  6280. },
  6281. "isshow": {
  6282. "description": "是否展示 - 0:不展示 1:展示",
  6283. "type": "integer"
  6284. },
  6285. "marketid": {
  6286. "description": "市场ID",
  6287. "type": "integer"
  6288. },
  6289. "modifierid": {
  6290. "description": "操作人",
  6291. "type": "integer"
  6292. },
  6293. "sort": {
  6294. "description": "排序",
  6295. "type": "integer"
  6296. },
  6297. "title": {
  6298. "description": "标题",
  6299. "type": "string"
  6300. },
  6301. "trademode": {
  6302. "description": "交易模式",
  6303. "type": "integer"
  6304. },
  6305. "updatedate": {
  6306. "description": "修改时间",
  6307. "type": "string"
  6308. },
  6309. "url": {
  6310. "description": "链接(地址或商品ID)",
  6311. "type": "string"
  6312. },
  6313. "urltype": {
  6314. "description": "链接类型 - 1:直接地址 2:商品ID",
  6315. "type": "integer"
  6316. }
  6317. }
  6318. },
  6319. "common.QueryNoticeRsp": {
  6320. "type": "object",
  6321. "required": [
  6322. "autoid"
  6323. ],
  6324. "properties": {
  6325. "auditoruserid": {
  6326. "description": "审核人",
  6327. "type": "integer"
  6328. },
  6329. "auditremark": {
  6330. "description": "审核备注",
  6331. "type": "string"
  6332. },
  6333. "audittime": {
  6334. "description": "审核日期",
  6335. "type": "string"
  6336. },
  6337. "autoid": {
  6338. "description": "自增ID",
  6339. "type": "integer"
  6340. },
  6341. "content": {
  6342. "description": "内容",
  6343. "type": "string"
  6344. },
  6345. "createtime": {
  6346. "description": "创建时间",
  6347. "type": "string"
  6348. },
  6349. "creatorid": {
  6350. "description": "建仓人",
  6351. "type": "integer"
  6352. },
  6353. "endtime": {
  6354. "description": "结束时间",
  6355. "type": "string"
  6356. },
  6357. "istop": {
  6358. "description": "是否置顶 - 0:不置顶 1:置顶",
  6359. "type": "integer"
  6360. },
  6361. "msgiconurl": {
  6362. "description": "消息图标Url",
  6363. "type": "string"
  6364. },
  6365. "msgtype": {
  6366. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6367. "type": "integer"
  6368. },
  6369. "publisher": {
  6370. "description": "消息发布者",
  6371. "type": "string"
  6372. },
  6373. "readed": {
  6374. "description": "是否已读",
  6375. "type": "boolean"
  6376. },
  6377. "scheduletime": {
  6378. "description": "计划发送时间",
  6379. "type": "string"
  6380. },
  6381. "sendtype": {
  6382. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6383. "type": "integer"
  6384. },
  6385. "sentstatus": {
  6386. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6387. "type": "integer"
  6388. },
  6389. "title": {
  6390. "description": "标题",
  6391. "type": "string"
  6392. },
  6393. "userid": {
  6394. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6395. "type": "integer"
  6396. }
  6397. }
  6398. },
  6399. "common.QueryProvincesAndCitiesRsp": {
  6400. "type": "object",
  6401. "properties": {
  6402. "cities": {
  6403. "description": "市",
  6404. "type": "array",
  6405. "items": {
  6406. "$ref": "#/definitions/models.Division"
  6407. }
  6408. },
  6409. "province": {
  6410. "description": "省",
  6411. "$ref": "#/definitions/models.Division"
  6412. }
  6413. }
  6414. },
  6415. "common.QueryTableDefineRsp": {
  6416. "type": "object",
  6417. "required": [
  6418. "tablekey"
  6419. ],
  6420. "properties": {
  6421. "columns": {
  6422. "description": "列头信息数组",
  6423. "type": "array",
  6424. "items": {
  6425. "$ref": "#/definitions/models.Tablecolumnconfig"
  6426. }
  6427. },
  6428. "remark": {
  6429. "description": "Remark",
  6430. "type": "string"
  6431. },
  6432. "tabelmenu": {
  6433. "description": "列表菜单",
  6434. "type": "string"
  6435. },
  6436. "tablekey": {
  6437. "description": "列表Key",
  6438. "type": "string"
  6439. },
  6440. "tablename": {
  6441. "description": "列表名称",
  6442. "type": "string"
  6443. },
  6444. "tabletype": {
  6445. "description": "列表类型 - 1:管理端 2:终端",
  6446. "type": "integer"
  6447. }
  6448. }
  6449. },
  6450. "common.QueryTraderMenuRsp": {
  6451. "type": "object",
  6452. "properties": {
  6453. "OperationMenu": {
  6454. "description": "功能菜单",
  6455. "type": "array",
  6456. "items": {
  6457. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6458. }
  6459. },
  6460. "QuoteMenu": {
  6461. "description": "报价牌分类菜单",
  6462. "type": "array",
  6463. "items": {
  6464. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6465. }
  6466. }
  6467. }
  6468. },
  6469. "cptrade.Cptradepositioncancel": {
  6470. "type": "object",
  6471. "required": [
  6472. "cancelid"
  6473. ],
  6474. "properties": {
  6475. "accountid": {
  6476. "description": "申请人账户ID",
  6477. "type": "integer"
  6478. },
  6479. "applystatus": {
  6480. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6481. "type": "integer"
  6482. },
  6483. "applytime": {
  6484. "description": "申请时间",
  6485. "type": "string"
  6486. },
  6487. "cancelid": {
  6488. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6489. "type": "integer"
  6490. },
  6491. "cancelqty": {
  6492. "description": "注销数量",
  6493. "type": "integer"
  6494. },
  6495. "createtime": {
  6496. "description": "创建时间",
  6497. "type": "string"
  6498. },
  6499. "creatorid": {
  6500. "description": "创建人ID",
  6501. "type": "integer"
  6502. },
  6503. "creatorname": {
  6504. "description": "创建人",
  6505. "type": "string"
  6506. },
  6507. "goodscode": {
  6508. "description": "订单商品代码",
  6509. "type": "string"
  6510. },
  6511. "goodsid": {
  6512. "description": "商品ID",
  6513. "type": "integer"
  6514. },
  6515. "goodsname": {
  6516. "description": "订单商品名称",
  6517. "type": "string"
  6518. },
  6519. "goodunit": {
  6520. "description": "报价单位",
  6521. "type": "string"
  6522. },
  6523. "handlestatus": {
  6524. "description": "处理状态",
  6525. "type": "integer"
  6526. },
  6527. "marketid": {
  6528. "description": "市场ID",
  6529. "type": "integer"
  6530. },
  6531. "marketname": {
  6532. "description": "市场名称",
  6533. "type": "string"
  6534. },
  6535. "tradedate": {
  6536. "description": "交易日(yyyyMMdd)",
  6537. "type": "string"
  6538. },
  6539. "userid": {
  6540. "description": "申请人ID",
  6541. "type": "integer"
  6542. }
  6543. }
  6544. },
  6545. "cptrade.Cptradepresaleapply": {
  6546. "type": "object",
  6547. "required": [
  6548. "applyid"
  6549. ],
  6550. "properties": {
  6551. "accountid": {
  6552. "description": "申请人账户ID",
  6553. "type": "integer"
  6554. },
  6555. "applyid": {
  6556. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6557. "type": "integer"
  6558. },
  6559. "applyremark": {
  6560. "description": "申请备注",
  6561. "type": "string"
  6562. },
  6563. "applystatus": {
  6564. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6565. "type": "integer"
  6566. },
  6567. "applytime": {
  6568. "description": "申请时间",
  6569. "type": "string"
  6570. },
  6571. "attachmenturl": {
  6572. "description": "附件地址",
  6573. "type": "string"
  6574. },
  6575. "endtime": {
  6576. "description": "预售结束时间",
  6577. "type": "string"
  6578. },
  6579. "goodscode": {
  6580. "description": "商品代码",
  6581. "type": "string"
  6582. },
  6583. "goodsid": {
  6584. "description": "商品ID",
  6585. "type": "integer"
  6586. },
  6587. "goodsname": {
  6588. "description": "商品名称",
  6589. "type": "string"
  6590. },
  6591. "goodunit": {
  6592. "description": "报价单位",
  6593. "type": "string"
  6594. },
  6595. "handlestatus": {
  6596. "description": "处理状态",
  6597. "type": "integer"
  6598. },
  6599. "marketid": {
  6600. "description": "预售市场ID",
  6601. "type": "integer"
  6602. },
  6603. "marketname": {
  6604. "description": "预售市场名称",
  6605. "type": "string"
  6606. },
  6607. "presaleqty": {
  6608. "description": "预售数量",
  6609. "type": "integer"
  6610. },
  6611. "relatedgoodscode": {
  6612. "description": "关联交易合约代码",
  6613. "type": "string"
  6614. },
  6615. "relatedgoodsid": {
  6616. "description": "关联交易合约ID",
  6617. "type": "integer"
  6618. },
  6619. "relatedgoodsname": {
  6620. "description": "关联交易合约名称",
  6621. "type": "string"
  6622. },
  6623. "starttime": {
  6624. "description": "预售开始时间",
  6625. "type": "string"
  6626. },
  6627. "tradedate": {
  6628. "description": "交易日(yyyyMMdd)",
  6629. "type": "string"
  6630. },
  6631. "trademode": {
  6632. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6633. "type": "integer"
  6634. },
  6635. "userid": {
  6636. "description": "申请人ID",
  6637. "type": "integer"
  6638. }
  6639. }
  6640. },
  6641. "cptrade.Cptradeusergoodsdata": {
  6642. "type": "object",
  6643. "required": [
  6644. "accountid",
  6645. "goodsid"
  6646. ],
  6647. "properties": {
  6648. "EnabledQty": {
  6649. "description": "可用量",
  6650. "type": "integer"
  6651. },
  6652. "GoodsCode": {
  6653. "description": "订单商品代码",
  6654. "type": "string"
  6655. },
  6656. "GoodsName": {
  6657. "description": "订单商品名称",
  6658. "type": "string"
  6659. },
  6660. "WRStandardCode": {
  6661. "description": "仓单标准代码",
  6662. "type": "string"
  6663. },
  6664. "WRStandardName": {
  6665. "description": "仓单标准名称",
  6666. "type": "string"
  6667. },
  6668. "accountid": {
  6669. "description": "账户ID",
  6670. "type": "integer"
  6671. },
  6672. "cancelqty": {
  6673. "description": "注销量",
  6674. "type": "integer"
  6675. },
  6676. "curpresaleqty": {
  6677. "description": "当前预售量",
  6678. "type": "integer"
  6679. },
  6680. "deliveryqty": {
  6681. "description": "交割量",
  6682. "type": "integer"
  6683. },
  6684. "freezeamount": {
  6685. "description": "冻结金额",
  6686. "type": "number"
  6687. },
  6688. "goodsid": {
  6689. "description": "商品ID",
  6690. "type": "integer"
  6691. },
  6692. "goodunit": {
  6693. "description": "报价单位",
  6694. "type": "string"
  6695. },
  6696. "hasspotfreeze": {
  6697. "description": "是否有现货冻结 - 0:否 1:有",
  6698. "type": "integer"
  6699. },
  6700. "inqty": {
  6701. "description": "转入量(总数量)",
  6702. "type": "integer"
  6703. },
  6704. "marketid": {
  6705. "description": "市场ID",
  6706. "type": "integer"
  6707. },
  6708. "presaledamount": {
  6709. "description": "已预售总金额",
  6710. "type": "integer"
  6711. },
  6712. "presaledqty": {
  6713. "description": "已预售量",
  6714. "type": "integer"
  6715. },
  6716. "userid": {
  6717. "description": "用户ID",
  6718. "type": "integer"
  6719. },
  6720. "wrstandardid": {
  6721. "description": "仓单标准ID",
  6722. "type": "integer"
  6723. }
  6724. }
  6725. },
  6726. "cptrade.QueryCPTradeMyBidRsp": {
  6727. "type": "object",
  6728. "required": [
  6729. "accountid",
  6730. "goodsid",
  6731. "marketid",
  6732. "orderid",
  6733. "orderqty",
  6734. "ordertime",
  6735. "tradeprice",
  6736. "tradeqty"
  6737. ],
  6738. "properties": {
  6739. "accountid": {
  6740. "description": "账户ID[报价币种]",
  6741. "type": "integer"
  6742. },
  6743. "goodsid": {
  6744. "description": "商品ID",
  6745. "type": "integer"
  6746. },
  6747. "goodunit": {
  6748. "description": "报价单位",
  6749. "type": "string"
  6750. },
  6751. "marketid": {
  6752. "description": "市场ID",
  6753. "type": "integer"
  6754. },
  6755. "orderid": {
  6756. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6757. "type": "integer"
  6758. },
  6759. "orderprice": {
  6760. "description": "委托价格",
  6761. "type": "number"
  6762. },
  6763. "orderqty": {
  6764. "description": "委托数量",
  6765. "type": "integer"
  6766. },
  6767. "ordertime": {
  6768. "description": "委托时间",
  6769. "type": "string"
  6770. },
  6771. "ordertotalprice": {
  6772. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6773. "type": "number"
  6774. },
  6775. "ordertotalweight": {
  6776. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6777. "type": "integer"
  6778. },
  6779. "totaltotalprice": {
  6780. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6781. "type": "number"
  6782. },
  6783. "tradeprice": {
  6784. "description": "成交价格",
  6785. "type": "number"
  6786. },
  6787. "tradeqty": {
  6788. "description": "成交数量",
  6789. "type": "integer"
  6790. }
  6791. }
  6792. },
  6793. "cptrade.QueryCPTradeOrderDetailRsq": {
  6794. "type": "object",
  6795. "required": [
  6796. "accountid",
  6797. "buildtype",
  6798. "buyorsell",
  6799. "goodsid",
  6800. "marketid",
  6801. "memberuserid",
  6802. "operatetype",
  6803. "orderqty",
  6804. "ordertime",
  6805. "pricemode",
  6806. "strorderid",
  6807. "tradedate",
  6808. "validtype"
  6809. ],
  6810. "properties": {
  6811. "accountid": {
  6812. "description": "账户ID[报价币种]",
  6813. "type": "integer"
  6814. },
  6815. "buildtype": {
  6816. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6817. "type": "integer"
  6818. },
  6819. "buyorsell": {
  6820. "description": "买卖 - 0:买 1:卖",
  6821. "type": "integer"
  6822. },
  6823. "cancelorderid": {
  6824. "description": "撤单单号(撤单时填写)",
  6825. "type": "integer"
  6826. },
  6827. "cancelqty": {
  6828. "description": "撤单数量",
  6829. "type": "integer"
  6830. },
  6831. "clientordertime": {
  6832. "description": "客户端委托时间",
  6833. "type": "string"
  6834. },
  6835. "clientticket": {
  6836. "description": "客户端流水号",
  6837. "type": "string"
  6838. },
  6839. "clienttype": {
  6840. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6841. "type": "integer"
  6842. },
  6843. "closeexchagechargevalue": {
  6844. "description": "平仓交易所手续费设置值",
  6845. "type": "number"
  6846. },
  6847. "closefeealgorithm": {
  6848. "description": "平仓手续费收取方式 1:比率 2:固定",
  6849. "type": "integer"
  6850. },
  6851. "closefreezecharge": {
  6852. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6853. "type": "number"
  6854. },
  6855. "closememberchargevalue": {
  6856. "description": "平仓会员手续费设置值",
  6857. "type": "number"
  6858. },
  6859. "closeqty": {
  6860. "description": "平仓数量(先建后平操作 需要记录)",
  6861. "type": "integer"
  6862. },
  6863. "closetradeqty": {
  6864. "description": "平仓成交数量(先建后平操作,需要记录)",
  6865. "type": "integer"
  6866. },
  6867. "closeunfreezecharge": {
  6868. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6869. "type": "number"
  6870. },
  6871. "delistingtype": {
  6872. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6873. "type": "integer"
  6874. },
  6875. "freezecharge": {
  6876. "description": "冻结手续费",
  6877. "type": "number"
  6878. },
  6879. "freezemargin": {
  6880. "description": "冻结保证金(冻结交易金额)",
  6881. "type": "number"
  6882. },
  6883. "gcaccountid": {
  6884. "description": "账户ID[合约币种]",
  6885. "type": "integer"
  6886. },
  6887. "goodsid": {
  6888. "description": "商品ID",
  6889. "type": "integer"
  6890. },
  6891. "isconfirmexercise": {
  6892. "description": "是否确认行权- 0:否 1:是",
  6893. "type": "integer"
  6894. },
  6895. "ispreexercise": {
  6896. "description": "是否预申报- 0:否 1:是",
  6897. "type": "integer"
  6898. },
  6899. "listingselecttype": {
  6900. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6901. "type": "integer"
  6902. },
  6903. "marginalgorithm": {
  6904. "description": "保证金收取方式 1:比率 2:固定",
  6905. "type": "integer"
  6906. },
  6907. "marginvalue": {
  6908. "description": "即市保证金设置值",
  6909. "type": "number"
  6910. },
  6911. "marketid": {
  6912. "description": "市场ID",
  6913. "type": "integer"
  6914. },
  6915. "marketmaxsub": {
  6916. "description": "市价最大偏移范围",
  6917. "type": "number"
  6918. },
  6919. "memberuserid": {
  6920. "description": "所属会员UserID",
  6921. "type": "integer"
  6922. },
  6923. "openexchagechargevalue": {
  6924. "description": "建仓交易所手续费设置值",
  6925. "type": "number"
  6926. },
  6927. "openfeealgorithm": {
  6928. "description": "建仓手续费收取方式 1:比率 2:固定",
  6929. "type": "integer"
  6930. },
  6931. "openfreezecharge": {
  6932. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6933. "type": "number"
  6934. },
  6935. "openmemberchargevalue": {
  6936. "description": "建仓会员手续费设置值",
  6937. "type": "number"
  6938. },
  6939. "openqty": {
  6940. "description": "开仓数量(先建后平操作,需要记录)",
  6941. "type": "integer"
  6942. },
  6943. "opentradeqty": {
  6944. "description": "开仓成交数量(先建后平操作,需要记录)",
  6945. "type": "integer"
  6946. },
  6947. "openunfreezecharge": {
  6948. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6949. "type": "number"
  6950. },
  6951. "operatetype": {
  6952. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6953. "type": "integer"
  6954. },
  6955. "operatorid": {
  6956. "description": "登录账号(LoginID)",
  6957. "type": "integer"
  6958. },
  6959. "optiontype": {
  6960. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6961. "type": "integer"
  6962. },
  6963. "orderprice": {
  6964. "description": "委托价格",
  6965. "type": "number"
  6966. },
  6967. "orderqty": {
  6968. "description": "委托数量",
  6969. "type": "integer"
  6970. },
  6971. "ordersrc": {
  6972. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6973. "type": "integer"
  6974. },
  6975. "orderstatus": {
  6976. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6977. "type": "integer"
  6978. },
  6979. "ordertime": {
  6980. "description": "委托时间",
  6981. "type": "string"
  6982. },
  6983. "preexerciseprice": {
  6984. "description": "预申报价格",
  6985. "type": "number"
  6986. },
  6987. "premium": {
  6988. "description": "权利金",
  6989. "type": "number"
  6990. },
  6991. "preorderid": {
  6992. "description": "关联预埋单号(止盈止损单时填写)",
  6993. "type": "integer"
  6994. },
  6995. "pricemode": {
  6996. "description": "取价方式 - 1:市价 2: 限价",
  6997. "type": "integer"
  6998. },
  6999. "quoteid": {
  7000. "description": "报价单ID",
  7001. "type": "integer"
  7002. },
  7003. "relatedid": {
  7004. "description": "关联单号(交割单)",
  7005. "type": "integer"
  7006. },
  7007. "retcode": {
  7008. "description": "错误代码",
  7009. "type": "integer"
  7010. },
  7011. "sessionid": {
  7012. "description": "会话ID",
  7013. "type": "integer"
  7014. },
  7015. "strorderid": {
  7016. "description": "委托单号",
  7017. "type": "string"
  7018. },
  7019. "tradedate": {
  7020. "description": "交易日(yyyyMMdd)",
  7021. "type": "string"
  7022. },
  7023. "tradeproperty": {
  7024. "description": "交易属性",
  7025. "type": "integer"
  7026. },
  7027. "tradeqty": {
  7028. "description": "成交数量",
  7029. "type": "integer"
  7030. },
  7031. "unfreezecharge": {
  7032. "description": "解冻手续费",
  7033. "type": "number"
  7034. },
  7035. "unfreezemargin": {
  7036. "description": "解冻保证金",
  7037. "type": "number"
  7038. },
  7039. "updatetime": {
  7040. "description": "更新时间",
  7041. "type": "string"
  7042. },
  7043. "uuid": {
  7044. "description": "发起端唯一id",
  7045. "type": "string"
  7046. },
  7047. "validtime": {
  7048. "description": "有效期限",
  7049. "type": "string"
  7050. },
  7051. "validtype": {
  7052. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7053. "type": "integer"
  7054. },
  7055. "volumetype": {
  7056. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7057. "type": "integer"
  7058. }
  7059. }
  7060. },
  7061. "cptrade.QueryMyCPTradeGoodsRsp": {
  7062. "type": "object",
  7063. "required": [
  7064. "goodscode",
  7065. "goodsid",
  7066. "goodsname",
  7067. "marketid",
  7068. "relatedgoodscode",
  7069. "relatedgoodsname"
  7070. ],
  7071. "properties": {
  7072. "accountid": {
  7073. "description": "卖方账户ID",
  7074. "type": "integer"
  7075. },
  7076. "agreeunit": {
  7077. "description": "合约单位",
  7078. "type": "number"
  7079. },
  7080. "applyid": {
  7081. "description": "关联申请ID",
  7082. "type": "integer"
  7083. },
  7084. "attachmenturl": {
  7085. "description": "附件地址",
  7086. "type": "string"
  7087. },
  7088. "createtime": {
  7089. "description": "创建时间",
  7090. "type": "string"
  7091. },
  7092. "currencyid": {
  7093. "description": "报价货币ID",
  7094. "type": "integer"
  7095. },
  7096. "decimalplace": {
  7097. "description": "报价小数位",
  7098. "type": "integer"
  7099. },
  7100. "endtime": {
  7101. "description": "预售结束时间",
  7102. "type": "string"
  7103. },
  7104. "floorprice": {
  7105. "description": "底价[大宗式竞拍]",
  7106. "type": "number"
  7107. },
  7108. "goodscode": {
  7109. "description": "商品代码(预售)",
  7110. "type": "string"
  7111. },
  7112. "goodsdetail": {
  7113. "description": "详情[大宗]",
  7114. "type": "string"
  7115. },
  7116. "goodsid": {
  7117. "description": "商品ID(自增ID SEQ_GOODS)",
  7118. "type": "integer"
  7119. },
  7120. "goodsname": {
  7121. "description": "商品名称(预售)",
  7122. "type": "string"
  7123. },
  7124. "goodunit": {
  7125. "description": "报价单位",
  7126. "type": "string"
  7127. },
  7128. "goodunitid": {
  7129. "description": "报价单位ID",
  7130. "type": "integer"
  7131. },
  7132. "marketid": {
  7133. "description": "所属市场ID",
  7134. "type": "integer"
  7135. },
  7136. "marketname": {
  7137. "description": "预售市场名称",
  7138. "type": "string"
  7139. },
  7140. "presaledamount": {
  7141. "description": "已预售总金额(预售结束时更新)",
  7142. "type": "number"
  7143. },
  7144. "presaledqty": {
  7145. "description": "已预售量(预售结束时更新)",
  7146. "type": "integer"
  7147. },
  7148. "presalemode": {
  7149. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7150. "type": "integer"
  7151. },
  7152. "presaleqty": {
  7153. "description": "预售数量",
  7154. "type": "integer"
  7155. },
  7156. "refprice": {
  7157. "description": "参考价格[一口价]",
  7158. "type": "number"
  7159. },
  7160. "relatedgoodscode": {
  7161. "description": "商品代码(订单)",
  7162. "type": "string"
  7163. },
  7164. "relatedgoodsid": {
  7165. "description": "关联交易合约ID",
  7166. "type": "integer"
  7167. },
  7168. "relatedgoodsname": {
  7169. "description": "商品名称(订单)",
  7170. "type": "string"
  7171. },
  7172. "relatedmarketid": {
  7173. "description": "关联交易合约市场ID",
  7174. "type": "integer"
  7175. },
  7176. "sellstatus": {
  7177. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7178. "type": "integer"
  7179. },
  7180. "startprice": {
  7181. "description": "起拍价[大宗式竞拍]",
  7182. "type": "number"
  7183. },
  7184. "starttime": {
  7185. "description": "预售开始时间",
  7186. "type": "string"
  7187. },
  7188. "tradedate": {
  7189. "description": "交易日(yyyyMMdd)",
  7190. "type": "string"
  7191. },
  7192. "tradeprice": {
  7193. "description": "成交价[大宗]",
  7194. "type": "number"
  7195. },
  7196. "userid": {
  7197. "description": "卖方用户ID",
  7198. "type": "integer"
  7199. }
  7200. }
  7201. },
  7202. "cptrade.QueryPresaleGoodsExRsp": {
  7203. "type": "object",
  7204. "required": [
  7205. "goodsid"
  7206. ],
  7207. "properties": {
  7208. "attachmenturl": {
  7209. "description": "附件地址",
  7210. "type": "string"
  7211. },
  7212. "createtime": {
  7213. "description": "创建时间",
  7214. "type": "string"
  7215. },
  7216. "endtime": {
  7217. "description": "预售结束时间",
  7218. "type": "string"
  7219. },
  7220. "floorprice": {
  7221. "description": "底价[大宗式竞拍]",
  7222. "type": "number"
  7223. },
  7224. "goodsdetail": {
  7225. "description": "详情[大宗]",
  7226. "type": "string"
  7227. },
  7228. "goodsid": {
  7229. "description": "商品ID(预售)",
  7230. "type": "integer"
  7231. },
  7232. "goodunit": {
  7233. "description": "报价单位",
  7234. "type": "string"
  7235. },
  7236. "marketid": {
  7237. "description": "预售市场ID - 根据预售模式选择市场",
  7238. "type": "integer"
  7239. },
  7240. "presaledamount": {
  7241. "description": "已预售总金额(预售结束时更新)",
  7242. "type": "number"
  7243. },
  7244. "presaledqty": {
  7245. "description": "已预售量(预售结束时更新)",
  7246. "type": "integer"
  7247. },
  7248. "presalemode": {
  7249. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7250. "type": "integer"
  7251. },
  7252. "presaleqty": {
  7253. "description": "预售数量",
  7254. "type": "integer"
  7255. },
  7256. "refprice": {
  7257. "description": "参考价格[一口价]",
  7258. "type": "number"
  7259. },
  7260. "relatedgoodsid": {
  7261. "description": "关联交易合约ID",
  7262. "type": "integer"
  7263. },
  7264. "relatedmarketid": {
  7265. "description": "关联交易合约市场ID",
  7266. "type": "integer"
  7267. },
  7268. "sellstatus": {
  7269. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7270. "type": "integer"
  7271. },
  7272. "startprice": {
  7273. "description": "起拍价[大宗式竞拍]",
  7274. "type": "number"
  7275. },
  7276. "starttime": {
  7277. "description": "预售开始时间",
  7278. "type": "string"
  7279. },
  7280. "tradedate": {
  7281. "description": "交易日(yyyyMMdd)",
  7282. "type": "string"
  7283. },
  7284. "tradeprice": {
  7285. "description": "成交价[大宗]",
  7286. "type": "number"
  7287. }
  7288. }
  7289. },
  7290. "delivery.QueryDeliveryRelationRsp": {
  7291. "type": "object",
  7292. "required": [
  7293. "begindate",
  7294. "enddate",
  7295. "goodsid",
  7296. "mindeliveryqty",
  7297. "xdeliveryratio"
  7298. ],
  7299. "properties": {
  7300. "begindate": {
  7301. "description": "起始日期(yyyyMMdd)",
  7302. "type": "string"
  7303. },
  7304. "buytemplateid": {
  7305. "description": "买履约计划模板ID",
  7306. "type": "integer"
  7307. },
  7308. "deliverygoodscode": {
  7309. "description": "品种代码",
  7310. "type": "string"
  7311. },
  7312. "deliverygoodsid": {
  7313. "description": "交割商品",
  7314. "type": "integer"
  7315. },
  7316. "deliverygoodsname": {
  7317. "description": "品种名称",
  7318. "type": "string"
  7319. },
  7320. "deliverymode": {
  7321. "description": "交割方式 - 1:点选式 2:申报式",
  7322. "type": "integer"
  7323. },
  7324. "deliverypricerule": {
  7325. "description": "交割价规则- 1:行情价 2:建仓价",
  7326. "type": "integer"
  7327. },
  7328. "deliverytype": {
  7329. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7330. "type": "integer"
  7331. },
  7332. "enddate": {
  7333. "description": "结束日期(yyyyMMdd)",
  7334. "type": "string"
  7335. },
  7336. "goodscode": {
  7337. "description": "商品代码",
  7338. "type": "string"
  7339. },
  7340. "goodsid": {
  7341. "description": "交易合约ID",
  7342. "type": "integer"
  7343. },
  7344. "goodsname": {
  7345. "description": "商品名称",
  7346. "type": "string"
  7347. },
  7348. "marketid": {
  7349. "description": "市场ID",
  7350. "type": "integer"
  7351. },
  7352. "mindeliveryqty": {
  7353. "description": "最小交割系数(K)",
  7354. "type": "integer"
  7355. },
  7356. "p2deliveryprice": {
  7357. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7358. "type": "number"
  7359. },
  7360. "p2deliveryratio": {
  7361. "description": "P2合约系数(p)",
  7362. "type": "integer"
  7363. },
  7364. "p2goodsid": {
  7365. "description": "P2合约ID",
  7366. "type": "integer"
  7367. },
  7368. "p2pricemode": {
  7369. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7370. "type": "integer"
  7371. },
  7372. "pdeliveryprice": {
  7373. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7374. "type": "number"
  7375. },
  7376. "pdeliveryratio": {
  7377. "description": "P合约系数(n)",
  7378. "type": "integer"
  7379. },
  7380. "pgoodsid": {
  7381. "description": "P合约ID",
  7382. "type": "integer"
  7383. },
  7384. "ppricemode": {
  7385. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7386. "type": "integer"
  7387. },
  7388. "rratio": {
  7389. "description": "兑换系数(R)",
  7390. "type": "integer"
  7391. },
  7392. "rratio1": {
  7393. "description": "兑换系数(交易合约)(R1)",
  7394. "type": "integer"
  7395. },
  7396. "rratio2": {
  7397. "description": "兑换系数(仓单标准)(R2)",
  7398. "type": "integer"
  7399. },
  7400. "selltemplateid": {
  7401. "description": "卖履约计划模板ID",
  7402. "type": "integer"
  7403. },
  7404. "wrstandardid": {
  7405. "description": "仓单标准ID",
  7406. "type": "integer"
  7407. },
  7408. "xdeliveryratio": {
  7409. "description": "交易合约系数(m)",
  7410. "type": "integer"
  7411. }
  7412. }
  7413. },
  7414. "ermcp.ExposureDetailRsp": {
  7415. "type": "object",
  7416. "properties": {
  7417. "areauserid": {
  7418. "description": "机构ID",
  7419. "type": "integer"
  7420. },
  7421. "changeQty": {
  7422. "description": "套保变动量",
  7423. "type": "number"
  7424. },
  7425. "contracttype": {
  7426. "description": "现货合同类型 - 1:采购 -1:销售",
  7427. "type": "integer"
  7428. },
  7429. "convertfactor": {
  7430. "description": "标仓系数",
  7431. "type": "number"
  7432. },
  7433. "convertratio": {
  7434. "description": "套保系数",
  7435. "type": "number"
  7436. },
  7437. "createtime": {
  7438. "description": "时间",
  7439. "type": "string"
  7440. },
  7441. "enumdicname": {
  7442. "description": "现货商品单位名称",
  7443. "type": "string"
  7444. },
  7445. "logtype": {
  7446. "description": "类型 - 1:套保计划 2:现货合同",
  7447. "type": "integer"
  7448. },
  7449. "middlegoodsId": {
  7450. "description": "套保商品id",
  7451. "type": "integer"
  7452. },
  7453. "middlegoodscode": {
  7454. "description": "套保商品代码",
  7455. "type": "string"
  7456. },
  7457. "middlegoodsname": {
  7458. "description": "套保商品名称",
  7459. "type": "string"
  7460. },
  7461. "qty": {
  7462. "description": "数量",
  7463. "type": "number"
  7464. },
  7465. "relateNo": {
  7466. "description": "现货合同/套保计划编号",
  7467. "type": "string"
  7468. },
  7469. "wrstandardcode": {
  7470. "description": "现货商品代码",
  7471. "type": "string"
  7472. },
  7473. "wrstandardid": {
  7474. "description": "现货商品ID",
  7475. "type": "integer"
  7476. },
  7477. "wrstandardname": {
  7478. "description": "现货商品名称",
  7479. "type": "string"
  7480. }
  7481. }
  7482. },
  7483. "ermcp.ExposureHedgePosDetailRsp": {
  7484. "type": "object",
  7485. "properties": {
  7486. "buyorsell": {
  7487. "description": "买卖方向 0-买 1-卖",
  7488. "type": "integer"
  7489. },
  7490. "channelbuildtype": {
  7491. "description": "开平方向 1-建仓 2-平仓",
  7492. "type": "integer"
  7493. },
  7494. "goodscode": {
  7495. "description": "商品代码",
  7496. "type": "string"
  7497. },
  7498. "goodsname": {
  7499. "description": "商品名称",
  7500. "type": "string"
  7501. },
  7502. "hedgegoodsid": {
  7503. "description": "商品id",
  7504. "type": "integer"
  7505. },
  7506. "tradeqty": {
  7507. "description": "数量(成交数量)",
  7508. "type": "integer"
  7509. },
  7510. "tradetime": {
  7511. "description": "时间(成交时间)",
  7512. "type": "string"
  7513. }
  7514. }
  7515. },
  7516. "ermcp.ExposureHedgePositionRsp": {
  7517. "type": "object",
  7518. "properties": {
  7519. "accountid": {
  7520. "description": "资金账号[外部母账户]",
  7521. "type": "integer"
  7522. },
  7523. "curbuyposition": {
  7524. "description": "期末买头寸",
  7525. "type": "integer"
  7526. },
  7527. "cursellposition": {
  7528. "description": "期末卖头寸",
  7529. "type": "integer"
  7530. },
  7531. "curtdbuyposition": {
  7532. "description": "期末今日买头寸",
  7533. "type": "integer"
  7534. },
  7535. "curtdsellposition": {
  7536. "description": "期末今日卖头寸",
  7537. "type": "integer"
  7538. },
  7539. "curydbuyposition": {
  7540. "description": "期末上日买头寸",
  7541. "type": "integer"
  7542. },
  7543. "curydsellposition": {
  7544. "description": "期末上日卖头寸",
  7545. "type": "integer"
  7546. },
  7547. "decreaseqty": {
  7548. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7549. "type": "integer"
  7550. },
  7551. "fretdbuyposition": {
  7552. "description": "冻结今日买头寸",
  7553. "type": "integer"
  7554. },
  7555. "fretdsellposition": {
  7556. "description": "冻结今日卖头寸",
  7557. "type": "integer"
  7558. },
  7559. "freydbuyposition": {
  7560. "description": "冻结上日买头寸",
  7561. "type": "integer"
  7562. },
  7563. "freydsellposition": {
  7564. "description": "冻结上日卖头寸",
  7565. "type": "integer"
  7566. },
  7567. "goodscode": {
  7568. "description": "商品代码",
  7569. "type": "string"
  7570. },
  7571. "goodsid": {
  7572. "description": "商品id",
  7573. "type": "integer"
  7574. },
  7575. "goodsname": {
  7576. "description": "商品名称",
  7577. "type": "string"
  7578. },
  7579. "hedgeaccountcode": {
  7580. "description": "对冲账号",
  7581. "type": "string"
  7582. },
  7583. "hedgegoodsid": {
  7584. "description": "对冲合约ID",
  7585. "type": "integer"
  7586. },
  7587. "increaseqty": {
  7588. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7589. "type": "integer"
  7590. },
  7591. "marketid": {
  7592. "description": "市场ID",
  7593. "type": "integer"
  7594. },
  7595. "relateduserid": {
  7596. "description": "关联用户id",
  7597. "type": "integer"
  7598. },
  7599. "totalcurqty": {
  7600. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7601. "type": "integer"
  7602. },
  7603. "totalydqty": {
  7604. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7605. "type": "integer"
  7606. },
  7607. "tradedate": {
  7608. "description": "交易日(yyyyMMdd)",
  7609. "type": "string"
  7610. },
  7611. "ydbuyposition": {
  7612. "description": "期初买头寸",
  7613. "type": "integer"
  7614. },
  7615. "ydsellposition": {
  7616. "description": "期初卖头寸",
  7617. "type": "integer"
  7618. }
  7619. }
  7620. },
  7621. "ermcp.ExposureSpotDetailRsp": {
  7622. "type": "object",
  7623. "properties": {
  7624. "contracttype": {
  7625. "description": "合同类型 1-采购 -1-销售",
  7626. "type": "integer"
  7627. },
  7628. "createtime": {
  7629. "description": "创建时间",
  7630. "type": "string"
  7631. },
  7632. "enumdicname": {
  7633. "description": "现货商品单位名称",
  7634. "type": "string"
  7635. },
  7636. "logtype": {
  7637. "description": "记录类型 1-套保 2-现货合同",
  7638. "type": "integer"
  7639. },
  7640. "qty": {
  7641. "description": "数量",
  7642. "type": "number"
  7643. },
  7644. "recordname": {
  7645. "description": "类型名称",
  7646. "type": "string"
  7647. },
  7648. "relatedid": {
  7649. "description": "套保计划ID/现货合同ID",
  7650. "type": "string"
  7651. },
  7652. "relatedno": {
  7653. "description": "编号",
  7654. "type": "string"
  7655. },
  7656. "strtime": {
  7657. "description": "时间",
  7658. "type": "string"
  7659. },
  7660. "wrstandardcode": {
  7661. "description": "现货商品代码",
  7662. "type": "string"
  7663. },
  7664. "wrstandardname": {
  7665. "description": "现货商品名称",
  7666. "type": "string"
  7667. }
  7668. }
  7669. },
  7670. "ermcp.ExposureSpotRsp": {
  7671. "type": "object",
  7672. "properties": {
  7673. "areauserid": {
  7674. "description": "所属机构",
  7675. "type": "integer"
  7676. },
  7677. "decreaseqty": {
  7678. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7679. "type": "number"
  7680. },
  7681. "increaseqty": {
  7682. "description": "增加数量=销售计划数量+采购已定价数量",
  7683. "type": "number"
  7684. },
  7685. "oritoalspotqty": {
  7686. "description": "昨日数量",
  7687. "type": "number"
  7688. },
  7689. "totalspotqty": {
  7690. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7691. "type": "number"
  7692. },
  7693. "updatetime": {
  7694. "description": "更新时间",
  7695. "type": "string"
  7696. },
  7697. "wrstandardcode": {
  7698. "description": "现货品种代码",
  7699. "type": "string"
  7700. },
  7701. "wrstandardid": {
  7702. "description": "现货商品ID",
  7703. "type": "integer"
  7704. },
  7705. "wrstandardname": {
  7706. "description": "现货品种",
  7707. "type": "string"
  7708. }
  7709. }
  7710. },
  7711. "ermcp.HisExposureRsp": {
  7712. "type": "object",
  7713. "properties": {
  7714. "data": {
  7715. "description": "历史敞口",
  7716. "type": "array",
  7717. "items": {
  7718. "$ref": "#/definitions/models.ErmcpHisExposure"
  7719. }
  7720. },
  7721. "enumdicname": {
  7722. "description": "单位名称",
  7723. "type": "string"
  7724. },
  7725. "middlegoodscode": {
  7726. "description": "套保品种代码",
  7727. "type": "string"
  7728. },
  7729. "middlegoodsid": {
  7730. "description": "套保品种ID",
  7731. "type": "integer"
  7732. },
  7733. "middlegoodsname": {
  7734. "description": "套保品种名称",
  7735. "type": "string"
  7736. }
  7737. }
  7738. },
  7739. "ermcp.PendingAuditCntRsp": {
  7740. "type": "object",
  7741. "properties": {
  7742. "businessdjqty": {
  7743. "description": "待审核数量: 点价",
  7744. "type": "integer"
  7745. },
  7746. "businessfpqty": {
  7747. "description": "待审核数量: 发票",
  7748. "type": "integer"
  7749. },
  7750. "businessjsqty": {
  7751. "description": "待审核数量: 结算",
  7752. "type": "integer"
  7753. },
  7754. "businesskxqty": {
  7755. "description": "待审核数量: 款项",
  7756. "type": "integer"
  7757. },
  7758. "hedgeplanqty": {
  7759. "description": "待审核数量: 套保计划",
  7760. "type": "integer"
  7761. },
  7762. "spotcontractqty": {
  7763. "description": "待审核数量: 现货合同",
  7764. "type": "integer"
  7765. },
  7766. "userqty": {
  7767. "description": "待审核数量: 用户",
  7768. "type": "integer"
  7769. }
  7770. }
  7771. },
  7772. "ermcp.QryAvalidGPRsp": {
  7773. "type": "object",
  7774. "properties": {
  7775. "goodsgroupid": {
  7776. "description": "期货品种id",
  7777. "type": "integer"
  7778. },
  7779. "goodsgroupname": {
  7780. "description": "期货品种名称",
  7781. "type": "string"
  7782. },
  7783. "goodunitid": {
  7784. "description": "品种单位id",
  7785. "type": "integer"
  7786. },
  7787. "goodunitname": {
  7788. "description": "品种单位名称",
  7789. "type": "string"
  7790. },
  7791. "outergroupcode": {
  7792. "description": "期货品种代码",
  7793. "type": "string"
  7794. }
  7795. }
  7796. },
  7797. "ermcp.QryBusinessDjRsp": {
  7798. "type": "object",
  7799. "properties": {
  7800. "amount": {
  7801. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7802. "type": "number"
  7803. },
  7804. "applyid": {
  7805. "description": "申请人",
  7806. "type": "string"
  7807. },
  7808. "applyname": {
  7809. "description": "申请人名称",
  7810. "type": "string"
  7811. },
  7812. "applystatus": {
  7813. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7814. "type": "integer"
  7815. },
  7816. "applytime": {
  7817. "description": "申请时间",
  7818. "type": "string"
  7819. },
  7820. "attachurl": {
  7821. "description": "附件",
  7822. "type": "string"
  7823. },
  7824. "auditname": {
  7825. "description": "审核人名称",
  7826. "type": "string"
  7827. },
  7828. "audittime": {
  7829. "description": "审核时间",
  7830. "type": "string"
  7831. },
  7832. "buyusername": {
  7833. "description": "采购方名称",
  7834. "type": "string"
  7835. },
  7836. "contractno": {
  7837. "description": "合同编号",
  7838. "type": "string"
  7839. },
  7840. "contractstatus": {
  7841. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7842. "type": "integer"
  7843. },
  7844. "contracttype": {
  7845. "description": "现货合同类型 - 1:采购 -1:销售",
  7846. "type": "integer"
  7847. },
  7848. "enumdicname": {
  7849. "description": "单位名称",
  7850. "type": "string"
  7851. },
  7852. "goodscode": {
  7853. "description": "点价合约",
  7854. "type": "string"
  7855. },
  7856. "goodsname": {
  7857. "description": "商品名称",
  7858. "type": "string"
  7859. },
  7860. "operateapplyid": {
  7861. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7862. "type": "string"
  7863. },
  7864. "operateapplytype": {
  7865. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7866. "type": "integer"
  7867. },
  7868. "pricedPrice": {
  7869. "description": "点价价格(非必填)",
  7870. "type": "number"
  7871. },
  7872. "pricedQty": {
  7873. "description": "点价数量(非必填)",
  7874. "type": "number"
  7875. },
  7876. "pricemove": {
  7877. "description": "升贴水",
  7878. "type": "number"
  7879. },
  7880. "pricetype": {
  7881. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7882. "type": "integer"
  7883. },
  7884. "relatedid": {
  7885. "description": "现货合同ID",
  7886. "type": "string"
  7887. },
  7888. "sellusername": {
  7889. "description": "销售方名字",
  7890. "type": "string"
  7891. },
  7892. "userid": {
  7893. "description": "用户ID",
  7894. "type": "integer"
  7895. }
  7896. }
  7897. },
  7898. "ermcp.QryBussinessFpRsp": {
  7899. "type": "object",
  7900. "properties": {
  7901. "applyid": {
  7902. "description": "申请人",
  7903. "type": "string"
  7904. },
  7905. "applyname": {
  7906. "description": "申请人名称",
  7907. "type": "string"
  7908. },
  7909. "applystatus": {
  7910. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7911. "type": "integer"
  7912. },
  7913. "applytime": {
  7914. "description": "申请时间",
  7915. "type": "string"
  7916. },
  7917. "attachurl": {
  7918. "description": "附件",
  7919. "type": "string"
  7920. },
  7921. "auditname": {
  7922. "description": "审核人名称",
  7923. "type": "string"
  7924. },
  7925. "audittime": {
  7926. "description": "审核时间",
  7927. "type": "string"
  7928. },
  7929. "buyusername": {
  7930. "description": "采购方名称",
  7931. "type": "string"
  7932. },
  7933. "contractno": {
  7934. "description": "合同编号",
  7935. "type": "string"
  7936. },
  7937. "contractstatus": {
  7938. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7939. "type": "integer"
  7940. },
  7941. "contracttype": {
  7942. "description": "现货合同类型 - 1:采购 -1:销售",
  7943. "type": "integer"
  7944. },
  7945. "enumdicname": {
  7946. "description": "单位名称",
  7947. "type": "string"
  7948. },
  7949. "goodscode": {
  7950. "description": "点价合约",
  7951. "type": "string"
  7952. },
  7953. "goodsname": {
  7954. "description": "商品名称",
  7955. "type": "string"
  7956. },
  7957. "invoiceAmount": {
  7958. "description": "已开收票金额(销售为开票,采购为收票)",
  7959. "type": "number"
  7960. },
  7961. "operateapplyid": {
  7962. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7963. "type": "string"
  7964. },
  7965. "operateapplytype": {
  7966. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7967. "type": "integer"
  7968. },
  7969. "pricemove": {
  7970. "description": "升贴水",
  7971. "type": "number"
  7972. },
  7973. "pricetype": {
  7974. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7975. "type": "integer"
  7976. },
  7977. "relatedid": {
  7978. "description": "现货合同ID",
  7979. "type": "string"
  7980. },
  7981. "sellusername": {
  7982. "description": "销售方名字",
  7983. "type": "string"
  7984. },
  7985. "userid": {
  7986. "description": "用户ID",
  7987. "type": "integer"
  7988. }
  7989. }
  7990. },
  7991. "ermcp.QryBussinessJsExRsp": {
  7992. "type": "object",
  7993. "properties": {
  7994. "applyid": {
  7995. "description": "申请人",
  7996. "type": "string"
  7997. },
  7998. "applyname": {
  7999. "description": "申请人名称",
  8000. "type": "string"
  8001. },
  8002. "applystatus": {
  8003. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8004. "type": "integer"
  8005. },
  8006. "applytime": {
  8007. "description": "申请时间",
  8008. "type": "string"
  8009. },
  8010. "attachurl": {
  8011. "description": "附件",
  8012. "type": "string"
  8013. },
  8014. "auditname": {
  8015. "description": "审核人名称",
  8016. "type": "string"
  8017. },
  8018. "audittime": {
  8019. "description": "审核时间",
  8020. "type": "string"
  8021. },
  8022. "buyusername": {
  8023. "description": "采购方名称",
  8024. "type": "string"
  8025. },
  8026. "contractno": {
  8027. "description": "合同编号",
  8028. "type": "string"
  8029. },
  8030. "contractstatus": {
  8031. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8032. "type": "integer"
  8033. },
  8034. "contracttype": {
  8035. "description": "现货合同类型 - 1:采购 -1:销售",
  8036. "type": "integer"
  8037. },
  8038. "enumdicname": {
  8039. "description": "单位名称",
  8040. "type": "string"
  8041. },
  8042. "goodscode": {
  8043. "description": "点价合约",
  8044. "type": "string"
  8045. },
  8046. "goodsname": {
  8047. "description": "商品名称",
  8048. "type": "string"
  8049. },
  8050. "operateapplyid": {
  8051. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8052. "type": "string"
  8053. },
  8054. "operateapplytype": {
  8055. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8056. "type": "integer"
  8057. },
  8058. "pricemove": {
  8059. "description": "升贴水",
  8060. "type": "number"
  8061. },
  8062. "pricetype": {
  8063. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8064. "type": "integer"
  8065. },
  8066. "reckontype": {
  8067. "description": "结算类型",
  8068. "type": "string"
  8069. },
  8070. "reckonvalue": {
  8071. "description": "值",
  8072. "type": "number"
  8073. },
  8074. "relatedid": {
  8075. "description": "现货合同ID",
  8076. "type": "string"
  8077. },
  8078. "sellusername": {
  8079. "description": "销售方名字",
  8080. "type": "string"
  8081. },
  8082. "userid": {
  8083. "description": "用户ID",
  8084. "type": "integer"
  8085. }
  8086. }
  8087. },
  8088. "ermcp.QryBussinessJsRsp": {
  8089. "type": "object",
  8090. "properties": {
  8091. "addmargin": {
  8092. "description": "追加保证金(非必填)",
  8093. "type": "number"
  8094. },
  8095. "applyid": {
  8096. "description": "申请人",
  8097. "type": "string"
  8098. },
  8099. "applyname": {
  8100. "description": "申请人名称",
  8101. "type": "string"
  8102. },
  8103. "applystatus": {
  8104. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8105. "type": "integer"
  8106. },
  8107. "applytime": {
  8108. "description": "申请时间",
  8109. "type": "string"
  8110. },
  8111. "attachurl": {
  8112. "description": "附件",
  8113. "type": "string"
  8114. },
  8115. "auditname": {
  8116. "description": "审核人名称",
  8117. "type": "string"
  8118. },
  8119. "audittime": {
  8120. "description": "审核时间",
  8121. "type": "string"
  8122. },
  8123. "buyusername": {
  8124. "description": "采购方名称",
  8125. "type": "string"
  8126. },
  8127. "contractno": {
  8128. "description": "合同编号",
  8129. "type": "string"
  8130. },
  8131. "contractstatus": {
  8132. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8133. "type": "integer"
  8134. },
  8135. "contracttype": {
  8136. "description": "现货合同类型 - 1:采购 -1:销售",
  8137. "type": "integer"
  8138. },
  8139. "decmargin": {
  8140. "description": "减少保证金(非必填)",
  8141. "type": "number"
  8142. },
  8143. "enumdicname": {
  8144. "description": "单位名称",
  8145. "type": "string"
  8146. },
  8147. "goodscode": {
  8148. "description": "点价合约",
  8149. "type": "string"
  8150. },
  8151. "goodsname": {
  8152. "description": "商品名称",
  8153. "type": "string"
  8154. },
  8155. "operateapplyid": {
  8156. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8157. "type": "string"
  8158. },
  8159. "operateapplytype": {
  8160. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8161. "type": "integer"
  8162. },
  8163. "pricemove": {
  8164. "description": "升贴水",
  8165. "type": "number"
  8166. },
  8167. "pricetype": {
  8168. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8169. "type": "integer"
  8170. },
  8171. "reckonadjustamount": {
  8172. "description": "结算调整金额(非必填)",
  8173. "type": "number"
  8174. },
  8175. "reckonosamount": {
  8176. "description": "结算溢短金额(非必填)",
  8177. "type": "number"
  8178. },
  8179. "reckonotheramount": {
  8180. "description": "结算其他费用(非必填)",
  8181. "type": "number"
  8182. },
  8183. "reckonrealqty": {
  8184. "description": "结算实际数量(非必填)",
  8185. "type": "number"
  8186. },
  8187. "relatedid": {
  8188. "description": "现货合同ID",
  8189. "type": "string"
  8190. },
  8191. "sellusername": {
  8192. "description": "销售方名字",
  8193. "type": "string"
  8194. },
  8195. "userid": {
  8196. "description": "用户ID",
  8197. "type": "integer"
  8198. }
  8199. }
  8200. },
  8201. "ermcp.QryBussinessKxRsp": {
  8202. "type": "object",
  8203. "properties": {
  8204. "applyid": {
  8205. "description": "申请人",
  8206. "type": "string"
  8207. },
  8208. "applyname": {
  8209. "description": "申请人名称",
  8210. "type": "string"
  8211. },
  8212. "applystatus": {
  8213. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8214. "type": "integer"
  8215. },
  8216. "applytime": {
  8217. "description": "申请时间",
  8218. "type": "string"
  8219. },
  8220. "attachurl": {
  8221. "description": "附件",
  8222. "type": "string"
  8223. },
  8224. "auditname": {
  8225. "description": "审核人名称",
  8226. "type": "string"
  8227. },
  8228. "audittime": {
  8229. "description": "审核时间",
  8230. "type": "string"
  8231. },
  8232. "buyusername": {
  8233. "description": "采购方名称",
  8234. "type": "string"
  8235. },
  8236. "contractno": {
  8237. "description": "合同编号",
  8238. "type": "string"
  8239. },
  8240. "contractstatus": {
  8241. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8242. "type": "integer"
  8243. },
  8244. "contracttype": {
  8245. "description": "现货合同类型 - 1:采购 -1:销售",
  8246. "type": "integer"
  8247. },
  8248. "deductamount": {
  8249. "description": "退款(非必填)",
  8250. "type": "number"
  8251. },
  8252. "enumdicname": {
  8253. "description": "单位名称",
  8254. "type": "string"
  8255. },
  8256. "goodscode": {
  8257. "description": "点价合约",
  8258. "type": "string"
  8259. },
  8260. "goodsname": {
  8261. "description": "商品名称",
  8262. "type": "string"
  8263. },
  8264. "kxtype": {
  8265. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8266. "type": "integer"
  8267. },
  8268. "operateapplyid": {
  8269. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8270. "type": "string"
  8271. },
  8272. "operateapplytype": {
  8273. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8274. "type": "integer"
  8275. },
  8276. "payamount": {
  8277. "description": "收付款(非必填)",
  8278. "type": "number"
  8279. },
  8280. "pricemove": {
  8281. "description": "升贴水",
  8282. "type": "number"
  8283. },
  8284. "pricetype": {
  8285. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8286. "type": "integer"
  8287. },
  8288. "relatedid": {
  8289. "description": "现货合同ID",
  8290. "type": "string"
  8291. },
  8292. "sellusername": {
  8293. "description": "销售方名字",
  8294. "type": "string"
  8295. },
  8296. "userid": {
  8297. "description": "用户ID",
  8298. "type": "integer"
  8299. }
  8300. }
  8301. },
  8302. "ermcp.QryErmcpRsp": {
  8303. "type": "object",
  8304. "properties": {
  8305. "accountname": {
  8306. "description": "账户名称",
  8307. "type": "string"
  8308. },
  8309. "attachment": {
  8310. "description": "附件",
  8311. "type": "string"
  8312. },
  8313. "audittime": {
  8314. "description": "审核时间",
  8315. "type": "string"
  8316. },
  8317. "contracctstatus": {
  8318. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8319. "type": "integer"
  8320. },
  8321. "contractmargin": {
  8322. "description": "合同保证金",
  8323. "type": "number"
  8324. },
  8325. "contractno": {
  8326. "description": "合同编号",
  8327. "type": "string"
  8328. },
  8329. "contracttype": {
  8330. "description": "合同类型 1-采购, -1-销售",
  8331. "type": "integer"
  8332. },
  8333. "convertfactor": {
  8334. "description": "标仓系数",
  8335. "type": "number"
  8336. },
  8337. "createtime": {
  8338. "description": "创建时间",
  8339. "type": "string"
  8340. },
  8341. "daikaiamount": {
  8342. "description": "待开票额",
  8343. "type": "number"
  8344. },
  8345. "deliveryenddate": {
  8346. "description": "交割结束日",
  8347. "type": "string"
  8348. },
  8349. "deliverygoodscode": {
  8350. "description": "现货商品代码",
  8351. "type": "string"
  8352. },
  8353. "deliverygoodsid": {
  8354. "description": "现货商品ID",
  8355. "type": "integer"
  8356. },
  8357. "deliverygoodsname": {
  8358. "description": "现货商品名称",
  8359. "type": "string"
  8360. },
  8361. "deliverystartdate": {
  8362. "description": "交割开始日",
  8363. "type": "string"
  8364. },
  8365. "enddate": {
  8366. "description": "点价结束日",
  8367. "type": "string"
  8368. },
  8369. "enumdicname": {
  8370. "description": "单位名称",
  8371. "type": "string"
  8372. },
  8373. "goodscode": {
  8374. "description": "点价商品代码",
  8375. "type": "string"
  8376. },
  8377. "goodsid": {
  8378. "description": "点价商品ID",
  8379. "type": "integer"
  8380. },
  8381. "goodsname": {
  8382. "description": "点价商品名称",
  8383. "type": "string"
  8384. },
  8385. "invoiceamount": {
  8386. "description": "已开票额",
  8387. "type": "number"
  8388. },
  8389. "loanamount": {
  8390. "description": "贷款总额=已定价额+调整金额",
  8391. "type": "number"
  8392. },
  8393. "margin": {
  8394. "description": "保证金",
  8395. "type": "number"
  8396. },
  8397. "payamount": {
  8398. "description": "已收付额(收款或付款)",
  8399. "type": "number"
  8400. },
  8401. "price": {
  8402. "description": "价格",
  8403. "type": "number"
  8404. },
  8405. "pricedamount": {
  8406. "description": "已定价额",
  8407. "type": "number"
  8408. },
  8409. "pricedavg": {
  8410. "description": "已点均价",
  8411. "type": "number"
  8412. },
  8413. "pricedqty": {
  8414. "description": "已定价量",
  8415. "type": "number"
  8416. },
  8417. "pricemove": {
  8418. "description": "升贴水",
  8419. "type": "number"
  8420. },
  8421. "pricetype": {
  8422. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8423. "type": "integer"
  8424. },
  8425. "producttype": {
  8426. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8427. "type": "integer"
  8428. },
  8429. "qty": {
  8430. "description": "合同量",
  8431. "type": "number"
  8432. },
  8433. "reckonadjustamount": {
  8434. "description": "调整金额",
  8435. "type": "number"
  8436. },
  8437. "reckonedamount": {
  8438. "description": "已收付额(已确定额)",
  8439. "type": "number"
  8440. },
  8441. "reckonotheramount": {
  8442. "description": "其它费用",
  8443. "type": "number"
  8444. },
  8445. "reckonrealqty": {
  8446. "description": "已确定量",
  8447. "type": "number"
  8448. },
  8449. "remark": {
  8450. "description": "备注",
  8451. "type": "string"
  8452. },
  8453. "spotcontractid": {
  8454. "description": "合同ID",
  8455. "type": "string"
  8456. },
  8457. "spotgoodsdesc": {
  8458. "description": "商品型号(商品规格)",
  8459. "type": "string"
  8460. },
  8461. "startdate": {
  8462. "description": "点价开始日",
  8463. "type": "string"
  8464. },
  8465. "totalamount": {
  8466. "description": "合计总额",
  8467. "type": "number"
  8468. },
  8469. "unpayamount": {
  8470. "description": "待支收额(支付或收款)",
  8471. "type": "number"
  8472. },
  8473. "unpricedqty": {
  8474. "description": "未定价量",
  8475. "type": "number"
  8476. },
  8477. "unsureqty": {
  8478. "description": "未确定量",
  8479. "type": "number"
  8480. },
  8481. "userid": {
  8482. "description": "用户ID",
  8483. "type": "integer"
  8484. }
  8485. }
  8486. },
  8487. "ermcp.QryGGCovertCfgRsp": {
  8488. "type": "object",
  8489. "properties": {
  8490. "convertratio": {
  8491. "description": "折算系数",
  8492. "type": "number"
  8493. },
  8494. "destgoodsgroupid": {
  8495. "description": "目标品种ID",
  8496. "type": "integer"
  8497. },
  8498. "dstcode": {
  8499. "description": "目录品种代码",
  8500. "type": "string"
  8501. },
  8502. "dstexchangecode": {
  8503. "description": "目标期货交易所",
  8504. "type": "string"
  8505. },
  8506. "dstname": {
  8507. "description": "目标品种名称",
  8508. "type": "string"
  8509. },
  8510. "dstunitid": {
  8511. "description": "目标品种单位ID",
  8512. "type": "integer"
  8513. },
  8514. "dstunitidname": {
  8515. "description": "目标品种单位名称",
  8516. "type": "string"
  8517. },
  8518. "srccode": {
  8519. "description": "源品种代码",
  8520. "type": "string"
  8521. },
  8522. "srcexchangecode": {
  8523. "description": "源期货交易所",
  8524. "type": "string"
  8525. },
  8526. "srcgoodsgroupid": {
  8527. "description": "源品种ID",
  8528. "type": "integer"
  8529. },
  8530. "srcname": {
  8531. "description": "源品种名称",
  8532. "type": "string"
  8533. },
  8534. "srcunitid": {
  8535. "description": "源品种单位ID",
  8536. "type": "integer"
  8537. },
  8538. "srcunitidname": {
  8539. "description": "源品种单位名称",
  8540. "type": "string"
  8541. }
  8542. }
  8543. },
  8544. "ermcp.QryHedgePlanRsp": {
  8545. "type": "object",
  8546. "properties": {
  8547. "areauserid": {
  8548. "description": "用户ID",
  8549. "type": "integer"
  8550. },
  8551. "contracttype": {
  8552. "description": "计划类型 - 1:采购 -1:销售",
  8553. "type": "integer"
  8554. },
  8555. "convertfactor": {
  8556. "description": "标仓系数",
  8557. "type": "number"
  8558. },
  8559. "createtime": {
  8560. "description": "创建时间",
  8561. "type": "string"
  8562. },
  8563. "deliverygoodsid": {
  8564. "description": "现货品种ID",
  8565. "type": "integer"
  8566. },
  8567. "deliverygoodsname": {
  8568. "description": "现货品种名称",
  8569. "type": "string"
  8570. },
  8571. "hedgeplanid": {
  8572. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8573. "type": "string"
  8574. },
  8575. "hedgeplanno": {
  8576. "description": "套保计划编号(名称)",
  8577. "type": "string"
  8578. },
  8579. "hedgeplanstatus": {
  8580. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8581. "type": "integer"
  8582. },
  8583. "planqty": {
  8584. "description": "计划数量",
  8585. "type": "number"
  8586. },
  8587. "plantime": {
  8588. "description": "计划时间",
  8589. "type": "string"
  8590. },
  8591. "producttype": {
  8592. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8593. "type": "integer"
  8594. },
  8595. "remark": {
  8596. "description": "备注",
  8597. "type": "string"
  8598. },
  8599. "spotgoodsdesc": {
  8600. "description": "商品型号",
  8601. "type": "string"
  8602. },
  8603. "wrstandardid": {
  8604. "description": "现货商品ID",
  8605. "type": "integer"
  8606. },
  8607. "wrstandardname": {
  8608. "description": "现货商品名称",
  8609. "type": "string"
  8610. }
  8611. }
  8612. },
  8613. "ermcp.QryMGChangeLogRsp": {
  8614. "type": "object",
  8615. "properties": {
  8616. "aftervalue": {
  8617. "description": "变更后",
  8618. "type": "number"
  8619. },
  8620. "applyid": {
  8621. "description": "操作人",
  8622. "type": "integer"
  8623. },
  8624. "applyname": {
  8625. "description": "操作人名称",
  8626. "type": "string"
  8627. },
  8628. "applysrc": {
  8629. "description": "操作来源 - 1:管理端 2:终端",
  8630. "type": "integer"
  8631. },
  8632. "beforevalue": {
  8633. "description": "变更前",
  8634. "type": "number"
  8635. },
  8636. "changelogtype": {
  8637. "description": "变更流水类型 - 1:套保比率变更",
  8638. "type": "integer"
  8639. },
  8640. "handlestatus": {
  8641. "description": "处理状态",
  8642. "type": "integer"
  8643. },
  8644. "logdatetime": {
  8645. "description": "流水日期",
  8646. "type": "string"
  8647. },
  8648. "logid": {
  8649. "description": "流水ID",
  8650. "type": "integer"
  8651. },
  8652. "logremark": {
  8653. "description": "流水备注",
  8654. "type": "string"
  8655. },
  8656. "middlegoodsid": {
  8657. "description": "套保品种ID",
  8658. "type": "integer"
  8659. },
  8660. "tradedate": {
  8661. "description": "交易日(yyyyMMdd)",
  8662. "type": "string"
  8663. },
  8664. "updatetime": {
  8665. "description": "更新时间",
  8666. "type": "string"
  8667. }
  8668. }
  8669. },
  8670. "ermcp.QryMiddleGoodsDetailRsp": {
  8671. "type": "object",
  8672. "properties": {
  8673. "cvList": {
  8674. "description": "期货品种折算列表",
  8675. "type": "array",
  8676. "items": {
  8677. "$ref": "#/definitions/models.GoodsGroupConvert"
  8678. }
  8679. },
  8680. "mg": {
  8681. "description": "套保品种基本信息",
  8682. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8683. }
  8684. }
  8685. },
  8686. "ermcp.QryMiddleGoodsRsp": {
  8687. "type": "object",
  8688. "properties": {
  8689. "areauserid": {
  8690. "description": "机构用户ID",
  8691. "type": "integer"
  8692. },
  8693. "enumdicname": {
  8694. "description": "单位名称",
  8695. "type": "string"
  8696. },
  8697. "evaluateratio": {
  8698. "description": "估价系数",
  8699. "type": "number"
  8700. },
  8701. "goodsgroupid": {
  8702. "description": "关联期货品种ID",
  8703. "type": "integer"
  8704. },
  8705. "isvalid": {
  8706. "description": "状态 0-无效(停用) 1-有效(正常)",
  8707. "type": "integer"
  8708. },
  8709. "middlegoodscode": {
  8710. "description": "套保品种代码",
  8711. "type": "string"
  8712. },
  8713. "middlegoodsid": {
  8714. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8715. "type": "integer"
  8716. },
  8717. "middlegoodsname": {
  8718. "description": "套保品种名称",
  8719. "type": "string"
  8720. },
  8721. "modifytime": {
  8722. "description": "修改时间",
  8723. "type": "string"
  8724. },
  8725. "needhedgeratio": {
  8726. "description": "套保比率",
  8727. "type": "number"
  8728. },
  8729. "qtydecimalplace": {
  8730. "description": "数量小数位",
  8731. "type": "integer"
  8732. },
  8733. "relatedgoodsid": {
  8734. "description": "关联交易商品ID",
  8735. "type": "integer"
  8736. },
  8737. "relatedgoodstype": {
  8738. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8739. "type": "integer"
  8740. }
  8741. }
  8742. },
  8743. "ermcp.QryOPLogRsp": {
  8744. "type": "object",
  8745. "properties": {
  8746. "aftervalue": {
  8747. "description": "变更后",
  8748. "type": "number"
  8749. },
  8750. "applyid": {
  8751. "description": "操作人ID",
  8752. "type": "string"
  8753. },
  8754. "applyname": {
  8755. "description": "操作人名称",
  8756. "type": "string"
  8757. },
  8758. "beforevalue": {
  8759. "description": "变更前",
  8760. "type": "number"
  8761. },
  8762. "biztype": {
  8763. "description": "业务类型 - 1:套保计划 2:现货合同",
  8764. "type": "integer"
  8765. },
  8766. "contracttype": {
  8767. "description": "现货合同类型 - 1:采购 -1:销售",
  8768. "type": "integer"
  8769. },
  8770. "logvalue": {
  8771. "description": "数值",
  8772. "type": "number"
  8773. },
  8774. "operatelogtype": {
  8775. "description": "操作流水类型",
  8776. "type": "integer"
  8777. },
  8778. "operatelogtypedesc": {
  8779. "description": "操作流水类型名称",
  8780. "type": "string"
  8781. },
  8782. "relatedid": {
  8783. "description": "现货合同ID\\套保计划",
  8784. "type": "string"
  8785. },
  8786. "updatetime": {
  8787. "description": "更新时间",
  8788. "type": "string"
  8789. }
  8790. }
  8791. },
  8792. "ermcp.QryReportDaySpotDetailRsp": {
  8793. "type": "object",
  8794. "properties": {
  8795. "applyid": {
  8796. "description": "操作人",
  8797. "type": "integer"
  8798. },
  8799. "applyname": {
  8800. "description": "操作人名称",
  8801. "type": "string"
  8802. },
  8803. "biztype": {
  8804. "description": "业务类型 - 1:套保计划 2:现货合同",
  8805. "type": "integer"
  8806. },
  8807. "contracttype": {
  8808. "description": "现货合同类型 - 1:采购 -1:销售",
  8809. "type": "integer"
  8810. },
  8811. "enumdicName": {
  8812. "description": "单位名称",
  8813. "type": "string"
  8814. },
  8815. "logdatetime": {
  8816. "description": "流水日期(时间)",
  8817. "type": "string"
  8818. },
  8819. "logid": {
  8820. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8821. "type": "string"
  8822. },
  8823. "logtypename": {
  8824. "description": "合同类型(名称)",
  8825. "type": "string"
  8826. },
  8827. "logvalue": {
  8828. "description": "数值",
  8829. "type": "string"
  8830. },
  8831. "operatelogtype": {
  8832. "description": "操作流水类型 -",
  8833. "type": "integer"
  8834. },
  8835. "optypename": {
  8836. "description": "流水类型名称",
  8837. "type": "string"
  8838. },
  8839. "relatedid": {
  8840. "description": "现货合同ID\\套保计划",
  8841. "type": "string"
  8842. },
  8843. "relatedno": {
  8844. "description": "合同编号",
  8845. "type": "string"
  8846. },
  8847. "tradedate": {
  8848. "description": "交易日(yyyyMMdd)",
  8849. "type": "string"
  8850. },
  8851. "userid": {
  8852. "description": "机构ID",
  8853. "type": "integer"
  8854. },
  8855. "wrstandardcode": {
  8856. "description": "现货商品代码",
  8857. "type": "string"
  8858. },
  8859. "wrstandardid": {
  8860. "description": "现货商品ID",
  8861. "type": "integer"
  8862. },
  8863. "wrstandardname": {
  8864. "description": "现货商品名称",
  8865. "type": "string"
  8866. }
  8867. }
  8868. },
  8869. "ermcp.QryReportExposureDayRsp": {
  8870. "type": "object",
  8871. "properties": {
  8872. "areauserid": {
  8873. "description": "所属机构",
  8874. "type": "integer"
  8875. },
  8876. "buyfutureqty": {
  8877. "description": "买入期货数量",
  8878. "type": "number"
  8879. },
  8880. "buyplanqty": {
  8881. "description": "采购计划数量",
  8882. "type": "number"
  8883. },
  8884. "buypricedqty": {
  8885. "description": "采购合同已定价数量",
  8886. "type": "number"
  8887. },
  8888. "diffFutuQty": {
  8889. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8890. "type": "number"
  8891. },
  8892. "diffSpotQty": {
  8893. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8894. "type": "number"
  8895. },
  8896. "enumdicname": {
  8897. "description": "单位名称",
  8898. "type": "string"
  8899. },
  8900. "middlegoodscode": {
  8901. "description": "套保品种代码",
  8902. "type": "string"
  8903. },
  8904. "middlegoodshedgeratio": {
  8905. "description": "应套保比例",
  8906. "type": "number"
  8907. },
  8908. "middlegoodsid": {
  8909. "description": "套保品种ID",
  8910. "type": "integer"
  8911. },
  8912. "middlegoodsname": {
  8913. "description": "套保品种名称",
  8914. "type": "string"
  8915. },
  8916. "needhedgeexposoure": {
  8917. "description": "应套保敞口",
  8918. "type": "number"
  8919. },
  8920. "needhedgeratio": {
  8921. "description": "应套保敞口比例",
  8922. "type": "number"
  8923. },
  8924. "oriTotalFutuQty": {
  8925. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8926. "type": "number"
  8927. },
  8928. "oriTotalSpotQty": {
  8929. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8930. "type": "number"
  8931. },
  8932. "oribuyfutureqty": {
  8933. "description": "期初买入期货数量",
  8934. "type": "number"
  8935. },
  8936. "oribuyplanqty": {
  8937. "description": "期初采购计划数量",
  8938. "type": "number"
  8939. },
  8940. "oribuypricedqty": {
  8941. "description": "期初采购合同已定价数量",
  8942. "type": "number"
  8943. },
  8944. "orisellfutureqty": {
  8945. "description": "期初卖出期货数量",
  8946. "type": "number"
  8947. },
  8948. "orisellplanqty": {
  8949. "description": "期初销售计划数量",
  8950. "type": "number"
  8951. },
  8952. "orisellpricedqty": {
  8953. "description": "期初销售合同已定价数量",
  8954. "type": "number"
  8955. },
  8956. "reckondate": {
  8957. "description": "日照时期(yyyyMMdd)",
  8958. "type": "string"
  8959. },
  8960. "sellfutureqty": {
  8961. "description": "卖出期货数量",
  8962. "type": "number"
  8963. },
  8964. "sellplanqty": {
  8965. "description": "销售计划数量",
  8966. "type": "number"
  8967. },
  8968. "sellpricedqty": {
  8969. "description": "销售合同已定价数量",
  8970. "type": "number"
  8971. },
  8972. "totalexposure": {
  8973. "description": "总敞口",
  8974. "type": "number"
  8975. },
  8976. "totalfutureqty": {
  8977. "description": "期货数量",
  8978. "type": "number"
  8979. },
  8980. "totalhedgeratio": {
  8981. "description": "敞口比例",
  8982. "type": "number"
  8983. },
  8984. "totalneedhedgeqty": {
  8985. "description": "期货应套保量",
  8986. "type": "number"
  8987. },
  8988. "totalspotqty": {
  8989. "description": "现货数量",
  8990. "type": "number"
  8991. }
  8992. }
  8993. },
  8994. "ermcp.QryReportFinanceDayRsp": {
  8995. "type": "object",
  8996. "properties": {
  8997. "areauserid": {
  8998. "description": "所属机构",
  8999. "type": "integer"
  9000. },
  9001. "collectinvoiceamount": {
  9002. "description": "今日开票金额",
  9003. "type": "number"
  9004. },
  9005. "collectinvoicecount": {
  9006. "description": "今日开票笔数",
  9007. "type": "integer"
  9008. },
  9009. "collectmoneyamount": {
  9010. "description": "今日收款金额",
  9011. "type": "number"
  9012. },
  9013. "collectmoneycount": {
  9014. "description": "今日收款笔数",
  9015. "type": "integer"
  9016. },
  9017. "payinvoiceamount": {
  9018. "description": "今日收票金额",
  9019. "type": "number"
  9020. },
  9021. "payinvoicecount": {
  9022. "description": "今日收票笔数",
  9023. "type": "integer"
  9024. },
  9025. "paymoneyamount": {
  9026. "description": "今日付款金额",
  9027. "type": "number"
  9028. },
  9029. "paymoneycount": {
  9030. "description": "今日付款笔数",
  9031. "type": "integer"
  9032. },
  9033. "reckondate": {
  9034. "description": "日照时期(yyyyMMdd)",
  9035. "type": "string"
  9036. },
  9037. "updatetime": {
  9038. "description": "更新时间",
  9039. "type": "string"
  9040. }
  9041. }
  9042. },
  9043. "ermcp.QryReportFinanceKxRsp": {
  9044. "type": "object",
  9045. "properties": {
  9046. "applyid": {
  9047. "description": "操作人",
  9048. "type": "integer"
  9049. },
  9050. "applyname": {
  9051. "description": "操作人名称",
  9052. "type": "string"
  9053. },
  9054. "biztype": {
  9055. "description": "业务类型 - 1:套保计划 2:现货合同",
  9056. "type": "integer"
  9057. },
  9058. "contracttype": {
  9059. "description": "现货合同类型 - 1:采购 -1:销售",
  9060. "type": "integer"
  9061. },
  9062. "enumdicName": {
  9063. "description": "单位名称",
  9064. "type": "string"
  9065. },
  9066. "logdatetime": {
  9067. "description": "流水日期(时间)",
  9068. "type": "string"
  9069. },
  9070. "logid": {
  9071. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9072. "type": "string"
  9073. },
  9074. "logtypename": {
  9075. "description": "合同类型(名称)",
  9076. "type": "string"
  9077. },
  9078. "logvalue": {
  9079. "description": "数值",
  9080. "type": "string"
  9081. },
  9082. "operatelogtype": {
  9083. "description": "操作流水类型 -",
  9084. "type": "integer"
  9085. },
  9086. "optypename": {
  9087. "description": "流水类型名称",
  9088. "type": "string"
  9089. },
  9090. "relatedid": {
  9091. "description": "现货合同ID\\套保计划",
  9092. "type": "string"
  9093. },
  9094. "relatedno": {
  9095. "description": "合同编号",
  9096. "type": "string"
  9097. },
  9098. "tradedate": {
  9099. "description": "交易日(yyyyMMdd)",
  9100. "type": "string"
  9101. },
  9102. "userid": {
  9103. "description": "机构ID",
  9104. "type": "integer"
  9105. },
  9106. "wrstandardcode": {
  9107. "description": "现货商品代码",
  9108. "type": "string"
  9109. },
  9110. "wrstandardid": {
  9111. "description": "现货商品ID",
  9112. "type": "integer"
  9113. },
  9114. "wrstandardname": {
  9115. "description": "现货商品名称",
  9116. "type": "string"
  9117. }
  9118. }
  9119. },
  9120. "ermcp.QryReportFinanceMonRsp": {
  9121. "type": "object",
  9122. "properties": {
  9123. "areauserid": {
  9124. "description": "所属机构【原值】",
  9125. "type": "integer"
  9126. },
  9127. "collectinvoiceamount": {
  9128. "description": "今日开票金额【汇总】",
  9129. "type": "number"
  9130. },
  9131. "collectinvoicecount": {
  9132. "description": "今日开票笔数【汇总】",
  9133. "type": "integer"
  9134. },
  9135. "collectmoneyamount": {
  9136. "description": "今日收款金额【汇总】",
  9137. "type": "number"
  9138. },
  9139. "collectmoneycount": {
  9140. "description": "今日收款笔数 【汇总】",
  9141. "type": "integer"
  9142. },
  9143. "cycletime": {
  9144. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9145. "type": "string"
  9146. },
  9147. "cycletype": {
  9148. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9149. "type": "integer"
  9150. },
  9151. "dayFr": {
  9152. "description": "日报表明细",
  9153. "type": "array",
  9154. "items": {
  9155. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9156. }
  9157. },
  9158. "payinvoiceamount": {
  9159. "description": "今日收票金额【汇总】",
  9160. "type": "number"
  9161. },
  9162. "payinvoicecount": {
  9163. "description": "今日收票笔数【汇总】",
  9164. "type": "integer"
  9165. },
  9166. "paymoneyamount": {
  9167. "description": "今日付款金额【汇总】",
  9168. "type": "number"
  9169. },
  9170. "paymoneycount": {
  9171. "description": "今日付款笔数【汇总】",
  9172. "type": "integer"
  9173. },
  9174. "updatetime": {
  9175. "description": "更新时间",
  9176. "type": "string"
  9177. }
  9178. }
  9179. },
  9180. "ermcp.QryReportSpotDayRsp": {
  9181. "type": "object",
  9182. "properties": {
  9183. "areauserid": {
  9184. "description": "所属机构T",
  9185. "type": "integer"
  9186. },
  9187. "enumdicname": {
  9188. "description": "现货商品单位名称",
  9189. "type": "string"
  9190. },
  9191. "reckondate": {
  9192. "description": "日照时期(yyyyMMdd)",
  9193. "type": "string"
  9194. },
  9195. "todaybuyreckonqty": {
  9196. "description": "采购确定量",
  9197. "type": "number"
  9198. },
  9199. "todaysellreckonqty": {
  9200. "description": "销售确定量",
  9201. "type": "number"
  9202. },
  9203. "totalbuypricedqty": {
  9204. "description": "采购定价量 = 期末 - 期初",
  9205. "type": "number"
  9206. },
  9207. "totalsellpricedqty": {
  9208. "description": "销售定价量 = 期末 - 期初",
  9209. "type": "number"
  9210. },
  9211. "wrstandardcode": {
  9212. "description": "现货商品代码",
  9213. "type": "string"
  9214. },
  9215. "wrstandardid": {
  9216. "description": "现货商品ID",
  9217. "type": "integer"
  9218. },
  9219. "wrstandardname": {
  9220. "description": "现货商品名称",
  9221. "type": "string"
  9222. }
  9223. }
  9224. },
  9225. "ermcp.QryReportSpotMonRsp": {
  9226. "type": "object",
  9227. "properties": {
  9228. "areauserid": {
  9229. "description": "所属机构T",
  9230. "type": "integer"
  9231. },
  9232. "cycletime": {
  9233. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9234. "type": "string"
  9235. },
  9236. "cycletype": {
  9237. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9238. "type": "integer"
  9239. },
  9240. "enumdicname": {
  9241. "description": "现货商品单位名称",
  9242. "type": "string"
  9243. },
  9244. "todaybuyreckonqty": {
  9245. "description": "采购确定量",
  9246. "type": "number"
  9247. },
  9248. "todaysellreckonqty": {
  9249. "description": "销售确定量",
  9250. "type": "number"
  9251. },
  9252. "totalbuypricedqty": {
  9253. "description": "采购定价量 = 期末 - 期初",
  9254. "type": "number"
  9255. },
  9256. "totalsellpricedqty": {
  9257. "description": "销售定价量 = 期末 - 期初",
  9258. "type": "number"
  9259. },
  9260. "wrstandardcode": {
  9261. "description": "现货商品代码",
  9262. "type": "string"
  9263. },
  9264. "wrstandardid": {
  9265. "description": "现货商品ID",
  9266. "type": "integer"
  9267. },
  9268. "wrstandardname": {
  9269. "description": "现货商品名称",
  9270. "type": "string"
  9271. }
  9272. }
  9273. },
  9274. "ermcp.QryReportSpotMonthDetailRsp": {
  9275. "type": "object",
  9276. "properties": {
  9277. "areauserid": {
  9278. "description": "所属机构T",
  9279. "type": "integer"
  9280. },
  9281. "enumdicname": {
  9282. "description": "现货商品单位名称",
  9283. "type": "string"
  9284. },
  9285. "reckondate": {
  9286. "description": "日照时期(yyyyMMdd)",
  9287. "type": "string"
  9288. },
  9289. "todaybuyreckonqty": {
  9290. "description": "采购确定量",
  9291. "type": "number"
  9292. },
  9293. "todaysellreckonqty": {
  9294. "description": "销售确定量",
  9295. "type": "number"
  9296. },
  9297. "totalbuypricedqty": {
  9298. "description": "采购定价量 = 期末 - 期初",
  9299. "type": "number"
  9300. },
  9301. "totalsellpricedqty": {
  9302. "description": "销售定价量 = 期末 - 期初",
  9303. "type": "number"
  9304. },
  9305. "wrstandardcode": {
  9306. "description": "现货商品代码",
  9307. "type": "string"
  9308. },
  9309. "wrstandardid": {
  9310. "description": "现货商品ID",
  9311. "type": "integer"
  9312. },
  9313. "wrstandardname": {
  9314. "description": "现货商品名称",
  9315. "type": "string"
  9316. }
  9317. }
  9318. },
  9319. "ermcp.QrySpotContractRsp": {
  9320. "type": "object",
  9321. "properties": {
  9322. "amount": {
  9323. "description": "金额 [1:一口价、3:暂定价]",
  9324. "type": "number"
  9325. },
  9326. "attachment": {
  9327. "description": "附件",
  9328. "type": "string"
  9329. },
  9330. "auditremark": {
  9331. "description": "审核意见",
  9332. "type": "string"
  9333. },
  9334. "audittime": {
  9335. "description": "审核时间",
  9336. "type": "string"
  9337. },
  9338. "brandname": {
  9339. "description": "品牌名称",
  9340. "type": "string"
  9341. },
  9342. "buyuserid": {
  9343. "description": "采购方ID",
  9344. "type": "integer"
  9345. },
  9346. "buyusername": {
  9347. "description": "采购方名称",
  9348. "type": "string"
  9349. },
  9350. "contracctstatus": {
  9351. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9352. "type": "integer"
  9353. },
  9354. "contractmargin": {
  9355. "description": "合同保证金",
  9356. "type": "number"
  9357. },
  9358. "contractno": {
  9359. "description": "现货合同编号",
  9360. "type": "string"
  9361. },
  9362. "contracttype": {
  9363. "description": "现货合同类型 - 1:采购 -1:销售",
  9364. "type": "integer"
  9365. },
  9366. "convertfactor": {
  9367. "description": "标仓系数",
  9368. "type": "number"
  9369. },
  9370. "createtime": {
  9371. "description": "创建时间",
  9372. "type": "string"
  9373. },
  9374. "deliveryenddate": {
  9375. "description": "交收期(结束)",
  9376. "type": "string"
  9377. },
  9378. "deliverygoodscode": {
  9379. "description": "现货品种代码",
  9380. "type": "string"
  9381. },
  9382. "deliverygoodsid": {
  9383. "description": "现货品种ID",
  9384. "type": "integer"
  9385. },
  9386. "deliverygoodsname": {
  9387. "description": "现货品种名称",
  9388. "type": "string"
  9389. },
  9390. "deliverystartdate": {
  9391. "description": "交收期(开始)",
  9392. "type": "string"
  9393. },
  9394. "enddate": {
  9395. "description": "点价结束日期 [2:点价 3:暂定价]",
  9396. "type": "string"
  9397. },
  9398. "enumdicname": {
  9399. "description": "单位名称",
  9400. "type": "string"
  9401. },
  9402. "goodscode": {
  9403. "description": "点价合约代码",
  9404. "type": "string"
  9405. },
  9406. "goodsid": {
  9407. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9408. "type": "integer"
  9409. },
  9410. "goodsname": {
  9411. "description": "点价商品名称",
  9412. "type": "string"
  9413. },
  9414. "margin": {
  9415. "description": "当前保证金",
  9416. "type": "number"
  9417. },
  9418. "modelname": {
  9419. "description": "型号名称",
  9420. "type": "string"
  9421. },
  9422. "price": {
  9423. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9424. "type": "number"
  9425. },
  9426. "pricemove": {
  9427. "description": "升贴水 [2:点价 3:暂定价]",
  9428. "type": "number"
  9429. },
  9430. "pricetype": {
  9431. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9432. "type": "integer"
  9433. },
  9434. "producttype": {
  9435. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9436. "type": "integer"
  9437. },
  9438. "qty": {
  9439. "description": "数量",
  9440. "type": "number"
  9441. },
  9442. "remark": {
  9443. "description": "备注",
  9444. "type": "string"
  9445. },
  9446. "selluserid": {
  9447. "description": "销售方ID",
  9448. "type": "integer"
  9449. },
  9450. "sellusername": {
  9451. "description": "销售方名称",
  9452. "type": "string"
  9453. },
  9454. "spotcontractid": {
  9455. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9456. "type": "string"
  9457. },
  9458. "spotgoodsbrandid": {
  9459. "description": "现货品牌ID",
  9460. "type": "integer"
  9461. },
  9462. "spotgoodsdesc": {
  9463. "description": "商品型号",
  9464. "type": "string"
  9465. },
  9466. "spotgoodsmodelid": {
  9467. "description": "现货型号ID",
  9468. "type": "integer"
  9469. },
  9470. "startdate": {
  9471. "description": "点价开始日期 [2:点价 3:暂定价]",
  9472. "type": "string"
  9473. },
  9474. "userid": {
  9475. "description": "机构ID",
  9476. "type": "integer"
  9477. },
  9478. "wrstandardid": {
  9479. "description": "现货商品ID",
  9480. "type": "integer"
  9481. }
  9482. }
  9483. },
  9484. "ermcp.QryUserInfoRsp": {
  9485. "type": "object",
  9486. "properties": {
  9487. "address": {
  9488. "description": "通讯地址",
  9489. "type": "string"
  9490. },
  9491. "attachment1": {
  9492. "description": "附件1",
  9493. "type": "string"
  9494. },
  9495. "cardfrontphotourl": {
  9496. "description": "证件正面图片地址",
  9497. "type": "string"
  9498. },
  9499. "cardnum": {
  9500. "description": "证件号码",
  9501. "type": "string"
  9502. },
  9503. "cardtype": {
  9504. "description": "证件类型",
  9505. "type": "integer"
  9506. },
  9507. "cardtypename": {
  9508. "description": "证件类型名称",
  9509. "type": "string"
  9510. },
  9511. "cityid": {
  9512. "description": "市",
  9513. "type": "integer"
  9514. },
  9515. "countryid": {
  9516. "description": "国家",
  9517. "type": "integer"
  9518. },
  9519. "createtime": {
  9520. "description": "创建时间",
  9521. "type": "string"
  9522. },
  9523. "customername": {
  9524. "description": "企业名称",
  9525. "type": "string"
  9526. },
  9527. "memberuserid": {
  9528. "description": "所属机构ID",
  9529. "type": "integer"
  9530. },
  9531. "mobile": {
  9532. "description": "手机号码",
  9533. "type": "string"
  9534. },
  9535. "provinceid": {
  9536. "description": "省",
  9537. "type": "integer"
  9538. },
  9539. "remark": {
  9540. "description": "备注",
  9541. "type": "string"
  9542. },
  9543. "status": {
  9544. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9545. "type": "integer"
  9546. },
  9547. "statusdesc": {
  9548. "description": "账户状态中文描述",
  9549. "type": "string"
  9550. },
  9551. "telphone": {
  9552. "description": "联系电话",
  9553. "type": "string"
  9554. },
  9555. "userid": {
  9556. "description": "用户ID",
  9557. "type": "integer"
  9558. },
  9559. "userinfotype": {
  9560. "description": "客户类型",
  9561. "type": "string"
  9562. }
  9563. }
  9564. },
  9565. "ermcp.QryWrStandardDetailRsp": {
  9566. "type": "object",
  9567. "properties": {
  9568. "gbList": {
  9569. "description": "品牌列表",
  9570. "type": "array",
  9571. "items": {
  9572. "$ref": "#/definitions/models.GoodsBrand"
  9573. }
  9574. },
  9575. "gtList": {
  9576. "description": "型号列表",
  9577. "type": "array",
  9578. "items": {
  9579. "$ref": "#/definitions/models.GoodsTypeModel"
  9580. }
  9581. },
  9582. "wrd": {
  9583. "description": "基本信息",
  9584. "$ref": "#/definitions/models.ErmcpWrstandard"
  9585. },
  9586. "wrsList": {
  9587. "description": "套保信息列表",
  9588. "type": "array",
  9589. "items": {
  9590. "$ref": "#/definitions/models.WRSConverTDetail"
  9591. }
  9592. }
  9593. }
  9594. },
  9595. "ermcp.QryWrStandardRsp": {
  9596. "type": "object",
  9597. "properties": {
  9598. "areauserid": {
  9599. "description": "所属机构",
  9600. "type": "integer"
  9601. },
  9602. "createtime": {
  9603. "description": "创建时间",
  9604. "type": "string"
  9605. },
  9606. "creatorid": {
  9607. "description": "创建人",
  9608. "type": "integer"
  9609. },
  9610. "deliverygoodsid": {
  9611. "description": "品种ID",
  9612. "type": "integer"
  9613. },
  9614. "enumdicname": {
  9615. "description": "单位名称",
  9616. "type": "string"
  9617. },
  9618. "isvalid": {
  9619. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9620. "type": "integer"
  9621. },
  9622. "minivalue": {
  9623. "description": "最小变动值",
  9624. "type": "integer"
  9625. },
  9626. "minivaluedp": {
  9627. "description": "最小变动值小数位",
  9628. "type": "integer"
  9629. },
  9630. "realminivalue": {
  9631. "description": "实际最小变动值",
  9632. "type": "integer"
  9633. },
  9634. "realminivaluedp": {
  9635. "description": "实际最小变动值小数位",
  9636. "type": "integer"
  9637. },
  9638. "remark": {
  9639. "description": "备注",
  9640. "type": "string"
  9641. },
  9642. "unitid": {
  9643. "description": "单位ID",
  9644. "type": "integer"
  9645. },
  9646. "updatetime": {
  9647. "description": "更新时间",
  9648. "type": "string"
  9649. },
  9650. "wrstandardcode": {
  9651. "description": "现货商品代码",
  9652. "type": "string"
  9653. },
  9654. "wrstandardid": {
  9655. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9656. "type": "integer"
  9657. },
  9658. "wrstandardname": {
  9659. "description": "现货商品名称",
  9660. "type": "string"
  9661. }
  9662. }
  9663. },
  9664. "ermcp.QueryErmcpTradePositionRsp": {
  9665. "type": "object",
  9666. "properties": {
  9667. "agreeunit": {
  9668. "description": "合约单位",
  9669. "type": "number"
  9670. },
  9671. "buyorsell": {
  9672. "description": "方向 - 0:买 1:卖",
  9673. "type": "integer"
  9674. },
  9675. "curpositionqty": {
  9676. "description": "持仓(总仓数量, 期末头寸)",
  9677. "type": "integer"
  9678. },
  9679. "curtdposition": {
  9680. "description": "今仓数量(期末今日头寸)",
  9681. "type": "integer"
  9682. },
  9683. "curtdpositionenabled": {
  9684. "description": "今仓可用",
  9685. "type": "integer"
  9686. },
  9687. "decimalplace": {
  9688. "description": "报价小数位",
  9689. "type": "integer"
  9690. },
  9691. "enableqty": {
  9692. "description": "可用(总仓可用)",
  9693. "type": "integer"
  9694. },
  9695. "exexchangename": {
  9696. "description": "外部交易所名称",
  9697. "type": "string"
  9698. },
  9699. "goodscode": {
  9700. "description": "商品代码(内部)",
  9701. "type": "string"
  9702. },
  9703. "goodsid": {
  9704. "description": "商品ID(自增ID SEQ_GOODS)",
  9705. "type": "integer"
  9706. },
  9707. "goodsname": {
  9708. "description": "商品名称",
  9709. "type": "string"
  9710. },
  9711. "last": {
  9712. "description": "现价",
  9713. "type": "number"
  9714. },
  9715. "marketid": {
  9716. "description": "所属市场ID",
  9717. "type": "integer"
  9718. },
  9719. "openaverageprice": {
  9720. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9721. "type": "number"
  9722. },
  9723. "opencost": {
  9724. "description": "开仓成本",
  9725. "type": "number"
  9726. },
  9727. "openpl": {
  9728. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9729. "type": "number"
  9730. },
  9731. "outgoodscode": {
  9732. "description": "商品代码(外部)",
  9733. "type": "string"
  9734. },
  9735. "positionaverageprice": {
  9736. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9737. "type": "number"
  9738. },
  9739. "positioncost": {
  9740. "description": "持仓成本",
  9741. "type": "number"
  9742. },
  9743. "positionpl": {
  9744. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9745. "type": "number"
  9746. },
  9747. "positionplrate": {
  9748. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9749. "type": "number"
  9750. },
  9751. "usedmargin": {
  9752. "description": "占用保证金",
  9753. "type": "number"
  9754. }
  9755. }
  9756. },
  9757. "ermcp.RealtimeExposurePositionRsp": {
  9758. "type": "object",
  9759. "properties": {
  9760. "agreeunit": {
  9761. "description": "合约单位",
  9762. "type": "string"
  9763. },
  9764. "areauserid": {
  9765. "description": "所属机构id",
  9766. "type": "integer"
  9767. },
  9768. "convertratio": {
  9769. "description": "期货品种系数(折算系数)",
  9770. "type": "number"
  9771. },
  9772. "curqty": {
  9773. "description": "当前持仓",
  9774. "type": "integer"
  9775. },
  9776. "diffhedgeqty": {
  9777. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9778. "type": "number"
  9779. },
  9780. "diffqty": {
  9781. "description": "持仓变动量=当前持仓-昨日持仓",
  9782. "type": "integer"
  9783. },
  9784. "goodscode": {
  9785. "description": "商品代码",
  9786. "type": "string"
  9787. },
  9788. "goodsid": {
  9789. "description": "商品id",
  9790. "type": "integer"
  9791. },
  9792. "goodsname": {
  9793. "description": "商品名称",
  9794. "type": "string"
  9795. },
  9796. "middlegoodsid": {
  9797. "description": "套保商品id",
  9798. "type": "integer"
  9799. },
  9800. "ydqty": {
  9801. "description": "昨日持仓",
  9802. "type": "integer"
  9803. }
  9804. }
  9805. },
  9806. "ermcp.RealtimeExposureRsp": {
  9807. "type": "object",
  9808. "properties": {
  9809. "areaUserID": {
  9810. "description": "所属机构",
  9811. "type": "integer"
  9812. },
  9813. "buyFutureQty": {
  9814. "description": "买入期货数量",
  9815. "type": "number"
  9816. },
  9817. "buyPlanQty": {
  9818. "description": "采购计划数量",
  9819. "type": "number"
  9820. },
  9821. "buyPricedQty": {
  9822. "description": "采购合同已定价数量",
  9823. "type": "number"
  9824. },
  9825. "diffFutuQty": {
  9826. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9827. "type": "number"
  9828. },
  9829. "diffSpotQty": {
  9830. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9831. "type": "number"
  9832. },
  9833. "enumdicname": {
  9834. "description": "单位名称",
  9835. "type": "string"
  9836. },
  9837. "middleGoodsCode": {
  9838. "description": "套保品种代码",
  9839. "type": "string"
  9840. },
  9841. "middleGoodsHedgeRatio": {
  9842. "description": "应套保比例",
  9843. "type": "number"
  9844. },
  9845. "middleGoodsID": {
  9846. "description": "套保品种",
  9847. "type": "integer"
  9848. },
  9849. "middleGoodsName": {
  9850. "description": "套保品种名称",
  9851. "type": "string"
  9852. },
  9853. "needHedgeExposoure": {
  9854. "description": "应套保敞口",
  9855. "type": "number"
  9856. },
  9857. "needHedgeRatio": {
  9858. "description": "应套保敞口比例",
  9859. "type": "number"
  9860. },
  9861. "oriBuyFutureQty": {
  9862. "description": "期初买入期货数量",
  9863. "type": "number"
  9864. },
  9865. "oriBuyPlanQty": {
  9866. "description": "期初采购计划数量",
  9867. "type": "number"
  9868. },
  9869. "oriBuyPricedQty": {
  9870. "description": "期初采购合同已定价数量",
  9871. "type": "number"
  9872. },
  9873. "oriSellFutureQty": {
  9874. "description": "期初卖出期货数量",
  9875. "type": "number"
  9876. },
  9877. "oriSellPlanQty": {
  9878. "description": "期初销售计划数量",
  9879. "type": "number"
  9880. },
  9881. "oriSellPricedQty": {
  9882. "description": "期初销售合同已定价数量",
  9883. "type": "number"
  9884. },
  9885. "oriTotalFutuQty": {
  9886. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9887. "type": "number"
  9888. },
  9889. "oriTotalSpotQty": {
  9890. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9891. "type": "number"
  9892. },
  9893. "sellFutureQty": {
  9894. "description": "卖出期货数量",
  9895. "type": "number"
  9896. },
  9897. "sellPlanQty": {
  9898. "description": "销售计划数量",
  9899. "type": "number"
  9900. },
  9901. "sellPricedQty": {
  9902. "description": "销售合同已定价数量",
  9903. "type": "number"
  9904. },
  9905. "totalExposure": {
  9906. "description": "总敞口",
  9907. "type": "number"
  9908. },
  9909. "totalFutureQty": {
  9910. "description": "期货数量",
  9911. "type": "number"
  9912. },
  9913. "totalHedgeRatio": {
  9914. "description": "敞口比例",
  9915. "type": "number"
  9916. },
  9917. "totalNeedHedgeQty": {
  9918. "description": "期货应套保量",
  9919. "type": "number"
  9920. },
  9921. "totalSpotQty": {
  9922. "description": "现货数量",
  9923. "type": "number"
  9924. }
  9925. }
  9926. },
  9927. "erms2.QueryArbitrageStrategyRsp": {
  9928. "type": "object",
  9929. "required": [
  9930. "asapplyid"
  9931. ],
  9932. "properties": {
  9933. "applybasis": {
  9934. "description": "申请基差",
  9935. "type": "number"
  9936. },
  9937. "asapplyid": {
  9938. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9939. "type": "string"
  9940. },
  9941. "asname": {
  9942. "description": "策略名称",
  9943. "type": "string"
  9944. },
  9945. "asno": {
  9946. "description": "策略编号",
  9947. "type": "string"
  9948. },
  9949. "basischangepl": {
  9950. "description": "基差变动损益[结算更新]",
  9951. "type": "number"
  9952. },
  9953. "biztype": {
  9954. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9955. "type": "integer"
  9956. },
  9957. "closetradedate": {
  9958. "description": "完结交易日(yyyyMMdd)",
  9959. "type": "string"
  9960. },
  9961. "curbasis": {
  9962. "description": "当前基差[结算更新]",
  9963. "type": "number"
  9964. },
  9965. "deliverygoodsid": {
  9966. "description": "现货品种ID",
  9967. "type": "integer"
  9968. },
  9969. "futureavgprice": {
  9970. "description": "期货建仓均价",
  9971. "type": "number"
  9972. },
  9973. "futurecloseamount": {
  9974. "description": "期货平仓金额",
  9975. "type": "number"
  9976. },
  9977. "futurecloseqty": {
  9978. "description": "期货平仓数量",
  9979. "type": "number"
  9980. },
  9981. "futureopenamount": {
  9982. "description": "期货开仓金额",
  9983. "type": "number"
  9984. },
  9985. "futureopenqty": {
  9986. "description": "期货开仓数量",
  9987. "type": "number"
  9988. },
  9989. "futurepl": {
  9990. "description": "期货总盈亏[结算更新]",
  9991. "type": "number"
  9992. },
  9993. "futureqty": {
  9994. "description": "期货持仓数量",
  9995. "type": "number"
  9996. },
  9997. "futurequote": {
  9998. "description": "期货额度",
  9999. "type": "number"
  10000. },
  10001. "goodsgroupid": {
  10002. "description": "期货品种ID",
  10003. "type": "integer"
  10004. },
  10005. "marketid": {
  10006. "description": "市场ID",
  10007. "type": "integer"
  10008. },
  10009. "netexposure": {
  10010. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10011. "type": "number"
  10012. },
  10013. "netexposurepl": {
  10014. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10015. "type": "number"
  10016. },
  10017. "netexposurerate": {
  10018. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10019. "type": "number"
  10020. },
  10021. "openbasis": {
  10022. "description": "建仓基差",
  10023. "type": "number"
  10024. },
  10025. "pricedspotqty": {
  10026. "description": "已定价现货数量",
  10027. "type": "number"
  10028. },
  10029. "pricedspotqtynotax": {
  10030. "description": "已定价现货不含税数量",
  10031. "type": "number"
  10032. },
  10033. "remark": {
  10034. "description": "备注",
  10035. "type": "string"
  10036. },
  10037. "spotavgprice": {
  10038. "description": "现货均价",
  10039. "type": "number"
  10040. },
  10041. "spotbuyamount": {
  10042. "description": "现货采购金额",
  10043. "type": "number"
  10044. },
  10045. "spotbuyqty": {
  10046. "description": "现货采购数量",
  10047. "type": "number"
  10048. },
  10049. "spotpl": {
  10050. "description": "现货总盈亏[结算更新]",
  10051. "type": "number"
  10052. },
  10053. "spotquota": {
  10054. "description": "现货额度",
  10055. "type": "number"
  10056. },
  10057. "spotsellamount": {
  10058. "description": "现货销售金额",
  10059. "type": "number"
  10060. },
  10061. "spotsellqty": {
  10062. "description": "现货销售数量",
  10063. "type": "number"
  10064. },
  10065. "spotusedquota": {
  10066. "description": "现货占用资金",
  10067. "type": "number"
  10068. },
  10069. "strategystatus": {
  10070. "description": "策略状态 - 0:未结束 1:已结束",
  10071. "type": "integer"
  10072. },
  10073. "totalpl": {
  10074. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10075. "type": "number"
  10076. },
  10077. "tradedate": {
  10078. "description": "交易日(yyyyMMdd)",
  10079. "type": "string"
  10080. },
  10081. "updatetime": {
  10082. "description": "更新时间",
  10083. "type": "string"
  10084. },
  10085. "usedquota": {
  10086. "description": "已占用资金",
  10087. "type": "number"
  10088. },
  10089. "userid": {
  10090. "description": "所属机构",
  10091. "type": "integer"
  10092. }
  10093. }
  10094. },
  10095. "erms2.QueryInnerTradeDetailRsp": {
  10096. "type": "object",
  10097. "required": [
  10098. "asapplyid",
  10099. "buyorsell",
  10100. "goodscode",
  10101. "goodsgroupid",
  10102. "goodsgroupname",
  10103. "goodsname",
  10104. "tradeid"
  10105. ],
  10106. "properties": {
  10107. "accountid": {
  10108. "description": "账号ID",
  10109. "type": "integer"
  10110. },
  10111. "agreeunit": {
  10112. "description": "合约单位",
  10113. "type": "number"
  10114. },
  10115. "asapplyid": {
  10116. "description": "策略申请ID",
  10117. "type": "integer"
  10118. },
  10119. "asname": {
  10120. "description": "策略名称",
  10121. "type": "string"
  10122. },
  10123. "asno": {
  10124. "description": "策略编号",
  10125. "type": "string"
  10126. },
  10127. "buyorsell": {
  10128. "description": "方向 - 0:买 1:卖",
  10129. "type": "integer"
  10130. },
  10131. "channelbuildtype": {
  10132. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10133. "type": "integer"
  10134. },
  10135. "closetype": {
  10136. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10137. "type": "integer"
  10138. },
  10139. "decimalplace": {
  10140. "description": "报价小数位",
  10141. "type": "integer"
  10142. },
  10143. "detailtype": {
  10144. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10145. "type": "integer"
  10146. },
  10147. "exexchangecode": {
  10148. "description": "外部交易所代码",
  10149. "type": "string"
  10150. },
  10151. "exexchangename": {
  10152. "description": "外部交易所名称",
  10153. "type": "string"
  10154. },
  10155. "goodscode": {
  10156. "description": "商品代码(合约)",
  10157. "type": "string"
  10158. },
  10159. "goodsgroupid": {
  10160. "description": "商品组ID(品种ID)",
  10161. "type": "integer"
  10162. },
  10163. "goodsgroupname": {
  10164. "description": "商品组名称(品种)",
  10165. "type": "string"
  10166. },
  10167. "goodsid": {
  10168. "description": "商品ID",
  10169. "type": "integer"
  10170. },
  10171. "goodsname": {
  10172. "description": "商品名称(合约)",
  10173. "type": "string"
  10174. },
  10175. "goodunit": {
  10176. "description": "报价单位",
  10177. "type": "string"
  10178. },
  10179. "marketid": {
  10180. "description": "市场ID",
  10181. "type": "integer"
  10182. },
  10183. "orderid": {
  10184. "description": "委托单号",
  10185. "type": "string"
  10186. },
  10187. "outgoodscode": {
  10188. "description": "商品代码(外部)",
  10189. "type": "string"
  10190. },
  10191. "relatedouttradeid": {
  10192. "description": "关联外部成交单ID",
  10193. "type": "string"
  10194. },
  10195. "remark": {
  10196. "description": "备注",
  10197. "type": "string"
  10198. },
  10199. "spotcontractid": {
  10200. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10201. "type": "integer"
  10202. },
  10203. "spotcontractno": {
  10204. "description": "现货合同编号",
  10205. "type": "string"
  10206. },
  10207. "tradeid": {
  10208. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10209. "type": "string"
  10210. },
  10211. "tradeprice": {
  10212. "description": "成交价格",
  10213. "type": "number"
  10214. },
  10215. "tradeqty": {
  10216. "description": "成交数量",
  10217. "type": "integer"
  10218. },
  10219. "tradetime": {
  10220. "description": "成交时间",
  10221. "type": "string"
  10222. },
  10223. "updatetime": {
  10224. "description": "更新时间",
  10225. "type": "string"
  10226. }
  10227. }
  10228. },
  10229. "erms2.QuerySpotContractRsp": {
  10230. "type": "object",
  10231. "required": [
  10232. "spotcontractid"
  10233. ],
  10234. "properties": {
  10235. "accountid": {
  10236. "description": "资金账户ID",
  10237. "type": "integer"
  10238. },
  10239. "areauserid": {
  10240. "description": "所属机构",
  10241. "type": "integer"
  10242. },
  10243. "closedate": {
  10244. "description": "终止日期",
  10245. "type": "string"
  10246. },
  10247. "closeremark": {
  10248. "description": "结束备注",
  10249. "type": "string"
  10250. },
  10251. "closetradedate": {
  10252. "description": "完结交易日(yyyyMMdd)",
  10253. "type": "string"
  10254. },
  10255. "closetype": {
  10256. "description": "终止类型 - 1:违约 2:提前终止",
  10257. "type": "integer"
  10258. },
  10259. "contractamount": {
  10260. "description": "合同金额",
  10261. "type": "number"
  10262. },
  10263. "contractattachment": {
  10264. "description": "合同附件",
  10265. "type": "string"
  10266. },
  10267. "contractno": {
  10268. "description": "现货合同编号",
  10269. "type": "string"
  10270. },
  10271. "contractqty": {
  10272. "description": "合同数量(数值) (用于计算)",
  10273. "type": "number"
  10274. },
  10275. "contractqtychar": {
  10276. "description": "合同数量\\已订价数量 (用于显示)",
  10277. "type": "string"
  10278. },
  10279. "contractstatus": {
  10280. "description": "合同状态 - 0:未结束 1:已结束",
  10281. "type": "integer"
  10282. },
  10283. "contracttype": {
  10284. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10285. "type": "integer"
  10286. },
  10287. "customeraccountid": {
  10288. "description": "客户资金账户ID",
  10289. "type": "integer"
  10290. },
  10291. "customeruserid": {
  10292. "description": "客户ID",
  10293. "type": "integer"
  10294. },
  10295. "deliverygoodsdesc": {
  10296. "description": "品种说明",
  10297. "type": "string"
  10298. },
  10299. "deliverygoodsid": {
  10300. "description": "现货品种ID",
  10301. "type": "integer"
  10302. },
  10303. "handlestatus": {
  10304. "description": "处理状态",
  10305. "type": "integer"
  10306. },
  10307. "invoiceatt": {
  10308. "description": "发票附件",
  10309. "type": "string"
  10310. },
  10311. "invoicedatetime": {
  10312. "description": "开收票更新时间",
  10313. "type": "string"
  10314. },
  10315. "invoiceopentime": {
  10316. "description": "开票时间",
  10317. "type": "string"
  10318. },
  10319. "invoiceremark": {
  10320. "description": "发票备注",
  10321. "type": "string"
  10322. },
  10323. "invoicestatus": {
  10324. "description": "开收票状态 - 0:未开票 1:已开票",
  10325. "type": "integer"
  10326. },
  10327. "lastdate": {
  10328. "description": "交货时间",
  10329. "type": "string"
  10330. },
  10331. "marketid": {
  10332. "description": "市场ID",
  10333. "type": "integer"
  10334. },
  10335. "paydatetime": {
  10336. "description": "收付款更新时间",
  10337. "type": "string"
  10338. },
  10339. "payremark": {
  10340. "description": "收付款备注",
  10341. "type": "string"
  10342. },
  10343. "paystatus": {
  10344. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10345. "type": "integer"
  10346. },
  10347. "positionqty": {
  10348. "description": "头寸数量 - 合同数量去小数部分",
  10349. "type": "integer"
  10350. },
  10351. "producttype": {
  10352. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10353. "type": "integer"
  10354. },
  10355. "relatedqty": {
  10356. "description": "已关联数量",
  10357. "type": "number"
  10358. },
  10359. "relatedstatus": {
  10360. "description": "关联完结状态 - 0:未结束 1:已结束",
  10361. "type": "integer"
  10362. },
  10363. "remark": {
  10364. "description": "备注",
  10365. "type": "string"
  10366. },
  10367. "signdate": {
  10368. "description": "签订日期",
  10369. "type": "string"
  10370. },
  10371. "spotcontractid": {
  10372. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10373. "type": "string"
  10374. },
  10375. "spotdatetime": {
  10376. "description": "收发货更新时间",
  10377. "type": "string"
  10378. },
  10379. "spotprice": {
  10380. "description": "价格",
  10381. "type": "number"
  10382. },
  10383. "spotremark": {
  10384. "description": "收发货备注",
  10385. "type": "string"
  10386. },
  10387. "spotstatus": {
  10388. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10389. "type": "integer"
  10390. },
  10391. "tradedate": {
  10392. "description": "交易日(yyyyMMdd)",
  10393. "type": "string"
  10394. },
  10395. "userid": {
  10396. "description": "业务员用户ID",
  10397. "type": "integer"
  10398. },
  10399. "warehouseid": {
  10400. "description": "仓库ID",
  10401. "type": "integer"
  10402. },
  10403. "wrfactortypeid": {
  10404. "description": "仓单要素类型ID",
  10405. "type": "integer"
  10406. },
  10407. "wrstandardid": {
  10408. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10409. "type": "integer"
  10410. }
  10411. }
  10412. },
  10413. "erms3.AddErms2ASApplyReq": {
  10414. "type": "object",
  10415. "required": [
  10416. "asapplyid"
  10417. ],
  10418. "properties": {
  10419. "applybasis": {
  10420. "description": "申请基差",
  10421. "type": "number"
  10422. },
  10423. "applystatus": {
  10424. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10425. "type": "integer"
  10426. },
  10427. "asapplyid": {
  10428. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10429. "type": "integer"
  10430. },
  10431. "asname": {
  10432. "description": "策略名称",
  10433. "type": "string"
  10434. },
  10435. "asno": {
  10436. "description": "策略编号",
  10437. "type": "string"
  10438. },
  10439. "auditid": {
  10440. "description": "审核人",
  10441. "type": "integer"
  10442. },
  10443. "auditremark": {
  10444. "description": "审核备注",
  10445. "type": "string"
  10446. },
  10447. "audittime": {
  10448. "description": "审核时间",
  10449. "type": "string"
  10450. },
  10451. "biztype": {
  10452. "description": "业务类型 - 1:正向套利 2:反向套利",
  10453. "type": "integer"
  10454. },
  10455. "createtime": {
  10456. "description": "创建时间",
  10457. "type": "string"
  10458. },
  10459. "creatorid": {
  10460. "description": "创建人",
  10461. "type": "integer"
  10462. },
  10463. "deliverygoodsid": {
  10464. "description": "现货品种ID",
  10465. "type": "integer"
  10466. },
  10467. "futurequote": {
  10468. "description": "期货额度",
  10469. "type": "number"
  10470. },
  10471. "goodsgroupid": {
  10472. "description": "期货品种ID",
  10473. "type": "integer"
  10474. },
  10475. "marketid": {
  10476. "description": "市场ID",
  10477. "type": "integer"
  10478. },
  10479. "remark": {
  10480. "description": "备注",
  10481. "type": "string"
  10482. },
  10483. "spotquota": {
  10484. "description": "现货额度",
  10485. "type": "number"
  10486. },
  10487. "tradedate": {
  10488. "description": "交易日(yyyyMMdd)",
  10489. "type": "string"
  10490. },
  10491. "userid": {
  10492. "description": "所属机构",
  10493. "type": "integer"
  10494. }
  10495. }
  10496. },
  10497. "erms3.AddErms2SpotTradeApplyReq": {
  10498. "type": "object",
  10499. "required": [
  10500. "spottradeid"
  10501. ],
  10502. "properties": {
  10503. "applyjsondetail": {
  10504. "description": "申请明细(JSON)",
  10505. "type": "string"
  10506. },
  10507. "applystatus": {
  10508. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10509. "type": "integer"
  10510. },
  10511. "areauserid": {
  10512. "description": "所属机构",
  10513. "type": "integer"
  10514. },
  10515. "auditid": {
  10516. "description": "审核人",
  10517. "type": "integer"
  10518. },
  10519. "auditremark": {
  10520. "description": "审核备注",
  10521. "type": "string"
  10522. },
  10523. "audittime": {
  10524. "description": "审核时间",
  10525. "type": "string"
  10526. },
  10527. "createtime": {
  10528. "description": "创建时间",
  10529. "type": "string"
  10530. },
  10531. "creatorid": {
  10532. "description": "创建人",
  10533. "type": "integer"
  10534. },
  10535. "deliverygoodsid": {
  10536. "description": "现货品种ID",
  10537. "type": "integer"
  10538. },
  10539. "futureaccountid": {
  10540. "description": "期货资金账户",
  10541. "type": "integer"
  10542. },
  10543. "goodsgroupid": {
  10544. "description": "期货品种",
  10545. "type": "integer"
  10546. },
  10547. "marketid": {
  10548. "description": "市场ID",
  10549. "type": "integer"
  10550. },
  10551. "remark": {
  10552. "description": "备注",
  10553. "type": "string"
  10554. },
  10555. "spotaccountid": {
  10556. "description": "现货资金账户",
  10557. "type": "integer"
  10558. },
  10559. "spottradeid": {
  10560. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10561. "type": "integer"
  10562. },
  10563. "spottradename": {
  10564. "description": "业务名称",
  10565. "type": "string"
  10566. },
  10567. "spottradeno": {
  10568. "description": "业务编号",
  10569. "type": "string"
  10570. },
  10571. "tradedate": {
  10572. "description": "交易日(yyyyMMdd)",
  10573. "type": "string"
  10574. },
  10575. "wrstandardid": {
  10576. "description": "仓单标准ID",
  10577. "type": "integer"
  10578. }
  10579. }
  10580. },
  10581. "erms3.AddSpotContractApplyReq": {
  10582. "type": "object",
  10583. "required": [
  10584. "accountid",
  10585. "areauserid",
  10586. "contractno",
  10587. "contracttype",
  10588. "customeraccountid",
  10589. "customeruserid",
  10590. "details",
  10591. "orimargin",
  10592. "signdate"
  10593. ],
  10594. "properties": {
  10595. "accountid": {
  10596. "description": "资金账户ID",
  10597. "type": "integer"
  10598. },
  10599. "areauserid": {
  10600. "description": "所属机构",
  10601. "type": "integer"
  10602. },
  10603. "contractattachment": {
  10604. "description": "合同附件",
  10605. "type": "string"
  10606. },
  10607. "contractno": {
  10608. "description": "现货合同编号",
  10609. "type": "string"
  10610. },
  10611. "contracttype": {
  10612. "description": "现货合同类型 - 1:采购 -1:销售",
  10613. "type": "integer"
  10614. },
  10615. "creatorid": {
  10616. "description": "申请人",
  10617. "type": "integer"
  10618. },
  10619. "customeraccountid": {
  10620. "description": "客户资金账户ID",
  10621. "type": "integer"
  10622. },
  10623. "customeruserid": {
  10624. "description": "客户ID",
  10625. "type": "integer"
  10626. },
  10627. "details": {
  10628. "description": "明细",
  10629. "type": "array",
  10630. "items": {
  10631. "$ref": "#/definitions/erms3.SoptContractDetail"
  10632. }
  10633. },
  10634. "orimargin": {
  10635. "description": "初始保证金",
  10636. "type": "number"
  10637. },
  10638. "remark": {
  10639. "description": "备注",
  10640. "type": "string"
  10641. },
  10642. "signdate": {
  10643. "description": "签订日期",
  10644. "type": "string"
  10645. }
  10646. }
  10647. },
  10648. "erms3.AddSpotContractApplyRsp": {
  10649. "type": "object",
  10650. "required": [
  10651. "contractno"
  10652. ],
  10653. "properties": {
  10654. "contractno": {
  10655. "description": "现货合同编号",
  10656. "type": "string"
  10657. },
  10658. "spotcontractid": {
  10659. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10660. "type": "integer"
  10661. }
  10662. }
  10663. },
  10664. "erms3.AddUserInfoApplyReq": {
  10665. "type": "object",
  10666. "required": [
  10667. "userid"
  10668. ],
  10669. "properties": {
  10670. "accountid": {
  10671. "description": "交易系统帐号Id (加密存储)",
  10672. "type": "integer"
  10673. },
  10674. "areacode": {
  10675. "description": "机构代码",
  10676. "type": "string"
  10677. },
  10678. "areaid": {
  10679. "description": "机构Id",
  10680. "type": "integer"
  10681. },
  10682. "attachment1": {
  10683. "description": "附件1",
  10684. "type": "string"
  10685. },
  10686. "attachment2": {
  10687. "description": "附件2",
  10688. "type": "string"
  10689. },
  10690. "attachment3": {
  10691. "description": "附件3",
  10692. "type": "string"
  10693. },
  10694. "attachment4": {
  10695. "description": "附件4",
  10696. "type": "string"
  10697. },
  10698. "attachment5": {
  10699. "description": "附件5",
  10700. "type": "string"
  10701. },
  10702. "auditedby": {
  10703. "description": "审核人",
  10704. "type": "string"
  10705. },
  10706. "auditime": {
  10707. "description": "审核时间",
  10708. "type": "string"
  10709. },
  10710. "bankaccount": {
  10711. "description": "银行帐号 (加密存储)",
  10712. "type": "string"
  10713. },
  10714. "bankaccountname": {
  10715. "description": "收款人名称",
  10716. "type": "string"
  10717. },
  10718. "bankcardbackphotourl": {
  10719. "description": "银行卡背面照地址",
  10720. "type": "string"
  10721. },
  10722. "bankcardfrontphotourl": {
  10723. "description": "银行卡正面照地址",
  10724. "type": "string"
  10725. },
  10726. "bankid": {
  10727. "description": "银行编码",
  10728. "type": "string"
  10729. },
  10730. "bankname": {
  10731. "description": "银行名称",
  10732. "type": "string"
  10733. },
  10734. "bankpictureurl": {
  10735. "description": "银行卡正面地址",
  10736. "type": "string"
  10737. },
  10738. "biznature": {
  10739. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10740. "type": "integer"
  10741. },
  10742. "bizscope": {
  10743. "description": "企业经营范围(企业)",
  10744. "type": "string"
  10745. },
  10746. "biztype": {
  10747. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10748. "type": "integer"
  10749. },
  10750. "brokerid": {
  10751. "description": "经纪人ID(加密存储)",
  10752. "type": "string"
  10753. },
  10754. "cardaddress": {
  10755. "description": "证件地址 (加密存储)",
  10756. "type": "string"
  10757. },
  10758. "cardbackphotourl": {
  10759. "description": "背面证件照地址",
  10760. "type": "string"
  10761. },
  10762. "cardfrontphotourl": {
  10763. "description": "正面证件照地址",
  10764. "type": "string"
  10765. },
  10766. "cardnum": {
  10767. "description": "证件号码 (加密存储)",
  10768. "type": "string"
  10769. },
  10770. "cardtype": {
  10771. "description": "证件类型",
  10772. "type": "integer"
  10773. },
  10774. "cityid": {
  10775. "description": "市",
  10776. "type": "integer"
  10777. },
  10778. "company": {
  10779. "description": "公司(个人)",
  10780. "type": "string"
  10781. },
  10782. "contactcardbackphotourl": {
  10783. "description": "联系人证件背面图片地址",
  10784. "type": "string"
  10785. },
  10786. "contactcardfrontphotourl": {
  10787. "description": "联系人证件正面图片地址",
  10788. "type": "string"
  10789. },
  10790. "contactname": {
  10791. "description": "联系人",
  10792. "type": "string"
  10793. },
  10794. "countryid": {
  10795. "description": "国家",
  10796. "type": "integer"
  10797. },
  10798. "createtime": {
  10799. "description": "开户申请时间",
  10800. "type": "string"
  10801. },
  10802. "cusbankid": {
  10803. "description": "签约类型",
  10804. "type": "string"
  10805. },
  10806. "cusbankname": {
  10807. "description": "签约类型名称",
  10808. "type": "string"
  10809. },
  10810. "customername": {
  10811. "description": "客户名称(企业名称)",
  10812. "type": "string"
  10813. },
  10814. "districtid": {
  10815. "description": "地区",
  10816. "type": "integer"
  10817. },
  10818. "email": {
  10819. "description": "Email地址(加密存储)",
  10820. "type": "string"
  10821. },
  10822. "halfbodyphotourl": {
  10823. "description": "半身照地址",
  10824. "type": "string"
  10825. },
  10826. "headurl": {
  10827. "description": "头像地址",
  10828. "type": "string"
  10829. },
  10830. "ipaddress": {
  10831. "description": "IP地址",
  10832. "type": "string"
  10833. },
  10834. "isvalidate": {
  10835. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10836. "type": "string"
  10837. },
  10838. "legalcardbackphotourl": {
  10839. "description": "法人身份证背面照地址",
  10840. "type": "string"
  10841. },
  10842. "legalcardfrontphotourl": {
  10843. "description": "法人身份证正面照地址",
  10844. "type": "string"
  10845. },
  10846. "legalpersonname": {
  10847. "description": "法人姓名(企业)",
  10848. "type": "string"
  10849. },
  10850. "logincode": {
  10851. "description": "登录帐号 (加密存储)",
  10852. "type": "string"
  10853. },
  10854. "memberareaid": {
  10855. "description": "所属会员ID",
  10856. "type": "integer"
  10857. },
  10858. "mobile2": {
  10859. "description": "手机号码[明文-尚志]",
  10860. "type": "string"
  10861. },
  10862. "mobilephone": {
  10863. "description": "手机号码 (加密存储)",
  10864. "type": "string"
  10865. },
  10866. "modifiedby": {
  10867. "description": "修改人帐号",
  10868. "type": "integer"
  10869. },
  10870. "modifiedtime": {
  10871. "description": "修改时间",
  10872. "type": "string"
  10873. },
  10874. "nickname": {
  10875. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10876. "type": "string"
  10877. },
  10878. "openmode": {
  10879. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10880. "type": "integer"
  10881. },
  10882. "otherurl": {
  10883. "description": "其它图片地址[使用分号分隔]",
  10884. "type": "string"
  10885. },
  10886. "postalcode": {
  10887. "description": "邮政编码",
  10888. "type": "string"
  10889. },
  10890. "provinceid": {
  10891. "description": "省",
  10892. "type": "integer"
  10893. },
  10894. "proxystatementurl": {
  10895. "description": "授权委托书",
  10896. "type": "string"
  10897. },
  10898. "qq": {
  10899. "description": "QQ(加密存储",
  10900. "type": "string"
  10901. },
  10902. "referral": {
  10903. "description": "推荐人编码",
  10904. "type": "string"
  10905. },
  10906. "remark": {
  10907. "description": "备注",
  10908. "type": "string"
  10909. },
  10910. "removebeforestatus": {
  10911. "description": "REMOVEBEFORESTATUS",
  10912. "type": "integer"
  10913. },
  10914. "sex": {
  10915. "description": "性别 - 0:女 1:男",
  10916. "type": "integer"
  10917. },
  10918. "signedstatus": {
  10919. "description": "账户一号签签约状态",
  10920. "type": "integer"
  10921. },
  10922. "signpdfurl": {
  10923. "description": "签约pdf文件",
  10924. "type": "string"
  10925. },
  10926. "subbranch": {
  10927. "description": "开户支行",
  10928. "type": "string"
  10929. },
  10930. "telphone": {
  10931. "description": "联系电话(加密存储)",
  10932. "type": "string"
  10933. },
  10934. "userid": {
  10935. "description": "用户ID(自增ID)",
  10936. "type": "integer"
  10937. },
  10938. "userinfotype": {
  10939. "description": "用户信息类型 - 1:个人 2:企业",
  10940. "type": "integer"
  10941. },
  10942. "username": {
  10943. "description": "用户姓名",
  10944. "type": "string"
  10945. },
  10946. "userstate": {
  10947. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10948. "type": "integer"
  10949. },
  10950. "usertype": {
  10951. "description": "用户类型 - 1:投资者 2:机构",
  10952. "type": "integer"
  10953. },
  10954. "videourl": {
  10955. "description": "视频地址",
  10956. "type": "string"
  10957. },
  10958. "wechat": {
  10959. "description": "微信号 (加密存储)",
  10960. "type": "string"
  10961. }
  10962. }
  10963. },
  10964. "erms3.CustomerInfo": {
  10965. "type": "object",
  10966. "required": [
  10967. "userid"
  10968. ],
  10969. "properties": {
  10970. "accountids": {
  10971. "description": "资金账户ID列表",
  10972. "type": "array",
  10973. "items": {
  10974. "type": "integer"
  10975. }
  10976. },
  10977. "customername": {
  10978. "description": "名称(企业名称)",
  10979. "type": "string"
  10980. },
  10981. "mobile": {
  10982. "description": "手机号码",
  10983. "type": "string"
  10984. },
  10985. "userid": {
  10986. "description": "用户ID",
  10987. "type": "integer"
  10988. }
  10989. }
  10990. },
  10991. "erms3.ModifyUserInfoApplyReq": {
  10992. "type": "object",
  10993. "required": [
  10994. "userid"
  10995. ],
  10996. "properties": {
  10997. "accountid": {
  10998. "description": "交易系统帐号Id (加密存储)",
  10999. "type": "integer"
  11000. },
  11001. "areacode": {
  11002. "description": "机构代码",
  11003. "type": "string"
  11004. },
  11005. "areaid": {
  11006. "description": "机构Id",
  11007. "type": "integer"
  11008. },
  11009. "attachment1": {
  11010. "description": "附件1",
  11011. "type": "string"
  11012. },
  11013. "attachment2": {
  11014. "description": "附件2",
  11015. "type": "string"
  11016. },
  11017. "attachment3": {
  11018. "description": "附件3",
  11019. "type": "string"
  11020. },
  11021. "attachment4": {
  11022. "description": "附件4",
  11023. "type": "string"
  11024. },
  11025. "attachment5": {
  11026. "description": "附件5",
  11027. "type": "string"
  11028. },
  11029. "auditedby": {
  11030. "description": "审核人",
  11031. "type": "string"
  11032. },
  11033. "auditime": {
  11034. "description": "审核时间",
  11035. "type": "string"
  11036. },
  11037. "bankaccount": {
  11038. "description": "银行帐号 (加密存储)",
  11039. "type": "string"
  11040. },
  11041. "bankaccountname": {
  11042. "description": "收款人名称",
  11043. "type": "string"
  11044. },
  11045. "bankcardbackphotourl": {
  11046. "description": "银行卡背面照地址",
  11047. "type": "string"
  11048. },
  11049. "bankcardfrontphotourl": {
  11050. "description": "银行卡正面照地址",
  11051. "type": "string"
  11052. },
  11053. "bankid": {
  11054. "description": "银行编码",
  11055. "type": "string"
  11056. },
  11057. "bankname": {
  11058. "description": "银行名称",
  11059. "type": "string"
  11060. },
  11061. "bankpictureurl": {
  11062. "description": "银行卡正面地址",
  11063. "type": "string"
  11064. },
  11065. "biznature": {
  11066. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11067. "type": "integer"
  11068. },
  11069. "bizscope": {
  11070. "description": "企业经营范围(企业)",
  11071. "type": "string"
  11072. },
  11073. "biztype": {
  11074. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11075. "type": "integer"
  11076. },
  11077. "brokerid": {
  11078. "description": "经纪人ID(加密存储)",
  11079. "type": "string"
  11080. },
  11081. "cardaddress": {
  11082. "description": "证件地址 (加密存储)",
  11083. "type": "string"
  11084. },
  11085. "cardbackphotourl": {
  11086. "description": "背面证件照地址",
  11087. "type": "string"
  11088. },
  11089. "cardfrontphotourl": {
  11090. "description": "正面证件照地址",
  11091. "type": "string"
  11092. },
  11093. "cardnum": {
  11094. "description": "证件号码 (加密存储)",
  11095. "type": "string"
  11096. },
  11097. "cardtype": {
  11098. "description": "证件类型",
  11099. "type": "integer"
  11100. },
  11101. "cityid": {
  11102. "description": "市",
  11103. "type": "integer"
  11104. },
  11105. "company": {
  11106. "description": "公司(个人)",
  11107. "type": "string"
  11108. },
  11109. "contactcardbackphotourl": {
  11110. "description": "联系人证件背面图片地址",
  11111. "type": "string"
  11112. },
  11113. "contactcardfrontphotourl": {
  11114. "description": "联系人证件正面图片地址",
  11115. "type": "string"
  11116. },
  11117. "contactname": {
  11118. "description": "联系人",
  11119. "type": "string"
  11120. },
  11121. "countryid": {
  11122. "description": "国家",
  11123. "type": "integer"
  11124. },
  11125. "createtime": {
  11126. "description": "开户申请时间",
  11127. "type": "string"
  11128. },
  11129. "cusbankid": {
  11130. "description": "签约类型",
  11131. "type": "string"
  11132. },
  11133. "cusbankname": {
  11134. "description": "签约类型名称",
  11135. "type": "string"
  11136. },
  11137. "customername": {
  11138. "description": "客户名称(企业名称)",
  11139. "type": "string"
  11140. },
  11141. "districtid": {
  11142. "description": "地区",
  11143. "type": "integer"
  11144. },
  11145. "email": {
  11146. "description": "Email地址(加密存储)",
  11147. "type": "string"
  11148. },
  11149. "halfbodyphotourl": {
  11150. "description": "半身照地址",
  11151. "type": "string"
  11152. },
  11153. "headurl": {
  11154. "description": "头像地址",
  11155. "type": "string"
  11156. },
  11157. "ipaddress": {
  11158. "description": "IP地址",
  11159. "type": "string"
  11160. },
  11161. "isvalidate": {
  11162. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11163. "type": "string"
  11164. },
  11165. "legalcardbackphotourl": {
  11166. "description": "法人身份证背面照地址",
  11167. "type": "string"
  11168. },
  11169. "legalcardfrontphotourl": {
  11170. "description": "法人身份证正面照地址",
  11171. "type": "string"
  11172. },
  11173. "legalpersonname": {
  11174. "description": "法人姓名(企业)",
  11175. "type": "string"
  11176. },
  11177. "logincode": {
  11178. "description": "登录帐号 (加密存储)",
  11179. "type": "string"
  11180. },
  11181. "memberareaid": {
  11182. "description": "所属会员ID",
  11183. "type": "integer"
  11184. },
  11185. "mobile2": {
  11186. "description": "手机号码[明文-尚志]",
  11187. "type": "string"
  11188. },
  11189. "mobilephone": {
  11190. "description": "手机号码 (加密存储)",
  11191. "type": "string"
  11192. },
  11193. "modifiedby": {
  11194. "description": "修改人帐号",
  11195. "type": "integer"
  11196. },
  11197. "modifiedtime": {
  11198. "description": "修改时间",
  11199. "type": "string"
  11200. },
  11201. "nickname": {
  11202. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11203. "type": "string"
  11204. },
  11205. "openmode": {
  11206. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11207. "type": "integer"
  11208. },
  11209. "otherurl": {
  11210. "description": "其它图片地址[使用分号分隔]",
  11211. "type": "string"
  11212. },
  11213. "postalcode": {
  11214. "description": "邮政编码",
  11215. "type": "string"
  11216. },
  11217. "provinceid": {
  11218. "description": "省",
  11219. "type": "integer"
  11220. },
  11221. "proxystatementurl": {
  11222. "description": "授权委托书",
  11223. "type": "string"
  11224. },
  11225. "qq": {
  11226. "description": "QQ(加密存储",
  11227. "type": "string"
  11228. },
  11229. "referral": {
  11230. "description": "推荐人编码",
  11231. "type": "string"
  11232. },
  11233. "remark": {
  11234. "description": "备注",
  11235. "type": "string"
  11236. },
  11237. "removebeforestatus": {
  11238. "description": "REMOVEBEFORESTATUS",
  11239. "type": "integer"
  11240. },
  11241. "sex": {
  11242. "description": "性别 - 0:女 1:男",
  11243. "type": "integer"
  11244. },
  11245. "signedstatus": {
  11246. "description": "账户一号签签约状态",
  11247. "type": "integer"
  11248. },
  11249. "signpdfurl": {
  11250. "description": "签约pdf文件",
  11251. "type": "string"
  11252. },
  11253. "subbranch": {
  11254. "description": "开户支行",
  11255. "type": "string"
  11256. },
  11257. "telphone": {
  11258. "description": "联系电话(加密存储)",
  11259. "type": "string"
  11260. },
  11261. "userid": {
  11262. "description": "用户ID(自增ID)",
  11263. "type": "integer"
  11264. },
  11265. "userinfotype": {
  11266. "description": "用户信息类型 - 1:个人 2:企业",
  11267. "type": "integer"
  11268. },
  11269. "username": {
  11270. "description": "用户姓名",
  11271. "type": "string"
  11272. },
  11273. "userstate": {
  11274. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11275. "type": "integer"
  11276. },
  11277. "usertype": {
  11278. "description": "用户类型 - 1:投资者 2:机构",
  11279. "type": "integer"
  11280. },
  11281. "videourl": {
  11282. "description": "视频地址",
  11283. "type": "string"
  11284. },
  11285. "wechat": {
  11286. "description": "微信号 (加密存储)",
  11287. "type": "string"
  11288. }
  11289. }
  11290. },
  11291. "erms3.QryAuditContractRsp": {
  11292. "type": "object",
  11293. "required": [
  11294. "matchcustomername",
  11295. "spotcontractid"
  11296. ],
  11297. "properties": {
  11298. "accountid": {
  11299. "description": "交易员ID",
  11300. "type": "string"
  11301. },
  11302. "applystatus": {
  11303. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11304. "type": "integer"
  11305. },
  11306. "curdeliveryqty": {
  11307. "description": "未交收量",
  11308. "type": "integer"
  11309. },
  11310. "customername": {
  11311. "description": "采购方ID",
  11312. "type": "string"
  11313. },
  11314. "deliverygoodsid": {
  11315. "description": "品种ID",
  11316. "type": "string"
  11317. },
  11318. "deliveryqty": {
  11319. "description": "交收量",
  11320. "type": "integer"
  11321. },
  11322. "enumdicname": {
  11323. "description": "单位名称",
  11324. "type": "string"
  11325. },
  11326. "matchaccountid": {
  11327. "description": "业务员ID",
  11328. "type": "string"
  11329. },
  11330. "matchcustomername": {
  11331. "description": "销售方ID",
  11332. "type": "string"
  11333. },
  11334. "pricedqty": {
  11335. "description": "定价量",
  11336. "type": "number"
  11337. },
  11338. "signdate": {
  11339. "description": "签订日期",
  11340. "type": "string"
  11341. },
  11342. "spotcontractid": {
  11343. "description": "合同ID",
  11344. "type": "string"
  11345. },
  11346. "totaldqty": {
  11347. "description": "合同量",
  11348. "type": "number"
  11349. },
  11350. "unpricedqty": {
  11351. "description": "未定价量",
  11352. "type": "number"
  11353. },
  11354. "wrstandardname": {
  11355. "description": "商品名称",
  11356. "type": "string"
  11357. }
  11358. }
  11359. },
  11360. "erms3.QryPendingBizRsp": {
  11361. "type": "object",
  11362. "properties": {
  11363. "accountid": {
  11364. "description": "现货账户",
  11365. "type": "string"
  11366. },
  11367. "areaname": {
  11368. "description": "所属部门",
  11369. "type": "string"
  11370. },
  11371. "bizid": {
  11372. "description": "业务ID",
  11373. "type": "string"
  11374. },
  11375. "bizname": {
  11376. "description": "业务名称",
  11377. "type": "string"
  11378. },
  11379. "status": {
  11380. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11381. "type": "integer"
  11382. },
  11383. "type": {
  11384. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11385. "type": "integer"
  11386. }
  11387. }
  11388. },
  11389. "erms3.QueryBusinessInfoRsp": {
  11390. "type": "object",
  11391. "properties": {
  11392. "businessid": {
  11393. "description": "业务ID.",
  11394. "type": "integer"
  11395. },
  11396. "buyamount": {
  11397. "description": "采购额.",
  11398. "type": "number"
  11399. },
  11400. "buyqty": {
  11401. "description": "采购量.",
  11402. "type": "string"
  11403. },
  11404. "futurepl": {
  11405. "description": "期货盈亏.",
  11406. "type": "number"
  11407. },
  11408. "futureqty": {
  11409. "description": "期货敞口.",
  11410. "type": "string"
  11411. },
  11412. "goodsid": {
  11413. "description": "商品名称/商品代码.",
  11414. "type": "string"
  11415. },
  11416. "hedgingqty": {
  11417. "description": "套保量.",
  11418. "type": "string"
  11419. },
  11420. "sellamount": {
  11421. "description": "销售额.",
  11422. "type": "number"
  11423. },
  11424. "sellqty": {
  11425. "description": "销售量.",
  11426. "type": "string"
  11427. },
  11428. "spotmarketvalue": {
  11429. "description": "现货市值.",
  11430. "type": "number"
  11431. },
  11432. "spotpl": {
  11433. "description": "浮动权益.",
  11434. "type": "number"
  11435. },
  11436. "spotqty": {
  11437. "description": "现货量.",
  11438. "type": "string"
  11439. },
  11440. "statu": {
  11441. "description": "状态,0-未结束 1-已结束.",
  11442. "type": "integer"
  11443. },
  11444. "totalpl": {
  11445. "description": "总盈亏.",
  11446. "type": "number"
  11447. },
  11448. "totalqty": {
  11449. "description": "总敞口.",
  11450. "type": "string"
  11451. },
  11452. "type": {
  11453. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11454. "type": "integer"
  11455. }
  11456. }
  11457. },
  11458. "erms3.QuerySpotContractAppleFormRsp": {
  11459. "type": "object",
  11460. "properties": {
  11461. "goodses": {
  11462. "description": "合约列表",
  11463. "type": "array",
  11464. "items": {
  11465. "$ref": "#/definitions/models.GoodsIDAndName"
  11466. }
  11467. },
  11468. "oppositeusers": {
  11469. "description": "对方账号列表",
  11470. "type": "array",
  11471. "items": {
  11472. "$ref": "#/definitions/erms3.CustomerInfo"
  11473. }
  11474. },
  11475. "ouruser": {
  11476. "description": "我方账号",
  11477. "$ref": "#/definitions/erms3.CustomerInfo"
  11478. },
  11479. "warehouseinfos": {
  11480. "description": "仓库信息列表",
  11481. "type": "array",
  11482. "items": {
  11483. "$ref": "#/definitions/models.Warehouseinfo"
  11484. }
  11485. },
  11486. "wrstandards": {
  11487. "description": "仓单标准列表",
  11488. "type": "array",
  11489. "items": {
  11490. "$ref": "#/definitions/models.WRStandardInfo"
  11491. }
  11492. }
  11493. }
  11494. },
  11495. "erms3.QuerySpotContractInfoRsp": {
  11496. "type": "object",
  11497. "properties": {
  11498. "accountid": {
  11499. "description": "表示交易员ID.",
  11500. "type": "integer"
  11501. },
  11502. "curdeliveryqty": {
  11503. "description": "表示未交收量.",
  11504. "type": "number"
  11505. },
  11506. "customername": {
  11507. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11508. "type": "string"
  11509. },
  11510. "deliverygoodsid": {
  11511. "description": "表示品种ID.",
  11512. "type": "string"
  11513. },
  11514. "deliveryqty": {
  11515. "description": "表示交收量.",
  11516. "type": "number"
  11517. },
  11518. "matchaccountid": {
  11519. "description": "表示业务员ID.",
  11520. "type": "integer"
  11521. },
  11522. "matchcustomername": {
  11523. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11524. "type": "string"
  11525. },
  11526. "priceqty": {
  11527. "description": "表示定价量.",
  11528. "type": "number"
  11529. },
  11530. "relatedbizid": {
  11531. "description": "表示业务ID.",
  11532. "type": "string"
  11533. },
  11534. "signdate": {
  11535. "description": "表示签订日期.",
  11536. "type": "string"
  11537. },
  11538. "spotcontractid": {
  11539. "description": "合同ID",
  11540. "type": "string"
  11541. },
  11542. "status": {
  11543. "description": "表示状态,0-履约中 1-已完成.",
  11544. "type": "integer"
  11545. },
  11546. "totalqty": {
  11547. "description": "表示合同量.",
  11548. "type": "number"
  11549. },
  11550. "unpricedqty": {
  11551. "description": "表示未定价量.",
  11552. "type": "number"
  11553. },
  11554. "wrstandardname": {
  11555. "description": "表示商品ID.",
  11556. "type": "string"
  11557. }
  11558. }
  11559. },
  11560. "erms3.QueryUserInfoAppliesRsp": {
  11561. "type": "object",
  11562. "required": [
  11563. "userid"
  11564. ],
  11565. "properties": {
  11566. "biznature": {
  11567. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11568. "type": "integer"
  11569. },
  11570. "contactname": {
  11571. "description": "联系人",
  11572. "type": "string"
  11573. },
  11574. "createtime": {
  11575. "description": "开户申请时间",
  11576. "type": "string"
  11577. },
  11578. "userid": {
  11579. "description": "用户ID(自增ID)",
  11580. "type": "integer"
  11581. },
  11582. "userinfotype": {
  11583. "description": "用户信息类型 - 1:个人 2:企业",
  11584. "type": "integer"
  11585. },
  11586. "username": {
  11587. "description": "用户姓名",
  11588. "type": "string"
  11589. },
  11590. "userstate": {
  11591. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11592. "type": "integer"
  11593. }
  11594. }
  11595. },
  11596. "erms3.QueryUserInfosRsp": {
  11597. "type": "object",
  11598. "required": [
  11599. "userid"
  11600. ],
  11601. "properties": {
  11602. "biznature": {
  11603. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11604. "type": "integer"
  11605. },
  11606. "contactname": {
  11607. "description": "联系人",
  11608. "type": "string"
  11609. },
  11610. "customername": {
  11611. "description": "客户名称(企业名称)",
  11612. "type": "string"
  11613. },
  11614. "userid": {
  11615. "description": "用户ID",
  11616. "type": "integer"
  11617. },
  11618. "userinfotype": {
  11619. "description": "用户信息类型 - 1:个人 2:企业",
  11620. "type": "integer"
  11621. },
  11622. "userstatus": {
  11623. "description": "用户状态 - 1:正常 2:注销",
  11624. "type": "integer"
  11625. }
  11626. }
  11627. },
  11628. "erms3.SoptContractDetail": {
  11629. "type": "object",
  11630. "required": [
  11631. "deliverygoodsid",
  11632. "producttype",
  11633. "unitname",
  11634. "warehouseid",
  11635. "wrstandardid",
  11636. "wrstandardname"
  11637. ],
  11638. "properties": {
  11639. "deliverygoodsdesc": {
  11640. "description": "现货品种说明",
  11641. "type": "string"
  11642. },
  11643. "deliverygoodsid": {
  11644. "description": "现货品种ID",
  11645. "type": "integer"
  11646. },
  11647. "deliverygoodsname": {
  11648. "description": "现货品种名称",
  11649. "type": "string"
  11650. },
  11651. "pointdesc": {
  11652. "description": "点价描述",
  11653. "type": "string"
  11654. },
  11655. "producttype": {
  11656. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11657. "type": "integer"
  11658. },
  11659. "producttypename": {
  11660. "description": "产品类型名称",
  11661. "type": "string"
  11662. },
  11663. "spotPointOrderVoList": {
  11664. "description": "点价列表",
  11665. "type": "array",
  11666. "items": {
  11667. "$ref": "#/definitions/erms3.SpotPointOrder"
  11668. }
  11669. },
  11670. "spotPriceOrderList": {
  11671. "description": "定价列表",
  11672. "type": "array",
  11673. "items": {
  11674. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11675. }
  11676. },
  11677. "unitname": {
  11678. "description": "单位名称",
  11679. "type": "string"
  11680. },
  11681. "warehouseid": {
  11682. "description": "仓库ID",
  11683. "type": "integer"
  11684. },
  11685. "warehousename": {
  11686. "description": "仓库名称",
  11687. "type": "string"
  11688. },
  11689. "wrstandardid": {
  11690. "description": "交易标的ID",
  11691. "type": "integer"
  11692. },
  11693. "wrstandardname": {
  11694. "description": "交易标的名称",
  11695. "type": "string"
  11696. }
  11697. }
  11698. },
  11699. "erms3.SpotPointOrder": {
  11700. "type": "object",
  11701. "required": [
  11702. "basic",
  11703. "goodsid",
  11704. "qty"
  11705. ],
  11706. "properties": {
  11707. "basic": {
  11708. "description": "基差",
  11709. "type": "number"
  11710. },
  11711. "deliveryenddate": {
  11712. "description": "交收结束日期",
  11713. "type": "string"
  11714. },
  11715. "deliverystartdate": {
  11716. "description": "交收开始日期",
  11717. "type": "string"
  11718. },
  11719. "enddate": {
  11720. "description": "点价结束日期",
  11721. "type": "string"
  11722. },
  11723. "goodsid": {
  11724. "description": "商品ID",
  11725. "type": "integer"
  11726. },
  11727. "goodsname": {
  11728. "description": "商品名称",
  11729. "type": "string"
  11730. },
  11731. "qty": {
  11732. "description": "数量",
  11733. "type": "number"
  11734. },
  11735. "startdate": {
  11736. "description": "点价开始日期",
  11737. "type": "string"
  11738. }
  11739. }
  11740. },
  11741. "erms3.SpotPriceOrder": {
  11742. "type": "object",
  11743. "required": [
  11744. "amount",
  11745. "price",
  11746. "qty"
  11747. ],
  11748. "properties": {
  11749. "amount": {
  11750. "description": "金额",
  11751. "type": "number"
  11752. },
  11753. "deliveryenddate": {
  11754. "description": "交收结束日期",
  11755. "type": "string"
  11756. },
  11757. "deliverystartdate": {
  11758. "description": "交收开始日期",
  11759. "type": "string"
  11760. },
  11761. "price": {
  11762. "description": "价格",
  11763. "type": "number"
  11764. },
  11765. "qty": {
  11766. "description": "数量",
  11767. "type": "number"
  11768. }
  11769. }
  11770. },
  11771. "hsby.GetHsbyMyCountRsp": {
  11772. "type": "object",
  11773. "properties": {
  11774. "myCouponCount": {
  11775. "description": "我的优惠卷数量",
  11776. "type": "integer"
  11777. },
  11778. "myOrderDetailListingCount": {
  11779. "description": "我的订单求购中数量",
  11780. "type": "integer"
  11781. },
  11782. "myOrderDetailPreCount": {
  11783. "description": "我的订单抢购中数量",
  11784. "type": "integer"
  11785. },
  11786. "myPackageUnReceiveCount": {
  11787. "description": "我的包裹待收货数量",
  11788. "type": "integer"
  11789. },
  11790. "myPackageUnSendCount": {
  11791. "description": "我的包裹待发货数量",
  11792. "type": "integer"
  11793. },
  11794. "myPayOrderCount": {
  11795. "description": "我的订单待付款数量",
  11796. "type": "integer"
  11797. }
  11798. }
  11799. },
  11800. "hsby.QueryProvincesAndCitiesRsp": {
  11801. "type": "object",
  11802. "properties": {
  11803. "cities": {
  11804. "description": "市",
  11805. "type": "array",
  11806. "items": {
  11807. "$ref": "#/definitions/models.Division"
  11808. }
  11809. },
  11810. "province": {
  11811. "description": "省",
  11812. "$ref": "#/definitions/models.Division"
  11813. }
  11814. }
  11815. },
  11816. "models.Clientfixedadconfig": {
  11817. "type": "object",
  11818. "required": [
  11819. "adsort",
  11820. "adtype"
  11821. ],
  11822. "properties": {
  11823. "adsort": {
  11824. "description": "排序",
  11825. "type": "integer"
  11826. },
  11827. "adtype": {
  11828. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11829. "type": "integer"
  11830. },
  11831. "areauserid": {
  11832. "description": "所属机构ID",
  11833. "type": "integer"
  11834. },
  11835. "createdate": {
  11836. "description": "创建时间",
  11837. "type": "string"
  11838. },
  11839. "creatorid": {
  11840. "description": "创建人",
  11841. "type": "integer"
  11842. },
  11843. "imagepath": {
  11844. "description": "图片",
  11845. "type": "string"
  11846. },
  11847. "isshow": {
  11848. "description": "是否展示 - 0:不展示 1:展示",
  11849. "type": "integer"
  11850. },
  11851. "modifierid": {
  11852. "description": "操作人",
  11853. "type": "integer"
  11854. },
  11855. "recsize": {
  11856. "description": "推荐尺寸",
  11857. "type": "string"
  11858. },
  11859. "title": {
  11860. "description": "标题",
  11861. "type": "string"
  11862. },
  11863. "updatedate": {
  11864. "description": "更新时间",
  11865. "type": "string"
  11866. },
  11867. "urlcontent": {
  11868. "description": "链接(地址或商品ID)",
  11869. "type": "string"
  11870. },
  11871. "urltype": {
  11872. "description": "链接类型 - 1:直接地址 2:商品ID",
  11873. "type": "integer"
  11874. }
  11875. }
  11876. },
  11877. "models.Division": {
  11878. "type": "object",
  11879. "required": [
  11880. "autoid",
  11881. "divisioncode"
  11882. ],
  11883. "properties": {
  11884. "autoid": {
  11885. "description": "自增ID",
  11886. "type": "integer"
  11887. },
  11888. "divisioncode": {
  11889. "description": "行政代码",
  11890. "type": "string"
  11891. },
  11892. "divisionlevel": {
  11893. "description": "行政级别",
  11894. "type": "string"
  11895. },
  11896. "divisionname": {
  11897. "description": "行政名称",
  11898. "type": "string"
  11899. },
  11900. "modifierid": {
  11901. "description": "修改人",
  11902. "type": "integer"
  11903. },
  11904. "modifytime": {
  11905. "description": "修改时间",
  11906. "type": "string"
  11907. },
  11908. "parentcode": {
  11909. "description": "上级行政代码",
  11910. "type": "string"
  11911. },
  11912. "pathname": {
  11913. "description": "路径名称",
  11914. "type": "string"
  11915. },
  11916. "postcode": {
  11917. "description": "邮政编码",
  11918. "type": "string"
  11919. },
  11920. "separablename": {
  11921. "description": "可拆分的全称",
  11922. "type": "string"
  11923. },
  11924. "shortcode": {
  11925. "description": "地区简码",
  11926. "type": "string"
  11927. }
  11928. }
  11929. },
  11930. "models.Enumdicitem": {
  11931. "type": "object",
  11932. "required": [
  11933. "autoid",
  11934. "enumdiccode",
  11935. "enumdicid",
  11936. "enumitemname"
  11937. ],
  11938. "properties": {
  11939. "autoid": {
  11940. "description": "自增ID",
  11941. "type": "integer"
  11942. },
  11943. "bankmappedvalue": {
  11944. "description": "银行服务对应值",
  11945. "type": "string"
  11946. },
  11947. "enumdiccode": {
  11948. "description": "所属枚举代码",
  11949. "type": "string"
  11950. },
  11951. "enumdicid": {
  11952. "description": "所属枚举ID",
  11953. "type": "integer"
  11954. },
  11955. "enumdicname": {
  11956. "description": "枚举项名称",
  11957. "type": "string"
  11958. },
  11959. "enumitemname": {
  11960. "description": "枚举项值",
  11961. "type": "integer"
  11962. },
  11963. "enumitemstatus": {
  11964. "description": "枚举项状态 - 1.启用 2.不启用",
  11965. "type": "integer"
  11966. },
  11967. "enumitemvalue": {
  11968. "description": "通用值 - [币种通用简写]",
  11969. "type": "string"
  11970. },
  11971. "param1": {
  11972. "description": "参数1[币种:币种小数位]",
  11973. "type": "string"
  11974. },
  11975. "param2": {
  11976. "description": "参数1[币种:币种显示单位]",
  11977. "type": "string"
  11978. },
  11979. "remark": {
  11980. "description": "备注",
  11981. "type": "string"
  11982. }
  11983. }
  11984. },
  11985. "models.ErmcpHisExposure": {
  11986. "type": "object",
  11987. "properties": {
  11988. "needhedgeexposoure": {
  11989. "description": "应套保敞口",
  11990. "type": "number"
  11991. },
  11992. "reckondate": {
  11993. "description": "日照时期(yyyyMMdd)",
  11994. "type": "string"
  11995. },
  11996. "totalexposure": {
  11997. "description": "总敞口",
  11998. "type": "number"
  11999. }
  12000. }
  12001. },
  12002. "models.ErmcpMiddleGoodsModel": {
  12003. "type": "object",
  12004. "properties": {
  12005. "areauserid": {
  12006. "description": "机构用户ID",
  12007. "type": "integer"
  12008. },
  12009. "enumdicname": {
  12010. "description": "单位名称",
  12011. "type": "string"
  12012. },
  12013. "evaluateratio": {
  12014. "description": "估价系数",
  12015. "type": "number"
  12016. },
  12017. "goodsgroupid": {
  12018. "description": "关联期货品种ID",
  12019. "type": "integer"
  12020. },
  12021. "isvalid": {
  12022. "description": "状态 0-无效(停用) 1-有效(正常)",
  12023. "type": "integer"
  12024. },
  12025. "middlegoodscode": {
  12026. "description": "套保品种代码",
  12027. "type": "string"
  12028. },
  12029. "middlegoodsid": {
  12030. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12031. "type": "integer"
  12032. },
  12033. "middlegoodsname": {
  12034. "description": "套保品种名称",
  12035. "type": "string"
  12036. },
  12037. "modifytime": {
  12038. "description": "修改时间",
  12039. "type": "string"
  12040. },
  12041. "needhedgeratio": {
  12042. "description": "套保比率",
  12043. "type": "number"
  12044. },
  12045. "qtydecimalplace": {
  12046. "description": "数量小数位",
  12047. "type": "integer"
  12048. },
  12049. "relatedgoodsid": {
  12050. "description": "关联交易商品ID",
  12051. "type": "integer"
  12052. },
  12053. "relatedgoodstype": {
  12054. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12055. "type": "integer"
  12056. }
  12057. }
  12058. },
  12059. "models.ErmcpReportDayFR": {
  12060. "type": "object",
  12061. "properties": {
  12062. "areauserid": {
  12063. "description": "所属机构",
  12064. "type": "integer"
  12065. },
  12066. "collectinvoiceamount": {
  12067. "description": "今日开票金额",
  12068. "type": "number"
  12069. },
  12070. "collectinvoicecount": {
  12071. "description": "今日开票笔数",
  12072. "type": "integer"
  12073. },
  12074. "collectmoneyamount": {
  12075. "description": "今日收款金额",
  12076. "type": "number"
  12077. },
  12078. "collectmoneycount": {
  12079. "description": "今日收款笔数",
  12080. "type": "integer"
  12081. },
  12082. "payinvoiceamount": {
  12083. "description": "今日收票金额",
  12084. "type": "number"
  12085. },
  12086. "payinvoicecount": {
  12087. "description": "今日收票笔数",
  12088. "type": "integer"
  12089. },
  12090. "paymoneyamount": {
  12091. "description": "今日付款金额",
  12092. "type": "number"
  12093. },
  12094. "paymoneycount": {
  12095. "description": "今日付款笔数",
  12096. "type": "integer"
  12097. },
  12098. "reckondate": {
  12099. "description": "日照时期(yyyyMMdd)",
  12100. "type": "string"
  12101. },
  12102. "updatetime": {
  12103. "description": "更新时间",
  12104. "type": "string"
  12105. }
  12106. }
  12107. },
  12108. "models.ErmcpWrstandard": {
  12109. "type": "object",
  12110. "properties": {
  12111. "areauserid": {
  12112. "description": "所属机构",
  12113. "type": "integer"
  12114. },
  12115. "createtime": {
  12116. "description": "创建时间",
  12117. "type": "string"
  12118. },
  12119. "creatorid": {
  12120. "description": "创建人",
  12121. "type": "integer"
  12122. },
  12123. "deliverygoodsid": {
  12124. "description": "品种ID",
  12125. "type": "integer"
  12126. },
  12127. "enumdicname": {
  12128. "description": "单位名称",
  12129. "type": "string"
  12130. },
  12131. "isvalid": {
  12132. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12133. "type": "integer"
  12134. },
  12135. "minivalue": {
  12136. "description": "最小变动值",
  12137. "type": "integer"
  12138. },
  12139. "minivaluedp": {
  12140. "description": "最小变动值小数位",
  12141. "type": "integer"
  12142. },
  12143. "realminivalue": {
  12144. "description": "实际最小变动值",
  12145. "type": "integer"
  12146. },
  12147. "realminivaluedp": {
  12148. "description": "实际最小变动值小数位",
  12149. "type": "integer"
  12150. },
  12151. "remark": {
  12152. "description": "备注",
  12153. "type": "string"
  12154. },
  12155. "unitid": {
  12156. "description": "单位ID",
  12157. "type": "integer"
  12158. },
  12159. "updatetime": {
  12160. "description": "更新时间",
  12161. "type": "string"
  12162. },
  12163. "wrstandardcode": {
  12164. "description": "现货商品代码",
  12165. "type": "string"
  12166. },
  12167. "wrstandardid": {
  12168. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12169. "type": "integer"
  12170. },
  12171. "wrstandardname": {
  12172. "description": "现货商品名称",
  12173. "type": "string"
  12174. }
  12175. }
  12176. },
  12177. "models.Externalexchange": {
  12178. "type": "object",
  12179. "required": [
  12180. "autoid"
  12181. ],
  12182. "properties": {
  12183. "autoid": {
  12184. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  12185. "type": "integer"
  12186. },
  12187. "exchangefullname": {
  12188. "description": "外部交易所全称",
  12189. "type": "string"
  12190. },
  12191. "exexchangecode": {
  12192. "description": "外部交易所代码",
  12193. "type": "string"
  12194. },
  12195. "exexchangename": {
  12196. "description": "外部交易所名称(简称)",
  12197. "type": "string"
  12198. },
  12199. "ismarketprice": {
  12200. "description": "是否支持市价 - 0:不支持 1:支持",
  12201. "type": "integer"
  12202. },
  12203. "quotegear": {
  12204. "description": "行情档位(1-10)",
  12205. "type": "integer"
  12206. },
  12207. "showbrokerflag": {
  12208. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  12209. "type": "integer"
  12210. },
  12211. "updatetime": {
  12212. "description": "更新时间",
  12213. "type": "string"
  12214. }
  12215. }
  12216. },
  12217. "models.Goods": {
  12218. "type": "object",
  12219. "required": [
  12220. "goodscode",
  12221. "goodsid",
  12222. "goodsname",
  12223. "marketid"
  12224. ],
  12225. "properties": {
  12226. "agreeunit": {
  12227. "description": "合约单位",
  12228. "type": "number"
  12229. },
  12230. "auditaccountid": {
  12231. "description": "审核操作员账号",
  12232. "type": "integer"
  12233. },
  12234. "audittime": {
  12235. "description": "审核时间",
  12236. "type": "string"
  12237. },
  12238. "cancelaccountid": {
  12239. "description": "注销操作员账号",
  12240. "type": "integer"
  12241. },
  12242. "canceltime": {
  12243. "description": "注销时间",
  12244. "type": "string"
  12245. },
  12246. "closepricemode": {
  12247. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12248. "type": "integer"
  12249. },
  12250. "closepriceparam": {
  12251. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12252. "type": "number"
  12253. },
  12254. "createtime": {
  12255. "description": "创建时间",
  12256. "type": "string"
  12257. },
  12258. "creatorid": {
  12259. "description": "创建人",
  12260. "type": "integer"
  12261. },
  12262. "currencyid": {
  12263. "description": "报价货币ID",
  12264. "type": "integer"
  12265. },
  12266. "cutmode": {
  12267. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12268. "type": "integer"
  12269. },
  12270. "decimalplace": {
  12271. "description": "报价小数位",
  12272. "type": "integer"
  12273. },
  12274. "delistingdate": {
  12275. "description": "商品退市时间(状态:退市) -- 已作废",
  12276. "type": "string"
  12277. },
  12278. "delistingmode": {
  12279. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12280. "type": "integer"
  12281. },
  12282. "deliveryflag": {
  12283. "description": "交割标志 - 0:不可交割 1:可交割",
  12284. "type": "integer"
  12285. },
  12286. "forceclosemode": {
  12287. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12288. "type": "integer"
  12289. },
  12290. "forceclosevalue": {
  12291. "description": "定期强平参数 [收益权]",
  12292. "type": "integer"
  12293. },
  12294. "goodscode": {
  12295. "description": "商品代码(内部)",
  12296. "type": "string"
  12297. },
  12298. "goodscurrencyid": {
  12299. "description": "合约货币ID",
  12300. "type": "integer"
  12301. },
  12302. "goodsgroupid": {
  12303. "description": "所属商品组ID",
  12304. "type": "integer"
  12305. },
  12306. "goodsid": {
  12307. "description": "商品ID(自增ID SEQ_GOODS)",
  12308. "type": "integer"
  12309. },
  12310. "goodsname": {
  12311. "description": "商品名称",
  12312. "type": "string"
  12313. },
  12314. "goodsquotetype": {
  12315. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12316. "type": "integer"
  12317. },
  12318. "goodsstatus": {
  12319. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12320. "type": "integer"
  12321. },
  12322. "goodstradetype": {
  12323. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12324. "type": "integer"
  12325. },
  12326. "goodunitid": {
  12327. "description": "报价单位ID",
  12328. "type": "integer"
  12329. },
  12330. "hasquoter": {
  12331. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12332. "type": "integer"
  12333. },
  12334. "hqprotecttime": {
  12335. "description": "行情保护时间(秒)",
  12336. "type": "integer"
  12337. },
  12338. "innerdealmode": {
  12339. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12340. "type": "integer"
  12341. },
  12342. "isbuylimited": {
  12343. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12344. "type": "integer"
  12345. },
  12346. "lasttradedate": {
  12347. "description": "最后交易日期(状态:待退市)",
  12348. "type": "string"
  12349. },
  12350. "listingdate": {
  12351. "description": "交易开始日期",
  12352. "type": "string"
  12353. },
  12354. "marketid": {
  12355. "description": "所属市场ID",
  12356. "type": "integer"
  12357. },
  12358. "modifierid": {
  12359. "description": "修改人",
  12360. "type": "integer"
  12361. },
  12362. "modifystatus": {
  12363. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12364. "type": "integer"
  12365. },
  12366. "modifytime": {
  12367. "description": "修改时间",
  12368. "type": "string"
  12369. },
  12370. "outerdealmode": {
  12371. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12372. "type": "integer"
  12373. },
  12374. "outgoodscode": {
  12375. "description": "商品代码(外部)",
  12376. "type": "string"
  12377. },
  12378. "qtydecimalplace": {
  12379. "description": "成交量小数位",
  12380. "type": "integer"
  12381. },
  12382. "quotegear": {
  12383. "description": "行情档位(1-10)",
  12384. "type": "integer"
  12385. },
  12386. "quoteminunit": {
  12387. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12388. "type": "integer"
  12389. },
  12390. "quoteshowtype": {
  12391. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12392. "type": "integer"
  12393. },
  12394. "quoteshowtypeinterval": {
  12395. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12396. "type": "integer"
  12397. },
  12398. "remark": {
  12399. "description": "备注",
  12400. "type": "string"
  12401. }
  12402. }
  12403. },
  12404. "models.GoodsBrand": {
  12405. "type": "object",
  12406. "properties": {
  12407. "brandid": {
  12408. "description": "品牌ID",
  12409. "type": "integer"
  12410. },
  12411. "brandname": {
  12412. "description": "品牌名称",
  12413. "type": "string"
  12414. },
  12415. "isvalid": {
  12416. "description": "是否有效 - 0:无效 1:有效",
  12417. "type": "integer"
  12418. }
  12419. }
  12420. },
  12421. "models.GoodsGroupConvert": {
  12422. "type": "object",
  12423. "properties": {
  12424. "convertratio": {
  12425. "description": "折算系数",
  12426. "type": "number"
  12427. },
  12428. "dstgoodsgroupid": {
  12429. "description": "目标期货品种ID",
  12430. "type": "integer"
  12431. },
  12432. "goodsgroupname": {
  12433. "description": "期货品种名称",
  12434. "type": "string"
  12435. },
  12436. "outergroupcode": {
  12437. "description": "期货品种代码",
  12438. "type": "string"
  12439. },
  12440. "srcgoodsgroupid": {
  12441. "description": "源期货品种ID",
  12442. "type": "integer"
  12443. }
  12444. }
  12445. },
  12446. "models.GoodsIDAndName": {
  12447. "type": "object",
  12448. "required": [
  12449. "goodscode",
  12450. "goodsid",
  12451. "goodsname",
  12452. "marketid"
  12453. ],
  12454. "properties": {
  12455. "goodscode": {
  12456. "description": "商品代码(内部)",
  12457. "type": "string"
  12458. },
  12459. "goodsid": {
  12460. "description": "商品ID(自增ID SEQ_GOODS)",
  12461. "type": "integer"
  12462. },
  12463. "goodsname": {
  12464. "description": "商品名称",
  12465. "type": "string"
  12466. },
  12467. "marketid": {
  12468. "description": "所属市场ID",
  12469. "type": "integer"
  12470. }
  12471. }
  12472. },
  12473. "models.GoodsTypeModel": {
  12474. "type": "object",
  12475. "properties": {
  12476. "modelid": {
  12477. "description": "型号ID",
  12478. "type": "integer"
  12479. },
  12480. "modelname": {
  12481. "description": "型号名称",
  12482. "type": "string"
  12483. },
  12484. "updatetime": {
  12485. "description": "更新时间",
  12486. "type": "string"
  12487. }
  12488. }
  12489. },
  12490. "models.Goodsgroup": {
  12491. "type": "object",
  12492. "required": [
  12493. "goodsgroupid",
  12494. "goodsgroupname",
  12495. "goodsgroupstatus",
  12496. "marketid"
  12497. ],
  12498. "properties": {
  12499. "agreeunit": {
  12500. "description": "合约单位",
  12501. "type": "number"
  12502. },
  12503. "canshort": {
  12504. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12505. "type": "integer"
  12506. },
  12507. "closepricemode": {
  12508. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12509. "type": "integer"
  12510. },
  12511. "closepriceparam": {
  12512. "description": "强平最新价浮动比例 - 方式为2时使用",
  12513. "type": "number"
  12514. },
  12515. "createtime": {
  12516. "description": "创建时间",
  12517. "type": "string"
  12518. },
  12519. "creatorid": {
  12520. "description": "创建人",
  12521. "type": "integer"
  12522. },
  12523. "currencyid": {
  12524. "description": "报价货币ID",
  12525. "type": "integer"
  12526. },
  12527. "decimalplace": {
  12528. "description": "报价小数位",
  12529. "type": "integer"
  12530. },
  12531. "exercisetype": {
  12532. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  12533. "type": "integer"
  12534. },
  12535. "exexchangeid": {
  12536. "description": "外部交易所ID[通道交易]",
  12537. "type": "integer"
  12538. },
  12539. "goodsgroupid": {
  12540. "description": "商品组ID(自增ID)",
  12541. "type": "integer"
  12542. },
  12543. "goodsgroupname": {
  12544. "description": "商品组名称",
  12545. "type": "string"
  12546. },
  12547. "goodsgroupstatus": {
  12548. "description": "商品组状态 - 1:正常 2:注销",
  12549. "type": "integer"
  12550. },
  12551. "goodunitid": {
  12552. "description": "报价单位ID",
  12553. "type": "integer"
  12554. },
  12555. "innerdealmode": {
  12556. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12557. "type": "integer"
  12558. },
  12559. "isbuylimited": {
  12560. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12561. "type": "integer"
  12562. },
  12563. "marketid": {
  12564. "description": "所属市场ID",
  12565. "type": "integer"
  12566. },
  12567. "modifierid": {
  12568. "description": "修改人",
  12569. "type": "integer"
  12570. },
  12571. "modifytime": {
  12572. "description": "修改时间",
  12573. "type": "string"
  12574. },
  12575. "outerdealmode": {
  12576. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12577. "type": "integer"
  12578. },
  12579. "outergroupcode": {
  12580. "description": "外部商品组代码[通道交易]",
  12581. "type": "string"
  12582. },
  12583. "premiumdecimalplace": {
  12584. "description": "权利金小数位[场外期权]",
  12585. "type": "integer"
  12586. },
  12587. "premiumspreadalgorithm": {
  12588. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  12589. "type": "integer"
  12590. },
  12591. "premiumspreadvalue": {
  12592. "description": "权利金点差值[场外期权]",
  12593. "type": "number"
  12594. },
  12595. "qtydecimalplace": {
  12596. "description": "成交量小数位",
  12597. "type": "integer"
  12598. },
  12599. "quotegear": {
  12600. "description": "行情档位(1-10)",
  12601. "type": "integer"
  12602. },
  12603. "quoteminunit": {
  12604. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12605. "type": "integer"
  12606. },
  12607. "quoterid": {
  12608. "description": "报价商ID[场外期权]",
  12609. "type": "integer"
  12610. },
  12611. "quotesourcegroupid": {
  12612. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12613. "type": "integer"
  12614. },
  12615. "syncgoodsqty": {
  12616. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12617. "type": "integer"
  12618. }
  12619. }
  12620. },
  12621. "models.HsbyBuyMyPayOrder": {
  12622. "type": "object",
  12623. "required": [
  12624. "goodscode",
  12625. "goodsname",
  12626. "tradeid",
  12627. "trademode"
  12628. ],
  12629. "properties": {
  12630. "agreeunit": {
  12631. "description": "合约单位",
  12632. "type": "number"
  12633. },
  12634. "buyaccountid": {
  12635. "description": "买方账号ID[报价币种]",
  12636. "type": "integer"
  12637. },
  12638. "buyorderid": {
  12639. "description": "买方委托单号",
  12640. "type": "string"
  12641. },
  12642. "createtime": {
  12643. "description": "创建时间",
  12644. "type": "string"
  12645. },
  12646. "currencysign": {
  12647. "description": "货币符号",
  12648. "type": "string"
  12649. },
  12650. "decimalplace": {
  12651. "description": "报价小数位",
  12652. "type": "integer"
  12653. },
  12654. "goodscode": {
  12655. "description": "商品代码(内部)",
  12656. "type": "string"
  12657. },
  12658. "goodsid": {
  12659. "description": "商品ID",
  12660. "type": "integer"
  12661. },
  12662. "goodsname": {
  12663. "description": "商品名称",
  12664. "type": "string"
  12665. },
  12666. "marketid": {
  12667. "description": "市场ID",
  12668. "type": "integer"
  12669. },
  12670. "offamount": {
  12671. "description": "优惠金额",
  12672. "type": "number"
  12673. },
  12674. "payamount": {
  12675. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12676. "type": "number"
  12677. },
  12678. "payflag": {
  12679. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12680. "type": "integer"
  12681. },
  12682. "paylimitedtime": {
  12683. "description": "支付期限",
  12684. "type": "string"
  12685. },
  12686. "paytime": {
  12687. "description": "付款时间",
  12688. "type": "string"
  12689. },
  12690. "picurls1": {
  12691. "description": "预售商品介绍图片[多张用逗号分隔]",
  12692. "type": "string"
  12693. },
  12694. "picurls2": {
  12695. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12696. "type": "string"
  12697. },
  12698. "sellaccountid": {
  12699. "description": "卖方账号ID[报价币种]",
  12700. "type": "integer"
  12701. },
  12702. "sellorderid": {
  12703. "description": "卖方委托单号",
  12704. "type": "string"
  12705. },
  12706. "tradeamount": {
  12707. "description": "成交金额",
  12708. "type": "number"
  12709. },
  12710. "tradecharge": {
  12711. "description": "成交手续费(买方)",
  12712. "type": "number"
  12713. },
  12714. "tradedate": {
  12715. "description": "交易日(yyyyMMdd)",
  12716. "type": "string"
  12717. },
  12718. "tradeid": {
  12719. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12720. "type": "string"
  12721. },
  12722. "trademode": {
  12723. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12724. "type": "integer"
  12725. },
  12726. "tradeprice": {
  12727. "description": "成交价格",
  12728. "type": "number"
  12729. },
  12730. "tradeqty": {
  12731. "description": "成交数量",
  12732. "type": "integer"
  12733. },
  12734. "vendorname1": {
  12735. "description": "预售商品供应商名称",
  12736. "type": "string"
  12737. },
  12738. "vendorname2": {
  12739. "description": "挂牌商品供应商名称",
  12740. "type": "string"
  12741. }
  12742. }
  12743. },
  12744. "models.HsbyBuyMyTradeDetail": {
  12745. "type": "object",
  12746. "required": [
  12747. "accountid",
  12748. "buyorsell",
  12749. "goodscode",
  12750. "goodsid",
  12751. "goodsname",
  12752. "marketid",
  12753. "orderid",
  12754. "qty",
  12755. "time",
  12756. "trademode"
  12757. ],
  12758. "properties": {
  12759. "accountid": {
  12760. "description": "账户ID[报价币种]",
  12761. "type": "integer"
  12762. },
  12763. "agreeunit": {
  12764. "description": "合约单位",
  12765. "type": "number"
  12766. },
  12767. "amount": {
  12768. "description": "金额 = 价格 * 数量 * 合约单位",
  12769. "type": "number"
  12770. },
  12771. "buyorsell": {
  12772. "description": "买卖 - 0:买 1:卖",
  12773. "type": "integer"
  12774. },
  12775. "currencysign": {
  12776. "description": "货币符号",
  12777. "type": "string"
  12778. },
  12779. "decimalplace": {
  12780. "description": "报价小数位",
  12781. "type": "integer"
  12782. },
  12783. "goodscode": {
  12784. "description": "商品代码(内部)",
  12785. "type": "string"
  12786. },
  12787. "goodsid": {
  12788. "description": "商品ID",
  12789. "type": "integer"
  12790. },
  12791. "goodsname": {
  12792. "description": "商品名称",
  12793. "type": "string"
  12794. },
  12795. "marketid": {
  12796. "description": "市场ID",
  12797. "type": "integer"
  12798. },
  12799. "orderid": {
  12800. "description": "单号(成交单号)",
  12801. "type": "string"
  12802. },
  12803. "picurls1": {
  12804. "description": "预售商品介绍图片[多张用逗号分隔]",
  12805. "type": "string"
  12806. },
  12807. "picurls2": {
  12808. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12809. "type": "string"
  12810. },
  12811. "price": {
  12812. "description": "价格",
  12813. "type": "number"
  12814. },
  12815. "qty": {
  12816. "description": "数量",
  12817. "type": "integer"
  12818. },
  12819. "time": {
  12820. "description": "时间",
  12821. "type": "string"
  12822. },
  12823. "trademode": {
  12824. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12825. "type": "integer"
  12826. },
  12827. "vendorname1": {
  12828. "description": "预售商品供应商名称",
  12829. "type": "string"
  12830. },
  12831. "vendorname2": {
  12832. "description": "挂牌商品供应商名称",
  12833. "type": "string"
  12834. }
  12835. }
  12836. },
  12837. "models.HsbyGoodsOrderDetail": {
  12838. "type": "object",
  12839. "required": [
  12840. "buyorsell",
  12841. "orderid",
  12842. "ordertime"
  12843. ],
  12844. "properties": {
  12845. "buyorsell": {
  12846. "description": "买卖 - 0:买 1:卖",
  12847. "type": "integer"
  12848. },
  12849. "currencysign": {
  12850. "description": "货币符号",
  12851. "type": "string"
  12852. },
  12853. "customername": {
  12854. "description": "客户名称(企业名称),已脱敏",
  12855. "type": "string"
  12856. },
  12857. "enableqty": {
  12858. "description": "可用数量",
  12859. "type": "integer"
  12860. },
  12861. "goodunit": {
  12862. "description": "报价单位",
  12863. "type": "string"
  12864. },
  12865. "orderid": {
  12866. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12867. "type": "string"
  12868. },
  12869. "orderprice": {
  12870. "description": "委托价格",
  12871. "type": "number"
  12872. },
  12873. "ordertime": {
  12874. "description": "委托时间",
  12875. "type": "string"
  12876. }
  12877. }
  12878. },
  12879. "models.HsbyListingGoodsDetail": {
  12880. "type": "object",
  12881. "required": [
  12882. "goodscode",
  12883. "goodsid",
  12884. "goodsname",
  12885. "marketid",
  12886. "trademode"
  12887. ],
  12888. "properties": {
  12889. "agreeunit": {
  12890. "description": "合约单位",
  12891. "type": "number"
  12892. },
  12893. "buymaxqty": {
  12894. "description": "购买上限 [71] - 0为不限",
  12895. "type": "integer"
  12896. },
  12897. "currency": {
  12898. "description": "货币",
  12899. "type": "string"
  12900. },
  12901. "currencysign": {
  12902. "description": "货币符号",
  12903. "type": "string"
  12904. },
  12905. "decimalplace": {
  12906. "description": "报价小数位",
  12907. "type": "integer"
  12908. },
  12909. "desccityid": {
  12910. "description": "目的地(市)ID",
  12911. "type": "integer"
  12912. },
  12913. "descprovinceid": {
  12914. "description": "目的地(省)ID",
  12915. "type": "integer"
  12916. },
  12917. "goodscode": {
  12918. "description": "商品代码(内部)",
  12919. "type": "string"
  12920. },
  12921. "goodsdesc": {
  12922. "description": "商品详情",
  12923. "type": "string"
  12924. },
  12925. "goodsid": {
  12926. "description": "商品ID(自增ID SEQ_GOODS)",
  12927. "type": "integer"
  12928. },
  12929. "goodsname": {
  12930. "description": "商品名称",
  12931. "type": "string"
  12932. },
  12933. "goodsprice": {
  12934. "description": "商品价格",
  12935. "type": "number"
  12936. },
  12937. "hotindex": {
  12938. "description": "景点热度",
  12939. "type": "integer"
  12940. },
  12941. "last": {
  12942. "description": "现价",
  12943. "type": "number"
  12944. },
  12945. "limitdown": {
  12946. "description": "跌停价",
  12947. "type": "number"
  12948. },
  12949. "limitup": {
  12950. "description": "涨停价",
  12951. "type": "number"
  12952. },
  12953. "lotsize": {
  12954. "description": "手数最小变动单位",
  12955. "type": "integer"
  12956. },
  12957. "marketid": {
  12958. "description": "所属市场ID",
  12959. "type": "integer"
  12960. },
  12961. "picurls": {
  12962. "description": "介绍图片[多张用逗号分隔]",
  12963. "type": "string"
  12964. },
  12965. "quoteminunit": {
  12966. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12967. "type": "integer"
  12968. },
  12969. "stepvalue": {
  12970. "description": "价格最小变动单位",
  12971. "type": "number"
  12972. },
  12973. "trademode": {
  12974. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12975. "type": "integer"
  12976. },
  12977. "vendorattr": {
  12978. "description": "供应商附件(多张,逗号分隔)",
  12979. "type": "string"
  12980. },
  12981. "vendorname": {
  12982. "description": "供应商名称",
  12983. "type": "string"
  12984. },
  12985. "vendorphone": {
  12986. "description": "供应商客服电话",
  12987. "type": "string"
  12988. },
  12989. "videourls": {
  12990. "description": "介绍视频[多张用逗号分隔]",
  12991. "type": "string"
  12992. }
  12993. }
  12994. },
  12995. "models.HsbyMarketGoods": {
  12996. "type": "object",
  12997. "required": [
  12998. "accountid",
  12999. "buyorsell",
  13000. "goodscode",
  13001. "goodsid",
  13002. "goodsname",
  13003. "marketid",
  13004. "orderid",
  13005. "trademode"
  13006. ],
  13007. "properties": {
  13008. "accountid": {
  13009. "description": "账户ID[报价币种]",
  13010. "type": "integer"
  13011. },
  13012. "agreeunit": {
  13013. "description": "合约单位",
  13014. "type": "number"
  13015. },
  13016. "buyorsell": {
  13017. "description": "买卖 - 0:买 1:卖",
  13018. "type": "integer"
  13019. },
  13020. "categoryid": {
  13021. "description": "类别ID(WRCATEGORY)",
  13022. "type": "integer"
  13023. },
  13024. "currency": {
  13025. "description": "货币",
  13026. "type": "string"
  13027. },
  13028. "currencysign": {
  13029. "description": "货币符号",
  13030. "type": "string"
  13031. },
  13032. "customername": {
  13033. "description": "卖家名称",
  13034. "type": "string"
  13035. },
  13036. "decimalplace": {
  13037. "description": "报价小数位",
  13038. "type": "integer"
  13039. },
  13040. "goodscode": {
  13041. "description": "商品代码(内部)",
  13042. "type": "string"
  13043. },
  13044. "goodsid": {
  13045. "description": "商品ID",
  13046. "type": "integer"
  13047. },
  13048. "goodsname": {
  13049. "description": "商品名称",
  13050. "type": "string"
  13051. },
  13052. "goodsprice": {
  13053. "description": "商品价格",
  13054. "type": "number"
  13055. },
  13056. "hascoupon": {
  13057. "description": "是否可用优惠卷",
  13058. "type": "boolean"
  13059. },
  13060. "hotindex": {
  13061. "description": "景点热度",
  13062. "type": "integer"
  13063. },
  13064. "marketid": {
  13065. "description": "市场ID",
  13066. "type": "integer"
  13067. },
  13068. "orderid": {
  13069. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13070. "type": "string"
  13071. },
  13072. "orderprice": {
  13073. "description": "委托价格",
  13074. "type": "number"
  13075. },
  13076. "orderstatus": {
  13077. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13078. "type": "integer"
  13079. },
  13080. "picurls": {
  13081. "description": "介绍图片[多张用逗号分隔]",
  13082. "type": "string"
  13083. },
  13084. "quoteminunit": {
  13085. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13086. "type": "integer"
  13087. },
  13088. "sellUserID": {
  13089. "description": "卖方UserID",
  13090. "type": "integer"
  13091. },
  13092. "trademode": {
  13093. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13094. "type": "integer"
  13095. },
  13096. "videourls": {
  13097. "description": "介绍视频[多张用逗号分隔]",
  13098. "type": "string"
  13099. }
  13100. }
  13101. },
  13102. "models.HsbyMarketGoodsDetail": {
  13103. "type": "object",
  13104. "required": [
  13105. "accountid",
  13106. "buyorsell",
  13107. "goodscode",
  13108. "goodsid",
  13109. "goodsname",
  13110. "marketid",
  13111. "orderid",
  13112. "orderqty",
  13113. "trademode"
  13114. ],
  13115. "properties": {
  13116. "accountid": {
  13117. "description": "账户ID[报价币种]",
  13118. "type": "integer"
  13119. },
  13120. "agreeunit": {
  13121. "description": "合约单位",
  13122. "type": "number"
  13123. },
  13124. "buymaxqty": {
  13125. "description": "购买上限 [71] - 0为不限",
  13126. "type": "integer"
  13127. },
  13128. "buyorsell": {
  13129. "description": "买卖 - 0:买 1:卖",
  13130. "type": "integer"
  13131. },
  13132. "cancelqty": {
  13133. "description": "撤单数量",
  13134. "type": "integer"
  13135. },
  13136. "categoryid": {
  13137. "description": "类别ID(WRCATEGORY)",
  13138. "type": "integer"
  13139. },
  13140. "currency": {
  13141. "description": "货币",
  13142. "type": "string"
  13143. },
  13144. "currencysign": {
  13145. "description": "货币符号",
  13146. "type": "string"
  13147. },
  13148. "customername": {
  13149. "description": "卖家名称",
  13150. "type": "string"
  13151. },
  13152. "decimalplace": {
  13153. "description": "报价小数位",
  13154. "type": "integer"
  13155. },
  13156. "goodscode": {
  13157. "description": "商品代码(内部)",
  13158. "type": "string"
  13159. },
  13160. "goodsdesc": {
  13161. "description": "商品详情",
  13162. "type": "string"
  13163. },
  13164. "goodsid": {
  13165. "description": "商品ID",
  13166. "type": "integer"
  13167. },
  13168. "goodsname": {
  13169. "description": "商品名称",
  13170. "type": "string"
  13171. },
  13172. "goodsprice": {
  13173. "description": "商品价格",
  13174. "type": "number"
  13175. },
  13176. "hotindex": {
  13177. "description": "景点热度",
  13178. "type": "integer"
  13179. },
  13180. "lotsize": {
  13181. "description": "手数最小变动单位",
  13182. "type": "integer"
  13183. },
  13184. "marketid": {
  13185. "description": "市场ID",
  13186. "type": "integer"
  13187. },
  13188. "orderid": {
  13189. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13190. "type": "string"
  13191. },
  13192. "orderprice": {
  13193. "description": "委托价格",
  13194. "type": "number"
  13195. },
  13196. "orderqty": {
  13197. "description": "委托数量",
  13198. "type": "integer"
  13199. },
  13200. "orderstatus": {
  13201. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13202. "type": "integer"
  13203. },
  13204. "picurls": {
  13205. "description": "介绍图片[多张用逗号分隔]",
  13206. "type": "string"
  13207. },
  13208. "quoteminunit": {
  13209. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13210. "type": "integer"
  13211. },
  13212. "sellUserID": {
  13213. "description": "卖方UserID",
  13214. "type": "integer"
  13215. },
  13216. "trademode": {
  13217. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13218. "type": "integer"
  13219. },
  13220. "tradeqty": {
  13221. "description": "成交数量",
  13222. "type": "integer"
  13223. },
  13224. "vendorattr": {
  13225. "description": "供应商附件(多张,逗号分隔)",
  13226. "type": "string"
  13227. },
  13228. "vendorname": {
  13229. "description": "供应商名称",
  13230. "type": "string"
  13231. },
  13232. "vendorphone": {
  13233. "description": "供应商客服电话",
  13234. "type": "string"
  13235. },
  13236. "videourls": {
  13237. "description": "介绍视频[多张用逗号分隔]",
  13238. "type": "string"
  13239. }
  13240. }
  13241. },
  13242. "models.HsbyMarketInfo": {
  13243. "type": "object",
  13244. "required": [
  13245. "marketid",
  13246. "marketstatus",
  13247. "trademode"
  13248. ],
  13249. "properties": {
  13250. "marketid": {
  13251. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13252. "type": "integer"
  13253. },
  13254. "marketname": {
  13255. "description": "市场名称",
  13256. "type": "string"
  13257. },
  13258. "marketstatus": {
  13259. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13260. "type": "integer"
  13261. },
  13262. "trademode": {
  13263. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13264. "type": "integer"
  13265. }
  13266. }
  13267. },
  13268. "models.HsbyMyGoods": {
  13269. "type": "object",
  13270. "required": [
  13271. "accountid",
  13272. "goodscode",
  13273. "goodsid",
  13274. "goodsname",
  13275. "marketid",
  13276. "trademode"
  13277. ],
  13278. "properties": {
  13279. "accountid": {
  13280. "description": "账号Id",
  13281. "type": "integer"
  13282. },
  13283. "agreeunit": {
  13284. "description": "合约单位",
  13285. "type": "number"
  13286. },
  13287. "buyaverageprice": {
  13288. "description": "持仓均价",
  13289. "type": "number"
  13290. },
  13291. "buycurholderamount": {
  13292. "description": "买当前持仓总金额[商品币种]",
  13293. "type": "number"
  13294. },
  13295. "buycurpositionqty": {
  13296. "description": "买当前持仓总数量",
  13297. "type": "integer"
  13298. },
  13299. "buymaxqty": {
  13300. "description": "购买上限 [71] - 0为不限",
  13301. "type": "integer"
  13302. },
  13303. "currencysign": {
  13304. "description": "货币符号",
  13305. "type": "string"
  13306. },
  13307. "decimalplace": {
  13308. "description": "报价小数位",
  13309. "type": "integer"
  13310. },
  13311. "enableqty": {
  13312. "description": "可用数量",
  13313. "type": "integer"
  13314. },
  13315. "goodscode": {
  13316. "description": "商品代码(内部)",
  13317. "type": "string"
  13318. },
  13319. "goodsid": {
  13320. "description": "商品Id",
  13321. "type": "integer"
  13322. },
  13323. "goodsname": {
  13324. "description": "商品名称",
  13325. "type": "string"
  13326. },
  13327. "goodsprice": {
  13328. "description": "商品价格",
  13329. "type": "number"
  13330. },
  13331. "goodsstatus": {
  13332. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13333. "type": "integer"
  13334. },
  13335. "last": {
  13336. "description": "现价(仅使用于挂牌点选)",
  13337. "type": "number"
  13338. },
  13339. "limitdown": {
  13340. "description": "跌停价(仅使用于挂牌点选)",
  13341. "type": "number"
  13342. },
  13343. "limitup": {
  13344. "description": "涨停价(仅使用于挂牌点选)",
  13345. "type": "number"
  13346. },
  13347. "lotsize": {
  13348. "description": "手数最小变动单位",
  13349. "type": "integer"
  13350. },
  13351. "marketid": {
  13352. "description": "所属市场ID",
  13353. "type": "integer"
  13354. },
  13355. "picurls": {
  13356. "description": "介绍图片[多张用逗号分隔]",
  13357. "type": "string"
  13358. },
  13359. "quoteminunit": {
  13360. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13361. "type": "integer"
  13362. },
  13363. "stepvalue": {
  13364. "description": "价格最小变动单位",
  13365. "type": "number"
  13366. },
  13367. "trademode": {
  13368. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13369. "type": "integer"
  13370. }
  13371. }
  13372. },
  13373. "models.HsbyMyPackage": {
  13374. "type": "object",
  13375. "required": [
  13376. "goodscode",
  13377. "goodsname",
  13378. "takeorderid",
  13379. "trademode"
  13380. ],
  13381. "properties": {
  13382. "accountid": {
  13383. "description": "账户ID",
  13384. "type": "integer"
  13385. },
  13386. "address": {
  13387. "description": "提货人详细地址",
  13388. "type": "string"
  13389. },
  13390. "agreeunit": {
  13391. "description": "合约单位",
  13392. "type": "number"
  13393. },
  13394. "amount": {
  13395. "description": "提货金额",
  13396. "type": "number"
  13397. },
  13398. "auditer": {
  13399. "description": "审核人",
  13400. "type": "integer"
  13401. },
  13402. "audittime": {
  13403. "description": "审核时间",
  13404. "type": "string"
  13405. },
  13406. "averageprice": {
  13407. "description": "均价",
  13408. "type": "number"
  13409. },
  13410. "cardnum": {
  13411. "description": "提货人证件号码",
  13412. "type": "string"
  13413. },
  13414. "cardtypeid": {
  13415. "description": "提货人证件类型",
  13416. "type": "integer"
  13417. },
  13418. "checkremark": {
  13419. "description": "审核备注",
  13420. "type": "string"
  13421. },
  13422. "currencysign": {
  13423. "description": "货币符号",
  13424. "type": "string"
  13425. },
  13426. "decimalplace": {
  13427. "description": "报价小数位",
  13428. "type": "integer"
  13429. },
  13430. "goodscode": {
  13431. "description": "商品代码(内部)",
  13432. "type": "string"
  13433. },
  13434. "goodsid": {
  13435. "description": "商品ID",
  13436. "type": "integer"
  13437. },
  13438. "goodsname": {
  13439. "description": "商品名称",
  13440. "type": "string"
  13441. },
  13442. "handlestatus": {
  13443. "description": "处理状态",
  13444. "type": "integer"
  13445. },
  13446. "marketid": {
  13447. "description": "市场ID",
  13448. "type": "integer"
  13449. },
  13450. "phonenum": {
  13451. "description": "提货人联系方式",
  13452. "type": "string"
  13453. },
  13454. "picurls": {
  13455. "description": "介绍图片[多张用逗号分隔]",
  13456. "type": "string"
  13457. },
  13458. "qty": {
  13459. "description": "提货数量",
  13460. "type": "number"
  13461. },
  13462. "recivername": {
  13463. "description": "提货人姓名",
  13464. "type": "string"
  13465. },
  13466. "reqtime": {
  13467. "description": "更新时间",
  13468. "type": "string"
  13469. },
  13470. "takemode": {
  13471. "description": "提货方式 - 2:自提 3:配送",
  13472. "type": "integer"
  13473. },
  13474. "takeorderid": {
  13475. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13476. "type": "string"
  13477. },
  13478. "takeorderstatus": {
  13479. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13480. "type": "integer"
  13481. },
  13482. "takeremark": {
  13483. "description": "提货备注",
  13484. "type": "string"
  13485. },
  13486. "tradedate": {
  13487. "description": "交易日(yyyyMMdd)",
  13488. "type": "string"
  13489. },
  13490. "trademode": {
  13491. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13492. "type": "integer"
  13493. },
  13494. "userid": {
  13495. "description": "用户ID",
  13496. "type": "integer"
  13497. },
  13498. "vendorname": {
  13499. "description": "供应商名称",
  13500. "type": "string"
  13501. }
  13502. }
  13503. },
  13504. "models.HsbyPreGoods": {
  13505. "type": "object",
  13506. "required": [
  13507. "goodscode",
  13508. "goodsid",
  13509. "goodsname",
  13510. "marketid",
  13511. "trademode"
  13512. ],
  13513. "properties": {
  13514. "agreeunit": {
  13515. "description": "合约单位",
  13516. "type": "number"
  13517. },
  13518. "currency": {
  13519. "description": "货币",
  13520. "type": "string"
  13521. },
  13522. "currencysign": {
  13523. "description": "货币符号",
  13524. "type": "string"
  13525. },
  13526. "decimalplace": {
  13527. "description": "报价小数位",
  13528. "type": "integer"
  13529. },
  13530. "desccityid": {
  13531. "description": "目的地(市)",
  13532. "type": "integer"
  13533. },
  13534. "descprovinceid": {
  13535. "description": "目的地(省)",
  13536. "type": "integer"
  13537. },
  13538. "enableqty": {
  13539. "description": "剩余数量",
  13540. "type": "integer"
  13541. },
  13542. "goodscode": {
  13543. "description": "商品代码(内部)",
  13544. "type": "string"
  13545. },
  13546. "goodsid": {
  13547. "description": "商品ID(自增ID SEQ_GOODS)",
  13548. "type": "integer"
  13549. },
  13550. "goodsname": {
  13551. "description": "商品名称",
  13552. "type": "string"
  13553. },
  13554. "goodsstatus": {
  13555. "description": "商品状态- 2:未上市 3:上市",
  13556. "type": "integer"
  13557. },
  13558. "lasttradedate": {
  13559. "description": "最后交易日期(状态:待退市)",
  13560. "type": "string"
  13561. },
  13562. "listingdate": {
  13563. "description": "交易开始日期",
  13564. "type": "string"
  13565. },
  13566. "marketid": {
  13567. "description": "所属市场ID",
  13568. "type": "integer"
  13569. },
  13570. "picurls": {
  13571. "description": "介绍图片[多张用逗号分隔]",
  13572. "type": "string"
  13573. },
  13574. "presaledqty": {
  13575. "description": "已预售量(预售结束时更新)",
  13576. "type": "integer"
  13577. },
  13578. "presaleqty": {
  13579. "description": "预售数量",
  13580. "type": "integer"
  13581. },
  13582. "quoteminunit": {
  13583. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13584. "type": "integer"
  13585. },
  13586. "refprice": {
  13587. "description": "参考价格[一口价]",
  13588. "type": "number"
  13589. },
  13590. "relatedgoodsid": {
  13591. "description": "关联交易合约ID",
  13592. "type": "integer"
  13593. },
  13594. "trademode": {
  13595. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13596. "type": "integer"
  13597. },
  13598. "videourls": {
  13599. "description": "介绍视频[多张用逗号分隔]",
  13600. "type": "string"
  13601. }
  13602. }
  13603. },
  13604. "models.HsbyPreGoodsDetail": {
  13605. "type": "object",
  13606. "required": [
  13607. "goodscode",
  13608. "goodsid",
  13609. "goodsname",
  13610. "marketid",
  13611. "trademode"
  13612. ],
  13613. "properties": {
  13614. "agreeunit": {
  13615. "description": "合约单位",
  13616. "type": "number"
  13617. },
  13618. "buymaxqty": {
  13619. "description": "购买上限 [71] - 0为不限",
  13620. "type": "integer"
  13621. },
  13622. "currency": {
  13623. "description": "货币",
  13624. "type": "string"
  13625. },
  13626. "currencysign": {
  13627. "description": "货币符号",
  13628. "type": "string"
  13629. },
  13630. "customername": {
  13631. "description": "发行单位",
  13632. "type": "string"
  13633. },
  13634. "decimalplace": {
  13635. "description": "报价小数位",
  13636. "type": "integer"
  13637. },
  13638. "desccityid": {
  13639. "description": "目的地(市)ID",
  13640. "type": "integer"
  13641. },
  13642. "descprovinceid": {
  13643. "description": "目的地(省)ID",
  13644. "type": "integer"
  13645. },
  13646. "enableqty": {
  13647. "description": "剩余数量",
  13648. "type": "integer"
  13649. },
  13650. "goodscode": {
  13651. "description": "商品代码(内部)",
  13652. "type": "string"
  13653. },
  13654. "goodsdesc": {
  13655. "description": "商品详情",
  13656. "type": "string"
  13657. },
  13658. "goodsid": {
  13659. "description": "商品ID(自增ID SEQ_GOODS)",
  13660. "type": "integer"
  13661. },
  13662. "goodsname": {
  13663. "description": "商品名称",
  13664. "type": "string"
  13665. },
  13666. "goodsstatus": {
  13667. "description": "商品状态- 2:未上市 3:上市",
  13668. "type": "integer"
  13669. },
  13670. "goodunit": {
  13671. "description": "报价单位",
  13672. "type": "string"
  13673. },
  13674. "lasttradedate": {
  13675. "description": "最后交易日期(状态:待退市)",
  13676. "type": "string"
  13677. },
  13678. "listingdate": {
  13679. "description": "交易开始日期",
  13680. "type": "string"
  13681. },
  13682. "lotsize": {
  13683. "description": "手数最小变动单位",
  13684. "type": "integer"
  13685. },
  13686. "marketid": {
  13687. "description": "所属市场ID",
  13688. "type": "integer"
  13689. },
  13690. "picurls": {
  13691. "description": "介绍图片[多张用逗号分隔]",
  13692. "type": "string"
  13693. },
  13694. "presaledqty": {
  13695. "description": "已预售量(预售结束时更新)",
  13696. "type": "integer"
  13697. },
  13698. "presaleqty": {
  13699. "description": "预售数量",
  13700. "type": "integer"
  13701. },
  13702. "quoteminunit": {
  13703. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13704. "type": "integer"
  13705. },
  13706. "refprice": {
  13707. "description": "参考价格[一口价]",
  13708. "type": "number"
  13709. },
  13710. "relatedgoodsid": {
  13711. "description": "关联交易合约ID",
  13712. "type": "integer"
  13713. },
  13714. "stepvalue": {
  13715. "description": "价格最小变动单位",
  13716. "type": "number"
  13717. },
  13718. "trademode": {
  13719. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13720. "type": "integer"
  13721. },
  13722. "vendorattr": {
  13723. "description": "供应商附件(多张,逗号分隔)",
  13724. "type": "string"
  13725. },
  13726. "vendorname": {
  13727. "description": "供应商名称",
  13728. "type": "string"
  13729. },
  13730. "vendorphone": {
  13731. "description": "供应商客服电话",
  13732. "type": "string"
  13733. },
  13734. "videourls": {
  13735. "description": "介绍视频[多张用逗号分隔]",
  13736. "type": "string"
  13737. }
  13738. }
  13739. },
  13740. "models.HsbySellCollectionOrder": {
  13741. "type": "object",
  13742. "required": [
  13743. "goodscode",
  13744. "goodsname",
  13745. "tradeid",
  13746. "trademode"
  13747. ],
  13748. "properties": {
  13749. "agreeunit": {
  13750. "description": "合约单位",
  13751. "type": "number"
  13752. },
  13753. "buyaccountid": {
  13754. "description": "买方账号ID[报价币种]",
  13755. "type": "integer"
  13756. },
  13757. "buyorderid": {
  13758. "description": "买方委托单号",
  13759. "type": "string"
  13760. },
  13761. "createtime": {
  13762. "description": "创建时间",
  13763. "type": "string"
  13764. },
  13765. "currencysign": {
  13766. "description": "货币符号",
  13767. "type": "string"
  13768. },
  13769. "decimalplace": {
  13770. "description": "报价小数位",
  13771. "type": "integer"
  13772. },
  13773. "goodscode": {
  13774. "description": "商品代码(内部)",
  13775. "type": "string"
  13776. },
  13777. "goodsid": {
  13778. "description": "商品ID",
  13779. "type": "integer"
  13780. },
  13781. "goodsname": {
  13782. "description": "商品名称",
  13783. "type": "string"
  13784. },
  13785. "marketid": {
  13786. "description": "市场ID",
  13787. "type": "integer"
  13788. },
  13789. "offamount": {
  13790. "description": "优惠金额",
  13791. "type": "number"
  13792. },
  13793. "payamount": {
  13794. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13795. "type": "number"
  13796. },
  13797. "payflag": {
  13798. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13799. "type": "integer"
  13800. },
  13801. "paylimitedtime": {
  13802. "description": "支付期限",
  13803. "type": "string"
  13804. },
  13805. "paytime": {
  13806. "description": "付款时间",
  13807. "type": "string"
  13808. },
  13809. "picurls": {
  13810. "description": "商品介绍图片[多张用逗号分隔]",
  13811. "type": "string"
  13812. },
  13813. "sellaccountid": {
  13814. "description": "卖方账号ID[报价币种]",
  13815. "type": "integer"
  13816. },
  13817. "sellorderid": {
  13818. "description": "卖方委托单号",
  13819. "type": "string"
  13820. },
  13821. "tradeamount": {
  13822. "description": "成交金额",
  13823. "type": "number"
  13824. },
  13825. "tradecharge": {
  13826. "description": "成交手续费(买方)",
  13827. "type": "number"
  13828. },
  13829. "tradedate": {
  13830. "description": "交易日(yyyyMMdd)",
  13831. "type": "string"
  13832. },
  13833. "tradeid": {
  13834. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13835. "type": "string"
  13836. },
  13837. "trademode": {
  13838. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13839. "type": "integer"
  13840. },
  13841. "tradeprice": {
  13842. "description": "成交价格",
  13843. "type": "number"
  13844. },
  13845. "tradeqty": {
  13846. "description": "成交数量",
  13847. "type": "integer"
  13848. }
  13849. }
  13850. },
  13851. "models.HsbySellMyDetail": {
  13852. "type": "object",
  13853. "required": [
  13854. "accountid",
  13855. "buyorsell",
  13856. "goodscode",
  13857. "goodsid",
  13858. "goodsname",
  13859. "marketid",
  13860. "orderid",
  13861. "time",
  13862. "trademode"
  13863. ],
  13864. "properties": {
  13865. "accountid": {
  13866. "description": "账户ID[报价币种]",
  13867. "type": "integer"
  13868. },
  13869. "agreeunit": {
  13870. "description": "合约单位",
  13871. "type": "number"
  13872. },
  13873. "buyorsell": {
  13874. "description": "买卖 - 0:买 1:卖",
  13875. "type": "integer"
  13876. },
  13877. "currencysign": {
  13878. "description": "货币符号",
  13879. "type": "string"
  13880. },
  13881. "decimalplace": {
  13882. "description": "报价小数位",
  13883. "type": "integer"
  13884. },
  13885. "goodscode": {
  13886. "description": "商品代码(内部)",
  13887. "type": "string"
  13888. },
  13889. "goodsid": {
  13890. "description": "商品ID",
  13891. "type": "integer"
  13892. },
  13893. "goodsname": {
  13894. "description": "商品名称",
  13895. "type": "string"
  13896. },
  13897. "marketid": {
  13898. "description": "市场ID",
  13899. "type": "integer"
  13900. },
  13901. "orderid": {
  13902. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13903. "type": "string"
  13904. },
  13905. "ordertype": {
  13906. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13907. "type": "integer"
  13908. },
  13909. "picurls": {
  13910. "description": "介绍图片[多张用逗号分隔]",
  13911. "type": "string"
  13912. },
  13913. "price": {
  13914. "description": "价格",
  13915. "type": "number"
  13916. },
  13917. "qty": {
  13918. "description": "数量",
  13919. "type": "integer"
  13920. },
  13921. "time": {
  13922. "description": "时间",
  13923. "type": "string"
  13924. },
  13925. "trademode": {
  13926. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13927. "type": "integer"
  13928. },
  13929. "vendorname": {
  13930. "description": "供应商名称",
  13931. "type": "string"
  13932. }
  13933. }
  13934. },
  13935. "models.HsbyTopGoods": {
  13936. "type": "object",
  13937. "required": [
  13938. "goodscode",
  13939. "goodsid",
  13940. "goodsname",
  13941. "marketid",
  13942. "trademode"
  13943. ],
  13944. "properties": {
  13945. "agreeunit": {
  13946. "description": "合约单位",
  13947. "type": "number"
  13948. },
  13949. "currency": {
  13950. "description": "货币",
  13951. "type": "string"
  13952. },
  13953. "currencysign": {
  13954. "description": "货币符号",
  13955. "type": "string"
  13956. },
  13957. "decimalplace": {
  13958. "description": "报价小数位",
  13959. "type": "integer"
  13960. },
  13961. "desccityid": {
  13962. "description": "目的地(市)",
  13963. "type": "integer"
  13964. },
  13965. "descprovinceid": {
  13966. "description": "目的地(省)",
  13967. "type": "integer"
  13968. },
  13969. "goodscode": {
  13970. "description": "商品代码(内部)",
  13971. "type": "string"
  13972. },
  13973. "goodsid": {
  13974. "description": "商品ID(自增ID SEQ_GOODS)",
  13975. "type": "integer"
  13976. },
  13977. "goodsname": {
  13978. "description": "商品名称",
  13979. "type": "string"
  13980. },
  13981. "hotindex": {
  13982. "description": "景点热度",
  13983. "type": "integer"
  13984. },
  13985. "last": {
  13986. "description": "现价",
  13987. "type": "number"
  13988. },
  13989. "marketid": {
  13990. "description": "所属市场ID",
  13991. "type": "integer"
  13992. },
  13993. "picurls": {
  13994. "description": "介绍图片[多张用逗号分隔]",
  13995. "type": "string"
  13996. },
  13997. "quoteminunit": {
  13998. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13999. "type": "integer"
  14000. },
  14001. "trademode": {
  14002. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14003. "type": "integer"
  14004. },
  14005. "videourls": {
  14006. "description": "介绍视频[多张用逗号分隔]",
  14007. "type": "string"
  14008. }
  14009. }
  14010. },
  14011. "models.HybsMyBuyOrderDetail": {
  14012. "type": "object",
  14013. "required": [
  14014. "accountid",
  14015. "buyorsell",
  14016. "goodscode",
  14017. "goodsid",
  14018. "goodsname",
  14019. "marketid",
  14020. "orderid",
  14021. "orderqty",
  14022. "ordertime",
  14023. "trademode"
  14024. ],
  14025. "properties": {
  14026. "accountid": {
  14027. "description": "账户ID[报价币种]",
  14028. "type": "integer"
  14029. },
  14030. "agreeunit": {
  14031. "description": "合约单位",
  14032. "type": "number"
  14033. },
  14034. "buyorsell": {
  14035. "description": "买卖 - 0:买 1:卖",
  14036. "type": "integer"
  14037. },
  14038. "cancelqty": {
  14039. "description": "撤单数量",
  14040. "type": "integer"
  14041. },
  14042. "currencysign": {
  14043. "description": "货币符号",
  14044. "type": "string"
  14045. },
  14046. "decimalplace": {
  14047. "description": "报价小数位",
  14048. "type": "integer"
  14049. },
  14050. "goodscode": {
  14051. "description": "商品代码(内部)",
  14052. "type": "string"
  14053. },
  14054. "goodsid": {
  14055. "description": "商品ID",
  14056. "type": "integer"
  14057. },
  14058. "goodsname": {
  14059. "description": "商品名称",
  14060. "type": "string"
  14061. },
  14062. "listingselecttype": {
  14063. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14064. "type": "integer"
  14065. },
  14066. "marketid": {
  14067. "description": "市场ID",
  14068. "type": "integer"
  14069. },
  14070. "mybuystatus": {
  14071. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14072. "type": "integer"
  14073. },
  14074. "orderamount": {
  14075. "description": "委托金额",
  14076. "type": "number"
  14077. },
  14078. "orderid": {
  14079. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14080. "type": "string"
  14081. },
  14082. "orderprice": {
  14083. "description": "委托价格",
  14084. "type": "number"
  14085. },
  14086. "orderqty": {
  14087. "description": "委托数量",
  14088. "type": "integer"
  14089. },
  14090. "orderstatus": {
  14091. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14092. "type": "integer"
  14093. },
  14094. "ordertime": {
  14095. "description": "委托时间",
  14096. "type": "string"
  14097. },
  14098. "picurls1": {
  14099. "description": "预售商品介绍图片[多张用逗号分隔]",
  14100. "type": "string"
  14101. },
  14102. "picurls2": {
  14103. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14104. "type": "string"
  14105. },
  14106. "trademode": {
  14107. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14108. "type": "integer"
  14109. },
  14110. "tradeqty": {
  14111. "description": "成交数量",
  14112. "type": "integer"
  14113. },
  14114. "vendorname1": {
  14115. "description": "预售商品供应商名称",
  14116. "type": "string"
  14117. },
  14118. "vendorname2": {
  14119. "description": "挂牌商品供应商名称",
  14120. "type": "string"
  14121. }
  14122. }
  14123. },
  14124. "models.Loginaccount": {
  14125. "type": "object",
  14126. "required": [
  14127. "loginid"
  14128. ],
  14129. "properties": {
  14130. "canoutin": {
  14131. "description": "是否可出入金 - 0:不可 1:可",
  14132. "type": "integer"
  14133. },
  14134. "clientroleid": {
  14135. "description": "终端角色ID",
  14136. "type": "integer"
  14137. },
  14138. "haslogined": {
  14139. "description": "是否已登录 - 0:未登录 1:已登录",
  14140. "type": "integer"
  14141. },
  14142. "hasupdatedpwd": {
  14143. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14144. "type": "integer"
  14145. },
  14146. "lastloginip": {
  14147. "description": "最新登录地址",
  14148. "type": "string"
  14149. },
  14150. "lastloginmode": {
  14151. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14152. "type": "integer"
  14153. },
  14154. "lastloginremark": {
  14155. "description": "最新登录描述",
  14156. "type": "string"
  14157. },
  14158. "lastlogintime": {
  14159. "description": "最新登录时间",
  14160. "type": "string"
  14161. },
  14162. "logincode": {
  14163. "description": "登录代码",
  14164. "type": "string"
  14165. },
  14166. "loginfailnum": {
  14167. "description": "连续登录失败次数(登录成功时清零)",
  14168. "type": "integer"
  14169. },
  14170. "loginid": {
  14171. "description": "登陆账号",
  14172. "type": "integer"
  14173. },
  14174. "loginport": {
  14175. "description": "最新登录端口",
  14176. "type": "integer"
  14177. },
  14178. "loginstatus": {
  14179. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14180. "type": "integer"
  14181. },
  14182. "loginusertype": {
  14183. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14184. "type": "integer"
  14185. },
  14186. "modifierid": {
  14187. "description": "修改人",
  14188. "type": "integer"
  14189. },
  14190. "modifytime": {
  14191. "description": "修改时间",
  14192. "type": "string"
  14193. },
  14194. "password": {
  14195. "description": "登陆密码",
  14196. "type": "string"
  14197. },
  14198. "pwdwrongcount": {
  14199. "description": "密码错误次数",
  14200. "type": "integer"
  14201. },
  14202. "taaccountrighttype": {
  14203. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14204. "type": "integer"
  14205. },
  14206. "unfreezetime": {
  14207. "description": "账户解冻时间",
  14208. "type": "string"
  14209. },
  14210. "userid": {
  14211. "description": "用户ID",
  14212. "type": "integer"
  14213. }
  14214. }
  14215. },
  14216. "models.Market": {
  14217. "type": "object",
  14218. "required": [
  14219. "marketid",
  14220. "marketstatus",
  14221. "openmethod",
  14222. "reckonpricealgorithm",
  14223. "trademode",
  14224. "tradeproperty"
  14225. ],
  14226. "properties": {
  14227. "auctionwrtype": {
  14228. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14229. "type": "integer"
  14230. },
  14231. "canacceptquote": {
  14232. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14233. "type": "integer"
  14234. },
  14235. "cangoodsexercise": {
  14236. "description": "[期权]是否可现货行权- 0:否 1:是",
  14237. "type": "integer"
  14238. },
  14239. "cangoodsexercisetype": {
  14240. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14241. "type": "integer"
  14242. },
  14243. "canmanualquotestrike": {
  14244. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14245. "type": "integer"
  14246. },
  14247. "canmutistage": {
  14248. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14249. "type": "integer"
  14250. },
  14251. "canpreexercise": {
  14252. "description": "[期权]是否可预申报- 0:否 1:是",
  14253. "type": "integer"
  14254. },
  14255. "clearinterval": {
  14256. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14257. "type": "integer"
  14258. },
  14259. "contracttmp": {
  14260. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14261. "type": "string"
  14262. },
  14263. "exchareaid": {
  14264. "description": "所属交易所,可以没有",
  14265. "type": "integer"
  14266. },
  14267. "goodstype": {
  14268. "description": "商品类型 - 1:交易商品 2:仓单商品",
  14269. "type": "integer"
  14270. },
  14271. "hasrebate": {
  14272. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  14273. "type": "integer"
  14274. },
  14275. "hastradecredit": {
  14276. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  14277. "type": "integer"
  14278. },
  14279. "haswr": {
  14280. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  14281. "type": "integer"
  14282. },
  14283. "isdeductmargin": {
  14284. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  14285. "type": "integer"
  14286. },
  14287. "isrecordsource": {
  14288. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  14289. "type": "integer"
  14290. },
  14291. "isreleasemargin": {
  14292. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  14293. "type": "integer"
  14294. },
  14295. "marginformula": {
  14296. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14297. "type": "integer"
  14298. },
  14299. "marginformula2": {
  14300. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14301. "type": "integer"
  14302. },
  14303. "marketid": {
  14304. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14305. "type": "integer"
  14306. },
  14307. "marketname": {
  14308. "description": "市场名称",
  14309. "type": "string"
  14310. },
  14311. "marketserviceid": {
  14312. "description": "市场服务ID",
  14313. "type": "integer"
  14314. },
  14315. "marketstatus": {
  14316. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14317. "type": "integer"
  14318. },
  14319. "markettype": {
  14320. "description": "市场类型- 1:非交易服务 2:交易服务",
  14321. "type": "integer"
  14322. },
  14323. "matchermode": {
  14324. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14325. "type": "integer"
  14326. },
  14327. "openmethod": {
  14328. "description": "开盘模式 - 0 自动 1手动",
  14329. "type": "integer"
  14330. },
  14331. "otcuserid": {
  14332. "description": "场外期权做市商[场外期权]",
  14333. "type": "integer"
  14334. },
  14335. "outersynctime": {
  14336. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14337. "type": "string"
  14338. },
  14339. "pendingflag": {
  14340. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14341. "type": "integer"
  14342. },
  14343. "pendingtime": {
  14344. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14345. "type": "string"
  14346. },
  14347. "performancetempid": {
  14348. "description": "履约计划模板ID - 作废",
  14349. "type": "integer"
  14350. },
  14351. "premiumquotemode": {
  14352. "description": "权利金报价方式 - 1:自动 2:手动",
  14353. "type": "integer"
  14354. },
  14355. "rebateratio": {
  14356. "description": "返利比率[竞价式]",
  14357. "type": "number"
  14358. },
  14359. "reckonorder": {
  14360. "description": "结算顺序",
  14361. "type": "integer"
  14362. },
  14363. "reckonpricealgorithm": {
  14364. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14365. "type": "integer"
  14366. },
  14367. "reckonpriceparam": {
  14368. "description": "结算价参数",
  14369. "type": "integer"
  14370. },
  14371. "reckontime": {
  14372. "description": "结算时间[通道交易-对冲](HH:mm)",
  14373. "type": "string"
  14374. },
  14375. "roleprioritytype": {
  14376. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14377. "type": "integer"
  14378. },
  14379. "selllistingauditflag": {
  14380. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14381. "type": "integer"
  14382. },
  14383. "trademarkettype": {
  14384. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14385. "type": "integer"
  14386. },
  14387. "trademode": {
  14388. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14389. "type": "integer"
  14390. },
  14391. "tradeproperty": {
  14392. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14393. "type": "integer"
  14394. },
  14395. "tradetype": {
  14396. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14397. "type": "integer"
  14398. }
  14399. }
  14400. },
  14401. "models.Marketrun": {
  14402. "type": "object",
  14403. "required": [
  14404. "marketid",
  14405. "nexttradedate",
  14406. "reckonflag",
  14407. "runstatus",
  14408. "tradedate",
  14409. "tradedate2"
  14410. ],
  14411. "properties": {
  14412. "afternexttradedate": {
  14413. "description": "下下交易日",
  14414. "type": "string"
  14415. },
  14416. "clearquoteflag": {
  14417. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14418. "type": "integer"
  14419. },
  14420. "lastreckondate": {
  14421. "description": "最新交易日(结算成功)",
  14422. "type": "string"
  14423. },
  14424. "machinedate": {
  14425. "description": "机器时间",
  14426. "type": "string"
  14427. },
  14428. "manualflag": {
  14429. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14430. "type": "integer"
  14431. },
  14432. "marketid": {
  14433. "description": "市场ID",
  14434. "type": "integer"
  14435. },
  14436. "nexttradedate": {
  14437. "description": "下一交易日",
  14438. "type": "string"
  14439. },
  14440. "pretradedate": {
  14441. "description": "上一交易日",
  14442. "type": "string"
  14443. },
  14444. "reckonflag": {
  14445. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14446. "type": "integer"
  14447. },
  14448. "runstatus": {
  14449. "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.今日免清算",
  14450. "type": "integer"
  14451. },
  14452. "sectionid": {
  14453. "description": "时间段号[多时段时用]",
  14454. "type": "integer"
  14455. },
  14456. "tradedate": {
  14457. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14458. "type": "string"
  14459. },
  14460. "tradedate2": {
  14461. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14462. "type": "string"
  14463. },
  14464. "updatetime": {
  14465. "description": "更新时间",
  14466. "type": "string"
  14467. }
  14468. }
  14469. },
  14470. "models.Messageboard": {
  14471. "type": "object",
  14472. "required": [
  14473. "messageboardid"
  14474. ],
  14475. "properties": {
  14476. "contactnum": {
  14477. "description": "联系电话",
  14478. "type": "string"
  14479. },
  14480. "createtime": {
  14481. "description": "创建时间",
  14482. "type": "string"
  14483. },
  14484. "message": {
  14485. "description": "留言信息",
  14486. "type": "string"
  14487. },
  14488. "messageboardid": {
  14489. "description": "留言簿ID(SEQ_MessageBoard)",
  14490. "type": "integer"
  14491. },
  14492. "userid": {
  14493. "description": "用户ID",
  14494. "type": "integer"
  14495. }
  14496. }
  14497. },
  14498. "models.MyCoupon": {
  14499. "type": "object",
  14500. "required": [
  14501. "accountid",
  14502. "coupontypeid"
  14503. ],
  14504. "properties": {
  14505. "accountid": {
  14506. "description": "资金账户ID",
  14507. "type": "integer"
  14508. },
  14509. "areauserid": {
  14510. "description": "所属机构",
  14511. "type": "integer"
  14512. },
  14513. "conditionvalue": {
  14514. "description": "条件阈值(可为0)",
  14515. "type": "number"
  14516. },
  14517. "couponcategroy": {
  14518. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14519. "type": "integer"
  14520. },
  14521. "couponname": {
  14522. "description": "优惠券名称",
  14523. "type": "string"
  14524. },
  14525. "coupontypeid": {
  14526. "description": "优惠券类型ID",
  14527. "type": "string"
  14528. },
  14529. "couponvalue": {
  14530. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14531. "type": "number"
  14532. },
  14533. "curfreezeqty": {
  14534. "description": "期末冻结数量",
  14535. "type": "integer"
  14536. },
  14537. "curqty": {
  14538. "description": "期末数量",
  14539. "type": "integer"
  14540. },
  14541. "isgeneral": {
  14542. "description": "是否通用券 - 0:否 1:是",
  14543. "type": "integer"
  14544. },
  14545. "isunusable": {
  14546. "description": "是否不可用",
  14547. "type": "boolean"
  14548. },
  14549. "limitedflag": {
  14550. "description": "是否指定商品 - 0:不限 1:限制",
  14551. "type": "integer"
  14552. },
  14553. "limitedgoodsids": {
  14554. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14555. "type": "string"
  14556. },
  14557. "orifreezeqty": {
  14558. "description": "期初冻结数量",
  14559. "type": "integer"
  14560. },
  14561. "oriqty": {
  14562. "description": "期初数量",
  14563. "type": "integer"
  14564. },
  14565. "reasontype": {
  14566. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14567. "type": "integer"
  14568. },
  14569. "todaydecrease": {
  14570. "description": "今日减少",
  14571. "type": "integer"
  14572. },
  14573. "todayincrease": {
  14574. "description": "今日增加",
  14575. "type": "integer"
  14576. },
  14577. "userid": {
  14578. "description": "用户ID",
  14579. "type": "integer"
  14580. },
  14581. "userscope": {
  14582. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14583. "type": "string"
  14584. }
  14585. }
  14586. },
  14587. "models.MyCouponHold": {
  14588. "type": "object",
  14589. "required": [
  14590. "couponholdid"
  14591. ],
  14592. "properties": {
  14593. "accountid": {
  14594. "description": "资金账户ID",
  14595. "type": "integer"
  14596. },
  14597. "conditionvalue": {
  14598. "description": "条件阈值(可为0)",
  14599. "type": "number"
  14600. },
  14601. "couponcategroy": {
  14602. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14603. "type": "integer"
  14604. },
  14605. "couponholdid": {
  14606. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14607. "type": "string"
  14608. },
  14609. "couponname": {
  14610. "description": "优惠券名称",
  14611. "type": "string"
  14612. },
  14613. "coupontypeid": {
  14614. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14615. "type": "string"
  14616. },
  14617. "couponvalue": {
  14618. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14619. "type": "number"
  14620. },
  14621. "createtime": {
  14622. "description": "创建时间",
  14623. "type": "string"
  14624. },
  14625. "enddate": {
  14626. "description": "结束日期",
  14627. "type": "string"
  14628. },
  14629. "giveapplyid": {
  14630. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14631. "type": "integer"
  14632. },
  14633. "holdstatus": {
  14634. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14635. "type": "integer"
  14636. },
  14637. "isgeneral": {
  14638. "description": "是否通用券 - 0:否 1:是",
  14639. "type": "integer"
  14640. },
  14641. "limitedflag": {
  14642. "description": "是否指定商品 - 0:不限 1:限制",
  14643. "type": "integer"
  14644. },
  14645. "limitedgoodsids": {
  14646. "description": "指定商品IDs[逗号分隔]",
  14647. "type": "string"
  14648. },
  14649. "qty": {
  14650. "description": "数量(按1平铺)",
  14651. "type": "integer"
  14652. },
  14653. "startdate": {
  14654. "description": "开始日期",
  14655. "type": "string"
  14656. },
  14657. "userid": {
  14658. "description": "用户ID",
  14659. "type": "integer"
  14660. },
  14661. "userscope": {
  14662. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14663. "type": "string"
  14664. }
  14665. }
  14666. },
  14667. "models.MyUsedCoupon": {
  14668. "type": "object",
  14669. "required": [
  14670. "coupontypeid",
  14671. "orderid"
  14672. ],
  14673. "properties": {
  14674. "accountid": {
  14675. "description": "资金账户ID(买方)",
  14676. "type": "integer"
  14677. },
  14678. "conditionvalue": {
  14679. "description": "条件阈值(可为0)",
  14680. "type": "number"
  14681. },
  14682. "couponcategroy": {
  14683. "description": "种类 - 1:现金券 2:折扣券",
  14684. "type": "integer"
  14685. },
  14686. "couponname": {
  14687. "description": "优惠券名称",
  14688. "type": "string"
  14689. },
  14690. "coupontypeid": {
  14691. "description": "优惠券类型ID(买方)",
  14692. "type": "string"
  14693. },
  14694. "couponvalue": {
  14695. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14696. "type": "number"
  14697. },
  14698. "createtime": {
  14699. "description": "创建时间",
  14700. "type": "string"
  14701. },
  14702. "goodsid": {
  14703. "description": "商品ID",
  14704. "type": "integer"
  14705. },
  14706. "handlestatus": {
  14707. "description": "处理状态",
  14708. "type": "integer"
  14709. },
  14710. "marketid": {
  14711. "description": "市场ID",
  14712. "type": "integer"
  14713. },
  14714. "offamount": {
  14715. "description": "优惠金额",
  14716. "type": "number"
  14717. },
  14718. "orderid": {
  14719. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14720. "type": "string"
  14721. },
  14722. "sellaccountid": {
  14723. "description": "资金账户ID(卖方)",
  14724. "type": "integer"
  14725. },
  14726. "tradeamount": {
  14727. "description": "成交金额",
  14728. "type": "number"
  14729. },
  14730. "tradeid": {
  14731. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14732. "type": "string"
  14733. },
  14734. "usedqty": {
  14735. "description": "使用数量",
  14736. "type": "integer"
  14737. }
  14738. }
  14739. },
  14740. "models.OperationPrimaryMenu": {
  14741. "type": "object",
  14742. "properties": {
  14743. "Children": {
  14744. "description": "二级功能菜单",
  14745. "type": "array",
  14746. "items": {
  14747. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14748. }
  14749. },
  14750. "Key": {
  14751. "description": "菜单KEY",
  14752. "type": "string"
  14753. },
  14754. "Label": {
  14755. "description": "菜单标题",
  14756. "type": "string"
  14757. }
  14758. }
  14759. },
  14760. "models.OperationSecondaryMenu": {
  14761. "type": "object",
  14762. "properties": {
  14763. "Key": {
  14764. "description": "菜单KEY",
  14765. "type": "string"
  14766. },
  14767. "Label": {
  14768. "description": "菜单标题",
  14769. "type": "string"
  14770. },
  14771. "TabList": {
  14772. "description": "三级功能菜单",
  14773. "type": "array",
  14774. "items": {
  14775. "$ref": "#/definitions/models.OperationTabMenu"
  14776. }
  14777. }
  14778. }
  14779. },
  14780. "models.OperationTabMenu": {
  14781. "type": "object",
  14782. "properties": {
  14783. "Key": {
  14784. "description": "菜单KEY",
  14785. "type": "string"
  14786. },
  14787. "Label": {
  14788. "description": "菜单标题",
  14789. "type": "string"
  14790. }
  14791. }
  14792. },
  14793. "models.QueryErrorInfosRsp": {
  14794. "type": "object",
  14795. "required": [
  14796. "errorid"
  14797. ],
  14798. "properties": {
  14799. "description": {
  14800. "description": "异常描述",
  14801. "type": "string"
  14802. },
  14803. "errorcode": {
  14804. "description": "异常代码",
  14805. "type": "string"
  14806. },
  14807. "errorid": {
  14808. "description": "异常ID",
  14809. "type": "integer"
  14810. },
  14811. "modulecode": {
  14812. "description": "所属模块",
  14813. "type": "string"
  14814. },
  14815. "operatecode": {
  14816. "description": "所属操作",
  14817. "type": "string"
  14818. },
  14819. "rownumber": {
  14820. "description": "行号",
  14821. "type": "string"
  14822. }
  14823. }
  14824. },
  14825. "models.QueryHedgeOrderDetailRsp": {
  14826. "type": "object",
  14827. "properties": {
  14828. "accountid": {
  14829. "description": "账户ID",
  14830. "type": "integer"
  14831. },
  14832. "buyorsell": {
  14833. "description": "买卖 - 0:买 1:卖",
  14834. "type": "integer"
  14835. },
  14836. "channelbuildtype": {
  14837. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  14838. "type": "integer"
  14839. },
  14840. "channelinnerorderstatus": {
  14841. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  14842. "type": "integer"
  14843. },
  14844. "channeloperatetype": {
  14845. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  14846. "type": "integer"
  14847. },
  14848. "closetype": {
  14849. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14850. "type": "integer"
  14851. },
  14852. "curexchangerate": {
  14853. "description": "当前汇率",
  14854. "type": "number"
  14855. },
  14856. "exchangefullname": {
  14857. "description": "外部交易所全称",
  14858. "type": "string"
  14859. },
  14860. "goodscode": {
  14861. "description": "商品代码(内部)",
  14862. "type": "string"
  14863. },
  14864. "goodsid": {
  14865. "description": "商品ID",
  14866. "type": "integer"
  14867. },
  14868. "goodsname": {
  14869. "description": "商品名称",
  14870. "type": "string"
  14871. },
  14872. "marketid": {
  14873. "description": "市场ID",
  14874. "type": "integer"
  14875. },
  14876. "openfreezemargin": {
  14877. "description": "冻结保证金(冻结交易金额)",
  14878. "type": "number"
  14879. },
  14880. "orderid": {
  14881. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14882. "type": "string"
  14883. },
  14884. "orderprice": {
  14885. "description": "委托价格(账户)",
  14886. "type": "number"
  14887. },
  14888. "orderqty": {
  14889. "description": "委托数量",
  14890. "type": "integer"
  14891. },
  14892. "ordertime": {
  14893. "description": "委托时间",
  14894. "type": "string"
  14895. },
  14896. "pricemode": {
  14897. "description": "取价方式 - 1:市价 2: 限价",
  14898. "type": "integer"
  14899. },
  14900. "tradedate": {
  14901. "description": "交易日(yyyyMMdd)",
  14902. "type": "string"
  14903. },
  14904. "tradeqty": {
  14905. "description": "成交数量",
  14906. "type": "integer"
  14907. }
  14908. }
  14909. },
  14910. "models.QueryHedgeTradeDetailRsp": {
  14911. "type": "object",
  14912. "properties": {
  14913. "accountid": {
  14914. "description": "账号ID",
  14915. "type": "integer"
  14916. },
  14917. "buyorsell": {
  14918. "description": "方向 - 0:买 1:卖",
  14919. "type": "integer"
  14920. },
  14921. "channelbuildtype": {
  14922. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14923. "type": "integer"
  14924. },
  14925. "closecharge": {
  14926. "description": "平仓手续费(账户)",
  14927. "type": "number"
  14928. },
  14929. "closecharge2": {
  14930. "description": "平仓手续费(商品)",
  14931. "type": "number"
  14932. },
  14933. "closetype": {
  14934. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14935. "type": "integer"
  14936. },
  14937. "curexchangerate": {
  14938. "description": "当前汇率",
  14939. "type": "number"
  14940. },
  14941. "exchangefullname": {
  14942. "description": "外部交易所全称",
  14943. "type": "string"
  14944. },
  14945. "goodscode": {
  14946. "description": "商品代码(内部)",
  14947. "type": "string"
  14948. },
  14949. "goodsid": {
  14950. "description": "商品ID",
  14951. "type": "integer"
  14952. },
  14953. "goodsname": {
  14954. "description": "商品名称",
  14955. "type": "string"
  14956. },
  14957. "marketid": {
  14958. "description": "市场ID",
  14959. "type": "integer"
  14960. },
  14961. "opencharge": {
  14962. "description": "建仓手续费(账户)",
  14963. "type": "number"
  14964. },
  14965. "opencharge2": {
  14966. "description": "建仓手续费(商品)",
  14967. "type": "number"
  14968. },
  14969. "orderid": {
  14970. "description": "委托单号",
  14971. "type": "string"
  14972. },
  14973. "tradeamount": {
  14974. "description": "成交金额(账户)",
  14975. "type": "number"
  14976. },
  14977. "tradedate": {
  14978. "description": "交易日(yyyyMMdd)",
  14979. "type": "string"
  14980. },
  14981. "tradeid": {
  14982. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14983. "type": "string"
  14984. },
  14985. "tradeprice": {
  14986. "description": "成交价格",
  14987. "type": "number"
  14988. },
  14989. "tradeqty": {
  14990. "description": "成交数量",
  14991. "type": "integer"
  14992. },
  14993. "tradetime": {
  14994. "description": "成交时间",
  14995. "type": "string"
  14996. },
  14997. "tradetype": {
  14998. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  14999. "type": "integer"
  15000. }
  15001. }
  15002. },
  15003. "models.QuotePrimaryMenu": {
  15004. "type": "object",
  15005. "properties": {
  15006. "Index": {
  15007. "description": "序号",
  15008. "type": "integer"
  15009. },
  15010. "Key": {
  15011. "description": "键名",
  15012. "type": "string"
  15013. },
  15014. "Name": {
  15015. "description": "菜单名称",
  15016. "type": "string"
  15017. },
  15018. "SubMenus": {
  15019. "description": "子菜单",
  15020. "type": "array",
  15021. "items": {
  15022. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15023. }
  15024. },
  15025. "SubTitleType": {
  15026. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15027. "type": "integer"
  15028. },
  15029. "TradeModes": {
  15030. "description": "包含市场交易类型",
  15031. "type": "string"
  15032. }
  15033. }
  15034. },
  15035. "models.QuoteSecondaryMenu": {
  15036. "type": "object",
  15037. "properties": {
  15038. "ExExchangeCode": {
  15039. "description": "外部交易所代码",
  15040. "type": "string"
  15041. },
  15042. "ExExchangeID": {
  15043. "description": "外部交易所ID",
  15044. "type": "integer"
  15045. },
  15046. "GoodsGroupIDs": {
  15047. "description": "商品组ID列表",
  15048. "type": "array",
  15049. "items": {
  15050. "type": "integer"
  15051. }
  15052. },
  15053. "Index": {
  15054. "description": "序号",
  15055. "type": "integer"
  15056. },
  15057. "MarketID": {
  15058. "description": "市场ID",
  15059. "type": "integer"
  15060. },
  15061. "MenuTitle": {
  15062. "description": "菜单标题(市场名称或外部交易所名称)",
  15063. "type": "string"
  15064. },
  15065. "TradeMode": {
  15066. "description": "交易模式",
  15067. "type": "integer"
  15068. }
  15069. }
  15070. },
  15071. "models.SearchGoods": {
  15072. "type": "object",
  15073. "required": [
  15074. "goodscode",
  15075. "goodsid",
  15076. "goodsname",
  15077. "marketid",
  15078. "trademode"
  15079. ],
  15080. "properties": {
  15081. "goodscode": {
  15082. "description": "商品代码(内部)",
  15083. "type": "string"
  15084. },
  15085. "goodsid": {
  15086. "description": "商品ID(自增ID SEQ_GOODS)",
  15087. "type": "integer"
  15088. },
  15089. "goodsname": {
  15090. "description": "商品名称",
  15091. "type": "string"
  15092. },
  15093. "marketid": {
  15094. "description": "所属市场ID",
  15095. "type": "integer"
  15096. },
  15097. "marketname": {
  15098. "description": "市场名称",
  15099. "type": "string"
  15100. },
  15101. "trademode": {
  15102. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15103. "type": "integer"
  15104. }
  15105. }
  15106. },
  15107. "models.Szdz3convertconfig": {
  15108. "type": "object",
  15109. "required": [
  15110. "converttype",
  15111. "innergoodsid",
  15112. "outergoodscode"
  15113. ],
  15114. "properties": {
  15115. "canin": {
  15116. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15117. "type": "integer"
  15118. },
  15119. "canout": {
  15120. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15121. "type": "integer"
  15122. },
  15123. "converttype": {
  15124. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15125. "type": "integer"
  15126. },
  15127. "createtime": {
  15128. "description": "创建时间",
  15129. "type": "string"
  15130. },
  15131. "creatorid": {
  15132. "description": "创建人",
  15133. "type": "integer"
  15134. },
  15135. "daymaxvalue": {
  15136. "description": "当日最大转入限制",
  15137. "type": "number"
  15138. },
  15139. "freezedays": {
  15140. "description": "冻结天数 [5:花生米转交易]",
  15141. "type": "integer"
  15142. },
  15143. "innergoodsid": {
  15144. "description": "内部商品ID[交易]",
  15145. "type": "integer"
  15146. },
  15147. "inratio": {
  15148. "description": "目标值",
  15149. "type": "integer"
  15150. },
  15151. "modifierid": {
  15152. "description": "修改人",
  15153. "type": "integer"
  15154. },
  15155. "modifytime": {
  15156. "description": "修改时间",
  15157. "type": "string"
  15158. },
  15159. "outergoodscode": {
  15160. "description": "外部商品代码[JD\\PD]",
  15161. "type": "string"
  15162. },
  15163. "outratio": {
  15164. "description": "源值",
  15165. "type": "integer"
  15166. },
  15167. "pddecimalplace": {
  15168. "description": "PD小数位",
  15169. "type": "integer"
  15170. },
  15171. "timemaxvalue": {
  15172. "description": "单次最大转入限制",
  15173. "type": "number"
  15174. },
  15175. "timeminvalue": {
  15176. "description": "单次最小转入限制",
  15177. "type": "number"
  15178. }
  15179. }
  15180. },
  15181. "models.Szdz3searchwhitelist": {
  15182. "type": "object",
  15183. "required": [
  15184. "userid"
  15185. ],
  15186. "properties": {
  15187. "createtime": {
  15188. "description": "创建时间",
  15189. "type": "string"
  15190. },
  15191. "creatorid": {
  15192. "description": "创建人",
  15193. "type": "integer"
  15194. },
  15195. "modifierid": {
  15196. "description": "修改人",
  15197. "type": "integer"
  15198. },
  15199. "modifytime": {
  15200. "description": "修改时间",
  15201. "type": "string"
  15202. },
  15203. "userid": {
  15204. "description": "用户ID",
  15205. "type": "integer"
  15206. }
  15207. }
  15208. },
  15209. "models.Taaccount": {
  15210. "type": "object",
  15211. "required": [
  15212. "accountid",
  15213. "userid"
  15214. ],
  15215. "properties": {
  15216. "accountflag": {
  15217. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  15218. "type": "integer"
  15219. },
  15220. "accountid": {
  15221. "description": "资金账户ID",
  15222. "type": "integer"
  15223. },
  15224. "accountname": {
  15225. "description": "账户名称",
  15226. "type": "string"
  15227. },
  15228. "balance": {
  15229. "description": "期初余额",
  15230. "type": "number"
  15231. },
  15232. "capitalbalance": {
  15233. "description": "本金余额[外部子账户实际出入金余额]",
  15234. "type": "number"
  15235. },
  15236. "changeflag": {
  15237. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  15238. "type": "integer"
  15239. },
  15240. "changetime": {
  15241. "description": "账户状态变更时间",
  15242. "type": "string"
  15243. },
  15244. "closepl": {
  15245. "description": "今日平仓盈亏",
  15246. "type": "number"
  15247. },
  15248. "creditdecrease": {
  15249. "description": "今日授信减少",
  15250. "type": "number"
  15251. },
  15252. "creditincrease": {
  15253. "description": "今日授信增加",
  15254. "type": "number"
  15255. },
  15256. "currencyid": {
  15257. "description": "货币ID",
  15258. "type": "integer"
  15259. },
  15260. "currentbalance": {
  15261. "description": "期末余额",
  15262. "type": "number"
  15263. },
  15264. "freezecharge": {
  15265. "description": "手续费冻结",
  15266. "type": "number"
  15267. },
  15268. "freezemargin": {
  15269. "description": "冻结保证金",
  15270. "type": "number"
  15271. },
  15272. "fromaccountid": {
  15273. "description": "所属上级账户",
  15274. "type": "integer"
  15275. },
  15276. "inamount": {
  15277. "description": "今日入金金额(包括三方入金)",
  15278. "type": "number"
  15279. },
  15280. "ismain": {
  15281. "description": "是否母账号 0:不是母账户 1:是母账户",
  15282. "type": "integer"
  15283. },
  15284. "ismarketaccount": {
  15285. "description": "是否机构接单账号 0:不是 1:是",
  15286. "type": "integer"
  15287. },
  15288. "isreckonaccount": {
  15289. "description": "是否机构分润账号 0:不是 1:是",
  15290. "type": "integer"
  15291. },
  15292. "mortgagecredit": {
  15293. "description": "授信金额",
  15294. "type": "number"
  15295. },
  15296. "orifreezecharge": {
  15297. "description": "期初手续费冻结",
  15298. "type": "number"
  15299. },
  15300. "orifreezemargin": {
  15301. "description": "期初冻结保证金",
  15302. "type": "number"
  15303. },
  15304. "orimortgagecredit": {
  15305. "description": "期初授信金额",
  15306. "type": "number"
  15307. },
  15308. "oriothercredit": {
  15309. "description": "期初其它授信金额",
  15310. "type": "number"
  15311. },
  15312. "oriotherfreezemargin": {
  15313. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15314. "type": "number"
  15315. },
  15316. "orioutamountfreeze": {
  15317. "description": "期初出金冻结",
  15318. "type": "number"
  15319. },
  15320. "oriusedmargin": {
  15321. "description": "期初占用保证金",
  15322. "type": "number"
  15323. },
  15324. "othercredit": {
  15325. "description": "其它授信金额",
  15326. "type": "number"
  15327. },
  15328. "othercreditdecrease": {
  15329. "description": "今日其它授信减少",
  15330. "type": "number"
  15331. },
  15332. "othercreditincrease": {
  15333. "description": "今日其它授信增加",
  15334. "type": "number"
  15335. },
  15336. "otherfreezemargin": {
  15337. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15338. "type": "number"
  15339. },
  15340. "otherincome": {
  15341. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15342. "type": "number"
  15343. },
  15344. "otherpay": {
  15345. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15346. "type": "number"
  15347. },
  15348. "outamount": {
  15349. "description": "今日出金金额(包括三方出金)",
  15350. "type": "number"
  15351. },
  15352. "outamountfreeze": {
  15353. "description": "出金冻结",
  15354. "type": "number"
  15355. },
  15356. "outthreshold": {
  15357. "description": "出金阈值",
  15358. "type": "number"
  15359. },
  15360. "parentaccountid": {
  15361. "description": "所属根账号",
  15362. "type": "integer"
  15363. },
  15364. "paycharge": {
  15365. "description": "今日手续费支出",
  15366. "type": "number"
  15367. },
  15368. "relatedaccountstatus": {
  15369. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15370. "type": "integer"
  15371. },
  15372. "relateduserid": {
  15373. "description": "关联用户",
  15374. "type": "integer"
  15375. },
  15376. "serivcegroup": {
  15377. "description": "服务分组",
  15378. "type": "integer"
  15379. },
  15380. "signstatus": {
  15381. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15382. "type": "integer"
  15383. },
  15384. "sublevelpath": {
  15385. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15386. "type": "string"
  15387. },
  15388. "taaccounttype": {
  15389. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15390. "type": "integer"
  15391. },
  15392. "thirdinamount": {
  15393. "description": "今日三方入金",
  15394. "type": "number"
  15395. },
  15396. "thirdoutamount": {
  15397. "description": "今日三方出金",
  15398. "type": "number"
  15399. },
  15400. "tradestatus": {
  15401. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15402. "type": "integer"
  15403. },
  15404. "tradestatuschangetime": {
  15405. "description": "激活时间",
  15406. "type": "string"
  15407. },
  15408. "transferamount": {
  15409. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15410. "type": "number"
  15411. },
  15412. "usedmargin": {
  15413. "description": "占用保证金",
  15414. "type": "number"
  15415. },
  15416. "userid": {
  15417. "description": "用户ID",
  15418. "type": "integer"
  15419. }
  15420. }
  15421. },
  15422. "models.Tablecolumnconfig": {
  15423. "type": "object",
  15424. "required": [
  15425. "autoid"
  15426. ],
  15427. "properties": {
  15428. "aligntype": {
  15429. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15430. "type": "integer"
  15431. },
  15432. "autoid": {
  15433. "description": "AutoID",
  15434. "type": "integer"
  15435. },
  15436. "columnfield": {
  15437. "description": "列字段",
  15438. "type": "string"
  15439. },
  15440. "columntitle": {
  15441. "description": "列Title",
  15442. "type": "string"
  15443. },
  15444. "columnwidth": {
  15445. "description": "列宽",
  15446. "type": "string"
  15447. },
  15448. "formatterstring": {
  15449. "description": "格式化字符",
  15450. "type": "string"
  15451. },
  15452. "formattertype": {
  15453. "description": "格式化类型",
  15454. "type": "string"
  15455. },
  15456. "groupname": {
  15457. "description": "表头分组名称",
  15458. "type": "string"
  15459. },
  15460. "isshow": {
  15461. "description": "是否显示 - 0:不显示 1:显示",
  15462. "type": "integer"
  15463. },
  15464. "needsummary": {
  15465. "description": "是否需要汇总 - 0:不需要 1:需要",
  15466. "type": "integer"
  15467. },
  15468. "orderindex": {
  15469. "description": "顺序",
  15470. "type": "integer"
  15471. },
  15472. "remark": {
  15473. "description": "备注",
  15474. "type": "string"
  15475. },
  15476. "summarytype": {
  15477. "description": "汇总类型 - 1:加总 2:最后一个",
  15478. "type": "integer"
  15479. },
  15480. "tablekey": {
  15481. "description": "列表Key",
  15482. "type": "string"
  15483. }
  15484. }
  15485. },
  15486. "models.Useraccount": {
  15487. "type": "object",
  15488. "required": [
  15489. "userid"
  15490. ],
  15491. "properties": {
  15492. "accountname": {
  15493. "description": "账户名称(机构名称)",
  15494. "type": "string"
  15495. },
  15496. "accountstatus": {
  15497. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15498. "type": "integer"
  15499. },
  15500. "auditremark": {
  15501. "description": "审核备注",
  15502. "type": "string"
  15503. },
  15504. "audittime": {
  15505. "description": "审核时间",
  15506. "type": "string"
  15507. },
  15508. "audituserid": {
  15509. "description": "审核人",
  15510. "type": "integer"
  15511. },
  15512. "broker": {
  15513. "description": "所属经纪人ID",
  15514. "type": "integer"
  15515. },
  15516. "canceltime": {
  15517. "description": "销户时间",
  15518. "type": "string"
  15519. },
  15520. "canceluserid": {
  15521. "description": "销户人",
  15522. "type": "integer"
  15523. },
  15524. "createtime": {
  15525. "description": "创建时间",
  15526. "type": "string"
  15527. },
  15528. "creatorid": {
  15529. "description": "创建人",
  15530. "type": "integer"
  15531. },
  15532. "hasauth": {
  15533. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15534. "type": "integer"
  15535. },
  15536. "isanonymous": {
  15537. "description": "是否匿名下单 - 0:否 1:是",
  15538. "type": "integer"
  15539. },
  15540. "maxinvestornum": {
  15541. "description": "最大用户数(经纪会员下投资者个数)",
  15542. "type": "integer"
  15543. },
  15544. "memberuserid": {
  15545. "description": "所属会员ID",
  15546. "type": "integer"
  15547. },
  15548. "modifierid": {
  15549. "description": "修改人",
  15550. "type": "integer"
  15551. },
  15552. "modifyremark": {
  15553. "description": "变更备注",
  15554. "type": "string"
  15555. },
  15556. "modifystatus": {
  15557. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15558. "type": "integer"
  15559. },
  15560. "modifytime": {
  15561. "description": "修改时间",
  15562. "type": "string"
  15563. },
  15564. "parentuserid": {
  15565. "description": "所属机构ID",
  15566. "type": "integer"
  15567. },
  15568. "reckonaccountid": {
  15569. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15570. "type": "integer"
  15571. },
  15572. "refercount": {
  15573. "description": "推荐总人数",
  15574. "type": "integer"
  15575. },
  15576. "refereeuserid": {
  15577. "description": "推荐人ID",
  15578. "type": "integer"
  15579. },
  15580. "refernum": {
  15581. "description": "推荐码",
  15582. "type": "string"
  15583. },
  15584. "subarealevelpath": {
  15585. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15586. "type": "string"
  15587. },
  15588. "userid": {
  15589. "description": "用户ID",
  15590. "type": "integer"
  15591. },
  15592. "usertype": {
  15593. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15594. "type": "integer"
  15595. }
  15596. }
  15597. },
  15598. "models.Userfavoritegoods": {
  15599. "type": "object",
  15600. "required": [
  15601. "goodsid"
  15602. ],
  15603. "properties": {
  15604. "goodsid": {
  15605. "description": "商品ID",
  15606. "type": "integer"
  15607. }
  15608. }
  15609. },
  15610. "models.Userinfo": {
  15611. "type": "object",
  15612. "required": [
  15613. "userid"
  15614. ],
  15615. "properties": {
  15616. "address": {
  15617. "description": "地址",
  15618. "type": "string"
  15619. },
  15620. "attachment1": {
  15621. "description": "附件1",
  15622. "type": "string"
  15623. },
  15624. "attachment2": {
  15625. "description": "附件2",
  15626. "type": "string"
  15627. },
  15628. "bankaccount": {
  15629. "description": "银行帐号 (加密存储)",
  15630. "type": "string"
  15631. },
  15632. "bankaccountname": {
  15633. "description": "收款人名称",
  15634. "type": "string"
  15635. },
  15636. "bankcardfrontphotourl": {
  15637. "description": "银行卡正面照地址",
  15638. "type": "string"
  15639. },
  15640. "bankid": {
  15641. "description": "银行编码",
  15642. "type": "string"
  15643. },
  15644. "bankname": {
  15645. "description": "银行名称",
  15646. "type": "string"
  15647. },
  15648. "biznature": {
  15649. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15650. "type": "integer"
  15651. },
  15652. "bizscope": {
  15653. "description": "企业经营范围(企业)",
  15654. "type": "string"
  15655. },
  15656. "cardbackphotourl": {
  15657. "description": "证件背面图片地址",
  15658. "type": "string"
  15659. },
  15660. "cardfrontphotourl": {
  15661. "description": "证件正面图片地址",
  15662. "type": "string"
  15663. },
  15664. "cardnum": {
  15665. "description": "证件号码(加密存储)",
  15666. "type": "string"
  15667. },
  15668. "cardtypeid": {
  15669. "description": "证件类型ID",
  15670. "type": "integer"
  15671. },
  15672. "cityid": {
  15673. "description": "市",
  15674. "type": "integer"
  15675. },
  15676. "company": {
  15677. "description": "公司(个人)",
  15678. "type": "string"
  15679. },
  15680. "contactname": {
  15681. "description": "联系人",
  15682. "type": "string"
  15683. },
  15684. "countryid": {
  15685. "description": "国家",
  15686. "type": "integer"
  15687. },
  15688. "createtime": {
  15689. "description": "创建时间",
  15690. "type": "string"
  15691. },
  15692. "creatorid": {
  15693. "description": "创建人",
  15694. "type": "integer"
  15695. },
  15696. "customername": {
  15697. "description": "客户名称(企业名称)",
  15698. "type": "string"
  15699. },
  15700. "districtid": {
  15701. "description": "地区",
  15702. "type": "integer"
  15703. },
  15704. "email": {
  15705. "description": "邮件(加密存储)",
  15706. "type": "string"
  15707. },
  15708. "fax": {
  15709. "description": "传真(加密存储)",
  15710. "type": "string"
  15711. },
  15712. "halfbodyphotourl": {
  15713. "description": "半身照地址",
  15714. "type": "string"
  15715. },
  15716. "hasencrypt": {
  15717. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15718. "type": "integer"
  15719. },
  15720. "headurl": {
  15721. "description": "头像地址",
  15722. "type": "string"
  15723. },
  15724. "legalcardbackphotourl": {
  15725. "description": "法人身份证背面照地址",
  15726. "type": "string"
  15727. },
  15728. "legalcardfrontphotourl": {
  15729. "description": "法人身份证正面照地址",
  15730. "type": "string"
  15731. },
  15732. "legalpersonname": {
  15733. "description": "法人姓名(企业)",
  15734. "type": "string"
  15735. },
  15736. "mobile": {
  15737. "description": "手机号码(加密存储)",
  15738. "type": "string"
  15739. },
  15740. "mobile2": {
  15741. "description": "手机号码[明文-尚志]",
  15742. "type": "string"
  15743. },
  15744. "modifierid": {
  15745. "description": "修改人",
  15746. "type": "integer"
  15747. },
  15748. "modifiertime": {
  15749. "description": "修改时间",
  15750. "type": "string"
  15751. },
  15752. "needinvoice": {
  15753. "description": "是否需要发票 - 0:不需要 1:需要",
  15754. "type": "integer"
  15755. },
  15756. "nickname": {
  15757. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15758. "type": "string"
  15759. },
  15760. "openmode": {
  15761. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15762. "type": "integer"
  15763. },
  15764. "otherurl": {
  15765. "description": "其它图片地址[使用分号分隔]",
  15766. "type": "string"
  15767. },
  15768. "postalcode": {
  15769. "description": "邮政编码",
  15770. "type": "string"
  15771. },
  15772. "provinceid": {
  15773. "description": "省",
  15774. "type": "integer"
  15775. },
  15776. "qq": {
  15777. "description": "QQ(加密存储",
  15778. "type": "string"
  15779. },
  15780. "remark": {
  15781. "description": "备注",
  15782. "type": "string"
  15783. },
  15784. "sex": {
  15785. "description": "用户性别 0: 女 1: 男",
  15786. "type": "integer"
  15787. },
  15788. "signpdfurl": {
  15789. "description": "签约pdf文件",
  15790. "type": "string"
  15791. },
  15792. "telphone": {
  15793. "description": "联系电话(加密存储)",
  15794. "type": "string"
  15795. },
  15796. "userid": {
  15797. "description": "用户ID",
  15798. "type": "integer"
  15799. },
  15800. "userinfotype": {
  15801. "description": "用户信息类型 - 1:个人 2:企业",
  15802. "type": "integer"
  15803. },
  15804. "userstatus": {
  15805. "description": "用户状态 - 1:正常 2:注销",
  15806. "type": "integer"
  15807. },
  15808. "usertype": {
  15809. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15810. "type": "integer"
  15811. },
  15812. "wechat": {
  15813. "description": "微信(加密存储)",
  15814. "type": "string"
  15815. },
  15816. "wskhinfo": {
  15817. "description": "开户申请信息(JSON)",
  15818. "type": "string"
  15819. }
  15820. }
  15821. },
  15822. "models.WRCategoryTree": {
  15823. "type": "object",
  15824. "required": [
  15825. "categoryid"
  15826. ],
  15827. "properties": {
  15828. "areauserid": {
  15829. "description": "所属机构",
  15830. "type": "integer"
  15831. },
  15832. "categorydesc": {
  15833. "description": "类别描述",
  15834. "type": "string"
  15835. },
  15836. "categoryid": {
  15837. "description": "类别ID(SEQ_WRCATEGORY)",
  15838. "type": "integer"
  15839. },
  15840. "categoryname": {
  15841. "description": "类别名称",
  15842. "type": "string"
  15843. },
  15844. "iconurl": {
  15845. "description": "图标地址",
  15846. "type": "string"
  15847. },
  15848. "orderindex": {
  15849. "description": "顺序",
  15850. "type": "integer"
  15851. },
  15852. "parentcategoryid": {
  15853. "description": "父类别ID",
  15854. "type": "integer"
  15855. },
  15856. "subcategory": {
  15857. "description": "子分类",
  15858. "type": "array",
  15859. "items": {
  15860. "$ref": "#/definitions/models.WRCategoryTree"
  15861. }
  15862. }
  15863. }
  15864. },
  15865. "models.WRSConverTDetail": {
  15866. "type": "object",
  15867. "properties": {
  15868. "convertratio": {
  15869. "description": "套保系数",
  15870. "type": "number"
  15871. },
  15872. "deliverygoodsid": {
  15873. "description": "现货品种ID",
  15874. "type": "integer"
  15875. },
  15876. "middlegoodscode": {
  15877. "description": "套保品种代码",
  15878. "type": "string"
  15879. },
  15880. "middlegoodsid": {
  15881. "description": "套保品种ID",
  15882. "type": "integer"
  15883. },
  15884. "middlegoodsname": {
  15885. "description": "套保品种名称",
  15886. "type": "string"
  15887. },
  15888. "modifytime": {
  15889. "description": "修改时间",
  15890. "type": "string"
  15891. },
  15892. "wrstandardid": {
  15893. "description": "现货商品ID",
  15894. "type": "integer"
  15895. }
  15896. }
  15897. },
  15898. "models.WRStandardInfo": {
  15899. "type": "object",
  15900. "required": [
  15901. "wrstandardid"
  15902. ],
  15903. "properties": {
  15904. "createtime": {
  15905. "description": "创建时间",
  15906. "type": "string"
  15907. },
  15908. "creatorid": {
  15909. "description": "创建人",
  15910. "type": "integer"
  15911. },
  15912. "deliverygoodsid": {
  15913. "description": "品种ID",
  15914. "type": "integer"
  15915. },
  15916. "deliverygoodsname": {
  15917. "description": "交割商品名称",
  15918. "type": "string"
  15919. },
  15920. "factoryitemjson": {
  15921. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15922. "type": "string"
  15923. },
  15924. "isvalid": {
  15925. "description": "是否有效 - 0:无效 1:有效",
  15926. "type": "integer"
  15927. },
  15928. "minivalue": {
  15929. "description": "最小变动值",
  15930. "type": "integer"
  15931. },
  15932. "minivaluedp": {
  15933. "description": "最小变动值小数位",
  15934. "type": "integer"
  15935. },
  15936. "realminivalue": {
  15937. "description": "实际最小变动值",
  15938. "type": "integer"
  15939. },
  15940. "realminivaluedp": {
  15941. "description": "实际最小变动值小数位",
  15942. "type": "integer"
  15943. },
  15944. "unitid": {
  15945. "description": "单位ID",
  15946. "type": "integer"
  15947. },
  15948. "unitname": {
  15949. "description": "单位",
  15950. "type": "string"
  15951. },
  15952. "updatetime": {
  15953. "description": "更新时间",
  15954. "type": "string"
  15955. },
  15956. "updatorid": {
  15957. "description": "更新人",
  15958. "type": "integer"
  15959. },
  15960. "wrsstatus": {
  15961. "description": "状态 - 作废 - 0:未激活 1:正常",
  15962. "type": "integer"
  15963. },
  15964. "wrstandardcode": {
  15965. "description": "仓单标准代码",
  15966. "type": "string"
  15967. },
  15968. "wrstandardid": {
  15969. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15970. "type": "integer"
  15971. },
  15972. "wrstandardname": {
  15973. "description": "仓单标准名称",
  15974. "type": "string"
  15975. }
  15976. }
  15977. },
  15978. "models.Warehouseinfo": {
  15979. "type": "object",
  15980. "required": [
  15981. "autoid",
  15982. "warehousecode"
  15983. ],
  15984. "properties": {
  15985. "address": {
  15986. "description": "详细地址",
  15987. "type": "string"
  15988. },
  15989. "areauserid": {
  15990. "description": "所属机构",
  15991. "type": "integer"
  15992. },
  15993. "autoid": {
  15994. "description": "自增ID",
  15995. "type": "integer"
  15996. },
  15997. "cityid": {
  15998. "description": "市",
  15999. "type": "integer"
  16000. },
  16001. "contactname": {
  16002. "description": "联系人",
  16003. "type": "string"
  16004. },
  16005. "contactnum": {
  16006. "description": "联系电话",
  16007. "type": "string"
  16008. },
  16009. "countryid": {
  16010. "description": "国家",
  16011. "type": "integer"
  16012. },
  16013. "createtime": {
  16014. "description": "创建时间",
  16015. "type": "string"
  16016. },
  16017. "districtid": {
  16018. "description": "区",
  16019. "type": "integer"
  16020. },
  16021. "hasvideo": {
  16022. "description": "是否有视频 - 0:无 1:有",
  16023. "type": "integer"
  16024. },
  16025. "provinceid": {
  16026. "description": "省",
  16027. "type": "integer"
  16028. },
  16029. "remark": {
  16030. "description": "审核备注",
  16031. "type": "string"
  16032. },
  16033. "videourl": {
  16034. "description": "视频地址",
  16035. "type": "string"
  16036. },
  16037. "warehousecode": {
  16038. "description": "仓库代码",
  16039. "type": "string"
  16040. },
  16041. "warehousename": {
  16042. "description": "仓库名称",
  16043. "type": "string"
  16044. },
  16045. "warehousestatus": {
  16046. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16047. "type": "integer"
  16048. },
  16049. "warehousetype": {
  16050. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16051. "type": "integer"
  16052. }
  16053. }
  16054. },
  16055. "order.QueryHisTradeDetailRsp": {
  16056. "type": "object",
  16057. "required": [
  16058. "accountid",
  16059. "buyorsell",
  16060. "goodsid",
  16061. "histradedate",
  16062. "marketid",
  16063. "memberuserid",
  16064. "orderid",
  16065. "tradeamount",
  16066. "tradedate",
  16067. "tradeid",
  16068. "tradeprice",
  16069. "tradeqty",
  16070. "tradetime"
  16071. ],
  16072. "properties": {
  16073. "accountid": {
  16074. "description": "账户ID[报价币种]",
  16075. "type": "integer"
  16076. },
  16077. "buildtype": {
  16078. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16079. "type": "integer"
  16080. },
  16081. "buyorsell": {
  16082. "description": "方向 - 0:买 1:卖",
  16083. "type": "integer"
  16084. },
  16085. "charge": {
  16086. "description": "手续费",
  16087. "type": "number"
  16088. },
  16089. "closecharge": {
  16090. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16091. "type": "number"
  16092. },
  16093. "closeexchagechargevalue": {
  16094. "description": "平仓交易所手续费设置值",
  16095. "type": "number"
  16096. },
  16097. "closefeealgorithm": {
  16098. "description": "平仓手续费收取方式 1:比率 2:固定",
  16099. "type": "integer"
  16100. },
  16101. "closememberchargevalue": {
  16102. "description": "平仓会员手续费设置值",
  16103. "type": "number"
  16104. },
  16105. "closepl": {
  16106. "description": "平仓盈亏",
  16107. "type": "number"
  16108. },
  16109. "closepl2": {
  16110. "description": "平仓盈亏[逐笔]",
  16111. "type": "number"
  16112. },
  16113. "closeqty": {
  16114. "description": "平仓数量(先建后平操作 需要记录)",
  16115. "type": "integer"
  16116. },
  16117. "creditamount": {
  16118. "description": "授信金额",
  16119. "type": "number"
  16120. },
  16121. "gcaccountid": {
  16122. "description": "账户ID[合约币种]",
  16123. "type": "integer"
  16124. },
  16125. "goodscode": {
  16126. "description": "商品代码",
  16127. "type": "string"
  16128. },
  16129. "goodsid": {
  16130. "description": "商品ID",
  16131. "type": "integer"
  16132. },
  16133. "goodsname": {
  16134. "description": "商品名称",
  16135. "type": "string"
  16136. },
  16137. "histradedate": {
  16138. "description": "历史交易日",
  16139. "type": "string"
  16140. },
  16141. "intclosepl": {
  16142. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16143. "type": "integer"
  16144. },
  16145. "isconfirmexercise": {
  16146. "description": "是否确认行权- 0:否 1:是",
  16147. "type": "integer"
  16148. },
  16149. "ismain": {
  16150. "description": "是否主单 - 0:不是 1:是",
  16151. "type": "integer"
  16152. },
  16153. "ispreexercise": {
  16154. "description": "是否预申报- 0:否 1:是",
  16155. "type": "integer"
  16156. },
  16157. "isreckoned": {
  16158. "description": "是否结算 - 0:未结算 1:已结算",
  16159. "type": "integer"
  16160. },
  16161. "isvaliddata": {
  16162. "description": "是否有效 - 0:无效 1:有效",
  16163. "type": "integer"
  16164. },
  16165. "listingselecttype": {
  16166. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16167. "type": "integer"
  16168. },
  16169. "marketid": {
  16170. "description": "市场ID",
  16171. "type": "integer"
  16172. },
  16173. "marketname": {
  16174. "description": "市场名称",
  16175. "type": "string"
  16176. },
  16177. "matchaccountid": {
  16178. "description": "对手账号id",
  16179. "type": "integer"
  16180. },
  16181. "memberuserid": {
  16182. "description": "会员id 个人投资者 需要填写",
  16183. "type": "integer"
  16184. },
  16185. "opencharge": {
  16186. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16187. "type": "number"
  16188. },
  16189. "openexchagechargevalue": {
  16190. "description": "建仓交易所手续费设置值",
  16191. "type": "number"
  16192. },
  16193. "openfeealgorithm": {
  16194. "description": "建仓手续费收取方式 1:比率 2:固定",
  16195. "type": "integer"
  16196. },
  16197. "openmemberchargevalue": {
  16198. "description": "建仓会员手续费设置值",
  16199. "type": "number"
  16200. },
  16201. "openqty": {
  16202. "description": "开仓数量(先建后平操作 需要记录)",
  16203. "type": "integer"
  16204. },
  16205. "optiontype": {
  16206. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16207. "type": "integer"
  16208. },
  16209. "orderid": {
  16210. "description": "委托单号",
  16211. "type": "string"
  16212. },
  16213. "performanceplanid": {
  16214. "description": "履约计划ID[期权]",
  16215. "type": "integer"
  16216. },
  16217. "performancestatus": {
  16218. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16219. "type": "integer"
  16220. },
  16221. "preexerciseprice": {
  16222. "description": "预申报价格",
  16223. "type": "number"
  16224. },
  16225. "premium": {
  16226. "description": "权利金 - [持仓单的权利金]",
  16227. "type": "number"
  16228. },
  16229. "relatedouttradeid": {
  16230. "description": "关联外部成交单ID",
  16231. "type": "integer"
  16232. },
  16233. "status": {
  16234. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16235. "type": "integer"
  16236. },
  16237. "tradeamount": {
  16238. "description": "成交金额[账户币种,用于所有权]",
  16239. "type": "number"
  16240. },
  16241. "tradedate": {
  16242. "description": "交易日(yyyyMMdd)",
  16243. "type": "string"
  16244. },
  16245. "tradeid": {
  16246. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16247. "type": "string"
  16248. },
  16249. "trademode": {
  16250. "description": "交易模式",
  16251. "type": "integer"
  16252. },
  16253. "tradeprice": {
  16254. "description": "成交价格",
  16255. "type": "number"
  16256. },
  16257. "tradeproperty": {
  16258. "description": "交易属性",
  16259. "type": "integer"
  16260. },
  16261. "tradeqty": {
  16262. "description": "成交数量",
  16263. "type": "integer"
  16264. },
  16265. "tradetime": {
  16266. "description": "成交时间",
  16267. "type": "string"
  16268. },
  16269. "tradetype": {
  16270. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16271. "type": "integer"
  16272. }
  16273. }
  16274. },
  16275. "order.QueryHisTradeOrderDetailRsp": {
  16276. "type": "object",
  16277. "required": [
  16278. "accountid",
  16279. "buildtype",
  16280. "buyorsell",
  16281. "goodsid",
  16282. "histradedate",
  16283. "marketid",
  16284. "memberuserid",
  16285. "operatetype",
  16286. "orderid",
  16287. "orderqty",
  16288. "ordertime",
  16289. "pricemode",
  16290. "tradedate",
  16291. "validtype"
  16292. ],
  16293. "properties": {
  16294. "accountid": {
  16295. "description": "账户ID[报价币种]",
  16296. "type": "integer"
  16297. },
  16298. "buildtype": {
  16299. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16300. "type": "integer"
  16301. },
  16302. "buyorsell": {
  16303. "description": "买卖 - 0:买 1:卖",
  16304. "type": "integer"
  16305. },
  16306. "cancelorderid": {
  16307. "description": "撤单单号(撤单时填写)",
  16308. "type": "string"
  16309. },
  16310. "cancelqty": {
  16311. "description": "撤单数量",
  16312. "type": "integer"
  16313. },
  16314. "clientordertime": {
  16315. "description": "客户端委托时间",
  16316. "type": "string"
  16317. },
  16318. "clientticket": {
  16319. "description": "客户端流水号",
  16320. "type": "string"
  16321. },
  16322. "clienttype": {
  16323. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16324. "type": "integer"
  16325. },
  16326. "closeexchagechargevalue": {
  16327. "description": "平仓交易所手续费设置值",
  16328. "type": "number"
  16329. },
  16330. "closefeealgorithm": {
  16331. "description": "平仓手续费收取方式 1:比率 2:固定",
  16332. "type": "integer"
  16333. },
  16334. "closefreezecharge": {
  16335. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16336. "type": "number"
  16337. },
  16338. "closememberchargevalue": {
  16339. "description": "平仓会员手续费设置值",
  16340. "type": "number"
  16341. },
  16342. "closeqty": {
  16343. "description": "平仓数量(先建后平操作 需要记录)",
  16344. "type": "integer"
  16345. },
  16346. "closetradeqty": {
  16347. "description": "平仓成交数量(先建后平操作,需要记录)",
  16348. "type": "integer"
  16349. },
  16350. "closeunfreezecharge": {
  16351. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16352. "type": "number"
  16353. },
  16354. "delistingtype": {
  16355. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16356. "type": "integer"
  16357. },
  16358. "freezecharge": {
  16359. "description": "冻结手续费",
  16360. "type": "number"
  16361. },
  16362. "freezemargin": {
  16363. "description": "冻结保证金(冻结交易金额)",
  16364. "type": "number"
  16365. },
  16366. "gcaccountid": {
  16367. "description": "账户ID[合约币种]",
  16368. "type": "integer"
  16369. },
  16370. "goodscode": {
  16371. "description": "商品代码",
  16372. "type": "string"
  16373. },
  16374. "goodsid": {
  16375. "description": "商品ID",
  16376. "type": "integer"
  16377. },
  16378. "goodsname": {
  16379. "description": "商品名称",
  16380. "type": "string"
  16381. },
  16382. "histradedate": {
  16383. "description": "历史交易日",
  16384. "type": "string"
  16385. },
  16386. "isconfirmexercise": {
  16387. "description": "是否确认行权- 0:否 1:是",
  16388. "type": "integer"
  16389. },
  16390. "ispreexercise": {
  16391. "description": "是否预申报- 0:否 1:是",
  16392. "type": "integer"
  16393. },
  16394. "isvaliddata": {
  16395. "description": "是否有效 - 0:无效 1:有效",
  16396. "type": "integer"
  16397. },
  16398. "listingselecttype": {
  16399. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16400. "type": "integer"
  16401. },
  16402. "marginalgorithm": {
  16403. "description": "保证金收取方式 1:比率 2:固定",
  16404. "type": "integer"
  16405. },
  16406. "marginvalue": {
  16407. "description": "即市保证金设置值",
  16408. "type": "number"
  16409. },
  16410. "marketid": {
  16411. "description": "市场ID",
  16412. "type": "integer"
  16413. },
  16414. "marketmaxsub": {
  16415. "description": "市价最大偏移范围",
  16416. "type": "number"
  16417. },
  16418. "marketname": {
  16419. "description": "市场名称",
  16420. "type": "string"
  16421. },
  16422. "memberuserid": {
  16423. "description": "所属会员UserID",
  16424. "type": "integer"
  16425. },
  16426. "openexchagechargevalue": {
  16427. "description": "建仓交易所手续费设置值",
  16428. "type": "number"
  16429. },
  16430. "openfeealgorithm": {
  16431. "description": "建仓手续费收取方式 1:比率 2:固定",
  16432. "type": "integer"
  16433. },
  16434. "openfreezecharge": {
  16435. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16436. "type": "number"
  16437. },
  16438. "openmemberchargevalue": {
  16439. "description": "建仓会员手续费设置值",
  16440. "type": "number"
  16441. },
  16442. "openqty": {
  16443. "description": "开仓数量(先建后平操作,需要记录)",
  16444. "type": "integer"
  16445. },
  16446. "opentradeqty": {
  16447. "description": "开仓成交数量(先建后平操作,需要记录)",
  16448. "type": "integer"
  16449. },
  16450. "openunfreezecharge": {
  16451. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16452. "type": "number"
  16453. },
  16454. "operatetype": {
  16455. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16456. "type": "integer"
  16457. },
  16458. "operatorid": {
  16459. "description": "登录账号(LoginID)",
  16460. "type": "integer"
  16461. },
  16462. "optiontype": {
  16463. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16464. "type": "integer"
  16465. },
  16466. "orderid": {
  16467. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16468. "type": "string"
  16469. },
  16470. "orderprice": {
  16471. "description": "委托价格",
  16472. "type": "number"
  16473. },
  16474. "orderqty": {
  16475. "description": "委托数量",
  16476. "type": "integer"
  16477. },
  16478. "ordersrc": {
  16479. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16480. "type": "integer"
  16481. },
  16482. "orderstatus": {
  16483. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16484. "type": "integer"
  16485. },
  16486. "ordertime": {
  16487. "description": "委托时间",
  16488. "type": "string"
  16489. },
  16490. "preexerciseprice": {
  16491. "description": "预申报价格",
  16492. "type": "number"
  16493. },
  16494. "premium": {
  16495. "description": "权利金",
  16496. "type": "number"
  16497. },
  16498. "preorderid": {
  16499. "description": "关联预埋单号(止盈止损单时填写)",
  16500. "type": "string"
  16501. },
  16502. "pricemode": {
  16503. "description": "取价方式 - 1:市价 2: 限价",
  16504. "type": "integer"
  16505. },
  16506. "quoteid": {
  16507. "description": "报价单ID",
  16508. "type": "integer"
  16509. },
  16510. "relatedid": {
  16511. "description": "关联单号(交割单)",
  16512. "type": "string"
  16513. },
  16514. "retcode": {
  16515. "description": "错误代码",
  16516. "type": "integer"
  16517. },
  16518. "sessionid": {
  16519. "description": "会话ID",
  16520. "type": "integer"
  16521. },
  16522. "tradedate": {
  16523. "description": "交易日(yyyyMMdd)",
  16524. "type": "string"
  16525. },
  16526. "trademode": {
  16527. "description": "交易模式",
  16528. "type": "integer"
  16529. },
  16530. "tradeproperty": {
  16531. "description": "交易属性",
  16532. "type": "integer"
  16533. },
  16534. "tradeqty": {
  16535. "description": "成交数量",
  16536. "type": "integer"
  16537. },
  16538. "unfreezecharge": {
  16539. "description": "解冻手续费",
  16540. "type": "number"
  16541. },
  16542. "unfreezemargin": {
  16543. "description": "解冻保证金",
  16544. "type": "number"
  16545. },
  16546. "updatetime": {
  16547. "description": "更新时间",
  16548. "type": "string"
  16549. },
  16550. "uuid": {
  16551. "description": "发起端唯一id",
  16552. "type": "string"
  16553. },
  16554. "validtime": {
  16555. "description": "有效期限",
  16556. "type": "string"
  16557. },
  16558. "validtype": {
  16559. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16560. "type": "integer"
  16561. },
  16562. "volumetype": {
  16563. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16564. "type": "integer"
  16565. }
  16566. }
  16567. },
  16568. "order.QueryTradeDetailRsp": {
  16569. "type": "object",
  16570. "required": [
  16571. "accountid",
  16572. "buyorsell",
  16573. "goodsid",
  16574. "marketid",
  16575. "memberuserid",
  16576. "orderid",
  16577. "tradeamount",
  16578. "tradedate",
  16579. "tradeid",
  16580. "tradeprice",
  16581. "tradeqty",
  16582. "tradetime"
  16583. ],
  16584. "properties": {
  16585. "accountid": {
  16586. "description": "账户ID[报价币种]",
  16587. "type": "integer"
  16588. },
  16589. "buildtype": {
  16590. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16591. "type": "integer"
  16592. },
  16593. "buyorsell": {
  16594. "description": "方向 - 0:买 1:卖",
  16595. "type": "integer"
  16596. },
  16597. "charge": {
  16598. "description": "手续费",
  16599. "type": "number"
  16600. },
  16601. "closecharge": {
  16602. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16603. "type": "number"
  16604. },
  16605. "closeexchagechargevalue": {
  16606. "description": "平仓交易所手续费设置值",
  16607. "type": "number"
  16608. },
  16609. "closefeealgorithm": {
  16610. "description": "平仓手续费收取方式 1:比率 2:固定",
  16611. "type": "integer"
  16612. },
  16613. "closememberchargevalue": {
  16614. "description": "平仓会员手续费设置值",
  16615. "type": "number"
  16616. },
  16617. "closepl": {
  16618. "description": "平仓盈亏",
  16619. "type": "number"
  16620. },
  16621. "closepl2": {
  16622. "description": "平仓盈亏[逐笔]",
  16623. "type": "number"
  16624. },
  16625. "closeqty": {
  16626. "description": "平仓数量(先建后平操作 需要记录)",
  16627. "type": "integer"
  16628. },
  16629. "creditamount": {
  16630. "description": "授信金额",
  16631. "type": "number"
  16632. },
  16633. "gcaccountid": {
  16634. "description": "账户ID[合约币种]",
  16635. "type": "integer"
  16636. },
  16637. "goodscode": {
  16638. "description": "商品代码",
  16639. "type": "string"
  16640. },
  16641. "goodsid": {
  16642. "description": "商品ID",
  16643. "type": "integer"
  16644. },
  16645. "goodsname": {
  16646. "description": "商品名称",
  16647. "type": "string"
  16648. },
  16649. "intclosepl": {
  16650. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16651. "type": "integer"
  16652. },
  16653. "isconfirmexercise": {
  16654. "description": "是否确认行权- 0:否 1:是",
  16655. "type": "integer"
  16656. },
  16657. "ismain": {
  16658. "description": "是否主单 - 0:不是 1:是",
  16659. "type": "integer"
  16660. },
  16661. "ispreexercise": {
  16662. "description": "是否预申报- 0:否 1:是",
  16663. "type": "integer"
  16664. },
  16665. "isreckoned": {
  16666. "description": "是否结算 - 0:未结算 1:已结算",
  16667. "type": "integer"
  16668. },
  16669. "listingselecttype": {
  16670. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16671. "type": "integer"
  16672. },
  16673. "marketid": {
  16674. "description": "市场ID",
  16675. "type": "integer"
  16676. },
  16677. "marketname": {
  16678. "description": "市场名称",
  16679. "type": "string"
  16680. },
  16681. "matchaccountid": {
  16682. "description": "对手账号id",
  16683. "type": "integer"
  16684. },
  16685. "memberuserid": {
  16686. "description": "会员id 个人投资者 需要填写",
  16687. "type": "integer"
  16688. },
  16689. "opencharge": {
  16690. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16691. "type": "number"
  16692. },
  16693. "openexchagechargevalue": {
  16694. "description": "建仓交易所手续费设置值",
  16695. "type": "number"
  16696. },
  16697. "openfeealgorithm": {
  16698. "description": "建仓手续费收取方式 1:比率 2:固定",
  16699. "type": "integer"
  16700. },
  16701. "openmemberchargevalue": {
  16702. "description": "建仓会员手续费设置值",
  16703. "type": "number"
  16704. },
  16705. "openqty": {
  16706. "description": "开仓数量(先建后平操作 需要记录)",
  16707. "type": "integer"
  16708. },
  16709. "optiontype": {
  16710. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16711. "type": "integer"
  16712. },
  16713. "orderid": {
  16714. "description": "委托单号",
  16715. "type": "string"
  16716. },
  16717. "performanceplanid": {
  16718. "description": "履约计划ID[期权]",
  16719. "type": "integer"
  16720. },
  16721. "performancestatus": {
  16722. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16723. "type": "integer"
  16724. },
  16725. "preexerciseprice": {
  16726. "description": "预申报价格",
  16727. "type": "number"
  16728. },
  16729. "premium": {
  16730. "description": "权利金 - [持仓单的权利金]",
  16731. "type": "number"
  16732. },
  16733. "relatedouttradeid": {
  16734. "description": "关联外部成交单ID",
  16735. "type": "integer"
  16736. },
  16737. "status": {
  16738. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16739. "type": "integer"
  16740. },
  16741. "tradeamount": {
  16742. "description": "成交金额[账户币种,用于所有权]",
  16743. "type": "number"
  16744. },
  16745. "tradedate": {
  16746. "description": "交易日(yyyyMMdd)",
  16747. "type": "string"
  16748. },
  16749. "tradeid": {
  16750. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16751. "type": "string"
  16752. },
  16753. "trademode": {
  16754. "description": "交易模式",
  16755. "type": "integer"
  16756. },
  16757. "tradeprice": {
  16758. "description": "成交价格",
  16759. "type": "number"
  16760. },
  16761. "tradeproperty": {
  16762. "description": "交易属性",
  16763. "type": "integer"
  16764. },
  16765. "tradeqty": {
  16766. "description": "成交数量",
  16767. "type": "integer"
  16768. },
  16769. "tradetime": {
  16770. "description": "成交时间",
  16771. "type": "string"
  16772. },
  16773. "tradetype": {
  16774. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16775. "type": "integer"
  16776. }
  16777. }
  16778. },
  16779. "order.QueryTradeOrderDetailRsp": {
  16780. "type": "object",
  16781. "required": [
  16782. "accountid",
  16783. "buildtype",
  16784. "buyorsell",
  16785. "goodsid",
  16786. "marketid",
  16787. "operatetype",
  16788. "orderqty",
  16789. "ordertime",
  16790. "pricemode",
  16791. "tradedate",
  16792. "validtype"
  16793. ],
  16794. "properties": {
  16795. "accountid": {
  16796. "description": "账户ID[报价币种]",
  16797. "type": "integer"
  16798. },
  16799. "buildtype": {
  16800. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16801. "type": "integer"
  16802. },
  16803. "buyorsell": {
  16804. "description": "买卖 - 0:买 1:卖",
  16805. "type": "integer"
  16806. },
  16807. "cancelorderid": {
  16808. "description": "撤单单号(撤单时填写)",
  16809. "type": "string"
  16810. },
  16811. "cancelqty": {
  16812. "description": "撤单数量",
  16813. "type": "integer"
  16814. },
  16815. "clienttype": {
  16816. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16817. "type": "integer"
  16818. },
  16819. "closefreezecharge": {
  16820. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16821. "type": "number"
  16822. },
  16823. "closeqty": {
  16824. "description": "平仓数量(先建后平操作 需要记录)",
  16825. "type": "integer"
  16826. },
  16827. "closetradeqty": {
  16828. "description": "平仓成交数量(先建后平操作,需要记录)",
  16829. "type": "integer"
  16830. },
  16831. "closeunfreezecharge": {
  16832. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16833. "type": "number"
  16834. },
  16835. "delistingtype": {
  16836. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16837. "type": "integer"
  16838. },
  16839. "enableqty": {
  16840. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16841. "type": "integer"
  16842. },
  16843. "freezecharge": {
  16844. "description": "冻结手续费",
  16845. "type": "number"
  16846. },
  16847. "freezemargin": {
  16848. "description": "冻结保证金(冻结交易金额)",
  16849. "type": "number"
  16850. },
  16851. "goodscode": {
  16852. "description": "商品代码",
  16853. "type": "string"
  16854. },
  16855. "goodsid": {
  16856. "description": "商品ID",
  16857. "type": "integer"
  16858. },
  16859. "goodsname": {
  16860. "description": "商品名称",
  16861. "type": "string"
  16862. },
  16863. "listingselecttype": {
  16864. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16865. "type": "integer"
  16866. },
  16867. "marketid": {
  16868. "description": "市场ID",
  16869. "type": "integer"
  16870. },
  16871. "marketname": {
  16872. "description": "市场名称",
  16873. "type": "string"
  16874. },
  16875. "openfreezecharge": {
  16876. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16877. "type": "number"
  16878. },
  16879. "openqty": {
  16880. "description": "开仓数量(先建后平操作,需要记录)",
  16881. "type": "integer"
  16882. },
  16883. "opentradeqty": {
  16884. "description": "开仓成交数量(先建后平操作,需要记录)",
  16885. "type": "integer"
  16886. },
  16887. "openunfreezecharge": {
  16888. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16889. "type": "number"
  16890. },
  16891. "operatetype": {
  16892. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16893. "type": "integer"
  16894. },
  16895. "operatorid": {
  16896. "description": "登录账号(LoginID)",
  16897. "type": "integer"
  16898. },
  16899. "orderid": {
  16900. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16901. "type": "string"
  16902. },
  16903. "orderprice": {
  16904. "description": "委托价格",
  16905. "type": "number"
  16906. },
  16907. "orderqty": {
  16908. "description": "委托数量",
  16909. "type": "integer"
  16910. },
  16911. "ordersrc": {
  16912. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16913. "type": "integer"
  16914. },
  16915. "orderstatus": {
  16916. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16917. "type": "integer"
  16918. },
  16919. "ordertime": {
  16920. "description": "委托时间",
  16921. "type": "string"
  16922. },
  16923. "preorderid": {
  16924. "description": "关联预埋单号(止盈止损单时填写)",
  16925. "type": "string"
  16926. },
  16927. "pricemode": {
  16928. "description": "取价方式 - 1:市价 2: 限价",
  16929. "type": "integer"
  16930. },
  16931. "relatedid": {
  16932. "description": "关联单号(交割单)",
  16933. "type": "string"
  16934. },
  16935. "tradedate": {
  16936. "description": "交易日(yyyyMMdd)",
  16937. "type": "string"
  16938. },
  16939. "trademode": {
  16940. "description": "交易模式",
  16941. "type": "integer"
  16942. },
  16943. "tradeqty": {
  16944. "description": "成交数量",
  16945. "type": "integer"
  16946. },
  16947. "unfreezecharge": {
  16948. "description": "解冻手续费",
  16949. "type": "number"
  16950. },
  16951. "unfreezemargin": {
  16952. "description": "解冻保证金",
  16953. "type": "number"
  16954. },
  16955. "validtime": {
  16956. "description": "有效期限",
  16957. "type": "string"
  16958. },
  16959. "validtype": {
  16960. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16961. "type": "integer"
  16962. },
  16963. "volumetype": {
  16964. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16965. "type": "integer"
  16966. }
  16967. }
  16968. },
  16969. "order.QueryTradePositionRsp": {
  16970. "type": "object",
  16971. "required": [
  16972. "goodsid"
  16973. ],
  16974. "properties": {
  16975. "accountid": {
  16976. "description": "资金账户",
  16977. "type": "integer"
  16978. },
  16979. "agreeunit": {
  16980. "description": "合约单位",
  16981. "type": "number"
  16982. },
  16983. "averageprice": {
  16984. "description": "持仓均价",
  16985. "type": "number"
  16986. },
  16987. "buyorsell": {
  16988. "description": "方向 - 0:买 1:卖",
  16989. "type": "integer"
  16990. },
  16991. "closetotalqty": {
  16992. "description": "平仓总数量",
  16993. "type": "integer"
  16994. },
  16995. "curholderamount": {
  16996. "description": "当前持仓总金额[商品币种]",
  16997. "type": "number"
  16998. },
  16999. "curpositionqty": {
  17000. "description": "当前持仓总数量",
  17001. "type": "integer"
  17002. },
  17003. "currencyid": {
  17004. "description": "报价货币ID",
  17005. "type": "integer"
  17006. },
  17007. "curtdposition": {
  17008. "description": "期末今日头寸",
  17009. "type": "integer"
  17010. },
  17011. "decimalplace": {
  17012. "description": "报价小数位",
  17013. "type": "integer"
  17014. },
  17015. "enableqty": {
  17016. "description": "可用量",
  17017. "type": "integer"
  17018. },
  17019. "fretdposition": {
  17020. "description": "冻结今日头寸",
  17021. "type": "integer"
  17022. },
  17023. "frozenqty": {
  17024. "description": "持仓冻结数量",
  17025. "type": "integer"
  17026. },
  17027. "goodscode": {
  17028. "description": "商品代码",
  17029. "type": "string"
  17030. },
  17031. "goodsid": {
  17032. "description": "商品Id",
  17033. "type": "integer"
  17034. },
  17035. "goodsname": {
  17036. "description": "商品名称",
  17037. "type": "string"
  17038. },
  17039. "goodunit": {
  17040. "description": "报价单位",
  17041. "type": "string"
  17042. },
  17043. "goodunitid": {
  17044. "description": "报价单位ID",
  17045. "type": "integer"
  17046. },
  17047. "holderamount": {
  17048. "description": "期初持仓总金额[商品币种]",
  17049. "type": "number"
  17050. },
  17051. "marketid": {
  17052. "description": "所属市场ID",
  17053. "type": "integer"
  17054. },
  17055. "openreqqty": {
  17056. "description": "开仓申请数量(用于比较最大持仓数量)",
  17057. "type": "integer"
  17058. },
  17059. "opentotalqty": {
  17060. "description": "开仓总数量",
  17061. "type": "integer"
  17062. },
  17063. "otherfrozenqty": {
  17064. "description": "持仓其他冻结数量(交割冻结)",
  17065. "type": "integer"
  17066. },
  17067. "positionqty": {
  17068. "description": "期初持仓数量",
  17069. "type": "integer"
  17070. },
  17071. "tnqty": {
  17072. "description": "T+N冻结总量",
  17073. "type": "integer"
  17074. },
  17075. "tnusedqty": {
  17076. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17077. "type": "integer"
  17078. },
  17079. "trademode": {
  17080. "description": "交易模式",
  17081. "type": "integer"
  17082. },
  17083. "usedmargin": {
  17084. "description": "占用保证金[商品币种]",
  17085. "type": "number"
  17086. }
  17087. }
  17088. },
  17089. "quote.HistoryData": {
  17090. "type": "object",
  17091. "properties": {
  17092. "c": {
  17093. "description": "收盘价",
  17094. "type": "number"
  17095. },
  17096. "f": {
  17097. "description": "是否补充数据",
  17098. "type": "boolean"
  17099. },
  17100. "h": {
  17101. "description": "最高价",
  17102. "type": "number"
  17103. },
  17104. "hv": {
  17105. "description": "持仓量",
  17106. "type": "integer"
  17107. },
  17108. "l": {
  17109. "description": "最低价",
  17110. "type": "number"
  17111. },
  17112. "o": {
  17113. "description": "开盘价",
  17114. "type": "number"
  17115. },
  17116. "s": {
  17117. "description": "结算价,日线周期(包括)以上才有",
  17118. "type": "number"
  17119. },
  17120. "ts": {
  17121. "description": "时间",
  17122. "type": "string"
  17123. },
  17124. "tt": {
  17125. "description": "总金额",
  17126. "type": "number"
  17127. },
  17128. "tv": {
  17129. "description": "总量",
  17130. "type": "integer"
  17131. }
  17132. }
  17133. },
  17134. "quote.QueryQuoteDayRsp": {
  17135. "type": "object",
  17136. "properties": {
  17137. "ask": {
  17138. "description": "卖1",
  17139. "type": "number"
  17140. },
  17141. "ask10": {
  17142. "description": "卖10",
  17143. "type": "number"
  17144. },
  17145. "ask2": {
  17146. "description": "卖2",
  17147. "type": "number"
  17148. },
  17149. "ask3": {
  17150. "description": "卖3",
  17151. "type": "number"
  17152. },
  17153. "ask4": {
  17154. "description": "卖4",
  17155. "type": "number"
  17156. },
  17157. "ask5": {
  17158. "description": "卖5",
  17159. "type": "number"
  17160. },
  17161. "ask6": {
  17162. "description": "卖6",
  17163. "type": "number"
  17164. },
  17165. "ask7": {
  17166. "description": "卖7",
  17167. "type": "number"
  17168. },
  17169. "ask8": {
  17170. "description": "卖8",
  17171. "type": "number"
  17172. },
  17173. "ask9": {
  17174. "description": "卖9",
  17175. "type": "number"
  17176. },
  17177. "askorderid": {
  17178. "description": "卖单号1",
  17179. "type": "integer"
  17180. },
  17181. "askorderid2": {
  17182. "description": "卖单号2",
  17183. "type": "integer"
  17184. },
  17185. "askorderid3": {
  17186. "description": "卖单号3",
  17187. "type": "integer"
  17188. },
  17189. "askorderid4": {
  17190. "description": "卖单号4",
  17191. "type": "integer"
  17192. },
  17193. "askorderid5": {
  17194. "description": "卖单号5",
  17195. "type": "integer"
  17196. },
  17197. "askordervolume": {
  17198. "description": "卖单量1",
  17199. "type": "integer"
  17200. },
  17201. "askordervolume10": {
  17202. "description": "卖单量10",
  17203. "type": "integer"
  17204. },
  17205. "askordervolume2": {
  17206. "description": "卖单量2",
  17207. "type": "integer"
  17208. },
  17209. "askordervolume3": {
  17210. "description": "卖单量3",
  17211. "type": "integer"
  17212. },
  17213. "askordervolume4": {
  17214. "description": "卖单量4",
  17215. "type": "integer"
  17216. },
  17217. "askordervolume5": {
  17218. "description": "卖单量5",
  17219. "type": "integer"
  17220. },
  17221. "askordervolume6": {
  17222. "description": "卖单量6",
  17223. "type": "integer"
  17224. },
  17225. "askordervolume7": {
  17226. "description": "卖单量7",
  17227. "type": "integer"
  17228. },
  17229. "askordervolume8": {
  17230. "description": "卖单量8",
  17231. "type": "integer"
  17232. },
  17233. "askordervolume9": {
  17234. "description": "卖单量9",
  17235. "type": "integer"
  17236. },
  17237. "askqueueinfo": {
  17238. "description": "大利市卖港股用",
  17239. "type": "string"
  17240. },
  17241. "askvolume": {
  17242. "description": "卖量1",
  17243. "type": "integer"
  17244. },
  17245. "askvolume10": {
  17246. "description": "卖量10",
  17247. "type": "integer"
  17248. },
  17249. "askvolume2": {
  17250. "description": "卖量2",
  17251. "type": "integer"
  17252. },
  17253. "askvolume3": {
  17254. "description": "卖量3",
  17255. "type": "integer"
  17256. },
  17257. "askvolume4": {
  17258. "description": "卖量4",
  17259. "type": "integer"
  17260. },
  17261. "askvolume5": {
  17262. "description": "卖量5",
  17263. "type": "integer"
  17264. },
  17265. "askvolume6": {
  17266. "description": "卖量6",
  17267. "type": "integer"
  17268. },
  17269. "askvolume7": {
  17270. "description": "卖量7",
  17271. "type": "integer"
  17272. },
  17273. "askvolume8": {
  17274. "description": "卖量8",
  17275. "type": "integer"
  17276. },
  17277. "askvolume9": {
  17278. "description": "卖量9",
  17279. "type": "integer"
  17280. },
  17281. "averageprice": {
  17282. "description": "均价",
  17283. "type": "number"
  17284. },
  17285. "bid": {
  17286. "description": "买1",
  17287. "type": "number"
  17288. },
  17289. "bid10": {
  17290. "description": "买10",
  17291. "type": "number"
  17292. },
  17293. "bid2": {
  17294. "description": "买2",
  17295. "type": "number"
  17296. },
  17297. "bid3": {
  17298. "description": "买3",
  17299. "type": "number"
  17300. },
  17301. "bid4": {
  17302. "description": "买4",
  17303. "type": "number"
  17304. },
  17305. "bid5": {
  17306. "description": "买5",
  17307. "type": "number"
  17308. },
  17309. "bid6": {
  17310. "description": "买6",
  17311. "type": "number"
  17312. },
  17313. "bid7": {
  17314. "description": "买7",
  17315. "type": "number"
  17316. },
  17317. "bid8": {
  17318. "description": "买8",
  17319. "type": "number"
  17320. },
  17321. "bid9": {
  17322. "description": "买9",
  17323. "type": "number"
  17324. },
  17325. "bidorderid": {
  17326. "description": "买单号1",
  17327. "type": "integer"
  17328. },
  17329. "bidorderid2": {
  17330. "description": "买单号2",
  17331. "type": "integer"
  17332. },
  17333. "bidorderid3": {
  17334. "description": "买单号3",
  17335. "type": "integer"
  17336. },
  17337. "bidorderid4": {
  17338. "description": "买单号4",
  17339. "type": "integer"
  17340. },
  17341. "bidorderid5": {
  17342. "description": "买单号5",
  17343. "type": "integer"
  17344. },
  17345. "bidordervolume": {
  17346. "description": "买单量1",
  17347. "type": "integer"
  17348. },
  17349. "bidordervolume10": {
  17350. "description": "买单量10",
  17351. "type": "integer"
  17352. },
  17353. "bidordervolume2": {
  17354. "description": "买单量2",
  17355. "type": "integer"
  17356. },
  17357. "bidordervolume3": {
  17358. "description": "买单量3",
  17359. "type": "integer"
  17360. },
  17361. "bidordervolume4": {
  17362. "description": "买单量4",
  17363. "type": "integer"
  17364. },
  17365. "bidordervolume5": {
  17366. "description": "买单量5",
  17367. "type": "integer"
  17368. },
  17369. "bidordervolume6": {
  17370. "description": "买单量6",
  17371. "type": "integer"
  17372. },
  17373. "bidordervolume7": {
  17374. "description": "买单量7",
  17375. "type": "integer"
  17376. },
  17377. "bidordervolume8": {
  17378. "description": "买单量8",
  17379. "type": "integer"
  17380. },
  17381. "bidordervolume9": {
  17382. "description": "买单量9",
  17383. "type": "integer"
  17384. },
  17385. "bidqueueinfo": {
  17386. "description": "大利市买港股用",
  17387. "type": "string"
  17388. },
  17389. "bidvolume": {
  17390. "description": "买量1",
  17391. "type": "integer"
  17392. },
  17393. "bidvolume10": {
  17394. "description": "买量10",
  17395. "type": "integer"
  17396. },
  17397. "bidvolume2": {
  17398. "description": "买量2",
  17399. "type": "integer"
  17400. },
  17401. "bidvolume3": {
  17402. "description": "买量3",
  17403. "type": "integer"
  17404. },
  17405. "bidvolume4": {
  17406. "description": "买量4",
  17407. "type": "integer"
  17408. },
  17409. "bidvolume5": {
  17410. "description": "买量5",
  17411. "type": "integer"
  17412. },
  17413. "bidvolume6": {
  17414. "description": "买量6",
  17415. "type": "integer"
  17416. },
  17417. "bidvolume7": {
  17418. "description": "买量7",
  17419. "type": "integer"
  17420. },
  17421. "bidvolume8": {
  17422. "description": "买量8",
  17423. "type": "integer"
  17424. },
  17425. "bidvolume9": {
  17426. "description": "买量9",
  17427. "type": "integer"
  17428. },
  17429. "calloptionpremiums": {
  17430. "description": "认购期权1",
  17431. "type": "integer"
  17432. },
  17433. "calloptionpremiums2": {
  17434. "description": "认购期权2",
  17435. "type": "integer"
  17436. },
  17437. "calloptionpremiums3": {
  17438. "description": "认购期权3",
  17439. "type": "integer"
  17440. },
  17441. "calloptionpremiums4": {
  17442. "description": "认购期权4",
  17443. "type": "integer"
  17444. },
  17445. "calloptionpremiums5": {
  17446. "description": "认购期权5",
  17447. "type": "integer"
  17448. },
  17449. "cleartime": {
  17450. "description": "清盘时间",
  17451. "type": "integer"
  17452. },
  17453. "exchangecode": {
  17454. "description": "交易所代码",
  17455. "type": "integer"
  17456. },
  17457. "exchangedate": {
  17458. "description": "交易日",
  17459. "type": "integer"
  17460. },
  17461. "goodscode": {
  17462. "description": "商品代码",
  17463. "type": "string"
  17464. },
  17465. "grepmarketprice": {
  17466. "description": "暗盘价 港股专用",
  17467. "type": "number"
  17468. },
  17469. "highest": {
  17470. "description": "最高价",
  17471. "type": "number"
  17472. },
  17473. "holdincrement": {
  17474. "description": "单笔持仓",
  17475. "type": "integer"
  17476. },
  17477. "holdvolume": {
  17478. "description": "持仓",
  17479. "type": "integer"
  17480. },
  17481. "iep": {
  17482. "description": "平衡价 港股专用",
  17483. "type": "number"
  17484. },
  17485. "iev": {
  17486. "description": "平衡量 港股专用",
  17487. "type": "number"
  17488. },
  17489. "inventory": {
  17490. "description": "库存",
  17491. "type": "integer"
  17492. },
  17493. "iscleared": {
  17494. "description": "是否清盘标志",
  17495. "type": "integer"
  17496. },
  17497. "issettled": {
  17498. "description": "是否结算标志",
  17499. "type": "integer"
  17500. },
  17501. "last": {
  17502. "description": "最新价",
  17503. "type": "number"
  17504. },
  17505. "lastlot": {
  17506. "description": "最新成交手数",
  17507. "type": "integer"
  17508. },
  17509. "lasttime": {
  17510. "description": "行情时间(只有现价变化行情时间才变化)",
  17511. "type": "string"
  17512. },
  17513. "lastturnover": {
  17514. "description": "最新成交金额",
  17515. "type": "number"
  17516. },
  17517. "lastvolume": {
  17518. "description": "最新成交量",
  17519. "type": "integer"
  17520. },
  17521. "limitdown": {
  17522. "description": "跌停价",
  17523. "type": "number"
  17524. },
  17525. "limitup": {
  17526. "description": "涨停价",
  17527. "type": "number"
  17528. },
  17529. "lowest": {
  17530. "description": "最低价",
  17531. "type": "number"
  17532. },
  17533. "nontotalholdervolume": {
  17534. "description": "非交易持仓量",
  17535. "type": "integer"
  17536. },
  17537. "nontotallot": {
  17538. "description": "非交易总手数",
  17539. "type": "integer"
  17540. },
  17541. "nontotalturnover": {
  17542. "description": "非交易总金额",
  17543. "type": "integer"
  17544. },
  17545. "nontotalvolume": {
  17546. "description": "非交易总量",
  17547. "type": "integer"
  17548. },
  17549. "opened": {
  17550. "description": "开盘价",
  17551. "type": "number"
  17552. },
  17553. "opentime": {
  17554. "description": "开盘时间",
  17555. "type": "string"
  17556. },
  17557. "orderid": {
  17558. "description": "序号",
  17559. "type": "integer"
  17560. },
  17561. "preclose": {
  17562. "description": "昨收",
  17563. "type": "number"
  17564. },
  17565. "preholdvolume": {
  17566. "description": "昨持仓",
  17567. "type": "integer"
  17568. },
  17569. "presettle": {
  17570. "description": "昨结价",
  17571. "type": "number"
  17572. },
  17573. "publictradetype": {
  17574. "description": "公共交易标志类型 港股专用",
  17575. "type": "string"
  17576. },
  17577. "putoptionpremiums": {
  17578. "description": "认沽期权1",
  17579. "type": "integer"
  17580. },
  17581. "putoptionpremiums2": {
  17582. "description": "认沽期权2",
  17583. "type": "integer"
  17584. },
  17585. "putoptionpremiums3": {
  17586. "description": "认沽期权3",
  17587. "type": "integer"
  17588. },
  17589. "putoptionpremiums4": {
  17590. "description": "认沽期权4",
  17591. "type": "integer"
  17592. },
  17593. "putoptionpremiums5": {
  17594. "description": "认沽期权5",
  17595. "type": "integer"
  17596. },
  17597. "settle": {
  17598. "description": "结算价",
  17599. "type": "number"
  17600. },
  17601. "strikeprice": {
  17602. "description": "发行价",
  17603. "type": "number"
  17604. },
  17605. "totalaskvolume": {
  17606. "description": "内盘",
  17607. "type": "integer"
  17608. },
  17609. "totalbidvolume": {
  17610. "description": "外盘",
  17611. "type": "integer"
  17612. },
  17613. "totallot": {
  17614. "description": "总手数",
  17615. "type": "integer"
  17616. },
  17617. "totalturnover": {
  17618. "description": "总金额",
  17619. "type": "number"
  17620. },
  17621. "totalvolume": {
  17622. "description": "总量",
  17623. "type": "integer"
  17624. },
  17625. "utclasttime": {
  17626. "description": "utc的行情时间",
  17627. "type": "string"
  17628. }
  17629. }
  17630. },
  17631. "quote.QueryTSDataRsp": {
  17632. "type": "object",
  17633. "properties": {
  17634. "decimalPlace": {
  17635. "description": "小数位",
  17636. "type": "integer"
  17637. },
  17638. "endTime": {
  17639. "description": "结束时间",
  17640. "type": "string"
  17641. },
  17642. "goodsCode": {
  17643. "description": "商品代码",
  17644. "type": "string"
  17645. },
  17646. "historyDatas": {
  17647. "description": "历史数据",
  17648. "type": "array",
  17649. "items": {
  17650. "$ref": "#/definitions/quote.HistoryData"
  17651. }
  17652. },
  17653. "outGoodsCode": {
  17654. "description": "外部商品代码",
  17655. "type": "string"
  17656. },
  17657. "preSettle": {
  17658. "description": "昨结",
  17659. "type": "number"
  17660. },
  17661. "startTime": {
  17662. "description": "开始时间",
  17663. "type": "string"
  17664. },
  17665. "tradeDate": {
  17666. "description": "交易日",
  17667. "type": "string"
  17668. }
  17669. }
  17670. },
  17671. "szdz.QueryConvertLogRsp": {
  17672. "type": "object",
  17673. "required": [
  17674. "logid"
  17675. ],
  17676. "properties": {
  17677. "accountid": {
  17678. "description": "资金账户ID",
  17679. "type": "integer"
  17680. },
  17681. "clientticket": {
  17682. "description": "客户端流水号",
  17683. "type": "string"
  17684. },
  17685. "converttype": {
  17686. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17687. "type": "integer"
  17688. },
  17689. "createtime": {
  17690. "description": "记账时间",
  17691. "type": "string"
  17692. },
  17693. "daymaxvalue": {
  17694. "description": "配置当日最大转入限制",
  17695. "type": "number"
  17696. },
  17697. "daymaxvalue2": {
  17698. "description": "配置当日最大转入限制(转入)",
  17699. "type": "number"
  17700. },
  17701. "goodscode": {
  17702. "description": "商品代码",
  17703. "type": "string"
  17704. },
  17705. "goodsname": {
  17706. "description": "商品名称",
  17707. "type": "string"
  17708. },
  17709. "handlestatus": {
  17710. "description": "处理状态",
  17711. "type": "integer"
  17712. },
  17713. "innergoodsid": {
  17714. "description": "内部商品ID",
  17715. "type": "integer"
  17716. },
  17717. "inratio": {
  17718. "description": "配置转入比值",
  17719. "type": "integer"
  17720. },
  17721. "invalue": {
  17722. "description": "目标值",
  17723. "type": "number"
  17724. },
  17725. "logid": {
  17726. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17727. "type": "integer"
  17728. },
  17729. "mobile": {
  17730. "description": "手机号码(加密存储)",
  17731. "type": "string"
  17732. },
  17733. "outergoodscode": {
  17734. "description": "外部商品代码[JD\\PD]",
  17735. "type": "string"
  17736. },
  17737. "outratio": {
  17738. "description": "配置转出比值",
  17739. "type": "integer"
  17740. },
  17741. "outvalue": {
  17742. "description": "源值",
  17743. "type": "number"
  17744. },
  17745. "pddecimalplace": {
  17746. "description": "PD小数位",
  17747. "type": "integer"
  17748. },
  17749. "qty": {
  17750. "description": "数量",
  17751. "type": "string"
  17752. },
  17753. "remark": {
  17754. "description": "备注",
  17755. "type": "string"
  17756. },
  17757. "sessionid": {
  17758. "description": "会话ID",
  17759. "type": "integer"
  17760. },
  17761. "timemaxvalue": {
  17762. "description": "配置单次最大转入限制",
  17763. "type": "number"
  17764. },
  17765. "timemaxvalue2": {
  17766. "description": "配置单次最大转入限制(转入)",
  17767. "type": "number"
  17768. },
  17769. "timeminvalue": {
  17770. "description": "配置单次最小数量限制",
  17771. "type": "number"
  17772. },
  17773. "timeminvalue2": {
  17774. "description": "配置单次最小数量限制(转入)",
  17775. "type": "number"
  17776. },
  17777. "tradedate": {
  17778. "description": "交易日(yyyyMMdd)",
  17779. "type": "string"
  17780. },
  17781. "userid": {
  17782. "description": "用户ID",
  17783. "type": "integer"
  17784. }
  17785. }
  17786. },
  17787. "szdz.QueryGoodsPickupRsp": {
  17788. "type": "object",
  17789. "required": [
  17790. "takeorderid"
  17791. ],
  17792. "properties": {
  17793. "accountid": {
  17794. "description": "账户ID",
  17795. "type": "integer"
  17796. },
  17797. "address": {
  17798. "description": "提货人详细地址",
  17799. "type": "string"
  17800. },
  17801. "auditer": {
  17802. "description": "审核人",
  17803. "type": "integer"
  17804. },
  17805. "audittime": {
  17806. "description": "审核时间",
  17807. "type": "string"
  17808. },
  17809. "cardnum": {
  17810. "description": "提货人证件号码",
  17811. "type": "string"
  17812. },
  17813. "cardtypeid": {
  17814. "description": "提货人证件类型",
  17815. "type": "integer"
  17816. },
  17817. "checkremark": {
  17818. "description": "审核备注",
  17819. "type": "string"
  17820. },
  17821. "goodscode": {
  17822. "description": "商品代码",
  17823. "type": "string"
  17824. },
  17825. "goodsid": {
  17826. "description": "商品ID",
  17827. "type": "integer"
  17828. },
  17829. "goodsname": {
  17830. "description": "商品名称",
  17831. "type": "string"
  17832. },
  17833. "handlestatus": {
  17834. "description": "处理状态",
  17835. "type": "integer"
  17836. },
  17837. "marketid": {
  17838. "description": "市场ID",
  17839. "type": "integer"
  17840. },
  17841. "phonenum": {
  17842. "description": "提货人联系方式",
  17843. "type": "string"
  17844. },
  17845. "qty": {
  17846. "description": "提货数量",
  17847. "type": "number"
  17848. },
  17849. "recivername": {
  17850. "description": "提货人姓名",
  17851. "type": "string"
  17852. },
  17853. "reqtime": {
  17854. "description": "更新时间",
  17855. "type": "string"
  17856. },
  17857. "takemode": {
  17858. "description": "提货方式 - 2:自提 3:配送",
  17859. "type": "integer"
  17860. },
  17861. "takeorderid": {
  17862. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17863. "type": "string"
  17864. },
  17865. "takeorderstatus": {
  17866. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17867. "type": "integer"
  17868. },
  17869. "takeremark": {
  17870. "description": "提货备注",
  17871. "type": "string"
  17872. },
  17873. "tradedate": {
  17874. "description": "交易日(yyyyMMdd)",
  17875. "type": "string"
  17876. },
  17877. "userid": {
  17878. "description": "用户ID",
  17879. "type": "integer"
  17880. }
  17881. }
  17882. },
  17883. "szdz.QueryRecieptOrderRsp": {
  17884. "type": "object",
  17885. "required": [
  17886. "ordertime"
  17887. ],
  17888. "properties": {
  17889. "accountName": {
  17890. "description": "所属账号名称(已脱敏)",
  17891. "type": "string"
  17892. },
  17893. "accountid": {
  17894. "description": "资金账号",
  17895. "type": "integer"
  17896. },
  17897. "buyorsell": {
  17898. "description": "方向 - 0:买 1:卖",
  17899. "type": "integer"
  17900. },
  17901. "enableqty": {
  17902. "description": "可摘数量",
  17903. "type": "integer"
  17904. },
  17905. "goodscode": {
  17906. "description": "商品代码",
  17907. "type": "string"
  17908. },
  17909. "goodsid": {
  17910. "description": "商品ID",
  17911. "type": "integer"
  17912. },
  17913. "goodsname": {
  17914. "description": "商品名称",
  17915. "type": "string"
  17916. },
  17917. "orderid": {
  17918. "description": "委托单号",
  17919. "type": "string"
  17920. },
  17921. "orderprice": {
  17922. "description": "委托价格",
  17923. "type": "number"
  17924. },
  17925. "ordertime": {
  17926. "description": "委托时间",
  17927. "type": "string"
  17928. },
  17929. "tradedate": {
  17930. "description": "交易日(yyyyMMdd)",
  17931. "type": "string"
  17932. }
  17933. }
  17934. },
  17935. "szdz.QuerySZDZTradePositionRsp": {
  17936. "type": "object",
  17937. "properties": {
  17938. "accountid": {
  17939. "description": "账号Id",
  17940. "type": "integer"
  17941. },
  17942. "agreeunit": {
  17943. "description": "合约单位",
  17944. "type": "number"
  17945. },
  17946. "averageprice": {
  17947. "description": "持仓均价",
  17948. "type": "number"
  17949. },
  17950. "buyorsell": {
  17951. "description": "方向 - 0:买 1:卖",
  17952. "type": "integer"
  17953. },
  17954. "closetotalqty": {
  17955. "description": "平仓总数量",
  17956. "type": "integer"
  17957. },
  17958. "curholderamount": {
  17959. "description": "当前持仓总金额",
  17960. "type": "number"
  17961. },
  17962. "curpositionqty": {
  17963. "description": "当前持仓总数量",
  17964. "type": "integer"
  17965. },
  17966. "currencyid": {
  17967. "description": "报价货币ID",
  17968. "type": "integer"
  17969. },
  17970. "curtdposition": {
  17971. "description": "期末今日头寸",
  17972. "type": "integer"
  17973. },
  17974. "decimalplace": {
  17975. "description": "报价小数位",
  17976. "type": "integer"
  17977. },
  17978. "enableqty": {
  17979. "description": "可用量",
  17980. "type": "integer"
  17981. },
  17982. "fretdposition": {
  17983. "description": "冻结今日头寸",
  17984. "type": "integer"
  17985. },
  17986. "frozenqty": {
  17987. "description": "持仓冻结数量",
  17988. "type": "integer"
  17989. },
  17990. "goodscode": {
  17991. "description": "商品代码(内部)",
  17992. "type": "string"
  17993. },
  17994. "goodsid": {
  17995. "description": "商品Id",
  17996. "type": "integer"
  17997. },
  17998. "goodsname": {
  17999. "description": "商品名称",
  18000. "type": "string"
  18001. },
  18002. "goodunit": {
  18003. "description": "报价单位",
  18004. "type": "string"
  18005. },
  18006. "goodunitid": {
  18007. "description": "报价单位ID",
  18008. "type": "integer"
  18009. },
  18010. "holderamount": {
  18011. "description": "期初持仓总金额",
  18012. "type": "number"
  18013. },
  18014. "marketid": {
  18015. "description": "市场ID",
  18016. "type": "integer"
  18017. },
  18018. "openreqqty": {
  18019. "description": "开仓申请数量",
  18020. "type": "integer"
  18021. },
  18022. "opentotalqty": {
  18023. "description": "开仓总数量",
  18024. "type": "integer"
  18025. },
  18026. "otherfrozenqty": {
  18027. "description": "持仓其他冻结数量(交割冻结)",
  18028. "type": "integer"
  18029. },
  18030. "positionqty": {
  18031. "description": "期初持仓数量",
  18032. "type": "integer"
  18033. },
  18034. "szdz3freezqty": {
  18035. "description": "尚志大宗转换冻结总数量",
  18036. "type": "integer"
  18037. },
  18038. "tnqty": {
  18039. "description": "T+N冻结总量",
  18040. "type": "integer"
  18041. },
  18042. "tnusedqty": {
  18043. "description": "T+N使用量",
  18044. "type": "integer"
  18045. },
  18046. "trademode": {
  18047. "description": "交易模式",
  18048. "type": "integer"
  18049. },
  18050. "usedmargin": {
  18051. "description": "占用保证金",
  18052. "type": "number"
  18053. }
  18054. }
  18055. },
  18056. "taaccount.QueryAmountLogRsp": {
  18057. "type": "object",
  18058. "required": [
  18059. "accountid",
  18060. "amount",
  18061. "amountadjusttype",
  18062. "autoid",
  18063. "balance",
  18064. "createtime",
  18065. "currentbalance",
  18066. "operatetype"
  18067. ],
  18068. "properties": {
  18069. "OPERATETYPENAME": {
  18070. "description": "资金操作类型名称",
  18071. "type": "string"
  18072. },
  18073. "accountid": {
  18074. "description": "资金账户ID",
  18075. "type": "integer"
  18076. },
  18077. "agoodscode": {
  18078. "description": "竞拍商品代码",
  18079. "type": "string"
  18080. },
  18081. "agoodsname": {
  18082. "description": "竞拍商品名称",
  18083. "type": "string"
  18084. },
  18085. "amount": {
  18086. "description": "资金金额",
  18087. "type": "number"
  18088. },
  18089. "amountadjusttype": {
  18090. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18091. "type": "integer"
  18092. },
  18093. "autoid": {
  18094. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18095. "type": "integer"
  18096. },
  18097. "balance": {
  18098. "description": "期初余额",
  18099. "type": "number"
  18100. },
  18101. "businesscode": {
  18102. "description": "业务编号",
  18103. "type": "integer"
  18104. },
  18105. "createtime": {
  18106. "description": "发生时间",
  18107. "type": "string"
  18108. },
  18109. "currencyid": {
  18110. "description": "币种ID",
  18111. "type": "integer"
  18112. },
  18113. "currentbalance": {
  18114. "description": "期末余额(变动后金额)",
  18115. "type": "number"
  18116. },
  18117. "dgoodscode": {
  18118. "description": "交割商品代码",
  18119. "type": "string"
  18120. },
  18121. "dgoodsname": {
  18122. "description": "交割商品名称",
  18123. "type": "string"
  18124. },
  18125. "goodscode": {
  18126. "description": "商品代码",
  18127. "type": "string"
  18128. },
  18129. "goodsid": {
  18130. "description": "商品ID",
  18131. "type": "integer"
  18132. },
  18133. "goodsname": {
  18134. "description": "商品名称",
  18135. "type": "string"
  18136. },
  18137. "marketid": {
  18138. "description": "市场ID",
  18139. "type": "integer"
  18140. },
  18141. "marketname": {
  18142. "description": "市场名称",
  18143. "type": "string"
  18144. },
  18145. "moneyticket": {
  18146. "description": "资金流水号:银行端流水号",
  18147. "type": "integer"
  18148. },
  18149. "operatetype": {
  18150. "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:营销收款",
  18151. "type": "integer"
  18152. },
  18153. "relationorderid": {
  18154. "description": "关联单号",
  18155. "type": "string"
  18156. },
  18157. "remark": {
  18158. "description": "备注",
  18159. "type": "string"
  18160. },
  18161. "trademode": {
  18162. "description": "交易模式",
  18163. "type": "integer"
  18164. }
  18165. }
  18166. },
  18167. "taaccount.QueryHisAmountLogRsp": {
  18168. "type": "object",
  18169. "required": [
  18170. "accountid",
  18171. "amount",
  18172. "amountadjusttype",
  18173. "autoid",
  18174. "balance",
  18175. "createtime",
  18176. "currentbalance",
  18177. "histradedate",
  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. "histradedate": {
  18250. "description": "历史交易日",
  18251. "type": "string"
  18252. },
  18253. "isvaliddata": {
  18254. "description": "是否有效 - 0:无效 1:有效",
  18255. "type": "integer"
  18256. },
  18257. "marketid": {
  18258. "description": "市场ID",
  18259. "type": "integer"
  18260. },
  18261. "marketname": {
  18262. "description": "市场名称",
  18263. "type": "string"
  18264. },
  18265. "moneyticket": {
  18266. "description": "资金流水号:银行端流水号",
  18267. "type": "integer"
  18268. },
  18269. "operatetype": {
  18270. "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:营销收款",
  18271. "type": "integer"
  18272. },
  18273. "relationorderid": {
  18274. "description": "关联单号",
  18275. "type": "string"
  18276. },
  18277. "remark": {
  18278. "description": "备注",
  18279. "type": "string"
  18280. },
  18281. "trademode": {
  18282. "description": "交易模式",
  18283. "type": "integer"
  18284. }
  18285. }
  18286. },
  18287. "trade.QueryRecieptOrderRsp": {
  18288. "type": "object",
  18289. "required": [
  18290. "ordertime"
  18291. ],
  18292. "properties": {
  18293. "accountName": {
  18294. "description": "所属账号名称(已脱敏)",
  18295. "type": "string"
  18296. },
  18297. "accountid": {
  18298. "description": "资金账号",
  18299. "type": "integer"
  18300. },
  18301. "buyorsell": {
  18302. "description": "方向 - 0:买 1:卖",
  18303. "type": "integer"
  18304. },
  18305. "enableqty": {
  18306. "description": "可摘数量",
  18307. "type": "integer"
  18308. },
  18309. "goodscode": {
  18310. "description": "商品代码",
  18311. "type": "string"
  18312. },
  18313. "goodsid": {
  18314. "description": "商品ID",
  18315. "type": "integer"
  18316. },
  18317. "goodsname": {
  18318. "description": "商品名称",
  18319. "type": "string"
  18320. },
  18321. "orderid": {
  18322. "description": "委托单号",
  18323. "type": "string"
  18324. },
  18325. "orderprice": {
  18326. "description": "委托价格",
  18327. "type": "number"
  18328. },
  18329. "ordertime": {
  18330. "description": "委托时间",
  18331. "type": "string"
  18332. },
  18333. "tradedate": {
  18334. "description": "交易日(yyyyMMdd)",
  18335. "type": "string"
  18336. }
  18337. }
  18338. },
  18339. "user.LoginQueryRsp": {
  18340. "type": "object",
  18341. "properties": {
  18342. "externalExchanges": {
  18343. "description": "外部交易所",
  18344. "type": "array",
  18345. "items": {
  18346. "$ref": "#/definitions/models.Externalexchange"
  18347. }
  18348. },
  18349. "goodsgroups": {
  18350. "description": "商品组",
  18351. "type": "array",
  18352. "items": {
  18353. "$ref": "#/definitions/models.Goodsgroup"
  18354. }
  18355. },
  18356. "loginAccount": {
  18357. "description": "登录账号",
  18358. "$ref": "#/definitions/models.Loginaccount"
  18359. },
  18360. "markets": {
  18361. "description": "市场",
  18362. "type": "array",
  18363. "items": {
  18364. "$ref": "#/definitions/models.Market"
  18365. }
  18366. },
  18367. "userAccount": {
  18368. "description": "用户账号",
  18369. "$ref": "#/definitions/models.Useraccount"
  18370. },
  18371. "userInfo": {
  18372. "description": "用户信息",
  18373. "$ref": "#/definitions/models.Userinfo"
  18374. }
  18375. }
  18376. }
  18377. },
  18378. "securityDefinitions": {
  18379. "ApiKeyAuth": {
  18380. "type": "apiKey",
  18381. "name": "Authorization",
  18382. "in": "header"
  18383. }
  18384. }
  18385. }`
  18386. type swaggerInfo struct {
  18387. Version string
  18388. Host string
  18389. BasePath string
  18390. Schemes []string
  18391. Title string
  18392. Description string
  18393. }
  18394. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18395. var SwaggerInfo = swaggerInfo{
  18396. Version: "1.0",
  18397. Host: "",
  18398. BasePath: "/api",
  18399. Schemes: []string{},
  18400. Title: "MTP2.0 查询服务 API",
  18401. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18402. }
  18403. type s struct{}
  18404. func (s *s) ReadDoc() string {
  18405. sInfo := SwaggerInfo
  18406. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18407. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18408. "marshal": func(v interface{}) string {
  18409. a, _ := json.Marshal(v)
  18410. return string(a)
  18411. },
  18412. }).Parse(doc)
  18413. if err != nil {
  18414. return doc
  18415. }
  18416. var tpl bytes.Buffer
  18417. if err := t.Execute(&tpl, sInfo); err != nil {
  18418. return doc
  18419. }
  18420. return tpl.String()
  18421. }
  18422. func init() {
  18423. swag.Register(swag.Name, &s{})
  18424. }