docs.go 849 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556
  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. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  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": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. }
  1212. ],
  1213. "responses": {
  1214. "200": {
  1215. "description": "OK",
  1216. "schema": {
  1217. "type": "array",
  1218. "items": {
  1219. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1220. }
  1221. }
  1222. },
  1223. "500": {
  1224. "description": "Internal Server Error",
  1225. "schema": {
  1226. "$ref": "#/definitions/app.Response"
  1227. }
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1233. "get": {
  1234. "security": [
  1235. {
  1236. "ApiKeyAuth": []
  1237. }
  1238. ],
  1239. "produces": [
  1240. "application/json"
  1241. ],
  1242. "tags": [
  1243. "企业风险管理(app)"
  1244. ],
  1245. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1246. "parameters": [
  1247. {
  1248. "type": "integer",
  1249. "description": "用户ID",
  1250. "name": "userid",
  1251. "in": "query",
  1252. "required": true
  1253. },
  1254. {
  1255. "type": "integer",
  1256. "description": "账号id",
  1257. "name": "accountid",
  1258. "in": "query"
  1259. }
  1260. ],
  1261. "responses": {
  1262. "200": {
  1263. "description": "OK",
  1264. "schema": {
  1265. "type": "array",
  1266. "items": {
  1267. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1268. }
  1269. }
  1270. },
  1271. "500": {
  1272. "description": "Internal Server Error",
  1273. "schema": {
  1274. "$ref": "#/definitions/app.Response"
  1275. }
  1276. }
  1277. }
  1278. }
  1279. },
  1280. "/Ermcp/QueryAccMgrTaaccount": {
  1281. "get": {
  1282. "security": [
  1283. {
  1284. "ApiKeyAuth": []
  1285. }
  1286. ],
  1287. "produces": [
  1288. "application/json"
  1289. ],
  1290. "tags": [
  1291. "企业风险管理(app)"
  1292. ],
  1293. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1294. "parameters": [
  1295. {
  1296. "type": "integer",
  1297. "description": "用户ID",
  1298. "name": "userid",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAvaildGoodsGroup": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "所属机构ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryBusinessDj": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "UserId",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "string",
  1388. "description": "现货合同ID, 不填则查所有",
  1389. "name": "relatedid",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1395. "name": "applystatus",
  1396. "in": "query"
  1397. }
  1398. ],
  1399. "responses": {
  1400. "200": {
  1401. "description": "OK",
  1402. "schema": {
  1403. "type": "array",
  1404. "items": {
  1405. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1406. }
  1407. }
  1408. },
  1409. "500": {
  1410. "description": "Internal Server Error",
  1411. "schema": {
  1412. "$ref": "#/definitions/app.Response"
  1413. }
  1414. }
  1415. }
  1416. }
  1417. },
  1418. "/Ermcp/QueryBusinessFp": {
  1419. "get": {
  1420. "security": [
  1421. {
  1422. "ApiKeyAuth": []
  1423. }
  1424. ],
  1425. "produces": [
  1426. "application/json"
  1427. ],
  1428. "tags": [
  1429. "企业风险管理(app)"
  1430. ],
  1431. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1432. "parameters": [
  1433. {
  1434. "type": "integer",
  1435. "description": "用户ID",
  1436. "name": "UserId",
  1437. "in": "query",
  1438. "required": true
  1439. },
  1440. {
  1441. "type": "string",
  1442. "description": "现货合同ID, 不填则查所有",
  1443. "name": "relatedid",
  1444. "in": "query"
  1445. },
  1446. {
  1447. "type": "string",
  1448. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1449. "name": "applystatus",
  1450. "in": "query"
  1451. }
  1452. ],
  1453. "responses": {
  1454. "200": {
  1455. "description": "OK",
  1456. "schema": {
  1457. "type": "array",
  1458. "items": {
  1459. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1460. }
  1461. }
  1462. },
  1463. "500": {
  1464. "description": "Internal Server Error",
  1465. "schema": {
  1466. "$ref": "#/definitions/app.Response"
  1467. }
  1468. }
  1469. }
  1470. }
  1471. },
  1472. "/Ermcp/QueryBusinessJs": {
  1473. "get": {
  1474. "security": [
  1475. {
  1476. "ApiKeyAuth": []
  1477. }
  1478. ],
  1479. "produces": [
  1480. "application/json"
  1481. ],
  1482. "tags": [
  1483. "企业风险管理(app)"
  1484. ],
  1485. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1486. "parameters": [
  1487. {
  1488. "type": "integer",
  1489. "description": "用户ID",
  1490. "name": "UserId",
  1491. "in": "query",
  1492. "required": true
  1493. },
  1494. {
  1495. "type": "string",
  1496. "description": "现货合同ID, 不填则查所有",
  1497. "name": "relatedid",
  1498. "in": "query"
  1499. },
  1500. {
  1501. "type": "string",
  1502. "description": "操作申请id",
  1503. "name": "operateapplyid",
  1504. "in": "query"
  1505. },
  1506. {
  1507. "type": "string",
  1508. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1509. "name": "applystatus",
  1510. "in": "query"
  1511. }
  1512. ],
  1513. "responses": {
  1514. "200": {
  1515. "description": "OK",
  1516. "schema": {
  1517. "type": "array",
  1518. "items": {
  1519. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1520. }
  1521. }
  1522. },
  1523. "500": {
  1524. "description": "Internal Server Error",
  1525. "schema": {
  1526. "$ref": "#/definitions/app.Response"
  1527. }
  1528. }
  1529. }
  1530. }
  1531. },
  1532. "/Ermcp/QueryBusinessJsEx": {
  1533. "get": {
  1534. "security": [
  1535. {
  1536. "ApiKeyAuth": []
  1537. }
  1538. ],
  1539. "produces": [
  1540. "application/json"
  1541. ],
  1542. "tags": [
  1543. "企业风险管理(app)"
  1544. ],
  1545. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1546. "parameters": [
  1547. {
  1548. "type": "integer",
  1549. "description": "用户ID",
  1550. "name": "UserId",
  1551. "in": "query",
  1552. "required": true
  1553. },
  1554. {
  1555. "type": "string",
  1556. "description": "现货合同ID, 不填则查所有",
  1557. "name": "relatedid",
  1558. "in": "query"
  1559. },
  1560. {
  1561. "type": "string",
  1562. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1563. "name": "applystatus",
  1564. "in": "query"
  1565. }
  1566. ],
  1567. "responses": {
  1568. "200": {
  1569. "description": "OK",
  1570. "schema": {
  1571. "type": "array",
  1572. "items": {
  1573. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1574. }
  1575. }
  1576. },
  1577. "500": {
  1578. "description": "Internal Server Error",
  1579. "schema": {
  1580. "$ref": "#/definitions/app.Response"
  1581. }
  1582. }
  1583. }
  1584. }
  1585. },
  1586. "/Ermcp/QueryBusinessKx": {
  1587. "get": {
  1588. "security": [
  1589. {
  1590. "ApiKeyAuth": []
  1591. }
  1592. ],
  1593. "produces": [
  1594. "application/json"
  1595. ],
  1596. "tags": [
  1597. "企业风险管理(app)"
  1598. ],
  1599. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1600. "parameters": [
  1601. {
  1602. "type": "integer",
  1603. "description": "用户ID",
  1604. "name": "UserId",
  1605. "in": "query",
  1606. "required": true
  1607. },
  1608. {
  1609. "type": "string",
  1610. "description": "现货合同ID, 不填则查所有",
  1611. "name": "relatedid",
  1612. "in": "query"
  1613. },
  1614. {
  1615. "type": "string",
  1616. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1617. "name": "applystatus",
  1618. "in": "query"
  1619. }
  1620. ],
  1621. "responses": {
  1622. "200": {
  1623. "description": "OK",
  1624. "schema": {
  1625. "type": "array",
  1626. "items": {
  1627. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1628. }
  1629. }
  1630. },
  1631. "500": {
  1632. "description": "Internal Server Error",
  1633. "schema": {
  1634. "$ref": "#/definitions/app.Response"
  1635. }
  1636. }
  1637. }
  1638. }
  1639. },
  1640. "/Ermcp/QueryChangeLog": {
  1641. "get": {
  1642. "security": [
  1643. {
  1644. "ApiKeyAuth": []
  1645. }
  1646. ],
  1647. "produces": [
  1648. "application/json"
  1649. ],
  1650. "tags": [
  1651. "企业风险管理(app)"
  1652. ],
  1653. "summary": "查询变更记录",
  1654. "parameters": [
  1655. {
  1656. "type": "string",
  1657. "description": "合同ID",
  1658. "name": "RelatedId",
  1659. "in": "query",
  1660. "required": true
  1661. }
  1662. ],
  1663. "responses": {
  1664. "200": {
  1665. "description": "OK",
  1666. "schema": {
  1667. "type": "array",
  1668. "items": {
  1669. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1670. }
  1671. }
  1672. },
  1673. "500": {
  1674. "description": "Internal Server Error",
  1675. "schema": {
  1676. "$ref": "#/definitions/app.Response"
  1677. }
  1678. }
  1679. }
  1680. }
  1681. },
  1682. "/Ermcp/QueryErmcpHisOrderDetails": {
  1683. "get": {
  1684. "security": [
  1685. {
  1686. "ApiKeyAuth": []
  1687. }
  1688. ],
  1689. "produces": [
  1690. "application/json"
  1691. ],
  1692. "tags": [
  1693. "企业风险管理(app)"
  1694. ],
  1695. "summary": "获取企业风管期货历史委托单信息",
  1696. "parameters": [
  1697. {
  1698. "type": "integer",
  1699. "description": "资金账户ID",
  1700. "name": "accountID",
  1701. "in": "query",
  1702. "required": true
  1703. },
  1704. {
  1705. "type": "string",
  1706. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1707. "name": "startDate",
  1708. "in": "query"
  1709. },
  1710. {
  1711. "type": "string",
  1712. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1713. "name": "endDate",
  1714. "in": "query"
  1715. }
  1716. ],
  1717. "responses": {
  1718. "200": {
  1719. "description": "OK",
  1720. "schema": {
  1721. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1722. }
  1723. },
  1724. "500": {
  1725. "description": "Internal Server Error",
  1726. "schema": {
  1727. "$ref": "#/definitions/app.Response"
  1728. }
  1729. }
  1730. }
  1731. }
  1732. },
  1733. "/Ermcp/QueryErmcpHisTradeDetails": {
  1734. "get": {
  1735. "security": [
  1736. {
  1737. "ApiKeyAuth": []
  1738. }
  1739. ],
  1740. "produces": [
  1741. "application/json"
  1742. ],
  1743. "tags": [
  1744. "企业风险管理(app)"
  1745. ],
  1746. "summary": "获取企业风管期货历史成交单信息",
  1747. "parameters": [
  1748. {
  1749. "type": "integer",
  1750. "description": "资金账户ID",
  1751. "name": "accountID",
  1752. "in": "query",
  1753. "required": true
  1754. },
  1755. {
  1756. "type": "integer",
  1757. "description": "商品ID",
  1758. "name": "goodsID",
  1759. "in": "query"
  1760. },
  1761. {
  1762. "type": "integer",
  1763. "description": "买卖方向,0:买 1:卖",
  1764. "name": "buyOrSell",
  1765. "in": "query"
  1766. },
  1767. {
  1768. "type": "integer",
  1769. "description": "关联委托单号",
  1770. "name": "orderID",
  1771. "in": "query"
  1772. },
  1773. {
  1774. "type": "string",
  1775. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1776. "name": "startDate",
  1777. "in": "query"
  1778. },
  1779. {
  1780. "type": "string",
  1781. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1782. "name": "endDate",
  1783. "in": "query"
  1784. }
  1785. ],
  1786. "responses": {
  1787. "200": {
  1788. "description": "OK",
  1789. "schema": {
  1790. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1791. }
  1792. },
  1793. "500": {
  1794. "description": "Internal Server Error",
  1795. "schema": {
  1796. "$ref": "#/definitions/app.Response"
  1797. }
  1798. }
  1799. }
  1800. }
  1801. },
  1802. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1803. "get": {
  1804. "security": [
  1805. {
  1806. "ApiKeyAuth": []
  1807. }
  1808. ],
  1809. "produces": [
  1810. "application/json"
  1811. ],
  1812. "tags": [
  1813. "企业风险管理(app)"
  1814. ],
  1815. "summary": "获取企业风管期货内部持仓单信息",
  1816. "parameters": [
  1817. {
  1818. "type": "integer",
  1819. "description": "资金账户ID",
  1820. "name": "accountID",
  1821. "in": "query",
  1822. "required": true
  1823. },
  1824. {
  1825. "type": "integer",
  1826. "description": "商品ID",
  1827. "name": "goodsID",
  1828. "in": "query"
  1829. },
  1830. {
  1831. "type": "integer",
  1832. "description": "买卖方向,0:买 1:卖",
  1833. "name": "buyOrSell",
  1834. "in": "query"
  1835. }
  1836. ],
  1837. "responses": {
  1838. "200": {
  1839. "description": "OK",
  1840. "schema": {
  1841. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1842. }
  1843. },
  1844. "500": {
  1845. "description": "Internal Server Error",
  1846. "schema": {
  1847. "$ref": "#/definitions/app.Response"
  1848. }
  1849. }
  1850. }
  1851. }
  1852. },
  1853. "/Ermcp/QueryErmcpOrderDetails": {
  1854. "get": {
  1855. "security": [
  1856. {
  1857. "ApiKeyAuth": []
  1858. }
  1859. ],
  1860. "produces": [
  1861. "application/json"
  1862. ],
  1863. "tags": [
  1864. "企业风险管理(app)"
  1865. ],
  1866. "summary": "获取企业风管期货委托单信息",
  1867. "parameters": [
  1868. {
  1869. "type": "integer",
  1870. "description": "资金账户ID",
  1871. "name": "accountID",
  1872. "in": "query",
  1873. "required": true
  1874. }
  1875. ],
  1876. "responses": {
  1877. "200": {
  1878. "description": "OK",
  1879. "schema": {
  1880. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1881. }
  1882. },
  1883. "500": {
  1884. "description": "Internal Server Error",
  1885. "schema": {
  1886. "$ref": "#/definitions/app.Response"
  1887. }
  1888. }
  1889. }
  1890. }
  1891. },
  1892. "/Ermcp/QueryErmcpTradeDetails": {
  1893. "get": {
  1894. "security": [
  1895. {
  1896. "ApiKeyAuth": []
  1897. }
  1898. ],
  1899. "produces": [
  1900. "application/json"
  1901. ],
  1902. "tags": [
  1903. "企业风险管理(app)"
  1904. ],
  1905. "summary": "获取企业风管期货成交单信息",
  1906. "parameters": [
  1907. {
  1908. "type": "integer",
  1909. "description": "资金账户ID",
  1910. "name": "accountID",
  1911. "in": "query",
  1912. "required": true
  1913. },
  1914. {
  1915. "type": "integer",
  1916. "description": "商品ID",
  1917. "name": "goodsID",
  1918. "in": "query"
  1919. },
  1920. {
  1921. "type": "integer",
  1922. "description": "买卖方向,0:买 1:卖",
  1923. "name": "buyOrSell",
  1924. "in": "query"
  1925. },
  1926. {
  1927. "type": "integer",
  1928. "description": "关联委托单号",
  1929. "name": "orderID",
  1930. "in": "query"
  1931. }
  1932. ],
  1933. "responses": {
  1934. "200": {
  1935. "description": "OK",
  1936. "schema": {
  1937. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1938. }
  1939. },
  1940. "500": {
  1941. "description": "Internal Server Error",
  1942. "schema": {
  1943. "$ref": "#/definitions/app.Response"
  1944. }
  1945. }
  1946. }
  1947. }
  1948. },
  1949. "/Ermcp/QueryErmcpTradePosition": {
  1950. "get": {
  1951. "security": [
  1952. {
  1953. "ApiKeyAuth": []
  1954. }
  1955. ],
  1956. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1957. "produces": [
  1958. "application/json"
  1959. ],
  1960. "tags": [
  1961. "企业风险管理(app)"
  1962. ],
  1963. "summary": "获取企业风管期货持仓头寸信息",
  1964. "parameters": [
  1965. {
  1966. "type": "integer",
  1967. "description": "资金账户ID",
  1968. "name": "accountID",
  1969. "in": "query",
  1970. "required": true
  1971. },
  1972. {
  1973. "type": "integer",
  1974. "description": "所属市场ID",
  1975. "name": "marketID",
  1976. "in": "query"
  1977. }
  1978. ],
  1979. "responses": {
  1980. "200": {
  1981. "description": "OK",
  1982. "schema": {
  1983. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1984. }
  1985. },
  1986. "500": {
  1987. "description": "Internal Server Error",
  1988. "schema": {
  1989. "$ref": "#/definitions/app.Response"
  1990. }
  1991. }
  1992. }
  1993. }
  1994. },
  1995. "/Ermcp/QueryExposureDetail": {
  1996. "get": {
  1997. "security": [
  1998. {
  1999. "ApiKeyAuth": []
  2000. }
  2001. ],
  2002. "produces": [
  2003. "application/json"
  2004. ],
  2005. "tags": [
  2006. "企业风险管理(app)"
  2007. ],
  2008. "summary": "查询敞口现货明细",
  2009. "parameters": [
  2010. {
  2011. "type": "integer",
  2012. "description": "所属机构ID",
  2013. "name": "areaUserId",
  2014. "in": "query",
  2015. "required": true
  2016. },
  2017. {
  2018. "type": "integer",
  2019. "description": "套保商品",
  2020. "name": "middleGoodsId",
  2021. "in": "query",
  2022. "required": true
  2023. }
  2024. ],
  2025. "responses": {
  2026. "200": {
  2027. "description": "OK",
  2028. "schema": {
  2029. "type": "array",
  2030. "items": {
  2031. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2032. }
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/Ermcp/QueryExposureHedgePosition": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "produces": [
  2052. "application/json"
  2053. ],
  2054. "tags": [
  2055. "企业风险管理(app)"
  2056. ],
  2057. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2058. "parameters": [
  2059. {
  2060. "type": "integer",
  2061. "description": "用户id",
  2062. "name": "userid",
  2063. "in": "query",
  2064. "required": true
  2065. }
  2066. ],
  2067. "responses": {
  2068. "200": {
  2069. "description": "OK",
  2070. "schema": {
  2071. "type": "array",
  2072. "items": {
  2073. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2074. }
  2075. }
  2076. },
  2077. "500": {
  2078. "description": "Internal Server Error",
  2079. "schema": {
  2080. "$ref": "#/definitions/app.Response"
  2081. }
  2082. }
  2083. }
  2084. }
  2085. },
  2086. "/Ermcp/QueryExposureHedgePositionDetail": {
  2087. "get": {
  2088. "security": [
  2089. {
  2090. "ApiKeyAuth": []
  2091. }
  2092. ],
  2093. "produces": [
  2094. "application/json"
  2095. ],
  2096. "tags": [
  2097. "企业风险管理(app)"
  2098. ],
  2099. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2100. "parameters": [
  2101. {
  2102. "type": "integer",
  2103. "description": "所属机构ID",
  2104. "name": "userid",
  2105. "in": "query",
  2106. "required": true
  2107. },
  2108. {
  2109. "type": "integer",
  2110. "description": "商品id",
  2111. "name": "goodsId",
  2112. "in": "query",
  2113. "required": true
  2114. }
  2115. ],
  2116. "responses": {
  2117. "200": {
  2118. "description": "OK",
  2119. "schema": {
  2120. "type": "array",
  2121. "items": {
  2122. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2123. }
  2124. }
  2125. },
  2126. "500": {
  2127. "description": "Internal Server Error",
  2128. "schema": {
  2129. "$ref": "#/definitions/app.Response"
  2130. }
  2131. }
  2132. }
  2133. }
  2134. },
  2135. "/Ermcp/QueryExposureSpot": {
  2136. "get": {
  2137. "security": [
  2138. {
  2139. "ApiKeyAuth": []
  2140. }
  2141. ],
  2142. "produces": [
  2143. "application/json"
  2144. ],
  2145. "tags": [
  2146. "企业风险管理(app)"
  2147. ],
  2148. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2149. "parameters": [
  2150. {
  2151. "type": "integer",
  2152. "description": "所属机构ID",
  2153. "name": "areaUserId",
  2154. "in": "query",
  2155. "required": true
  2156. }
  2157. ],
  2158. "responses": {
  2159. "200": {
  2160. "description": "OK",
  2161. "schema": {
  2162. "type": "array",
  2163. "items": {
  2164. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2165. }
  2166. }
  2167. },
  2168. "500": {
  2169. "description": "Internal Server Error",
  2170. "schema": {
  2171. "$ref": "#/definitions/app.Response"
  2172. }
  2173. }
  2174. }
  2175. }
  2176. },
  2177. "/Ermcp/QueryExposureSpotDetail": {
  2178. "get": {
  2179. "security": [
  2180. {
  2181. "ApiKeyAuth": []
  2182. }
  2183. ],
  2184. "produces": [
  2185. "application/json"
  2186. ],
  2187. "tags": [
  2188. "企业风险管理(app)"
  2189. ],
  2190. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2191. "parameters": [
  2192. {
  2193. "type": "integer",
  2194. "description": "所属机构ID",
  2195. "name": "areaUserId",
  2196. "in": "query",
  2197. "required": true
  2198. },
  2199. {
  2200. "type": "integer",
  2201. "description": "现货品种ID",
  2202. "name": "wrstandardId",
  2203. "in": "query",
  2204. "required": true
  2205. }
  2206. ],
  2207. "responses": {
  2208. "200": {
  2209. "description": "OK",
  2210. "schema": {
  2211. "type": "array",
  2212. "items": {
  2213. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2214. }
  2215. }
  2216. },
  2217. "500": {
  2218. "description": "Internal Server Error",
  2219. "schema": {
  2220. "$ref": "#/definitions/app.Response"
  2221. }
  2222. }
  2223. }
  2224. }
  2225. },
  2226. "/Ermcp/QueryFuturesCompany": {
  2227. "get": {
  2228. "security": [
  2229. {
  2230. "ApiKeyAuth": []
  2231. }
  2232. ],
  2233. "produces": [
  2234. "application/json"
  2235. ],
  2236. "tags": [
  2237. "企业风险管理(app)"
  2238. ],
  2239. "summary": "查询期货公司",
  2240. "responses": {
  2241. "200": {
  2242. "description": "OK",
  2243. "schema": {
  2244. "type": "array",
  2245. "items": {
  2246. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2247. }
  2248. }
  2249. },
  2250. "500": {
  2251. "description": "Internal Server Error",
  2252. "schema": {
  2253. "$ref": "#/definitions/app.Response"
  2254. }
  2255. }
  2256. }
  2257. }
  2258. },
  2259. "/Ermcp/QueryGGConvertConfig": {
  2260. "get": {
  2261. "security": [
  2262. {
  2263. "ApiKeyAuth": []
  2264. }
  2265. ],
  2266. "produces": [
  2267. "application/json"
  2268. ],
  2269. "tags": [
  2270. "企业风险管理(app)"
  2271. ],
  2272. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2273. "parameters": [
  2274. {
  2275. "type": "integer",
  2276. "description": "品种id(不填则查所有)",
  2277. "name": "goodsgroupid",
  2278. "in": "query"
  2279. }
  2280. ],
  2281. "responses": {
  2282. "200": {
  2283. "description": "OK",
  2284. "schema": {
  2285. "type": "array",
  2286. "items": {
  2287. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2288. }
  2289. }
  2290. },
  2291. "500": {
  2292. "description": "Internal Server Error",
  2293. "schema": {
  2294. "$ref": "#/definitions/app.Response"
  2295. }
  2296. }
  2297. }
  2298. }
  2299. },
  2300. "/Ermcp/QueryGoodsBrand": {
  2301. "get": {
  2302. "security": [
  2303. {
  2304. "ApiKeyAuth": []
  2305. }
  2306. ],
  2307. "produces": [
  2308. "application/json"
  2309. ],
  2310. "tags": [
  2311. "企业风险管理(app)"
  2312. ],
  2313. "summary": "查询商品品牌",
  2314. "parameters": [
  2315. {
  2316. "type": "integer",
  2317. "description": "用户ID",
  2318. "name": "userid",
  2319. "in": "query",
  2320. "required": true
  2321. },
  2322. {
  2323. "type": "integer",
  2324. "description": "现货商品ID",
  2325. "name": "wrstandardid",
  2326. "in": "query"
  2327. }
  2328. ],
  2329. "responses": {
  2330. "200": {
  2331. "description": "OK",
  2332. "schema": {
  2333. "type": "array",
  2334. "items": {
  2335. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2336. }
  2337. }
  2338. },
  2339. "500": {
  2340. "description": "Internal Server Error",
  2341. "schema": {
  2342. "$ref": "#/definitions/app.Response"
  2343. }
  2344. }
  2345. }
  2346. }
  2347. },
  2348. "/Ermcp/QueryGoodsModel": {
  2349. "get": {
  2350. "security": [
  2351. {
  2352. "ApiKeyAuth": []
  2353. }
  2354. ],
  2355. "produces": [
  2356. "application/json"
  2357. ],
  2358. "tags": [
  2359. "企业风险管理(app)"
  2360. ],
  2361. "summary": "查询商品型号",
  2362. "parameters": [
  2363. {
  2364. "type": "integer",
  2365. "description": "用户ID",
  2366. "name": "userid",
  2367. "in": "query",
  2368. "required": true
  2369. }
  2370. ],
  2371. "responses": {
  2372. "200": {
  2373. "description": "OK",
  2374. "schema": {
  2375. "type": "array",
  2376. "items": {
  2377. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2378. }
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/Ermcp/QueryHisExposure": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "企业风险管理(app)"
  2402. ],
  2403. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "用户id",
  2408. "name": "userid",
  2409. "in": "query",
  2410. "required": true
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "每个品种记录数",
  2415. "name": "lastNum",
  2416. "in": "query",
  2417. "required": true
  2418. }
  2419. ],
  2420. "responses": {
  2421. "200": {
  2422. "description": "OK",
  2423. "schema": {
  2424. "type": "array",
  2425. "items": {
  2426. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2427. }
  2428. }
  2429. },
  2430. "500": {
  2431. "description": "Internal Server Error",
  2432. "schema": {
  2433. "$ref": "#/definitions/app.Response"
  2434. }
  2435. }
  2436. }
  2437. }
  2438. },
  2439. "/Ermcp/QueryMiddleGoods": {
  2440. "get": {
  2441. "security": [
  2442. {
  2443. "ApiKeyAuth": []
  2444. }
  2445. ],
  2446. "produces": [
  2447. "application/json"
  2448. ],
  2449. "tags": [
  2450. "企业风险管理(app)"
  2451. ],
  2452. "summary": "查询套保品种(菜单:套保品种)",
  2453. "parameters": [
  2454. {
  2455. "type": "integer",
  2456. "description": "所属机构ID",
  2457. "name": "userid",
  2458. "in": "query",
  2459. "required": true
  2460. },
  2461. {
  2462. "type": "integer",
  2463. "description": "状态 0-停用 1-正常",
  2464. "name": "status",
  2465. "in": "query",
  2466. "required": true
  2467. }
  2468. ],
  2469. "responses": {
  2470. "200": {
  2471. "description": "OK",
  2472. "schema": {
  2473. "type": "array",
  2474. "items": {
  2475. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2476. }
  2477. }
  2478. },
  2479. "500": {
  2480. "description": "Internal Server Error",
  2481. "schema": {
  2482. "$ref": "#/definitions/app.Response"
  2483. }
  2484. }
  2485. }
  2486. }
  2487. },
  2488. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2489. "get": {
  2490. "security": [
  2491. {
  2492. "ApiKeyAuth": []
  2493. }
  2494. ],
  2495. "produces": [
  2496. "application/json"
  2497. ],
  2498. "tags": [
  2499. "企业风险管理(app)"
  2500. ],
  2501. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2502. "parameters": [
  2503. {
  2504. "type": "integer",
  2505. "description": "所属机构ID",
  2506. "name": "userid",
  2507. "in": "query",
  2508. "required": true
  2509. },
  2510. {
  2511. "type": "integer",
  2512. "description": "套保品种id",
  2513. "name": "middlegoodsid",
  2514. "in": "query",
  2515. "required": true
  2516. }
  2517. ],
  2518. "responses": {
  2519. "200": {
  2520. "description": "OK",
  2521. "schema": {
  2522. "type": "array",
  2523. "items": {
  2524. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2525. }
  2526. }
  2527. },
  2528. "500": {
  2529. "description": "Internal Server Error",
  2530. "schema": {
  2531. "$ref": "#/definitions/app.Response"
  2532. }
  2533. }
  2534. }
  2535. }
  2536. },
  2537. "/Ermcp/QueryMiddleGoodsDetail": {
  2538. "get": {
  2539. "security": [
  2540. {
  2541. "ApiKeyAuth": []
  2542. }
  2543. ],
  2544. "produces": [
  2545. "application/json"
  2546. ],
  2547. "tags": [
  2548. "企业风险管理(app)"
  2549. ],
  2550. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2551. "parameters": [
  2552. {
  2553. "type": "integer",
  2554. "description": "所属机构ID",
  2555. "name": "userid",
  2556. "in": "query",
  2557. "required": true
  2558. },
  2559. {
  2560. "type": "integer",
  2561. "description": "套保品种id",
  2562. "name": "middlegoodsid",
  2563. "in": "query"
  2564. }
  2565. ],
  2566. "responses": {
  2567. "200": {
  2568. "description": "OK",
  2569. "schema": {
  2570. "type": "array",
  2571. "items": {
  2572. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2573. }
  2574. }
  2575. },
  2576. "500": {
  2577. "description": "Internal Server Error",
  2578. "schema": {
  2579. "$ref": "#/definitions/app.Response"
  2580. }
  2581. }
  2582. }
  2583. }
  2584. },
  2585. "/Ermcp/QueryPendingAuditInfo": {
  2586. "get": {
  2587. "security": [
  2588. {
  2589. "ApiKeyAuth": []
  2590. }
  2591. ],
  2592. "produces": [
  2593. "application/json"
  2594. ],
  2595. "tags": [
  2596. "企业风险管理(app)"
  2597. ],
  2598. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2599. "parameters": [
  2600. {
  2601. "type": "integer",
  2602. "description": "用户ID",
  2603. "name": "UserId",
  2604. "in": "query",
  2605. "required": true
  2606. }
  2607. ],
  2608. "responses": {
  2609. "200": {
  2610. "description": "OK",
  2611. "schema": {
  2612. "type": "array",
  2613. "items": {
  2614. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2615. }
  2616. }
  2617. },
  2618. "500": {
  2619. "description": "Internal Server Error",
  2620. "schema": {
  2621. "$ref": "#/definitions/app.Response"
  2622. }
  2623. }
  2624. }
  2625. }
  2626. },
  2627. "/Ermcp/QueryRealtimeExposure": {
  2628. "get": {
  2629. "security": [
  2630. {
  2631. "ApiKeyAuth": []
  2632. }
  2633. ],
  2634. "produces": [
  2635. "application/json"
  2636. ],
  2637. "tags": [
  2638. "企业风险管理(app)"
  2639. ],
  2640. "summary": "查询实时敞口",
  2641. "parameters": [
  2642. {
  2643. "type": "integer",
  2644. "description": "所属机构ID",
  2645. "name": "userid",
  2646. "in": "query",
  2647. "required": true
  2648. }
  2649. ],
  2650. "responses": {
  2651. "200": {
  2652. "description": "OK",
  2653. "schema": {
  2654. "type": "array",
  2655. "items": {
  2656. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2657. }
  2658. }
  2659. },
  2660. "500": {
  2661. "description": "Internal Server Error",
  2662. "schema": {
  2663. "$ref": "#/definitions/app.Response"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. },
  2669. "/Ermcp/QueryRealtimeExposurePosition": {
  2670. "get": {
  2671. "security": [
  2672. {
  2673. "ApiKeyAuth": []
  2674. }
  2675. ],
  2676. "produces": [
  2677. "application/json"
  2678. ],
  2679. "tags": [
  2680. "企业风险管理(app)"
  2681. ],
  2682. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2683. "parameters": [
  2684. {
  2685. "type": "integer",
  2686. "description": "用户id",
  2687. "name": "userid",
  2688. "in": "query",
  2689. "required": true
  2690. },
  2691. {
  2692. "type": "integer",
  2693. "description": "套保商品ID",
  2694. "name": "middleGoodsId",
  2695. "in": "query",
  2696. "required": true
  2697. }
  2698. ],
  2699. "responses": {
  2700. "200": {
  2701. "description": "OK",
  2702. "schema": {
  2703. "type": "array",
  2704. "items": {
  2705. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2706. }
  2707. }
  2708. },
  2709. "500": {
  2710. "description": "Internal Server Error",
  2711. "schema": {
  2712. "$ref": "#/definitions/app.Response"
  2713. }
  2714. }
  2715. }
  2716. }
  2717. },
  2718. "/Ermcp/QueryTradeConfigTMP": {
  2719. "get": {
  2720. "security": [
  2721. {
  2722. "ApiKeyAuth": []
  2723. }
  2724. ],
  2725. "produces": [
  2726. "application/json"
  2727. ],
  2728. "tags": [
  2729. "企业风险管理(app)"
  2730. ],
  2731. "summary": "查询交易模板配置",
  2732. "parameters": [
  2733. {
  2734. "type": "integer",
  2735. "description": "所属机构id",
  2736. "name": "areauserid",
  2737. "in": "query"
  2738. }
  2739. ],
  2740. "responses": {
  2741. "200": {
  2742. "description": "OK",
  2743. "schema": {
  2744. "type": "array",
  2745. "items": {
  2746. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2747. }
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryUserInfo": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "查询客户资料",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "所属机构用户ID",
  2777. "name": "MemberUserID",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2784. "name": "queryType",
  2785. "in": "query",
  2786. "required": true
  2787. }
  2788. ],
  2789. "responses": {
  2790. "200": {
  2791. "description": "OK",
  2792. "schema": {
  2793. "type": "array",
  2794. "items": {
  2795. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2796. }
  2797. }
  2798. },
  2799. "500": {
  2800. "description": "Internal Server Error",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. }
  2805. }
  2806. }
  2807. },
  2808. "/Ermcp/QueryWarehouseInfo": {
  2809. "get": {
  2810. "security": [
  2811. {
  2812. "ApiKeyAuth": []
  2813. }
  2814. ],
  2815. "produces": [
  2816. "application/json"
  2817. ],
  2818. "tags": [
  2819. "企业风险管理(app)"
  2820. ],
  2821. "summary": "查询仓库信息",
  2822. "parameters": [
  2823. {
  2824. "type": "integer",
  2825. "description": "用户ID",
  2826. "name": "userid",
  2827. "in": "query",
  2828. "required": true
  2829. },
  2830. {
  2831. "type": "string",
  2832. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2833. "name": "status",
  2834. "in": "query"
  2835. }
  2836. ],
  2837. "responses": {
  2838. "200": {
  2839. "description": "OK",
  2840. "schema": {
  2841. "type": "array",
  2842. "items": {
  2843. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2844. }
  2845. }
  2846. },
  2847. "500": {
  2848. "description": "Internal Server Error",
  2849. "schema": {
  2850. "$ref": "#/definitions/app.Response"
  2851. }
  2852. }
  2853. }
  2854. }
  2855. },
  2856. "/Ermcp3/QryAreaExpourseContractDetail": {
  2857. "get": {
  2858. "security": [
  2859. {
  2860. "ApiKeyAuth": []
  2861. }
  2862. ],
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理v3(app)"
  2868. ],
  2869. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "用户ID",
  2874. "name": "userid",
  2875. "in": "query",
  2876. "required": true
  2877. },
  2878. {
  2879. "type": "integer",
  2880. "description": "套保商品id",
  2881. "name": "middlegoodsid",
  2882. "in": "query",
  2883. "required": true
  2884. },
  2885. {
  2886. "type": "string",
  2887. "description": "日报表明细, 交易日(格式yyyymmdd)",
  2888. "name": "tradedate",
  2889. "in": "query"
  2890. },
  2891. {
  2892. "type": "integer",
  2893. "description": "周期报表明细, 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2894. "name": "cycletype",
  2895. "in": "query"
  2896. },
  2897. {
  2898. "type": "string",
  2899. "description": "周期报表明细, 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2900. "name": "cycletime",
  2901. "in": "query"
  2902. }
  2903. ],
  2904. "responses": {
  2905. "200": {
  2906. "description": "OK",
  2907. "schema": {
  2908. "type": "array",
  2909. "items": {
  2910. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2911. }
  2912. }
  2913. },
  2914. "500": {
  2915. "description": "Internal Server Error",
  2916. "schema": {
  2917. "$ref": "#/definitions/app.Response"
  2918. }
  2919. }
  2920. }
  2921. }
  2922. },
  2923. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2924. "get": {
  2925. "security": [
  2926. {
  2927. "ApiKeyAuth": []
  2928. }
  2929. ],
  2930. "produces": [
  2931. "application/json"
  2932. ],
  2933. "tags": [
  2934. "企业风险管理v3(app)"
  2935. ],
  2936. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2937. "parameters": [
  2938. {
  2939. "type": "integer",
  2940. "description": "用户ID",
  2941. "name": "userid",
  2942. "in": "query",
  2943. "required": true
  2944. },
  2945. {
  2946. "type": "integer",
  2947. "description": "套保商品id",
  2948. "name": "middlegoodsid",
  2949. "in": "query",
  2950. "required": true
  2951. },
  2952. {
  2953. "type": "string",
  2954. "description": "交易日(格式yyyymmdd)-日报表明细",
  2955. "name": "tradedate",
  2956. "in": "query"
  2957. },
  2958. {
  2959. "type": "integer",
  2960. "description": "周期报表明细, 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2961. "name": "cycletype",
  2962. "in": "query"
  2963. },
  2964. {
  2965. "type": "string",
  2966. "description": "周期报表明细, 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2967. "name": "cycletime",
  2968. "in": "query"
  2969. }
  2970. ],
  2971. "responses": {
  2972. "200": {
  2973. "description": "OK",
  2974. "schema": {
  2975. "type": "array",
  2976. "items": {
  2977. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  2978. }
  2979. }
  2980. },
  2981. "500": {
  2982. "description": "Internal Server Error",
  2983. "schema": {
  2984. "$ref": "#/definitions/app.Response"
  2985. }
  2986. }
  2987. }
  2988. }
  2989. },
  2990. "/Ermcp3/QryAreaExpourseReport": {
  2991. "get": {
  2992. "security": [
  2993. {
  2994. "ApiKeyAuth": []
  2995. }
  2996. ],
  2997. "produces": [
  2998. "application/json"
  2999. ],
  3000. "tags": [
  3001. "企业风险管理v3(app)"
  3002. ],
  3003. "summary": "查询敞口报表",
  3004. "parameters": [
  3005. {
  3006. "type": "integer",
  3007. "description": "用户ID",
  3008. "name": "userid",
  3009. "in": "query",
  3010. "required": true
  3011. },
  3012. {
  3013. "type": "integer",
  3014. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 5-周期报表明细(查日报表)",
  3015. "name": "querytype",
  3016. "in": "query",
  3017. "required": true
  3018. },
  3019. {
  3020. "type": "string",
  3021. "description": "交易日(格式yyyymmdd)",
  3022. "name": "tradedate",
  3023. "in": "query"
  3024. },
  3025. {
  3026. "type": "integer",
  3027. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3028. "name": "cycletype",
  3029. "in": "query"
  3030. },
  3031. {
  3032. "type": "string",
  3033. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3034. "name": "cycletime",
  3035. "in": "query"
  3036. },
  3037. {
  3038. "type": "string",
  3039. "description": "开始交易日(格式yyyymmdd)",
  3040. "name": "begindate",
  3041. "in": "query"
  3042. },
  3043. {
  3044. "type": "string",
  3045. "description": "结束交易日(格式yyyymmdd)",
  3046. "name": "enddate",
  3047. "in": "query"
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "type": "array",
  3055. "items": {
  3056. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Ermcp3/QryAreaSpotplReport": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "企业风险管理v3(app)"
  3081. ],
  3082. "summary": "查询现货报表",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "用户ID",
  3087. "name": "userid",
  3088. "in": "query",
  3089. "required": true
  3090. },
  3091. {
  3092. "type": "integer",
  3093. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细(查日报表) 6-周期报表明细(查日报表明细)",
  3094. "name": "querytype",
  3095. "in": "query",
  3096. "required": true
  3097. },
  3098. {
  3099. "type": "string",
  3100. "description": "交易日(格式yyyymmdd)",
  3101. "name": "tradedate",
  3102. "in": "query"
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3107. "name": "cycletype",
  3108. "in": "query"
  3109. },
  3110. {
  3111. "type": "string",
  3112. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3113. "name": "cycletime",
  3114. "in": "query"
  3115. },
  3116. {
  3117. "type": "string",
  3118. "description": "开始交易日(格式yyyymmdd)",
  3119. "name": "begindate",
  3120. "in": "query"
  3121. },
  3122. {
  3123. "type": "string",
  3124. "description": "结束交易日(格式yyyymmdd)",
  3125. "name": "enddate",
  3126. "in": "query"
  3127. },
  3128. {
  3129. "type": "integer",
  3130. "description": "现货品种id",
  3131. "name": "deliverygoodsid",
  3132. "in": "query"
  3133. },
  3134. {
  3135. "type": "integer",
  3136. "description": "品类id",
  3137. "name": "wrstandardid",
  3138. "in": "query"
  3139. },
  3140. {
  3141. "type": "integer",
  3142. "description": "币种id",
  3143. "name": "currencyid",
  3144. "in": "query"
  3145. }
  3146. ],
  3147. "responses": {
  3148. "200": {
  3149. "description": "OK",
  3150. "schema": {
  3151. "type": "array",
  3152. "items": {
  3153. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3154. }
  3155. }
  3156. },
  3157. "500": {
  3158. "description": "Internal Server Error",
  3159. "schema": {
  3160. "$ref": "#/definitions/app.Response"
  3161. }
  3162. }
  3163. }
  3164. }
  3165. },
  3166. "/Ermcp3/QryAreaStockReport": {
  3167. "get": {
  3168. "security": [
  3169. {
  3170. "ApiKeyAuth": []
  3171. }
  3172. ],
  3173. "produces": [
  3174. "application/json"
  3175. ],
  3176. "tags": [
  3177. "企业风险管理v3(app)"
  3178. ],
  3179. "summary": "查询库存报表",
  3180. "parameters": [
  3181. {
  3182. "type": "integer",
  3183. "description": "用户ID",
  3184. "name": "userid",
  3185. "in": "query",
  3186. "required": true
  3187. },
  3188. {
  3189. "type": "integer",
  3190. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细(查日报表) 6-周期报表明细(查日报表明细)",
  3191. "name": "querytype",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "string",
  3197. "description": "交易日(格式yyyymmdd)",
  3198. "name": "tradedate",
  3199. "in": "query"
  3200. },
  3201. {
  3202. "type": "integer",
  3203. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3204. "name": "cycletype",
  3205. "in": "query"
  3206. },
  3207. {
  3208. "type": "string",
  3209. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3210. "name": "cycletime",
  3211. "in": "query"
  3212. },
  3213. {
  3214. "type": "string",
  3215. "description": "开始交易日(格式yyyymmdd)",
  3216. "name": "begindate",
  3217. "in": "query"
  3218. },
  3219. {
  3220. "type": "string",
  3221. "description": "结束交易日(格式yyyymmdd)",
  3222. "name": "enddate",
  3223. "in": "query"
  3224. },
  3225. {
  3226. "type": "integer",
  3227. "description": "现货商品ID",
  3228. "name": "deliverygoodsid",
  3229. "in": "query"
  3230. },
  3231. {
  3232. "type": "integer",
  3233. "description": "品类ID",
  3234. "name": "wrstandardid",
  3235. "in": "query"
  3236. },
  3237. {
  3238. "type": "integer",
  3239. "description": "品牌ID",
  3240. "name": "spotgoodsbrandid",
  3241. "in": "query"
  3242. }
  3243. ],
  3244. "responses": {
  3245. "200": {
  3246. "description": "OK",
  3247. "schema": {
  3248. "type": "array",
  3249. "items": {
  3250. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  3251. }
  3252. }
  3253. },
  3254. "500": {
  3255. "description": "Internal Server Error",
  3256. "schema": {
  3257. "$ref": "#/definitions/app.Response"
  3258. }
  3259. }
  3260. }
  3261. }
  3262. },
  3263. "/Ermcp3/QryAreaSumPL": {
  3264. "get": {
  3265. "security": [
  3266. {
  3267. "ApiKeyAuth": []
  3268. }
  3269. ],
  3270. "produces": [
  3271. "application/json"
  3272. ],
  3273. "tags": [
  3274. "企业风险管理v3(app)"
  3275. ],
  3276. "summary": "查询汇总损益表",
  3277. "parameters": [
  3278. {
  3279. "type": "integer",
  3280. "description": "用户ID",
  3281. "name": "userid",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "integer",
  3287. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细(查日报表) 6-周期报表明细(查日报表明细)",
  3288. "name": "querytype",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "string",
  3294. "description": "交易日(格式yyyymmdd)",
  3295. "name": "tradedate",
  3296. "in": "query"
  3297. },
  3298. {
  3299. "type": "integer",
  3300. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3301. "name": "cycletype",
  3302. "in": "query"
  3303. },
  3304. {
  3305. "type": "string",
  3306. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3307. "name": "cycletime",
  3308. "in": "query"
  3309. },
  3310. {
  3311. "type": "string",
  3312. "description": "开始交易日(格式yyyymmdd)",
  3313. "name": "begindate",
  3314. "in": "query"
  3315. },
  3316. {
  3317. "type": "string",
  3318. "description": "结束交易日(格式yyyymmdd)",
  3319. "name": "enddate",
  3320. "in": "query"
  3321. },
  3322. {
  3323. "type": "integer",
  3324. "description": "币种id(日报表明细)",
  3325. "name": "currencyid",
  3326. "in": "query"
  3327. }
  3328. ],
  3329. "responses": {
  3330. "200": {
  3331. "description": "OK",
  3332. "schema": {
  3333. "type": "array",
  3334. "items": {
  3335. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3336. }
  3337. }
  3338. },
  3339. "500": {
  3340. "description": "Internal Server Error",
  3341. "schema": {
  3342. "$ref": "#/definitions/app.Response"
  3343. }
  3344. }
  3345. }
  3346. }
  3347. },
  3348. "/Ermcp3/QryFinanceReport": {
  3349. "get": {
  3350. "security": [
  3351. {
  3352. "ApiKeyAuth": []
  3353. }
  3354. ],
  3355. "produces": [
  3356. "application/json"
  3357. ],
  3358. "tags": [
  3359. "企业风险管理v3(app)"
  3360. ],
  3361. "summary": "查询财务报表",
  3362. "parameters": [
  3363. {
  3364. "type": "integer",
  3365. "description": "用户ID",
  3366. "name": "userid",
  3367. "in": "query",
  3368. "required": true
  3369. },
  3370. {
  3371. "type": "integer",
  3372. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细(查日报表) 6-周期报表明细(查日报表明细)",
  3373. "name": "querytype",
  3374. "in": "query",
  3375. "required": true
  3376. },
  3377. {
  3378. "type": "string",
  3379. "description": "交易日(格式yyyymmdd)",
  3380. "name": "tradedate",
  3381. "in": "query"
  3382. },
  3383. {
  3384. "type": "integer",
  3385. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3386. "name": "cycletype",
  3387. "in": "query"
  3388. },
  3389. {
  3390. "type": "string",
  3391. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3392. "name": "cycletime",
  3393. "in": "query"
  3394. },
  3395. {
  3396. "type": "string",
  3397. "description": "开始交易日(格式yyyymmdd)",
  3398. "name": "begindate",
  3399. "in": "query"
  3400. },
  3401. {
  3402. "type": "string",
  3403. "description": "结束交易日(格式yyyymmdd)",
  3404. "name": "enddate",
  3405. "in": "query"
  3406. },
  3407. {
  3408. "type": "integer",
  3409. "description": "币种id(日报表明细)",
  3410. "name": "currencyid",
  3411. "in": "query"
  3412. }
  3413. ],
  3414. "responses": {
  3415. "200": {
  3416. "description": "OK",
  3417. "schema": {
  3418. "type": "array",
  3419. "items": {
  3420. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3421. }
  3422. }
  3423. },
  3424. "500": {
  3425. "description": "Internal Server Error",
  3426. "schema": {
  3427. "$ref": "#/definitions/app.Response"
  3428. }
  3429. }
  3430. }
  3431. }
  3432. },
  3433. "/Ermcp3/QueryAreaStock": {
  3434. "get": {
  3435. "security": [
  3436. {
  3437. "ApiKeyAuth": []
  3438. }
  3439. ],
  3440. "produces": [
  3441. "application/json"
  3442. ],
  3443. "tags": [
  3444. "企业风险管理v3(app)"
  3445. ],
  3446. "summary": "查询机构库存(库存管理/当前库存)",
  3447. "parameters": [
  3448. {
  3449. "type": "integer",
  3450. "description": "用户ID",
  3451. "name": "userid",
  3452. "in": "query",
  3453. "required": true
  3454. }
  3455. ],
  3456. "responses": {
  3457. "200": {
  3458. "description": "OK",
  3459. "schema": {
  3460. "type": "array",
  3461. "items": {
  3462. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3463. }
  3464. }
  3465. },
  3466. "500": {
  3467. "description": "Internal Server Error",
  3468. "schema": {
  3469. "$ref": "#/definitions/app.Response"
  3470. }
  3471. }
  3472. }
  3473. }
  3474. },
  3475. "/Ermcp3/QueryAreaStockApply": {
  3476. "get": {
  3477. "security": [
  3478. {
  3479. "ApiKeyAuth": []
  3480. }
  3481. ],
  3482. "produces": [
  3483. "application/json"
  3484. ],
  3485. "tags": [
  3486. "企业风险管理v3(app)"
  3487. ],
  3488. "summary": "查询库存申请(出入库记录|库存审核)",
  3489. "parameters": [
  3490. {
  3491. "type": "integer",
  3492. "description": "用户ID",
  3493. "name": "userid",
  3494. "in": "query",
  3495. "required": true
  3496. },
  3497. {
  3498. "type": "integer",
  3499. "description": "现货商品ID",
  3500. "name": "deliverygoodsid",
  3501. "in": "query"
  3502. },
  3503. {
  3504. "type": "string",
  3505. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3506. "name": "inouttype",
  3507. "in": "query"
  3508. },
  3509. {
  3510. "type": "integer",
  3511. "description": "合同ID",
  3512. "name": "spotcontractid",
  3513. "in": "query"
  3514. },
  3515. {
  3516. "type": "integer",
  3517. "description": "品类ID",
  3518. "name": "wrstandardid",
  3519. "in": "query"
  3520. },
  3521. {
  3522. "type": "integer",
  3523. "description": "品牌ID",
  3524. "name": "spotgoodsbrandid",
  3525. "in": "query"
  3526. },
  3527. {
  3528. "type": "integer",
  3529. "description": "仓库ID",
  3530. "name": "warehouseinfoid",
  3531. "in": "query"
  3532. },
  3533. {
  3534. "type": "string",
  3535. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3536. "name": "applystatus",
  3537. "in": "query"
  3538. }
  3539. ],
  3540. "responses": {
  3541. "200": {
  3542. "description": "OK",
  3543. "schema": {
  3544. "type": "array",
  3545. "items": {
  3546. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3547. }
  3548. }
  3549. },
  3550. "500": {
  3551. "description": "Internal Server Error",
  3552. "schema": {
  3553. "$ref": "#/definitions/app.Response"
  3554. }
  3555. }
  3556. }
  3557. }
  3558. },
  3559. "/Ermcp3/QueryAreaStockApplySum": {
  3560. "get": {
  3561. "security": [
  3562. {
  3563. "ApiKeyAuth": []
  3564. }
  3565. ],
  3566. "produces": [
  3567. "application/json"
  3568. ],
  3569. "tags": [
  3570. "企业风险管理v3(app)"
  3571. ],
  3572. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3573. "parameters": [
  3574. {
  3575. "type": "integer",
  3576. "description": "合同ID",
  3577. "name": "spotcontractid",
  3578. "in": "query"
  3579. }
  3580. ],
  3581. "responses": {
  3582. "200": {
  3583. "description": "OK",
  3584. "schema": {
  3585. "type": "array",
  3586. "items": {
  3587. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3588. }
  3589. }
  3590. },
  3591. "500": {
  3592. "description": "Internal Server Error",
  3593. "schema": {
  3594. "$ref": "#/definitions/app.Response"
  3595. }
  3596. }
  3597. }
  3598. }
  3599. },
  3600. "/Ermcp3/QueryDGFactoryItem": {
  3601. "get": {
  3602. "security": [
  3603. {
  3604. "ApiKeyAuth": []
  3605. }
  3606. ],
  3607. "produces": [
  3608. "application/json"
  3609. ],
  3610. "tags": [
  3611. "企业风险管理v3(app)"
  3612. ],
  3613. "summary": "查询品种要素定义项",
  3614. "parameters": [
  3615. {
  3616. "type": "integer",
  3617. "description": "用户id",
  3618. "name": "userid",
  3619. "in": "query"
  3620. },
  3621. {
  3622. "type": "integer",
  3623. "description": "用户类型 2-机构 7-企业成员",
  3624. "name": "usertype",
  3625. "in": "query"
  3626. },
  3627. {
  3628. "type": "integer",
  3629. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3630. "name": "dgfactoryitemid",
  3631. "in": "query"
  3632. },
  3633. {
  3634. "type": "integer",
  3635. "description": "现货品种ID",
  3636. "name": "deliverygoodsid",
  3637. "in": "query"
  3638. },
  3639. {
  3640. "type": "integer",
  3641. "description": "要素项类型",
  3642. "name": "dgfactoryitemtypeid",
  3643. "in": "query"
  3644. },
  3645. {
  3646. "type": "integer",
  3647. "description": "顺序",
  3648. "name": "orderindex",
  3649. "in": "query"
  3650. }
  3651. ],
  3652. "responses": {
  3653. "200": {
  3654. "description": "OK",
  3655. "schema": {
  3656. "type": "array",
  3657. "items": {
  3658. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3659. }
  3660. }
  3661. },
  3662. "500": {
  3663. "description": "Internal Server Error",
  3664. "schema": {
  3665. "$ref": "#/definitions/app.Response"
  3666. }
  3667. }
  3668. }
  3669. }
  3670. },
  3671. "/Ermcp3/QueryDeliveryGoods": {
  3672. "get": {
  3673. "security": [
  3674. {
  3675. "ApiKeyAuth": []
  3676. }
  3677. ],
  3678. "produces": [
  3679. "application/json"
  3680. ],
  3681. "tags": [
  3682. "企业风险管理v3(app)"
  3683. ],
  3684. "summary": "查询现货商品",
  3685. "parameters": [
  3686. {
  3687. "type": "integer",
  3688. "description": "用户id",
  3689. "name": "userid",
  3690. "in": "query",
  3691. "required": true
  3692. },
  3693. {
  3694. "type": "integer",
  3695. "description": "用户类型 2-机构 7-企业成员",
  3696. "name": "usertype",
  3697. "in": "query"
  3698. },
  3699. {
  3700. "type": "integer",
  3701. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3702. "name": "excludecfg",
  3703. "in": "query"
  3704. }
  3705. ],
  3706. "responses": {
  3707. "200": {
  3708. "description": "OK",
  3709. "schema": {
  3710. "type": "array",
  3711. "items": {
  3712. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3713. }
  3714. }
  3715. },
  3716. "500": {
  3717. "description": "Internal Server Error",
  3718. "schema": {
  3719. "$ref": "#/definitions/app.Response"
  3720. }
  3721. }
  3722. }
  3723. }
  3724. },
  3725. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3726. "get": {
  3727. "security": [
  3728. {
  3729. "ApiKeyAuth": []
  3730. }
  3731. ],
  3732. "produces": [
  3733. "application/json"
  3734. ],
  3735. "tags": [
  3736. "企业风险管理v3(app)"
  3737. ],
  3738. "summary": "查询现货商品详情",
  3739. "parameters": [
  3740. {
  3741. "type": "integer",
  3742. "description": "用户id",
  3743. "name": "userid",
  3744. "in": "query",
  3745. "required": true
  3746. },
  3747. {
  3748. "type": "integer",
  3749. "description": "用户类型 2-机构 7-企业成员",
  3750. "name": "usertype",
  3751. "in": "query"
  3752. },
  3753. {
  3754. "type": "integer",
  3755. "description": "现货商品id",
  3756. "name": "deliverygoodsid",
  3757. "in": "query"
  3758. }
  3759. ],
  3760. "responses": {
  3761. "200": {
  3762. "description": "OK",
  3763. "schema": {
  3764. "type": "array",
  3765. "items": {
  3766. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3767. }
  3768. }
  3769. },
  3770. "500": {
  3771. "description": "Internal Server Error",
  3772. "schema": {
  3773. "$ref": "#/definitions/app.Response"
  3774. }
  3775. }
  3776. }
  3777. }
  3778. },
  3779. "/Ermcp3/QueryExposureDetail": {
  3780. "get": {
  3781. "security": [
  3782. {
  3783. "ApiKeyAuth": []
  3784. }
  3785. ],
  3786. "produces": [
  3787. "application/json"
  3788. ],
  3789. "tags": [
  3790. "企业风险管理v3(app)"
  3791. ],
  3792. "summary": "查询敞口现货明细",
  3793. "parameters": [
  3794. {
  3795. "type": "integer",
  3796. "description": "用户id",
  3797. "name": "userid",
  3798. "in": "query",
  3799. "required": true
  3800. },
  3801. {
  3802. "type": "integer",
  3803. "description": "用户类型 2-机构 7-企业成员",
  3804. "name": "usertype",
  3805. "in": "query"
  3806. },
  3807. {
  3808. "type": "integer",
  3809. "description": "套保商品",
  3810. "name": "middlegoodsid",
  3811. "in": "query",
  3812. "required": true
  3813. }
  3814. ],
  3815. "responses": {
  3816. "200": {
  3817. "description": "OK",
  3818. "schema": {
  3819. "type": "array",
  3820. "items": {
  3821. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3822. }
  3823. }
  3824. },
  3825. "500": {
  3826. "description": "Internal Server Error",
  3827. "schema": {
  3828. "$ref": "#/definitions/app.Response"
  3829. }
  3830. }
  3831. }
  3832. }
  3833. },
  3834. "/Ermcp3/QueryExposureSpot": {
  3835. "get": {
  3836. "security": [
  3837. {
  3838. "ApiKeyAuth": []
  3839. }
  3840. ],
  3841. "produces": [
  3842. "application/json"
  3843. ],
  3844. "tags": [
  3845. "企业风险管理v3(app)"
  3846. ],
  3847. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3848. "parameters": [
  3849. {
  3850. "type": "integer",
  3851. "description": "用户id",
  3852. "name": "userid",
  3853. "in": "query",
  3854. "required": true
  3855. },
  3856. {
  3857. "type": "integer",
  3858. "description": "用户类型 2-机构 7-企业成员",
  3859. "name": "usertype",
  3860. "in": "query"
  3861. }
  3862. ],
  3863. "responses": {
  3864. "200": {
  3865. "description": "OK",
  3866. "schema": {
  3867. "type": "array",
  3868. "items": {
  3869. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3870. }
  3871. }
  3872. },
  3873. "500": {
  3874. "description": "Internal Server Error",
  3875. "schema": {
  3876. "$ref": "#/definitions/app.Response"
  3877. }
  3878. }
  3879. }
  3880. }
  3881. },
  3882. "/Ermcp3/QueryExposureSpotDetail": {
  3883. "get": {
  3884. "security": [
  3885. {
  3886. "ApiKeyAuth": []
  3887. }
  3888. ],
  3889. "produces": [
  3890. "application/json"
  3891. ],
  3892. "tags": [
  3893. "企业风险管理v3(app)"
  3894. ],
  3895. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3896. "parameters": [
  3897. {
  3898. "type": "integer",
  3899. "description": "用户id",
  3900. "name": "userid",
  3901. "in": "query",
  3902. "required": true
  3903. },
  3904. {
  3905. "type": "integer",
  3906. "description": "用户类型 2-机构 7-企业成员",
  3907. "name": "usertype",
  3908. "in": "query"
  3909. },
  3910. {
  3911. "type": "integer",
  3912. "description": "现货品种ID",
  3913. "name": "deliverygoodsid",
  3914. "in": "query",
  3915. "required": true
  3916. }
  3917. ],
  3918. "responses": {
  3919. "200": {
  3920. "description": "OK",
  3921. "schema": {
  3922. "type": "array",
  3923. "items": {
  3924. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3925. }
  3926. }
  3927. },
  3928. "500": {
  3929. "description": "Internal Server Error",
  3930. "schema": {
  3931. "$ref": "#/definitions/app.Response"
  3932. }
  3933. }
  3934. }
  3935. }
  3936. },
  3937. "/Ermcp3/QueryGoodsGroup": {
  3938. "get": {
  3939. "security": [
  3940. {
  3941. "ApiKeyAuth": []
  3942. }
  3943. ],
  3944. "produces": [
  3945. "application/json"
  3946. ],
  3947. "tags": [
  3948. "企业风险管理v3(app)"
  3949. ],
  3950. "summary": "查询期货商品组",
  3951. "parameters": [
  3952. {
  3953. "type": "integer",
  3954. "description": "用户id",
  3955. "name": "userid",
  3956. "in": "query",
  3957. "required": true
  3958. },
  3959. {
  3960. "type": "integer",
  3961. "description": "用户类型 2-机构 7-企业成员",
  3962. "name": "usertype",
  3963. "in": "query"
  3964. },
  3965. {
  3966. "type": "integer",
  3967. "description": "排除套保品中已关联的商品组 1-排除",
  3968. "name": "excludecfg",
  3969. "in": "query"
  3970. }
  3971. ],
  3972. "responses": {
  3973. "200": {
  3974. "description": "OK",
  3975. "schema": {
  3976. "type": "array",
  3977. "items": {
  3978. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3979. }
  3980. }
  3981. },
  3982. "500": {
  3983. "description": "Internal Server Error",
  3984. "schema": {
  3985. "$ref": "#/definitions/app.Response"
  3986. }
  3987. }
  3988. }
  3989. }
  3990. },
  3991. "/Ermcp3/QueryGoodsWrstandard": {
  3992. "get": {
  3993. "security": [
  3994. {
  3995. "ApiKeyAuth": []
  3996. }
  3997. ],
  3998. "produces": [
  3999. "application/json"
  4000. ],
  4001. "tags": [
  4002. "企业风险管理v3(app)"
  4003. ],
  4004. "summary": "查询商品品类",
  4005. "parameters": [
  4006. {
  4007. "type": "integer",
  4008. "description": "用户id",
  4009. "name": "userid",
  4010. "in": "query",
  4011. "required": true
  4012. },
  4013. {
  4014. "type": "integer",
  4015. "description": "用户类型 2-机构 7-企业成员",
  4016. "name": "usertype",
  4017. "in": "query"
  4018. },
  4019. {
  4020. "type": "integer",
  4021. "description": "现货商品id",
  4022. "name": "deliverygoodsid",
  4023. "in": "query"
  4024. }
  4025. ],
  4026. "responses": {
  4027. "200": {
  4028. "description": "OK",
  4029. "schema": {
  4030. "type": "array",
  4031. "items": {
  4032. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4033. }
  4034. }
  4035. },
  4036. "500": {
  4037. "description": "Internal Server Error",
  4038. "schema": {
  4039. "$ref": "#/definitions/app.Response"
  4040. }
  4041. }
  4042. }
  4043. }
  4044. },
  4045. "/Ermcp3/QueryGoodsbrand": {
  4046. "get": {
  4047. "security": [
  4048. {
  4049. "ApiKeyAuth": []
  4050. }
  4051. ],
  4052. "produces": [
  4053. "application/json"
  4054. ],
  4055. "tags": [
  4056. "企业风险管理v3(app)"
  4057. ],
  4058. "summary": "查询商品品牌",
  4059. "parameters": [
  4060. {
  4061. "type": "integer",
  4062. "description": "用户id",
  4063. "name": "userid",
  4064. "in": "query",
  4065. "required": true
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "用户类型 2-机构 7-企业成员",
  4070. "name": "usertype",
  4071. "in": "query"
  4072. }
  4073. ],
  4074. "responses": {
  4075. "200": {
  4076. "description": "OK",
  4077. "schema": {
  4078. "type": "array",
  4079. "items": {
  4080. "$ref": "#/definitions/models.Ermcp3Brand"
  4081. }
  4082. }
  4083. },
  4084. "500": {
  4085. "description": "Internal Server Error",
  4086. "schema": {
  4087. "$ref": "#/definitions/app.Response"
  4088. }
  4089. }
  4090. }
  4091. }
  4092. },
  4093. "/Ermcp3/QueryHedgePlan": {
  4094. "get": {
  4095. "security": [
  4096. {
  4097. "ApiKeyAuth": []
  4098. }
  4099. ],
  4100. "produces": [
  4101. "application/json"
  4102. ],
  4103. "tags": [
  4104. "企业风险管理v3(app)"
  4105. ],
  4106. "summary": "查询套保计划",
  4107. "parameters": [
  4108. {
  4109. "type": "integer",
  4110. "description": "用户ID",
  4111. "name": "userid",
  4112. "in": "query",
  4113. "required": true
  4114. },
  4115. {
  4116. "type": "integer",
  4117. "description": "用户类型 2-机构 7-企业成员",
  4118. "name": "usertype",
  4119. "in": "query"
  4120. },
  4121. {
  4122. "type": "string",
  4123. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4124. "name": "hedgeplanstatus",
  4125. "in": "query",
  4126. "required": true
  4127. }
  4128. ],
  4129. "responses": {
  4130. "200": {
  4131. "description": "OK",
  4132. "schema": {
  4133. "type": "array",
  4134. "items": {
  4135. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4136. }
  4137. }
  4138. },
  4139. "500": {
  4140. "description": "Internal Server Error",
  4141. "schema": {
  4142. "$ref": "#/definitions/app.Response"
  4143. }
  4144. }
  4145. }
  4146. }
  4147. },
  4148. "/Ermcp3/QueryMiddleGoodsDetail": {
  4149. "get": {
  4150. "security": [
  4151. {
  4152. "ApiKeyAuth": []
  4153. }
  4154. ],
  4155. "produces": [
  4156. "application/json"
  4157. ],
  4158. "tags": [
  4159. "企业风险管理v3(app)"
  4160. ],
  4161. "summary": "查询套保品种详情(套保品种/商品详情)",
  4162. "parameters": [
  4163. {
  4164. "type": "integer",
  4165. "description": "用户id",
  4166. "name": "userid",
  4167. "in": "query",
  4168. "required": true
  4169. },
  4170. {
  4171. "type": "integer",
  4172. "description": "用户类型 2-机构 7-企业成员",
  4173. "name": "usertype",
  4174. "in": "query"
  4175. },
  4176. {
  4177. "type": "integer",
  4178. "description": "套保品种id",
  4179. "name": "middlegoodsid",
  4180. "in": "query"
  4181. }
  4182. ],
  4183. "responses": {
  4184. "200": {
  4185. "description": "OK",
  4186. "schema": {
  4187. "type": "array",
  4188. "items": {
  4189. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4190. }
  4191. }
  4192. },
  4193. "500": {
  4194. "description": "Internal Server Error",
  4195. "schema": {
  4196. "$ref": "#/definitions/app.Response"
  4197. }
  4198. }
  4199. }
  4200. }
  4201. },
  4202. "/Ermcp3/QuerySpotContract": {
  4203. "get": {
  4204. "security": [
  4205. {
  4206. "ApiKeyAuth": []
  4207. }
  4208. ],
  4209. "produces": [
  4210. "application/json"
  4211. ],
  4212. "tags": [
  4213. "企业风险管理v3(app)"
  4214. ],
  4215. "summary": "查询现货合同",
  4216. "parameters": [
  4217. {
  4218. "type": "integer",
  4219. "description": "用户id",
  4220. "name": "userid",
  4221. "in": "query",
  4222. "required": true
  4223. },
  4224. {
  4225. "type": "integer",
  4226. "description": "用户类型 2-机构 7-企业成员",
  4227. "name": "usertype",
  4228. "in": "query"
  4229. },
  4230. {
  4231. "type": "integer",
  4232. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4233. "name": "querytype",
  4234. "in": "query",
  4235. "required": true
  4236. },
  4237. {
  4238. "type": "string",
  4239. "description": "合同ID(SpotContractId)",
  4240. "name": "contractid",
  4241. "in": "query"
  4242. }
  4243. ],
  4244. "responses": {
  4245. "200": {
  4246. "description": "OK",
  4247. "schema": {
  4248. "type": "array",
  4249. "items": {
  4250. "$ref": "#/definitions/models.Ermcp3Contract"
  4251. }
  4252. }
  4253. },
  4254. "500": {
  4255. "description": "Internal Server Error",
  4256. "schema": {
  4257. "$ref": "#/definitions/app.Response"
  4258. }
  4259. }
  4260. }
  4261. }
  4262. },
  4263. "/Ermcp3/QuerySpotContractBS": {
  4264. "get": {
  4265. "security": [
  4266. {
  4267. "ApiKeyAuth": []
  4268. }
  4269. ],
  4270. "produces": [
  4271. "application/json"
  4272. ],
  4273. "tags": [
  4274. "企业风险管理v3(app)"
  4275. ],
  4276. "summary": "查询合同(采购/销售)",
  4277. "parameters": [
  4278. {
  4279. "type": "integer",
  4280. "description": "用户id",
  4281. "name": "userid",
  4282. "in": "query",
  4283. "required": true
  4284. },
  4285. {
  4286. "type": "integer",
  4287. "description": "用户类型 2-机构 7-企业成员",
  4288. "name": "usertype",
  4289. "in": "query"
  4290. },
  4291. {
  4292. "type": "integer",
  4293. "description": "合同类型 1-采购, -1-销售",
  4294. "name": "contracttype",
  4295. "in": "query",
  4296. "required": true
  4297. },
  4298. {
  4299. "type": "integer",
  4300. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4301. "name": "querytype",
  4302. "in": "query",
  4303. "required": true
  4304. },
  4305. {
  4306. "type": "string",
  4307. "description": "合同ID(SpotContractId)",
  4308. "name": "contractid",
  4309. "in": "query"
  4310. }
  4311. ],
  4312. "responses": {
  4313. "200": {
  4314. "description": "OK",
  4315. "schema": {
  4316. "type": "array",
  4317. "items": {
  4318. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4319. }
  4320. }
  4321. },
  4322. "500": {
  4323. "description": "Internal Server Error",
  4324. "schema": {
  4325. "$ref": "#/definitions/app.Response"
  4326. }
  4327. }
  4328. }
  4329. }
  4330. },
  4331. "/Ermcp3/QuerySpotGoodsPrice": {
  4332. "get": {
  4333. "security": [
  4334. {
  4335. "ApiKeyAuth": []
  4336. }
  4337. ],
  4338. "produces": [
  4339. "application/json"
  4340. ],
  4341. "tags": [
  4342. "企业风险管理v3(app)"
  4343. ],
  4344. "summary": "查询现货市价(现货市价)",
  4345. "parameters": [
  4346. {
  4347. "type": "integer",
  4348. "description": "用户ID",
  4349. "name": "userid",
  4350. "in": "query",
  4351. "required": true
  4352. }
  4353. ],
  4354. "responses": {
  4355. "200": {
  4356. "description": "OK",
  4357. "schema": {
  4358. "type": "array",
  4359. "items": {
  4360. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4361. }
  4362. }
  4363. },
  4364. "500": {
  4365. "description": "Internal Server Error",
  4366. "schema": {
  4367. "$ref": "#/definitions/app.Response"
  4368. }
  4369. }
  4370. }
  4371. }
  4372. },
  4373. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4374. "get": {
  4375. "security": [
  4376. {
  4377. "ApiKeyAuth": []
  4378. }
  4379. ],
  4380. "produces": [
  4381. "application/json"
  4382. ],
  4383. "tags": [
  4384. "企业风险管理v3(app)"
  4385. ],
  4386. "summary": "查询现货市价详情(现货市价/详情)",
  4387. "parameters": [
  4388. {
  4389. "type": "integer",
  4390. "description": "用户ID",
  4391. "name": "userid",
  4392. "in": "query",
  4393. "required": true
  4394. },
  4395. {
  4396. "type": "integer",
  4397. "description": "现货商品ID",
  4398. "name": "deliverygoodsid",
  4399. "in": "query",
  4400. "required": true
  4401. },
  4402. {
  4403. "type": "integer",
  4404. "description": "品牌ID",
  4405. "name": "brandid",
  4406. "in": "query"
  4407. },
  4408. {
  4409. "type": "integer",
  4410. "description": "品类ID",
  4411. "name": "wrstandardid",
  4412. "in": "query"
  4413. }
  4414. ],
  4415. "responses": {
  4416. "200": {
  4417. "description": "OK",
  4418. "schema": {
  4419. "type": "array",
  4420. "items": {
  4421. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4422. }
  4423. }
  4424. },
  4425. "500": {
  4426. "description": "Internal Server Error",
  4427. "schema": {
  4428. "$ref": "#/definitions/app.Response"
  4429. }
  4430. }
  4431. }
  4432. }
  4433. },
  4434. "/Erms2/QueryArbitrageStrategy": {
  4435. "get": {
  4436. "security": [
  4437. {
  4438. "ApiKeyAuth": []
  4439. }
  4440. ],
  4441. "produces": [
  4442. "application/json"
  4443. ],
  4444. "tags": [
  4445. "风险管理"
  4446. ],
  4447. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4448. "parameters": [
  4449. {
  4450. "type": "integer",
  4451. "description": "账户ID",
  4452. "name": "userid",
  4453. "in": "query",
  4454. "required": true
  4455. },
  4456. {
  4457. "type": "string",
  4458. "description": "商品组ID(品种ID)",
  4459. "name": "goodsgroupid",
  4460. "in": "query"
  4461. }
  4462. ],
  4463. "responses": {
  4464. "200": {
  4465. "description": "OK",
  4466. "schema": {
  4467. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4468. }
  4469. },
  4470. "500": {
  4471. "description": "Internal Server Error",
  4472. "schema": {
  4473. "$ref": "#/definitions/app.Response"
  4474. }
  4475. }
  4476. }
  4477. }
  4478. },
  4479. "/Erms2/QueryInnerTradeDetail": {
  4480. "get": {
  4481. "security": [
  4482. {
  4483. "ApiKeyAuth": []
  4484. }
  4485. ],
  4486. "produces": [
  4487. "application/json"
  4488. ],
  4489. "tags": [
  4490. "风险管理"
  4491. ],
  4492. "summary": "查询内部成交单信息",
  4493. "parameters": [
  4494. {
  4495. "type": "integer",
  4496. "description": "资金账户",
  4497. "name": "accountid",
  4498. "in": "query",
  4499. "required": true
  4500. }
  4501. ],
  4502. "responses": {
  4503. "200": {
  4504. "description": "OK",
  4505. "schema": {
  4506. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4507. }
  4508. },
  4509. "500": {
  4510. "description": "Internal Server Error",
  4511. "schema": {
  4512. "$ref": "#/definitions/app.Response"
  4513. }
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "/Erms2/QuerySpotContract": {
  4519. "get": {
  4520. "security": [
  4521. {
  4522. "ApiKeyAuth": []
  4523. }
  4524. ],
  4525. "produces": [
  4526. "application/json"
  4527. ],
  4528. "tags": [
  4529. "风险管理"
  4530. ],
  4531. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4532. "parameters": [
  4533. {
  4534. "type": "integer",
  4535. "description": "策略申请ID",
  4536. "name": "asapplyid",
  4537. "in": "query",
  4538. "required": true
  4539. },
  4540. {
  4541. "type": "integer",
  4542. "description": "现货合同ID",
  4543. "name": "spotcontractid",
  4544. "in": "query"
  4545. }
  4546. ],
  4547. "responses": {
  4548. "200": {
  4549. "description": "OK",
  4550. "schema": {
  4551. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Erms3/AddErms2ASApply": {
  4564. "post": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "produces": [
  4571. "application/json"
  4572. ],
  4573. "tags": [
  4574. "风险管理v3"
  4575. ],
  4576. "summary": "新增期现套利业务申请",
  4577. "parameters": [
  4578. {
  4579. "description": "申请参数",
  4580. "name": "jsonBody",
  4581. "in": "body",
  4582. "required": true,
  4583. "schema": {
  4584. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4585. }
  4586. }
  4587. ],
  4588. "responses": {
  4589. "200": {
  4590. "description": "OK",
  4591. "schema": {
  4592. "$ref": "#/definitions/app.Response"
  4593. }
  4594. },
  4595. "500": {
  4596. "description": "Internal Server Error",
  4597. "schema": {
  4598. "$ref": "#/definitions/app.Response"
  4599. }
  4600. }
  4601. }
  4602. }
  4603. },
  4604. "/Erms3/AddErms2SpotTradeApply": {
  4605. "post": {
  4606. "security": [
  4607. {
  4608. "ApiKeyAuth": []
  4609. }
  4610. ],
  4611. "produces": [
  4612. "application/json"
  4613. ],
  4614. "tags": [
  4615. "风险管理v3"
  4616. ],
  4617. "summary": "新增现货贸易业务申请",
  4618. "parameters": [
  4619. {
  4620. "description": "申请参数",
  4621. "name": "jsonBody",
  4622. "in": "body",
  4623. "required": true,
  4624. "schema": {
  4625. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4626. }
  4627. }
  4628. ],
  4629. "responses": {
  4630. "200": {
  4631. "description": "OK",
  4632. "schema": {
  4633. "$ref": "#/definitions/app.Response"
  4634. }
  4635. },
  4636. "500": {
  4637. "description": "Internal Server Error",
  4638. "schema": {
  4639. "$ref": "#/definitions/app.Response"
  4640. }
  4641. }
  4642. }
  4643. }
  4644. },
  4645. "/Erms3/AddSpotContractApply": {
  4646. "post": {
  4647. "security": [
  4648. {
  4649. "ApiKeyAuth": []
  4650. }
  4651. ],
  4652. "produces": [
  4653. "application/json"
  4654. ],
  4655. "tags": [
  4656. "风险管理v3"
  4657. ],
  4658. "summary": "新增现货合同申请",
  4659. "parameters": [
  4660. {
  4661. "description": "申请参数",
  4662. "name": "jsonBody",
  4663. "in": "body",
  4664. "required": true,
  4665. "schema": {
  4666. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4667. }
  4668. }
  4669. ],
  4670. "responses": {
  4671. "200": {
  4672. "description": "OK",
  4673. "schema": {
  4674. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4675. }
  4676. },
  4677. "500": {
  4678. "description": "Internal Server Error",
  4679. "schema": {
  4680. "$ref": "#/definitions/app.Response"
  4681. }
  4682. }
  4683. }
  4684. }
  4685. },
  4686. "/Erms3/AddUserInfoApply": {
  4687. "post": {
  4688. "security": [
  4689. {
  4690. "ApiKeyAuth": []
  4691. }
  4692. ],
  4693. "produces": [
  4694. "application/json"
  4695. ],
  4696. "tags": [
  4697. "风险管理v3"
  4698. ],
  4699. "summary": "新增客户申请",
  4700. "parameters": [
  4701. {
  4702. "description": "用户信息",
  4703. "name": "jsonBody",
  4704. "in": "body",
  4705. "required": true,
  4706. "schema": {
  4707. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4708. }
  4709. }
  4710. ],
  4711. "responses": {
  4712. "200": {
  4713. "description": "OK",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. },
  4718. "500": {
  4719. "description": "Internal Server Error",
  4720. "schema": {
  4721. "$ref": "#/definitions/app.Response"
  4722. }
  4723. }
  4724. }
  4725. }
  4726. },
  4727. "/Erms3/DeleteUserInfoApply": {
  4728. "get": {
  4729. "security": [
  4730. {
  4731. "ApiKeyAuth": []
  4732. }
  4733. ],
  4734. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4735. "produces": [
  4736. "application/json"
  4737. ],
  4738. "tags": [
  4739. "风险管理v3"
  4740. ],
  4741. "summary": "删除客户申请",
  4742. "parameters": [
  4743. {
  4744. "type": "integer",
  4745. "description": "用户ID",
  4746. "name": "userID",
  4747. "in": "query",
  4748. "required": true
  4749. }
  4750. ],
  4751. "responses": {
  4752. "200": {
  4753. "description": "OK",
  4754. "schema": {
  4755. "$ref": "#/definitions/app.Response"
  4756. }
  4757. },
  4758. "500": {
  4759. "description": "Internal Server Error",
  4760. "schema": {
  4761. "$ref": "#/definitions/app.Response"
  4762. }
  4763. }
  4764. }
  4765. }
  4766. },
  4767. "/Erms3/ModifyUserInfoApply": {
  4768. "post": {
  4769. "security": [
  4770. {
  4771. "ApiKeyAuth": []
  4772. }
  4773. ],
  4774. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4775. "produces": [
  4776. "application/json"
  4777. ],
  4778. "tags": [
  4779. "风险管理v3"
  4780. ],
  4781. "summary": "修改客户申请",
  4782. "parameters": [
  4783. {
  4784. "description": "用户信息",
  4785. "name": "jsonBody",
  4786. "in": "body",
  4787. "required": true,
  4788. "schema": {
  4789. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4790. }
  4791. }
  4792. ],
  4793. "responses": {
  4794. "200": {
  4795. "description": "OK",
  4796. "schema": {
  4797. "$ref": "#/definitions/app.Response"
  4798. }
  4799. },
  4800. "500": {
  4801. "description": "Internal Server Error",
  4802. "schema": {
  4803. "$ref": "#/definitions/app.Response"
  4804. }
  4805. }
  4806. }
  4807. }
  4808. },
  4809. "/Erms3/QueryBusinessInfo": {
  4810. "get": {
  4811. "security": [
  4812. {
  4813. "ApiKeyAuth": []
  4814. }
  4815. ],
  4816. "produces": [
  4817. "application/json"
  4818. ],
  4819. "tags": [
  4820. "风险管理v3"
  4821. ],
  4822. "summary": "查询业务表单数据",
  4823. "parameters": [
  4824. {
  4825. "type": "string",
  4826. "description": "资金账号ID列表,用逗号分隔",
  4827. "name": "accountids",
  4828. "in": "query",
  4829. "required": true
  4830. },
  4831. {
  4832. "type": "integer",
  4833. "description": "状态,0为未结束 1为已结束",
  4834. "name": "status",
  4835. "in": "query",
  4836. "required": true
  4837. }
  4838. ],
  4839. "responses": {
  4840. "200": {
  4841. "description": "OK",
  4842. "schema": {
  4843. "type": "array",
  4844. "items": {
  4845. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4846. }
  4847. }
  4848. },
  4849. "500": {
  4850. "description": "Internal Server Error",
  4851. "schema": {
  4852. "$ref": "#/definitions/app.Response"
  4853. }
  4854. }
  4855. }
  4856. }
  4857. },
  4858. "/Erms3/QueryPendingAuditContract": {
  4859. "get": {
  4860. "security": [
  4861. {
  4862. "ApiKeyAuth": []
  4863. }
  4864. ],
  4865. "produces": [
  4866. "application/json"
  4867. ],
  4868. "tags": [
  4869. "风险管理v3"
  4870. ],
  4871. "summary": "查询待审核合同",
  4872. "parameters": [
  4873. {
  4874. "type": "string",
  4875. "description": "资金账号ID列表,逗号隔开",
  4876. "name": "accountids",
  4877. "in": "query",
  4878. "required": true
  4879. },
  4880. {
  4881. "type": "integer",
  4882. "description": "合同类型 1-采购 -1-销售",
  4883. "name": "contracttype",
  4884. "in": "query",
  4885. "required": true
  4886. },
  4887. {
  4888. "type": "integer",
  4889. "description": "合同模式 1-普通 2-回购",
  4890. "name": "contractmode",
  4891. "in": "query",
  4892. "required": true
  4893. }
  4894. ],
  4895. "responses": {
  4896. "200": {
  4897. "description": "OK",
  4898. "schema": {
  4899. "type": "array",
  4900. "items": {
  4901. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4902. }
  4903. }
  4904. },
  4905. "500": {
  4906. "description": "Internal Server Error",
  4907. "schema": {
  4908. "$ref": "#/definitions/app.Response"
  4909. }
  4910. }
  4911. }
  4912. }
  4913. },
  4914. "/Erms3/QueryPendingBusiness": {
  4915. "get": {
  4916. "security": [
  4917. {
  4918. "ApiKeyAuth": []
  4919. }
  4920. ],
  4921. "produces": [
  4922. "application/json"
  4923. ],
  4924. "tags": [
  4925. "风险管理v3"
  4926. ],
  4927. "summary": "查询待审核基差贸易业务",
  4928. "parameters": [
  4929. {
  4930. "type": "string",
  4931. "description": "资金账号ID列表,逗号隔开",
  4932. "name": "accountids",
  4933. "in": "query",
  4934. "required": true
  4935. }
  4936. ],
  4937. "responses": {
  4938. "200": {
  4939. "description": "OK",
  4940. "schema": {
  4941. "type": "array",
  4942. "items": {
  4943. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4944. }
  4945. }
  4946. },
  4947. "500": {
  4948. "description": "Internal Server Error",
  4949. "schema": {
  4950. "$ref": "#/definitions/app.Response"
  4951. }
  4952. }
  4953. }
  4954. }
  4955. },
  4956. "/Erms3/QuerySpotContractAppleForm": {
  4957. "get": {
  4958. "security": [
  4959. {
  4960. "ApiKeyAuth": []
  4961. }
  4962. ],
  4963. "produces": [
  4964. "application/json"
  4965. ],
  4966. "tags": [
  4967. "风险管理v3"
  4968. ],
  4969. "summary": "查询合同申请表单数据",
  4970. "parameters": [
  4971. {
  4972. "type": "integer",
  4973. "description": "登录账号",
  4974. "name": "loginID",
  4975. "in": "query",
  4976. "required": true
  4977. }
  4978. ],
  4979. "responses": {
  4980. "200": {
  4981. "description": "OK",
  4982. "schema": {
  4983. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4984. }
  4985. },
  4986. "500": {
  4987. "description": "Internal Server Error",
  4988. "schema": {
  4989. "$ref": "#/definitions/app.Response"
  4990. }
  4991. }
  4992. }
  4993. }
  4994. },
  4995. "/Erms3/QuerySpotContractDetail": {
  4996. "get": {
  4997. "security": [
  4998. {
  4999. "ApiKeyAuth": []
  5000. }
  5001. ],
  5002. "produces": [
  5003. "application/json"
  5004. ],
  5005. "tags": [
  5006. "风险管理v3"
  5007. ],
  5008. "summary": "查询合同详细信息",
  5009. "parameters": [
  5010. {
  5011. "type": "string",
  5012. "description": "资金账号ID列表,用逗号分隔",
  5013. "name": "accountids",
  5014. "in": "query",
  5015. "required": true
  5016. },
  5017. {
  5018. "type": "integer",
  5019. "description": "合同类型,1为采购合同 -1为销售合同",
  5020. "name": "contracttype",
  5021. "in": "query",
  5022. "required": true
  5023. },
  5024. {
  5025. "type": "integer",
  5026. "description": "合同模式,1为普通合同 2为回购销售合同",
  5027. "name": "contractmode",
  5028. "in": "query",
  5029. "required": true
  5030. },
  5031. {
  5032. "type": "integer",
  5033. "description": "状态,0为履约中 1为已完成",
  5034. "name": "status",
  5035. "in": "query",
  5036. "required": true
  5037. }
  5038. ],
  5039. "responses": {
  5040. "200": {
  5041. "description": "OK",
  5042. "schema": {
  5043. "type": "array",
  5044. "items": {
  5045. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5046. }
  5047. }
  5048. },
  5049. "500": {
  5050. "description": "Internal Server Error",
  5051. "schema": {
  5052. "$ref": "#/definitions/app.Response"
  5053. }
  5054. }
  5055. }
  5056. }
  5057. },
  5058. "/Erms3/QueryUserInfoApplies": {
  5059. "get": {
  5060. "security": [
  5061. {
  5062. "ApiKeyAuth": []
  5063. }
  5064. ],
  5065. "produces": [
  5066. "application/json"
  5067. ],
  5068. "tags": [
  5069. "风险管理v3"
  5070. ],
  5071. "summary": "客户申请信息查询",
  5072. "parameters": [
  5073. {
  5074. "type": "integer",
  5075. "description": "页码",
  5076. "name": "page",
  5077. "in": "query"
  5078. },
  5079. {
  5080. "type": "integer",
  5081. "description": "每页条数",
  5082. "name": "pagesize",
  5083. "in": "query"
  5084. },
  5085. {
  5086. "type": "string",
  5087. "description": "客户名称,支持模糊查询",
  5088. "name": "userName",
  5089. "in": "query"
  5090. }
  5091. ],
  5092. "responses": {
  5093. "200": {
  5094. "description": "OK",
  5095. "schema": {
  5096. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5097. }
  5098. },
  5099. "500": {
  5100. "description": "Internal Server Error",
  5101. "schema": {
  5102. "$ref": "#/definitions/app.Response"
  5103. }
  5104. }
  5105. }
  5106. }
  5107. },
  5108. "/Erms3/QueryUserInfos": {
  5109. "get": {
  5110. "security": [
  5111. {
  5112. "ApiKeyAuth": []
  5113. }
  5114. ],
  5115. "produces": [
  5116. "application/json"
  5117. ],
  5118. "tags": [
  5119. "风险管理v3"
  5120. ],
  5121. "summary": "客户信息查询",
  5122. "parameters": [
  5123. {
  5124. "type": "integer",
  5125. "description": "页码",
  5126. "name": "page",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "integer",
  5131. "description": "每页条数",
  5132. "name": "pagesize",
  5133. "in": "query"
  5134. },
  5135. {
  5136. "type": "string",
  5137. "description": "客户名称,支持模糊查询",
  5138. "name": "userName",
  5139. "in": "query"
  5140. }
  5141. ],
  5142. "responses": {
  5143. "200": {
  5144. "description": "OK",
  5145. "schema": {
  5146. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5147. }
  5148. },
  5149. "500": {
  5150. "description": "Internal Server Error",
  5151. "schema": {
  5152. "$ref": "#/definitions/app.Response"
  5153. }
  5154. }
  5155. }
  5156. }
  5157. },
  5158. "/HSBY/GetHsbyMyCount": {
  5159. "get": {
  5160. "security": [
  5161. {
  5162. "ApiKeyAuth": []
  5163. }
  5164. ],
  5165. "description": "说明: 不包括已完成的数量。",
  5166. "produces": [
  5167. "application/json"
  5168. ],
  5169. "tags": [
  5170. "定制【海商报业】"
  5171. ],
  5172. "summary": "获取我的订单与包裹数量",
  5173. "parameters": [
  5174. {
  5175. "type": "string",
  5176. "description": "资金账户列表,格式:1,2,3",
  5177. "name": "accountIDs",
  5178. "in": "query",
  5179. "required": true
  5180. }
  5181. ],
  5182. "responses": {
  5183. "200": {
  5184. "description": "OK",
  5185. "schema": {
  5186. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5187. }
  5188. },
  5189. "500": {
  5190. "description": "Internal Server Error",
  5191. "schema": {
  5192. "$ref": "#/definitions/app.Response"
  5193. }
  5194. }
  5195. }
  5196. }
  5197. },
  5198. "/HSBY/QueryClientFixedADConfigs": {
  5199. "get": {
  5200. "security": [
  5201. {
  5202. "ApiKeyAuth": []
  5203. }
  5204. ],
  5205. "produces": [
  5206. "application/json"
  5207. ],
  5208. "tags": [
  5209. "定制【海商报业】"
  5210. ],
  5211. "summary": "获取终端固定广告配置",
  5212. "responses": {
  5213. "200": {
  5214. "description": "OK",
  5215. "schema": {
  5216. "$ref": "#/definitions/models.Clientfixedadconfig"
  5217. }
  5218. },
  5219. "500": {
  5220. "description": "Internal Server Error",
  5221. "schema": {
  5222. "$ref": "#/definitions/app.Response"
  5223. }
  5224. }
  5225. }
  5226. }
  5227. },
  5228. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5229. "get": {
  5230. "security": [
  5231. {
  5232. "ApiKeyAuth": []
  5233. }
  5234. ],
  5235. "produces": [
  5236. "application/json"
  5237. ],
  5238. "tags": [
  5239. "定制【海商报业】"
  5240. ],
  5241. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5242. "parameters": [
  5243. {
  5244. "type": "integer",
  5245. "description": "页码",
  5246. "name": "page",
  5247. "in": "query"
  5248. },
  5249. {
  5250. "type": "integer",
  5251. "description": "每页条数",
  5252. "name": "pagesize",
  5253. "in": "query"
  5254. },
  5255. {
  5256. "type": "string",
  5257. "description": "资金账户列表,格式:1,2,3",
  5258. "name": "accountIDs",
  5259. "in": "query",
  5260. "required": true
  5261. }
  5262. ],
  5263. "responses": {
  5264. "200": {
  5265. "description": "OK",
  5266. "schema": {
  5267. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5268. }
  5269. },
  5270. "500": {
  5271. "description": "Internal Server Error",
  5272. "schema": {
  5273. "$ref": "#/definitions/app.Response"
  5274. }
  5275. }
  5276. }
  5277. }
  5278. },
  5279. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5280. "get": {
  5281. "security": [
  5282. {
  5283. "ApiKeyAuth": []
  5284. }
  5285. ],
  5286. "description": "说明:查询结果已按委托价格和委托时间排序",
  5287. "produces": [
  5288. "application/json"
  5289. ],
  5290. "tags": [
  5291. "定制【海商报业】"
  5292. ],
  5293. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5294. "parameters": [
  5295. {
  5296. "type": "integer",
  5297. "description": "商品ID",
  5298. "name": "goodsID",
  5299. "in": "query",
  5300. "required": true
  5301. },
  5302. {
  5303. "type": "string",
  5304. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5305. "name": "accountIDs",
  5306. "in": "query"
  5307. },
  5308. {
  5309. "type": "integer",
  5310. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5311. "name": "buyOrSell",
  5312. "in": "query"
  5313. },
  5314. {
  5315. "type": "number",
  5316. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5317. "name": "price",
  5318. "in": "query"
  5319. },
  5320. {
  5321. "type": "integer",
  5322. "description": "档位,不传则默认为3档",
  5323. "name": "speed",
  5324. "in": "query"
  5325. }
  5326. ],
  5327. "responses": {
  5328. "200": {
  5329. "description": "OK",
  5330. "schema": {
  5331. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5332. }
  5333. },
  5334. "500": {
  5335. "description": "Internal Server Error",
  5336. "schema": {
  5337. "$ref": "#/definitions/app.Response"
  5338. }
  5339. }
  5340. }
  5341. }
  5342. },
  5343. "/HSBY/QueryHsbyListingGoodsDetail": {
  5344. "get": {
  5345. "security": [
  5346. {
  5347. "ApiKeyAuth": []
  5348. }
  5349. ],
  5350. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5351. "produces": [
  5352. "application/json"
  5353. ],
  5354. "tags": [
  5355. "定制【海商报业】"
  5356. ],
  5357. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5358. "parameters": [
  5359. {
  5360. "type": "integer",
  5361. "description": "商品ID",
  5362. "name": "goodsID",
  5363. "in": "query",
  5364. "required": true
  5365. },
  5366. {
  5367. "type": "integer",
  5368. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5369. "name": "accountID",
  5370. "in": "query"
  5371. }
  5372. ],
  5373. "responses": {
  5374. "200": {
  5375. "description": "OK",
  5376. "schema": {
  5377. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5378. }
  5379. },
  5380. "500": {
  5381. "description": "Internal Server Error",
  5382. "schema": {
  5383. "$ref": "#/definitions/app.Response"
  5384. }
  5385. }
  5386. }
  5387. }
  5388. },
  5389. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5390. "get": {
  5391. "security": [
  5392. {
  5393. "ApiKeyAuth": []
  5394. }
  5395. ],
  5396. "produces": [
  5397. "application/json"
  5398. ],
  5399. "tags": [
  5400. "定制【海商报业】"
  5401. ],
  5402. "summary": "查询三级市场(商城)商品信息详情",
  5403. "parameters": [
  5404. {
  5405. "type": "integer",
  5406. "description": "委托单号",
  5407. "name": "orderID",
  5408. "in": "query",
  5409. "required": true
  5410. },
  5411. {
  5412. "type": "integer",
  5413. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5414. "name": "accountID",
  5415. "in": "query"
  5416. }
  5417. ],
  5418. "responses": {
  5419. "200": {
  5420. "description": "OK",
  5421. "schema": {
  5422. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5423. }
  5424. },
  5425. "500": {
  5426. "description": "Internal Server Error",
  5427. "schema": {
  5428. "$ref": "#/definitions/app.Response"
  5429. }
  5430. }
  5431. }
  5432. }
  5433. },
  5434. "/HSBY/QueryHsbyMarketGoodses": {
  5435. "get": {
  5436. "security": [
  5437. {
  5438. "ApiKeyAuth": []
  5439. }
  5440. ],
  5441. "produces": [
  5442. "application/json"
  5443. ],
  5444. "tags": [
  5445. "定制【海商报业】"
  5446. ],
  5447. "summary": "查询特卖商品列表(三级商城)",
  5448. "parameters": [
  5449. {
  5450. "type": "integer",
  5451. "description": "页码",
  5452. "name": "page",
  5453. "in": "query"
  5454. },
  5455. {
  5456. "type": "integer",
  5457. "description": "每页条数",
  5458. "name": "pagesize",
  5459. "in": "query"
  5460. },
  5461. {
  5462. "type": "string",
  5463. "description": "市场ID列表,格式:1,2,3",
  5464. "name": "marketIDs",
  5465. "in": "query",
  5466. "required": true
  5467. },
  5468. {
  5469. "type": "integer",
  5470. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5471. "name": "accountID",
  5472. "in": "query",
  5473. "required": true
  5474. },
  5475. {
  5476. "type": "integer",
  5477. "description": "类别ID",
  5478. "name": "categoryID",
  5479. "in": "query"
  5480. },
  5481. {
  5482. "type": "string",
  5483. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5484. "name": "goodsIDs",
  5485. "in": "query"
  5486. },
  5487. {
  5488. "type": "integer",
  5489. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5490. "name": "couponTypeID",
  5491. "in": "query"
  5492. }
  5493. ],
  5494. "responses": {
  5495. "200": {
  5496. "description": "OK",
  5497. "schema": {
  5498. "$ref": "#/definitions/models.HsbyMarketGoods"
  5499. }
  5500. },
  5501. "500": {
  5502. "description": "Internal Server Error",
  5503. "schema": {
  5504. "$ref": "#/definitions/app.Response"
  5505. }
  5506. }
  5507. }
  5508. }
  5509. },
  5510. "/HSBY/QueryHsbyMarkets": {
  5511. "get": {
  5512. "security": [
  5513. {
  5514. "ApiKeyAuth": []
  5515. }
  5516. ],
  5517. "produces": [
  5518. "application/json"
  5519. ],
  5520. "tags": [
  5521. "定制【海商报业】"
  5522. ],
  5523. "summary": "查询海商报业相关市场信息",
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/models.HsbyMarketInfo"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5548. "produces": [
  5549. "application/json"
  5550. ],
  5551. "tags": [
  5552. "定制【海商报业】"
  5553. ],
  5554. "summary": "查询“我的订单”信息",
  5555. "parameters": [
  5556. {
  5557. "type": "string",
  5558. "description": "资金账户列表,格式:1,2,3",
  5559. "name": "accountIDs",
  5560. "in": "query",
  5561. "required": true
  5562. }
  5563. ],
  5564. "responses": {
  5565. "200": {
  5566. "description": "OK",
  5567. "schema": {
  5568. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5569. }
  5570. },
  5571. "500": {
  5572. "description": "Internal Server Error",
  5573. "schema": {
  5574. "$ref": "#/definitions/app.Response"
  5575. }
  5576. }
  5577. }
  5578. }
  5579. },
  5580. "/HSBY/QueryHsbyMyGoods": {
  5581. "get": {
  5582. "security": [
  5583. {
  5584. "ApiKeyAuth": []
  5585. }
  5586. ],
  5587. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5588. "produces": [
  5589. "application/json"
  5590. ],
  5591. "tags": [
  5592. "定制【海商报业】"
  5593. ],
  5594. "summary": "查询“我的商品”信息",
  5595. "parameters": [
  5596. {
  5597. "type": "string",
  5598. "description": "资金账户列表,格式:1,2,3",
  5599. "name": "accountIDs",
  5600. "in": "query",
  5601. "required": true
  5602. }
  5603. ],
  5604. "responses": {
  5605. "200": {
  5606. "description": "OK",
  5607. "schema": {
  5608. "$ref": "#/definitions/models.HsbyMyGoods"
  5609. }
  5610. },
  5611. "500": {
  5612. "description": "Internal Server Error",
  5613. "schema": {
  5614. "$ref": "#/definitions/app.Response"
  5615. }
  5616. }
  5617. }
  5618. }
  5619. },
  5620. "/HSBY/QueryHsbyMyPackages": {
  5621. "get": {
  5622. "security": [
  5623. {
  5624. "ApiKeyAuth": []
  5625. }
  5626. ],
  5627. "produces": [
  5628. "application/json"
  5629. ],
  5630. "tags": [
  5631. "定制【海商报业】"
  5632. ],
  5633. "summary": "查询我的包裹信息",
  5634. "parameters": [
  5635. {
  5636. "type": "string",
  5637. "description": "资金账户列表,格式:1,2,3",
  5638. "name": "accountIDs",
  5639. "in": "query",
  5640. "required": true
  5641. },
  5642. {
  5643. "type": "integer",
  5644. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5645. "name": "takeOrderStatus",
  5646. "in": "query"
  5647. }
  5648. ],
  5649. "responses": {
  5650. "200": {
  5651. "description": "OK",
  5652. "schema": {
  5653. "$ref": "#/definitions/models.HsbyMyPackage"
  5654. }
  5655. },
  5656. "500": {
  5657. "description": "Internal Server Error",
  5658. "schema": {
  5659. "$ref": "#/definitions/app.Response"
  5660. }
  5661. }
  5662. }
  5663. }
  5664. },
  5665. "/HSBY/QueryHsbyPreGoodsDetail": {
  5666. "get": {
  5667. "security": [
  5668. {
  5669. "ApiKeyAuth": []
  5670. }
  5671. ],
  5672. "produces": [
  5673. "application/json"
  5674. ],
  5675. "tags": [
  5676. "定制【海商报业】"
  5677. ],
  5678. "summary": "查询一级市场(预售)商品信息详情",
  5679. "parameters": [
  5680. {
  5681. "type": "integer",
  5682. "description": "商品ID",
  5683. "name": "goodsID",
  5684. "in": "query",
  5685. "required": true
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "资金账户,主要用于获取预售商品购买上限",
  5690. "name": "accountID",
  5691. "in": "query"
  5692. }
  5693. ],
  5694. "responses": {
  5695. "200": {
  5696. "description": "OK",
  5697. "schema": {
  5698. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5699. }
  5700. },
  5701. "500": {
  5702. "description": "Internal Server Error",
  5703. "schema": {
  5704. "$ref": "#/definitions/app.Response"
  5705. }
  5706. }
  5707. }
  5708. }
  5709. },
  5710. "/HSBY/QueryHsbyPreGoodses": {
  5711. "get": {
  5712. "security": [
  5713. {
  5714. "ApiKeyAuth": []
  5715. }
  5716. ],
  5717. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5718. "produces": [
  5719. "application/json"
  5720. ],
  5721. "tags": [
  5722. "定制【海商报业】"
  5723. ],
  5724. "summary": "查询新品上市商品列表(一级市场预售)",
  5725. "parameters": [
  5726. {
  5727. "type": "integer",
  5728. "description": "页码",
  5729. "name": "page",
  5730. "in": "query"
  5731. },
  5732. {
  5733. "type": "integer",
  5734. "description": "每页条数",
  5735. "name": "pagesize",
  5736. "in": "query"
  5737. },
  5738. {
  5739. "type": "string",
  5740. "description": "市场ID列表,格式:1,2,3",
  5741. "name": "marketIDs",
  5742. "in": "query",
  5743. "required": true
  5744. },
  5745. {
  5746. "type": "integer",
  5747. "description": "目的地(省)ID",
  5748. "name": "descProvinceID",
  5749. "in": "query"
  5750. },
  5751. {
  5752. "type": "integer",
  5753. "description": "目的地(市)ID",
  5754. "name": "descCityID",
  5755. "in": "query"
  5756. }
  5757. ],
  5758. "responses": {
  5759. "200": {
  5760. "description": "OK",
  5761. "schema": {
  5762. "$ref": "#/definitions/models.HsbyPreGoods"
  5763. }
  5764. },
  5765. "500": {
  5766. "description": "Internal Server Error",
  5767. "schema": {
  5768. "$ref": "#/definitions/app.Response"
  5769. }
  5770. }
  5771. }
  5772. }
  5773. },
  5774. "/HSBY/QueryHsbySellMyDetails": {
  5775. "get": {
  5776. "security": [
  5777. {
  5778. "ApiKeyAuth": []
  5779. }
  5780. ],
  5781. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5782. "produces": [
  5783. "application/json"
  5784. ],
  5785. "tags": [
  5786. "定制【海商报业】"
  5787. ],
  5788. "summary": "查询\"我的闲置\"单据信息",
  5789. "parameters": [
  5790. {
  5791. "type": "integer",
  5792. "description": "页码",
  5793. "name": "page",
  5794. "in": "query"
  5795. },
  5796. {
  5797. "type": "integer",
  5798. "description": "每页条数",
  5799. "name": "pagesize",
  5800. "in": "query"
  5801. },
  5802. {
  5803. "type": "string",
  5804. "description": "资金账户列表,格式:1,2,3",
  5805. "name": "accountIDs",
  5806. "in": "query",
  5807. "required": true
  5808. },
  5809. {
  5810. "type": "integer",
  5811. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5812. "name": "orderType",
  5813. "in": "query"
  5814. }
  5815. ],
  5816. "responses": {
  5817. "200": {
  5818. "description": "OK",
  5819. "schema": {
  5820. "$ref": "#/definitions/models.HsbySellMyDetail"
  5821. }
  5822. },
  5823. "500": {
  5824. "description": "Internal Server Error",
  5825. "schema": {
  5826. "$ref": "#/definitions/app.Response"
  5827. }
  5828. }
  5829. }
  5830. }
  5831. },
  5832. "/HSBY/QueryHsbyTopGoodses": {
  5833. "get": {
  5834. "security": [
  5835. {
  5836. "ApiKeyAuth": []
  5837. }
  5838. ],
  5839. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5840. "produces": [
  5841. "application/json"
  5842. ],
  5843. "tags": [
  5844. "定制【海商报业】"
  5845. ],
  5846. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5847. "parameters": [
  5848. {
  5849. "type": "integer",
  5850. "description": "页码",
  5851. "name": "page",
  5852. "in": "query"
  5853. },
  5854. {
  5855. "type": "integer",
  5856. "description": "每页条数",
  5857. "name": "pagesize",
  5858. "in": "query"
  5859. },
  5860. {
  5861. "type": "string",
  5862. "description": "市场ID列表,格式:1,2,3",
  5863. "name": "marketIDs",
  5864. "in": "query",
  5865. "required": true
  5866. },
  5867. {
  5868. "type": "integer",
  5869. "description": "目的地(省)ID",
  5870. "name": "descProvinceID",
  5871. "in": "query"
  5872. },
  5873. {
  5874. "type": "integer",
  5875. "description": "目的地(市)ID",
  5876. "name": "descCityID",
  5877. "in": "query"
  5878. }
  5879. ],
  5880. "responses": {
  5881. "200": {
  5882. "description": "OK",
  5883. "schema": {
  5884. "$ref": "#/definitions/models.HsbyTopGoods"
  5885. }
  5886. },
  5887. "500": {
  5888. "description": "Internal Server Error",
  5889. "schema": {
  5890. "$ref": "#/definitions/app.Response"
  5891. }
  5892. }
  5893. }
  5894. }
  5895. },
  5896. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5897. "get": {
  5898. "security": [
  5899. {
  5900. "ApiKeyAuth": []
  5901. }
  5902. ],
  5903. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5904. "produces": [
  5905. "application/json"
  5906. ],
  5907. "tags": [
  5908. "定制【海商报业】"
  5909. ],
  5910. "summary": "查询游客三级市场(商城)商品信息详情",
  5911. "parameters": [
  5912. {
  5913. "type": "integer",
  5914. "description": "商品ID",
  5915. "name": "goodsID",
  5916. "in": "query",
  5917. "required": true
  5918. }
  5919. ],
  5920. "responses": {
  5921. "200": {
  5922. "description": "OK",
  5923. "schema": {
  5924. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5925. }
  5926. },
  5927. "500": {
  5928. "description": "Internal Server Error",
  5929. "schema": {
  5930. "$ref": "#/definitions/app.Response"
  5931. }
  5932. }
  5933. }
  5934. }
  5935. },
  5936. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5937. "get": {
  5938. "security": [
  5939. {
  5940. "ApiKeyAuth": []
  5941. }
  5942. ],
  5943. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5944. "produces": [
  5945. "application/json"
  5946. ],
  5947. "tags": [
  5948. "定制【海商报业】"
  5949. ],
  5950. "summary": "查询游客特卖商品列表(三级商城)",
  5951. "parameters": [
  5952. {
  5953. "type": "integer",
  5954. "description": "页码",
  5955. "name": "page",
  5956. "in": "query"
  5957. },
  5958. {
  5959. "type": "integer",
  5960. "description": "每页条数",
  5961. "name": "pagesize",
  5962. "in": "query"
  5963. },
  5964. {
  5965. "type": "string",
  5966. "description": "市场ID列表,格式:1,2,3",
  5967. "name": "marketIDs",
  5968. "in": "query",
  5969. "required": true
  5970. },
  5971. {
  5972. "type": "integer",
  5973. "description": "类别ID",
  5974. "name": "categoryID",
  5975. "in": "query"
  5976. },
  5977. {
  5978. "type": "string",
  5979. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5980. "name": "goodsIDs",
  5981. "in": "query"
  5982. }
  5983. ],
  5984. "responses": {
  5985. "200": {
  5986. "description": "OK",
  5987. "schema": {
  5988. "$ref": "#/definitions/models.HsbyMarketGoods"
  5989. }
  5990. },
  5991. "500": {
  5992. "description": "Internal Server Error",
  5993. "schema": {
  5994. "$ref": "#/definitions/app.Response"
  5995. }
  5996. }
  5997. }
  5998. }
  5999. },
  6000. "/HSBY/QueryMyCollectionOrders": {
  6001. "get": {
  6002. "security": [
  6003. {
  6004. "ApiKeyAuth": []
  6005. }
  6006. ],
  6007. "produces": [
  6008. "application/json"
  6009. ],
  6010. "tags": [
  6011. "定制【海商报业】"
  6012. ],
  6013. "summary": "我的闲置中收款信息查询",
  6014. "parameters": [
  6015. {
  6016. "type": "integer",
  6017. "description": "页码",
  6018. "name": "page",
  6019. "in": "query"
  6020. },
  6021. {
  6022. "type": "integer",
  6023. "description": "每页条数",
  6024. "name": "pagesize",
  6025. "in": "query"
  6026. },
  6027. {
  6028. "type": "string",
  6029. "description": "资金账户,格式:1,2,3",
  6030. "name": "accountIDs",
  6031. "in": "query",
  6032. "required": true
  6033. }
  6034. ],
  6035. "responses": {
  6036. "200": {
  6037. "description": "OK",
  6038. "schema": {
  6039. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6040. }
  6041. },
  6042. "500": {
  6043. "description": "Internal Server Error",
  6044. "schema": {
  6045. "$ref": "#/definitions/app.Response"
  6046. }
  6047. }
  6048. }
  6049. }
  6050. },
  6051. "/HSBY/QueryMyCouponHolds": {
  6052. "get": {
  6053. "security": [
  6054. {
  6055. "ApiKeyAuth": []
  6056. }
  6057. ],
  6058. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6059. "produces": [
  6060. "application/json"
  6061. ],
  6062. "tags": [
  6063. "定制【海商报业】"
  6064. ],
  6065. "summary": "我的优惠卷持仓查询",
  6066. "parameters": [
  6067. {
  6068. "type": "string",
  6069. "description": "资金账户列表,格式:1,2,3",
  6070. "name": "accountIDs",
  6071. "in": "query",
  6072. "required": true
  6073. },
  6074. {
  6075. "type": "string",
  6076. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6077. "name": "holdStatus",
  6078. "in": "query"
  6079. }
  6080. ],
  6081. "responses": {
  6082. "200": {
  6083. "description": "OK",
  6084. "schema": {
  6085. "$ref": "#/definitions/models.MyCouponHold"
  6086. }
  6087. },
  6088. "500": {
  6089. "description": "Internal Server Error",
  6090. "schema": {
  6091. "$ref": "#/definitions/app.Response"
  6092. }
  6093. }
  6094. }
  6095. }
  6096. },
  6097. "/HSBY/QueryMyCoupons": {
  6098. "get": {
  6099. "security": [
  6100. {
  6101. "ApiKeyAuth": []
  6102. }
  6103. ],
  6104. "produces": [
  6105. "application/json"
  6106. ],
  6107. "tags": [
  6108. "定制【海商报业】"
  6109. ],
  6110. "summary": "我的优惠卷查询",
  6111. "parameters": [
  6112. {
  6113. "type": "string",
  6114. "description": "资金账户列表,格式:1,2,3",
  6115. "name": "accountIDs",
  6116. "in": "query",
  6117. "required": true
  6118. },
  6119. {
  6120. "type": "integer",
  6121. "description": "商品ID, 一般与sellUserID配套传入",
  6122. "name": "goodsID",
  6123. "in": "query"
  6124. },
  6125. {
  6126. "type": "integer",
  6127. "description": "卖方UserID",
  6128. "name": "sellUserID",
  6129. "in": "query"
  6130. }
  6131. ],
  6132. "responses": {
  6133. "200": {
  6134. "description": "OK",
  6135. "schema": {
  6136. "$ref": "#/definitions/models.MyCoupon"
  6137. }
  6138. },
  6139. "500": {
  6140. "description": "Internal Server Error",
  6141. "schema": {
  6142. "$ref": "#/definitions/app.Response"
  6143. }
  6144. }
  6145. }
  6146. }
  6147. },
  6148. "/HSBY/QueryMyPayOrders": {
  6149. "get": {
  6150. "security": [
  6151. {
  6152. "ApiKeyAuth": []
  6153. }
  6154. ],
  6155. "produces": [
  6156. "application/json"
  6157. ],
  6158. "tags": [
  6159. "定制【海商报业】"
  6160. ],
  6161. "summary": "获取我的订单中待付款信息",
  6162. "parameters": [
  6163. {
  6164. "type": "integer",
  6165. "description": "页码",
  6166. "name": "page",
  6167. "in": "query"
  6168. },
  6169. {
  6170. "type": "integer",
  6171. "description": "每页条数",
  6172. "name": "pagesize",
  6173. "in": "query"
  6174. },
  6175. {
  6176. "type": "string",
  6177. "description": "资金账户列表,格式:1,2,3",
  6178. "name": "accountIDs",
  6179. "in": "query",
  6180. "required": true
  6181. },
  6182. {
  6183. "type": "integer",
  6184. "description": "买方委托单号",
  6185. "name": "buyOrderID",
  6186. "in": "query"
  6187. },
  6188. {
  6189. "type": "integer",
  6190. "description": "卖方委托单号",
  6191. "name": "sellOrderID",
  6192. "in": "query"
  6193. }
  6194. ],
  6195. "responses": {
  6196. "200": {
  6197. "description": "OK",
  6198. "schema": {
  6199. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6200. }
  6201. },
  6202. "500": {
  6203. "description": "Internal Server Error",
  6204. "schema": {
  6205. "$ref": "#/definitions/app.Response"
  6206. }
  6207. }
  6208. }
  6209. }
  6210. },
  6211. "/HSBY/QueryMyUsedCoupon": {
  6212. "get": {
  6213. "security": [
  6214. {
  6215. "ApiKeyAuth": []
  6216. }
  6217. ],
  6218. "produces": [
  6219. "application/json"
  6220. ],
  6221. "tags": [
  6222. "定制【海商报业】"
  6223. ],
  6224. "summary": "已使用优惠卷查询",
  6225. "parameters": [
  6226. {
  6227. "type": "string",
  6228. "description": "资金账户列表,格式:1,2,3",
  6229. "name": "accountIDs",
  6230. "in": "query",
  6231. "required": true
  6232. }
  6233. ],
  6234. "responses": {
  6235. "200": {
  6236. "description": "OK",
  6237. "schema": {
  6238. "$ref": "#/definitions/models.MyUsedCoupon"
  6239. }
  6240. },
  6241. "500": {
  6242. "description": "Internal Server Error",
  6243. "schema": {
  6244. "$ref": "#/definitions/app.Response"
  6245. }
  6246. }
  6247. }
  6248. }
  6249. },
  6250. "/HSBY/QueryProvincesAndCities": {
  6251. "get": {
  6252. "security": [
  6253. {
  6254. "ApiKeyAuth": []
  6255. }
  6256. ],
  6257. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6258. "produces": [
  6259. "application/json"
  6260. ],
  6261. "tags": [
  6262. "定制【海商报业】"
  6263. ],
  6264. "summary": "查询省市信息(不包括区)",
  6265. "parameters": [
  6266. {
  6267. "type": "integer",
  6268. "description": "省ID",
  6269. "name": "provinceID",
  6270. "in": "query"
  6271. }
  6272. ],
  6273. "responses": {
  6274. "200": {
  6275. "description": "OK",
  6276. "schema": {
  6277. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6278. }
  6279. },
  6280. "500": {
  6281. "description": "Internal Server Error",
  6282. "schema": {
  6283. "$ref": "#/definitions/app.Response"
  6284. }
  6285. }
  6286. }
  6287. }
  6288. },
  6289. "/HSBY/SetHsbyMyPackagesStatus": {
  6290. "post": {
  6291. "security": [
  6292. {
  6293. "ApiKeyAuth": []
  6294. }
  6295. ],
  6296. "produces": [
  6297. "application/json"
  6298. ],
  6299. "tags": [
  6300. "定制【海商报业】"
  6301. ],
  6302. "summary": "设置我的包裹已收货状态",
  6303. "parameters": [
  6304. {
  6305. "type": "string",
  6306. "description": "提货单号",
  6307. "name": "takeOrderID",
  6308. "in": "query",
  6309. "required": true
  6310. },
  6311. {
  6312. "type": "integer",
  6313. "description": "资金账号",
  6314. "name": "accountID",
  6315. "in": "query",
  6316. "required": true
  6317. }
  6318. ],
  6319. "responses": {
  6320. "200": {
  6321. "description": "OK",
  6322. "schema": {
  6323. "$ref": "#/definitions/app.Response"
  6324. }
  6325. },
  6326. "500": {
  6327. "description": "Internal Server Error",
  6328. "schema": {
  6329. "$ref": "#/definitions/app.Response"
  6330. }
  6331. }
  6332. }
  6333. }
  6334. },
  6335. "/Market/QueryGoodsesByLoginID": {
  6336. "get": {
  6337. "security": [
  6338. {
  6339. "ApiKeyAuth": []
  6340. }
  6341. ],
  6342. "produces": [
  6343. "application/json"
  6344. ],
  6345. "tags": [
  6346. "通用市场"
  6347. ],
  6348. "summary": "获取登录账号有权限的商品信息",
  6349. "parameters": [
  6350. {
  6351. "type": "integer",
  6352. "description": "登录账号",
  6353. "name": "loginID",
  6354. "in": "query",
  6355. "required": true
  6356. },
  6357. {
  6358. "type": "string",
  6359. "description": "市场ID列表,格式:1,2,3",
  6360. "name": "marketIDs",
  6361. "in": "query"
  6362. }
  6363. ],
  6364. "responses": {
  6365. "200": {
  6366. "description": "OK",
  6367. "schema": {
  6368. "$ref": "#/definitions/models.Goods"
  6369. }
  6370. },
  6371. "500": {
  6372. "description": "Internal Server Error",
  6373. "schema": {
  6374. "$ref": "#/definitions/app.Response"
  6375. }
  6376. }
  6377. }
  6378. }
  6379. },
  6380. "/Market/QueryMarketRun": {
  6381. "get": {
  6382. "security": [
  6383. {
  6384. "ApiKeyAuth": []
  6385. }
  6386. ],
  6387. "produces": [
  6388. "application/json"
  6389. ],
  6390. "tags": [
  6391. "通用市场"
  6392. ],
  6393. "summary": "查询市场运行信息",
  6394. "parameters": [
  6395. {
  6396. "type": "integer",
  6397. "description": "市场ID,不传返回所有",
  6398. "name": "marketID",
  6399. "in": "query"
  6400. }
  6401. ],
  6402. "responses": {
  6403. "200": {
  6404. "description": "OK",
  6405. "schema": {
  6406. "$ref": "#/definitions/models.Marketrun"
  6407. }
  6408. },
  6409. "500": {
  6410. "description": "Internal Server Error",
  6411. "schema": {
  6412. "$ref": "#/definitions/app.Response"
  6413. }
  6414. }
  6415. }
  6416. }
  6417. },
  6418. "/Market/QueryMarketsByLoginID": {
  6419. "get": {
  6420. "security": [
  6421. {
  6422. "ApiKeyAuth": []
  6423. }
  6424. ],
  6425. "produces": [
  6426. "application/json"
  6427. ],
  6428. "tags": [
  6429. "通用市场"
  6430. ],
  6431. "summary": "获取登录账号有权限的市场信息",
  6432. "parameters": [
  6433. {
  6434. "type": "integer",
  6435. "description": "登录账号",
  6436. "name": "loginID",
  6437. "in": "query",
  6438. "required": true
  6439. }
  6440. ],
  6441. "responses": {
  6442. "200": {
  6443. "description": "OK",
  6444. "schema": {
  6445. "$ref": "#/definitions/models.Market"
  6446. }
  6447. },
  6448. "500": {
  6449. "description": "Internal Server Error",
  6450. "schema": {
  6451. "$ref": "#/definitions/app.Response"
  6452. }
  6453. }
  6454. }
  6455. }
  6456. },
  6457. "/Order/QueryHisTradeDetail": {
  6458. "get": {
  6459. "security": [
  6460. {
  6461. "ApiKeyAuth": []
  6462. }
  6463. ],
  6464. "produces": [
  6465. "application/json"
  6466. ],
  6467. "tags": [
  6468. "通用单据"
  6469. ],
  6470. "summary": "历史成交单查询(合约市场)",
  6471. "parameters": [
  6472. {
  6473. "type": "string",
  6474. "description": "资金账户 - 格式:1,2,3",
  6475. "name": "accountID",
  6476. "in": "query",
  6477. "required": true
  6478. },
  6479. {
  6480. "type": "integer",
  6481. "description": "成交单号",
  6482. "name": "tradeID",
  6483. "in": "query"
  6484. },
  6485. {
  6486. "type": "integer",
  6487. "description": "委托单号",
  6488. "name": "orderID",
  6489. "in": "query"
  6490. },
  6491. {
  6492. "type": "string",
  6493. "description": "交易模式 - 格式:1,2,3",
  6494. "name": "tradeMode",
  6495. "in": "query"
  6496. },
  6497. {
  6498. "type": "integer",
  6499. "description": "委托单据类型",
  6500. "name": "buildType",
  6501. "in": "query"
  6502. },
  6503. {
  6504. "type": "string",
  6505. "description": "成交类别 - 格式:1,2,3",
  6506. "name": "tradeType",
  6507. "in": "query"
  6508. },
  6509. {
  6510. "type": "string",
  6511. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6512. "name": "startDate",
  6513. "in": "query"
  6514. },
  6515. {
  6516. "type": "string",
  6517. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6518. "name": "endDate",
  6519. "in": "query"
  6520. }
  6521. ],
  6522. "responses": {
  6523. "200": {
  6524. "description": "OK",
  6525. "schema": {
  6526. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6527. }
  6528. },
  6529. "500": {
  6530. "description": "Internal Server Error",
  6531. "schema": {
  6532. "$ref": "#/definitions/app.Response"
  6533. }
  6534. }
  6535. }
  6536. }
  6537. },
  6538. "/Order/QueryHisTradeOrderDetail": {
  6539. "get": {
  6540. "security": [
  6541. {
  6542. "ApiKeyAuth": []
  6543. }
  6544. ],
  6545. "produces": [
  6546. "application/json"
  6547. ],
  6548. "tags": [
  6549. "通用单据"
  6550. ],
  6551. "summary": "历史委托单查询请求(合约市场)",
  6552. "parameters": [
  6553. {
  6554. "type": "string",
  6555. "description": "资金账户 - 格式:1,2,3",
  6556. "name": "accountID",
  6557. "in": "query",
  6558. "required": true
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "交易模式 - 格式:1,2,3",
  6563. "name": "tradeMode",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "委托状态 - 格式:1,2,3",
  6569. "name": "orderStatus",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "integer",
  6574. "description": "委托单号",
  6575. "name": "orderID",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "string",
  6580. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6581. "name": "startDate",
  6582. "in": "query"
  6583. },
  6584. {
  6585. "type": "string",
  6586. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6587. "name": "endDate",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6596. }
  6597. },
  6598. "500": {
  6599. "description": "Internal Server Error",
  6600. "schema": {
  6601. "$ref": "#/definitions/app.Response"
  6602. }
  6603. }
  6604. }
  6605. }
  6606. },
  6607. "/Order/QueryTradeDetail": {
  6608. "get": {
  6609. "security": [
  6610. {
  6611. "ApiKeyAuth": []
  6612. }
  6613. ],
  6614. "produces": [
  6615. "application/json"
  6616. ],
  6617. "tags": [
  6618. "通用单据"
  6619. ],
  6620. "summary": "成交单查询(合约市场)",
  6621. "parameters": [
  6622. {
  6623. "type": "string",
  6624. "description": "资金账户 - 格式:1,2,3",
  6625. "name": "accountID",
  6626. "in": "query",
  6627. "required": true
  6628. },
  6629. {
  6630. "type": "integer",
  6631. "description": "成交单号",
  6632. "name": "tradeID",
  6633. "in": "query"
  6634. },
  6635. {
  6636. "type": "integer",
  6637. "description": "委托单号",
  6638. "name": "orderID",
  6639. "in": "query"
  6640. },
  6641. {
  6642. "type": "string",
  6643. "description": "交易模式 - 格式:1,2,3",
  6644. "name": "tradeMode",
  6645. "in": "query"
  6646. },
  6647. {
  6648. "type": "integer",
  6649. "description": "委托单据类型",
  6650. "name": "buildType",
  6651. "in": "query"
  6652. },
  6653. {
  6654. "type": "string",
  6655. "description": "成交类别 - 格式:1,2,3",
  6656. "name": "tradeType",
  6657. "in": "query"
  6658. }
  6659. ],
  6660. "responses": {
  6661. "200": {
  6662. "description": "OK",
  6663. "schema": {
  6664. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6665. }
  6666. },
  6667. "500": {
  6668. "description": "Internal Server Error",
  6669. "schema": {
  6670. "$ref": "#/definitions/app.Response"
  6671. }
  6672. }
  6673. }
  6674. }
  6675. },
  6676. "/Order/QueryTradeOrderDetail": {
  6677. "get": {
  6678. "security": [
  6679. {
  6680. "ApiKeyAuth": []
  6681. }
  6682. ],
  6683. "produces": [
  6684. "application/json"
  6685. ],
  6686. "tags": [
  6687. "通用单据"
  6688. ],
  6689. "summary": "委托单查询请求(合约市场)",
  6690. "parameters": [
  6691. {
  6692. "type": "string",
  6693. "description": "资金账户 - 格式:1,2,3",
  6694. "name": "accountID",
  6695. "in": "query",
  6696. "required": true
  6697. },
  6698. {
  6699. "type": "string",
  6700. "description": "交易模式 - 格式:1,2,3",
  6701. "name": "tradeMode",
  6702. "in": "query"
  6703. },
  6704. {
  6705. "type": "string",
  6706. "description": "委托状态 - 格式:1,2,3",
  6707. "name": "orderStatus",
  6708. "in": "query"
  6709. },
  6710. {
  6711. "type": "integer",
  6712. "description": "委托单号",
  6713. "name": "orderID",
  6714. "in": "query"
  6715. }
  6716. ],
  6717. "responses": {
  6718. "200": {
  6719. "description": "OK",
  6720. "schema": {
  6721. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6722. }
  6723. },
  6724. "500": {
  6725. "description": "Internal Server Error",
  6726. "schema": {
  6727. "$ref": "#/definitions/app.Response"
  6728. }
  6729. }
  6730. }
  6731. }
  6732. },
  6733. "/Order/QueryTradePosition": {
  6734. "get": {
  6735. "security": [
  6736. {
  6737. "ApiKeyAuth": []
  6738. }
  6739. ],
  6740. "produces": [
  6741. "application/json"
  6742. ],
  6743. "tags": [
  6744. "通用单据"
  6745. ],
  6746. "summary": "持仓汇总查询(合约市场)",
  6747. "parameters": [
  6748. {
  6749. "type": "string",
  6750. "description": "资金账户 - 格式:1,2,3",
  6751. "name": "accountID",
  6752. "in": "query",
  6753. "required": true
  6754. },
  6755. {
  6756. "type": "string",
  6757. "description": "交易模式 - 格式:1,2,3",
  6758. "name": "tradeMode",
  6759. "in": "query"
  6760. }
  6761. ],
  6762. "responses": {
  6763. "200": {
  6764. "description": "OK",
  6765. "schema": {
  6766. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6767. }
  6768. },
  6769. "500": {
  6770. "description": "Internal Server Error",
  6771. "schema": {
  6772. "$ref": "#/definitions/app.Response"
  6773. }
  6774. }
  6775. }
  6776. }
  6777. },
  6778. "/Quote/QueryHistoryDatas": {
  6779. "get": {
  6780. "security": [
  6781. {
  6782. "ApiKeyAuth": []
  6783. }
  6784. ],
  6785. "produces": [
  6786. "application/json"
  6787. ],
  6788. "tags": [
  6789. "行情服务"
  6790. ],
  6791. "summary": "查询行情历史数据",
  6792. "parameters": [
  6793. {
  6794. "type": "integer",
  6795. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6796. "name": "cycleType",
  6797. "in": "query",
  6798. "required": true
  6799. },
  6800. {
  6801. "type": "string",
  6802. "description": "商品代码",
  6803. "name": "goodsCode",
  6804. "in": "query",
  6805. "required": true
  6806. },
  6807. {
  6808. "type": "string",
  6809. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6810. "name": "startTime",
  6811. "in": "query"
  6812. },
  6813. {
  6814. "type": "string",
  6815. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6816. "name": "endTime",
  6817. "in": "query"
  6818. },
  6819. {
  6820. "type": "integer",
  6821. "description": "条数",
  6822. "name": "count",
  6823. "in": "query"
  6824. },
  6825. {
  6826. "type": "boolean",
  6827. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6828. "name": "isAsc",
  6829. "in": "query"
  6830. }
  6831. ],
  6832. "responses": {
  6833. "200": {
  6834. "description": "OK",
  6835. "schema": {
  6836. "$ref": "#/definitions/quote.HistoryData"
  6837. }
  6838. },
  6839. "500": {
  6840. "description": "Internal Server Error",
  6841. "schema": {
  6842. "$ref": "#/definitions/app.Response"
  6843. }
  6844. }
  6845. }
  6846. }
  6847. },
  6848. "/Quote/QueryHistoryTikDatas": {
  6849. "get": {
  6850. "security": [
  6851. {
  6852. "ApiKeyAuth": []
  6853. }
  6854. ],
  6855. "produces": [
  6856. "application/json"
  6857. ],
  6858. "tags": [
  6859. "行情服务"
  6860. ],
  6861. "summary": "查询行情Tik数据",
  6862. "parameters": [
  6863. {
  6864. "type": "string",
  6865. "description": "商品代码",
  6866. "name": "goodsCode",
  6867. "in": "query",
  6868. "required": true
  6869. },
  6870. {
  6871. "type": "string",
  6872. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6873. "name": "startTime",
  6874. "in": "query"
  6875. },
  6876. {
  6877. "type": "string",
  6878. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6879. "name": "endTime",
  6880. "in": "query"
  6881. },
  6882. {
  6883. "type": "integer",
  6884. "description": "条数",
  6885. "name": "count",
  6886. "in": "query"
  6887. },
  6888. {
  6889. "type": "boolean",
  6890. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6891. "name": "isAsc",
  6892. "in": "query"
  6893. }
  6894. ],
  6895. "responses": {
  6896. "200": {
  6897. "description": "OK",
  6898. "schema": {
  6899. "$ref": "#/definitions/quote.HistoryTikData"
  6900. }
  6901. },
  6902. "500": {
  6903. "description": "Internal Server Error",
  6904. "schema": {
  6905. "$ref": "#/definitions/app.Response"
  6906. }
  6907. }
  6908. }
  6909. }
  6910. },
  6911. "/Quote/QueryQuoteDay": {
  6912. "get": {
  6913. "security": [
  6914. {
  6915. "ApiKeyAuth": []
  6916. }
  6917. ],
  6918. "produces": [
  6919. "application/json"
  6920. ],
  6921. "tags": [
  6922. "行情服务"
  6923. ],
  6924. "summary": "获取商品盘面信息",
  6925. "parameters": [
  6926. {
  6927. "type": "string",
  6928. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6929. "name": "goodsCodes",
  6930. "in": "query",
  6931. "required": true
  6932. }
  6933. ],
  6934. "responses": {
  6935. "200": {
  6936. "description": "OK",
  6937. "schema": {
  6938. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6939. }
  6940. },
  6941. "500": {
  6942. "description": "Internal Server Error",
  6943. "schema": {
  6944. "$ref": "#/definitions/app.Response"
  6945. }
  6946. }
  6947. }
  6948. }
  6949. },
  6950. "/Quote/QueryTSData": {
  6951. "get": {
  6952. "security": [
  6953. {
  6954. "ApiKeyAuth": []
  6955. }
  6956. ],
  6957. "produces": [
  6958. "application/json"
  6959. ],
  6960. "tags": [
  6961. "行情服务"
  6962. ],
  6963. "summary": "分时图数据查询",
  6964. "parameters": [
  6965. {
  6966. "type": "string",
  6967. "description": "商品代码",
  6968. "name": "goodsCode",
  6969. "in": "query",
  6970. "required": true
  6971. }
  6972. ],
  6973. "responses": {
  6974. "200": {
  6975. "description": "OK",
  6976. "schema": {
  6977. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6978. }
  6979. },
  6980. "500": {
  6981. "description": "Internal Server Error",
  6982. "schema": {
  6983. "$ref": "#/definitions/app.Response"
  6984. }
  6985. }
  6986. }
  6987. }
  6988. },
  6989. "/SZDZ/QueryConvertConfig": {
  6990. "get": {
  6991. "security": [
  6992. {
  6993. "ApiKeyAuth": []
  6994. }
  6995. ],
  6996. "produces": [
  6997. "application/json"
  6998. ],
  6999. "tags": [
  7000. "定制【尚志大宗】"
  7001. ],
  7002. "summary": "查询交易系统转换设置",
  7003. "parameters": [
  7004. {
  7005. "type": "integer",
  7006. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7007. "name": "convertType",
  7008. "in": "query"
  7009. },
  7010. {
  7011. "type": "string",
  7012. "description": "外部商品代码[JD\\PD]",
  7013. "name": "outerGoodsCode",
  7014. "in": "query"
  7015. },
  7016. {
  7017. "type": "string",
  7018. "description": "内部商品ID列表[交易],格式:1,2,3",
  7019. "name": "innerGoodsIDs",
  7020. "in": "query"
  7021. }
  7022. ],
  7023. "responses": {
  7024. "200": {
  7025. "description": "OK",
  7026. "schema": {
  7027. "$ref": "#/definitions/models.Szdz3convertconfig"
  7028. }
  7029. },
  7030. "500": {
  7031. "description": "Internal Server Error",
  7032. "schema": {
  7033. "$ref": "#/definitions/app.Response"
  7034. }
  7035. }
  7036. }
  7037. }
  7038. },
  7039. "/SZDZ/QueryConvertLog": {
  7040. "get": {
  7041. "security": [
  7042. {
  7043. "ApiKeyAuth": []
  7044. }
  7045. ],
  7046. "produces": [
  7047. "application/json"
  7048. ],
  7049. "tags": [
  7050. "定制【尚志大宗】"
  7051. ],
  7052. "summary": "交易系统转换流水查询",
  7053. "parameters": [
  7054. {
  7055. "type": "string",
  7056. "description": "资金账户 - 格式:1,2,3",
  7057. "name": "accountID",
  7058. "in": "query",
  7059. "required": true
  7060. },
  7061. {
  7062. "type": "string",
  7063. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7064. "name": "startDate",
  7065. "in": "query"
  7066. },
  7067. {
  7068. "type": "string",
  7069. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7070. "name": "endDate",
  7071. "in": "query"
  7072. }
  7073. ],
  7074. "responses": {
  7075. "200": {
  7076. "description": "OK",
  7077. "schema": {
  7078. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7079. }
  7080. },
  7081. "500": {
  7082. "description": "Internal Server Error",
  7083. "schema": {
  7084. "$ref": "#/definitions/app.Response"
  7085. }
  7086. }
  7087. }
  7088. }
  7089. },
  7090. "/SZDZ/QueryGoodsPickup": {
  7091. "get": {
  7092. "security": [
  7093. {
  7094. "ApiKeyAuth": []
  7095. }
  7096. ],
  7097. "produces": [
  7098. "application/json"
  7099. ],
  7100. "tags": [
  7101. "定制【尚志大宗】"
  7102. ],
  7103. "summary": "商品提货单查询",
  7104. "parameters": [
  7105. {
  7106. "type": "string",
  7107. "description": "资金账户 - 格式:1,2,3",
  7108. "name": "accountID",
  7109. "in": "query",
  7110. "required": true
  7111. },
  7112. {
  7113. "type": "integer",
  7114. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7115. "name": "takeOrderStatus",
  7116. "in": "query"
  7117. }
  7118. ],
  7119. "responses": {
  7120. "200": {
  7121. "description": "OK",
  7122. "schema": {
  7123. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7124. }
  7125. },
  7126. "500": {
  7127. "description": "Internal Server Error",
  7128. "schema": {
  7129. "$ref": "#/definitions/app.Response"
  7130. }
  7131. }
  7132. }
  7133. }
  7134. },
  7135. "/SZDZ/QueryRecieptOrder": {
  7136. "get": {
  7137. "security": [
  7138. {
  7139. "ApiKeyAuth": []
  7140. }
  7141. ],
  7142. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7143. "produces": [
  7144. "application/json"
  7145. ],
  7146. "tags": [
  7147. "定制【尚志大宗】"
  7148. ],
  7149. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7150. "parameters": [
  7151. {
  7152. "type": "integer",
  7153. "description": "页码",
  7154. "name": "page",
  7155. "in": "query"
  7156. },
  7157. {
  7158. "type": "integer",
  7159. "description": "每页条数",
  7160. "name": "pagesize",
  7161. "in": "query"
  7162. },
  7163. {
  7164. "type": "integer",
  7165. "description": "商品ID",
  7166. "name": "goodsID",
  7167. "in": "query",
  7168. "required": true
  7169. },
  7170. {
  7171. "type": "string",
  7172. "description": "所属账户名称",
  7173. "name": "accountName",
  7174. "in": "query"
  7175. },
  7176. {
  7177. "type": "integer",
  7178. "description": "市场ID",
  7179. "name": "marketID",
  7180. "in": "query"
  7181. },
  7182. {
  7183. "type": "integer",
  7184. "description": "方向 - 0:买 1:卖",
  7185. "name": "buyorsell",
  7186. "in": "query",
  7187. "required": true
  7188. }
  7189. ],
  7190. "responses": {
  7191. "200": {
  7192. "description": "OK",
  7193. "schema": {
  7194. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7195. }
  7196. },
  7197. "500": {
  7198. "description": "Internal Server Error",
  7199. "schema": {
  7200. "$ref": "#/definitions/app.Response"
  7201. }
  7202. }
  7203. }
  7204. }
  7205. },
  7206. "/SZDZ/QuerySZDZTradePosition": {
  7207. "get": {
  7208. "security": [
  7209. {
  7210. "ApiKeyAuth": []
  7211. }
  7212. ],
  7213. "produces": [
  7214. "application/json"
  7215. ],
  7216. "tags": [
  7217. "定制【尚志大宗】"
  7218. ],
  7219. "summary": "持仓汇总查询(尚志大宗)",
  7220. "parameters": [
  7221. {
  7222. "type": "integer",
  7223. "description": "资金账户",
  7224. "name": "accountID",
  7225. "in": "query",
  7226. "required": true
  7227. }
  7228. ],
  7229. "responses": {
  7230. "200": {
  7231. "description": "OK",
  7232. "schema": {
  7233. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7234. }
  7235. },
  7236. "500": {
  7237. "description": "Internal Server Error",
  7238. "schema": {
  7239. "$ref": "#/definitions/app.Response"
  7240. }
  7241. }
  7242. }
  7243. }
  7244. },
  7245. "/SZDZ/SearchWhite": {
  7246. "get": {
  7247. "security": [
  7248. {
  7249. "ApiKeyAuth": []
  7250. }
  7251. ],
  7252. "produces": [
  7253. "application/json"
  7254. ],
  7255. "tags": [
  7256. "定制【尚志大宗】"
  7257. ],
  7258. "summary": "搜索白名单",
  7259. "parameters": [
  7260. {
  7261. "type": "integer",
  7262. "description": "用户ID",
  7263. "name": "userID",
  7264. "in": "query",
  7265. "required": true
  7266. }
  7267. ],
  7268. "responses": {
  7269. "200": {
  7270. "description": "OK",
  7271. "schema": {
  7272. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7273. }
  7274. },
  7275. "500": {
  7276. "description": "Internal Server Error",
  7277. "schema": {
  7278. "$ref": "#/definitions/app.Response"
  7279. }
  7280. }
  7281. }
  7282. }
  7283. },
  7284. "/Search/SearchGoodses": {
  7285. "get": {
  7286. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7287. "produces": [
  7288. "application/json"
  7289. ],
  7290. "tags": [
  7291. "检索服务"
  7292. ],
  7293. "summary": "检索商品信息",
  7294. "parameters": [
  7295. {
  7296. "type": "string",
  7297. "description": "检索内容",
  7298. "name": "content",
  7299. "in": "query",
  7300. "required": true
  7301. },
  7302. {
  7303. "type": "string",
  7304. "description": "交易模式,格式:1,2,3",
  7305. "name": "tradeModes",
  7306. "in": "query"
  7307. }
  7308. ],
  7309. "responses": {
  7310. "200": {
  7311. "description": "OK",
  7312. "schema": {
  7313. "$ref": "#/definitions/models.SearchGoods"
  7314. }
  7315. },
  7316. "500": {
  7317. "description": "Internal Server Error",
  7318. "schema": {
  7319. "$ref": "#/definitions/app.Response"
  7320. }
  7321. }
  7322. }
  7323. }
  7324. },
  7325. "/TaAccount/GetTaAccounts": {
  7326. "get": {
  7327. "security": [
  7328. {
  7329. "ApiKeyAuth": []
  7330. }
  7331. ],
  7332. "produces": [
  7333. "application/json"
  7334. ],
  7335. "tags": [
  7336. "资金账户"
  7337. ],
  7338. "summary": "获取资金账户信息",
  7339. "parameters": [
  7340. {
  7341. "type": "integer",
  7342. "description": "登录账户",
  7343. "name": "loginID",
  7344. "in": "query",
  7345. "required": true
  7346. },
  7347. {
  7348. "type": "integer",
  7349. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7350. "name": "taAccountType",
  7351. "in": "query"
  7352. }
  7353. ],
  7354. "responses": {
  7355. "200": {
  7356. "description": "OK",
  7357. "schema": {
  7358. "$ref": "#/definitions/models.Taaccount"
  7359. }
  7360. },
  7361. "500": {
  7362. "description": "Internal Server Error",
  7363. "schema": {
  7364. "$ref": "#/definitions/app.Response"
  7365. }
  7366. }
  7367. }
  7368. }
  7369. },
  7370. "/TaAccount/QueryAmountLog": {
  7371. "get": {
  7372. "security": [
  7373. {
  7374. "ApiKeyAuth": []
  7375. }
  7376. ],
  7377. "produces": [
  7378. "application/json"
  7379. ],
  7380. "tags": [
  7381. "资金账户"
  7382. ],
  7383. "summary": "资金流水查询(当前)",
  7384. "parameters": [
  7385. {
  7386. "type": "integer",
  7387. "description": "页码",
  7388. "name": "page",
  7389. "in": "query"
  7390. },
  7391. {
  7392. "type": "integer",
  7393. "description": "每页条数",
  7394. "name": "pagesize",
  7395. "in": "query"
  7396. },
  7397. {
  7398. "type": "string",
  7399. "description": "资金账户 - 格式:1,2,3",
  7400. "name": "accountID",
  7401. "in": "query",
  7402. "required": true
  7403. },
  7404. {
  7405. "type": "string",
  7406. "description": "资金操作类型 - 格式:1,2,3",
  7407. "name": "OperateType",
  7408. "in": "query"
  7409. }
  7410. ],
  7411. "responses": {
  7412. "200": {
  7413. "description": "OK",
  7414. "schema": {
  7415. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7416. }
  7417. },
  7418. "500": {
  7419. "description": "Internal Server Error",
  7420. "schema": {
  7421. "$ref": "#/definitions/app.Response"
  7422. }
  7423. }
  7424. }
  7425. }
  7426. },
  7427. "/TaAccount/QueryHisAmountLog": {
  7428. "get": {
  7429. "security": [
  7430. {
  7431. "ApiKeyAuth": []
  7432. }
  7433. ],
  7434. "produces": [
  7435. "application/json"
  7436. ],
  7437. "tags": [
  7438. "资金账户"
  7439. ],
  7440. "summary": "资金流水查询(历史)",
  7441. "parameters": [
  7442. {
  7443. "type": "integer",
  7444. "description": "页码",
  7445. "name": "page",
  7446. "in": "query"
  7447. },
  7448. {
  7449. "type": "integer",
  7450. "description": "每页条数",
  7451. "name": "pagesize",
  7452. "in": "query"
  7453. },
  7454. {
  7455. "type": "string",
  7456. "description": "资金账户 - 格式:1,2,3",
  7457. "name": "accountID",
  7458. "in": "query",
  7459. "required": true
  7460. },
  7461. {
  7462. "type": "string",
  7463. "description": "资金操作类型 - 格式:1,2,3",
  7464. "name": "OperateType",
  7465. "in": "query"
  7466. },
  7467. {
  7468. "type": "string",
  7469. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7470. "name": "startDate",
  7471. "in": "query"
  7472. },
  7473. {
  7474. "type": "string",
  7475. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7476. "name": "endDate",
  7477. "in": "query"
  7478. }
  7479. ],
  7480. "responses": {
  7481. "200": {
  7482. "description": "OK",
  7483. "schema": {
  7484. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7485. }
  7486. },
  7487. "500": {
  7488. "description": "Internal Server Error",
  7489. "schema": {
  7490. "$ref": "#/definitions/app.Response"
  7491. }
  7492. }
  7493. }
  7494. }
  7495. },
  7496. "/Trade/QueryRecieptOrder": {
  7497. "get": {
  7498. "security": [
  7499. {
  7500. "ApiKeyAuth": []
  7501. }
  7502. ],
  7503. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7504. "produces": [
  7505. "application/json"
  7506. ],
  7507. "tags": [
  7508. "通用交易"
  7509. ],
  7510. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7511. "parameters": [
  7512. {
  7513. "type": "integer",
  7514. "description": "页码",
  7515. "name": "page",
  7516. "in": "query"
  7517. },
  7518. {
  7519. "type": "integer",
  7520. "description": "每页条数",
  7521. "name": "pagesize",
  7522. "in": "query"
  7523. },
  7524. {
  7525. "type": "integer",
  7526. "description": "商品ID",
  7527. "name": "goodsID",
  7528. "in": "query",
  7529. "required": true
  7530. },
  7531. {
  7532. "type": "string",
  7533. "description": "所属账户名称",
  7534. "name": "accountName",
  7535. "in": "query"
  7536. },
  7537. {
  7538. "type": "integer",
  7539. "description": "市场ID",
  7540. "name": "marketID",
  7541. "in": "query"
  7542. },
  7543. {
  7544. "type": "integer",
  7545. "description": "方向 - 0:买 1:卖",
  7546. "name": "buyorsell",
  7547. "in": "query",
  7548. "required": true
  7549. }
  7550. ],
  7551. "responses": {
  7552. "200": {
  7553. "description": "OK",
  7554. "schema": {
  7555. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7556. }
  7557. },
  7558. "500": {
  7559. "description": "Internal Server Error",
  7560. "schema": {
  7561. "$ref": "#/definitions/app.Response"
  7562. }
  7563. }
  7564. }
  7565. }
  7566. },
  7567. "/User/AddMessageBoard": {
  7568. "post": {
  7569. "security": [
  7570. {
  7571. "ApiKeyAuth": []
  7572. }
  7573. ],
  7574. "produces": [
  7575. "application/json"
  7576. ],
  7577. "tags": [
  7578. "用户信息"
  7579. ],
  7580. "summary": "添加用户留言板信息",
  7581. "parameters": [
  7582. {
  7583. "type": "integer",
  7584. "description": "用户ID",
  7585. "name": "userID",
  7586. "in": "query",
  7587. "required": true
  7588. },
  7589. {
  7590. "type": "string",
  7591. "description": "留言信息",
  7592. "name": "message",
  7593. "in": "query",
  7594. "required": true
  7595. },
  7596. {
  7597. "type": "string",
  7598. "description": "联系电话",
  7599. "name": "contactNum",
  7600. "in": "query",
  7601. "required": true
  7602. }
  7603. ],
  7604. "responses": {
  7605. "200": {
  7606. "description": "OK",
  7607. "schema": {
  7608. "$ref": "#/definitions/app.Response"
  7609. }
  7610. },
  7611. "500": {
  7612. "description": "Internal Server Error",
  7613. "schema": {
  7614. "$ref": "#/definitions/app.Response"
  7615. }
  7616. }
  7617. }
  7618. }
  7619. },
  7620. "/User/AddUserFavoriteGoods": {
  7621. "post": {
  7622. "security": [
  7623. {
  7624. "ApiKeyAuth": []
  7625. }
  7626. ],
  7627. "produces": [
  7628. "application/json"
  7629. ],
  7630. "tags": [
  7631. "用户信息"
  7632. ],
  7633. "summary": "添加用户商品收藏信息",
  7634. "parameters": [
  7635. {
  7636. "type": "integer",
  7637. "description": "用户ID",
  7638. "name": "userID",
  7639. "in": "query",
  7640. "required": true
  7641. },
  7642. {
  7643. "type": "integer",
  7644. "description": "商品ID",
  7645. "name": "goodsID",
  7646. "in": "query",
  7647. "required": true
  7648. }
  7649. ],
  7650. "responses": {
  7651. "200": {
  7652. "description": "OK",
  7653. "schema": {
  7654. "$ref": "#/definitions/app.Response"
  7655. }
  7656. },
  7657. "500": {
  7658. "description": "Internal Server Error",
  7659. "schema": {
  7660. "$ref": "#/definitions/app.Response"
  7661. }
  7662. }
  7663. }
  7664. }
  7665. },
  7666. "/User/GetLoginID": {
  7667. "get": {
  7668. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7669. "produces": [
  7670. "application/json"
  7671. ],
  7672. "tags": [
  7673. "用户信息"
  7674. ],
  7675. "summary": "获取登录ID",
  7676. "parameters": [
  7677. {
  7678. "type": "string",
  7679. "description": "登录代码",
  7680. "name": "username",
  7681. "in": "query",
  7682. "required": true
  7683. }
  7684. ],
  7685. "responses": {
  7686. "200": {
  7687. "description": "OK",
  7688. "schema": {
  7689. "$ref": "#/definitions/app.Response"
  7690. }
  7691. },
  7692. "500": {
  7693. "description": "Internal Server Error",
  7694. "schema": {
  7695. "$ref": "#/definitions/app.Response"
  7696. }
  7697. }
  7698. }
  7699. }
  7700. },
  7701. "/User/GetUserAccount": {
  7702. "get": {
  7703. "security": [
  7704. {
  7705. "ApiKeyAuth": []
  7706. }
  7707. ],
  7708. "produces": [
  7709. "application/json"
  7710. ],
  7711. "tags": [
  7712. "用户信息"
  7713. ],
  7714. "summary": "获取用户账号信息",
  7715. "parameters": [
  7716. {
  7717. "type": "integer",
  7718. "description": "用户ID",
  7719. "name": "userID",
  7720. "in": "query",
  7721. "required": true
  7722. }
  7723. ],
  7724. "responses": {
  7725. "200": {
  7726. "description": "OK",
  7727. "schema": {
  7728. "$ref": "#/definitions/models.Useraccount"
  7729. }
  7730. },
  7731. "500": {
  7732. "description": "Internal Server Error",
  7733. "schema": {
  7734. "$ref": "#/definitions/app.Response"
  7735. }
  7736. }
  7737. }
  7738. }
  7739. },
  7740. "/User/GetUserAuthStatus": {
  7741. "get": {
  7742. "security": [
  7743. {
  7744. "ApiKeyAuth": []
  7745. }
  7746. ],
  7747. "produces": [
  7748. "application/json"
  7749. ],
  7750. "tags": [
  7751. "用户信息"
  7752. ],
  7753. "summary": "获取用户实名认证状态",
  7754. "parameters": [
  7755. {
  7756. "type": "integer",
  7757. "description": "用户ID",
  7758. "name": "userID",
  7759. "in": "query",
  7760. "required": true
  7761. }
  7762. ],
  7763. "responses": {
  7764. "200": {
  7765. "description": "OK",
  7766. "schema": {
  7767. "$ref": "#/definitions/app.Response"
  7768. }
  7769. },
  7770. "500": {
  7771. "description": "Internal Server Error",
  7772. "schema": {
  7773. "$ref": "#/definitions/app.Response"
  7774. }
  7775. }
  7776. }
  7777. }
  7778. },
  7779. "/User/LoginQuery": {
  7780. "get": {
  7781. "security": [
  7782. {
  7783. "ApiKeyAuth": []
  7784. }
  7785. ],
  7786. "produces": [
  7787. "application/json"
  7788. ],
  7789. "tags": [
  7790. "用户信息"
  7791. ],
  7792. "summary": "账户登录后信息查询",
  7793. "parameters": [
  7794. {
  7795. "type": "integer",
  7796. "description": "登录账号",
  7797. "name": "loginID",
  7798. "in": "query",
  7799. "required": true
  7800. }
  7801. ],
  7802. "responses": {
  7803. "200": {
  7804. "description": "OK",
  7805. "schema": {
  7806. "$ref": "#/definitions/user.LoginQueryRsp"
  7807. }
  7808. },
  7809. "500": {
  7810. "description": "Internal Server Error",
  7811. "schema": {
  7812. "$ref": "#/definitions/app.Response"
  7813. }
  7814. }
  7815. }
  7816. }
  7817. },
  7818. "/User/QueryMessageBoard": {
  7819. "get": {
  7820. "security": [
  7821. {
  7822. "ApiKeyAuth": []
  7823. }
  7824. ],
  7825. "produces": [
  7826. "application/json"
  7827. ],
  7828. "tags": [
  7829. "用户信息"
  7830. ],
  7831. "summary": "获取用户留言板信息",
  7832. "parameters": [
  7833. {
  7834. "type": "integer",
  7835. "description": "用户ID",
  7836. "name": "userID",
  7837. "in": "query",
  7838. "required": true
  7839. }
  7840. ],
  7841. "responses": {
  7842. "200": {
  7843. "description": "OK",
  7844. "schema": {
  7845. "$ref": "#/definitions/models.Messageboard"
  7846. }
  7847. },
  7848. "500": {
  7849. "description": "Internal Server Error",
  7850. "schema": {
  7851. "$ref": "#/definitions/app.Response"
  7852. }
  7853. }
  7854. }
  7855. }
  7856. },
  7857. "/User/QueryUserFavoriteGoodses": {
  7858. "get": {
  7859. "security": [
  7860. {
  7861. "ApiKeyAuth": []
  7862. }
  7863. ],
  7864. "produces": [
  7865. "application/json"
  7866. ],
  7867. "tags": [
  7868. "用户信息"
  7869. ],
  7870. "summary": "获取用户商品收藏信息",
  7871. "parameters": [
  7872. {
  7873. "type": "integer",
  7874. "description": "用户ID",
  7875. "name": "userID",
  7876. "in": "query",
  7877. "required": true
  7878. }
  7879. ],
  7880. "responses": {
  7881. "200": {
  7882. "description": "OK",
  7883. "schema": {
  7884. "$ref": "#/definitions/models.Userfavoritegoods"
  7885. }
  7886. },
  7887. "500": {
  7888. "description": "Internal Server Error",
  7889. "schema": {
  7890. "$ref": "#/definitions/app.Response"
  7891. }
  7892. }
  7893. }
  7894. }
  7895. },
  7896. "/User/QueryUserInfo": {
  7897. "get": {
  7898. "security": [
  7899. {
  7900. "ApiKeyAuth": []
  7901. }
  7902. ],
  7903. "produces": [
  7904. "application/json"
  7905. ],
  7906. "tags": [
  7907. "用户信息"
  7908. ],
  7909. "summary": "获取用户信息",
  7910. "parameters": [
  7911. {
  7912. "type": "integer",
  7913. "description": "用户ID",
  7914. "name": "userID",
  7915. "in": "query",
  7916. "required": true
  7917. },
  7918. {
  7919. "type": "boolean",
  7920. "description": "是否解密",
  7921. "name": "isDecrypt",
  7922. "in": "query"
  7923. }
  7924. ],
  7925. "responses": {
  7926. "200": {
  7927. "description": "OK",
  7928. "schema": {
  7929. "$ref": "#/definitions/models.Userinfo"
  7930. }
  7931. },
  7932. "500": {
  7933. "description": "Internal Server Error",
  7934. "schema": {
  7935. "$ref": "#/definitions/app.Response"
  7936. }
  7937. }
  7938. }
  7939. }
  7940. },
  7941. "/User/QueryUserReferNum": {
  7942. "get": {
  7943. "produces": [
  7944. "application/json"
  7945. ],
  7946. "tags": [
  7947. "用户信息"
  7948. ],
  7949. "summary": "获取用户邀请码",
  7950. "parameters": [
  7951. {
  7952. "type": "integer",
  7953. "description": "用户ID",
  7954. "name": "userID",
  7955. "in": "query",
  7956. "required": true
  7957. }
  7958. ],
  7959. "responses": {
  7960. "200": {
  7961. "description": "OK",
  7962. "schema": {
  7963. "$ref": "#/definitions/app.Response"
  7964. }
  7965. },
  7966. "500": {
  7967. "description": "Internal Server Error",
  7968. "schema": {
  7969. "$ref": "#/definitions/app.Response"
  7970. }
  7971. }
  7972. }
  7973. }
  7974. },
  7975. "/User/RemoveUserFavoriteGoods": {
  7976. "post": {
  7977. "security": [
  7978. {
  7979. "ApiKeyAuth": []
  7980. }
  7981. ],
  7982. "produces": [
  7983. "application/json"
  7984. ],
  7985. "tags": [
  7986. "用户信息"
  7987. ],
  7988. "summary": "移除用户商品收藏信息",
  7989. "parameters": [
  7990. {
  7991. "type": "integer",
  7992. "description": "用户ID",
  7993. "name": "userID",
  7994. "in": "query",
  7995. "required": true
  7996. },
  7997. {
  7998. "type": "integer",
  7999. "description": "商品ID",
  8000. "name": "goodsID",
  8001. "in": "query",
  8002. "required": true
  8003. }
  8004. ],
  8005. "responses": {
  8006. "200": {
  8007. "description": "OK",
  8008. "schema": {
  8009. "$ref": "#/definitions/app.Response"
  8010. }
  8011. },
  8012. "500": {
  8013. "description": "Internal Server Error",
  8014. "schema": {
  8015. "$ref": "#/definitions/app.Response"
  8016. }
  8017. }
  8018. }
  8019. }
  8020. },
  8021. "/User/UpdateUserAccountStatus": {
  8022. "post": {
  8023. "security": [
  8024. {
  8025. "ApiKeyAuth": []
  8026. }
  8027. ],
  8028. "produces": [
  8029. "application/json"
  8030. ],
  8031. "tags": [
  8032. "用户信息"
  8033. ],
  8034. "summary": "更新用户状态",
  8035. "parameters": [
  8036. {
  8037. "type": "integer",
  8038. "description": "用户ID",
  8039. "name": "userID",
  8040. "in": "query",
  8041. "required": true
  8042. },
  8043. {
  8044. "type": "integer",
  8045. "description": "账户状态 - 4:正常 6:注销(停用)",
  8046. "name": "accountStatus",
  8047. "in": "query",
  8048. "required": true
  8049. }
  8050. ],
  8051. "responses": {
  8052. "200": {
  8053. "description": "OK",
  8054. "schema": {
  8055. "$ref": "#/definitions/app.Response"
  8056. }
  8057. },
  8058. "500": {
  8059. "description": "Internal Server Error",
  8060. "schema": {
  8061. "$ref": "#/definitions/app.Response"
  8062. }
  8063. }
  8064. }
  8065. }
  8066. },
  8067. "/WRTrade/GetAllDeliveryGoods": {
  8068. "get": {
  8069. "security": [
  8070. {
  8071. "ApiKeyAuth": []
  8072. },
  8073. {
  8074. "ApiKeyAuth": []
  8075. }
  8076. ],
  8077. "produces": [
  8078. "application/json",
  8079. "application/json"
  8080. ],
  8081. "tags": [
  8082. "仓单贸易",
  8083. "仓单贸易"
  8084. ],
  8085. "summary": "获取带仓单分类的种类信息",
  8086. "responses": {
  8087. "200": {
  8088. "description": "OK",
  8089. "schema": {
  8090. "$ref": "#/definitions/app.Response"
  8091. }
  8092. },
  8093. "500": {
  8094. "description": "Internal Server Error",
  8095. "schema": {
  8096. "$ref": "#/definitions/app.Response"
  8097. }
  8098. }
  8099. }
  8100. }
  8101. }
  8102. },
  8103. "definitions": {
  8104. "app.Response": {
  8105. "type": "object",
  8106. "properties": {
  8107. "code": {
  8108. "type": "integer"
  8109. },
  8110. "data": {
  8111. "type": "object"
  8112. },
  8113. "msg": {
  8114. "type": "string"
  8115. },
  8116. "page": {
  8117. "description": "页码",
  8118. "type": "integer"
  8119. },
  8120. "pagesize": {
  8121. "description": "每页条数",
  8122. "type": "integer"
  8123. },
  8124. "total": {
  8125. "description": "总条数",
  8126. "type": "integer"
  8127. }
  8128. }
  8129. },
  8130. "common.ClientMenu": {
  8131. "type": "object",
  8132. "properties": {
  8133. "children": {
  8134. "description": "子菜单列表",
  8135. "type": "array",
  8136. "items": {
  8137. "$ref": "#/definitions/common.ClientMenu"
  8138. }
  8139. },
  8140. "code": {
  8141. "description": "ID",
  8142. "type": "string"
  8143. },
  8144. "isshow": {
  8145. "description": "是否显示",
  8146. "type": "boolean"
  8147. },
  8148. "rulekey": {
  8149. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8150. "type": "string"
  8151. },
  8152. "sort": {
  8153. "description": "排序",
  8154. "type": "integer"
  8155. },
  8156. "title": {
  8157. "description": "标题",
  8158. "type": "string"
  8159. },
  8160. "type": {
  8161. "description": "类型,1:菜单 2:按钮",
  8162. "type": "integer"
  8163. }
  8164. }
  8165. },
  8166. "common.QueryImageConfigsRsp": {
  8167. "type": "object",
  8168. "required": [
  8169. "configid"
  8170. ],
  8171. "properties": {
  8172. "areauserid": {
  8173. "description": "所属机构ID",
  8174. "type": "integer"
  8175. },
  8176. "configid": {
  8177. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8178. "type": "integer"
  8179. },
  8180. "createdate": {
  8181. "description": "创建时间",
  8182. "type": "string"
  8183. },
  8184. "creatorid": {
  8185. "description": "创建人",
  8186. "type": "integer"
  8187. },
  8188. "imagepath": {
  8189. "description": "图片",
  8190. "type": "string"
  8191. },
  8192. "imagetype": {
  8193. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8194. "type": "integer"
  8195. },
  8196. "isshow": {
  8197. "description": "是否展示 - 0:不展示 1:展示",
  8198. "type": "integer"
  8199. },
  8200. "marketid": {
  8201. "description": "市场ID",
  8202. "type": "integer"
  8203. },
  8204. "modifierid": {
  8205. "description": "操作人",
  8206. "type": "integer"
  8207. },
  8208. "sort": {
  8209. "description": "排序",
  8210. "type": "integer"
  8211. },
  8212. "title": {
  8213. "description": "标题",
  8214. "type": "string"
  8215. },
  8216. "trademode": {
  8217. "description": "交易模式",
  8218. "type": "integer"
  8219. },
  8220. "updatedate": {
  8221. "description": "修改时间",
  8222. "type": "string"
  8223. },
  8224. "url": {
  8225. "description": "链接(地址或商品ID)",
  8226. "type": "string"
  8227. },
  8228. "urltype": {
  8229. "description": "链接类型 - 1:直接地址 2:商品ID",
  8230. "type": "integer"
  8231. }
  8232. }
  8233. },
  8234. "common.QueryNoticeRsp": {
  8235. "type": "object",
  8236. "required": [
  8237. "autoid"
  8238. ],
  8239. "properties": {
  8240. "auditoruserid": {
  8241. "description": "审核人",
  8242. "type": "integer"
  8243. },
  8244. "auditremark": {
  8245. "description": "审核备注",
  8246. "type": "string"
  8247. },
  8248. "audittime": {
  8249. "description": "审核日期",
  8250. "type": "string"
  8251. },
  8252. "autoid": {
  8253. "description": "自增ID",
  8254. "type": "integer"
  8255. },
  8256. "content": {
  8257. "description": "内容",
  8258. "type": "string"
  8259. },
  8260. "createtime": {
  8261. "description": "创建时间",
  8262. "type": "string"
  8263. },
  8264. "creatorid": {
  8265. "description": "建仓人",
  8266. "type": "integer"
  8267. },
  8268. "endtime": {
  8269. "description": "结束时间",
  8270. "type": "string"
  8271. },
  8272. "istop": {
  8273. "description": "是否置顶 - 0:不置顶 1:置顶",
  8274. "type": "integer"
  8275. },
  8276. "msgiconurl": {
  8277. "description": "消息图标Url",
  8278. "type": "string"
  8279. },
  8280. "msgtype": {
  8281. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8282. "type": "integer"
  8283. },
  8284. "publisher": {
  8285. "description": "消息发布者",
  8286. "type": "string"
  8287. },
  8288. "readed": {
  8289. "description": "是否已读",
  8290. "type": "boolean"
  8291. },
  8292. "scheduletime": {
  8293. "description": "计划发送时间",
  8294. "type": "string"
  8295. },
  8296. "sendtype": {
  8297. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8298. "type": "integer"
  8299. },
  8300. "sentstatus": {
  8301. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8302. "type": "integer"
  8303. },
  8304. "title": {
  8305. "description": "标题",
  8306. "type": "string"
  8307. },
  8308. "userid": {
  8309. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8310. "type": "integer"
  8311. }
  8312. }
  8313. },
  8314. "common.QueryProvincesAndCitiesRsp": {
  8315. "type": "object",
  8316. "properties": {
  8317. "cities": {
  8318. "description": "市",
  8319. "type": "array",
  8320. "items": {
  8321. "$ref": "#/definitions/models.Division"
  8322. }
  8323. },
  8324. "province": {
  8325. "description": "省",
  8326. "type": "object",
  8327. "$ref": "#/definitions/models.Division"
  8328. }
  8329. }
  8330. },
  8331. "common.QueryTableDefineRsp": {
  8332. "type": "object",
  8333. "required": [
  8334. "tablekey"
  8335. ],
  8336. "properties": {
  8337. "columns": {
  8338. "description": "列头信息数组",
  8339. "type": "array",
  8340. "items": {
  8341. "$ref": "#/definitions/models.Tablecolumnconfig"
  8342. }
  8343. },
  8344. "remark": {
  8345. "description": "Remark",
  8346. "type": "string"
  8347. },
  8348. "tabelmenu": {
  8349. "description": "列表菜单",
  8350. "type": "string"
  8351. },
  8352. "tablekey": {
  8353. "description": "列表Key",
  8354. "type": "string"
  8355. },
  8356. "tablename": {
  8357. "description": "列表名称",
  8358. "type": "string"
  8359. },
  8360. "tabletype": {
  8361. "description": "列表类型 - 1:管理端 2:终端",
  8362. "type": "integer"
  8363. }
  8364. }
  8365. },
  8366. "common.QueryTraderMenuRsp": {
  8367. "type": "object",
  8368. "properties": {
  8369. "OperationMenu": {
  8370. "description": "功能菜单",
  8371. "type": "array",
  8372. "items": {
  8373. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8374. }
  8375. },
  8376. "QuoteMenu": {
  8377. "description": "报价牌分类菜单",
  8378. "type": "array",
  8379. "items": {
  8380. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8381. }
  8382. }
  8383. }
  8384. },
  8385. "cptrade.Cptradepositioncancel": {
  8386. "type": "object",
  8387. "required": [
  8388. "cancelid"
  8389. ],
  8390. "properties": {
  8391. "accountid": {
  8392. "description": "申请人账户ID",
  8393. "type": "integer"
  8394. },
  8395. "applystatus": {
  8396. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8397. "type": "integer"
  8398. },
  8399. "applytime": {
  8400. "description": "申请时间",
  8401. "type": "string"
  8402. },
  8403. "cancelid": {
  8404. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8405. "type": "integer"
  8406. },
  8407. "cancelqty": {
  8408. "description": "注销数量",
  8409. "type": "integer"
  8410. },
  8411. "createtime": {
  8412. "description": "创建时间",
  8413. "type": "string"
  8414. },
  8415. "creatorid": {
  8416. "description": "创建人ID",
  8417. "type": "integer"
  8418. },
  8419. "creatorname": {
  8420. "description": "创建人",
  8421. "type": "string"
  8422. },
  8423. "goodscode": {
  8424. "description": "订单商品代码",
  8425. "type": "string"
  8426. },
  8427. "goodsid": {
  8428. "description": "商品ID",
  8429. "type": "integer"
  8430. },
  8431. "goodsname": {
  8432. "description": "订单商品名称",
  8433. "type": "string"
  8434. },
  8435. "goodunit": {
  8436. "description": "报价单位",
  8437. "type": "string"
  8438. },
  8439. "handlestatus": {
  8440. "description": "处理状态",
  8441. "type": "integer"
  8442. },
  8443. "marketid": {
  8444. "description": "市场ID",
  8445. "type": "integer"
  8446. },
  8447. "marketname": {
  8448. "description": "市场名称",
  8449. "type": "string"
  8450. },
  8451. "tradedate": {
  8452. "description": "交易日(yyyyMMdd)",
  8453. "type": "string"
  8454. },
  8455. "userid": {
  8456. "description": "申请人ID",
  8457. "type": "integer"
  8458. }
  8459. }
  8460. },
  8461. "cptrade.Cptradepresaleapply": {
  8462. "type": "object",
  8463. "required": [
  8464. "applyid"
  8465. ],
  8466. "properties": {
  8467. "accountid": {
  8468. "description": "申请人账户ID",
  8469. "type": "integer"
  8470. },
  8471. "applyid": {
  8472. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8473. "type": "integer"
  8474. },
  8475. "applyremark": {
  8476. "description": "申请备注",
  8477. "type": "string"
  8478. },
  8479. "applystatus": {
  8480. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8481. "type": "integer"
  8482. },
  8483. "applytime": {
  8484. "description": "申请时间",
  8485. "type": "string"
  8486. },
  8487. "attachmenturl": {
  8488. "description": "附件地址",
  8489. "type": "string"
  8490. },
  8491. "endtime": {
  8492. "description": "预售结束时间",
  8493. "type": "string"
  8494. },
  8495. "goodscode": {
  8496. "description": "商品代码",
  8497. "type": "string"
  8498. },
  8499. "goodsid": {
  8500. "description": "商品ID",
  8501. "type": "integer"
  8502. },
  8503. "goodsname": {
  8504. "description": "商品名称",
  8505. "type": "string"
  8506. },
  8507. "goodunit": {
  8508. "description": "报价单位",
  8509. "type": "string"
  8510. },
  8511. "handlestatus": {
  8512. "description": "处理状态",
  8513. "type": "integer"
  8514. },
  8515. "marketid": {
  8516. "description": "预售市场ID",
  8517. "type": "integer"
  8518. },
  8519. "marketname": {
  8520. "description": "预售市场名称",
  8521. "type": "string"
  8522. },
  8523. "presaleqty": {
  8524. "description": "预售数量",
  8525. "type": "integer"
  8526. },
  8527. "relatedgoodscode": {
  8528. "description": "关联交易合约代码",
  8529. "type": "string"
  8530. },
  8531. "relatedgoodsid": {
  8532. "description": "关联交易合约ID",
  8533. "type": "integer"
  8534. },
  8535. "relatedgoodsname": {
  8536. "description": "关联交易合约名称",
  8537. "type": "string"
  8538. },
  8539. "starttime": {
  8540. "description": "预售开始时间",
  8541. "type": "string"
  8542. },
  8543. "tradedate": {
  8544. "description": "交易日(yyyyMMdd)",
  8545. "type": "string"
  8546. },
  8547. "trademode": {
  8548. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8549. "type": "integer"
  8550. },
  8551. "userid": {
  8552. "description": "申请人ID",
  8553. "type": "integer"
  8554. }
  8555. }
  8556. },
  8557. "cptrade.Cptradeusergoodsdata": {
  8558. "type": "object",
  8559. "required": [
  8560. "accountid",
  8561. "goodsid"
  8562. ],
  8563. "properties": {
  8564. "EnabledQty": {
  8565. "description": "可用量",
  8566. "type": "integer"
  8567. },
  8568. "GoodsCode": {
  8569. "description": "订单商品代码",
  8570. "type": "string"
  8571. },
  8572. "GoodsName": {
  8573. "description": "订单商品名称",
  8574. "type": "string"
  8575. },
  8576. "WRStandardCode": {
  8577. "description": "仓单标准代码",
  8578. "type": "string"
  8579. },
  8580. "WRStandardName": {
  8581. "description": "仓单标准名称",
  8582. "type": "string"
  8583. },
  8584. "accountid": {
  8585. "description": "账户ID",
  8586. "type": "integer"
  8587. },
  8588. "cancelqty": {
  8589. "description": "注销量",
  8590. "type": "integer"
  8591. },
  8592. "curpresaleqty": {
  8593. "description": "当前预售量",
  8594. "type": "integer"
  8595. },
  8596. "deliveryqty": {
  8597. "description": "交割量",
  8598. "type": "integer"
  8599. },
  8600. "freezeamount": {
  8601. "description": "冻结金额",
  8602. "type": "number"
  8603. },
  8604. "goodsid": {
  8605. "description": "商品ID",
  8606. "type": "integer"
  8607. },
  8608. "goodunit": {
  8609. "description": "报价单位",
  8610. "type": "string"
  8611. },
  8612. "hasspotfreeze": {
  8613. "description": "是否有现货冻结 - 0:否 1:有",
  8614. "type": "integer"
  8615. },
  8616. "inqty": {
  8617. "description": "转入量(总数量)",
  8618. "type": "integer"
  8619. },
  8620. "marketid": {
  8621. "description": "市场ID",
  8622. "type": "integer"
  8623. },
  8624. "presaledamount": {
  8625. "description": "已预售总金额",
  8626. "type": "integer"
  8627. },
  8628. "presaledqty": {
  8629. "description": "已预售量",
  8630. "type": "integer"
  8631. },
  8632. "userid": {
  8633. "description": "用户ID",
  8634. "type": "integer"
  8635. },
  8636. "wrstandardid": {
  8637. "description": "仓单标准ID",
  8638. "type": "integer"
  8639. }
  8640. }
  8641. },
  8642. "cptrade.QueryCPTradeMyBidRsp": {
  8643. "type": "object",
  8644. "required": [
  8645. "accountid",
  8646. "goodsid",
  8647. "marketid",
  8648. "orderid",
  8649. "orderqty",
  8650. "ordertime",
  8651. "tradeprice",
  8652. "tradeqty"
  8653. ],
  8654. "properties": {
  8655. "accountid": {
  8656. "description": "账户ID[报价币种]",
  8657. "type": "integer"
  8658. },
  8659. "goodsid": {
  8660. "description": "商品ID",
  8661. "type": "integer"
  8662. },
  8663. "goodunit": {
  8664. "description": "报价单位",
  8665. "type": "string"
  8666. },
  8667. "marketid": {
  8668. "description": "市场ID",
  8669. "type": "integer"
  8670. },
  8671. "orderid": {
  8672. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8673. "type": "integer"
  8674. },
  8675. "orderprice": {
  8676. "description": "委托价格",
  8677. "type": "number"
  8678. },
  8679. "orderqty": {
  8680. "description": "委托数量",
  8681. "type": "integer"
  8682. },
  8683. "ordertime": {
  8684. "description": "委托时间",
  8685. "type": "string"
  8686. },
  8687. "ordertotalprice": {
  8688. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8689. "type": "number"
  8690. },
  8691. "ordertotalweight": {
  8692. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8693. "type": "integer"
  8694. },
  8695. "totaltotalprice": {
  8696. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8697. "type": "number"
  8698. },
  8699. "tradeprice": {
  8700. "description": "成交价格",
  8701. "type": "number"
  8702. },
  8703. "tradeqty": {
  8704. "description": "成交数量",
  8705. "type": "integer"
  8706. }
  8707. }
  8708. },
  8709. "cptrade.QueryCPTradeOrderDetailRsq": {
  8710. "type": "object",
  8711. "required": [
  8712. "accountid",
  8713. "buildtype",
  8714. "buyorsell",
  8715. "goodsid",
  8716. "marketid",
  8717. "memberuserid",
  8718. "operatetype",
  8719. "orderqty",
  8720. "ordertime",
  8721. "pricemode",
  8722. "strorderid",
  8723. "tradedate",
  8724. "validtype"
  8725. ],
  8726. "properties": {
  8727. "accountid": {
  8728. "description": "账户ID[报价币种]",
  8729. "type": "integer"
  8730. },
  8731. "buildtype": {
  8732. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8733. "type": "integer"
  8734. },
  8735. "buyorsell": {
  8736. "description": "买卖 - 0:买 1:卖",
  8737. "type": "integer"
  8738. },
  8739. "cancelorderid": {
  8740. "description": "撤单单号(撤单时填写)",
  8741. "type": "integer"
  8742. },
  8743. "cancelqty": {
  8744. "description": "撤单数量",
  8745. "type": "integer"
  8746. },
  8747. "clientordertime": {
  8748. "description": "客户端委托时间",
  8749. "type": "string"
  8750. },
  8751. "clientticket": {
  8752. "description": "客户端流水号",
  8753. "type": "string"
  8754. },
  8755. "clienttype": {
  8756. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8757. "type": "integer"
  8758. },
  8759. "closeexchagechargevalue": {
  8760. "description": "平仓交易所手续费设置值",
  8761. "type": "number"
  8762. },
  8763. "closefeealgorithm": {
  8764. "description": "平仓手续费收取方式 1:比率 2:固定",
  8765. "type": "integer"
  8766. },
  8767. "closefreezecharge": {
  8768. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8769. "type": "number"
  8770. },
  8771. "closememberchargevalue": {
  8772. "description": "平仓会员手续费设置值",
  8773. "type": "number"
  8774. },
  8775. "closeqty": {
  8776. "description": "平仓数量(先建后平操作 需要记录)",
  8777. "type": "integer"
  8778. },
  8779. "closetradeqty": {
  8780. "description": "平仓成交数量(先建后平操作,需要记录)",
  8781. "type": "integer"
  8782. },
  8783. "closeunfreezecharge": {
  8784. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8785. "type": "number"
  8786. },
  8787. "delistingtype": {
  8788. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8789. "type": "integer"
  8790. },
  8791. "freezecharge": {
  8792. "description": "冻结手续费",
  8793. "type": "number"
  8794. },
  8795. "freezemargin": {
  8796. "description": "冻结保证金(冻结交易金额)",
  8797. "type": "number"
  8798. },
  8799. "gcaccountid": {
  8800. "description": "账户ID[合约币种]",
  8801. "type": "integer"
  8802. },
  8803. "goodsid": {
  8804. "description": "商品ID",
  8805. "type": "integer"
  8806. },
  8807. "isconfirmexercise": {
  8808. "description": "是否确认行权- 0:否 1:是",
  8809. "type": "integer"
  8810. },
  8811. "ispreexercise": {
  8812. "description": "是否预申报- 0:否 1:是",
  8813. "type": "integer"
  8814. },
  8815. "listingselecttype": {
  8816. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8817. "type": "integer"
  8818. },
  8819. "marginalgorithm": {
  8820. "description": "保证金收取方式 1:比率 2:固定",
  8821. "type": "integer"
  8822. },
  8823. "marginvalue": {
  8824. "description": "即市保证金设置值",
  8825. "type": "number"
  8826. },
  8827. "marketid": {
  8828. "description": "市场ID",
  8829. "type": "integer"
  8830. },
  8831. "marketmaxsub": {
  8832. "description": "市价最大偏移范围",
  8833. "type": "number"
  8834. },
  8835. "memberuserid": {
  8836. "description": "所属会员UserID",
  8837. "type": "integer"
  8838. },
  8839. "openexchagechargevalue": {
  8840. "description": "建仓交易所手续费设置值",
  8841. "type": "number"
  8842. },
  8843. "openfeealgorithm": {
  8844. "description": "建仓手续费收取方式 1:比率 2:固定",
  8845. "type": "integer"
  8846. },
  8847. "openfreezecharge": {
  8848. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8849. "type": "number"
  8850. },
  8851. "openmemberchargevalue": {
  8852. "description": "建仓会员手续费设置值",
  8853. "type": "number"
  8854. },
  8855. "openqty": {
  8856. "description": "开仓数量(先建后平操作,需要记录)",
  8857. "type": "integer"
  8858. },
  8859. "opentradeqty": {
  8860. "description": "开仓成交数量(先建后平操作,需要记录)",
  8861. "type": "integer"
  8862. },
  8863. "openunfreezecharge": {
  8864. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8865. "type": "number"
  8866. },
  8867. "operatetype": {
  8868. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8869. "type": "integer"
  8870. },
  8871. "operatorid": {
  8872. "description": "登录账号(LoginID)",
  8873. "type": "integer"
  8874. },
  8875. "optiontype": {
  8876. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8877. "type": "integer"
  8878. },
  8879. "orderprice": {
  8880. "description": "委托价格",
  8881. "type": "number"
  8882. },
  8883. "orderqty": {
  8884. "description": "委托数量",
  8885. "type": "integer"
  8886. },
  8887. "ordersrc": {
  8888. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8889. "type": "integer"
  8890. },
  8891. "orderstatus": {
  8892. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8893. "type": "integer"
  8894. },
  8895. "ordertime": {
  8896. "description": "委托时间",
  8897. "type": "string"
  8898. },
  8899. "preexerciseprice": {
  8900. "description": "预申报价格",
  8901. "type": "number"
  8902. },
  8903. "premium": {
  8904. "description": "权利金",
  8905. "type": "number"
  8906. },
  8907. "preorderid": {
  8908. "description": "关联预埋单号(止盈止损单时填写)",
  8909. "type": "integer"
  8910. },
  8911. "pricemode": {
  8912. "description": "取价方式 - 1:市价 2: 限价",
  8913. "type": "integer"
  8914. },
  8915. "quoteid": {
  8916. "description": "报价单ID",
  8917. "type": "integer"
  8918. },
  8919. "relatedid": {
  8920. "description": "关联单号(交割单)",
  8921. "type": "integer"
  8922. },
  8923. "retcode": {
  8924. "description": "错误代码",
  8925. "type": "integer"
  8926. },
  8927. "sessionid": {
  8928. "description": "会话ID",
  8929. "type": "integer"
  8930. },
  8931. "strorderid": {
  8932. "description": "委托单号",
  8933. "type": "string"
  8934. },
  8935. "tradedate": {
  8936. "description": "交易日(yyyyMMdd)",
  8937. "type": "string"
  8938. },
  8939. "tradeproperty": {
  8940. "description": "交易属性",
  8941. "type": "integer"
  8942. },
  8943. "tradeqty": {
  8944. "description": "成交数量",
  8945. "type": "integer"
  8946. },
  8947. "unfreezecharge": {
  8948. "description": "解冻手续费",
  8949. "type": "number"
  8950. },
  8951. "unfreezemargin": {
  8952. "description": "解冻保证金",
  8953. "type": "number"
  8954. },
  8955. "updatetime": {
  8956. "description": "更新时间",
  8957. "type": "string"
  8958. },
  8959. "uuid": {
  8960. "description": "发起端唯一id",
  8961. "type": "string"
  8962. },
  8963. "validtime": {
  8964. "description": "有效期限",
  8965. "type": "string"
  8966. },
  8967. "validtype": {
  8968. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8969. "type": "integer"
  8970. },
  8971. "volumetype": {
  8972. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8973. "type": "integer"
  8974. }
  8975. }
  8976. },
  8977. "cptrade.QueryMyCPTradeGoodsRsp": {
  8978. "type": "object",
  8979. "required": [
  8980. "goodscode",
  8981. "goodsid",
  8982. "goodsname",
  8983. "marketid",
  8984. "relatedgoodscode",
  8985. "relatedgoodsname"
  8986. ],
  8987. "properties": {
  8988. "accountid": {
  8989. "description": "卖方账户ID",
  8990. "type": "integer"
  8991. },
  8992. "agreeunit": {
  8993. "description": "合约单位",
  8994. "type": "number"
  8995. },
  8996. "applyid": {
  8997. "description": "关联申请ID",
  8998. "type": "integer"
  8999. },
  9000. "attachmenturl": {
  9001. "description": "附件地址",
  9002. "type": "string"
  9003. },
  9004. "createtime": {
  9005. "description": "创建时间",
  9006. "type": "string"
  9007. },
  9008. "currencyid": {
  9009. "description": "报价货币ID",
  9010. "type": "integer"
  9011. },
  9012. "decimalplace": {
  9013. "description": "报价小数位",
  9014. "type": "integer"
  9015. },
  9016. "endtime": {
  9017. "description": "预售结束时间",
  9018. "type": "string"
  9019. },
  9020. "floorprice": {
  9021. "description": "底价[大宗式竞拍]",
  9022. "type": "number"
  9023. },
  9024. "goodscode": {
  9025. "description": "商品代码(预售)",
  9026. "type": "string"
  9027. },
  9028. "goodsdetail": {
  9029. "description": "详情[大宗]",
  9030. "type": "string"
  9031. },
  9032. "goodsid": {
  9033. "description": "商品ID(自增ID SEQ_GOODS)",
  9034. "type": "integer"
  9035. },
  9036. "goodsname": {
  9037. "description": "商品名称(预售)",
  9038. "type": "string"
  9039. },
  9040. "goodunit": {
  9041. "description": "报价单位",
  9042. "type": "string"
  9043. },
  9044. "goodunitid": {
  9045. "description": "报价单位ID",
  9046. "type": "integer"
  9047. },
  9048. "marketid": {
  9049. "description": "所属市场ID",
  9050. "type": "integer"
  9051. },
  9052. "marketname": {
  9053. "description": "预售市场名称",
  9054. "type": "string"
  9055. },
  9056. "presaledamount": {
  9057. "description": "已预售总金额(预售结束时更新)",
  9058. "type": "number"
  9059. },
  9060. "presaledqty": {
  9061. "description": "已预售量(预售结束时更新)",
  9062. "type": "integer"
  9063. },
  9064. "presalemode": {
  9065. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9066. "type": "integer"
  9067. },
  9068. "presaleqty": {
  9069. "description": "预售数量",
  9070. "type": "integer"
  9071. },
  9072. "refprice": {
  9073. "description": "参考价格[一口价]",
  9074. "type": "number"
  9075. },
  9076. "relatedgoodscode": {
  9077. "description": "商品代码(订单)",
  9078. "type": "string"
  9079. },
  9080. "relatedgoodsid": {
  9081. "description": "关联交易合约ID",
  9082. "type": "integer"
  9083. },
  9084. "relatedgoodsname": {
  9085. "description": "商品名称(订单)",
  9086. "type": "string"
  9087. },
  9088. "relatedmarketid": {
  9089. "description": "关联交易合约市场ID",
  9090. "type": "integer"
  9091. },
  9092. "sellstatus": {
  9093. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9094. "type": "integer"
  9095. },
  9096. "startprice": {
  9097. "description": "起拍价[大宗式竞拍]",
  9098. "type": "number"
  9099. },
  9100. "starttime": {
  9101. "description": "预售开始时间",
  9102. "type": "string"
  9103. },
  9104. "tradedate": {
  9105. "description": "交易日(yyyyMMdd)",
  9106. "type": "string"
  9107. },
  9108. "tradeprice": {
  9109. "description": "成交价[大宗]",
  9110. "type": "number"
  9111. },
  9112. "userid": {
  9113. "description": "卖方用户ID",
  9114. "type": "integer"
  9115. }
  9116. }
  9117. },
  9118. "cptrade.QueryPresaleGoodsExRsp": {
  9119. "type": "object",
  9120. "required": [
  9121. "goodsid"
  9122. ],
  9123. "properties": {
  9124. "attachmenturl": {
  9125. "description": "附件地址",
  9126. "type": "string"
  9127. },
  9128. "createtime": {
  9129. "description": "创建时间",
  9130. "type": "string"
  9131. },
  9132. "endtime": {
  9133. "description": "预售结束时间",
  9134. "type": "string"
  9135. },
  9136. "floorprice": {
  9137. "description": "底价[大宗式竞拍]",
  9138. "type": "number"
  9139. },
  9140. "goodsdetail": {
  9141. "description": "详情[大宗]",
  9142. "type": "string"
  9143. },
  9144. "goodsid": {
  9145. "description": "商品ID(预售)",
  9146. "type": "integer"
  9147. },
  9148. "goodunit": {
  9149. "description": "报价单位",
  9150. "type": "string"
  9151. },
  9152. "marketid": {
  9153. "description": "预售市场ID - 根据预售模式选择市场",
  9154. "type": "integer"
  9155. },
  9156. "presaledamount": {
  9157. "description": "已预售总金额(预售结束时更新)",
  9158. "type": "number"
  9159. },
  9160. "presaledqty": {
  9161. "description": "已预售量(预售结束时更新)",
  9162. "type": "integer"
  9163. },
  9164. "presalemode": {
  9165. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9166. "type": "integer"
  9167. },
  9168. "presaleqty": {
  9169. "description": "预售数量",
  9170. "type": "integer"
  9171. },
  9172. "refprice": {
  9173. "description": "参考价格[一口价]",
  9174. "type": "number"
  9175. },
  9176. "relatedgoodsid": {
  9177. "description": "关联交易合约ID",
  9178. "type": "integer"
  9179. },
  9180. "relatedmarketid": {
  9181. "description": "关联交易合约市场ID",
  9182. "type": "integer"
  9183. },
  9184. "sellstatus": {
  9185. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9186. "type": "integer"
  9187. },
  9188. "startprice": {
  9189. "description": "起拍价[大宗式竞拍]",
  9190. "type": "number"
  9191. },
  9192. "starttime": {
  9193. "description": "预售开始时间",
  9194. "type": "string"
  9195. },
  9196. "tradedate": {
  9197. "description": "交易日(yyyyMMdd)",
  9198. "type": "string"
  9199. },
  9200. "tradeprice": {
  9201. "description": "成交价[大宗]",
  9202. "type": "number"
  9203. }
  9204. }
  9205. },
  9206. "delivery.QueryDeliveryRelationRsp": {
  9207. "type": "object",
  9208. "required": [
  9209. "begindate",
  9210. "enddate",
  9211. "goodsid",
  9212. "mindeliveryqty",
  9213. "xdeliveryratio"
  9214. ],
  9215. "properties": {
  9216. "begindate": {
  9217. "description": "起始日期(yyyyMMdd)",
  9218. "type": "string"
  9219. },
  9220. "buytemplateid": {
  9221. "description": "买履约计划模板ID",
  9222. "type": "integer"
  9223. },
  9224. "deliverygoodscode": {
  9225. "description": "品种代码",
  9226. "type": "string"
  9227. },
  9228. "deliverygoodsid": {
  9229. "description": "交割商品",
  9230. "type": "integer"
  9231. },
  9232. "deliverygoodsname": {
  9233. "description": "品种名称",
  9234. "type": "string"
  9235. },
  9236. "deliverymode": {
  9237. "description": "交割方式 - 1:点选式 2:申报式",
  9238. "type": "integer"
  9239. },
  9240. "deliverypricerule": {
  9241. "description": "交割价规则- 1:行情价 2:建仓价",
  9242. "type": "integer"
  9243. },
  9244. "deliverytype": {
  9245. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9246. "type": "integer"
  9247. },
  9248. "enddate": {
  9249. "description": "结束日期(yyyyMMdd)",
  9250. "type": "string"
  9251. },
  9252. "goodscode": {
  9253. "description": "商品代码",
  9254. "type": "string"
  9255. },
  9256. "goodsid": {
  9257. "description": "交易合约ID",
  9258. "type": "integer"
  9259. },
  9260. "goodsname": {
  9261. "description": "商品名称",
  9262. "type": "string"
  9263. },
  9264. "marketid": {
  9265. "description": "市场ID",
  9266. "type": "integer"
  9267. },
  9268. "mindeliveryqty": {
  9269. "description": "最小交割系数(K)",
  9270. "type": "integer"
  9271. },
  9272. "p2deliveryprice": {
  9273. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9274. "type": "number"
  9275. },
  9276. "p2deliveryratio": {
  9277. "description": "P2合约系数(p)",
  9278. "type": "integer"
  9279. },
  9280. "p2goodsid": {
  9281. "description": "P2合约ID",
  9282. "type": "integer"
  9283. },
  9284. "p2pricemode": {
  9285. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9286. "type": "integer"
  9287. },
  9288. "pdeliveryprice": {
  9289. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9290. "type": "number"
  9291. },
  9292. "pdeliveryratio": {
  9293. "description": "P合约系数(n)",
  9294. "type": "integer"
  9295. },
  9296. "pgoodsid": {
  9297. "description": "P合约ID",
  9298. "type": "integer"
  9299. },
  9300. "ppricemode": {
  9301. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9302. "type": "integer"
  9303. },
  9304. "rratio": {
  9305. "description": "兑换系数(R)",
  9306. "type": "integer"
  9307. },
  9308. "rratio1": {
  9309. "description": "兑换系数(交易合约)(R1)",
  9310. "type": "integer"
  9311. },
  9312. "rratio2": {
  9313. "description": "兑换系数(仓单标准)(R2)",
  9314. "type": "integer"
  9315. },
  9316. "selltemplateid": {
  9317. "description": "卖履约计划模板ID",
  9318. "type": "integer"
  9319. },
  9320. "wrstandardid": {
  9321. "description": "仓单标准ID",
  9322. "type": "integer"
  9323. },
  9324. "xdeliveryratio": {
  9325. "description": "交易合约系数(m)",
  9326. "type": "integer"
  9327. }
  9328. }
  9329. },
  9330. "ermcp.ExposureDetailRsp": {
  9331. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9332. },
  9333. "ermcp.ExposureHedgePosDetailRsp": {
  9334. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9335. },
  9336. "ermcp.ExposureHedgePositionRsp": {
  9337. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9338. },
  9339. "ermcp.ExposureSpotDetailRsp": {
  9340. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9341. },
  9342. "ermcp.ExposureSpotRsp": {
  9343. "$ref": "#/definitions/models.AreaSpotModel"
  9344. },
  9345. "ermcp.HisExposureRsp": {
  9346. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9347. },
  9348. "ermcp.PendingAuditCntRsp": {
  9349. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9350. },
  9351. "ermcp.QryAvalidGPRsp": {
  9352. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9353. },
  9354. "ermcp.QryBusinessDjRsp": {
  9355. "type": "object",
  9356. "properties": {
  9357. "amount": {
  9358. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9359. "type": "number"
  9360. },
  9361. "applyid": {
  9362. "description": "申请人",
  9363. "type": "string"
  9364. },
  9365. "applyname": {
  9366. "description": "申请人名称",
  9367. "type": "string"
  9368. },
  9369. "applystatus": {
  9370. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9371. "type": "integer"
  9372. },
  9373. "applytime": {
  9374. "description": "申请时间",
  9375. "type": "string"
  9376. },
  9377. "attachurl": {
  9378. "description": "附件",
  9379. "type": "string"
  9380. },
  9381. "auditid": {
  9382. "description": "审核人ID",
  9383. "type": "string"
  9384. },
  9385. "auditname": {
  9386. "description": "审核人名称",
  9387. "type": "string"
  9388. },
  9389. "audittime": {
  9390. "description": "审核时间",
  9391. "type": "string"
  9392. },
  9393. "buyusername": {
  9394. "description": "采购方名称",
  9395. "type": "string"
  9396. },
  9397. "contractno": {
  9398. "description": "合同编号",
  9399. "type": "string"
  9400. },
  9401. "contractstatus": {
  9402. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9403. "type": "integer"
  9404. },
  9405. "contracttype": {
  9406. "description": "现货合同类型 - 1:采购 -1:销售",
  9407. "type": "integer"
  9408. },
  9409. "deliverygoodscode": {
  9410. "description": "现货品种代码",
  9411. "type": "string"
  9412. },
  9413. "deliverygoodsid": {
  9414. "description": "现货商品ID",
  9415. "type": "integer"
  9416. },
  9417. "deliverygoodsname": {
  9418. "description": "现货品种名称",
  9419. "type": "string"
  9420. },
  9421. "enumdicname": {
  9422. "description": "单位名称",
  9423. "type": "string"
  9424. },
  9425. "goodscode": {
  9426. "description": "点价合约",
  9427. "type": "string"
  9428. },
  9429. "goodsname": {
  9430. "description": "商品名称",
  9431. "type": "string"
  9432. },
  9433. "operateapplyid": {
  9434. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9435. "type": "string"
  9436. },
  9437. "operateapplytype": {
  9438. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9439. "type": "integer"
  9440. },
  9441. "pricedPrice": {
  9442. "description": "点价价格(非必填)",
  9443. "type": "number"
  9444. },
  9445. "pricedQty": {
  9446. "description": "点价数量(非必填)",
  9447. "type": "number"
  9448. },
  9449. "pricemove": {
  9450. "description": "升贴水",
  9451. "type": "number"
  9452. },
  9453. "pricetype": {
  9454. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9455. "type": "integer"
  9456. },
  9457. "relatedid": {
  9458. "description": "现货合同ID",
  9459. "type": "string"
  9460. },
  9461. "sellusername": {
  9462. "description": "销售方名字",
  9463. "type": "string"
  9464. },
  9465. "userid": {
  9466. "description": "用户ID",
  9467. "type": "integer"
  9468. },
  9469. "wrstandardcode": {
  9470. "description": "品类代码",
  9471. "type": "string"
  9472. },
  9473. "wrstandardid": {
  9474. "description": "品类id",
  9475. "type": "integer"
  9476. },
  9477. "wrstandardname": {
  9478. "description": "品类名称",
  9479. "type": "string"
  9480. }
  9481. }
  9482. },
  9483. "ermcp.QryBussinessFpRsp": {
  9484. "type": "object",
  9485. "properties": {
  9486. "applyid": {
  9487. "description": "申请人",
  9488. "type": "string"
  9489. },
  9490. "applyname": {
  9491. "description": "申请人名称",
  9492. "type": "string"
  9493. },
  9494. "applystatus": {
  9495. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9496. "type": "integer"
  9497. },
  9498. "applytime": {
  9499. "description": "申请时间",
  9500. "type": "string"
  9501. },
  9502. "attachurl": {
  9503. "description": "附件",
  9504. "type": "string"
  9505. },
  9506. "auditid": {
  9507. "description": "审核人ID",
  9508. "type": "string"
  9509. },
  9510. "auditname": {
  9511. "description": "审核人名称",
  9512. "type": "string"
  9513. },
  9514. "audittime": {
  9515. "description": "审核时间",
  9516. "type": "string"
  9517. },
  9518. "buyusername": {
  9519. "description": "采购方名称",
  9520. "type": "string"
  9521. },
  9522. "contractno": {
  9523. "description": "合同编号",
  9524. "type": "string"
  9525. },
  9526. "contractstatus": {
  9527. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9528. "type": "integer"
  9529. },
  9530. "contracttype": {
  9531. "description": "现货合同类型 - 1:采购 -1:销售",
  9532. "type": "integer"
  9533. },
  9534. "deliverygoodscode": {
  9535. "description": "现货品种代码",
  9536. "type": "string"
  9537. },
  9538. "deliverygoodsid": {
  9539. "description": "现货商品ID",
  9540. "type": "integer"
  9541. },
  9542. "deliverygoodsname": {
  9543. "description": "现货品种名称",
  9544. "type": "string"
  9545. },
  9546. "enumdicname": {
  9547. "description": "单位名称",
  9548. "type": "string"
  9549. },
  9550. "goodscode": {
  9551. "description": "点价合约",
  9552. "type": "string"
  9553. },
  9554. "goodsname": {
  9555. "description": "商品名称",
  9556. "type": "string"
  9557. },
  9558. "invoiceAmount": {
  9559. "description": "已开收票金额(销售为开票,采购为收票)",
  9560. "type": "number"
  9561. },
  9562. "operateapplyid": {
  9563. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9564. "type": "string"
  9565. },
  9566. "operateapplytype": {
  9567. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9568. "type": "integer"
  9569. },
  9570. "pricemove": {
  9571. "description": "升贴水",
  9572. "type": "number"
  9573. },
  9574. "pricetype": {
  9575. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9576. "type": "integer"
  9577. },
  9578. "relatedid": {
  9579. "description": "现货合同ID",
  9580. "type": "string"
  9581. },
  9582. "sellusername": {
  9583. "description": "销售方名字",
  9584. "type": "string"
  9585. },
  9586. "userid": {
  9587. "description": "用户ID",
  9588. "type": "integer"
  9589. },
  9590. "wrstandardcode": {
  9591. "description": "品类代码",
  9592. "type": "string"
  9593. },
  9594. "wrstandardid": {
  9595. "description": "品类id",
  9596. "type": "integer"
  9597. },
  9598. "wrstandardname": {
  9599. "description": "品类名称",
  9600. "type": "string"
  9601. }
  9602. }
  9603. },
  9604. "ermcp.QryBussinessJsExRsp": {
  9605. "type": "object",
  9606. "properties": {
  9607. "applyid": {
  9608. "description": "申请人",
  9609. "type": "string"
  9610. },
  9611. "applyname": {
  9612. "description": "申请人名称",
  9613. "type": "string"
  9614. },
  9615. "applystatus": {
  9616. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9617. "type": "integer"
  9618. },
  9619. "applytime": {
  9620. "description": "申请时间",
  9621. "type": "string"
  9622. },
  9623. "attachurl": {
  9624. "description": "附件",
  9625. "type": "string"
  9626. },
  9627. "auditid": {
  9628. "description": "审核人ID",
  9629. "type": "string"
  9630. },
  9631. "auditname": {
  9632. "description": "审核人名称",
  9633. "type": "string"
  9634. },
  9635. "audittime": {
  9636. "description": "审核时间",
  9637. "type": "string"
  9638. },
  9639. "buyusername": {
  9640. "description": "采购方名称",
  9641. "type": "string"
  9642. },
  9643. "contractno": {
  9644. "description": "合同编号",
  9645. "type": "string"
  9646. },
  9647. "contractstatus": {
  9648. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9649. "type": "integer"
  9650. },
  9651. "contracttype": {
  9652. "description": "现货合同类型 - 1:采购 -1:销售",
  9653. "type": "integer"
  9654. },
  9655. "deliverygoodscode": {
  9656. "description": "现货品种代码",
  9657. "type": "string"
  9658. },
  9659. "deliverygoodsid": {
  9660. "description": "现货商品ID",
  9661. "type": "integer"
  9662. },
  9663. "deliverygoodsname": {
  9664. "description": "现货品种名称",
  9665. "type": "string"
  9666. },
  9667. "enumdicname": {
  9668. "description": "单位名称",
  9669. "type": "string"
  9670. },
  9671. "goodscode": {
  9672. "description": "点价合约",
  9673. "type": "string"
  9674. },
  9675. "goodsname": {
  9676. "description": "商品名称",
  9677. "type": "string"
  9678. },
  9679. "operateapplyid": {
  9680. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9681. "type": "string"
  9682. },
  9683. "operateapplytype": {
  9684. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9685. "type": "integer"
  9686. },
  9687. "pricemove": {
  9688. "description": "升贴水",
  9689. "type": "number"
  9690. },
  9691. "pricetype": {
  9692. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9693. "type": "integer"
  9694. },
  9695. "reckontype": {
  9696. "description": "结算类型",
  9697. "type": "string"
  9698. },
  9699. "reckonvalue": {
  9700. "description": "值",
  9701. "type": "number"
  9702. },
  9703. "relatedid": {
  9704. "description": "现货合同ID",
  9705. "type": "string"
  9706. },
  9707. "sellusername": {
  9708. "description": "销售方名字",
  9709. "type": "string"
  9710. },
  9711. "userid": {
  9712. "description": "用户ID",
  9713. "type": "integer"
  9714. },
  9715. "wrstandardcode": {
  9716. "description": "品类代码",
  9717. "type": "string"
  9718. },
  9719. "wrstandardid": {
  9720. "description": "品类id",
  9721. "type": "integer"
  9722. },
  9723. "wrstandardname": {
  9724. "description": "品类名称",
  9725. "type": "string"
  9726. }
  9727. }
  9728. },
  9729. "ermcp.QryBussinessJsRsp": {
  9730. "type": "object",
  9731. "properties": {
  9732. "addmargin": {
  9733. "description": "追加保证金(非必填)",
  9734. "type": "number"
  9735. },
  9736. "applyid": {
  9737. "description": "申请人",
  9738. "type": "string"
  9739. },
  9740. "applyname": {
  9741. "description": "申请人名称",
  9742. "type": "string"
  9743. },
  9744. "applystatus": {
  9745. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9746. "type": "integer"
  9747. },
  9748. "applytime": {
  9749. "description": "申请时间",
  9750. "type": "string"
  9751. },
  9752. "attachurl": {
  9753. "description": "附件",
  9754. "type": "string"
  9755. },
  9756. "auditid": {
  9757. "description": "审核人ID",
  9758. "type": "string"
  9759. },
  9760. "auditname": {
  9761. "description": "审核人名称",
  9762. "type": "string"
  9763. },
  9764. "audittime": {
  9765. "description": "审核时间",
  9766. "type": "string"
  9767. },
  9768. "buyusername": {
  9769. "description": "采购方名称",
  9770. "type": "string"
  9771. },
  9772. "contractno": {
  9773. "description": "合同编号",
  9774. "type": "string"
  9775. },
  9776. "contractstatus": {
  9777. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9778. "type": "integer"
  9779. },
  9780. "contracttype": {
  9781. "description": "现货合同类型 - 1:采购 -1:销售",
  9782. "type": "integer"
  9783. },
  9784. "decmargin": {
  9785. "description": "减少保证金(非必填)",
  9786. "type": "number"
  9787. },
  9788. "deliverygoodscode": {
  9789. "description": "现货品种代码",
  9790. "type": "string"
  9791. },
  9792. "deliverygoodsid": {
  9793. "description": "现货商品ID",
  9794. "type": "integer"
  9795. },
  9796. "deliverygoodsname": {
  9797. "description": "现货品种名称",
  9798. "type": "string"
  9799. },
  9800. "enumdicname": {
  9801. "description": "单位名称",
  9802. "type": "string"
  9803. },
  9804. "goodscode": {
  9805. "description": "点价合约",
  9806. "type": "string"
  9807. },
  9808. "goodsname": {
  9809. "description": "商品名称",
  9810. "type": "string"
  9811. },
  9812. "operateapplyid": {
  9813. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9814. "type": "string"
  9815. },
  9816. "operateapplytype": {
  9817. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9818. "type": "integer"
  9819. },
  9820. "pricemove": {
  9821. "description": "升贴水",
  9822. "type": "number"
  9823. },
  9824. "pricetype": {
  9825. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9826. "type": "integer"
  9827. },
  9828. "reckonadjustamount": {
  9829. "description": "结算调整金额(非必填)",
  9830. "type": "number"
  9831. },
  9832. "reckonosamount": {
  9833. "description": "结算溢短金额(非必填)",
  9834. "type": "number"
  9835. },
  9836. "reckonotheramount": {
  9837. "description": "结算其他费用(非必填)",
  9838. "type": "number"
  9839. },
  9840. "reckonrealqty": {
  9841. "description": "结算实际数量(非必填)",
  9842. "type": "number"
  9843. },
  9844. "relatedid": {
  9845. "description": "现货合同ID",
  9846. "type": "string"
  9847. },
  9848. "sellusername": {
  9849. "description": "销售方名字",
  9850. "type": "string"
  9851. },
  9852. "userid": {
  9853. "description": "用户ID",
  9854. "type": "integer"
  9855. },
  9856. "wrstandardcode": {
  9857. "description": "品类代码",
  9858. "type": "string"
  9859. },
  9860. "wrstandardid": {
  9861. "description": "品类id",
  9862. "type": "integer"
  9863. },
  9864. "wrstandardname": {
  9865. "description": "品类名称",
  9866. "type": "string"
  9867. }
  9868. }
  9869. },
  9870. "ermcp.QryBussinessKxRsp": {
  9871. "type": "object",
  9872. "properties": {
  9873. "applyid": {
  9874. "description": "申请人",
  9875. "type": "string"
  9876. },
  9877. "applyname": {
  9878. "description": "申请人名称",
  9879. "type": "string"
  9880. },
  9881. "applystatus": {
  9882. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9883. "type": "integer"
  9884. },
  9885. "applytime": {
  9886. "description": "申请时间",
  9887. "type": "string"
  9888. },
  9889. "attachurl": {
  9890. "description": "附件",
  9891. "type": "string"
  9892. },
  9893. "auditid": {
  9894. "description": "审核人ID",
  9895. "type": "string"
  9896. },
  9897. "auditname": {
  9898. "description": "审核人名称",
  9899. "type": "string"
  9900. },
  9901. "audittime": {
  9902. "description": "审核时间",
  9903. "type": "string"
  9904. },
  9905. "buyusername": {
  9906. "description": "采购方名称",
  9907. "type": "string"
  9908. },
  9909. "contractno": {
  9910. "description": "合同编号",
  9911. "type": "string"
  9912. },
  9913. "contractstatus": {
  9914. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9915. "type": "integer"
  9916. },
  9917. "contracttype": {
  9918. "description": "现货合同类型 - 1:采购 -1:销售",
  9919. "type": "integer"
  9920. },
  9921. "deductamount": {
  9922. "description": "退款(非必填)",
  9923. "type": "number"
  9924. },
  9925. "deliverygoodscode": {
  9926. "description": "现货品种代码",
  9927. "type": "string"
  9928. },
  9929. "deliverygoodsid": {
  9930. "description": "现货商品ID",
  9931. "type": "integer"
  9932. },
  9933. "deliverygoodsname": {
  9934. "description": "现货品种名称",
  9935. "type": "string"
  9936. },
  9937. "enumdicname": {
  9938. "description": "单位名称",
  9939. "type": "string"
  9940. },
  9941. "goodscode": {
  9942. "description": "点价合约",
  9943. "type": "string"
  9944. },
  9945. "goodsname": {
  9946. "description": "商品名称",
  9947. "type": "string"
  9948. },
  9949. "kxtype": {
  9950. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9951. "type": "integer"
  9952. },
  9953. "operateapplyid": {
  9954. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9955. "type": "string"
  9956. },
  9957. "operateapplytype": {
  9958. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9959. "type": "integer"
  9960. },
  9961. "payamount": {
  9962. "description": "收付款(非必填)",
  9963. "type": "number"
  9964. },
  9965. "pricemove": {
  9966. "description": "升贴水",
  9967. "type": "number"
  9968. },
  9969. "pricetype": {
  9970. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9971. "type": "integer"
  9972. },
  9973. "relatedid": {
  9974. "description": "现货合同ID",
  9975. "type": "string"
  9976. },
  9977. "sellusername": {
  9978. "description": "销售方名字",
  9979. "type": "string"
  9980. },
  9981. "userid": {
  9982. "description": "用户ID",
  9983. "type": "integer"
  9984. },
  9985. "wrstandardcode": {
  9986. "description": "品类代码",
  9987. "type": "string"
  9988. },
  9989. "wrstandardid": {
  9990. "description": "品类id",
  9991. "type": "integer"
  9992. },
  9993. "wrstandardname": {
  9994. "description": "品类名称",
  9995. "type": "string"
  9996. }
  9997. }
  9998. },
  9999. "ermcp.QryGGCovertCfgRsp": {
  10000. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10001. },
  10002. "ermcp.QryMGChangeLogRsp": {
  10003. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10004. },
  10005. "ermcp.QryMiddleGoodsDetailRsp": {
  10006. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10007. },
  10008. "ermcp.QryMiddleGoodsRsp": {
  10009. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10010. },
  10011. "ermcp.QryOPLogRsp": {
  10012. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10013. },
  10014. "ermcp.QryUserInfoRsp": {
  10015. "$ref": "#/definitions/models.ErmcpUserModel"
  10016. },
  10017. "ermcp.QryWarehouseRsp": {
  10018. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10019. },
  10020. "ermcp.QueryErmcpTradePositionRsp": {
  10021. "type": "object",
  10022. "properties": {
  10023. "agreeunit": {
  10024. "description": "合约单位",
  10025. "type": "number"
  10026. },
  10027. "buyorsell": {
  10028. "description": "方向 - 0:买 1:卖",
  10029. "type": "integer"
  10030. },
  10031. "curpositionqty": {
  10032. "description": "持仓(总仓数量, 期末头寸)",
  10033. "type": "integer"
  10034. },
  10035. "curtdposition": {
  10036. "description": "今仓数量(期末今日头寸)",
  10037. "type": "integer"
  10038. },
  10039. "curtdpositionenabled": {
  10040. "description": "今仓可用",
  10041. "type": "integer"
  10042. },
  10043. "decimalplace": {
  10044. "description": "报价小数位",
  10045. "type": "integer"
  10046. },
  10047. "enableqty": {
  10048. "description": "可用(总仓可用)",
  10049. "type": "integer"
  10050. },
  10051. "exexchangename": {
  10052. "description": "外部交易所名称",
  10053. "type": "string"
  10054. },
  10055. "goodscode": {
  10056. "description": "商品代码(内部)",
  10057. "type": "string"
  10058. },
  10059. "goodsid": {
  10060. "description": "商品ID(自增ID SEQ_GOODS)",
  10061. "type": "integer"
  10062. },
  10063. "goodsname": {
  10064. "description": "商品名称",
  10065. "type": "string"
  10066. },
  10067. "last": {
  10068. "description": "现价",
  10069. "type": "number"
  10070. },
  10071. "marketid": {
  10072. "description": "所属市场ID",
  10073. "type": "integer"
  10074. },
  10075. "openaverageprice": {
  10076. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10077. "type": "number"
  10078. },
  10079. "opencost": {
  10080. "description": "开仓成本",
  10081. "type": "number"
  10082. },
  10083. "openpl": {
  10084. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10085. "type": "number"
  10086. },
  10087. "outgoodscode": {
  10088. "description": "商品代码(外部)",
  10089. "type": "string"
  10090. },
  10091. "positionaverageprice": {
  10092. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10093. "type": "number"
  10094. },
  10095. "positioncost": {
  10096. "description": "持仓成本",
  10097. "type": "number"
  10098. },
  10099. "positionpl": {
  10100. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10101. "type": "number"
  10102. },
  10103. "positionplrate": {
  10104. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10105. "type": "number"
  10106. },
  10107. "usedmargin": {
  10108. "description": "占用保证金",
  10109. "type": "number"
  10110. }
  10111. }
  10112. },
  10113. "ermcp.RealtimeExposurePositionRsp": {
  10114. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10115. },
  10116. "ermcp.RealtimeExposureRsp": {
  10117. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10118. },
  10119. "erms2.QueryArbitrageStrategyRsp": {
  10120. "type": "object",
  10121. "required": [
  10122. "asapplyid"
  10123. ],
  10124. "properties": {
  10125. "applybasis": {
  10126. "description": "申请基差",
  10127. "type": "number"
  10128. },
  10129. "asapplyid": {
  10130. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10131. "type": "string"
  10132. },
  10133. "asname": {
  10134. "description": "策略名称",
  10135. "type": "string"
  10136. },
  10137. "asno": {
  10138. "description": "策略编号",
  10139. "type": "string"
  10140. },
  10141. "basischangepl": {
  10142. "description": "基差变动损益[结算更新]",
  10143. "type": "number"
  10144. },
  10145. "biztype": {
  10146. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10147. "type": "integer"
  10148. },
  10149. "closetradedate": {
  10150. "description": "完结交易日(yyyyMMdd)",
  10151. "type": "string"
  10152. },
  10153. "curbasis": {
  10154. "description": "当前基差[结算更新]",
  10155. "type": "number"
  10156. },
  10157. "deliverygoodsid": {
  10158. "description": "现货品种ID",
  10159. "type": "integer"
  10160. },
  10161. "futureavgprice": {
  10162. "description": "期货建仓均价",
  10163. "type": "number"
  10164. },
  10165. "futurecloseamount": {
  10166. "description": "期货平仓金额",
  10167. "type": "number"
  10168. },
  10169. "futurecloseqty": {
  10170. "description": "期货平仓数量",
  10171. "type": "number"
  10172. },
  10173. "futureopenamount": {
  10174. "description": "期货开仓金额",
  10175. "type": "number"
  10176. },
  10177. "futureopenqty": {
  10178. "description": "期货开仓数量",
  10179. "type": "number"
  10180. },
  10181. "futurepl": {
  10182. "description": "期货总盈亏[结算更新]",
  10183. "type": "number"
  10184. },
  10185. "futureqty": {
  10186. "description": "期货持仓数量",
  10187. "type": "number"
  10188. },
  10189. "futurequote": {
  10190. "description": "期货额度",
  10191. "type": "number"
  10192. },
  10193. "goodsgroupid": {
  10194. "description": "期货品种ID",
  10195. "type": "integer"
  10196. },
  10197. "marketid": {
  10198. "description": "市场ID",
  10199. "type": "integer"
  10200. },
  10201. "netexposure": {
  10202. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10203. "type": "number"
  10204. },
  10205. "netexposurepl": {
  10206. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10207. "type": "number"
  10208. },
  10209. "netexposurerate": {
  10210. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10211. "type": "number"
  10212. },
  10213. "openbasis": {
  10214. "description": "建仓基差",
  10215. "type": "number"
  10216. },
  10217. "pricedspotqty": {
  10218. "description": "已定价现货数量",
  10219. "type": "number"
  10220. },
  10221. "pricedspotqtynotax": {
  10222. "description": "已定价现货不含税数量",
  10223. "type": "number"
  10224. },
  10225. "remark": {
  10226. "description": "备注",
  10227. "type": "string"
  10228. },
  10229. "spotavgprice": {
  10230. "description": "现货均价",
  10231. "type": "number"
  10232. },
  10233. "spotbuyamount": {
  10234. "description": "现货采购金额",
  10235. "type": "number"
  10236. },
  10237. "spotbuyqty": {
  10238. "description": "现货采购数量",
  10239. "type": "number"
  10240. },
  10241. "spotpl": {
  10242. "description": "现货总盈亏[结算更新]",
  10243. "type": "number"
  10244. },
  10245. "spotquota": {
  10246. "description": "现货额度",
  10247. "type": "number"
  10248. },
  10249. "spotsellamount": {
  10250. "description": "现货销售金额",
  10251. "type": "number"
  10252. },
  10253. "spotsellqty": {
  10254. "description": "现货销售数量",
  10255. "type": "number"
  10256. },
  10257. "spotusedquota": {
  10258. "description": "现货占用资金",
  10259. "type": "number"
  10260. },
  10261. "strategystatus": {
  10262. "description": "策略状态 - 0:未结束 1:已结束",
  10263. "type": "integer"
  10264. },
  10265. "totalpl": {
  10266. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10267. "type": "number"
  10268. },
  10269. "tradedate": {
  10270. "description": "交易日(yyyyMMdd)",
  10271. "type": "string"
  10272. },
  10273. "updatetime": {
  10274. "description": "更新时间",
  10275. "type": "string"
  10276. },
  10277. "usedquota": {
  10278. "description": "已占用资金",
  10279. "type": "number"
  10280. },
  10281. "userid": {
  10282. "description": "所属机构",
  10283. "type": "integer"
  10284. }
  10285. }
  10286. },
  10287. "erms2.QueryInnerTradeDetailRsp": {
  10288. "type": "object",
  10289. "required": [
  10290. "asapplyid",
  10291. "buyorsell",
  10292. "goodscode",
  10293. "goodsgroupid",
  10294. "goodsgroupname",
  10295. "goodsname",
  10296. "tradeid"
  10297. ],
  10298. "properties": {
  10299. "accountid": {
  10300. "description": "账号ID",
  10301. "type": "integer"
  10302. },
  10303. "agreeunit": {
  10304. "description": "合约单位",
  10305. "type": "number"
  10306. },
  10307. "asapplyid": {
  10308. "description": "策略申请ID",
  10309. "type": "integer"
  10310. },
  10311. "asname": {
  10312. "description": "策略名称",
  10313. "type": "string"
  10314. },
  10315. "asno": {
  10316. "description": "策略编号",
  10317. "type": "string"
  10318. },
  10319. "buyorsell": {
  10320. "description": "方向 - 0:买 1:卖",
  10321. "type": "integer"
  10322. },
  10323. "channelbuildtype": {
  10324. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10325. "type": "integer"
  10326. },
  10327. "closetype": {
  10328. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10329. "type": "integer"
  10330. },
  10331. "decimalplace": {
  10332. "description": "报价小数位",
  10333. "type": "integer"
  10334. },
  10335. "detailtype": {
  10336. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10337. "type": "integer"
  10338. },
  10339. "exexchangecode": {
  10340. "description": "外部交易所代码",
  10341. "type": "string"
  10342. },
  10343. "exexchangename": {
  10344. "description": "外部交易所名称",
  10345. "type": "string"
  10346. },
  10347. "goodscode": {
  10348. "description": "商品代码(合约)",
  10349. "type": "string"
  10350. },
  10351. "goodsgroupid": {
  10352. "description": "商品组ID(品种ID)",
  10353. "type": "integer"
  10354. },
  10355. "goodsgroupname": {
  10356. "description": "商品组名称(品种)",
  10357. "type": "string"
  10358. },
  10359. "goodsid": {
  10360. "description": "商品ID",
  10361. "type": "integer"
  10362. },
  10363. "goodsname": {
  10364. "description": "商品名称(合约)",
  10365. "type": "string"
  10366. },
  10367. "goodunit": {
  10368. "description": "报价单位",
  10369. "type": "string"
  10370. },
  10371. "marketid": {
  10372. "description": "市场ID",
  10373. "type": "integer"
  10374. },
  10375. "orderid": {
  10376. "description": "委托单号",
  10377. "type": "string"
  10378. },
  10379. "outgoodscode": {
  10380. "description": "商品代码(外部)",
  10381. "type": "string"
  10382. },
  10383. "relatedouttradeid": {
  10384. "description": "关联外部成交单ID",
  10385. "type": "string"
  10386. },
  10387. "remark": {
  10388. "description": "备注",
  10389. "type": "string"
  10390. },
  10391. "spotcontractid": {
  10392. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10393. "type": "integer"
  10394. },
  10395. "spotcontractno": {
  10396. "description": "现货合同编号",
  10397. "type": "string"
  10398. },
  10399. "tradeid": {
  10400. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10401. "type": "string"
  10402. },
  10403. "tradeprice": {
  10404. "description": "成交价格",
  10405. "type": "number"
  10406. },
  10407. "tradeqty": {
  10408. "description": "成交数量",
  10409. "type": "integer"
  10410. },
  10411. "tradetime": {
  10412. "description": "成交时间",
  10413. "type": "string"
  10414. },
  10415. "updatetime": {
  10416. "description": "更新时间",
  10417. "type": "string"
  10418. }
  10419. }
  10420. },
  10421. "erms2.QuerySpotContractRsp": {
  10422. "type": "object",
  10423. "required": [
  10424. "spotcontractid"
  10425. ],
  10426. "properties": {
  10427. "accountid": {
  10428. "description": "资金账户ID",
  10429. "type": "integer"
  10430. },
  10431. "areauserid": {
  10432. "description": "所属机构",
  10433. "type": "integer"
  10434. },
  10435. "closedate": {
  10436. "description": "终止日期",
  10437. "type": "string"
  10438. },
  10439. "closeremark": {
  10440. "description": "结束备注",
  10441. "type": "string"
  10442. },
  10443. "closetradedate": {
  10444. "description": "完结交易日(yyyyMMdd)",
  10445. "type": "string"
  10446. },
  10447. "closetype": {
  10448. "description": "终止类型 - 1:违约 2:提前终止",
  10449. "type": "integer"
  10450. },
  10451. "contractamount": {
  10452. "description": "合同金额",
  10453. "type": "number"
  10454. },
  10455. "contractattachment": {
  10456. "description": "合同附件",
  10457. "type": "string"
  10458. },
  10459. "contractno": {
  10460. "description": "现货合同编号",
  10461. "type": "string"
  10462. },
  10463. "contractqty": {
  10464. "description": "合同数量(数值) (用于计算)",
  10465. "type": "number"
  10466. },
  10467. "contractqtychar": {
  10468. "description": "合同数量\\已订价数量 (用于显示)",
  10469. "type": "string"
  10470. },
  10471. "contractstatus": {
  10472. "description": "合同状态 - 0:未结束 1:已结束",
  10473. "type": "integer"
  10474. },
  10475. "contracttype": {
  10476. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10477. "type": "integer"
  10478. },
  10479. "customeraccountid": {
  10480. "description": "客户资金账户ID",
  10481. "type": "integer"
  10482. },
  10483. "customeruserid": {
  10484. "description": "客户ID",
  10485. "type": "integer"
  10486. },
  10487. "deliverygoodsdesc": {
  10488. "description": "品种说明",
  10489. "type": "string"
  10490. },
  10491. "deliverygoodsid": {
  10492. "description": "现货品种ID",
  10493. "type": "integer"
  10494. },
  10495. "handlestatus": {
  10496. "description": "处理状态",
  10497. "type": "integer"
  10498. },
  10499. "invoiceatt": {
  10500. "description": "发票附件",
  10501. "type": "string"
  10502. },
  10503. "invoicedatetime": {
  10504. "description": "开收票更新时间",
  10505. "type": "string"
  10506. },
  10507. "invoiceopentime": {
  10508. "description": "开票时间",
  10509. "type": "string"
  10510. },
  10511. "invoiceremark": {
  10512. "description": "发票备注",
  10513. "type": "string"
  10514. },
  10515. "invoicestatus": {
  10516. "description": "开收票状态 - 0:未开票 1:已开票",
  10517. "type": "integer"
  10518. },
  10519. "lastdate": {
  10520. "description": "交货时间",
  10521. "type": "string"
  10522. },
  10523. "marketid": {
  10524. "description": "市场ID",
  10525. "type": "integer"
  10526. },
  10527. "paydatetime": {
  10528. "description": "收付款更新时间",
  10529. "type": "string"
  10530. },
  10531. "payremark": {
  10532. "description": "收付款备注",
  10533. "type": "string"
  10534. },
  10535. "paystatus": {
  10536. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10537. "type": "integer"
  10538. },
  10539. "positionqty": {
  10540. "description": "头寸数量 - 合同数量去小数部分",
  10541. "type": "integer"
  10542. },
  10543. "producttype": {
  10544. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10545. "type": "integer"
  10546. },
  10547. "relatedqty": {
  10548. "description": "已关联数量",
  10549. "type": "number"
  10550. },
  10551. "relatedstatus": {
  10552. "description": "关联完结状态 - 0:未结束 1:已结束",
  10553. "type": "integer"
  10554. },
  10555. "remark": {
  10556. "description": "备注",
  10557. "type": "string"
  10558. },
  10559. "signdate": {
  10560. "description": "签订日期",
  10561. "type": "string"
  10562. },
  10563. "spotcontractid": {
  10564. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10565. "type": "string"
  10566. },
  10567. "spotdatetime": {
  10568. "description": "收发货更新时间",
  10569. "type": "string"
  10570. },
  10571. "spotprice": {
  10572. "description": "价格",
  10573. "type": "number"
  10574. },
  10575. "spotremark": {
  10576. "description": "收发货备注",
  10577. "type": "string"
  10578. },
  10579. "spotstatus": {
  10580. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10581. "type": "integer"
  10582. },
  10583. "tradedate": {
  10584. "description": "交易日(yyyyMMdd)",
  10585. "type": "string"
  10586. },
  10587. "userid": {
  10588. "description": "业务员用户ID",
  10589. "type": "integer"
  10590. },
  10591. "warehouseid": {
  10592. "description": "仓库ID",
  10593. "type": "integer"
  10594. },
  10595. "wrfactortypeid": {
  10596. "description": "仓单要素类型ID",
  10597. "type": "integer"
  10598. },
  10599. "wrstandardid": {
  10600. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10601. "type": "integer"
  10602. }
  10603. }
  10604. },
  10605. "erms3.AddErms2ASApplyReq": {
  10606. "type": "object",
  10607. "required": [
  10608. "asapplyid"
  10609. ],
  10610. "properties": {
  10611. "applybasis": {
  10612. "description": "申请基差",
  10613. "type": "number"
  10614. },
  10615. "applystatus": {
  10616. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10617. "type": "integer"
  10618. },
  10619. "asapplyid": {
  10620. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10621. "type": "integer"
  10622. },
  10623. "asname": {
  10624. "description": "策略名称",
  10625. "type": "string"
  10626. },
  10627. "asno": {
  10628. "description": "策略编号",
  10629. "type": "string"
  10630. },
  10631. "auditid": {
  10632. "description": "审核人",
  10633. "type": "integer"
  10634. },
  10635. "auditremark": {
  10636. "description": "审核备注",
  10637. "type": "string"
  10638. },
  10639. "audittime": {
  10640. "description": "审核时间",
  10641. "type": "string"
  10642. },
  10643. "biztype": {
  10644. "description": "业务类型 - 1:正向套利 2:反向套利",
  10645. "type": "integer"
  10646. },
  10647. "createtime": {
  10648. "description": "创建时间",
  10649. "type": "string"
  10650. },
  10651. "creatorid": {
  10652. "description": "创建人",
  10653. "type": "integer"
  10654. },
  10655. "deliverygoodsid": {
  10656. "description": "现货品种ID",
  10657. "type": "integer"
  10658. },
  10659. "futurequote": {
  10660. "description": "期货额度",
  10661. "type": "number"
  10662. },
  10663. "goodsgroupid": {
  10664. "description": "期货品种ID",
  10665. "type": "integer"
  10666. },
  10667. "marketid": {
  10668. "description": "市场ID",
  10669. "type": "integer"
  10670. },
  10671. "remark": {
  10672. "description": "备注",
  10673. "type": "string"
  10674. },
  10675. "spotquota": {
  10676. "description": "现货额度",
  10677. "type": "number"
  10678. },
  10679. "tradedate": {
  10680. "description": "交易日(yyyyMMdd)",
  10681. "type": "string"
  10682. },
  10683. "userid": {
  10684. "description": "所属机构",
  10685. "type": "integer"
  10686. }
  10687. }
  10688. },
  10689. "erms3.AddErms2SpotTradeApplyReq": {
  10690. "type": "object",
  10691. "required": [
  10692. "spottradeid"
  10693. ],
  10694. "properties": {
  10695. "applyjsondetail": {
  10696. "description": "申请明细(JSON)",
  10697. "type": "string"
  10698. },
  10699. "applystatus": {
  10700. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10701. "type": "integer"
  10702. },
  10703. "areauserid": {
  10704. "description": "所属机构",
  10705. "type": "integer"
  10706. },
  10707. "auditid": {
  10708. "description": "审核人",
  10709. "type": "integer"
  10710. },
  10711. "auditremark": {
  10712. "description": "审核备注",
  10713. "type": "string"
  10714. },
  10715. "audittime": {
  10716. "description": "审核时间",
  10717. "type": "string"
  10718. },
  10719. "createtime": {
  10720. "description": "创建时间",
  10721. "type": "string"
  10722. },
  10723. "creatorid": {
  10724. "description": "创建人",
  10725. "type": "integer"
  10726. },
  10727. "deliverygoodsid": {
  10728. "description": "现货品种ID",
  10729. "type": "integer"
  10730. },
  10731. "futureaccountid": {
  10732. "description": "期货资金账户",
  10733. "type": "integer"
  10734. },
  10735. "goodsgroupid": {
  10736. "description": "期货品种",
  10737. "type": "integer"
  10738. },
  10739. "marketid": {
  10740. "description": "市场ID",
  10741. "type": "integer"
  10742. },
  10743. "remark": {
  10744. "description": "备注",
  10745. "type": "string"
  10746. },
  10747. "spotaccountid": {
  10748. "description": "现货资金账户",
  10749. "type": "integer"
  10750. },
  10751. "spottradeid": {
  10752. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10753. "type": "integer"
  10754. },
  10755. "spottradename": {
  10756. "description": "业务名称",
  10757. "type": "string"
  10758. },
  10759. "spottradeno": {
  10760. "description": "业务编号",
  10761. "type": "string"
  10762. },
  10763. "tradedate": {
  10764. "description": "交易日(yyyyMMdd)",
  10765. "type": "string"
  10766. },
  10767. "wrstandardid": {
  10768. "description": "仓单标准ID",
  10769. "type": "integer"
  10770. }
  10771. }
  10772. },
  10773. "erms3.AddSpotContractApplyReq": {
  10774. "type": "object",
  10775. "required": [
  10776. "accountid",
  10777. "areauserid",
  10778. "contractno",
  10779. "contracttype",
  10780. "customeraccountid",
  10781. "customeruserid",
  10782. "details",
  10783. "orimargin",
  10784. "signdate"
  10785. ],
  10786. "properties": {
  10787. "accountid": {
  10788. "description": "资金账户ID",
  10789. "type": "integer"
  10790. },
  10791. "areauserid": {
  10792. "description": "所属机构",
  10793. "type": "integer"
  10794. },
  10795. "contractattachment": {
  10796. "description": "合同附件",
  10797. "type": "string"
  10798. },
  10799. "contractno": {
  10800. "description": "现货合同编号",
  10801. "type": "string"
  10802. },
  10803. "contracttype": {
  10804. "description": "现货合同类型 - 1:采购 -1:销售",
  10805. "type": "integer"
  10806. },
  10807. "creatorid": {
  10808. "description": "申请人",
  10809. "type": "integer"
  10810. },
  10811. "customeraccountid": {
  10812. "description": "客户资金账户ID",
  10813. "type": "integer"
  10814. },
  10815. "customeruserid": {
  10816. "description": "客户ID",
  10817. "type": "integer"
  10818. },
  10819. "details": {
  10820. "description": "明细",
  10821. "type": "array",
  10822. "items": {
  10823. "$ref": "#/definitions/erms3.SoptContractDetail"
  10824. }
  10825. },
  10826. "orimargin": {
  10827. "description": "初始保证金",
  10828. "type": "number"
  10829. },
  10830. "remark": {
  10831. "description": "备注",
  10832. "type": "string"
  10833. },
  10834. "signdate": {
  10835. "description": "签订日期",
  10836. "type": "string"
  10837. }
  10838. }
  10839. },
  10840. "erms3.AddSpotContractApplyRsp": {
  10841. "type": "object",
  10842. "required": [
  10843. "contractno"
  10844. ],
  10845. "properties": {
  10846. "contractno": {
  10847. "description": "现货合同编号",
  10848. "type": "string"
  10849. },
  10850. "spotcontractid": {
  10851. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10852. "type": "integer"
  10853. }
  10854. }
  10855. },
  10856. "erms3.AddUserInfoApplyReq": {
  10857. "type": "object",
  10858. "required": [
  10859. "userid"
  10860. ],
  10861. "properties": {
  10862. "accountid": {
  10863. "description": "交易系统帐号Id (加密存储)",
  10864. "type": "integer"
  10865. },
  10866. "areacode": {
  10867. "description": "机构代码",
  10868. "type": "string"
  10869. },
  10870. "areaid": {
  10871. "description": "机构Id",
  10872. "type": "integer"
  10873. },
  10874. "attachment1": {
  10875. "description": "附件1",
  10876. "type": "string"
  10877. },
  10878. "attachment2": {
  10879. "description": "附件2",
  10880. "type": "string"
  10881. },
  10882. "attachment3": {
  10883. "description": "附件3",
  10884. "type": "string"
  10885. },
  10886. "attachment4": {
  10887. "description": "附件4",
  10888. "type": "string"
  10889. },
  10890. "attachment5": {
  10891. "description": "附件5",
  10892. "type": "string"
  10893. },
  10894. "auditedby": {
  10895. "description": "审核人",
  10896. "type": "string"
  10897. },
  10898. "auditime": {
  10899. "description": "审核时间",
  10900. "type": "string"
  10901. },
  10902. "auditsrc": {
  10903. "description": "审核来源 - 1:管理端 2:终端",
  10904. "type": "integer"
  10905. },
  10906. "bankaccount": {
  10907. "description": "银行帐号 (加密存储)",
  10908. "type": "string"
  10909. },
  10910. "bankaccountname": {
  10911. "description": "收款人名称",
  10912. "type": "string"
  10913. },
  10914. "bankcardbackphotourl": {
  10915. "description": "银行卡背面照地址",
  10916. "type": "string"
  10917. },
  10918. "bankcardfrontphotourl": {
  10919. "description": "银行卡正面照地址",
  10920. "type": "string"
  10921. },
  10922. "bankid": {
  10923. "description": "银行编码",
  10924. "type": "string"
  10925. },
  10926. "bankname": {
  10927. "description": "银行名称",
  10928. "type": "string"
  10929. },
  10930. "bankpictureurl": {
  10931. "description": "银行卡正面地址",
  10932. "type": "string"
  10933. },
  10934. "biznature": {
  10935. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10936. "type": "integer"
  10937. },
  10938. "bizscope": {
  10939. "description": "企业经营范围(企业)",
  10940. "type": "string"
  10941. },
  10942. "biztype": {
  10943. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10944. "type": "integer"
  10945. },
  10946. "brokerid": {
  10947. "description": "经纪人ID(加密存储)",
  10948. "type": "string"
  10949. },
  10950. "cardaddress": {
  10951. "description": "证件地址 (加密存储)",
  10952. "type": "string"
  10953. },
  10954. "cardbackphotourl": {
  10955. "description": "背面证件照地址",
  10956. "type": "string"
  10957. },
  10958. "cardfrontphotourl": {
  10959. "description": "正面证件照地址",
  10960. "type": "string"
  10961. },
  10962. "cardnum": {
  10963. "description": "证件号码 (加密存储)",
  10964. "type": "string"
  10965. },
  10966. "cardtype": {
  10967. "description": "证件类型",
  10968. "type": "integer"
  10969. },
  10970. "cityid": {
  10971. "description": "市",
  10972. "type": "integer"
  10973. },
  10974. "company": {
  10975. "description": "公司(个人)",
  10976. "type": "string"
  10977. },
  10978. "contactcardbackphotourl": {
  10979. "description": "联系人证件背面图片地址",
  10980. "type": "string"
  10981. },
  10982. "contactcardfrontphotourl": {
  10983. "description": "联系人证件正面图片地址",
  10984. "type": "string"
  10985. },
  10986. "contactname": {
  10987. "description": "联系人",
  10988. "type": "string"
  10989. },
  10990. "countryid": {
  10991. "description": "国家",
  10992. "type": "integer"
  10993. },
  10994. "createtime": {
  10995. "description": "开户申请时间",
  10996. "type": "string"
  10997. },
  10998. "cusbankid": {
  10999. "description": "签约类型",
  11000. "type": "string"
  11001. },
  11002. "cusbankname": {
  11003. "description": "签约类型名称",
  11004. "type": "string"
  11005. },
  11006. "customername": {
  11007. "description": "客户名称(企业名称)",
  11008. "type": "string"
  11009. },
  11010. "districtid": {
  11011. "description": "地区",
  11012. "type": "integer"
  11013. },
  11014. "email": {
  11015. "description": "Email地址(加密存储)",
  11016. "type": "string"
  11017. },
  11018. "halfbodyphotourl": {
  11019. "description": "半身照地址",
  11020. "type": "string"
  11021. },
  11022. "headurl": {
  11023. "description": "头像地址",
  11024. "type": "string"
  11025. },
  11026. "ipaddress": {
  11027. "description": "IP地址",
  11028. "type": "string"
  11029. },
  11030. "isvalidate": {
  11031. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11032. "type": "string"
  11033. },
  11034. "legalcardbackphotourl": {
  11035. "description": "法人身份证背面照地址",
  11036. "type": "string"
  11037. },
  11038. "legalcardfrontphotourl": {
  11039. "description": "法人身份证正面照地址",
  11040. "type": "string"
  11041. },
  11042. "legalpersonname": {
  11043. "description": "法人姓名(企业)",
  11044. "type": "string"
  11045. },
  11046. "logincode": {
  11047. "description": "登录帐号 (加密存储)",
  11048. "type": "string"
  11049. },
  11050. "memberareaid": {
  11051. "description": "所属会员ID",
  11052. "type": "integer"
  11053. },
  11054. "mobile2": {
  11055. "description": "手机号码[明文-尚志]",
  11056. "type": "string"
  11057. },
  11058. "mobilephone": {
  11059. "description": "手机号码 (加密存储)",
  11060. "type": "string"
  11061. },
  11062. "modifiedby": {
  11063. "description": "修改人帐号",
  11064. "type": "integer"
  11065. },
  11066. "modifiedtime": {
  11067. "description": "修改时间",
  11068. "type": "string"
  11069. },
  11070. "nickname": {
  11071. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11072. "type": "string"
  11073. },
  11074. "openmode": {
  11075. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11076. "type": "integer"
  11077. },
  11078. "otherurl": {
  11079. "description": "其它图片地址[使用分号分隔]",
  11080. "type": "string"
  11081. },
  11082. "postalcode": {
  11083. "description": "邮政编码",
  11084. "type": "string"
  11085. },
  11086. "provinceid": {
  11087. "description": "省",
  11088. "type": "integer"
  11089. },
  11090. "proxystatementurl": {
  11091. "description": "授权委托书",
  11092. "type": "string"
  11093. },
  11094. "qq": {
  11095. "description": "QQ(加密存储",
  11096. "type": "string"
  11097. },
  11098. "referral": {
  11099. "description": "推荐人编码",
  11100. "type": "string"
  11101. },
  11102. "remark": {
  11103. "description": "备注",
  11104. "type": "string"
  11105. },
  11106. "removebeforestatus": {
  11107. "description": "REMOVEBEFORESTATUS",
  11108. "type": "integer"
  11109. },
  11110. "sex": {
  11111. "description": "性别 - 0:女 1:男",
  11112. "type": "integer"
  11113. },
  11114. "signedstatus": {
  11115. "description": "账户一号签签约状态",
  11116. "type": "integer"
  11117. },
  11118. "signpdfurl": {
  11119. "description": "签约pdf文件",
  11120. "type": "string"
  11121. },
  11122. "subbranch": {
  11123. "description": "开户支行",
  11124. "type": "string"
  11125. },
  11126. "taxpayernum": {
  11127. "description": "纳税人识别号",
  11128. "type": "string"
  11129. },
  11130. "telphone": {
  11131. "description": "联系电话(加密存储)",
  11132. "type": "string"
  11133. },
  11134. "userid": {
  11135. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11136. "type": "integer"
  11137. },
  11138. "userinfotype": {
  11139. "description": "用户信息类型 - 1:个人 2:企业",
  11140. "type": "integer"
  11141. },
  11142. "username": {
  11143. "description": "用户姓名",
  11144. "type": "string"
  11145. },
  11146. "userstate": {
  11147. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11148. "type": "integer"
  11149. },
  11150. "usertype": {
  11151. "description": "用户类型 - 1:投资者 2:机构",
  11152. "type": "integer"
  11153. },
  11154. "videourl": {
  11155. "description": "视频地址",
  11156. "type": "string"
  11157. },
  11158. "wechat": {
  11159. "description": "微信号 (加密存储)",
  11160. "type": "string"
  11161. }
  11162. }
  11163. },
  11164. "erms3.CustomerInfo": {
  11165. "type": "object",
  11166. "required": [
  11167. "userid"
  11168. ],
  11169. "properties": {
  11170. "accountids": {
  11171. "description": "资金账户ID列表",
  11172. "type": "array",
  11173. "items": {
  11174. "type": "integer"
  11175. }
  11176. },
  11177. "customername": {
  11178. "description": "名称(企业名称)",
  11179. "type": "string"
  11180. },
  11181. "mobile": {
  11182. "description": "手机号码",
  11183. "type": "string"
  11184. },
  11185. "userid": {
  11186. "description": "用户ID",
  11187. "type": "integer"
  11188. }
  11189. }
  11190. },
  11191. "erms3.ModifyUserInfoApplyReq": {
  11192. "type": "object",
  11193. "required": [
  11194. "userid"
  11195. ],
  11196. "properties": {
  11197. "accountid": {
  11198. "description": "交易系统帐号Id (加密存储)",
  11199. "type": "integer"
  11200. },
  11201. "areacode": {
  11202. "description": "机构代码",
  11203. "type": "string"
  11204. },
  11205. "areaid": {
  11206. "description": "机构Id",
  11207. "type": "integer"
  11208. },
  11209. "attachment1": {
  11210. "description": "附件1",
  11211. "type": "string"
  11212. },
  11213. "attachment2": {
  11214. "description": "附件2",
  11215. "type": "string"
  11216. },
  11217. "attachment3": {
  11218. "description": "附件3",
  11219. "type": "string"
  11220. },
  11221. "attachment4": {
  11222. "description": "附件4",
  11223. "type": "string"
  11224. },
  11225. "attachment5": {
  11226. "description": "附件5",
  11227. "type": "string"
  11228. },
  11229. "auditedby": {
  11230. "description": "审核人",
  11231. "type": "string"
  11232. },
  11233. "auditime": {
  11234. "description": "审核时间",
  11235. "type": "string"
  11236. },
  11237. "auditsrc": {
  11238. "description": "审核来源 - 1:管理端 2:终端",
  11239. "type": "integer"
  11240. },
  11241. "bankaccount": {
  11242. "description": "银行帐号 (加密存储)",
  11243. "type": "string"
  11244. },
  11245. "bankaccountname": {
  11246. "description": "收款人名称",
  11247. "type": "string"
  11248. },
  11249. "bankcardbackphotourl": {
  11250. "description": "银行卡背面照地址",
  11251. "type": "string"
  11252. },
  11253. "bankcardfrontphotourl": {
  11254. "description": "银行卡正面照地址",
  11255. "type": "string"
  11256. },
  11257. "bankid": {
  11258. "description": "银行编码",
  11259. "type": "string"
  11260. },
  11261. "bankname": {
  11262. "description": "银行名称",
  11263. "type": "string"
  11264. },
  11265. "bankpictureurl": {
  11266. "description": "银行卡正面地址",
  11267. "type": "string"
  11268. },
  11269. "biznature": {
  11270. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11271. "type": "integer"
  11272. },
  11273. "bizscope": {
  11274. "description": "企业经营范围(企业)",
  11275. "type": "string"
  11276. },
  11277. "biztype": {
  11278. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11279. "type": "integer"
  11280. },
  11281. "brokerid": {
  11282. "description": "经纪人ID(加密存储)",
  11283. "type": "string"
  11284. },
  11285. "cardaddress": {
  11286. "description": "证件地址 (加密存储)",
  11287. "type": "string"
  11288. },
  11289. "cardbackphotourl": {
  11290. "description": "背面证件照地址",
  11291. "type": "string"
  11292. },
  11293. "cardfrontphotourl": {
  11294. "description": "正面证件照地址",
  11295. "type": "string"
  11296. },
  11297. "cardnum": {
  11298. "description": "证件号码 (加密存储)",
  11299. "type": "string"
  11300. },
  11301. "cardtype": {
  11302. "description": "证件类型",
  11303. "type": "integer"
  11304. },
  11305. "cityid": {
  11306. "description": "市",
  11307. "type": "integer"
  11308. },
  11309. "company": {
  11310. "description": "公司(个人)",
  11311. "type": "string"
  11312. },
  11313. "contactcardbackphotourl": {
  11314. "description": "联系人证件背面图片地址",
  11315. "type": "string"
  11316. },
  11317. "contactcardfrontphotourl": {
  11318. "description": "联系人证件正面图片地址",
  11319. "type": "string"
  11320. },
  11321. "contactname": {
  11322. "description": "联系人",
  11323. "type": "string"
  11324. },
  11325. "countryid": {
  11326. "description": "国家",
  11327. "type": "integer"
  11328. },
  11329. "createtime": {
  11330. "description": "开户申请时间",
  11331. "type": "string"
  11332. },
  11333. "cusbankid": {
  11334. "description": "签约类型",
  11335. "type": "string"
  11336. },
  11337. "cusbankname": {
  11338. "description": "签约类型名称",
  11339. "type": "string"
  11340. },
  11341. "customername": {
  11342. "description": "客户名称(企业名称)",
  11343. "type": "string"
  11344. },
  11345. "districtid": {
  11346. "description": "地区",
  11347. "type": "integer"
  11348. },
  11349. "email": {
  11350. "description": "Email地址(加密存储)",
  11351. "type": "string"
  11352. },
  11353. "halfbodyphotourl": {
  11354. "description": "半身照地址",
  11355. "type": "string"
  11356. },
  11357. "headurl": {
  11358. "description": "头像地址",
  11359. "type": "string"
  11360. },
  11361. "ipaddress": {
  11362. "description": "IP地址",
  11363. "type": "string"
  11364. },
  11365. "isvalidate": {
  11366. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11367. "type": "string"
  11368. },
  11369. "legalcardbackphotourl": {
  11370. "description": "法人身份证背面照地址",
  11371. "type": "string"
  11372. },
  11373. "legalcardfrontphotourl": {
  11374. "description": "法人身份证正面照地址",
  11375. "type": "string"
  11376. },
  11377. "legalpersonname": {
  11378. "description": "法人姓名(企业)",
  11379. "type": "string"
  11380. },
  11381. "logincode": {
  11382. "description": "登录帐号 (加密存储)",
  11383. "type": "string"
  11384. },
  11385. "memberareaid": {
  11386. "description": "所属会员ID",
  11387. "type": "integer"
  11388. },
  11389. "mobile2": {
  11390. "description": "手机号码[明文-尚志]",
  11391. "type": "string"
  11392. },
  11393. "mobilephone": {
  11394. "description": "手机号码 (加密存储)",
  11395. "type": "string"
  11396. },
  11397. "modifiedby": {
  11398. "description": "修改人帐号",
  11399. "type": "integer"
  11400. },
  11401. "modifiedtime": {
  11402. "description": "修改时间",
  11403. "type": "string"
  11404. },
  11405. "nickname": {
  11406. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11407. "type": "string"
  11408. },
  11409. "openmode": {
  11410. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11411. "type": "integer"
  11412. },
  11413. "otherurl": {
  11414. "description": "其它图片地址[使用分号分隔]",
  11415. "type": "string"
  11416. },
  11417. "postalcode": {
  11418. "description": "邮政编码",
  11419. "type": "string"
  11420. },
  11421. "provinceid": {
  11422. "description": "省",
  11423. "type": "integer"
  11424. },
  11425. "proxystatementurl": {
  11426. "description": "授权委托书",
  11427. "type": "string"
  11428. },
  11429. "qq": {
  11430. "description": "QQ(加密存储",
  11431. "type": "string"
  11432. },
  11433. "referral": {
  11434. "description": "推荐人编码",
  11435. "type": "string"
  11436. },
  11437. "remark": {
  11438. "description": "备注",
  11439. "type": "string"
  11440. },
  11441. "removebeforestatus": {
  11442. "description": "REMOVEBEFORESTATUS",
  11443. "type": "integer"
  11444. },
  11445. "sex": {
  11446. "description": "性别 - 0:女 1:男",
  11447. "type": "integer"
  11448. },
  11449. "signedstatus": {
  11450. "description": "账户一号签签约状态",
  11451. "type": "integer"
  11452. },
  11453. "signpdfurl": {
  11454. "description": "签约pdf文件",
  11455. "type": "string"
  11456. },
  11457. "subbranch": {
  11458. "description": "开户支行",
  11459. "type": "string"
  11460. },
  11461. "taxpayernum": {
  11462. "description": "纳税人识别号",
  11463. "type": "string"
  11464. },
  11465. "telphone": {
  11466. "description": "联系电话(加密存储)",
  11467. "type": "string"
  11468. },
  11469. "userid": {
  11470. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11471. "type": "integer"
  11472. },
  11473. "userinfotype": {
  11474. "description": "用户信息类型 - 1:个人 2:企业",
  11475. "type": "integer"
  11476. },
  11477. "username": {
  11478. "description": "用户姓名",
  11479. "type": "string"
  11480. },
  11481. "userstate": {
  11482. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11483. "type": "integer"
  11484. },
  11485. "usertype": {
  11486. "description": "用户类型 - 1:投资者 2:机构",
  11487. "type": "integer"
  11488. },
  11489. "videourl": {
  11490. "description": "视频地址",
  11491. "type": "string"
  11492. },
  11493. "wechat": {
  11494. "description": "微信号 (加密存储)",
  11495. "type": "string"
  11496. }
  11497. }
  11498. },
  11499. "erms3.QryAuditContractRsp": {
  11500. "type": "object",
  11501. "required": [
  11502. "matchcustomername",
  11503. "spotcontractid"
  11504. ],
  11505. "properties": {
  11506. "accountid": {
  11507. "description": "交易员ID",
  11508. "type": "string"
  11509. },
  11510. "applystatus": {
  11511. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11512. "type": "integer"
  11513. },
  11514. "curdeliveryqty": {
  11515. "description": "未交收量",
  11516. "type": "integer"
  11517. },
  11518. "customername": {
  11519. "description": "采购方ID",
  11520. "type": "string"
  11521. },
  11522. "deliverygoodsid": {
  11523. "description": "品种ID",
  11524. "type": "string"
  11525. },
  11526. "deliveryqty": {
  11527. "description": "交收量",
  11528. "type": "integer"
  11529. },
  11530. "enumdicname": {
  11531. "description": "单位名称",
  11532. "type": "string"
  11533. },
  11534. "matchaccountid": {
  11535. "description": "业务员ID",
  11536. "type": "string"
  11537. },
  11538. "matchcustomername": {
  11539. "description": "销售方ID",
  11540. "type": "string"
  11541. },
  11542. "pricedqty": {
  11543. "description": "定价量",
  11544. "type": "number"
  11545. },
  11546. "signdate": {
  11547. "description": "签订日期",
  11548. "type": "string"
  11549. },
  11550. "spotcontractid": {
  11551. "description": "合同ID",
  11552. "type": "string"
  11553. },
  11554. "totaldqty": {
  11555. "description": "合同量",
  11556. "type": "number"
  11557. },
  11558. "unpricedqty": {
  11559. "description": "未定价量",
  11560. "type": "number"
  11561. },
  11562. "wrstandardname": {
  11563. "description": "商品名称",
  11564. "type": "string"
  11565. }
  11566. }
  11567. },
  11568. "erms3.QryPendingBizRsp": {
  11569. "$ref": "#/definitions/models.PendingAuditBizModel"
  11570. },
  11571. "erms3.QueryBusinessInfoRsp": {
  11572. "type": "object",
  11573. "properties": {
  11574. "businessid": {
  11575. "description": "业务ID.",
  11576. "type": "integer"
  11577. },
  11578. "buyamount": {
  11579. "description": "采购额.",
  11580. "type": "number"
  11581. },
  11582. "buyqty": {
  11583. "description": "采购量.",
  11584. "type": "string"
  11585. },
  11586. "futurepl": {
  11587. "description": "期货盈亏.",
  11588. "type": "number"
  11589. },
  11590. "futureqty": {
  11591. "description": "期货敞口.",
  11592. "type": "string"
  11593. },
  11594. "goodsid": {
  11595. "description": "商品名称/商品代码.",
  11596. "type": "string"
  11597. },
  11598. "hedgingqty": {
  11599. "description": "套保量.",
  11600. "type": "string"
  11601. },
  11602. "sellamount": {
  11603. "description": "销售额.",
  11604. "type": "number"
  11605. },
  11606. "sellqty": {
  11607. "description": "销售量.",
  11608. "type": "string"
  11609. },
  11610. "spotmarketvalue": {
  11611. "description": "现货市值.",
  11612. "type": "number"
  11613. },
  11614. "spotpl": {
  11615. "description": "浮动权益.",
  11616. "type": "number"
  11617. },
  11618. "spotqty": {
  11619. "description": "现货量.",
  11620. "type": "string"
  11621. },
  11622. "statu": {
  11623. "description": "状态,0-未结束 1-已结束.",
  11624. "type": "integer"
  11625. },
  11626. "totalpl": {
  11627. "description": "总盈亏.",
  11628. "type": "number"
  11629. },
  11630. "totalqty": {
  11631. "description": "总敞口.",
  11632. "type": "string"
  11633. },
  11634. "type": {
  11635. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11636. "type": "integer"
  11637. }
  11638. }
  11639. },
  11640. "erms3.QuerySpotContractAppleFormRsp": {
  11641. "type": "object",
  11642. "properties": {
  11643. "goodses": {
  11644. "description": "合约列表",
  11645. "type": "array",
  11646. "items": {
  11647. "$ref": "#/definitions/models.GoodsIDAndName"
  11648. }
  11649. },
  11650. "oppositeusers": {
  11651. "description": "对方账号列表",
  11652. "type": "array",
  11653. "items": {
  11654. "$ref": "#/definitions/erms3.CustomerInfo"
  11655. }
  11656. },
  11657. "ouruser": {
  11658. "description": "我方账号",
  11659. "type": "object",
  11660. "$ref": "#/definitions/erms3.CustomerInfo"
  11661. },
  11662. "warehouseinfos": {
  11663. "description": "仓库信息列表",
  11664. "type": "array",
  11665. "items": {
  11666. "$ref": "#/definitions/models.Warehouseinfo"
  11667. }
  11668. },
  11669. "wrstandards": {
  11670. "description": "仓单标准列表",
  11671. "type": "array",
  11672. "items": {
  11673. "$ref": "#/definitions/models.WRStandardInfo"
  11674. }
  11675. }
  11676. }
  11677. },
  11678. "erms3.QuerySpotContractInfoRsp": {
  11679. "type": "object",
  11680. "properties": {
  11681. "accountid": {
  11682. "description": "表示交易员ID.",
  11683. "type": "integer"
  11684. },
  11685. "curdeliveryqty": {
  11686. "description": "表示未交收量.",
  11687. "type": "number"
  11688. },
  11689. "customername": {
  11690. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11691. "type": "string"
  11692. },
  11693. "deliverygoodsid": {
  11694. "description": "表示品种ID.",
  11695. "type": "string"
  11696. },
  11697. "deliveryqty": {
  11698. "description": "表示交收量.",
  11699. "type": "number"
  11700. },
  11701. "matchaccountid": {
  11702. "description": "表示业务员ID.",
  11703. "type": "integer"
  11704. },
  11705. "matchcustomername": {
  11706. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11707. "type": "string"
  11708. },
  11709. "priceqty": {
  11710. "description": "表示定价量.",
  11711. "type": "number"
  11712. },
  11713. "relatedbizid": {
  11714. "description": "表示业务ID.",
  11715. "type": "string"
  11716. },
  11717. "signdate": {
  11718. "description": "表示签订日期.",
  11719. "type": "string"
  11720. },
  11721. "spotcontractid": {
  11722. "description": "合同ID",
  11723. "type": "string"
  11724. },
  11725. "status": {
  11726. "description": "表示状态,0-履约中 1-已完成.",
  11727. "type": "integer"
  11728. },
  11729. "totalqty": {
  11730. "description": "表示合同量.",
  11731. "type": "number"
  11732. },
  11733. "unpricedqty": {
  11734. "description": "表示未定价量.",
  11735. "type": "number"
  11736. },
  11737. "wrstandardname": {
  11738. "description": "表示商品ID.",
  11739. "type": "string"
  11740. }
  11741. }
  11742. },
  11743. "erms3.QueryUserInfoAppliesRsp": {
  11744. "type": "object",
  11745. "required": [
  11746. "userid"
  11747. ],
  11748. "properties": {
  11749. "biznature": {
  11750. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11751. "type": "integer"
  11752. },
  11753. "contactname": {
  11754. "description": "联系人",
  11755. "type": "string"
  11756. },
  11757. "createtime": {
  11758. "description": "开户申请时间",
  11759. "type": "string"
  11760. },
  11761. "userid": {
  11762. "description": "用户ID(自增ID)",
  11763. "type": "integer"
  11764. },
  11765. "userinfotype": {
  11766. "description": "用户信息类型 - 1:个人 2:企业",
  11767. "type": "integer"
  11768. },
  11769. "username": {
  11770. "description": "用户姓名",
  11771. "type": "string"
  11772. },
  11773. "userstate": {
  11774. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11775. "type": "integer"
  11776. }
  11777. }
  11778. },
  11779. "erms3.QueryUserInfosRsp": {
  11780. "type": "object",
  11781. "required": [
  11782. "userid"
  11783. ],
  11784. "properties": {
  11785. "biznature": {
  11786. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11787. "type": "integer"
  11788. },
  11789. "contactname": {
  11790. "description": "联系人",
  11791. "type": "string"
  11792. },
  11793. "customername": {
  11794. "description": "客户名称(企业名称)",
  11795. "type": "string"
  11796. },
  11797. "userid": {
  11798. "description": "用户ID",
  11799. "type": "integer"
  11800. },
  11801. "userinfotype": {
  11802. "description": "用户信息类型 - 1:个人 2:企业",
  11803. "type": "integer"
  11804. },
  11805. "userstatus": {
  11806. "description": "用户状态 - 1:正常 2:注销",
  11807. "type": "integer"
  11808. }
  11809. }
  11810. },
  11811. "erms3.SoptContractDetail": {
  11812. "type": "object",
  11813. "required": [
  11814. "deliverygoodsid",
  11815. "producttype",
  11816. "unitname",
  11817. "warehouseid",
  11818. "wrstandardid",
  11819. "wrstandardname"
  11820. ],
  11821. "properties": {
  11822. "deliverygoodsdesc": {
  11823. "description": "现货品种说明",
  11824. "type": "string"
  11825. },
  11826. "deliverygoodsid": {
  11827. "description": "现货品种ID",
  11828. "type": "integer"
  11829. },
  11830. "deliverygoodsname": {
  11831. "description": "现货品种名称",
  11832. "type": "string"
  11833. },
  11834. "pointdesc": {
  11835. "description": "点价描述",
  11836. "type": "string"
  11837. },
  11838. "producttype": {
  11839. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11840. "type": "integer"
  11841. },
  11842. "producttypename": {
  11843. "description": "产品类型名称",
  11844. "type": "string"
  11845. },
  11846. "spotPointOrderVoList": {
  11847. "description": "点价列表",
  11848. "type": "array",
  11849. "items": {
  11850. "$ref": "#/definitions/erms3.SpotPointOrder"
  11851. }
  11852. },
  11853. "spotPriceOrderList": {
  11854. "description": "定价列表",
  11855. "type": "array",
  11856. "items": {
  11857. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11858. }
  11859. },
  11860. "unitname": {
  11861. "description": "单位名称",
  11862. "type": "string"
  11863. },
  11864. "warehouseid": {
  11865. "description": "仓库ID",
  11866. "type": "integer"
  11867. },
  11868. "warehousename": {
  11869. "description": "仓库名称",
  11870. "type": "string"
  11871. },
  11872. "wrstandardid": {
  11873. "description": "交易标的ID",
  11874. "type": "integer"
  11875. },
  11876. "wrstandardname": {
  11877. "description": "交易标的名称",
  11878. "type": "string"
  11879. }
  11880. }
  11881. },
  11882. "erms3.SpotPointOrder": {
  11883. "type": "object",
  11884. "required": [
  11885. "basic",
  11886. "goodsid",
  11887. "qty"
  11888. ],
  11889. "properties": {
  11890. "basic": {
  11891. "description": "基差",
  11892. "type": "number"
  11893. },
  11894. "deliveryenddate": {
  11895. "description": "交收结束日期",
  11896. "type": "string"
  11897. },
  11898. "deliverystartdate": {
  11899. "description": "交收开始日期",
  11900. "type": "string"
  11901. },
  11902. "enddate": {
  11903. "description": "点价结束日期",
  11904. "type": "string"
  11905. },
  11906. "goodsid": {
  11907. "description": "商品ID",
  11908. "type": "integer"
  11909. },
  11910. "goodsname": {
  11911. "description": "商品名称",
  11912. "type": "string"
  11913. },
  11914. "qty": {
  11915. "description": "数量",
  11916. "type": "number"
  11917. },
  11918. "startdate": {
  11919. "description": "点价开始日期",
  11920. "type": "string"
  11921. }
  11922. }
  11923. },
  11924. "erms3.SpotPriceOrder": {
  11925. "type": "object",
  11926. "required": [
  11927. "amount",
  11928. "price",
  11929. "qty"
  11930. ],
  11931. "properties": {
  11932. "amount": {
  11933. "description": "金额",
  11934. "type": "number"
  11935. },
  11936. "deliveryenddate": {
  11937. "description": "交收结束日期",
  11938. "type": "string"
  11939. },
  11940. "deliverystartdate": {
  11941. "description": "交收开始日期",
  11942. "type": "string"
  11943. },
  11944. "price": {
  11945. "description": "价格",
  11946. "type": "number"
  11947. },
  11948. "qty": {
  11949. "description": "数量",
  11950. "type": "number"
  11951. }
  11952. }
  11953. },
  11954. "hsby.GetHsbyMyCountRsp": {
  11955. "type": "object",
  11956. "properties": {
  11957. "myCouponCount": {
  11958. "description": "我的优惠卷数量",
  11959. "type": "integer"
  11960. },
  11961. "myOrderDetailListingCount": {
  11962. "description": "我的订单求购中数量",
  11963. "type": "integer"
  11964. },
  11965. "myOrderDetailPreCount": {
  11966. "description": "我的订单抢购中数量",
  11967. "type": "integer"
  11968. },
  11969. "myPackageUnReceiveCount": {
  11970. "description": "我的包裹待收货数量",
  11971. "type": "integer"
  11972. },
  11973. "myPackageUnSendCount": {
  11974. "description": "我的包裹待发货数量",
  11975. "type": "integer"
  11976. },
  11977. "myPayOrderCount": {
  11978. "description": "我的订单待付款数量",
  11979. "type": "integer"
  11980. }
  11981. }
  11982. },
  11983. "hsby.QueryProvincesAndCitiesRsp": {
  11984. "type": "object",
  11985. "properties": {
  11986. "cities": {
  11987. "description": "市",
  11988. "type": "array",
  11989. "items": {
  11990. "$ref": "#/definitions/models.Division"
  11991. }
  11992. },
  11993. "province": {
  11994. "description": "省",
  11995. "type": "object",
  11996. "$ref": "#/definitions/models.Division"
  11997. }
  11998. }
  11999. },
  12000. "models.AreaSpotModel": {
  12001. "type": "object",
  12002. "properties": {
  12003. "areauserid": {
  12004. "description": "所属机构",
  12005. "type": "integer"
  12006. },
  12007. "decreaseqty": {
  12008. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12009. "type": "number"
  12010. },
  12011. "increaseqty": {
  12012. "description": "增加数量=销售计划数量+采购已定价数量",
  12013. "type": "number"
  12014. },
  12015. "oritoalspotqty": {
  12016. "description": "昨日数量",
  12017. "type": "number"
  12018. },
  12019. "totalspotqty": {
  12020. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12021. "type": "number"
  12022. },
  12023. "updatetime": {
  12024. "description": "更新时间",
  12025. "type": "string"
  12026. },
  12027. "wrstandardcode": {
  12028. "description": "现货品种代码",
  12029. "type": "string"
  12030. },
  12031. "wrstandardid": {
  12032. "description": "现货商品ID",
  12033. "type": "integer"
  12034. },
  12035. "wrstandardname": {
  12036. "description": "现货品种",
  12037. "type": "string"
  12038. }
  12039. }
  12040. },
  12041. "models.Arearole": {
  12042. "type": "object",
  12043. "required": [
  12044. "roletype",
  12045. "userid"
  12046. ],
  12047. "properties": {
  12048. "createtime": {
  12049. "description": "创建时间",
  12050. "type": "string"
  12051. },
  12052. "creatorid": {
  12053. "description": "创建人ID",
  12054. "type": "integer"
  12055. },
  12056. "isreturnscore": {
  12057. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12058. "type": "integer"
  12059. },
  12060. "modifierid": {
  12061. "description": "修改人ID",
  12062. "type": "integer"
  12063. },
  12064. "modifytime": {
  12065. "description": "修改时间",
  12066. "type": "string"
  12067. },
  12068. "orgtype": {
  12069. "description": "组织机构类型 1:机构 2:交易员",
  12070. "type": "integer"
  12071. },
  12072. "outuserid": {
  12073. "description": "外部账户[场外期权做市商]",
  12074. "type": "string"
  12075. },
  12076. "parentuserid": {
  12077. "description": "上级组织机构(组织机构)",
  12078. "type": "integer"
  12079. },
  12080. "roletype": {
  12081. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员",
  12082. "type": "integer"
  12083. },
  12084. "rootuserid": {
  12085. "description": "顶级组织机构用户ID(组织机构)",
  12086. "type": "integer"
  12087. },
  12088. "shoppassword": {
  12089. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12090. "type": "string"
  12091. },
  12092. "sublevelpath": {
  12093. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12094. "type": "string"
  12095. },
  12096. "tradeaccountid": {
  12097. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12098. "type": "integer"
  12099. },
  12100. "transurl": {
  12101. "description": "物流地址(物流机构)",
  12102. "type": "string"
  12103. },
  12104. "userid": {
  12105. "description": "机构用户ID其他做市关系,都设置为 1",
  12106. "type": "integer"
  12107. }
  12108. }
  12109. },
  12110. "models.Clientfixedadconfig": {
  12111. "type": "object",
  12112. "required": [
  12113. "adsort",
  12114. "adtype"
  12115. ],
  12116. "properties": {
  12117. "adsort": {
  12118. "description": "排序",
  12119. "type": "integer"
  12120. },
  12121. "adtype": {
  12122. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12123. "type": "integer"
  12124. },
  12125. "areauserid": {
  12126. "description": "所属机构ID",
  12127. "type": "integer"
  12128. },
  12129. "createdate": {
  12130. "description": "创建时间",
  12131. "type": "string"
  12132. },
  12133. "creatorid": {
  12134. "description": "创建人",
  12135. "type": "integer"
  12136. },
  12137. "imagepath": {
  12138. "description": "图片",
  12139. "type": "string"
  12140. },
  12141. "isshow": {
  12142. "description": "是否展示 - 0:不展示 1:展示",
  12143. "type": "integer"
  12144. },
  12145. "modifierid": {
  12146. "description": "操作人",
  12147. "type": "integer"
  12148. },
  12149. "recsize": {
  12150. "description": "推荐尺寸",
  12151. "type": "string"
  12152. },
  12153. "title": {
  12154. "description": "标题",
  12155. "type": "string"
  12156. },
  12157. "updatedate": {
  12158. "description": "更新时间",
  12159. "type": "string"
  12160. },
  12161. "urlcontent": {
  12162. "description": "链接(地址或商品ID)",
  12163. "type": "string"
  12164. },
  12165. "urltype": {
  12166. "description": "链接类型 - 1:直接地址 2:商品ID",
  12167. "type": "integer"
  12168. }
  12169. }
  12170. },
  12171. "models.Division": {
  12172. "type": "object",
  12173. "required": [
  12174. "autoid",
  12175. "divisioncode"
  12176. ],
  12177. "properties": {
  12178. "autoid": {
  12179. "description": "自增ID",
  12180. "type": "integer"
  12181. },
  12182. "divisioncode": {
  12183. "description": "行政代码",
  12184. "type": "string"
  12185. },
  12186. "divisionlevel": {
  12187. "description": "行政级别",
  12188. "type": "string"
  12189. },
  12190. "divisionname": {
  12191. "description": "行政名称",
  12192. "type": "string"
  12193. },
  12194. "modifierid": {
  12195. "description": "修改人",
  12196. "type": "integer"
  12197. },
  12198. "modifytime": {
  12199. "description": "修改时间",
  12200. "type": "string"
  12201. },
  12202. "parentcode": {
  12203. "description": "上级行政代码",
  12204. "type": "string"
  12205. },
  12206. "pathname": {
  12207. "description": "路径名称",
  12208. "type": "string"
  12209. },
  12210. "postcode": {
  12211. "description": "邮政编码",
  12212. "type": "string"
  12213. },
  12214. "separablename": {
  12215. "description": "可拆分的全称",
  12216. "type": "string"
  12217. },
  12218. "shortcode": {
  12219. "description": "地区简码",
  12220. "type": "string"
  12221. }
  12222. }
  12223. },
  12224. "models.Enumdicitem": {
  12225. "type": "object",
  12226. "required": [
  12227. "autoid",
  12228. "enumdiccode",
  12229. "enumdicid",
  12230. "enumitemname"
  12231. ],
  12232. "properties": {
  12233. "autoid": {
  12234. "description": "自增ID",
  12235. "type": "integer"
  12236. },
  12237. "bankmappedvalue": {
  12238. "description": "银行服务对应值",
  12239. "type": "string"
  12240. },
  12241. "enumdiccode": {
  12242. "description": "所属枚举代码",
  12243. "type": "string"
  12244. },
  12245. "enumdicid": {
  12246. "description": "所属枚举ID",
  12247. "type": "integer"
  12248. },
  12249. "enumdicname": {
  12250. "description": "枚举项名称",
  12251. "type": "string"
  12252. },
  12253. "enumitemname": {
  12254. "description": "枚举项值",
  12255. "type": "integer"
  12256. },
  12257. "enumitemstatus": {
  12258. "description": "枚举项状态 - 1.启用 2.不启用",
  12259. "type": "integer"
  12260. },
  12261. "enumitemvalue": {
  12262. "description": "通用值 - [币种通用简写]",
  12263. "type": "string"
  12264. },
  12265. "param1": {
  12266. "description": "参数1[币种:币种小数位]",
  12267. "type": "string"
  12268. },
  12269. "param2": {
  12270. "description": "参数1[币种:币种显示单位]",
  12271. "type": "string"
  12272. },
  12273. "remark": {
  12274. "description": "备注",
  12275. "type": "string"
  12276. }
  12277. }
  12278. },
  12279. "models.Ermcp3AreaSpot": {
  12280. "type": "object",
  12281. "properties": {
  12282. "areauserid": {
  12283. "description": "所属机构",
  12284. "type": "integer"
  12285. },
  12286. "decreaseqty": {
  12287. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12288. "type": "number"
  12289. },
  12290. "deliverygoodscode": {
  12291. "description": "现货品种代码",
  12292. "type": "string"
  12293. },
  12294. "deliverygoodsid": {
  12295. "description": "现货品种id",
  12296. "type": "integer"
  12297. },
  12298. "deliverygoodsname": {
  12299. "description": "现货品种名称",
  12300. "type": "string"
  12301. },
  12302. "enumdicname": {
  12303. "description": "单位名称",
  12304. "type": "string"
  12305. },
  12306. "goodsunitid": {
  12307. "description": "现货品种单位id",
  12308. "type": "integer"
  12309. },
  12310. "increaseqty": {
  12311. "description": "增加数量=销售计划数量+采购已定价数量",
  12312. "type": "number"
  12313. },
  12314. "oritoalspotqty": {
  12315. "description": "昨日数量",
  12316. "type": "number"
  12317. },
  12318. "totalspotqty": {
  12319. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12320. "type": "number"
  12321. },
  12322. "updatetime": {
  12323. "description": "更新时间",
  12324. "type": "string"
  12325. }
  12326. }
  12327. },
  12328. "models.Ermcp3AreaSpotDetail": {
  12329. "type": "object",
  12330. "properties": {
  12331. "contracttype": {
  12332. "description": "合同类型 1-采购 -1-销售",
  12333. "type": "integer"
  12334. },
  12335. "createtime": {
  12336. "description": "创建时间",
  12337. "type": "string"
  12338. },
  12339. "deliverygoodscode": {
  12340. "description": "现货品种代码",
  12341. "type": "string"
  12342. },
  12343. "deliverygoodsid": {
  12344. "description": "现货品种id",
  12345. "type": "integer"
  12346. },
  12347. "deliverygoodsname": {
  12348. "description": "现货品种名称",
  12349. "type": "string"
  12350. },
  12351. "enumdicname": {
  12352. "description": "现货商品单位名称",
  12353. "type": "string"
  12354. },
  12355. "logtype": {
  12356. "description": "记录类型 1-套保 2-现货合同",
  12357. "type": "integer"
  12358. },
  12359. "qty": {
  12360. "description": "数量",
  12361. "type": "number"
  12362. },
  12363. "recordname": {
  12364. "description": "类型名称",
  12365. "type": "string"
  12366. },
  12367. "relatedid": {
  12368. "description": "套保计划ID/现货合同ID",
  12369. "type": "string"
  12370. },
  12371. "relatedno": {
  12372. "description": "编号",
  12373. "type": "string"
  12374. },
  12375. "strtime": {
  12376. "description": "时间",
  12377. "type": "string"
  12378. }
  12379. }
  12380. },
  12381. "models.Ermcp3AreaSpotPLReport": {
  12382. "type": "object",
  12383. "properties": {
  12384. "accountid": {
  12385. "description": "期货账户ID (作废, 默认为0)",
  12386. "type": "integer"
  12387. },
  12388. "accountname": {
  12389. "description": "机构名称",
  12390. "type": "string"
  12391. },
  12392. "actualpl": {
  12393. "description": "现货损益",
  12394. "type": "number"
  12395. },
  12396. "areauserid": {
  12397. "description": "所属机构\\交易用户ID",
  12398. "type": "integer"
  12399. },
  12400. "biztype": {
  12401. "description": "业务类型 - 1:套保 2:套利",
  12402. "type": "integer"
  12403. },
  12404. "brandname": {
  12405. "description": "品牌名称",
  12406. "type": "string"
  12407. },
  12408. "curamount": {
  12409. "description": "期末额",
  12410. "type": "number"
  12411. },
  12412. "curaverageprice": {
  12413. "description": "期末均价",
  12414. "type": "number"
  12415. },
  12416. "curbuyamount": {
  12417. "description": "期末采购总额",
  12418. "type": "number"
  12419. },
  12420. "curbuyqty": {
  12421. "description": "期末采购总量",
  12422. "type": "number"
  12423. },
  12424. "curmarketvalue": {
  12425. "description": "参考市值(期末市值)",
  12426. "type": "number"
  12427. },
  12428. "curqty": {
  12429. "description": "期末量",
  12430. "type": "number"
  12431. },
  12432. "currencyid": {
  12433. "description": "结算币种ID【原值】",
  12434. "type": "integer"
  12435. },
  12436. "currencyname": {
  12437. "description": "币种名称",
  12438. "type": "string"
  12439. },
  12440. "cursellamount": {
  12441. "description": "期末销售总额",
  12442. "type": "number"
  12443. },
  12444. "cursellqty": {
  12445. "description": "期末销售总量",
  12446. "type": "number"
  12447. },
  12448. "curspotprice": {
  12449. "description": "参考市价(最新价)",
  12450. "type": "number"
  12451. },
  12452. "cycletime": {
  12453. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12454. "type": "string"
  12455. },
  12456. "cycletype": {
  12457. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12458. "type": "integer"
  12459. },
  12460. "deliverygoodscode": {
  12461. "description": "现货商品代码",
  12462. "type": "string"
  12463. },
  12464. "deliverygoodsid": {
  12465. "description": "现货品种ID",
  12466. "type": "integer"
  12467. },
  12468. "deliverygoodsname": {
  12469. "description": "现货商品名称",
  12470. "type": "string"
  12471. },
  12472. "enumdicname": {
  12473. "description": "现货商品单位名称",
  12474. "type": "string"
  12475. },
  12476. "floatpl": {
  12477. "description": "浮动损益",
  12478. "type": "number"
  12479. },
  12480. "goodsunitid": {
  12481. "description": "现货商品单位id",
  12482. "type": "integer"
  12483. },
  12484. "oriamount": {
  12485. "description": "期初额",
  12486. "type": "number"
  12487. },
  12488. "oriaverageprice": {
  12489. "description": "期初均价",
  12490. "type": "number"
  12491. },
  12492. "oribuyamount": {
  12493. "description": "期初采购总额",
  12494. "type": "number"
  12495. },
  12496. "oribuyqty": {
  12497. "description": "期初采购总量",
  12498. "type": "number"
  12499. },
  12500. "oriqty": {
  12501. "description": "期初量",
  12502. "type": "number"
  12503. },
  12504. "orisellamount": {
  12505. "description": "期初销售总额",
  12506. "type": "number"
  12507. },
  12508. "orisellqty": {
  12509. "description": "期初销售总量",
  12510. "type": "number"
  12511. },
  12512. "reckondate": {
  12513. "description": "日照时期(yyyyMMdd)",
  12514. "type": "string"
  12515. },
  12516. "spotgoodsbrandid": {
  12517. "description": "现货品牌ID",
  12518. "type": "integer"
  12519. },
  12520. "todaybuyamount": {
  12521. "description": "今日采购额(今采购额)",
  12522. "type": "number"
  12523. },
  12524. "todaybuyaverageprice": {
  12525. "description": "今日采购均价",
  12526. "type": "number"
  12527. },
  12528. "todaybuyqty": {
  12529. "description": "今日采购量(今采购量)",
  12530. "type": "number"
  12531. },
  12532. "todayinqty": {
  12533. "description": "今日入库量(今入库量)",
  12534. "type": "number"
  12535. },
  12536. "todayoutqty": {
  12537. "description": "今日出库量(今出库量)",
  12538. "type": "number"
  12539. },
  12540. "todaysellamount": {
  12541. "description": "今日销售额(今销售额)",
  12542. "type": "number"
  12543. },
  12544. "todaysellaverageprice": {
  12545. "description": "今日销售均价",
  12546. "type": "number"
  12547. },
  12548. "todaysellqty": {
  12549. "description": "今日销售量(今销售量)",
  12550. "type": "number"
  12551. },
  12552. "unitid": {
  12553. "description": "品类单位id",
  12554. "type": "integer"
  12555. },
  12556. "unitidname": {
  12557. "description": "品类单位名称",
  12558. "type": "string"
  12559. },
  12560. "updatetime": {
  12561. "description": "更新时间",
  12562. "type": "string"
  12563. },
  12564. "wrfactortypeid": {
  12565. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12566. "type": "integer"
  12567. },
  12568. "wrstandardcode": {
  12569. "description": "品类代码",
  12570. "type": "string"
  12571. },
  12572. "wrstandardid": {
  12573. "description": "现货品类ID",
  12574. "type": "integer"
  12575. },
  12576. "wrstandardname": {
  12577. "description": "品类名称",
  12578. "type": "string"
  12579. }
  12580. }
  12581. },
  12582. "models.Ermcp3AreaStock": {
  12583. "type": "object",
  12584. "required": [
  12585. "userid"
  12586. ],
  12587. "properties": {
  12588. "brandname": {
  12589. "description": "品牌名称",
  12590. "type": "string"
  12591. },
  12592. "curstock": {
  12593. "description": "期末库存量(今日量)",
  12594. "type": "number"
  12595. },
  12596. "deliverygoodscode": {
  12597. "description": "现货品种代码",
  12598. "type": "string"
  12599. },
  12600. "deliverygoodsid": {
  12601. "description": "现货品种id",
  12602. "type": "integer"
  12603. },
  12604. "deliverygoodsname": {
  12605. "description": "现货品种名称",
  12606. "type": "string"
  12607. },
  12608. "enumdicname": {
  12609. "description": "单位名称",
  12610. "type": "string"
  12611. },
  12612. "goodsunitid": {
  12613. "description": "现货商品单位id",
  12614. "type": "integer"
  12615. },
  12616. "oristock": {
  12617. "description": "期初库存量(昨日量)",
  12618. "type": "number"
  12619. },
  12620. "spotgoodsbrandid": {
  12621. "description": "现货品牌ID",
  12622. "type": "integer"
  12623. },
  12624. "todaybuyinqty": {
  12625. "description": "今日采购入库量",
  12626. "type": "number"
  12627. },
  12628. "todayproduceinqty": {
  12629. "description": "今日生产入库量",
  12630. "type": "number"
  12631. },
  12632. "todayproduceoutqty": {
  12633. "description": "今日生产出库量",
  12634. "type": "number"
  12635. },
  12636. "todayselloutqty": {
  12637. "description": "今日销售出库量",
  12638. "type": "number"
  12639. },
  12640. "unitid": {
  12641. "description": "单位id",
  12642. "type": "integer"
  12643. },
  12644. "updatetime": {
  12645. "description": "更新时间",
  12646. "type": "string"
  12647. },
  12648. "userid": {
  12649. "description": "机构ID",
  12650. "type": "integer"
  12651. },
  12652. "username": {
  12653. "description": "机构名称",
  12654. "type": "string"
  12655. },
  12656. "warehousecode": {
  12657. "description": "仓库代码",
  12658. "type": "string"
  12659. },
  12660. "warehouseinfoid": {
  12661. "description": "仓库ID",
  12662. "type": "string"
  12663. },
  12664. "warehousename": {
  12665. "description": "仓库名称",
  12666. "type": "string"
  12667. },
  12668. "warehousetype": {
  12669. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12670. "type": "integer"
  12671. },
  12672. "wrstandardcode": {
  12673. "description": "品类代码",
  12674. "type": "string"
  12675. },
  12676. "wrstandardid": {
  12677. "description": "品类ID",
  12678. "type": "string"
  12679. },
  12680. "wrstandardname": {
  12681. "description": "品类名称",
  12682. "type": "string"
  12683. }
  12684. }
  12685. },
  12686. "models.Ermcp3AreaStockApply": {
  12687. "type": "object",
  12688. "properties": {
  12689. "applyid": {
  12690. "description": "申请人",
  12691. "type": "integer"
  12692. },
  12693. "applyname": {
  12694. "description": "申请人名称",
  12695. "type": "string"
  12696. },
  12697. "applyremark": {
  12698. "description": "申请备注",
  12699. "type": "string"
  12700. },
  12701. "applysrc": {
  12702. "description": "申请来源 - 1:管理端 2:终端",
  12703. "type": "integer"
  12704. },
  12705. "applystatus": {
  12706. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12707. "type": "integer"
  12708. },
  12709. "applytime": {
  12710. "description": "申请时间",
  12711. "type": "string"
  12712. },
  12713. "auditid": {
  12714. "description": "审核人",
  12715. "type": "integer"
  12716. },
  12717. "auditname": {
  12718. "description": "审核人名称",
  12719. "type": "string"
  12720. },
  12721. "auditremark": {
  12722. "description": "审核备注",
  12723. "type": "string"
  12724. },
  12725. "auditsrc": {
  12726. "description": "审核来源 - 1:管理端 2:终端",
  12727. "type": "integer"
  12728. },
  12729. "audittime": {
  12730. "description": "审核时间",
  12731. "type": "string"
  12732. },
  12733. "audittradedate": {
  12734. "description": "审核交易日(yyyyMMdd)",
  12735. "type": "string"
  12736. },
  12737. "brandname": {
  12738. "description": "品牌名称",
  12739. "type": "string"
  12740. },
  12741. "buynickname": {
  12742. "description": "采购方昵称",
  12743. "type": "string"
  12744. },
  12745. "buyuserid": {
  12746. "description": "采购方userid",
  12747. "type": "integer"
  12748. },
  12749. "buyusername": {
  12750. "description": "采购方名称",
  12751. "type": "string"
  12752. },
  12753. "contractno": {
  12754. "description": "合同编号",
  12755. "type": "string"
  12756. },
  12757. "contractqty": {
  12758. "description": "合同量",
  12759. "type": "number"
  12760. },
  12761. "contracttype": {
  12762. "description": "现货合同类型 - 1:采购 -1:销售",
  12763. "type": "integer"
  12764. },
  12765. "deliverygoodscode": {
  12766. "description": "现货品种代码",
  12767. "type": "string"
  12768. },
  12769. "deliverygoodsid": {
  12770. "description": "现货品种id",
  12771. "type": "integer"
  12772. },
  12773. "deliverygoodsname": {
  12774. "description": "现货品种名称",
  12775. "type": "string"
  12776. },
  12777. "detailjson": {
  12778. "description": "明细数据",
  12779. "type": "string"
  12780. },
  12781. "enumdicname": {
  12782. "description": "现货商品单位名称",
  12783. "type": "string"
  12784. },
  12785. "inoutapplyid": {
  12786. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  12787. "type": "string"
  12788. },
  12789. "inouttype": {
  12790. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  12791. "type": "integer"
  12792. },
  12793. "pricetype": {
  12794. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12795. "type": "integer"
  12796. },
  12797. "qty": {
  12798. "description": "数量",
  12799. "type": "number"
  12800. },
  12801. "sellnickname": {
  12802. "description": "销售方昵称",
  12803. "type": "string"
  12804. },
  12805. "selluserid": {
  12806. "description": "销售方userid",
  12807. "type": "integer"
  12808. },
  12809. "sellusername": {
  12810. "description": "销售方名称",
  12811. "type": "string"
  12812. },
  12813. "spotcontractid": {
  12814. "description": "关联现货合同ID",
  12815. "type": "string"
  12816. },
  12817. "spotgoodsbrandid": {
  12818. "description": "现货品牌ID",
  12819. "type": "integer"
  12820. },
  12821. "unitid": {
  12822. "description": "单位id",
  12823. "type": "integer"
  12824. },
  12825. "userid": {
  12826. "description": "机构ID",
  12827. "type": "integer"
  12828. },
  12829. "warehousecode": {
  12830. "description": "仓库代码",
  12831. "type": "string"
  12832. },
  12833. "warehouseinfoid": {
  12834. "description": "现货仓库ID",
  12835. "type": "string"
  12836. },
  12837. "warehousename": {
  12838. "description": "仓库名称",
  12839. "type": "string"
  12840. },
  12841. "warehousetype": {
  12842. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12843. "type": "integer"
  12844. },
  12845. "wrstandardcode": {
  12846. "description": "品类代码",
  12847. "type": "string"
  12848. },
  12849. "wrstandardid": {
  12850. "description": "品类ID",
  12851. "type": "integer"
  12852. },
  12853. "wrstandardname": {
  12854. "description": "品类名称",
  12855. "type": "string"
  12856. }
  12857. }
  12858. },
  12859. "models.Ermcp3AreaStockApplySum": {
  12860. "type": "object",
  12861. "properties": {
  12862. "brandname": {
  12863. "description": "品牌名称",
  12864. "type": "string"
  12865. },
  12866. "inouttype": {
  12867. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12868. "type": "integer"
  12869. },
  12870. "spotcontractid": {
  12871. "description": "关联现货合同ID",
  12872. "type": "string"
  12873. },
  12874. "spotgoodsbrandid": {
  12875. "description": "品牌id",
  12876. "type": "integer"
  12877. },
  12878. "totalqty": {
  12879. "description": "总数量",
  12880. "type": "number"
  12881. },
  12882. "wrstandardid": {
  12883. "description": "品类id",
  12884. "type": "integer"
  12885. },
  12886. "wrstandardname": {
  12887. "description": "品类名称",
  12888. "type": "string"
  12889. }
  12890. }
  12891. },
  12892. "models.Ermcp3AreaStockReport": {
  12893. "type": "object",
  12894. "properties": {
  12895. "brandname": {
  12896. "description": "品牌名称",
  12897. "type": "string"
  12898. },
  12899. "curstock": {
  12900. "description": "期末库存量",
  12901. "type": "number"
  12902. },
  12903. "cycletime": {
  12904. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12905. "type": "string"
  12906. },
  12907. "cycletype": {
  12908. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12909. "type": "integer"
  12910. },
  12911. "deliverygoodscode": {
  12912. "description": "现货品种代码",
  12913. "type": "string"
  12914. },
  12915. "deliverygoodsid": {
  12916. "description": "现货品种id",
  12917. "type": "integer"
  12918. },
  12919. "deliverygoodsname": {
  12920. "description": "现货品种名称",
  12921. "type": "string"
  12922. },
  12923. "diffqty": {
  12924. "description": "库存变化量 = 期末 - 期初",
  12925. "type": "number"
  12926. },
  12927. "enumdicname": {
  12928. "description": "单位名称",
  12929. "type": "string"
  12930. },
  12931. "goodsunitid": {
  12932. "description": "现货单位id",
  12933. "type": "integer"
  12934. },
  12935. "oristock": {
  12936. "description": "期初库存量",
  12937. "type": "number"
  12938. },
  12939. "reckondate": {
  12940. "description": "日照时期(yyyyMMdd)",
  12941. "type": "string"
  12942. },
  12943. "spotgoodsbrandid": {
  12944. "description": "现货品牌ID",
  12945. "type": "integer"
  12946. },
  12947. "todaybuyinqty": {
  12948. "description": "今采购入库量",
  12949. "type": "number"
  12950. },
  12951. "todayproduceinqty": {
  12952. "description": "今内部入库量",
  12953. "type": "number"
  12954. },
  12955. "todayproduceoutqty": {
  12956. "description": "今内部出库量",
  12957. "type": "number"
  12958. },
  12959. "todayselloutqty": {
  12960. "description": "今销售出库量",
  12961. "type": "number"
  12962. },
  12963. "unbuyinqty": {
  12964. "description": "采购未入库量(数据库未找到相关字段?)",
  12965. "type": "number"
  12966. },
  12967. "unitid": {
  12968. "description": "品类单位id",
  12969. "type": "integer"
  12970. },
  12971. "unselloutqty": {
  12972. "description": "销售未出库量(数据库未找到相关字段?)",
  12973. "type": "number"
  12974. },
  12975. "updatetime": {
  12976. "description": "更新时间",
  12977. "type": "string"
  12978. },
  12979. "userid": {
  12980. "description": "机构ID",
  12981. "type": "integer"
  12982. },
  12983. "username": {
  12984. "description": "机构名称",
  12985. "type": "string"
  12986. },
  12987. "warehousecode": {
  12988. "description": "仓库代码",
  12989. "type": "string"
  12990. },
  12991. "warehouseinfoid": {
  12992. "description": "仓库ID",
  12993. "type": "string"
  12994. },
  12995. "warehousename": {
  12996. "description": "仓库名称",
  12997. "type": "string"
  12998. },
  12999. "warehousetype": {
  13000. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13001. "type": "integer"
  13002. },
  13003. "wrstandardcode": {
  13004. "description": "品类代码",
  13005. "type": "string"
  13006. },
  13007. "wrstandardid": {
  13008. "description": "品类ID",
  13009. "type": "integer"
  13010. },
  13011. "wrstandardname": {
  13012. "description": "品类名称",
  13013. "type": "string"
  13014. }
  13015. }
  13016. },
  13017. "models.Ermcp3ArealSumPL": {
  13018. "type": "object",
  13019. "properties": {
  13020. "areauserid": {
  13021. "description": "所属机构\\交易用户ID",
  13022. "type": "integer"
  13023. },
  13024. "currencyid": {
  13025. "description": "结算币种ID",
  13026. "type": "integer"
  13027. },
  13028. "currencyname": {
  13029. "description": "币种名称",
  13030. "type": "string"
  13031. },
  13032. "cycletime": {
  13033. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13034. "type": "string"
  13035. },
  13036. "cycletype": {
  13037. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13038. "type": "integer"
  13039. },
  13040. "futureactualpl": {
  13041. "description": "期货损益",
  13042. "type": "number"
  13043. },
  13044. "futurefloatpl": {
  13045. "description": "期货浮动损益",
  13046. "type": "number"
  13047. },
  13048. "middlegoodsid": {
  13049. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13050. "type": "integer"
  13051. },
  13052. "reckondate": {
  13053. "description": "日照时期(yyyyMMdd)",
  13054. "type": "string"
  13055. },
  13056. "spotactualpl": {
  13057. "description": "现货损益",
  13058. "type": "number"
  13059. },
  13060. "spotfloatpl": {
  13061. "description": "现货浮动损益",
  13062. "type": "number"
  13063. },
  13064. "sumactualpl": {
  13065. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13066. "type": "number"
  13067. },
  13068. "sumpl": {
  13069. "description": "汇总损益",
  13070. "type": "number"
  13071. },
  13072. "updatetime": {
  13073. "description": "更新时间",
  13074. "type": "string"
  13075. }
  13076. }
  13077. },
  13078. "models.Ermcp3Brand": {
  13079. "type": "object",
  13080. "properties": {
  13081. "areauserid": {
  13082. "description": "用户id",
  13083. "type": "integer"
  13084. },
  13085. "brandid": {
  13086. "description": "品牌id",
  13087. "type": "integer"
  13088. },
  13089. "brandname": {
  13090. "description": "品牌名称",
  13091. "type": "string"
  13092. },
  13093. "deliverygoodsid": {
  13094. "description": "品种ID",
  13095. "type": "integer"
  13096. }
  13097. }
  13098. },
  13099. "models.Ermcp3Contract": {
  13100. "type": "object",
  13101. "properties": {
  13102. "accountid": {
  13103. "description": "期货账户id",
  13104. "type": "string"
  13105. },
  13106. "amount": {
  13107. "description": "金额 [1:一口价、3:暂定价]",
  13108. "type": "number"
  13109. },
  13110. "attachment": {
  13111. "description": "附件",
  13112. "type": "string"
  13113. },
  13114. "auditremark": {
  13115. "description": "审核意见",
  13116. "type": "string"
  13117. },
  13118. "audittime": {
  13119. "description": "审核时间",
  13120. "type": "string"
  13121. },
  13122. "biztype": {
  13123. "description": "业务类型 1-套保 2-套利",
  13124. "type": "integer"
  13125. },
  13126. "brandname": {
  13127. "description": "品牌名称",
  13128. "type": "string"
  13129. },
  13130. "buynickname": {
  13131. "description": "销售方昵称",
  13132. "type": "string"
  13133. },
  13134. "buyuserid": {
  13135. "description": "采购方ID",
  13136. "type": "integer"
  13137. },
  13138. "buyusername": {
  13139. "description": "采购方名称",
  13140. "type": "string"
  13141. },
  13142. "contracctstatus": {
  13143. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13144. "type": "integer"
  13145. },
  13146. "contractmargin": {
  13147. "description": "合同保证金",
  13148. "type": "number"
  13149. },
  13150. "contractno": {
  13151. "description": "现货合同编号",
  13152. "type": "string"
  13153. },
  13154. "contracttype": {
  13155. "description": "现货合同类型 - 1:采购 -1:销售",
  13156. "type": "integer"
  13157. },
  13158. "convertfactor": {
  13159. "description": "标仓系数(品类)",
  13160. "type": "number"
  13161. },
  13162. "createtime": {
  13163. "description": "创建时间",
  13164. "type": "string"
  13165. },
  13166. "currencyid": {
  13167. "description": "币种id",
  13168. "type": "integer"
  13169. },
  13170. "currencyname": {
  13171. "description": "币种名称",
  13172. "type": "string"
  13173. },
  13174. "deliveryenddate": {
  13175. "description": "交收期(结束)",
  13176. "type": "string"
  13177. },
  13178. "deliverygoodscode": {
  13179. "description": "现货品种代码",
  13180. "type": "string"
  13181. },
  13182. "deliverygoodsid": {
  13183. "description": "现货品种ID",
  13184. "type": "integer"
  13185. },
  13186. "deliverygoodsname": {
  13187. "description": "现货品种名称",
  13188. "type": "string"
  13189. },
  13190. "deliverystartdate": {
  13191. "description": "交收期(开始)",
  13192. "type": "string"
  13193. },
  13194. "enddate": {
  13195. "description": "点价结束日期 [2:点价 3:暂定价]",
  13196. "type": "string"
  13197. },
  13198. "enumdicname": {
  13199. "description": "单位名称",
  13200. "type": "string"
  13201. },
  13202. "goodscode": {
  13203. "description": "点价合约代码",
  13204. "type": "string"
  13205. },
  13206. "goodsid": {
  13207. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13208. "type": "integer"
  13209. },
  13210. "goodsname": {
  13211. "description": "点价商品名称",
  13212. "type": "string"
  13213. },
  13214. "margin": {
  13215. "description": "当前保证金",
  13216. "type": "number"
  13217. },
  13218. "meruserid": {
  13219. "description": "跟单员id",
  13220. "type": "integer"
  13221. },
  13222. "meruserlogincode": {
  13223. "description": "跟单员登录代码",
  13224. "type": "string"
  13225. },
  13226. "price": {
  13227. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13228. "type": "number"
  13229. },
  13230. "pricemove": {
  13231. "description": "升贴水 [2:点价 3:暂定价]",
  13232. "type": "number"
  13233. },
  13234. "pricetype": {
  13235. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13236. "type": "integer"
  13237. },
  13238. "producttype": {
  13239. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13240. "type": "integer"
  13241. },
  13242. "qty": {
  13243. "description": "数量",
  13244. "type": "number"
  13245. },
  13246. "remark": {
  13247. "description": "备注",
  13248. "type": "string"
  13249. },
  13250. "saleuserid": {
  13251. "description": "业务员id",
  13252. "type": "integer"
  13253. },
  13254. "saleuserlogincode": {
  13255. "description": "业务员登录代码",
  13256. "type": "string"
  13257. },
  13258. "sellnickname": {
  13259. "description": "采购方昵称",
  13260. "type": "string"
  13261. },
  13262. "selluserid": {
  13263. "description": "销售方ID",
  13264. "type": "integer"
  13265. },
  13266. "sellusername": {
  13267. "description": "销售方名称",
  13268. "type": "string"
  13269. },
  13270. "spotcontractid": {
  13271. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13272. "type": "string"
  13273. },
  13274. "spotgoodsbrandid": {
  13275. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13276. "type": "integer"
  13277. },
  13278. "spotgoodsdesc": {
  13279. "description": "商品型号",
  13280. "type": "string"
  13281. },
  13282. "startdate": {
  13283. "description": "点价开始日期 [2:点价 3:暂定价]",
  13284. "type": "string"
  13285. },
  13286. "tradeuserid": {
  13287. "description": "交易员id",
  13288. "type": "integer"
  13289. },
  13290. "tradeuserlogincode": {
  13291. "description": "交易员登录代码",
  13292. "type": "string"
  13293. },
  13294. "tradeusername": {
  13295. "description": "交易员名称",
  13296. "type": "string"
  13297. },
  13298. "unitid": {
  13299. "description": "单位id(取品类上的单位id)",
  13300. "type": "integer"
  13301. },
  13302. "updatetime": {
  13303. "description": "更新时间",
  13304. "type": "string"
  13305. },
  13306. "userid": {
  13307. "description": "所属机构ID",
  13308. "type": "integer"
  13309. },
  13310. "wrstandardcode": {
  13311. "description": "品类代码",
  13312. "type": "string"
  13313. },
  13314. "wrstandardid": {
  13315. "description": "品类ID",
  13316. "type": "integer"
  13317. },
  13318. "wrstandardname": {
  13319. "description": "品类名称",
  13320. "type": "string"
  13321. }
  13322. }
  13323. },
  13324. "models.Ermcp3ExposureContractDetail": {
  13325. "type": "object",
  13326. "properties": {
  13327. "biztype": {
  13328. "description": "业务类型 1-套保 2-套利",
  13329. "type": "integer"
  13330. },
  13331. "brandname": {
  13332. "description": "品牌名称",
  13333. "type": "string"
  13334. },
  13335. "buyuserid": {
  13336. "description": "采购方id",
  13337. "type": "integer"
  13338. },
  13339. "buyusername": {
  13340. "description": "采购方名称",
  13341. "type": "string"
  13342. },
  13343. "contractno": {
  13344. "description": "合同编号",
  13345. "type": "string"
  13346. },
  13347. "contracttype": {
  13348. "description": "现货合同类型 - 1:采购 -1:销售",
  13349. "type": "integer"
  13350. },
  13351. "convertratio": {
  13352. "description": "折算系数(套保品种)",
  13353. "type": "number"
  13354. },
  13355. "curqty": {
  13356. "description": "今定价量",
  13357. "type": "number"
  13358. },
  13359. "deliverygoodscode": {
  13360. "description": "现货商品代码",
  13361. "type": "string"
  13362. },
  13363. "deliverygoodsid": {
  13364. "description": "现货商品id",
  13365. "type": "integer"
  13366. },
  13367. "deliverygoodsname": {
  13368. "description": "现货商品名称",
  13369. "type": "string"
  13370. },
  13371. "diffqty": {
  13372. "description": "套保品种今变动量",
  13373. "type": "number"
  13374. },
  13375. "enumdicname": {
  13376. "description": "单位名称",
  13377. "type": "string"
  13378. },
  13379. "middlegoodscode": {
  13380. "description": "套保品种代码",
  13381. "type": "string"
  13382. },
  13383. "middlegoodsid": {
  13384. "description": "套保品种id",
  13385. "type": "integer"
  13386. },
  13387. "middlegoodsname": {
  13388. "description": "套保品种名称",
  13389. "type": "string"
  13390. },
  13391. "needarbitrageratio": {
  13392. "description": "应套利比例",
  13393. "type": "number"
  13394. },
  13395. "needhedgeratio": {
  13396. "description": "应套保比例",
  13397. "type": "number"
  13398. },
  13399. "pricedqty": {
  13400. "description": "已定价量",
  13401. "type": "number"
  13402. },
  13403. "qty": {
  13404. "description": "合同量",
  13405. "type": "number"
  13406. },
  13407. "selluserid": {
  13408. "description": "销售方id",
  13409. "type": "integer"
  13410. },
  13411. "sellusername": {
  13412. "description": "销售方名称",
  13413. "type": "string"
  13414. },
  13415. "spotcontractid": {
  13416. "description": "合同id",
  13417. "type": "string"
  13418. },
  13419. "tradedate": {
  13420. "description": "交易日",
  13421. "type": "string"
  13422. },
  13423. "unitid": {
  13424. "description": "品类单位id",
  13425. "type": "integer"
  13426. },
  13427. "userid": {
  13428. "description": "机构id",
  13429. "type": "integer"
  13430. },
  13431. "wrstandardcode": {
  13432. "description": "品类代码",
  13433. "type": "string"
  13434. },
  13435. "wrstandardid": {
  13436. "description": "品类id",
  13437. "type": "integer"
  13438. },
  13439. "wrstandardname": {
  13440. "description": "品类名称",
  13441. "type": "string"
  13442. }
  13443. }
  13444. },
  13445. "models.Ermcp3ExposureDetail": {
  13446. "type": "object",
  13447. "properties": {
  13448. "areauserid": {
  13449. "description": "机构ID",
  13450. "type": "integer"
  13451. },
  13452. "changeQty": {
  13453. "description": "套保变动量",
  13454. "type": "number"
  13455. },
  13456. "contracttype": {
  13457. "description": "现货合同类型 - 1:采购 -1:销售",
  13458. "type": "integer"
  13459. },
  13460. "convertfactor": {
  13461. "description": "标仓系数",
  13462. "type": "number"
  13463. },
  13464. "convertratio": {
  13465. "description": "套保系数",
  13466. "type": "number"
  13467. },
  13468. "createtime": {
  13469. "description": "时间",
  13470. "type": "string"
  13471. },
  13472. "deliverygoodscode": {
  13473. "description": "现货品种代码",
  13474. "type": "string"
  13475. },
  13476. "deliverygoodsid": {
  13477. "description": "现货品种id",
  13478. "type": "integer"
  13479. },
  13480. "deliverygoodsname": {
  13481. "description": "现货品种名称",
  13482. "type": "string"
  13483. },
  13484. "enumdicname": {
  13485. "description": "现货商品单位名称",
  13486. "type": "string"
  13487. },
  13488. "logtype": {
  13489. "description": "类型 - 1:套保计划 2:现货合同",
  13490. "type": "integer"
  13491. },
  13492. "mgunitid": {
  13493. "description": "套保品种单位id",
  13494. "type": "integer"
  13495. },
  13496. "mgunitidname": {
  13497. "description": "套保品种单位名称",
  13498. "type": "string"
  13499. },
  13500. "middlegoodsId": {
  13501. "description": "套保商品id",
  13502. "type": "integer"
  13503. },
  13504. "middlegoodscode": {
  13505. "description": "套保商品代码",
  13506. "type": "string"
  13507. },
  13508. "middlegoodsname": {
  13509. "description": "套保商品名称",
  13510. "type": "string"
  13511. },
  13512. "qty": {
  13513. "description": "数量",
  13514. "type": "number"
  13515. },
  13516. "relateNo": {
  13517. "description": "现货合同/套保计划编号",
  13518. "type": "string"
  13519. }
  13520. }
  13521. },
  13522. "models.Ermcp3ExposureHedgeplanDetail": {
  13523. "type": "object",
  13524. "properties": {
  13525. "biztype": {
  13526. "description": "业务类型 1-套保 2-套利",
  13527. "type": "integer"
  13528. },
  13529. "changqty": {
  13530. "description": "应套保总量变化量",
  13531. "type": "number"
  13532. },
  13533. "contracttype": {
  13534. "description": "计划类型 - 1:采购 -1:销售",
  13535. "type": "integer"
  13536. },
  13537. "convertratio": {
  13538. "description": "折算系数(套保品种)",
  13539. "type": "number"
  13540. },
  13541. "deliverygoodsid": {
  13542. "description": "现货商品id",
  13543. "type": "integer"
  13544. },
  13545. "diffqty": {
  13546. "description": "套保品种今变动量",
  13547. "type": "number"
  13548. },
  13549. "enumdicname": {
  13550. "description": "单位名称(品类)",
  13551. "type": "string"
  13552. },
  13553. "hedgeplanid": {
  13554. "description": "套保计划id",
  13555. "type": "string"
  13556. },
  13557. "hedgeplanno": {
  13558. "description": "套保计划编号",
  13559. "type": "string"
  13560. },
  13561. "hedgeplanstatus": {
  13562. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13563. "type": "integer"
  13564. },
  13565. "mgunitidname": {
  13566. "description": "单位名称(套保商品)",
  13567. "type": "string"
  13568. },
  13569. "middlegoodscode": {
  13570. "description": "套保品种代码",
  13571. "type": "string"
  13572. },
  13573. "middlegoodsid": {
  13574. "description": "套保品种id",
  13575. "type": "integer"
  13576. },
  13577. "middlegoodsname": {
  13578. "description": "套保品种名称",
  13579. "type": "string"
  13580. },
  13581. "needarbitrageratio": {
  13582. "description": "应套利比例",
  13583. "type": "number"
  13584. },
  13585. "needhedgeratio": {
  13586. "description": "应套保比例",
  13587. "type": "number"
  13588. },
  13589. "pricedqty": {
  13590. "description": "已定价量",
  13591. "type": "number"
  13592. },
  13593. "qty": {
  13594. "description": "合同量",
  13595. "type": "number"
  13596. },
  13597. "tradedate": {
  13598. "description": "交易日(登记日)",
  13599. "type": "string"
  13600. },
  13601. "unitid": {
  13602. "description": "品类单位id",
  13603. "type": "integer"
  13604. },
  13605. "userid": {
  13606. "description": "机构id",
  13607. "type": "integer"
  13608. },
  13609. "wrstandardcode": {
  13610. "description": "品类代码",
  13611. "type": "string"
  13612. },
  13613. "wrstandardid": {
  13614. "description": "品类id",
  13615. "type": "integer"
  13616. },
  13617. "wrstandardname": {
  13618. "description": "品类名称",
  13619. "type": "string"
  13620. }
  13621. }
  13622. },
  13623. "models.Ermcp3ExpourseReport": {
  13624. "type": "object",
  13625. "properties": {
  13626. "accountid": {
  13627. "description": "期货账户ID (作废, 默认为0)",
  13628. "type": "integer"
  13629. },
  13630. "accountname": {
  13631. "description": "机构名称",
  13632. "type": "string"
  13633. },
  13634. "arbitrageqty": {
  13635. "description": "套利量",
  13636. "type": "number"
  13637. },
  13638. "areauserid": {
  13639. "description": "所属机构\\交易用户ID",
  13640. "type": "integer"
  13641. },
  13642. "buyfutureqty": {
  13643. "description": "买入期货数量",
  13644. "type": "number"
  13645. },
  13646. "buyplanqty": {
  13647. "description": "采购计划数量",
  13648. "type": "number"
  13649. },
  13650. "buypricedqty": {
  13651. "description": "采购合同已定价数量",
  13652. "type": "number"
  13653. },
  13654. "cycletime": {
  13655. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13656. "type": "string"
  13657. },
  13658. "cycletype": {
  13659. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13660. "type": "integer"
  13661. },
  13662. "diffexposure": {
  13663. "description": "变动量(套保敞口)",
  13664. "type": "number"
  13665. },
  13666. "difffutuqty": {
  13667. "description": "变动量(期货)",
  13668. "type": "number"
  13669. },
  13670. "diffhedgeqty": {
  13671. "description": "变动量(现货应套保总量)",
  13672. "type": "number"
  13673. },
  13674. "diffmgqtya": {
  13675. "description": "套保变动量",
  13676. "type": "number"
  13677. },
  13678. "diffmgqtyb": {
  13679. "description": "套利变动量",
  13680. "type": "number"
  13681. },
  13682. "diffqty": {
  13683. "description": "变动量(总敞口)",
  13684. "type": "number"
  13685. },
  13686. "diffspotqty": {
  13687. "description": "变动量(现货)",
  13688. "type": "number"
  13689. },
  13690. "enumdicname": {
  13691. "description": "单位名称",
  13692. "type": "string"
  13693. },
  13694. "hedgeqty": {
  13695. "description": "套保量",
  13696. "type": "number"
  13697. },
  13698. "mgneedhedgeratio": {
  13699. "description": "套保比例(套保品的)",
  13700. "type": "number"
  13701. },
  13702. "middlegoodsid": {
  13703. "description": "套保品种ID",
  13704. "type": "integer"
  13705. },
  13706. "middlegoodsname": {
  13707. "description": "套保商品名称",
  13708. "type": "string"
  13709. },
  13710. "middlgoodscode": {
  13711. "description": "套保商品代码",
  13712. "type": "string"
  13713. },
  13714. "needarbitrageqty": {
  13715. "description": "应套利量",
  13716. "type": "number"
  13717. },
  13718. "needarbitrageratio": {
  13719. "description": "套利比例(套保品的)",
  13720. "type": "number"
  13721. },
  13722. "needhedgeexposoure": {
  13723. "description": "应套保敞口(套保敞口)",
  13724. "type": "number"
  13725. },
  13726. "needhedgeqty": {
  13727. "description": "应套保量",
  13728. "type": "number"
  13729. },
  13730. "needhedgeratio": {
  13731. "description": "应套保敞口比例",
  13732. "type": "number"
  13733. },
  13734. "oriarbitrageqty": {
  13735. "description": "期初套利量",
  13736. "type": "number"
  13737. },
  13738. "oribuyfutureqty": {
  13739. "description": "期初买入期货数量",
  13740. "type": "number"
  13741. },
  13742. "oribuyplanqty": {
  13743. "description": "期初采购计划数量",
  13744. "type": "number"
  13745. },
  13746. "oribuypricedqty": {
  13747. "description": "期初采购合同已定价数量",
  13748. "type": "number"
  13749. },
  13750. "orihedgeqty": {
  13751. "description": "期初套保量",
  13752. "type": "number"
  13753. },
  13754. "orineedarbitrageqty": {
  13755. "description": "期初应套利量",
  13756. "type": "number"
  13757. },
  13758. "orineedhedgeexposoure": {
  13759. "description": "期初应套保敞口",
  13760. "type": "number"
  13761. },
  13762. "orineedhedgeqty": {
  13763. "description": "期初应套保量",
  13764. "type": "number"
  13765. },
  13766. "orisellfutureqty": {
  13767. "description": "期初卖出期货数量",
  13768. "type": "number"
  13769. },
  13770. "orisellplanqty": {
  13771. "description": "期初销售计划数量",
  13772. "type": "number"
  13773. },
  13774. "orisellpricedqty": {
  13775. "description": "期初销售合同已定价数量",
  13776. "type": "number"
  13777. },
  13778. "oritotalexposure": {
  13779. "description": "期初实时总敞口",
  13780. "type": "number"
  13781. },
  13782. "oritotalfutureqty": {
  13783. "description": "期初期货头寸总量",
  13784. "type": "number"
  13785. },
  13786. "oritotalneedhedgeqty": {
  13787. "description": "期初应套保总量",
  13788. "type": "number"
  13789. },
  13790. "oritotalspotqty": {
  13791. "description": "期初现货头寸总量",
  13792. "type": "number"
  13793. },
  13794. "reckondate": {
  13795. "description": "日照时期(yyyyMMdd)",
  13796. "type": "string"
  13797. },
  13798. "sellfutureqty": {
  13799. "description": "卖出期货数量",
  13800. "type": "number"
  13801. },
  13802. "sellplanqty": {
  13803. "description": "销售计划数量",
  13804. "type": "number"
  13805. },
  13806. "sellpricedqty": {
  13807. "description": "销售合同已定价数量",
  13808. "type": "number"
  13809. },
  13810. "totalexposure": {
  13811. "description": "实时总敞口(总敞口)",
  13812. "type": "number"
  13813. },
  13814. "totalfutureqty": {
  13815. "description": "期货头寸总量(期货总量)",
  13816. "type": "number"
  13817. },
  13818. "totalhedgeratio": {
  13819. "description": "敞口比例",
  13820. "type": "number"
  13821. },
  13822. "totalneedhedgeqty": {
  13823. "description": "应套保总量(现货应套保总量)",
  13824. "type": "number"
  13825. },
  13826. "totalspotqty": {
  13827. "description": "现货头寸总量",
  13828. "type": "number"
  13829. },
  13830. "unitid": {
  13831. "description": "单位id",
  13832. "type": "integer"
  13833. },
  13834. "updatetime": {
  13835. "description": "更新时间",
  13836. "type": "string"
  13837. }
  13838. }
  13839. },
  13840. "models.Ermcp3FinanceReport": {
  13841. "type": "object",
  13842. "properties": {
  13843. "areauserid": {
  13844. "description": "所属机构\\交易用户ID",
  13845. "type": "integer"
  13846. },
  13847. "biztype": {
  13848. "description": "业务类型 - 1:套保 2:套利",
  13849. "type": "integer"
  13850. },
  13851. "brandname": {
  13852. "description": "品牌名称",
  13853. "type": "string"
  13854. },
  13855. "buypreinvoicedamount": {
  13856. "description": "采购预收票额(预收票额)",
  13857. "type": "number"
  13858. },
  13859. "buyprepaidamount": {
  13860. "description": "采购预付款额(预付货款额)",
  13861. "type": "number"
  13862. },
  13863. "buytodayinvoiceamount": {
  13864. "description": "采购今收票额(今收票额)",
  13865. "type": "number"
  13866. },
  13867. "buytodayrefundamount": {
  13868. "description": "采购今收退款额(今收退款额)",
  13869. "type": "number"
  13870. },
  13871. "buytodaysettleamount": {
  13872. "description": "采购今付款额(今付货款额)",
  13873. "type": "number"
  13874. },
  13875. "buyuninvoicedamount": {
  13876. "description": "采购应收票额(应收票额)",
  13877. "type": "number"
  13878. },
  13879. "buyunpaidamount": {
  13880. "description": "采购应付款额(应付货款额)",
  13881. "type": "number"
  13882. },
  13883. "currencyid": {
  13884. "description": "结算币种ID",
  13885. "type": "integer"
  13886. },
  13887. "currencyname": {
  13888. "description": "币种名称",
  13889. "type": "string"
  13890. },
  13891. "cycletime": {
  13892. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13893. "type": "string"
  13894. },
  13895. "cycletype": {
  13896. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13897. "type": "integer"
  13898. },
  13899. "deliverygoodscode": {
  13900. "description": "现货品种代码",
  13901. "type": "string"
  13902. },
  13903. "deliverygoodsid": {
  13904. "description": "现货品种ID",
  13905. "type": "integer"
  13906. },
  13907. "deliverygoodsname": {
  13908. "description": "现货品种名称",
  13909. "type": "string"
  13910. },
  13911. "reckondate": {
  13912. "description": "日照时期(yyyyMMdd)",
  13913. "type": "string"
  13914. },
  13915. "sellpreinvoicedamount": {
  13916. "description": "销售预开票额(预开票额)",
  13917. "type": "number"
  13918. },
  13919. "sellprepaidamount": {
  13920. "description": "销售预收款额(预收货款额)",
  13921. "type": "number"
  13922. },
  13923. "selltodayinvoiceamount": {
  13924. "description": "销售今开票额(今开票额)",
  13925. "type": "number"
  13926. },
  13927. "selltodayrefundamount": {
  13928. "description": "销售今付退款额(今付退款额)",
  13929. "type": "number"
  13930. },
  13931. "selltodaysettleamount": {
  13932. "description": "销售今收款额(今收货款额)",
  13933. "type": "number"
  13934. },
  13935. "selluninvoicedamount": {
  13936. "description": "销售应开票额(应开票额)",
  13937. "type": "number"
  13938. },
  13939. "sellunpaidamount": {
  13940. "description": "销售应收款额(应收货款额)",
  13941. "type": "number"
  13942. },
  13943. "spotgoodsbrandid": {
  13944. "description": "现货品牌ID",
  13945. "type": "integer"
  13946. },
  13947. "todaypaysum": {
  13948. "description": "今付款合计",
  13949. "type": "number"
  13950. },
  13951. "todayreceivesum": {
  13952. "description": "今收款合计",
  13953. "type": "number"
  13954. },
  13955. "updatetime": {
  13956. "description": "更新时间",
  13957. "type": "string"
  13958. },
  13959. "wrfactortypeid": {
  13960. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13961. "type": "integer"
  13962. },
  13963. "wrstandardcode": {
  13964. "description": "品类代码",
  13965. "type": "string"
  13966. },
  13967. "wrstandardid": {
  13968. "description": "现货商品ID",
  13969. "type": "integer"
  13970. },
  13971. "wrstandardname": {
  13972. "description": "品类名称",
  13973. "type": "string"
  13974. }
  13975. }
  13976. },
  13977. "models.Ermcp3Goods": {
  13978. "type": "object",
  13979. "properties": {
  13980. "agreeunit": {
  13981. "description": "合约单位(合约乘数)",
  13982. "type": "number"
  13983. },
  13984. "enumdicname": {
  13985. "description": "单位名称",
  13986. "type": "string"
  13987. },
  13988. "exexchangecode": {
  13989. "description": "交易所代码",
  13990. "type": "string"
  13991. },
  13992. "goodscode": {
  13993. "description": "期货商品代码",
  13994. "type": "string"
  13995. },
  13996. "goodsid": {
  13997. "description": "期货商品id",
  13998. "type": "integer"
  13999. },
  14000. "goodsname": {
  14001. "description": "期货商品名称",
  14002. "type": "string"
  14003. }
  14004. }
  14005. },
  14006. "models.Ermcp3GoodsGroup": {
  14007. "type": "object",
  14008. "required": [
  14009. "areauserid"
  14010. ],
  14011. "properties": {
  14012. "agreeunit": {
  14013. "description": "合约单位",
  14014. "type": "number"
  14015. },
  14016. "areauserid": {
  14017. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14018. "type": "integer"
  14019. },
  14020. "canshort": {
  14021. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14022. "type": "integer"
  14023. },
  14024. "closepricemode": {
  14025. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14026. "type": "integer"
  14027. },
  14028. "createtime": {
  14029. "description": "创建时间",
  14030. "type": "string"
  14031. },
  14032. "creatorid": {
  14033. "description": "创建人",
  14034. "type": "integer"
  14035. },
  14036. "currencyid": {
  14037. "description": "报价货币ID",
  14038. "type": "integer"
  14039. },
  14040. "decimalplace": {
  14041. "description": "报价小数位",
  14042. "type": "integer"
  14043. },
  14044. "enumdicname": {
  14045. "description": "单位名称",
  14046. "type": "string"
  14047. },
  14048. "excludecfg": {
  14049. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14050. "type": "integer"
  14051. },
  14052. "exexchangeid": {
  14053. "description": "外部交易所ID[通道交易]",
  14054. "type": "integer"
  14055. },
  14056. "goodsgroupid": {
  14057. "description": "商品组ID(自增ID)",
  14058. "type": "integer"
  14059. },
  14060. "goodsgroupname": {
  14061. "description": "商品组名称",
  14062. "type": "string"
  14063. },
  14064. "goodsgroupstatus": {
  14065. "description": "商品组状态 - 1:正常 2:注销",
  14066. "type": "integer"
  14067. },
  14068. "goodunitid": {
  14069. "description": "报价单位ID",
  14070. "type": "integer"
  14071. },
  14072. "groupcategroyid": {
  14073. "description": "品种分类ID",
  14074. "type": "integer"
  14075. },
  14076. "innerdealmode": {
  14077. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14078. "type": "integer"
  14079. },
  14080. "marketid": {
  14081. "description": "所属市场ID",
  14082. "type": "integer"
  14083. },
  14084. "modifierid": {
  14085. "description": "修改人",
  14086. "type": "integer"
  14087. },
  14088. "modifytime": {
  14089. "description": "修改时间",
  14090. "type": "string"
  14091. },
  14092. "outerdealmode": {
  14093. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14094. "type": "integer"
  14095. },
  14096. "outergroupcode": {
  14097. "description": "外部商品组代码[通道交易]",
  14098. "type": "string"
  14099. },
  14100. "quoteminunit": {
  14101. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14102. "type": "integer"
  14103. },
  14104. "quotesourcegroupid": {
  14105. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14106. "type": "integer"
  14107. },
  14108. "syncgoodsqty": {
  14109. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14110. "type": "integer"
  14111. }
  14112. }
  14113. },
  14114. "models.Ermcp3GoodsGroupEx": {
  14115. "type": "object",
  14116. "properties": {
  14117. "convertratio": {
  14118. "description": "折算系数(品种系数)",
  14119. "type": "number"
  14120. },
  14121. "enumdicname": {
  14122. "description": "单位名称",
  14123. "type": "string"
  14124. },
  14125. "exexchangecode": {
  14126. "description": "交易所代码",
  14127. "type": "string"
  14128. },
  14129. "glist": {
  14130. "description": "合约列表",
  14131. "type": "array",
  14132. "items": {
  14133. "$ref": "#/definitions/models.Ermcp3Goods"
  14134. }
  14135. },
  14136. "goodsgroupid": {
  14137. "description": "商品组id",
  14138. "type": "integer"
  14139. },
  14140. "goodsgroupname": {
  14141. "description": "商品组名称",
  14142. "type": "string"
  14143. },
  14144. "goodsunitid": {
  14145. "description": "单位id",
  14146. "type": "integer"
  14147. },
  14148. "middlegoodsid": {
  14149. "description": "套保商品id",
  14150. "type": "integer"
  14151. }
  14152. }
  14153. },
  14154. "models.Ermcp3HedgePlan": {
  14155. "type": "object",
  14156. "properties": {
  14157. "accountid": {
  14158. "description": "资金账号",
  14159. "type": "integer"
  14160. },
  14161. "areauserid": {
  14162. "description": "用户ID",
  14163. "type": "integer"
  14164. },
  14165. "audittime": {
  14166. "description": "审核时间",
  14167. "type": "string"
  14168. },
  14169. "contracttype": {
  14170. "description": "计划类型 - 1:采购 -1:销售",
  14171. "type": "integer"
  14172. },
  14173. "convertfactor": {
  14174. "description": "标仓系数",
  14175. "type": "number"
  14176. },
  14177. "createtime": {
  14178. "description": "创建时间",
  14179. "type": "string"
  14180. },
  14181. "currencyid": {
  14182. "description": "币种id",
  14183. "type": "integer"
  14184. },
  14185. "currencyname": {
  14186. "description": "币种名称",
  14187. "type": "string"
  14188. },
  14189. "deliverygoodscode": {
  14190. "description": "现货品种代码",
  14191. "type": "string"
  14192. },
  14193. "deliverygoodsid": {
  14194. "description": "现货品种ID",
  14195. "type": "integer"
  14196. },
  14197. "deliverygoodsname": {
  14198. "description": "现货品种名称",
  14199. "type": "string"
  14200. },
  14201. "enumdicname": {
  14202. "description": "单位名称(现货商品)",
  14203. "type": "string"
  14204. },
  14205. "hedgeplanid": {
  14206. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14207. "type": "string"
  14208. },
  14209. "hedgeplanno": {
  14210. "description": "套保计划编号(名称)",
  14211. "type": "string"
  14212. },
  14213. "hedgeplanstatus": {
  14214. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14215. "type": "integer"
  14216. },
  14217. "planqty": {
  14218. "description": "计划数量",
  14219. "type": "number"
  14220. },
  14221. "plantime": {
  14222. "description": "计划时间",
  14223. "type": "string"
  14224. },
  14225. "producttype": {
  14226. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14227. "type": "integer"
  14228. },
  14229. "remark": {
  14230. "description": "备注",
  14231. "type": "string"
  14232. },
  14233. "spotgoodsdesc": {
  14234. "description": "商品型号",
  14235. "type": "string"
  14236. },
  14237. "taaccountname": {
  14238. "description": "资金账号名称",
  14239. "type": "string"
  14240. },
  14241. "tradeuserid": {
  14242. "description": "交易用户id",
  14243. "type": "integer"
  14244. },
  14245. "tradeusername": {
  14246. "description": "交易用户名称",
  14247. "type": "string"
  14248. },
  14249. "unitid": {
  14250. "description": "单位id(现货商品)",
  14251. "type": "integer"
  14252. },
  14253. "updatetime": {
  14254. "description": "更新时间",
  14255. "type": "string"
  14256. },
  14257. "wrstandardcode": {
  14258. "description": "品类代码",
  14259. "type": "string"
  14260. },
  14261. "wrstandardid": {
  14262. "description": "品类id",
  14263. "type": "integer"
  14264. },
  14265. "wrstandardname": {
  14266. "description": "品类名称",
  14267. "type": "string"
  14268. },
  14269. "wrunitid": {
  14270. "description": "品类单位id",
  14271. "type": "integer"
  14272. },
  14273. "wrunitidame": {
  14274. "description": "品类单位名称",
  14275. "type": "string"
  14276. }
  14277. }
  14278. },
  14279. "models.Ermcp3MiddleGoodsDetail2": {
  14280. "type": "object",
  14281. "properties": {
  14282. "convertratio": {
  14283. "description": "套保系数(折算系数)",
  14284. "type": "number"
  14285. },
  14286. "gplist": {
  14287. "description": "关联商品组列表",
  14288. "type": "array",
  14289. "items": {
  14290. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14291. }
  14292. },
  14293. "mg": {
  14294. "description": "套保商品信息",
  14295. "type": "object",
  14296. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14297. }
  14298. }
  14299. },
  14300. "models.Ermcp3MiddleGoodsDetailEx": {
  14301. "type": "object",
  14302. "properties": {
  14303. "dglist": {
  14304. "description": "关联的现货品种列表",
  14305. "type": "array",
  14306. "items": {
  14307. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14308. }
  14309. },
  14310. "gplist": {
  14311. "description": "关联商品组列表",
  14312. "type": "array",
  14313. "items": {
  14314. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14315. }
  14316. },
  14317. "mg": {
  14318. "description": "套保商品信息",
  14319. "type": "object",
  14320. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14321. }
  14322. }
  14323. },
  14324. "models.Ermcp3SellBuyContract": {
  14325. "type": "object",
  14326. "properties": {
  14327. "accountid": {
  14328. "description": "期货账户id",
  14329. "type": "string"
  14330. },
  14331. "accountname": {
  14332. "description": "账户名称",
  14333. "type": "string"
  14334. },
  14335. "attachment": {
  14336. "description": "附件",
  14337. "type": "string"
  14338. },
  14339. "audittime": {
  14340. "description": "审核时间",
  14341. "type": "string"
  14342. },
  14343. "biztype": {
  14344. "description": "业务类型 1-套保 2-套利",
  14345. "type": "integer"
  14346. },
  14347. "brandname": {
  14348. "description": "品牌名称",
  14349. "type": "string"
  14350. },
  14351. "contracctstatus": {
  14352. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14353. "type": "integer"
  14354. },
  14355. "contractmargin": {
  14356. "description": "合同保证金",
  14357. "type": "number"
  14358. },
  14359. "contractno": {
  14360. "description": "合同编号",
  14361. "type": "string"
  14362. },
  14363. "contracttype": {
  14364. "description": "合同类型 1-采购, -1-销售",
  14365. "type": "integer"
  14366. },
  14367. "convertfactor": {
  14368. "description": "标仓系数(品类)",
  14369. "type": "number"
  14370. },
  14371. "createtime": {
  14372. "description": "创建时间",
  14373. "type": "string"
  14374. },
  14375. "currencyid": {
  14376. "description": "币种id",
  14377. "type": "integer"
  14378. },
  14379. "currencyname": {
  14380. "description": "币种名称",
  14381. "type": "string"
  14382. },
  14383. "daikaiamount": {
  14384. "description": "应收(开)票额",
  14385. "type": "number"
  14386. },
  14387. "deliveryenddate": {
  14388. "description": "交割结束日",
  14389. "type": "string"
  14390. },
  14391. "deliverygoodscode": {
  14392. "description": "现货品种代码",
  14393. "type": "string"
  14394. },
  14395. "deliverygoodsid": {
  14396. "description": "现货商品ID",
  14397. "type": "integer"
  14398. },
  14399. "deliverygoodsname": {
  14400. "description": "现货品种名称",
  14401. "type": "string"
  14402. },
  14403. "deliverystartdate": {
  14404. "description": "交割开始日",
  14405. "type": "string"
  14406. },
  14407. "enddate": {
  14408. "description": "点价结束日",
  14409. "type": "string"
  14410. },
  14411. "enumdicname": {
  14412. "description": "单位名称",
  14413. "type": "string"
  14414. },
  14415. "goodscode": {
  14416. "description": "点价商品代码",
  14417. "type": "string"
  14418. },
  14419. "goodsid": {
  14420. "description": "点价商品ID",
  14421. "type": "integer"
  14422. },
  14423. "goodsname": {
  14424. "description": "点价商品名称",
  14425. "type": "string"
  14426. },
  14427. "invoiceamount": {
  14428. "description": "已开票额",
  14429. "type": "number"
  14430. },
  14431. "loanamount": {
  14432. "description": "贷款总额=已定价额+调整金额",
  14433. "type": "number"
  14434. },
  14435. "margin": {
  14436. "description": "保证金",
  14437. "type": "number"
  14438. },
  14439. "meruserid": {
  14440. "description": "跟单员id",
  14441. "type": "integer"
  14442. },
  14443. "meruserlogincode": {
  14444. "description": "跟单员登录代码",
  14445. "type": "string"
  14446. },
  14447. "nickname": {
  14448. "description": "账户昵称",
  14449. "type": "string"
  14450. },
  14451. "payamount": {
  14452. "description": "已收付额(收款或付款)",
  14453. "type": "number"
  14454. },
  14455. "preinvoiceamount": {
  14456. "description": "预收(开)票额",
  14457. "type": "number"
  14458. },
  14459. "prepayamount": {
  14460. "description": "预收付额",
  14461. "type": "number"
  14462. },
  14463. "price": {
  14464. "description": "价格",
  14465. "type": "number"
  14466. },
  14467. "pricedamount": {
  14468. "description": "已定价额",
  14469. "type": "number"
  14470. },
  14471. "pricedavg": {
  14472. "description": "已点均价",
  14473. "type": "number"
  14474. },
  14475. "pricedqty": {
  14476. "description": "已定价量",
  14477. "type": "number"
  14478. },
  14479. "pricemove": {
  14480. "description": "升贴水",
  14481. "type": "number"
  14482. },
  14483. "pricetype": {
  14484. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14485. "type": "integer"
  14486. },
  14487. "producttype": {
  14488. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14489. "type": "integer"
  14490. },
  14491. "qty": {
  14492. "description": "合同量",
  14493. "type": "number"
  14494. },
  14495. "reckonadjustamount": {
  14496. "description": "调整金额",
  14497. "type": "number"
  14498. },
  14499. "reckonedamount": {
  14500. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14501. "type": "number"
  14502. },
  14503. "reckonotheramount": {
  14504. "description": "其它费用",
  14505. "type": "number"
  14506. },
  14507. "reckonrealqty": {
  14508. "description": "已确定量",
  14509. "type": "number"
  14510. },
  14511. "remark": {
  14512. "description": "备注",
  14513. "type": "string"
  14514. },
  14515. "saleuserid": {
  14516. "description": "业务员id",
  14517. "type": "integer"
  14518. },
  14519. "saleuserlogincode": {
  14520. "description": "业务员登录代码",
  14521. "type": "string"
  14522. },
  14523. "spotcontractid": {
  14524. "description": "合同ID",
  14525. "type": "string"
  14526. },
  14527. "spotgoodsbrandid": {
  14528. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14529. "type": "integer"
  14530. },
  14531. "spotgoodsdesc": {
  14532. "description": "商品型号(商品规格)",
  14533. "type": "string"
  14534. },
  14535. "startdate": {
  14536. "description": "点价开始日",
  14537. "type": "string"
  14538. },
  14539. "totalamount": {
  14540. "description": "合计总额",
  14541. "type": "number"
  14542. },
  14543. "tradeuserid": {
  14544. "description": "交易员id",
  14545. "type": "integer"
  14546. },
  14547. "tradeuserlogincode": {
  14548. "description": "交易员登录代码",
  14549. "type": "string"
  14550. },
  14551. "tradeusername": {
  14552. "description": "交易员名称",
  14553. "type": "string"
  14554. },
  14555. "unpayamount": {
  14556. "description": "应收付款额(应支付或应收款)",
  14557. "type": "number"
  14558. },
  14559. "unpricedqty": {
  14560. "description": "未定价量",
  14561. "type": "number"
  14562. },
  14563. "unsureqty": {
  14564. "description": "未确定量",
  14565. "type": "number"
  14566. },
  14567. "userid": {
  14568. "description": "机构ID",
  14569. "type": "integer"
  14570. },
  14571. "wrstandardcode": {
  14572. "description": "品类代码",
  14573. "type": "string"
  14574. },
  14575. "wrstandardid": {
  14576. "description": "品类ID",
  14577. "type": "integer"
  14578. },
  14579. "wrstandardname": {
  14580. "description": "品类名称",
  14581. "type": "string"
  14582. }
  14583. }
  14584. },
  14585. "models.Ermcp3SpotGoodsPrice": {
  14586. "type": "object",
  14587. "properties": {
  14588. "areauserid": {
  14589. "description": "所属机构id",
  14590. "type": "integer"
  14591. },
  14592. "brandname": {
  14593. "description": "品牌名称",
  14594. "type": "string"
  14595. },
  14596. "currencyid": {
  14597. "description": "报价货币ID",
  14598. "type": "integer"
  14599. },
  14600. "currencyname": {
  14601. "description": "币种名称",
  14602. "type": "string"
  14603. },
  14604. "deliverygoodscode": {
  14605. "description": "现货商品代码",
  14606. "type": "string"
  14607. },
  14608. "deliverygoodsid": {
  14609. "description": "现货商品id",
  14610. "type": "integer"
  14611. },
  14612. "deliverygoodsname": {
  14613. "description": "现货商品名称",
  14614. "type": "string"
  14615. },
  14616. "enumdicname": {
  14617. "description": "现货商品单位名称",
  14618. "type": "string"
  14619. },
  14620. "gbenumdicname": {
  14621. "description": "品类单位名称",
  14622. "type": "string"
  14623. },
  14624. "gmunitid": {
  14625. "description": "品类单位id",
  14626. "type": "integer"
  14627. },
  14628. "isvalid": {
  14629. "description": "是否有效 - 0:无效 1:有效",
  14630. "type": "integer"
  14631. },
  14632. "operateid": {
  14633. "description": "最后操作人",
  14634. "type": "integer"
  14635. },
  14636. "operatesrc": {
  14637. "description": "最后操作来源 - 1:管理端 2:终端",
  14638. "type": "integer"
  14639. },
  14640. "operatetime": {
  14641. "description": "最后操作时间",
  14642. "type": "string"
  14643. },
  14644. "operatorname": {
  14645. "description": "操作人名称",
  14646. "type": "string"
  14647. },
  14648. "spotgoodsbrandid": {
  14649. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14650. "type": "integer"
  14651. },
  14652. "spotgoodsprice": {
  14653. "description": "现货价格",
  14654. "type": "number"
  14655. },
  14656. "tradedate": {
  14657. "description": "交易日(yyyyMMdd)",
  14658. "type": "string"
  14659. },
  14660. "unitid": {
  14661. "description": "现货商品单位id",
  14662. "type": "integer"
  14663. },
  14664. "wrstandardcode": {
  14665. "description": "品类代码",
  14666. "type": "string"
  14667. },
  14668. "wrstandardid": {
  14669. "description": "现货品类ID(通用则为0)",
  14670. "type": "integer"
  14671. },
  14672. "wrstandardname": {
  14673. "description": "品类名称",
  14674. "type": "string"
  14675. }
  14676. }
  14677. },
  14678. "models.Ermcp3SpotGoodsPriceLog": {
  14679. "type": "object",
  14680. "properties": {
  14681. "areauserid": {
  14682. "description": "所属机构id",
  14683. "type": "integer"
  14684. },
  14685. "brandname": {
  14686. "description": "品牌名称",
  14687. "type": "string"
  14688. },
  14689. "currencyid": {
  14690. "description": "报价货币ID",
  14691. "type": "integer"
  14692. },
  14693. "deliverygoodscode": {
  14694. "description": "现货商品代码",
  14695. "type": "string"
  14696. },
  14697. "deliverygoodsid": {
  14698. "description": "现货商品id",
  14699. "type": "integer"
  14700. },
  14701. "deliverygoodsname": {
  14702. "description": "现货商品名称",
  14703. "type": "string"
  14704. },
  14705. "enumdicname": {
  14706. "description": "现货商品单位名称",
  14707. "type": "string"
  14708. },
  14709. "gbenumdicname": {
  14710. "description": "品类单位名称",
  14711. "type": "string"
  14712. },
  14713. "gmunitid": {
  14714. "description": "品类单位id",
  14715. "type": "integer"
  14716. },
  14717. "logid": {
  14718. "description": "日志id",
  14719. "type": "integer"
  14720. },
  14721. "operateid": {
  14722. "description": "最后操作人",
  14723. "type": "integer"
  14724. },
  14725. "operatesrc": {
  14726. "description": "最后操作来源 - 1:管理端 2:终端",
  14727. "type": "integer"
  14728. },
  14729. "operatetime": {
  14730. "description": "最后操作时间",
  14731. "type": "string"
  14732. },
  14733. "operatorname": {
  14734. "description": "操作人名称",
  14735. "type": "string"
  14736. },
  14737. "spotgoodsbrandid": {
  14738. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14739. "type": "integer"
  14740. },
  14741. "spotgoodsprice": {
  14742. "description": "现货价格",
  14743. "type": "number"
  14744. },
  14745. "tradedate": {
  14746. "description": "交易日(yyyyMMdd)",
  14747. "type": "string"
  14748. },
  14749. "unitid": {
  14750. "description": "现货商品单位id",
  14751. "type": "integer"
  14752. },
  14753. "wrstandardcode": {
  14754. "description": "品类代码",
  14755. "type": "string"
  14756. },
  14757. "wrstandardid": {
  14758. "description": "现货品类ID(通用则为0)",
  14759. "type": "integer"
  14760. },
  14761. "wrstandardname": {
  14762. "description": "品类名称",
  14763. "type": "string"
  14764. }
  14765. }
  14766. },
  14767. "models.Ermcp3Wrstandard": {
  14768. "type": "object",
  14769. "properties": {
  14770. "areauserid": {
  14771. "description": "所属机构",
  14772. "type": "integer"
  14773. },
  14774. "convertfactor": {
  14775. "description": "标仓系数",
  14776. "type": "number"
  14777. },
  14778. "createtime": {
  14779. "description": "创建时间",
  14780. "type": "string"
  14781. },
  14782. "creatorid": {
  14783. "description": "创建人",
  14784. "type": "integer"
  14785. },
  14786. "deliverygoodsid": {
  14787. "description": "现货品种ID",
  14788. "type": "integer"
  14789. },
  14790. "enumdicname": {
  14791. "description": "品类单位名称",
  14792. "type": "string"
  14793. },
  14794. "isvalid": {
  14795. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14796. "type": "integer"
  14797. },
  14798. "minivalue": {
  14799. "description": "最小变动值",
  14800. "type": "integer"
  14801. },
  14802. "minivaluedp": {
  14803. "description": "最小变动值小数位",
  14804. "type": "integer"
  14805. },
  14806. "realminivalue": {
  14807. "description": "实际最小变动值",
  14808. "type": "integer"
  14809. },
  14810. "realminivaluedp": {
  14811. "description": "实际最小变动值小数位",
  14812. "type": "integer"
  14813. },
  14814. "remark": {
  14815. "description": "备注",
  14816. "type": "string"
  14817. },
  14818. "unitid": {
  14819. "description": "品类单位ID",
  14820. "type": "integer"
  14821. },
  14822. "updatetime": {
  14823. "description": "更新时间",
  14824. "type": "string"
  14825. },
  14826. "wrstandardcode": {
  14827. "description": "品类代码",
  14828. "type": "string"
  14829. },
  14830. "wrstandardid": {
  14831. "description": "品类ID(SEQ_WRSTANDARD)",
  14832. "type": "integer"
  14833. },
  14834. "wrstandardname": {
  14835. "description": "品类名称",
  14836. "type": "string"
  14837. }
  14838. }
  14839. },
  14840. "models.ErmcpAreaSpotDetailModel": {
  14841. "type": "object",
  14842. "properties": {
  14843. "contracttype": {
  14844. "description": "合同类型 1-采购 -1-销售",
  14845. "type": "integer"
  14846. },
  14847. "createtime": {
  14848. "description": "创建时间",
  14849. "type": "string"
  14850. },
  14851. "enumdicname": {
  14852. "description": "现货商品单位名称",
  14853. "type": "string"
  14854. },
  14855. "logtype": {
  14856. "description": "记录类型 1-套保 2-现货合同",
  14857. "type": "integer"
  14858. },
  14859. "qty": {
  14860. "description": "数量",
  14861. "type": "number"
  14862. },
  14863. "recordname": {
  14864. "description": "类型名称",
  14865. "type": "string"
  14866. },
  14867. "relatedid": {
  14868. "description": "套保计划ID/现货合同ID",
  14869. "type": "string"
  14870. },
  14871. "relatedno": {
  14872. "description": "编号",
  14873. "type": "string"
  14874. },
  14875. "strtime": {
  14876. "description": "时间",
  14877. "type": "string"
  14878. },
  14879. "wrstandardcode": {
  14880. "description": "现货商品代码",
  14881. "type": "string"
  14882. },
  14883. "wrstandardname": {
  14884. "description": "现货商品名称",
  14885. "type": "string"
  14886. }
  14887. }
  14888. },
  14889. "models.ErmcpAvalidGoodsGroupModel": {
  14890. "type": "object",
  14891. "properties": {
  14892. "goodsgroupid": {
  14893. "description": "期货品种id",
  14894. "type": "integer"
  14895. },
  14896. "goodsgroupname": {
  14897. "description": "期货品种名称",
  14898. "type": "string"
  14899. },
  14900. "goodunitid": {
  14901. "description": "品种单位id",
  14902. "type": "integer"
  14903. },
  14904. "goodunitname": {
  14905. "description": "品种单位名称",
  14906. "type": "string"
  14907. },
  14908. "outergroupcode": {
  14909. "description": "期货品种代码",
  14910. "type": "string"
  14911. }
  14912. }
  14913. },
  14914. "models.ErmcpBizGroupEx": {
  14915. "type": "object",
  14916. "properties": {
  14917. "acclist": {
  14918. "description": "账号列表",
  14919. "type": "array",
  14920. "items": {
  14921. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  14922. }
  14923. },
  14924. "bizgroupid": {
  14925. "description": "业务分组id",
  14926. "type": "integer"
  14927. },
  14928. "biztype": {
  14929. "description": "业务类型 1-套保 2-套利",
  14930. "type": "integer"
  14931. },
  14932. "wrlist": {
  14933. "description": "现货商品表",
  14934. "type": "array",
  14935. "items": {
  14936. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  14937. }
  14938. }
  14939. }
  14940. },
  14941. "models.ErmcpBizGroupSpotGoods": {
  14942. "type": "object",
  14943. "properties": {
  14944. "areauserid": {
  14945. "description": "所属机构id",
  14946. "type": "integer"
  14947. },
  14948. "bizgroupid": {
  14949. "description": "分组id",
  14950. "type": "integer"
  14951. },
  14952. "biztype": {
  14953. "description": "业务类型 1-套保 2-套利",
  14954. "type": "integer"
  14955. },
  14956. "deliverygoodscode": {
  14957. "description": "现货商品代码",
  14958. "type": "string"
  14959. },
  14960. "deliverygoodsid": {
  14961. "description": "现货商品id",
  14962. "type": "integer"
  14963. },
  14964. "deliverygoodsname": {
  14965. "description": "现货商品名称",
  14966. "type": "string"
  14967. },
  14968. "unitid": {
  14969. "description": "现货商品单位id",
  14970. "type": "integer"
  14971. }
  14972. }
  14973. },
  14974. "models.ErmcpBizGroupTaAccount": {
  14975. "type": "object",
  14976. "properties": {
  14977. "accountid": {
  14978. "description": "账号id",
  14979. "type": "integer"
  14980. },
  14981. "accountname": {
  14982. "description": "账号名称",
  14983. "type": "string"
  14984. },
  14985. "areauserid": {
  14986. "description": "所属机构id",
  14987. "type": "integer"
  14988. },
  14989. "bizgroupid": {
  14990. "description": "业务分组id",
  14991. "type": "integer"
  14992. },
  14993. "ismain": {
  14994. "description": "是否主账号 1-是 0-否",
  14995. "type": "integer"
  14996. }
  14997. }
  14998. },
  14999. "models.ErmcpDGFactoryItem": {
  15000. "type": "object",
  15001. "properties": {
  15002. "areauserid": {
  15003. "description": "用户id",
  15004. "type": "integer"
  15005. },
  15006. "deliverygoodsid": {
  15007. "description": "现货品种ID",
  15008. "type": "integer"
  15009. },
  15010. "dgfactoryitemid": {
  15011. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15012. "type": "integer"
  15013. },
  15014. "dgfactoryitemtypeid": {
  15015. "description": "要素项类型",
  15016. "type": "integer"
  15017. },
  15018. "dgfactoryitemvalue": {
  15019. "description": "要素项值(类型为仓库时填写仓库名称)",
  15020. "type": "string"
  15021. },
  15022. "isvalid": {
  15023. "description": "是否有效 - 0:无效 1:有效",
  15024. "type": "integer"
  15025. },
  15026. "orderindex": {
  15027. "description": "顺序",
  15028. "type": "integer"
  15029. },
  15030. "warehouseid": {
  15031. "description": "仓库ID(类型为仓库时填写)",
  15032. "type": "integer"
  15033. }
  15034. }
  15035. },
  15036. "models.ErmcpDeliveryGoods": {
  15037. "type": "object",
  15038. "properties": {
  15039. "agreeunit": {
  15040. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15041. "type": "integer"
  15042. },
  15043. "areauserid": {
  15044. "description": "所属机构",
  15045. "type": "integer"
  15046. },
  15047. "auditflag": {
  15048. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15049. "type": "integer"
  15050. },
  15051. "categoryid": {
  15052. "description": "类别ID(SEQ_WRCATEGORY)",
  15053. "type": "integer"
  15054. },
  15055. "deliverygoodscode": {
  15056. "description": "现货品种代码",
  15057. "type": "string"
  15058. },
  15059. "deliverygoodsid": {
  15060. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15061. "type": "integer"
  15062. },
  15063. "deliverygoodsname": {
  15064. "description": "现货品种名称",
  15065. "type": "string"
  15066. },
  15067. "deliverygoodstype": {
  15068. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15069. "type": "integer"
  15070. },
  15071. "dgstatus": {
  15072. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15073. "type": "integer"
  15074. },
  15075. "enumdicname": {
  15076. "description": "现货品种单位名称",
  15077. "type": "string"
  15078. },
  15079. "goodsunitid": {
  15080. "description": "现货品种单位ID",
  15081. "type": "integer"
  15082. },
  15083. "isvalid": {
  15084. "description": "是否有效 - 0:无效 1:有效",
  15085. "type": "integer"
  15086. },
  15087. "qtydecimalplace": {
  15088. "description": "成交量小数位",
  15089. "type": "integer"
  15090. },
  15091. "remark": {
  15092. "description": "备注",
  15093. "type": "string"
  15094. },
  15095. "standardqty": {
  15096. "description": "标准数量(库位数量) [标准品特有]",
  15097. "type": "integer"
  15098. },
  15099. "standardqtyrange": {
  15100. "description": "标准数量偏差范围 [标准品特有]",
  15101. "type": "integer"
  15102. }
  15103. }
  15104. },
  15105. "models.ErmcpDeliveryGoodsDetail2": {
  15106. "type": "object",
  15107. "properties": {
  15108. "convertratio": {
  15109. "description": "套保系数(折算系数)",
  15110. "type": "number"
  15111. },
  15112. "data": {
  15113. "description": "现货商品基本信息(交割品种)",
  15114. "type": "object",
  15115. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15116. },
  15117. "gblist": {
  15118. "description": "品牌列表",
  15119. "type": "array",
  15120. "items": {
  15121. "$ref": "#/definitions/models.Ermcp3Brand"
  15122. }
  15123. },
  15124. "gmlist": {
  15125. "description": "品类列表(仓单标准)",
  15126. "type": "array",
  15127. "items": {
  15128. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15129. }
  15130. }
  15131. }
  15132. },
  15133. "models.ErmcpDeliveryGoodsDetailEx": {
  15134. "type": "object",
  15135. "properties": {
  15136. "data": {
  15137. "description": "现货商品基本信息(交割品种)",
  15138. "type": "object",
  15139. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15140. },
  15141. "gblist": {
  15142. "description": "品牌列表",
  15143. "type": "array",
  15144. "items": {
  15145. "$ref": "#/definitions/models.Ermcp3Brand"
  15146. }
  15147. },
  15148. "gmlist": {
  15149. "description": "品类列表(仓单标准)",
  15150. "type": "array",
  15151. "items": {
  15152. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15153. }
  15154. },
  15155. "mgList": {
  15156. "description": "套保列表",
  15157. "type": "array",
  15158. "items": {
  15159. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15160. }
  15161. }
  15162. }
  15163. },
  15164. "models.ErmcpExposureDetailModel": {
  15165. "type": "object",
  15166. "properties": {
  15167. "areauserid": {
  15168. "description": "机构ID",
  15169. "type": "integer"
  15170. },
  15171. "changeQty": {
  15172. "description": "套保变动量",
  15173. "type": "number"
  15174. },
  15175. "contracttype": {
  15176. "description": "现货合同类型 - 1:采购 -1:销售",
  15177. "type": "integer"
  15178. },
  15179. "convertfactor": {
  15180. "description": "标仓系数",
  15181. "type": "number"
  15182. },
  15183. "convertratio": {
  15184. "description": "套保系数",
  15185. "type": "number"
  15186. },
  15187. "createtime": {
  15188. "description": "时间",
  15189. "type": "string"
  15190. },
  15191. "enumdicname": {
  15192. "description": "现货商品单位名称",
  15193. "type": "string"
  15194. },
  15195. "logtype": {
  15196. "description": "类型 - 1:套保计划 2:现货合同",
  15197. "type": "integer"
  15198. },
  15199. "middlegoodsId": {
  15200. "description": "套保商品id",
  15201. "type": "integer"
  15202. },
  15203. "middlegoodscode": {
  15204. "description": "套保商品代码",
  15205. "type": "string"
  15206. },
  15207. "middlegoodsname": {
  15208. "description": "套保商品名称",
  15209. "type": "string"
  15210. },
  15211. "qty": {
  15212. "description": "数量",
  15213. "type": "number"
  15214. },
  15215. "relateNo": {
  15216. "description": "现货合同/套保计划编号",
  15217. "type": "string"
  15218. },
  15219. "wrstandardcode": {
  15220. "description": "现货商品代码",
  15221. "type": "string"
  15222. },
  15223. "wrstandardid": {
  15224. "description": "现货商品ID",
  15225. "type": "integer"
  15226. },
  15227. "wrstandardname": {
  15228. "description": "现货商品名称",
  15229. "type": "string"
  15230. }
  15231. }
  15232. },
  15233. "models.ErmcpExposurePostion": {
  15234. "type": "object",
  15235. "properties": {
  15236. "agreeunit": {
  15237. "description": "合约单位",
  15238. "type": "string"
  15239. },
  15240. "areauserid": {
  15241. "description": "所属机构id",
  15242. "type": "integer"
  15243. },
  15244. "convertratio": {
  15245. "description": "期货品种系数(折算系数)",
  15246. "type": "number"
  15247. },
  15248. "curqty": {
  15249. "description": "当前持仓",
  15250. "type": "integer"
  15251. },
  15252. "diffhedgeqty": {
  15253. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15254. "type": "number"
  15255. },
  15256. "diffqty": {
  15257. "description": "持仓变动量=当前持仓-昨日持仓",
  15258. "type": "integer"
  15259. },
  15260. "goodscode": {
  15261. "description": "商品代码",
  15262. "type": "string"
  15263. },
  15264. "goodsid": {
  15265. "description": "商品id",
  15266. "type": "integer"
  15267. },
  15268. "goodsname": {
  15269. "description": "商品名称",
  15270. "type": "string"
  15271. },
  15272. "middlegoodsid": {
  15273. "description": "套保商品id",
  15274. "type": "integer"
  15275. },
  15276. "ydqty": {
  15277. "description": "昨日持仓",
  15278. "type": "integer"
  15279. }
  15280. }
  15281. },
  15282. "models.ErmcpFuturesCompany": {
  15283. "type": "object",
  15284. "properties": {
  15285. "brokerid": {
  15286. "description": "经纪公司代码",
  15287. "type": "string"
  15288. },
  15289. "channeladdress": {
  15290. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15291. "type": "string"
  15292. },
  15293. "channelid": {
  15294. "description": "对冲渠道ID",
  15295. "type": "string"
  15296. },
  15297. "createtime": {
  15298. "description": "创建时间",
  15299. "type": "string"
  15300. },
  15301. "creatorid": {
  15302. "description": "创建人",
  15303. "type": "string"
  15304. },
  15305. "fcid": {
  15306. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15307. "type": "integer"
  15308. },
  15309. "fcname": {
  15310. "description": "期货公司名称",
  15311. "type": "string"
  15312. },
  15313. "isvalid": {
  15314. "description": "是否有效 - 0:无效 1:有效",
  15315. "type": "integer"
  15316. },
  15317. "mhpaddress": {
  15318. "description": "MHP服务地址(IP:Port)",
  15319. "type": "string"
  15320. },
  15321. "riskrulegroupid": {
  15322. "description": "风控规则组ID",
  15323. "type": "string"
  15324. },
  15325. "tradefeetmpid": {
  15326. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15327. "type": "string"
  15328. },
  15329. "trademargintmpid": {
  15330. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15331. "type": "string"
  15332. },
  15333. "traderatetmpid": {
  15334. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15335. "type": "string"
  15336. },
  15337. "updatetime": {
  15338. "description": "更新时间",
  15339. "type": "string"
  15340. },
  15341. "updatorid": {
  15342. "description": "更新人",
  15343. "type": "string"
  15344. }
  15345. }
  15346. },
  15347. "models.ErmcpGGConvertCfg": {
  15348. "type": "object",
  15349. "properties": {
  15350. "convertratio": {
  15351. "description": "折算系数",
  15352. "type": "number"
  15353. },
  15354. "destgoodsgroupid": {
  15355. "description": "目标品种ID",
  15356. "type": "integer"
  15357. },
  15358. "dstcode": {
  15359. "description": "目录品种代码",
  15360. "type": "string"
  15361. },
  15362. "dstexchangecode": {
  15363. "description": "目标期货交易所",
  15364. "type": "string"
  15365. },
  15366. "dstname": {
  15367. "description": "目标品种名称",
  15368. "type": "string"
  15369. },
  15370. "dstunitid": {
  15371. "description": "目标品种单位ID",
  15372. "type": "integer"
  15373. },
  15374. "dstunitidname": {
  15375. "description": "目标品种单位名称",
  15376. "type": "string"
  15377. },
  15378. "modifytime": {
  15379. "description": "修改时间",
  15380. "type": "string"
  15381. },
  15382. "srccode": {
  15383. "description": "源品种代码",
  15384. "type": "string"
  15385. },
  15386. "srcexchangecode": {
  15387. "description": "源期货交易所",
  15388. "type": "string"
  15389. },
  15390. "srcgoodsgroupid": {
  15391. "description": "源品种ID",
  15392. "type": "integer"
  15393. },
  15394. "srcname": {
  15395. "description": "源品种名称",
  15396. "type": "string"
  15397. },
  15398. "srcunitid": {
  15399. "description": "源品种单位ID",
  15400. "type": "integer"
  15401. },
  15402. "srcunitidname": {
  15403. "description": "源品种单位名称",
  15404. "type": "string"
  15405. }
  15406. }
  15407. },
  15408. "models.ErmcpGoodsBrand": {
  15409. "type": "object",
  15410. "properties": {
  15411. "areauserid": {
  15412. "description": "所属机构",
  15413. "type": "integer"
  15414. },
  15415. "brandid": {
  15416. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15417. "type": "integer"
  15418. },
  15419. "brandname": {
  15420. "description": "品牌名称",
  15421. "type": "string"
  15422. },
  15423. "createtime": {
  15424. "description": "创建时间",
  15425. "type": "string"
  15426. },
  15427. "creatorid": {
  15428. "description": "创建人",
  15429. "type": "integer"
  15430. },
  15431. "creatorsrc": {
  15432. "description": "创建人来源 - 1:管理端 2:终端",
  15433. "type": "integer"
  15434. },
  15435. "deliverygoodsid": {
  15436. "description": "现货品种ID",
  15437. "type": "integer"
  15438. },
  15439. "isvalid": {
  15440. "description": "是否有效 - 0:无效 1:有效",
  15441. "type": "integer"
  15442. },
  15443. "updatetime": {
  15444. "description": "更新时间",
  15445. "type": "string"
  15446. },
  15447. "updatorid": {
  15448. "description": "更新人",
  15449. "type": "integer"
  15450. },
  15451. "updatorsrc": {
  15452. "description": "更新人来源 - 1:管理端 2:终端",
  15453. "type": "integer"
  15454. },
  15455. "wrstandardid": {
  15456. "description": "现货商品ID",
  15457. "type": "integer"
  15458. }
  15459. }
  15460. },
  15461. "models.ErmcpGoodsModel": {
  15462. "type": "object",
  15463. "properties": {
  15464. "areauserid": {
  15465. "description": "所属机构",
  15466. "type": "integer"
  15467. },
  15468. "convertfactor": {
  15469. "description": "标仓系数",
  15470. "type": "number"
  15471. },
  15472. "createtime": {
  15473. "description": "创建时间",
  15474. "type": "string"
  15475. },
  15476. "creatorid": {
  15477. "description": "创建人",
  15478. "type": "integer"
  15479. },
  15480. "creatorsrc": {
  15481. "description": "创建人来源 - 1:管理端 2:终端",
  15482. "type": "integer"
  15483. },
  15484. "deliverygoodsid": {
  15485. "description": "现货品种ID",
  15486. "type": "integer"
  15487. },
  15488. "isvalid": {
  15489. "description": "是否有效 - 0:无效 1:有效",
  15490. "type": "integer"
  15491. },
  15492. "modelid": {
  15493. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15494. "type": "integer"
  15495. },
  15496. "modelname": {
  15497. "description": "型号名称",
  15498. "type": "string"
  15499. },
  15500. "updatetime": {
  15501. "description": "更新时间",
  15502. "type": "string"
  15503. },
  15504. "updatorid": {
  15505. "description": "更新人",
  15506. "type": "integer"
  15507. },
  15508. "updatorsrc": {
  15509. "description": "更新人来源 - 1:管理端 2:终端",
  15510. "type": "integer"
  15511. },
  15512. "wrstandardid": {
  15513. "description": "现货商品ID",
  15514. "type": "integer"
  15515. }
  15516. }
  15517. },
  15518. "models.ErmcpHedgePosition": {
  15519. "type": "object",
  15520. "properties": {
  15521. "accountid": {
  15522. "description": "资金账号[外部母账户]",
  15523. "type": "integer"
  15524. },
  15525. "curbuyposition": {
  15526. "description": "期末买头寸",
  15527. "type": "integer"
  15528. },
  15529. "cursellposition": {
  15530. "description": "期末卖头寸",
  15531. "type": "integer"
  15532. },
  15533. "curtdbuyposition": {
  15534. "description": "期末今日买头寸",
  15535. "type": "integer"
  15536. },
  15537. "curtdsellposition": {
  15538. "description": "期末今日卖头寸",
  15539. "type": "integer"
  15540. },
  15541. "curydbuyposition": {
  15542. "description": "期末上日买头寸",
  15543. "type": "integer"
  15544. },
  15545. "curydsellposition": {
  15546. "description": "期末上日卖头寸",
  15547. "type": "integer"
  15548. },
  15549. "decreaseqty": {
  15550. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15551. "type": "integer"
  15552. },
  15553. "fretdbuyposition": {
  15554. "description": "冻结今日买头寸",
  15555. "type": "integer"
  15556. },
  15557. "fretdsellposition": {
  15558. "description": "冻结今日卖头寸",
  15559. "type": "integer"
  15560. },
  15561. "freydbuyposition": {
  15562. "description": "冻结上日买头寸",
  15563. "type": "integer"
  15564. },
  15565. "freydsellposition": {
  15566. "description": "冻结上日卖头寸",
  15567. "type": "integer"
  15568. },
  15569. "goodscode": {
  15570. "description": "商品代码",
  15571. "type": "string"
  15572. },
  15573. "goodsid": {
  15574. "description": "商品id",
  15575. "type": "integer"
  15576. },
  15577. "goodsname": {
  15578. "description": "商品名称",
  15579. "type": "string"
  15580. },
  15581. "hedgeaccountcode": {
  15582. "description": "对冲账号",
  15583. "type": "string"
  15584. },
  15585. "hedgegoodsid": {
  15586. "description": "对冲合约ID",
  15587. "type": "integer"
  15588. },
  15589. "increaseqty": {
  15590. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15591. "type": "integer"
  15592. },
  15593. "marketid": {
  15594. "description": "市场ID",
  15595. "type": "integer"
  15596. },
  15597. "relateduserid": {
  15598. "description": "关联用户id",
  15599. "type": "integer"
  15600. },
  15601. "totalcurqty": {
  15602. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15603. "type": "integer"
  15604. },
  15605. "totalydqty": {
  15606. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15607. "type": "integer"
  15608. },
  15609. "tradedate": {
  15610. "description": "交易日(yyyyMMdd)",
  15611. "type": "string"
  15612. },
  15613. "ydbuyposition": {
  15614. "description": "期初买头寸",
  15615. "type": "integer"
  15616. },
  15617. "ydsellposition": {
  15618. "description": "期初卖头寸",
  15619. "type": "integer"
  15620. }
  15621. }
  15622. },
  15623. "models.ErmcpHedgePositionDetail": {
  15624. "type": "object",
  15625. "properties": {
  15626. "buyorsell": {
  15627. "description": "买卖方向 0-买 1-卖",
  15628. "type": "integer"
  15629. },
  15630. "channelbuildtype": {
  15631. "description": "开平方向 1-建仓 2-平仓",
  15632. "type": "integer"
  15633. },
  15634. "goodscode": {
  15635. "description": "商品代码",
  15636. "type": "string"
  15637. },
  15638. "goodsname": {
  15639. "description": "商品名称",
  15640. "type": "string"
  15641. },
  15642. "hedgegoodsid": {
  15643. "description": "商品id",
  15644. "type": "integer"
  15645. },
  15646. "tradeqty": {
  15647. "description": "数量(成交数量)",
  15648. "type": "integer"
  15649. },
  15650. "tradetime": {
  15651. "description": "时间(成交时间)",
  15652. "type": "string"
  15653. }
  15654. }
  15655. },
  15656. "models.ErmcpHisExposure": {
  15657. "type": "object",
  15658. "properties": {
  15659. "needhedgeexposoure": {
  15660. "description": "应套保敞口",
  15661. "type": "number"
  15662. },
  15663. "reckondate": {
  15664. "description": "日照时期(yyyyMMdd)",
  15665. "type": "string"
  15666. },
  15667. "totalexposure": {
  15668. "description": "总敞口",
  15669. "type": "number"
  15670. }
  15671. }
  15672. },
  15673. "models.ErmcpHisExposureS": {
  15674. "type": "object",
  15675. "properties": {
  15676. "data": {
  15677. "description": "历史敞口",
  15678. "type": "array",
  15679. "items": {
  15680. "$ref": "#/definitions/models.ErmcpHisExposure"
  15681. }
  15682. },
  15683. "enumdicname": {
  15684. "description": "单位名称",
  15685. "type": "string"
  15686. },
  15687. "middlegoodscode": {
  15688. "description": "套保品种代码",
  15689. "type": "string"
  15690. },
  15691. "middlegoodsid": {
  15692. "description": "套保品种ID",
  15693. "type": "integer"
  15694. },
  15695. "middlegoodsname": {
  15696. "description": "套保品种名称",
  15697. "type": "string"
  15698. }
  15699. }
  15700. },
  15701. "models.ErmcpLoginTaAccount": {
  15702. "type": "object",
  15703. "properties": {
  15704. "accountid": {
  15705. "description": "账号id",
  15706. "type": "integer"
  15707. },
  15708. "accountname": {
  15709. "description": "账号名称",
  15710. "type": "string"
  15711. }
  15712. }
  15713. },
  15714. "models.ErmcpLoginUser": {
  15715. "type": "object",
  15716. "properties": {
  15717. "acclist": {
  15718. "description": "关联资金账号",
  15719. "type": "array",
  15720. "items": {
  15721. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  15722. }
  15723. },
  15724. "accountname": {
  15725. "description": "用户名称",
  15726. "type": "string"
  15727. },
  15728. "clientroleid": {
  15729. "description": "角色id(usertype=2)",
  15730. "type": "integer"
  15731. },
  15732. "createtime": {
  15733. "description": "创建时间",
  15734. "type": "string"
  15735. },
  15736. "logincode": {
  15737. "description": "登录代码",
  15738. "type": "string"
  15739. },
  15740. "loginid": {
  15741. "description": "登录id(LOGINID)",
  15742. "type": "integer"
  15743. },
  15744. "loginname": {
  15745. "description": "登录名称(loginaccount表中的accountname字段)",
  15746. "type": "string"
  15747. },
  15748. "loginstatus": {
  15749. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  15750. "type": "integer"
  15751. },
  15752. "memberuserid": {
  15753. "description": "所属会员id",
  15754. "type": "integer"
  15755. },
  15756. "mobile": {
  15757. "description": "手机号",
  15758. "type": "string"
  15759. },
  15760. "modifytime": {
  15761. "description": "修改时间",
  15762. "type": "string"
  15763. },
  15764. "password": {
  15765. "description": "密码(不可解密)",
  15766. "type": "string"
  15767. },
  15768. "rolename": {
  15769. "description": "角色名称",
  15770. "type": "string"
  15771. },
  15772. "rolestatus": {
  15773. "description": "角色状态 1-启用 2-停用",
  15774. "type": "integer"
  15775. },
  15776. "roletype": {
  15777. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  15778. "type": "string"
  15779. },
  15780. "userid": {
  15781. "description": "用户id",
  15782. "type": "integer"
  15783. },
  15784. "usertype": {
  15785. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  15786. "type": "integer"
  15787. }
  15788. }
  15789. },
  15790. "models.ErmcpLoginUserEx": {
  15791. "type": "object",
  15792. "properties": {
  15793. "accountstatus": {
  15794. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  15795. "type": "integer"
  15796. },
  15797. "mobile": {
  15798. "description": "手机号",
  15799. "type": "string"
  15800. },
  15801. "querytype": {
  15802. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  15803. "type": "integer"
  15804. },
  15805. "roleid": {
  15806. "description": "角色id(交易账户-\u003e用户id)",
  15807. "type": "integer"
  15808. },
  15809. "rolename": {
  15810. "description": "角色名称(交易账户-\u003e用户名称)",
  15811. "type": "string"
  15812. },
  15813. "userlist": {
  15814. "description": "用户列表",
  15815. "type": "array",
  15816. "items": {
  15817. "$ref": "#/definitions/models.ErmcpLoginUser"
  15818. }
  15819. },
  15820. "usertype": {
  15821. "description": "用户类型 2-机构 7-企业成员(云平台)",
  15822. "type": "integer"
  15823. }
  15824. }
  15825. },
  15826. "models.ErmcpMiddleGoodsChangeLog": {
  15827. "type": "object",
  15828. "properties": {
  15829. "aftervalue": {
  15830. "description": "变更后",
  15831. "type": "number"
  15832. },
  15833. "applyid": {
  15834. "description": "操作人",
  15835. "type": "integer"
  15836. },
  15837. "applyname": {
  15838. "description": "操作人名称",
  15839. "type": "string"
  15840. },
  15841. "applysrc": {
  15842. "description": "操作来源 - 1:管理端 2:终端",
  15843. "type": "integer"
  15844. },
  15845. "beforevalue": {
  15846. "description": "变更前",
  15847. "type": "number"
  15848. },
  15849. "changelogtype": {
  15850. "description": "变更流水类型 - 1:套保比率变更",
  15851. "type": "integer"
  15852. },
  15853. "handlestatus": {
  15854. "description": "处理状态",
  15855. "type": "integer"
  15856. },
  15857. "logdatetime": {
  15858. "description": "流水日期",
  15859. "type": "string"
  15860. },
  15861. "logid": {
  15862. "description": "流水ID",
  15863. "type": "integer"
  15864. },
  15865. "logremark": {
  15866. "description": "流水备注",
  15867. "type": "string"
  15868. },
  15869. "middlegoodsid": {
  15870. "description": "套保品种ID",
  15871. "type": "integer"
  15872. },
  15873. "tradedate": {
  15874. "description": "交易日(yyyyMMdd)",
  15875. "type": "string"
  15876. },
  15877. "updatetime": {
  15878. "description": "更新时间",
  15879. "type": "string"
  15880. }
  15881. }
  15882. },
  15883. "models.ErmcpMiddleGoodsDetail": {
  15884. "type": "object",
  15885. "properties": {
  15886. "cvList": {
  15887. "description": "期货品种折算列表",
  15888. "type": "array",
  15889. "items": {
  15890. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15891. }
  15892. },
  15893. "mg": {
  15894. "description": "套保品种基本信息",
  15895. "type": "object",
  15896. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15897. },
  15898. "wrcList": {
  15899. "description": "现货品种列表(现货商品折算配置)",
  15900. "type": "array",
  15901. "items": {
  15902. "$ref": "#/definitions/models.WRSConverTDetail"
  15903. }
  15904. }
  15905. }
  15906. },
  15907. "models.ErmcpMiddleGoodsModel": {
  15908. "type": "object",
  15909. "properties": {
  15910. "areauserid": {
  15911. "description": "机构用户ID",
  15912. "type": "integer"
  15913. },
  15914. "createtime": {
  15915. "description": "修改时间",
  15916. "type": "string"
  15917. },
  15918. "enumdicname": {
  15919. "description": "单位名称",
  15920. "type": "string"
  15921. },
  15922. "evaluateratio": {
  15923. "description": "估价系数",
  15924. "type": "number"
  15925. },
  15926. "goodsgroupid": {
  15927. "description": "关联期货品种ID",
  15928. "type": "integer"
  15929. },
  15930. "goodsunitid": {
  15931. "description": "单位ID",
  15932. "type": "integer"
  15933. },
  15934. "isvalid": {
  15935. "description": "状态 0-无效(停用) 1-有效(正常)",
  15936. "type": "integer"
  15937. },
  15938. "middlegoodscode": {
  15939. "description": "套保品种代码",
  15940. "type": "string"
  15941. },
  15942. "middlegoodsid": {
  15943. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15944. "type": "integer"
  15945. },
  15946. "middlegoodsname": {
  15947. "description": "套保品种名称",
  15948. "type": "string"
  15949. },
  15950. "modifytime": {
  15951. "description": "修改时间",
  15952. "type": "string"
  15953. },
  15954. "needhedgeratio": {
  15955. "description": "套保比率",
  15956. "type": "number"
  15957. },
  15958. "qtydecimalplace": {
  15959. "description": "数量小数位",
  15960. "type": "integer"
  15961. },
  15962. "relatedgoodsid": {
  15963. "description": "关联交易商品ID",
  15964. "type": "integer"
  15965. },
  15966. "relatedgoodstype": {
  15967. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15968. "type": "integer"
  15969. },
  15970. "remark": {
  15971. "description": "备注",
  15972. "type": "string"
  15973. }
  15974. }
  15975. },
  15976. "models.ErmcpOPLogModel": {
  15977. "type": "object",
  15978. "properties": {
  15979. "aftervalue": {
  15980. "description": "变更后",
  15981. "type": "number"
  15982. },
  15983. "applyid": {
  15984. "description": "操作人ID",
  15985. "type": "string"
  15986. },
  15987. "applyname": {
  15988. "description": "操作人名称",
  15989. "type": "string"
  15990. },
  15991. "beforevalue": {
  15992. "description": "变更前",
  15993. "type": "number"
  15994. },
  15995. "biztype": {
  15996. "description": "业务类型 - 1:套保计划 2:现货合同",
  15997. "type": "integer"
  15998. },
  15999. "contracttype": {
  16000. "description": "现货合同类型 - 1:采购 -1:销售",
  16001. "type": "integer"
  16002. },
  16003. "logvalue": {
  16004. "description": "数值",
  16005. "type": "number"
  16006. },
  16007. "operatelogtype": {
  16008. "description": "操作流水类型",
  16009. "type": "integer"
  16010. },
  16011. "operatelogtypedesc": {
  16012. "description": "操作流水类型名称",
  16013. "type": "string"
  16014. },
  16015. "relatedid": {
  16016. "description": "现货合同ID\\套保计划",
  16017. "type": "string"
  16018. },
  16019. "updatetime": {
  16020. "description": "更新时间",
  16021. "type": "string"
  16022. }
  16023. }
  16024. },
  16025. "models.ErmcpPendingAudit": {
  16026. "type": "object",
  16027. "properties": {
  16028. "areastockqty": {
  16029. "description": "待审核数量: 库存申请",
  16030. "type": "integer"
  16031. },
  16032. "businessdjqty": {
  16033. "description": "待审核数量: 点价",
  16034. "type": "integer"
  16035. },
  16036. "businessfpqty": {
  16037. "description": "待审核数量: 发票",
  16038. "type": "integer"
  16039. },
  16040. "businessjsqty": {
  16041. "description": "待审核数量: 结算",
  16042. "type": "integer"
  16043. },
  16044. "businesskxqty": {
  16045. "description": "待审核数量: 款项",
  16046. "type": "integer"
  16047. },
  16048. "hedgeplanqty": {
  16049. "description": "待审核数量: 套保计划",
  16050. "type": "integer"
  16051. },
  16052. "spotcontractqty": {
  16053. "description": "待审核数量: 现货合同",
  16054. "type": "integer"
  16055. },
  16056. "userqty": {
  16057. "description": "待审核数量: 用户",
  16058. "type": "integer"
  16059. }
  16060. }
  16061. },
  16062. "models.ErmcpRealExposureModel": {
  16063. "type": "object",
  16064. "properties": {
  16065. "AreaUserID": {
  16066. "description": "所属机构",
  16067. "type": "integer"
  16068. },
  16069. "BuyFutureQty": {
  16070. "description": "买入期货数量",
  16071. "type": "number"
  16072. },
  16073. "BuyPlanQty": {
  16074. "description": "采购计划数量",
  16075. "type": "number"
  16076. },
  16077. "BuyPricedQty": {
  16078. "description": "采购合同已定价数量",
  16079. "type": "number"
  16080. },
  16081. "MiddleGoodsCode": {
  16082. "description": "套保品种代码",
  16083. "type": "string"
  16084. },
  16085. "MiddleGoodsHedgeRatio": {
  16086. "description": "套保比例",
  16087. "type": "number"
  16088. },
  16089. "MiddleGoodsID": {
  16090. "description": "套保品种",
  16091. "type": "integer"
  16092. },
  16093. "MiddleGoodsName": {
  16094. "description": "套保品种名称",
  16095. "type": "string"
  16096. },
  16097. "NeedHedgeExposoure": {
  16098. "description": "应套保敞口(套保敞口)",
  16099. "type": "number"
  16100. },
  16101. "NeedHedgeRatio": {
  16102. "description": "应套保敞口比例",
  16103. "type": "number"
  16104. },
  16105. "OriBuyFutureQty": {
  16106. "description": "期初买入期货数量",
  16107. "type": "number"
  16108. },
  16109. "OriBuyPlanQty": {
  16110. "description": "期初采购计划数量",
  16111. "type": "number"
  16112. },
  16113. "OriBuyPricedQty": {
  16114. "description": "期初采购合同已定价数量",
  16115. "type": "number"
  16116. },
  16117. "OriSellFutureQty": {
  16118. "description": "期初卖出期货数量",
  16119. "type": "number"
  16120. },
  16121. "OriSellPlanQty": {
  16122. "description": "期初销售计划数量",
  16123. "type": "number"
  16124. },
  16125. "OriSellPricedQty": {
  16126. "description": "期初销售合同已定价数量",
  16127. "type": "number"
  16128. },
  16129. "SellFutureQty": {
  16130. "description": "卖出期货数量",
  16131. "type": "number"
  16132. },
  16133. "SellPlanQty": {
  16134. "description": "销售计划数量",
  16135. "type": "number"
  16136. },
  16137. "SellPricedQty": {
  16138. "description": "销售合同已定价数量",
  16139. "type": "number"
  16140. },
  16141. "TotalExposure": {
  16142. "description": "总敞口",
  16143. "type": "number"
  16144. },
  16145. "TotalFutureQty": {
  16146. "description": "期货总量",
  16147. "type": "number"
  16148. },
  16149. "TotalHedgeRatio": {
  16150. "description": "敞口比例",
  16151. "type": "number"
  16152. },
  16153. "TotalNeedHedgeQty": {
  16154. "description": "应套保总量(现货应套保总量)",
  16155. "type": "number"
  16156. },
  16157. "TotalSpotQty": {
  16158. "description": "现货总量",
  16159. "type": "number"
  16160. },
  16161. "arbitrageqty": {
  16162. "description": "套利量",
  16163. "type": "number"
  16164. },
  16165. "diffArbitrageQty": {
  16166. "description": "套利变动量",
  16167. "type": "number"
  16168. },
  16169. "diffExposoureQty": {
  16170. "description": "变动量(套保敞口)",
  16171. "type": "number"
  16172. },
  16173. "diffFutuQty": {
  16174. "description": "变动量(期货总量)",
  16175. "type": "number"
  16176. },
  16177. "diffHedgeQty": {
  16178. "description": "套保变动量",
  16179. "type": "number"
  16180. },
  16181. "diffQty": {
  16182. "description": "变动量(总敞口)",
  16183. "type": "number"
  16184. },
  16185. "diffSpotHedgeQty": {
  16186. "description": "变动量(现货应套保总量)",
  16187. "type": "number"
  16188. },
  16189. "diffSpotQty": {
  16190. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  16191. "type": "number"
  16192. },
  16193. "enumdicname": {
  16194. "description": "单位名称",
  16195. "type": "string"
  16196. },
  16197. "hedgeqty": {
  16198. "description": "套保量",
  16199. "type": "number"
  16200. },
  16201. "needarbitrageqty": {
  16202. "description": "应套利量",
  16203. "type": "number"
  16204. },
  16205. "needarbitrageratio": {
  16206. "description": "套利比例",
  16207. "type": "number"
  16208. },
  16209. "needhedgeqty": {
  16210. "description": "应套保量",
  16211. "type": "number"
  16212. },
  16213. "oriTotalFutuQty": {
  16214. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16215. "type": "number"
  16216. },
  16217. "oriTotalSpotQty": {
  16218. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16219. "type": "number"
  16220. },
  16221. "oriarbitrageqty": {
  16222. "description": "期初套利量",
  16223. "type": "number"
  16224. },
  16225. "orihedgeqty": {
  16226. "description": "期初套保量",
  16227. "type": "number"
  16228. },
  16229. "orineedhedgeexposoure": {
  16230. "description": "期初套保敞口",
  16231. "type": "number"
  16232. },
  16233. "oritotalexposure": {
  16234. "description": "期初总敞口",
  16235. "type": "number"
  16236. },
  16237. "oritotalfutureqty": {
  16238. "description": "期初期货总量",
  16239. "type": "number"
  16240. },
  16241. "oritotalneedhedgeqty": {
  16242. "description": "期初现货应套保量",
  16243. "type": "number"
  16244. }
  16245. }
  16246. },
  16247. "models.ErmcpRole": {
  16248. "type": "object",
  16249. "properties": {
  16250. "areauserid": {
  16251. "description": "所属机构",
  16252. "type": "integer"
  16253. },
  16254. "autoid": {
  16255. "description": "角色ID(自增ID)",
  16256. "type": "integer"
  16257. },
  16258. "modifierid": {
  16259. "description": "修改人(创建人)",
  16260. "type": "integer"
  16261. },
  16262. "modifiername": {
  16263. "description": "修改人名称",
  16264. "type": "string"
  16265. },
  16266. "modifytime": {
  16267. "description": "修改时间(创建时间)",
  16268. "type": "string"
  16269. },
  16270. "rolename": {
  16271. "description": "角色名称",
  16272. "type": "string"
  16273. },
  16274. "rolestatus": {
  16275. "description": "角色状态 - 1:启用 2:停用",
  16276. "type": "integer"
  16277. },
  16278. "roletype": {
  16279. "description": "角色类型 - 1- 管理端 2- 交易端",
  16280. "type": "integer"
  16281. }
  16282. }
  16283. },
  16284. "models.ErmcpRoleMenu": {
  16285. "type": "object",
  16286. "properties": {
  16287. "iconame": {
  16288. "description": "菜单图标",
  16289. "type": "string"
  16290. },
  16291. "ishadrole": {
  16292. "description": "是否有权限",
  16293. "type": "boolean"
  16294. },
  16295. "menutype": {
  16296. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16297. "type": "integer"
  16298. },
  16299. "parentcode": {
  16300. "description": "上级资源代码",
  16301. "type": "string"
  16302. },
  16303. "remark": {
  16304. "description": "菜单备注",
  16305. "type": "string"
  16306. },
  16307. "resourcecode": {
  16308. "description": "菜单代码",
  16309. "type": "string"
  16310. },
  16311. "resourcelevel": {
  16312. "description": "级别",
  16313. "type": "integer"
  16314. },
  16315. "resourcename": {
  16316. "description": "菜单名称",
  16317. "type": "string"
  16318. },
  16319. "roleid": {
  16320. "description": "角色id",
  16321. "type": "integer"
  16322. },
  16323. "sort": {
  16324. "description": "排序",
  16325. "type": "integer"
  16326. },
  16327. "url": {
  16328. "description": "URL",
  16329. "type": "string"
  16330. },
  16331. "userid": {
  16332. "description": "用户id",
  16333. "type": "integer"
  16334. }
  16335. }
  16336. },
  16337. "models.ErmcpRoleMenuEx": {
  16338. "type": "object",
  16339. "properties": {
  16340. "menu": {
  16341. "description": "父级菜单",
  16342. "type": "object",
  16343. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16344. },
  16345. "subMenu": {
  16346. "description": "子级菜单",
  16347. "type": "array",
  16348. "items": {
  16349. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16350. }
  16351. }
  16352. }
  16353. },
  16354. "models.ErmcpTaAccount": {
  16355. "type": "object",
  16356. "properties": {
  16357. "accountid": {
  16358. "description": "账户id",
  16359. "type": "integer"
  16360. },
  16361. "accountname": {
  16362. "description": "账户名称",
  16363. "type": "string"
  16364. },
  16365. "currencyid": {
  16366. "description": "币种id",
  16367. "type": "integer"
  16368. },
  16369. "hedgeaccountcode": {
  16370. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16371. "type": "string"
  16372. },
  16373. "ismain": {
  16374. "description": "是否主账户 0-否 1-是",
  16375. "type": "integer"
  16376. },
  16377. "parentaccountid": {
  16378. "description": "父账户id",
  16379. "type": "integer"
  16380. },
  16381. "relateduserid": {
  16382. "description": "关联userid",
  16383. "type": "integer"
  16384. },
  16385. "tradestatus": {
  16386. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16387. "type": "integer"
  16388. },
  16389. "userid": {
  16390. "description": "用户id",
  16391. "type": "integer"
  16392. }
  16393. }
  16394. },
  16395. "models.ErmcpTaAccountEx": {
  16396. "type": "object",
  16397. "properties": {
  16398. "mainAcc": {
  16399. "description": "主账号",
  16400. "type": "object",
  16401. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16402. },
  16403. "subacclist": {
  16404. "description": "子账号列表",
  16405. "type": "array",
  16406. "items": {
  16407. "$ref": "#/definitions/models.ErmcpTaAccount"
  16408. }
  16409. }
  16410. }
  16411. },
  16412. "models.ErmcpTaAccountInfo": {
  16413. "type": "object",
  16414. "properties": {
  16415. "accountid": {
  16416. "description": "资金账户ID",
  16417. "type": "integer"
  16418. },
  16419. "accountname": {
  16420. "description": "账户名称",
  16421. "type": "string"
  16422. },
  16423. "balance": {
  16424. "description": "期初余额",
  16425. "type": "number"
  16426. },
  16427. "capitalbalance": {
  16428. "description": "本金余额[外部子账户实际出入金余额]",
  16429. "type": "number"
  16430. },
  16431. "closepl": {
  16432. "description": "今日平仓盈亏",
  16433. "type": "number"
  16434. },
  16435. "creditdecrease": {
  16436. "description": "今日授信减少",
  16437. "type": "number"
  16438. },
  16439. "creditincrease": {
  16440. "description": "今日授信增加",
  16441. "type": "number"
  16442. },
  16443. "curdebt": {
  16444. "description": "期末欠款",
  16445. "type": "number"
  16446. },
  16447. "currencyid": {
  16448. "description": "货币ID",
  16449. "type": "integer"
  16450. },
  16451. "currentbalance": {
  16452. "description": "期末余额",
  16453. "type": "number"
  16454. },
  16455. "freezecharge": {
  16456. "description": "手续费冻结",
  16457. "type": "number"
  16458. },
  16459. "freezemargin": {
  16460. "description": "冻结保证金",
  16461. "type": "number"
  16462. },
  16463. "fromaccountid": {
  16464. "description": "所属上级账户",
  16465. "type": "integer"
  16466. },
  16467. "inamount": {
  16468. "description": "今日入金金额(包括三方入金)",
  16469. "type": "number"
  16470. },
  16471. "ismain": {
  16472. "description": "是否母账号 0:不是母账户 1:是母账户",
  16473. "type": "integer"
  16474. },
  16475. "mortgagecredit": {
  16476. "description": "授信金额",
  16477. "type": "number"
  16478. },
  16479. "oridebt": {
  16480. "description": "期初欠款",
  16481. "type": "number"
  16482. },
  16483. "orifreezecharge": {
  16484. "description": "期初手续费冻结",
  16485. "type": "number"
  16486. },
  16487. "orifreezemargin": {
  16488. "description": "期初冻结保证金",
  16489. "type": "number"
  16490. },
  16491. "orimortgagecredit": {
  16492. "description": "期初授信金额",
  16493. "type": "number"
  16494. },
  16495. "oriothercredit": {
  16496. "description": "期初其它授信金额",
  16497. "type": "number"
  16498. },
  16499. "oriotherfreezemargin": {
  16500. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16501. "type": "number"
  16502. },
  16503. "orioutamountfreeze": {
  16504. "description": "期初出金冻结",
  16505. "type": "number"
  16506. },
  16507. "oriusedmargin": {
  16508. "description": "期初占用保证金",
  16509. "type": "number"
  16510. },
  16511. "othercredit": {
  16512. "description": "其它授信金额",
  16513. "type": "number"
  16514. },
  16515. "othercreditdecrease": {
  16516. "description": "今日其它授信减少",
  16517. "type": "number"
  16518. },
  16519. "othercreditincrease": {
  16520. "description": "今日其它授信增加",
  16521. "type": "number"
  16522. },
  16523. "otherfreezemargin": {
  16524. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16525. "type": "number"
  16526. },
  16527. "outamount": {
  16528. "description": "今日出金金额(包括三方出金)",
  16529. "type": "number"
  16530. },
  16531. "outamountfreeze": {
  16532. "description": "出金冻结",
  16533. "type": "number"
  16534. },
  16535. "outthreshold": {
  16536. "description": "出金阈值",
  16537. "type": "number"
  16538. },
  16539. "parentaccountid": {
  16540. "description": "所属根账号",
  16541. "type": "integer"
  16542. },
  16543. "paycharge": {
  16544. "description": "今日手续费支出",
  16545. "type": "number"
  16546. },
  16547. "relateduserid": {
  16548. "description": "关联用户",
  16549. "type": "integer"
  16550. },
  16551. "signstatus": {
  16552. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16553. "type": "integer"
  16554. },
  16555. "sublevelpath": {
  16556. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16557. "type": "string"
  16558. },
  16559. "taaccounttype": {
  16560. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16561. "type": "integer"
  16562. },
  16563. "thirdinamount": {
  16564. "description": "今日三方入金",
  16565. "type": "number"
  16566. },
  16567. "thirdoutamount": {
  16568. "description": "今日三方出金",
  16569. "type": "number"
  16570. },
  16571. "tradestatus": {
  16572. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16573. "type": "integer"
  16574. },
  16575. "transferamount": {
  16576. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16577. "type": "number"
  16578. },
  16579. "usedmargin": {
  16580. "description": "占用保证金",
  16581. "type": "number"
  16582. },
  16583. "userid": {
  16584. "description": "用户ID",
  16585. "type": "integer"
  16586. }
  16587. }
  16588. },
  16589. "models.ErmcpTaAccountM": {
  16590. "type": "object",
  16591. "properties": {
  16592. "accountid": {
  16593. "description": "账户id",
  16594. "type": "integer"
  16595. },
  16596. "accountname": {
  16597. "description": "账户名称",
  16598. "type": "string"
  16599. },
  16600. "currencyid": {
  16601. "description": "币种id",
  16602. "type": "integer"
  16603. },
  16604. "fcid": {
  16605. "description": "期货公司id",
  16606. "type": "integer"
  16607. },
  16608. "fcname": {
  16609. "description": "期货公司代码",
  16610. "type": "string"
  16611. },
  16612. "hedgeaccountcode": {
  16613. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16614. "type": "string"
  16615. },
  16616. "ismain": {
  16617. "description": "是否主账户 0-否 1-是",
  16618. "type": "integer"
  16619. },
  16620. "parentaccountid": {
  16621. "description": "父账户id",
  16622. "type": "integer"
  16623. },
  16624. "relateduserid": {
  16625. "description": "关联userid",
  16626. "type": "integer"
  16627. },
  16628. "tradestatus": {
  16629. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16630. "type": "integer"
  16631. },
  16632. "userid": {
  16633. "description": "用户id",
  16634. "type": "integer"
  16635. }
  16636. }
  16637. },
  16638. "models.ErmcpTradeConfigTMP": {
  16639. "type": "object",
  16640. "properties": {
  16641. "areauserid": {
  16642. "description": "所属机构",
  16643. "type": "integer"
  16644. },
  16645. "basiccurrencyid": {
  16646. "description": "基本币种ID[汇率] - 目标币种",
  16647. "type": "integer"
  16648. },
  16649. "mainaccountid": {
  16650. "description": "主账户ID",
  16651. "type": "integer"
  16652. },
  16653. "modifierid": {
  16654. "description": "修改人",
  16655. "type": "integer"
  16656. },
  16657. "remark": {
  16658. "description": "备注",
  16659. "type": "string"
  16660. },
  16661. "tradeconfigtmpid": {
  16662. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  16663. "type": "integer"
  16664. },
  16665. "tradeconfigtmpname": {
  16666. "description": "交易配置模板名称",
  16667. "type": "string"
  16668. },
  16669. "tradeconfigtmptype": {
  16670. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  16671. "type": "integer"
  16672. },
  16673. "updatetime": {
  16674. "description": "更新时间",
  16675. "type": "string"
  16676. }
  16677. }
  16678. },
  16679. "models.ErmcpUserModel": {
  16680. "type": "object",
  16681. "properties": {
  16682. "address": {
  16683. "description": "通讯地址",
  16684. "type": "string"
  16685. },
  16686. "attachment1": {
  16687. "description": "附件1",
  16688. "type": "string"
  16689. },
  16690. "audittime": {
  16691. "description": "审核时间",
  16692. "type": "string"
  16693. },
  16694. "cardbackphotourl": {
  16695. "description": "证件反面图片地址",
  16696. "type": "string"
  16697. },
  16698. "cardfrontphotourl": {
  16699. "description": "证件正面图片地址",
  16700. "type": "string"
  16701. },
  16702. "cardnum": {
  16703. "description": "证件号码",
  16704. "type": "string"
  16705. },
  16706. "cardtype": {
  16707. "description": "证件类型",
  16708. "type": "integer"
  16709. },
  16710. "cardtypename": {
  16711. "description": "证件类型名称",
  16712. "type": "string"
  16713. },
  16714. "cityid": {
  16715. "description": "市",
  16716. "type": "integer"
  16717. },
  16718. "contactname": {
  16719. "description": "联系人",
  16720. "type": "string"
  16721. },
  16722. "countryid": {
  16723. "description": "国家",
  16724. "type": "integer"
  16725. },
  16726. "createtime": {
  16727. "description": "创建时间",
  16728. "type": "string"
  16729. },
  16730. "customername": {
  16731. "description": "企业名称",
  16732. "type": "string"
  16733. },
  16734. "districtid": {
  16735. "description": "区域",
  16736. "type": "integer"
  16737. },
  16738. "email": {
  16739. "description": "邮件",
  16740. "type": "string"
  16741. },
  16742. "legalpersonname": {
  16743. "description": "法人姓名(企业)",
  16744. "type": "string"
  16745. },
  16746. "memberuserid": {
  16747. "description": "所属机构ID",
  16748. "type": "integer"
  16749. },
  16750. "mobile": {
  16751. "description": "手机号码",
  16752. "type": "string"
  16753. },
  16754. "modifytime": {
  16755. "description": "修改时间",
  16756. "type": "string"
  16757. },
  16758. "nickname": {
  16759. "description": "昵称",
  16760. "type": "string"
  16761. },
  16762. "provinceid": {
  16763. "description": "省",
  16764. "type": "integer"
  16765. },
  16766. "remark": {
  16767. "description": "备注",
  16768. "type": "string"
  16769. },
  16770. "status": {
  16771. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16772. "type": "integer"
  16773. },
  16774. "statusdesc": {
  16775. "description": "账户状态中文描述",
  16776. "type": "string"
  16777. },
  16778. "taxpayernum": {
  16779. "description": "纳税人识别号",
  16780. "type": "string"
  16781. },
  16782. "telphone": {
  16783. "description": "联系电话",
  16784. "type": "string"
  16785. },
  16786. "userid": {
  16787. "description": "用户ID",
  16788. "type": "integer"
  16789. },
  16790. "userinfotype": {
  16791. "description": "客户类型",
  16792. "type": "string"
  16793. }
  16794. }
  16795. },
  16796. "models.ErmcpWareHouseInfo": {
  16797. "type": "object",
  16798. "properties": {
  16799. "address": {
  16800. "description": "详细地址",
  16801. "type": "string"
  16802. },
  16803. "areauserid": {
  16804. "description": "所属机构",
  16805. "type": "integer"
  16806. },
  16807. "autoid": {
  16808. "description": "自增ID(仓库ID)",
  16809. "type": "integer"
  16810. },
  16811. "cityid": {
  16812. "description": "市",
  16813. "type": "integer"
  16814. },
  16815. "contactname": {
  16816. "description": "联系人",
  16817. "type": "string"
  16818. },
  16819. "contactnum": {
  16820. "description": "联系电话",
  16821. "type": "string"
  16822. },
  16823. "countryid": {
  16824. "description": "国家",
  16825. "type": "integer"
  16826. },
  16827. "createtime": {
  16828. "description": "创建时间",
  16829. "type": "string"
  16830. },
  16831. "districtid": {
  16832. "description": "区",
  16833. "type": "integer"
  16834. },
  16835. "hasvideo": {
  16836. "description": "是否有视频 - 0:无 1:有",
  16837. "type": "integer"
  16838. },
  16839. "provinceid": {
  16840. "description": "省",
  16841. "type": "integer"
  16842. },
  16843. "remark": {
  16844. "description": "审核备注",
  16845. "type": "string"
  16846. },
  16847. "videourl": {
  16848. "description": "视频地址",
  16849. "type": "string"
  16850. },
  16851. "warehousecode": {
  16852. "description": "仓库代码",
  16853. "type": "string"
  16854. },
  16855. "warehousename": {
  16856. "description": "仓库名称",
  16857. "type": "string"
  16858. },
  16859. "warehousestatus": {
  16860. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16861. "type": "integer"
  16862. },
  16863. "warehousetype": {
  16864. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16865. "type": "integer"
  16866. }
  16867. }
  16868. },
  16869. "models.Externalexchange": {
  16870. "type": "object",
  16871. "required": [
  16872. "autoid"
  16873. ],
  16874. "properties": {
  16875. "autoid": {
  16876. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  16877. "type": "integer"
  16878. },
  16879. "exchangefullname": {
  16880. "description": "外部交易所全称",
  16881. "type": "string"
  16882. },
  16883. "exexchangecode": {
  16884. "description": "外部交易所代码",
  16885. "type": "string"
  16886. },
  16887. "exexchangename": {
  16888. "description": "外部交易所名称(简称)",
  16889. "type": "string"
  16890. },
  16891. "ismarketprice": {
  16892. "description": "是否支持市价 - 0:不支持 1:支持",
  16893. "type": "integer"
  16894. },
  16895. "quotegear": {
  16896. "description": "行情档位(1-10)",
  16897. "type": "integer"
  16898. },
  16899. "showbrokerflag": {
  16900. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  16901. "type": "integer"
  16902. },
  16903. "updatetime": {
  16904. "description": "更新时间",
  16905. "type": "string"
  16906. }
  16907. }
  16908. },
  16909. "models.Funcmenulist": {
  16910. "type": "object",
  16911. "required": [
  16912. "resourcecode"
  16913. ],
  16914. "properties": {
  16915. "iconame": {
  16916. "description": "菜单图标",
  16917. "type": "string"
  16918. },
  16919. "menutype": {
  16920. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  16921. "type": "integer"
  16922. },
  16923. "parentcode": {
  16924. "description": "上级资源代码",
  16925. "type": "string"
  16926. },
  16927. "remark": {
  16928. "description": "备注",
  16929. "type": "string"
  16930. },
  16931. "resourcecode": {
  16932. "description": "资源代码",
  16933. "type": "string"
  16934. },
  16935. "resourcelevel": {
  16936. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  16937. "type": "integer"
  16938. },
  16939. "resourcename": {
  16940. "description": "资源名",
  16941. "type": "string"
  16942. },
  16943. "sort": {
  16944. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  16945. "type": "integer"
  16946. },
  16947. "url": {
  16948. "description": "URL",
  16949. "type": "string"
  16950. }
  16951. }
  16952. },
  16953. "models.Goods": {
  16954. "type": "object",
  16955. "required": [
  16956. "goodscode",
  16957. "goodsid",
  16958. "goodsname",
  16959. "marketid"
  16960. ],
  16961. "properties": {
  16962. "agreeunit": {
  16963. "description": "合约单位",
  16964. "type": "number"
  16965. },
  16966. "auditaccountid": {
  16967. "description": "审核操作员账号",
  16968. "type": "integer"
  16969. },
  16970. "audittime": {
  16971. "description": "审核时间",
  16972. "type": "string"
  16973. },
  16974. "cancelaccountid": {
  16975. "description": "注销操作员账号",
  16976. "type": "integer"
  16977. },
  16978. "canceltime": {
  16979. "description": "注销时间",
  16980. "type": "string"
  16981. },
  16982. "closepricemode": {
  16983. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16984. "type": "integer"
  16985. },
  16986. "closepriceparam": {
  16987. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16988. "type": "number"
  16989. },
  16990. "createtime": {
  16991. "description": "创建时间",
  16992. "type": "string"
  16993. },
  16994. "creatorid": {
  16995. "description": "创建人",
  16996. "type": "integer"
  16997. },
  16998. "currencyid": {
  16999. "description": "报价货币ID",
  17000. "type": "integer"
  17001. },
  17002. "cutmode": {
  17003. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17004. "type": "integer"
  17005. },
  17006. "decimalplace": {
  17007. "description": "报价小数位",
  17008. "type": "integer"
  17009. },
  17010. "delistingdate": {
  17011. "description": "商品退市时间(状态:退市) -- 已作废",
  17012. "type": "string"
  17013. },
  17014. "delistingmode": {
  17015. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17016. "type": "integer"
  17017. },
  17018. "deliveryflag": {
  17019. "description": "交割标志 - 0:不可交割 1:可交割",
  17020. "type": "integer"
  17021. },
  17022. "forceclosemode": {
  17023. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17024. "type": "integer"
  17025. },
  17026. "forceclosevalue": {
  17027. "description": "定期强平参数 [收益权]",
  17028. "type": "integer"
  17029. },
  17030. "goodscode": {
  17031. "description": "商品代码(内部)",
  17032. "type": "string"
  17033. },
  17034. "goodscurrencyid": {
  17035. "description": "合约货币ID",
  17036. "type": "integer"
  17037. },
  17038. "goodsgroupid": {
  17039. "description": "所属商品组ID",
  17040. "type": "integer"
  17041. },
  17042. "goodsid": {
  17043. "description": "商品ID(自增ID SEQ_GOODS)",
  17044. "type": "integer"
  17045. },
  17046. "goodsname": {
  17047. "description": "商品名称",
  17048. "type": "string"
  17049. },
  17050. "goodsquotetype": {
  17051. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17052. "type": "integer"
  17053. },
  17054. "goodsstatus": {
  17055. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17056. "type": "integer"
  17057. },
  17058. "goodstradetype": {
  17059. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17060. "type": "integer"
  17061. },
  17062. "goodunitid": {
  17063. "description": "报价单位ID",
  17064. "type": "integer"
  17065. },
  17066. "hasquoter": {
  17067. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17068. "type": "integer"
  17069. },
  17070. "hqprotecttime": {
  17071. "description": "行情保护时间(秒)",
  17072. "type": "integer"
  17073. },
  17074. "innerdealmode": {
  17075. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17076. "type": "integer"
  17077. },
  17078. "isbuylimited": {
  17079. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17080. "type": "integer"
  17081. },
  17082. "lasttradedate": {
  17083. "description": "最后交易日期(状态:待退市)",
  17084. "type": "string"
  17085. },
  17086. "listingdate": {
  17087. "description": "交易开始日期",
  17088. "type": "string"
  17089. },
  17090. "marketid": {
  17091. "description": "所属市场ID",
  17092. "type": "integer"
  17093. },
  17094. "modifierid": {
  17095. "description": "修改人",
  17096. "type": "integer"
  17097. },
  17098. "modifystatus": {
  17099. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17100. "type": "integer"
  17101. },
  17102. "modifytime": {
  17103. "description": "修改时间",
  17104. "type": "string"
  17105. },
  17106. "outerdealmode": {
  17107. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17108. "type": "integer"
  17109. },
  17110. "outgoodscode": {
  17111. "description": "商品代码(外部)",
  17112. "type": "string"
  17113. },
  17114. "qtydecimalplace": {
  17115. "description": "成交量小数位",
  17116. "type": "integer"
  17117. },
  17118. "quotegear": {
  17119. "description": "行情档位(1-10)",
  17120. "type": "integer"
  17121. },
  17122. "quoteminunit": {
  17123. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17124. "type": "integer"
  17125. },
  17126. "quoteshowtype": {
  17127. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17128. "type": "integer"
  17129. },
  17130. "quoteshowtypeinterval": {
  17131. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17132. "type": "integer"
  17133. },
  17134. "remark": {
  17135. "description": "备注",
  17136. "type": "string"
  17137. }
  17138. }
  17139. },
  17140. "models.GoodsIDAndName": {
  17141. "type": "object",
  17142. "required": [
  17143. "goodscode",
  17144. "goodsid",
  17145. "goodsname",
  17146. "marketid"
  17147. ],
  17148. "properties": {
  17149. "goodscode": {
  17150. "description": "商品代码(内部)",
  17151. "type": "string"
  17152. },
  17153. "goodsid": {
  17154. "description": "商品ID(自增ID SEQ_GOODS)",
  17155. "type": "integer"
  17156. },
  17157. "goodsname": {
  17158. "description": "商品名称",
  17159. "type": "string"
  17160. },
  17161. "marketid": {
  17162. "description": "所属市场ID",
  17163. "type": "integer"
  17164. }
  17165. }
  17166. },
  17167. "models.Goodsgroup": {
  17168. "type": "object",
  17169. "required": [
  17170. "goodsgroupid",
  17171. "goodsgroupname",
  17172. "goodsgroupstatus",
  17173. "marketid"
  17174. ],
  17175. "properties": {
  17176. "agreeunit": {
  17177. "description": "合约单位",
  17178. "type": "number"
  17179. },
  17180. "canshort": {
  17181. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17182. "type": "integer"
  17183. },
  17184. "closepricemode": {
  17185. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17186. "type": "integer"
  17187. },
  17188. "closepriceparam": {
  17189. "description": "强平最新价浮动比例 - 方式为2时使用",
  17190. "type": "number"
  17191. },
  17192. "createtime": {
  17193. "description": "创建时间",
  17194. "type": "string"
  17195. },
  17196. "creatorid": {
  17197. "description": "创建人",
  17198. "type": "integer"
  17199. },
  17200. "currencyid": {
  17201. "description": "报价货币ID",
  17202. "type": "integer"
  17203. },
  17204. "decimalplace": {
  17205. "description": "报价小数位",
  17206. "type": "integer"
  17207. },
  17208. "exercisetype": {
  17209. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17210. "type": "integer"
  17211. },
  17212. "exexchangeid": {
  17213. "description": "外部交易所ID[通道交易]",
  17214. "type": "integer"
  17215. },
  17216. "goodsgroupid": {
  17217. "description": "商品组ID(自增ID)",
  17218. "type": "integer"
  17219. },
  17220. "goodsgroupname": {
  17221. "description": "商品组名称",
  17222. "type": "string"
  17223. },
  17224. "goodsgroupstatus": {
  17225. "description": "商品组状态 - 1:正常 2:注销",
  17226. "type": "integer"
  17227. },
  17228. "goodunitid": {
  17229. "description": "报价单位ID",
  17230. "type": "integer"
  17231. },
  17232. "innerdealmode": {
  17233. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17234. "type": "integer"
  17235. },
  17236. "isbuylimited": {
  17237. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17238. "type": "integer"
  17239. },
  17240. "marketid": {
  17241. "description": "所属市场ID",
  17242. "type": "integer"
  17243. },
  17244. "modifierid": {
  17245. "description": "修改人",
  17246. "type": "integer"
  17247. },
  17248. "modifytime": {
  17249. "description": "修改时间",
  17250. "type": "string"
  17251. },
  17252. "outerdealmode": {
  17253. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17254. "type": "integer"
  17255. },
  17256. "outergroupcode": {
  17257. "description": "外部商品组代码[通道交易]",
  17258. "type": "string"
  17259. },
  17260. "premiumdecimalplace": {
  17261. "description": "权利金小数位[场外期权]",
  17262. "type": "integer"
  17263. },
  17264. "premiumspreadalgorithm": {
  17265. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17266. "type": "integer"
  17267. },
  17268. "premiumspreadvalue": {
  17269. "description": "权利金点差值[场外期权]",
  17270. "type": "number"
  17271. },
  17272. "qtydecimalplace": {
  17273. "description": "成交量小数位",
  17274. "type": "integer"
  17275. },
  17276. "quotegear": {
  17277. "description": "行情档位(1-10)",
  17278. "type": "integer"
  17279. },
  17280. "quoteminunit": {
  17281. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17282. "type": "integer"
  17283. },
  17284. "quoterid": {
  17285. "description": "报价商ID[场外期权]",
  17286. "type": "integer"
  17287. },
  17288. "quotesourcegroupid": {
  17289. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17290. "type": "integer"
  17291. },
  17292. "syncgoodsqty": {
  17293. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17294. "type": "integer"
  17295. }
  17296. }
  17297. },
  17298. "models.Goodssortbypreposition": {
  17299. "type": "object",
  17300. "required": [
  17301. "goodscode",
  17302. "tradedate"
  17303. ],
  17304. "properties": {
  17305. "goodscode": {
  17306. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17307. "type": "string"
  17308. },
  17309. "goodsgroupcode": {
  17310. "description": "品种代码",
  17311. "type": "string"
  17312. },
  17313. "prepositionqty": {
  17314. "description": "昨持仓量",
  17315. "type": "integer"
  17316. },
  17317. "sortindex": {
  17318. "description": "排序",
  17319. "type": "integer"
  17320. },
  17321. "tradedate": {
  17322. "description": "交易日",
  17323. "type": "string"
  17324. },
  17325. "updatetime": {
  17326. "description": "更新时间",
  17327. "type": "string"
  17328. }
  17329. }
  17330. },
  17331. "models.Hedgeinnerholderdetail": {
  17332. "type": "object",
  17333. "required": [
  17334. "buyorsell",
  17335. "tradeid"
  17336. ],
  17337. "properties": {
  17338. "accountid": {
  17339. "description": "账号ID",
  17340. "type": "integer"
  17341. },
  17342. "buyorsell": {
  17343. "description": "方向 - 0:买 1:卖",
  17344. "type": "integer"
  17345. },
  17346. "freezeqty": {
  17347. "description": "冻结数量 - 按单平使用",
  17348. "type": "integer"
  17349. },
  17350. "goodsid": {
  17351. "description": "商品ID",
  17352. "type": "integer"
  17353. },
  17354. "holderamount": {
  17355. "description": "持仓金额 [商品币种]",
  17356. "type": "number"
  17357. },
  17358. "holderdays": {
  17359. "description": "剩余冻结天数",
  17360. "type": "integer"
  17361. },
  17362. "holderprice": {
  17363. "description": "持仓价格",
  17364. "type": "number"
  17365. },
  17366. "holderqty": {
  17367. "description": "持仓数量",
  17368. "type": "integer"
  17369. },
  17370. "marketid": {
  17371. "description": "市场ID",
  17372. "type": "integer"
  17373. },
  17374. "openprice": {
  17375. "description": "建仓价格",
  17376. "type": "number"
  17377. },
  17378. "openqty": {
  17379. "description": "建仓数量",
  17380. "type": "integer"
  17381. },
  17382. "parentaccountid": {
  17383. "description": "所属母账户",
  17384. "type": "integer"
  17385. },
  17386. "releaseamount": {
  17387. "description": "释放持仓金额[商品币种]",
  17388. "type": "number"
  17389. },
  17390. "tradeamount": {
  17391. "description": "成交金额[账户]",
  17392. "type": "number"
  17393. },
  17394. "tradedate": {
  17395. "description": "交易日(yyyyMMdd)",
  17396. "type": "string"
  17397. },
  17398. "tradeid": {
  17399. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17400. "type": "string"
  17401. },
  17402. "tradetime": {
  17403. "description": "交易时间",
  17404. "type": "string"
  17405. }
  17406. }
  17407. },
  17408. "models.Hedgemarketopenlog": {
  17409. "type": "object",
  17410. "required": [
  17411. "accountid"
  17412. ],
  17413. "properties": {
  17414. "accountid": {
  17415. "description": "资金账号[外部母账户]",
  17416. "type": "integer"
  17417. },
  17418. "fcname": {
  17419. "description": "期货公司名称",
  17420. "type": "string"
  17421. },
  17422. "handlestatus": {
  17423. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17424. "type": "integer"
  17425. },
  17426. "marketid": {
  17427. "description": "市场ID",
  17428. "type": "integer"
  17429. },
  17430. "status": {
  17431. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17432. "type": "integer"
  17433. },
  17434. "tradedate": {
  17435. "description": "交易日(yyyyMMdd)",
  17436. "type": "string"
  17437. },
  17438. "updatetime": {
  17439. "description": "更新时间",
  17440. "type": "string"
  17441. }
  17442. }
  17443. },
  17444. "models.HsbyBuyMyPayOrder": {
  17445. "type": "object",
  17446. "required": [
  17447. "goodscode",
  17448. "goodsname",
  17449. "tradeid",
  17450. "trademode"
  17451. ],
  17452. "properties": {
  17453. "agreeunit": {
  17454. "description": "合约单位",
  17455. "type": "number"
  17456. },
  17457. "buyaccountid": {
  17458. "description": "买方账号ID[报价币种]",
  17459. "type": "integer"
  17460. },
  17461. "buyorderid": {
  17462. "description": "买方委托单号",
  17463. "type": "string"
  17464. },
  17465. "createtime": {
  17466. "description": "创建时间",
  17467. "type": "string"
  17468. },
  17469. "currencysign": {
  17470. "description": "货币符号",
  17471. "type": "string"
  17472. },
  17473. "decimalplace": {
  17474. "description": "报价小数位",
  17475. "type": "integer"
  17476. },
  17477. "goodscode": {
  17478. "description": "商品代码(内部)",
  17479. "type": "string"
  17480. },
  17481. "goodsid": {
  17482. "description": "商品ID",
  17483. "type": "integer"
  17484. },
  17485. "goodsname": {
  17486. "description": "商品名称",
  17487. "type": "string"
  17488. },
  17489. "marketid": {
  17490. "description": "市场ID",
  17491. "type": "integer"
  17492. },
  17493. "offamount": {
  17494. "description": "优惠金额",
  17495. "type": "number"
  17496. },
  17497. "originalamount": {
  17498. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17499. "type": "number"
  17500. },
  17501. "payamount": {
  17502. "description": "支付金额 = TradeAmount + TradeCharge",
  17503. "type": "number"
  17504. },
  17505. "payflag": {
  17506. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17507. "type": "integer"
  17508. },
  17509. "paylimitedtime": {
  17510. "description": "支付期限",
  17511. "type": "string"
  17512. },
  17513. "paytime": {
  17514. "description": "付款时间",
  17515. "type": "string"
  17516. },
  17517. "picurls1": {
  17518. "description": "预售商品介绍图片[多张用逗号分隔]",
  17519. "type": "string"
  17520. },
  17521. "picurls2": {
  17522. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17523. "type": "string"
  17524. },
  17525. "sellaccountid": {
  17526. "description": "卖方账号ID[报价币种]",
  17527. "type": "integer"
  17528. },
  17529. "sellorderid": {
  17530. "description": "卖方委托单号",
  17531. "type": "string"
  17532. },
  17533. "tradeamount": {
  17534. "description": "成交金额",
  17535. "type": "number"
  17536. },
  17537. "tradecharge": {
  17538. "description": "成交手续费(买方)",
  17539. "type": "number"
  17540. },
  17541. "tradedate": {
  17542. "description": "交易日(yyyyMMdd)",
  17543. "type": "string"
  17544. },
  17545. "tradeid": {
  17546. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17547. "type": "string"
  17548. },
  17549. "trademode": {
  17550. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17551. "type": "integer"
  17552. },
  17553. "tradeprice": {
  17554. "description": "成交价格",
  17555. "type": "number"
  17556. },
  17557. "tradeqty": {
  17558. "description": "成交数量",
  17559. "type": "integer"
  17560. },
  17561. "vendorname1": {
  17562. "description": "预售商品供应商名称",
  17563. "type": "string"
  17564. },
  17565. "vendorname2": {
  17566. "description": "挂牌商品供应商名称",
  17567. "type": "string"
  17568. }
  17569. }
  17570. },
  17571. "models.HsbyBuyMyTradeDetail": {
  17572. "type": "object",
  17573. "required": [
  17574. "accountid",
  17575. "buyorsell",
  17576. "goodscode",
  17577. "goodsid",
  17578. "goodsname",
  17579. "marketid",
  17580. "orderid",
  17581. "qty",
  17582. "time",
  17583. "trademode"
  17584. ],
  17585. "properties": {
  17586. "accountid": {
  17587. "description": "账户ID[报价币种]",
  17588. "type": "integer"
  17589. },
  17590. "agreeunit": {
  17591. "description": "合约单位",
  17592. "type": "number"
  17593. },
  17594. "amount": {
  17595. "description": "金额 = 价格 * 数量 * 合约单位",
  17596. "type": "number"
  17597. },
  17598. "buyorsell": {
  17599. "description": "买卖 - 0:买 1:卖",
  17600. "type": "integer"
  17601. },
  17602. "currencysign": {
  17603. "description": "货币符号",
  17604. "type": "string"
  17605. },
  17606. "decimalplace": {
  17607. "description": "报价小数位",
  17608. "type": "integer"
  17609. },
  17610. "goodscode": {
  17611. "description": "商品代码(内部)",
  17612. "type": "string"
  17613. },
  17614. "goodsid": {
  17615. "description": "商品ID",
  17616. "type": "integer"
  17617. },
  17618. "goodsname": {
  17619. "description": "商品名称",
  17620. "type": "string"
  17621. },
  17622. "marketid": {
  17623. "description": "市场ID",
  17624. "type": "integer"
  17625. },
  17626. "orderamount": {
  17627. "description": "委托金额",
  17628. "type": "number"
  17629. },
  17630. "orderid": {
  17631. "description": "单号(成交单号)",
  17632. "type": "string"
  17633. },
  17634. "picurls1": {
  17635. "description": "预售商品介绍图片[多张用逗号分隔]",
  17636. "type": "string"
  17637. },
  17638. "picurls2": {
  17639. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17640. "type": "string"
  17641. },
  17642. "price": {
  17643. "description": "价格",
  17644. "type": "number"
  17645. },
  17646. "qty": {
  17647. "description": "数量",
  17648. "type": "integer"
  17649. },
  17650. "time": {
  17651. "description": "时间",
  17652. "type": "string"
  17653. },
  17654. "trademode": {
  17655. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17656. "type": "integer"
  17657. },
  17658. "vendorname1": {
  17659. "description": "预售商品供应商名称",
  17660. "type": "string"
  17661. },
  17662. "vendorname2": {
  17663. "description": "挂牌商品供应商名称",
  17664. "type": "string"
  17665. }
  17666. }
  17667. },
  17668. "models.HsbyGoodsOrderDetail": {
  17669. "type": "object",
  17670. "required": [
  17671. "buyorsell",
  17672. "orderid",
  17673. "ordertime"
  17674. ],
  17675. "properties": {
  17676. "buyorsell": {
  17677. "description": "买卖 - 0:买 1:卖",
  17678. "type": "integer"
  17679. },
  17680. "currencysign": {
  17681. "description": "货币符号",
  17682. "type": "string"
  17683. },
  17684. "customername": {
  17685. "description": "客户名称(企业名称),已脱敏",
  17686. "type": "string"
  17687. },
  17688. "enableqty": {
  17689. "description": "可用数量",
  17690. "type": "integer"
  17691. },
  17692. "goodunit": {
  17693. "description": "报价单位",
  17694. "type": "string"
  17695. },
  17696. "orderid": {
  17697. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17698. "type": "string"
  17699. },
  17700. "orderprice": {
  17701. "description": "委托价格",
  17702. "type": "number"
  17703. },
  17704. "ordertime": {
  17705. "description": "委托时间",
  17706. "type": "string"
  17707. }
  17708. }
  17709. },
  17710. "models.HsbyListingGoodsDetail": {
  17711. "type": "object",
  17712. "required": [
  17713. "goodscode",
  17714. "goodsid",
  17715. "goodsname",
  17716. "marketid",
  17717. "trademode"
  17718. ],
  17719. "properties": {
  17720. "agreeunit": {
  17721. "description": "合约单位",
  17722. "type": "number"
  17723. },
  17724. "buymaxqty": {
  17725. "description": "购买上限 [71] - 0为不限",
  17726. "type": "integer"
  17727. },
  17728. "currency": {
  17729. "description": "货币",
  17730. "type": "string"
  17731. },
  17732. "currencysign": {
  17733. "description": "货币符号",
  17734. "type": "string"
  17735. },
  17736. "decimalplace": {
  17737. "description": "报价小数位",
  17738. "type": "integer"
  17739. },
  17740. "desccityid": {
  17741. "description": "目的地(市)ID",
  17742. "type": "integer"
  17743. },
  17744. "descprovinceid": {
  17745. "description": "目的地(省)ID",
  17746. "type": "integer"
  17747. },
  17748. "goodscode": {
  17749. "description": "商品代码(内部)",
  17750. "type": "string"
  17751. },
  17752. "goodsdesc": {
  17753. "description": "商品详情",
  17754. "type": "string"
  17755. },
  17756. "goodsid": {
  17757. "description": "商品ID(自增ID SEQ_GOODS)",
  17758. "type": "integer"
  17759. },
  17760. "goodsname": {
  17761. "description": "商品名称",
  17762. "type": "string"
  17763. },
  17764. "goodsprice": {
  17765. "description": "商品价格",
  17766. "type": "number"
  17767. },
  17768. "hotindex": {
  17769. "description": "景点热度",
  17770. "type": "integer"
  17771. },
  17772. "last": {
  17773. "description": "现价",
  17774. "type": "number"
  17775. },
  17776. "limitdown": {
  17777. "description": "跌停价",
  17778. "type": "number"
  17779. },
  17780. "limitup": {
  17781. "description": "涨停价",
  17782. "type": "number"
  17783. },
  17784. "lotsize": {
  17785. "description": "手数最小变动单位",
  17786. "type": "integer"
  17787. },
  17788. "marketid": {
  17789. "description": "所属市场ID",
  17790. "type": "integer"
  17791. },
  17792. "picurls": {
  17793. "description": "介绍图片[多张用逗号分隔]",
  17794. "type": "string"
  17795. },
  17796. "quoteminunit": {
  17797. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17798. "type": "integer"
  17799. },
  17800. "stepvalue": {
  17801. "description": "价格最小变动单位",
  17802. "type": "number"
  17803. },
  17804. "trademode": {
  17805. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17806. "type": "integer"
  17807. },
  17808. "vendorattr": {
  17809. "description": "供应商附件(多张,逗号分隔)",
  17810. "type": "string"
  17811. },
  17812. "vendorname": {
  17813. "description": "供应商名称",
  17814. "type": "string"
  17815. },
  17816. "vendorphone": {
  17817. "description": "供应商客服电话",
  17818. "type": "string"
  17819. },
  17820. "videourls": {
  17821. "description": "介绍视频[多张用逗号分隔]",
  17822. "type": "string"
  17823. }
  17824. }
  17825. },
  17826. "models.HsbyMarketGoods": {
  17827. "type": "object",
  17828. "required": [
  17829. "accountid",
  17830. "buyorsell",
  17831. "goodscode",
  17832. "goodsid",
  17833. "goodsname",
  17834. "marketid",
  17835. "orderid",
  17836. "trademode"
  17837. ],
  17838. "properties": {
  17839. "accountid": {
  17840. "description": "账户ID[报价币种]",
  17841. "type": "integer"
  17842. },
  17843. "agreeunit": {
  17844. "description": "合约单位",
  17845. "type": "number"
  17846. },
  17847. "buyorsell": {
  17848. "description": "买卖 - 0:买 1:卖",
  17849. "type": "integer"
  17850. },
  17851. "categoryid": {
  17852. "description": "类别ID(WRCATEGORY)",
  17853. "type": "integer"
  17854. },
  17855. "currency": {
  17856. "description": "货币",
  17857. "type": "string"
  17858. },
  17859. "currencysign": {
  17860. "description": "货币符号",
  17861. "type": "string"
  17862. },
  17863. "customername": {
  17864. "description": "卖家名称",
  17865. "type": "string"
  17866. },
  17867. "decimalplace": {
  17868. "description": "报价小数位",
  17869. "type": "integer"
  17870. },
  17871. "goodscode": {
  17872. "description": "商品代码(内部)",
  17873. "type": "string"
  17874. },
  17875. "goodsid": {
  17876. "description": "商品ID",
  17877. "type": "integer"
  17878. },
  17879. "goodsname": {
  17880. "description": "商品名称",
  17881. "type": "string"
  17882. },
  17883. "goodsprice": {
  17884. "description": "商品价格",
  17885. "type": "number"
  17886. },
  17887. "hascoupon": {
  17888. "description": "是否可用优惠卷",
  17889. "type": "boolean"
  17890. },
  17891. "hotindex": {
  17892. "description": "景点热度",
  17893. "type": "integer"
  17894. },
  17895. "marketid": {
  17896. "description": "市场ID",
  17897. "type": "integer"
  17898. },
  17899. "orderid": {
  17900. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17901. "type": "string"
  17902. },
  17903. "orderprice": {
  17904. "description": "委托价格",
  17905. "type": "number"
  17906. },
  17907. "orderstatus": {
  17908. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17909. "type": "integer"
  17910. },
  17911. "picurls": {
  17912. "description": "介绍图片[多张用逗号分隔]",
  17913. "type": "string"
  17914. },
  17915. "quoteminunit": {
  17916. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17917. "type": "integer"
  17918. },
  17919. "sellUserID": {
  17920. "description": "卖方UserID",
  17921. "type": "integer"
  17922. },
  17923. "trademode": {
  17924. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17925. "type": "integer"
  17926. },
  17927. "videourls": {
  17928. "description": "介绍视频[多张用逗号分隔]",
  17929. "type": "string"
  17930. }
  17931. }
  17932. },
  17933. "models.HsbyMarketGoodsDetail": {
  17934. "type": "object",
  17935. "required": [
  17936. "accountid",
  17937. "buyorsell",
  17938. "goodscode",
  17939. "goodsid",
  17940. "goodsname",
  17941. "marketid",
  17942. "orderid",
  17943. "orderqty",
  17944. "trademode"
  17945. ],
  17946. "properties": {
  17947. "accountid": {
  17948. "description": "账户ID[报价币种]",
  17949. "type": "integer"
  17950. },
  17951. "agreeunit": {
  17952. "description": "合约单位",
  17953. "type": "number"
  17954. },
  17955. "buymaxqty": {
  17956. "description": "购买上限 [71] - 0为不限",
  17957. "type": "integer"
  17958. },
  17959. "buyorsell": {
  17960. "description": "买卖 - 0:买 1:卖",
  17961. "type": "integer"
  17962. },
  17963. "cancelqty": {
  17964. "description": "撤单数量",
  17965. "type": "integer"
  17966. },
  17967. "categoryid": {
  17968. "description": "类别ID(WRCATEGORY)",
  17969. "type": "integer"
  17970. },
  17971. "currency": {
  17972. "description": "货币",
  17973. "type": "string"
  17974. },
  17975. "currencysign": {
  17976. "description": "货币符号",
  17977. "type": "string"
  17978. },
  17979. "customername": {
  17980. "description": "卖家名称",
  17981. "type": "string"
  17982. },
  17983. "decimalplace": {
  17984. "description": "报价小数位",
  17985. "type": "integer"
  17986. },
  17987. "goodscode": {
  17988. "description": "商品代码(内部)",
  17989. "type": "string"
  17990. },
  17991. "goodsdesc": {
  17992. "description": "商品详情",
  17993. "type": "string"
  17994. },
  17995. "goodsid": {
  17996. "description": "商品ID",
  17997. "type": "integer"
  17998. },
  17999. "goodsname": {
  18000. "description": "商品名称",
  18001. "type": "string"
  18002. },
  18003. "goodsprice": {
  18004. "description": "商品价格",
  18005. "type": "number"
  18006. },
  18007. "hotindex": {
  18008. "description": "景点热度",
  18009. "type": "integer"
  18010. },
  18011. "lotsize": {
  18012. "description": "手数最小变动单位",
  18013. "type": "integer"
  18014. },
  18015. "marketid": {
  18016. "description": "市场ID",
  18017. "type": "integer"
  18018. },
  18019. "orderid": {
  18020. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18021. "type": "string"
  18022. },
  18023. "orderprice": {
  18024. "description": "委托价格",
  18025. "type": "number"
  18026. },
  18027. "orderqty": {
  18028. "description": "委托数量",
  18029. "type": "integer"
  18030. },
  18031. "orderstatus": {
  18032. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18033. "type": "integer"
  18034. },
  18035. "picurls": {
  18036. "description": "介绍图片[多张用逗号分隔]",
  18037. "type": "string"
  18038. },
  18039. "quoteminunit": {
  18040. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18041. "type": "integer"
  18042. },
  18043. "sellUserID": {
  18044. "description": "卖方UserID",
  18045. "type": "integer"
  18046. },
  18047. "trademode": {
  18048. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18049. "type": "integer"
  18050. },
  18051. "tradeqty": {
  18052. "description": "成交数量",
  18053. "type": "integer"
  18054. },
  18055. "vendorattr": {
  18056. "description": "供应商附件(多张,逗号分隔)",
  18057. "type": "string"
  18058. },
  18059. "vendorname": {
  18060. "description": "供应商名称",
  18061. "type": "string"
  18062. },
  18063. "vendorphone": {
  18064. "description": "供应商客服电话",
  18065. "type": "string"
  18066. },
  18067. "videourls": {
  18068. "description": "介绍视频[多张用逗号分隔]",
  18069. "type": "string"
  18070. }
  18071. }
  18072. },
  18073. "models.HsbyMarketInfo": {
  18074. "type": "object",
  18075. "required": [
  18076. "marketid",
  18077. "marketstatus",
  18078. "trademode"
  18079. ],
  18080. "properties": {
  18081. "marketid": {
  18082. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18083. "type": "integer"
  18084. },
  18085. "marketname": {
  18086. "description": "市场名称",
  18087. "type": "string"
  18088. },
  18089. "marketstatus": {
  18090. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18091. "type": "integer"
  18092. },
  18093. "trademode": {
  18094. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18095. "type": "integer"
  18096. }
  18097. }
  18098. },
  18099. "models.HsbyMyGoods": {
  18100. "type": "object",
  18101. "required": [
  18102. "accountid",
  18103. "goodscode",
  18104. "goodsid",
  18105. "goodsname",
  18106. "marketid",
  18107. "trademode"
  18108. ],
  18109. "properties": {
  18110. "accountid": {
  18111. "description": "账号Id",
  18112. "type": "integer"
  18113. },
  18114. "agreeunit": {
  18115. "description": "合约单位",
  18116. "type": "number"
  18117. },
  18118. "buyaverageprice": {
  18119. "description": "持仓均价",
  18120. "type": "number"
  18121. },
  18122. "buycurholderamount": {
  18123. "description": "买当前持仓总金额[商品币种]",
  18124. "type": "number"
  18125. },
  18126. "buycurpositionqty": {
  18127. "description": "买当前持仓总数量",
  18128. "type": "integer"
  18129. },
  18130. "buymaxqty": {
  18131. "description": "购买上限 [71] - 0为不限",
  18132. "type": "integer"
  18133. },
  18134. "currencysign": {
  18135. "description": "货币符号",
  18136. "type": "string"
  18137. },
  18138. "decimalplace": {
  18139. "description": "报价小数位",
  18140. "type": "integer"
  18141. },
  18142. "enableqty": {
  18143. "description": "可用数量",
  18144. "type": "integer"
  18145. },
  18146. "goodscode": {
  18147. "description": "商品代码(内部)",
  18148. "type": "string"
  18149. },
  18150. "goodsid": {
  18151. "description": "商品Id",
  18152. "type": "integer"
  18153. },
  18154. "goodsname": {
  18155. "description": "商品名称",
  18156. "type": "string"
  18157. },
  18158. "goodsprice": {
  18159. "description": "商品价格",
  18160. "type": "number"
  18161. },
  18162. "goodsstatus": {
  18163. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18164. "type": "integer"
  18165. },
  18166. "last": {
  18167. "description": "现价(仅使用于挂牌点选)",
  18168. "type": "number"
  18169. },
  18170. "limitdown": {
  18171. "description": "跌停价(仅使用于挂牌点选)",
  18172. "type": "number"
  18173. },
  18174. "limitup": {
  18175. "description": "涨停价(仅使用于挂牌点选)",
  18176. "type": "number"
  18177. },
  18178. "lotsize": {
  18179. "description": "手数最小变动单位",
  18180. "type": "integer"
  18181. },
  18182. "marketid": {
  18183. "description": "所属市场ID",
  18184. "type": "integer"
  18185. },
  18186. "picurls": {
  18187. "description": "介绍图片[多张用逗号分隔]",
  18188. "type": "string"
  18189. },
  18190. "quoteminunit": {
  18191. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18192. "type": "integer"
  18193. },
  18194. "stepvalue": {
  18195. "description": "价格最小变动单位",
  18196. "type": "number"
  18197. },
  18198. "trademode": {
  18199. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18200. "type": "integer"
  18201. }
  18202. }
  18203. },
  18204. "models.HsbyMyPackage": {
  18205. "type": "object",
  18206. "required": [
  18207. "goodscode",
  18208. "goodsname",
  18209. "takeorderid",
  18210. "trademode"
  18211. ],
  18212. "properties": {
  18213. "accountid": {
  18214. "description": "账户ID",
  18215. "type": "integer"
  18216. },
  18217. "address": {
  18218. "description": "提货人详细地址",
  18219. "type": "string"
  18220. },
  18221. "agreeunit": {
  18222. "description": "合约单位",
  18223. "type": "number"
  18224. },
  18225. "amount": {
  18226. "description": "提货金额",
  18227. "type": "number"
  18228. },
  18229. "auditer": {
  18230. "description": "审核人",
  18231. "type": "integer"
  18232. },
  18233. "audittime": {
  18234. "description": "审核时间",
  18235. "type": "string"
  18236. },
  18237. "averageprice": {
  18238. "description": "均价",
  18239. "type": "number"
  18240. },
  18241. "cardnum": {
  18242. "description": "提货人证件号码",
  18243. "type": "string"
  18244. },
  18245. "cardtypeid": {
  18246. "description": "提货人证件类型",
  18247. "type": "integer"
  18248. },
  18249. "checkremark": {
  18250. "description": "审核备注",
  18251. "type": "string"
  18252. },
  18253. "currencysign": {
  18254. "description": "货币符号",
  18255. "type": "string"
  18256. },
  18257. "decimalplace": {
  18258. "description": "报价小数位",
  18259. "type": "integer"
  18260. },
  18261. "goodscode": {
  18262. "description": "商品代码(内部)",
  18263. "type": "string"
  18264. },
  18265. "goodsid": {
  18266. "description": "商品ID",
  18267. "type": "integer"
  18268. },
  18269. "goodsname": {
  18270. "description": "商品名称",
  18271. "type": "string"
  18272. },
  18273. "handlestatus": {
  18274. "description": "处理状态",
  18275. "type": "integer"
  18276. },
  18277. "marketid": {
  18278. "description": "市场ID",
  18279. "type": "integer"
  18280. },
  18281. "phonenum": {
  18282. "description": "提货人联系方式",
  18283. "type": "string"
  18284. },
  18285. "picurls": {
  18286. "description": "介绍图片[多张用逗号分隔]",
  18287. "type": "string"
  18288. },
  18289. "qty": {
  18290. "description": "提货数量",
  18291. "type": "number"
  18292. },
  18293. "recivername": {
  18294. "description": "提货人姓名",
  18295. "type": "string"
  18296. },
  18297. "reqtime": {
  18298. "description": "更新时间",
  18299. "type": "string"
  18300. },
  18301. "takemode": {
  18302. "description": "提货方式 - 2:自提 3:配送",
  18303. "type": "integer"
  18304. },
  18305. "takeorderid": {
  18306. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18307. "type": "string"
  18308. },
  18309. "takeorderstatus": {
  18310. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18311. "type": "integer"
  18312. },
  18313. "takeremark": {
  18314. "description": "提货备注",
  18315. "type": "string"
  18316. },
  18317. "tradedate": {
  18318. "description": "交易日(yyyyMMdd)",
  18319. "type": "string"
  18320. },
  18321. "trademode": {
  18322. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18323. "type": "integer"
  18324. },
  18325. "userid": {
  18326. "description": "用户ID",
  18327. "type": "integer"
  18328. },
  18329. "vendorname": {
  18330. "description": "供应商名称",
  18331. "type": "string"
  18332. }
  18333. }
  18334. },
  18335. "models.HsbyPreGoods": {
  18336. "type": "object",
  18337. "required": [
  18338. "goodscode",
  18339. "goodsid",
  18340. "goodsname",
  18341. "marketid",
  18342. "trademode"
  18343. ],
  18344. "properties": {
  18345. "agreeunit": {
  18346. "description": "合约单位",
  18347. "type": "number"
  18348. },
  18349. "currency": {
  18350. "description": "货币",
  18351. "type": "string"
  18352. },
  18353. "currencysign": {
  18354. "description": "货币符号",
  18355. "type": "string"
  18356. },
  18357. "decimalplace": {
  18358. "description": "报价小数位",
  18359. "type": "integer"
  18360. },
  18361. "desccityid": {
  18362. "description": "目的地(市)",
  18363. "type": "integer"
  18364. },
  18365. "descprovinceid": {
  18366. "description": "目的地(省)",
  18367. "type": "integer"
  18368. },
  18369. "enableqty": {
  18370. "description": "剩余数量",
  18371. "type": "integer"
  18372. },
  18373. "goodscode": {
  18374. "description": "商品代码(内部)",
  18375. "type": "string"
  18376. },
  18377. "goodsid": {
  18378. "description": "商品ID(自增ID SEQ_GOODS)",
  18379. "type": "integer"
  18380. },
  18381. "goodsname": {
  18382. "description": "商品名称",
  18383. "type": "string"
  18384. },
  18385. "goodsstatus": {
  18386. "description": "商品状态- 2:未上市 3:上市",
  18387. "type": "integer"
  18388. },
  18389. "lasttradedate": {
  18390. "description": "最后交易日期(状态:待退市)",
  18391. "type": "string"
  18392. },
  18393. "listingdate": {
  18394. "description": "交易开始日期",
  18395. "type": "string"
  18396. },
  18397. "marketid": {
  18398. "description": "所属市场ID",
  18399. "type": "integer"
  18400. },
  18401. "picurls": {
  18402. "description": "介绍图片[多张用逗号分隔]",
  18403. "type": "string"
  18404. },
  18405. "presaledqty": {
  18406. "description": "已预售量(预售结束时更新)",
  18407. "type": "integer"
  18408. },
  18409. "presaleqty": {
  18410. "description": "预售数量",
  18411. "type": "integer"
  18412. },
  18413. "quoteminunit": {
  18414. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18415. "type": "integer"
  18416. },
  18417. "refprice": {
  18418. "description": "参考价格[一口价]",
  18419. "type": "number"
  18420. },
  18421. "relatedgoodsid": {
  18422. "description": "关联交易合约ID",
  18423. "type": "integer"
  18424. },
  18425. "trademode": {
  18426. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18427. "type": "integer"
  18428. },
  18429. "videourls": {
  18430. "description": "介绍视频[多张用逗号分隔]",
  18431. "type": "string"
  18432. }
  18433. }
  18434. },
  18435. "models.HsbyPreGoodsDetail": {
  18436. "type": "object",
  18437. "required": [
  18438. "goodscode",
  18439. "goodsid",
  18440. "goodsname",
  18441. "marketid",
  18442. "trademode"
  18443. ],
  18444. "properties": {
  18445. "agreeunit": {
  18446. "description": "合约单位",
  18447. "type": "number"
  18448. },
  18449. "buymaxqty": {
  18450. "description": "购买上限 [71] - 0为不限",
  18451. "type": "integer"
  18452. },
  18453. "currency": {
  18454. "description": "货币",
  18455. "type": "string"
  18456. },
  18457. "currencysign": {
  18458. "description": "货币符号",
  18459. "type": "string"
  18460. },
  18461. "customername": {
  18462. "description": "发行单位",
  18463. "type": "string"
  18464. },
  18465. "decimalplace": {
  18466. "description": "报价小数位",
  18467. "type": "integer"
  18468. },
  18469. "desccityid": {
  18470. "description": "目的地(市)ID",
  18471. "type": "integer"
  18472. },
  18473. "descprovinceid": {
  18474. "description": "目的地(省)ID",
  18475. "type": "integer"
  18476. },
  18477. "enableqty": {
  18478. "description": "剩余数量",
  18479. "type": "integer"
  18480. },
  18481. "goodscode": {
  18482. "description": "商品代码(内部)",
  18483. "type": "string"
  18484. },
  18485. "goodsdesc": {
  18486. "description": "商品详情",
  18487. "type": "string"
  18488. },
  18489. "goodsid": {
  18490. "description": "商品ID(自增ID SEQ_GOODS)",
  18491. "type": "integer"
  18492. },
  18493. "goodsname": {
  18494. "description": "商品名称",
  18495. "type": "string"
  18496. },
  18497. "goodsstatus": {
  18498. "description": "商品状态- 2:未上市 3:上市",
  18499. "type": "integer"
  18500. },
  18501. "goodunit": {
  18502. "description": "报价单位",
  18503. "type": "string"
  18504. },
  18505. "lasttradedate": {
  18506. "description": "最后交易日期(状态:待退市)",
  18507. "type": "string"
  18508. },
  18509. "listingdate": {
  18510. "description": "交易开始日期",
  18511. "type": "string"
  18512. },
  18513. "lotsize": {
  18514. "description": "手数最小变动单位",
  18515. "type": "integer"
  18516. },
  18517. "marketid": {
  18518. "description": "所属市场ID",
  18519. "type": "integer"
  18520. },
  18521. "picurls": {
  18522. "description": "介绍图片[多张用逗号分隔]",
  18523. "type": "string"
  18524. },
  18525. "presaledqty": {
  18526. "description": "已预售量(预售结束时更新)",
  18527. "type": "integer"
  18528. },
  18529. "presaleqty": {
  18530. "description": "预售数量",
  18531. "type": "integer"
  18532. },
  18533. "quoteminunit": {
  18534. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18535. "type": "integer"
  18536. },
  18537. "refprice": {
  18538. "description": "参考价格[一口价]",
  18539. "type": "number"
  18540. },
  18541. "relatedgoodsid": {
  18542. "description": "关联交易合约ID",
  18543. "type": "integer"
  18544. },
  18545. "stepvalue": {
  18546. "description": "价格最小变动单位",
  18547. "type": "number"
  18548. },
  18549. "trademode": {
  18550. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18551. "type": "integer"
  18552. },
  18553. "vendorattr": {
  18554. "description": "供应商附件(多张,逗号分隔)",
  18555. "type": "string"
  18556. },
  18557. "vendorname": {
  18558. "description": "供应商名称",
  18559. "type": "string"
  18560. },
  18561. "vendorphone": {
  18562. "description": "供应商客服电话",
  18563. "type": "string"
  18564. },
  18565. "videourls": {
  18566. "description": "介绍视频[多张用逗号分隔]",
  18567. "type": "string"
  18568. }
  18569. }
  18570. },
  18571. "models.HsbySellCollectionOrder": {
  18572. "type": "object",
  18573. "required": [
  18574. "goodscode",
  18575. "goodsname",
  18576. "tradeid",
  18577. "trademode"
  18578. ],
  18579. "properties": {
  18580. "agreeunit": {
  18581. "description": "合约单位",
  18582. "type": "number"
  18583. },
  18584. "buyaccountid": {
  18585. "description": "买方账号ID[报价币种]",
  18586. "type": "integer"
  18587. },
  18588. "buyorderid": {
  18589. "description": "买方委托单号",
  18590. "type": "string"
  18591. },
  18592. "createtime": {
  18593. "description": "创建时间",
  18594. "type": "string"
  18595. },
  18596. "currencysign": {
  18597. "description": "货币符号",
  18598. "type": "string"
  18599. },
  18600. "decimalplace": {
  18601. "description": "报价小数位",
  18602. "type": "integer"
  18603. },
  18604. "goodscode": {
  18605. "description": "商品代码(内部)",
  18606. "type": "string"
  18607. },
  18608. "goodsid": {
  18609. "description": "商品ID",
  18610. "type": "integer"
  18611. },
  18612. "goodsname": {
  18613. "description": "商品名称",
  18614. "type": "string"
  18615. },
  18616. "marketid": {
  18617. "description": "市场ID",
  18618. "type": "integer"
  18619. },
  18620. "offamount": {
  18621. "description": "优惠金额",
  18622. "type": "number"
  18623. },
  18624. "payamount": {
  18625. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  18626. "type": "number"
  18627. },
  18628. "payflag": {
  18629. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18630. "type": "integer"
  18631. },
  18632. "paylimitedtime": {
  18633. "description": "支付期限",
  18634. "type": "string"
  18635. },
  18636. "paytime": {
  18637. "description": "付款时间",
  18638. "type": "string"
  18639. },
  18640. "picurls": {
  18641. "description": "商品介绍图片[多张用逗号分隔]",
  18642. "type": "string"
  18643. },
  18644. "sellaccountid": {
  18645. "description": "卖方账号ID[报价币种]",
  18646. "type": "integer"
  18647. },
  18648. "sellorderid": {
  18649. "description": "卖方委托单号",
  18650. "type": "string"
  18651. },
  18652. "tradeamount": {
  18653. "description": "成交金额",
  18654. "type": "number"
  18655. },
  18656. "tradecharge": {
  18657. "description": "成交手续费(买方)",
  18658. "type": "number"
  18659. },
  18660. "tradedate": {
  18661. "description": "交易日(yyyyMMdd)",
  18662. "type": "string"
  18663. },
  18664. "tradeid": {
  18665. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18666. "type": "string"
  18667. },
  18668. "trademode": {
  18669. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18670. "type": "integer"
  18671. },
  18672. "tradeprice": {
  18673. "description": "成交价格",
  18674. "type": "number"
  18675. },
  18676. "tradeqty": {
  18677. "description": "成交数量",
  18678. "type": "integer"
  18679. }
  18680. }
  18681. },
  18682. "models.HsbySellMyDetail": {
  18683. "type": "object",
  18684. "required": [
  18685. "accountid",
  18686. "buyorsell",
  18687. "goodscode",
  18688. "goodsid",
  18689. "goodsname",
  18690. "marketid",
  18691. "orderid",
  18692. "time",
  18693. "trademode"
  18694. ],
  18695. "properties": {
  18696. "accountid": {
  18697. "description": "账户ID[报价币种]",
  18698. "type": "integer"
  18699. },
  18700. "agreeunit": {
  18701. "description": "合约单位",
  18702. "type": "number"
  18703. },
  18704. "buyorsell": {
  18705. "description": "买卖 - 0:买 1:卖",
  18706. "type": "integer"
  18707. },
  18708. "currencysign": {
  18709. "description": "货币符号",
  18710. "type": "string"
  18711. },
  18712. "decimalplace": {
  18713. "description": "报价小数位",
  18714. "type": "integer"
  18715. },
  18716. "goodscode": {
  18717. "description": "商品代码(内部)",
  18718. "type": "string"
  18719. },
  18720. "goodsid": {
  18721. "description": "商品ID",
  18722. "type": "integer"
  18723. },
  18724. "goodsname": {
  18725. "description": "商品名称",
  18726. "type": "string"
  18727. },
  18728. "marketid": {
  18729. "description": "市场ID",
  18730. "type": "integer"
  18731. },
  18732. "orderid": {
  18733. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  18734. "type": "string"
  18735. },
  18736. "ordertype": {
  18737. "description": "单据类型:0 - 发布中, 1 - 已完成",
  18738. "type": "integer"
  18739. },
  18740. "picurls": {
  18741. "description": "介绍图片[多张用逗号分隔]",
  18742. "type": "string"
  18743. },
  18744. "price": {
  18745. "description": "价格",
  18746. "type": "number"
  18747. },
  18748. "qty": {
  18749. "description": "数量",
  18750. "type": "integer"
  18751. },
  18752. "time": {
  18753. "description": "时间",
  18754. "type": "string"
  18755. },
  18756. "trademode": {
  18757. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18758. "type": "integer"
  18759. },
  18760. "vendorname": {
  18761. "description": "供应商名称",
  18762. "type": "string"
  18763. }
  18764. }
  18765. },
  18766. "models.HsbyTopGoods": {
  18767. "type": "object",
  18768. "required": [
  18769. "goodscode",
  18770. "goodsid",
  18771. "goodsname",
  18772. "marketid",
  18773. "trademode"
  18774. ],
  18775. "properties": {
  18776. "agreeunit": {
  18777. "description": "合约单位",
  18778. "type": "number"
  18779. },
  18780. "currency": {
  18781. "description": "货币",
  18782. "type": "string"
  18783. },
  18784. "currencysign": {
  18785. "description": "货币符号",
  18786. "type": "string"
  18787. },
  18788. "decimalplace": {
  18789. "description": "报价小数位",
  18790. "type": "integer"
  18791. },
  18792. "desccityid": {
  18793. "description": "目的地(市)",
  18794. "type": "integer"
  18795. },
  18796. "descprovinceid": {
  18797. "description": "目的地(省)",
  18798. "type": "integer"
  18799. },
  18800. "goodscode": {
  18801. "description": "商品代码(内部)",
  18802. "type": "string"
  18803. },
  18804. "goodsid": {
  18805. "description": "商品ID(自增ID SEQ_GOODS)",
  18806. "type": "integer"
  18807. },
  18808. "goodsname": {
  18809. "description": "商品名称",
  18810. "type": "string"
  18811. },
  18812. "hotindex": {
  18813. "description": "景点热度",
  18814. "type": "integer"
  18815. },
  18816. "last": {
  18817. "description": "现价",
  18818. "type": "number"
  18819. },
  18820. "marketid": {
  18821. "description": "所属市场ID",
  18822. "type": "integer"
  18823. },
  18824. "picurls": {
  18825. "description": "介绍图片[多张用逗号分隔]",
  18826. "type": "string"
  18827. },
  18828. "quoteminunit": {
  18829. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18830. "type": "integer"
  18831. },
  18832. "trademode": {
  18833. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18834. "type": "integer"
  18835. },
  18836. "videourls": {
  18837. "description": "介绍视频[多张用逗号分隔]",
  18838. "type": "string"
  18839. }
  18840. }
  18841. },
  18842. "models.HybsMyBuyOrderDetail": {
  18843. "type": "object",
  18844. "required": [
  18845. "accountid",
  18846. "buyorsell",
  18847. "goodscode",
  18848. "goodsid",
  18849. "goodsname",
  18850. "marketid",
  18851. "orderid",
  18852. "orderqty",
  18853. "ordertime",
  18854. "trademode"
  18855. ],
  18856. "properties": {
  18857. "accountid": {
  18858. "description": "账户ID[报价币种]",
  18859. "type": "integer"
  18860. },
  18861. "agreeunit": {
  18862. "description": "合约单位",
  18863. "type": "number"
  18864. },
  18865. "buyorsell": {
  18866. "description": "买卖 - 0:买 1:卖",
  18867. "type": "integer"
  18868. },
  18869. "cancelqty": {
  18870. "description": "撤单数量",
  18871. "type": "integer"
  18872. },
  18873. "currencysign": {
  18874. "description": "货币符号",
  18875. "type": "string"
  18876. },
  18877. "decimalplace": {
  18878. "description": "报价小数位",
  18879. "type": "integer"
  18880. },
  18881. "goodscode": {
  18882. "description": "商品代码(内部)",
  18883. "type": "string"
  18884. },
  18885. "goodsid": {
  18886. "description": "商品ID",
  18887. "type": "integer"
  18888. },
  18889. "goodsname": {
  18890. "description": "商品名称",
  18891. "type": "string"
  18892. },
  18893. "listingselecttype": {
  18894. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18895. "type": "integer"
  18896. },
  18897. "marketid": {
  18898. "description": "市场ID",
  18899. "type": "integer"
  18900. },
  18901. "mybuystatus": {
  18902. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  18903. "type": "integer"
  18904. },
  18905. "orderamount": {
  18906. "description": "委托金额",
  18907. "type": "number"
  18908. },
  18909. "orderid": {
  18910. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18911. "type": "string"
  18912. },
  18913. "orderprice": {
  18914. "description": "委托价格",
  18915. "type": "number"
  18916. },
  18917. "orderqty": {
  18918. "description": "委托数量",
  18919. "type": "integer"
  18920. },
  18921. "orderstatus": {
  18922. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18923. "type": "integer"
  18924. },
  18925. "ordertime": {
  18926. "description": "委托时间",
  18927. "type": "string"
  18928. },
  18929. "picurls1": {
  18930. "description": "预售商品介绍图片[多张用逗号分隔]",
  18931. "type": "string"
  18932. },
  18933. "picurls2": {
  18934. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18935. "type": "string"
  18936. },
  18937. "trademode": {
  18938. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18939. "type": "integer"
  18940. },
  18941. "tradeqty": {
  18942. "description": "成交数量",
  18943. "type": "integer"
  18944. },
  18945. "vendorname1": {
  18946. "description": "预售商品供应商名称",
  18947. "type": "string"
  18948. },
  18949. "vendorname2": {
  18950. "description": "挂牌商品供应商名称",
  18951. "type": "string"
  18952. }
  18953. }
  18954. },
  18955. "models.Loginaccount": {
  18956. "type": "object",
  18957. "required": [
  18958. "loginid"
  18959. ],
  18960. "properties": {
  18961. "canoutin": {
  18962. "description": "是否可出入金 - 0:不可 1:可",
  18963. "type": "integer"
  18964. },
  18965. "clientroleid": {
  18966. "description": "终端角色ID",
  18967. "type": "integer"
  18968. },
  18969. "haslogined": {
  18970. "description": "是否已登录 - 0:未登录 1:已登录",
  18971. "type": "integer"
  18972. },
  18973. "hasupdatedpwd": {
  18974. "description": "是否已更改密码 - 0:未修改 1:已修改",
  18975. "type": "integer"
  18976. },
  18977. "lastloginip": {
  18978. "description": "最新登录地址",
  18979. "type": "string"
  18980. },
  18981. "lastloginmode": {
  18982. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18983. "type": "integer"
  18984. },
  18985. "lastloginremark": {
  18986. "description": "最新登录描述",
  18987. "type": "string"
  18988. },
  18989. "lastlogintime": {
  18990. "description": "最新登录时间",
  18991. "type": "string"
  18992. },
  18993. "logincode": {
  18994. "description": "登录代码",
  18995. "type": "string"
  18996. },
  18997. "loginfailnum": {
  18998. "description": "连续登录失败次数(登录成功时清零)",
  18999. "type": "integer"
  19000. },
  19001. "loginid": {
  19002. "description": "登陆账号",
  19003. "type": "integer"
  19004. },
  19005. "loginport": {
  19006. "description": "最新登录端口",
  19007. "type": "integer"
  19008. },
  19009. "loginstatus": {
  19010. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  19011. "type": "integer"
  19012. },
  19013. "loginusertype": {
  19014. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19015. "type": "integer"
  19016. },
  19017. "modifierid": {
  19018. "description": "修改人",
  19019. "type": "integer"
  19020. },
  19021. "modifytime": {
  19022. "description": "修改时间",
  19023. "type": "string"
  19024. },
  19025. "pwdwrongcount": {
  19026. "description": "密码错误次数",
  19027. "type": "integer"
  19028. },
  19029. "taaccountrighttype": {
  19030. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19031. "type": "integer"
  19032. },
  19033. "unfreezetime": {
  19034. "description": "账户解冻时间",
  19035. "type": "string"
  19036. },
  19037. "userid": {
  19038. "description": "用户ID",
  19039. "type": "integer"
  19040. }
  19041. }
  19042. },
  19043. "models.MainAccountInfo": {
  19044. "type": "object",
  19045. "properties": {
  19046. "accountid": {
  19047. "description": "账号id",
  19048. "type": "integer"
  19049. },
  19050. "accountname": {
  19051. "description": "账号名称(taaccount表中的名称)",
  19052. "type": "string"
  19053. },
  19054. "appid": {
  19055. "description": "AppID",
  19056. "type": "string"
  19057. },
  19058. "authcode": {
  19059. "description": "授权码",
  19060. "type": "string"
  19061. },
  19062. "brokerid": {
  19063. "description": "经纪商id",
  19064. "type": "string"
  19065. },
  19066. "fcid": {
  19067. "description": "期货公司id",
  19068. "type": "integer"
  19069. },
  19070. "fcname": {
  19071. "description": "期货公司代码",
  19072. "type": "string"
  19073. },
  19074. "hedgeaccountcode": {
  19075. "description": "外部账号代码(主账号登录代码)",
  19076. "type": "string"
  19077. },
  19078. "hedgeaccountpwd": {
  19079. "description": "密码",
  19080. "type": "string"
  19081. },
  19082. "ismain": {
  19083. "description": "是否主账号",
  19084. "type": "integer"
  19085. },
  19086. "relateduserid": {
  19087. "description": "关联用户id",
  19088. "type": "integer"
  19089. },
  19090. "userid": {
  19091. "description": "关联用户id",
  19092. "type": "integer"
  19093. }
  19094. }
  19095. },
  19096. "models.Market": {
  19097. "type": "object",
  19098. "required": [
  19099. "marketid",
  19100. "marketstatus",
  19101. "openmethod",
  19102. "reckonpricealgorithm",
  19103. "trademode",
  19104. "tradeproperty"
  19105. ],
  19106. "properties": {
  19107. "auctionwrtype": {
  19108. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19109. "type": "integer"
  19110. },
  19111. "canacceptquote": {
  19112. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19113. "type": "integer"
  19114. },
  19115. "cangoodsexercise": {
  19116. "description": "[期权]是否可现货行权- 0:否 1:是",
  19117. "type": "integer"
  19118. },
  19119. "cangoodsexercisetype": {
  19120. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19121. "type": "integer"
  19122. },
  19123. "canmanualquotestrike": {
  19124. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19125. "type": "integer"
  19126. },
  19127. "canmutistage": {
  19128. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19129. "type": "integer"
  19130. },
  19131. "canpreexercise": {
  19132. "description": "[期权]是否可预申报- 0:否 1:是",
  19133. "type": "integer"
  19134. },
  19135. "clearinterval": {
  19136. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19137. "type": "integer"
  19138. },
  19139. "contracttmp": {
  19140. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19141. "type": "string"
  19142. },
  19143. "exchareaid": {
  19144. "description": "所属交易所,可以没有",
  19145. "type": "integer"
  19146. },
  19147. "goodstype": {
  19148. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19149. "type": "integer"
  19150. },
  19151. "hasrebate": {
  19152. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19153. "type": "integer"
  19154. },
  19155. "hastradecredit": {
  19156. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19157. "type": "integer"
  19158. },
  19159. "haswr": {
  19160. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19161. "type": "integer"
  19162. },
  19163. "isdeductmargin": {
  19164. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19165. "type": "integer"
  19166. },
  19167. "isrecordsource": {
  19168. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19169. "type": "integer"
  19170. },
  19171. "isreleasemargin": {
  19172. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19173. "type": "integer"
  19174. },
  19175. "marginformula": {
  19176. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19177. "type": "integer"
  19178. },
  19179. "marginformula2": {
  19180. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19181. "type": "integer"
  19182. },
  19183. "marketid": {
  19184. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19185. "type": "integer"
  19186. },
  19187. "marketname": {
  19188. "description": "市场名称",
  19189. "type": "string"
  19190. },
  19191. "marketserviceid": {
  19192. "description": "市场服务ID",
  19193. "type": "integer"
  19194. },
  19195. "marketstatus": {
  19196. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19197. "type": "integer"
  19198. },
  19199. "markettype": {
  19200. "description": "市场类型- 1:非交易服务 2:交易服务",
  19201. "type": "integer"
  19202. },
  19203. "matchermode": {
  19204. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19205. "type": "integer"
  19206. },
  19207. "openmethod": {
  19208. "description": "开盘模式 - 0 自动 1手动",
  19209. "type": "integer"
  19210. },
  19211. "otcuserid": {
  19212. "description": "场外期权做市商[场外期权]",
  19213. "type": "integer"
  19214. },
  19215. "outersynctime": {
  19216. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19217. "type": "string"
  19218. },
  19219. "pendingflag": {
  19220. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19221. "type": "integer"
  19222. },
  19223. "pendingtime": {
  19224. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19225. "type": "string"
  19226. },
  19227. "performancetempid": {
  19228. "description": "履约计划模板ID - 作废",
  19229. "type": "integer"
  19230. },
  19231. "premiumquotemode": {
  19232. "description": "权利金报价方式 - 1:自动 2:手动",
  19233. "type": "integer"
  19234. },
  19235. "rebateratio": {
  19236. "description": "返利比率[竞价式]",
  19237. "type": "number"
  19238. },
  19239. "reckonorder": {
  19240. "description": "结算顺序",
  19241. "type": "integer"
  19242. },
  19243. "reckonpricealgorithm": {
  19244. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19245. "type": "integer"
  19246. },
  19247. "reckonpriceparam": {
  19248. "description": "结算价参数",
  19249. "type": "integer"
  19250. },
  19251. "reckontime": {
  19252. "description": "结算时间[通道交易-对冲](HH:mm)",
  19253. "type": "string"
  19254. },
  19255. "roleprioritytype": {
  19256. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19257. "type": "integer"
  19258. },
  19259. "selllistingauditflag": {
  19260. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19261. "type": "integer"
  19262. },
  19263. "trademarkettype": {
  19264. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19265. "type": "integer"
  19266. },
  19267. "trademode": {
  19268. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19269. "type": "integer"
  19270. },
  19271. "tradeproperty": {
  19272. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19273. "type": "integer"
  19274. },
  19275. "tradetype": {
  19276. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19277. "type": "integer"
  19278. }
  19279. }
  19280. },
  19281. "models.Marketrun": {
  19282. "type": "object",
  19283. "required": [
  19284. "marketid",
  19285. "nexttradedate",
  19286. "reckonflag",
  19287. "runstatus",
  19288. "tradedate",
  19289. "tradedate2"
  19290. ],
  19291. "properties": {
  19292. "afternexttradedate": {
  19293. "description": "下下交易日",
  19294. "type": "string"
  19295. },
  19296. "clearquoteflag": {
  19297. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19298. "type": "integer"
  19299. },
  19300. "lastreckondate": {
  19301. "description": "最新交易日(结算成功)",
  19302. "type": "string"
  19303. },
  19304. "machinedate": {
  19305. "description": "机器时间",
  19306. "type": "string"
  19307. },
  19308. "manualflag": {
  19309. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19310. "type": "integer"
  19311. },
  19312. "marketid": {
  19313. "description": "市场ID",
  19314. "type": "integer"
  19315. },
  19316. "nexttradedate": {
  19317. "description": "下一交易日",
  19318. "type": "string"
  19319. },
  19320. "pretradedate": {
  19321. "description": "上一交易日",
  19322. "type": "string"
  19323. },
  19324. "reckonflag": {
  19325. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19326. "type": "integer"
  19327. },
  19328. "runstatus": {
  19329. "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.今日免清算",
  19330. "type": "integer"
  19331. },
  19332. "sectionid": {
  19333. "description": "时间段号[多时段时用]",
  19334. "type": "integer"
  19335. },
  19336. "tradedate": {
  19337. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19338. "type": "string"
  19339. },
  19340. "tradedate2": {
  19341. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19342. "type": "string"
  19343. },
  19344. "updatetime": {
  19345. "description": "更新时间",
  19346. "type": "string"
  19347. }
  19348. }
  19349. },
  19350. "models.Messageboard": {
  19351. "type": "object",
  19352. "required": [
  19353. "messageboardid"
  19354. ],
  19355. "properties": {
  19356. "contactnum": {
  19357. "description": "联系电话",
  19358. "type": "string"
  19359. },
  19360. "createtime": {
  19361. "description": "创建时间",
  19362. "type": "string"
  19363. },
  19364. "message": {
  19365. "description": "留言信息",
  19366. "type": "string"
  19367. },
  19368. "messageboardid": {
  19369. "description": "留言簿ID(SEQ_MessageBoard)",
  19370. "type": "integer"
  19371. },
  19372. "userid": {
  19373. "description": "用户ID",
  19374. "type": "integer"
  19375. }
  19376. }
  19377. },
  19378. "models.MyCoupon": {
  19379. "type": "object",
  19380. "required": [
  19381. "accountid",
  19382. "coupontypeid"
  19383. ],
  19384. "properties": {
  19385. "accountid": {
  19386. "description": "资金账户ID",
  19387. "type": "integer"
  19388. },
  19389. "areauserid": {
  19390. "description": "所属机构",
  19391. "type": "integer"
  19392. },
  19393. "conditionvalue": {
  19394. "description": "条件阈值(可为0)",
  19395. "type": "number"
  19396. },
  19397. "couponcategroy": {
  19398. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19399. "type": "integer"
  19400. },
  19401. "couponname": {
  19402. "description": "优惠券名称",
  19403. "type": "string"
  19404. },
  19405. "coupontypeid": {
  19406. "description": "优惠券类型ID",
  19407. "type": "string"
  19408. },
  19409. "couponvalue": {
  19410. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19411. "type": "number"
  19412. },
  19413. "curfreezeqty": {
  19414. "description": "期末冻结数量",
  19415. "type": "integer"
  19416. },
  19417. "curqty": {
  19418. "description": "期末数量",
  19419. "type": "integer"
  19420. },
  19421. "isgeneral": {
  19422. "description": "是否通用券 - 0:否 1:是",
  19423. "type": "integer"
  19424. },
  19425. "isunusable": {
  19426. "description": "是否不可用",
  19427. "type": "boolean"
  19428. },
  19429. "limitedflag": {
  19430. "description": "是否指定商品 - 0:不限 1:限制",
  19431. "type": "integer"
  19432. },
  19433. "limitedgoodsids": {
  19434. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19435. "type": "string"
  19436. },
  19437. "orifreezeqty": {
  19438. "description": "期初冻结数量",
  19439. "type": "integer"
  19440. },
  19441. "oriqty": {
  19442. "description": "期初数量",
  19443. "type": "integer"
  19444. },
  19445. "reasontype": {
  19446. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19447. "type": "integer"
  19448. },
  19449. "todaydecrease": {
  19450. "description": "今日减少",
  19451. "type": "integer"
  19452. },
  19453. "todayincrease": {
  19454. "description": "今日增加",
  19455. "type": "integer"
  19456. },
  19457. "userid": {
  19458. "description": "用户ID",
  19459. "type": "integer"
  19460. },
  19461. "userscope": {
  19462. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19463. "type": "string"
  19464. }
  19465. }
  19466. },
  19467. "models.MyCouponHold": {
  19468. "type": "object",
  19469. "required": [
  19470. "couponholdid"
  19471. ],
  19472. "properties": {
  19473. "accountid": {
  19474. "description": "资金账户ID",
  19475. "type": "integer"
  19476. },
  19477. "conditionvalue": {
  19478. "description": "条件阈值(可为0)",
  19479. "type": "number"
  19480. },
  19481. "couponcategroy": {
  19482. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19483. "type": "integer"
  19484. },
  19485. "couponholdid": {
  19486. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19487. "type": "string"
  19488. },
  19489. "couponname": {
  19490. "description": "优惠券名称",
  19491. "type": "string"
  19492. },
  19493. "coupontypeid": {
  19494. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19495. "type": "string"
  19496. },
  19497. "couponvalue": {
  19498. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19499. "type": "number"
  19500. },
  19501. "createtime": {
  19502. "description": "创建时间",
  19503. "type": "string"
  19504. },
  19505. "enddate": {
  19506. "description": "结束日期",
  19507. "type": "string"
  19508. },
  19509. "giveapplyid": {
  19510. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19511. "type": "integer"
  19512. },
  19513. "holdstatus": {
  19514. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19515. "type": "integer"
  19516. },
  19517. "isgeneral": {
  19518. "description": "是否通用券 - 0:否 1:是",
  19519. "type": "integer"
  19520. },
  19521. "limitedflag": {
  19522. "description": "是否指定商品 - 0:不限 1:限制",
  19523. "type": "integer"
  19524. },
  19525. "limitedgoodsids": {
  19526. "description": "指定商品IDs[逗号分隔]",
  19527. "type": "string"
  19528. },
  19529. "qty": {
  19530. "description": "数量(按1平铺)",
  19531. "type": "integer"
  19532. },
  19533. "startdate": {
  19534. "description": "开始日期",
  19535. "type": "string"
  19536. },
  19537. "userid": {
  19538. "description": "用户ID",
  19539. "type": "integer"
  19540. },
  19541. "userscope": {
  19542. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19543. "type": "string"
  19544. }
  19545. }
  19546. },
  19547. "models.MyUsedCoupon": {
  19548. "type": "object",
  19549. "required": [
  19550. "coupontypeid",
  19551. "orderid"
  19552. ],
  19553. "properties": {
  19554. "accountid": {
  19555. "description": "资金账户ID(买方)",
  19556. "type": "integer"
  19557. },
  19558. "conditionvalue": {
  19559. "description": "条件阈值(可为0)",
  19560. "type": "number"
  19561. },
  19562. "couponcategroy": {
  19563. "description": "种类 - 1:现金券 2:折扣券",
  19564. "type": "integer"
  19565. },
  19566. "couponname": {
  19567. "description": "优惠券名称",
  19568. "type": "string"
  19569. },
  19570. "coupontypeid": {
  19571. "description": "优惠券类型ID(买方)",
  19572. "type": "string"
  19573. },
  19574. "couponvalue": {
  19575. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  19576. "type": "number"
  19577. },
  19578. "createtime": {
  19579. "description": "创建时间",
  19580. "type": "string"
  19581. },
  19582. "goodsid": {
  19583. "description": "商品ID",
  19584. "type": "integer"
  19585. },
  19586. "handlestatus": {
  19587. "description": "处理状态",
  19588. "type": "integer"
  19589. },
  19590. "marketid": {
  19591. "description": "市场ID",
  19592. "type": "integer"
  19593. },
  19594. "offamount": {
  19595. "description": "优惠金额",
  19596. "type": "number"
  19597. },
  19598. "orderid": {
  19599. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19600. "type": "string"
  19601. },
  19602. "sellaccountid": {
  19603. "description": "资金账户ID(卖方)",
  19604. "type": "integer"
  19605. },
  19606. "tradeamount": {
  19607. "description": "成交金额",
  19608. "type": "number"
  19609. },
  19610. "tradeid": {
  19611. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19612. "type": "string"
  19613. },
  19614. "usedqty": {
  19615. "description": "使用数量",
  19616. "type": "integer"
  19617. }
  19618. }
  19619. },
  19620. "models.OperationPrimaryMenu": {
  19621. "type": "object",
  19622. "properties": {
  19623. "Children": {
  19624. "description": "二级功能菜单",
  19625. "type": "array",
  19626. "items": {
  19627. "$ref": "#/definitions/models.OperationSecondaryMenu"
  19628. }
  19629. },
  19630. "Key": {
  19631. "description": "菜单KEY",
  19632. "type": "string"
  19633. },
  19634. "Label": {
  19635. "description": "菜单标题",
  19636. "type": "string"
  19637. }
  19638. }
  19639. },
  19640. "models.OperationSecondaryMenu": {
  19641. "type": "object",
  19642. "properties": {
  19643. "Key": {
  19644. "description": "菜单KEY",
  19645. "type": "string"
  19646. },
  19647. "Label": {
  19648. "description": "菜单标题",
  19649. "type": "string"
  19650. },
  19651. "TabList": {
  19652. "description": "三级功能菜单",
  19653. "type": "array",
  19654. "items": {
  19655. "$ref": "#/definitions/models.OperationTabMenu"
  19656. }
  19657. }
  19658. }
  19659. },
  19660. "models.OperationTabMenu": {
  19661. "type": "object",
  19662. "properties": {
  19663. "Key": {
  19664. "description": "菜单KEY",
  19665. "type": "string"
  19666. },
  19667. "Label": {
  19668. "description": "菜单标题",
  19669. "type": "string"
  19670. }
  19671. }
  19672. },
  19673. "models.PendingAuditBizModel": {
  19674. "type": "object",
  19675. "properties": {
  19676. "accountid": {
  19677. "description": "现货账户",
  19678. "type": "string"
  19679. },
  19680. "areaname": {
  19681. "description": "所属部门",
  19682. "type": "string"
  19683. },
  19684. "bizid": {
  19685. "description": "业务ID",
  19686. "type": "string"
  19687. },
  19688. "bizname": {
  19689. "description": "业务名称",
  19690. "type": "string"
  19691. },
  19692. "status": {
  19693. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19694. "type": "integer"
  19695. },
  19696. "type": {
  19697. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19698. "type": "integer"
  19699. }
  19700. }
  19701. },
  19702. "models.QueryErrorInfosRsp": {
  19703. "type": "object",
  19704. "required": [
  19705. "errorid"
  19706. ],
  19707. "properties": {
  19708. "description": {
  19709. "description": "异常描述",
  19710. "type": "string"
  19711. },
  19712. "errorcode": {
  19713. "description": "异常代码",
  19714. "type": "string"
  19715. },
  19716. "errorid": {
  19717. "description": "异常ID",
  19718. "type": "integer"
  19719. },
  19720. "modulecode": {
  19721. "description": "所属模块",
  19722. "type": "string"
  19723. },
  19724. "operatecode": {
  19725. "description": "所属操作",
  19726. "type": "string"
  19727. },
  19728. "rownumber": {
  19729. "description": "行号",
  19730. "type": "string"
  19731. }
  19732. }
  19733. },
  19734. "models.QueryHedgeOrderDetailRsp": {
  19735. "type": "object",
  19736. "properties": {
  19737. "accountid": {
  19738. "description": "账户ID",
  19739. "type": "integer"
  19740. },
  19741. "buyorsell": {
  19742. "description": "买卖 - 0:买 1:卖",
  19743. "type": "integer"
  19744. },
  19745. "cancellogincode": {
  19746. "description": "撤单人",
  19747. "type": "string"
  19748. },
  19749. "channelbuildtype": {
  19750. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  19751. "type": "integer"
  19752. },
  19753. "channelinnerorderstatus": {
  19754. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  19755. "type": "integer"
  19756. },
  19757. "channeloperatetype": {
  19758. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  19759. "type": "integer"
  19760. },
  19761. "closetype": {
  19762. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19763. "type": "integer"
  19764. },
  19765. "curexchangerate": {
  19766. "description": "当前汇率",
  19767. "type": "number"
  19768. },
  19769. "exchangefullname": {
  19770. "description": "外部交易所全称",
  19771. "type": "string"
  19772. },
  19773. "goodscode": {
  19774. "description": "商品代码(内部)",
  19775. "type": "string"
  19776. },
  19777. "goodsid": {
  19778. "description": "商品ID",
  19779. "type": "integer"
  19780. },
  19781. "goodsname": {
  19782. "description": "商品名称",
  19783. "type": "string"
  19784. },
  19785. "marketid": {
  19786. "description": "市场ID",
  19787. "type": "integer"
  19788. },
  19789. "openfreezemargin": {
  19790. "description": "冻结保证金(冻结交易金额)",
  19791. "type": "number"
  19792. },
  19793. "orderid": {
  19794. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19795. "type": "string"
  19796. },
  19797. "orderlogincode": {
  19798. "description": "委托人",
  19799. "type": "string"
  19800. },
  19801. "orderprice": {
  19802. "description": "委托价格(账户)",
  19803. "type": "number"
  19804. },
  19805. "orderqty": {
  19806. "description": "委托数量",
  19807. "type": "integer"
  19808. },
  19809. "ordertime": {
  19810. "description": "委托时间",
  19811. "type": "string"
  19812. },
  19813. "pricemode": {
  19814. "description": "取价方式 - 1:市价 2: 限价",
  19815. "type": "integer"
  19816. },
  19817. "tradedate": {
  19818. "description": "交易日(yyyyMMdd)",
  19819. "type": "string"
  19820. },
  19821. "tradeqty": {
  19822. "description": "成交数量",
  19823. "type": "integer"
  19824. }
  19825. }
  19826. },
  19827. "models.QueryHedgeTradeDetailRsp": {
  19828. "type": "object",
  19829. "properties": {
  19830. "accountid": {
  19831. "description": "账号ID",
  19832. "type": "integer"
  19833. },
  19834. "buyorsell": {
  19835. "description": "方向 - 0:买 1:卖",
  19836. "type": "integer"
  19837. },
  19838. "channelbuildtype": {
  19839. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19840. "type": "integer"
  19841. },
  19842. "closecharge": {
  19843. "description": "平仓手续费(账户)",
  19844. "type": "number"
  19845. },
  19846. "closecharge2": {
  19847. "description": "平仓手续费(商品)",
  19848. "type": "number"
  19849. },
  19850. "closepl": {
  19851. "description": "平仓盈亏(账户)",
  19852. "type": "number"
  19853. },
  19854. "closepl2": {
  19855. "description": "平仓盈亏(商品)",
  19856. "type": "number"
  19857. },
  19858. "closepl3": {
  19859. "description": "平仓盈亏(账户)(逐笔)",
  19860. "type": "number"
  19861. },
  19862. "closepl4": {
  19863. "description": "平仓盈亏(商品)(逐笔)",
  19864. "type": "number"
  19865. },
  19866. "closetype": {
  19867. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19868. "type": "integer"
  19869. },
  19870. "curexchangerate": {
  19871. "description": "当前汇率",
  19872. "type": "number"
  19873. },
  19874. "exchangefullname": {
  19875. "description": "外部交易所全称",
  19876. "type": "string"
  19877. },
  19878. "goodscode": {
  19879. "description": "商品代码(内部)",
  19880. "type": "string"
  19881. },
  19882. "goodsid": {
  19883. "description": "商品ID",
  19884. "type": "integer"
  19885. },
  19886. "goodsname": {
  19887. "description": "商品名称",
  19888. "type": "string"
  19889. },
  19890. "marketid": {
  19891. "description": "市场ID",
  19892. "type": "integer"
  19893. },
  19894. "opencharge": {
  19895. "description": "建仓手续费(账户)",
  19896. "type": "number"
  19897. },
  19898. "opencharge2": {
  19899. "description": "建仓手续费(商品)",
  19900. "type": "number"
  19901. },
  19902. "orderid": {
  19903. "description": "委托单号",
  19904. "type": "string"
  19905. },
  19906. "orderlogincode": {
  19907. "description": "委托人",
  19908. "type": "string"
  19909. },
  19910. "tradeamount": {
  19911. "description": "成交金额(账户)",
  19912. "type": "number"
  19913. },
  19914. "tradedate": {
  19915. "description": "交易日(yyyyMMdd)",
  19916. "type": "string"
  19917. },
  19918. "tradeid": {
  19919. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19920. "type": "string"
  19921. },
  19922. "tradeprice": {
  19923. "description": "成交价格",
  19924. "type": "number"
  19925. },
  19926. "tradeqty": {
  19927. "description": "成交数量",
  19928. "type": "integer"
  19929. },
  19930. "tradetime": {
  19931. "description": "成交时间",
  19932. "type": "string"
  19933. },
  19934. "tradetype": {
  19935. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  19936. "type": "integer"
  19937. }
  19938. }
  19939. },
  19940. "models.QuotePrimaryMenu": {
  19941. "type": "object",
  19942. "properties": {
  19943. "Index": {
  19944. "description": "序号",
  19945. "type": "integer"
  19946. },
  19947. "Key": {
  19948. "description": "键名",
  19949. "type": "string"
  19950. },
  19951. "Name": {
  19952. "description": "菜单名称",
  19953. "type": "string"
  19954. },
  19955. "SubMenus": {
  19956. "description": "子菜单",
  19957. "type": "array",
  19958. "items": {
  19959. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  19960. }
  19961. },
  19962. "SubTitleType": {
  19963. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  19964. "type": "integer"
  19965. },
  19966. "TradeModes": {
  19967. "description": "包含市场交易类型",
  19968. "type": "string"
  19969. }
  19970. }
  19971. },
  19972. "models.QuoteSecondaryMenu": {
  19973. "type": "object",
  19974. "properties": {
  19975. "ExExchangeCode": {
  19976. "description": "外部交易所代码",
  19977. "type": "string"
  19978. },
  19979. "ExExchangeID": {
  19980. "description": "外部交易所ID",
  19981. "type": "integer"
  19982. },
  19983. "GoodsGroupIDs": {
  19984. "description": "商品组ID列表",
  19985. "type": "array",
  19986. "items": {
  19987. "type": "integer"
  19988. }
  19989. },
  19990. "Index": {
  19991. "description": "序号",
  19992. "type": "integer"
  19993. },
  19994. "MarketID": {
  19995. "description": "市场ID",
  19996. "type": "integer"
  19997. },
  19998. "MenuTitle": {
  19999. "description": "菜单标题(市场名称或外部交易所名称)",
  20000. "type": "string"
  20001. },
  20002. "TradeMode": {
  20003. "description": "交易模式",
  20004. "type": "integer"
  20005. }
  20006. }
  20007. },
  20008. "models.SearchGoods": {
  20009. "type": "object",
  20010. "required": [
  20011. "goodscode",
  20012. "goodsid",
  20013. "goodsname",
  20014. "marketid",
  20015. "trademode"
  20016. ],
  20017. "properties": {
  20018. "goodscode": {
  20019. "description": "商品代码(内部)",
  20020. "type": "string"
  20021. },
  20022. "goodsid": {
  20023. "description": "商品ID(自增ID SEQ_GOODS)",
  20024. "type": "integer"
  20025. },
  20026. "goodsname": {
  20027. "description": "商品名称",
  20028. "type": "string"
  20029. },
  20030. "marketid": {
  20031. "description": "所属市场ID",
  20032. "type": "integer"
  20033. },
  20034. "marketname": {
  20035. "description": "市场名称",
  20036. "type": "string"
  20037. },
  20038. "trademode": {
  20039. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20040. "type": "integer"
  20041. }
  20042. }
  20043. },
  20044. "models.Systemparam": {
  20045. "type": "object",
  20046. "required": [
  20047. "paramcode"
  20048. ],
  20049. "properties": {
  20050. "loginid": {
  20051. "description": "更新用户账号,登录账号",
  20052. "type": "string"
  20053. },
  20054. "modifyflag": {
  20055. "description": "修改标志0 不允许修改 1 允许修改",
  20056. "type": "integer"
  20057. },
  20058. "paramcode": {
  20059. "description": "参数代码",
  20060. "type": "string"
  20061. },
  20062. "paramname": {
  20063. "description": "参数名",
  20064. "type": "string"
  20065. },
  20066. "paramtype": {
  20067. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  20068. "type": "integer"
  20069. },
  20070. "paramvalue": {
  20071. "description": "参数值",
  20072. "type": "string"
  20073. },
  20074. "paramvalue2": {
  20075. "description": "参数值(CLOB)",
  20076. "type": "string"
  20077. },
  20078. "regexpress": {
  20079. "description": "正则表达式",
  20080. "type": "string"
  20081. },
  20082. "remark": {
  20083. "description": "备注",
  20084. "type": "string"
  20085. },
  20086. "serverip": {
  20087. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  20088. "type": "string"
  20089. },
  20090. "showflag": {
  20091. "description": "是否显示0 不显示 1 显示",
  20092. "type": "integer"
  20093. },
  20094. "updatetime": {
  20095. "description": "更新时间",
  20096. "type": "string"
  20097. },
  20098. "userid": {
  20099. "description": "更新用户ID",
  20100. "type": "integer"
  20101. }
  20102. }
  20103. },
  20104. "models.Szdz3convertconfig": {
  20105. "type": "object",
  20106. "required": [
  20107. "converttype",
  20108. "innergoodsid",
  20109. "outergoodscode"
  20110. ],
  20111. "properties": {
  20112. "canin": {
  20113. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  20114. "type": "integer"
  20115. },
  20116. "canout": {
  20117. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  20118. "type": "integer"
  20119. },
  20120. "converttype": {
  20121. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  20122. "type": "integer"
  20123. },
  20124. "createtime": {
  20125. "description": "创建时间",
  20126. "type": "string"
  20127. },
  20128. "creatorid": {
  20129. "description": "创建人",
  20130. "type": "integer"
  20131. },
  20132. "daymaxvalue": {
  20133. "description": "当日最大转入限制",
  20134. "type": "number"
  20135. },
  20136. "freezedays": {
  20137. "description": "冻结天数 [5:花生米转交易]",
  20138. "type": "integer"
  20139. },
  20140. "innergoodsid": {
  20141. "description": "内部商品ID[交易]",
  20142. "type": "integer"
  20143. },
  20144. "inratio": {
  20145. "description": "目标值",
  20146. "type": "integer"
  20147. },
  20148. "modifierid": {
  20149. "description": "修改人",
  20150. "type": "integer"
  20151. },
  20152. "modifytime": {
  20153. "description": "修改时间",
  20154. "type": "string"
  20155. },
  20156. "outergoodscode": {
  20157. "description": "外部商品代码[JD\\PD]",
  20158. "type": "string"
  20159. },
  20160. "outratio": {
  20161. "description": "源值",
  20162. "type": "integer"
  20163. },
  20164. "pddecimalplace": {
  20165. "description": "PD小数位",
  20166. "type": "integer"
  20167. },
  20168. "timemaxvalue": {
  20169. "description": "单次最大转入限制",
  20170. "type": "number"
  20171. },
  20172. "timeminvalue": {
  20173. "description": "单次最小转入限制",
  20174. "type": "number"
  20175. }
  20176. }
  20177. },
  20178. "models.Szdz3searchwhitelist": {
  20179. "type": "object",
  20180. "required": [
  20181. "userid"
  20182. ],
  20183. "properties": {
  20184. "createtime": {
  20185. "description": "创建时间",
  20186. "type": "string"
  20187. },
  20188. "creatorid": {
  20189. "description": "创建人",
  20190. "type": "integer"
  20191. },
  20192. "modifierid": {
  20193. "description": "修改人",
  20194. "type": "integer"
  20195. },
  20196. "modifytime": {
  20197. "description": "修改时间",
  20198. "type": "string"
  20199. },
  20200. "userid": {
  20201. "description": "用户ID",
  20202. "type": "integer"
  20203. }
  20204. }
  20205. },
  20206. "models.Taaccount": {
  20207. "type": "object",
  20208. "required": [
  20209. "accountid",
  20210. "userid"
  20211. ],
  20212. "properties": {
  20213. "accountflag": {
  20214. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  20215. "type": "integer"
  20216. },
  20217. "accountid": {
  20218. "description": "资金账户ID",
  20219. "type": "integer"
  20220. },
  20221. "accountname": {
  20222. "description": "账户名称",
  20223. "type": "string"
  20224. },
  20225. "balance": {
  20226. "description": "期初余额",
  20227. "type": "number"
  20228. },
  20229. "capitalbalance": {
  20230. "description": "本金余额[外部子账户实际出入金余额]",
  20231. "type": "number"
  20232. },
  20233. "changeflag": {
  20234. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  20235. "type": "integer"
  20236. },
  20237. "changetime": {
  20238. "description": "账户状态变更时间",
  20239. "type": "string"
  20240. },
  20241. "closepl": {
  20242. "description": "今日平仓盈亏",
  20243. "type": "number"
  20244. },
  20245. "creditdecrease": {
  20246. "description": "今日授信减少",
  20247. "type": "number"
  20248. },
  20249. "creditincrease": {
  20250. "description": "今日授信增加",
  20251. "type": "number"
  20252. },
  20253. "currencyid": {
  20254. "description": "货币ID",
  20255. "type": "integer"
  20256. },
  20257. "currentbalance": {
  20258. "description": "期末余额",
  20259. "type": "number"
  20260. },
  20261. "freezecharge": {
  20262. "description": "手续费冻结",
  20263. "type": "number"
  20264. },
  20265. "freezemargin": {
  20266. "description": "冻结保证金",
  20267. "type": "number"
  20268. },
  20269. "fromaccountid": {
  20270. "description": "所属上级账户",
  20271. "type": "integer"
  20272. },
  20273. "inamount": {
  20274. "description": "今日入金金额(包括三方入金)",
  20275. "type": "number"
  20276. },
  20277. "ismain": {
  20278. "description": "是否母账号 0:不是母账户 1:是母账户",
  20279. "type": "integer"
  20280. },
  20281. "ismarketaccount": {
  20282. "description": "是否机构接单账号 0:不是 1:是",
  20283. "type": "integer"
  20284. },
  20285. "isreckonaccount": {
  20286. "description": "是否机构分润账号 0:不是 1:是",
  20287. "type": "integer"
  20288. },
  20289. "mortgagecredit": {
  20290. "description": "授信金额",
  20291. "type": "number"
  20292. },
  20293. "orifreezecharge": {
  20294. "description": "期初手续费冻结",
  20295. "type": "number"
  20296. },
  20297. "orifreezemargin": {
  20298. "description": "期初冻结保证金",
  20299. "type": "number"
  20300. },
  20301. "orimortgagecredit": {
  20302. "description": "期初授信金额",
  20303. "type": "number"
  20304. },
  20305. "oriothercredit": {
  20306. "description": "期初其它授信金额",
  20307. "type": "number"
  20308. },
  20309. "oriotherfreezemargin": {
  20310. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20311. "type": "number"
  20312. },
  20313. "orioutamountfreeze": {
  20314. "description": "期初出金冻结",
  20315. "type": "number"
  20316. },
  20317. "oriusedmargin": {
  20318. "description": "期初占用保证金",
  20319. "type": "number"
  20320. },
  20321. "othercredit": {
  20322. "description": "其它授信金额",
  20323. "type": "number"
  20324. },
  20325. "othercreditdecrease": {
  20326. "description": "今日其它授信减少",
  20327. "type": "number"
  20328. },
  20329. "othercreditincrease": {
  20330. "description": "今日其它授信增加",
  20331. "type": "number"
  20332. },
  20333. "otherfreezemargin": {
  20334. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20335. "type": "number"
  20336. },
  20337. "otherincome": {
  20338. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  20339. "type": "number"
  20340. },
  20341. "otherpay": {
  20342. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  20343. "type": "number"
  20344. },
  20345. "outamount": {
  20346. "description": "今日出金金额(包括三方出金)",
  20347. "type": "number"
  20348. },
  20349. "outamountfreeze": {
  20350. "description": "出金冻结",
  20351. "type": "number"
  20352. },
  20353. "outthreshold": {
  20354. "description": "出金阈值",
  20355. "type": "number"
  20356. },
  20357. "parentaccountid": {
  20358. "description": "所属根账号",
  20359. "type": "integer"
  20360. },
  20361. "paycharge": {
  20362. "description": "今日手续费支出",
  20363. "type": "number"
  20364. },
  20365. "relatedaccountstatus": {
  20366. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  20367. "type": "integer"
  20368. },
  20369. "relateduserid": {
  20370. "description": "关联用户",
  20371. "type": "integer"
  20372. },
  20373. "serivcegroup": {
  20374. "description": "服务分组",
  20375. "type": "integer"
  20376. },
  20377. "signstatus": {
  20378. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20379. "type": "integer"
  20380. },
  20381. "sublevelpath": {
  20382. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20383. "type": "string"
  20384. },
  20385. "taaccounttype": {
  20386. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20387. "type": "integer"
  20388. },
  20389. "thirdinamount": {
  20390. "description": "今日三方入金",
  20391. "type": "number"
  20392. },
  20393. "thirdoutamount": {
  20394. "description": "今日三方出金",
  20395. "type": "number"
  20396. },
  20397. "tradestatus": {
  20398. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20399. "type": "integer"
  20400. },
  20401. "tradestatuschangetime": {
  20402. "description": "激活时间",
  20403. "type": "string"
  20404. },
  20405. "transferamount": {
  20406. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20407. "type": "number"
  20408. },
  20409. "usedmargin": {
  20410. "description": "占用保证金",
  20411. "type": "number"
  20412. },
  20413. "userid": {
  20414. "description": "用户ID",
  20415. "type": "integer"
  20416. }
  20417. }
  20418. },
  20419. "models.Tablecolumnconfig": {
  20420. "type": "object",
  20421. "required": [
  20422. "autoid"
  20423. ],
  20424. "properties": {
  20425. "aligntype": {
  20426. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  20427. "type": "integer"
  20428. },
  20429. "autoid": {
  20430. "description": "AutoID",
  20431. "type": "integer"
  20432. },
  20433. "columnfield": {
  20434. "description": "列字段",
  20435. "type": "string"
  20436. },
  20437. "columntitle": {
  20438. "description": "列Title",
  20439. "type": "string"
  20440. },
  20441. "columnwidth": {
  20442. "description": "列宽",
  20443. "type": "string"
  20444. },
  20445. "formatterstring": {
  20446. "description": "格式化字符",
  20447. "type": "string"
  20448. },
  20449. "formattertype": {
  20450. "description": "格式化类型",
  20451. "type": "string"
  20452. },
  20453. "groupname": {
  20454. "description": "表头分组名称",
  20455. "type": "string"
  20456. },
  20457. "isshow": {
  20458. "description": "是否显示 - 0:不显示 1:显示",
  20459. "type": "integer"
  20460. },
  20461. "needsummary": {
  20462. "description": "是否需要汇总 - 0:不需要 1:需要",
  20463. "type": "integer"
  20464. },
  20465. "orderindex": {
  20466. "description": "顺序",
  20467. "type": "integer"
  20468. },
  20469. "remark": {
  20470. "description": "备注",
  20471. "type": "string"
  20472. },
  20473. "summarytype": {
  20474. "description": "汇总类型 - 1:加总 2:最后一个",
  20475. "type": "integer"
  20476. },
  20477. "tablekey": {
  20478. "description": "列表Key",
  20479. "type": "string"
  20480. }
  20481. }
  20482. },
  20483. "models.Useraccount": {
  20484. "type": "object",
  20485. "required": [
  20486. "userid"
  20487. ],
  20488. "properties": {
  20489. "accountname": {
  20490. "description": "账户名称(机构名称)",
  20491. "type": "string"
  20492. },
  20493. "accountstatus": {
  20494. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20495. "type": "integer"
  20496. },
  20497. "auditremark": {
  20498. "description": "审核备注",
  20499. "type": "string"
  20500. },
  20501. "audittime": {
  20502. "description": "审核时间",
  20503. "type": "string"
  20504. },
  20505. "audituserid": {
  20506. "description": "审核人",
  20507. "type": "integer"
  20508. },
  20509. "broker": {
  20510. "description": "所属经纪人ID",
  20511. "type": "integer"
  20512. },
  20513. "canceltime": {
  20514. "description": "销户时间",
  20515. "type": "string"
  20516. },
  20517. "canceluserid": {
  20518. "description": "销户人",
  20519. "type": "integer"
  20520. },
  20521. "createtime": {
  20522. "description": "创建时间",
  20523. "type": "string"
  20524. },
  20525. "creatorid": {
  20526. "description": "创建人",
  20527. "type": "integer"
  20528. },
  20529. "hasauth": {
  20530. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  20531. "type": "integer"
  20532. },
  20533. "isanonymous": {
  20534. "description": "是否匿名下单 - 0:否 1:是",
  20535. "type": "integer"
  20536. },
  20537. "maxinvestornum": {
  20538. "description": "最大用户数(经纪会员下投资者个数)",
  20539. "type": "integer"
  20540. },
  20541. "memberuserid": {
  20542. "description": "所属会员ID",
  20543. "type": "integer"
  20544. },
  20545. "modifierid": {
  20546. "description": "修改人",
  20547. "type": "integer"
  20548. },
  20549. "modifyremark": {
  20550. "description": "变更备注",
  20551. "type": "string"
  20552. },
  20553. "modifystatus": {
  20554. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  20555. "type": "integer"
  20556. },
  20557. "modifytime": {
  20558. "description": "修改时间",
  20559. "type": "string"
  20560. },
  20561. "parentuserid": {
  20562. "description": "所属机构ID",
  20563. "type": "integer"
  20564. },
  20565. "reckonaccountid": {
  20566. "description": "默认结算资金账号ID(机构分润使用) 作废",
  20567. "type": "integer"
  20568. },
  20569. "refercount": {
  20570. "description": "推荐总人数",
  20571. "type": "integer"
  20572. },
  20573. "refereeuserid": {
  20574. "description": "推荐人ID",
  20575. "type": "integer"
  20576. },
  20577. "refernum": {
  20578. "description": "推荐码",
  20579. "type": "string"
  20580. },
  20581. "subarealevelpath": {
  20582. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  20583. "type": "string"
  20584. },
  20585. "userid": {
  20586. "description": "用户ID",
  20587. "type": "integer"
  20588. },
  20589. "usertype": {
  20590. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20591. "type": "integer"
  20592. }
  20593. }
  20594. },
  20595. "models.Userfavoritegoods": {
  20596. "type": "object",
  20597. "required": [
  20598. "goodsid"
  20599. ],
  20600. "properties": {
  20601. "goodsid": {
  20602. "description": "商品ID",
  20603. "type": "integer"
  20604. }
  20605. }
  20606. },
  20607. "models.Userinfo": {
  20608. "type": "object",
  20609. "required": [
  20610. "userid"
  20611. ],
  20612. "properties": {
  20613. "address": {
  20614. "description": "地址",
  20615. "type": "string"
  20616. },
  20617. "attachment1": {
  20618. "description": "附件1",
  20619. "type": "string"
  20620. },
  20621. "attachment2": {
  20622. "description": "附件2",
  20623. "type": "string"
  20624. },
  20625. "bankaccount": {
  20626. "description": "银行帐号 (加密存储)",
  20627. "type": "string"
  20628. },
  20629. "bankaccountname": {
  20630. "description": "收款人名称",
  20631. "type": "string"
  20632. },
  20633. "bankcardfrontphotourl": {
  20634. "description": "银行卡正面照地址",
  20635. "type": "string"
  20636. },
  20637. "bankid": {
  20638. "description": "银行编码",
  20639. "type": "string"
  20640. },
  20641. "bankname": {
  20642. "description": "银行名称",
  20643. "type": "string"
  20644. },
  20645. "biznature": {
  20646. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20647. "type": "integer"
  20648. },
  20649. "bizscope": {
  20650. "description": "企业经营范围(企业)",
  20651. "type": "string"
  20652. },
  20653. "cardbackphotourl": {
  20654. "description": "证件背面图片地址",
  20655. "type": "string"
  20656. },
  20657. "cardfrontphotourl": {
  20658. "description": "证件正面图片地址",
  20659. "type": "string"
  20660. },
  20661. "cardnum": {
  20662. "description": "证件号码(加密存储)",
  20663. "type": "string"
  20664. },
  20665. "cardtypeid": {
  20666. "description": "证件类型ID",
  20667. "type": "integer"
  20668. },
  20669. "cityid": {
  20670. "description": "市",
  20671. "type": "integer"
  20672. },
  20673. "company": {
  20674. "description": "公司(个人)",
  20675. "type": "string"
  20676. },
  20677. "contactname": {
  20678. "description": "联系人",
  20679. "type": "string"
  20680. },
  20681. "countryid": {
  20682. "description": "国家",
  20683. "type": "integer"
  20684. },
  20685. "createtime": {
  20686. "description": "创建时间",
  20687. "type": "string"
  20688. },
  20689. "creatorid": {
  20690. "description": "创建人",
  20691. "type": "integer"
  20692. },
  20693. "customername": {
  20694. "description": "客户名称(企业名称)",
  20695. "type": "string"
  20696. },
  20697. "districtid": {
  20698. "description": "地区",
  20699. "type": "integer"
  20700. },
  20701. "email": {
  20702. "description": "邮件(加密存储)",
  20703. "type": "string"
  20704. },
  20705. "fax": {
  20706. "description": "传真(加密存储)",
  20707. "type": "string"
  20708. },
  20709. "halfbodyphotourl": {
  20710. "description": "半身照地址",
  20711. "type": "string"
  20712. },
  20713. "hasencrypt": {
  20714. "description": "数据是否已加密 - 0:未加密 1:已加密",
  20715. "type": "integer"
  20716. },
  20717. "headurl": {
  20718. "description": "头像地址",
  20719. "type": "string"
  20720. },
  20721. "legalcardbackphotourl": {
  20722. "description": "法人身份证背面照地址",
  20723. "type": "string"
  20724. },
  20725. "legalcardfrontphotourl": {
  20726. "description": "法人身份证正面照地址",
  20727. "type": "string"
  20728. },
  20729. "legalpersonname": {
  20730. "description": "法人姓名(企业)",
  20731. "type": "string"
  20732. },
  20733. "mobile": {
  20734. "description": "手机号码(加密存储)",
  20735. "type": "string"
  20736. },
  20737. "mobile2": {
  20738. "description": "手机号码[明文-尚志]",
  20739. "type": "string"
  20740. },
  20741. "modifierid": {
  20742. "description": "修改人",
  20743. "type": "integer"
  20744. },
  20745. "modifiertime": {
  20746. "description": "修改时间",
  20747. "type": "string"
  20748. },
  20749. "needinvoice": {
  20750. "description": "是否需要发票 - 0:不需要 1:需要",
  20751. "type": "integer"
  20752. },
  20753. "nickname": {
  20754. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  20755. "type": "string"
  20756. },
  20757. "openmode": {
  20758. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  20759. "type": "integer"
  20760. },
  20761. "otherurl": {
  20762. "description": "其它图片地址[使用分号分隔]",
  20763. "type": "string"
  20764. },
  20765. "postalcode": {
  20766. "description": "邮政编码",
  20767. "type": "string"
  20768. },
  20769. "provinceid": {
  20770. "description": "省",
  20771. "type": "integer"
  20772. },
  20773. "qq": {
  20774. "description": "QQ(加密存储",
  20775. "type": "string"
  20776. },
  20777. "remark": {
  20778. "description": "备注",
  20779. "type": "string"
  20780. },
  20781. "sex": {
  20782. "description": "用户性别 0: 女 1: 男",
  20783. "type": "integer"
  20784. },
  20785. "signpdfurl": {
  20786. "description": "签约pdf文件",
  20787. "type": "string"
  20788. },
  20789. "telphone": {
  20790. "description": "联系电话(加密存储)",
  20791. "type": "string"
  20792. },
  20793. "userid": {
  20794. "description": "用户ID",
  20795. "type": "integer"
  20796. },
  20797. "userinfotype": {
  20798. "description": "用户信息类型 - 1:个人 2:企业",
  20799. "type": "integer"
  20800. },
  20801. "userstatus": {
  20802. "description": "用户状态 - 1:正常 2:注销",
  20803. "type": "integer"
  20804. },
  20805. "usertype": {
  20806. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20807. "type": "integer"
  20808. },
  20809. "wechat": {
  20810. "description": "微信(加密存储)",
  20811. "type": "string"
  20812. },
  20813. "wskhinfo": {
  20814. "description": "开户申请信息(JSON)",
  20815. "type": "string"
  20816. }
  20817. }
  20818. },
  20819. "models.WRSConverTDetail": {
  20820. "type": "object",
  20821. "properties": {
  20822. "convertratio": {
  20823. "description": "套保系数",
  20824. "type": "number"
  20825. },
  20826. "deliverygoodscode": {
  20827. "description": "现货商品代码",
  20828. "type": "string"
  20829. },
  20830. "deliverygoodsid": {
  20831. "description": "现货品种ID",
  20832. "type": "integer"
  20833. },
  20834. "deliverygoodsname": {
  20835. "description": "现货商品名称",
  20836. "type": "string"
  20837. },
  20838. "enumdicname": {
  20839. "description": "单位名称",
  20840. "type": "string"
  20841. },
  20842. "goodsunitid": {
  20843. "description": "套保品种单位id",
  20844. "type": "integer"
  20845. },
  20846. "middlegoodscode": {
  20847. "description": "套保品种代码",
  20848. "type": "string"
  20849. },
  20850. "middlegoodsid": {
  20851. "description": "套保品种ID",
  20852. "type": "integer"
  20853. },
  20854. "middlegoodsname": {
  20855. "description": "套保品种名称",
  20856. "type": "string"
  20857. },
  20858. "modifytime": {
  20859. "description": "修改时间",
  20860. "type": "string"
  20861. },
  20862. "wrstandardid": {
  20863. "description": "品类ID",
  20864. "type": "integer"
  20865. }
  20866. }
  20867. },
  20868. "models.WRStandardInfo": {
  20869. "type": "object",
  20870. "required": [
  20871. "wrstandardid"
  20872. ],
  20873. "properties": {
  20874. "areauserid": {
  20875. "description": "所属机构",
  20876. "type": "integer"
  20877. },
  20878. "convertfactor": {
  20879. "description": "标仓系数",
  20880. "type": "number"
  20881. },
  20882. "createtime": {
  20883. "description": "创建时间",
  20884. "type": "string"
  20885. },
  20886. "creatorid": {
  20887. "description": "创建人",
  20888. "type": "integer"
  20889. },
  20890. "deliverygoodsid": {
  20891. "description": "品种ID",
  20892. "type": "integer"
  20893. },
  20894. "deliverygoodsname": {
  20895. "description": "交割商品名称",
  20896. "type": "string"
  20897. },
  20898. "factoryitemjson": {
  20899. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  20900. "type": "string"
  20901. },
  20902. "isvalid": {
  20903. "description": "是否有效 - 0:无效 1:有效",
  20904. "type": "integer"
  20905. },
  20906. "minivalue": {
  20907. "description": "最小变动值",
  20908. "type": "integer"
  20909. },
  20910. "minivaluedp": {
  20911. "description": "最小变动值小数位",
  20912. "type": "integer"
  20913. },
  20914. "realminivalue": {
  20915. "description": "实际最小变动值",
  20916. "type": "integer"
  20917. },
  20918. "realminivaluedp": {
  20919. "description": "实际最小变动值小数位",
  20920. "type": "integer"
  20921. },
  20922. "remark": {
  20923. "description": "备注",
  20924. "type": "string"
  20925. },
  20926. "unitid": {
  20927. "description": "单位ID",
  20928. "type": "integer"
  20929. },
  20930. "unitname": {
  20931. "description": "单位",
  20932. "type": "string"
  20933. },
  20934. "updatetime": {
  20935. "description": "更新时间",
  20936. "type": "string"
  20937. },
  20938. "updatorid": {
  20939. "description": "更新人",
  20940. "type": "integer"
  20941. },
  20942. "wrsstatus": {
  20943. "description": "状态 - 作废 - 0:未激活 1:正常",
  20944. "type": "integer"
  20945. },
  20946. "wrstandardcode": {
  20947. "description": "现货品类代码",
  20948. "type": "string"
  20949. },
  20950. "wrstandardid": {
  20951. "description": "现货品类ID(SEQ_WRSTANDARD)",
  20952. "type": "integer"
  20953. },
  20954. "wrstandardname": {
  20955. "description": "现货品类名称",
  20956. "type": "string"
  20957. }
  20958. }
  20959. },
  20960. "models.Warehouseinfo": {
  20961. "type": "object",
  20962. "required": [
  20963. "autoid",
  20964. "warehousecode"
  20965. ],
  20966. "properties": {
  20967. "address": {
  20968. "description": "详细地址",
  20969. "type": "string"
  20970. },
  20971. "areauserid": {
  20972. "description": "所属机构",
  20973. "type": "integer"
  20974. },
  20975. "autoid": {
  20976. "description": "自增ID",
  20977. "type": "integer"
  20978. },
  20979. "cityid": {
  20980. "description": "市",
  20981. "type": "integer"
  20982. },
  20983. "contactname": {
  20984. "description": "联系人",
  20985. "type": "string"
  20986. },
  20987. "contactnum": {
  20988. "description": "联系电话",
  20989. "type": "string"
  20990. },
  20991. "countryid": {
  20992. "description": "国家",
  20993. "type": "integer"
  20994. },
  20995. "createtime": {
  20996. "description": "创建时间",
  20997. "type": "string"
  20998. },
  20999. "districtid": {
  21000. "description": "区",
  21001. "type": "integer"
  21002. },
  21003. "hasvideo": {
  21004. "description": "是否有视频 - 0:无 1:有",
  21005. "type": "integer"
  21006. },
  21007. "provinceid": {
  21008. "description": "省",
  21009. "type": "integer"
  21010. },
  21011. "remark": {
  21012. "description": "审核备注",
  21013. "type": "string"
  21014. },
  21015. "videourl": {
  21016. "description": "视频地址",
  21017. "type": "string"
  21018. },
  21019. "warehousecode": {
  21020. "description": "仓库代码",
  21021. "type": "string"
  21022. },
  21023. "warehousename": {
  21024. "description": "仓库名称",
  21025. "type": "string"
  21026. },
  21027. "warehousestatus": {
  21028. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21029. "type": "integer"
  21030. },
  21031. "warehousetype": {
  21032. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21033. "type": "integer"
  21034. }
  21035. }
  21036. },
  21037. "order.QueryHisTradeDetailRsp": {
  21038. "type": "object",
  21039. "required": [
  21040. "accountid",
  21041. "buyorsell",
  21042. "goodsid",
  21043. "histradedate",
  21044. "marketid",
  21045. "memberuserid",
  21046. "orderid",
  21047. "tradeamount",
  21048. "tradedate",
  21049. "tradeid",
  21050. "tradeprice",
  21051. "tradeqty",
  21052. "tradetime"
  21053. ],
  21054. "properties": {
  21055. "accountid": {
  21056. "description": "账户ID[报价币种]",
  21057. "type": "integer"
  21058. },
  21059. "buildtype": {
  21060. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21061. "type": "integer"
  21062. },
  21063. "buyorsell": {
  21064. "description": "方向 - 0:买 1:卖",
  21065. "type": "integer"
  21066. },
  21067. "charge": {
  21068. "description": "手续费",
  21069. "type": "number"
  21070. },
  21071. "closecharge": {
  21072. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21073. "type": "number"
  21074. },
  21075. "closeexchagechargevalue": {
  21076. "description": "平仓交易所手续费设置值",
  21077. "type": "number"
  21078. },
  21079. "closefeealgorithm": {
  21080. "description": "平仓手续费收取方式 1:比率 2:固定",
  21081. "type": "integer"
  21082. },
  21083. "closememberchargevalue": {
  21084. "description": "平仓会员手续费设置值",
  21085. "type": "number"
  21086. },
  21087. "closepl": {
  21088. "description": "平仓盈亏",
  21089. "type": "number"
  21090. },
  21091. "closepl2": {
  21092. "description": "平仓盈亏[逐笔]",
  21093. "type": "number"
  21094. },
  21095. "closeqty": {
  21096. "description": "平仓数量(先建后平操作 需要记录)",
  21097. "type": "integer"
  21098. },
  21099. "creditamount": {
  21100. "description": "授信金额",
  21101. "type": "number"
  21102. },
  21103. "gcaccountid": {
  21104. "description": "账户ID[合约币种]",
  21105. "type": "integer"
  21106. },
  21107. "goodscode": {
  21108. "description": "商品代码",
  21109. "type": "string"
  21110. },
  21111. "goodsid": {
  21112. "description": "商品ID",
  21113. "type": "integer"
  21114. },
  21115. "goodsname": {
  21116. "description": "商品名称",
  21117. "type": "string"
  21118. },
  21119. "histradedate": {
  21120. "description": "历史交易日",
  21121. "type": "string"
  21122. },
  21123. "intclosepl": {
  21124. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21125. "type": "integer"
  21126. },
  21127. "isconfirmexercise": {
  21128. "description": "是否确认行权- 0:否 1:是",
  21129. "type": "integer"
  21130. },
  21131. "ismain": {
  21132. "description": "是否主单 - 0:不是 1:是",
  21133. "type": "integer"
  21134. },
  21135. "ispreexercise": {
  21136. "description": "是否预申报- 0:否 1:是",
  21137. "type": "integer"
  21138. },
  21139. "isreckoned": {
  21140. "description": "是否结算 - 0:未结算 1:已结算",
  21141. "type": "integer"
  21142. },
  21143. "isvaliddata": {
  21144. "description": "是否有效 - 0:无效 1:有效",
  21145. "type": "integer"
  21146. },
  21147. "listingselecttype": {
  21148. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21149. "type": "integer"
  21150. },
  21151. "marketid": {
  21152. "description": "市场ID",
  21153. "type": "integer"
  21154. },
  21155. "marketname": {
  21156. "description": "市场名称",
  21157. "type": "string"
  21158. },
  21159. "matchaccountid": {
  21160. "description": "对手账号id",
  21161. "type": "integer"
  21162. },
  21163. "memberuserid": {
  21164. "description": "会员id 个人投资者 需要填写",
  21165. "type": "integer"
  21166. },
  21167. "opencharge": {
  21168. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21169. "type": "number"
  21170. },
  21171. "openexchagechargevalue": {
  21172. "description": "建仓交易所手续费设置值",
  21173. "type": "number"
  21174. },
  21175. "openfeealgorithm": {
  21176. "description": "建仓手续费收取方式 1:比率 2:固定",
  21177. "type": "integer"
  21178. },
  21179. "openmemberchargevalue": {
  21180. "description": "建仓会员手续费设置值",
  21181. "type": "number"
  21182. },
  21183. "openqty": {
  21184. "description": "开仓数量(先建后平操作 需要记录)",
  21185. "type": "integer"
  21186. },
  21187. "optiontype": {
  21188. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21189. "type": "integer"
  21190. },
  21191. "orderid": {
  21192. "description": "委托单号",
  21193. "type": "string"
  21194. },
  21195. "performanceplanid": {
  21196. "description": "履约计划ID[期权]",
  21197. "type": "integer"
  21198. },
  21199. "performancestatus": {
  21200. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21201. "type": "integer"
  21202. },
  21203. "preexerciseprice": {
  21204. "description": "预申报价格",
  21205. "type": "number"
  21206. },
  21207. "premium": {
  21208. "description": "权利金 - [持仓单的权利金]",
  21209. "type": "number"
  21210. },
  21211. "relatedouttradeid": {
  21212. "description": "关联外部成交单ID",
  21213. "type": "integer"
  21214. },
  21215. "status": {
  21216. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21217. "type": "integer"
  21218. },
  21219. "tradeamount": {
  21220. "description": "成交金额[账户币种,用于所有权]",
  21221. "type": "number"
  21222. },
  21223. "tradedate": {
  21224. "description": "交易日(yyyyMMdd)",
  21225. "type": "string"
  21226. },
  21227. "tradeid": {
  21228. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21229. "type": "string"
  21230. },
  21231. "trademode": {
  21232. "description": "交易模式",
  21233. "type": "integer"
  21234. },
  21235. "tradeprice": {
  21236. "description": "成交价格",
  21237. "type": "number"
  21238. },
  21239. "tradeproperty": {
  21240. "description": "交易属性",
  21241. "type": "integer"
  21242. },
  21243. "tradeqty": {
  21244. "description": "成交数量",
  21245. "type": "integer"
  21246. },
  21247. "tradetime": {
  21248. "description": "成交时间",
  21249. "type": "string"
  21250. },
  21251. "tradetype": {
  21252. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21253. "type": "integer"
  21254. }
  21255. }
  21256. },
  21257. "order.QueryHisTradeOrderDetailRsp": {
  21258. "type": "object",
  21259. "required": [
  21260. "accountid",
  21261. "buildtype",
  21262. "buyorsell",
  21263. "goodsid",
  21264. "histradedate",
  21265. "marketid",
  21266. "memberuserid",
  21267. "operatetype",
  21268. "orderid",
  21269. "orderqty",
  21270. "ordertime",
  21271. "pricemode",
  21272. "tradedate",
  21273. "validtype"
  21274. ],
  21275. "properties": {
  21276. "accountid": {
  21277. "description": "账户ID[报价币种]",
  21278. "type": "integer"
  21279. },
  21280. "buildtype": {
  21281. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21282. "type": "integer"
  21283. },
  21284. "buyorsell": {
  21285. "description": "买卖 - 0:买 1:卖",
  21286. "type": "integer"
  21287. },
  21288. "cancelorderid": {
  21289. "description": "撤单单号(撤单时填写)",
  21290. "type": "string"
  21291. },
  21292. "cancelqty": {
  21293. "description": "撤单数量",
  21294. "type": "integer"
  21295. },
  21296. "clientordertime": {
  21297. "description": "客户端委托时间",
  21298. "type": "string"
  21299. },
  21300. "clientticket": {
  21301. "description": "客户端流水号",
  21302. "type": "string"
  21303. },
  21304. "clienttype": {
  21305. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21306. "type": "integer"
  21307. },
  21308. "closeexchagechargevalue": {
  21309. "description": "平仓交易所手续费设置值",
  21310. "type": "number"
  21311. },
  21312. "closefeealgorithm": {
  21313. "description": "平仓手续费收取方式 1:比率 2:固定",
  21314. "type": "integer"
  21315. },
  21316. "closefreezecharge": {
  21317. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21318. "type": "number"
  21319. },
  21320. "closememberchargevalue": {
  21321. "description": "平仓会员手续费设置值",
  21322. "type": "number"
  21323. },
  21324. "closeqty": {
  21325. "description": "平仓数量(先建后平操作 需要记录)",
  21326. "type": "integer"
  21327. },
  21328. "closetradeqty": {
  21329. "description": "平仓成交数量(先建后平操作,需要记录)",
  21330. "type": "integer"
  21331. },
  21332. "closeunfreezecharge": {
  21333. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21334. "type": "number"
  21335. },
  21336. "delistingtype": {
  21337. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21338. "type": "integer"
  21339. },
  21340. "freezecharge": {
  21341. "description": "冻结手续费",
  21342. "type": "number"
  21343. },
  21344. "freezemargin": {
  21345. "description": "冻结保证金(冻结交易金额)",
  21346. "type": "number"
  21347. },
  21348. "gcaccountid": {
  21349. "description": "账户ID[合约币种]",
  21350. "type": "integer"
  21351. },
  21352. "goodscode": {
  21353. "description": "商品代码",
  21354. "type": "string"
  21355. },
  21356. "goodsid": {
  21357. "description": "商品ID",
  21358. "type": "integer"
  21359. },
  21360. "goodsname": {
  21361. "description": "商品名称",
  21362. "type": "string"
  21363. },
  21364. "histradedate": {
  21365. "description": "历史交易日",
  21366. "type": "string"
  21367. },
  21368. "isconfirmexercise": {
  21369. "description": "是否确认行权- 0:否 1:是",
  21370. "type": "integer"
  21371. },
  21372. "ispreexercise": {
  21373. "description": "是否预申报- 0:否 1:是",
  21374. "type": "integer"
  21375. },
  21376. "isvaliddata": {
  21377. "description": "是否有效 - 0:无效 1:有效",
  21378. "type": "integer"
  21379. },
  21380. "listingselecttype": {
  21381. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21382. "type": "integer"
  21383. },
  21384. "marginalgorithm": {
  21385. "description": "保证金收取方式 1:比率 2:固定",
  21386. "type": "integer"
  21387. },
  21388. "marginvalue": {
  21389. "description": "即市保证金设置值",
  21390. "type": "number"
  21391. },
  21392. "marketid": {
  21393. "description": "市场ID",
  21394. "type": "integer"
  21395. },
  21396. "marketmaxsub": {
  21397. "description": "市价最大偏移范围",
  21398. "type": "number"
  21399. },
  21400. "marketname": {
  21401. "description": "市场名称",
  21402. "type": "string"
  21403. },
  21404. "memberuserid": {
  21405. "description": "所属会员UserID",
  21406. "type": "integer"
  21407. },
  21408. "openexchagechargevalue": {
  21409. "description": "建仓交易所手续费设置值",
  21410. "type": "number"
  21411. },
  21412. "openfeealgorithm": {
  21413. "description": "建仓手续费收取方式 1:比率 2:固定",
  21414. "type": "integer"
  21415. },
  21416. "openfreezecharge": {
  21417. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21418. "type": "number"
  21419. },
  21420. "openmemberchargevalue": {
  21421. "description": "建仓会员手续费设置值",
  21422. "type": "number"
  21423. },
  21424. "openqty": {
  21425. "description": "开仓数量(先建后平操作,需要记录)",
  21426. "type": "integer"
  21427. },
  21428. "opentradeqty": {
  21429. "description": "开仓成交数量(先建后平操作,需要记录)",
  21430. "type": "integer"
  21431. },
  21432. "openunfreezecharge": {
  21433. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21434. "type": "number"
  21435. },
  21436. "operatetype": {
  21437. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21438. "type": "integer"
  21439. },
  21440. "operatorid": {
  21441. "description": "登录账号(LoginID)",
  21442. "type": "integer"
  21443. },
  21444. "optiontype": {
  21445. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21446. "type": "integer"
  21447. },
  21448. "orderid": {
  21449. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21450. "type": "string"
  21451. },
  21452. "orderprice": {
  21453. "description": "委托价格",
  21454. "type": "number"
  21455. },
  21456. "orderqty": {
  21457. "description": "委托数量",
  21458. "type": "integer"
  21459. },
  21460. "ordersrc": {
  21461. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21462. "type": "integer"
  21463. },
  21464. "orderstatus": {
  21465. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21466. "type": "integer"
  21467. },
  21468. "ordertime": {
  21469. "description": "委托时间",
  21470. "type": "string"
  21471. },
  21472. "preexerciseprice": {
  21473. "description": "预申报价格",
  21474. "type": "number"
  21475. },
  21476. "premium": {
  21477. "description": "权利金",
  21478. "type": "number"
  21479. },
  21480. "preorderid": {
  21481. "description": "关联预埋单号(止盈止损单时填写)",
  21482. "type": "string"
  21483. },
  21484. "pricemode": {
  21485. "description": "取价方式 - 1:市价 2: 限价",
  21486. "type": "integer"
  21487. },
  21488. "quoteid": {
  21489. "description": "报价单ID",
  21490. "type": "integer"
  21491. },
  21492. "relatedid": {
  21493. "description": "关联单号(交割单)",
  21494. "type": "string"
  21495. },
  21496. "retcode": {
  21497. "description": "错误代码",
  21498. "type": "integer"
  21499. },
  21500. "sessionid": {
  21501. "description": "会话ID",
  21502. "type": "integer"
  21503. },
  21504. "tradedate": {
  21505. "description": "交易日(yyyyMMdd)",
  21506. "type": "string"
  21507. },
  21508. "trademode": {
  21509. "description": "交易模式",
  21510. "type": "integer"
  21511. },
  21512. "tradeproperty": {
  21513. "description": "交易属性",
  21514. "type": "integer"
  21515. },
  21516. "tradeqty": {
  21517. "description": "成交数量",
  21518. "type": "integer"
  21519. },
  21520. "unfreezecharge": {
  21521. "description": "解冻手续费",
  21522. "type": "number"
  21523. },
  21524. "unfreezemargin": {
  21525. "description": "解冻保证金",
  21526. "type": "number"
  21527. },
  21528. "updatetime": {
  21529. "description": "更新时间",
  21530. "type": "string"
  21531. },
  21532. "uuid": {
  21533. "description": "发起端唯一id",
  21534. "type": "string"
  21535. },
  21536. "validtime": {
  21537. "description": "有效期限",
  21538. "type": "string"
  21539. },
  21540. "validtype": {
  21541. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21542. "type": "integer"
  21543. },
  21544. "volumetype": {
  21545. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21546. "type": "integer"
  21547. }
  21548. }
  21549. },
  21550. "order.QueryTradeDetailRsp": {
  21551. "type": "object",
  21552. "required": [
  21553. "accountid",
  21554. "buyorsell",
  21555. "goodsid",
  21556. "marketid",
  21557. "memberuserid",
  21558. "orderid",
  21559. "tradeamount",
  21560. "tradedate",
  21561. "tradeid",
  21562. "tradeprice",
  21563. "tradeqty",
  21564. "tradetime"
  21565. ],
  21566. "properties": {
  21567. "accountid": {
  21568. "description": "账户ID[报价币种]",
  21569. "type": "integer"
  21570. },
  21571. "buildtype": {
  21572. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21573. "type": "integer"
  21574. },
  21575. "buyorsell": {
  21576. "description": "方向 - 0:买 1:卖",
  21577. "type": "integer"
  21578. },
  21579. "charge": {
  21580. "description": "手续费",
  21581. "type": "number"
  21582. },
  21583. "closecharge": {
  21584. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21585. "type": "number"
  21586. },
  21587. "closeexchagechargevalue": {
  21588. "description": "平仓交易所手续费设置值",
  21589. "type": "number"
  21590. },
  21591. "closefeealgorithm": {
  21592. "description": "平仓手续费收取方式 1:比率 2:固定",
  21593. "type": "integer"
  21594. },
  21595. "closememberchargevalue": {
  21596. "description": "平仓会员手续费设置值",
  21597. "type": "number"
  21598. },
  21599. "closepl": {
  21600. "description": "平仓盈亏",
  21601. "type": "number"
  21602. },
  21603. "closepl2": {
  21604. "description": "平仓盈亏[逐笔]",
  21605. "type": "number"
  21606. },
  21607. "closeqty": {
  21608. "description": "平仓数量(先建后平操作 需要记录)",
  21609. "type": "integer"
  21610. },
  21611. "creditamount": {
  21612. "description": "授信金额",
  21613. "type": "number"
  21614. },
  21615. "gcaccountid": {
  21616. "description": "账户ID[合约币种]",
  21617. "type": "integer"
  21618. },
  21619. "goodscode": {
  21620. "description": "商品代码",
  21621. "type": "string"
  21622. },
  21623. "goodsid": {
  21624. "description": "商品ID",
  21625. "type": "integer"
  21626. },
  21627. "goodsname": {
  21628. "description": "商品名称",
  21629. "type": "string"
  21630. },
  21631. "intclosepl": {
  21632. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21633. "type": "integer"
  21634. },
  21635. "isconfirmexercise": {
  21636. "description": "是否确认行权- 0:否 1:是",
  21637. "type": "integer"
  21638. },
  21639. "ismain": {
  21640. "description": "是否主单 - 0:不是 1:是",
  21641. "type": "integer"
  21642. },
  21643. "ispreexercise": {
  21644. "description": "是否预申报- 0:否 1:是",
  21645. "type": "integer"
  21646. },
  21647. "isreckoned": {
  21648. "description": "是否结算 - 0:未结算 1:已结算",
  21649. "type": "integer"
  21650. },
  21651. "listingselecttype": {
  21652. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21653. "type": "integer"
  21654. },
  21655. "marketid": {
  21656. "description": "市场ID",
  21657. "type": "integer"
  21658. },
  21659. "marketname": {
  21660. "description": "市场名称",
  21661. "type": "string"
  21662. },
  21663. "matchaccountid": {
  21664. "description": "对手账号id",
  21665. "type": "integer"
  21666. },
  21667. "memberuserid": {
  21668. "description": "会员id 个人投资者 需要填写",
  21669. "type": "integer"
  21670. },
  21671. "opencharge": {
  21672. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21673. "type": "number"
  21674. },
  21675. "openexchagechargevalue": {
  21676. "description": "建仓交易所手续费设置值",
  21677. "type": "number"
  21678. },
  21679. "openfeealgorithm": {
  21680. "description": "建仓手续费收取方式 1:比率 2:固定",
  21681. "type": "integer"
  21682. },
  21683. "openmemberchargevalue": {
  21684. "description": "建仓会员手续费设置值",
  21685. "type": "number"
  21686. },
  21687. "openqty": {
  21688. "description": "开仓数量(先建后平操作 需要记录)",
  21689. "type": "integer"
  21690. },
  21691. "optiontype": {
  21692. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21693. "type": "integer"
  21694. },
  21695. "orderid": {
  21696. "description": "委托单号",
  21697. "type": "string"
  21698. },
  21699. "performanceplanid": {
  21700. "description": "履约计划ID[期权]",
  21701. "type": "integer"
  21702. },
  21703. "performancestatus": {
  21704. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21705. "type": "integer"
  21706. },
  21707. "preexerciseprice": {
  21708. "description": "预申报价格",
  21709. "type": "number"
  21710. },
  21711. "premium": {
  21712. "description": "权利金 - [持仓单的权利金]",
  21713. "type": "number"
  21714. },
  21715. "relatedouttradeid": {
  21716. "description": "关联外部成交单ID",
  21717. "type": "integer"
  21718. },
  21719. "status": {
  21720. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21721. "type": "integer"
  21722. },
  21723. "tradeamount": {
  21724. "description": "成交金额[账户币种,用于所有权]",
  21725. "type": "number"
  21726. },
  21727. "tradedate": {
  21728. "description": "交易日(yyyyMMdd)",
  21729. "type": "string"
  21730. },
  21731. "tradeid": {
  21732. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21733. "type": "string"
  21734. },
  21735. "trademode": {
  21736. "description": "交易模式",
  21737. "type": "integer"
  21738. },
  21739. "tradeprice": {
  21740. "description": "成交价格",
  21741. "type": "number"
  21742. },
  21743. "tradeproperty": {
  21744. "description": "交易属性",
  21745. "type": "integer"
  21746. },
  21747. "tradeqty": {
  21748. "description": "成交数量",
  21749. "type": "integer"
  21750. },
  21751. "tradetime": {
  21752. "description": "成交时间",
  21753. "type": "string"
  21754. },
  21755. "tradetype": {
  21756. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21757. "type": "integer"
  21758. }
  21759. }
  21760. },
  21761. "order.QueryTradeOrderDetailRsp": {
  21762. "type": "object",
  21763. "required": [
  21764. "accountid",
  21765. "buildtype",
  21766. "buyorsell",
  21767. "goodsid",
  21768. "marketid",
  21769. "operatetype",
  21770. "orderqty",
  21771. "ordertime",
  21772. "pricemode",
  21773. "tradedate",
  21774. "validtype"
  21775. ],
  21776. "properties": {
  21777. "accountid": {
  21778. "description": "账户ID[报价币种]",
  21779. "type": "integer"
  21780. },
  21781. "buildtype": {
  21782. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21783. "type": "integer"
  21784. },
  21785. "buyorsell": {
  21786. "description": "买卖 - 0:买 1:卖",
  21787. "type": "integer"
  21788. },
  21789. "cancelorderid": {
  21790. "description": "撤单单号(撤单时填写)",
  21791. "type": "string"
  21792. },
  21793. "cancelqty": {
  21794. "description": "撤单数量",
  21795. "type": "integer"
  21796. },
  21797. "clienttype": {
  21798. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21799. "type": "integer"
  21800. },
  21801. "closefreezecharge": {
  21802. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21803. "type": "number"
  21804. },
  21805. "closeqty": {
  21806. "description": "平仓数量(先建后平操作 需要记录)",
  21807. "type": "integer"
  21808. },
  21809. "closetradeqty": {
  21810. "description": "平仓成交数量(先建后平操作,需要记录)",
  21811. "type": "integer"
  21812. },
  21813. "closeunfreezecharge": {
  21814. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21815. "type": "number"
  21816. },
  21817. "delistingtype": {
  21818. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21819. "type": "integer"
  21820. },
  21821. "enableqty": {
  21822. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  21823. "type": "integer"
  21824. },
  21825. "freezecharge": {
  21826. "description": "冻结手续费",
  21827. "type": "number"
  21828. },
  21829. "freezemargin": {
  21830. "description": "冻结保证金(冻结交易金额)",
  21831. "type": "number"
  21832. },
  21833. "goodscode": {
  21834. "description": "商品代码",
  21835. "type": "string"
  21836. },
  21837. "goodsid": {
  21838. "description": "商品ID",
  21839. "type": "integer"
  21840. },
  21841. "goodsname": {
  21842. "description": "商品名称",
  21843. "type": "string"
  21844. },
  21845. "listingselecttype": {
  21846. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21847. "type": "integer"
  21848. },
  21849. "marketid": {
  21850. "description": "市场ID",
  21851. "type": "integer"
  21852. },
  21853. "marketname": {
  21854. "description": "市场名称",
  21855. "type": "string"
  21856. },
  21857. "openfreezecharge": {
  21858. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21859. "type": "number"
  21860. },
  21861. "openqty": {
  21862. "description": "开仓数量(先建后平操作,需要记录)",
  21863. "type": "integer"
  21864. },
  21865. "opentradeqty": {
  21866. "description": "开仓成交数量(先建后平操作,需要记录)",
  21867. "type": "integer"
  21868. },
  21869. "openunfreezecharge": {
  21870. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21871. "type": "number"
  21872. },
  21873. "operatetype": {
  21874. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21875. "type": "integer"
  21876. },
  21877. "operatorid": {
  21878. "description": "登录账号(LoginID)",
  21879. "type": "integer"
  21880. },
  21881. "orderid": {
  21882. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21883. "type": "string"
  21884. },
  21885. "orderprice": {
  21886. "description": "委托价格",
  21887. "type": "number"
  21888. },
  21889. "orderqty": {
  21890. "description": "委托数量",
  21891. "type": "integer"
  21892. },
  21893. "ordersrc": {
  21894. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21895. "type": "integer"
  21896. },
  21897. "orderstatus": {
  21898. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21899. "type": "integer"
  21900. },
  21901. "ordertime": {
  21902. "description": "委托时间",
  21903. "type": "string"
  21904. },
  21905. "preorderid": {
  21906. "description": "关联预埋单号(止盈止损单时填写)",
  21907. "type": "string"
  21908. },
  21909. "pricemode": {
  21910. "description": "取价方式 - 1:市价 2: 限价",
  21911. "type": "integer"
  21912. },
  21913. "relatedid": {
  21914. "description": "关联单号(交割单)",
  21915. "type": "string"
  21916. },
  21917. "tradedate": {
  21918. "description": "交易日(yyyyMMdd)",
  21919. "type": "string"
  21920. },
  21921. "trademode": {
  21922. "description": "交易模式",
  21923. "type": "integer"
  21924. },
  21925. "tradeqty": {
  21926. "description": "成交数量",
  21927. "type": "integer"
  21928. },
  21929. "unfreezecharge": {
  21930. "description": "解冻手续费",
  21931. "type": "number"
  21932. },
  21933. "unfreezemargin": {
  21934. "description": "解冻保证金",
  21935. "type": "number"
  21936. },
  21937. "validtime": {
  21938. "description": "有效期限",
  21939. "type": "string"
  21940. },
  21941. "validtype": {
  21942. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21943. "type": "integer"
  21944. },
  21945. "volumetype": {
  21946. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21947. "type": "integer"
  21948. }
  21949. }
  21950. },
  21951. "order.QueryTradePositionRsp": {
  21952. "type": "object",
  21953. "required": [
  21954. "goodsid"
  21955. ],
  21956. "properties": {
  21957. "accountid": {
  21958. "description": "资金账户",
  21959. "type": "integer"
  21960. },
  21961. "agreeunit": {
  21962. "description": "合约单位",
  21963. "type": "number"
  21964. },
  21965. "averageprice": {
  21966. "description": "持仓均价",
  21967. "type": "number"
  21968. },
  21969. "buyorsell": {
  21970. "description": "方向 - 0:买 1:卖",
  21971. "type": "integer"
  21972. },
  21973. "closetotalqty": {
  21974. "description": "平仓总数量",
  21975. "type": "integer"
  21976. },
  21977. "curholderamount": {
  21978. "description": "当前持仓总金额[商品币种]",
  21979. "type": "number"
  21980. },
  21981. "curpositionqty": {
  21982. "description": "当前持仓总数量",
  21983. "type": "integer"
  21984. },
  21985. "currencyid": {
  21986. "description": "报价货币ID",
  21987. "type": "integer"
  21988. },
  21989. "curtdposition": {
  21990. "description": "期末今日头寸",
  21991. "type": "integer"
  21992. },
  21993. "decimalplace": {
  21994. "description": "报价小数位",
  21995. "type": "integer"
  21996. },
  21997. "enableqty": {
  21998. "description": "可用量",
  21999. "type": "integer"
  22000. },
  22001. "fretdposition": {
  22002. "description": "冻结今日头寸",
  22003. "type": "integer"
  22004. },
  22005. "frozenqty": {
  22006. "description": "持仓冻结数量",
  22007. "type": "integer"
  22008. },
  22009. "goodscode": {
  22010. "description": "商品代码",
  22011. "type": "string"
  22012. },
  22013. "goodsid": {
  22014. "description": "商品Id",
  22015. "type": "integer"
  22016. },
  22017. "goodsname": {
  22018. "description": "商品名称",
  22019. "type": "string"
  22020. },
  22021. "goodunit": {
  22022. "description": "报价单位",
  22023. "type": "string"
  22024. },
  22025. "goodunitid": {
  22026. "description": "报价单位ID",
  22027. "type": "integer"
  22028. },
  22029. "holderamount": {
  22030. "description": "期初持仓总金额[商品币种]",
  22031. "type": "number"
  22032. },
  22033. "marketid": {
  22034. "description": "所属市场ID",
  22035. "type": "integer"
  22036. },
  22037. "openreqqty": {
  22038. "description": "开仓申请数量(用于比较最大持仓数量)",
  22039. "type": "integer"
  22040. },
  22041. "opentotalqty": {
  22042. "description": "开仓总数量",
  22043. "type": "integer"
  22044. },
  22045. "otherfrozenqty": {
  22046. "description": "持仓其他冻结数量(交割冻结)",
  22047. "type": "integer"
  22048. },
  22049. "positionqty": {
  22050. "description": "期初持仓数量",
  22051. "type": "integer"
  22052. },
  22053. "tnqty": {
  22054. "description": "T+N冻结总量",
  22055. "type": "integer"
  22056. },
  22057. "tnusedqty": {
  22058. "description": "T+N使用量(可以使用T+N的冻结数量)",
  22059. "type": "integer"
  22060. },
  22061. "trademode": {
  22062. "description": "交易模式",
  22063. "type": "integer"
  22064. },
  22065. "usedmargin": {
  22066. "description": "占用保证金[商品币种]",
  22067. "type": "number"
  22068. }
  22069. }
  22070. },
  22071. "quote.HistoryData": {
  22072. "type": "object",
  22073. "properties": {
  22074. "c": {
  22075. "description": "收盘价",
  22076. "type": "number"
  22077. },
  22078. "f": {
  22079. "description": "是否补充数据",
  22080. "type": "boolean"
  22081. },
  22082. "h": {
  22083. "description": "最高价",
  22084. "type": "number"
  22085. },
  22086. "hv": {
  22087. "description": "持仓量",
  22088. "type": "integer"
  22089. },
  22090. "l": {
  22091. "description": "最低价",
  22092. "type": "number"
  22093. },
  22094. "o": {
  22095. "description": "开盘价",
  22096. "type": "number"
  22097. },
  22098. "s": {
  22099. "description": "结算价,日线周期(包括)以上才有",
  22100. "type": "number"
  22101. },
  22102. "ts": {
  22103. "description": "时间",
  22104. "type": "string"
  22105. },
  22106. "tt": {
  22107. "description": "总金额",
  22108. "type": "number"
  22109. },
  22110. "tv": {
  22111. "description": "总量",
  22112. "type": "integer"
  22113. }
  22114. }
  22115. },
  22116. "quote.HistoryTikData": {
  22117. "type": "object",
  22118. "properties": {
  22119. "AV": {
  22120. "description": "卖量",
  22121. "type": "integer"
  22122. },
  22123. "Ask": {
  22124. "description": "卖价",
  22125. "type": "number"
  22126. },
  22127. "BV": {
  22128. "description": "买量",
  22129. "type": "integer"
  22130. },
  22131. "Bid": {
  22132. "description": "买价",
  22133. "type": "number"
  22134. },
  22135. "HI": {
  22136. "description": "单笔持仓",
  22137. "type": "integer"
  22138. },
  22139. "HV": {
  22140. "description": "持仓量",
  22141. "type": "integer"
  22142. },
  22143. "PE": {
  22144. "description": "现价",
  22145. "type": "number"
  22146. },
  22147. "TDR": {
  22148. "description": "交易方向,0:买 1:卖",
  22149. "type": "integer"
  22150. },
  22151. "TK": {
  22152. "description": "交易类型",
  22153. "type": "integer"
  22154. },
  22155. "TS": {
  22156. "description": "行情时间文本",
  22157. "type": "string"
  22158. },
  22159. "TT": {
  22160. "description": "现金额",
  22161. "type": "number"
  22162. },
  22163. "Vol": {
  22164. "description": "现量",
  22165. "type": "integer"
  22166. }
  22167. }
  22168. },
  22169. "quote.QueryQuoteDayRsp": {
  22170. "type": "object",
  22171. "properties": {
  22172. "ask": {
  22173. "description": "卖1",
  22174. "type": "number"
  22175. },
  22176. "ask10": {
  22177. "description": "卖10",
  22178. "type": "number"
  22179. },
  22180. "ask2": {
  22181. "description": "卖2",
  22182. "type": "number"
  22183. },
  22184. "ask3": {
  22185. "description": "卖3",
  22186. "type": "number"
  22187. },
  22188. "ask4": {
  22189. "description": "卖4",
  22190. "type": "number"
  22191. },
  22192. "ask5": {
  22193. "description": "卖5",
  22194. "type": "number"
  22195. },
  22196. "ask6": {
  22197. "description": "卖6",
  22198. "type": "number"
  22199. },
  22200. "ask7": {
  22201. "description": "卖7",
  22202. "type": "number"
  22203. },
  22204. "ask8": {
  22205. "description": "卖8",
  22206. "type": "number"
  22207. },
  22208. "ask9": {
  22209. "description": "卖9",
  22210. "type": "number"
  22211. },
  22212. "askorderid": {
  22213. "description": "卖单号1",
  22214. "type": "integer"
  22215. },
  22216. "askorderid2": {
  22217. "description": "卖单号2",
  22218. "type": "integer"
  22219. },
  22220. "askorderid3": {
  22221. "description": "卖单号3",
  22222. "type": "integer"
  22223. },
  22224. "askorderid4": {
  22225. "description": "卖单号4",
  22226. "type": "integer"
  22227. },
  22228. "askorderid5": {
  22229. "description": "卖单号5",
  22230. "type": "integer"
  22231. },
  22232. "askordervolume": {
  22233. "description": "卖单量1",
  22234. "type": "integer"
  22235. },
  22236. "askordervolume10": {
  22237. "description": "卖单量10",
  22238. "type": "integer"
  22239. },
  22240. "askordervolume2": {
  22241. "description": "卖单量2",
  22242. "type": "integer"
  22243. },
  22244. "askordervolume3": {
  22245. "description": "卖单量3",
  22246. "type": "integer"
  22247. },
  22248. "askordervolume4": {
  22249. "description": "卖单量4",
  22250. "type": "integer"
  22251. },
  22252. "askordervolume5": {
  22253. "description": "卖单量5",
  22254. "type": "integer"
  22255. },
  22256. "askordervolume6": {
  22257. "description": "卖单量6",
  22258. "type": "integer"
  22259. },
  22260. "askordervolume7": {
  22261. "description": "卖单量7",
  22262. "type": "integer"
  22263. },
  22264. "askordervolume8": {
  22265. "description": "卖单量8",
  22266. "type": "integer"
  22267. },
  22268. "askordervolume9": {
  22269. "description": "卖单量9",
  22270. "type": "integer"
  22271. },
  22272. "askqueueinfo": {
  22273. "description": "大利市卖港股用",
  22274. "type": "string"
  22275. },
  22276. "askvolume": {
  22277. "description": "卖量1",
  22278. "type": "integer"
  22279. },
  22280. "askvolume10": {
  22281. "description": "卖量10",
  22282. "type": "integer"
  22283. },
  22284. "askvolume2": {
  22285. "description": "卖量2",
  22286. "type": "integer"
  22287. },
  22288. "askvolume3": {
  22289. "description": "卖量3",
  22290. "type": "integer"
  22291. },
  22292. "askvolume4": {
  22293. "description": "卖量4",
  22294. "type": "integer"
  22295. },
  22296. "askvolume5": {
  22297. "description": "卖量5",
  22298. "type": "integer"
  22299. },
  22300. "askvolume6": {
  22301. "description": "卖量6",
  22302. "type": "integer"
  22303. },
  22304. "askvolume7": {
  22305. "description": "卖量7",
  22306. "type": "integer"
  22307. },
  22308. "askvolume8": {
  22309. "description": "卖量8",
  22310. "type": "integer"
  22311. },
  22312. "askvolume9": {
  22313. "description": "卖量9",
  22314. "type": "integer"
  22315. },
  22316. "averageprice": {
  22317. "description": "均价",
  22318. "type": "number"
  22319. },
  22320. "bid": {
  22321. "description": "买1",
  22322. "type": "number"
  22323. },
  22324. "bid10": {
  22325. "description": "买10",
  22326. "type": "number"
  22327. },
  22328. "bid2": {
  22329. "description": "买2",
  22330. "type": "number"
  22331. },
  22332. "bid3": {
  22333. "description": "买3",
  22334. "type": "number"
  22335. },
  22336. "bid4": {
  22337. "description": "买4",
  22338. "type": "number"
  22339. },
  22340. "bid5": {
  22341. "description": "买5",
  22342. "type": "number"
  22343. },
  22344. "bid6": {
  22345. "description": "买6",
  22346. "type": "number"
  22347. },
  22348. "bid7": {
  22349. "description": "买7",
  22350. "type": "number"
  22351. },
  22352. "bid8": {
  22353. "description": "买8",
  22354. "type": "number"
  22355. },
  22356. "bid9": {
  22357. "description": "买9",
  22358. "type": "number"
  22359. },
  22360. "bidorderid": {
  22361. "description": "买单号1",
  22362. "type": "integer"
  22363. },
  22364. "bidorderid2": {
  22365. "description": "买单号2",
  22366. "type": "integer"
  22367. },
  22368. "bidorderid3": {
  22369. "description": "买单号3",
  22370. "type": "integer"
  22371. },
  22372. "bidorderid4": {
  22373. "description": "买单号4",
  22374. "type": "integer"
  22375. },
  22376. "bidorderid5": {
  22377. "description": "买单号5",
  22378. "type": "integer"
  22379. },
  22380. "bidordervolume": {
  22381. "description": "买单量1",
  22382. "type": "integer"
  22383. },
  22384. "bidordervolume10": {
  22385. "description": "买单量10",
  22386. "type": "integer"
  22387. },
  22388. "bidordervolume2": {
  22389. "description": "买单量2",
  22390. "type": "integer"
  22391. },
  22392. "bidordervolume3": {
  22393. "description": "买单量3",
  22394. "type": "integer"
  22395. },
  22396. "bidordervolume4": {
  22397. "description": "买单量4",
  22398. "type": "integer"
  22399. },
  22400. "bidordervolume5": {
  22401. "description": "买单量5",
  22402. "type": "integer"
  22403. },
  22404. "bidordervolume6": {
  22405. "description": "买单量6",
  22406. "type": "integer"
  22407. },
  22408. "bidordervolume7": {
  22409. "description": "买单量7",
  22410. "type": "integer"
  22411. },
  22412. "bidordervolume8": {
  22413. "description": "买单量8",
  22414. "type": "integer"
  22415. },
  22416. "bidordervolume9": {
  22417. "description": "买单量9",
  22418. "type": "integer"
  22419. },
  22420. "bidqueueinfo": {
  22421. "description": "大利市买港股用",
  22422. "type": "string"
  22423. },
  22424. "bidvolume": {
  22425. "description": "买量1",
  22426. "type": "integer"
  22427. },
  22428. "bidvolume10": {
  22429. "description": "买量10",
  22430. "type": "integer"
  22431. },
  22432. "bidvolume2": {
  22433. "description": "买量2",
  22434. "type": "integer"
  22435. },
  22436. "bidvolume3": {
  22437. "description": "买量3",
  22438. "type": "integer"
  22439. },
  22440. "bidvolume4": {
  22441. "description": "买量4",
  22442. "type": "integer"
  22443. },
  22444. "bidvolume5": {
  22445. "description": "买量5",
  22446. "type": "integer"
  22447. },
  22448. "bidvolume6": {
  22449. "description": "买量6",
  22450. "type": "integer"
  22451. },
  22452. "bidvolume7": {
  22453. "description": "买量7",
  22454. "type": "integer"
  22455. },
  22456. "bidvolume8": {
  22457. "description": "买量8",
  22458. "type": "integer"
  22459. },
  22460. "bidvolume9": {
  22461. "description": "买量9",
  22462. "type": "integer"
  22463. },
  22464. "calloptionpremiums": {
  22465. "description": "认购期权1",
  22466. "type": "integer"
  22467. },
  22468. "calloptionpremiums2": {
  22469. "description": "认购期权2",
  22470. "type": "integer"
  22471. },
  22472. "calloptionpremiums3": {
  22473. "description": "认购期权3",
  22474. "type": "integer"
  22475. },
  22476. "calloptionpremiums4": {
  22477. "description": "认购期权4",
  22478. "type": "integer"
  22479. },
  22480. "calloptionpremiums5": {
  22481. "description": "认购期权5",
  22482. "type": "integer"
  22483. },
  22484. "cleartime": {
  22485. "description": "清盘时间",
  22486. "type": "integer"
  22487. },
  22488. "exchangecode": {
  22489. "description": "交易所代码",
  22490. "type": "integer"
  22491. },
  22492. "exchangedate": {
  22493. "description": "交易日",
  22494. "type": "integer"
  22495. },
  22496. "goodscode": {
  22497. "description": "商品代码",
  22498. "type": "string"
  22499. },
  22500. "grepmarketprice": {
  22501. "description": "暗盘价 港股专用",
  22502. "type": "number"
  22503. },
  22504. "highest": {
  22505. "description": "最高价",
  22506. "type": "number"
  22507. },
  22508. "holdincrement": {
  22509. "description": "单笔持仓",
  22510. "type": "integer"
  22511. },
  22512. "holdvolume": {
  22513. "description": "持仓",
  22514. "type": "integer"
  22515. },
  22516. "iep": {
  22517. "description": "平衡价 港股专用",
  22518. "type": "number"
  22519. },
  22520. "iev": {
  22521. "description": "平衡量 港股专用",
  22522. "type": "number"
  22523. },
  22524. "inventory": {
  22525. "description": "库存",
  22526. "type": "integer"
  22527. },
  22528. "iscleared": {
  22529. "description": "是否清盘标志",
  22530. "type": "integer"
  22531. },
  22532. "issettled": {
  22533. "description": "是否结算标志",
  22534. "type": "integer"
  22535. },
  22536. "last": {
  22537. "description": "最新价",
  22538. "type": "number"
  22539. },
  22540. "lastlot": {
  22541. "description": "最新成交手数",
  22542. "type": "integer"
  22543. },
  22544. "lasttime": {
  22545. "description": "行情时间(只有现价变化行情时间才变化)",
  22546. "type": "string"
  22547. },
  22548. "lastturnover": {
  22549. "description": "最新成交金额",
  22550. "type": "number"
  22551. },
  22552. "lastvolume": {
  22553. "description": "最新成交量",
  22554. "type": "integer"
  22555. },
  22556. "limitdown": {
  22557. "description": "跌停价",
  22558. "type": "number"
  22559. },
  22560. "limitup": {
  22561. "description": "涨停价",
  22562. "type": "number"
  22563. },
  22564. "lowest": {
  22565. "description": "最低价",
  22566. "type": "number"
  22567. },
  22568. "nontotalholdervolume": {
  22569. "description": "非交易持仓量",
  22570. "type": "integer"
  22571. },
  22572. "nontotallot": {
  22573. "description": "非交易总手数",
  22574. "type": "integer"
  22575. },
  22576. "nontotalturnover": {
  22577. "description": "非交易总金额",
  22578. "type": "integer"
  22579. },
  22580. "nontotalvolume": {
  22581. "description": "非交易总量",
  22582. "type": "integer"
  22583. },
  22584. "opened": {
  22585. "description": "开盘价",
  22586. "type": "number"
  22587. },
  22588. "opentime": {
  22589. "description": "开盘时间",
  22590. "type": "string"
  22591. },
  22592. "orderid": {
  22593. "description": "序号",
  22594. "type": "integer"
  22595. },
  22596. "preclose": {
  22597. "description": "昨收",
  22598. "type": "number"
  22599. },
  22600. "preholdvolume": {
  22601. "description": "昨持仓",
  22602. "type": "integer"
  22603. },
  22604. "presettle": {
  22605. "description": "昨结价",
  22606. "type": "number"
  22607. },
  22608. "publictradetype": {
  22609. "description": "公共交易标志类型 港股专用",
  22610. "type": "string"
  22611. },
  22612. "putoptionpremiums": {
  22613. "description": "认沽期权1",
  22614. "type": "integer"
  22615. },
  22616. "putoptionpremiums2": {
  22617. "description": "认沽期权2",
  22618. "type": "integer"
  22619. },
  22620. "putoptionpremiums3": {
  22621. "description": "认沽期权3",
  22622. "type": "integer"
  22623. },
  22624. "putoptionpremiums4": {
  22625. "description": "认沽期权4",
  22626. "type": "integer"
  22627. },
  22628. "putoptionpremiums5": {
  22629. "description": "认沽期权5",
  22630. "type": "integer"
  22631. },
  22632. "settle": {
  22633. "description": "结算价",
  22634. "type": "number"
  22635. },
  22636. "strikeprice": {
  22637. "description": "发行价",
  22638. "type": "number"
  22639. },
  22640. "totalaskvolume": {
  22641. "description": "内盘",
  22642. "type": "integer"
  22643. },
  22644. "totalbidvolume": {
  22645. "description": "外盘",
  22646. "type": "integer"
  22647. },
  22648. "totallot": {
  22649. "description": "总手数",
  22650. "type": "integer"
  22651. },
  22652. "totalturnover": {
  22653. "description": "总金额",
  22654. "type": "number"
  22655. },
  22656. "totalvolume": {
  22657. "description": "总量",
  22658. "type": "integer"
  22659. },
  22660. "utclasttime": {
  22661. "description": "utc的行情时间",
  22662. "type": "string"
  22663. }
  22664. }
  22665. },
  22666. "quote.QueryTSDataRsp": {
  22667. "type": "object",
  22668. "properties": {
  22669. "Count": {
  22670. "description": "交易日应有数据个数",
  22671. "type": "integer"
  22672. },
  22673. "decimalPlace": {
  22674. "description": "小数位",
  22675. "type": "integer"
  22676. },
  22677. "endTime": {
  22678. "description": "结束时间",
  22679. "type": "string"
  22680. },
  22681. "goodsCode": {
  22682. "description": "商品代码",
  22683. "type": "string"
  22684. },
  22685. "historyDatas": {
  22686. "description": "历史数据",
  22687. "type": "array",
  22688. "items": {
  22689. "$ref": "#/definitions/quote.HistoryData"
  22690. }
  22691. },
  22692. "outGoodsCode": {
  22693. "description": "外部商品代码",
  22694. "type": "string"
  22695. },
  22696. "preSettle": {
  22697. "description": "昨结价",
  22698. "type": "number"
  22699. },
  22700. "runSteps": {
  22701. "description": "交易日开休市计划",
  22702. "type": "array",
  22703. "items": {
  22704. "$ref": "#/definitions/quote.TSDataRunStep"
  22705. }
  22706. },
  22707. "startTime": {
  22708. "description": "开始时间",
  22709. "type": "string"
  22710. },
  22711. "tradeDate": {
  22712. "description": "交易日",
  22713. "type": "string"
  22714. }
  22715. }
  22716. },
  22717. "quote.TSDataRunStep": {
  22718. "type": "object",
  22719. "properties": {
  22720. "end": {
  22721. "description": "真实结束时间",
  22722. "type": "string"
  22723. },
  22724. "endflag": {
  22725. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  22726. "type": "integer"
  22727. },
  22728. "endtime": {
  22729. "description": "结束时间(HH:mm)",
  22730. "type": "string"
  22731. },
  22732. "endweekday": {
  22733. "description": "结束周几",
  22734. "type": "integer"
  22735. },
  22736. "groupid": {
  22737. "description": "分组ID",
  22738. "type": "integer"
  22739. },
  22740. "runstep": {
  22741. "description": "运行阶段 - 2:连续交易",
  22742. "type": "integer"
  22743. },
  22744. "sectionid": {
  22745. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  22746. "type": "integer"
  22747. },
  22748. "start": {
  22749. "description": "真实开始时间",
  22750. "type": "string"
  22751. },
  22752. "startflag": {
  22753. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  22754. "type": "integer"
  22755. },
  22756. "starttime": {
  22757. "description": "起始时间(HH:mm)",
  22758. "type": "string"
  22759. },
  22760. "startweekday": {
  22761. "description": "起始周几",
  22762. "type": "integer"
  22763. },
  22764. "tradeweekday": {
  22765. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  22766. "type": "integer"
  22767. }
  22768. }
  22769. },
  22770. "szdz.QueryConvertLogRsp": {
  22771. "type": "object",
  22772. "required": [
  22773. "logid"
  22774. ],
  22775. "properties": {
  22776. "accountid": {
  22777. "description": "资金账户ID",
  22778. "type": "integer"
  22779. },
  22780. "clientticket": {
  22781. "description": "客户端流水号",
  22782. "type": "string"
  22783. },
  22784. "converttype": {
  22785. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  22786. "type": "integer"
  22787. },
  22788. "createtime": {
  22789. "description": "记账时间",
  22790. "type": "string"
  22791. },
  22792. "daymaxvalue": {
  22793. "description": "配置当日最大转入限制",
  22794. "type": "number"
  22795. },
  22796. "daymaxvalue2": {
  22797. "description": "配置当日最大转入限制(转入)",
  22798. "type": "number"
  22799. },
  22800. "goodscode": {
  22801. "description": "商品代码",
  22802. "type": "string"
  22803. },
  22804. "goodsname": {
  22805. "description": "商品名称",
  22806. "type": "string"
  22807. },
  22808. "handlestatus": {
  22809. "description": "处理状态",
  22810. "type": "integer"
  22811. },
  22812. "innergoodsid": {
  22813. "description": "内部商品ID",
  22814. "type": "integer"
  22815. },
  22816. "inratio": {
  22817. "description": "配置转入比值",
  22818. "type": "integer"
  22819. },
  22820. "invalue": {
  22821. "description": "目标值",
  22822. "type": "number"
  22823. },
  22824. "logid": {
  22825. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22826. "type": "integer"
  22827. },
  22828. "mobile": {
  22829. "description": "手机号码(加密存储)",
  22830. "type": "string"
  22831. },
  22832. "outergoodscode": {
  22833. "description": "外部商品代码[JD\\PD]",
  22834. "type": "string"
  22835. },
  22836. "outratio": {
  22837. "description": "配置转出比值",
  22838. "type": "integer"
  22839. },
  22840. "outvalue": {
  22841. "description": "源值",
  22842. "type": "number"
  22843. },
  22844. "pddecimalplace": {
  22845. "description": "PD小数位",
  22846. "type": "integer"
  22847. },
  22848. "qty": {
  22849. "description": "数量",
  22850. "type": "string"
  22851. },
  22852. "remark": {
  22853. "description": "备注",
  22854. "type": "string"
  22855. },
  22856. "sessionid": {
  22857. "description": "会话ID",
  22858. "type": "integer"
  22859. },
  22860. "timemaxvalue": {
  22861. "description": "配置单次最大转入限制",
  22862. "type": "number"
  22863. },
  22864. "timemaxvalue2": {
  22865. "description": "配置单次最大转入限制(转入)",
  22866. "type": "number"
  22867. },
  22868. "timeminvalue": {
  22869. "description": "配置单次最小数量限制",
  22870. "type": "number"
  22871. },
  22872. "timeminvalue2": {
  22873. "description": "配置单次最小数量限制(转入)",
  22874. "type": "number"
  22875. },
  22876. "tradedate": {
  22877. "description": "交易日(yyyyMMdd)",
  22878. "type": "string"
  22879. },
  22880. "userid": {
  22881. "description": "用户ID",
  22882. "type": "integer"
  22883. }
  22884. }
  22885. },
  22886. "szdz.QueryGoodsPickupRsp": {
  22887. "type": "object",
  22888. "required": [
  22889. "takeorderid"
  22890. ],
  22891. "properties": {
  22892. "accountid": {
  22893. "description": "账户ID",
  22894. "type": "integer"
  22895. },
  22896. "address": {
  22897. "description": "提货人详细地址",
  22898. "type": "string"
  22899. },
  22900. "auditer": {
  22901. "description": "审核人",
  22902. "type": "integer"
  22903. },
  22904. "audittime": {
  22905. "description": "审核时间",
  22906. "type": "string"
  22907. },
  22908. "cardnum": {
  22909. "description": "提货人证件号码",
  22910. "type": "string"
  22911. },
  22912. "cardtypeid": {
  22913. "description": "提货人证件类型",
  22914. "type": "integer"
  22915. },
  22916. "checkremark": {
  22917. "description": "审核备注",
  22918. "type": "string"
  22919. },
  22920. "goodscode": {
  22921. "description": "商品代码",
  22922. "type": "string"
  22923. },
  22924. "goodsid": {
  22925. "description": "商品ID",
  22926. "type": "integer"
  22927. },
  22928. "goodsname": {
  22929. "description": "商品名称",
  22930. "type": "string"
  22931. },
  22932. "handlestatus": {
  22933. "description": "处理状态",
  22934. "type": "integer"
  22935. },
  22936. "marketid": {
  22937. "description": "市场ID",
  22938. "type": "integer"
  22939. },
  22940. "phonenum": {
  22941. "description": "提货人联系方式",
  22942. "type": "string"
  22943. },
  22944. "qty": {
  22945. "description": "提货数量",
  22946. "type": "number"
  22947. },
  22948. "recivername": {
  22949. "description": "提货人姓名",
  22950. "type": "string"
  22951. },
  22952. "reqtime": {
  22953. "description": "更新时间",
  22954. "type": "string"
  22955. },
  22956. "takemode": {
  22957. "description": "提货方式 - 2:自提 3:配送",
  22958. "type": "integer"
  22959. },
  22960. "takeorderid": {
  22961. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22962. "type": "string"
  22963. },
  22964. "takeorderstatus": {
  22965. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22966. "type": "integer"
  22967. },
  22968. "takeremark": {
  22969. "description": "提货备注",
  22970. "type": "string"
  22971. },
  22972. "tradedate": {
  22973. "description": "交易日(yyyyMMdd)",
  22974. "type": "string"
  22975. },
  22976. "userid": {
  22977. "description": "用户ID",
  22978. "type": "integer"
  22979. }
  22980. }
  22981. },
  22982. "szdz.QueryRecieptOrderRsp": {
  22983. "type": "object",
  22984. "required": [
  22985. "ordertime"
  22986. ],
  22987. "properties": {
  22988. "accountName": {
  22989. "description": "所属账号名称(已脱敏)",
  22990. "type": "string"
  22991. },
  22992. "accountid": {
  22993. "description": "资金账号",
  22994. "type": "integer"
  22995. },
  22996. "buyorsell": {
  22997. "description": "方向 - 0:买 1:卖",
  22998. "type": "integer"
  22999. },
  23000. "enableqty": {
  23001. "description": "可摘数量",
  23002. "type": "integer"
  23003. },
  23004. "goodscode": {
  23005. "description": "商品代码",
  23006. "type": "string"
  23007. },
  23008. "goodsid": {
  23009. "description": "商品ID",
  23010. "type": "integer"
  23011. },
  23012. "goodsname": {
  23013. "description": "商品名称",
  23014. "type": "string"
  23015. },
  23016. "orderid": {
  23017. "description": "委托单号",
  23018. "type": "string"
  23019. },
  23020. "orderprice": {
  23021. "description": "委托价格",
  23022. "type": "number"
  23023. },
  23024. "ordertime": {
  23025. "description": "委托时间",
  23026. "type": "string"
  23027. },
  23028. "tradedate": {
  23029. "description": "交易日(yyyyMMdd)",
  23030. "type": "string"
  23031. }
  23032. }
  23033. },
  23034. "szdz.QuerySZDZTradePositionRsp": {
  23035. "type": "object",
  23036. "properties": {
  23037. "accountid": {
  23038. "description": "账号Id",
  23039. "type": "integer"
  23040. },
  23041. "agreeunit": {
  23042. "description": "合约单位",
  23043. "type": "number"
  23044. },
  23045. "averageprice": {
  23046. "description": "持仓均价",
  23047. "type": "number"
  23048. },
  23049. "buyorsell": {
  23050. "description": "方向 - 0:买 1:卖",
  23051. "type": "integer"
  23052. },
  23053. "closetotalqty": {
  23054. "description": "平仓总数量",
  23055. "type": "integer"
  23056. },
  23057. "curholderamount": {
  23058. "description": "当前持仓总金额",
  23059. "type": "number"
  23060. },
  23061. "curpositionqty": {
  23062. "description": "当前持仓总数量",
  23063. "type": "integer"
  23064. },
  23065. "currencyid": {
  23066. "description": "报价货币ID",
  23067. "type": "integer"
  23068. },
  23069. "curtdposition": {
  23070. "description": "期末今日头寸",
  23071. "type": "integer"
  23072. },
  23073. "decimalplace": {
  23074. "description": "报价小数位",
  23075. "type": "integer"
  23076. },
  23077. "enableqty": {
  23078. "description": "可用量",
  23079. "type": "integer"
  23080. },
  23081. "fretdposition": {
  23082. "description": "冻结今日头寸",
  23083. "type": "integer"
  23084. },
  23085. "frozenqty": {
  23086. "description": "持仓冻结数量",
  23087. "type": "integer"
  23088. },
  23089. "goodscode": {
  23090. "description": "商品代码(内部)",
  23091. "type": "string"
  23092. },
  23093. "goodsid": {
  23094. "description": "商品Id",
  23095. "type": "integer"
  23096. },
  23097. "goodsname": {
  23098. "description": "商品名称",
  23099. "type": "string"
  23100. },
  23101. "goodunit": {
  23102. "description": "报价单位",
  23103. "type": "string"
  23104. },
  23105. "goodunitid": {
  23106. "description": "报价单位ID",
  23107. "type": "integer"
  23108. },
  23109. "holderamount": {
  23110. "description": "期初持仓总金额",
  23111. "type": "number"
  23112. },
  23113. "marketid": {
  23114. "description": "市场ID",
  23115. "type": "integer"
  23116. },
  23117. "openreqqty": {
  23118. "description": "开仓申请数量",
  23119. "type": "integer"
  23120. },
  23121. "opentotalqty": {
  23122. "description": "开仓总数量",
  23123. "type": "integer"
  23124. },
  23125. "otherfrozenqty": {
  23126. "description": "持仓其他冻结数量(交割冻结)",
  23127. "type": "integer"
  23128. },
  23129. "positionqty": {
  23130. "description": "期初持仓数量",
  23131. "type": "integer"
  23132. },
  23133. "szdz3freezqty": {
  23134. "description": "尚志大宗转换冻结总数量",
  23135. "type": "integer"
  23136. },
  23137. "tnqty": {
  23138. "description": "T+N冻结总量",
  23139. "type": "integer"
  23140. },
  23141. "tnusedqty": {
  23142. "description": "T+N使用量",
  23143. "type": "integer"
  23144. },
  23145. "trademode": {
  23146. "description": "交易模式",
  23147. "type": "integer"
  23148. },
  23149. "usedmargin": {
  23150. "description": "占用保证金",
  23151. "type": "number"
  23152. }
  23153. }
  23154. },
  23155. "taaccount.QueryAmountLogRsp": {
  23156. "type": "object",
  23157. "required": [
  23158. "accountid",
  23159. "amount",
  23160. "amountadjusttype",
  23161. "autoid",
  23162. "balance",
  23163. "createtime",
  23164. "currentbalance",
  23165. "operatetype"
  23166. ],
  23167. "properties": {
  23168. "OPERATETYPENAME": {
  23169. "description": "资金操作类型名称",
  23170. "type": "string"
  23171. },
  23172. "accountid": {
  23173. "description": "资金账户ID",
  23174. "type": "integer"
  23175. },
  23176. "agoodscode": {
  23177. "description": "竞拍商品代码",
  23178. "type": "string"
  23179. },
  23180. "agoodsname": {
  23181. "description": "竞拍商品名称",
  23182. "type": "string"
  23183. },
  23184. "amount": {
  23185. "description": "资金金额",
  23186. "type": "number"
  23187. },
  23188. "amountadjusttype": {
  23189. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23190. "type": "integer"
  23191. },
  23192. "autoid": {
  23193. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23194. "type": "integer"
  23195. },
  23196. "balance": {
  23197. "description": "期初余额",
  23198. "type": "number"
  23199. },
  23200. "businesscode": {
  23201. "description": "业务编号",
  23202. "type": "integer"
  23203. },
  23204. "createtime": {
  23205. "description": "发生时间",
  23206. "type": "string"
  23207. },
  23208. "currencyid": {
  23209. "description": "币种ID",
  23210. "type": "integer"
  23211. },
  23212. "currentbalance": {
  23213. "description": "期末余额(变动后金额)",
  23214. "type": "number"
  23215. },
  23216. "dgoodscode": {
  23217. "description": "交割商品代码",
  23218. "type": "string"
  23219. },
  23220. "dgoodsname": {
  23221. "description": "交割商品名称",
  23222. "type": "string"
  23223. },
  23224. "goodscode": {
  23225. "description": "商品代码",
  23226. "type": "string"
  23227. },
  23228. "goodsid": {
  23229. "description": "商品ID",
  23230. "type": "integer"
  23231. },
  23232. "goodsname": {
  23233. "description": "商品名称",
  23234. "type": "string"
  23235. },
  23236. "marketid": {
  23237. "description": "市场ID",
  23238. "type": "integer"
  23239. },
  23240. "marketname": {
  23241. "description": "市场名称",
  23242. "type": "string"
  23243. },
  23244. "moneyticket": {
  23245. "description": "资金流水号:银行端流水号",
  23246. "type": "integer"
  23247. },
  23248. "operatetype": {
  23249. "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:营销收款",
  23250. "type": "integer"
  23251. },
  23252. "relationorderid": {
  23253. "description": "关联单号",
  23254. "type": "string"
  23255. },
  23256. "remark": {
  23257. "description": "备注",
  23258. "type": "string"
  23259. },
  23260. "trademode": {
  23261. "description": "交易模式",
  23262. "type": "integer"
  23263. }
  23264. }
  23265. },
  23266. "taaccount.QueryHisAmountLogRsp": {
  23267. "type": "object",
  23268. "required": [
  23269. "accountid",
  23270. "amount",
  23271. "amountadjusttype",
  23272. "autoid",
  23273. "balance",
  23274. "createtime",
  23275. "currentbalance",
  23276. "histradedate",
  23277. "operatetype"
  23278. ],
  23279. "properties": {
  23280. "OPERATETYPENAME": {
  23281. "description": "资金操作类型名称",
  23282. "type": "string"
  23283. },
  23284. "accountid": {
  23285. "description": "资金账户ID",
  23286. "type": "integer"
  23287. },
  23288. "agoodscode": {
  23289. "description": "竞拍商品代码",
  23290. "type": "string"
  23291. },
  23292. "agoodsname": {
  23293. "description": "竞拍商品名称",
  23294. "type": "string"
  23295. },
  23296. "amount": {
  23297. "description": "资金金额",
  23298. "type": "number"
  23299. },
  23300. "amountadjusttype": {
  23301. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23302. "type": "integer"
  23303. },
  23304. "autoid": {
  23305. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23306. "type": "integer"
  23307. },
  23308. "balance": {
  23309. "description": "期初余额",
  23310. "type": "number"
  23311. },
  23312. "businesscode": {
  23313. "description": "业务编号",
  23314. "type": "integer"
  23315. },
  23316. "createtime": {
  23317. "description": "发生时间",
  23318. "type": "string"
  23319. },
  23320. "currencyid": {
  23321. "description": "币种ID",
  23322. "type": "integer"
  23323. },
  23324. "currentbalance": {
  23325. "description": "期末余额(变动后金额)",
  23326. "type": "number"
  23327. },
  23328. "dgoodscode": {
  23329. "description": "交割商品代码",
  23330. "type": "string"
  23331. },
  23332. "dgoodsname": {
  23333. "description": "交割商品名称",
  23334. "type": "string"
  23335. },
  23336. "goodscode": {
  23337. "description": "商品代码",
  23338. "type": "string"
  23339. },
  23340. "goodsid": {
  23341. "description": "商品ID",
  23342. "type": "integer"
  23343. },
  23344. "goodsname": {
  23345. "description": "商品名称",
  23346. "type": "string"
  23347. },
  23348. "histradedate": {
  23349. "description": "历史交易日",
  23350. "type": "string"
  23351. },
  23352. "isvaliddata": {
  23353. "description": "是否有效 - 0:无效 1:有效",
  23354. "type": "integer"
  23355. },
  23356. "marketid": {
  23357. "description": "市场ID",
  23358. "type": "integer"
  23359. },
  23360. "marketname": {
  23361. "description": "市场名称",
  23362. "type": "string"
  23363. },
  23364. "moneyticket": {
  23365. "description": "资金流水号:银行端流水号",
  23366. "type": "integer"
  23367. },
  23368. "operatetype": {
  23369. "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:营销收款",
  23370. "type": "integer"
  23371. },
  23372. "relationorderid": {
  23373. "description": "关联单号",
  23374. "type": "string"
  23375. },
  23376. "remark": {
  23377. "description": "备注",
  23378. "type": "string"
  23379. },
  23380. "trademode": {
  23381. "description": "交易模式",
  23382. "type": "integer"
  23383. }
  23384. }
  23385. },
  23386. "trade.QueryRecieptOrderRsp": {
  23387. "type": "object",
  23388. "required": [
  23389. "ordertime"
  23390. ],
  23391. "properties": {
  23392. "accountName": {
  23393. "description": "所属账号名称(已脱敏)",
  23394. "type": "string"
  23395. },
  23396. "accountid": {
  23397. "description": "资金账号",
  23398. "type": "integer"
  23399. },
  23400. "buyorsell": {
  23401. "description": "方向 - 0:买 1:卖",
  23402. "type": "integer"
  23403. },
  23404. "enableqty": {
  23405. "description": "可摘数量",
  23406. "type": "integer"
  23407. },
  23408. "goodscode": {
  23409. "description": "商品代码",
  23410. "type": "string"
  23411. },
  23412. "goodsid": {
  23413. "description": "商品ID",
  23414. "type": "integer"
  23415. },
  23416. "goodsname": {
  23417. "description": "商品名称",
  23418. "type": "string"
  23419. },
  23420. "orderid": {
  23421. "description": "委托单号",
  23422. "type": "string"
  23423. },
  23424. "orderprice": {
  23425. "description": "委托价格",
  23426. "type": "number"
  23427. },
  23428. "ordertime": {
  23429. "description": "委托时间",
  23430. "type": "string"
  23431. },
  23432. "tradedate": {
  23433. "description": "交易日(yyyyMMdd)",
  23434. "type": "string"
  23435. }
  23436. }
  23437. },
  23438. "user.LoginQueryRsp": {
  23439. "type": "object",
  23440. "properties": {
  23441. "areaRoles": {
  23442. "description": "所属角色信息",
  23443. "type": "array",
  23444. "items": {
  23445. "$ref": "#/definitions/models.Arearole"
  23446. }
  23447. },
  23448. "externalExchanges": {
  23449. "description": "外部交易所",
  23450. "type": "array",
  23451. "items": {
  23452. "$ref": "#/definitions/models.Externalexchange"
  23453. }
  23454. },
  23455. "goodsgroups": {
  23456. "description": "商品组",
  23457. "type": "array",
  23458. "items": {
  23459. "$ref": "#/definitions/models.Goodsgroup"
  23460. }
  23461. },
  23462. "loginAccount": {
  23463. "description": "登录账号",
  23464. "type": "object",
  23465. "$ref": "#/definitions/models.Loginaccount"
  23466. },
  23467. "markets": {
  23468. "description": "市场",
  23469. "type": "array",
  23470. "items": {
  23471. "$ref": "#/definitions/models.Market"
  23472. }
  23473. },
  23474. "systemParams": {
  23475. "description": "系统参数",
  23476. "type": "array",
  23477. "items": {
  23478. "$ref": "#/definitions/models.Systemparam"
  23479. }
  23480. },
  23481. "userAccount": {
  23482. "description": "用户账号",
  23483. "type": "object",
  23484. "$ref": "#/definitions/models.Useraccount"
  23485. },
  23486. "userInfo": {
  23487. "description": "用户信息",
  23488. "type": "object",
  23489. "$ref": "#/definitions/models.Userinfo"
  23490. },
  23491. "username": {
  23492. "description": "用户姓名",
  23493. "type": "string"
  23494. }
  23495. }
  23496. }
  23497. },
  23498. "securityDefinitions": {
  23499. "ApiKeyAuth": {
  23500. "type": "apiKey",
  23501. "name": "Authorization",
  23502. "in": "header"
  23503. }
  23504. }
  23505. }`
  23506. type swaggerInfo struct {
  23507. Version string
  23508. Host string
  23509. BasePath string
  23510. Schemes []string
  23511. Title string
  23512. Description string
  23513. }
  23514. // SwaggerInfo holds exported Swagger Info so clients can modify it
  23515. var SwaggerInfo = swaggerInfo{
  23516. Version: "1.0",
  23517. Host: "",
  23518. BasePath: "/api",
  23519. Schemes: []string{},
  23520. Title: "MTP2.0 查询服务 API",
  23521. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  23522. }
  23523. type s struct{}
  23524. func (s *s) ReadDoc() string {
  23525. sInfo := SwaggerInfo
  23526. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  23527. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  23528. "marshal": func(v interface{}) string {
  23529. a, _ := json.Marshal(v)
  23530. return string(a)
  23531. },
  23532. }).Parse(doc)
  23533. if err != nil {
  23534. return doc
  23535. }
  23536. var tpl bytes.Buffer
  23537. if err := t.Execute(&tpl, sInfo); err != nil {
  23538. return doc
  23539. }
  23540. return tpl.String()
  23541. }
  23542. func init() {
  23543. swag.Register(swag.Name, &s{})
  23544. }