docs.go 869 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132
  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://www.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": "integer",
  1388. "description": "用户类型 2-机构 7-企业成员",
  1389. "name": "usertype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "现货合同ID, 不填则查所有",
  1395. "name": "relatedid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1401. "name": "applystatus",
  1402. "in": "query"
  1403. }
  1404. ],
  1405. "responses": {
  1406. "200": {
  1407. "description": "OK",
  1408. "schema": {
  1409. "type": "array",
  1410. "items": {
  1411. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1412. }
  1413. }
  1414. },
  1415. "500": {
  1416. "description": "Internal Server Error",
  1417. "schema": {
  1418. "$ref": "#/definitions/app.Response"
  1419. }
  1420. }
  1421. }
  1422. }
  1423. },
  1424. "/Ermcp/QueryBusinessFp": {
  1425. "get": {
  1426. "security": [
  1427. {
  1428. "ApiKeyAuth": []
  1429. }
  1430. ],
  1431. "produces": [
  1432. "application/json"
  1433. ],
  1434. "tags": [
  1435. "企业风险管理(app)"
  1436. ],
  1437. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1438. "parameters": [
  1439. {
  1440. "type": "integer",
  1441. "description": "用户ID",
  1442. "name": "UserId",
  1443. "in": "query",
  1444. "required": true
  1445. },
  1446. {
  1447. "type": "integer",
  1448. "description": "用户类型 2-机构 7-企业成员",
  1449. "name": "usertype",
  1450. "in": "query"
  1451. },
  1452. {
  1453. "type": "string",
  1454. "description": "现货合同ID, 不填则查所有",
  1455. "name": "relatedid",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1461. "name": "applystatus",
  1462. "in": "query"
  1463. }
  1464. ],
  1465. "responses": {
  1466. "200": {
  1467. "description": "OK",
  1468. "schema": {
  1469. "type": "array",
  1470. "items": {
  1471. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1472. }
  1473. }
  1474. },
  1475. "500": {
  1476. "description": "Internal Server Error",
  1477. "schema": {
  1478. "$ref": "#/definitions/app.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/Ermcp/QueryBusinessJs": {
  1485. "get": {
  1486. "security": [
  1487. {
  1488. "ApiKeyAuth": []
  1489. }
  1490. ],
  1491. "produces": [
  1492. "application/json"
  1493. ],
  1494. "tags": [
  1495. "企业风险管理(app)"
  1496. ],
  1497. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1498. "parameters": [
  1499. {
  1500. "type": "integer",
  1501. "description": "用户ID",
  1502. "name": "UserId",
  1503. "in": "query",
  1504. "required": true
  1505. },
  1506. {
  1507. "type": "integer",
  1508. "description": "用户类型 2-机构 7-企业成员",
  1509. "name": "usertype",
  1510. "in": "query"
  1511. },
  1512. {
  1513. "type": "string",
  1514. "description": "现货合同ID, 不填则查所有",
  1515. "name": "relatedid",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "操作申请id",
  1521. "name": "operateapplyid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1527. "name": "applystatus",
  1528. "in": "query"
  1529. }
  1530. ],
  1531. "responses": {
  1532. "200": {
  1533. "description": "OK",
  1534. "schema": {
  1535. "type": "array",
  1536. "items": {
  1537. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1538. }
  1539. }
  1540. },
  1541. "500": {
  1542. "description": "Internal Server Error",
  1543. "schema": {
  1544. "$ref": "#/definitions/app.Response"
  1545. }
  1546. }
  1547. }
  1548. }
  1549. },
  1550. "/Ermcp/QueryBusinessJsEx": {
  1551. "get": {
  1552. "security": [
  1553. {
  1554. "ApiKeyAuth": []
  1555. }
  1556. ],
  1557. "produces": [
  1558. "application/json"
  1559. ],
  1560. "tags": [
  1561. "企业风险管理(app)"
  1562. ],
  1563. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1564. "parameters": [
  1565. {
  1566. "type": "integer",
  1567. "description": "用户ID",
  1568. "name": "UserId",
  1569. "in": "query",
  1570. "required": true
  1571. },
  1572. {
  1573. "type": "integer",
  1574. "description": "用户类型 2-机构 7-企业成员",
  1575. "name": "usertype",
  1576. "in": "query"
  1577. },
  1578. {
  1579. "type": "string",
  1580. "description": "现货合同ID, 不填则查所有",
  1581. "name": "relatedid",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1587. "name": "applystatus",
  1588. "in": "query"
  1589. }
  1590. ],
  1591. "responses": {
  1592. "200": {
  1593. "description": "OK",
  1594. "schema": {
  1595. "type": "array",
  1596. "items": {
  1597. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1598. }
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/app.Response"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/Ermcp/QueryBusinessKx": {
  1611. "get": {
  1612. "security": [
  1613. {
  1614. "ApiKeyAuth": []
  1615. }
  1616. ],
  1617. "produces": [
  1618. "application/json"
  1619. ],
  1620. "tags": [
  1621. "企业风险管理(app)"
  1622. ],
  1623. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1624. "parameters": [
  1625. {
  1626. "type": "integer",
  1627. "description": "用户ID",
  1628. "name": "UserId",
  1629. "in": "query",
  1630. "required": true
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "用户类型 2-机构 7-企业成员",
  1635. "name": "usertype",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "string",
  1640. "description": "现货合同ID, 不填则查所有",
  1641. "name": "relatedid",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1647. "name": "applystatus",
  1648. "in": "query"
  1649. }
  1650. ],
  1651. "responses": {
  1652. "200": {
  1653. "description": "OK",
  1654. "schema": {
  1655. "type": "array",
  1656. "items": {
  1657. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1658. }
  1659. }
  1660. },
  1661. "500": {
  1662. "description": "Internal Server Error",
  1663. "schema": {
  1664. "$ref": "#/definitions/app.Response"
  1665. }
  1666. }
  1667. }
  1668. }
  1669. },
  1670. "/Ermcp/QueryChangeLog": {
  1671. "get": {
  1672. "security": [
  1673. {
  1674. "ApiKeyAuth": []
  1675. }
  1676. ],
  1677. "produces": [
  1678. "application/json"
  1679. ],
  1680. "tags": [
  1681. "企业风险管理(app)"
  1682. ],
  1683. "summary": "查询变更记录",
  1684. "parameters": [
  1685. {
  1686. "type": "string",
  1687. "description": "合同ID",
  1688. "name": "RelatedId",
  1689. "in": "query",
  1690. "required": true
  1691. }
  1692. ],
  1693. "responses": {
  1694. "200": {
  1695. "description": "OK",
  1696. "schema": {
  1697. "type": "array",
  1698. "items": {
  1699. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1700. }
  1701. }
  1702. },
  1703. "500": {
  1704. "description": "Internal Server Error",
  1705. "schema": {
  1706. "$ref": "#/definitions/app.Response"
  1707. }
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/Ermcp/QueryErmcpHisOrderDetails": {
  1713. "get": {
  1714. "security": [
  1715. {
  1716. "ApiKeyAuth": []
  1717. }
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "企业风险管理(app)"
  1724. ],
  1725. "summary": "获取企业风管期货历史委托单信息",
  1726. "parameters": [
  1727. {
  1728. "type": "integer",
  1729. "description": "资金账户ID",
  1730. "name": "accountID",
  1731. "in": "query",
  1732. "required": true
  1733. },
  1734. {
  1735. "type": "string",
  1736. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1737. "name": "startDate",
  1738. "in": "query"
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "endDate",
  1744. "in": "query"
  1745. }
  1746. ],
  1747. "responses": {
  1748. "200": {
  1749. "description": "OK",
  1750. "schema": {
  1751. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1752. }
  1753. },
  1754. "500": {
  1755. "description": "Internal Server Error",
  1756. "schema": {
  1757. "$ref": "#/definitions/app.Response"
  1758. }
  1759. }
  1760. }
  1761. }
  1762. },
  1763. "/Ermcp/QueryErmcpHisTradeDetails": {
  1764. "get": {
  1765. "security": [
  1766. {
  1767. "ApiKeyAuth": []
  1768. }
  1769. ],
  1770. "produces": [
  1771. "application/json"
  1772. ],
  1773. "tags": [
  1774. "企业风险管理(app)"
  1775. ],
  1776. "summary": "获取企业风管期货历史成交单信息",
  1777. "parameters": [
  1778. {
  1779. "type": "integer",
  1780. "description": "资金账户ID",
  1781. "name": "accountID",
  1782. "in": "query",
  1783. "required": true
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "商品ID",
  1788. "name": "goodsID",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "买卖方向,0:买 1:卖",
  1794. "name": "buyOrSell",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "关联委托单号",
  1800. "name": "orderID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "string",
  1805. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1806. "name": "startDate",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "endDate",
  1813. "in": "query"
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "获取企业风管期货内部持仓单信息",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "资金账户ID",
  1850. "name": "accountID",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "商品ID",
  1857. "name": "goodsID",
  1858. "in": "query"
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "买卖方向,0:买 1:卖",
  1863. "name": "buyOrSell",
  1864. "in": "query"
  1865. }
  1866. ],
  1867. "responses": {
  1868. "200": {
  1869. "description": "OK",
  1870. "schema": {
  1871. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1872. }
  1873. },
  1874. "500": {
  1875. "description": "Internal Server Error",
  1876. "schema": {
  1877. "$ref": "#/definitions/app.Response"
  1878. }
  1879. }
  1880. }
  1881. }
  1882. },
  1883. "/Ermcp/QueryErmcpOrderDetails": {
  1884. "get": {
  1885. "security": [
  1886. {
  1887. "ApiKeyAuth": []
  1888. }
  1889. ],
  1890. "produces": [
  1891. "application/json"
  1892. ],
  1893. "tags": [
  1894. "企业风险管理(app)"
  1895. ],
  1896. "summary": "获取企业风管期货委托单信息",
  1897. "parameters": [
  1898. {
  1899. "type": "integer",
  1900. "description": "资金账户ID",
  1901. "name": "accountID",
  1902. "in": "query",
  1903. "required": true
  1904. }
  1905. ],
  1906. "responses": {
  1907. "200": {
  1908. "description": "OK",
  1909. "schema": {
  1910. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1911. }
  1912. },
  1913. "500": {
  1914. "description": "Internal Server Error",
  1915. "schema": {
  1916. "$ref": "#/definitions/app.Response"
  1917. }
  1918. }
  1919. }
  1920. }
  1921. },
  1922. "/Ermcp/QueryErmcpTradeDetails": {
  1923. "get": {
  1924. "security": [
  1925. {
  1926. "ApiKeyAuth": []
  1927. }
  1928. ],
  1929. "produces": [
  1930. "application/json"
  1931. ],
  1932. "tags": [
  1933. "企业风险管理(app)"
  1934. ],
  1935. "summary": "获取企业风管期货成交单信息",
  1936. "parameters": [
  1937. {
  1938. "type": "integer",
  1939. "description": "资金账户ID",
  1940. "name": "accountID",
  1941. "in": "query",
  1942. "required": true
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "商品ID",
  1947. "name": "goodsID",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "买卖方向,0:买 1:卖",
  1953. "name": "buyOrSell",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "关联委托单号",
  1959. "name": "orderID",
  1960. "in": "query"
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1968. }
  1969. },
  1970. "500": {
  1971. "description": "Internal Server Error",
  1972. "schema": {
  1973. "$ref": "#/definitions/app.Response"
  1974. }
  1975. }
  1976. }
  1977. }
  1978. },
  1979. "/Ermcp/QueryErmcpTradePosition": {
  1980. "get": {
  1981. "security": [
  1982. {
  1983. "ApiKeyAuth": []
  1984. }
  1985. ],
  1986. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "获取企业风管期货持仓头寸信息",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "资金账户ID",
  1998. "name": "accountID",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "所属市场ID",
  2005. "name": "marketID",
  2006. "in": "query"
  2007. }
  2008. ],
  2009. "responses": {
  2010. "200": {
  2011. "description": "OK",
  2012. "schema": {
  2013. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2014. }
  2015. },
  2016. "500": {
  2017. "description": "Internal Server Error",
  2018. "schema": {
  2019. "$ref": "#/definitions/app.Response"
  2020. }
  2021. }
  2022. }
  2023. }
  2024. },
  2025. "/Ermcp/QueryExposureDetail": {
  2026. "get": {
  2027. "security": [
  2028. {
  2029. "ApiKeyAuth": []
  2030. }
  2031. ],
  2032. "produces": [
  2033. "application/json"
  2034. ],
  2035. "tags": [
  2036. "企业风险管理(app)"
  2037. ],
  2038. "summary": "查询敞口现货明细",
  2039. "parameters": [
  2040. {
  2041. "type": "integer",
  2042. "description": "所属机构ID",
  2043. "name": "areaUserId",
  2044. "in": "query",
  2045. "required": true
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "套保商品",
  2050. "name": "middleGoodsId",
  2051. "in": "query",
  2052. "required": true
  2053. }
  2054. ],
  2055. "responses": {
  2056. "200": {
  2057. "description": "OK",
  2058. "schema": {
  2059. "type": "array",
  2060. "items": {
  2061. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2062. }
  2063. }
  2064. },
  2065. "500": {
  2066. "description": "Internal Server Error",
  2067. "schema": {
  2068. "$ref": "#/definitions/app.Response"
  2069. }
  2070. }
  2071. }
  2072. }
  2073. },
  2074. "/Ermcp/QueryExposureHedgePosition": {
  2075. "get": {
  2076. "security": [
  2077. {
  2078. "ApiKeyAuth": []
  2079. }
  2080. ],
  2081. "produces": [
  2082. "application/json"
  2083. ],
  2084. "tags": [
  2085. "企业风险管理(app)"
  2086. ],
  2087. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2088. "parameters": [
  2089. {
  2090. "type": "integer",
  2091. "description": "用户id",
  2092. "name": "userid",
  2093. "in": "query",
  2094. "required": true
  2095. }
  2096. ],
  2097. "responses": {
  2098. "200": {
  2099. "description": "OK",
  2100. "schema": {
  2101. "type": "array",
  2102. "items": {
  2103. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2104. }
  2105. }
  2106. },
  2107. "500": {
  2108. "description": "Internal Server Error",
  2109. "schema": {
  2110. "$ref": "#/definitions/app.Response"
  2111. }
  2112. }
  2113. }
  2114. }
  2115. },
  2116. "/Ermcp/QueryExposureHedgePositionDetail": {
  2117. "get": {
  2118. "security": [
  2119. {
  2120. "ApiKeyAuth": []
  2121. }
  2122. ],
  2123. "produces": [
  2124. "application/json"
  2125. ],
  2126. "tags": [
  2127. "企业风险管理(app)"
  2128. ],
  2129. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2130. "parameters": [
  2131. {
  2132. "type": "integer",
  2133. "description": "所属机构ID",
  2134. "name": "userid",
  2135. "in": "query",
  2136. "required": true
  2137. },
  2138. {
  2139. "type": "integer",
  2140. "description": "商品id",
  2141. "name": "goodsId",
  2142. "in": "query",
  2143. "required": true
  2144. }
  2145. ],
  2146. "responses": {
  2147. "200": {
  2148. "description": "OK",
  2149. "schema": {
  2150. "type": "array",
  2151. "items": {
  2152. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2153. }
  2154. }
  2155. },
  2156. "500": {
  2157. "description": "Internal Server Error",
  2158. "schema": {
  2159. "$ref": "#/definitions/app.Response"
  2160. }
  2161. }
  2162. }
  2163. }
  2164. },
  2165. "/Ermcp/QueryExposureSpot": {
  2166. "get": {
  2167. "security": [
  2168. {
  2169. "ApiKeyAuth": []
  2170. }
  2171. ],
  2172. "produces": [
  2173. "application/json"
  2174. ],
  2175. "tags": [
  2176. "企业风险管理(app)"
  2177. ],
  2178. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2179. "parameters": [
  2180. {
  2181. "type": "integer",
  2182. "description": "所属机构ID",
  2183. "name": "areaUserId",
  2184. "in": "query",
  2185. "required": true
  2186. }
  2187. ],
  2188. "responses": {
  2189. "200": {
  2190. "description": "OK",
  2191. "schema": {
  2192. "type": "array",
  2193. "items": {
  2194. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2195. }
  2196. }
  2197. },
  2198. "500": {
  2199. "description": "Internal Server Error",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/Ermcp/QueryExposureSpotDetail": {
  2208. "get": {
  2209. "security": [
  2210. {
  2211. "ApiKeyAuth": []
  2212. }
  2213. ],
  2214. "produces": [
  2215. "application/json"
  2216. ],
  2217. "tags": [
  2218. "企业风险管理(app)"
  2219. ],
  2220. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2221. "parameters": [
  2222. {
  2223. "type": "integer",
  2224. "description": "所属机构ID",
  2225. "name": "areaUserId",
  2226. "in": "query",
  2227. "required": true
  2228. },
  2229. {
  2230. "type": "integer",
  2231. "description": "现货品种ID",
  2232. "name": "wrstandardId",
  2233. "in": "query",
  2234. "required": true
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "type": "array",
  2242. "items": {
  2243. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2244. }
  2245. }
  2246. },
  2247. "500": {
  2248. "description": "Internal Server Error",
  2249. "schema": {
  2250. "$ref": "#/definitions/app.Response"
  2251. }
  2252. }
  2253. }
  2254. }
  2255. },
  2256. "/Ermcp/QueryFuturesCompany": {
  2257. "get": {
  2258. "security": [
  2259. {
  2260. "ApiKeyAuth": []
  2261. }
  2262. ],
  2263. "produces": [
  2264. "application/json"
  2265. ],
  2266. "tags": [
  2267. "企业风险管理(app)"
  2268. ],
  2269. "summary": "查询期货公司",
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "type": "array",
  2275. "items": {
  2276. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2277. }
  2278. }
  2279. },
  2280. "500": {
  2281. "description": "Internal Server Error",
  2282. "schema": {
  2283. "$ref": "#/definitions/app.Response"
  2284. }
  2285. }
  2286. }
  2287. }
  2288. },
  2289. "/Ermcp/QueryGGConvertConfig": {
  2290. "get": {
  2291. "security": [
  2292. {
  2293. "ApiKeyAuth": []
  2294. }
  2295. ],
  2296. "produces": [
  2297. "application/json"
  2298. ],
  2299. "tags": [
  2300. "企业风险管理(app)"
  2301. ],
  2302. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2303. "parameters": [
  2304. {
  2305. "type": "integer",
  2306. "description": "品种id(不填则查所有)",
  2307. "name": "goodsgroupid",
  2308. "in": "query"
  2309. }
  2310. ],
  2311. "responses": {
  2312. "200": {
  2313. "description": "OK",
  2314. "schema": {
  2315. "type": "array",
  2316. "items": {
  2317. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2318. }
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Ermcp/QueryGoodsBrand": {
  2331. "get": {
  2332. "security": [
  2333. {
  2334. "ApiKeyAuth": []
  2335. }
  2336. ],
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "企业风险管理(app)"
  2342. ],
  2343. "summary": "查询商品品牌",
  2344. "parameters": [
  2345. {
  2346. "type": "integer",
  2347. "description": "用户ID",
  2348. "name": "userid",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "现货商品ID",
  2355. "name": "wrstandardid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsModel": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品型号",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. }
  2400. ],
  2401. "responses": {
  2402. "200": {
  2403. "description": "OK",
  2404. "schema": {
  2405. "type": "array",
  2406. "items": {
  2407. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2408. }
  2409. }
  2410. },
  2411. "500": {
  2412. "description": "Internal Server Error",
  2413. "schema": {
  2414. "$ref": "#/definitions/app.Response"
  2415. }
  2416. }
  2417. }
  2418. }
  2419. },
  2420. "/Ermcp/QueryHisExposure": {
  2421. "get": {
  2422. "security": [
  2423. {
  2424. "ApiKeyAuth": []
  2425. }
  2426. ],
  2427. "produces": [
  2428. "application/json"
  2429. ],
  2430. "tags": [
  2431. "企业风险管理(app)"
  2432. ],
  2433. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2434. "parameters": [
  2435. {
  2436. "type": "integer",
  2437. "description": "用户id",
  2438. "name": "userid",
  2439. "in": "query",
  2440. "required": true
  2441. },
  2442. {
  2443. "type": "integer",
  2444. "description": "每个品种记录数",
  2445. "name": "lastNum",
  2446. "in": "query",
  2447. "required": true
  2448. }
  2449. ],
  2450. "responses": {
  2451. "200": {
  2452. "description": "OK",
  2453. "schema": {
  2454. "type": "array",
  2455. "items": {
  2456. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2457. }
  2458. }
  2459. },
  2460. "500": {
  2461. "description": "Internal Server Error",
  2462. "schema": {
  2463. "$ref": "#/definitions/app.Response"
  2464. }
  2465. }
  2466. }
  2467. }
  2468. },
  2469. "/Ermcp/QueryMiddleGoods": {
  2470. "get": {
  2471. "security": [
  2472. {
  2473. "ApiKeyAuth": []
  2474. }
  2475. ],
  2476. "produces": [
  2477. "application/json"
  2478. ],
  2479. "tags": [
  2480. "企业风险管理(app)"
  2481. ],
  2482. "summary": "查询套保品种(菜单:套保品种)",
  2483. "parameters": [
  2484. {
  2485. "type": "integer",
  2486. "description": "所属机构ID",
  2487. "name": "userid",
  2488. "in": "query",
  2489. "required": true
  2490. },
  2491. {
  2492. "type": "integer",
  2493. "description": "状态 0-停用 1-正常",
  2494. "name": "status",
  2495. "in": "query",
  2496. "required": true
  2497. }
  2498. ],
  2499. "responses": {
  2500. "200": {
  2501. "description": "OK",
  2502. "schema": {
  2503. "type": "array",
  2504. "items": {
  2505. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2506. }
  2507. }
  2508. },
  2509. "500": {
  2510. "description": "Internal Server Error",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. }
  2515. }
  2516. }
  2517. },
  2518. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2519. "get": {
  2520. "security": [
  2521. {
  2522. "ApiKeyAuth": []
  2523. }
  2524. ],
  2525. "produces": [
  2526. "application/json"
  2527. ],
  2528. "tags": [
  2529. "企业风险管理(app)"
  2530. ],
  2531. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2532. "parameters": [
  2533. {
  2534. "type": "integer",
  2535. "description": "所属机构ID",
  2536. "name": "userid",
  2537. "in": "query",
  2538. "required": true
  2539. },
  2540. {
  2541. "type": "integer",
  2542. "description": "套保品种id",
  2543. "name": "middlegoodsid",
  2544. "in": "query",
  2545. "required": true
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "type": "array",
  2553. "items": {
  2554. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2555. }
  2556. }
  2557. },
  2558. "500": {
  2559. "description": "Internal Server Error",
  2560. "schema": {
  2561. "$ref": "#/definitions/app.Response"
  2562. }
  2563. }
  2564. }
  2565. }
  2566. },
  2567. "/Ermcp/QueryMiddleGoodsDetail": {
  2568. "get": {
  2569. "security": [
  2570. {
  2571. "ApiKeyAuth": []
  2572. }
  2573. ],
  2574. "produces": [
  2575. "application/json"
  2576. ],
  2577. "tags": [
  2578. "企业风险管理(app)"
  2579. ],
  2580. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2581. "parameters": [
  2582. {
  2583. "type": "integer",
  2584. "description": "所属机构ID",
  2585. "name": "userid",
  2586. "in": "query",
  2587. "required": true
  2588. },
  2589. {
  2590. "type": "integer",
  2591. "description": "套保品种id",
  2592. "name": "middlegoodsid",
  2593. "in": "query"
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryPendingAuditInfo": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "用户ID",
  2633. "name": "UserId",
  2634. "in": "query",
  2635. "required": true
  2636. }
  2637. ],
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "type": "array",
  2643. "items": {
  2644. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2645. }
  2646. }
  2647. },
  2648. "500": {
  2649. "description": "Internal Server Error",
  2650. "schema": {
  2651. "$ref": "#/definitions/app.Response"
  2652. }
  2653. }
  2654. }
  2655. }
  2656. },
  2657. "/Ermcp/QueryRealtimeExposure": {
  2658. "get": {
  2659. "security": [
  2660. {
  2661. "ApiKeyAuth": []
  2662. }
  2663. ],
  2664. "produces": [
  2665. "application/json"
  2666. ],
  2667. "tags": [
  2668. "企业风险管理(app)"
  2669. ],
  2670. "summary": "查询实时敞口",
  2671. "parameters": [
  2672. {
  2673. "type": "integer",
  2674. "description": "所属机构ID",
  2675. "name": "userid",
  2676. "in": "query",
  2677. "required": true
  2678. }
  2679. ],
  2680. "responses": {
  2681. "200": {
  2682. "description": "OK",
  2683. "schema": {
  2684. "type": "array",
  2685. "items": {
  2686. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2687. }
  2688. }
  2689. },
  2690. "500": {
  2691. "description": "Internal Server Error",
  2692. "schema": {
  2693. "$ref": "#/definitions/app.Response"
  2694. }
  2695. }
  2696. }
  2697. }
  2698. },
  2699. "/Ermcp/QueryRealtimeExposurePosition": {
  2700. "get": {
  2701. "security": [
  2702. {
  2703. "ApiKeyAuth": []
  2704. }
  2705. ],
  2706. "produces": [
  2707. "application/json"
  2708. ],
  2709. "tags": [
  2710. "企业风险管理(app)"
  2711. ],
  2712. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2713. "parameters": [
  2714. {
  2715. "type": "integer",
  2716. "description": "用户id",
  2717. "name": "userid",
  2718. "in": "query",
  2719. "required": true
  2720. },
  2721. {
  2722. "type": "integer",
  2723. "description": "套保商品ID",
  2724. "name": "middleGoodsId",
  2725. "in": "query",
  2726. "required": true
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "type": "array",
  2734. "items": {
  2735. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2736. }
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/Ermcp/QueryTradeConfigTMP": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "企业风险管理(app)"
  2760. ],
  2761. "summary": "查询交易模板配置",
  2762. "parameters": [
  2763. {
  2764. "type": "integer",
  2765. "description": "所属机构id",
  2766. "name": "areauserid",
  2767. "in": "query"
  2768. }
  2769. ],
  2770. "responses": {
  2771. "200": {
  2772. "description": "OK",
  2773. "schema": {
  2774. "type": "array",
  2775. "items": {
  2776. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2777. }
  2778. }
  2779. },
  2780. "500": {
  2781. "description": "Internal Server Error",
  2782. "schema": {
  2783. "$ref": "#/definitions/app.Response"
  2784. }
  2785. }
  2786. }
  2787. }
  2788. },
  2789. "/Ermcp/QueryUserInfo": {
  2790. "get": {
  2791. "security": [
  2792. {
  2793. "ApiKeyAuth": []
  2794. }
  2795. ],
  2796. "produces": [
  2797. "application/json"
  2798. ],
  2799. "tags": [
  2800. "企业风险管理(app)"
  2801. ],
  2802. "summary": "查询客户资料",
  2803. "parameters": [
  2804. {
  2805. "type": "integer",
  2806. "description": "所属机构用户ID",
  2807. "name": "MemberUserID",
  2808. "in": "query",
  2809. "required": true
  2810. },
  2811. {
  2812. "type": "integer",
  2813. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2814. "name": "queryType",
  2815. "in": "query",
  2816. "required": true
  2817. }
  2818. ],
  2819. "responses": {
  2820. "200": {
  2821. "description": "OK",
  2822. "schema": {
  2823. "type": "array",
  2824. "items": {
  2825. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2826. }
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Ermcp/QueryWarehouseInfo": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "企业风险管理(app)"
  2850. ],
  2851. "summary": "查询仓库信息",
  2852. "parameters": [
  2853. {
  2854. "type": "integer",
  2855. "description": "用户ID",
  2856. "name": "userid",
  2857. "in": "query",
  2858. "required": true
  2859. },
  2860. {
  2861. "type": "string",
  2862. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2863. "name": "status",
  2864. "in": "query"
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp3/QryAreaExpourseContractDetail": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理v3(app)"
  2898. ],
  2899. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "integer",
  2910. "description": "套保商品id",
  2911. "name": "middlegoodsid",
  2912. "in": "query",
  2913. "required": true
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2918. "name": "cycletype",
  2919. "in": "query",
  2920. "required": true
  2921. },
  2922. {
  2923. "type": "string",
  2924. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2925. "name": "cycletime",
  2926. "in": "query",
  2927. "required": true
  2928. }
  2929. ],
  2930. "responses": {
  2931. "200": {
  2932. "description": "OK",
  2933. "schema": {
  2934. "type": "array",
  2935. "items": {
  2936. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2937. }
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "企业风险管理v3(app)"
  2961. ],
  2962. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2963. "parameters": [
  2964. {
  2965. "type": "integer",
  2966. "description": "用户ID",
  2967. "name": "userid",
  2968. "in": "query",
  2969. "required": true
  2970. },
  2971. {
  2972. "type": "integer",
  2973. "description": "套保商品id",
  2974. "name": "middlegoodsid",
  2975. "in": "query",
  2976. "required": true
  2977. },
  2978. {
  2979. "type": "integer",
  2980. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2981. "name": "cycletype",
  2982. "in": "query",
  2983. "required": true
  2984. },
  2985. {
  2986. "type": "string",
  2987. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2988. "name": "cycletime",
  2989. "in": "query",
  2990. "required": true
  2991. }
  2992. ],
  2993. "responses": {
  2994. "200": {
  2995. "description": "OK",
  2996. "schema": {
  2997. "type": "array",
  2998. "items": {
  2999. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3000. }
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/Ermcp3/QryAreaExpourseReport": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "produces": [
  3020. "application/json"
  3021. ],
  3022. "tags": [
  3023. "企业风险管理v3(app)"
  3024. ],
  3025. "summary": "查询敞口报表",
  3026. "parameters": [
  3027. {
  3028. "type": "integer",
  3029. "description": "用户ID",
  3030. "name": "userid",
  3031. "in": "query",
  3032. "required": true
  3033. },
  3034. {
  3035. "type": "integer",
  3036. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3037. "name": "querytype",
  3038. "in": "query",
  3039. "required": true
  3040. },
  3041. {
  3042. "type": "integer",
  3043. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3044. "name": "cycletype",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "string",
  3050. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3051. "name": "cycletime",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp3/QryAreaSpotplReport": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理v3(app)"
  3087. ],
  3088. "summary": "查询现货报表",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "用户ID",
  3093. "name": "userid",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型 1-报表 2-报表明细",
  3100. "name": "querytype",
  3101. "in": "query",
  3102. "required": true
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3107. "name": "cycletype",
  3108. "in": "query",
  3109. "required": true
  3110. },
  3111. {
  3112. "type": "string",
  3113. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3114. "name": "cycletime",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "现货品种id(明细必填)",
  3121. "name": "deliverygoodsid",
  3122. "in": "query"
  3123. },
  3124. {
  3125. "type": "integer",
  3126. "description": "品类id(明细必填)",
  3127. "name": "wrstandardid",
  3128. "in": "query"
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "币种id(明细必填)",
  3133. "name": "currencyid",
  3134. "in": "query"
  3135. }
  3136. ],
  3137. "responses": {
  3138. "200": {
  3139. "description": "OK",
  3140. "schema": {
  3141. "type": "array",
  3142. "items": {
  3143. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3144. }
  3145. }
  3146. },
  3147. "500": {
  3148. "description": "Internal Server Error",
  3149. "schema": {
  3150. "$ref": "#/definitions/app.Response"
  3151. }
  3152. }
  3153. }
  3154. }
  3155. },
  3156. "/Ermcp3/QryAreaStockReport": {
  3157. "get": {
  3158. "security": [
  3159. {
  3160. "ApiKeyAuth": []
  3161. }
  3162. ],
  3163. "produces": [
  3164. "application/json"
  3165. ],
  3166. "tags": [
  3167. "企业风险管理v3(app)"
  3168. ],
  3169. "summary": "查询库存报表",
  3170. "parameters": [
  3171. {
  3172. "type": "integer",
  3173. "description": "用户ID",
  3174. "name": "userid",
  3175. "in": "query",
  3176. "required": true
  3177. },
  3178. {
  3179. "type": "integer",
  3180. "description": "查询类型 1-报表 2-报表明细",
  3181. "name": "querytype",
  3182. "in": "query",
  3183. "required": true
  3184. },
  3185. {
  3186. "type": "integer",
  3187. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3188. "name": "cycletype",
  3189. "in": "query",
  3190. "required": true
  3191. },
  3192. {
  3193. "type": "string",
  3194. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3195. "name": "cycletime",
  3196. "in": "query",
  3197. "required": true
  3198. },
  3199. {
  3200. "type": "string",
  3201. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3202. "name": "sumfields",
  3203. "in": "query"
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "品种ID",
  3208. "name": "deliverygoodsid",
  3209. "in": "query"
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "品类ID",
  3214. "name": "wrstandardid",
  3215. "in": "query"
  3216. },
  3217. {
  3218. "type": "integer",
  3219. "description": "品牌ID",
  3220. "name": "spotgoodsbrandid",
  3221. "in": "query"
  3222. },
  3223. {
  3224. "type": "integer",
  3225. "description": "仓库ID",
  3226. "name": "warehouseinfoid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp3/QryAreaSumPL": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理v3(app)"
  3261. ],
  3262. "summary": "查询汇总损益表",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "用户ID",
  3267. "name": "userid",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型 1-报表 2-报表明细",
  3274. "name": "querytype",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "integer",
  3280. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3281. "name": "cycletype",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "string",
  3287. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3288. "name": "cycletime",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "币种id(明细必填)",
  3295. "name": "currencyid",
  3296. "in": "query"
  3297. }
  3298. ],
  3299. "responses": {
  3300. "200": {
  3301. "description": "OK",
  3302. "schema": {
  3303. "type": "array",
  3304. "items": {
  3305. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3306. }
  3307. }
  3308. },
  3309. "500": {
  3310. "description": "Internal Server Error",
  3311. "schema": {
  3312. "$ref": "#/definitions/app.Response"
  3313. }
  3314. }
  3315. }
  3316. }
  3317. },
  3318. "/Ermcp3/QryFinanceReport": {
  3319. "get": {
  3320. "security": [
  3321. {
  3322. "ApiKeyAuth": []
  3323. }
  3324. ],
  3325. "produces": [
  3326. "application/json"
  3327. ],
  3328. "tags": [
  3329. "企业风险管理v3(app)"
  3330. ],
  3331. "summary": "查询财务报表",
  3332. "parameters": [
  3333. {
  3334. "type": "integer",
  3335. "description": "用户ID",
  3336. "name": "userid",
  3337. "in": "query",
  3338. "required": true
  3339. },
  3340. {
  3341. "type": "integer",
  3342. "description": "查询类型 1-报表 2-报表明细",
  3343. "name": "querytype",
  3344. "in": "query",
  3345. "required": true
  3346. },
  3347. {
  3348. "type": "integer",
  3349. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3350. "name": "cycletype",
  3351. "in": "query",
  3352. "required": true
  3353. },
  3354. {
  3355. "type": "string",
  3356. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3357. "name": "cycletime",
  3358. "in": "query",
  3359. "required": true
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "币种id(日报表明细)",
  3364. "name": "currencyid",
  3365. "in": "query"
  3366. }
  3367. ],
  3368. "responses": {
  3369. "200": {
  3370. "description": "OK",
  3371. "schema": {
  3372. "type": "array",
  3373. "items": {
  3374. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3375. }
  3376. }
  3377. },
  3378. "500": {
  3379. "description": "Internal Server Error",
  3380. "schema": {
  3381. "$ref": "#/definitions/app.Response"
  3382. }
  3383. }
  3384. }
  3385. }
  3386. },
  3387. "/Ermcp3/QueryAreaStock": {
  3388. "get": {
  3389. "security": [
  3390. {
  3391. "ApiKeyAuth": []
  3392. }
  3393. ],
  3394. "produces": [
  3395. "application/json"
  3396. ],
  3397. "tags": [
  3398. "企业风险管理v3(app)"
  3399. ],
  3400. "summary": "查询机构库存(库存管理/当前库存)",
  3401. "parameters": [
  3402. {
  3403. "type": "integer",
  3404. "description": "用户ID",
  3405. "name": "userid",
  3406. "in": "query",
  3407. "required": true
  3408. }
  3409. ],
  3410. "responses": {
  3411. "200": {
  3412. "description": "OK",
  3413. "schema": {
  3414. "type": "array",
  3415. "items": {
  3416. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3417. }
  3418. }
  3419. },
  3420. "500": {
  3421. "description": "Internal Server Error",
  3422. "schema": {
  3423. "$ref": "#/definitions/app.Response"
  3424. }
  3425. }
  3426. }
  3427. }
  3428. },
  3429. "/Ermcp3/QueryAreaStockApply": {
  3430. "get": {
  3431. "security": [
  3432. {
  3433. "ApiKeyAuth": []
  3434. }
  3435. ],
  3436. "produces": [
  3437. "application/json"
  3438. ],
  3439. "tags": [
  3440. "企业风险管理v3(app)"
  3441. ],
  3442. "summary": "查询库存申请(出入库记录|库存审核)",
  3443. "parameters": [
  3444. {
  3445. "type": "integer",
  3446. "description": "用户ID",
  3447. "name": "userid",
  3448. "in": "query",
  3449. "required": true
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "用户类型 2-机构 7-企业成员",
  3454. "name": "usertype",
  3455. "in": "query"
  3456. },
  3457. {
  3458. "type": "integer",
  3459. "description": "现货商品ID",
  3460. "name": "deliverygoodsid",
  3461. "in": "query"
  3462. },
  3463. {
  3464. "type": "string",
  3465. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3466. "name": "inouttype",
  3467. "in": "query"
  3468. },
  3469. {
  3470. "type": "integer",
  3471. "description": "合同ID",
  3472. "name": "spotcontractid",
  3473. "in": "query"
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "品类ID",
  3478. "name": "wrstandardid",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "品牌ID",
  3484. "name": "spotgoodsbrandid",
  3485. "in": "query"
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "仓库ID",
  3490. "name": "warehouseinfoid",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "string",
  3495. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3496. "name": "applystatus",
  3497. "in": "query"
  3498. }
  3499. ],
  3500. "responses": {
  3501. "200": {
  3502. "description": "OK",
  3503. "schema": {
  3504. "type": "array",
  3505. "items": {
  3506. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3507. }
  3508. }
  3509. },
  3510. "500": {
  3511. "description": "Internal Server Error",
  3512. "schema": {
  3513. "$ref": "#/definitions/app.Response"
  3514. }
  3515. }
  3516. }
  3517. }
  3518. },
  3519. "/Ermcp3/QueryAreaStockApplySum": {
  3520. "get": {
  3521. "security": [
  3522. {
  3523. "ApiKeyAuth": []
  3524. }
  3525. ],
  3526. "produces": [
  3527. "application/json"
  3528. ],
  3529. "tags": [
  3530. "企业风险管理v3(app)"
  3531. ],
  3532. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3533. "parameters": [
  3534. {
  3535. "type": "integer",
  3536. "description": "合同ID",
  3537. "name": "spotcontractid",
  3538. "in": "query"
  3539. }
  3540. ],
  3541. "responses": {
  3542. "200": {
  3543. "description": "OK",
  3544. "schema": {
  3545. "type": "array",
  3546. "items": {
  3547. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3548. }
  3549. }
  3550. },
  3551. "500": {
  3552. "description": "Internal Server Error",
  3553. "schema": {
  3554. "$ref": "#/definitions/app.Response"
  3555. }
  3556. }
  3557. }
  3558. }
  3559. },
  3560. "/Ermcp3/QueryDGFactoryItem": {
  3561. "get": {
  3562. "security": [
  3563. {
  3564. "ApiKeyAuth": []
  3565. }
  3566. ],
  3567. "produces": [
  3568. "application/json"
  3569. ],
  3570. "tags": [
  3571. "企业风险管理v3(app)"
  3572. ],
  3573. "summary": "查询品种要素定义项",
  3574. "parameters": [
  3575. {
  3576. "type": "integer",
  3577. "description": "用户id",
  3578. "name": "userid",
  3579. "in": "query"
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "用户类型 2-机构 7-企业成员",
  3584. "name": "usertype",
  3585. "in": "query"
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3590. "name": "dgfactoryitemid",
  3591. "in": "query"
  3592. },
  3593. {
  3594. "type": "integer",
  3595. "description": "现货品种ID",
  3596. "name": "deliverygoodsid",
  3597. "in": "query"
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "要素项类型",
  3602. "name": "dgfactoryitemtypeid",
  3603. "in": "query"
  3604. },
  3605. {
  3606. "type": "integer",
  3607. "description": "顺序",
  3608. "name": "orderindex",
  3609. "in": "query"
  3610. }
  3611. ],
  3612. "responses": {
  3613. "200": {
  3614. "description": "OK",
  3615. "schema": {
  3616. "type": "array",
  3617. "items": {
  3618. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3619. }
  3620. }
  3621. },
  3622. "500": {
  3623. "description": "Internal Server Error",
  3624. "schema": {
  3625. "$ref": "#/definitions/app.Response"
  3626. }
  3627. }
  3628. }
  3629. }
  3630. },
  3631. "/Ermcp3/QueryDeliveryGoods": {
  3632. "get": {
  3633. "security": [
  3634. {
  3635. "ApiKeyAuth": []
  3636. }
  3637. ],
  3638. "produces": [
  3639. "application/json"
  3640. ],
  3641. "tags": [
  3642. "企业风险管理v3(app)"
  3643. ],
  3644. "summary": "查询现货商品",
  3645. "parameters": [
  3646. {
  3647. "type": "integer",
  3648. "description": "用户id",
  3649. "name": "userid",
  3650. "in": "query",
  3651. "required": true
  3652. },
  3653. {
  3654. "type": "integer",
  3655. "description": "用户类型 2-机构 7-企业成员",
  3656. "name": "usertype",
  3657. "in": "query"
  3658. },
  3659. {
  3660. "type": "integer",
  3661. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3662. "name": "excludecfg",
  3663. "in": "query"
  3664. }
  3665. ],
  3666. "responses": {
  3667. "200": {
  3668. "description": "OK",
  3669. "schema": {
  3670. "type": "array",
  3671. "items": {
  3672. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3673. }
  3674. }
  3675. },
  3676. "500": {
  3677. "description": "Internal Server Error",
  3678. "schema": {
  3679. "$ref": "#/definitions/app.Response"
  3680. }
  3681. }
  3682. }
  3683. }
  3684. },
  3685. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3686. "get": {
  3687. "security": [
  3688. {
  3689. "ApiKeyAuth": []
  3690. }
  3691. ],
  3692. "produces": [
  3693. "application/json"
  3694. ],
  3695. "tags": [
  3696. "企业风险管理v3(app)"
  3697. ],
  3698. "summary": "查询现货商品详情",
  3699. "parameters": [
  3700. {
  3701. "type": "integer",
  3702. "description": "用户id",
  3703. "name": "userid",
  3704. "in": "query",
  3705. "required": true
  3706. },
  3707. {
  3708. "type": "integer",
  3709. "description": "用户类型 2-机构 7-企业成员",
  3710. "name": "usertype",
  3711. "in": "query"
  3712. },
  3713. {
  3714. "type": "integer",
  3715. "description": "现货商品id",
  3716. "name": "deliverygoodsid",
  3717. "in": "query"
  3718. }
  3719. ],
  3720. "responses": {
  3721. "200": {
  3722. "description": "OK",
  3723. "schema": {
  3724. "type": "array",
  3725. "items": {
  3726. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3727. }
  3728. }
  3729. },
  3730. "500": {
  3731. "description": "Internal Server Error",
  3732. "schema": {
  3733. "$ref": "#/definitions/app.Response"
  3734. }
  3735. }
  3736. }
  3737. }
  3738. },
  3739. "/Ermcp3/QueryExposureDetail": {
  3740. "get": {
  3741. "security": [
  3742. {
  3743. "ApiKeyAuth": []
  3744. }
  3745. ],
  3746. "produces": [
  3747. "application/json"
  3748. ],
  3749. "tags": [
  3750. "企业风险管理v3(app)"
  3751. ],
  3752. "summary": "查询敞口现货明细",
  3753. "parameters": [
  3754. {
  3755. "type": "integer",
  3756. "description": "用户id",
  3757. "name": "userid",
  3758. "in": "query",
  3759. "required": true
  3760. },
  3761. {
  3762. "type": "integer",
  3763. "description": "用户类型 2-机构 7-企业成员",
  3764. "name": "usertype",
  3765. "in": "query"
  3766. },
  3767. {
  3768. "type": "integer",
  3769. "description": "套保商品",
  3770. "name": "middlegoodsid",
  3771. "in": "query",
  3772. "required": true
  3773. }
  3774. ],
  3775. "responses": {
  3776. "200": {
  3777. "description": "OK",
  3778. "schema": {
  3779. "type": "array",
  3780. "items": {
  3781. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3782. }
  3783. }
  3784. },
  3785. "500": {
  3786. "description": "Internal Server Error",
  3787. "schema": {
  3788. "$ref": "#/definitions/app.Response"
  3789. }
  3790. }
  3791. }
  3792. }
  3793. },
  3794. "/Ermcp3/QueryExposureSpot": {
  3795. "get": {
  3796. "security": [
  3797. {
  3798. "ApiKeyAuth": []
  3799. }
  3800. ],
  3801. "produces": [
  3802. "application/json"
  3803. ],
  3804. "tags": [
  3805. "企业风险管理v3(app)"
  3806. ],
  3807. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3808. "parameters": [
  3809. {
  3810. "type": "integer",
  3811. "description": "用户id",
  3812. "name": "userid",
  3813. "in": "query",
  3814. "required": true
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "用户类型 2-机构 7-企业成员",
  3819. "name": "usertype",
  3820. "in": "query"
  3821. }
  3822. ],
  3823. "responses": {
  3824. "200": {
  3825. "description": "OK",
  3826. "schema": {
  3827. "type": "array",
  3828. "items": {
  3829. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3830. }
  3831. }
  3832. },
  3833. "500": {
  3834. "description": "Internal Server Error",
  3835. "schema": {
  3836. "$ref": "#/definitions/app.Response"
  3837. }
  3838. }
  3839. }
  3840. }
  3841. },
  3842. "/Ermcp3/QueryExposureSpotDetail": {
  3843. "get": {
  3844. "security": [
  3845. {
  3846. "ApiKeyAuth": []
  3847. }
  3848. ],
  3849. "produces": [
  3850. "application/json"
  3851. ],
  3852. "tags": [
  3853. "企业风险管理v3(app)"
  3854. ],
  3855. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3856. "parameters": [
  3857. {
  3858. "type": "integer",
  3859. "description": "用户id",
  3860. "name": "userid",
  3861. "in": "query",
  3862. "required": true
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "用户类型 2-机构 7-企业成员",
  3867. "name": "usertype",
  3868. "in": "query"
  3869. },
  3870. {
  3871. "type": "integer",
  3872. "description": "现货品种ID",
  3873. "name": "deliverygoodsid",
  3874. "in": "query",
  3875. "required": true
  3876. }
  3877. ],
  3878. "responses": {
  3879. "200": {
  3880. "description": "OK",
  3881. "schema": {
  3882. "type": "array",
  3883. "items": {
  3884. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3885. }
  3886. }
  3887. },
  3888. "500": {
  3889. "description": "Internal Server Error",
  3890. "schema": {
  3891. "$ref": "#/definitions/app.Response"
  3892. }
  3893. }
  3894. }
  3895. }
  3896. },
  3897. "/Ermcp3/QueryGoodsGroup": {
  3898. "get": {
  3899. "security": [
  3900. {
  3901. "ApiKeyAuth": []
  3902. }
  3903. ],
  3904. "produces": [
  3905. "application/json"
  3906. ],
  3907. "tags": [
  3908. "企业风险管理v3(app)"
  3909. ],
  3910. "summary": "查询期货商品组",
  3911. "parameters": [
  3912. {
  3913. "type": "integer",
  3914. "description": "用户id",
  3915. "name": "userid",
  3916. "in": "query",
  3917. "required": true
  3918. },
  3919. {
  3920. "type": "integer",
  3921. "description": "用户类型 2-机构 7-企业成员",
  3922. "name": "usertype",
  3923. "in": "query"
  3924. },
  3925. {
  3926. "type": "integer",
  3927. "description": "排除套保品中已关联的商品组 1-排除",
  3928. "name": "excludecfg",
  3929. "in": "query"
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "type": "array",
  3937. "items": {
  3938. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3939. }
  3940. }
  3941. },
  3942. "500": {
  3943. "description": "Internal Server Error",
  3944. "schema": {
  3945. "$ref": "#/definitions/app.Response"
  3946. }
  3947. }
  3948. }
  3949. }
  3950. },
  3951. "/Ermcp3/QueryGoodsWrstandard": {
  3952. "get": {
  3953. "security": [
  3954. {
  3955. "ApiKeyAuth": []
  3956. }
  3957. ],
  3958. "produces": [
  3959. "application/json"
  3960. ],
  3961. "tags": [
  3962. "企业风险管理v3(app)"
  3963. ],
  3964. "summary": "查询商品品类",
  3965. "parameters": [
  3966. {
  3967. "type": "integer",
  3968. "description": "用户id",
  3969. "name": "userid",
  3970. "in": "query",
  3971. "required": true
  3972. },
  3973. {
  3974. "type": "integer",
  3975. "description": "用户类型 2-机构 7-企业成员",
  3976. "name": "usertype",
  3977. "in": "query"
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "现货商品id",
  3982. "name": "deliverygoodsid",
  3983. "in": "query"
  3984. }
  3985. ],
  3986. "responses": {
  3987. "200": {
  3988. "description": "OK",
  3989. "schema": {
  3990. "type": "array",
  3991. "items": {
  3992. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3993. }
  3994. }
  3995. },
  3996. "500": {
  3997. "description": "Internal Server Error",
  3998. "schema": {
  3999. "$ref": "#/definitions/app.Response"
  4000. }
  4001. }
  4002. }
  4003. }
  4004. },
  4005. "/Ermcp3/QueryGoodsbrand": {
  4006. "get": {
  4007. "security": [
  4008. {
  4009. "ApiKeyAuth": []
  4010. }
  4011. ],
  4012. "produces": [
  4013. "application/json"
  4014. ],
  4015. "tags": [
  4016. "企业风险管理v3(app)"
  4017. ],
  4018. "summary": "查询商品品牌",
  4019. "parameters": [
  4020. {
  4021. "type": "integer",
  4022. "description": "用户id",
  4023. "name": "userid",
  4024. "in": "query",
  4025. "required": true
  4026. },
  4027. {
  4028. "type": "integer",
  4029. "description": "用户类型 2-机构 7-企业成员",
  4030. "name": "usertype",
  4031. "in": "query"
  4032. }
  4033. ],
  4034. "responses": {
  4035. "200": {
  4036. "description": "OK",
  4037. "schema": {
  4038. "type": "array",
  4039. "items": {
  4040. "$ref": "#/definitions/models.Ermcp3Brand"
  4041. }
  4042. }
  4043. },
  4044. "500": {
  4045. "description": "Internal Server Error",
  4046. "schema": {
  4047. "$ref": "#/definitions/app.Response"
  4048. }
  4049. }
  4050. }
  4051. }
  4052. },
  4053. "/Ermcp3/QueryHedgePlan": {
  4054. "get": {
  4055. "security": [
  4056. {
  4057. "ApiKeyAuth": []
  4058. }
  4059. ],
  4060. "produces": [
  4061. "application/json"
  4062. ],
  4063. "tags": [
  4064. "企业风险管理v3(app)"
  4065. ],
  4066. "summary": "查询套保计划",
  4067. "parameters": [
  4068. {
  4069. "type": "integer",
  4070. "description": "用户ID",
  4071. "name": "userid",
  4072. "in": "query",
  4073. "required": true
  4074. },
  4075. {
  4076. "type": "integer",
  4077. "description": "用户类型 2-机构 7-企业成员",
  4078. "name": "usertype",
  4079. "in": "query"
  4080. },
  4081. {
  4082. "type": "string",
  4083. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4084. "name": "hedgeplanstatus",
  4085. "in": "query",
  4086. "required": true
  4087. }
  4088. ],
  4089. "responses": {
  4090. "200": {
  4091. "description": "OK",
  4092. "schema": {
  4093. "type": "array",
  4094. "items": {
  4095. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4096. }
  4097. }
  4098. },
  4099. "500": {
  4100. "description": "Internal Server Error",
  4101. "schema": {
  4102. "$ref": "#/definitions/app.Response"
  4103. }
  4104. }
  4105. }
  4106. }
  4107. },
  4108. "/Ermcp3/QueryMiddleGoodsDetail": {
  4109. "get": {
  4110. "security": [
  4111. {
  4112. "ApiKeyAuth": []
  4113. }
  4114. ],
  4115. "produces": [
  4116. "application/json"
  4117. ],
  4118. "tags": [
  4119. "企业风险管理v3(app)"
  4120. ],
  4121. "summary": "查询套保品种详情(套保品种/商品详情)",
  4122. "parameters": [
  4123. {
  4124. "type": "integer",
  4125. "description": "用户id",
  4126. "name": "userid",
  4127. "in": "query",
  4128. "required": true
  4129. },
  4130. {
  4131. "type": "integer",
  4132. "description": "用户类型 2-机构 7-企业成员",
  4133. "name": "usertype",
  4134. "in": "query"
  4135. },
  4136. {
  4137. "type": "integer",
  4138. "description": "套保品种id",
  4139. "name": "middlegoodsid",
  4140. "in": "query"
  4141. }
  4142. ],
  4143. "responses": {
  4144. "200": {
  4145. "description": "OK",
  4146. "schema": {
  4147. "type": "array",
  4148. "items": {
  4149. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4150. }
  4151. }
  4152. },
  4153. "500": {
  4154. "description": "Internal Server Error",
  4155. "schema": {
  4156. "$ref": "#/definitions/app.Response"
  4157. }
  4158. }
  4159. }
  4160. }
  4161. },
  4162. "/Ermcp3/QuerySpotContract": {
  4163. "get": {
  4164. "security": [
  4165. {
  4166. "ApiKeyAuth": []
  4167. }
  4168. ],
  4169. "produces": [
  4170. "application/json"
  4171. ],
  4172. "tags": [
  4173. "企业风险管理v3(app)"
  4174. ],
  4175. "summary": "查询现货合同",
  4176. "parameters": [
  4177. {
  4178. "type": "integer",
  4179. "description": "用户id",
  4180. "name": "userid",
  4181. "in": "query",
  4182. "required": true
  4183. },
  4184. {
  4185. "type": "integer",
  4186. "description": "用户类型 2-机构 7-企业成员",
  4187. "name": "usertype",
  4188. "in": "query"
  4189. },
  4190. {
  4191. "type": "integer",
  4192. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4193. "name": "querytype",
  4194. "in": "query",
  4195. "required": true
  4196. },
  4197. {
  4198. "type": "string",
  4199. "description": "合同ID(SpotContractId)",
  4200. "name": "contractid",
  4201. "in": "query"
  4202. }
  4203. ],
  4204. "responses": {
  4205. "200": {
  4206. "description": "OK",
  4207. "schema": {
  4208. "type": "array",
  4209. "items": {
  4210. "$ref": "#/definitions/models.Ermcp3Contract"
  4211. }
  4212. }
  4213. },
  4214. "500": {
  4215. "description": "Internal Server Error",
  4216. "schema": {
  4217. "$ref": "#/definitions/app.Response"
  4218. }
  4219. }
  4220. }
  4221. }
  4222. },
  4223. "/Ermcp3/QuerySpotContractBS": {
  4224. "get": {
  4225. "security": [
  4226. {
  4227. "ApiKeyAuth": []
  4228. }
  4229. ],
  4230. "produces": [
  4231. "application/json"
  4232. ],
  4233. "tags": [
  4234. "企业风险管理v3(app)"
  4235. ],
  4236. "summary": "查询合同(采购/销售)",
  4237. "parameters": [
  4238. {
  4239. "type": "integer",
  4240. "description": "用户id",
  4241. "name": "userid",
  4242. "in": "query",
  4243. "required": true
  4244. },
  4245. {
  4246. "type": "integer",
  4247. "description": "用户类型 2-机构 7-企业成员",
  4248. "name": "usertype",
  4249. "in": "query"
  4250. },
  4251. {
  4252. "type": "integer",
  4253. "description": "合同类型 1-采购, -1-销售",
  4254. "name": "contracttype",
  4255. "in": "query",
  4256. "required": true
  4257. },
  4258. {
  4259. "type": "integer",
  4260. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4261. "name": "querytype",
  4262. "in": "query",
  4263. "required": true
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "合同ID(SpotContractId)",
  4268. "name": "contractid",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QuerySpotGoodsPrice": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询现货市价(现货市价)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "用户ID",
  4309. "name": "userid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询现货市价详情(现货市价/详情)",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户ID",
  4351. "name": "userid",
  4352. "in": "query",
  4353. "required": true
  4354. },
  4355. {
  4356. "type": "integer",
  4357. "description": "现货商品ID",
  4358. "name": "deliverygoodsid",
  4359. "in": "query",
  4360. "required": true
  4361. },
  4362. {
  4363. "type": "integer",
  4364. "description": "品牌ID",
  4365. "name": "brandid",
  4366. "in": "query"
  4367. },
  4368. {
  4369. "type": "integer",
  4370. "description": "品类ID",
  4371. "name": "wrstandardid",
  4372. "in": "query"
  4373. }
  4374. ],
  4375. "responses": {
  4376. "200": {
  4377. "description": "OK",
  4378. "schema": {
  4379. "type": "array",
  4380. "items": {
  4381. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4382. }
  4383. }
  4384. },
  4385. "500": {
  4386. "description": "Internal Server Error",
  4387. "schema": {
  4388. "$ref": "#/definitions/app.Response"
  4389. }
  4390. }
  4391. }
  4392. }
  4393. },
  4394. "/Erms2/QueryArbitrageStrategy": {
  4395. "get": {
  4396. "security": [
  4397. {
  4398. "ApiKeyAuth": []
  4399. }
  4400. ],
  4401. "produces": [
  4402. "application/json"
  4403. ],
  4404. "tags": [
  4405. "风险管理"
  4406. ],
  4407. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4408. "parameters": [
  4409. {
  4410. "type": "integer",
  4411. "description": "账户ID",
  4412. "name": "userid",
  4413. "in": "query",
  4414. "required": true
  4415. },
  4416. {
  4417. "type": "string",
  4418. "description": "商品组ID(品种ID)",
  4419. "name": "goodsgroupid",
  4420. "in": "query"
  4421. }
  4422. ],
  4423. "responses": {
  4424. "200": {
  4425. "description": "OK",
  4426. "schema": {
  4427. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4428. }
  4429. },
  4430. "500": {
  4431. "description": "Internal Server Error",
  4432. "schema": {
  4433. "$ref": "#/definitions/app.Response"
  4434. }
  4435. }
  4436. }
  4437. }
  4438. },
  4439. "/Erms2/QueryInnerTradeDetail": {
  4440. "get": {
  4441. "security": [
  4442. {
  4443. "ApiKeyAuth": []
  4444. }
  4445. ],
  4446. "produces": [
  4447. "application/json"
  4448. ],
  4449. "tags": [
  4450. "风险管理"
  4451. ],
  4452. "summary": "查询内部成交单信息",
  4453. "parameters": [
  4454. {
  4455. "type": "integer",
  4456. "description": "资金账户",
  4457. "name": "accountid",
  4458. "in": "query",
  4459. "required": true
  4460. }
  4461. ],
  4462. "responses": {
  4463. "200": {
  4464. "description": "OK",
  4465. "schema": {
  4466. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Erms2/QuerySpotContract": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "风险管理"
  4490. ],
  4491. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "策略申请ID",
  4496. "name": "asapplyid",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "integer",
  4502. "description": "现货合同ID",
  4503. "name": "spotcontractid",
  4504. "in": "query"
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4512. }
  4513. },
  4514. "500": {
  4515. "description": "Internal Server Error",
  4516. "schema": {
  4517. "$ref": "#/definitions/app.Response"
  4518. }
  4519. }
  4520. }
  4521. }
  4522. },
  4523. "/Erms3/AddErms2ASApply": {
  4524. "post": {
  4525. "security": [
  4526. {
  4527. "ApiKeyAuth": []
  4528. }
  4529. ],
  4530. "produces": [
  4531. "application/json"
  4532. ],
  4533. "tags": [
  4534. "风险管理v3"
  4535. ],
  4536. "summary": "新增期现套利业务申请",
  4537. "parameters": [
  4538. {
  4539. "description": "申请参数",
  4540. "name": "jsonBody",
  4541. "in": "body",
  4542. "required": true,
  4543. "schema": {
  4544. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4545. }
  4546. }
  4547. ],
  4548. "responses": {
  4549. "200": {
  4550. "description": "OK",
  4551. "schema": {
  4552. "$ref": "#/definitions/app.Response"
  4553. }
  4554. },
  4555. "500": {
  4556. "description": "Internal Server Error",
  4557. "schema": {
  4558. "$ref": "#/definitions/app.Response"
  4559. }
  4560. }
  4561. }
  4562. }
  4563. },
  4564. "/Erms3/AddErms2SpotTradeApply": {
  4565. "post": {
  4566. "security": [
  4567. {
  4568. "ApiKeyAuth": []
  4569. }
  4570. ],
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "风险管理v3"
  4576. ],
  4577. "summary": "新增现货贸易业务申请",
  4578. "parameters": [
  4579. {
  4580. "description": "申请参数",
  4581. "name": "jsonBody",
  4582. "in": "body",
  4583. "required": true,
  4584. "schema": {
  4585. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4586. }
  4587. }
  4588. ],
  4589. "responses": {
  4590. "200": {
  4591. "description": "OK",
  4592. "schema": {
  4593. "$ref": "#/definitions/app.Response"
  4594. }
  4595. },
  4596. "500": {
  4597. "description": "Internal Server Error",
  4598. "schema": {
  4599. "$ref": "#/definitions/app.Response"
  4600. }
  4601. }
  4602. }
  4603. }
  4604. },
  4605. "/Erms3/AddSpotContractApply": {
  4606. "post": {
  4607. "security": [
  4608. {
  4609. "ApiKeyAuth": []
  4610. }
  4611. ],
  4612. "produces": [
  4613. "application/json"
  4614. ],
  4615. "tags": [
  4616. "风险管理v3"
  4617. ],
  4618. "summary": "新增现货合同申请",
  4619. "parameters": [
  4620. {
  4621. "description": "申请参数",
  4622. "name": "jsonBody",
  4623. "in": "body",
  4624. "required": true,
  4625. "schema": {
  4626. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4627. }
  4628. }
  4629. ],
  4630. "responses": {
  4631. "200": {
  4632. "description": "OK",
  4633. "schema": {
  4634. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4635. }
  4636. },
  4637. "500": {
  4638. "description": "Internal Server Error",
  4639. "schema": {
  4640. "$ref": "#/definitions/app.Response"
  4641. }
  4642. }
  4643. }
  4644. }
  4645. },
  4646. "/Erms3/AddUserInfoApply": {
  4647. "post": {
  4648. "security": [
  4649. {
  4650. "ApiKeyAuth": []
  4651. }
  4652. ],
  4653. "produces": [
  4654. "application/json"
  4655. ],
  4656. "tags": [
  4657. "风险管理v3"
  4658. ],
  4659. "summary": "新增客户申请",
  4660. "parameters": [
  4661. {
  4662. "description": "用户信息",
  4663. "name": "jsonBody",
  4664. "in": "body",
  4665. "required": true,
  4666. "schema": {
  4667. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4668. }
  4669. }
  4670. ],
  4671. "responses": {
  4672. "200": {
  4673. "description": "OK",
  4674. "schema": {
  4675. "$ref": "#/definitions/app.Response"
  4676. }
  4677. },
  4678. "500": {
  4679. "description": "Internal Server Error",
  4680. "schema": {
  4681. "$ref": "#/definitions/app.Response"
  4682. }
  4683. }
  4684. }
  4685. }
  4686. },
  4687. "/Erms3/DeleteUserInfoApply": {
  4688. "get": {
  4689. "security": [
  4690. {
  4691. "ApiKeyAuth": []
  4692. }
  4693. ],
  4694. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4695. "produces": [
  4696. "application/json"
  4697. ],
  4698. "tags": [
  4699. "风险管理v3"
  4700. ],
  4701. "summary": "删除客户申请",
  4702. "parameters": [
  4703. {
  4704. "type": "integer",
  4705. "description": "用户ID",
  4706. "name": "userID",
  4707. "in": "query",
  4708. "required": true
  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/ModifyUserInfoApply": {
  4728. "post": {
  4729. "security": [
  4730. {
  4731. "ApiKeyAuth": []
  4732. }
  4733. ],
  4734. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4735. "produces": [
  4736. "application/json"
  4737. ],
  4738. "tags": [
  4739. "风险管理v3"
  4740. ],
  4741. "summary": "修改客户申请",
  4742. "parameters": [
  4743. {
  4744. "description": "用户信息",
  4745. "name": "jsonBody",
  4746. "in": "body",
  4747. "required": true,
  4748. "schema": {
  4749. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4750. }
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. },
  4760. "500": {
  4761. "description": "Internal Server Error",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. }
  4766. }
  4767. }
  4768. },
  4769. "/Erms3/QueryBusinessInfo": {
  4770. "get": {
  4771. "security": [
  4772. {
  4773. "ApiKeyAuth": []
  4774. }
  4775. ],
  4776. "produces": [
  4777. "application/json"
  4778. ],
  4779. "tags": [
  4780. "风险管理v3"
  4781. ],
  4782. "summary": "查询业务表单数据",
  4783. "parameters": [
  4784. {
  4785. "type": "string",
  4786. "description": "资金账号ID列表,用逗号分隔",
  4787. "name": "accountids",
  4788. "in": "query",
  4789. "required": true
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "状态,0为未结束 1为已结束",
  4794. "name": "status",
  4795. "in": "query",
  4796. "required": true
  4797. }
  4798. ],
  4799. "responses": {
  4800. "200": {
  4801. "description": "OK",
  4802. "schema": {
  4803. "type": "array",
  4804. "items": {
  4805. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4806. }
  4807. }
  4808. },
  4809. "500": {
  4810. "description": "Internal Server Error",
  4811. "schema": {
  4812. "$ref": "#/definitions/app.Response"
  4813. }
  4814. }
  4815. }
  4816. }
  4817. },
  4818. "/Erms3/QueryPendingAuditContract": {
  4819. "get": {
  4820. "security": [
  4821. {
  4822. "ApiKeyAuth": []
  4823. }
  4824. ],
  4825. "produces": [
  4826. "application/json"
  4827. ],
  4828. "tags": [
  4829. "风险管理v3"
  4830. ],
  4831. "summary": "查询待审核合同",
  4832. "parameters": [
  4833. {
  4834. "type": "string",
  4835. "description": "资金账号ID列表,逗号隔开",
  4836. "name": "accountids",
  4837. "in": "query",
  4838. "required": true
  4839. },
  4840. {
  4841. "type": "integer",
  4842. "description": "合同类型 1-采购 -1-销售",
  4843. "name": "contracttype",
  4844. "in": "query",
  4845. "required": true
  4846. },
  4847. {
  4848. "type": "integer",
  4849. "description": "合同模式 1-普通 2-回购",
  4850. "name": "contractmode",
  4851. "in": "query",
  4852. "required": true
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Erms3/QueryPendingBusiness": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "风险管理v3"
  4886. ],
  4887. "summary": "查询待审核基差贸易业务",
  4888. "parameters": [
  4889. {
  4890. "type": "string",
  4891. "description": "资金账号ID列表,逗号隔开",
  4892. "name": "accountids",
  4893. "in": "query",
  4894. "required": true
  4895. }
  4896. ],
  4897. "responses": {
  4898. "200": {
  4899. "description": "OK",
  4900. "schema": {
  4901. "type": "array",
  4902. "items": {
  4903. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4904. }
  4905. }
  4906. },
  4907. "500": {
  4908. "description": "Internal Server Error",
  4909. "schema": {
  4910. "$ref": "#/definitions/app.Response"
  4911. }
  4912. }
  4913. }
  4914. }
  4915. },
  4916. "/Erms3/QuerySpotContractAppleForm": {
  4917. "get": {
  4918. "security": [
  4919. {
  4920. "ApiKeyAuth": []
  4921. }
  4922. ],
  4923. "produces": [
  4924. "application/json"
  4925. ],
  4926. "tags": [
  4927. "风险管理v3"
  4928. ],
  4929. "summary": "查询合同申请表单数据",
  4930. "parameters": [
  4931. {
  4932. "type": "integer",
  4933. "description": "登录账号",
  4934. "name": "loginID",
  4935. "in": "query",
  4936. "required": true
  4937. }
  4938. ],
  4939. "responses": {
  4940. "200": {
  4941. "description": "OK",
  4942. "schema": {
  4943. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4944. }
  4945. },
  4946. "500": {
  4947. "description": "Internal Server Error",
  4948. "schema": {
  4949. "$ref": "#/definitions/app.Response"
  4950. }
  4951. }
  4952. }
  4953. }
  4954. },
  4955. "/Erms3/QuerySpotContractDetail": {
  4956. "get": {
  4957. "security": [
  4958. {
  4959. "ApiKeyAuth": []
  4960. }
  4961. ],
  4962. "produces": [
  4963. "application/json"
  4964. ],
  4965. "tags": [
  4966. "风险管理v3"
  4967. ],
  4968. "summary": "查询合同详细信息",
  4969. "parameters": [
  4970. {
  4971. "type": "string",
  4972. "description": "资金账号ID列表,用逗号分隔",
  4973. "name": "accountids",
  4974. "in": "query",
  4975. "required": true
  4976. },
  4977. {
  4978. "type": "integer",
  4979. "description": "合同类型,1为采购合同 -1为销售合同",
  4980. "name": "contracttype",
  4981. "in": "query",
  4982. "required": true
  4983. },
  4984. {
  4985. "type": "integer",
  4986. "description": "合同模式,1为普通合同 2为回购销售合同",
  4987. "name": "contractmode",
  4988. "in": "query",
  4989. "required": true
  4990. },
  4991. {
  4992. "type": "integer",
  4993. "description": "状态,0为履约中 1为已完成",
  4994. "name": "status",
  4995. "in": "query",
  4996. "required": true
  4997. }
  4998. ],
  4999. "responses": {
  5000. "200": {
  5001. "description": "OK",
  5002. "schema": {
  5003. "type": "array",
  5004. "items": {
  5005. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5006. }
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Erms3/QueryUserInfoApplies": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "风险管理v3"
  5030. ],
  5031. "summary": "客户申请信息查询",
  5032. "parameters": [
  5033. {
  5034. "type": "integer",
  5035. "description": "页码",
  5036. "name": "page",
  5037. "in": "query"
  5038. },
  5039. {
  5040. "type": "integer",
  5041. "description": "每页条数",
  5042. "name": "pagesize",
  5043. "in": "query"
  5044. },
  5045. {
  5046. "type": "string",
  5047. "description": "客户名称,支持模糊查询",
  5048. "name": "userName",
  5049. "in": "query"
  5050. }
  5051. ],
  5052. "responses": {
  5053. "200": {
  5054. "description": "OK",
  5055. "schema": {
  5056. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5057. }
  5058. },
  5059. "500": {
  5060. "description": "Internal Server Error",
  5061. "schema": {
  5062. "$ref": "#/definitions/app.Response"
  5063. }
  5064. }
  5065. }
  5066. }
  5067. },
  5068. "/Erms3/QueryUserInfos": {
  5069. "get": {
  5070. "security": [
  5071. {
  5072. "ApiKeyAuth": []
  5073. }
  5074. ],
  5075. "produces": [
  5076. "application/json"
  5077. ],
  5078. "tags": [
  5079. "风险管理v3"
  5080. ],
  5081. "summary": "客户信息查询",
  5082. "parameters": [
  5083. {
  5084. "type": "integer",
  5085. "description": "页码",
  5086. "name": "page",
  5087. "in": "query"
  5088. },
  5089. {
  5090. "type": "integer",
  5091. "description": "每页条数",
  5092. "name": "pagesize",
  5093. "in": "query"
  5094. },
  5095. {
  5096. "type": "string",
  5097. "description": "客户名称,支持模糊查询",
  5098. "name": "userName",
  5099. "in": "query"
  5100. }
  5101. ],
  5102. "responses": {
  5103. "200": {
  5104. "description": "OK",
  5105. "schema": {
  5106. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5107. }
  5108. },
  5109. "500": {
  5110. "description": "Internal Server Error",
  5111. "schema": {
  5112. "$ref": "#/definitions/app.Response"
  5113. }
  5114. }
  5115. }
  5116. }
  5117. },
  5118. "/HSBY/GetHsbyMyCount": {
  5119. "get": {
  5120. "security": [
  5121. {
  5122. "ApiKeyAuth": []
  5123. }
  5124. ],
  5125. "description": "说明: 不包括已完成的数量。",
  5126. "produces": [
  5127. "application/json"
  5128. ],
  5129. "tags": [
  5130. "定制【海商报业】"
  5131. ],
  5132. "summary": "获取我的订单与包裹数量",
  5133. "parameters": [
  5134. {
  5135. "type": "string",
  5136. "description": "资金账户列表,格式:1,2,3",
  5137. "name": "accountIDs",
  5138. "in": "query",
  5139. "required": true
  5140. }
  5141. ],
  5142. "responses": {
  5143. "200": {
  5144. "description": "OK",
  5145. "schema": {
  5146. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5147. }
  5148. },
  5149. "500": {
  5150. "description": "Internal Server Error",
  5151. "schema": {
  5152. "$ref": "#/definitions/app.Response"
  5153. }
  5154. }
  5155. }
  5156. }
  5157. },
  5158. "/HSBY/QueryClientFixedADConfigs": {
  5159. "get": {
  5160. "security": [
  5161. {
  5162. "ApiKeyAuth": []
  5163. }
  5164. ],
  5165. "produces": [
  5166. "application/json"
  5167. ],
  5168. "tags": [
  5169. "定制【海商报业】"
  5170. ],
  5171. "summary": "获取终端固定广告配置",
  5172. "responses": {
  5173. "200": {
  5174. "description": "OK",
  5175. "schema": {
  5176. "$ref": "#/definitions/models.Clientfixedadconfig"
  5177. }
  5178. },
  5179. "500": {
  5180. "description": "Internal Server Error",
  5181. "schema": {
  5182. "$ref": "#/definitions/app.Response"
  5183. }
  5184. }
  5185. }
  5186. }
  5187. },
  5188. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5189. "get": {
  5190. "security": [
  5191. {
  5192. "ApiKeyAuth": []
  5193. }
  5194. ],
  5195. "produces": [
  5196. "application/json"
  5197. ],
  5198. "tags": [
  5199. "定制【海商报业】"
  5200. ],
  5201. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5202. "parameters": [
  5203. {
  5204. "type": "integer",
  5205. "description": "页码",
  5206. "name": "page",
  5207. "in": "query"
  5208. },
  5209. {
  5210. "type": "integer",
  5211. "description": "每页条数",
  5212. "name": "pagesize",
  5213. "in": "query"
  5214. },
  5215. {
  5216. "type": "string",
  5217. "description": "资金账户列表,格式:1,2,3",
  5218. "name": "accountIDs",
  5219. "in": "query",
  5220. "required": true
  5221. }
  5222. ],
  5223. "responses": {
  5224. "200": {
  5225. "description": "OK",
  5226. "schema": {
  5227. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5228. }
  5229. },
  5230. "500": {
  5231. "description": "Internal Server Error",
  5232. "schema": {
  5233. "$ref": "#/definitions/app.Response"
  5234. }
  5235. }
  5236. }
  5237. }
  5238. },
  5239. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5240. "get": {
  5241. "security": [
  5242. {
  5243. "ApiKeyAuth": []
  5244. }
  5245. ],
  5246. "description": "说明:查询结果已按委托价格和委托时间排序",
  5247. "produces": [
  5248. "application/json"
  5249. ],
  5250. "tags": [
  5251. "定制【海商报业】"
  5252. ],
  5253. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5254. "parameters": [
  5255. {
  5256. "type": "integer",
  5257. "description": "商品ID",
  5258. "name": "goodsID",
  5259. "in": "query",
  5260. "required": true
  5261. },
  5262. {
  5263. "type": "string",
  5264. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5265. "name": "accountIDs",
  5266. "in": "query"
  5267. },
  5268. {
  5269. "type": "integer",
  5270. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5271. "name": "buyOrSell",
  5272. "in": "query"
  5273. },
  5274. {
  5275. "type": "number",
  5276. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5277. "name": "price",
  5278. "in": "query"
  5279. },
  5280. {
  5281. "type": "integer",
  5282. "description": "档位,不传则默认为3档",
  5283. "name": "speed",
  5284. "in": "query"
  5285. }
  5286. ],
  5287. "responses": {
  5288. "200": {
  5289. "description": "OK",
  5290. "schema": {
  5291. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5292. }
  5293. },
  5294. "500": {
  5295. "description": "Internal Server Error",
  5296. "schema": {
  5297. "$ref": "#/definitions/app.Response"
  5298. }
  5299. }
  5300. }
  5301. }
  5302. },
  5303. "/HSBY/QueryHsbyListingGoodsDetail": {
  5304. "get": {
  5305. "security": [
  5306. {
  5307. "ApiKeyAuth": []
  5308. }
  5309. ],
  5310. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5311. "produces": [
  5312. "application/json"
  5313. ],
  5314. "tags": [
  5315. "定制【海商报业】"
  5316. ],
  5317. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5318. "parameters": [
  5319. {
  5320. "type": "integer",
  5321. "description": "商品ID",
  5322. "name": "goodsID",
  5323. "in": "query",
  5324. "required": true
  5325. },
  5326. {
  5327. "type": "integer",
  5328. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5329. "name": "accountID",
  5330. "in": "query"
  5331. }
  5332. ],
  5333. "responses": {
  5334. "200": {
  5335. "description": "OK",
  5336. "schema": {
  5337. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5338. }
  5339. },
  5340. "500": {
  5341. "description": "Internal Server Error",
  5342. "schema": {
  5343. "$ref": "#/definitions/app.Response"
  5344. }
  5345. }
  5346. }
  5347. }
  5348. },
  5349. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5350. "get": {
  5351. "security": [
  5352. {
  5353. "ApiKeyAuth": []
  5354. }
  5355. ],
  5356. "produces": [
  5357. "application/json"
  5358. ],
  5359. "tags": [
  5360. "定制【海商报业】"
  5361. ],
  5362. "summary": "查询三级市场(商城)商品信息详情",
  5363. "parameters": [
  5364. {
  5365. "type": "integer",
  5366. "description": "委托单号",
  5367. "name": "orderID",
  5368. "in": "query",
  5369. "required": true
  5370. },
  5371. {
  5372. "type": "integer",
  5373. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5374. "name": "accountID",
  5375. "in": "query"
  5376. }
  5377. ],
  5378. "responses": {
  5379. "200": {
  5380. "description": "OK",
  5381. "schema": {
  5382. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5383. }
  5384. },
  5385. "500": {
  5386. "description": "Internal Server Error",
  5387. "schema": {
  5388. "$ref": "#/definitions/app.Response"
  5389. }
  5390. }
  5391. }
  5392. }
  5393. },
  5394. "/HSBY/QueryHsbyMarketGoodses": {
  5395. "get": {
  5396. "security": [
  5397. {
  5398. "ApiKeyAuth": []
  5399. }
  5400. ],
  5401. "produces": [
  5402. "application/json"
  5403. ],
  5404. "tags": [
  5405. "定制【海商报业】"
  5406. ],
  5407. "summary": "查询特卖商品列表(三级商城)",
  5408. "parameters": [
  5409. {
  5410. "type": "integer",
  5411. "description": "页码",
  5412. "name": "page",
  5413. "in": "query"
  5414. },
  5415. {
  5416. "type": "integer",
  5417. "description": "每页条数",
  5418. "name": "pagesize",
  5419. "in": "query"
  5420. },
  5421. {
  5422. "type": "string",
  5423. "description": "市场ID列表,格式:1,2,3",
  5424. "name": "marketIDs",
  5425. "in": "query",
  5426. "required": true
  5427. },
  5428. {
  5429. "type": "integer",
  5430. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5431. "name": "accountID",
  5432. "in": "query",
  5433. "required": true
  5434. },
  5435. {
  5436. "type": "integer",
  5437. "description": "类别ID",
  5438. "name": "categoryID",
  5439. "in": "query"
  5440. },
  5441. {
  5442. "type": "string",
  5443. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5444. "name": "goodsIDs",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "integer",
  5449. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5450. "name": "couponTypeID",
  5451. "in": "query"
  5452. }
  5453. ],
  5454. "responses": {
  5455. "200": {
  5456. "description": "OK",
  5457. "schema": {
  5458. "$ref": "#/definitions/models.HsbyMarketGoods"
  5459. }
  5460. },
  5461. "500": {
  5462. "description": "Internal Server Error",
  5463. "schema": {
  5464. "$ref": "#/definitions/app.Response"
  5465. }
  5466. }
  5467. }
  5468. }
  5469. },
  5470. "/HSBY/QueryHsbyMarkets": {
  5471. "get": {
  5472. "security": [
  5473. {
  5474. "ApiKeyAuth": []
  5475. }
  5476. ],
  5477. "produces": [
  5478. "application/json"
  5479. ],
  5480. "tags": [
  5481. "定制【海商报业】"
  5482. ],
  5483. "summary": "查询海商报业相关市场信息",
  5484. "responses": {
  5485. "200": {
  5486. "description": "OK",
  5487. "schema": {
  5488. "$ref": "#/definitions/models.HsbyMarketInfo"
  5489. }
  5490. },
  5491. "500": {
  5492. "description": "Internal Server Error",
  5493. "schema": {
  5494. "$ref": "#/definitions/app.Response"
  5495. }
  5496. }
  5497. }
  5498. }
  5499. },
  5500. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5501. "get": {
  5502. "security": [
  5503. {
  5504. "ApiKeyAuth": []
  5505. }
  5506. ],
  5507. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5508. "produces": [
  5509. "application/json"
  5510. ],
  5511. "tags": [
  5512. "定制【海商报业】"
  5513. ],
  5514. "summary": "查询“我的订单”信息",
  5515. "parameters": [
  5516. {
  5517. "type": "string",
  5518. "description": "资金账户列表,格式:1,2,3",
  5519. "name": "accountIDs",
  5520. "in": "query",
  5521. "required": true
  5522. }
  5523. ],
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/HSBY/QueryHsbyMyGoods": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  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.HsbyMyGoods"
  5569. }
  5570. },
  5571. "500": {
  5572. "description": "Internal Server Error",
  5573. "schema": {
  5574. "$ref": "#/definitions/app.Response"
  5575. }
  5576. }
  5577. }
  5578. }
  5579. },
  5580. "/HSBY/QueryHsbyMyPackages": {
  5581. "get": {
  5582. "security": [
  5583. {
  5584. "ApiKeyAuth": []
  5585. }
  5586. ],
  5587. "produces": [
  5588. "application/json"
  5589. ],
  5590. "tags": [
  5591. "定制【海商报业】"
  5592. ],
  5593. "summary": "查询我的包裹信息",
  5594. "parameters": [
  5595. {
  5596. "type": "string",
  5597. "description": "资金账户列表,格式:1,2,3",
  5598. "name": "accountIDs",
  5599. "in": "query",
  5600. "required": true
  5601. },
  5602. {
  5603. "type": "integer",
  5604. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5605. "name": "takeOrderStatus",
  5606. "in": "query"
  5607. }
  5608. ],
  5609. "responses": {
  5610. "200": {
  5611. "description": "OK",
  5612. "schema": {
  5613. "$ref": "#/definitions/models.HsbyMyPackage"
  5614. }
  5615. },
  5616. "500": {
  5617. "description": "Internal Server Error",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. }
  5622. }
  5623. }
  5624. },
  5625. "/HSBY/QueryHsbyPreGoodsDetail": {
  5626. "get": {
  5627. "security": [
  5628. {
  5629. "ApiKeyAuth": []
  5630. }
  5631. ],
  5632. "produces": [
  5633. "application/json"
  5634. ],
  5635. "tags": [
  5636. "定制【海商报业】"
  5637. ],
  5638. "summary": "查询一级市场(预售)商品信息详情",
  5639. "parameters": [
  5640. {
  5641. "type": "integer",
  5642. "description": "商品ID",
  5643. "name": "goodsID",
  5644. "in": "query",
  5645. "required": true
  5646. },
  5647. {
  5648. "type": "integer",
  5649. "description": "资金账户,主要用于获取预售商品购买上限",
  5650. "name": "accountID",
  5651. "in": "query"
  5652. }
  5653. ],
  5654. "responses": {
  5655. "200": {
  5656. "description": "OK",
  5657. "schema": {
  5658. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5659. }
  5660. },
  5661. "500": {
  5662. "description": "Internal Server Error",
  5663. "schema": {
  5664. "$ref": "#/definitions/app.Response"
  5665. }
  5666. }
  5667. }
  5668. }
  5669. },
  5670. "/HSBY/QueryHsbyPreGoodses": {
  5671. "get": {
  5672. "security": [
  5673. {
  5674. "ApiKeyAuth": []
  5675. }
  5676. ],
  5677. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5678. "produces": [
  5679. "application/json"
  5680. ],
  5681. "tags": [
  5682. "定制【海商报业】"
  5683. ],
  5684. "summary": "查询新品上市商品列表(一级市场预售)",
  5685. "parameters": [
  5686. {
  5687. "type": "integer",
  5688. "description": "页码",
  5689. "name": "page",
  5690. "in": "query"
  5691. },
  5692. {
  5693. "type": "integer",
  5694. "description": "每页条数",
  5695. "name": "pagesize",
  5696. "in": "query"
  5697. },
  5698. {
  5699. "type": "string",
  5700. "description": "市场ID列表,格式:1,2,3",
  5701. "name": "marketIDs",
  5702. "in": "query",
  5703. "required": true
  5704. },
  5705. {
  5706. "type": "integer",
  5707. "description": "目的地(省)ID",
  5708. "name": "descProvinceID",
  5709. "in": "query"
  5710. },
  5711. {
  5712. "type": "integer",
  5713. "description": "目的地(市)ID",
  5714. "name": "descCityID",
  5715. "in": "query"
  5716. }
  5717. ],
  5718. "responses": {
  5719. "200": {
  5720. "description": "OK",
  5721. "schema": {
  5722. "$ref": "#/definitions/models.HsbyPreGoods"
  5723. }
  5724. },
  5725. "500": {
  5726. "description": "Internal Server Error",
  5727. "schema": {
  5728. "$ref": "#/definitions/app.Response"
  5729. }
  5730. }
  5731. }
  5732. }
  5733. },
  5734. "/HSBY/QueryHsbySellMyDetails": {
  5735. "get": {
  5736. "security": [
  5737. {
  5738. "ApiKeyAuth": []
  5739. }
  5740. ],
  5741. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5742. "produces": [
  5743. "application/json"
  5744. ],
  5745. "tags": [
  5746. "定制【海商报业】"
  5747. ],
  5748. "summary": "查询\"我的闲置\"单据信息",
  5749. "parameters": [
  5750. {
  5751. "type": "integer",
  5752. "description": "页码",
  5753. "name": "page",
  5754. "in": "query"
  5755. },
  5756. {
  5757. "type": "integer",
  5758. "description": "每页条数",
  5759. "name": "pagesize",
  5760. "in": "query"
  5761. },
  5762. {
  5763. "type": "string",
  5764. "description": "资金账户列表,格式:1,2,3",
  5765. "name": "accountIDs",
  5766. "in": "query",
  5767. "required": true
  5768. },
  5769. {
  5770. "type": "integer",
  5771. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5772. "name": "orderType",
  5773. "in": "query"
  5774. }
  5775. ],
  5776. "responses": {
  5777. "200": {
  5778. "description": "OK",
  5779. "schema": {
  5780. "$ref": "#/definitions/models.HsbySellMyDetail"
  5781. }
  5782. },
  5783. "500": {
  5784. "description": "Internal Server Error",
  5785. "schema": {
  5786. "$ref": "#/definitions/app.Response"
  5787. }
  5788. }
  5789. }
  5790. }
  5791. },
  5792. "/HSBY/QueryHsbyTopGoodses": {
  5793. "get": {
  5794. "security": [
  5795. {
  5796. "ApiKeyAuth": []
  5797. }
  5798. ],
  5799. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5800. "produces": [
  5801. "application/json"
  5802. ],
  5803. "tags": [
  5804. "定制【海商报业】"
  5805. ],
  5806. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5807. "parameters": [
  5808. {
  5809. "type": "integer",
  5810. "description": "页码",
  5811. "name": "page",
  5812. "in": "query"
  5813. },
  5814. {
  5815. "type": "integer",
  5816. "description": "每页条数",
  5817. "name": "pagesize",
  5818. "in": "query"
  5819. },
  5820. {
  5821. "type": "string",
  5822. "description": "市场ID列表,格式:1,2,3",
  5823. "name": "marketIDs",
  5824. "in": "query",
  5825. "required": true
  5826. },
  5827. {
  5828. "type": "integer",
  5829. "description": "目的地(省)ID",
  5830. "name": "descProvinceID",
  5831. "in": "query"
  5832. },
  5833. {
  5834. "type": "integer",
  5835. "description": "目的地(市)ID",
  5836. "name": "descCityID",
  5837. "in": "query"
  5838. }
  5839. ],
  5840. "responses": {
  5841. "200": {
  5842. "description": "OK",
  5843. "schema": {
  5844. "$ref": "#/definitions/models.HsbyTopGoods"
  5845. }
  5846. },
  5847. "500": {
  5848. "description": "Internal Server Error",
  5849. "schema": {
  5850. "$ref": "#/definitions/app.Response"
  5851. }
  5852. }
  5853. }
  5854. }
  5855. },
  5856. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5857. "get": {
  5858. "security": [
  5859. {
  5860. "ApiKeyAuth": []
  5861. }
  5862. ],
  5863. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5864. "produces": [
  5865. "application/json"
  5866. ],
  5867. "tags": [
  5868. "定制【海商报业】"
  5869. ],
  5870. "summary": "查询游客三级市场(商城)商品信息详情",
  5871. "parameters": [
  5872. {
  5873. "type": "integer",
  5874. "description": "商品ID",
  5875. "name": "goodsID",
  5876. "in": "query",
  5877. "required": true
  5878. }
  5879. ],
  5880. "responses": {
  5881. "200": {
  5882. "description": "OK",
  5883. "schema": {
  5884. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5885. }
  5886. },
  5887. "500": {
  5888. "description": "Internal Server Error",
  5889. "schema": {
  5890. "$ref": "#/definitions/app.Response"
  5891. }
  5892. }
  5893. }
  5894. }
  5895. },
  5896. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5897. "get": {
  5898. "security": [
  5899. {
  5900. "ApiKeyAuth": []
  5901. }
  5902. ],
  5903. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5904. "produces": [
  5905. "application/json"
  5906. ],
  5907. "tags": [
  5908. "定制【海商报业】"
  5909. ],
  5910. "summary": "查询游客特卖商品列表(三级商城)",
  5911. "parameters": [
  5912. {
  5913. "type": "integer",
  5914. "description": "页码",
  5915. "name": "page",
  5916. "in": "query"
  5917. },
  5918. {
  5919. "type": "integer",
  5920. "description": "每页条数",
  5921. "name": "pagesize",
  5922. "in": "query"
  5923. },
  5924. {
  5925. "type": "string",
  5926. "description": "市场ID列表,格式:1,2,3",
  5927. "name": "marketIDs",
  5928. "in": "query",
  5929. "required": true
  5930. },
  5931. {
  5932. "type": "integer",
  5933. "description": "类别ID",
  5934. "name": "categoryID",
  5935. "in": "query"
  5936. },
  5937. {
  5938. "type": "string",
  5939. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5940. "name": "goodsIDs",
  5941. "in": "query"
  5942. }
  5943. ],
  5944. "responses": {
  5945. "200": {
  5946. "description": "OK",
  5947. "schema": {
  5948. "$ref": "#/definitions/models.HsbyMarketGoods"
  5949. }
  5950. },
  5951. "500": {
  5952. "description": "Internal Server Error",
  5953. "schema": {
  5954. "$ref": "#/definitions/app.Response"
  5955. }
  5956. }
  5957. }
  5958. }
  5959. },
  5960. "/HSBY/QueryMyCollectionOrders": {
  5961. "get": {
  5962. "security": [
  5963. {
  5964. "ApiKeyAuth": []
  5965. }
  5966. ],
  5967. "produces": [
  5968. "application/json"
  5969. ],
  5970. "tags": [
  5971. "定制【海商报业】"
  5972. ],
  5973. "summary": "我的闲置中收款信息查询",
  5974. "parameters": [
  5975. {
  5976. "type": "integer",
  5977. "description": "页码",
  5978. "name": "page",
  5979. "in": "query"
  5980. },
  5981. {
  5982. "type": "integer",
  5983. "description": "每页条数",
  5984. "name": "pagesize",
  5985. "in": "query"
  5986. },
  5987. {
  5988. "type": "string",
  5989. "description": "资金账户,格式:1,2,3",
  5990. "name": "accountIDs",
  5991. "in": "query",
  5992. "required": true
  5993. }
  5994. ],
  5995. "responses": {
  5996. "200": {
  5997. "description": "OK",
  5998. "schema": {
  5999. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6000. }
  6001. },
  6002. "500": {
  6003. "description": "Internal Server Error",
  6004. "schema": {
  6005. "$ref": "#/definitions/app.Response"
  6006. }
  6007. }
  6008. }
  6009. }
  6010. },
  6011. "/HSBY/QueryMyCouponHolds": {
  6012. "get": {
  6013. "security": [
  6014. {
  6015. "ApiKeyAuth": []
  6016. }
  6017. ],
  6018. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6019. "produces": [
  6020. "application/json"
  6021. ],
  6022. "tags": [
  6023. "定制【海商报业】"
  6024. ],
  6025. "summary": "我的优惠卷持仓查询",
  6026. "parameters": [
  6027. {
  6028. "type": "string",
  6029. "description": "资金账户列表,格式:1,2,3",
  6030. "name": "accountIDs",
  6031. "in": "query",
  6032. "required": true
  6033. },
  6034. {
  6035. "type": "string",
  6036. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6037. "name": "holdStatus",
  6038. "in": "query"
  6039. }
  6040. ],
  6041. "responses": {
  6042. "200": {
  6043. "description": "OK",
  6044. "schema": {
  6045. "$ref": "#/definitions/models.MyCouponHold"
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/HSBY/QueryMyCoupons": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "定制【海商报业】"
  6069. ],
  6070. "summary": "我的优惠卷查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "资金账户列表,格式:1,2,3",
  6075. "name": "accountIDs",
  6076. "in": "query",
  6077. "required": true
  6078. },
  6079. {
  6080. "type": "integer",
  6081. "description": "商品ID, 一般与sellUserID配套传入",
  6082. "name": "goodsID",
  6083. "in": "query"
  6084. },
  6085. {
  6086. "type": "integer",
  6087. "description": "卖方UserID",
  6088. "name": "sellUserID",
  6089. "in": "query"
  6090. }
  6091. ],
  6092. "responses": {
  6093. "200": {
  6094. "description": "OK",
  6095. "schema": {
  6096. "$ref": "#/definitions/models.MyCoupon"
  6097. }
  6098. },
  6099. "500": {
  6100. "description": "Internal Server Error",
  6101. "schema": {
  6102. "$ref": "#/definitions/app.Response"
  6103. }
  6104. }
  6105. }
  6106. }
  6107. },
  6108. "/HSBY/QueryMyPayOrders": {
  6109. "get": {
  6110. "security": [
  6111. {
  6112. "ApiKeyAuth": []
  6113. }
  6114. ],
  6115. "produces": [
  6116. "application/json"
  6117. ],
  6118. "tags": [
  6119. "定制【海商报业】"
  6120. ],
  6121. "summary": "获取我的订单中待付款信息",
  6122. "parameters": [
  6123. {
  6124. "type": "integer",
  6125. "description": "页码",
  6126. "name": "page",
  6127. "in": "query"
  6128. },
  6129. {
  6130. "type": "integer",
  6131. "description": "每页条数",
  6132. "name": "pagesize",
  6133. "in": "query"
  6134. },
  6135. {
  6136. "type": "string",
  6137. "description": "资金账户列表,格式:1,2,3",
  6138. "name": "accountIDs",
  6139. "in": "query",
  6140. "required": true
  6141. },
  6142. {
  6143. "type": "integer",
  6144. "description": "买方委托单号",
  6145. "name": "buyOrderID",
  6146. "in": "query"
  6147. },
  6148. {
  6149. "type": "integer",
  6150. "description": "卖方委托单号",
  6151. "name": "sellOrderID",
  6152. "in": "query"
  6153. }
  6154. ],
  6155. "responses": {
  6156. "200": {
  6157. "description": "OK",
  6158. "schema": {
  6159. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6160. }
  6161. },
  6162. "500": {
  6163. "description": "Internal Server Error",
  6164. "schema": {
  6165. "$ref": "#/definitions/app.Response"
  6166. }
  6167. }
  6168. }
  6169. }
  6170. },
  6171. "/HSBY/QueryMyUsedCoupon": {
  6172. "get": {
  6173. "security": [
  6174. {
  6175. "ApiKeyAuth": []
  6176. }
  6177. ],
  6178. "produces": [
  6179. "application/json"
  6180. ],
  6181. "tags": [
  6182. "定制【海商报业】"
  6183. ],
  6184. "summary": "已使用优惠卷查询",
  6185. "parameters": [
  6186. {
  6187. "type": "string",
  6188. "description": "资金账户列表,格式:1,2,3",
  6189. "name": "accountIDs",
  6190. "in": "query",
  6191. "required": true
  6192. }
  6193. ],
  6194. "responses": {
  6195. "200": {
  6196. "description": "OK",
  6197. "schema": {
  6198. "$ref": "#/definitions/models.MyUsedCoupon"
  6199. }
  6200. },
  6201. "500": {
  6202. "description": "Internal Server Error",
  6203. "schema": {
  6204. "$ref": "#/definitions/app.Response"
  6205. }
  6206. }
  6207. }
  6208. }
  6209. },
  6210. "/HSBY/QueryProvincesAndCities": {
  6211. "get": {
  6212. "security": [
  6213. {
  6214. "ApiKeyAuth": []
  6215. }
  6216. ],
  6217. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6218. "produces": [
  6219. "application/json"
  6220. ],
  6221. "tags": [
  6222. "定制【海商报业】"
  6223. ],
  6224. "summary": "查询省市信息(不包括区)",
  6225. "parameters": [
  6226. {
  6227. "type": "integer",
  6228. "description": "省ID",
  6229. "name": "provinceID",
  6230. "in": "query"
  6231. }
  6232. ],
  6233. "responses": {
  6234. "200": {
  6235. "description": "OK",
  6236. "schema": {
  6237. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6238. }
  6239. },
  6240. "500": {
  6241. "description": "Internal Server Error",
  6242. "schema": {
  6243. "$ref": "#/definitions/app.Response"
  6244. }
  6245. }
  6246. }
  6247. }
  6248. },
  6249. "/HSBY/SetHsbyMyPackagesStatus": {
  6250. "post": {
  6251. "security": [
  6252. {
  6253. "ApiKeyAuth": []
  6254. }
  6255. ],
  6256. "produces": [
  6257. "application/json"
  6258. ],
  6259. "tags": [
  6260. "定制【海商报业】"
  6261. ],
  6262. "summary": "设置我的包裹已收货状态",
  6263. "parameters": [
  6264. {
  6265. "type": "string",
  6266. "description": "提货单号",
  6267. "name": "takeOrderID",
  6268. "in": "query",
  6269. "required": true
  6270. },
  6271. {
  6272. "type": "integer",
  6273. "description": "资金账号",
  6274. "name": "accountID",
  6275. "in": "query",
  6276. "required": true
  6277. }
  6278. ],
  6279. "responses": {
  6280. "200": {
  6281. "description": "OK",
  6282. "schema": {
  6283. "$ref": "#/definitions/app.Response"
  6284. }
  6285. },
  6286. "500": {
  6287. "description": "Internal Server Error",
  6288. "schema": {
  6289. "$ref": "#/definitions/app.Response"
  6290. }
  6291. }
  6292. }
  6293. }
  6294. },
  6295. "/Market/QueryGoodsesByLoginID": {
  6296. "get": {
  6297. "security": [
  6298. {
  6299. "ApiKeyAuth": []
  6300. }
  6301. ],
  6302. "produces": [
  6303. "application/json"
  6304. ],
  6305. "tags": [
  6306. "通用市场"
  6307. ],
  6308. "summary": "获取登录账号有权限的商品信息",
  6309. "parameters": [
  6310. {
  6311. "type": "integer",
  6312. "description": "登录账号",
  6313. "name": "loginID",
  6314. "in": "query",
  6315. "required": true
  6316. },
  6317. {
  6318. "type": "string",
  6319. "description": "市场ID列表,格式:1,2,3",
  6320. "name": "marketIDs",
  6321. "in": "query"
  6322. }
  6323. ],
  6324. "responses": {
  6325. "200": {
  6326. "description": "OK",
  6327. "schema": {
  6328. "$ref": "#/definitions/models.Goods"
  6329. }
  6330. },
  6331. "500": {
  6332. "description": "Internal Server Error",
  6333. "schema": {
  6334. "$ref": "#/definitions/app.Response"
  6335. }
  6336. }
  6337. }
  6338. }
  6339. },
  6340. "/Market/QueryMarketRun": {
  6341. "get": {
  6342. "security": [
  6343. {
  6344. "ApiKeyAuth": []
  6345. }
  6346. ],
  6347. "produces": [
  6348. "application/json"
  6349. ],
  6350. "tags": [
  6351. "通用市场"
  6352. ],
  6353. "summary": "查询市场运行信息",
  6354. "parameters": [
  6355. {
  6356. "type": "integer",
  6357. "description": "市场ID,不传返回所有",
  6358. "name": "marketID",
  6359. "in": "query"
  6360. }
  6361. ],
  6362. "responses": {
  6363. "200": {
  6364. "description": "OK",
  6365. "schema": {
  6366. "$ref": "#/definitions/models.Marketrun"
  6367. }
  6368. },
  6369. "500": {
  6370. "description": "Internal Server Error",
  6371. "schema": {
  6372. "$ref": "#/definitions/app.Response"
  6373. }
  6374. }
  6375. }
  6376. }
  6377. },
  6378. "/Market/QueryMarketsByLoginID": {
  6379. "get": {
  6380. "security": [
  6381. {
  6382. "ApiKeyAuth": []
  6383. }
  6384. ],
  6385. "produces": [
  6386. "application/json"
  6387. ],
  6388. "tags": [
  6389. "通用市场"
  6390. ],
  6391. "summary": "获取登录账号有权限的市场信息",
  6392. "parameters": [
  6393. {
  6394. "type": "integer",
  6395. "description": "登录账号",
  6396. "name": "loginID",
  6397. "in": "query",
  6398. "required": true
  6399. }
  6400. ],
  6401. "responses": {
  6402. "200": {
  6403. "description": "OK",
  6404. "schema": {
  6405. "$ref": "#/definitions/models.Market"
  6406. }
  6407. },
  6408. "500": {
  6409. "description": "Internal Server Error",
  6410. "schema": {
  6411. "$ref": "#/definitions/app.Response"
  6412. }
  6413. }
  6414. }
  6415. }
  6416. },
  6417. "/Order/QueryHisTradeDetail": {
  6418. "get": {
  6419. "security": [
  6420. {
  6421. "ApiKeyAuth": []
  6422. }
  6423. ],
  6424. "produces": [
  6425. "application/json"
  6426. ],
  6427. "tags": [
  6428. "通用单据"
  6429. ],
  6430. "summary": "历史成交单查询(合约市场)",
  6431. "parameters": [
  6432. {
  6433. "type": "string",
  6434. "description": "资金账户 - 格式:1,2,3",
  6435. "name": "accountID",
  6436. "in": "query",
  6437. "required": true
  6438. },
  6439. {
  6440. "type": "integer",
  6441. "description": "成交单号",
  6442. "name": "tradeID",
  6443. "in": "query"
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "委托单号",
  6448. "name": "orderID",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "string",
  6453. "description": "交易模式 - 格式:1,2,3",
  6454. "name": "tradeMode",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "integer",
  6459. "description": "委托单据类型",
  6460. "name": "buildType",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "string",
  6465. "description": "成交类别 - 格式:1,2,3",
  6466. "name": "tradeType",
  6467. "in": "query"
  6468. },
  6469. {
  6470. "type": "string",
  6471. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6472. "name": "startDate",
  6473. "in": "query"
  6474. },
  6475. {
  6476. "type": "string",
  6477. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6478. "name": "endDate",
  6479. "in": "query"
  6480. }
  6481. ],
  6482. "responses": {
  6483. "200": {
  6484. "description": "OK",
  6485. "schema": {
  6486. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6487. }
  6488. },
  6489. "500": {
  6490. "description": "Internal Server Error",
  6491. "schema": {
  6492. "$ref": "#/definitions/app.Response"
  6493. }
  6494. }
  6495. }
  6496. }
  6497. },
  6498. "/Order/QueryHisTradeOrderDetail": {
  6499. "get": {
  6500. "security": [
  6501. {
  6502. "ApiKeyAuth": []
  6503. }
  6504. ],
  6505. "produces": [
  6506. "application/json"
  6507. ],
  6508. "tags": [
  6509. "通用单据"
  6510. ],
  6511. "summary": "历史委托单查询请求(合约市场)",
  6512. "parameters": [
  6513. {
  6514. "type": "string",
  6515. "description": "资金账户 - 格式:1,2,3",
  6516. "name": "accountID",
  6517. "in": "query",
  6518. "required": true
  6519. },
  6520. {
  6521. "type": "string",
  6522. "description": "交易模式 - 格式:1,2,3",
  6523. "name": "tradeMode",
  6524. "in": "query"
  6525. },
  6526. {
  6527. "type": "string",
  6528. "description": "委托状态 - 格式:1,2,3",
  6529. "name": "orderStatus",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "integer",
  6534. "description": "委托单号",
  6535. "name": "orderID",
  6536. "in": "query"
  6537. },
  6538. {
  6539. "type": "string",
  6540. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6541. "name": "startDate",
  6542. "in": "query"
  6543. },
  6544. {
  6545. "type": "string",
  6546. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6547. "name": "endDate",
  6548. "in": "query"
  6549. }
  6550. ],
  6551. "responses": {
  6552. "200": {
  6553. "description": "OK",
  6554. "schema": {
  6555. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6556. }
  6557. },
  6558. "500": {
  6559. "description": "Internal Server Error",
  6560. "schema": {
  6561. "$ref": "#/definitions/app.Response"
  6562. }
  6563. }
  6564. }
  6565. }
  6566. },
  6567. "/Order/QueryTradeDetail": {
  6568. "get": {
  6569. "security": [
  6570. {
  6571. "ApiKeyAuth": []
  6572. }
  6573. ],
  6574. "produces": [
  6575. "application/json"
  6576. ],
  6577. "tags": [
  6578. "通用单据"
  6579. ],
  6580. "summary": "成交单查询(合约市场)",
  6581. "parameters": [
  6582. {
  6583. "type": "string",
  6584. "description": "资金账户 - 格式:1,2,3",
  6585. "name": "accountID",
  6586. "in": "query",
  6587. "required": true
  6588. },
  6589. {
  6590. "type": "integer",
  6591. "description": "成交单号",
  6592. "name": "tradeID",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "委托单号",
  6598. "name": "orderID",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "string",
  6603. "description": "交易模式 - 格式:1,2,3",
  6604. "name": "tradeMode",
  6605. "in": "query"
  6606. },
  6607. {
  6608. "type": "integer",
  6609. "description": "委托单据类型",
  6610. "name": "buildType",
  6611. "in": "query"
  6612. },
  6613. {
  6614. "type": "string",
  6615. "description": "成交类别 - 格式:1,2,3",
  6616. "name": "tradeType",
  6617. "in": "query"
  6618. }
  6619. ],
  6620. "responses": {
  6621. "200": {
  6622. "description": "OK",
  6623. "schema": {
  6624. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6625. }
  6626. },
  6627. "500": {
  6628. "description": "Internal Server Error",
  6629. "schema": {
  6630. "$ref": "#/definitions/app.Response"
  6631. }
  6632. }
  6633. }
  6634. }
  6635. },
  6636. "/Order/QueryTradeOrderDetail": {
  6637. "get": {
  6638. "security": [
  6639. {
  6640. "ApiKeyAuth": []
  6641. }
  6642. ],
  6643. "produces": [
  6644. "application/json"
  6645. ],
  6646. "tags": [
  6647. "通用单据"
  6648. ],
  6649. "summary": "委托单查询请求(合约市场)",
  6650. "parameters": [
  6651. {
  6652. "type": "string",
  6653. "description": "资金账户 - 格式:1,2,3",
  6654. "name": "accountID",
  6655. "in": "query",
  6656. "required": true
  6657. },
  6658. {
  6659. "type": "string",
  6660. "description": "交易模式 - 格式:1,2,3",
  6661. "name": "tradeMode",
  6662. "in": "query"
  6663. },
  6664. {
  6665. "type": "string",
  6666. "description": "委托状态 - 格式:1,2,3",
  6667. "name": "orderStatus",
  6668. "in": "query"
  6669. },
  6670. {
  6671. "type": "integer",
  6672. "description": "委托单号",
  6673. "name": "orderID",
  6674. "in": "query"
  6675. }
  6676. ],
  6677. "responses": {
  6678. "200": {
  6679. "description": "OK",
  6680. "schema": {
  6681. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6682. }
  6683. },
  6684. "500": {
  6685. "description": "Internal Server Error",
  6686. "schema": {
  6687. "$ref": "#/definitions/app.Response"
  6688. }
  6689. }
  6690. }
  6691. }
  6692. },
  6693. "/Order/QueryTradePosition": {
  6694. "get": {
  6695. "security": [
  6696. {
  6697. "ApiKeyAuth": []
  6698. }
  6699. ],
  6700. "produces": [
  6701. "application/json"
  6702. ],
  6703. "tags": [
  6704. "通用单据"
  6705. ],
  6706. "summary": "持仓汇总查询(合约市场)",
  6707. "parameters": [
  6708. {
  6709. "type": "string",
  6710. "description": "资金账户 - 格式:1,2,3",
  6711. "name": "accountID",
  6712. "in": "query",
  6713. "required": true
  6714. },
  6715. {
  6716. "type": "string",
  6717. "description": "交易模式 - 格式:1,2,3",
  6718. "name": "tradeMode",
  6719. "in": "query"
  6720. }
  6721. ],
  6722. "responses": {
  6723. "200": {
  6724. "description": "OK",
  6725. "schema": {
  6726. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6727. }
  6728. },
  6729. "500": {
  6730. "description": "Internal Server Error",
  6731. "schema": {
  6732. "$ref": "#/definitions/app.Response"
  6733. }
  6734. }
  6735. }
  6736. }
  6737. },
  6738. "/Qhj/QueryContract": {
  6739. "get": {
  6740. "security": [
  6741. {
  6742. "ApiKeyAuth": []
  6743. }
  6744. ],
  6745. "produces": [
  6746. "application/json"
  6747. ],
  6748. "tags": [
  6749. "大连千海金"
  6750. ],
  6751. "summary": "查询融资明细(合同)",
  6752. "parameters": [
  6753. {
  6754. "type": "integer",
  6755. "description": "用户ID",
  6756. "name": "userid",
  6757. "in": "query",
  6758. "required": true
  6759. },
  6760. {
  6761. "type": "integer",
  6762. "description": "scf合同id",
  6763. "name": "scfcontractid",
  6764. "in": "query"
  6765. }
  6766. ],
  6767. "responses": {
  6768. "200": {
  6769. "description": "OK",
  6770. "schema": {
  6771. "type": "array",
  6772. "items": {
  6773. "$ref": "#/definitions/models.QhjContract"
  6774. }
  6775. }
  6776. },
  6777. "500": {
  6778. "description": "Internal Server Error",
  6779. "schema": {
  6780. "$ref": "#/definitions/app.Response"
  6781. }
  6782. }
  6783. }
  6784. }
  6785. },
  6786. "/Qhj/QueryContractLog": {
  6787. "get": {
  6788. "security": [
  6789. {
  6790. "ApiKeyAuth": []
  6791. }
  6792. ],
  6793. "produces": [
  6794. "application/json"
  6795. ],
  6796. "tags": [
  6797. "大连千海金"
  6798. ],
  6799. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  6800. "parameters": [
  6801. {
  6802. "type": "integer",
  6803. "description": "scf合同id",
  6804. "name": "scfcontractid",
  6805. "in": "query",
  6806. "required": true
  6807. },
  6808. {
  6809. "type": "string",
  6810. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  6811. "name": "amounttype",
  6812. "in": "query"
  6813. }
  6814. ],
  6815. "responses": {
  6816. "200": {
  6817. "description": "OK",
  6818. "schema": {
  6819. "type": "array",
  6820. "items": {
  6821. "$ref": "#/definitions/models.QhjContractLog"
  6822. }
  6823. }
  6824. },
  6825. "500": {
  6826. "description": "Internal Server Error",
  6827. "schema": {
  6828. "$ref": "#/definitions/app.Response"
  6829. }
  6830. }
  6831. }
  6832. }
  6833. },
  6834. "/Qhj/QueryRSTriggerLog": {
  6835. "get": {
  6836. "security": [
  6837. {
  6838. "ApiKeyAuth": []
  6839. }
  6840. ],
  6841. "produces": [
  6842. "application/json"
  6843. ],
  6844. "tags": [
  6845. "大连千海金"
  6846. ],
  6847. "summary": "查询定投记录(定投管理/详情/定投记录)",
  6848. "parameters": [
  6849. {
  6850. "type": "integer",
  6851. "description": "用户ID",
  6852. "name": "userid",
  6853. "in": "query",
  6854. "required": true
  6855. },
  6856. {
  6857. "type": "integer",
  6858. "description": "定投策略id",
  6859. "name": "regularlystrategyid",
  6860. "in": "query"
  6861. }
  6862. ],
  6863. "responses": {
  6864. "200": {
  6865. "description": "OK",
  6866. "schema": {
  6867. "type": "array",
  6868. "items": {
  6869. "$ref": "#/definitions/models.QhjRSTriggerLog"
  6870. }
  6871. }
  6872. },
  6873. "500": {
  6874. "description": "Internal Server Error",
  6875. "schema": {
  6876. "$ref": "#/definitions/app.Response"
  6877. }
  6878. }
  6879. }
  6880. }
  6881. },
  6882. "/Qhj/QueryRStrategy": {
  6883. "get": {
  6884. "security": [
  6885. {
  6886. "ApiKeyAuth": []
  6887. }
  6888. ],
  6889. "produces": [
  6890. "application/json"
  6891. ],
  6892. "tags": [
  6893. "大连千海金"
  6894. ],
  6895. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  6896. "parameters": [
  6897. {
  6898. "type": "integer",
  6899. "description": "用户ID",
  6900. "name": "userid",
  6901. "in": "query",
  6902. "required": true
  6903. },
  6904. {
  6905. "type": "string",
  6906. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  6907. "name": "status",
  6908. "in": "query"
  6909. }
  6910. ],
  6911. "responses": {
  6912. "200": {
  6913. "description": "OK",
  6914. "schema": {
  6915. "type": "array",
  6916. "items": {
  6917. "$ref": "#/definitions/models.QhjRStrategy"
  6918. }
  6919. }
  6920. },
  6921. "500": {
  6922. "description": "Internal Server Error",
  6923. "schema": {
  6924. "$ref": "#/definitions/app.Response"
  6925. }
  6926. }
  6927. }
  6928. }
  6929. },
  6930. "/Quote/QueryHistoryDatas": {
  6931. "get": {
  6932. "security": [
  6933. {
  6934. "ApiKeyAuth": []
  6935. }
  6936. ],
  6937. "produces": [
  6938. "application/json"
  6939. ],
  6940. "tags": [
  6941. "行情服务"
  6942. ],
  6943. "summary": "查询行情历史数据",
  6944. "parameters": [
  6945. {
  6946. "type": "integer",
  6947. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6948. "name": "cycleType",
  6949. "in": "query",
  6950. "required": true
  6951. },
  6952. {
  6953. "type": "string",
  6954. "description": "商品代码",
  6955. "name": "goodsCode",
  6956. "in": "query",
  6957. "required": true
  6958. },
  6959. {
  6960. "type": "string",
  6961. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6962. "name": "startTime",
  6963. "in": "query"
  6964. },
  6965. {
  6966. "type": "string",
  6967. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6968. "name": "endTime",
  6969. "in": "query"
  6970. },
  6971. {
  6972. "type": "integer",
  6973. "description": "条数",
  6974. "name": "count",
  6975. "in": "query"
  6976. },
  6977. {
  6978. "type": "boolean",
  6979. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6980. "name": "isAsc",
  6981. "in": "query"
  6982. }
  6983. ],
  6984. "responses": {
  6985. "200": {
  6986. "description": "OK",
  6987. "schema": {
  6988. "$ref": "#/definitions/quote.HistoryData"
  6989. }
  6990. },
  6991. "500": {
  6992. "description": "Internal Server Error",
  6993. "schema": {
  6994. "$ref": "#/definitions/app.Response"
  6995. }
  6996. }
  6997. }
  6998. }
  6999. },
  7000. "/Quote/QueryHistoryTikDatas": {
  7001. "get": {
  7002. "security": [
  7003. {
  7004. "ApiKeyAuth": []
  7005. }
  7006. ],
  7007. "produces": [
  7008. "application/json"
  7009. ],
  7010. "tags": [
  7011. "行情服务"
  7012. ],
  7013. "summary": "查询行情Tik数据",
  7014. "parameters": [
  7015. {
  7016. "type": "string",
  7017. "description": "商品代码",
  7018. "name": "goodsCode",
  7019. "in": "query",
  7020. "required": true
  7021. },
  7022. {
  7023. "type": "string",
  7024. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7025. "name": "startTime",
  7026. "in": "query"
  7027. },
  7028. {
  7029. "type": "string",
  7030. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7031. "name": "endTime",
  7032. "in": "query"
  7033. },
  7034. {
  7035. "type": "integer",
  7036. "description": "条数",
  7037. "name": "count",
  7038. "in": "query"
  7039. },
  7040. {
  7041. "type": "boolean",
  7042. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7043. "name": "isAsc",
  7044. "in": "query"
  7045. }
  7046. ],
  7047. "responses": {
  7048. "200": {
  7049. "description": "OK",
  7050. "schema": {
  7051. "$ref": "#/definitions/quote.HistoryTikData"
  7052. }
  7053. },
  7054. "500": {
  7055. "description": "Internal Server Error",
  7056. "schema": {
  7057. "$ref": "#/definitions/app.Response"
  7058. }
  7059. }
  7060. }
  7061. }
  7062. },
  7063. "/Quote/QueryQuoteDay": {
  7064. "get": {
  7065. "security": [
  7066. {
  7067. "ApiKeyAuth": []
  7068. }
  7069. ],
  7070. "produces": [
  7071. "application/json"
  7072. ],
  7073. "tags": [
  7074. "行情服务"
  7075. ],
  7076. "summary": "获取商品盘面信息",
  7077. "parameters": [
  7078. {
  7079. "type": "string",
  7080. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7081. "name": "goodsCodes",
  7082. "in": "query",
  7083. "required": true
  7084. }
  7085. ],
  7086. "responses": {
  7087. "200": {
  7088. "description": "OK",
  7089. "schema": {
  7090. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7091. }
  7092. },
  7093. "500": {
  7094. "description": "Internal Server Error",
  7095. "schema": {
  7096. "$ref": "#/definitions/app.Response"
  7097. }
  7098. }
  7099. }
  7100. }
  7101. },
  7102. "/Quote/QueryTSData": {
  7103. "get": {
  7104. "security": [
  7105. {
  7106. "ApiKeyAuth": []
  7107. }
  7108. ],
  7109. "produces": [
  7110. "application/json"
  7111. ],
  7112. "tags": [
  7113. "行情服务"
  7114. ],
  7115. "summary": "分时图数据查询",
  7116. "parameters": [
  7117. {
  7118. "type": "string",
  7119. "description": "商品代码",
  7120. "name": "goodsCode",
  7121. "in": "query",
  7122. "required": true
  7123. }
  7124. ],
  7125. "responses": {
  7126. "200": {
  7127. "description": "OK",
  7128. "schema": {
  7129. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7130. }
  7131. },
  7132. "500": {
  7133. "description": "Internal Server Error",
  7134. "schema": {
  7135. "$ref": "#/definitions/app.Response"
  7136. }
  7137. }
  7138. }
  7139. }
  7140. },
  7141. "/SZDZ/QueryConvertConfig": {
  7142. "get": {
  7143. "security": [
  7144. {
  7145. "ApiKeyAuth": []
  7146. }
  7147. ],
  7148. "produces": [
  7149. "application/json"
  7150. ],
  7151. "tags": [
  7152. "定制【尚志大宗】"
  7153. ],
  7154. "summary": "查询交易系统转换设置",
  7155. "parameters": [
  7156. {
  7157. "type": "integer",
  7158. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7159. "name": "convertType",
  7160. "in": "query"
  7161. },
  7162. {
  7163. "type": "string",
  7164. "description": "外部商品代码[JD\\PD]",
  7165. "name": "outerGoodsCode",
  7166. "in": "query"
  7167. },
  7168. {
  7169. "type": "string",
  7170. "description": "内部商品ID列表[交易],格式:1,2,3",
  7171. "name": "innerGoodsIDs",
  7172. "in": "query"
  7173. }
  7174. ],
  7175. "responses": {
  7176. "200": {
  7177. "description": "OK",
  7178. "schema": {
  7179. "$ref": "#/definitions/models.Szdz3convertconfig"
  7180. }
  7181. },
  7182. "500": {
  7183. "description": "Internal Server Error",
  7184. "schema": {
  7185. "$ref": "#/definitions/app.Response"
  7186. }
  7187. }
  7188. }
  7189. }
  7190. },
  7191. "/SZDZ/QueryConvertLog": {
  7192. "get": {
  7193. "security": [
  7194. {
  7195. "ApiKeyAuth": []
  7196. }
  7197. ],
  7198. "produces": [
  7199. "application/json"
  7200. ],
  7201. "tags": [
  7202. "定制【尚志大宗】"
  7203. ],
  7204. "summary": "交易系统转换流水查询",
  7205. "parameters": [
  7206. {
  7207. "type": "string",
  7208. "description": "资金账户 - 格式:1,2,3",
  7209. "name": "accountID",
  7210. "in": "query",
  7211. "required": true
  7212. },
  7213. {
  7214. "type": "string",
  7215. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7216. "name": "startDate",
  7217. "in": "query"
  7218. },
  7219. {
  7220. "type": "string",
  7221. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7222. "name": "endDate",
  7223. "in": "query"
  7224. }
  7225. ],
  7226. "responses": {
  7227. "200": {
  7228. "description": "OK",
  7229. "schema": {
  7230. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7231. }
  7232. },
  7233. "500": {
  7234. "description": "Internal Server Error",
  7235. "schema": {
  7236. "$ref": "#/definitions/app.Response"
  7237. }
  7238. }
  7239. }
  7240. }
  7241. },
  7242. "/SZDZ/QueryGoodsPickup": {
  7243. "get": {
  7244. "security": [
  7245. {
  7246. "ApiKeyAuth": []
  7247. }
  7248. ],
  7249. "produces": [
  7250. "application/json"
  7251. ],
  7252. "tags": [
  7253. "定制【尚志大宗】"
  7254. ],
  7255. "summary": "商品提货单查询",
  7256. "parameters": [
  7257. {
  7258. "type": "string",
  7259. "description": "资金账户 - 格式:1,2,3",
  7260. "name": "accountID",
  7261. "in": "query",
  7262. "required": true
  7263. },
  7264. {
  7265. "type": "integer",
  7266. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7267. "name": "takeOrderStatus",
  7268. "in": "query"
  7269. }
  7270. ],
  7271. "responses": {
  7272. "200": {
  7273. "description": "OK",
  7274. "schema": {
  7275. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7276. }
  7277. },
  7278. "500": {
  7279. "description": "Internal Server Error",
  7280. "schema": {
  7281. "$ref": "#/definitions/app.Response"
  7282. }
  7283. }
  7284. }
  7285. }
  7286. },
  7287. "/SZDZ/QueryRecieptOrder": {
  7288. "get": {
  7289. "security": [
  7290. {
  7291. "ApiKeyAuth": []
  7292. }
  7293. ],
  7294. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7295. "produces": [
  7296. "application/json"
  7297. ],
  7298. "tags": [
  7299. "定制【尚志大宗】"
  7300. ],
  7301. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7302. "parameters": [
  7303. {
  7304. "type": "integer",
  7305. "description": "页码",
  7306. "name": "page",
  7307. "in": "query"
  7308. },
  7309. {
  7310. "type": "integer",
  7311. "description": "每页条数",
  7312. "name": "pagesize",
  7313. "in": "query"
  7314. },
  7315. {
  7316. "type": "integer",
  7317. "description": "商品ID",
  7318. "name": "goodsID",
  7319. "in": "query",
  7320. "required": true
  7321. },
  7322. {
  7323. "type": "string",
  7324. "description": "所属账户名称",
  7325. "name": "accountName",
  7326. "in": "query"
  7327. },
  7328. {
  7329. "type": "integer",
  7330. "description": "市场ID",
  7331. "name": "marketID",
  7332. "in": "query"
  7333. },
  7334. {
  7335. "type": "integer",
  7336. "description": "方向 - 0:买 1:卖",
  7337. "name": "buyorsell",
  7338. "in": "query",
  7339. "required": true
  7340. }
  7341. ],
  7342. "responses": {
  7343. "200": {
  7344. "description": "OK",
  7345. "schema": {
  7346. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7347. }
  7348. },
  7349. "500": {
  7350. "description": "Internal Server Error",
  7351. "schema": {
  7352. "$ref": "#/definitions/app.Response"
  7353. }
  7354. }
  7355. }
  7356. }
  7357. },
  7358. "/SZDZ/QuerySZDZTradePosition": {
  7359. "get": {
  7360. "security": [
  7361. {
  7362. "ApiKeyAuth": []
  7363. }
  7364. ],
  7365. "produces": [
  7366. "application/json"
  7367. ],
  7368. "tags": [
  7369. "定制【尚志大宗】"
  7370. ],
  7371. "summary": "持仓汇总查询(尚志大宗)",
  7372. "parameters": [
  7373. {
  7374. "type": "integer",
  7375. "description": "资金账户",
  7376. "name": "accountID",
  7377. "in": "query",
  7378. "required": true
  7379. }
  7380. ],
  7381. "responses": {
  7382. "200": {
  7383. "description": "OK",
  7384. "schema": {
  7385. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7386. }
  7387. },
  7388. "500": {
  7389. "description": "Internal Server Error",
  7390. "schema": {
  7391. "$ref": "#/definitions/app.Response"
  7392. }
  7393. }
  7394. }
  7395. }
  7396. },
  7397. "/SZDZ/SearchWhite": {
  7398. "get": {
  7399. "security": [
  7400. {
  7401. "ApiKeyAuth": []
  7402. }
  7403. ],
  7404. "produces": [
  7405. "application/json"
  7406. ],
  7407. "tags": [
  7408. "定制【尚志大宗】"
  7409. ],
  7410. "summary": "搜索白名单",
  7411. "parameters": [
  7412. {
  7413. "type": "integer",
  7414. "description": "用户ID",
  7415. "name": "userID",
  7416. "in": "query",
  7417. "required": true
  7418. }
  7419. ],
  7420. "responses": {
  7421. "200": {
  7422. "description": "OK",
  7423. "schema": {
  7424. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7425. }
  7426. },
  7427. "500": {
  7428. "description": "Internal Server Error",
  7429. "schema": {
  7430. "$ref": "#/definitions/app.Response"
  7431. }
  7432. }
  7433. }
  7434. }
  7435. },
  7436. "/Search/SearchGoodses": {
  7437. "get": {
  7438. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7439. "produces": [
  7440. "application/json"
  7441. ],
  7442. "tags": [
  7443. "检索服务"
  7444. ],
  7445. "summary": "检索商品信息",
  7446. "parameters": [
  7447. {
  7448. "type": "string",
  7449. "description": "检索内容",
  7450. "name": "content",
  7451. "in": "query",
  7452. "required": true
  7453. },
  7454. {
  7455. "type": "string",
  7456. "description": "交易模式,格式:1,2,3",
  7457. "name": "tradeModes",
  7458. "in": "query"
  7459. }
  7460. ],
  7461. "responses": {
  7462. "200": {
  7463. "description": "OK",
  7464. "schema": {
  7465. "$ref": "#/definitions/models.SearchGoods"
  7466. }
  7467. },
  7468. "500": {
  7469. "description": "Internal Server Error",
  7470. "schema": {
  7471. "$ref": "#/definitions/app.Response"
  7472. }
  7473. }
  7474. }
  7475. }
  7476. },
  7477. "/TaAccount/GetTaAccounts": {
  7478. "get": {
  7479. "security": [
  7480. {
  7481. "ApiKeyAuth": []
  7482. }
  7483. ],
  7484. "produces": [
  7485. "application/json"
  7486. ],
  7487. "tags": [
  7488. "资金账户"
  7489. ],
  7490. "summary": "获取资金账户信息",
  7491. "parameters": [
  7492. {
  7493. "type": "integer",
  7494. "description": "登录账户",
  7495. "name": "loginID",
  7496. "in": "query",
  7497. "required": true
  7498. },
  7499. {
  7500. "type": "integer",
  7501. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7502. "name": "taAccountType",
  7503. "in": "query"
  7504. }
  7505. ],
  7506. "responses": {
  7507. "200": {
  7508. "description": "OK",
  7509. "schema": {
  7510. "$ref": "#/definitions/models.Taaccount"
  7511. }
  7512. },
  7513. "500": {
  7514. "description": "Internal Server Error",
  7515. "schema": {
  7516. "$ref": "#/definitions/app.Response"
  7517. }
  7518. }
  7519. }
  7520. }
  7521. },
  7522. "/TaAccount/QueryAmountLog": {
  7523. "get": {
  7524. "security": [
  7525. {
  7526. "ApiKeyAuth": []
  7527. }
  7528. ],
  7529. "produces": [
  7530. "application/json"
  7531. ],
  7532. "tags": [
  7533. "资金账户"
  7534. ],
  7535. "summary": "资金流水查询(当前)",
  7536. "parameters": [
  7537. {
  7538. "type": "integer",
  7539. "description": "页码",
  7540. "name": "page",
  7541. "in": "query"
  7542. },
  7543. {
  7544. "type": "integer",
  7545. "description": "每页条数",
  7546. "name": "pagesize",
  7547. "in": "query"
  7548. },
  7549. {
  7550. "type": "string",
  7551. "description": "资金账户 - 格式:1,2,3",
  7552. "name": "accountID",
  7553. "in": "query",
  7554. "required": true
  7555. },
  7556. {
  7557. "type": "string",
  7558. "description": "资金操作类型 - 格式:1,2,3",
  7559. "name": "OperateType",
  7560. "in": "query"
  7561. }
  7562. ],
  7563. "responses": {
  7564. "200": {
  7565. "description": "OK",
  7566. "schema": {
  7567. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7568. }
  7569. },
  7570. "500": {
  7571. "description": "Internal Server Error",
  7572. "schema": {
  7573. "$ref": "#/definitions/app.Response"
  7574. }
  7575. }
  7576. }
  7577. }
  7578. },
  7579. "/TaAccount/QueryHisAmountLog": {
  7580. "get": {
  7581. "security": [
  7582. {
  7583. "ApiKeyAuth": []
  7584. }
  7585. ],
  7586. "produces": [
  7587. "application/json"
  7588. ],
  7589. "tags": [
  7590. "资金账户"
  7591. ],
  7592. "summary": "资金流水查询(历史)",
  7593. "parameters": [
  7594. {
  7595. "type": "integer",
  7596. "description": "页码",
  7597. "name": "page",
  7598. "in": "query"
  7599. },
  7600. {
  7601. "type": "integer",
  7602. "description": "每页条数",
  7603. "name": "pagesize",
  7604. "in": "query"
  7605. },
  7606. {
  7607. "type": "string",
  7608. "description": "资金账户 - 格式:1,2,3",
  7609. "name": "accountID",
  7610. "in": "query",
  7611. "required": true
  7612. },
  7613. {
  7614. "type": "string",
  7615. "description": "资金操作类型 - 格式:1,2,3",
  7616. "name": "OperateType",
  7617. "in": "query"
  7618. },
  7619. {
  7620. "type": "string",
  7621. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7622. "name": "startDate",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "string",
  7627. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7628. "name": "endDate",
  7629. "in": "query"
  7630. }
  7631. ],
  7632. "responses": {
  7633. "200": {
  7634. "description": "OK",
  7635. "schema": {
  7636. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7637. }
  7638. },
  7639. "500": {
  7640. "description": "Internal Server Error",
  7641. "schema": {
  7642. "$ref": "#/definitions/app.Response"
  7643. }
  7644. }
  7645. }
  7646. }
  7647. },
  7648. "/Trade/QueryRecieptOrder": {
  7649. "get": {
  7650. "security": [
  7651. {
  7652. "ApiKeyAuth": []
  7653. }
  7654. ],
  7655. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7656. "produces": [
  7657. "application/json"
  7658. ],
  7659. "tags": [
  7660. "通用交易"
  7661. ],
  7662. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7663. "parameters": [
  7664. {
  7665. "type": "integer",
  7666. "description": "页码",
  7667. "name": "page",
  7668. "in": "query"
  7669. },
  7670. {
  7671. "type": "integer",
  7672. "description": "每页条数",
  7673. "name": "pagesize",
  7674. "in": "query"
  7675. },
  7676. {
  7677. "type": "integer",
  7678. "description": "商品ID",
  7679. "name": "goodsID",
  7680. "in": "query",
  7681. "required": true
  7682. },
  7683. {
  7684. "type": "string",
  7685. "description": "所属账户名称",
  7686. "name": "accountName",
  7687. "in": "query"
  7688. },
  7689. {
  7690. "type": "integer",
  7691. "description": "市场ID",
  7692. "name": "marketID",
  7693. "in": "query"
  7694. },
  7695. {
  7696. "type": "integer",
  7697. "description": "方向 - 0:买 1:卖",
  7698. "name": "buyorsell",
  7699. "in": "query",
  7700. "required": true
  7701. }
  7702. ],
  7703. "responses": {
  7704. "200": {
  7705. "description": "OK",
  7706. "schema": {
  7707. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7708. }
  7709. },
  7710. "500": {
  7711. "description": "Internal Server Error",
  7712. "schema": {
  7713. "$ref": "#/definitions/app.Response"
  7714. }
  7715. }
  7716. }
  7717. }
  7718. },
  7719. "/User/AddMessageBoard": {
  7720. "post": {
  7721. "security": [
  7722. {
  7723. "ApiKeyAuth": []
  7724. }
  7725. ],
  7726. "produces": [
  7727. "application/json"
  7728. ],
  7729. "tags": [
  7730. "用户信息"
  7731. ],
  7732. "summary": "添加用户留言板信息",
  7733. "parameters": [
  7734. {
  7735. "type": "integer",
  7736. "description": "用户ID",
  7737. "name": "userID",
  7738. "in": "query",
  7739. "required": true
  7740. },
  7741. {
  7742. "type": "string",
  7743. "description": "留言信息",
  7744. "name": "message",
  7745. "in": "query",
  7746. "required": true
  7747. },
  7748. {
  7749. "type": "string",
  7750. "description": "联系电话",
  7751. "name": "contactNum",
  7752. "in": "query",
  7753. "required": true
  7754. }
  7755. ],
  7756. "responses": {
  7757. "200": {
  7758. "description": "OK",
  7759. "schema": {
  7760. "$ref": "#/definitions/app.Response"
  7761. }
  7762. },
  7763. "500": {
  7764. "description": "Internal Server Error",
  7765. "schema": {
  7766. "$ref": "#/definitions/app.Response"
  7767. }
  7768. }
  7769. }
  7770. }
  7771. },
  7772. "/User/AddUserFavoriteGoods": {
  7773. "post": {
  7774. "security": [
  7775. {
  7776. "ApiKeyAuth": []
  7777. }
  7778. ],
  7779. "produces": [
  7780. "application/json"
  7781. ],
  7782. "tags": [
  7783. "用户信息"
  7784. ],
  7785. "summary": "添加用户商品收藏信息",
  7786. "parameters": [
  7787. {
  7788. "type": "integer",
  7789. "description": "用户ID",
  7790. "name": "userID",
  7791. "in": "query",
  7792. "required": true
  7793. },
  7794. {
  7795. "type": "integer",
  7796. "description": "商品ID",
  7797. "name": "goodsID",
  7798. "in": "query",
  7799. "required": true
  7800. }
  7801. ],
  7802. "responses": {
  7803. "200": {
  7804. "description": "OK",
  7805. "schema": {
  7806. "$ref": "#/definitions/app.Response"
  7807. }
  7808. },
  7809. "500": {
  7810. "description": "Internal Server Error",
  7811. "schema": {
  7812. "$ref": "#/definitions/app.Response"
  7813. }
  7814. }
  7815. }
  7816. }
  7817. },
  7818. "/User/GetLoginID": {
  7819. "get": {
  7820. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7821. "produces": [
  7822. "application/json"
  7823. ],
  7824. "tags": [
  7825. "用户信息"
  7826. ],
  7827. "summary": "获取登录ID",
  7828. "parameters": [
  7829. {
  7830. "type": "string",
  7831. "description": "登录代码",
  7832. "name": "username",
  7833. "in": "query",
  7834. "required": true
  7835. }
  7836. ],
  7837. "responses": {
  7838. "200": {
  7839. "description": "OK",
  7840. "schema": {
  7841. "$ref": "#/definitions/app.Response"
  7842. }
  7843. },
  7844. "500": {
  7845. "description": "Internal Server Error",
  7846. "schema": {
  7847. "$ref": "#/definitions/app.Response"
  7848. }
  7849. }
  7850. }
  7851. }
  7852. },
  7853. "/User/GetUserAccount": {
  7854. "get": {
  7855. "security": [
  7856. {
  7857. "ApiKeyAuth": []
  7858. }
  7859. ],
  7860. "produces": [
  7861. "application/json"
  7862. ],
  7863. "tags": [
  7864. "用户信息"
  7865. ],
  7866. "summary": "获取用户账号信息",
  7867. "parameters": [
  7868. {
  7869. "type": "integer",
  7870. "description": "用户ID",
  7871. "name": "userID",
  7872. "in": "query",
  7873. "required": true
  7874. }
  7875. ],
  7876. "responses": {
  7877. "200": {
  7878. "description": "OK",
  7879. "schema": {
  7880. "$ref": "#/definitions/models.Useraccount"
  7881. }
  7882. },
  7883. "500": {
  7884. "description": "Internal Server Error",
  7885. "schema": {
  7886. "$ref": "#/definitions/app.Response"
  7887. }
  7888. }
  7889. }
  7890. }
  7891. },
  7892. "/User/GetUserAuthStatus": {
  7893. "get": {
  7894. "security": [
  7895. {
  7896. "ApiKeyAuth": []
  7897. }
  7898. ],
  7899. "produces": [
  7900. "application/json"
  7901. ],
  7902. "tags": [
  7903. "用户信息"
  7904. ],
  7905. "summary": "获取用户实名认证状态",
  7906. "parameters": [
  7907. {
  7908. "type": "integer",
  7909. "description": "用户ID",
  7910. "name": "userID",
  7911. "in": "query",
  7912. "required": true
  7913. }
  7914. ],
  7915. "responses": {
  7916. "200": {
  7917. "description": "OK",
  7918. "schema": {
  7919. "$ref": "#/definitions/app.Response"
  7920. }
  7921. },
  7922. "500": {
  7923. "description": "Internal Server Error",
  7924. "schema": {
  7925. "$ref": "#/definitions/app.Response"
  7926. }
  7927. }
  7928. }
  7929. }
  7930. },
  7931. "/User/LoginQuery": {
  7932. "get": {
  7933. "security": [
  7934. {
  7935. "ApiKeyAuth": []
  7936. }
  7937. ],
  7938. "produces": [
  7939. "application/json"
  7940. ],
  7941. "tags": [
  7942. "用户信息"
  7943. ],
  7944. "summary": "账户登录后信息查询",
  7945. "parameters": [
  7946. {
  7947. "type": "integer",
  7948. "description": "登录账号",
  7949. "name": "loginID",
  7950. "in": "query",
  7951. "required": true
  7952. }
  7953. ],
  7954. "responses": {
  7955. "200": {
  7956. "description": "OK",
  7957. "schema": {
  7958. "$ref": "#/definitions/user.LoginQueryRsp"
  7959. }
  7960. },
  7961. "500": {
  7962. "description": "Internal Server Error",
  7963. "schema": {
  7964. "$ref": "#/definitions/app.Response"
  7965. }
  7966. }
  7967. }
  7968. }
  7969. },
  7970. "/User/QueryMessageBoard": {
  7971. "get": {
  7972. "security": [
  7973. {
  7974. "ApiKeyAuth": []
  7975. }
  7976. ],
  7977. "produces": [
  7978. "application/json"
  7979. ],
  7980. "tags": [
  7981. "用户信息"
  7982. ],
  7983. "summary": "获取用户留言板信息",
  7984. "parameters": [
  7985. {
  7986. "type": "integer",
  7987. "description": "用户ID",
  7988. "name": "userID",
  7989. "in": "query",
  7990. "required": true
  7991. }
  7992. ],
  7993. "responses": {
  7994. "200": {
  7995. "description": "OK",
  7996. "schema": {
  7997. "$ref": "#/definitions/models.Messageboard"
  7998. }
  7999. },
  8000. "500": {
  8001. "description": "Internal Server Error",
  8002. "schema": {
  8003. "$ref": "#/definitions/app.Response"
  8004. }
  8005. }
  8006. }
  8007. }
  8008. },
  8009. "/User/QueryUserFavoriteGoodses": {
  8010. "get": {
  8011. "security": [
  8012. {
  8013. "ApiKeyAuth": []
  8014. }
  8015. ],
  8016. "produces": [
  8017. "application/json"
  8018. ],
  8019. "tags": [
  8020. "用户信息"
  8021. ],
  8022. "summary": "获取用户商品收藏信息",
  8023. "parameters": [
  8024. {
  8025. "type": "integer",
  8026. "description": "用户ID",
  8027. "name": "userID",
  8028. "in": "query",
  8029. "required": true
  8030. }
  8031. ],
  8032. "responses": {
  8033. "200": {
  8034. "description": "OK",
  8035. "schema": {
  8036. "$ref": "#/definitions/models.Userfavoritegoods"
  8037. }
  8038. },
  8039. "500": {
  8040. "description": "Internal Server Error",
  8041. "schema": {
  8042. "$ref": "#/definitions/app.Response"
  8043. }
  8044. }
  8045. }
  8046. }
  8047. },
  8048. "/User/QueryUserInfo": {
  8049. "get": {
  8050. "security": [
  8051. {
  8052. "ApiKeyAuth": []
  8053. }
  8054. ],
  8055. "produces": [
  8056. "application/json"
  8057. ],
  8058. "tags": [
  8059. "用户信息"
  8060. ],
  8061. "summary": "获取用户信息",
  8062. "parameters": [
  8063. {
  8064. "type": "integer",
  8065. "description": "用户ID",
  8066. "name": "userID",
  8067. "in": "query",
  8068. "required": true
  8069. },
  8070. {
  8071. "type": "boolean",
  8072. "description": "是否解密",
  8073. "name": "isDecrypt",
  8074. "in": "query"
  8075. }
  8076. ],
  8077. "responses": {
  8078. "200": {
  8079. "description": "OK",
  8080. "schema": {
  8081. "$ref": "#/definitions/models.Userinfo"
  8082. }
  8083. },
  8084. "500": {
  8085. "description": "Internal Server Error",
  8086. "schema": {
  8087. "$ref": "#/definitions/app.Response"
  8088. }
  8089. }
  8090. }
  8091. }
  8092. },
  8093. "/User/QueryUserReferNum": {
  8094. "get": {
  8095. "produces": [
  8096. "application/json"
  8097. ],
  8098. "tags": [
  8099. "用户信息"
  8100. ],
  8101. "summary": "获取用户邀请码",
  8102. "parameters": [
  8103. {
  8104. "type": "integer",
  8105. "description": "用户ID",
  8106. "name": "userID",
  8107. "in": "query",
  8108. "required": true
  8109. }
  8110. ],
  8111. "responses": {
  8112. "200": {
  8113. "description": "OK",
  8114. "schema": {
  8115. "$ref": "#/definitions/app.Response"
  8116. }
  8117. },
  8118. "500": {
  8119. "description": "Internal Server Error",
  8120. "schema": {
  8121. "$ref": "#/definitions/app.Response"
  8122. }
  8123. }
  8124. }
  8125. }
  8126. },
  8127. "/User/RemoveUserFavoriteGoods": {
  8128. "post": {
  8129. "security": [
  8130. {
  8131. "ApiKeyAuth": []
  8132. }
  8133. ],
  8134. "produces": [
  8135. "application/json"
  8136. ],
  8137. "tags": [
  8138. "用户信息"
  8139. ],
  8140. "summary": "移除用户商品收藏信息",
  8141. "parameters": [
  8142. {
  8143. "type": "integer",
  8144. "description": "用户ID",
  8145. "name": "userID",
  8146. "in": "query",
  8147. "required": true
  8148. },
  8149. {
  8150. "type": "integer",
  8151. "description": "商品ID",
  8152. "name": "goodsID",
  8153. "in": "query",
  8154. "required": true
  8155. }
  8156. ],
  8157. "responses": {
  8158. "200": {
  8159. "description": "OK",
  8160. "schema": {
  8161. "$ref": "#/definitions/app.Response"
  8162. }
  8163. },
  8164. "500": {
  8165. "description": "Internal Server Error",
  8166. "schema": {
  8167. "$ref": "#/definitions/app.Response"
  8168. }
  8169. }
  8170. }
  8171. }
  8172. },
  8173. "/User/UpdateUserAccountStatus": {
  8174. "post": {
  8175. "security": [
  8176. {
  8177. "ApiKeyAuth": []
  8178. }
  8179. ],
  8180. "produces": [
  8181. "application/json"
  8182. ],
  8183. "tags": [
  8184. "用户信息"
  8185. ],
  8186. "summary": "更新用户状态",
  8187. "parameters": [
  8188. {
  8189. "type": "integer",
  8190. "description": "用户ID",
  8191. "name": "userID",
  8192. "in": "query",
  8193. "required": true
  8194. },
  8195. {
  8196. "type": "integer",
  8197. "description": "账户状态 - 4:正常 6:注销(停用)",
  8198. "name": "accountStatus",
  8199. "in": "query",
  8200. "required": true
  8201. }
  8202. ],
  8203. "responses": {
  8204. "200": {
  8205. "description": "OK",
  8206. "schema": {
  8207. "$ref": "#/definitions/app.Response"
  8208. }
  8209. },
  8210. "500": {
  8211. "description": "Internal Server Error",
  8212. "schema": {
  8213. "$ref": "#/definitions/app.Response"
  8214. }
  8215. }
  8216. }
  8217. }
  8218. },
  8219. "/WRTrade/GetAllDeliveryGoods": {
  8220. "get": {
  8221. "security": [
  8222. {
  8223. "ApiKeyAuth": []
  8224. },
  8225. {
  8226. "ApiKeyAuth": []
  8227. }
  8228. ],
  8229. "produces": [
  8230. "application/json",
  8231. "application/json"
  8232. ],
  8233. "tags": [
  8234. "仓单贸易",
  8235. "仓单贸易"
  8236. ],
  8237. "summary": "获取带仓单分类的种类信息",
  8238. "responses": {
  8239. "200": {
  8240. "description": "OK",
  8241. "schema": {
  8242. "$ref": "#/definitions/app.Response"
  8243. }
  8244. },
  8245. "500": {
  8246. "description": "Internal Server Error",
  8247. "schema": {
  8248. "$ref": "#/definitions/app.Response"
  8249. }
  8250. }
  8251. }
  8252. }
  8253. }
  8254. },
  8255. "definitions": {
  8256. "app.Response": {
  8257. "type": "object",
  8258. "properties": {
  8259. "code": {
  8260. "type": "integer"
  8261. },
  8262. "data": {
  8263. "type": "object"
  8264. },
  8265. "msg": {
  8266. "type": "string"
  8267. },
  8268. "page": {
  8269. "description": "页码",
  8270. "type": "integer"
  8271. },
  8272. "pagesize": {
  8273. "description": "每页条数",
  8274. "type": "integer"
  8275. },
  8276. "total": {
  8277. "description": "总条数",
  8278. "type": "integer"
  8279. }
  8280. }
  8281. },
  8282. "common.ClientMenu": {
  8283. "type": "object",
  8284. "properties": {
  8285. "children": {
  8286. "description": "子菜单列表",
  8287. "type": "array",
  8288. "items": {
  8289. "$ref": "#/definitions/common.ClientMenu"
  8290. }
  8291. },
  8292. "code": {
  8293. "description": "ID",
  8294. "type": "string"
  8295. },
  8296. "isshow": {
  8297. "description": "是否显示",
  8298. "type": "boolean"
  8299. },
  8300. "rulekey": {
  8301. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8302. "type": "string"
  8303. },
  8304. "sort": {
  8305. "description": "排序",
  8306. "type": "integer"
  8307. },
  8308. "title": {
  8309. "description": "标题",
  8310. "type": "string"
  8311. },
  8312. "type": {
  8313. "description": "类型,1:菜单 2:按钮",
  8314. "type": "integer"
  8315. }
  8316. }
  8317. },
  8318. "common.QueryImageConfigsRsp": {
  8319. "type": "object",
  8320. "required": [
  8321. "configid"
  8322. ],
  8323. "properties": {
  8324. "areauserid": {
  8325. "description": "所属机构ID",
  8326. "type": "integer"
  8327. },
  8328. "configid": {
  8329. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8330. "type": "integer"
  8331. },
  8332. "createdate": {
  8333. "description": "创建时间",
  8334. "type": "string"
  8335. },
  8336. "creatorid": {
  8337. "description": "创建人",
  8338. "type": "integer"
  8339. },
  8340. "imagepath": {
  8341. "description": "图片",
  8342. "type": "string"
  8343. },
  8344. "imagetype": {
  8345. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8346. "type": "integer"
  8347. },
  8348. "isshow": {
  8349. "description": "是否展示 - 0:不展示 1:展示",
  8350. "type": "integer"
  8351. },
  8352. "marketid": {
  8353. "description": "市场ID",
  8354. "type": "integer"
  8355. },
  8356. "modifierid": {
  8357. "description": "操作人",
  8358. "type": "integer"
  8359. },
  8360. "sort": {
  8361. "description": "排序",
  8362. "type": "integer"
  8363. },
  8364. "title": {
  8365. "description": "标题",
  8366. "type": "string"
  8367. },
  8368. "trademode": {
  8369. "description": "交易模式",
  8370. "type": "integer"
  8371. },
  8372. "updatedate": {
  8373. "description": "修改时间",
  8374. "type": "string"
  8375. },
  8376. "url": {
  8377. "description": "链接(地址或商品ID)",
  8378. "type": "string"
  8379. },
  8380. "urltype": {
  8381. "description": "链接类型 - 1:直接地址 2:商品ID",
  8382. "type": "integer"
  8383. }
  8384. }
  8385. },
  8386. "common.QueryNoticeRsp": {
  8387. "type": "object",
  8388. "required": [
  8389. "autoid"
  8390. ],
  8391. "properties": {
  8392. "auditoruserid": {
  8393. "description": "审核人",
  8394. "type": "integer"
  8395. },
  8396. "auditremark": {
  8397. "description": "审核备注",
  8398. "type": "string"
  8399. },
  8400. "audittime": {
  8401. "description": "审核日期",
  8402. "type": "string"
  8403. },
  8404. "autoid": {
  8405. "description": "自增ID",
  8406. "type": "integer"
  8407. },
  8408. "content": {
  8409. "description": "内容",
  8410. "type": "string"
  8411. },
  8412. "createtime": {
  8413. "description": "创建时间",
  8414. "type": "string"
  8415. },
  8416. "creatorid": {
  8417. "description": "建仓人",
  8418. "type": "integer"
  8419. },
  8420. "endtime": {
  8421. "description": "结束时间",
  8422. "type": "string"
  8423. },
  8424. "istop": {
  8425. "description": "是否置顶 - 0:不置顶 1:置顶",
  8426. "type": "integer"
  8427. },
  8428. "msgiconurl": {
  8429. "description": "消息图标Url",
  8430. "type": "string"
  8431. },
  8432. "msgtype": {
  8433. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8434. "type": "integer"
  8435. },
  8436. "publisher": {
  8437. "description": "消息发布者",
  8438. "type": "string"
  8439. },
  8440. "readed": {
  8441. "description": "是否已读",
  8442. "type": "boolean"
  8443. },
  8444. "scheduletime": {
  8445. "description": "计划发送时间",
  8446. "type": "string"
  8447. },
  8448. "sendtype": {
  8449. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8450. "type": "integer"
  8451. },
  8452. "sentstatus": {
  8453. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8454. "type": "integer"
  8455. },
  8456. "title": {
  8457. "description": "标题",
  8458. "type": "string"
  8459. },
  8460. "userid": {
  8461. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8462. "type": "integer"
  8463. }
  8464. }
  8465. },
  8466. "common.QueryProvincesAndCitiesRsp": {
  8467. "type": "object",
  8468. "properties": {
  8469. "cities": {
  8470. "description": "市",
  8471. "type": "array",
  8472. "items": {
  8473. "$ref": "#/definitions/models.Division"
  8474. }
  8475. },
  8476. "province": {
  8477. "description": "省",
  8478. "type": "object",
  8479. "$ref": "#/definitions/models.Division"
  8480. }
  8481. }
  8482. },
  8483. "common.QueryTableDefineRsp": {
  8484. "type": "object",
  8485. "required": [
  8486. "tablekey"
  8487. ],
  8488. "properties": {
  8489. "columns": {
  8490. "description": "列头信息数组",
  8491. "type": "array",
  8492. "items": {
  8493. "$ref": "#/definitions/models.Tablecolumnconfig"
  8494. }
  8495. },
  8496. "remark": {
  8497. "description": "Remark",
  8498. "type": "string"
  8499. },
  8500. "tabelmenu": {
  8501. "description": "列表菜单",
  8502. "type": "string"
  8503. },
  8504. "tablekey": {
  8505. "description": "列表Key",
  8506. "type": "string"
  8507. },
  8508. "tablename": {
  8509. "description": "列表名称",
  8510. "type": "string"
  8511. },
  8512. "tabletype": {
  8513. "description": "列表类型 - 1:管理端 2:终端",
  8514. "type": "integer"
  8515. }
  8516. }
  8517. },
  8518. "common.QueryTraderMenuRsp": {
  8519. "type": "object",
  8520. "properties": {
  8521. "OperationMenu": {
  8522. "description": "功能菜单",
  8523. "type": "array",
  8524. "items": {
  8525. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8526. }
  8527. },
  8528. "QuoteMenu": {
  8529. "description": "报价牌分类菜单",
  8530. "type": "array",
  8531. "items": {
  8532. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8533. }
  8534. }
  8535. }
  8536. },
  8537. "cptrade.Cptradepositioncancel": {
  8538. "type": "object",
  8539. "required": [
  8540. "cancelid"
  8541. ],
  8542. "properties": {
  8543. "accountid": {
  8544. "description": "申请人账户ID",
  8545. "type": "integer"
  8546. },
  8547. "applystatus": {
  8548. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8549. "type": "integer"
  8550. },
  8551. "applytime": {
  8552. "description": "申请时间",
  8553. "type": "string"
  8554. },
  8555. "cancelid": {
  8556. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8557. "type": "integer"
  8558. },
  8559. "cancelqty": {
  8560. "description": "注销数量",
  8561. "type": "integer"
  8562. },
  8563. "createtime": {
  8564. "description": "创建时间",
  8565. "type": "string"
  8566. },
  8567. "creatorid": {
  8568. "description": "创建人ID",
  8569. "type": "integer"
  8570. },
  8571. "creatorname": {
  8572. "description": "创建人",
  8573. "type": "string"
  8574. },
  8575. "goodscode": {
  8576. "description": "订单商品代码",
  8577. "type": "string"
  8578. },
  8579. "goodsid": {
  8580. "description": "商品ID",
  8581. "type": "integer"
  8582. },
  8583. "goodsname": {
  8584. "description": "订单商品名称",
  8585. "type": "string"
  8586. },
  8587. "goodunit": {
  8588. "description": "报价单位",
  8589. "type": "string"
  8590. },
  8591. "handlestatus": {
  8592. "description": "处理状态",
  8593. "type": "integer"
  8594. },
  8595. "marketid": {
  8596. "description": "市场ID",
  8597. "type": "integer"
  8598. },
  8599. "marketname": {
  8600. "description": "市场名称",
  8601. "type": "string"
  8602. },
  8603. "tradedate": {
  8604. "description": "交易日(yyyyMMdd)",
  8605. "type": "string"
  8606. },
  8607. "userid": {
  8608. "description": "申请人ID",
  8609. "type": "integer"
  8610. }
  8611. }
  8612. },
  8613. "cptrade.Cptradepresaleapply": {
  8614. "type": "object",
  8615. "required": [
  8616. "applyid"
  8617. ],
  8618. "properties": {
  8619. "accountid": {
  8620. "description": "申请人账户ID",
  8621. "type": "integer"
  8622. },
  8623. "applyid": {
  8624. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8625. "type": "integer"
  8626. },
  8627. "applyremark": {
  8628. "description": "申请备注",
  8629. "type": "string"
  8630. },
  8631. "applystatus": {
  8632. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8633. "type": "integer"
  8634. },
  8635. "applytime": {
  8636. "description": "申请时间",
  8637. "type": "string"
  8638. },
  8639. "attachmenturl": {
  8640. "description": "附件地址",
  8641. "type": "string"
  8642. },
  8643. "endtime": {
  8644. "description": "预售结束时间",
  8645. "type": "string"
  8646. },
  8647. "goodscode": {
  8648. "description": "商品代码",
  8649. "type": "string"
  8650. },
  8651. "goodsid": {
  8652. "description": "商品ID",
  8653. "type": "integer"
  8654. },
  8655. "goodsname": {
  8656. "description": "商品名称",
  8657. "type": "string"
  8658. },
  8659. "goodunit": {
  8660. "description": "报价单位",
  8661. "type": "string"
  8662. },
  8663. "handlestatus": {
  8664. "description": "处理状态",
  8665. "type": "integer"
  8666. },
  8667. "marketid": {
  8668. "description": "预售市场ID",
  8669. "type": "integer"
  8670. },
  8671. "marketname": {
  8672. "description": "预售市场名称",
  8673. "type": "string"
  8674. },
  8675. "presaleqty": {
  8676. "description": "预售数量",
  8677. "type": "integer"
  8678. },
  8679. "relatedgoodscode": {
  8680. "description": "关联交易合约代码",
  8681. "type": "string"
  8682. },
  8683. "relatedgoodsid": {
  8684. "description": "关联交易合约ID",
  8685. "type": "integer"
  8686. },
  8687. "relatedgoodsname": {
  8688. "description": "关联交易合约名称",
  8689. "type": "string"
  8690. },
  8691. "starttime": {
  8692. "description": "预售开始时间",
  8693. "type": "string"
  8694. },
  8695. "tradedate": {
  8696. "description": "交易日(yyyyMMdd)",
  8697. "type": "string"
  8698. },
  8699. "trademode": {
  8700. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8701. "type": "integer"
  8702. },
  8703. "userid": {
  8704. "description": "申请人ID",
  8705. "type": "integer"
  8706. }
  8707. }
  8708. },
  8709. "cptrade.Cptradeusergoodsdata": {
  8710. "type": "object",
  8711. "required": [
  8712. "accountid",
  8713. "goodsid"
  8714. ],
  8715. "properties": {
  8716. "EnabledQty": {
  8717. "description": "可用量",
  8718. "type": "integer"
  8719. },
  8720. "GoodsCode": {
  8721. "description": "订单商品代码",
  8722. "type": "string"
  8723. },
  8724. "GoodsName": {
  8725. "description": "订单商品名称",
  8726. "type": "string"
  8727. },
  8728. "WRStandardCode": {
  8729. "description": "仓单标准代码",
  8730. "type": "string"
  8731. },
  8732. "WRStandardName": {
  8733. "description": "仓单标准名称",
  8734. "type": "string"
  8735. },
  8736. "accountid": {
  8737. "description": "账户ID",
  8738. "type": "integer"
  8739. },
  8740. "cancelqty": {
  8741. "description": "注销量",
  8742. "type": "integer"
  8743. },
  8744. "curpresaleqty": {
  8745. "description": "当前预售量",
  8746. "type": "integer"
  8747. },
  8748. "deliveryqty": {
  8749. "description": "交割量",
  8750. "type": "integer"
  8751. },
  8752. "freezeamount": {
  8753. "description": "冻结金额",
  8754. "type": "number"
  8755. },
  8756. "goodsid": {
  8757. "description": "商品ID",
  8758. "type": "integer"
  8759. },
  8760. "goodunit": {
  8761. "description": "报价单位",
  8762. "type": "string"
  8763. },
  8764. "hasspotfreeze": {
  8765. "description": "是否有现货冻结 - 0:否 1:有",
  8766. "type": "integer"
  8767. },
  8768. "inqty": {
  8769. "description": "转入量(总数量)",
  8770. "type": "integer"
  8771. },
  8772. "marketid": {
  8773. "description": "市场ID",
  8774. "type": "integer"
  8775. },
  8776. "presaledamount": {
  8777. "description": "已预售总金额",
  8778. "type": "integer"
  8779. },
  8780. "presaledqty": {
  8781. "description": "已预售量",
  8782. "type": "integer"
  8783. },
  8784. "userid": {
  8785. "description": "用户ID",
  8786. "type": "integer"
  8787. },
  8788. "wrstandardid": {
  8789. "description": "仓单标准ID",
  8790. "type": "integer"
  8791. }
  8792. }
  8793. },
  8794. "cptrade.QueryCPTradeMyBidRsp": {
  8795. "type": "object",
  8796. "required": [
  8797. "accountid",
  8798. "goodsid",
  8799. "marketid",
  8800. "orderid",
  8801. "orderqty",
  8802. "ordertime",
  8803. "tradeprice",
  8804. "tradeqty"
  8805. ],
  8806. "properties": {
  8807. "accountid": {
  8808. "description": "账户ID[报价币种]",
  8809. "type": "integer"
  8810. },
  8811. "goodsid": {
  8812. "description": "商品ID",
  8813. "type": "integer"
  8814. },
  8815. "goodunit": {
  8816. "description": "报价单位",
  8817. "type": "string"
  8818. },
  8819. "marketid": {
  8820. "description": "市场ID",
  8821. "type": "integer"
  8822. },
  8823. "orderid": {
  8824. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8825. "type": "integer"
  8826. },
  8827. "orderprice": {
  8828. "description": "委托价格",
  8829. "type": "number"
  8830. },
  8831. "orderqty": {
  8832. "description": "委托数量",
  8833. "type": "integer"
  8834. },
  8835. "ordertime": {
  8836. "description": "委托时间",
  8837. "type": "string"
  8838. },
  8839. "ordertotalprice": {
  8840. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8841. "type": "number"
  8842. },
  8843. "ordertotalweight": {
  8844. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8845. "type": "integer"
  8846. },
  8847. "totaltotalprice": {
  8848. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8849. "type": "number"
  8850. },
  8851. "tradeprice": {
  8852. "description": "成交价格",
  8853. "type": "number"
  8854. },
  8855. "tradeqty": {
  8856. "description": "成交数量",
  8857. "type": "integer"
  8858. }
  8859. }
  8860. },
  8861. "cptrade.QueryCPTradeOrderDetailRsq": {
  8862. "type": "object",
  8863. "required": [
  8864. "accountid",
  8865. "buildtype",
  8866. "buyorsell",
  8867. "goodsid",
  8868. "marketid",
  8869. "memberuserid",
  8870. "operatetype",
  8871. "orderqty",
  8872. "ordertime",
  8873. "pricemode",
  8874. "strorderid",
  8875. "tradedate",
  8876. "validtype"
  8877. ],
  8878. "properties": {
  8879. "accountid": {
  8880. "description": "账户ID[报价币种]",
  8881. "type": "integer"
  8882. },
  8883. "buildtype": {
  8884. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8885. "type": "integer"
  8886. },
  8887. "buyorsell": {
  8888. "description": "买卖 - 0:买 1:卖",
  8889. "type": "integer"
  8890. },
  8891. "cancelorderid": {
  8892. "description": "撤单单号(撤单时填写)",
  8893. "type": "integer"
  8894. },
  8895. "cancelqty": {
  8896. "description": "撤单数量",
  8897. "type": "integer"
  8898. },
  8899. "clientordertime": {
  8900. "description": "客户端委托时间",
  8901. "type": "string"
  8902. },
  8903. "clientticket": {
  8904. "description": "客户端流水号",
  8905. "type": "string"
  8906. },
  8907. "clienttype": {
  8908. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8909. "type": "integer"
  8910. },
  8911. "closeexchagechargevalue": {
  8912. "description": "平仓交易所手续费设置值",
  8913. "type": "number"
  8914. },
  8915. "closefeealgorithm": {
  8916. "description": "平仓手续费收取方式 1:比率 2:固定",
  8917. "type": "integer"
  8918. },
  8919. "closefreezecharge": {
  8920. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8921. "type": "number"
  8922. },
  8923. "closememberchargevalue": {
  8924. "description": "平仓会员手续费设置值",
  8925. "type": "number"
  8926. },
  8927. "closeqty": {
  8928. "description": "平仓数量(先建后平操作 需要记录)",
  8929. "type": "integer"
  8930. },
  8931. "closetradeqty": {
  8932. "description": "平仓成交数量(先建后平操作,需要记录)",
  8933. "type": "integer"
  8934. },
  8935. "closeunfreezecharge": {
  8936. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8937. "type": "number"
  8938. },
  8939. "delistingtype": {
  8940. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8941. "type": "integer"
  8942. },
  8943. "freezecharge": {
  8944. "description": "冻结手续费",
  8945. "type": "number"
  8946. },
  8947. "freezemargin": {
  8948. "description": "冻结保证金(冻结交易金额)",
  8949. "type": "number"
  8950. },
  8951. "gcaccountid": {
  8952. "description": "账户ID[合约币种]",
  8953. "type": "integer"
  8954. },
  8955. "goodsid": {
  8956. "description": "商品ID",
  8957. "type": "integer"
  8958. },
  8959. "isconfirmexercise": {
  8960. "description": "是否确认行权- 0:否 1:是",
  8961. "type": "integer"
  8962. },
  8963. "ispreexercise": {
  8964. "description": "是否预申报- 0:否 1:是",
  8965. "type": "integer"
  8966. },
  8967. "listingselecttype": {
  8968. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8969. "type": "integer"
  8970. },
  8971. "marginalgorithm": {
  8972. "description": "保证金收取方式 1:比率 2:固定",
  8973. "type": "integer"
  8974. },
  8975. "marginvalue": {
  8976. "description": "即市保证金设置值",
  8977. "type": "number"
  8978. },
  8979. "marketid": {
  8980. "description": "市场ID",
  8981. "type": "integer"
  8982. },
  8983. "marketmaxsub": {
  8984. "description": "市价最大偏移范围",
  8985. "type": "number"
  8986. },
  8987. "memberuserid": {
  8988. "description": "所属会员UserID",
  8989. "type": "integer"
  8990. },
  8991. "openexchagechargevalue": {
  8992. "description": "建仓交易所手续费设置值",
  8993. "type": "number"
  8994. },
  8995. "openfeealgorithm": {
  8996. "description": "建仓手续费收取方式 1:比率 2:固定",
  8997. "type": "integer"
  8998. },
  8999. "openfreezecharge": {
  9000. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9001. "type": "number"
  9002. },
  9003. "openmemberchargevalue": {
  9004. "description": "建仓会员手续费设置值",
  9005. "type": "number"
  9006. },
  9007. "openqty": {
  9008. "description": "开仓数量(先建后平操作,需要记录)",
  9009. "type": "integer"
  9010. },
  9011. "opentradeqty": {
  9012. "description": "开仓成交数量(先建后平操作,需要记录)",
  9013. "type": "integer"
  9014. },
  9015. "openunfreezecharge": {
  9016. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9017. "type": "number"
  9018. },
  9019. "operatetype": {
  9020. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9021. "type": "integer"
  9022. },
  9023. "operatorid": {
  9024. "description": "登录账号(LoginID)",
  9025. "type": "integer"
  9026. },
  9027. "optiontype": {
  9028. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9029. "type": "integer"
  9030. },
  9031. "orderprice": {
  9032. "description": "委托价格",
  9033. "type": "number"
  9034. },
  9035. "orderqty": {
  9036. "description": "委托数量",
  9037. "type": "integer"
  9038. },
  9039. "ordersrc": {
  9040. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9041. "type": "integer"
  9042. },
  9043. "orderstatus": {
  9044. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9045. "type": "integer"
  9046. },
  9047. "ordertime": {
  9048. "description": "委托时间",
  9049. "type": "string"
  9050. },
  9051. "preexerciseprice": {
  9052. "description": "预申报价格",
  9053. "type": "number"
  9054. },
  9055. "premium": {
  9056. "description": "权利金",
  9057. "type": "number"
  9058. },
  9059. "preorderid": {
  9060. "description": "关联预埋单号(止盈止损单时填写)",
  9061. "type": "integer"
  9062. },
  9063. "pricemode": {
  9064. "description": "取价方式 - 1:市价 2: 限价",
  9065. "type": "integer"
  9066. },
  9067. "quoteid": {
  9068. "description": "报价单ID",
  9069. "type": "integer"
  9070. },
  9071. "relatedid": {
  9072. "description": "关联单号(交割单)",
  9073. "type": "integer"
  9074. },
  9075. "retcode": {
  9076. "description": "错误代码",
  9077. "type": "integer"
  9078. },
  9079. "sessionid": {
  9080. "description": "会话ID",
  9081. "type": "integer"
  9082. },
  9083. "strorderid": {
  9084. "description": "委托单号",
  9085. "type": "string"
  9086. },
  9087. "tradedate": {
  9088. "description": "交易日(yyyyMMdd)",
  9089. "type": "string"
  9090. },
  9091. "tradeproperty": {
  9092. "description": "交易属性",
  9093. "type": "integer"
  9094. },
  9095. "tradeqty": {
  9096. "description": "成交数量",
  9097. "type": "integer"
  9098. },
  9099. "unfreezecharge": {
  9100. "description": "解冻手续费",
  9101. "type": "number"
  9102. },
  9103. "unfreezemargin": {
  9104. "description": "解冻保证金",
  9105. "type": "number"
  9106. },
  9107. "updatetime": {
  9108. "description": "更新时间",
  9109. "type": "string"
  9110. },
  9111. "uuid": {
  9112. "description": "发起端唯一id",
  9113. "type": "string"
  9114. },
  9115. "validtime": {
  9116. "description": "有效期限",
  9117. "type": "string"
  9118. },
  9119. "validtype": {
  9120. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9121. "type": "integer"
  9122. },
  9123. "volumetype": {
  9124. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9125. "type": "integer"
  9126. }
  9127. }
  9128. },
  9129. "cptrade.QueryMyCPTradeGoodsRsp": {
  9130. "type": "object",
  9131. "required": [
  9132. "goodscode",
  9133. "goodsid",
  9134. "goodsname",
  9135. "marketid",
  9136. "relatedgoodscode",
  9137. "relatedgoodsname"
  9138. ],
  9139. "properties": {
  9140. "accountid": {
  9141. "description": "卖方账户ID",
  9142. "type": "integer"
  9143. },
  9144. "agreeunit": {
  9145. "description": "合约单位",
  9146. "type": "number"
  9147. },
  9148. "applyid": {
  9149. "description": "关联申请ID",
  9150. "type": "integer"
  9151. },
  9152. "attachmenturl": {
  9153. "description": "附件地址",
  9154. "type": "string"
  9155. },
  9156. "createtime": {
  9157. "description": "创建时间",
  9158. "type": "string"
  9159. },
  9160. "currencyid": {
  9161. "description": "报价货币ID",
  9162. "type": "integer"
  9163. },
  9164. "decimalplace": {
  9165. "description": "报价小数位",
  9166. "type": "integer"
  9167. },
  9168. "endtime": {
  9169. "description": "预售结束时间",
  9170. "type": "string"
  9171. },
  9172. "floorprice": {
  9173. "description": "底价[大宗式竞拍]",
  9174. "type": "number"
  9175. },
  9176. "goodscode": {
  9177. "description": "商品代码(预售)",
  9178. "type": "string"
  9179. },
  9180. "goodsdetail": {
  9181. "description": "详情[大宗]",
  9182. "type": "string"
  9183. },
  9184. "goodsid": {
  9185. "description": "商品ID(自增ID SEQ_GOODS)",
  9186. "type": "integer"
  9187. },
  9188. "goodsname": {
  9189. "description": "商品名称(预售)",
  9190. "type": "string"
  9191. },
  9192. "goodunit": {
  9193. "description": "报价单位",
  9194. "type": "string"
  9195. },
  9196. "goodunitid": {
  9197. "description": "报价单位ID",
  9198. "type": "integer"
  9199. },
  9200. "marketid": {
  9201. "description": "所属市场ID",
  9202. "type": "integer"
  9203. },
  9204. "marketname": {
  9205. "description": "预售市场名称",
  9206. "type": "string"
  9207. },
  9208. "presaledamount": {
  9209. "description": "已预售总金额(预售结束时更新)",
  9210. "type": "number"
  9211. },
  9212. "presaledqty": {
  9213. "description": "已预售量(预售结束时更新)",
  9214. "type": "integer"
  9215. },
  9216. "presalemode": {
  9217. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9218. "type": "integer"
  9219. },
  9220. "presaleqty": {
  9221. "description": "预售数量",
  9222. "type": "integer"
  9223. },
  9224. "refprice": {
  9225. "description": "参考价格[一口价]",
  9226. "type": "number"
  9227. },
  9228. "relatedgoodscode": {
  9229. "description": "商品代码(订单)",
  9230. "type": "string"
  9231. },
  9232. "relatedgoodsid": {
  9233. "description": "关联交易合约ID",
  9234. "type": "integer"
  9235. },
  9236. "relatedgoodsname": {
  9237. "description": "商品名称(订单)",
  9238. "type": "string"
  9239. },
  9240. "relatedmarketid": {
  9241. "description": "关联交易合约市场ID",
  9242. "type": "integer"
  9243. },
  9244. "sellstatus": {
  9245. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9246. "type": "integer"
  9247. },
  9248. "startprice": {
  9249. "description": "起拍价[大宗式竞拍]",
  9250. "type": "number"
  9251. },
  9252. "starttime": {
  9253. "description": "预售开始时间",
  9254. "type": "string"
  9255. },
  9256. "tradedate": {
  9257. "description": "交易日(yyyyMMdd)",
  9258. "type": "string"
  9259. },
  9260. "tradeprice": {
  9261. "description": "成交价[大宗]",
  9262. "type": "number"
  9263. },
  9264. "userid": {
  9265. "description": "卖方用户ID",
  9266. "type": "integer"
  9267. }
  9268. }
  9269. },
  9270. "cptrade.QueryPresaleGoodsExRsp": {
  9271. "type": "object",
  9272. "required": [
  9273. "goodsid"
  9274. ],
  9275. "properties": {
  9276. "attachmenturl": {
  9277. "description": "附件地址",
  9278. "type": "string"
  9279. },
  9280. "createtime": {
  9281. "description": "创建时间",
  9282. "type": "string"
  9283. },
  9284. "endtime": {
  9285. "description": "预售结束时间",
  9286. "type": "string"
  9287. },
  9288. "floorprice": {
  9289. "description": "底价[大宗式竞拍]",
  9290. "type": "number"
  9291. },
  9292. "goodsdetail": {
  9293. "description": "详情[大宗]",
  9294. "type": "string"
  9295. },
  9296. "goodsid": {
  9297. "description": "商品ID(预售)",
  9298. "type": "integer"
  9299. },
  9300. "goodunit": {
  9301. "description": "报价单位",
  9302. "type": "string"
  9303. },
  9304. "marketid": {
  9305. "description": "预售市场ID - 根据预售模式选择市场",
  9306. "type": "integer"
  9307. },
  9308. "presaledamount": {
  9309. "description": "已预售总金额(预售结束时更新)",
  9310. "type": "number"
  9311. },
  9312. "presaledqty": {
  9313. "description": "已预售量(预售结束时更新)",
  9314. "type": "integer"
  9315. },
  9316. "presalemode": {
  9317. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9318. "type": "integer"
  9319. },
  9320. "presaleqty": {
  9321. "description": "预售数量",
  9322. "type": "integer"
  9323. },
  9324. "refprice": {
  9325. "description": "参考价格[一口价]",
  9326. "type": "number"
  9327. },
  9328. "relatedgoodsid": {
  9329. "description": "关联交易合约ID",
  9330. "type": "integer"
  9331. },
  9332. "relatedmarketid": {
  9333. "description": "关联交易合约市场ID",
  9334. "type": "integer"
  9335. },
  9336. "sellstatus": {
  9337. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9338. "type": "integer"
  9339. },
  9340. "startprice": {
  9341. "description": "起拍价[大宗式竞拍]",
  9342. "type": "number"
  9343. },
  9344. "starttime": {
  9345. "description": "预售开始时间",
  9346. "type": "string"
  9347. },
  9348. "tradedate": {
  9349. "description": "交易日(yyyyMMdd)",
  9350. "type": "string"
  9351. },
  9352. "tradeprice": {
  9353. "description": "成交价[大宗]",
  9354. "type": "number"
  9355. }
  9356. }
  9357. },
  9358. "delivery.QueryDeliveryRelationRsp": {
  9359. "type": "object",
  9360. "required": [
  9361. "begindate",
  9362. "enddate",
  9363. "goodsid",
  9364. "mindeliveryqty",
  9365. "xdeliveryratio"
  9366. ],
  9367. "properties": {
  9368. "begindate": {
  9369. "description": "起始日期(yyyyMMdd)",
  9370. "type": "string"
  9371. },
  9372. "buytemplateid": {
  9373. "description": "买履约计划模板ID",
  9374. "type": "integer"
  9375. },
  9376. "deliverygoodscode": {
  9377. "description": "品种代码",
  9378. "type": "string"
  9379. },
  9380. "deliverygoodsid": {
  9381. "description": "交割商品",
  9382. "type": "integer"
  9383. },
  9384. "deliverygoodsname": {
  9385. "description": "品种名称",
  9386. "type": "string"
  9387. },
  9388. "deliverymode": {
  9389. "description": "交割方式 - 1:点选式 2:申报式",
  9390. "type": "integer"
  9391. },
  9392. "deliverypricerule": {
  9393. "description": "交割价规则- 1:行情价 2:建仓价",
  9394. "type": "integer"
  9395. },
  9396. "deliverytype": {
  9397. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9398. "type": "integer"
  9399. },
  9400. "enddate": {
  9401. "description": "结束日期(yyyyMMdd)",
  9402. "type": "string"
  9403. },
  9404. "goodscode": {
  9405. "description": "商品代码",
  9406. "type": "string"
  9407. },
  9408. "goodsid": {
  9409. "description": "交易合约ID",
  9410. "type": "integer"
  9411. },
  9412. "goodsname": {
  9413. "description": "商品名称",
  9414. "type": "string"
  9415. },
  9416. "marketid": {
  9417. "description": "市场ID",
  9418. "type": "integer"
  9419. },
  9420. "mindeliveryqty": {
  9421. "description": "最小交割系数(K)",
  9422. "type": "integer"
  9423. },
  9424. "p2deliveryprice": {
  9425. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9426. "type": "number"
  9427. },
  9428. "p2deliveryratio": {
  9429. "description": "P2合约系数(p)",
  9430. "type": "integer"
  9431. },
  9432. "p2goodsid": {
  9433. "description": "P2合约ID",
  9434. "type": "integer"
  9435. },
  9436. "p2pricemode": {
  9437. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9438. "type": "integer"
  9439. },
  9440. "pdeliveryprice": {
  9441. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9442. "type": "number"
  9443. },
  9444. "pdeliveryratio": {
  9445. "description": "P合约系数(n)",
  9446. "type": "integer"
  9447. },
  9448. "pgoodsid": {
  9449. "description": "P合约ID",
  9450. "type": "integer"
  9451. },
  9452. "ppricemode": {
  9453. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9454. "type": "integer"
  9455. },
  9456. "rratio": {
  9457. "description": "兑换系数(R)",
  9458. "type": "integer"
  9459. },
  9460. "rratio1": {
  9461. "description": "兑换系数(交易合约)(R1)",
  9462. "type": "integer"
  9463. },
  9464. "rratio2": {
  9465. "description": "兑换系数(仓单标准)(R2)",
  9466. "type": "integer"
  9467. },
  9468. "selltemplateid": {
  9469. "description": "卖履约计划模板ID",
  9470. "type": "integer"
  9471. },
  9472. "wrstandardid": {
  9473. "description": "仓单标准ID",
  9474. "type": "integer"
  9475. },
  9476. "xdeliveryratio": {
  9477. "description": "交易合约系数(m)",
  9478. "type": "integer"
  9479. }
  9480. }
  9481. },
  9482. "ermcp.ExposureDetailRsp": {
  9483. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9484. },
  9485. "ermcp.ExposureHedgePosDetailRsp": {
  9486. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9487. },
  9488. "ermcp.ExposureHedgePositionRsp": {
  9489. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9490. },
  9491. "ermcp.ExposureSpotDetailRsp": {
  9492. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9493. },
  9494. "ermcp.ExposureSpotRsp": {
  9495. "$ref": "#/definitions/models.AreaSpotModel"
  9496. },
  9497. "ermcp.HisExposureRsp": {
  9498. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9499. },
  9500. "ermcp.PendingAuditCntRsp": {
  9501. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9502. },
  9503. "ermcp.QryAvalidGPRsp": {
  9504. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9505. },
  9506. "ermcp.QryBusinessDjRsp": {
  9507. "type": "object",
  9508. "properties": {
  9509. "amount": {
  9510. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9511. "type": "number"
  9512. },
  9513. "applyid": {
  9514. "description": "申请人",
  9515. "type": "string"
  9516. },
  9517. "applyname": {
  9518. "description": "申请人名称",
  9519. "type": "string"
  9520. },
  9521. "applystatus": {
  9522. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9523. "type": "integer"
  9524. },
  9525. "applytime": {
  9526. "description": "申请时间",
  9527. "type": "string"
  9528. },
  9529. "attachurl": {
  9530. "description": "附件",
  9531. "type": "string"
  9532. },
  9533. "auditid": {
  9534. "description": "审核人ID",
  9535. "type": "string"
  9536. },
  9537. "auditname": {
  9538. "description": "审核人名称",
  9539. "type": "string"
  9540. },
  9541. "audittime": {
  9542. "description": "审核时间",
  9543. "type": "string"
  9544. },
  9545. "buyusername": {
  9546. "description": "采购方名称",
  9547. "type": "string"
  9548. },
  9549. "contractno": {
  9550. "description": "合同编号",
  9551. "type": "string"
  9552. },
  9553. "contractstatus": {
  9554. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9555. "type": "integer"
  9556. },
  9557. "contracttype": {
  9558. "description": "现货合同类型 - 1:采购 -1:销售",
  9559. "type": "integer"
  9560. },
  9561. "deliverygoodscode": {
  9562. "description": "现货品种代码",
  9563. "type": "string"
  9564. },
  9565. "deliverygoodsid": {
  9566. "description": "现货商品ID",
  9567. "type": "integer"
  9568. },
  9569. "deliverygoodsname": {
  9570. "description": "现货品种名称",
  9571. "type": "string"
  9572. },
  9573. "enumdicname": {
  9574. "description": "单位名称",
  9575. "type": "string"
  9576. },
  9577. "goodscode": {
  9578. "description": "点价合约",
  9579. "type": "string"
  9580. },
  9581. "goodsname": {
  9582. "description": "商品名称",
  9583. "type": "string"
  9584. },
  9585. "operateapplyid": {
  9586. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9587. "type": "string"
  9588. },
  9589. "operateapplytype": {
  9590. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9591. "type": "integer"
  9592. },
  9593. "pricedPrice": {
  9594. "description": "点价价格(非必填)",
  9595. "type": "number"
  9596. },
  9597. "pricedQty": {
  9598. "description": "点价数量(非必填)",
  9599. "type": "number"
  9600. },
  9601. "pricemove": {
  9602. "description": "升贴水",
  9603. "type": "number"
  9604. },
  9605. "pricetype": {
  9606. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9607. "type": "integer"
  9608. },
  9609. "relatedid": {
  9610. "description": "现货合同ID",
  9611. "type": "string"
  9612. },
  9613. "sellusername": {
  9614. "description": "销售方名字",
  9615. "type": "string"
  9616. },
  9617. "userid": {
  9618. "description": "用户ID",
  9619. "type": "integer"
  9620. },
  9621. "wrstandardcode": {
  9622. "description": "品类代码",
  9623. "type": "string"
  9624. },
  9625. "wrstandardid": {
  9626. "description": "品类id",
  9627. "type": "integer"
  9628. },
  9629. "wrstandardname": {
  9630. "description": "品类名称",
  9631. "type": "string"
  9632. }
  9633. }
  9634. },
  9635. "ermcp.QryBussinessFpRsp": {
  9636. "type": "object",
  9637. "properties": {
  9638. "applyid": {
  9639. "description": "申请人",
  9640. "type": "string"
  9641. },
  9642. "applyname": {
  9643. "description": "申请人名称",
  9644. "type": "string"
  9645. },
  9646. "applystatus": {
  9647. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9648. "type": "integer"
  9649. },
  9650. "applytime": {
  9651. "description": "申请时间",
  9652. "type": "string"
  9653. },
  9654. "attachurl": {
  9655. "description": "附件",
  9656. "type": "string"
  9657. },
  9658. "auditid": {
  9659. "description": "审核人ID",
  9660. "type": "string"
  9661. },
  9662. "auditname": {
  9663. "description": "审核人名称",
  9664. "type": "string"
  9665. },
  9666. "audittime": {
  9667. "description": "审核时间",
  9668. "type": "string"
  9669. },
  9670. "buyusername": {
  9671. "description": "采购方名称",
  9672. "type": "string"
  9673. },
  9674. "contractno": {
  9675. "description": "合同编号",
  9676. "type": "string"
  9677. },
  9678. "contractstatus": {
  9679. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9680. "type": "integer"
  9681. },
  9682. "contracttype": {
  9683. "description": "现货合同类型 - 1:采购 -1:销售",
  9684. "type": "integer"
  9685. },
  9686. "deliverygoodscode": {
  9687. "description": "现货品种代码",
  9688. "type": "string"
  9689. },
  9690. "deliverygoodsid": {
  9691. "description": "现货商品ID",
  9692. "type": "integer"
  9693. },
  9694. "deliverygoodsname": {
  9695. "description": "现货品种名称",
  9696. "type": "string"
  9697. },
  9698. "enumdicname": {
  9699. "description": "单位名称",
  9700. "type": "string"
  9701. },
  9702. "goodscode": {
  9703. "description": "点价合约",
  9704. "type": "string"
  9705. },
  9706. "goodsname": {
  9707. "description": "商品名称",
  9708. "type": "string"
  9709. },
  9710. "invoiceAmount": {
  9711. "description": "已开收票金额(销售为开票,采购为收票)",
  9712. "type": "number"
  9713. },
  9714. "operateapplyid": {
  9715. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9716. "type": "string"
  9717. },
  9718. "operateapplytype": {
  9719. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9720. "type": "integer"
  9721. },
  9722. "pricemove": {
  9723. "description": "升贴水",
  9724. "type": "number"
  9725. },
  9726. "pricetype": {
  9727. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9728. "type": "integer"
  9729. },
  9730. "relatedid": {
  9731. "description": "现货合同ID",
  9732. "type": "string"
  9733. },
  9734. "sellusername": {
  9735. "description": "销售方名字",
  9736. "type": "string"
  9737. },
  9738. "userid": {
  9739. "description": "用户ID",
  9740. "type": "integer"
  9741. },
  9742. "wrstandardcode": {
  9743. "description": "品类代码",
  9744. "type": "string"
  9745. },
  9746. "wrstandardid": {
  9747. "description": "品类id",
  9748. "type": "integer"
  9749. },
  9750. "wrstandardname": {
  9751. "description": "品类名称",
  9752. "type": "string"
  9753. }
  9754. }
  9755. },
  9756. "ermcp.QryBussinessJsExRsp": {
  9757. "type": "object",
  9758. "properties": {
  9759. "applyid": {
  9760. "description": "申请人",
  9761. "type": "string"
  9762. },
  9763. "applyname": {
  9764. "description": "申请人名称",
  9765. "type": "string"
  9766. },
  9767. "applystatus": {
  9768. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9769. "type": "integer"
  9770. },
  9771. "applytime": {
  9772. "description": "申请时间",
  9773. "type": "string"
  9774. },
  9775. "attachurl": {
  9776. "description": "附件",
  9777. "type": "string"
  9778. },
  9779. "auditid": {
  9780. "description": "审核人ID",
  9781. "type": "string"
  9782. },
  9783. "auditname": {
  9784. "description": "审核人名称",
  9785. "type": "string"
  9786. },
  9787. "audittime": {
  9788. "description": "审核时间",
  9789. "type": "string"
  9790. },
  9791. "buyusername": {
  9792. "description": "采购方名称",
  9793. "type": "string"
  9794. },
  9795. "contractno": {
  9796. "description": "合同编号",
  9797. "type": "string"
  9798. },
  9799. "contractstatus": {
  9800. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9801. "type": "integer"
  9802. },
  9803. "contracttype": {
  9804. "description": "现货合同类型 - 1:采购 -1:销售",
  9805. "type": "integer"
  9806. },
  9807. "deliverygoodscode": {
  9808. "description": "现货品种代码",
  9809. "type": "string"
  9810. },
  9811. "deliverygoodsid": {
  9812. "description": "现货商品ID",
  9813. "type": "integer"
  9814. },
  9815. "deliverygoodsname": {
  9816. "description": "现货品种名称",
  9817. "type": "string"
  9818. },
  9819. "enumdicname": {
  9820. "description": "单位名称",
  9821. "type": "string"
  9822. },
  9823. "goodscode": {
  9824. "description": "点价合约",
  9825. "type": "string"
  9826. },
  9827. "goodsname": {
  9828. "description": "商品名称",
  9829. "type": "string"
  9830. },
  9831. "operateapplyid": {
  9832. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9833. "type": "string"
  9834. },
  9835. "operateapplytype": {
  9836. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9837. "type": "integer"
  9838. },
  9839. "pricemove": {
  9840. "description": "升贴水",
  9841. "type": "number"
  9842. },
  9843. "pricetype": {
  9844. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9845. "type": "integer"
  9846. },
  9847. "reckontype": {
  9848. "description": "结算类型",
  9849. "type": "string"
  9850. },
  9851. "reckonvalue": {
  9852. "description": "值",
  9853. "type": "number"
  9854. },
  9855. "relatedid": {
  9856. "description": "现货合同ID",
  9857. "type": "string"
  9858. },
  9859. "sellusername": {
  9860. "description": "销售方名字",
  9861. "type": "string"
  9862. },
  9863. "userid": {
  9864. "description": "用户ID",
  9865. "type": "integer"
  9866. },
  9867. "wrstandardcode": {
  9868. "description": "品类代码",
  9869. "type": "string"
  9870. },
  9871. "wrstandardid": {
  9872. "description": "品类id",
  9873. "type": "integer"
  9874. },
  9875. "wrstandardname": {
  9876. "description": "品类名称",
  9877. "type": "string"
  9878. }
  9879. }
  9880. },
  9881. "ermcp.QryBussinessJsRsp": {
  9882. "type": "object",
  9883. "properties": {
  9884. "addmargin": {
  9885. "description": "追加保证金(非必填)",
  9886. "type": "number"
  9887. },
  9888. "applyid": {
  9889. "description": "申请人",
  9890. "type": "string"
  9891. },
  9892. "applyname": {
  9893. "description": "申请人名称",
  9894. "type": "string"
  9895. },
  9896. "applystatus": {
  9897. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9898. "type": "integer"
  9899. },
  9900. "applytime": {
  9901. "description": "申请时间",
  9902. "type": "string"
  9903. },
  9904. "attachurl": {
  9905. "description": "附件",
  9906. "type": "string"
  9907. },
  9908. "auditid": {
  9909. "description": "审核人ID",
  9910. "type": "string"
  9911. },
  9912. "auditname": {
  9913. "description": "审核人名称",
  9914. "type": "string"
  9915. },
  9916. "audittime": {
  9917. "description": "审核时间",
  9918. "type": "string"
  9919. },
  9920. "buyusername": {
  9921. "description": "采购方名称",
  9922. "type": "string"
  9923. },
  9924. "contractno": {
  9925. "description": "合同编号",
  9926. "type": "string"
  9927. },
  9928. "contractstatus": {
  9929. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9930. "type": "integer"
  9931. },
  9932. "contracttype": {
  9933. "description": "现货合同类型 - 1:采购 -1:销售",
  9934. "type": "integer"
  9935. },
  9936. "decmargin": {
  9937. "description": "减少保证金(非必填)",
  9938. "type": "number"
  9939. },
  9940. "deliverygoodscode": {
  9941. "description": "现货品种代码",
  9942. "type": "string"
  9943. },
  9944. "deliverygoodsid": {
  9945. "description": "现货商品ID",
  9946. "type": "integer"
  9947. },
  9948. "deliverygoodsname": {
  9949. "description": "现货品种名称",
  9950. "type": "string"
  9951. },
  9952. "enumdicname": {
  9953. "description": "单位名称",
  9954. "type": "string"
  9955. },
  9956. "goodscode": {
  9957. "description": "点价合约",
  9958. "type": "string"
  9959. },
  9960. "goodsname": {
  9961. "description": "商品名称",
  9962. "type": "string"
  9963. },
  9964. "operateapplyid": {
  9965. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9966. "type": "string"
  9967. },
  9968. "operateapplytype": {
  9969. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9970. "type": "integer"
  9971. },
  9972. "pricemove": {
  9973. "description": "升贴水",
  9974. "type": "number"
  9975. },
  9976. "pricetype": {
  9977. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9978. "type": "integer"
  9979. },
  9980. "reckonadjustamount": {
  9981. "description": "结算调整金额(非必填)",
  9982. "type": "number"
  9983. },
  9984. "reckonosamount": {
  9985. "description": "结算溢短金额(非必填)",
  9986. "type": "number"
  9987. },
  9988. "reckonotheramount": {
  9989. "description": "结算其他费用(非必填)",
  9990. "type": "number"
  9991. },
  9992. "reckonrealqty": {
  9993. "description": "结算实际数量(非必填)",
  9994. "type": "number"
  9995. },
  9996. "relatedid": {
  9997. "description": "现货合同ID",
  9998. "type": "string"
  9999. },
  10000. "sellusername": {
  10001. "description": "销售方名字",
  10002. "type": "string"
  10003. },
  10004. "userid": {
  10005. "description": "用户ID",
  10006. "type": "integer"
  10007. },
  10008. "wrstandardcode": {
  10009. "description": "品类代码",
  10010. "type": "string"
  10011. },
  10012. "wrstandardid": {
  10013. "description": "品类id",
  10014. "type": "integer"
  10015. },
  10016. "wrstandardname": {
  10017. "description": "品类名称",
  10018. "type": "string"
  10019. }
  10020. }
  10021. },
  10022. "ermcp.QryBussinessKxRsp": {
  10023. "type": "object",
  10024. "properties": {
  10025. "applyid": {
  10026. "description": "申请人",
  10027. "type": "string"
  10028. },
  10029. "applyname": {
  10030. "description": "申请人名称",
  10031. "type": "string"
  10032. },
  10033. "applystatus": {
  10034. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10035. "type": "integer"
  10036. },
  10037. "applytime": {
  10038. "description": "申请时间",
  10039. "type": "string"
  10040. },
  10041. "attachurl": {
  10042. "description": "附件",
  10043. "type": "string"
  10044. },
  10045. "auditid": {
  10046. "description": "审核人ID",
  10047. "type": "string"
  10048. },
  10049. "auditname": {
  10050. "description": "审核人名称",
  10051. "type": "string"
  10052. },
  10053. "audittime": {
  10054. "description": "审核时间",
  10055. "type": "string"
  10056. },
  10057. "buyusername": {
  10058. "description": "采购方名称",
  10059. "type": "string"
  10060. },
  10061. "contractno": {
  10062. "description": "合同编号",
  10063. "type": "string"
  10064. },
  10065. "contractstatus": {
  10066. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10067. "type": "integer"
  10068. },
  10069. "contracttype": {
  10070. "description": "现货合同类型 - 1:采购 -1:销售",
  10071. "type": "integer"
  10072. },
  10073. "deductamount": {
  10074. "description": "退款(非必填)",
  10075. "type": "number"
  10076. },
  10077. "deliverygoodscode": {
  10078. "description": "现货品种代码",
  10079. "type": "string"
  10080. },
  10081. "deliverygoodsid": {
  10082. "description": "现货商品ID",
  10083. "type": "integer"
  10084. },
  10085. "deliverygoodsname": {
  10086. "description": "现货品种名称",
  10087. "type": "string"
  10088. },
  10089. "enumdicname": {
  10090. "description": "单位名称",
  10091. "type": "string"
  10092. },
  10093. "goodscode": {
  10094. "description": "点价合约",
  10095. "type": "string"
  10096. },
  10097. "goodsname": {
  10098. "description": "商品名称",
  10099. "type": "string"
  10100. },
  10101. "kxtype": {
  10102. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10103. "type": "integer"
  10104. },
  10105. "operateapplyid": {
  10106. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10107. "type": "string"
  10108. },
  10109. "operateapplytype": {
  10110. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10111. "type": "integer"
  10112. },
  10113. "payamount": {
  10114. "description": "收付款(非必填)",
  10115. "type": "number"
  10116. },
  10117. "pricemove": {
  10118. "description": "升贴水",
  10119. "type": "number"
  10120. },
  10121. "pricetype": {
  10122. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10123. "type": "integer"
  10124. },
  10125. "relatedid": {
  10126. "description": "现货合同ID",
  10127. "type": "string"
  10128. },
  10129. "sellusername": {
  10130. "description": "销售方名字",
  10131. "type": "string"
  10132. },
  10133. "userid": {
  10134. "description": "用户ID",
  10135. "type": "integer"
  10136. },
  10137. "wrstandardcode": {
  10138. "description": "品类代码",
  10139. "type": "string"
  10140. },
  10141. "wrstandardid": {
  10142. "description": "品类id",
  10143. "type": "integer"
  10144. },
  10145. "wrstandardname": {
  10146. "description": "品类名称",
  10147. "type": "string"
  10148. }
  10149. }
  10150. },
  10151. "ermcp.QryGGCovertCfgRsp": {
  10152. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10153. },
  10154. "ermcp.QryMGChangeLogRsp": {
  10155. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10156. },
  10157. "ermcp.QryMiddleGoodsDetailRsp": {
  10158. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10159. },
  10160. "ermcp.QryMiddleGoodsRsp": {
  10161. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10162. },
  10163. "ermcp.QryOPLogRsp": {
  10164. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10165. },
  10166. "ermcp.QryUserInfoRsp": {
  10167. "$ref": "#/definitions/models.ErmcpUserModel"
  10168. },
  10169. "ermcp.QryWarehouseRsp": {
  10170. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10171. },
  10172. "ermcp.QueryErmcpTradePositionRsp": {
  10173. "type": "object",
  10174. "properties": {
  10175. "agreeunit": {
  10176. "description": "合约单位",
  10177. "type": "number"
  10178. },
  10179. "buyorsell": {
  10180. "description": "方向 - 0:买 1:卖",
  10181. "type": "integer"
  10182. },
  10183. "curpositionqty": {
  10184. "description": "持仓(总仓数量, 期末头寸)",
  10185. "type": "integer"
  10186. },
  10187. "curtdposition": {
  10188. "description": "今仓数量(期末今日头寸)",
  10189. "type": "integer"
  10190. },
  10191. "curtdpositionenabled": {
  10192. "description": "今仓可用",
  10193. "type": "integer"
  10194. },
  10195. "decimalplace": {
  10196. "description": "报价小数位",
  10197. "type": "integer"
  10198. },
  10199. "enableqty": {
  10200. "description": "可用(总仓可用)",
  10201. "type": "integer"
  10202. },
  10203. "exexchangename": {
  10204. "description": "外部交易所名称",
  10205. "type": "string"
  10206. },
  10207. "goodscode": {
  10208. "description": "商品代码(内部)",
  10209. "type": "string"
  10210. },
  10211. "goodsid": {
  10212. "description": "商品ID(自增ID SEQ_GOODS)",
  10213. "type": "integer"
  10214. },
  10215. "goodsname": {
  10216. "description": "商品名称",
  10217. "type": "string"
  10218. },
  10219. "last": {
  10220. "description": "现价",
  10221. "type": "number"
  10222. },
  10223. "marketid": {
  10224. "description": "所属市场ID",
  10225. "type": "integer"
  10226. },
  10227. "openaverageprice": {
  10228. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10229. "type": "number"
  10230. },
  10231. "opencost": {
  10232. "description": "开仓成本",
  10233. "type": "number"
  10234. },
  10235. "openpl": {
  10236. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10237. "type": "number"
  10238. },
  10239. "outgoodscode": {
  10240. "description": "商品代码(外部)",
  10241. "type": "string"
  10242. },
  10243. "positionaverageprice": {
  10244. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10245. "type": "number"
  10246. },
  10247. "positioncost": {
  10248. "description": "持仓成本",
  10249. "type": "number"
  10250. },
  10251. "positionpl": {
  10252. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10253. "type": "number"
  10254. },
  10255. "positionplrate": {
  10256. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10257. "type": "number"
  10258. },
  10259. "usedmargin": {
  10260. "description": "占用保证金",
  10261. "type": "number"
  10262. }
  10263. }
  10264. },
  10265. "ermcp.RealtimeExposurePositionRsp": {
  10266. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10267. },
  10268. "ermcp.RealtimeExposureRsp": {
  10269. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10270. },
  10271. "erms2.QueryArbitrageStrategyRsp": {
  10272. "type": "object",
  10273. "required": [
  10274. "asapplyid"
  10275. ],
  10276. "properties": {
  10277. "applybasis": {
  10278. "description": "申请基差",
  10279. "type": "number"
  10280. },
  10281. "asapplyid": {
  10282. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10283. "type": "string"
  10284. },
  10285. "asname": {
  10286. "description": "策略名称",
  10287. "type": "string"
  10288. },
  10289. "asno": {
  10290. "description": "策略编号",
  10291. "type": "string"
  10292. },
  10293. "basischangepl": {
  10294. "description": "基差变动损益[结算更新]",
  10295. "type": "number"
  10296. },
  10297. "biztype": {
  10298. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10299. "type": "integer"
  10300. },
  10301. "closetradedate": {
  10302. "description": "完结交易日(yyyyMMdd)",
  10303. "type": "string"
  10304. },
  10305. "curbasis": {
  10306. "description": "当前基差[结算更新]",
  10307. "type": "number"
  10308. },
  10309. "deliverygoodsid": {
  10310. "description": "现货品种ID",
  10311. "type": "integer"
  10312. },
  10313. "futureavgprice": {
  10314. "description": "期货建仓均价",
  10315. "type": "number"
  10316. },
  10317. "futurecloseamount": {
  10318. "description": "期货平仓金额",
  10319. "type": "number"
  10320. },
  10321. "futurecloseqty": {
  10322. "description": "期货平仓数量",
  10323. "type": "number"
  10324. },
  10325. "futureopenamount": {
  10326. "description": "期货开仓金额",
  10327. "type": "number"
  10328. },
  10329. "futureopenqty": {
  10330. "description": "期货开仓数量",
  10331. "type": "number"
  10332. },
  10333. "futurepl": {
  10334. "description": "期货总盈亏[结算更新]",
  10335. "type": "number"
  10336. },
  10337. "futureqty": {
  10338. "description": "期货持仓数量",
  10339. "type": "number"
  10340. },
  10341. "futurequote": {
  10342. "description": "期货额度",
  10343. "type": "number"
  10344. },
  10345. "goodsgroupid": {
  10346. "description": "期货品种ID",
  10347. "type": "integer"
  10348. },
  10349. "marketid": {
  10350. "description": "市场ID",
  10351. "type": "integer"
  10352. },
  10353. "netexposure": {
  10354. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10355. "type": "number"
  10356. },
  10357. "netexposurepl": {
  10358. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10359. "type": "number"
  10360. },
  10361. "netexposurerate": {
  10362. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10363. "type": "number"
  10364. },
  10365. "openbasis": {
  10366. "description": "建仓基差",
  10367. "type": "number"
  10368. },
  10369. "pricedspotqty": {
  10370. "description": "已定价现货数量",
  10371. "type": "number"
  10372. },
  10373. "pricedspotqtynotax": {
  10374. "description": "已定价现货不含税数量",
  10375. "type": "number"
  10376. },
  10377. "remark": {
  10378. "description": "备注",
  10379. "type": "string"
  10380. },
  10381. "spotavgprice": {
  10382. "description": "现货均价",
  10383. "type": "number"
  10384. },
  10385. "spotbuyamount": {
  10386. "description": "现货采购金额",
  10387. "type": "number"
  10388. },
  10389. "spotbuyqty": {
  10390. "description": "现货采购数量",
  10391. "type": "number"
  10392. },
  10393. "spotpl": {
  10394. "description": "现货总盈亏[结算更新]",
  10395. "type": "number"
  10396. },
  10397. "spotquota": {
  10398. "description": "现货额度",
  10399. "type": "number"
  10400. },
  10401. "spotsellamount": {
  10402. "description": "现货销售金额",
  10403. "type": "number"
  10404. },
  10405. "spotsellqty": {
  10406. "description": "现货销售数量",
  10407. "type": "number"
  10408. },
  10409. "spotusedquota": {
  10410. "description": "现货占用资金",
  10411. "type": "number"
  10412. },
  10413. "strategystatus": {
  10414. "description": "策略状态 - 0:未结束 1:已结束",
  10415. "type": "integer"
  10416. },
  10417. "totalpl": {
  10418. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10419. "type": "number"
  10420. },
  10421. "tradedate": {
  10422. "description": "交易日(yyyyMMdd)",
  10423. "type": "string"
  10424. },
  10425. "updatetime": {
  10426. "description": "更新时间",
  10427. "type": "string"
  10428. },
  10429. "usedquota": {
  10430. "description": "已占用资金",
  10431. "type": "number"
  10432. },
  10433. "userid": {
  10434. "description": "所属机构",
  10435. "type": "integer"
  10436. }
  10437. }
  10438. },
  10439. "erms2.QueryInnerTradeDetailRsp": {
  10440. "type": "object",
  10441. "required": [
  10442. "asapplyid",
  10443. "buyorsell",
  10444. "goodscode",
  10445. "goodsgroupid",
  10446. "goodsgroupname",
  10447. "goodsname",
  10448. "tradeid"
  10449. ],
  10450. "properties": {
  10451. "accountid": {
  10452. "description": "账号ID",
  10453. "type": "integer"
  10454. },
  10455. "agreeunit": {
  10456. "description": "合约单位",
  10457. "type": "number"
  10458. },
  10459. "asapplyid": {
  10460. "description": "策略申请ID",
  10461. "type": "integer"
  10462. },
  10463. "asname": {
  10464. "description": "策略名称",
  10465. "type": "string"
  10466. },
  10467. "asno": {
  10468. "description": "策略编号",
  10469. "type": "string"
  10470. },
  10471. "buyorsell": {
  10472. "description": "方向 - 0:买 1:卖",
  10473. "type": "integer"
  10474. },
  10475. "channelbuildtype": {
  10476. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10477. "type": "integer"
  10478. },
  10479. "closetype": {
  10480. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10481. "type": "integer"
  10482. },
  10483. "decimalplace": {
  10484. "description": "报价小数位",
  10485. "type": "integer"
  10486. },
  10487. "detailtype": {
  10488. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10489. "type": "integer"
  10490. },
  10491. "exexchangecode": {
  10492. "description": "外部交易所代码",
  10493. "type": "string"
  10494. },
  10495. "exexchangename": {
  10496. "description": "外部交易所名称",
  10497. "type": "string"
  10498. },
  10499. "goodscode": {
  10500. "description": "商品代码(合约)",
  10501. "type": "string"
  10502. },
  10503. "goodsgroupid": {
  10504. "description": "商品组ID(品种ID)",
  10505. "type": "integer"
  10506. },
  10507. "goodsgroupname": {
  10508. "description": "商品组名称(品种)",
  10509. "type": "string"
  10510. },
  10511. "goodsid": {
  10512. "description": "商品ID",
  10513. "type": "integer"
  10514. },
  10515. "goodsname": {
  10516. "description": "商品名称(合约)",
  10517. "type": "string"
  10518. },
  10519. "goodunit": {
  10520. "description": "报价单位",
  10521. "type": "string"
  10522. },
  10523. "marketid": {
  10524. "description": "市场ID",
  10525. "type": "integer"
  10526. },
  10527. "orderid": {
  10528. "description": "委托单号",
  10529. "type": "string"
  10530. },
  10531. "outgoodscode": {
  10532. "description": "商品代码(外部)",
  10533. "type": "string"
  10534. },
  10535. "relatedouttradeid": {
  10536. "description": "关联外部成交单ID",
  10537. "type": "string"
  10538. },
  10539. "remark": {
  10540. "description": "备注",
  10541. "type": "string"
  10542. },
  10543. "spotcontractid": {
  10544. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10545. "type": "integer"
  10546. },
  10547. "spotcontractno": {
  10548. "description": "现货合同编号",
  10549. "type": "string"
  10550. },
  10551. "tradeid": {
  10552. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10553. "type": "string"
  10554. },
  10555. "tradeprice": {
  10556. "description": "成交价格",
  10557. "type": "number"
  10558. },
  10559. "tradeqty": {
  10560. "description": "成交数量",
  10561. "type": "integer"
  10562. },
  10563. "tradetime": {
  10564. "description": "成交时间",
  10565. "type": "string"
  10566. },
  10567. "updatetime": {
  10568. "description": "更新时间",
  10569. "type": "string"
  10570. }
  10571. }
  10572. },
  10573. "erms2.QuerySpotContractRsp": {
  10574. "type": "object",
  10575. "required": [
  10576. "spotcontractid"
  10577. ],
  10578. "properties": {
  10579. "accountid": {
  10580. "description": "资金账户ID",
  10581. "type": "integer"
  10582. },
  10583. "areauserid": {
  10584. "description": "所属机构",
  10585. "type": "integer"
  10586. },
  10587. "closedate": {
  10588. "description": "终止日期",
  10589. "type": "string"
  10590. },
  10591. "closeremark": {
  10592. "description": "结束备注",
  10593. "type": "string"
  10594. },
  10595. "closetradedate": {
  10596. "description": "完结交易日(yyyyMMdd)",
  10597. "type": "string"
  10598. },
  10599. "closetype": {
  10600. "description": "终止类型 - 1:违约 2:提前终止",
  10601. "type": "integer"
  10602. },
  10603. "contractamount": {
  10604. "description": "合同金额",
  10605. "type": "number"
  10606. },
  10607. "contractattachment": {
  10608. "description": "合同附件",
  10609. "type": "string"
  10610. },
  10611. "contractno": {
  10612. "description": "现货合同编号",
  10613. "type": "string"
  10614. },
  10615. "contractqty": {
  10616. "description": "合同数量(数值) (用于计算)",
  10617. "type": "number"
  10618. },
  10619. "contractqtychar": {
  10620. "description": "合同数量\\已订价数量 (用于显示)",
  10621. "type": "string"
  10622. },
  10623. "contractstatus": {
  10624. "description": "合同状态 - 0:未结束 1:已结束",
  10625. "type": "integer"
  10626. },
  10627. "contracttype": {
  10628. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10629. "type": "integer"
  10630. },
  10631. "customeraccountid": {
  10632. "description": "客户资金账户ID",
  10633. "type": "integer"
  10634. },
  10635. "customeruserid": {
  10636. "description": "客户ID",
  10637. "type": "integer"
  10638. },
  10639. "deliverygoodsdesc": {
  10640. "description": "品种说明",
  10641. "type": "string"
  10642. },
  10643. "deliverygoodsid": {
  10644. "description": "现货品种ID",
  10645. "type": "integer"
  10646. },
  10647. "handlestatus": {
  10648. "description": "处理状态",
  10649. "type": "integer"
  10650. },
  10651. "invoiceatt": {
  10652. "description": "发票附件",
  10653. "type": "string"
  10654. },
  10655. "invoicedatetime": {
  10656. "description": "开收票更新时间",
  10657. "type": "string"
  10658. },
  10659. "invoiceopentime": {
  10660. "description": "开票时间",
  10661. "type": "string"
  10662. },
  10663. "invoiceremark": {
  10664. "description": "发票备注",
  10665. "type": "string"
  10666. },
  10667. "invoicestatus": {
  10668. "description": "开收票状态 - 0:未开票 1:已开票",
  10669. "type": "integer"
  10670. },
  10671. "lastdate": {
  10672. "description": "交货时间",
  10673. "type": "string"
  10674. },
  10675. "marketid": {
  10676. "description": "市场ID",
  10677. "type": "integer"
  10678. },
  10679. "paydatetime": {
  10680. "description": "收付款更新时间",
  10681. "type": "string"
  10682. },
  10683. "payremark": {
  10684. "description": "收付款备注",
  10685. "type": "string"
  10686. },
  10687. "paystatus": {
  10688. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10689. "type": "integer"
  10690. },
  10691. "positionqty": {
  10692. "description": "头寸数量 - 合同数量去小数部分",
  10693. "type": "integer"
  10694. },
  10695. "producttype": {
  10696. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10697. "type": "integer"
  10698. },
  10699. "relatedqty": {
  10700. "description": "已关联数量",
  10701. "type": "number"
  10702. },
  10703. "relatedstatus": {
  10704. "description": "关联完结状态 - 0:未结束 1:已结束",
  10705. "type": "integer"
  10706. },
  10707. "remark": {
  10708. "description": "备注",
  10709. "type": "string"
  10710. },
  10711. "signdate": {
  10712. "description": "签订日期",
  10713. "type": "string"
  10714. },
  10715. "spotcontractid": {
  10716. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10717. "type": "string"
  10718. },
  10719. "spotdatetime": {
  10720. "description": "收发货更新时间",
  10721. "type": "string"
  10722. },
  10723. "spotprice": {
  10724. "description": "价格",
  10725. "type": "number"
  10726. },
  10727. "spotremark": {
  10728. "description": "收发货备注",
  10729. "type": "string"
  10730. },
  10731. "spotstatus": {
  10732. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10733. "type": "integer"
  10734. },
  10735. "tradedate": {
  10736. "description": "交易日(yyyyMMdd)",
  10737. "type": "string"
  10738. },
  10739. "userid": {
  10740. "description": "业务员用户ID",
  10741. "type": "integer"
  10742. },
  10743. "warehouseid": {
  10744. "description": "仓库ID",
  10745. "type": "integer"
  10746. },
  10747. "wrfactortypeid": {
  10748. "description": "仓单要素类型ID",
  10749. "type": "integer"
  10750. },
  10751. "wrstandardid": {
  10752. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10753. "type": "integer"
  10754. }
  10755. }
  10756. },
  10757. "erms3.AddErms2ASApplyReq": {
  10758. "type": "object",
  10759. "required": [
  10760. "asapplyid"
  10761. ],
  10762. "properties": {
  10763. "applybasis": {
  10764. "description": "申请基差",
  10765. "type": "number"
  10766. },
  10767. "applystatus": {
  10768. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10769. "type": "integer"
  10770. },
  10771. "asapplyid": {
  10772. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10773. "type": "integer"
  10774. },
  10775. "asname": {
  10776. "description": "策略名称",
  10777. "type": "string"
  10778. },
  10779. "asno": {
  10780. "description": "策略编号",
  10781. "type": "string"
  10782. },
  10783. "auditid": {
  10784. "description": "审核人",
  10785. "type": "integer"
  10786. },
  10787. "auditremark": {
  10788. "description": "审核备注",
  10789. "type": "string"
  10790. },
  10791. "audittime": {
  10792. "description": "审核时间",
  10793. "type": "string"
  10794. },
  10795. "biztype": {
  10796. "description": "业务类型 - 1:正向套利 2:反向套利",
  10797. "type": "integer"
  10798. },
  10799. "createtime": {
  10800. "description": "创建时间",
  10801. "type": "string"
  10802. },
  10803. "creatorid": {
  10804. "description": "创建人",
  10805. "type": "integer"
  10806. },
  10807. "deliverygoodsid": {
  10808. "description": "现货品种ID",
  10809. "type": "integer"
  10810. },
  10811. "futurequote": {
  10812. "description": "期货额度",
  10813. "type": "number"
  10814. },
  10815. "goodsgroupid": {
  10816. "description": "期货品种ID",
  10817. "type": "integer"
  10818. },
  10819. "marketid": {
  10820. "description": "市场ID",
  10821. "type": "integer"
  10822. },
  10823. "remark": {
  10824. "description": "备注",
  10825. "type": "string"
  10826. },
  10827. "spotquota": {
  10828. "description": "现货额度",
  10829. "type": "number"
  10830. },
  10831. "tradedate": {
  10832. "description": "交易日(yyyyMMdd)",
  10833. "type": "string"
  10834. },
  10835. "userid": {
  10836. "description": "所属机构",
  10837. "type": "integer"
  10838. }
  10839. }
  10840. },
  10841. "erms3.AddErms2SpotTradeApplyReq": {
  10842. "type": "object",
  10843. "required": [
  10844. "spottradeid"
  10845. ],
  10846. "properties": {
  10847. "applyjsondetail": {
  10848. "description": "申请明细(JSON)",
  10849. "type": "string"
  10850. },
  10851. "applystatus": {
  10852. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10853. "type": "integer"
  10854. },
  10855. "areauserid": {
  10856. "description": "所属机构",
  10857. "type": "integer"
  10858. },
  10859. "auditid": {
  10860. "description": "审核人",
  10861. "type": "integer"
  10862. },
  10863. "auditremark": {
  10864. "description": "审核备注",
  10865. "type": "string"
  10866. },
  10867. "audittime": {
  10868. "description": "审核时间",
  10869. "type": "string"
  10870. },
  10871. "createtime": {
  10872. "description": "创建时间",
  10873. "type": "string"
  10874. },
  10875. "creatorid": {
  10876. "description": "创建人",
  10877. "type": "integer"
  10878. },
  10879. "deliverygoodsid": {
  10880. "description": "现货品种ID",
  10881. "type": "integer"
  10882. },
  10883. "futureaccountid": {
  10884. "description": "期货资金账户",
  10885. "type": "integer"
  10886. },
  10887. "goodsgroupid": {
  10888. "description": "期货品种",
  10889. "type": "integer"
  10890. },
  10891. "marketid": {
  10892. "description": "市场ID",
  10893. "type": "integer"
  10894. },
  10895. "remark": {
  10896. "description": "备注",
  10897. "type": "string"
  10898. },
  10899. "spotaccountid": {
  10900. "description": "现货资金账户",
  10901. "type": "integer"
  10902. },
  10903. "spottradeid": {
  10904. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10905. "type": "integer"
  10906. },
  10907. "spottradename": {
  10908. "description": "业务名称",
  10909. "type": "string"
  10910. },
  10911. "spottradeno": {
  10912. "description": "业务编号",
  10913. "type": "string"
  10914. },
  10915. "tradedate": {
  10916. "description": "交易日(yyyyMMdd)",
  10917. "type": "string"
  10918. },
  10919. "wrstandardid": {
  10920. "description": "仓单标准ID",
  10921. "type": "integer"
  10922. }
  10923. }
  10924. },
  10925. "erms3.AddSpotContractApplyReq": {
  10926. "type": "object",
  10927. "required": [
  10928. "accountid",
  10929. "areauserid",
  10930. "contractno",
  10931. "contracttype",
  10932. "customeraccountid",
  10933. "customeruserid",
  10934. "details",
  10935. "orimargin",
  10936. "signdate"
  10937. ],
  10938. "properties": {
  10939. "accountid": {
  10940. "description": "资金账户ID",
  10941. "type": "integer"
  10942. },
  10943. "areauserid": {
  10944. "description": "所属机构",
  10945. "type": "integer"
  10946. },
  10947. "contractattachment": {
  10948. "description": "合同附件",
  10949. "type": "string"
  10950. },
  10951. "contractno": {
  10952. "description": "现货合同编号",
  10953. "type": "string"
  10954. },
  10955. "contracttype": {
  10956. "description": "现货合同类型 - 1:采购 -1:销售",
  10957. "type": "integer"
  10958. },
  10959. "creatorid": {
  10960. "description": "申请人",
  10961. "type": "integer"
  10962. },
  10963. "customeraccountid": {
  10964. "description": "客户资金账户ID",
  10965. "type": "integer"
  10966. },
  10967. "customeruserid": {
  10968. "description": "客户ID",
  10969. "type": "integer"
  10970. },
  10971. "details": {
  10972. "description": "明细",
  10973. "type": "array",
  10974. "items": {
  10975. "$ref": "#/definitions/erms3.SoptContractDetail"
  10976. }
  10977. },
  10978. "orimargin": {
  10979. "description": "初始保证金",
  10980. "type": "number"
  10981. },
  10982. "remark": {
  10983. "description": "备注",
  10984. "type": "string"
  10985. },
  10986. "signdate": {
  10987. "description": "签订日期",
  10988. "type": "string"
  10989. }
  10990. }
  10991. },
  10992. "erms3.AddSpotContractApplyRsp": {
  10993. "type": "object",
  10994. "required": [
  10995. "contractno"
  10996. ],
  10997. "properties": {
  10998. "contractno": {
  10999. "description": "现货合同编号",
  11000. "type": "string"
  11001. },
  11002. "spotcontractid": {
  11003. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11004. "type": "integer"
  11005. }
  11006. }
  11007. },
  11008. "erms3.AddUserInfoApplyReq": {
  11009. "type": "object",
  11010. "required": [
  11011. "userid"
  11012. ],
  11013. "properties": {
  11014. "accountid": {
  11015. "description": "交易系统帐号Id (加密存储)",
  11016. "type": "integer"
  11017. },
  11018. "areacode": {
  11019. "description": "机构代码",
  11020. "type": "string"
  11021. },
  11022. "areaid": {
  11023. "description": "机构Id",
  11024. "type": "integer"
  11025. },
  11026. "attachment1": {
  11027. "description": "附件1",
  11028. "type": "string"
  11029. },
  11030. "attachment2": {
  11031. "description": "附件2",
  11032. "type": "string"
  11033. },
  11034. "attachment3": {
  11035. "description": "附件3",
  11036. "type": "string"
  11037. },
  11038. "attachment4": {
  11039. "description": "附件4",
  11040. "type": "string"
  11041. },
  11042. "attachment5": {
  11043. "description": "附件5",
  11044. "type": "string"
  11045. },
  11046. "auditedby": {
  11047. "description": "审核人",
  11048. "type": "string"
  11049. },
  11050. "auditime": {
  11051. "description": "审核时间",
  11052. "type": "string"
  11053. },
  11054. "auditsrc": {
  11055. "description": "审核来源 - 1:管理端 2:终端",
  11056. "type": "integer"
  11057. },
  11058. "bankaccount": {
  11059. "description": "银行帐号 (加密存储)",
  11060. "type": "string"
  11061. },
  11062. "bankaccountname": {
  11063. "description": "收款人名称",
  11064. "type": "string"
  11065. },
  11066. "bankcardbackphotourl": {
  11067. "description": "银行卡背面照地址",
  11068. "type": "string"
  11069. },
  11070. "bankcardfrontphotourl": {
  11071. "description": "银行卡正面照地址",
  11072. "type": "string"
  11073. },
  11074. "bankid": {
  11075. "description": "银行编码",
  11076. "type": "string"
  11077. },
  11078. "bankname": {
  11079. "description": "银行名称",
  11080. "type": "string"
  11081. },
  11082. "bankpictureurl": {
  11083. "description": "银行卡正面地址",
  11084. "type": "string"
  11085. },
  11086. "biznature": {
  11087. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11088. "type": "integer"
  11089. },
  11090. "bizscope": {
  11091. "description": "企业经营范围(企业)",
  11092. "type": "string"
  11093. },
  11094. "biztype": {
  11095. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11096. "type": "integer"
  11097. },
  11098. "brokerid": {
  11099. "description": "经纪人ID(加密存储)",
  11100. "type": "string"
  11101. },
  11102. "cardaddress": {
  11103. "description": "证件地址 (加密存储)",
  11104. "type": "string"
  11105. },
  11106. "cardbackphotourl": {
  11107. "description": "背面证件照地址",
  11108. "type": "string"
  11109. },
  11110. "cardfrontphotourl": {
  11111. "description": "正面证件照地址",
  11112. "type": "string"
  11113. },
  11114. "cardnum": {
  11115. "description": "证件号码 (加密存储)",
  11116. "type": "string"
  11117. },
  11118. "cardtype": {
  11119. "description": "证件类型",
  11120. "type": "integer"
  11121. },
  11122. "cityid": {
  11123. "description": "市",
  11124. "type": "integer"
  11125. },
  11126. "company": {
  11127. "description": "公司(个人)",
  11128. "type": "string"
  11129. },
  11130. "contactcardbackphotourl": {
  11131. "description": "联系人证件背面图片地址",
  11132. "type": "string"
  11133. },
  11134. "contactcardfrontphotourl": {
  11135. "description": "联系人证件正面图片地址",
  11136. "type": "string"
  11137. },
  11138. "contactname": {
  11139. "description": "联系人",
  11140. "type": "string"
  11141. },
  11142. "countryid": {
  11143. "description": "国家",
  11144. "type": "integer"
  11145. },
  11146. "createtime": {
  11147. "description": "开户申请时间",
  11148. "type": "string"
  11149. },
  11150. "cusbankid": {
  11151. "description": "签约类型",
  11152. "type": "string"
  11153. },
  11154. "cusbankname": {
  11155. "description": "签约类型名称",
  11156. "type": "string"
  11157. },
  11158. "customername": {
  11159. "description": "客户名称(企业名称)",
  11160. "type": "string"
  11161. },
  11162. "districtid": {
  11163. "description": "地区",
  11164. "type": "integer"
  11165. },
  11166. "email": {
  11167. "description": "Email地址(加密存储)",
  11168. "type": "string"
  11169. },
  11170. "halfbodyphotourl": {
  11171. "description": "半身照地址",
  11172. "type": "string"
  11173. },
  11174. "headurl": {
  11175. "description": "头像地址",
  11176. "type": "string"
  11177. },
  11178. "ipaddress": {
  11179. "description": "IP地址",
  11180. "type": "string"
  11181. },
  11182. "isvalidate": {
  11183. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11184. "type": "string"
  11185. },
  11186. "legalcardbackphotourl": {
  11187. "description": "法人身份证背面照地址",
  11188. "type": "string"
  11189. },
  11190. "legalcardfrontphotourl": {
  11191. "description": "法人身份证正面照地址",
  11192. "type": "string"
  11193. },
  11194. "legalpersonname": {
  11195. "description": "法人姓名(企业)",
  11196. "type": "string"
  11197. },
  11198. "logincode": {
  11199. "description": "登录帐号 (加密存储)",
  11200. "type": "string"
  11201. },
  11202. "memberareaid": {
  11203. "description": "所属会员ID",
  11204. "type": "integer"
  11205. },
  11206. "mobile2": {
  11207. "description": "手机号码[明文-尚志]",
  11208. "type": "string"
  11209. },
  11210. "mobilephone": {
  11211. "description": "手机号码 (加密存储)",
  11212. "type": "string"
  11213. },
  11214. "modifiedby": {
  11215. "description": "修改人帐号",
  11216. "type": "integer"
  11217. },
  11218. "modifiedtime": {
  11219. "description": "修改时间",
  11220. "type": "string"
  11221. },
  11222. "nickname": {
  11223. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11224. "type": "string"
  11225. },
  11226. "openmode": {
  11227. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11228. "type": "integer"
  11229. },
  11230. "otherurl": {
  11231. "description": "其它图片地址[使用分号分隔]",
  11232. "type": "string"
  11233. },
  11234. "postalcode": {
  11235. "description": "邮政编码",
  11236. "type": "string"
  11237. },
  11238. "provinceid": {
  11239. "description": "省",
  11240. "type": "integer"
  11241. },
  11242. "proxystatementurl": {
  11243. "description": "授权委托书",
  11244. "type": "string"
  11245. },
  11246. "qq": {
  11247. "description": "QQ(加密存储",
  11248. "type": "string"
  11249. },
  11250. "referral": {
  11251. "description": "推荐人编码",
  11252. "type": "string"
  11253. },
  11254. "remark": {
  11255. "description": "备注",
  11256. "type": "string"
  11257. },
  11258. "removebeforestatus": {
  11259. "description": "REMOVEBEFORESTATUS",
  11260. "type": "integer"
  11261. },
  11262. "sex": {
  11263. "description": "性别 - 0:女 1:男",
  11264. "type": "integer"
  11265. },
  11266. "signedstatus": {
  11267. "description": "账户一号签签约状态",
  11268. "type": "integer"
  11269. },
  11270. "signpdfurl": {
  11271. "description": "签约pdf文件",
  11272. "type": "string"
  11273. },
  11274. "subbranch": {
  11275. "description": "开户支行",
  11276. "type": "string"
  11277. },
  11278. "taxpayernum": {
  11279. "description": "纳税人识别号",
  11280. "type": "string"
  11281. },
  11282. "telphone": {
  11283. "description": "联系电话(加密存储)",
  11284. "type": "string"
  11285. },
  11286. "userid": {
  11287. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11288. "type": "integer"
  11289. },
  11290. "userinfotype": {
  11291. "description": "用户信息类型 - 1:个人 2:企业",
  11292. "type": "integer"
  11293. },
  11294. "username": {
  11295. "description": "用户姓名",
  11296. "type": "string"
  11297. },
  11298. "userstate": {
  11299. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11300. "type": "integer"
  11301. },
  11302. "usertype": {
  11303. "description": "用户类型 - 1:投资者 2:机构",
  11304. "type": "integer"
  11305. },
  11306. "videourl": {
  11307. "description": "视频地址",
  11308. "type": "string"
  11309. },
  11310. "wechat": {
  11311. "description": "微信号 (加密存储)",
  11312. "type": "string"
  11313. }
  11314. }
  11315. },
  11316. "erms3.CustomerInfo": {
  11317. "type": "object",
  11318. "required": [
  11319. "userid"
  11320. ],
  11321. "properties": {
  11322. "accountids": {
  11323. "description": "资金账户ID列表",
  11324. "type": "array",
  11325. "items": {
  11326. "type": "integer"
  11327. }
  11328. },
  11329. "customername": {
  11330. "description": "名称(企业名称)",
  11331. "type": "string"
  11332. },
  11333. "mobile": {
  11334. "description": "手机号码",
  11335. "type": "string"
  11336. },
  11337. "userid": {
  11338. "description": "用户ID",
  11339. "type": "integer"
  11340. }
  11341. }
  11342. },
  11343. "erms3.ModifyUserInfoApplyReq": {
  11344. "type": "object",
  11345. "required": [
  11346. "userid"
  11347. ],
  11348. "properties": {
  11349. "accountid": {
  11350. "description": "交易系统帐号Id (加密存储)",
  11351. "type": "integer"
  11352. },
  11353. "areacode": {
  11354. "description": "机构代码",
  11355. "type": "string"
  11356. },
  11357. "areaid": {
  11358. "description": "机构Id",
  11359. "type": "integer"
  11360. },
  11361. "attachment1": {
  11362. "description": "附件1",
  11363. "type": "string"
  11364. },
  11365. "attachment2": {
  11366. "description": "附件2",
  11367. "type": "string"
  11368. },
  11369. "attachment3": {
  11370. "description": "附件3",
  11371. "type": "string"
  11372. },
  11373. "attachment4": {
  11374. "description": "附件4",
  11375. "type": "string"
  11376. },
  11377. "attachment5": {
  11378. "description": "附件5",
  11379. "type": "string"
  11380. },
  11381. "auditedby": {
  11382. "description": "审核人",
  11383. "type": "string"
  11384. },
  11385. "auditime": {
  11386. "description": "审核时间",
  11387. "type": "string"
  11388. },
  11389. "auditsrc": {
  11390. "description": "审核来源 - 1:管理端 2:终端",
  11391. "type": "integer"
  11392. },
  11393. "bankaccount": {
  11394. "description": "银行帐号 (加密存储)",
  11395. "type": "string"
  11396. },
  11397. "bankaccountname": {
  11398. "description": "收款人名称",
  11399. "type": "string"
  11400. },
  11401. "bankcardbackphotourl": {
  11402. "description": "银行卡背面照地址",
  11403. "type": "string"
  11404. },
  11405. "bankcardfrontphotourl": {
  11406. "description": "银行卡正面照地址",
  11407. "type": "string"
  11408. },
  11409. "bankid": {
  11410. "description": "银行编码",
  11411. "type": "string"
  11412. },
  11413. "bankname": {
  11414. "description": "银行名称",
  11415. "type": "string"
  11416. },
  11417. "bankpictureurl": {
  11418. "description": "银行卡正面地址",
  11419. "type": "string"
  11420. },
  11421. "biznature": {
  11422. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11423. "type": "integer"
  11424. },
  11425. "bizscope": {
  11426. "description": "企业经营范围(企业)",
  11427. "type": "string"
  11428. },
  11429. "biztype": {
  11430. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11431. "type": "integer"
  11432. },
  11433. "brokerid": {
  11434. "description": "经纪人ID(加密存储)",
  11435. "type": "string"
  11436. },
  11437. "cardaddress": {
  11438. "description": "证件地址 (加密存储)",
  11439. "type": "string"
  11440. },
  11441. "cardbackphotourl": {
  11442. "description": "背面证件照地址",
  11443. "type": "string"
  11444. },
  11445. "cardfrontphotourl": {
  11446. "description": "正面证件照地址",
  11447. "type": "string"
  11448. },
  11449. "cardnum": {
  11450. "description": "证件号码 (加密存储)",
  11451. "type": "string"
  11452. },
  11453. "cardtype": {
  11454. "description": "证件类型",
  11455. "type": "integer"
  11456. },
  11457. "cityid": {
  11458. "description": "市",
  11459. "type": "integer"
  11460. },
  11461. "company": {
  11462. "description": "公司(个人)",
  11463. "type": "string"
  11464. },
  11465. "contactcardbackphotourl": {
  11466. "description": "联系人证件背面图片地址",
  11467. "type": "string"
  11468. },
  11469. "contactcardfrontphotourl": {
  11470. "description": "联系人证件正面图片地址",
  11471. "type": "string"
  11472. },
  11473. "contactname": {
  11474. "description": "联系人",
  11475. "type": "string"
  11476. },
  11477. "countryid": {
  11478. "description": "国家",
  11479. "type": "integer"
  11480. },
  11481. "createtime": {
  11482. "description": "开户申请时间",
  11483. "type": "string"
  11484. },
  11485. "cusbankid": {
  11486. "description": "签约类型",
  11487. "type": "string"
  11488. },
  11489. "cusbankname": {
  11490. "description": "签约类型名称",
  11491. "type": "string"
  11492. },
  11493. "customername": {
  11494. "description": "客户名称(企业名称)",
  11495. "type": "string"
  11496. },
  11497. "districtid": {
  11498. "description": "地区",
  11499. "type": "integer"
  11500. },
  11501. "email": {
  11502. "description": "Email地址(加密存储)",
  11503. "type": "string"
  11504. },
  11505. "halfbodyphotourl": {
  11506. "description": "半身照地址",
  11507. "type": "string"
  11508. },
  11509. "headurl": {
  11510. "description": "头像地址",
  11511. "type": "string"
  11512. },
  11513. "ipaddress": {
  11514. "description": "IP地址",
  11515. "type": "string"
  11516. },
  11517. "isvalidate": {
  11518. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11519. "type": "string"
  11520. },
  11521. "legalcardbackphotourl": {
  11522. "description": "法人身份证背面照地址",
  11523. "type": "string"
  11524. },
  11525. "legalcardfrontphotourl": {
  11526. "description": "法人身份证正面照地址",
  11527. "type": "string"
  11528. },
  11529. "legalpersonname": {
  11530. "description": "法人姓名(企业)",
  11531. "type": "string"
  11532. },
  11533. "logincode": {
  11534. "description": "登录帐号 (加密存储)",
  11535. "type": "string"
  11536. },
  11537. "memberareaid": {
  11538. "description": "所属会员ID",
  11539. "type": "integer"
  11540. },
  11541. "mobile2": {
  11542. "description": "手机号码[明文-尚志]",
  11543. "type": "string"
  11544. },
  11545. "mobilephone": {
  11546. "description": "手机号码 (加密存储)",
  11547. "type": "string"
  11548. },
  11549. "modifiedby": {
  11550. "description": "修改人帐号",
  11551. "type": "integer"
  11552. },
  11553. "modifiedtime": {
  11554. "description": "修改时间",
  11555. "type": "string"
  11556. },
  11557. "nickname": {
  11558. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11559. "type": "string"
  11560. },
  11561. "openmode": {
  11562. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11563. "type": "integer"
  11564. },
  11565. "otherurl": {
  11566. "description": "其它图片地址[使用分号分隔]",
  11567. "type": "string"
  11568. },
  11569. "postalcode": {
  11570. "description": "邮政编码",
  11571. "type": "string"
  11572. },
  11573. "provinceid": {
  11574. "description": "省",
  11575. "type": "integer"
  11576. },
  11577. "proxystatementurl": {
  11578. "description": "授权委托书",
  11579. "type": "string"
  11580. },
  11581. "qq": {
  11582. "description": "QQ(加密存储",
  11583. "type": "string"
  11584. },
  11585. "referral": {
  11586. "description": "推荐人编码",
  11587. "type": "string"
  11588. },
  11589. "remark": {
  11590. "description": "备注",
  11591. "type": "string"
  11592. },
  11593. "removebeforestatus": {
  11594. "description": "REMOVEBEFORESTATUS",
  11595. "type": "integer"
  11596. },
  11597. "sex": {
  11598. "description": "性别 - 0:女 1:男",
  11599. "type": "integer"
  11600. },
  11601. "signedstatus": {
  11602. "description": "账户一号签签约状态",
  11603. "type": "integer"
  11604. },
  11605. "signpdfurl": {
  11606. "description": "签约pdf文件",
  11607. "type": "string"
  11608. },
  11609. "subbranch": {
  11610. "description": "开户支行",
  11611. "type": "string"
  11612. },
  11613. "taxpayernum": {
  11614. "description": "纳税人识别号",
  11615. "type": "string"
  11616. },
  11617. "telphone": {
  11618. "description": "联系电话(加密存储)",
  11619. "type": "string"
  11620. },
  11621. "userid": {
  11622. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11623. "type": "integer"
  11624. },
  11625. "userinfotype": {
  11626. "description": "用户信息类型 - 1:个人 2:企业",
  11627. "type": "integer"
  11628. },
  11629. "username": {
  11630. "description": "用户姓名",
  11631. "type": "string"
  11632. },
  11633. "userstate": {
  11634. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11635. "type": "integer"
  11636. },
  11637. "usertype": {
  11638. "description": "用户类型 - 1:投资者 2:机构",
  11639. "type": "integer"
  11640. },
  11641. "videourl": {
  11642. "description": "视频地址",
  11643. "type": "string"
  11644. },
  11645. "wechat": {
  11646. "description": "微信号 (加密存储)",
  11647. "type": "string"
  11648. }
  11649. }
  11650. },
  11651. "erms3.QryAuditContractRsp": {
  11652. "type": "object",
  11653. "required": [
  11654. "matchcustomername",
  11655. "spotcontractid"
  11656. ],
  11657. "properties": {
  11658. "accountid": {
  11659. "description": "交易员ID",
  11660. "type": "string"
  11661. },
  11662. "applystatus": {
  11663. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11664. "type": "integer"
  11665. },
  11666. "curdeliveryqty": {
  11667. "description": "未交收量",
  11668. "type": "integer"
  11669. },
  11670. "customername": {
  11671. "description": "采购方ID",
  11672. "type": "string"
  11673. },
  11674. "deliverygoodsid": {
  11675. "description": "品种ID",
  11676. "type": "string"
  11677. },
  11678. "deliveryqty": {
  11679. "description": "交收量",
  11680. "type": "integer"
  11681. },
  11682. "enumdicname": {
  11683. "description": "单位名称",
  11684. "type": "string"
  11685. },
  11686. "matchaccountid": {
  11687. "description": "业务员ID",
  11688. "type": "string"
  11689. },
  11690. "matchcustomername": {
  11691. "description": "销售方ID",
  11692. "type": "string"
  11693. },
  11694. "pricedqty": {
  11695. "description": "定价量",
  11696. "type": "number"
  11697. },
  11698. "signdate": {
  11699. "description": "签订日期",
  11700. "type": "string"
  11701. },
  11702. "spotcontractid": {
  11703. "description": "合同ID",
  11704. "type": "string"
  11705. },
  11706. "totaldqty": {
  11707. "description": "合同量",
  11708. "type": "number"
  11709. },
  11710. "unpricedqty": {
  11711. "description": "未定价量",
  11712. "type": "number"
  11713. },
  11714. "wrstandardname": {
  11715. "description": "商品名称",
  11716. "type": "string"
  11717. }
  11718. }
  11719. },
  11720. "erms3.QryPendingBizRsp": {
  11721. "$ref": "#/definitions/models.PendingAuditBizModel"
  11722. },
  11723. "erms3.QueryBusinessInfoRsp": {
  11724. "type": "object",
  11725. "properties": {
  11726. "businessid": {
  11727. "description": "业务ID.",
  11728. "type": "integer"
  11729. },
  11730. "buyamount": {
  11731. "description": "采购额.",
  11732. "type": "number"
  11733. },
  11734. "buyqty": {
  11735. "description": "采购量.",
  11736. "type": "string"
  11737. },
  11738. "futurepl": {
  11739. "description": "期货盈亏.",
  11740. "type": "number"
  11741. },
  11742. "futureqty": {
  11743. "description": "期货敞口.",
  11744. "type": "string"
  11745. },
  11746. "goodsid": {
  11747. "description": "商品名称/商品代码.",
  11748. "type": "string"
  11749. },
  11750. "hedgingqty": {
  11751. "description": "套保量.",
  11752. "type": "string"
  11753. },
  11754. "sellamount": {
  11755. "description": "销售额.",
  11756. "type": "number"
  11757. },
  11758. "sellqty": {
  11759. "description": "销售量.",
  11760. "type": "string"
  11761. },
  11762. "spotmarketvalue": {
  11763. "description": "现货市值.",
  11764. "type": "number"
  11765. },
  11766. "spotpl": {
  11767. "description": "浮动权益.",
  11768. "type": "number"
  11769. },
  11770. "spotqty": {
  11771. "description": "现货量.",
  11772. "type": "string"
  11773. },
  11774. "statu": {
  11775. "description": "状态,0-未结束 1-已结束.",
  11776. "type": "integer"
  11777. },
  11778. "totalpl": {
  11779. "description": "总盈亏.",
  11780. "type": "number"
  11781. },
  11782. "totalqty": {
  11783. "description": "总敞口.",
  11784. "type": "string"
  11785. },
  11786. "type": {
  11787. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11788. "type": "integer"
  11789. }
  11790. }
  11791. },
  11792. "erms3.QuerySpotContractAppleFormRsp": {
  11793. "type": "object",
  11794. "properties": {
  11795. "goodses": {
  11796. "description": "合约列表",
  11797. "type": "array",
  11798. "items": {
  11799. "$ref": "#/definitions/models.GoodsIDAndName"
  11800. }
  11801. },
  11802. "oppositeusers": {
  11803. "description": "对方账号列表",
  11804. "type": "array",
  11805. "items": {
  11806. "$ref": "#/definitions/erms3.CustomerInfo"
  11807. }
  11808. },
  11809. "ouruser": {
  11810. "description": "我方账号",
  11811. "type": "object",
  11812. "$ref": "#/definitions/erms3.CustomerInfo"
  11813. },
  11814. "warehouseinfos": {
  11815. "description": "仓库信息列表",
  11816. "type": "array",
  11817. "items": {
  11818. "$ref": "#/definitions/models.Warehouseinfo"
  11819. }
  11820. },
  11821. "wrstandards": {
  11822. "description": "仓单标准列表",
  11823. "type": "array",
  11824. "items": {
  11825. "$ref": "#/definitions/models.WRStandardInfo"
  11826. }
  11827. }
  11828. }
  11829. },
  11830. "erms3.QuerySpotContractInfoRsp": {
  11831. "type": "object",
  11832. "properties": {
  11833. "accountid": {
  11834. "description": "表示交易员ID.",
  11835. "type": "integer"
  11836. },
  11837. "curdeliveryqty": {
  11838. "description": "表示未交收量.",
  11839. "type": "number"
  11840. },
  11841. "customername": {
  11842. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11843. "type": "string"
  11844. },
  11845. "deliverygoodsid": {
  11846. "description": "表示品种ID.",
  11847. "type": "string"
  11848. },
  11849. "deliveryqty": {
  11850. "description": "表示交收量.",
  11851. "type": "number"
  11852. },
  11853. "matchaccountid": {
  11854. "description": "表示业务员ID.",
  11855. "type": "integer"
  11856. },
  11857. "matchcustomername": {
  11858. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11859. "type": "string"
  11860. },
  11861. "priceqty": {
  11862. "description": "表示定价量.",
  11863. "type": "number"
  11864. },
  11865. "relatedbizid": {
  11866. "description": "表示业务ID.",
  11867. "type": "string"
  11868. },
  11869. "signdate": {
  11870. "description": "表示签订日期.",
  11871. "type": "string"
  11872. },
  11873. "spotcontractid": {
  11874. "description": "合同ID",
  11875. "type": "string"
  11876. },
  11877. "status": {
  11878. "description": "表示状态,0-履约中 1-已完成.",
  11879. "type": "integer"
  11880. },
  11881. "totalqty": {
  11882. "description": "表示合同量.",
  11883. "type": "number"
  11884. },
  11885. "unpricedqty": {
  11886. "description": "表示未定价量.",
  11887. "type": "number"
  11888. },
  11889. "wrstandardname": {
  11890. "description": "表示商品ID.",
  11891. "type": "string"
  11892. }
  11893. }
  11894. },
  11895. "erms3.QueryUserInfoAppliesRsp": {
  11896. "type": "object",
  11897. "required": [
  11898. "userid"
  11899. ],
  11900. "properties": {
  11901. "biznature": {
  11902. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11903. "type": "integer"
  11904. },
  11905. "contactname": {
  11906. "description": "联系人",
  11907. "type": "string"
  11908. },
  11909. "createtime": {
  11910. "description": "开户申请时间",
  11911. "type": "string"
  11912. },
  11913. "userid": {
  11914. "description": "用户ID(自增ID)",
  11915. "type": "integer"
  11916. },
  11917. "userinfotype": {
  11918. "description": "用户信息类型 - 1:个人 2:企业",
  11919. "type": "integer"
  11920. },
  11921. "username": {
  11922. "description": "用户姓名",
  11923. "type": "string"
  11924. },
  11925. "userstate": {
  11926. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11927. "type": "integer"
  11928. }
  11929. }
  11930. },
  11931. "erms3.QueryUserInfosRsp": {
  11932. "type": "object",
  11933. "required": [
  11934. "userid"
  11935. ],
  11936. "properties": {
  11937. "biznature": {
  11938. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11939. "type": "integer"
  11940. },
  11941. "contactname": {
  11942. "description": "联系人",
  11943. "type": "string"
  11944. },
  11945. "customername": {
  11946. "description": "客户名称(企业名称)",
  11947. "type": "string"
  11948. },
  11949. "userid": {
  11950. "description": "用户ID",
  11951. "type": "integer"
  11952. },
  11953. "userinfotype": {
  11954. "description": "用户信息类型 - 1:个人 2:企业",
  11955. "type": "integer"
  11956. },
  11957. "userstatus": {
  11958. "description": "用户状态 - 1:正常 2:注销",
  11959. "type": "integer"
  11960. }
  11961. }
  11962. },
  11963. "erms3.SoptContractDetail": {
  11964. "type": "object",
  11965. "required": [
  11966. "deliverygoodsid",
  11967. "producttype",
  11968. "unitname",
  11969. "warehouseid",
  11970. "wrstandardid",
  11971. "wrstandardname"
  11972. ],
  11973. "properties": {
  11974. "deliverygoodsdesc": {
  11975. "description": "现货品种说明",
  11976. "type": "string"
  11977. },
  11978. "deliverygoodsid": {
  11979. "description": "现货品种ID",
  11980. "type": "integer"
  11981. },
  11982. "deliverygoodsname": {
  11983. "description": "现货品种名称",
  11984. "type": "string"
  11985. },
  11986. "pointdesc": {
  11987. "description": "点价描述",
  11988. "type": "string"
  11989. },
  11990. "producttype": {
  11991. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11992. "type": "integer"
  11993. },
  11994. "producttypename": {
  11995. "description": "产品类型名称",
  11996. "type": "string"
  11997. },
  11998. "spotPointOrderVoList": {
  11999. "description": "点价列表",
  12000. "type": "array",
  12001. "items": {
  12002. "$ref": "#/definitions/erms3.SpotPointOrder"
  12003. }
  12004. },
  12005. "spotPriceOrderList": {
  12006. "description": "定价列表",
  12007. "type": "array",
  12008. "items": {
  12009. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12010. }
  12011. },
  12012. "unitname": {
  12013. "description": "单位名称",
  12014. "type": "string"
  12015. },
  12016. "warehouseid": {
  12017. "description": "仓库ID",
  12018. "type": "integer"
  12019. },
  12020. "warehousename": {
  12021. "description": "仓库名称",
  12022. "type": "string"
  12023. },
  12024. "wrstandardid": {
  12025. "description": "交易标的ID",
  12026. "type": "integer"
  12027. },
  12028. "wrstandardname": {
  12029. "description": "交易标的名称",
  12030. "type": "string"
  12031. }
  12032. }
  12033. },
  12034. "erms3.SpotPointOrder": {
  12035. "type": "object",
  12036. "required": [
  12037. "basic",
  12038. "goodsid",
  12039. "qty"
  12040. ],
  12041. "properties": {
  12042. "basic": {
  12043. "description": "基差",
  12044. "type": "number"
  12045. },
  12046. "deliveryenddate": {
  12047. "description": "交收结束日期",
  12048. "type": "string"
  12049. },
  12050. "deliverystartdate": {
  12051. "description": "交收开始日期",
  12052. "type": "string"
  12053. },
  12054. "enddate": {
  12055. "description": "点价结束日期",
  12056. "type": "string"
  12057. },
  12058. "goodsid": {
  12059. "description": "商品ID",
  12060. "type": "integer"
  12061. },
  12062. "goodsname": {
  12063. "description": "商品名称",
  12064. "type": "string"
  12065. },
  12066. "qty": {
  12067. "description": "数量",
  12068. "type": "number"
  12069. },
  12070. "startdate": {
  12071. "description": "点价开始日期",
  12072. "type": "string"
  12073. }
  12074. }
  12075. },
  12076. "erms3.SpotPriceOrder": {
  12077. "type": "object",
  12078. "required": [
  12079. "amount",
  12080. "price",
  12081. "qty"
  12082. ],
  12083. "properties": {
  12084. "amount": {
  12085. "description": "金额",
  12086. "type": "number"
  12087. },
  12088. "deliveryenddate": {
  12089. "description": "交收结束日期",
  12090. "type": "string"
  12091. },
  12092. "deliverystartdate": {
  12093. "description": "交收开始日期",
  12094. "type": "string"
  12095. },
  12096. "price": {
  12097. "description": "价格",
  12098. "type": "number"
  12099. },
  12100. "qty": {
  12101. "description": "数量",
  12102. "type": "number"
  12103. }
  12104. }
  12105. },
  12106. "hsby.GetHsbyMyCountRsp": {
  12107. "type": "object",
  12108. "properties": {
  12109. "myCouponCount": {
  12110. "description": "我的优惠卷数量",
  12111. "type": "integer"
  12112. },
  12113. "myOrderDetailListingCount": {
  12114. "description": "我的订单求购中数量",
  12115. "type": "integer"
  12116. },
  12117. "myOrderDetailPreCount": {
  12118. "description": "我的订单抢购中数量",
  12119. "type": "integer"
  12120. },
  12121. "myPackageUnReceiveCount": {
  12122. "description": "我的包裹待收货数量",
  12123. "type": "integer"
  12124. },
  12125. "myPackageUnSendCount": {
  12126. "description": "我的包裹待发货数量",
  12127. "type": "integer"
  12128. },
  12129. "myPayOrderCount": {
  12130. "description": "我的订单待付款数量",
  12131. "type": "integer"
  12132. }
  12133. }
  12134. },
  12135. "hsby.QueryProvincesAndCitiesRsp": {
  12136. "type": "object",
  12137. "properties": {
  12138. "cities": {
  12139. "description": "市",
  12140. "type": "array",
  12141. "items": {
  12142. "$ref": "#/definitions/models.Division"
  12143. }
  12144. },
  12145. "province": {
  12146. "description": "省",
  12147. "type": "object",
  12148. "$ref": "#/definitions/models.Division"
  12149. }
  12150. }
  12151. },
  12152. "models.AreaSpotModel": {
  12153. "type": "object",
  12154. "properties": {
  12155. "areauserid": {
  12156. "description": "所属机构",
  12157. "type": "integer"
  12158. },
  12159. "decreaseqty": {
  12160. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12161. "type": "number"
  12162. },
  12163. "increaseqty": {
  12164. "description": "增加数量=销售计划数量+采购已定价数量",
  12165. "type": "number"
  12166. },
  12167. "oritoalspotqty": {
  12168. "description": "昨日数量",
  12169. "type": "number"
  12170. },
  12171. "totalspotqty": {
  12172. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12173. "type": "number"
  12174. },
  12175. "updatetime": {
  12176. "description": "更新时间",
  12177. "type": "string"
  12178. },
  12179. "wrstandardcode": {
  12180. "description": "现货品种代码",
  12181. "type": "string"
  12182. },
  12183. "wrstandardid": {
  12184. "description": "现货商品ID",
  12185. "type": "integer"
  12186. },
  12187. "wrstandardname": {
  12188. "description": "现货品种",
  12189. "type": "string"
  12190. }
  12191. }
  12192. },
  12193. "models.Arearole": {
  12194. "type": "object",
  12195. "required": [
  12196. "roletype",
  12197. "userid"
  12198. ],
  12199. "properties": {
  12200. "createtime": {
  12201. "description": "创建时间",
  12202. "type": "string"
  12203. },
  12204. "creatorid": {
  12205. "description": "创建人ID",
  12206. "type": "integer"
  12207. },
  12208. "isreturnscore": {
  12209. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12210. "type": "integer"
  12211. },
  12212. "modifierid": {
  12213. "description": "修改人ID",
  12214. "type": "integer"
  12215. },
  12216. "modifytime": {
  12217. "description": "修改时间",
  12218. "type": "string"
  12219. },
  12220. "orgtype": {
  12221. "description": "组织机构类型 1:机构 2:交易员",
  12222. "type": "integer"
  12223. },
  12224. "outuserid": {
  12225. "description": "外部账户[场外期权做市商]",
  12226. "type": "string"
  12227. },
  12228. "parentuserid": {
  12229. "description": "上级组织机构(组织机构)",
  12230. "type": "integer"
  12231. },
  12232. "roletype": {
  12233. "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:交易员",
  12234. "type": "integer"
  12235. },
  12236. "rootuserid": {
  12237. "description": "顶级组织机构用户ID(组织机构)",
  12238. "type": "integer"
  12239. },
  12240. "shoppassword": {
  12241. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12242. "type": "string"
  12243. },
  12244. "sublevelpath": {
  12245. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12246. "type": "string"
  12247. },
  12248. "tradeaccountid": {
  12249. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12250. "type": "integer"
  12251. },
  12252. "transurl": {
  12253. "description": "物流地址(物流机构)",
  12254. "type": "string"
  12255. },
  12256. "userid": {
  12257. "description": "机构用户ID其他做市关系,都设置为 1",
  12258. "type": "integer"
  12259. }
  12260. }
  12261. },
  12262. "models.Clientfixedadconfig": {
  12263. "type": "object",
  12264. "required": [
  12265. "adsort",
  12266. "adtype"
  12267. ],
  12268. "properties": {
  12269. "adsort": {
  12270. "description": "排序",
  12271. "type": "integer"
  12272. },
  12273. "adtype": {
  12274. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12275. "type": "integer"
  12276. },
  12277. "areauserid": {
  12278. "description": "所属机构ID",
  12279. "type": "integer"
  12280. },
  12281. "createdate": {
  12282. "description": "创建时间",
  12283. "type": "string"
  12284. },
  12285. "creatorid": {
  12286. "description": "创建人",
  12287. "type": "integer"
  12288. },
  12289. "imagepath": {
  12290. "description": "图片",
  12291. "type": "string"
  12292. },
  12293. "isshow": {
  12294. "description": "是否展示 - 0:不展示 1:展示",
  12295. "type": "integer"
  12296. },
  12297. "modifierid": {
  12298. "description": "操作人",
  12299. "type": "integer"
  12300. },
  12301. "recsize": {
  12302. "description": "推荐尺寸",
  12303. "type": "string"
  12304. },
  12305. "title": {
  12306. "description": "标题",
  12307. "type": "string"
  12308. },
  12309. "updatedate": {
  12310. "description": "更新时间",
  12311. "type": "string"
  12312. },
  12313. "urlcontent": {
  12314. "description": "链接(地址或商品ID)",
  12315. "type": "string"
  12316. },
  12317. "urltype": {
  12318. "description": "链接类型 - 1:直接地址 2:商品ID",
  12319. "type": "integer"
  12320. }
  12321. }
  12322. },
  12323. "models.Division": {
  12324. "type": "object",
  12325. "required": [
  12326. "autoid",
  12327. "divisioncode"
  12328. ],
  12329. "properties": {
  12330. "autoid": {
  12331. "description": "自增ID",
  12332. "type": "integer"
  12333. },
  12334. "divisioncode": {
  12335. "description": "行政代码",
  12336. "type": "string"
  12337. },
  12338. "divisionlevel": {
  12339. "description": "行政级别",
  12340. "type": "string"
  12341. },
  12342. "divisionname": {
  12343. "description": "行政名称",
  12344. "type": "string"
  12345. },
  12346. "modifierid": {
  12347. "description": "修改人",
  12348. "type": "integer"
  12349. },
  12350. "modifytime": {
  12351. "description": "修改时间",
  12352. "type": "string"
  12353. },
  12354. "parentcode": {
  12355. "description": "上级行政代码",
  12356. "type": "string"
  12357. },
  12358. "pathname": {
  12359. "description": "路径名称",
  12360. "type": "string"
  12361. },
  12362. "postcode": {
  12363. "description": "邮政编码",
  12364. "type": "string"
  12365. },
  12366. "separablename": {
  12367. "description": "可拆分的全称",
  12368. "type": "string"
  12369. },
  12370. "shortcode": {
  12371. "description": "地区简码",
  12372. "type": "string"
  12373. }
  12374. }
  12375. },
  12376. "models.Enumdicitem": {
  12377. "type": "object",
  12378. "required": [
  12379. "autoid",
  12380. "enumdiccode",
  12381. "enumdicid",
  12382. "enumitemname"
  12383. ],
  12384. "properties": {
  12385. "autoid": {
  12386. "description": "自增ID",
  12387. "type": "integer"
  12388. },
  12389. "bankmappedvalue": {
  12390. "description": "银行服务对应值",
  12391. "type": "string"
  12392. },
  12393. "enumdiccode": {
  12394. "description": "所属枚举代码",
  12395. "type": "string"
  12396. },
  12397. "enumdicid": {
  12398. "description": "所属枚举ID",
  12399. "type": "integer"
  12400. },
  12401. "enumdicname": {
  12402. "description": "枚举项名称",
  12403. "type": "string"
  12404. },
  12405. "enumitemname": {
  12406. "description": "枚举项值",
  12407. "type": "integer"
  12408. },
  12409. "enumitemstatus": {
  12410. "description": "枚举项状态 - 1.启用 2.不启用",
  12411. "type": "integer"
  12412. },
  12413. "enumitemvalue": {
  12414. "description": "通用值 - [币种通用简写]",
  12415. "type": "string"
  12416. },
  12417. "param1": {
  12418. "description": "参数1[币种:币种小数位]",
  12419. "type": "string"
  12420. },
  12421. "param2": {
  12422. "description": "参数1[币种:币种显示单位]",
  12423. "type": "string"
  12424. },
  12425. "remark": {
  12426. "description": "备注",
  12427. "type": "string"
  12428. }
  12429. }
  12430. },
  12431. "models.Ermcp3AreaSpot": {
  12432. "type": "object",
  12433. "properties": {
  12434. "areauserid": {
  12435. "description": "所属机构",
  12436. "type": "integer"
  12437. },
  12438. "decreaseqty": {
  12439. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12440. "type": "number"
  12441. },
  12442. "deliverygoodscode": {
  12443. "description": "现货品种代码",
  12444. "type": "string"
  12445. },
  12446. "deliverygoodsid": {
  12447. "description": "现货品种id",
  12448. "type": "integer"
  12449. },
  12450. "deliverygoodsname": {
  12451. "description": "现货品种名称",
  12452. "type": "string"
  12453. },
  12454. "enumdicname": {
  12455. "description": "单位名称",
  12456. "type": "string"
  12457. },
  12458. "goodsunitid": {
  12459. "description": "现货品种单位id",
  12460. "type": "integer"
  12461. },
  12462. "increaseqty": {
  12463. "description": "增加数量=销售计划数量+采购已定价数量",
  12464. "type": "number"
  12465. },
  12466. "oritoalspotqty": {
  12467. "description": "昨日数量",
  12468. "type": "number"
  12469. },
  12470. "totalspotqty": {
  12471. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12472. "type": "number"
  12473. },
  12474. "updatetime": {
  12475. "description": "更新时间",
  12476. "type": "string"
  12477. }
  12478. }
  12479. },
  12480. "models.Ermcp3AreaSpotDetail": {
  12481. "type": "object",
  12482. "properties": {
  12483. "contracttype": {
  12484. "description": "合同类型 1-采购 -1-销售",
  12485. "type": "integer"
  12486. },
  12487. "createtime": {
  12488. "description": "创建时间",
  12489. "type": "string"
  12490. },
  12491. "deliverygoodscode": {
  12492. "description": "现货品种代码",
  12493. "type": "string"
  12494. },
  12495. "deliverygoodsid": {
  12496. "description": "现货品种id",
  12497. "type": "integer"
  12498. },
  12499. "deliverygoodsname": {
  12500. "description": "现货品种名称",
  12501. "type": "string"
  12502. },
  12503. "enumdicname": {
  12504. "description": "现货商品单位名称",
  12505. "type": "string"
  12506. },
  12507. "logtype": {
  12508. "description": "记录类型 1-套保 2-现货合同",
  12509. "type": "integer"
  12510. },
  12511. "qty": {
  12512. "description": "数量",
  12513. "type": "number"
  12514. },
  12515. "recordname": {
  12516. "description": "类型名称",
  12517. "type": "string"
  12518. },
  12519. "relatedid": {
  12520. "description": "套保计划ID/现货合同ID",
  12521. "type": "string"
  12522. },
  12523. "relatedno": {
  12524. "description": "编号",
  12525. "type": "string"
  12526. },
  12527. "strtime": {
  12528. "description": "时间",
  12529. "type": "string"
  12530. }
  12531. }
  12532. },
  12533. "models.Ermcp3AreaSpotPLReport": {
  12534. "type": "object",
  12535. "properties": {
  12536. "accountid": {
  12537. "description": "期货账户ID (作废, 默认为0)",
  12538. "type": "integer"
  12539. },
  12540. "accountname": {
  12541. "description": "机构名称",
  12542. "type": "string"
  12543. },
  12544. "actualpl": {
  12545. "description": "现货损益",
  12546. "type": "number"
  12547. },
  12548. "areauserid": {
  12549. "description": "所属机构\\交易用户ID",
  12550. "type": "integer"
  12551. },
  12552. "begindate": {
  12553. "description": "开始交易日",
  12554. "type": "string"
  12555. },
  12556. "biztype": {
  12557. "description": "业务类型 - 1:套保 2:套利",
  12558. "type": "integer"
  12559. },
  12560. "brandname": {
  12561. "description": "品牌名称",
  12562. "type": "string"
  12563. },
  12564. "curamount": {
  12565. "description": "期末额",
  12566. "type": "number"
  12567. },
  12568. "curaverageprice": {
  12569. "description": "期末均价",
  12570. "type": "number"
  12571. },
  12572. "curbuyamount": {
  12573. "description": "期末采购总额",
  12574. "type": "number"
  12575. },
  12576. "curbuyqty": {
  12577. "description": "期末采购总量",
  12578. "type": "number"
  12579. },
  12580. "curmarketvalue": {
  12581. "description": "参考市值(期末市值)",
  12582. "type": "number"
  12583. },
  12584. "curqty": {
  12585. "description": "期末量",
  12586. "type": "number"
  12587. },
  12588. "currencyid": {
  12589. "description": "结算币种ID【原值】",
  12590. "type": "integer"
  12591. },
  12592. "currencyname": {
  12593. "description": "币种名称",
  12594. "type": "string"
  12595. },
  12596. "cursellamount": {
  12597. "description": "期末销售总额",
  12598. "type": "number"
  12599. },
  12600. "cursellqty": {
  12601. "description": "期末销售总量",
  12602. "type": "number"
  12603. },
  12604. "curspotprice": {
  12605. "description": "参考市价(最新价)",
  12606. "type": "number"
  12607. },
  12608. "cycletime": {
  12609. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12610. "type": "string"
  12611. },
  12612. "cycletype": {
  12613. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12614. "type": "integer"
  12615. },
  12616. "deliverygoodscode": {
  12617. "description": "现货商品代码",
  12618. "type": "string"
  12619. },
  12620. "deliverygoodsid": {
  12621. "description": "现货品种ID",
  12622. "type": "integer"
  12623. },
  12624. "deliverygoodsname": {
  12625. "description": "现货商品名称",
  12626. "type": "string"
  12627. },
  12628. "enddate": {
  12629. "description": "结束交易日",
  12630. "type": "string"
  12631. },
  12632. "enumdicname": {
  12633. "description": "现货商品单位名称",
  12634. "type": "string"
  12635. },
  12636. "floatpl": {
  12637. "description": "浮动损益",
  12638. "type": "number"
  12639. },
  12640. "goodsunitid": {
  12641. "description": "现货商品单位id",
  12642. "type": "integer"
  12643. },
  12644. "oriamount": {
  12645. "description": "期初额",
  12646. "type": "number"
  12647. },
  12648. "oriaverageprice": {
  12649. "description": "期初均价",
  12650. "type": "number"
  12651. },
  12652. "oribuyamount": {
  12653. "description": "期初采购总额",
  12654. "type": "number"
  12655. },
  12656. "oribuyqty": {
  12657. "description": "期初采购总量",
  12658. "type": "number"
  12659. },
  12660. "oriqty": {
  12661. "description": "期初量",
  12662. "type": "number"
  12663. },
  12664. "orisellamount": {
  12665. "description": "期初销售总额",
  12666. "type": "number"
  12667. },
  12668. "orisellqty": {
  12669. "description": "期初销售总量",
  12670. "type": "number"
  12671. },
  12672. "reckondate": {
  12673. "description": "日照时期(yyyyMMdd)",
  12674. "type": "string"
  12675. },
  12676. "spotgoodsbrandid": {
  12677. "description": "现货品牌ID",
  12678. "type": "integer"
  12679. },
  12680. "todaybuyamount": {
  12681. "description": "今日采购额(今采购额)",
  12682. "type": "number"
  12683. },
  12684. "todaybuyaverageprice": {
  12685. "description": "今日采购均价",
  12686. "type": "number"
  12687. },
  12688. "todaybuyqty": {
  12689. "description": "今日采购量(今采购量)",
  12690. "type": "number"
  12691. },
  12692. "todayinqty": {
  12693. "description": "今日入库量(今入库量)",
  12694. "type": "number"
  12695. },
  12696. "todayoutqty": {
  12697. "description": "今日出库量(今出库量)",
  12698. "type": "number"
  12699. },
  12700. "todaysellamount": {
  12701. "description": "今日销售额(今销售额)",
  12702. "type": "number"
  12703. },
  12704. "todaysellaverageprice": {
  12705. "description": "今日销售均价",
  12706. "type": "number"
  12707. },
  12708. "todaysellqty": {
  12709. "description": "今日销售量(今销售量)",
  12710. "type": "number"
  12711. },
  12712. "unitid": {
  12713. "description": "品类单位id",
  12714. "type": "integer"
  12715. },
  12716. "unitidname": {
  12717. "description": "品类单位名称",
  12718. "type": "string"
  12719. },
  12720. "updatetime": {
  12721. "description": "更新时间",
  12722. "type": "string"
  12723. },
  12724. "wrfactortypeid": {
  12725. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12726. "type": "integer"
  12727. },
  12728. "wrstandardcode": {
  12729. "description": "品类代码",
  12730. "type": "string"
  12731. },
  12732. "wrstandardid": {
  12733. "description": "现货品类ID",
  12734. "type": "integer"
  12735. },
  12736. "wrstandardname": {
  12737. "description": "品类名称",
  12738. "type": "string"
  12739. }
  12740. }
  12741. },
  12742. "models.Ermcp3AreaStock": {
  12743. "type": "object",
  12744. "required": [
  12745. "userid"
  12746. ],
  12747. "properties": {
  12748. "brandname": {
  12749. "description": "品牌名称",
  12750. "type": "string"
  12751. },
  12752. "curstock": {
  12753. "description": "期末库存量(今日量)",
  12754. "type": "number"
  12755. },
  12756. "deliverygoodscode": {
  12757. "description": "现货品种代码",
  12758. "type": "string"
  12759. },
  12760. "deliverygoodsid": {
  12761. "description": "现货品种id",
  12762. "type": "integer"
  12763. },
  12764. "deliverygoodsname": {
  12765. "description": "现货品种名称",
  12766. "type": "string"
  12767. },
  12768. "enumdicname": {
  12769. "description": "单位名称",
  12770. "type": "string"
  12771. },
  12772. "goodsunitid": {
  12773. "description": "现货商品单位id",
  12774. "type": "integer"
  12775. },
  12776. "oristock": {
  12777. "description": "期初库存量(昨日量)",
  12778. "type": "number"
  12779. },
  12780. "spotgoodsbrandid": {
  12781. "description": "现货品牌ID",
  12782. "type": "integer"
  12783. },
  12784. "todaybuyinqty": {
  12785. "description": "今日采购入库量",
  12786. "type": "number"
  12787. },
  12788. "todayproduceinqty": {
  12789. "description": "今日生产入库量",
  12790. "type": "number"
  12791. },
  12792. "todayproduceoutqty": {
  12793. "description": "今日生产出库量",
  12794. "type": "number"
  12795. },
  12796. "todayselloutqty": {
  12797. "description": "今日销售出库量",
  12798. "type": "number"
  12799. },
  12800. "unitid": {
  12801. "description": "单位id",
  12802. "type": "integer"
  12803. },
  12804. "updatetime": {
  12805. "description": "更新时间",
  12806. "type": "string"
  12807. },
  12808. "userid": {
  12809. "description": "机构ID",
  12810. "type": "integer"
  12811. },
  12812. "username": {
  12813. "description": "机构名称",
  12814. "type": "string"
  12815. },
  12816. "warehousecode": {
  12817. "description": "仓库代码",
  12818. "type": "string"
  12819. },
  12820. "warehouseinfoid": {
  12821. "description": "仓库ID",
  12822. "type": "string"
  12823. },
  12824. "warehousename": {
  12825. "description": "仓库名称",
  12826. "type": "string"
  12827. },
  12828. "warehousetype": {
  12829. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12830. "type": "integer"
  12831. },
  12832. "wrstandardcode": {
  12833. "description": "品类代码",
  12834. "type": "string"
  12835. },
  12836. "wrstandardid": {
  12837. "description": "品类ID",
  12838. "type": "string"
  12839. },
  12840. "wrstandardname": {
  12841. "description": "品类名称",
  12842. "type": "string"
  12843. }
  12844. }
  12845. },
  12846. "models.Ermcp3AreaStockApply": {
  12847. "type": "object",
  12848. "properties": {
  12849. "applyid": {
  12850. "description": "申请人",
  12851. "type": "integer"
  12852. },
  12853. "applyname": {
  12854. "description": "申请人名称",
  12855. "type": "string"
  12856. },
  12857. "applyremark": {
  12858. "description": "申请备注",
  12859. "type": "string"
  12860. },
  12861. "applysrc": {
  12862. "description": "申请来源 - 1:管理端 2:终端",
  12863. "type": "integer"
  12864. },
  12865. "applystatus": {
  12866. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12867. "type": "integer"
  12868. },
  12869. "applytime": {
  12870. "description": "申请时间",
  12871. "type": "string"
  12872. },
  12873. "auditid": {
  12874. "description": "审核人",
  12875. "type": "integer"
  12876. },
  12877. "auditname": {
  12878. "description": "审核人名称",
  12879. "type": "string"
  12880. },
  12881. "auditremark": {
  12882. "description": "审核备注",
  12883. "type": "string"
  12884. },
  12885. "auditsrc": {
  12886. "description": "审核来源 - 1:管理端 2:终端",
  12887. "type": "integer"
  12888. },
  12889. "audittime": {
  12890. "description": "审核时间",
  12891. "type": "string"
  12892. },
  12893. "audittradedate": {
  12894. "description": "审核交易日(yyyyMMdd)",
  12895. "type": "string"
  12896. },
  12897. "brandname": {
  12898. "description": "品牌名称",
  12899. "type": "string"
  12900. },
  12901. "buynickname": {
  12902. "description": "采购方昵称",
  12903. "type": "string"
  12904. },
  12905. "buyuserid": {
  12906. "description": "采购方userid",
  12907. "type": "integer"
  12908. },
  12909. "buyusername": {
  12910. "description": "采购方名称",
  12911. "type": "string"
  12912. },
  12913. "contractno": {
  12914. "description": "合同编号",
  12915. "type": "string"
  12916. },
  12917. "contractqty": {
  12918. "description": "合同量",
  12919. "type": "number"
  12920. },
  12921. "contracttype": {
  12922. "description": "现货合同类型 - 1:采购 -1:销售",
  12923. "type": "integer"
  12924. },
  12925. "deliverygoodscode": {
  12926. "description": "现货品种代码",
  12927. "type": "string"
  12928. },
  12929. "deliverygoodsid": {
  12930. "description": "现货品种id",
  12931. "type": "integer"
  12932. },
  12933. "deliverygoodsname": {
  12934. "description": "现货品种名称",
  12935. "type": "string"
  12936. },
  12937. "detailjson": {
  12938. "description": "明细数据",
  12939. "type": "string"
  12940. },
  12941. "enumdicname": {
  12942. "description": "现货商品单位名称",
  12943. "type": "string"
  12944. },
  12945. "inoutapplyid": {
  12946. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  12947. "type": "string"
  12948. },
  12949. "inouttype": {
  12950. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  12951. "type": "integer"
  12952. },
  12953. "pricetype": {
  12954. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12955. "type": "integer"
  12956. },
  12957. "qty": {
  12958. "description": "数量",
  12959. "type": "number"
  12960. },
  12961. "sellnickname": {
  12962. "description": "销售方昵称",
  12963. "type": "string"
  12964. },
  12965. "selluserid": {
  12966. "description": "销售方userid",
  12967. "type": "integer"
  12968. },
  12969. "sellusername": {
  12970. "description": "销售方名称",
  12971. "type": "string"
  12972. },
  12973. "spotcontractid": {
  12974. "description": "关联现货合同ID",
  12975. "type": "string"
  12976. },
  12977. "spotgoodsbrandid": {
  12978. "description": "现货品牌ID",
  12979. "type": "integer"
  12980. },
  12981. "unitid": {
  12982. "description": "单位id",
  12983. "type": "integer"
  12984. },
  12985. "userid": {
  12986. "description": "机构ID",
  12987. "type": "integer"
  12988. },
  12989. "warehousecode": {
  12990. "description": "仓库代码",
  12991. "type": "string"
  12992. },
  12993. "warehouseinfoid": {
  12994. "description": "现货仓库ID",
  12995. "type": "string"
  12996. },
  12997. "warehousename": {
  12998. "description": "仓库名称",
  12999. "type": "string"
  13000. },
  13001. "warehousetype": {
  13002. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13003. "type": "integer"
  13004. },
  13005. "wrstandardcode": {
  13006. "description": "品类代码",
  13007. "type": "string"
  13008. },
  13009. "wrstandardid": {
  13010. "description": "品类ID",
  13011. "type": "integer"
  13012. },
  13013. "wrstandardname": {
  13014. "description": "品类名称",
  13015. "type": "string"
  13016. }
  13017. }
  13018. },
  13019. "models.Ermcp3AreaStockApplySum": {
  13020. "type": "object",
  13021. "properties": {
  13022. "brandname": {
  13023. "description": "品牌名称",
  13024. "type": "string"
  13025. },
  13026. "inouttype": {
  13027. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13028. "type": "integer"
  13029. },
  13030. "spotcontractid": {
  13031. "description": "关联现货合同ID",
  13032. "type": "string"
  13033. },
  13034. "spotgoodsbrandid": {
  13035. "description": "品牌id",
  13036. "type": "integer"
  13037. },
  13038. "totalqty": {
  13039. "description": "总数量",
  13040. "type": "number"
  13041. },
  13042. "wrstandardid": {
  13043. "description": "品类id",
  13044. "type": "integer"
  13045. },
  13046. "wrstandardname": {
  13047. "description": "品类名称",
  13048. "type": "string"
  13049. }
  13050. }
  13051. },
  13052. "models.Ermcp3AreaStockReportEx": {
  13053. "type": "object",
  13054. "properties": {
  13055. "begindate": {
  13056. "description": "开始交易日",
  13057. "type": "string"
  13058. },
  13059. "brandname": {
  13060. "description": "品牌名称",
  13061. "type": "string"
  13062. },
  13063. "curstock": {
  13064. "description": "期末库存量",
  13065. "type": "number"
  13066. },
  13067. "cycletime": {
  13068. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13069. "type": "string"
  13070. },
  13071. "cycletype": {
  13072. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13073. "type": "integer"
  13074. },
  13075. "deliverygoodscode": {
  13076. "description": "现货品种代码",
  13077. "type": "string"
  13078. },
  13079. "deliverygoodsid": {
  13080. "description": "现货品种id",
  13081. "type": "integer"
  13082. },
  13083. "deliverygoodsname": {
  13084. "description": "现货品种名称",
  13085. "type": "string"
  13086. },
  13087. "diffqty": {
  13088. "description": "库存变化量 = 期末 - 期初",
  13089. "type": "number"
  13090. },
  13091. "enddate": {
  13092. "description": "结束交易日",
  13093. "type": "string"
  13094. },
  13095. "enumdicname": {
  13096. "description": "单位名称",
  13097. "type": "string"
  13098. },
  13099. "goodsunitid": {
  13100. "description": "现货单位id",
  13101. "type": "integer"
  13102. },
  13103. "oristock": {
  13104. "description": "期初库存量",
  13105. "type": "number"
  13106. },
  13107. "reckondate": {
  13108. "description": "日照时期(yyyyMMdd)",
  13109. "type": "string"
  13110. },
  13111. "spotgoodsbrandid": {
  13112. "description": "现货品牌ID",
  13113. "type": "integer"
  13114. },
  13115. "todaybuyinqty": {
  13116. "description": "今采购入库量",
  13117. "type": "number"
  13118. },
  13119. "todayproduceinqty": {
  13120. "description": "今内部入库量",
  13121. "type": "number"
  13122. },
  13123. "todayproduceoutqty": {
  13124. "description": "今内部出库量",
  13125. "type": "number"
  13126. },
  13127. "todayselloutqty": {
  13128. "description": "今销售出库量",
  13129. "type": "number"
  13130. },
  13131. "unbuyinqty": {
  13132. "description": "采购未入库量(数据库未找到相关字段?)",
  13133. "type": "number"
  13134. },
  13135. "unitid": {
  13136. "description": "品类单位id",
  13137. "type": "integer"
  13138. },
  13139. "unselloutqty": {
  13140. "description": "销售未出库量(数据库未找到相关字段?)",
  13141. "type": "number"
  13142. },
  13143. "updatetime": {
  13144. "description": "更新时间",
  13145. "type": "string"
  13146. },
  13147. "userid": {
  13148. "description": "机构ID",
  13149. "type": "integer"
  13150. },
  13151. "username": {
  13152. "description": "机构名称",
  13153. "type": "string"
  13154. },
  13155. "warehousecode": {
  13156. "description": "仓库代码",
  13157. "type": "string"
  13158. },
  13159. "warehouseinfoid": {
  13160. "description": "仓库ID",
  13161. "type": "string"
  13162. },
  13163. "warehousename": {
  13164. "description": "仓库名称",
  13165. "type": "string"
  13166. },
  13167. "warehousetype": {
  13168. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13169. "type": "integer"
  13170. },
  13171. "wrstandardcode": {
  13172. "description": "品类代码",
  13173. "type": "string"
  13174. },
  13175. "wrstandardid": {
  13176. "description": "品类ID",
  13177. "type": "integer"
  13178. },
  13179. "wrstandardname": {
  13180. "description": "品类名称",
  13181. "type": "string"
  13182. }
  13183. }
  13184. },
  13185. "models.Ermcp3ArealSumPL": {
  13186. "type": "object",
  13187. "properties": {
  13188. "accountname": {
  13189. "description": "机构名称",
  13190. "type": "string"
  13191. },
  13192. "areauserid": {
  13193. "description": "所属机构\\交易用户ID",
  13194. "type": "integer"
  13195. },
  13196. "begindate": {
  13197. "description": "开始交易日",
  13198. "type": "string"
  13199. },
  13200. "currencyid": {
  13201. "description": "结算币种ID",
  13202. "type": "integer"
  13203. },
  13204. "currencyname": {
  13205. "description": "币种名称",
  13206. "type": "string"
  13207. },
  13208. "cycletime": {
  13209. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13210. "type": "string"
  13211. },
  13212. "cycletype": {
  13213. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13214. "type": "integer"
  13215. },
  13216. "enddate": {
  13217. "description": "结束交易日",
  13218. "type": "string"
  13219. },
  13220. "enumdicname": {
  13221. "description": "单位名称(套保品种)",
  13222. "type": "string"
  13223. },
  13224. "futureactualpl": {
  13225. "description": "期货损益",
  13226. "type": "number"
  13227. },
  13228. "futurefloatpl": {
  13229. "description": "期货浮动损益",
  13230. "type": "number"
  13231. },
  13232. "goodsunitid": {
  13233. "description": "套保品种单位id",
  13234. "type": "integer"
  13235. },
  13236. "middlegoodscode": {
  13237. "description": "套保品种代码",
  13238. "type": "string"
  13239. },
  13240. "middlegoodsid": {
  13241. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13242. "type": "integer"
  13243. },
  13244. "middlegoodsname": {
  13245. "description": "套保品种名称",
  13246. "type": "string"
  13247. },
  13248. "reckondate": {
  13249. "description": "日照时期(yyyyMMdd)",
  13250. "type": "string"
  13251. },
  13252. "spotactualpl": {
  13253. "description": "现货损益",
  13254. "type": "number"
  13255. },
  13256. "spotfloatpl": {
  13257. "description": "现货浮动损益",
  13258. "type": "number"
  13259. },
  13260. "sumactualpl": {
  13261. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13262. "type": "number"
  13263. },
  13264. "sumpl": {
  13265. "description": "汇总损益",
  13266. "type": "number"
  13267. },
  13268. "updatetime": {
  13269. "description": "更新时间",
  13270. "type": "string"
  13271. }
  13272. }
  13273. },
  13274. "models.Ermcp3Brand": {
  13275. "type": "object",
  13276. "properties": {
  13277. "areauserid": {
  13278. "description": "用户id",
  13279. "type": "integer"
  13280. },
  13281. "brandid": {
  13282. "description": "品牌id",
  13283. "type": "integer"
  13284. },
  13285. "brandname": {
  13286. "description": "品牌名称",
  13287. "type": "string"
  13288. },
  13289. "deliverygoodsid": {
  13290. "description": "品种ID",
  13291. "type": "integer"
  13292. }
  13293. }
  13294. },
  13295. "models.Ermcp3Contract": {
  13296. "type": "object",
  13297. "properties": {
  13298. "accountid": {
  13299. "description": "期货账户id",
  13300. "type": "string"
  13301. },
  13302. "amount": {
  13303. "description": "金额 [1:一口价、3:暂定价]",
  13304. "type": "number"
  13305. },
  13306. "attachment": {
  13307. "description": "附件",
  13308. "type": "string"
  13309. },
  13310. "auditremark": {
  13311. "description": "审核意见",
  13312. "type": "string"
  13313. },
  13314. "audittime": {
  13315. "description": "审核时间",
  13316. "type": "string"
  13317. },
  13318. "biztype": {
  13319. "description": "业务类型 1-套保 2-套利",
  13320. "type": "integer"
  13321. },
  13322. "brandname": {
  13323. "description": "品牌名称",
  13324. "type": "string"
  13325. },
  13326. "buynickname": {
  13327. "description": "销售方昵称",
  13328. "type": "string"
  13329. },
  13330. "buyuserid": {
  13331. "description": "采购方ID",
  13332. "type": "integer"
  13333. },
  13334. "buyusername": {
  13335. "description": "采购方名称",
  13336. "type": "string"
  13337. },
  13338. "contracctstatus": {
  13339. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13340. "type": "integer"
  13341. },
  13342. "contractmargin": {
  13343. "description": "合同保证金",
  13344. "type": "number"
  13345. },
  13346. "contractno": {
  13347. "description": "现货合同编号",
  13348. "type": "string"
  13349. },
  13350. "contracttype": {
  13351. "description": "现货合同类型 - 1:采购 -1:销售",
  13352. "type": "integer"
  13353. },
  13354. "convertfactor": {
  13355. "description": "标仓系数(品类)",
  13356. "type": "number"
  13357. },
  13358. "createtime": {
  13359. "description": "创建时间",
  13360. "type": "string"
  13361. },
  13362. "currencyid": {
  13363. "description": "币种id",
  13364. "type": "integer"
  13365. },
  13366. "currencyname": {
  13367. "description": "币种名称",
  13368. "type": "string"
  13369. },
  13370. "deliveryenddate": {
  13371. "description": "交收期(结束)",
  13372. "type": "string"
  13373. },
  13374. "deliverygoodscode": {
  13375. "description": "现货品种代码",
  13376. "type": "string"
  13377. },
  13378. "deliverygoodsid": {
  13379. "description": "现货品种ID",
  13380. "type": "integer"
  13381. },
  13382. "deliverygoodsname": {
  13383. "description": "现货品种名称",
  13384. "type": "string"
  13385. },
  13386. "deliverystartdate": {
  13387. "description": "交收期(开始)",
  13388. "type": "string"
  13389. },
  13390. "enddate": {
  13391. "description": "点价结束日期 [2:点价 3:暂定价]",
  13392. "type": "string"
  13393. },
  13394. "enumdicname": {
  13395. "description": "单位名称",
  13396. "type": "string"
  13397. },
  13398. "goodscode": {
  13399. "description": "点价合约代码",
  13400. "type": "string"
  13401. },
  13402. "goodsid": {
  13403. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13404. "type": "integer"
  13405. },
  13406. "goodsname": {
  13407. "description": "点价商品名称",
  13408. "type": "string"
  13409. },
  13410. "margin": {
  13411. "description": "当前保证金",
  13412. "type": "number"
  13413. },
  13414. "meruserid": {
  13415. "description": "跟单员id",
  13416. "type": "integer"
  13417. },
  13418. "meruserlogincode": {
  13419. "description": "跟单员登录代码",
  13420. "type": "string"
  13421. },
  13422. "price": {
  13423. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13424. "type": "number"
  13425. },
  13426. "pricemove": {
  13427. "description": "升贴水 [2:点价 3:暂定价]",
  13428. "type": "number"
  13429. },
  13430. "pricetype": {
  13431. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13432. "type": "integer"
  13433. },
  13434. "producttype": {
  13435. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13436. "type": "integer"
  13437. },
  13438. "qty": {
  13439. "description": "数量",
  13440. "type": "number"
  13441. },
  13442. "remark": {
  13443. "description": "备注",
  13444. "type": "string"
  13445. },
  13446. "saleuserid": {
  13447. "description": "业务员id",
  13448. "type": "integer"
  13449. },
  13450. "saleuserlogincode": {
  13451. "description": "业务员登录代码",
  13452. "type": "string"
  13453. },
  13454. "sellnickname": {
  13455. "description": "采购方昵称",
  13456. "type": "string"
  13457. },
  13458. "selluserid": {
  13459. "description": "销售方ID",
  13460. "type": "integer"
  13461. },
  13462. "sellusername": {
  13463. "description": "销售方名称",
  13464. "type": "string"
  13465. },
  13466. "spotcontractid": {
  13467. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13468. "type": "string"
  13469. },
  13470. "spotgoodsbrandid": {
  13471. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13472. "type": "integer"
  13473. },
  13474. "spotgoodsdesc": {
  13475. "description": "商品型号",
  13476. "type": "string"
  13477. },
  13478. "startdate": {
  13479. "description": "点价开始日期 [2:点价 3:暂定价]",
  13480. "type": "string"
  13481. },
  13482. "tradeuserid": {
  13483. "description": "交易员id",
  13484. "type": "integer"
  13485. },
  13486. "tradeuserlogincode": {
  13487. "description": "交易员登录代码",
  13488. "type": "string"
  13489. },
  13490. "tradeusername": {
  13491. "description": "交易员名称",
  13492. "type": "string"
  13493. },
  13494. "unitid": {
  13495. "description": "单位id(取品类上的单位id)",
  13496. "type": "integer"
  13497. },
  13498. "updatetime": {
  13499. "description": "更新时间",
  13500. "type": "string"
  13501. },
  13502. "userid": {
  13503. "description": "所属机构ID",
  13504. "type": "integer"
  13505. },
  13506. "wrstandardcode": {
  13507. "description": "品类代码",
  13508. "type": "string"
  13509. },
  13510. "wrstandardid": {
  13511. "description": "品类ID",
  13512. "type": "integer"
  13513. },
  13514. "wrstandardname": {
  13515. "description": "品类名称",
  13516. "type": "string"
  13517. }
  13518. }
  13519. },
  13520. "models.Ermcp3ExposureContractDetail": {
  13521. "type": "object",
  13522. "properties": {
  13523. "biztype": {
  13524. "description": "业务类型 1-套保 2-套利",
  13525. "type": "integer"
  13526. },
  13527. "brandname": {
  13528. "description": "品牌名称",
  13529. "type": "string"
  13530. },
  13531. "buyuserid": {
  13532. "description": "采购方id",
  13533. "type": "integer"
  13534. },
  13535. "buyusername": {
  13536. "description": "采购方名称",
  13537. "type": "string"
  13538. },
  13539. "contractno": {
  13540. "description": "合同编号",
  13541. "type": "string"
  13542. },
  13543. "contracttype": {
  13544. "description": "现货合同类型 - 1:采购 -1:销售",
  13545. "type": "integer"
  13546. },
  13547. "convertratio": {
  13548. "description": "折算系数(套保品种)",
  13549. "type": "number"
  13550. },
  13551. "curqty": {
  13552. "description": "今定价量",
  13553. "type": "number"
  13554. },
  13555. "deliverygoodscode": {
  13556. "description": "现货商品代码",
  13557. "type": "string"
  13558. },
  13559. "deliverygoodsid": {
  13560. "description": "现货商品id",
  13561. "type": "integer"
  13562. },
  13563. "deliverygoodsname": {
  13564. "description": "现货商品名称",
  13565. "type": "string"
  13566. },
  13567. "diffqty": {
  13568. "description": "套保品种今变动量",
  13569. "type": "number"
  13570. },
  13571. "enumdicname": {
  13572. "description": "单位名称",
  13573. "type": "string"
  13574. },
  13575. "middlegoodscode": {
  13576. "description": "套保品种代码",
  13577. "type": "string"
  13578. },
  13579. "middlegoodsid": {
  13580. "description": "套保品种id",
  13581. "type": "integer"
  13582. },
  13583. "middlegoodsname": {
  13584. "description": "套保品种名称",
  13585. "type": "string"
  13586. },
  13587. "needarbitrageratio": {
  13588. "description": "应套利比例",
  13589. "type": "number"
  13590. },
  13591. "needhedgeratio": {
  13592. "description": "应套保比例",
  13593. "type": "number"
  13594. },
  13595. "pricedqty": {
  13596. "description": "已定价量",
  13597. "type": "number"
  13598. },
  13599. "qty": {
  13600. "description": "合同量",
  13601. "type": "number"
  13602. },
  13603. "selluserid": {
  13604. "description": "销售方id",
  13605. "type": "integer"
  13606. },
  13607. "sellusername": {
  13608. "description": "销售方名称",
  13609. "type": "string"
  13610. },
  13611. "spotcontractid": {
  13612. "description": "合同id",
  13613. "type": "string"
  13614. },
  13615. "tradedate": {
  13616. "description": "交易日",
  13617. "type": "string"
  13618. },
  13619. "unitid": {
  13620. "description": "品类单位id",
  13621. "type": "integer"
  13622. },
  13623. "userid": {
  13624. "description": "机构id",
  13625. "type": "integer"
  13626. },
  13627. "wrstandardcode": {
  13628. "description": "品类代码",
  13629. "type": "string"
  13630. },
  13631. "wrstandardid": {
  13632. "description": "品类id",
  13633. "type": "integer"
  13634. },
  13635. "wrstandardname": {
  13636. "description": "品类名称",
  13637. "type": "string"
  13638. }
  13639. }
  13640. },
  13641. "models.Ermcp3ExposureDetail": {
  13642. "type": "object",
  13643. "properties": {
  13644. "areauserid": {
  13645. "description": "机构ID",
  13646. "type": "integer"
  13647. },
  13648. "changeQty": {
  13649. "description": "套保变动量",
  13650. "type": "number"
  13651. },
  13652. "contracttype": {
  13653. "description": "现货合同类型 - 1:采购 -1:销售",
  13654. "type": "integer"
  13655. },
  13656. "convertfactor": {
  13657. "description": "标仓系数",
  13658. "type": "number"
  13659. },
  13660. "convertratio": {
  13661. "description": "套保系数",
  13662. "type": "number"
  13663. },
  13664. "createtime": {
  13665. "description": "时间",
  13666. "type": "string"
  13667. },
  13668. "deliverygoodscode": {
  13669. "description": "现货品种代码",
  13670. "type": "string"
  13671. },
  13672. "deliverygoodsid": {
  13673. "description": "现货品种id",
  13674. "type": "integer"
  13675. },
  13676. "deliverygoodsname": {
  13677. "description": "现货品种名称",
  13678. "type": "string"
  13679. },
  13680. "enumdicname": {
  13681. "description": "现货商品单位名称",
  13682. "type": "string"
  13683. },
  13684. "logtype": {
  13685. "description": "类型 - 1:套保计划 2:现货合同",
  13686. "type": "integer"
  13687. },
  13688. "mgunitid": {
  13689. "description": "套保品种单位id",
  13690. "type": "integer"
  13691. },
  13692. "mgunitidname": {
  13693. "description": "套保品种单位名称",
  13694. "type": "string"
  13695. },
  13696. "middlegoodsId": {
  13697. "description": "套保商品id",
  13698. "type": "integer"
  13699. },
  13700. "middlegoodscode": {
  13701. "description": "套保商品代码",
  13702. "type": "string"
  13703. },
  13704. "middlegoodsname": {
  13705. "description": "套保商品名称",
  13706. "type": "string"
  13707. },
  13708. "qty": {
  13709. "description": "数量",
  13710. "type": "number"
  13711. },
  13712. "relateNo": {
  13713. "description": "现货合同/套保计划编号",
  13714. "type": "string"
  13715. }
  13716. }
  13717. },
  13718. "models.Ermcp3ExposureHedgeplanDetail": {
  13719. "type": "object",
  13720. "properties": {
  13721. "biztype": {
  13722. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  13723. "type": "integer"
  13724. },
  13725. "changqty": {
  13726. "description": "应套保总量变化量",
  13727. "type": "number"
  13728. },
  13729. "contracttype": {
  13730. "description": "计划类型 - 1:采购 -1:销售",
  13731. "type": "integer"
  13732. },
  13733. "convertratio": {
  13734. "description": "折算系数(套保品种)",
  13735. "type": "number"
  13736. },
  13737. "deliverygoodscode": {
  13738. "description": "现货商品代码",
  13739. "type": "string"
  13740. },
  13741. "deliverygoodsid": {
  13742. "description": "现货商品id",
  13743. "type": "integer"
  13744. },
  13745. "deliverygoodsname": {
  13746. "description": "现货商吕名称",
  13747. "type": "string"
  13748. },
  13749. "dgunitid": {
  13750. "description": "现货商品单位id",
  13751. "type": "integer"
  13752. },
  13753. "dgunitidname": {
  13754. "description": "单位名称(现货商品)",
  13755. "type": "string"
  13756. },
  13757. "diffqty": {
  13758. "description": "套保品种今变动量",
  13759. "type": "number"
  13760. },
  13761. "enumdicname": {
  13762. "description": "单位名称(品类)",
  13763. "type": "string"
  13764. },
  13765. "hedgeplanid": {
  13766. "description": "套保计划id",
  13767. "type": "string"
  13768. },
  13769. "hedgeplanno": {
  13770. "description": "套保计划编号",
  13771. "type": "string"
  13772. },
  13773. "hedgeplanstatus": {
  13774. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13775. "type": "integer"
  13776. },
  13777. "mgunitidname": {
  13778. "description": "单位名称(套保商品)",
  13779. "type": "string"
  13780. },
  13781. "middlegoodscode": {
  13782. "description": "套保品种代码",
  13783. "type": "string"
  13784. },
  13785. "middlegoodsid": {
  13786. "description": "套保品种id",
  13787. "type": "integer"
  13788. },
  13789. "middlegoodsname": {
  13790. "description": "套保品种名称",
  13791. "type": "string"
  13792. },
  13793. "needarbitrageratio": {
  13794. "description": "应套利比例",
  13795. "type": "number"
  13796. },
  13797. "needhedgeratio": {
  13798. "description": "应套保比例",
  13799. "type": "number"
  13800. },
  13801. "pricedqty": {
  13802. "description": "已定价量",
  13803. "type": "number"
  13804. },
  13805. "qty": {
  13806. "description": "合同量",
  13807. "type": "number"
  13808. },
  13809. "tradedate": {
  13810. "description": "交易日(登记日)",
  13811. "type": "string"
  13812. },
  13813. "unitid": {
  13814. "description": "品类单位id",
  13815. "type": "integer"
  13816. },
  13817. "userid": {
  13818. "description": "机构id",
  13819. "type": "integer"
  13820. },
  13821. "wrstandardcode": {
  13822. "description": "品类代码",
  13823. "type": "string"
  13824. },
  13825. "wrstandardid": {
  13826. "description": "品类id",
  13827. "type": "integer"
  13828. },
  13829. "wrstandardname": {
  13830. "description": "品类名称",
  13831. "type": "string"
  13832. }
  13833. }
  13834. },
  13835. "models.Ermcp3ExpourseReport": {
  13836. "type": "object",
  13837. "properties": {
  13838. "accountid": {
  13839. "description": "期货账户ID (作废, 默认为0)",
  13840. "type": "integer"
  13841. },
  13842. "accountname": {
  13843. "description": "机构名称",
  13844. "type": "string"
  13845. },
  13846. "arbitrageqty": {
  13847. "description": "套利量",
  13848. "type": "number"
  13849. },
  13850. "areauserid": {
  13851. "description": "所属机构\\交易用户ID",
  13852. "type": "integer"
  13853. },
  13854. "begindate": {
  13855. "description": "开始交易日",
  13856. "type": "string"
  13857. },
  13858. "buyfutureqty": {
  13859. "description": "买入期货数量",
  13860. "type": "number"
  13861. },
  13862. "buyplanqty": {
  13863. "description": "采购计划数量",
  13864. "type": "number"
  13865. },
  13866. "buypricedqty": {
  13867. "description": "采购合同已定价数量",
  13868. "type": "number"
  13869. },
  13870. "cycletime": {
  13871. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13872. "type": "string"
  13873. },
  13874. "cycletype": {
  13875. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13876. "type": "integer"
  13877. },
  13878. "diffexposure": {
  13879. "description": "变动量(套保敞口)",
  13880. "type": "number"
  13881. },
  13882. "difffutuqty": {
  13883. "description": "变动量(期货)",
  13884. "type": "number"
  13885. },
  13886. "diffhedgeqty": {
  13887. "description": "变动量(现货应套保总量)",
  13888. "type": "number"
  13889. },
  13890. "diffmgqtya": {
  13891. "description": "套保变动量",
  13892. "type": "number"
  13893. },
  13894. "diffmgqtyb": {
  13895. "description": "套利变动量",
  13896. "type": "number"
  13897. },
  13898. "diffqty": {
  13899. "description": "变动量(总敞口)",
  13900. "type": "number"
  13901. },
  13902. "diffspotqty": {
  13903. "description": "变动量(现货)",
  13904. "type": "number"
  13905. },
  13906. "enddate": {
  13907. "description": "结束交易日",
  13908. "type": "string"
  13909. },
  13910. "enumdicname": {
  13911. "description": "单位名称",
  13912. "type": "string"
  13913. },
  13914. "hedgeqty": {
  13915. "description": "套保量",
  13916. "type": "number"
  13917. },
  13918. "mgneedhedgeratio": {
  13919. "description": "套保比例(套保品的)",
  13920. "type": "number"
  13921. },
  13922. "middlegoodsid": {
  13923. "description": "套保品种ID",
  13924. "type": "integer"
  13925. },
  13926. "middlegoodsname": {
  13927. "description": "套保商品名称",
  13928. "type": "string"
  13929. },
  13930. "middlgoodscode": {
  13931. "description": "套保商品代码",
  13932. "type": "string"
  13933. },
  13934. "needarbitrageqty": {
  13935. "description": "应套利量",
  13936. "type": "number"
  13937. },
  13938. "needarbitrageratio": {
  13939. "description": "套利比例(套保品的)",
  13940. "type": "number"
  13941. },
  13942. "needhedgeexposoure": {
  13943. "description": "应套保敞口(套保敞口)",
  13944. "type": "number"
  13945. },
  13946. "needhedgeqty": {
  13947. "description": "应套保量",
  13948. "type": "number"
  13949. },
  13950. "needhedgeratio": {
  13951. "description": "应套保敞口比例",
  13952. "type": "number"
  13953. },
  13954. "oriarbitrageqty": {
  13955. "description": "期初套利量",
  13956. "type": "number"
  13957. },
  13958. "oribuyfutureqty": {
  13959. "description": "期初买入期货数量",
  13960. "type": "number"
  13961. },
  13962. "oribuyplanqty": {
  13963. "description": "期初采购计划数量",
  13964. "type": "number"
  13965. },
  13966. "oribuypricedqty": {
  13967. "description": "期初采购合同已定价数量",
  13968. "type": "number"
  13969. },
  13970. "orihedgeqty": {
  13971. "description": "期初套保量",
  13972. "type": "number"
  13973. },
  13974. "orineedarbitrageqty": {
  13975. "description": "期初应套利量",
  13976. "type": "number"
  13977. },
  13978. "orineedhedgeexposoure": {
  13979. "description": "期初应套保敞口",
  13980. "type": "number"
  13981. },
  13982. "orineedhedgeqty": {
  13983. "description": "期初应套保量",
  13984. "type": "number"
  13985. },
  13986. "orisellfutureqty": {
  13987. "description": "期初卖出期货数量",
  13988. "type": "number"
  13989. },
  13990. "orisellplanqty": {
  13991. "description": "期初销售计划数量",
  13992. "type": "number"
  13993. },
  13994. "orisellpricedqty": {
  13995. "description": "期初销售合同已定价数量",
  13996. "type": "number"
  13997. },
  13998. "oritotalexposure": {
  13999. "description": "期初实时总敞口",
  14000. "type": "number"
  14001. },
  14002. "oritotalfutureqty": {
  14003. "description": "期初期货头寸总量",
  14004. "type": "number"
  14005. },
  14006. "oritotalneedhedgeqty": {
  14007. "description": "期初应套保总量",
  14008. "type": "number"
  14009. },
  14010. "oritotalspotqty": {
  14011. "description": "期初现货头寸总量",
  14012. "type": "number"
  14013. },
  14014. "reckondate": {
  14015. "description": "日照时期(yyyyMMdd)",
  14016. "type": "string"
  14017. },
  14018. "sellfutureqty": {
  14019. "description": "卖出期货数量",
  14020. "type": "number"
  14021. },
  14022. "sellplanqty": {
  14023. "description": "销售计划数量",
  14024. "type": "number"
  14025. },
  14026. "sellpricedqty": {
  14027. "description": "销售合同已定价数量",
  14028. "type": "number"
  14029. },
  14030. "totalexposure": {
  14031. "description": "实时总敞口(总敞口)",
  14032. "type": "number"
  14033. },
  14034. "totalfutureqty": {
  14035. "description": "期货头寸总量(期货总量)",
  14036. "type": "number"
  14037. },
  14038. "totalhedgeratio": {
  14039. "description": "敞口比例",
  14040. "type": "number"
  14041. },
  14042. "totalneedhedgeqty": {
  14043. "description": "应套保总量(现货应套保总量)",
  14044. "type": "number"
  14045. },
  14046. "totalspotqty": {
  14047. "description": "现货头寸总量",
  14048. "type": "number"
  14049. },
  14050. "unitid": {
  14051. "description": "单位id",
  14052. "type": "integer"
  14053. },
  14054. "updatetime": {
  14055. "description": "更新时间",
  14056. "type": "string"
  14057. }
  14058. }
  14059. },
  14060. "models.Ermcp3FinanceReport": {
  14061. "type": "object",
  14062. "properties": {
  14063. "accountname": {
  14064. "description": "机构名称",
  14065. "type": "string"
  14066. },
  14067. "areauserid": {
  14068. "description": "所属机构\\交易用户ID",
  14069. "type": "integer"
  14070. },
  14071. "begindate": {
  14072. "description": "开始交易日",
  14073. "type": "string"
  14074. },
  14075. "biztype": {
  14076. "description": "业务类型 - 1:套保 2:套利",
  14077. "type": "integer"
  14078. },
  14079. "brandname": {
  14080. "description": "品牌名称",
  14081. "type": "string"
  14082. },
  14083. "buypreinvoicedamount": {
  14084. "description": "采购预收票额(预收票额)",
  14085. "type": "number"
  14086. },
  14087. "buyprepaidamount": {
  14088. "description": "采购预付款额(预付货款额)",
  14089. "type": "number"
  14090. },
  14091. "buytodayinvoiceamount": {
  14092. "description": "采购今收票额(今收票额)",
  14093. "type": "number"
  14094. },
  14095. "buytodayrefundamount": {
  14096. "description": "采购今收退款额(今收退款额)",
  14097. "type": "number"
  14098. },
  14099. "buytodaysettleamount": {
  14100. "description": "采购今付款额(今付货款额)",
  14101. "type": "number"
  14102. },
  14103. "buyuninvoicedamount": {
  14104. "description": "采购应收票额(应收票额)",
  14105. "type": "number"
  14106. },
  14107. "buyunpaidamount": {
  14108. "description": "采购应付款额(应付货款额)",
  14109. "type": "number"
  14110. },
  14111. "currencyid": {
  14112. "description": "结算币种ID",
  14113. "type": "integer"
  14114. },
  14115. "currencyname": {
  14116. "description": "币种名称",
  14117. "type": "string"
  14118. },
  14119. "cycletime": {
  14120. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14121. "type": "string"
  14122. },
  14123. "cycletype": {
  14124. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14125. "type": "integer"
  14126. },
  14127. "deliverygoodscode": {
  14128. "description": "现货品种代码",
  14129. "type": "string"
  14130. },
  14131. "deliverygoodsid": {
  14132. "description": "现货品种ID",
  14133. "type": "integer"
  14134. },
  14135. "deliverygoodsname": {
  14136. "description": "现货品种名称",
  14137. "type": "string"
  14138. },
  14139. "enddate": {
  14140. "description": "结束交易日",
  14141. "type": "string"
  14142. },
  14143. "reckondate": {
  14144. "description": "日照时期(yyyyMMdd)",
  14145. "type": "string"
  14146. },
  14147. "sellpreinvoicedamount": {
  14148. "description": "销售预开票额(预开票额)",
  14149. "type": "number"
  14150. },
  14151. "sellprepaidamount": {
  14152. "description": "销售预收款额(预收货款额)",
  14153. "type": "number"
  14154. },
  14155. "selltodayinvoiceamount": {
  14156. "description": "销售今开票额(今开票额)",
  14157. "type": "number"
  14158. },
  14159. "selltodayrefundamount": {
  14160. "description": "销售今付退款额(今付退款额)",
  14161. "type": "number"
  14162. },
  14163. "selltodaysettleamount": {
  14164. "description": "销售今收款额(今收货款额)",
  14165. "type": "number"
  14166. },
  14167. "selluninvoicedamount": {
  14168. "description": "销售应开票额(应开票额)",
  14169. "type": "number"
  14170. },
  14171. "sellunpaidamount": {
  14172. "description": "销售应收款额(应收货款额)",
  14173. "type": "number"
  14174. },
  14175. "spotgoodsbrandid": {
  14176. "description": "现货品牌ID",
  14177. "type": "integer"
  14178. },
  14179. "todaypaysum": {
  14180. "description": "今付款合计",
  14181. "type": "number"
  14182. },
  14183. "todayreceivesum": {
  14184. "description": "今收款合计",
  14185. "type": "number"
  14186. },
  14187. "updatetime": {
  14188. "description": "更新时间",
  14189. "type": "string"
  14190. },
  14191. "wrfactortypeid": {
  14192. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14193. "type": "integer"
  14194. },
  14195. "wrstandardcode": {
  14196. "description": "品类代码",
  14197. "type": "string"
  14198. },
  14199. "wrstandardid": {
  14200. "description": "现货商品ID",
  14201. "type": "integer"
  14202. },
  14203. "wrstandardname": {
  14204. "description": "品类名称",
  14205. "type": "string"
  14206. }
  14207. }
  14208. },
  14209. "models.Ermcp3Goods": {
  14210. "type": "object",
  14211. "properties": {
  14212. "agreeunit": {
  14213. "description": "合约单位(合约乘数)",
  14214. "type": "number"
  14215. },
  14216. "enumdicname": {
  14217. "description": "单位名称",
  14218. "type": "string"
  14219. },
  14220. "exexchangecode": {
  14221. "description": "交易所代码",
  14222. "type": "string"
  14223. },
  14224. "goodscode": {
  14225. "description": "期货商品代码",
  14226. "type": "string"
  14227. },
  14228. "goodsid": {
  14229. "description": "期货商品id",
  14230. "type": "integer"
  14231. },
  14232. "goodsname": {
  14233. "description": "期货商品名称",
  14234. "type": "string"
  14235. }
  14236. }
  14237. },
  14238. "models.Ermcp3GoodsGroup": {
  14239. "type": "object",
  14240. "required": [
  14241. "areauserid"
  14242. ],
  14243. "properties": {
  14244. "agreeunit": {
  14245. "description": "合约单位",
  14246. "type": "number"
  14247. },
  14248. "areauserid": {
  14249. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14250. "type": "integer"
  14251. },
  14252. "canshort": {
  14253. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14254. "type": "integer"
  14255. },
  14256. "closepricemode": {
  14257. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14258. "type": "integer"
  14259. },
  14260. "createtime": {
  14261. "description": "创建时间",
  14262. "type": "string"
  14263. },
  14264. "creatorid": {
  14265. "description": "创建人",
  14266. "type": "integer"
  14267. },
  14268. "currencyid": {
  14269. "description": "报价货币ID",
  14270. "type": "integer"
  14271. },
  14272. "decimalplace": {
  14273. "description": "报价小数位",
  14274. "type": "integer"
  14275. },
  14276. "enumdicname": {
  14277. "description": "单位名称",
  14278. "type": "string"
  14279. },
  14280. "excludecfg": {
  14281. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14282. "type": "integer"
  14283. },
  14284. "exexchangeid": {
  14285. "description": "外部交易所ID[通道交易]",
  14286. "type": "integer"
  14287. },
  14288. "goodsgroupid": {
  14289. "description": "商品组ID(自增ID)",
  14290. "type": "integer"
  14291. },
  14292. "goodsgroupname": {
  14293. "description": "商品组名称",
  14294. "type": "string"
  14295. },
  14296. "goodsgroupstatus": {
  14297. "description": "商品组状态 - 1:正常 2:注销",
  14298. "type": "integer"
  14299. },
  14300. "goodunitid": {
  14301. "description": "报价单位ID",
  14302. "type": "integer"
  14303. },
  14304. "groupcategroyid": {
  14305. "description": "品种分类ID",
  14306. "type": "integer"
  14307. },
  14308. "innerdealmode": {
  14309. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14310. "type": "integer"
  14311. },
  14312. "marketid": {
  14313. "description": "所属市场ID",
  14314. "type": "integer"
  14315. },
  14316. "modifierid": {
  14317. "description": "修改人",
  14318. "type": "integer"
  14319. },
  14320. "modifytime": {
  14321. "description": "修改时间",
  14322. "type": "string"
  14323. },
  14324. "outerdealmode": {
  14325. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14326. "type": "integer"
  14327. },
  14328. "outergroupcode": {
  14329. "description": "外部商品组代码[通道交易]",
  14330. "type": "string"
  14331. },
  14332. "quoteminunit": {
  14333. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14334. "type": "integer"
  14335. },
  14336. "quotesourcegroupid": {
  14337. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14338. "type": "integer"
  14339. },
  14340. "syncgoodsqty": {
  14341. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14342. "type": "integer"
  14343. }
  14344. }
  14345. },
  14346. "models.Ermcp3GoodsGroupEx": {
  14347. "type": "object",
  14348. "properties": {
  14349. "convertratio": {
  14350. "description": "折算系数(品种系数)",
  14351. "type": "number"
  14352. },
  14353. "enumdicname": {
  14354. "description": "单位名称",
  14355. "type": "string"
  14356. },
  14357. "exexchangecode": {
  14358. "description": "交易所代码",
  14359. "type": "string"
  14360. },
  14361. "glist": {
  14362. "description": "合约列表",
  14363. "type": "array",
  14364. "items": {
  14365. "$ref": "#/definitions/models.Ermcp3Goods"
  14366. }
  14367. },
  14368. "goodsgroupid": {
  14369. "description": "商品组id",
  14370. "type": "integer"
  14371. },
  14372. "goodsgroupname": {
  14373. "description": "商品组名称",
  14374. "type": "string"
  14375. },
  14376. "goodsunitid": {
  14377. "description": "单位id",
  14378. "type": "integer"
  14379. },
  14380. "middlegoodsid": {
  14381. "description": "套保商品id",
  14382. "type": "integer"
  14383. }
  14384. }
  14385. },
  14386. "models.Ermcp3HedgePlan": {
  14387. "type": "object",
  14388. "properties": {
  14389. "accountid": {
  14390. "description": "资金账号",
  14391. "type": "integer"
  14392. },
  14393. "areauserid": {
  14394. "description": "用户ID",
  14395. "type": "integer"
  14396. },
  14397. "audittime": {
  14398. "description": "审核时间",
  14399. "type": "string"
  14400. },
  14401. "contracttype": {
  14402. "description": "计划类型 - 1:采购 -1:销售",
  14403. "type": "integer"
  14404. },
  14405. "convertfactor": {
  14406. "description": "标仓系数",
  14407. "type": "number"
  14408. },
  14409. "createtime": {
  14410. "description": "创建时间",
  14411. "type": "string"
  14412. },
  14413. "currencyid": {
  14414. "description": "币种id",
  14415. "type": "integer"
  14416. },
  14417. "currencyname": {
  14418. "description": "币种名称",
  14419. "type": "string"
  14420. },
  14421. "deliverygoodscode": {
  14422. "description": "现货品种代码",
  14423. "type": "string"
  14424. },
  14425. "deliverygoodsid": {
  14426. "description": "现货品种ID",
  14427. "type": "integer"
  14428. },
  14429. "deliverygoodsname": {
  14430. "description": "现货品种名称",
  14431. "type": "string"
  14432. },
  14433. "enumdicname": {
  14434. "description": "单位名称(现货商品)",
  14435. "type": "string"
  14436. },
  14437. "hedgeplanid": {
  14438. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14439. "type": "string"
  14440. },
  14441. "hedgeplanno": {
  14442. "description": "套保计划编号(名称)",
  14443. "type": "string"
  14444. },
  14445. "hedgeplanstatus": {
  14446. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14447. "type": "integer"
  14448. },
  14449. "planqty": {
  14450. "description": "计划数量",
  14451. "type": "number"
  14452. },
  14453. "plantime": {
  14454. "description": "计划时间",
  14455. "type": "string"
  14456. },
  14457. "producttype": {
  14458. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14459. "type": "integer"
  14460. },
  14461. "remark": {
  14462. "description": "备注",
  14463. "type": "string"
  14464. },
  14465. "spotgoodsdesc": {
  14466. "description": "商品型号",
  14467. "type": "string"
  14468. },
  14469. "taaccountname": {
  14470. "description": "资金账号名称",
  14471. "type": "string"
  14472. },
  14473. "tradeuserid": {
  14474. "description": "交易用户id",
  14475. "type": "integer"
  14476. },
  14477. "tradeusername": {
  14478. "description": "交易用户名称",
  14479. "type": "string"
  14480. },
  14481. "unitid": {
  14482. "description": "单位id(现货商品)",
  14483. "type": "integer"
  14484. },
  14485. "updatetime": {
  14486. "description": "更新时间",
  14487. "type": "string"
  14488. },
  14489. "wrstandardcode": {
  14490. "description": "品类代码",
  14491. "type": "string"
  14492. },
  14493. "wrstandardid": {
  14494. "description": "品类id",
  14495. "type": "integer"
  14496. },
  14497. "wrstandardname": {
  14498. "description": "品类名称",
  14499. "type": "string"
  14500. },
  14501. "wrunitid": {
  14502. "description": "品类单位id",
  14503. "type": "integer"
  14504. },
  14505. "wrunitidame": {
  14506. "description": "品类单位名称",
  14507. "type": "string"
  14508. }
  14509. }
  14510. },
  14511. "models.Ermcp3MiddleGoodsDetail2": {
  14512. "type": "object",
  14513. "properties": {
  14514. "convertratio": {
  14515. "description": "套保系数(折算系数)",
  14516. "type": "number"
  14517. },
  14518. "gplist": {
  14519. "description": "关联商品组列表",
  14520. "type": "array",
  14521. "items": {
  14522. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14523. }
  14524. },
  14525. "mg": {
  14526. "description": "套保商品信息",
  14527. "type": "object",
  14528. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14529. }
  14530. }
  14531. },
  14532. "models.Ermcp3MiddleGoodsDetailEx": {
  14533. "type": "object",
  14534. "properties": {
  14535. "dglist": {
  14536. "description": "关联的现货品种列表",
  14537. "type": "array",
  14538. "items": {
  14539. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14540. }
  14541. },
  14542. "gplist": {
  14543. "description": "关联商品组列表",
  14544. "type": "array",
  14545. "items": {
  14546. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14547. }
  14548. },
  14549. "mg": {
  14550. "description": "套保商品信息",
  14551. "type": "object",
  14552. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14553. }
  14554. }
  14555. },
  14556. "models.Ermcp3SellBuyContract": {
  14557. "type": "object",
  14558. "properties": {
  14559. "accountid": {
  14560. "description": "期货账户id",
  14561. "type": "string"
  14562. },
  14563. "accountname": {
  14564. "description": "账户名称",
  14565. "type": "string"
  14566. },
  14567. "attachment": {
  14568. "description": "附件",
  14569. "type": "string"
  14570. },
  14571. "audittime": {
  14572. "description": "审核时间",
  14573. "type": "string"
  14574. },
  14575. "biztype": {
  14576. "description": "业务类型 1-套保 2-套利",
  14577. "type": "integer"
  14578. },
  14579. "brandname": {
  14580. "description": "品牌名称",
  14581. "type": "string"
  14582. },
  14583. "contracctstatus": {
  14584. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14585. "type": "integer"
  14586. },
  14587. "contractmargin": {
  14588. "description": "合同保证金",
  14589. "type": "number"
  14590. },
  14591. "contractno": {
  14592. "description": "合同编号",
  14593. "type": "string"
  14594. },
  14595. "contracttype": {
  14596. "description": "合同类型 1-采购, -1-销售",
  14597. "type": "integer"
  14598. },
  14599. "convertfactor": {
  14600. "description": "标仓系数(品类)",
  14601. "type": "number"
  14602. },
  14603. "createtime": {
  14604. "description": "创建时间",
  14605. "type": "string"
  14606. },
  14607. "currencyid": {
  14608. "description": "币种id",
  14609. "type": "integer"
  14610. },
  14611. "currencyname": {
  14612. "description": "币种名称",
  14613. "type": "string"
  14614. },
  14615. "daikaiamount": {
  14616. "description": "应收(开)票额",
  14617. "type": "number"
  14618. },
  14619. "deliveryenddate": {
  14620. "description": "交割结束日",
  14621. "type": "string"
  14622. },
  14623. "deliverygoodscode": {
  14624. "description": "现货品种代码",
  14625. "type": "string"
  14626. },
  14627. "deliverygoodsid": {
  14628. "description": "现货商品ID",
  14629. "type": "integer"
  14630. },
  14631. "deliverygoodsname": {
  14632. "description": "现货品种名称",
  14633. "type": "string"
  14634. },
  14635. "deliverystartdate": {
  14636. "description": "交割开始日",
  14637. "type": "string"
  14638. },
  14639. "enddate": {
  14640. "description": "点价结束日",
  14641. "type": "string"
  14642. },
  14643. "enumdicname": {
  14644. "description": "单位名称",
  14645. "type": "string"
  14646. },
  14647. "goodscode": {
  14648. "description": "点价商品代码",
  14649. "type": "string"
  14650. },
  14651. "goodsid": {
  14652. "description": "点价商品ID",
  14653. "type": "integer"
  14654. },
  14655. "goodsname": {
  14656. "description": "点价商品名称",
  14657. "type": "string"
  14658. },
  14659. "invoiceamount": {
  14660. "description": "已开票额",
  14661. "type": "number"
  14662. },
  14663. "loanamount": {
  14664. "description": "贷款总额=已定价额+调整金额",
  14665. "type": "number"
  14666. },
  14667. "margin": {
  14668. "description": "保证金",
  14669. "type": "number"
  14670. },
  14671. "meruserid": {
  14672. "description": "跟单员id",
  14673. "type": "integer"
  14674. },
  14675. "meruserlogincode": {
  14676. "description": "跟单员登录代码",
  14677. "type": "string"
  14678. },
  14679. "nickname": {
  14680. "description": "账户昵称",
  14681. "type": "string"
  14682. },
  14683. "payamount": {
  14684. "description": "已收付额(收款或付款)",
  14685. "type": "number"
  14686. },
  14687. "preinvoiceamount": {
  14688. "description": "预收(开)票额",
  14689. "type": "number"
  14690. },
  14691. "prepayamount": {
  14692. "description": "预收付额",
  14693. "type": "number"
  14694. },
  14695. "price": {
  14696. "description": "价格",
  14697. "type": "number"
  14698. },
  14699. "pricedamount": {
  14700. "description": "已定价额",
  14701. "type": "number"
  14702. },
  14703. "pricedavg": {
  14704. "description": "已点均价",
  14705. "type": "number"
  14706. },
  14707. "pricedqty": {
  14708. "description": "已定价量",
  14709. "type": "number"
  14710. },
  14711. "pricemove": {
  14712. "description": "升贴水",
  14713. "type": "number"
  14714. },
  14715. "pricetype": {
  14716. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14717. "type": "integer"
  14718. },
  14719. "producttype": {
  14720. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14721. "type": "integer"
  14722. },
  14723. "qty": {
  14724. "description": "合同量",
  14725. "type": "number"
  14726. },
  14727. "reckonadjustamount": {
  14728. "description": "调整金额",
  14729. "type": "number"
  14730. },
  14731. "reckonedamount": {
  14732. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14733. "type": "number"
  14734. },
  14735. "reckonotheramount": {
  14736. "description": "其它费用",
  14737. "type": "number"
  14738. },
  14739. "reckonrealqty": {
  14740. "description": "已确定量",
  14741. "type": "number"
  14742. },
  14743. "remark": {
  14744. "description": "备注",
  14745. "type": "string"
  14746. },
  14747. "saleuserid": {
  14748. "description": "业务员id",
  14749. "type": "integer"
  14750. },
  14751. "saleuserlogincode": {
  14752. "description": "业务员登录代码",
  14753. "type": "string"
  14754. },
  14755. "spotcontractid": {
  14756. "description": "合同ID",
  14757. "type": "string"
  14758. },
  14759. "spotgoodsbrandid": {
  14760. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14761. "type": "integer"
  14762. },
  14763. "spotgoodsdesc": {
  14764. "description": "商品型号(商品规格)",
  14765. "type": "string"
  14766. },
  14767. "startdate": {
  14768. "description": "点价开始日",
  14769. "type": "string"
  14770. },
  14771. "totalamount": {
  14772. "description": "合计总额",
  14773. "type": "number"
  14774. },
  14775. "tradeuserid": {
  14776. "description": "交易员id",
  14777. "type": "integer"
  14778. },
  14779. "tradeuserlogincode": {
  14780. "description": "交易员登录代码",
  14781. "type": "string"
  14782. },
  14783. "tradeusername": {
  14784. "description": "交易员名称",
  14785. "type": "string"
  14786. },
  14787. "unpayamount": {
  14788. "description": "应收付款额(应支付或应收款)",
  14789. "type": "number"
  14790. },
  14791. "unpricedqty": {
  14792. "description": "未定价量",
  14793. "type": "number"
  14794. },
  14795. "unsureqty": {
  14796. "description": "未确定量",
  14797. "type": "number"
  14798. },
  14799. "userid": {
  14800. "description": "机构ID",
  14801. "type": "integer"
  14802. },
  14803. "wrstandardcode": {
  14804. "description": "品类代码",
  14805. "type": "string"
  14806. },
  14807. "wrstandardid": {
  14808. "description": "品类ID",
  14809. "type": "integer"
  14810. },
  14811. "wrstandardname": {
  14812. "description": "品类名称",
  14813. "type": "string"
  14814. }
  14815. }
  14816. },
  14817. "models.Ermcp3SpotGoodsPrice": {
  14818. "type": "object",
  14819. "properties": {
  14820. "areauserid": {
  14821. "description": "所属机构id",
  14822. "type": "integer"
  14823. },
  14824. "brandname": {
  14825. "description": "品牌名称",
  14826. "type": "string"
  14827. },
  14828. "currencyid": {
  14829. "description": "报价货币ID",
  14830. "type": "integer"
  14831. },
  14832. "currencyname": {
  14833. "description": "币种名称",
  14834. "type": "string"
  14835. },
  14836. "deliverygoodscode": {
  14837. "description": "现货商品代码",
  14838. "type": "string"
  14839. },
  14840. "deliverygoodsid": {
  14841. "description": "现货商品id",
  14842. "type": "integer"
  14843. },
  14844. "deliverygoodsname": {
  14845. "description": "现货商品名称",
  14846. "type": "string"
  14847. },
  14848. "enumdicname": {
  14849. "description": "现货商品单位名称",
  14850. "type": "string"
  14851. },
  14852. "gbenumdicname": {
  14853. "description": "品类单位名称",
  14854. "type": "string"
  14855. },
  14856. "gmunitid": {
  14857. "description": "品类单位id",
  14858. "type": "integer"
  14859. },
  14860. "isvalid": {
  14861. "description": "是否有效 - 0:无效 1:有效",
  14862. "type": "integer"
  14863. },
  14864. "operateid": {
  14865. "description": "最后操作人",
  14866. "type": "integer"
  14867. },
  14868. "operatesrc": {
  14869. "description": "最后操作来源 - 1:管理端 2:终端",
  14870. "type": "integer"
  14871. },
  14872. "operatetime": {
  14873. "description": "最后操作时间",
  14874. "type": "string"
  14875. },
  14876. "operatorname": {
  14877. "description": "操作人名称",
  14878. "type": "string"
  14879. },
  14880. "spotgoodsbrandid": {
  14881. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14882. "type": "integer"
  14883. },
  14884. "spotgoodsprice": {
  14885. "description": "现货价格",
  14886. "type": "number"
  14887. },
  14888. "tradedate": {
  14889. "description": "交易日(yyyyMMdd)",
  14890. "type": "string"
  14891. },
  14892. "unitid": {
  14893. "description": "现货商品单位id",
  14894. "type": "integer"
  14895. },
  14896. "wrstandardcode": {
  14897. "description": "品类代码",
  14898. "type": "string"
  14899. },
  14900. "wrstandardid": {
  14901. "description": "现货品类ID(通用则为0)",
  14902. "type": "integer"
  14903. },
  14904. "wrstandardname": {
  14905. "description": "品类名称",
  14906. "type": "string"
  14907. }
  14908. }
  14909. },
  14910. "models.Ermcp3SpotGoodsPriceLog": {
  14911. "type": "object",
  14912. "properties": {
  14913. "areauserid": {
  14914. "description": "所属机构id",
  14915. "type": "integer"
  14916. },
  14917. "brandname": {
  14918. "description": "品牌名称",
  14919. "type": "string"
  14920. },
  14921. "currencyid": {
  14922. "description": "报价货币ID",
  14923. "type": "integer"
  14924. },
  14925. "deliverygoodscode": {
  14926. "description": "现货商品代码",
  14927. "type": "string"
  14928. },
  14929. "deliverygoodsid": {
  14930. "description": "现货商品id",
  14931. "type": "integer"
  14932. },
  14933. "deliverygoodsname": {
  14934. "description": "现货商品名称",
  14935. "type": "string"
  14936. },
  14937. "enumdicname": {
  14938. "description": "现货商品单位名称",
  14939. "type": "string"
  14940. },
  14941. "gbenumdicname": {
  14942. "description": "品类单位名称",
  14943. "type": "string"
  14944. },
  14945. "gmunitid": {
  14946. "description": "品类单位id",
  14947. "type": "integer"
  14948. },
  14949. "logid": {
  14950. "description": "日志id",
  14951. "type": "integer"
  14952. },
  14953. "operateid": {
  14954. "description": "最后操作人",
  14955. "type": "integer"
  14956. },
  14957. "operatesrc": {
  14958. "description": "最后操作来源 - 1:管理端 2:终端",
  14959. "type": "integer"
  14960. },
  14961. "operatetime": {
  14962. "description": "最后操作时间",
  14963. "type": "string"
  14964. },
  14965. "operatorname": {
  14966. "description": "操作人名称",
  14967. "type": "string"
  14968. },
  14969. "spotgoodsbrandid": {
  14970. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14971. "type": "integer"
  14972. },
  14973. "spotgoodsprice": {
  14974. "description": "现货价格",
  14975. "type": "number"
  14976. },
  14977. "tradedate": {
  14978. "description": "交易日(yyyyMMdd)",
  14979. "type": "string"
  14980. },
  14981. "unitid": {
  14982. "description": "现货商品单位id",
  14983. "type": "integer"
  14984. },
  14985. "wrstandardcode": {
  14986. "description": "品类代码",
  14987. "type": "string"
  14988. },
  14989. "wrstandardid": {
  14990. "description": "现货品类ID(通用则为0)",
  14991. "type": "integer"
  14992. },
  14993. "wrstandardname": {
  14994. "description": "品类名称",
  14995. "type": "string"
  14996. }
  14997. }
  14998. },
  14999. "models.Ermcp3Wrstandard": {
  15000. "type": "object",
  15001. "properties": {
  15002. "areauserid": {
  15003. "description": "所属机构",
  15004. "type": "integer"
  15005. },
  15006. "convertfactor": {
  15007. "description": "标仓系数",
  15008. "type": "number"
  15009. },
  15010. "createtime": {
  15011. "description": "创建时间",
  15012. "type": "string"
  15013. },
  15014. "creatorid": {
  15015. "description": "创建人",
  15016. "type": "integer"
  15017. },
  15018. "deliverygoodsid": {
  15019. "description": "现货品种ID",
  15020. "type": "integer"
  15021. },
  15022. "enumdicname": {
  15023. "description": "品类单位名称",
  15024. "type": "string"
  15025. },
  15026. "isvalid": {
  15027. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15028. "type": "integer"
  15029. },
  15030. "minivalue": {
  15031. "description": "最小变动值",
  15032. "type": "integer"
  15033. },
  15034. "minivaluedp": {
  15035. "description": "最小变动值小数位",
  15036. "type": "integer"
  15037. },
  15038. "realminivalue": {
  15039. "description": "实际最小变动值",
  15040. "type": "integer"
  15041. },
  15042. "realminivaluedp": {
  15043. "description": "实际最小变动值小数位",
  15044. "type": "integer"
  15045. },
  15046. "remark": {
  15047. "description": "备注",
  15048. "type": "string"
  15049. },
  15050. "unitid": {
  15051. "description": "品类单位ID",
  15052. "type": "integer"
  15053. },
  15054. "updatetime": {
  15055. "description": "更新时间",
  15056. "type": "string"
  15057. },
  15058. "wrstandardcode": {
  15059. "description": "品类代码",
  15060. "type": "string"
  15061. },
  15062. "wrstandardid": {
  15063. "description": "品类ID(SEQ_WRSTANDARD)",
  15064. "type": "integer"
  15065. },
  15066. "wrstandardname": {
  15067. "description": "品类名称",
  15068. "type": "string"
  15069. }
  15070. }
  15071. },
  15072. "models.ErmcpAreaSpotDetailModel": {
  15073. "type": "object",
  15074. "properties": {
  15075. "contracttype": {
  15076. "description": "合同类型 1-采购 -1-销售",
  15077. "type": "integer"
  15078. },
  15079. "createtime": {
  15080. "description": "创建时间",
  15081. "type": "string"
  15082. },
  15083. "enumdicname": {
  15084. "description": "现货商品单位名称",
  15085. "type": "string"
  15086. },
  15087. "logtype": {
  15088. "description": "记录类型 1-套保 2-现货合同",
  15089. "type": "integer"
  15090. },
  15091. "qty": {
  15092. "description": "数量",
  15093. "type": "number"
  15094. },
  15095. "recordname": {
  15096. "description": "类型名称",
  15097. "type": "string"
  15098. },
  15099. "relatedid": {
  15100. "description": "套保计划ID/现货合同ID",
  15101. "type": "string"
  15102. },
  15103. "relatedno": {
  15104. "description": "编号",
  15105. "type": "string"
  15106. },
  15107. "strtime": {
  15108. "description": "时间",
  15109. "type": "string"
  15110. },
  15111. "wrstandardcode": {
  15112. "description": "现货商品代码",
  15113. "type": "string"
  15114. },
  15115. "wrstandardname": {
  15116. "description": "现货商品名称",
  15117. "type": "string"
  15118. }
  15119. }
  15120. },
  15121. "models.ErmcpAvalidGoodsGroupModel": {
  15122. "type": "object",
  15123. "properties": {
  15124. "goodsgroupid": {
  15125. "description": "期货品种id",
  15126. "type": "integer"
  15127. },
  15128. "goodsgroupname": {
  15129. "description": "期货品种名称",
  15130. "type": "string"
  15131. },
  15132. "goodunitid": {
  15133. "description": "品种单位id",
  15134. "type": "integer"
  15135. },
  15136. "goodunitname": {
  15137. "description": "品种单位名称",
  15138. "type": "string"
  15139. },
  15140. "outergroupcode": {
  15141. "description": "期货品种代码",
  15142. "type": "string"
  15143. }
  15144. }
  15145. },
  15146. "models.ErmcpBizGroupEx": {
  15147. "type": "object",
  15148. "properties": {
  15149. "acclist": {
  15150. "description": "账号列表",
  15151. "type": "array",
  15152. "items": {
  15153. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15154. }
  15155. },
  15156. "bizgroupid": {
  15157. "description": "业务分组id",
  15158. "type": "integer"
  15159. },
  15160. "biztype": {
  15161. "description": "业务类型 1-套保 2-套利",
  15162. "type": "integer"
  15163. },
  15164. "wrlist": {
  15165. "description": "现货商品表",
  15166. "type": "array",
  15167. "items": {
  15168. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15169. }
  15170. }
  15171. }
  15172. },
  15173. "models.ErmcpBizGroupSpotGoods": {
  15174. "type": "object",
  15175. "properties": {
  15176. "areauserid": {
  15177. "description": "所属机构id",
  15178. "type": "integer"
  15179. },
  15180. "bizgroupid": {
  15181. "description": "分组id",
  15182. "type": "integer"
  15183. },
  15184. "biztype": {
  15185. "description": "业务类型 1-套保 2-套利",
  15186. "type": "integer"
  15187. },
  15188. "deliverygoodscode": {
  15189. "description": "现货商品代码",
  15190. "type": "string"
  15191. },
  15192. "deliverygoodsid": {
  15193. "description": "现货商品id",
  15194. "type": "integer"
  15195. },
  15196. "deliverygoodsname": {
  15197. "description": "现货商品名称",
  15198. "type": "string"
  15199. },
  15200. "unitid": {
  15201. "description": "现货商品单位id",
  15202. "type": "integer"
  15203. }
  15204. }
  15205. },
  15206. "models.ErmcpBizGroupTaAccount": {
  15207. "type": "object",
  15208. "properties": {
  15209. "accountid": {
  15210. "description": "账号id",
  15211. "type": "integer"
  15212. },
  15213. "accountname": {
  15214. "description": "账号名称",
  15215. "type": "string"
  15216. },
  15217. "areauserid": {
  15218. "description": "所属机构id",
  15219. "type": "integer"
  15220. },
  15221. "bizgroupid": {
  15222. "description": "业务分组id",
  15223. "type": "integer"
  15224. },
  15225. "ismain": {
  15226. "description": "是否主账号 1-是 0-否",
  15227. "type": "integer"
  15228. }
  15229. }
  15230. },
  15231. "models.ErmcpDGFactoryItem": {
  15232. "type": "object",
  15233. "properties": {
  15234. "areauserid": {
  15235. "description": "用户id",
  15236. "type": "integer"
  15237. },
  15238. "deliverygoodsid": {
  15239. "description": "现货品种ID",
  15240. "type": "integer"
  15241. },
  15242. "dgfactoryitemid": {
  15243. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15244. "type": "integer"
  15245. },
  15246. "dgfactoryitemtypeid": {
  15247. "description": "要素项类型",
  15248. "type": "integer"
  15249. },
  15250. "dgfactoryitemvalue": {
  15251. "description": "要素项值(类型为仓库时填写仓库名称)",
  15252. "type": "string"
  15253. },
  15254. "isvalid": {
  15255. "description": "是否有效 - 0:无效 1:有效",
  15256. "type": "integer"
  15257. },
  15258. "orderindex": {
  15259. "description": "顺序",
  15260. "type": "integer"
  15261. },
  15262. "warehouseid": {
  15263. "description": "仓库ID(类型为仓库时填写)",
  15264. "type": "integer"
  15265. }
  15266. }
  15267. },
  15268. "models.ErmcpDeliveryGoods": {
  15269. "type": "object",
  15270. "properties": {
  15271. "agreeunit": {
  15272. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15273. "type": "integer"
  15274. },
  15275. "areauserid": {
  15276. "description": "所属机构",
  15277. "type": "integer"
  15278. },
  15279. "auditflag": {
  15280. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15281. "type": "integer"
  15282. },
  15283. "categoryid": {
  15284. "description": "类别ID(SEQ_WRCATEGORY)",
  15285. "type": "integer"
  15286. },
  15287. "deliverygoodscode": {
  15288. "description": "现货品种代码",
  15289. "type": "string"
  15290. },
  15291. "deliverygoodsid": {
  15292. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15293. "type": "integer"
  15294. },
  15295. "deliverygoodsname": {
  15296. "description": "现货品种名称",
  15297. "type": "string"
  15298. },
  15299. "deliverygoodstype": {
  15300. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15301. "type": "integer"
  15302. },
  15303. "dgstatus": {
  15304. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15305. "type": "integer"
  15306. },
  15307. "enumdicname": {
  15308. "description": "现货品种单位名称",
  15309. "type": "string"
  15310. },
  15311. "goodsunitid": {
  15312. "description": "现货品种单位ID",
  15313. "type": "integer"
  15314. },
  15315. "isvalid": {
  15316. "description": "是否有效 - 0:无效 1:有效",
  15317. "type": "integer"
  15318. },
  15319. "qtydecimalplace": {
  15320. "description": "成交量小数位",
  15321. "type": "integer"
  15322. },
  15323. "remark": {
  15324. "description": "备注",
  15325. "type": "string"
  15326. },
  15327. "standardqty": {
  15328. "description": "标准数量(库位数量) [标准品特有]",
  15329. "type": "integer"
  15330. },
  15331. "standardqtyrange": {
  15332. "description": "标准数量偏差范围 [标准品特有]",
  15333. "type": "integer"
  15334. }
  15335. }
  15336. },
  15337. "models.ErmcpDeliveryGoodsDetail2": {
  15338. "type": "object",
  15339. "properties": {
  15340. "convertratio": {
  15341. "description": "套保系数(折算系数)",
  15342. "type": "number"
  15343. },
  15344. "data": {
  15345. "description": "现货商品基本信息(交割品种)",
  15346. "type": "object",
  15347. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15348. },
  15349. "gblist": {
  15350. "description": "品牌列表",
  15351. "type": "array",
  15352. "items": {
  15353. "$ref": "#/definitions/models.Ermcp3Brand"
  15354. }
  15355. },
  15356. "gmlist": {
  15357. "description": "品类列表(仓单标准)",
  15358. "type": "array",
  15359. "items": {
  15360. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15361. }
  15362. }
  15363. }
  15364. },
  15365. "models.ErmcpDeliveryGoodsDetailEx": {
  15366. "type": "object",
  15367. "properties": {
  15368. "data": {
  15369. "description": "现货商品基本信息(交割品种)",
  15370. "type": "object",
  15371. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15372. },
  15373. "gblist": {
  15374. "description": "品牌列表",
  15375. "type": "array",
  15376. "items": {
  15377. "$ref": "#/definitions/models.Ermcp3Brand"
  15378. }
  15379. },
  15380. "gmlist": {
  15381. "description": "品类列表(仓单标准)",
  15382. "type": "array",
  15383. "items": {
  15384. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15385. }
  15386. },
  15387. "mgList": {
  15388. "description": "套保列表",
  15389. "type": "array",
  15390. "items": {
  15391. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15392. }
  15393. }
  15394. }
  15395. },
  15396. "models.ErmcpExposureDetailModel": {
  15397. "type": "object",
  15398. "properties": {
  15399. "areauserid": {
  15400. "description": "机构ID",
  15401. "type": "integer"
  15402. },
  15403. "changeQty": {
  15404. "description": "套保变动量",
  15405. "type": "number"
  15406. },
  15407. "contracttype": {
  15408. "description": "现货合同类型 - 1:采购 -1:销售",
  15409. "type": "integer"
  15410. },
  15411. "convertfactor": {
  15412. "description": "标仓系数",
  15413. "type": "number"
  15414. },
  15415. "convertratio": {
  15416. "description": "套保系数",
  15417. "type": "number"
  15418. },
  15419. "createtime": {
  15420. "description": "时间",
  15421. "type": "string"
  15422. },
  15423. "enumdicname": {
  15424. "description": "现货商品单位名称",
  15425. "type": "string"
  15426. },
  15427. "logtype": {
  15428. "description": "类型 - 1:套保计划 2:现货合同",
  15429. "type": "integer"
  15430. },
  15431. "middlegoodsId": {
  15432. "description": "套保商品id",
  15433. "type": "integer"
  15434. },
  15435. "middlegoodscode": {
  15436. "description": "套保商品代码",
  15437. "type": "string"
  15438. },
  15439. "middlegoodsname": {
  15440. "description": "套保商品名称",
  15441. "type": "string"
  15442. },
  15443. "qty": {
  15444. "description": "数量",
  15445. "type": "number"
  15446. },
  15447. "relateNo": {
  15448. "description": "现货合同/套保计划编号",
  15449. "type": "string"
  15450. },
  15451. "wrstandardcode": {
  15452. "description": "现货商品代码",
  15453. "type": "string"
  15454. },
  15455. "wrstandardid": {
  15456. "description": "现货商品ID",
  15457. "type": "integer"
  15458. },
  15459. "wrstandardname": {
  15460. "description": "现货商品名称",
  15461. "type": "string"
  15462. }
  15463. }
  15464. },
  15465. "models.ErmcpExposurePostion": {
  15466. "type": "object",
  15467. "properties": {
  15468. "agreeunit": {
  15469. "description": "合约单位",
  15470. "type": "string"
  15471. },
  15472. "areauserid": {
  15473. "description": "所属机构id",
  15474. "type": "integer"
  15475. },
  15476. "convertratio": {
  15477. "description": "期货品种系数(折算系数)",
  15478. "type": "number"
  15479. },
  15480. "curqty": {
  15481. "description": "当前持仓",
  15482. "type": "integer"
  15483. },
  15484. "diffhedgeqty": {
  15485. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15486. "type": "number"
  15487. },
  15488. "diffqty": {
  15489. "description": "持仓变动量=当前持仓-昨日持仓",
  15490. "type": "integer"
  15491. },
  15492. "goodscode": {
  15493. "description": "商品代码",
  15494. "type": "string"
  15495. },
  15496. "goodsid": {
  15497. "description": "商品id",
  15498. "type": "integer"
  15499. },
  15500. "goodsname": {
  15501. "description": "商品名称",
  15502. "type": "string"
  15503. },
  15504. "middlegoodsid": {
  15505. "description": "套保商品id",
  15506. "type": "integer"
  15507. },
  15508. "ydqty": {
  15509. "description": "昨日持仓",
  15510. "type": "integer"
  15511. }
  15512. }
  15513. },
  15514. "models.ErmcpFuturesCompany": {
  15515. "type": "object",
  15516. "properties": {
  15517. "brokerid": {
  15518. "description": "经纪公司代码",
  15519. "type": "string"
  15520. },
  15521. "channeladdress": {
  15522. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15523. "type": "string"
  15524. },
  15525. "channelid": {
  15526. "description": "对冲渠道ID",
  15527. "type": "string"
  15528. },
  15529. "createtime": {
  15530. "description": "创建时间",
  15531. "type": "string"
  15532. },
  15533. "creatorid": {
  15534. "description": "创建人",
  15535. "type": "string"
  15536. },
  15537. "fcid": {
  15538. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15539. "type": "integer"
  15540. },
  15541. "fcname": {
  15542. "description": "期货公司名称",
  15543. "type": "string"
  15544. },
  15545. "isvalid": {
  15546. "description": "是否有效 - 0:无效 1:有效",
  15547. "type": "integer"
  15548. },
  15549. "mhpaddress": {
  15550. "description": "MHP服务地址(IP:Port)",
  15551. "type": "string"
  15552. },
  15553. "riskrulegroupid": {
  15554. "description": "风控规则组ID",
  15555. "type": "string"
  15556. },
  15557. "tradefeetmpid": {
  15558. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15559. "type": "string"
  15560. },
  15561. "trademargintmpid": {
  15562. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15563. "type": "string"
  15564. },
  15565. "traderatetmpid": {
  15566. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15567. "type": "string"
  15568. },
  15569. "updatetime": {
  15570. "description": "更新时间",
  15571. "type": "string"
  15572. },
  15573. "updatorid": {
  15574. "description": "更新人",
  15575. "type": "string"
  15576. }
  15577. }
  15578. },
  15579. "models.ErmcpGGConvertCfg": {
  15580. "type": "object",
  15581. "properties": {
  15582. "convertratio": {
  15583. "description": "折算系数",
  15584. "type": "number"
  15585. },
  15586. "destgoodsgroupid": {
  15587. "description": "目标品种ID",
  15588. "type": "integer"
  15589. },
  15590. "dstcode": {
  15591. "description": "目录品种代码",
  15592. "type": "string"
  15593. },
  15594. "dstexchangecode": {
  15595. "description": "目标期货交易所",
  15596. "type": "string"
  15597. },
  15598. "dstname": {
  15599. "description": "目标品种名称",
  15600. "type": "string"
  15601. },
  15602. "dstunitid": {
  15603. "description": "目标品种单位ID",
  15604. "type": "integer"
  15605. },
  15606. "dstunitidname": {
  15607. "description": "目标品种单位名称",
  15608. "type": "string"
  15609. },
  15610. "modifytime": {
  15611. "description": "修改时间",
  15612. "type": "string"
  15613. },
  15614. "srccode": {
  15615. "description": "源品种代码",
  15616. "type": "string"
  15617. },
  15618. "srcexchangecode": {
  15619. "description": "源期货交易所",
  15620. "type": "string"
  15621. },
  15622. "srcgoodsgroupid": {
  15623. "description": "源品种ID",
  15624. "type": "integer"
  15625. },
  15626. "srcname": {
  15627. "description": "源品种名称",
  15628. "type": "string"
  15629. },
  15630. "srcunitid": {
  15631. "description": "源品种单位ID",
  15632. "type": "integer"
  15633. },
  15634. "srcunitidname": {
  15635. "description": "源品种单位名称",
  15636. "type": "string"
  15637. }
  15638. }
  15639. },
  15640. "models.ErmcpGoodsBrand": {
  15641. "type": "object",
  15642. "properties": {
  15643. "areauserid": {
  15644. "description": "所属机构",
  15645. "type": "integer"
  15646. },
  15647. "brandid": {
  15648. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15649. "type": "integer"
  15650. },
  15651. "brandname": {
  15652. "description": "品牌名称",
  15653. "type": "string"
  15654. },
  15655. "createtime": {
  15656. "description": "创建时间",
  15657. "type": "string"
  15658. },
  15659. "creatorid": {
  15660. "description": "创建人",
  15661. "type": "integer"
  15662. },
  15663. "creatorsrc": {
  15664. "description": "创建人来源 - 1:管理端 2:终端",
  15665. "type": "integer"
  15666. },
  15667. "deliverygoodsid": {
  15668. "description": "现货品种ID",
  15669. "type": "integer"
  15670. },
  15671. "isvalid": {
  15672. "description": "是否有效 - 0:无效 1:有效",
  15673. "type": "integer"
  15674. },
  15675. "updatetime": {
  15676. "description": "更新时间",
  15677. "type": "string"
  15678. },
  15679. "updatorid": {
  15680. "description": "更新人",
  15681. "type": "integer"
  15682. },
  15683. "updatorsrc": {
  15684. "description": "更新人来源 - 1:管理端 2:终端",
  15685. "type": "integer"
  15686. },
  15687. "wrstandardid": {
  15688. "description": "现货商品ID",
  15689. "type": "integer"
  15690. }
  15691. }
  15692. },
  15693. "models.ErmcpGoodsModel": {
  15694. "type": "object",
  15695. "properties": {
  15696. "areauserid": {
  15697. "description": "所属机构",
  15698. "type": "integer"
  15699. },
  15700. "convertfactor": {
  15701. "description": "标仓系数",
  15702. "type": "number"
  15703. },
  15704. "createtime": {
  15705. "description": "创建时间",
  15706. "type": "string"
  15707. },
  15708. "creatorid": {
  15709. "description": "创建人",
  15710. "type": "integer"
  15711. },
  15712. "creatorsrc": {
  15713. "description": "创建人来源 - 1:管理端 2:终端",
  15714. "type": "integer"
  15715. },
  15716. "deliverygoodsid": {
  15717. "description": "现货品种ID",
  15718. "type": "integer"
  15719. },
  15720. "isvalid": {
  15721. "description": "是否有效 - 0:无效 1:有效",
  15722. "type": "integer"
  15723. },
  15724. "modelid": {
  15725. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15726. "type": "integer"
  15727. },
  15728. "modelname": {
  15729. "description": "型号名称",
  15730. "type": "string"
  15731. },
  15732. "updatetime": {
  15733. "description": "更新时间",
  15734. "type": "string"
  15735. },
  15736. "updatorid": {
  15737. "description": "更新人",
  15738. "type": "integer"
  15739. },
  15740. "updatorsrc": {
  15741. "description": "更新人来源 - 1:管理端 2:终端",
  15742. "type": "integer"
  15743. },
  15744. "wrstandardid": {
  15745. "description": "现货商品ID",
  15746. "type": "integer"
  15747. }
  15748. }
  15749. },
  15750. "models.ErmcpHedgePosition": {
  15751. "type": "object",
  15752. "properties": {
  15753. "accountid": {
  15754. "description": "资金账号[外部母账户]",
  15755. "type": "integer"
  15756. },
  15757. "curbuyposition": {
  15758. "description": "期末买头寸",
  15759. "type": "integer"
  15760. },
  15761. "cursellposition": {
  15762. "description": "期末卖头寸",
  15763. "type": "integer"
  15764. },
  15765. "curtdbuyposition": {
  15766. "description": "期末今日买头寸",
  15767. "type": "integer"
  15768. },
  15769. "curtdsellposition": {
  15770. "description": "期末今日卖头寸",
  15771. "type": "integer"
  15772. },
  15773. "curydbuyposition": {
  15774. "description": "期末上日买头寸",
  15775. "type": "integer"
  15776. },
  15777. "curydsellposition": {
  15778. "description": "期末上日卖头寸",
  15779. "type": "integer"
  15780. },
  15781. "decreaseqty": {
  15782. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15783. "type": "integer"
  15784. },
  15785. "fretdbuyposition": {
  15786. "description": "冻结今日买头寸",
  15787. "type": "integer"
  15788. },
  15789. "fretdsellposition": {
  15790. "description": "冻结今日卖头寸",
  15791. "type": "integer"
  15792. },
  15793. "freydbuyposition": {
  15794. "description": "冻结上日买头寸",
  15795. "type": "integer"
  15796. },
  15797. "freydsellposition": {
  15798. "description": "冻结上日卖头寸",
  15799. "type": "integer"
  15800. },
  15801. "goodscode": {
  15802. "description": "商品代码",
  15803. "type": "string"
  15804. },
  15805. "goodsid": {
  15806. "description": "商品id",
  15807. "type": "integer"
  15808. },
  15809. "goodsname": {
  15810. "description": "商品名称",
  15811. "type": "string"
  15812. },
  15813. "hedgeaccountcode": {
  15814. "description": "对冲账号",
  15815. "type": "string"
  15816. },
  15817. "hedgegoodsid": {
  15818. "description": "对冲合约ID",
  15819. "type": "integer"
  15820. },
  15821. "increaseqty": {
  15822. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15823. "type": "integer"
  15824. },
  15825. "marketid": {
  15826. "description": "市场ID",
  15827. "type": "integer"
  15828. },
  15829. "relateduserid": {
  15830. "description": "关联用户id",
  15831. "type": "integer"
  15832. },
  15833. "totalcurqty": {
  15834. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15835. "type": "integer"
  15836. },
  15837. "totalydqty": {
  15838. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15839. "type": "integer"
  15840. },
  15841. "tradedate": {
  15842. "description": "交易日(yyyyMMdd)",
  15843. "type": "string"
  15844. },
  15845. "ydbuyposition": {
  15846. "description": "期初买头寸",
  15847. "type": "integer"
  15848. },
  15849. "ydsellposition": {
  15850. "description": "期初卖头寸",
  15851. "type": "integer"
  15852. }
  15853. }
  15854. },
  15855. "models.ErmcpHedgePositionDetail": {
  15856. "type": "object",
  15857. "properties": {
  15858. "buyorsell": {
  15859. "description": "买卖方向 0-买 1-卖",
  15860. "type": "integer"
  15861. },
  15862. "channelbuildtype": {
  15863. "description": "开平方向 1-建仓 2-平仓",
  15864. "type": "integer"
  15865. },
  15866. "goodscode": {
  15867. "description": "商品代码",
  15868. "type": "string"
  15869. },
  15870. "goodsname": {
  15871. "description": "商品名称",
  15872. "type": "string"
  15873. },
  15874. "hedgegoodsid": {
  15875. "description": "商品id",
  15876. "type": "integer"
  15877. },
  15878. "tradeqty": {
  15879. "description": "数量(成交数量)",
  15880. "type": "integer"
  15881. },
  15882. "tradetime": {
  15883. "description": "时间(成交时间)",
  15884. "type": "string"
  15885. }
  15886. }
  15887. },
  15888. "models.ErmcpHisExposure": {
  15889. "type": "object",
  15890. "properties": {
  15891. "needhedgeexposoure": {
  15892. "description": "应套保敞口",
  15893. "type": "number"
  15894. },
  15895. "reckondate": {
  15896. "description": "日照时期(yyyyMMdd)",
  15897. "type": "string"
  15898. },
  15899. "totalexposure": {
  15900. "description": "总敞口",
  15901. "type": "number"
  15902. }
  15903. }
  15904. },
  15905. "models.ErmcpHisExposureS": {
  15906. "type": "object",
  15907. "properties": {
  15908. "data": {
  15909. "description": "历史敞口",
  15910. "type": "array",
  15911. "items": {
  15912. "$ref": "#/definitions/models.ErmcpHisExposure"
  15913. }
  15914. },
  15915. "enumdicname": {
  15916. "description": "单位名称",
  15917. "type": "string"
  15918. },
  15919. "middlegoodscode": {
  15920. "description": "套保品种代码",
  15921. "type": "string"
  15922. },
  15923. "middlegoodsid": {
  15924. "description": "套保品种ID",
  15925. "type": "integer"
  15926. },
  15927. "middlegoodsname": {
  15928. "description": "套保品种名称",
  15929. "type": "string"
  15930. }
  15931. }
  15932. },
  15933. "models.ErmcpLoginTaAccount": {
  15934. "type": "object",
  15935. "properties": {
  15936. "accountid": {
  15937. "description": "账号id",
  15938. "type": "integer"
  15939. },
  15940. "accountname": {
  15941. "description": "账号名称",
  15942. "type": "string"
  15943. }
  15944. }
  15945. },
  15946. "models.ErmcpLoginUser": {
  15947. "type": "object",
  15948. "properties": {
  15949. "acclist": {
  15950. "description": "关联资金账号",
  15951. "type": "array",
  15952. "items": {
  15953. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  15954. }
  15955. },
  15956. "accountname": {
  15957. "description": "用户名称",
  15958. "type": "string"
  15959. },
  15960. "clientroleid": {
  15961. "description": "角色id(usertype=2)",
  15962. "type": "integer"
  15963. },
  15964. "createtime": {
  15965. "description": "创建时间",
  15966. "type": "string"
  15967. },
  15968. "logincode": {
  15969. "description": "登录代码",
  15970. "type": "string"
  15971. },
  15972. "loginid": {
  15973. "description": "登录id(LOGINID)",
  15974. "type": "integer"
  15975. },
  15976. "loginname": {
  15977. "description": "登录名称(loginaccount表中的accountname字段)",
  15978. "type": "string"
  15979. },
  15980. "loginstatus": {
  15981. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  15982. "type": "integer"
  15983. },
  15984. "memberuserid": {
  15985. "description": "所属会员id",
  15986. "type": "integer"
  15987. },
  15988. "mobile": {
  15989. "description": "手机号",
  15990. "type": "string"
  15991. },
  15992. "modifytime": {
  15993. "description": "修改时间",
  15994. "type": "string"
  15995. },
  15996. "password": {
  15997. "description": "密码(不可解密)",
  15998. "type": "string"
  15999. },
  16000. "rolename": {
  16001. "description": "角色名称",
  16002. "type": "string"
  16003. },
  16004. "rolestatus": {
  16005. "description": "角色状态 1-启用 2-停用",
  16006. "type": "integer"
  16007. },
  16008. "roletype": {
  16009. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16010. "type": "string"
  16011. },
  16012. "userid": {
  16013. "description": "用户id",
  16014. "type": "integer"
  16015. },
  16016. "usertype": {
  16017. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16018. "type": "integer"
  16019. }
  16020. }
  16021. },
  16022. "models.ErmcpLoginUserEx": {
  16023. "type": "object",
  16024. "properties": {
  16025. "accountstatus": {
  16026. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16027. "type": "integer"
  16028. },
  16029. "mobile": {
  16030. "description": "手机号",
  16031. "type": "string"
  16032. },
  16033. "querytype": {
  16034. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  16035. "type": "integer"
  16036. },
  16037. "roleid": {
  16038. "description": "角色id(交易账户-\u003e用户id)",
  16039. "type": "integer"
  16040. },
  16041. "rolename": {
  16042. "description": "角色名称(交易账户-\u003e用户名称)",
  16043. "type": "string"
  16044. },
  16045. "userlist": {
  16046. "description": "用户列表",
  16047. "type": "array",
  16048. "items": {
  16049. "$ref": "#/definitions/models.ErmcpLoginUser"
  16050. }
  16051. },
  16052. "usertype": {
  16053. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16054. "type": "integer"
  16055. }
  16056. }
  16057. },
  16058. "models.ErmcpMiddleGoodsChangeLog": {
  16059. "type": "object",
  16060. "properties": {
  16061. "aftervalue": {
  16062. "description": "变更后",
  16063. "type": "number"
  16064. },
  16065. "applyid": {
  16066. "description": "操作人",
  16067. "type": "integer"
  16068. },
  16069. "applyname": {
  16070. "description": "操作人名称",
  16071. "type": "string"
  16072. },
  16073. "applysrc": {
  16074. "description": "操作来源 - 1:管理端 2:终端",
  16075. "type": "integer"
  16076. },
  16077. "beforevalue": {
  16078. "description": "变更前",
  16079. "type": "number"
  16080. },
  16081. "changelogtype": {
  16082. "description": "变更流水类型 - 1:套保比率变更",
  16083. "type": "integer"
  16084. },
  16085. "handlestatus": {
  16086. "description": "处理状态",
  16087. "type": "integer"
  16088. },
  16089. "logdatetime": {
  16090. "description": "流水日期",
  16091. "type": "string"
  16092. },
  16093. "logid": {
  16094. "description": "流水ID",
  16095. "type": "integer"
  16096. },
  16097. "logremark": {
  16098. "description": "流水备注",
  16099. "type": "string"
  16100. },
  16101. "middlegoodsid": {
  16102. "description": "套保品种ID",
  16103. "type": "integer"
  16104. },
  16105. "tradedate": {
  16106. "description": "交易日(yyyyMMdd)",
  16107. "type": "string"
  16108. },
  16109. "updatetime": {
  16110. "description": "更新时间",
  16111. "type": "string"
  16112. }
  16113. }
  16114. },
  16115. "models.ErmcpMiddleGoodsDetail": {
  16116. "type": "object",
  16117. "properties": {
  16118. "cvList": {
  16119. "description": "期货品种折算列表",
  16120. "type": "array",
  16121. "items": {
  16122. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16123. }
  16124. },
  16125. "mg": {
  16126. "description": "套保品种基本信息",
  16127. "type": "object",
  16128. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16129. },
  16130. "wrcList": {
  16131. "description": "现货品种列表(现货商品折算配置)",
  16132. "type": "array",
  16133. "items": {
  16134. "$ref": "#/definitions/models.WRSConverTDetail"
  16135. }
  16136. }
  16137. }
  16138. },
  16139. "models.ErmcpMiddleGoodsModel": {
  16140. "type": "object",
  16141. "properties": {
  16142. "areauserid": {
  16143. "description": "机构用户ID",
  16144. "type": "integer"
  16145. },
  16146. "createtime": {
  16147. "description": "修改时间",
  16148. "type": "string"
  16149. },
  16150. "enumdicname": {
  16151. "description": "单位名称",
  16152. "type": "string"
  16153. },
  16154. "evaluateratio": {
  16155. "description": "估价系数",
  16156. "type": "number"
  16157. },
  16158. "goodsgroupid": {
  16159. "description": "关联期货品种ID",
  16160. "type": "integer"
  16161. },
  16162. "goodsunitid": {
  16163. "description": "单位ID",
  16164. "type": "integer"
  16165. },
  16166. "isvalid": {
  16167. "description": "状态 0-无效(停用) 1-有效(正常)",
  16168. "type": "integer"
  16169. },
  16170. "middlegoodscode": {
  16171. "description": "套保品种代码",
  16172. "type": "string"
  16173. },
  16174. "middlegoodsid": {
  16175. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16176. "type": "integer"
  16177. },
  16178. "middlegoodsname": {
  16179. "description": "套保品种名称",
  16180. "type": "string"
  16181. },
  16182. "modifytime": {
  16183. "description": "修改时间",
  16184. "type": "string"
  16185. },
  16186. "needarbitrageratio": {
  16187. "description": "套利比例",
  16188. "type": "number"
  16189. },
  16190. "needhedgeratio": {
  16191. "description": "套保比率",
  16192. "type": "number"
  16193. },
  16194. "qtydecimalplace": {
  16195. "description": "数量小数位",
  16196. "type": "integer"
  16197. },
  16198. "relatedgoodsid": {
  16199. "description": "关联交易商品ID",
  16200. "type": "integer"
  16201. },
  16202. "relatedgoodstype": {
  16203. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16204. "type": "integer"
  16205. },
  16206. "remark": {
  16207. "description": "备注",
  16208. "type": "string"
  16209. }
  16210. }
  16211. },
  16212. "models.ErmcpOPLogModel": {
  16213. "type": "object",
  16214. "properties": {
  16215. "aftervalue": {
  16216. "description": "变更后",
  16217. "type": "number"
  16218. },
  16219. "applyid": {
  16220. "description": "操作人ID",
  16221. "type": "string"
  16222. },
  16223. "applyname": {
  16224. "description": "操作人名称",
  16225. "type": "string"
  16226. },
  16227. "beforevalue": {
  16228. "description": "变更前",
  16229. "type": "number"
  16230. },
  16231. "biztype": {
  16232. "description": "业务类型 - 1:套保计划 2:现货合同",
  16233. "type": "integer"
  16234. },
  16235. "contracttype": {
  16236. "description": "现货合同类型 - 1:采购 -1:销售",
  16237. "type": "integer"
  16238. },
  16239. "logvalue": {
  16240. "description": "数值",
  16241. "type": "number"
  16242. },
  16243. "operatelogtype": {
  16244. "description": "操作流水类型",
  16245. "type": "integer"
  16246. },
  16247. "operatelogtypedesc": {
  16248. "description": "操作流水类型名称",
  16249. "type": "string"
  16250. },
  16251. "relatedid": {
  16252. "description": "现货合同ID\\套保计划",
  16253. "type": "string"
  16254. },
  16255. "updatetime": {
  16256. "description": "更新时间",
  16257. "type": "string"
  16258. }
  16259. }
  16260. },
  16261. "models.ErmcpPendingAudit": {
  16262. "type": "object",
  16263. "properties": {
  16264. "areastockqty": {
  16265. "description": "待审核数量: 库存申请",
  16266. "type": "integer"
  16267. },
  16268. "businessdjqty": {
  16269. "description": "待审核数量: 点价",
  16270. "type": "integer"
  16271. },
  16272. "businessfpqty": {
  16273. "description": "待审核数量: 发票",
  16274. "type": "integer"
  16275. },
  16276. "businessjsqty": {
  16277. "description": "待审核数量: 结算",
  16278. "type": "integer"
  16279. },
  16280. "businesskxqty": {
  16281. "description": "待审核数量: 款项",
  16282. "type": "integer"
  16283. },
  16284. "hedgeplanqty": {
  16285. "description": "待审核数量: 套保计划",
  16286. "type": "integer"
  16287. },
  16288. "spotcontractqty": {
  16289. "description": "待审核数量: 现货合同",
  16290. "type": "integer"
  16291. },
  16292. "userqty": {
  16293. "description": "待审核数量: 用户",
  16294. "type": "integer"
  16295. }
  16296. }
  16297. },
  16298. "models.ErmcpRealExposureModel": {
  16299. "type": "object",
  16300. "properties": {
  16301. "AreaUserID": {
  16302. "description": "所属机构",
  16303. "type": "integer"
  16304. },
  16305. "BuyFutureQty": {
  16306. "description": "买入期货数量",
  16307. "type": "number"
  16308. },
  16309. "BuyPlanQty": {
  16310. "description": "采购计划数量",
  16311. "type": "number"
  16312. },
  16313. "BuyPricedQty": {
  16314. "description": "采购合同已定价数量",
  16315. "type": "number"
  16316. },
  16317. "MiddleGoodsCode": {
  16318. "description": "套保品种代码",
  16319. "type": "string"
  16320. },
  16321. "MiddleGoodsHedgeRatio": {
  16322. "description": "套保比例",
  16323. "type": "number"
  16324. },
  16325. "MiddleGoodsID": {
  16326. "description": "套保品种",
  16327. "type": "integer"
  16328. },
  16329. "MiddleGoodsName": {
  16330. "description": "套保品种名称",
  16331. "type": "string"
  16332. },
  16333. "NeedHedgeExposoure": {
  16334. "description": "应套保敞口(套保敞口)",
  16335. "type": "number"
  16336. },
  16337. "NeedHedgeRatio": {
  16338. "description": "应套保敞口比例",
  16339. "type": "number"
  16340. },
  16341. "OriBuyFutureQty": {
  16342. "description": "期初买入期货数量",
  16343. "type": "number"
  16344. },
  16345. "OriBuyPlanQty": {
  16346. "description": "期初采购计划数量",
  16347. "type": "number"
  16348. },
  16349. "OriBuyPricedQty": {
  16350. "description": "期初采购合同已定价数量",
  16351. "type": "number"
  16352. },
  16353. "OriSellFutureQty": {
  16354. "description": "期初卖出期货数量",
  16355. "type": "number"
  16356. },
  16357. "OriSellPlanQty": {
  16358. "description": "期初销售计划数量",
  16359. "type": "number"
  16360. },
  16361. "OriSellPricedQty": {
  16362. "description": "期初销售合同已定价数量",
  16363. "type": "number"
  16364. },
  16365. "SellFutureQty": {
  16366. "description": "卖出期货数量",
  16367. "type": "number"
  16368. },
  16369. "SellPlanQty": {
  16370. "description": "销售计划数量",
  16371. "type": "number"
  16372. },
  16373. "SellPricedQty": {
  16374. "description": "销售合同已定价数量",
  16375. "type": "number"
  16376. },
  16377. "TotalExposure": {
  16378. "description": "总敞口",
  16379. "type": "number"
  16380. },
  16381. "TotalFutureQty": {
  16382. "description": "期货总量",
  16383. "type": "number"
  16384. },
  16385. "TotalHedgeRatio": {
  16386. "description": "敞口比例",
  16387. "type": "number"
  16388. },
  16389. "TotalNeedHedgeQty": {
  16390. "description": "应套保总量(现货应套保总量)",
  16391. "type": "number"
  16392. },
  16393. "TotalSpotQty": {
  16394. "description": "现货总量",
  16395. "type": "number"
  16396. },
  16397. "arbitrageqty": {
  16398. "description": "套利量",
  16399. "type": "number"
  16400. },
  16401. "diffArbitrageQty": {
  16402. "description": "套利变动量",
  16403. "type": "number"
  16404. },
  16405. "diffExposoureQty": {
  16406. "description": "变动量(套保敞口)",
  16407. "type": "number"
  16408. },
  16409. "diffFutuQty": {
  16410. "description": "变动量(期货总量)",
  16411. "type": "number"
  16412. },
  16413. "diffHedgeQty": {
  16414. "description": "套保变动量",
  16415. "type": "number"
  16416. },
  16417. "diffQty": {
  16418. "description": "变动量(总敞口)",
  16419. "type": "number"
  16420. },
  16421. "diffSpotHedgeQty": {
  16422. "description": "变动量(现货应套保总量)",
  16423. "type": "number"
  16424. },
  16425. "diffSpotQty": {
  16426. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  16427. "type": "number"
  16428. },
  16429. "enumdicname": {
  16430. "description": "单位名称",
  16431. "type": "string"
  16432. },
  16433. "hedgeqty": {
  16434. "description": "套保量",
  16435. "type": "number"
  16436. },
  16437. "needarbitrageqty": {
  16438. "description": "应套利量",
  16439. "type": "number"
  16440. },
  16441. "needarbitrageratio": {
  16442. "description": "套利比例",
  16443. "type": "number"
  16444. },
  16445. "needhedgeqty": {
  16446. "description": "应套保量",
  16447. "type": "number"
  16448. },
  16449. "oriTotalFutuQty": {
  16450. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16451. "type": "number"
  16452. },
  16453. "oriTotalSpotQty": {
  16454. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16455. "type": "number"
  16456. },
  16457. "oriarbitrageqty": {
  16458. "description": "期初套利量",
  16459. "type": "number"
  16460. },
  16461. "orihedgeqty": {
  16462. "description": "期初套保量",
  16463. "type": "number"
  16464. },
  16465. "orineedhedgeexposoure": {
  16466. "description": "期初套保敞口",
  16467. "type": "number"
  16468. },
  16469. "oritotalexposure": {
  16470. "description": "期初总敞口",
  16471. "type": "number"
  16472. },
  16473. "oritotalfutureqty": {
  16474. "description": "期初期货总量",
  16475. "type": "number"
  16476. },
  16477. "oritotalneedhedgeqty": {
  16478. "description": "期初现货应套保量",
  16479. "type": "number"
  16480. }
  16481. }
  16482. },
  16483. "models.ErmcpRole": {
  16484. "type": "object",
  16485. "properties": {
  16486. "areauserid": {
  16487. "description": "所属机构",
  16488. "type": "integer"
  16489. },
  16490. "autoid": {
  16491. "description": "角色ID(自增ID)",
  16492. "type": "integer"
  16493. },
  16494. "modifierid": {
  16495. "description": "修改人(创建人)",
  16496. "type": "integer"
  16497. },
  16498. "modifiername": {
  16499. "description": "修改人名称",
  16500. "type": "string"
  16501. },
  16502. "modifytime": {
  16503. "description": "修改时间(创建时间)",
  16504. "type": "string"
  16505. },
  16506. "rolename": {
  16507. "description": "角色名称",
  16508. "type": "string"
  16509. },
  16510. "rolestatus": {
  16511. "description": "角色状态 - 1:启用 2:停用",
  16512. "type": "integer"
  16513. },
  16514. "roletype": {
  16515. "description": "角色类型 - 1- 管理端 2- 交易端",
  16516. "type": "integer"
  16517. }
  16518. }
  16519. },
  16520. "models.ErmcpRoleMenu": {
  16521. "type": "object",
  16522. "properties": {
  16523. "iconame": {
  16524. "description": "菜单图标",
  16525. "type": "string"
  16526. },
  16527. "ishadrole": {
  16528. "description": "是否有权限",
  16529. "type": "boolean"
  16530. },
  16531. "menutype": {
  16532. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16533. "type": "integer"
  16534. },
  16535. "parentcode": {
  16536. "description": "上级资源代码",
  16537. "type": "string"
  16538. },
  16539. "remark": {
  16540. "description": "菜单备注",
  16541. "type": "string"
  16542. },
  16543. "resourcecode": {
  16544. "description": "菜单代码",
  16545. "type": "string"
  16546. },
  16547. "resourcelevel": {
  16548. "description": "级别",
  16549. "type": "integer"
  16550. },
  16551. "resourcename": {
  16552. "description": "菜单名称",
  16553. "type": "string"
  16554. },
  16555. "roleid": {
  16556. "description": "角色id",
  16557. "type": "integer"
  16558. },
  16559. "sort": {
  16560. "description": "排序",
  16561. "type": "integer"
  16562. },
  16563. "url": {
  16564. "description": "URL",
  16565. "type": "string"
  16566. },
  16567. "userid": {
  16568. "description": "用户id",
  16569. "type": "integer"
  16570. }
  16571. }
  16572. },
  16573. "models.ErmcpRoleMenuEx": {
  16574. "type": "object",
  16575. "properties": {
  16576. "menu": {
  16577. "description": "父级菜单",
  16578. "type": "object",
  16579. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16580. },
  16581. "subMenu": {
  16582. "description": "子级菜单",
  16583. "type": "array",
  16584. "items": {
  16585. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16586. }
  16587. }
  16588. }
  16589. },
  16590. "models.ErmcpTaAccount": {
  16591. "type": "object",
  16592. "properties": {
  16593. "accountid": {
  16594. "description": "账户id",
  16595. "type": "integer"
  16596. },
  16597. "accountname": {
  16598. "description": "账户名称",
  16599. "type": "string"
  16600. },
  16601. "currencyid": {
  16602. "description": "币种id",
  16603. "type": "integer"
  16604. },
  16605. "hedgeaccountcode": {
  16606. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16607. "type": "string"
  16608. },
  16609. "ismain": {
  16610. "description": "是否主账户 0-否 1-是",
  16611. "type": "integer"
  16612. },
  16613. "parentaccountid": {
  16614. "description": "父账户id",
  16615. "type": "integer"
  16616. },
  16617. "relateduserid": {
  16618. "description": "关联userid",
  16619. "type": "integer"
  16620. },
  16621. "tradestatus": {
  16622. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16623. "type": "integer"
  16624. },
  16625. "userid": {
  16626. "description": "用户id",
  16627. "type": "integer"
  16628. }
  16629. }
  16630. },
  16631. "models.ErmcpTaAccountEx": {
  16632. "type": "object",
  16633. "properties": {
  16634. "mainAcc": {
  16635. "description": "主账号",
  16636. "type": "object",
  16637. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16638. },
  16639. "subacclist": {
  16640. "description": "子账号列表",
  16641. "type": "array",
  16642. "items": {
  16643. "$ref": "#/definitions/models.ErmcpTaAccount"
  16644. }
  16645. }
  16646. }
  16647. },
  16648. "models.ErmcpTaAccountInfo": {
  16649. "type": "object",
  16650. "properties": {
  16651. "accountid": {
  16652. "description": "资金账户ID",
  16653. "type": "integer"
  16654. },
  16655. "accountname": {
  16656. "description": "账户名称",
  16657. "type": "string"
  16658. },
  16659. "balance": {
  16660. "description": "期初余额",
  16661. "type": "number"
  16662. },
  16663. "capitalbalance": {
  16664. "description": "本金余额[外部子账户实际出入金余额]",
  16665. "type": "number"
  16666. },
  16667. "closepl": {
  16668. "description": "今日平仓盈亏",
  16669. "type": "number"
  16670. },
  16671. "creditdecrease": {
  16672. "description": "今日授信减少",
  16673. "type": "number"
  16674. },
  16675. "creditincrease": {
  16676. "description": "今日授信增加",
  16677. "type": "number"
  16678. },
  16679. "curdebt": {
  16680. "description": "期末欠款",
  16681. "type": "number"
  16682. },
  16683. "currencyid": {
  16684. "description": "货币ID",
  16685. "type": "integer"
  16686. },
  16687. "currentbalance": {
  16688. "description": "期末余额",
  16689. "type": "number"
  16690. },
  16691. "freezecharge": {
  16692. "description": "手续费冻结",
  16693. "type": "number"
  16694. },
  16695. "freezemargin": {
  16696. "description": "冻结保证金",
  16697. "type": "number"
  16698. },
  16699. "fromaccountid": {
  16700. "description": "所属上级账户",
  16701. "type": "integer"
  16702. },
  16703. "inamount": {
  16704. "description": "今日入金金额(包括三方入金)",
  16705. "type": "number"
  16706. },
  16707. "ismain": {
  16708. "description": "是否母账号 0:不是母账户 1:是母账户",
  16709. "type": "integer"
  16710. },
  16711. "mortgagecredit": {
  16712. "description": "授信金额",
  16713. "type": "number"
  16714. },
  16715. "oridebt": {
  16716. "description": "期初欠款",
  16717. "type": "number"
  16718. },
  16719. "orifreezecharge": {
  16720. "description": "期初手续费冻结",
  16721. "type": "number"
  16722. },
  16723. "orifreezemargin": {
  16724. "description": "期初冻结保证金",
  16725. "type": "number"
  16726. },
  16727. "orimortgagecredit": {
  16728. "description": "期初授信金额",
  16729. "type": "number"
  16730. },
  16731. "oriothercredit": {
  16732. "description": "期初其它授信金额",
  16733. "type": "number"
  16734. },
  16735. "oriotherfreezemargin": {
  16736. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16737. "type": "number"
  16738. },
  16739. "orioutamountfreeze": {
  16740. "description": "期初出金冻结",
  16741. "type": "number"
  16742. },
  16743. "oriusedmargin": {
  16744. "description": "期初占用保证金",
  16745. "type": "number"
  16746. },
  16747. "othercredit": {
  16748. "description": "其它授信金额",
  16749. "type": "number"
  16750. },
  16751. "othercreditdecrease": {
  16752. "description": "今日其它授信减少",
  16753. "type": "number"
  16754. },
  16755. "othercreditincrease": {
  16756. "description": "今日其它授信增加",
  16757. "type": "number"
  16758. },
  16759. "otherfreezemargin": {
  16760. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16761. "type": "number"
  16762. },
  16763. "outamount": {
  16764. "description": "今日出金金额(包括三方出金)",
  16765. "type": "number"
  16766. },
  16767. "outamountfreeze": {
  16768. "description": "出金冻结",
  16769. "type": "number"
  16770. },
  16771. "outthreshold": {
  16772. "description": "出金阈值",
  16773. "type": "number"
  16774. },
  16775. "parentaccountid": {
  16776. "description": "所属根账号",
  16777. "type": "integer"
  16778. },
  16779. "paycharge": {
  16780. "description": "今日手续费支出",
  16781. "type": "number"
  16782. },
  16783. "relateduserid": {
  16784. "description": "关联用户",
  16785. "type": "integer"
  16786. },
  16787. "signstatus": {
  16788. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16789. "type": "integer"
  16790. },
  16791. "sublevelpath": {
  16792. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16793. "type": "string"
  16794. },
  16795. "taaccounttype": {
  16796. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16797. "type": "integer"
  16798. },
  16799. "thirdinamount": {
  16800. "description": "今日三方入金",
  16801. "type": "number"
  16802. },
  16803. "thirdoutamount": {
  16804. "description": "今日三方出金",
  16805. "type": "number"
  16806. },
  16807. "tradestatus": {
  16808. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16809. "type": "integer"
  16810. },
  16811. "transferamount": {
  16812. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16813. "type": "number"
  16814. },
  16815. "usedmargin": {
  16816. "description": "占用保证金",
  16817. "type": "number"
  16818. },
  16819. "userid": {
  16820. "description": "用户ID",
  16821. "type": "integer"
  16822. }
  16823. }
  16824. },
  16825. "models.ErmcpTaAccountM": {
  16826. "type": "object",
  16827. "properties": {
  16828. "accountid": {
  16829. "description": "账户id",
  16830. "type": "integer"
  16831. },
  16832. "accountname": {
  16833. "description": "账户名称",
  16834. "type": "string"
  16835. },
  16836. "currencyid": {
  16837. "description": "币种id",
  16838. "type": "integer"
  16839. },
  16840. "fcid": {
  16841. "description": "期货公司id",
  16842. "type": "integer"
  16843. },
  16844. "fcname": {
  16845. "description": "期货公司代码",
  16846. "type": "string"
  16847. },
  16848. "hedgeaccountcode": {
  16849. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16850. "type": "string"
  16851. },
  16852. "ismain": {
  16853. "description": "是否主账户 0-否 1-是",
  16854. "type": "integer"
  16855. },
  16856. "parentaccountid": {
  16857. "description": "父账户id",
  16858. "type": "integer"
  16859. },
  16860. "relateduserid": {
  16861. "description": "关联userid",
  16862. "type": "integer"
  16863. },
  16864. "tradestatus": {
  16865. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16866. "type": "integer"
  16867. },
  16868. "userid": {
  16869. "description": "用户id",
  16870. "type": "integer"
  16871. }
  16872. }
  16873. },
  16874. "models.ErmcpTradeConfigTMP": {
  16875. "type": "object",
  16876. "properties": {
  16877. "areauserid": {
  16878. "description": "所属机构",
  16879. "type": "integer"
  16880. },
  16881. "basiccurrencyid": {
  16882. "description": "基本币种ID[汇率] - 目标币种",
  16883. "type": "integer"
  16884. },
  16885. "mainaccountid": {
  16886. "description": "主账户ID",
  16887. "type": "integer"
  16888. },
  16889. "modifierid": {
  16890. "description": "修改人",
  16891. "type": "integer"
  16892. },
  16893. "remark": {
  16894. "description": "备注",
  16895. "type": "string"
  16896. },
  16897. "tradeconfigtmpid": {
  16898. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  16899. "type": "integer"
  16900. },
  16901. "tradeconfigtmpname": {
  16902. "description": "交易配置模板名称",
  16903. "type": "string"
  16904. },
  16905. "tradeconfigtmptype": {
  16906. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  16907. "type": "integer"
  16908. },
  16909. "updatetime": {
  16910. "description": "更新时间",
  16911. "type": "string"
  16912. }
  16913. }
  16914. },
  16915. "models.ErmcpUserModel": {
  16916. "type": "object",
  16917. "properties": {
  16918. "address": {
  16919. "description": "通讯地址",
  16920. "type": "string"
  16921. },
  16922. "attachment1": {
  16923. "description": "附件1",
  16924. "type": "string"
  16925. },
  16926. "audittime": {
  16927. "description": "审核时间",
  16928. "type": "string"
  16929. },
  16930. "cardbackphotourl": {
  16931. "description": "证件反面图片地址",
  16932. "type": "string"
  16933. },
  16934. "cardfrontphotourl": {
  16935. "description": "证件正面图片地址",
  16936. "type": "string"
  16937. },
  16938. "cardnum": {
  16939. "description": "证件号码",
  16940. "type": "string"
  16941. },
  16942. "cardtype": {
  16943. "description": "证件类型",
  16944. "type": "integer"
  16945. },
  16946. "cardtypename": {
  16947. "description": "证件类型名称",
  16948. "type": "string"
  16949. },
  16950. "cityid": {
  16951. "description": "市",
  16952. "type": "integer"
  16953. },
  16954. "contactname": {
  16955. "description": "联系人",
  16956. "type": "string"
  16957. },
  16958. "countryid": {
  16959. "description": "国家",
  16960. "type": "integer"
  16961. },
  16962. "createtime": {
  16963. "description": "创建时间",
  16964. "type": "string"
  16965. },
  16966. "customername": {
  16967. "description": "企业名称",
  16968. "type": "string"
  16969. },
  16970. "districtid": {
  16971. "description": "区域",
  16972. "type": "integer"
  16973. },
  16974. "email": {
  16975. "description": "邮件",
  16976. "type": "string"
  16977. },
  16978. "legalpersonname": {
  16979. "description": "法人姓名(企业)",
  16980. "type": "string"
  16981. },
  16982. "memberuserid": {
  16983. "description": "所属机构ID",
  16984. "type": "integer"
  16985. },
  16986. "mobile": {
  16987. "description": "手机号码",
  16988. "type": "string"
  16989. },
  16990. "modifytime": {
  16991. "description": "修改时间",
  16992. "type": "string"
  16993. },
  16994. "nickname": {
  16995. "description": "昵称",
  16996. "type": "string"
  16997. },
  16998. "provinceid": {
  16999. "description": "省",
  17000. "type": "integer"
  17001. },
  17002. "remark": {
  17003. "description": "备注",
  17004. "type": "string"
  17005. },
  17006. "status": {
  17007. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17008. "type": "integer"
  17009. },
  17010. "statusdesc": {
  17011. "description": "账户状态中文描述",
  17012. "type": "string"
  17013. },
  17014. "taxpayernum": {
  17015. "description": "纳税人识别号",
  17016. "type": "string"
  17017. },
  17018. "telphone": {
  17019. "description": "联系电话",
  17020. "type": "string"
  17021. },
  17022. "userid": {
  17023. "description": "用户ID",
  17024. "type": "integer"
  17025. },
  17026. "userinfotype": {
  17027. "description": "客户类型",
  17028. "type": "string"
  17029. }
  17030. }
  17031. },
  17032. "models.ErmcpWareHouseInfo": {
  17033. "type": "object",
  17034. "properties": {
  17035. "address": {
  17036. "description": "详细地址",
  17037. "type": "string"
  17038. },
  17039. "areauserid": {
  17040. "description": "所属机构",
  17041. "type": "integer"
  17042. },
  17043. "autoid": {
  17044. "description": "自增ID(仓库ID)",
  17045. "type": "integer"
  17046. },
  17047. "cityid": {
  17048. "description": "市",
  17049. "type": "integer"
  17050. },
  17051. "contactname": {
  17052. "description": "联系人",
  17053. "type": "string"
  17054. },
  17055. "contactnum": {
  17056. "description": "联系电话",
  17057. "type": "string"
  17058. },
  17059. "countryid": {
  17060. "description": "国家",
  17061. "type": "integer"
  17062. },
  17063. "createtime": {
  17064. "description": "创建时间",
  17065. "type": "string"
  17066. },
  17067. "districtid": {
  17068. "description": "区",
  17069. "type": "integer"
  17070. },
  17071. "hasvideo": {
  17072. "description": "是否有视频 - 0:无 1:有",
  17073. "type": "integer"
  17074. },
  17075. "provinceid": {
  17076. "description": "省",
  17077. "type": "integer"
  17078. },
  17079. "remark": {
  17080. "description": "审核备注",
  17081. "type": "string"
  17082. },
  17083. "videourl": {
  17084. "description": "视频地址",
  17085. "type": "string"
  17086. },
  17087. "warehousecode": {
  17088. "description": "仓库代码",
  17089. "type": "string"
  17090. },
  17091. "warehousename": {
  17092. "description": "仓库名称",
  17093. "type": "string"
  17094. },
  17095. "warehousestatus": {
  17096. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17097. "type": "integer"
  17098. },
  17099. "warehousetype": {
  17100. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17101. "type": "integer"
  17102. }
  17103. }
  17104. },
  17105. "models.Externalexchange": {
  17106. "type": "object",
  17107. "required": [
  17108. "autoid"
  17109. ],
  17110. "properties": {
  17111. "autoid": {
  17112. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  17113. "type": "integer"
  17114. },
  17115. "exchangefullname": {
  17116. "description": "外部交易所全称",
  17117. "type": "string"
  17118. },
  17119. "exexchangecode": {
  17120. "description": "外部交易所代码",
  17121. "type": "string"
  17122. },
  17123. "exexchangename": {
  17124. "description": "外部交易所名称(简称)",
  17125. "type": "string"
  17126. },
  17127. "ismarketprice": {
  17128. "description": "是否支持市价 - 0:不支持 1:支持",
  17129. "type": "integer"
  17130. },
  17131. "quotegear": {
  17132. "description": "行情档位(1-10)",
  17133. "type": "integer"
  17134. },
  17135. "showbrokerflag": {
  17136. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  17137. "type": "integer"
  17138. },
  17139. "updatetime": {
  17140. "description": "更新时间",
  17141. "type": "string"
  17142. }
  17143. }
  17144. },
  17145. "models.Funcmenulist": {
  17146. "type": "object",
  17147. "required": [
  17148. "resourcecode"
  17149. ],
  17150. "properties": {
  17151. "iconame": {
  17152. "description": "菜单图标",
  17153. "type": "string"
  17154. },
  17155. "menutype": {
  17156. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17157. "type": "integer"
  17158. },
  17159. "parentcode": {
  17160. "description": "上级资源代码",
  17161. "type": "string"
  17162. },
  17163. "remark": {
  17164. "description": "备注",
  17165. "type": "string"
  17166. },
  17167. "resourcecode": {
  17168. "description": "资源代码",
  17169. "type": "string"
  17170. },
  17171. "resourcelevel": {
  17172. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17173. "type": "integer"
  17174. },
  17175. "resourcename": {
  17176. "description": "资源名",
  17177. "type": "string"
  17178. },
  17179. "sort": {
  17180. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17181. "type": "integer"
  17182. },
  17183. "url": {
  17184. "description": "URL",
  17185. "type": "string"
  17186. }
  17187. }
  17188. },
  17189. "models.Goods": {
  17190. "type": "object",
  17191. "required": [
  17192. "goodscode",
  17193. "goodsid",
  17194. "goodsname",
  17195. "marketid"
  17196. ],
  17197. "properties": {
  17198. "agreeunit": {
  17199. "description": "合约单位",
  17200. "type": "number"
  17201. },
  17202. "auditaccountid": {
  17203. "description": "审核操作员账号",
  17204. "type": "integer"
  17205. },
  17206. "audittime": {
  17207. "description": "审核时间",
  17208. "type": "string"
  17209. },
  17210. "cancelaccountid": {
  17211. "description": "注销操作员账号",
  17212. "type": "integer"
  17213. },
  17214. "canceltime": {
  17215. "description": "注销时间",
  17216. "type": "string"
  17217. },
  17218. "closepricemode": {
  17219. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17220. "type": "integer"
  17221. },
  17222. "closepriceparam": {
  17223. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17224. "type": "number"
  17225. },
  17226. "createtime": {
  17227. "description": "创建时间",
  17228. "type": "string"
  17229. },
  17230. "creatorid": {
  17231. "description": "创建人",
  17232. "type": "integer"
  17233. },
  17234. "currencyid": {
  17235. "description": "报价货币ID",
  17236. "type": "integer"
  17237. },
  17238. "cutmode": {
  17239. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17240. "type": "integer"
  17241. },
  17242. "decimalplace": {
  17243. "description": "报价小数位",
  17244. "type": "integer"
  17245. },
  17246. "delistingdate": {
  17247. "description": "商品退市时间(状态:退市) -- 已作废",
  17248. "type": "string"
  17249. },
  17250. "delistingmode": {
  17251. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17252. "type": "integer"
  17253. },
  17254. "deliveryflag": {
  17255. "description": "交割标志 - 0:不可交割 1:可交割",
  17256. "type": "integer"
  17257. },
  17258. "forceclosemode": {
  17259. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17260. "type": "integer"
  17261. },
  17262. "forceclosevalue": {
  17263. "description": "定期强平参数 [收益权]",
  17264. "type": "integer"
  17265. },
  17266. "goodscode": {
  17267. "description": "商品代码(内部)",
  17268. "type": "string"
  17269. },
  17270. "goodscurrencyid": {
  17271. "description": "合约货币ID",
  17272. "type": "integer"
  17273. },
  17274. "goodsgroupid": {
  17275. "description": "所属商品组ID",
  17276. "type": "integer"
  17277. },
  17278. "goodsid": {
  17279. "description": "商品ID(自增ID SEQ_GOODS)",
  17280. "type": "integer"
  17281. },
  17282. "goodsname": {
  17283. "description": "商品名称",
  17284. "type": "string"
  17285. },
  17286. "goodsquotetype": {
  17287. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17288. "type": "integer"
  17289. },
  17290. "goodsstatus": {
  17291. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17292. "type": "integer"
  17293. },
  17294. "goodstradetype": {
  17295. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17296. "type": "integer"
  17297. },
  17298. "goodunitid": {
  17299. "description": "报价单位ID",
  17300. "type": "integer"
  17301. },
  17302. "hasquoter": {
  17303. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17304. "type": "integer"
  17305. },
  17306. "hqprotecttime": {
  17307. "description": "行情保护时间(秒)",
  17308. "type": "integer"
  17309. },
  17310. "innerdealmode": {
  17311. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17312. "type": "integer"
  17313. },
  17314. "isbuylimited": {
  17315. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17316. "type": "integer"
  17317. },
  17318. "lasttradedate": {
  17319. "description": "最后交易日期(状态:待退市)",
  17320. "type": "string"
  17321. },
  17322. "listingdate": {
  17323. "description": "交易开始日期",
  17324. "type": "string"
  17325. },
  17326. "marketid": {
  17327. "description": "所属市场ID",
  17328. "type": "integer"
  17329. },
  17330. "modifierid": {
  17331. "description": "修改人",
  17332. "type": "integer"
  17333. },
  17334. "modifystatus": {
  17335. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17336. "type": "integer"
  17337. },
  17338. "modifytime": {
  17339. "description": "修改时间",
  17340. "type": "string"
  17341. },
  17342. "outerdealmode": {
  17343. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17344. "type": "integer"
  17345. },
  17346. "outgoodscode": {
  17347. "description": "商品代码(外部)",
  17348. "type": "string"
  17349. },
  17350. "qtydecimalplace": {
  17351. "description": "成交量小数位",
  17352. "type": "integer"
  17353. },
  17354. "quotegear": {
  17355. "description": "行情档位(1-10)",
  17356. "type": "integer"
  17357. },
  17358. "quoteminunit": {
  17359. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17360. "type": "integer"
  17361. },
  17362. "quoteshowtype": {
  17363. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17364. "type": "integer"
  17365. },
  17366. "quoteshowtypeinterval": {
  17367. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17368. "type": "integer"
  17369. },
  17370. "remark": {
  17371. "description": "备注",
  17372. "type": "string"
  17373. }
  17374. }
  17375. },
  17376. "models.GoodsIDAndName": {
  17377. "type": "object",
  17378. "required": [
  17379. "goodscode",
  17380. "goodsid",
  17381. "goodsname",
  17382. "marketid"
  17383. ],
  17384. "properties": {
  17385. "goodscode": {
  17386. "description": "商品代码(内部)",
  17387. "type": "string"
  17388. },
  17389. "goodsid": {
  17390. "description": "商品ID(自增ID SEQ_GOODS)",
  17391. "type": "integer"
  17392. },
  17393. "goodsname": {
  17394. "description": "商品名称",
  17395. "type": "string"
  17396. },
  17397. "marketid": {
  17398. "description": "所属市场ID",
  17399. "type": "integer"
  17400. }
  17401. }
  17402. },
  17403. "models.Goodsgroup": {
  17404. "type": "object",
  17405. "required": [
  17406. "goodsgroupid",
  17407. "goodsgroupname",
  17408. "goodsgroupstatus",
  17409. "marketid"
  17410. ],
  17411. "properties": {
  17412. "agreeunit": {
  17413. "description": "合约单位",
  17414. "type": "number"
  17415. },
  17416. "canshort": {
  17417. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17418. "type": "integer"
  17419. },
  17420. "closepricemode": {
  17421. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17422. "type": "integer"
  17423. },
  17424. "closepriceparam": {
  17425. "description": "强平最新价浮动比例 - 方式为2时使用",
  17426. "type": "number"
  17427. },
  17428. "createtime": {
  17429. "description": "创建时间",
  17430. "type": "string"
  17431. },
  17432. "creatorid": {
  17433. "description": "创建人",
  17434. "type": "integer"
  17435. },
  17436. "currencyid": {
  17437. "description": "报价货币ID",
  17438. "type": "integer"
  17439. },
  17440. "decimalplace": {
  17441. "description": "报价小数位",
  17442. "type": "integer"
  17443. },
  17444. "exercisetype": {
  17445. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17446. "type": "integer"
  17447. },
  17448. "exexchangeid": {
  17449. "description": "外部交易所ID[通道交易]",
  17450. "type": "integer"
  17451. },
  17452. "goodsgroupid": {
  17453. "description": "商品组ID(自增ID)",
  17454. "type": "integer"
  17455. },
  17456. "goodsgroupname": {
  17457. "description": "商品组名称",
  17458. "type": "string"
  17459. },
  17460. "goodsgroupstatus": {
  17461. "description": "商品组状态 - 1:正常 2:注销",
  17462. "type": "integer"
  17463. },
  17464. "goodunitid": {
  17465. "description": "报价单位ID",
  17466. "type": "integer"
  17467. },
  17468. "innerdealmode": {
  17469. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17470. "type": "integer"
  17471. },
  17472. "isbuylimited": {
  17473. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17474. "type": "integer"
  17475. },
  17476. "marketid": {
  17477. "description": "所属市场ID",
  17478. "type": "integer"
  17479. },
  17480. "modifierid": {
  17481. "description": "修改人",
  17482. "type": "integer"
  17483. },
  17484. "modifytime": {
  17485. "description": "修改时间",
  17486. "type": "string"
  17487. },
  17488. "outerdealmode": {
  17489. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17490. "type": "integer"
  17491. },
  17492. "outergroupcode": {
  17493. "description": "外部商品组代码[通道交易]",
  17494. "type": "string"
  17495. },
  17496. "premiumdecimalplace": {
  17497. "description": "权利金小数位[场外期权]",
  17498. "type": "integer"
  17499. },
  17500. "premiumspreadalgorithm": {
  17501. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17502. "type": "integer"
  17503. },
  17504. "premiumspreadvalue": {
  17505. "description": "权利金点差值[场外期权]",
  17506. "type": "number"
  17507. },
  17508. "qtydecimalplace": {
  17509. "description": "成交量小数位",
  17510. "type": "integer"
  17511. },
  17512. "quotegear": {
  17513. "description": "行情档位(1-10)",
  17514. "type": "integer"
  17515. },
  17516. "quoteminunit": {
  17517. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17518. "type": "integer"
  17519. },
  17520. "quoterid": {
  17521. "description": "报价商ID[场外期权]",
  17522. "type": "integer"
  17523. },
  17524. "quotesourcegroupid": {
  17525. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17526. "type": "integer"
  17527. },
  17528. "syncgoodsqty": {
  17529. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17530. "type": "integer"
  17531. }
  17532. }
  17533. },
  17534. "models.Goodssortbypreposition": {
  17535. "type": "object",
  17536. "required": [
  17537. "goodscode",
  17538. "tradedate"
  17539. ],
  17540. "properties": {
  17541. "goodscode": {
  17542. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17543. "type": "string"
  17544. },
  17545. "goodsgroupcode": {
  17546. "description": "品种代码",
  17547. "type": "string"
  17548. },
  17549. "prepositionqty": {
  17550. "description": "昨持仓量",
  17551. "type": "integer"
  17552. },
  17553. "sortindex": {
  17554. "description": "排序",
  17555. "type": "integer"
  17556. },
  17557. "tradedate": {
  17558. "description": "交易日",
  17559. "type": "string"
  17560. },
  17561. "updatetime": {
  17562. "description": "更新时间",
  17563. "type": "string"
  17564. }
  17565. }
  17566. },
  17567. "models.Hedgeinnerholderdetail": {
  17568. "type": "object",
  17569. "required": [
  17570. "buyorsell",
  17571. "tradeid"
  17572. ],
  17573. "properties": {
  17574. "accountid": {
  17575. "description": "账号ID",
  17576. "type": "integer"
  17577. },
  17578. "buyorsell": {
  17579. "description": "方向 - 0:买 1:卖",
  17580. "type": "integer"
  17581. },
  17582. "freezeqty": {
  17583. "description": "冻结数量 - 按单平使用",
  17584. "type": "integer"
  17585. },
  17586. "goodsid": {
  17587. "description": "商品ID",
  17588. "type": "integer"
  17589. },
  17590. "holderamount": {
  17591. "description": "持仓金额 [商品币种]",
  17592. "type": "number"
  17593. },
  17594. "holderdays": {
  17595. "description": "剩余冻结天数",
  17596. "type": "integer"
  17597. },
  17598. "holderprice": {
  17599. "description": "持仓价格",
  17600. "type": "number"
  17601. },
  17602. "holderqty": {
  17603. "description": "持仓数量",
  17604. "type": "integer"
  17605. },
  17606. "marketid": {
  17607. "description": "市场ID",
  17608. "type": "integer"
  17609. },
  17610. "openprice": {
  17611. "description": "建仓价格",
  17612. "type": "number"
  17613. },
  17614. "openqty": {
  17615. "description": "建仓数量",
  17616. "type": "integer"
  17617. },
  17618. "parentaccountid": {
  17619. "description": "所属母账户",
  17620. "type": "integer"
  17621. },
  17622. "releaseamount": {
  17623. "description": "释放持仓金额[商品币种]",
  17624. "type": "number"
  17625. },
  17626. "tradeamount": {
  17627. "description": "成交金额[账户]",
  17628. "type": "number"
  17629. },
  17630. "tradedate": {
  17631. "description": "交易日(yyyyMMdd)",
  17632. "type": "string"
  17633. },
  17634. "tradeid": {
  17635. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17636. "type": "string"
  17637. },
  17638. "tradetime": {
  17639. "description": "交易时间",
  17640. "type": "string"
  17641. }
  17642. }
  17643. },
  17644. "models.Hedgemarketopenlog": {
  17645. "type": "object",
  17646. "required": [
  17647. "accountid"
  17648. ],
  17649. "properties": {
  17650. "accountid": {
  17651. "description": "资金账号[外部母账户]",
  17652. "type": "integer"
  17653. },
  17654. "fcname": {
  17655. "description": "期货公司名称",
  17656. "type": "string"
  17657. },
  17658. "handlestatus": {
  17659. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17660. "type": "integer"
  17661. },
  17662. "marketid": {
  17663. "description": "市场ID",
  17664. "type": "integer"
  17665. },
  17666. "status": {
  17667. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17668. "type": "integer"
  17669. },
  17670. "tradedate": {
  17671. "description": "交易日(yyyyMMdd)",
  17672. "type": "string"
  17673. },
  17674. "updatetime": {
  17675. "description": "更新时间",
  17676. "type": "string"
  17677. }
  17678. }
  17679. },
  17680. "models.HsbyBuyMyPayOrder": {
  17681. "type": "object",
  17682. "required": [
  17683. "goodscode",
  17684. "goodsname",
  17685. "tradeid",
  17686. "trademode"
  17687. ],
  17688. "properties": {
  17689. "agreeunit": {
  17690. "description": "合约单位",
  17691. "type": "number"
  17692. },
  17693. "buyaccountid": {
  17694. "description": "买方账号ID[报价币种]",
  17695. "type": "integer"
  17696. },
  17697. "buyorderid": {
  17698. "description": "买方委托单号",
  17699. "type": "string"
  17700. },
  17701. "createtime": {
  17702. "description": "创建时间",
  17703. "type": "string"
  17704. },
  17705. "currencysign": {
  17706. "description": "货币符号",
  17707. "type": "string"
  17708. },
  17709. "decimalplace": {
  17710. "description": "报价小数位",
  17711. "type": "integer"
  17712. },
  17713. "goodscode": {
  17714. "description": "商品代码(内部)",
  17715. "type": "string"
  17716. },
  17717. "goodsid": {
  17718. "description": "商品ID",
  17719. "type": "integer"
  17720. },
  17721. "goodsname": {
  17722. "description": "商品名称",
  17723. "type": "string"
  17724. },
  17725. "marketid": {
  17726. "description": "市场ID",
  17727. "type": "integer"
  17728. },
  17729. "offamount": {
  17730. "description": "优惠金额",
  17731. "type": "number"
  17732. },
  17733. "originalamount": {
  17734. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17735. "type": "number"
  17736. },
  17737. "payamount": {
  17738. "description": "支付金额 = TradeAmount + TradeCharge",
  17739. "type": "number"
  17740. },
  17741. "payflag": {
  17742. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17743. "type": "integer"
  17744. },
  17745. "paylimitedtime": {
  17746. "description": "支付期限",
  17747. "type": "string"
  17748. },
  17749. "paytime": {
  17750. "description": "付款时间",
  17751. "type": "string"
  17752. },
  17753. "picurls1": {
  17754. "description": "预售商品介绍图片[多张用逗号分隔]",
  17755. "type": "string"
  17756. },
  17757. "picurls2": {
  17758. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17759. "type": "string"
  17760. },
  17761. "sellaccountid": {
  17762. "description": "卖方账号ID[报价币种]",
  17763. "type": "integer"
  17764. },
  17765. "sellorderid": {
  17766. "description": "卖方委托单号",
  17767. "type": "string"
  17768. },
  17769. "tradeamount": {
  17770. "description": "成交金额",
  17771. "type": "number"
  17772. },
  17773. "tradecharge": {
  17774. "description": "成交手续费(买方)",
  17775. "type": "number"
  17776. },
  17777. "tradedate": {
  17778. "description": "交易日(yyyyMMdd)",
  17779. "type": "string"
  17780. },
  17781. "tradeid": {
  17782. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17783. "type": "string"
  17784. },
  17785. "trademode": {
  17786. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17787. "type": "integer"
  17788. },
  17789. "tradeprice": {
  17790. "description": "成交价格",
  17791. "type": "number"
  17792. },
  17793. "tradeqty": {
  17794. "description": "成交数量",
  17795. "type": "integer"
  17796. },
  17797. "vendorname1": {
  17798. "description": "预售商品供应商名称",
  17799. "type": "string"
  17800. },
  17801. "vendorname2": {
  17802. "description": "挂牌商品供应商名称",
  17803. "type": "string"
  17804. }
  17805. }
  17806. },
  17807. "models.HsbyBuyMyTradeDetail": {
  17808. "type": "object",
  17809. "required": [
  17810. "accountid",
  17811. "buyorsell",
  17812. "goodscode",
  17813. "goodsid",
  17814. "goodsname",
  17815. "marketid",
  17816. "orderid",
  17817. "qty",
  17818. "time",
  17819. "trademode"
  17820. ],
  17821. "properties": {
  17822. "accountid": {
  17823. "description": "账户ID[报价币种]",
  17824. "type": "integer"
  17825. },
  17826. "agreeunit": {
  17827. "description": "合约单位",
  17828. "type": "number"
  17829. },
  17830. "amount": {
  17831. "description": "金额 = 价格 * 数量 * 合约单位",
  17832. "type": "number"
  17833. },
  17834. "buyorsell": {
  17835. "description": "买卖 - 0:买 1:卖",
  17836. "type": "integer"
  17837. },
  17838. "currencysign": {
  17839. "description": "货币符号",
  17840. "type": "string"
  17841. },
  17842. "decimalplace": {
  17843. "description": "报价小数位",
  17844. "type": "integer"
  17845. },
  17846. "goodscode": {
  17847. "description": "商品代码(内部)",
  17848. "type": "string"
  17849. },
  17850. "goodsid": {
  17851. "description": "商品ID",
  17852. "type": "integer"
  17853. },
  17854. "goodsname": {
  17855. "description": "商品名称",
  17856. "type": "string"
  17857. },
  17858. "marketid": {
  17859. "description": "市场ID",
  17860. "type": "integer"
  17861. },
  17862. "orderamount": {
  17863. "description": "委托金额",
  17864. "type": "number"
  17865. },
  17866. "orderid": {
  17867. "description": "单号(成交单号)",
  17868. "type": "string"
  17869. },
  17870. "picurls1": {
  17871. "description": "预售商品介绍图片[多张用逗号分隔]",
  17872. "type": "string"
  17873. },
  17874. "picurls2": {
  17875. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17876. "type": "string"
  17877. },
  17878. "price": {
  17879. "description": "价格",
  17880. "type": "number"
  17881. },
  17882. "qty": {
  17883. "description": "数量",
  17884. "type": "integer"
  17885. },
  17886. "time": {
  17887. "description": "时间",
  17888. "type": "string"
  17889. },
  17890. "trademode": {
  17891. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17892. "type": "integer"
  17893. },
  17894. "vendorname1": {
  17895. "description": "预售商品供应商名称",
  17896. "type": "string"
  17897. },
  17898. "vendorname2": {
  17899. "description": "挂牌商品供应商名称",
  17900. "type": "string"
  17901. }
  17902. }
  17903. },
  17904. "models.HsbyGoodsOrderDetail": {
  17905. "type": "object",
  17906. "required": [
  17907. "buyorsell",
  17908. "orderid",
  17909. "ordertime"
  17910. ],
  17911. "properties": {
  17912. "buyorsell": {
  17913. "description": "买卖 - 0:买 1:卖",
  17914. "type": "integer"
  17915. },
  17916. "currencysign": {
  17917. "description": "货币符号",
  17918. "type": "string"
  17919. },
  17920. "customername": {
  17921. "description": "客户名称(企业名称),已脱敏",
  17922. "type": "string"
  17923. },
  17924. "enableqty": {
  17925. "description": "可用数量",
  17926. "type": "integer"
  17927. },
  17928. "goodunit": {
  17929. "description": "报价单位",
  17930. "type": "string"
  17931. },
  17932. "orderid": {
  17933. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17934. "type": "string"
  17935. },
  17936. "orderprice": {
  17937. "description": "委托价格",
  17938. "type": "number"
  17939. },
  17940. "ordertime": {
  17941. "description": "委托时间",
  17942. "type": "string"
  17943. }
  17944. }
  17945. },
  17946. "models.HsbyListingGoodsDetail": {
  17947. "type": "object",
  17948. "required": [
  17949. "goodscode",
  17950. "goodsid",
  17951. "goodsname",
  17952. "marketid",
  17953. "trademode"
  17954. ],
  17955. "properties": {
  17956. "agreeunit": {
  17957. "description": "合约单位",
  17958. "type": "number"
  17959. },
  17960. "buymaxqty": {
  17961. "description": "购买上限 [71] - 0为不限",
  17962. "type": "integer"
  17963. },
  17964. "currency": {
  17965. "description": "货币",
  17966. "type": "string"
  17967. },
  17968. "currencysign": {
  17969. "description": "货币符号",
  17970. "type": "string"
  17971. },
  17972. "decimalplace": {
  17973. "description": "报价小数位",
  17974. "type": "integer"
  17975. },
  17976. "desccityid": {
  17977. "description": "目的地(市)ID",
  17978. "type": "integer"
  17979. },
  17980. "descprovinceid": {
  17981. "description": "目的地(省)ID",
  17982. "type": "integer"
  17983. },
  17984. "goodscode": {
  17985. "description": "商品代码(内部)",
  17986. "type": "string"
  17987. },
  17988. "goodsdesc": {
  17989. "description": "商品详情",
  17990. "type": "string"
  17991. },
  17992. "goodsid": {
  17993. "description": "商品ID(自增ID SEQ_GOODS)",
  17994. "type": "integer"
  17995. },
  17996. "goodsname": {
  17997. "description": "商品名称",
  17998. "type": "string"
  17999. },
  18000. "goodsprice": {
  18001. "description": "商品价格",
  18002. "type": "number"
  18003. },
  18004. "hotindex": {
  18005. "description": "景点热度",
  18006. "type": "integer"
  18007. },
  18008. "last": {
  18009. "description": "现价",
  18010. "type": "number"
  18011. },
  18012. "limitdown": {
  18013. "description": "跌停价",
  18014. "type": "number"
  18015. },
  18016. "limitup": {
  18017. "description": "涨停价",
  18018. "type": "number"
  18019. },
  18020. "lotsize": {
  18021. "description": "手数最小变动单位",
  18022. "type": "integer"
  18023. },
  18024. "marketid": {
  18025. "description": "所属市场ID",
  18026. "type": "integer"
  18027. },
  18028. "picurls": {
  18029. "description": "介绍图片[多张用逗号分隔]",
  18030. "type": "string"
  18031. },
  18032. "quoteminunit": {
  18033. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18034. "type": "integer"
  18035. },
  18036. "stepvalue": {
  18037. "description": "价格最小变动单位",
  18038. "type": "number"
  18039. },
  18040. "trademode": {
  18041. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18042. "type": "integer"
  18043. },
  18044. "vendorattr": {
  18045. "description": "供应商附件(多张,逗号分隔)",
  18046. "type": "string"
  18047. },
  18048. "vendorname": {
  18049. "description": "供应商名称",
  18050. "type": "string"
  18051. },
  18052. "vendorphone": {
  18053. "description": "供应商客服电话",
  18054. "type": "string"
  18055. },
  18056. "videourls": {
  18057. "description": "介绍视频[多张用逗号分隔]",
  18058. "type": "string"
  18059. }
  18060. }
  18061. },
  18062. "models.HsbyMarketGoods": {
  18063. "type": "object",
  18064. "required": [
  18065. "accountid",
  18066. "buyorsell",
  18067. "goodscode",
  18068. "goodsid",
  18069. "goodsname",
  18070. "marketid",
  18071. "orderid",
  18072. "trademode"
  18073. ],
  18074. "properties": {
  18075. "accountid": {
  18076. "description": "账户ID[报价币种]",
  18077. "type": "integer"
  18078. },
  18079. "agreeunit": {
  18080. "description": "合约单位",
  18081. "type": "number"
  18082. },
  18083. "buyorsell": {
  18084. "description": "买卖 - 0:买 1:卖",
  18085. "type": "integer"
  18086. },
  18087. "categoryid": {
  18088. "description": "类别ID(WRCATEGORY)",
  18089. "type": "integer"
  18090. },
  18091. "currency": {
  18092. "description": "货币",
  18093. "type": "string"
  18094. },
  18095. "currencysign": {
  18096. "description": "货币符号",
  18097. "type": "string"
  18098. },
  18099. "customername": {
  18100. "description": "卖家名称",
  18101. "type": "string"
  18102. },
  18103. "decimalplace": {
  18104. "description": "报价小数位",
  18105. "type": "integer"
  18106. },
  18107. "goodscode": {
  18108. "description": "商品代码(内部)",
  18109. "type": "string"
  18110. },
  18111. "goodsid": {
  18112. "description": "商品ID",
  18113. "type": "integer"
  18114. },
  18115. "goodsname": {
  18116. "description": "商品名称",
  18117. "type": "string"
  18118. },
  18119. "goodsprice": {
  18120. "description": "商品价格",
  18121. "type": "number"
  18122. },
  18123. "hascoupon": {
  18124. "description": "是否可用优惠卷",
  18125. "type": "boolean"
  18126. },
  18127. "hotindex": {
  18128. "description": "景点热度",
  18129. "type": "integer"
  18130. },
  18131. "marketid": {
  18132. "description": "市场ID",
  18133. "type": "integer"
  18134. },
  18135. "orderid": {
  18136. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18137. "type": "string"
  18138. },
  18139. "orderprice": {
  18140. "description": "委托价格",
  18141. "type": "number"
  18142. },
  18143. "orderstatus": {
  18144. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18145. "type": "integer"
  18146. },
  18147. "picurls": {
  18148. "description": "介绍图片[多张用逗号分隔]",
  18149. "type": "string"
  18150. },
  18151. "quoteminunit": {
  18152. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18153. "type": "integer"
  18154. },
  18155. "sellUserID": {
  18156. "description": "卖方UserID",
  18157. "type": "integer"
  18158. },
  18159. "trademode": {
  18160. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18161. "type": "integer"
  18162. },
  18163. "videourls": {
  18164. "description": "介绍视频[多张用逗号分隔]",
  18165. "type": "string"
  18166. }
  18167. }
  18168. },
  18169. "models.HsbyMarketGoodsDetail": {
  18170. "type": "object",
  18171. "required": [
  18172. "accountid",
  18173. "buyorsell",
  18174. "goodscode",
  18175. "goodsid",
  18176. "goodsname",
  18177. "marketid",
  18178. "orderid",
  18179. "orderqty",
  18180. "trademode"
  18181. ],
  18182. "properties": {
  18183. "accountid": {
  18184. "description": "账户ID[报价币种]",
  18185. "type": "integer"
  18186. },
  18187. "agreeunit": {
  18188. "description": "合约单位",
  18189. "type": "number"
  18190. },
  18191. "buymaxqty": {
  18192. "description": "购买上限 [71] - 0为不限",
  18193. "type": "integer"
  18194. },
  18195. "buyorsell": {
  18196. "description": "买卖 - 0:买 1:卖",
  18197. "type": "integer"
  18198. },
  18199. "cancelqty": {
  18200. "description": "撤单数量",
  18201. "type": "integer"
  18202. },
  18203. "categoryid": {
  18204. "description": "类别ID(WRCATEGORY)",
  18205. "type": "integer"
  18206. },
  18207. "currency": {
  18208. "description": "货币",
  18209. "type": "string"
  18210. },
  18211. "currencysign": {
  18212. "description": "货币符号",
  18213. "type": "string"
  18214. },
  18215. "customername": {
  18216. "description": "卖家名称",
  18217. "type": "string"
  18218. },
  18219. "decimalplace": {
  18220. "description": "报价小数位",
  18221. "type": "integer"
  18222. },
  18223. "goodscode": {
  18224. "description": "商品代码(内部)",
  18225. "type": "string"
  18226. },
  18227. "goodsdesc": {
  18228. "description": "商品详情",
  18229. "type": "string"
  18230. },
  18231. "goodsid": {
  18232. "description": "商品ID",
  18233. "type": "integer"
  18234. },
  18235. "goodsname": {
  18236. "description": "商品名称",
  18237. "type": "string"
  18238. },
  18239. "goodsprice": {
  18240. "description": "商品价格",
  18241. "type": "number"
  18242. },
  18243. "hotindex": {
  18244. "description": "景点热度",
  18245. "type": "integer"
  18246. },
  18247. "lotsize": {
  18248. "description": "手数最小变动单位",
  18249. "type": "integer"
  18250. },
  18251. "marketid": {
  18252. "description": "市场ID",
  18253. "type": "integer"
  18254. },
  18255. "orderid": {
  18256. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18257. "type": "string"
  18258. },
  18259. "orderprice": {
  18260. "description": "委托价格",
  18261. "type": "number"
  18262. },
  18263. "orderqty": {
  18264. "description": "委托数量",
  18265. "type": "integer"
  18266. },
  18267. "orderstatus": {
  18268. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18269. "type": "integer"
  18270. },
  18271. "picurls": {
  18272. "description": "介绍图片[多张用逗号分隔]",
  18273. "type": "string"
  18274. },
  18275. "quoteminunit": {
  18276. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18277. "type": "integer"
  18278. },
  18279. "sellUserID": {
  18280. "description": "卖方UserID",
  18281. "type": "integer"
  18282. },
  18283. "trademode": {
  18284. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18285. "type": "integer"
  18286. },
  18287. "tradeqty": {
  18288. "description": "成交数量",
  18289. "type": "integer"
  18290. },
  18291. "vendorattr": {
  18292. "description": "供应商附件(多张,逗号分隔)",
  18293. "type": "string"
  18294. },
  18295. "vendorname": {
  18296. "description": "供应商名称",
  18297. "type": "string"
  18298. },
  18299. "vendorphone": {
  18300. "description": "供应商客服电话",
  18301. "type": "string"
  18302. },
  18303. "videourls": {
  18304. "description": "介绍视频[多张用逗号分隔]",
  18305. "type": "string"
  18306. }
  18307. }
  18308. },
  18309. "models.HsbyMarketInfo": {
  18310. "type": "object",
  18311. "required": [
  18312. "marketid",
  18313. "marketstatus",
  18314. "trademode"
  18315. ],
  18316. "properties": {
  18317. "marketid": {
  18318. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18319. "type": "integer"
  18320. },
  18321. "marketname": {
  18322. "description": "市场名称",
  18323. "type": "string"
  18324. },
  18325. "marketstatus": {
  18326. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18327. "type": "integer"
  18328. },
  18329. "trademode": {
  18330. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18331. "type": "integer"
  18332. }
  18333. }
  18334. },
  18335. "models.HsbyMyGoods": {
  18336. "type": "object",
  18337. "required": [
  18338. "accountid",
  18339. "goodscode",
  18340. "goodsid",
  18341. "goodsname",
  18342. "marketid",
  18343. "trademode"
  18344. ],
  18345. "properties": {
  18346. "accountid": {
  18347. "description": "账号Id",
  18348. "type": "integer"
  18349. },
  18350. "agreeunit": {
  18351. "description": "合约单位",
  18352. "type": "number"
  18353. },
  18354. "buyaverageprice": {
  18355. "description": "持仓均价",
  18356. "type": "number"
  18357. },
  18358. "buycurholderamount": {
  18359. "description": "买当前持仓总金额[商品币种]",
  18360. "type": "number"
  18361. },
  18362. "buycurpositionqty": {
  18363. "description": "买当前持仓总数量",
  18364. "type": "integer"
  18365. },
  18366. "buymaxqty": {
  18367. "description": "购买上限 [71] - 0为不限",
  18368. "type": "integer"
  18369. },
  18370. "currencysign": {
  18371. "description": "货币符号",
  18372. "type": "string"
  18373. },
  18374. "decimalplace": {
  18375. "description": "报价小数位",
  18376. "type": "integer"
  18377. },
  18378. "enableqty": {
  18379. "description": "可用数量",
  18380. "type": "integer"
  18381. },
  18382. "goodscode": {
  18383. "description": "商品代码(内部)",
  18384. "type": "string"
  18385. },
  18386. "goodsid": {
  18387. "description": "商品Id",
  18388. "type": "integer"
  18389. },
  18390. "goodsname": {
  18391. "description": "商品名称",
  18392. "type": "string"
  18393. },
  18394. "goodsprice": {
  18395. "description": "商品价格",
  18396. "type": "number"
  18397. },
  18398. "goodsstatus": {
  18399. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18400. "type": "integer"
  18401. },
  18402. "last": {
  18403. "description": "现价(仅使用于挂牌点选)",
  18404. "type": "number"
  18405. },
  18406. "limitdown": {
  18407. "description": "跌停价(仅使用于挂牌点选)",
  18408. "type": "number"
  18409. },
  18410. "limitup": {
  18411. "description": "涨停价(仅使用于挂牌点选)",
  18412. "type": "number"
  18413. },
  18414. "lotsize": {
  18415. "description": "手数最小变动单位",
  18416. "type": "integer"
  18417. },
  18418. "marketid": {
  18419. "description": "所属市场ID",
  18420. "type": "integer"
  18421. },
  18422. "picurls": {
  18423. "description": "介绍图片[多张用逗号分隔]",
  18424. "type": "string"
  18425. },
  18426. "quoteminunit": {
  18427. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18428. "type": "integer"
  18429. },
  18430. "stepvalue": {
  18431. "description": "价格最小变动单位",
  18432. "type": "number"
  18433. },
  18434. "trademode": {
  18435. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18436. "type": "integer"
  18437. }
  18438. }
  18439. },
  18440. "models.HsbyMyPackage": {
  18441. "type": "object",
  18442. "required": [
  18443. "goodscode",
  18444. "goodsname",
  18445. "takeorderid",
  18446. "trademode"
  18447. ],
  18448. "properties": {
  18449. "accountid": {
  18450. "description": "账户ID",
  18451. "type": "integer"
  18452. },
  18453. "address": {
  18454. "description": "提货人详细地址",
  18455. "type": "string"
  18456. },
  18457. "agreeunit": {
  18458. "description": "合约单位",
  18459. "type": "number"
  18460. },
  18461. "amount": {
  18462. "description": "提货金额",
  18463. "type": "number"
  18464. },
  18465. "auditer": {
  18466. "description": "审核人",
  18467. "type": "integer"
  18468. },
  18469. "audittime": {
  18470. "description": "审核时间",
  18471. "type": "string"
  18472. },
  18473. "averageprice": {
  18474. "description": "均价",
  18475. "type": "number"
  18476. },
  18477. "cardnum": {
  18478. "description": "提货人证件号码",
  18479. "type": "string"
  18480. },
  18481. "cardtypeid": {
  18482. "description": "提货人证件类型",
  18483. "type": "integer"
  18484. },
  18485. "checkremark": {
  18486. "description": "审核备注",
  18487. "type": "string"
  18488. },
  18489. "currencysign": {
  18490. "description": "货币符号",
  18491. "type": "string"
  18492. },
  18493. "decimalplace": {
  18494. "description": "报价小数位",
  18495. "type": "integer"
  18496. },
  18497. "goodscode": {
  18498. "description": "商品代码(内部)",
  18499. "type": "string"
  18500. },
  18501. "goodsid": {
  18502. "description": "商品ID",
  18503. "type": "integer"
  18504. },
  18505. "goodsname": {
  18506. "description": "商品名称",
  18507. "type": "string"
  18508. },
  18509. "handlestatus": {
  18510. "description": "处理状态",
  18511. "type": "integer"
  18512. },
  18513. "marketid": {
  18514. "description": "市场ID",
  18515. "type": "integer"
  18516. },
  18517. "phonenum": {
  18518. "description": "提货人联系方式",
  18519. "type": "string"
  18520. },
  18521. "picurls": {
  18522. "description": "介绍图片[多张用逗号分隔]",
  18523. "type": "string"
  18524. },
  18525. "qty": {
  18526. "description": "提货数量",
  18527. "type": "number"
  18528. },
  18529. "recivername": {
  18530. "description": "提货人姓名",
  18531. "type": "string"
  18532. },
  18533. "reqtime": {
  18534. "description": "更新时间",
  18535. "type": "string"
  18536. },
  18537. "takemode": {
  18538. "description": "提货方式 - 2:自提 3:配送",
  18539. "type": "integer"
  18540. },
  18541. "takeorderid": {
  18542. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18543. "type": "string"
  18544. },
  18545. "takeorderstatus": {
  18546. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18547. "type": "integer"
  18548. },
  18549. "takeremark": {
  18550. "description": "提货备注",
  18551. "type": "string"
  18552. },
  18553. "tradedate": {
  18554. "description": "交易日(yyyyMMdd)",
  18555. "type": "string"
  18556. },
  18557. "trademode": {
  18558. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18559. "type": "integer"
  18560. },
  18561. "userid": {
  18562. "description": "用户ID",
  18563. "type": "integer"
  18564. },
  18565. "vendorname": {
  18566. "description": "供应商名称",
  18567. "type": "string"
  18568. }
  18569. }
  18570. },
  18571. "models.HsbyPreGoods": {
  18572. "type": "object",
  18573. "required": [
  18574. "goodscode",
  18575. "goodsid",
  18576. "goodsname",
  18577. "marketid",
  18578. "trademode"
  18579. ],
  18580. "properties": {
  18581. "agreeunit": {
  18582. "description": "合约单位",
  18583. "type": "number"
  18584. },
  18585. "currency": {
  18586. "description": "货币",
  18587. "type": "string"
  18588. },
  18589. "currencysign": {
  18590. "description": "货币符号",
  18591. "type": "string"
  18592. },
  18593. "decimalplace": {
  18594. "description": "报价小数位",
  18595. "type": "integer"
  18596. },
  18597. "desccityid": {
  18598. "description": "目的地(市)",
  18599. "type": "integer"
  18600. },
  18601. "descprovinceid": {
  18602. "description": "目的地(省)",
  18603. "type": "integer"
  18604. },
  18605. "enableqty": {
  18606. "description": "剩余数量",
  18607. "type": "integer"
  18608. },
  18609. "goodscode": {
  18610. "description": "商品代码(内部)",
  18611. "type": "string"
  18612. },
  18613. "goodsid": {
  18614. "description": "商品ID(自增ID SEQ_GOODS)",
  18615. "type": "integer"
  18616. },
  18617. "goodsname": {
  18618. "description": "商品名称",
  18619. "type": "string"
  18620. },
  18621. "goodsstatus": {
  18622. "description": "商品状态- 2:未上市 3:上市",
  18623. "type": "integer"
  18624. },
  18625. "lasttradedate": {
  18626. "description": "最后交易日期(状态:待退市)",
  18627. "type": "string"
  18628. },
  18629. "listingdate": {
  18630. "description": "交易开始日期",
  18631. "type": "string"
  18632. },
  18633. "marketid": {
  18634. "description": "所属市场ID",
  18635. "type": "integer"
  18636. },
  18637. "picurls": {
  18638. "description": "介绍图片[多张用逗号分隔]",
  18639. "type": "string"
  18640. },
  18641. "presaledqty": {
  18642. "description": "已预售量(预售结束时更新)",
  18643. "type": "integer"
  18644. },
  18645. "presaleqty": {
  18646. "description": "预售数量",
  18647. "type": "integer"
  18648. },
  18649. "quoteminunit": {
  18650. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18651. "type": "integer"
  18652. },
  18653. "refprice": {
  18654. "description": "参考价格[一口价]",
  18655. "type": "number"
  18656. },
  18657. "relatedgoodsid": {
  18658. "description": "关联交易合约ID",
  18659. "type": "integer"
  18660. },
  18661. "trademode": {
  18662. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18663. "type": "integer"
  18664. },
  18665. "videourls": {
  18666. "description": "介绍视频[多张用逗号分隔]",
  18667. "type": "string"
  18668. }
  18669. }
  18670. },
  18671. "models.HsbyPreGoodsDetail": {
  18672. "type": "object",
  18673. "required": [
  18674. "goodscode",
  18675. "goodsid",
  18676. "goodsname",
  18677. "marketid",
  18678. "trademode"
  18679. ],
  18680. "properties": {
  18681. "agreeunit": {
  18682. "description": "合约单位",
  18683. "type": "number"
  18684. },
  18685. "buymaxqty": {
  18686. "description": "购买上限 [71] - 0为不限",
  18687. "type": "integer"
  18688. },
  18689. "currency": {
  18690. "description": "货币",
  18691. "type": "string"
  18692. },
  18693. "currencysign": {
  18694. "description": "货币符号",
  18695. "type": "string"
  18696. },
  18697. "customername": {
  18698. "description": "发行单位",
  18699. "type": "string"
  18700. },
  18701. "decimalplace": {
  18702. "description": "报价小数位",
  18703. "type": "integer"
  18704. },
  18705. "desccityid": {
  18706. "description": "目的地(市)ID",
  18707. "type": "integer"
  18708. },
  18709. "descprovinceid": {
  18710. "description": "目的地(省)ID",
  18711. "type": "integer"
  18712. },
  18713. "enableqty": {
  18714. "description": "剩余数量",
  18715. "type": "integer"
  18716. },
  18717. "goodscode": {
  18718. "description": "商品代码(内部)",
  18719. "type": "string"
  18720. },
  18721. "goodsdesc": {
  18722. "description": "商品详情",
  18723. "type": "string"
  18724. },
  18725. "goodsid": {
  18726. "description": "商品ID(自增ID SEQ_GOODS)",
  18727. "type": "integer"
  18728. },
  18729. "goodsname": {
  18730. "description": "商品名称",
  18731. "type": "string"
  18732. },
  18733. "goodsstatus": {
  18734. "description": "商品状态- 2:未上市 3:上市",
  18735. "type": "integer"
  18736. },
  18737. "goodunit": {
  18738. "description": "报价单位",
  18739. "type": "string"
  18740. },
  18741. "lasttradedate": {
  18742. "description": "最后交易日期(状态:待退市)",
  18743. "type": "string"
  18744. },
  18745. "listingdate": {
  18746. "description": "交易开始日期",
  18747. "type": "string"
  18748. },
  18749. "lotsize": {
  18750. "description": "手数最小变动单位",
  18751. "type": "integer"
  18752. },
  18753. "marketid": {
  18754. "description": "所属市场ID",
  18755. "type": "integer"
  18756. },
  18757. "picurls": {
  18758. "description": "介绍图片[多张用逗号分隔]",
  18759. "type": "string"
  18760. },
  18761. "presaledqty": {
  18762. "description": "已预售量(预售结束时更新)",
  18763. "type": "integer"
  18764. },
  18765. "presaleqty": {
  18766. "description": "预售数量",
  18767. "type": "integer"
  18768. },
  18769. "quoteminunit": {
  18770. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18771. "type": "integer"
  18772. },
  18773. "refprice": {
  18774. "description": "参考价格[一口价]",
  18775. "type": "number"
  18776. },
  18777. "relatedgoodsid": {
  18778. "description": "关联交易合约ID",
  18779. "type": "integer"
  18780. },
  18781. "stepvalue": {
  18782. "description": "价格最小变动单位",
  18783. "type": "number"
  18784. },
  18785. "trademode": {
  18786. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18787. "type": "integer"
  18788. },
  18789. "vendorattr": {
  18790. "description": "供应商附件(多张,逗号分隔)",
  18791. "type": "string"
  18792. },
  18793. "vendorname": {
  18794. "description": "供应商名称",
  18795. "type": "string"
  18796. },
  18797. "vendorphone": {
  18798. "description": "供应商客服电话",
  18799. "type": "string"
  18800. },
  18801. "videourls": {
  18802. "description": "介绍视频[多张用逗号分隔]",
  18803. "type": "string"
  18804. }
  18805. }
  18806. },
  18807. "models.HsbySellCollectionOrder": {
  18808. "type": "object",
  18809. "required": [
  18810. "goodscode",
  18811. "goodsname",
  18812. "tradeid",
  18813. "trademode"
  18814. ],
  18815. "properties": {
  18816. "agreeunit": {
  18817. "description": "合约单位",
  18818. "type": "number"
  18819. },
  18820. "buyaccountid": {
  18821. "description": "买方账号ID[报价币种]",
  18822. "type": "integer"
  18823. },
  18824. "buyorderid": {
  18825. "description": "买方委托单号",
  18826. "type": "string"
  18827. },
  18828. "createtime": {
  18829. "description": "创建时间",
  18830. "type": "string"
  18831. },
  18832. "currencysign": {
  18833. "description": "货币符号",
  18834. "type": "string"
  18835. },
  18836. "decimalplace": {
  18837. "description": "报价小数位",
  18838. "type": "integer"
  18839. },
  18840. "goodscode": {
  18841. "description": "商品代码(内部)",
  18842. "type": "string"
  18843. },
  18844. "goodsid": {
  18845. "description": "商品ID",
  18846. "type": "integer"
  18847. },
  18848. "goodsname": {
  18849. "description": "商品名称",
  18850. "type": "string"
  18851. },
  18852. "marketid": {
  18853. "description": "市场ID",
  18854. "type": "integer"
  18855. },
  18856. "offamount": {
  18857. "description": "优惠金额",
  18858. "type": "number"
  18859. },
  18860. "payamount": {
  18861. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  18862. "type": "number"
  18863. },
  18864. "payflag": {
  18865. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18866. "type": "integer"
  18867. },
  18868. "paylimitedtime": {
  18869. "description": "支付期限",
  18870. "type": "string"
  18871. },
  18872. "paytime": {
  18873. "description": "付款时间",
  18874. "type": "string"
  18875. },
  18876. "picurls": {
  18877. "description": "商品介绍图片[多张用逗号分隔]",
  18878. "type": "string"
  18879. },
  18880. "sellaccountid": {
  18881. "description": "卖方账号ID[报价币种]",
  18882. "type": "integer"
  18883. },
  18884. "sellorderid": {
  18885. "description": "卖方委托单号",
  18886. "type": "string"
  18887. },
  18888. "tradeamount": {
  18889. "description": "成交金额",
  18890. "type": "number"
  18891. },
  18892. "tradecharge": {
  18893. "description": "成交手续费(买方)",
  18894. "type": "number"
  18895. },
  18896. "tradedate": {
  18897. "description": "交易日(yyyyMMdd)",
  18898. "type": "string"
  18899. },
  18900. "tradeid": {
  18901. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18902. "type": "string"
  18903. },
  18904. "trademode": {
  18905. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18906. "type": "integer"
  18907. },
  18908. "tradeprice": {
  18909. "description": "成交价格",
  18910. "type": "number"
  18911. },
  18912. "tradeqty": {
  18913. "description": "成交数量",
  18914. "type": "integer"
  18915. }
  18916. }
  18917. },
  18918. "models.HsbySellMyDetail": {
  18919. "type": "object",
  18920. "required": [
  18921. "accountid",
  18922. "buyorsell",
  18923. "goodscode",
  18924. "goodsid",
  18925. "goodsname",
  18926. "marketid",
  18927. "orderid",
  18928. "time",
  18929. "trademode"
  18930. ],
  18931. "properties": {
  18932. "accountid": {
  18933. "description": "账户ID[报价币种]",
  18934. "type": "integer"
  18935. },
  18936. "agreeunit": {
  18937. "description": "合约单位",
  18938. "type": "number"
  18939. },
  18940. "buyorsell": {
  18941. "description": "买卖 - 0:买 1:卖",
  18942. "type": "integer"
  18943. },
  18944. "currencysign": {
  18945. "description": "货币符号",
  18946. "type": "string"
  18947. },
  18948. "decimalplace": {
  18949. "description": "报价小数位",
  18950. "type": "integer"
  18951. },
  18952. "goodscode": {
  18953. "description": "商品代码(内部)",
  18954. "type": "string"
  18955. },
  18956. "goodsid": {
  18957. "description": "商品ID",
  18958. "type": "integer"
  18959. },
  18960. "goodsname": {
  18961. "description": "商品名称",
  18962. "type": "string"
  18963. },
  18964. "marketid": {
  18965. "description": "市场ID",
  18966. "type": "integer"
  18967. },
  18968. "orderid": {
  18969. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  18970. "type": "string"
  18971. },
  18972. "ordertype": {
  18973. "description": "单据类型:0 - 发布中, 1 - 已完成",
  18974. "type": "integer"
  18975. },
  18976. "picurls": {
  18977. "description": "介绍图片[多张用逗号分隔]",
  18978. "type": "string"
  18979. },
  18980. "price": {
  18981. "description": "价格",
  18982. "type": "number"
  18983. },
  18984. "qty": {
  18985. "description": "数量",
  18986. "type": "integer"
  18987. },
  18988. "time": {
  18989. "description": "时间",
  18990. "type": "string"
  18991. },
  18992. "trademode": {
  18993. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18994. "type": "integer"
  18995. },
  18996. "vendorname": {
  18997. "description": "供应商名称",
  18998. "type": "string"
  18999. }
  19000. }
  19001. },
  19002. "models.HsbyTopGoods": {
  19003. "type": "object",
  19004. "required": [
  19005. "goodscode",
  19006. "goodsid",
  19007. "goodsname",
  19008. "marketid",
  19009. "trademode"
  19010. ],
  19011. "properties": {
  19012. "agreeunit": {
  19013. "description": "合约单位",
  19014. "type": "number"
  19015. },
  19016. "currency": {
  19017. "description": "货币",
  19018. "type": "string"
  19019. },
  19020. "currencysign": {
  19021. "description": "货币符号",
  19022. "type": "string"
  19023. },
  19024. "decimalplace": {
  19025. "description": "报价小数位",
  19026. "type": "integer"
  19027. },
  19028. "desccityid": {
  19029. "description": "目的地(市)",
  19030. "type": "integer"
  19031. },
  19032. "descprovinceid": {
  19033. "description": "目的地(省)",
  19034. "type": "integer"
  19035. },
  19036. "goodscode": {
  19037. "description": "商品代码(内部)",
  19038. "type": "string"
  19039. },
  19040. "goodsid": {
  19041. "description": "商品ID(自增ID SEQ_GOODS)",
  19042. "type": "integer"
  19043. },
  19044. "goodsname": {
  19045. "description": "商品名称",
  19046. "type": "string"
  19047. },
  19048. "hotindex": {
  19049. "description": "景点热度",
  19050. "type": "integer"
  19051. },
  19052. "last": {
  19053. "description": "现价",
  19054. "type": "number"
  19055. },
  19056. "marketid": {
  19057. "description": "所属市场ID",
  19058. "type": "integer"
  19059. },
  19060. "picurls": {
  19061. "description": "介绍图片[多张用逗号分隔]",
  19062. "type": "string"
  19063. },
  19064. "quoteminunit": {
  19065. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19066. "type": "integer"
  19067. },
  19068. "trademode": {
  19069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19070. "type": "integer"
  19071. },
  19072. "videourls": {
  19073. "description": "介绍视频[多张用逗号分隔]",
  19074. "type": "string"
  19075. }
  19076. }
  19077. },
  19078. "models.HybsMyBuyOrderDetail": {
  19079. "type": "object",
  19080. "required": [
  19081. "accountid",
  19082. "buyorsell",
  19083. "goodscode",
  19084. "goodsid",
  19085. "goodsname",
  19086. "marketid",
  19087. "orderid",
  19088. "orderqty",
  19089. "ordertime",
  19090. "trademode"
  19091. ],
  19092. "properties": {
  19093. "accountid": {
  19094. "description": "账户ID[报价币种]",
  19095. "type": "integer"
  19096. },
  19097. "agreeunit": {
  19098. "description": "合约单位",
  19099. "type": "number"
  19100. },
  19101. "buyorsell": {
  19102. "description": "买卖 - 0:买 1:卖",
  19103. "type": "integer"
  19104. },
  19105. "cancelqty": {
  19106. "description": "撤单数量",
  19107. "type": "integer"
  19108. },
  19109. "currencysign": {
  19110. "description": "货币符号",
  19111. "type": "string"
  19112. },
  19113. "decimalplace": {
  19114. "description": "报价小数位",
  19115. "type": "integer"
  19116. },
  19117. "goodscode": {
  19118. "description": "商品代码(内部)",
  19119. "type": "string"
  19120. },
  19121. "goodsid": {
  19122. "description": "商品ID",
  19123. "type": "integer"
  19124. },
  19125. "goodsname": {
  19126. "description": "商品名称",
  19127. "type": "string"
  19128. },
  19129. "listingselecttype": {
  19130. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19131. "type": "integer"
  19132. },
  19133. "marketid": {
  19134. "description": "市场ID",
  19135. "type": "integer"
  19136. },
  19137. "mybuystatus": {
  19138. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  19139. "type": "integer"
  19140. },
  19141. "orderamount": {
  19142. "description": "委托金额",
  19143. "type": "number"
  19144. },
  19145. "orderid": {
  19146. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19147. "type": "string"
  19148. },
  19149. "orderprice": {
  19150. "description": "委托价格",
  19151. "type": "number"
  19152. },
  19153. "orderqty": {
  19154. "description": "委托数量",
  19155. "type": "integer"
  19156. },
  19157. "orderstatus": {
  19158. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19159. "type": "integer"
  19160. },
  19161. "ordertime": {
  19162. "description": "委托时间",
  19163. "type": "string"
  19164. },
  19165. "picurls1": {
  19166. "description": "预售商品介绍图片[多张用逗号分隔]",
  19167. "type": "string"
  19168. },
  19169. "picurls2": {
  19170. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19171. "type": "string"
  19172. },
  19173. "trademode": {
  19174. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19175. "type": "integer"
  19176. },
  19177. "tradeqty": {
  19178. "description": "成交数量",
  19179. "type": "integer"
  19180. },
  19181. "vendorname1": {
  19182. "description": "预售商品供应商名称",
  19183. "type": "string"
  19184. },
  19185. "vendorname2": {
  19186. "description": "挂牌商品供应商名称",
  19187. "type": "string"
  19188. }
  19189. }
  19190. },
  19191. "models.Loginaccount": {
  19192. "type": "object",
  19193. "required": [
  19194. "loginid"
  19195. ],
  19196. "properties": {
  19197. "canoutin": {
  19198. "description": "是否可出入金 - 0:不可 1:可",
  19199. "type": "integer"
  19200. },
  19201. "clientroleid": {
  19202. "description": "终端角色ID",
  19203. "type": "integer"
  19204. },
  19205. "haslogined": {
  19206. "description": "是否已登录 - 0:未登录 1:已登录",
  19207. "type": "integer"
  19208. },
  19209. "hasupdatedpwd": {
  19210. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19211. "type": "integer"
  19212. },
  19213. "lastloginip": {
  19214. "description": "最新登录地址",
  19215. "type": "string"
  19216. },
  19217. "lastloginmode": {
  19218. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19219. "type": "integer"
  19220. },
  19221. "lastloginremark": {
  19222. "description": "最新登录描述",
  19223. "type": "string"
  19224. },
  19225. "lastlogintime": {
  19226. "description": "最新登录时间",
  19227. "type": "string"
  19228. },
  19229. "logincode": {
  19230. "description": "登录代码",
  19231. "type": "string"
  19232. },
  19233. "loginfailnum": {
  19234. "description": "连续登录失败次数(登录成功时清零)",
  19235. "type": "integer"
  19236. },
  19237. "loginid": {
  19238. "description": "登陆账号",
  19239. "type": "integer"
  19240. },
  19241. "loginport": {
  19242. "description": "最新登录端口",
  19243. "type": "integer"
  19244. },
  19245. "loginstatus": {
  19246. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  19247. "type": "integer"
  19248. },
  19249. "loginusertype": {
  19250. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19251. "type": "integer"
  19252. },
  19253. "modifierid": {
  19254. "description": "修改人",
  19255. "type": "integer"
  19256. },
  19257. "modifytime": {
  19258. "description": "修改时间",
  19259. "type": "string"
  19260. },
  19261. "pwdwrongcount": {
  19262. "description": "密码错误次数",
  19263. "type": "integer"
  19264. },
  19265. "taaccountrighttype": {
  19266. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19267. "type": "integer"
  19268. },
  19269. "unfreezetime": {
  19270. "description": "账户解冻时间",
  19271. "type": "string"
  19272. },
  19273. "userid": {
  19274. "description": "用户ID",
  19275. "type": "integer"
  19276. }
  19277. }
  19278. },
  19279. "models.MainAccountInfo": {
  19280. "type": "object",
  19281. "properties": {
  19282. "accountid": {
  19283. "description": "账号id",
  19284. "type": "integer"
  19285. },
  19286. "accountname": {
  19287. "description": "账号名称(taaccount表中的名称)",
  19288. "type": "string"
  19289. },
  19290. "appid": {
  19291. "description": "AppID",
  19292. "type": "string"
  19293. },
  19294. "authcode": {
  19295. "description": "授权码",
  19296. "type": "string"
  19297. },
  19298. "brokerid": {
  19299. "description": "经纪商id",
  19300. "type": "string"
  19301. },
  19302. "fcid": {
  19303. "description": "期货公司id",
  19304. "type": "integer"
  19305. },
  19306. "fcname": {
  19307. "description": "期货公司代码",
  19308. "type": "string"
  19309. },
  19310. "hedgeaccountcode": {
  19311. "description": "外部账号代码(主账号登录代码)",
  19312. "type": "string"
  19313. },
  19314. "hedgeaccountpwd": {
  19315. "description": "密码",
  19316. "type": "string"
  19317. },
  19318. "ismain": {
  19319. "description": "是否主账号",
  19320. "type": "integer"
  19321. },
  19322. "relateduserid": {
  19323. "description": "关联用户id",
  19324. "type": "integer"
  19325. },
  19326. "userid": {
  19327. "description": "关联用户id",
  19328. "type": "integer"
  19329. }
  19330. }
  19331. },
  19332. "models.Market": {
  19333. "type": "object",
  19334. "required": [
  19335. "marketid",
  19336. "marketstatus",
  19337. "openmethod",
  19338. "reckonpricealgorithm",
  19339. "trademode",
  19340. "tradeproperty"
  19341. ],
  19342. "properties": {
  19343. "auctionwrtype": {
  19344. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19345. "type": "integer"
  19346. },
  19347. "canacceptquote": {
  19348. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19349. "type": "integer"
  19350. },
  19351. "cangoodsexercise": {
  19352. "description": "[期权]是否可现货行权- 0:否 1:是",
  19353. "type": "integer"
  19354. },
  19355. "cangoodsexercisetype": {
  19356. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19357. "type": "integer"
  19358. },
  19359. "canmanualquotestrike": {
  19360. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19361. "type": "integer"
  19362. },
  19363. "canmutistage": {
  19364. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19365. "type": "integer"
  19366. },
  19367. "canpreexercise": {
  19368. "description": "[期权]是否可预申报- 0:否 1:是",
  19369. "type": "integer"
  19370. },
  19371. "clearinterval": {
  19372. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19373. "type": "integer"
  19374. },
  19375. "contracttmp": {
  19376. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19377. "type": "string"
  19378. },
  19379. "exchareaid": {
  19380. "description": "所属交易所,可以没有",
  19381. "type": "integer"
  19382. },
  19383. "goodstype": {
  19384. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19385. "type": "integer"
  19386. },
  19387. "hasrebate": {
  19388. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19389. "type": "integer"
  19390. },
  19391. "hastradecredit": {
  19392. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19393. "type": "integer"
  19394. },
  19395. "haswr": {
  19396. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19397. "type": "integer"
  19398. },
  19399. "isdeductmargin": {
  19400. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19401. "type": "integer"
  19402. },
  19403. "isrecordsource": {
  19404. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19405. "type": "integer"
  19406. },
  19407. "isreleasemargin": {
  19408. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19409. "type": "integer"
  19410. },
  19411. "marginformula": {
  19412. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19413. "type": "integer"
  19414. },
  19415. "marginformula2": {
  19416. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19417. "type": "integer"
  19418. },
  19419. "marketid": {
  19420. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19421. "type": "integer"
  19422. },
  19423. "marketname": {
  19424. "description": "市场名称",
  19425. "type": "string"
  19426. },
  19427. "marketserviceid": {
  19428. "description": "市场服务ID",
  19429. "type": "integer"
  19430. },
  19431. "marketstatus": {
  19432. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19433. "type": "integer"
  19434. },
  19435. "markettype": {
  19436. "description": "市场类型- 1:非交易服务 2:交易服务",
  19437. "type": "integer"
  19438. },
  19439. "matchermode": {
  19440. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19441. "type": "integer"
  19442. },
  19443. "openmethod": {
  19444. "description": "开盘模式 - 0 自动 1手动",
  19445. "type": "integer"
  19446. },
  19447. "otcuserid": {
  19448. "description": "场外期权做市商[场外期权]",
  19449. "type": "integer"
  19450. },
  19451. "outersynctime": {
  19452. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19453. "type": "string"
  19454. },
  19455. "pendingflag": {
  19456. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19457. "type": "integer"
  19458. },
  19459. "pendingtime": {
  19460. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19461. "type": "string"
  19462. },
  19463. "performancetempid": {
  19464. "description": "履约计划模板ID - 作废",
  19465. "type": "integer"
  19466. },
  19467. "premiumquotemode": {
  19468. "description": "权利金报价方式 - 1:自动 2:手动",
  19469. "type": "integer"
  19470. },
  19471. "rebateratio": {
  19472. "description": "返利比率[竞价式]",
  19473. "type": "number"
  19474. },
  19475. "reckonorder": {
  19476. "description": "结算顺序",
  19477. "type": "integer"
  19478. },
  19479. "reckonpricealgorithm": {
  19480. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19481. "type": "integer"
  19482. },
  19483. "reckonpriceparam": {
  19484. "description": "结算价参数",
  19485. "type": "integer"
  19486. },
  19487. "reckontime": {
  19488. "description": "结算时间[通道交易-对冲](HH:mm)",
  19489. "type": "string"
  19490. },
  19491. "roleprioritytype": {
  19492. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19493. "type": "integer"
  19494. },
  19495. "selllistingauditflag": {
  19496. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19497. "type": "integer"
  19498. },
  19499. "trademarkettype": {
  19500. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19501. "type": "integer"
  19502. },
  19503. "trademode": {
  19504. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19505. "type": "integer"
  19506. },
  19507. "tradeproperty": {
  19508. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19509. "type": "integer"
  19510. },
  19511. "tradetype": {
  19512. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19513. "type": "integer"
  19514. }
  19515. }
  19516. },
  19517. "models.Marketrun": {
  19518. "type": "object",
  19519. "required": [
  19520. "marketid",
  19521. "nexttradedate",
  19522. "reckonflag",
  19523. "runstatus",
  19524. "tradedate",
  19525. "tradedate2"
  19526. ],
  19527. "properties": {
  19528. "afternexttradedate": {
  19529. "description": "下下交易日",
  19530. "type": "string"
  19531. },
  19532. "clearquoteflag": {
  19533. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19534. "type": "integer"
  19535. },
  19536. "lastreckondate": {
  19537. "description": "最新交易日(结算成功)",
  19538. "type": "string"
  19539. },
  19540. "machinedate": {
  19541. "description": "机器时间",
  19542. "type": "string"
  19543. },
  19544. "manualflag": {
  19545. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19546. "type": "integer"
  19547. },
  19548. "marketid": {
  19549. "description": "市场ID",
  19550. "type": "integer"
  19551. },
  19552. "nexttradedate": {
  19553. "description": "下一交易日",
  19554. "type": "string"
  19555. },
  19556. "pretradedate": {
  19557. "description": "上一交易日",
  19558. "type": "string"
  19559. },
  19560. "reckonflag": {
  19561. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19562. "type": "integer"
  19563. },
  19564. "runstatus": {
  19565. "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.今日免清算",
  19566. "type": "integer"
  19567. },
  19568. "sectionid": {
  19569. "description": "时间段号[多时段时用]",
  19570. "type": "integer"
  19571. },
  19572. "tradedate": {
  19573. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19574. "type": "string"
  19575. },
  19576. "tradedate2": {
  19577. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19578. "type": "string"
  19579. },
  19580. "updatetime": {
  19581. "description": "更新时间",
  19582. "type": "string"
  19583. }
  19584. }
  19585. },
  19586. "models.Messageboard": {
  19587. "type": "object",
  19588. "required": [
  19589. "messageboardid"
  19590. ],
  19591. "properties": {
  19592. "contactnum": {
  19593. "description": "联系电话",
  19594. "type": "string"
  19595. },
  19596. "createtime": {
  19597. "description": "创建时间",
  19598. "type": "string"
  19599. },
  19600. "message": {
  19601. "description": "留言信息",
  19602. "type": "string"
  19603. },
  19604. "messageboardid": {
  19605. "description": "留言簿ID(SEQ_MessageBoard)",
  19606. "type": "integer"
  19607. },
  19608. "userid": {
  19609. "description": "用户ID",
  19610. "type": "integer"
  19611. }
  19612. }
  19613. },
  19614. "models.MyCoupon": {
  19615. "type": "object",
  19616. "required": [
  19617. "accountid",
  19618. "coupontypeid"
  19619. ],
  19620. "properties": {
  19621. "accountid": {
  19622. "description": "资金账户ID",
  19623. "type": "integer"
  19624. },
  19625. "areauserid": {
  19626. "description": "所属机构",
  19627. "type": "integer"
  19628. },
  19629. "conditionvalue": {
  19630. "description": "条件阈值(可为0)",
  19631. "type": "number"
  19632. },
  19633. "couponcategroy": {
  19634. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19635. "type": "integer"
  19636. },
  19637. "couponname": {
  19638. "description": "优惠券名称",
  19639. "type": "string"
  19640. },
  19641. "coupontypeid": {
  19642. "description": "优惠券类型ID",
  19643. "type": "string"
  19644. },
  19645. "couponvalue": {
  19646. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19647. "type": "number"
  19648. },
  19649. "curfreezeqty": {
  19650. "description": "期末冻结数量",
  19651. "type": "integer"
  19652. },
  19653. "curqty": {
  19654. "description": "期末数量",
  19655. "type": "integer"
  19656. },
  19657. "isgeneral": {
  19658. "description": "是否通用券 - 0:否 1:是",
  19659. "type": "integer"
  19660. },
  19661. "isunusable": {
  19662. "description": "是否不可用",
  19663. "type": "boolean"
  19664. },
  19665. "limitedflag": {
  19666. "description": "是否指定商品 - 0:不限 1:限制",
  19667. "type": "integer"
  19668. },
  19669. "limitedgoodsids": {
  19670. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19671. "type": "string"
  19672. },
  19673. "orifreezeqty": {
  19674. "description": "期初冻结数量",
  19675. "type": "integer"
  19676. },
  19677. "oriqty": {
  19678. "description": "期初数量",
  19679. "type": "integer"
  19680. },
  19681. "reasontype": {
  19682. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19683. "type": "integer"
  19684. },
  19685. "todaydecrease": {
  19686. "description": "今日减少",
  19687. "type": "integer"
  19688. },
  19689. "todayincrease": {
  19690. "description": "今日增加",
  19691. "type": "integer"
  19692. },
  19693. "userid": {
  19694. "description": "用户ID",
  19695. "type": "integer"
  19696. },
  19697. "userscope": {
  19698. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19699. "type": "string"
  19700. }
  19701. }
  19702. },
  19703. "models.MyCouponHold": {
  19704. "type": "object",
  19705. "required": [
  19706. "couponholdid"
  19707. ],
  19708. "properties": {
  19709. "accountid": {
  19710. "description": "资金账户ID",
  19711. "type": "integer"
  19712. },
  19713. "conditionvalue": {
  19714. "description": "条件阈值(可为0)",
  19715. "type": "number"
  19716. },
  19717. "couponcategroy": {
  19718. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19719. "type": "integer"
  19720. },
  19721. "couponholdid": {
  19722. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19723. "type": "string"
  19724. },
  19725. "couponname": {
  19726. "description": "优惠券名称",
  19727. "type": "string"
  19728. },
  19729. "coupontypeid": {
  19730. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19731. "type": "string"
  19732. },
  19733. "couponvalue": {
  19734. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19735. "type": "number"
  19736. },
  19737. "createtime": {
  19738. "description": "创建时间",
  19739. "type": "string"
  19740. },
  19741. "enddate": {
  19742. "description": "结束日期",
  19743. "type": "string"
  19744. },
  19745. "giveapplyid": {
  19746. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19747. "type": "integer"
  19748. },
  19749. "holdstatus": {
  19750. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19751. "type": "integer"
  19752. },
  19753. "isgeneral": {
  19754. "description": "是否通用券 - 0:否 1:是",
  19755. "type": "integer"
  19756. },
  19757. "limitedflag": {
  19758. "description": "是否指定商品 - 0:不限 1:限制",
  19759. "type": "integer"
  19760. },
  19761. "limitedgoodsids": {
  19762. "description": "指定商品IDs[逗号分隔]",
  19763. "type": "string"
  19764. },
  19765. "qty": {
  19766. "description": "数量(按1平铺)",
  19767. "type": "integer"
  19768. },
  19769. "startdate": {
  19770. "description": "开始日期",
  19771. "type": "string"
  19772. },
  19773. "userid": {
  19774. "description": "用户ID",
  19775. "type": "integer"
  19776. },
  19777. "userscope": {
  19778. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19779. "type": "string"
  19780. }
  19781. }
  19782. },
  19783. "models.MyUsedCoupon": {
  19784. "type": "object",
  19785. "required": [
  19786. "coupontypeid",
  19787. "orderid"
  19788. ],
  19789. "properties": {
  19790. "accountid": {
  19791. "description": "资金账户ID(买方)",
  19792. "type": "integer"
  19793. },
  19794. "conditionvalue": {
  19795. "description": "条件阈值(可为0)",
  19796. "type": "number"
  19797. },
  19798. "couponcategroy": {
  19799. "description": "种类 - 1:现金券 2:折扣券",
  19800. "type": "integer"
  19801. },
  19802. "couponname": {
  19803. "description": "优惠券名称",
  19804. "type": "string"
  19805. },
  19806. "coupontypeid": {
  19807. "description": "优惠券类型ID(买方)",
  19808. "type": "string"
  19809. },
  19810. "couponvalue": {
  19811. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  19812. "type": "number"
  19813. },
  19814. "createtime": {
  19815. "description": "创建时间",
  19816. "type": "string"
  19817. },
  19818. "goodsid": {
  19819. "description": "商品ID",
  19820. "type": "integer"
  19821. },
  19822. "handlestatus": {
  19823. "description": "处理状态",
  19824. "type": "integer"
  19825. },
  19826. "marketid": {
  19827. "description": "市场ID",
  19828. "type": "integer"
  19829. },
  19830. "offamount": {
  19831. "description": "优惠金额",
  19832. "type": "number"
  19833. },
  19834. "orderid": {
  19835. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19836. "type": "string"
  19837. },
  19838. "sellaccountid": {
  19839. "description": "资金账户ID(卖方)",
  19840. "type": "integer"
  19841. },
  19842. "tradeamount": {
  19843. "description": "成交金额",
  19844. "type": "number"
  19845. },
  19846. "tradeid": {
  19847. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19848. "type": "string"
  19849. },
  19850. "usedqty": {
  19851. "description": "使用数量",
  19852. "type": "integer"
  19853. }
  19854. }
  19855. },
  19856. "models.OperationPrimaryMenu": {
  19857. "type": "object",
  19858. "properties": {
  19859. "Children": {
  19860. "description": "二级功能菜单",
  19861. "type": "array",
  19862. "items": {
  19863. "$ref": "#/definitions/models.OperationSecondaryMenu"
  19864. }
  19865. },
  19866. "Key": {
  19867. "description": "菜单KEY",
  19868. "type": "string"
  19869. },
  19870. "Label": {
  19871. "description": "菜单标题",
  19872. "type": "string"
  19873. }
  19874. }
  19875. },
  19876. "models.OperationSecondaryMenu": {
  19877. "type": "object",
  19878. "properties": {
  19879. "Key": {
  19880. "description": "菜单KEY",
  19881. "type": "string"
  19882. },
  19883. "Label": {
  19884. "description": "菜单标题",
  19885. "type": "string"
  19886. },
  19887. "TabList": {
  19888. "description": "三级功能菜单",
  19889. "type": "array",
  19890. "items": {
  19891. "$ref": "#/definitions/models.OperationTabMenu"
  19892. }
  19893. }
  19894. }
  19895. },
  19896. "models.OperationTabMenu": {
  19897. "type": "object",
  19898. "properties": {
  19899. "Key": {
  19900. "description": "菜单KEY",
  19901. "type": "string"
  19902. },
  19903. "Label": {
  19904. "description": "菜单标题",
  19905. "type": "string"
  19906. }
  19907. }
  19908. },
  19909. "models.PendingAuditBizModel": {
  19910. "type": "object",
  19911. "properties": {
  19912. "accountid": {
  19913. "description": "现货账户",
  19914. "type": "string"
  19915. },
  19916. "areaname": {
  19917. "description": "所属部门",
  19918. "type": "string"
  19919. },
  19920. "bizid": {
  19921. "description": "业务ID",
  19922. "type": "string"
  19923. },
  19924. "bizname": {
  19925. "description": "业务名称",
  19926. "type": "string"
  19927. },
  19928. "status": {
  19929. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19930. "type": "integer"
  19931. },
  19932. "type": {
  19933. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19934. "type": "integer"
  19935. }
  19936. }
  19937. },
  19938. "models.QhjContract": {
  19939. "type": "object",
  19940. "properties": {
  19941. "contractconfirmtime": {
  19942. "description": "合同确认时间(时间)",
  19943. "type": "string"
  19944. },
  19945. "enumdicname": {
  19946. "description": "单位名称",
  19947. "type": "string"
  19948. },
  19949. "goodscode": {
  19950. "description": "商品代码",
  19951. "type": "string"
  19952. },
  19953. "goodsid": {
  19954. "description": "商品ID [5:融资单]",
  19955. "type": "integer"
  19956. },
  19957. "goodsname": {
  19958. "description": "商品名称",
  19959. "type": "string"
  19960. },
  19961. "goodunitid": {
  19962. "description": "商品单位id",
  19963. "type": "integer"
  19964. },
  19965. "initmargin": {
  19966. "description": "初始保证金(首付款)",
  19967. "type": "number"
  19968. },
  19969. "lenderamount": {
  19970. "description": "贷款金额(总额|订单总额)",
  19971. "type": "number"
  19972. },
  19973. "marginratio": {
  19974. "description": "保证金比率(首付比例)",
  19975. "type": "number"
  19976. },
  19977. "payamount": {
  19978. "description": "已付(已付货款)",
  19979. "type": "number"
  19980. },
  19981. "recoveredmargin": {
  19982. "description": "已追缴保证金",
  19983. "type": "number"
  19984. },
  19985. "remainamount": {
  19986. "description": "合同剩余金额(融资额)",
  19987. "type": "number"
  19988. },
  19989. "scfcontractid": {
  19990. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  19991. "type": "integer"
  19992. },
  19993. "scfcontracttype": {
  19994. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  19995. "type": "integer"
  19996. },
  19997. "totalinterest": {
  19998. "description": "已计总利息(利息)",
  19999. "type": "number"
  20000. },
  20001. "tradeprice": {
  20002. "description": "成交价格(成本价格)",
  20003. "type": "number"
  20004. },
  20005. "userid": {
  20006. "description": "用户ID",
  20007. "type": "integer"
  20008. },
  20009. "username": {
  20010. "description": "用户名称",
  20011. "type": "string"
  20012. },
  20013. "wrqty": {
  20014. "description": "仓单数量(数量)",
  20015. "type": "integer"
  20016. }
  20017. }
  20018. },
  20019. "models.QhjContractLog": {
  20020. "type": "object",
  20021. "properties": {
  20022. "amount": {
  20023. "description": "支付金额",
  20024. "type": "number"
  20025. },
  20026. "amounttype": {
  20027. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  20028. "type": "integer"
  20029. },
  20030. "logid": {
  20031. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20032. "type": "string"
  20033. },
  20034. "remainamount": {
  20035. "description": "剩余货款",
  20036. "type": "number"
  20037. },
  20038. "scfcontractid": {
  20039. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20040. "type": "integer"
  20041. },
  20042. "updatetime": {
  20043. "description": "更新时间",
  20044. "type": "string"
  20045. }
  20046. }
  20047. },
  20048. "models.QhjRSTriggerLog": {
  20049. "type": "object",
  20050. "properties": {
  20051. "accountid": {
  20052. "description": "用户资金账户",
  20053. "type": "integer"
  20054. },
  20055. "accountname": {
  20056. "description": "账号名称(ACCOUNTID对应的名称)",
  20057. "type": "string"
  20058. },
  20059. "currencyid": {
  20060. "description": "币种id",
  20061. "type": "integer"
  20062. },
  20063. "currencyname": {
  20064. "description": "币种名称",
  20065. "type": "string"
  20066. },
  20067. "enumdicname": {
  20068. "description": "单位名称",
  20069. "type": "string"
  20070. },
  20071. "goodscode": {
  20072. "description": "定投商品代码",
  20073. "type": "string"
  20074. },
  20075. "goodsid": {
  20076. "description": "定投商品ID",
  20077. "type": "string"
  20078. },
  20079. "goodsname": {
  20080. "description": "定投商品名称",
  20081. "type": "string"
  20082. },
  20083. "goodunitid": {
  20084. "description": "定投商品单位id",
  20085. "type": "integer"
  20086. },
  20087. "logid": {
  20088. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  20089. "type": "string"
  20090. },
  20091. "regularlycycle": {
  20092. "description": "定投频率 - 1:每周 2:每月",
  20093. "type": "integer"
  20094. },
  20095. "regularlycyclevalue": {
  20096. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20097. "type": "string"
  20098. },
  20099. "regularlymode": {
  20100. "description": "定投方式 - 1:按数量 2:按金额",
  20101. "type": "integer"
  20102. },
  20103. "regularlymodevalue": {
  20104. "description": "定投方式值 - 数量或金额",
  20105. "type": "number"
  20106. },
  20107. "regularlystrategyid": {
  20108. "description": "定投策略ID",
  20109. "type": "integer"
  20110. },
  20111. "retcode": {
  20112. "description": "错误码",
  20113. "type": "string"
  20114. },
  20115. "tradeid": {
  20116. "description": "成交单ID",
  20117. "type": "string"
  20118. },
  20119. "triggeramount": {
  20120. "description": "触发金额",
  20121. "type": "number"
  20122. },
  20123. "triggerqty": {
  20124. "description": "触发数量",
  20125. "type": "number"
  20126. },
  20127. "triggerstatus": {
  20128. "description": "触发状态 - 1:成功 2:失败",
  20129. "type": "integer"
  20130. },
  20131. "triggertime": {
  20132. "description": "触发时间",
  20133. "type": "string"
  20134. },
  20135. "triggertradedate": {
  20136. "description": "触发交易日",
  20137. "type": "string"
  20138. },
  20139. "userid": {
  20140. "description": "所属用户ID",
  20141. "type": "integer"
  20142. },
  20143. "username": {
  20144. "description": "用户名称(userid对应的名称)",
  20145. "type": "string"
  20146. }
  20147. }
  20148. },
  20149. "models.QhjRStrategy": {
  20150. "type": "object",
  20151. "properties": {
  20152. "accountid": {
  20153. "description": "用户资金账户",
  20154. "type": "integer"
  20155. },
  20156. "accountname": {
  20157. "description": "账号名称(ACCOUNTID对应的名称)",
  20158. "type": "string"
  20159. },
  20160. "currencyid": {
  20161. "description": "币种id",
  20162. "type": "integer"
  20163. },
  20164. "currencyname": {
  20165. "description": "币种名称",
  20166. "type": "string"
  20167. },
  20168. "enumdicname": {
  20169. "description": "单位名称",
  20170. "type": "string"
  20171. },
  20172. "goodscode": {
  20173. "description": "定投商品代码",
  20174. "type": "string"
  20175. },
  20176. "goodsid": {
  20177. "description": "定投商品ID",
  20178. "type": "string"
  20179. },
  20180. "goodsname": {
  20181. "description": "定投商品名称",
  20182. "type": "string"
  20183. },
  20184. "goodunitid": {
  20185. "description": "定投商品单位id",
  20186. "type": "integer"
  20187. },
  20188. "lasteffecttradedate": {
  20189. "description": "最新生效交易日",
  20190. "type": "string"
  20191. },
  20192. "laststoptradedate": {
  20193. "description": "最新暂停交易日",
  20194. "type": "string"
  20195. },
  20196. "lasttriggertradedate": {
  20197. "description": "最新触发交易日",
  20198. "type": "string"
  20199. },
  20200. "nexttriggeramount": {
  20201. "description": "下次触发金额",
  20202. "type": "number"
  20203. },
  20204. "nexttriggerdate": {
  20205. "description": "下次触发日期",
  20206. "type": "string"
  20207. },
  20208. "nexttriggerqty": {
  20209. "description": "下次触发数量 [按小数位放大值]",
  20210. "type": "number"
  20211. },
  20212. "regularlycycle": {
  20213. "description": "定投频率 - 1:每周 2:每月",
  20214. "type": "integer"
  20215. },
  20216. "regularlycyclevalue": {
  20217. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20218. "type": "string"
  20219. },
  20220. "regularlymode": {
  20221. "description": "定投方式 - 1:按数量 2:按金额",
  20222. "type": "integer"
  20223. },
  20224. "regularlymodevalue": {
  20225. "description": "定投方式值 - 数量或金额",
  20226. "type": "number"
  20227. },
  20228. "regularlystrategyid": {
  20229. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  20230. "type": "integer"
  20231. },
  20232. "regularlystrategystatus": {
  20233. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  20234. "type": "integer"
  20235. },
  20236. "remark": {
  20237. "description": "备注",
  20238. "type": "string"
  20239. },
  20240. "triggersuccesstimes": {
  20241. "description": "累计定投成功次数",
  20242. "type": "string"
  20243. },
  20244. "triggertotalamount": {
  20245. "description": "累计定投金额(成功)",
  20246. "type": "number"
  20247. },
  20248. "triggertotalqty": {
  20249. "description": "累计定投数量(成功) [按小数位放大值]",
  20250. "type": "number"
  20251. },
  20252. "triggertotaltimes": {
  20253. "description": "累计定投总次数",
  20254. "type": "string"
  20255. },
  20256. "updatesrc": {
  20257. "description": "更新来源 - 1:管理端 2:终端",
  20258. "type": "integer"
  20259. },
  20260. "updatetime": {
  20261. "description": "更新时间",
  20262. "type": "string"
  20263. },
  20264. "updatorid": {
  20265. "description": "更新人",
  20266. "type": "string"
  20267. },
  20268. "userid": {
  20269. "description": "所属用户ID",
  20270. "type": "integer"
  20271. },
  20272. "username": {
  20273. "description": "用户名称(userid对应的名称)",
  20274. "type": "string"
  20275. }
  20276. }
  20277. },
  20278. "models.QueryErrorInfosRsp": {
  20279. "type": "object",
  20280. "required": [
  20281. "errorid"
  20282. ],
  20283. "properties": {
  20284. "description": {
  20285. "description": "异常描述",
  20286. "type": "string"
  20287. },
  20288. "errorcode": {
  20289. "description": "异常代码",
  20290. "type": "string"
  20291. },
  20292. "errorid": {
  20293. "description": "异常ID",
  20294. "type": "integer"
  20295. },
  20296. "modulecode": {
  20297. "description": "所属模块",
  20298. "type": "string"
  20299. },
  20300. "operatecode": {
  20301. "description": "所属操作",
  20302. "type": "string"
  20303. },
  20304. "rownumber": {
  20305. "description": "行号",
  20306. "type": "string"
  20307. }
  20308. }
  20309. },
  20310. "models.QueryHedgeOrderDetailRsp": {
  20311. "type": "object",
  20312. "properties": {
  20313. "accountid": {
  20314. "description": "账户ID",
  20315. "type": "integer"
  20316. },
  20317. "buyorsell": {
  20318. "description": "买卖 - 0:买 1:卖",
  20319. "type": "integer"
  20320. },
  20321. "cancellogincode": {
  20322. "description": "撤单人",
  20323. "type": "string"
  20324. },
  20325. "channelbuildtype": {
  20326. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  20327. "type": "integer"
  20328. },
  20329. "channelinnerorderstatus": {
  20330. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  20331. "type": "integer"
  20332. },
  20333. "channeloperatetype": {
  20334. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  20335. "type": "integer"
  20336. },
  20337. "closetype": {
  20338. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20339. "type": "integer"
  20340. },
  20341. "curexchangerate": {
  20342. "description": "当前汇率",
  20343. "type": "number"
  20344. },
  20345. "exchangefullname": {
  20346. "description": "外部交易所全称",
  20347. "type": "string"
  20348. },
  20349. "goodscode": {
  20350. "description": "商品代码(内部)",
  20351. "type": "string"
  20352. },
  20353. "goodsid": {
  20354. "description": "商品ID",
  20355. "type": "integer"
  20356. },
  20357. "goodsname": {
  20358. "description": "商品名称",
  20359. "type": "string"
  20360. },
  20361. "marketid": {
  20362. "description": "市场ID",
  20363. "type": "integer"
  20364. },
  20365. "openfreezemargin": {
  20366. "description": "冻结保证金(冻结交易金额)",
  20367. "type": "number"
  20368. },
  20369. "orderid": {
  20370. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20371. "type": "string"
  20372. },
  20373. "orderlogincode": {
  20374. "description": "委托人",
  20375. "type": "string"
  20376. },
  20377. "orderprice": {
  20378. "description": "委托价格(账户)",
  20379. "type": "number"
  20380. },
  20381. "orderqty": {
  20382. "description": "委托数量",
  20383. "type": "integer"
  20384. },
  20385. "ordertime": {
  20386. "description": "委托时间",
  20387. "type": "string"
  20388. },
  20389. "pricemode": {
  20390. "description": "取价方式 - 1:市价 2: 限价",
  20391. "type": "integer"
  20392. },
  20393. "tradedate": {
  20394. "description": "交易日(yyyyMMdd)",
  20395. "type": "string"
  20396. },
  20397. "tradeqty": {
  20398. "description": "成交数量",
  20399. "type": "integer"
  20400. }
  20401. }
  20402. },
  20403. "models.QueryHedgeTradeDetailRsp": {
  20404. "type": "object",
  20405. "properties": {
  20406. "accountid": {
  20407. "description": "账号ID",
  20408. "type": "integer"
  20409. },
  20410. "buyorsell": {
  20411. "description": "方向 - 0:买 1:卖",
  20412. "type": "integer"
  20413. },
  20414. "channelbuildtype": {
  20415. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20416. "type": "integer"
  20417. },
  20418. "closecharge": {
  20419. "description": "平仓手续费(账户)",
  20420. "type": "number"
  20421. },
  20422. "closecharge2": {
  20423. "description": "平仓手续费(商品)",
  20424. "type": "number"
  20425. },
  20426. "closepl": {
  20427. "description": "平仓盈亏(账户)",
  20428. "type": "number"
  20429. },
  20430. "closepl2": {
  20431. "description": "平仓盈亏(商品)",
  20432. "type": "number"
  20433. },
  20434. "closepl3": {
  20435. "description": "平仓盈亏(账户)(逐笔)",
  20436. "type": "number"
  20437. },
  20438. "closepl4": {
  20439. "description": "平仓盈亏(商品)(逐笔)",
  20440. "type": "number"
  20441. },
  20442. "closetype": {
  20443. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20444. "type": "integer"
  20445. },
  20446. "curexchangerate": {
  20447. "description": "当前汇率",
  20448. "type": "number"
  20449. },
  20450. "exchangefullname": {
  20451. "description": "外部交易所全称",
  20452. "type": "string"
  20453. },
  20454. "goodscode": {
  20455. "description": "商品代码(内部)",
  20456. "type": "string"
  20457. },
  20458. "goodsid": {
  20459. "description": "商品ID",
  20460. "type": "integer"
  20461. },
  20462. "goodsname": {
  20463. "description": "商品名称",
  20464. "type": "string"
  20465. },
  20466. "marketid": {
  20467. "description": "市场ID",
  20468. "type": "integer"
  20469. },
  20470. "opencharge": {
  20471. "description": "建仓手续费(账户)",
  20472. "type": "number"
  20473. },
  20474. "opencharge2": {
  20475. "description": "建仓手续费(商品)",
  20476. "type": "number"
  20477. },
  20478. "orderid": {
  20479. "description": "委托单号",
  20480. "type": "string"
  20481. },
  20482. "orderlogincode": {
  20483. "description": "委托人",
  20484. "type": "string"
  20485. },
  20486. "tradeamount": {
  20487. "description": "成交金额(账户)",
  20488. "type": "number"
  20489. },
  20490. "tradedate": {
  20491. "description": "交易日(yyyyMMdd)",
  20492. "type": "string"
  20493. },
  20494. "tradeid": {
  20495. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20496. "type": "string"
  20497. },
  20498. "tradeprice": {
  20499. "description": "成交价格",
  20500. "type": "number"
  20501. },
  20502. "tradeqty": {
  20503. "description": "成交数量",
  20504. "type": "integer"
  20505. },
  20506. "tradetime": {
  20507. "description": "成交时间",
  20508. "type": "string"
  20509. },
  20510. "tradetype": {
  20511. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  20512. "type": "integer"
  20513. }
  20514. }
  20515. },
  20516. "models.QuotePrimaryMenu": {
  20517. "type": "object",
  20518. "properties": {
  20519. "Index": {
  20520. "description": "序号",
  20521. "type": "integer"
  20522. },
  20523. "Key": {
  20524. "description": "键名",
  20525. "type": "string"
  20526. },
  20527. "Name": {
  20528. "description": "菜单名称",
  20529. "type": "string"
  20530. },
  20531. "SubMenus": {
  20532. "description": "子菜单",
  20533. "type": "array",
  20534. "items": {
  20535. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  20536. }
  20537. },
  20538. "SubTitleType": {
  20539. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  20540. "type": "integer"
  20541. },
  20542. "TradeModes": {
  20543. "description": "包含市场交易类型",
  20544. "type": "string"
  20545. }
  20546. }
  20547. },
  20548. "models.QuoteSecondaryMenu": {
  20549. "type": "object",
  20550. "properties": {
  20551. "ExExchangeCode": {
  20552. "description": "外部交易所代码",
  20553. "type": "string"
  20554. },
  20555. "ExExchangeID": {
  20556. "description": "外部交易所ID",
  20557. "type": "integer"
  20558. },
  20559. "GoodsGroupIDs": {
  20560. "description": "商品组ID列表",
  20561. "type": "array",
  20562. "items": {
  20563. "type": "integer"
  20564. }
  20565. },
  20566. "Index": {
  20567. "description": "序号",
  20568. "type": "integer"
  20569. },
  20570. "MarketID": {
  20571. "description": "市场ID",
  20572. "type": "integer"
  20573. },
  20574. "MenuTitle": {
  20575. "description": "菜单标题(市场名称或外部交易所名称)",
  20576. "type": "string"
  20577. },
  20578. "TradeMode": {
  20579. "description": "交易模式",
  20580. "type": "integer"
  20581. }
  20582. }
  20583. },
  20584. "models.SearchGoods": {
  20585. "type": "object",
  20586. "required": [
  20587. "goodscode",
  20588. "goodsid",
  20589. "goodsname",
  20590. "marketid",
  20591. "trademode"
  20592. ],
  20593. "properties": {
  20594. "goodscode": {
  20595. "description": "商品代码(内部)",
  20596. "type": "string"
  20597. },
  20598. "goodsid": {
  20599. "description": "商品ID(自增ID SEQ_GOODS)",
  20600. "type": "integer"
  20601. },
  20602. "goodsname": {
  20603. "description": "商品名称",
  20604. "type": "string"
  20605. },
  20606. "marketid": {
  20607. "description": "所属市场ID",
  20608. "type": "integer"
  20609. },
  20610. "marketname": {
  20611. "description": "市场名称",
  20612. "type": "string"
  20613. },
  20614. "trademode": {
  20615. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20616. "type": "integer"
  20617. }
  20618. }
  20619. },
  20620. "models.Systemparam": {
  20621. "type": "object",
  20622. "required": [
  20623. "paramcode"
  20624. ],
  20625. "properties": {
  20626. "loginid": {
  20627. "description": "更新用户账号,登录账号",
  20628. "type": "string"
  20629. },
  20630. "modifyflag": {
  20631. "description": "修改标志0 不允许修改 1 允许修改",
  20632. "type": "integer"
  20633. },
  20634. "paramcode": {
  20635. "description": "参数代码",
  20636. "type": "string"
  20637. },
  20638. "paramname": {
  20639. "description": "参数名",
  20640. "type": "string"
  20641. },
  20642. "paramtype": {
  20643. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  20644. "type": "integer"
  20645. },
  20646. "paramvalue": {
  20647. "description": "参数值",
  20648. "type": "string"
  20649. },
  20650. "paramvalue2": {
  20651. "description": "参数值(CLOB)",
  20652. "type": "string"
  20653. },
  20654. "regexpress": {
  20655. "description": "正则表达式",
  20656. "type": "string"
  20657. },
  20658. "remark": {
  20659. "description": "备注",
  20660. "type": "string"
  20661. },
  20662. "serverip": {
  20663. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  20664. "type": "string"
  20665. },
  20666. "showflag": {
  20667. "description": "是否显示0 不显示 1 显示",
  20668. "type": "integer"
  20669. },
  20670. "updatetime": {
  20671. "description": "更新时间",
  20672. "type": "string"
  20673. },
  20674. "userid": {
  20675. "description": "更新用户ID",
  20676. "type": "integer"
  20677. }
  20678. }
  20679. },
  20680. "models.Szdz3convertconfig": {
  20681. "type": "object",
  20682. "required": [
  20683. "converttype",
  20684. "innergoodsid",
  20685. "outergoodscode"
  20686. ],
  20687. "properties": {
  20688. "canin": {
  20689. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  20690. "type": "integer"
  20691. },
  20692. "canout": {
  20693. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  20694. "type": "integer"
  20695. },
  20696. "converttype": {
  20697. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  20698. "type": "integer"
  20699. },
  20700. "createtime": {
  20701. "description": "创建时间",
  20702. "type": "string"
  20703. },
  20704. "creatorid": {
  20705. "description": "创建人",
  20706. "type": "integer"
  20707. },
  20708. "daymaxvalue": {
  20709. "description": "当日最大转入限制",
  20710. "type": "number"
  20711. },
  20712. "freezedays": {
  20713. "description": "冻结天数 [5:花生米转交易]",
  20714. "type": "integer"
  20715. },
  20716. "innergoodsid": {
  20717. "description": "内部商品ID[交易]",
  20718. "type": "integer"
  20719. },
  20720. "inratio": {
  20721. "description": "目标值",
  20722. "type": "integer"
  20723. },
  20724. "modifierid": {
  20725. "description": "修改人",
  20726. "type": "integer"
  20727. },
  20728. "modifytime": {
  20729. "description": "修改时间",
  20730. "type": "string"
  20731. },
  20732. "outergoodscode": {
  20733. "description": "外部商品代码[JD\\PD]",
  20734. "type": "string"
  20735. },
  20736. "outratio": {
  20737. "description": "源值",
  20738. "type": "integer"
  20739. },
  20740. "pddecimalplace": {
  20741. "description": "PD小数位",
  20742. "type": "integer"
  20743. },
  20744. "timemaxvalue": {
  20745. "description": "单次最大转入限制",
  20746. "type": "number"
  20747. },
  20748. "timeminvalue": {
  20749. "description": "单次最小转入限制",
  20750. "type": "number"
  20751. }
  20752. }
  20753. },
  20754. "models.Szdz3searchwhitelist": {
  20755. "type": "object",
  20756. "required": [
  20757. "userid"
  20758. ],
  20759. "properties": {
  20760. "createtime": {
  20761. "description": "创建时间",
  20762. "type": "string"
  20763. },
  20764. "creatorid": {
  20765. "description": "创建人",
  20766. "type": "integer"
  20767. },
  20768. "modifierid": {
  20769. "description": "修改人",
  20770. "type": "integer"
  20771. },
  20772. "modifytime": {
  20773. "description": "修改时间",
  20774. "type": "string"
  20775. },
  20776. "userid": {
  20777. "description": "用户ID",
  20778. "type": "integer"
  20779. }
  20780. }
  20781. },
  20782. "models.Taaccount": {
  20783. "type": "object",
  20784. "required": [
  20785. "accountid",
  20786. "userid"
  20787. ],
  20788. "properties": {
  20789. "accountflag": {
  20790. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  20791. "type": "integer"
  20792. },
  20793. "accountid": {
  20794. "description": "资金账户ID",
  20795. "type": "integer"
  20796. },
  20797. "accountname": {
  20798. "description": "账户名称",
  20799. "type": "string"
  20800. },
  20801. "balance": {
  20802. "description": "期初余额",
  20803. "type": "number"
  20804. },
  20805. "capitalbalance": {
  20806. "description": "本金余额[外部子账户实际出入金余额]",
  20807. "type": "number"
  20808. },
  20809. "changeflag": {
  20810. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  20811. "type": "integer"
  20812. },
  20813. "changetime": {
  20814. "description": "账户状态变更时间",
  20815. "type": "string"
  20816. },
  20817. "closepl": {
  20818. "description": "今日平仓盈亏",
  20819. "type": "number"
  20820. },
  20821. "creditdecrease": {
  20822. "description": "今日授信减少",
  20823. "type": "number"
  20824. },
  20825. "creditincrease": {
  20826. "description": "今日授信增加",
  20827. "type": "number"
  20828. },
  20829. "currencyid": {
  20830. "description": "货币ID",
  20831. "type": "integer"
  20832. },
  20833. "currentbalance": {
  20834. "description": "期末余额",
  20835. "type": "number"
  20836. },
  20837. "freezecharge": {
  20838. "description": "手续费冻结",
  20839. "type": "number"
  20840. },
  20841. "freezemargin": {
  20842. "description": "冻结保证金",
  20843. "type": "number"
  20844. },
  20845. "fromaccountid": {
  20846. "description": "所属上级账户",
  20847. "type": "integer"
  20848. },
  20849. "inamount": {
  20850. "description": "今日入金金额(包括三方入金)",
  20851. "type": "number"
  20852. },
  20853. "ismain": {
  20854. "description": "是否母账号 0:不是母账户 1:是母账户",
  20855. "type": "integer"
  20856. },
  20857. "ismarketaccount": {
  20858. "description": "是否机构接单账号 0:不是 1:是",
  20859. "type": "integer"
  20860. },
  20861. "isreckonaccount": {
  20862. "description": "是否机构分润账号 0:不是 1:是",
  20863. "type": "integer"
  20864. },
  20865. "mortgagecredit": {
  20866. "description": "授信金额",
  20867. "type": "number"
  20868. },
  20869. "orifreezecharge": {
  20870. "description": "期初手续费冻结",
  20871. "type": "number"
  20872. },
  20873. "orifreezemargin": {
  20874. "description": "期初冻结保证金",
  20875. "type": "number"
  20876. },
  20877. "orimortgagecredit": {
  20878. "description": "期初授信金额",
  20879. "type": "number"
  20880. },
  20881. "oriothercredit": {
  20882. "description": "期初其它授信金额",
  20883. "type": "number"
  20884. },
  20885. "oriotherfreezemargin": {
  20886. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20887. "type": "number"
  20888. },
  20889. "orioutamountfreeze": {
  20890. "description": "期初出金冻结",
  20891. "type": "number"
  20892. },
  20893. "oriusedmargin": {
  20894. "description": "期初占用保证金",
  20895. "type": "number"
  20896. },
  20897. "othercredit": {
  20898. "description": "其它授信金额",
  20899. "type": "number"
  20900. },
  20901. "othercreditdecrease": {
  20902. "description": "今日其它授信减少",
  20903. "type": "number"
  20904. },
  20905. "othercreditincrease": {
  20906. "description": "今日其它授信增加",
  20907. "type": "number"
  20908. },
  20909. "otherfreezemargin": {
  20910. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20911. "type": "number"
  20912. },
  20913. "otherincome": {
  20914. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  20915. "type": "number"
  20916. },
  20917. "otherpay": {
  20918. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  20919. "type": "number"
  20920. },
  20921. "outamount": {
  20922. "description": "今日出金金额(包括三方出金)",
  20923. "type": "number"
  20924. },
  20925. "outamountfreeze": {
  20926. "description": "出金冻结",
  20927. "type": "number"
  20928. },
  20929. "outthreshold": {
  20930. "description": "出金阈值",
  20931. "type": "number"
  20932. },
  20933. "parentaccountid": {
  20934. "description": "所属根账号",
  20935. "type": "integer"
  20936. },
  20937. "paycharge": {
  20938. "description": "今日手续费支出",
  20939. "type": "number"
  20940. },
  20941. "relatedaccountstatus": {
  20942. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  20943. "type": "integer"
  20944. },
  20945. "relateduserid": {
  20946. "description": "关联用户",
  20947. "type": "integer"
  20948. },
  20949. "serivcegroup": {
  20950. "description": "服务分组",
  20951. "type": "integer"
  20952. },
  20953. "signstatus": {
  20954. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20955. "type": "integer"
  20956. },
  20957. "sublevelpath": {
  20958. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20959. "type": "string"
  20960. },
  20961. "taaccounttype": {
  20962. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20963. "type": "integer"
  20964. },
  20965. "thirdinamount": {
  20966. "description": "今日三方入金",
  20967. "type": "number"
  20968. },
  20969. "thirdoutamount": {
  20970. "description": "今日三方出金",
  20971. "type": "number"
  20972. },
  20973. "tradestatus": {
  20974. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20975. "type": "integer"
  20976. },
  20977. "tradestatuschangetime": {
  20978. "description": "激活时间",
  20979. "type": "string"
  20980. },
  20981. "transferamount": {
  20982. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20983. "type": "number"
  20984. },
  20985. "usedmargin": {
  20986. "description": "占用保证金",
  20987. "type": "number"
  20988. },
  20989. "userid": {
  20990. "description": "用户ID",
  20991. "type": "integer"
  20992. }
  20993. }
  20994. },
  20995. "models.Tablecolumnconfig": {
  20996. "type": "object",
  20997. "required": [
  20998. "autoid"
  20999. ],
  21000. "properties": {
  21001. "aligntype": {
  21002. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  21003. "type": "integer"
  21004. },
  21005. "autoid": {
  21006. "description": "AutoID",
  21007. "type": "integer"
  21008. },
  21009. "columnfield": {
  21010. "description": "列字段",
  21011. "type": "string"
  21012. },
  21013. "columntitle": {
  21014. "description": "列Title",
  21015. "type": "string"
  21016. },
  21017. "columnwidth": {
  21018. "description": "列宽",
  21019. "type": "string"
  21020. },
  21021. "formatterstring": {
  21022. "description": "格式化字符",
  21023. "type": "string"
  21024. },
  21025. "formattertype": {
  21026. "description": "格式化类型",
  21027. "type": "string"
  21028. },
  21029. "groupname": {
  21030. "description": "表头分组名称",
  21031. "type": "string"
  21032. },
  21033. "isshow": {
  21034. "description": "是否显示 - 0:不显示 1:显示",
  21035. "type": "integer"
  21036. },
  21037. "needsummary": {
  21038. "description": "是否需要汇总 - 0:不需要 1:需要",
  21039. "type": "integer"
  21040. },
  21041. "orderindex": {
  21042. "description": "顺序",
  21043. "type": "integer"
  21044. },
  21045. "remark": {
  21046. "description": "备注",
  21047. "type": "string"
  21048. },
  21049. "summarytype": {
  21050. "description": "汇总类型 - 1:加总 2:最后一个",
  21051. "type": "integer"
  21052. },
  21053. "tablekey": {
  21054. "description": "列表Key",
  21055. "type": "string"
  21056. }
  21057. }
  21058. },
  21059. "models.Useraccount": {
  21060. "type": "object",
  21061. "required": [
  21062. "userid"
  21063. ],
  21064. "properties": {
  21065. "accountname": {
  21066. "description": "账户名称(机构名称)",
  21067. "type": "string"
  21068. },
  21069. "accountstatus": {
  21070. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21071. "type": "integer"
  21072. },
  21073. "auditremark": {
  21074. "description": "审核备注",
  21075. "type": "string"
  21076. },
  21077. "audittime": {
  21078. "description": "审核时间",
  21079. "type": "string"
  21080. },
  21081. "audituserid": {
  21082. "description": "审核人",
  21083. "type": "integer"
  21084. },
  21085. "broker": {
  21086. "description": "所属经纪人ID",
  21087. "type": "integer"
  21088. },
  21089. "canceltime": {
  21090. "description": "销户时间",
  21091. "type": "string"
  21092. },
  21093. "canceluserid": {
  21094. "description": "销户人",
  21095. "type": "integer"
  21096. },
  21097. "createtime": {
  21098. "description": "创建时间",
  21099. "type": "string"
  21100. },
  21101. "creatorid": {
  21102. "description": "创建人",
  21103. "type": "integer"
  21104. },
  21105. "hasauth": {
  21106. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21107. "type": "integer"
  21108. },
  21109. "isanonymous": {
  21110. "description": "是否匿名下单 - 0:否 1:是",
  21111. "type": "integer"
  21112. },
  21113. "maxinvestornum": {
  21114. "description": "最大用户数(经纪会员下投资者个数)",
  21115. "type": "integer"
  21116. },
  21117. "memberuserid": {
  21118. "description": "所属会员ID",
  21119. "type": "integer"
  21120. },
  21121. "modifierid": {
  21122. "description": "修改人",
  21123. "type": "integer"
  21124. },
  21125. "modifyremark": {
  21126. "description": "变更备注",
  21127. "type": "string"
  21128. },
  21129. "modifystatus": {
  21130. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21131. "type": "integer"
  21132. },
  21133. "modifytime": {
  21134. "description": "修改时间",
  21135. "type": "string"
  21136. },
  21137. "parentuserid": {
  21138. "description": "所属机构ID",
  21139. "type": "integer"
  21140. },
  21141. "reckonaccountid": {
  21142. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21143. "type": "integer"
  21144. },
  21145. "refercount": {
  21146. "description": "推荐总人数",
  21147. "type": "integer"
  21148. },
  21149. "refereeuserid": {
  21150. "description": "推荐人ID",
  21151. "type": "integer"
  21152. },
  21153. "refernum": {
  21154. "description": "推荐码",
  21155. "type": "string"
  21156. },
  21157. "subarealevelpath": {
  21158. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21159. "type": "string"
  21160. },
  21161. "userid": {
  21162. "description": "用户ID",
  21163. "type": "integer"
  21164. },
  21165. "usertype": {
  21166. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21167. "type": "integer"
  21168. }
  21169. }
  21170. },
  21171. "models.Userfavoritegoods": {
  21172. "type": "object",
  21173. "required": [
  21174. "goodsid"
  21175. ],
  21176. "properties": {
  21177. "goodsid": {
  21178. "description": "商品ID",
  21179. "type": "integer"
  21180. }
  21181. }
  21182. },
  21183. "models.Userinfo": {
  21184. "type": "object",
  21185. "required": [
  21186. "userid"
  21187. ],
  21188. "properties": {
  21189. "address": {
  21190. "description": "地址",
  21191. "type": "string"
  21192. },
  21193. "attachment1": {
  21194. "description": "附件1",
  21195. "type": "string"
  21196. },
  21197. "attachment2": {
  21198. "description": "附件2",
  21199. "type": "string"
  21200. },
  21201. "bankaccount": {
  21202. "description": "银行帐号 (加密存储)",
  21203. "type": "string"
  21204. },
  21205. "bankaccountname": {
  21206. "description": "收款人名称",
  21207. "type": "string"
  21208. },
  21209. "bankcardfrontphotourl": {
  21210. "description": "银行卡正面照地址",
  21211. "type": "string"
  21212. },
  21213. "bankid": {
  21214. "description": "银行编码",
  21215. "type": "string"
  21216. },
  21217. "bankname": {
  21218. "description": "银行名称",
  21219. "type": "string"
  21220. },
  21221. "biznature": {
  21222. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21223. "type": "integer"
  21224. },
  21225. "bizscope": {
  21226. "description": "企业经营范围(企业)",
  21227. "type": "string"
  21228. },
  21229. "cardbackphotourl": {
  21230. "description": "证件背面图片地址",
  21231. "type": "string"
  21232. },
  21233. "cardfrontphotourl": {
  21234. "description": "证件正面图片地址",
  21235. "type": "string"
  21236. },
  21237. "cardnum": {
  21238. "description": "证件号码(加密存储)",
  21239. "type": "string"
  21240. },
  21241. "cardtypeid": {
  21242. "description": "证件类型ID",
  21243. "type": "integer"
  21244. },
  21245. "cityid": {
  21246. "description": "市",
  21247. "type": "integer"
  21248. },
  21249. "company": {
  21250. "description": "公司(个人)",
  21251. "type": "string"
  21252. },
  21253. "contactname": {
  21254. "description": "联系人",
  21255. "type": "string"
  21256. },
  21257. "countryid": {
  21258. "description": "国家",
  21259. "type": "integer"
  21260. },
  21261. "createtime": {
  21262. "description": "创建时间",
  21263. "type": "string"
  21264. },
  21265. "creatorid": {
  21266. "description": "创建人",
  21267. "type": "integer"
  21268. },
  21269. "customername": {
  21270. "description": "客户名称(企业名称)",
  21271. "type": "string"
  21272. },
  21273. "districtid": {
  21274. "description": "地区",
  21275. "type": "integer"
  21276. },
  21277. "email": {
  21278. "description": "邮件(加密存储)",
  21279. "type": "string"
  21280. },
  21281. "fax": {
  21282. "description": "传真(加密存储)",
  21283. "type": "string"
  21284. },
  21285. "halfbodyphotourl": {
  21286. "description": "半身照地址",
  21287. "type": "string"
  21288. },
  21289. "hasencrypt": {
  21290. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21291. "type": "integer"
  21292. },
  21293. "headurl": {
  21294. "description": "头像地址",
  21295. "type": "string"
  21296. },
  21297. "legalcardbackphotourl": {
  21298. "description": "法人身份证背面照地址",
  21299. "type": "string"
  21300. },
  21301. "legalcardfrontphotourl": {
  21302. "description": "法人身份证正面照地址",
  21303. "type": "string"
  21304. },
  21305. "legalpersonname": {
  21306. "description": "法人姓名(企业)",
  21307. "type": "string"
  21308. },
  21309. "mobile": {
  21310. "description": "手机号码(加密存储)",
  21311. "type": "string"
  21312. },
  21313. "mobile2": {
  21314. "description": "手机号码[明文-尚志]",
  21315. "type": "string"
  21316. },
  21317. "modifierid": {
  21318. "description": "修改人",
  21319. "type": "integer"
  21320. },
  21321. "modifiertime": {
  21322. "description": "修改时间",
  21323. "type": "string"
  21324. },
  21325. "needinvoice": {
  21326. "description": "是否需要发票 - 0:不需要 1:需要",
  21327. "type": "integer"
  21328. },
  21329. "nickname": {
  21330. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  21331. "type": "string"
  21332. },
  21333. "openmode": {
  21334. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  21335. "type": "integer"
  21336. },
  21337. "otherurl": {
  21338. "description": "其它图片地址[使用分号分隔]",
  21339. "type": "string"
  21340. },
  21341. "postalcode": {
  21342. "description": "邮政编码",
  21343. "type": "string"
  21344. },
  21345. "provinceid": {
  21346. "description": "省",
  21347. "type": "integer"
  21348. },
  21349. "qq": {
  21350. "description": "QQ(加密存储",
  21351. "type": "string"
  21352. },
  21353. "remark": {
  21354. "description": "备注",
  21355. "type": "string"
  21356. },
  21357. "sex": {
  21358. "description": "用户性别 0: 女 1: 男",
  21359. "type": "integer"
  21360. },
  21361. "signpdfurl": {
  21362. "description": "签约pdf文件",
  21363. "type": "string"
  21364. },
  21365. "telphone": {
  21366. "description": "联系电话(加密存储)",
  21367. "type": "string"
  21368. },
  21369. "userid": {
  21370. "description": "用户ID",
  21371. "type": "integer"
  21372. },
  21373. "userinfotype": {
  21374. "description": "用户信息类型 - 1:个人 2:企业",
  21375. "type": "integer"
  21376. },
  21377. "userstatus": {
  21378. "description": "用户状态 - 1:正常 2:注销",
  21379. "type": "integer"
  21380. },
  21381. "usertype": {
  21382. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21383. "type": "integer"
  21384. },
  21385. "wechat": {
  21386. "description": "微信(加密存储)",
  21387. "type": "string"
  21388. },
  21389. "wskhinfo": {
  21390. "description": "开户申请信息(JSON)",
  21391. "type": "string"
  21392. }
  21393. }
  21394. },
  21395. "models.WRSConverTDetail": {
  21396. "type": "object",
  21397. "properties": {
  21398. "convertratio": {
  21399. "description": "套保系数",
  21400. "type": "number"
  21401. },
  21402. "deliverygoodscode": {
  21403. "description": "现货商品代码",
  21404. "type": "string"
  21405. },
  21406. "deliverygoodsid": {
  21407. "description": "现货品种ID",
  21408. "type": "integer"
  21409. },
  21410. "deliverygoodsname": {
  21411. "description": "现货商品名称",
  21412. "type": "string"
  21413. },
  21414. "enumdicname": {
  21415. "description": "单位名称",
  21416. "type": "string"
  21417. },
  21418. "goodsunitid": {
  21419. "description": "套保品种单位id",
  21420. "type": "integer"
  21421. },
  21422. "middlegoodscode": {
  21423. "description": "套保品种代码",
  21424. "type": "string"
  21425. },
  21426. "middlegoodsid": {
  21427. "description": "套保品种ID",
  21428. "type": "integer"
  21429. },
  21430. "middlegoodsname": {
  21431. "description": "套保品种名称",
  21432. "type": "string"
  21433. },
  21434. "modifytime": {
  21435. "description": "修改时间",
  21436. "type": "string"
  21437. },
  21438. "wrstandardid": {
  21439. "description": "品类ID",
  21440. "type": "integer"
  21441. }
  21442. }
  21443. },
  21444. "models.WRStandardInfo": {
  21445. "type": "object",
  21446. "required": [
  21447. "wrstandardid"
  21448. ],
  21449. "properties": {
  21450. "areauserid": {
  21451. "description": "所属机构",
  21452. "type": "integer"
  21453. },
  21454. "convertfactor": {
  21455. "description": "标仓系数",
  21456. "type": "number"
  21457. },
  21458. "createtime": {
  21459. "description": "创建时间",
  21460. "type": "string"
  21461. },
  21462. "creatorid": {
  21463. "description": "创建人",
  21464. "type": "integer"
  21465. },
  21466. "deliverygoodsid": {
  21467. "description": "品种ID",
  21468. "type": "integer"
  21469. },
  21470. "deliverygoodsname": {
  21471. "description": "交割商品名称",
  21472. "type": "string"
  21473. },
  21474. "factoryitemjson": {
  21475. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  21476. "type": "string"
  21477. },
  21478. "isvalid": {
  21479. "description": "是否有效 - 0:无效 1:有效",
  21480. "type": "integer"
  21481. },
  21482. "minivalue": {
  21483. "description": "最小变动值",
  21484. "type": "integer"
  21485. },
  21486. "minivaluedp": {
  21487. "description": "最小变动值小数位",
  21488. "type": "integer"
  21489. },
  21490. "realminivalue": {
  21491. "description": "实际最小变动值",
  21492. "type": "integer"
  21493. },
  21494. "realminivaluedp": {
  21495. "description": "实际最小变动值小数位",
  21496. "type": "integer"
  21497. },
  21498. "remark": {
  21499. "description": "备注",
  21500. "type": "string"
  21501. },
  21502. "unitid": {
  21503. "description": "单位ID",
  21504. "type": "integer"
  21505. },
  21506. "unitname": {
  21507. "description": "单位",
  21508. "type": "string"
  21509. },
  21510. "updatetime": {
  21511. "description": "更新时间",
  21512. "type": "string"
  21513. },
  21514. "updatorid": {
  21515. "description": "更新人",
  21516. "type": "integer"
  21517. },
  21518. "wrsstatus": {
  21519. "description": "状态 - 作废 - 0:未激活 1:正常",
  21520. "type": "integer"
  21521. },
  21522. "wrstandardcode": {
  21523. "description": "现货品类代码",
  21524. "type": "string"
  21525. },
  21526. "wrstandardid": {
  21527. "description": "现货品类ID(SEQ_WRSTANDARD)",
  21528. "type": "integer"
  21529. },
  21530. "wrstandardname": {
  21531. "description": "现货品类名称",
  21532. "type": "string"
  21533. }
  21534. }
  21535. },
  21536. "models.Warehouseinfo": {
  21537. "type": "object",
  21538. "required": [
  21539. "autoid",
  21540. "warehousecode"
  21541. ],
  21542. "properties": {
  21543. "address": {
  21544. "description": "详细地址",
  21545. "type": "string"
  21546. },
  21547. "areauserid": {
  21548. "description": "所属机构",
  21549. "type": "integer"
  21550. },
  21551. "autoid": {
  21552. "description": "自增ID",
  21553. "type": "integer"
  21554. },
  21555. "cityid": {
  21556. "description": "市",
  21557. "type": "integer"
  21558. },
  21559. "contactname": {
  21560. "description": "联系人",
  21561. "type": "string"
  21562. },
  21563. "contactnum": {
  21564. "description": "联系电话",
  21565. "type": "string"
  21566. },
  21567. "countryid": {
  21568. "description": "国家",
  21569. "type": "integer"
  21570. },
  21571. "createtime": {
  21572. "description": "创建时间",
  21573. "type": "string"
  21574. },
  21575. "districtid": {
  21576. "description": "区",
  21577. "type": "integer"
  21578. },
  21579. "hasvideo": {
  21580. "description": "是否有视频 - 0:无 1:有",
  21581. "type": "integer"
  21582. },
  21583. "provinceid": {
  21584. "description": "省",
  21585. "type": "integer"
  21586. },
  21587. "remark": {
  21588. "description": "审核备注",
  21589. "type": "string"
  21590. },
  21591. "videourl": {
  21592. "description": "视频地址",
  21593. "type": "string"
  21594. },
  21595. "warehousecode": {
  21596. "description": "仓库代码",
  21597. "type": "string"
  21598. },
  21599. "warehousename": {
  21600. "description": "仓库名称",
  21601. "type": "string"
  21602. },
  21603. "warehousestatus": {
  21604. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21605. "type": "integer"
  21606. },
  21607. "warehousetype": {
  21608. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21609. "type": "integer"
  21610. }
  21611. }
  21612. },
  21613. "order.QueryHisTradeDetailRsp": {
  21614. "type": "object",
  21615. "required": [
  21616. "accountid",
  21617. "buyorsell",
  21618. "goodsid",
  21619. "histradedate",
  21620. "marketid",
  21621. "memberuserid",
  21622. "orderid",
  21623. "tradeamount",
  21624. "tradedate",
  21625. "tradeid",
  21626. "tradeprice",
  21627. "tradeqty",
  21628. "tradetime"
  21629. ],
  21630. "properties": {
  21631. "accountid": {
  21632. "description": "账户ID[报价币种]",
  21633. "type": "integer"
  21634. },
  21635. "buildtype": {
  21636. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21637. "type": "integer"
  21638. },
  21639. "buyorsell": {
  21640. "description": "方向 - 0:买 1:卖",
  21641. "type": "integer"
  21642. },
  21643. "charge": {
  21644. "description": "手续费",
  21645. "type": "number"
  21646. },
  21647. "closecharge": {
  21648. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21649. "type": "number"
  21650. },
  21651. "closeexchagechargevalue": {
  21652. "description": "平仓交易所手续费设置值",
  21653. "type": "number"
  21654. },
  21655. "closefeealgorithm": {
  21656. "description": "平仓手续费收取方式 1:比率 2:固定",
  21657. "type": "integer"
  21658. },
  21659. "closememberchargevalue": {
  21660. "description": "平仓会员手续费设置值",
  21661. "type": "number"
  21662. },
  21663. "closepl": {
  21664. "description": "平仓盈亏",
  21665. "type": "number"
  21666. },
  21667. "closepl2": {
  21668. "description": "平仓盈亏[逐笔]",
  21669. "type": "number"
  21670. },
  21671. "closeqty": {
  21672. "description": "平仓数量(先建后平操作 需要记录)",
  21673. "type": "integer"
  21674. },
  21675. "creditamount": {
  21676. "description": "授信金额",
  21677. "type": "number"
  21678. },
  21679. "gcaccountid": {
  21680. "description": "账户ID[合约币种]",
  21681. "type": "integer"
  21682. },
  21683. "goodscode": {
  21684. "description": "商品代码",
  21685. "type": "string"
  21686. },
  21687. "goodsid": {
  21688. "description": "商品ID",
  21689. "type": "integer"
  21690. },
  21691. "goodsname": {
  21692. "description": "商品名称",
  21693. "type": "string"
  21694. },
  21695. "histradedate": {
  21696. "description": "历史交易日",
  21697. "type": "string"
  21698. },
  21699. "intclosepl": {
  21700. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21701. "type": "integer"
  21702. },
  21703. "isconfirmexercise": {
  21704. "description": "是否确认行权- 0:否 1:是",
  21705. "type": "integer"
  21706. },
  21707. "ismain": {
  21708. "description": "是否主单 - 0:不是 1:是",
  21709. "type": "integer"
  21710. },
  21711. "ispreexercise": {
  21712. "description": "是否预申报- 0:否 1:是",
  21713. "type": "integer"
  21714. },
  21715. "isreckoned": {
  21716. "description": "是否结算 - 0:未结算 1:已结算",
  21717. "type": "integer"
  21718. },
  21719. "isvaliddata": {
  21720. "description": "是否有效 - 0:无效 1:有效",
  21721. "type": "integer"
  21722. },
  21723. "listingselecttype": {
  21724. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21725. "type": "integer"
  21726. },
  21727. "marketid": {
  21728. "description": "市场ID",
  21729. "type": "integer"
  21730. },
  21731. "marketname": {
  21732. "description": "市场名称",
  21733. "type": "string"
  21734. },
  21735. "matchaccountid": {
  21736. "description": "对手账号id",
  21737. "type": "integer"
  21738. },
  21739. "memberuserid": {
  21740. "description": "会员id 个人投资者 需要填写",
  21741. "type": "integer"
  21742. },
  21743. "opencharge": {
  21744. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21745. "type": "number"
  21746. },
  21747. "openexchagechargevalue": {
  21748. "description": "建仓交易所手续费设置值",
  21749. "type": "number"
  21750. },
  21751. "openfeealgorithm": {
  21752. "description": "建仓手续费收取方式 1:比率 2:固定",
  21753. "type": "integer"
  21754. },
  21755. "openmemberchargevalue": {
  21756. "description": "建仓会员手续费设置值",
  21757. "type": "number"
  21758. },
  21759. "openqty": {
  21760. "description": "开仓数量(先建后平操作 需要记录)",
  21761. "type": "integer"
  21762. },
  21763. "optiontype": {
  21764. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21765. "type": "integer"
  21766. },
  21767. "orderid": {
  21768. "description": "委托单号",
  21769. "type": "string"
  21770. },
  21771. "performanceplanid": {
  21772. "description": "履约计划ID[期权]",
  21773. "type": "integer"
  21774. },
  21775. "performancestatus": {
  21776. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21777. "type": "integer"
  21778. },
  21779. "preexerciseprice": {
  21780. "description": "预申报价格",
  21781. "type": "number"
  21782. },
  21783. "premium": {
  21784. "description": "权利金 - [持仓单的权利金]",
  21785. "type": "number"
  21786. },
  21787. "relatedouttradeid": {
  21788. "description": "关联外部成交单ID",
  21789. "type": "integer"
  21790. },
  21791. "status": {
  21792. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21793. "type": "integer"
  21794. },
  21795. "tradeamount": {
  21796. "description": "成交金额[账户币种,用于所有权]",
  21797. "type": "number"
  21798. },
  21799. "tradedate": {
  21800. "description": "交易日(yyyyMMdd)",
  21801. "type": "string"
  21802. },
  21803. "tradeid": {
  21804. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21805. "type": "string"
  21806. },
  21807. "trademode": {
  21808. "description": "交易模式",
  21809. "type": "integer"
  21810. },
  21811. "tradeprice": {
  21812. "description": "成交价格",
  21813. "type": "number"
  21814. },
  21815. "tradeproperty": {
  21816. "description": "交易属性",
  21817. "type": "integer"
  21818. },
  21819. "tradeqty": {
  21820. "description": "成交数量",
  21821. "type": "integer"
  21822. },
  21823. "tradetime": {
  21824. "description": "成交时间",
  21825. "type": "string"
  21826. },
  21827. "tradetype": {
  21828. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21829. "type": "integer"
  21830. }
  21831. }
  21832. },
  21833. "order.QueryHisTradeOrderDetailRsp": {
  21834. "type": "object",
  21835. "required": [
  21836. "accountid",
  21837. "buildtype",
  21838. "buyorsell",
  21839. "goodsid",
  21840. "histradedate",
  21841. "marketid",
  21842. "memberuserid",
  21843. "operatetype",
  21844. "orderid",
  21845. "orderqty",
  21846. "ordertime",
  21847. "pricemode",
  21848. "tradedate",
  21849. "validtype"
  21850. ],
  21851. "properties": {
  21852. "accountid": {
  21853. "description": "账户ID[报价币种]",
  21854. "type": "integer"
  21855. },
  21856. "buildtype": {
  21857. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21858. "type": "integer"
  21859. },
  21860. "buyorsell": {
  21861. "description": "买卖 - 0:买 1:卖",
  21862. "type": "integer"
  21863. },
  21864. "cancelorderid": {
  21865. "description": "撤单单号(撤单时填写)",
  21866. "type": "string"
  21867. },
  21868. "cancelqty": {
  21869. "description": "撤单数量",
  21870. "type": "integer"
  21871. },
  21872. "clientordertime": {
  21873. "description": "客户端委托时间",
  21874. "type": "string"
  21875. },
  21876. "clientticket": {
  21877. "description": "客户端流水号",
  21878. "type": "string"
  21879. },
  21880. "clienttype": {
  21881. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21882. "type": "integer"
  21883. },
  21884. "closeexchagechargevalue": {
  21885. "description": "平仓交易所手续费设置值",
  21886. "type": "number"
  21887. },
  21888. "closefeealgorithm": {
  21889. "description": "平仓手续费收取方式 1:比率 2:固定",
  21890. "type": "integer"
  21891. },
  21892. "closefreezecharge": {
  21893. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21894. "type": "number"
  21895. },
  21896. "closememberchargevalue": {
  21897. "description": "平仓会员手续费设置值",
  21898. "type": "number"
  21899. },
  21900. "closeqty": {
  21901. "description": "平仓数量(先建后平操作 需要记录)",
  21902. "type": "integer"
  21903. },
  21904. "closetradeqty": {
  21905. "description": "平仓成交数量(先建后平操作,需要记录)",
  21906. "type": "integer"
  21907. },
  21908. "closeunfreezecharge": {
  21909. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21910. "type": "number"
  21911. },
  21912. "delistingtype": {
  21913. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21914. "type": "integer"
  21915. },
  21916. "freezecharge": {
  21917. "description": "冻结手续费",
  21918. "type": "number"
  21919. },
  21920. "freezemargin": {
  21921. "description": "冻结保证金(冻结交易金额)",
  21922. "type": "number"
  21923. },
  21924. "gcaccountid": {
  21925. "description": "账户ID[合约币种]",
  21926. "type": "integer"
  21927. },
  21928. "goodscode": {
  21929. "description": "商品代码",
  21930. "type": "string"
  21931. },
  21932. "goodsid": {
  21933. "description": "商品ID",
  21934. "type": "integer"
  21935. },
  21936. "goodsname": {
  21937. "description": "商品名称",
  21938. "type": "string"
  21939. },
  21940. "histradedate": {
  21941. "description": "历史交易日",
  21942. "type": "string"
  21943. },
  21944. "isconfirmexercise": {
  21945. "description": "是否确认行权- 0:否 1:是",
  21946. "type": "integer"
  21947. },
  21948. "ispreexercise": {
  21949. "description": "是否预申报- 0:否 1:是",
  21950. "type": "integer"
  21951. },
  21952. "isvaliddata": {
  21953. "description": "是否有效 - 0:无效 1:有效",
  21954. "type": "integer"
  21955. },
  21956. "listingselecttype": {
  21957. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21958. "type": "integer"
  21959. },
  21960. "marginalgorithm": {
  21961. "description": "保证金收取方式 1:比率 2:固定",
  21962. "type": "integer"
  21963. },
  21964. "marginvalue": {
  21965. "description": "即市保证金设置值",
  21966. "type": "number"
  21967. },
  21968. "marketid": {
  21969. "description": "市场ID",
  21970. "type": "integer"
  21971. },
  21972. "marketmaxsub": {
  21973. "description": "市价最大偏移范围",
  21974. "type": "number"
  21975. },
  21976. "marketname": {
  21977. "description": "市场名称",
  21978. "type": "string"
  21979. },
  21980. "memberuserid": {
  21981. "description": "所属会员UserID",
  21982. "type": "integer"
  21983. },
  21984. "openexchagechargevalue": {
  21985. "description": "建仓交易所手续费设置值",
  21986. "type": "number"
  21987. },
  21988. "openfeealgorithm": {
  21989. "description": "建仓手续费收取方式 1:比率 2:固定",
  21990. "type": "integer"
  21991. },
  21992. "openfreezecharge": {
  21993. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21994. "type": "number"
  21995. },
  21996. "openmemberchargevalue": {
  21997. "description": "建仓会员手续费设置值",
  21998. "type": "number"
  21999. },
  22000. "openqty": {
  22001. "description": "开仓数量(先建后平操作,需要记录)",
  22002. "type": "integer"
  22003. },
  22004. "opentradeqty": {
  22005. "description": "开仓成交数量(先建后平操作,需要记录)",
  22006. "type": "integer"
  22007. },
  22008. "openunfreezecharge": {
  22009. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22010. "type": "number"
  22011. },
  22012. "operatetype": {
  22013. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22014. "type": "integer"
  22015. },
  22016. "operatorid": {
  22017. "description": "登录账号(LoginID)",
  22018. "type": "integer"
  22019. },
  22020. "optiontype": {
  22021. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22022. "type": "integer"
  22023. },
  22024. "orderid": {
  22025. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22026. "type": "string"
  22027. },
  22028. "orderprice": {
  22029. "description": "委托价格",
  22030. "type": "number"
  22031. },
  22032. "orderqty": {
  22033. "description": "委托数量",
  22034. "type": "integer"
  22035. },
  22036. "ordersrc": {
  22037. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22038. "type": "integer"
  22039. },
  22040. "orderstatus": {
  22041. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22042. "type": "integer"
  22043. },
  22044. "ordertime": {
  22045. "description": "委托时间",
  22046. "type": "string"
  22047. },
  22048. "preexerciseprice": {
  22049. "description": "预申报价格",
  22050. "type": "number"
  22051. },
  22052. "premium": {
  22053. "description": "权利金",
  22054. "type": "number"
  22055. },
  22056. "preorderid": {
  22057. "description": "关联预埋单号(止盈止损单时填写)",
  22058. "type": "string"
  22059. },
  22060. "pricemode": {
  22061. "description": "取价方式 - 1:市价 2: 限价",
  22062. "type": "integer"
  22063. },
  22064. "quoteid": {
  22065. "description": "报价单ID",
  22066. "type": "integer"
  22067. },
  22068. "relatedid": {
  22069. "description": "关联单号(交割单)",
  22070. "type": "string"
  22071. },
  22072. "retcode": {
  22073. "description": "错误代码",
  22074. "type": "integer"
  22075. },
  22076. "sessionid": {
  22077. "description": "会话ID",
  22078. "type": "integer"
  22079. },
  22080. "tradedate": {
  22081. "description": "交易日(yyyyMMdd)",
  22082. "type": "string"
  22083. },
  22084. "trademode": {
  22085. "description": "交易模式",
  22086. "type": "integer"
  22087. },
  22088. "tradeproperty": {
  22089. "description": "交易属性",
  22090. "type": "integer"
  22091. },
  22092. "tradeqty": {
  22093. "description": "成交数量",
  22094. "type": "integer"
  22095. },
  22096. "unfreezecharge": {
  22097. "description": "解冻手续费",
  22098. "type": "number"
  22099. },
  22100. "unfreezemargin": {
  22101. "description": "解冻保证金",
  22102. "type": "number"
  22103. },
  22104. "updatetime": {
  22105. "description": "更新时间",
  22106. "type": "string"
  22107. },
  22108. "uuid": {
  22109. "description": "发起端唯一id",
  22110. "type": "string"
  22111. },
  22112. "validtime": {
  22113. "description": "有效期限",
  22114. "type": "string"
  22115. },
  22116. "validtype": {
  22117. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22118. "type": "integer"
  22119. },
  22120. "volumetype": {
  22121. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22122. "type": "integer"
  22123. }
  22124. }
  22125. },
  22126. "order.QueryTradeDetailRsp": {
  22127. "type": "object",
  22128. "required": [
  22129. "accountid",
  22130. "buyorsell",
  22131. "goodsid",
  22132. "marketid",
  22133. "memberuserid",
  22134. "orderid",
  22135. "tradeamount",
  22136. "tradedate",
  22137. "tradeid",
  22138. "tradeprice",
  22139. "tradeqty",
  22140. "tradetime"
  22141. ],
  22142. "properties": {
  22143. "accountid": {
  22144. "description": "账户ID[报价币种]",
  22145. "type": "integer"
  22146. },
  22147. "buildtype": {
  22148. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22149. "type": "integer"
  22150. },
  22151. "buyorsell": {
  22152. "description": "方向 - 0:买 1:卖",
  22153. "type": "integer"
  22154. },
  22155. "charge": {
  22156. "description": "手续费",
  22157. "type": "number"
  22158. },
  22159. "closecharge": {
  22160. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22161. "type": "number"
  22162. },
  22163. "closeexchagechargevalue": {
  22164. "description": "平仓交易所手续费设置值",
  22165. "type": "number"
  22166. },
  22167. "closefeealgorithm": {
  22168. "description": "平仓手续费收取方式 1:比率 2:固定",
  22169. "type": "integer"
  22170. },
  22171. "closememberchargevalue": {
  22172. "description": "平仓会员手续费设置值",
  22173. "type": "number"
  22174. },
  22175. "closepl": {
  22176. "description": "平仓盈亏",
  22177. "type": "number"
  22178. },
  22179. "closepl2": {
  22180. "description": "平仓盈亏[逐笔]",
  22181. "type": "number"
  22182. },
  22183. "closeqty": {
  22184. "description": "平仓数量(先建后平操作 需要记录)",
  22185. "type": "integer"
  22186. },
  22187. "creditamount": {
  22188. "description": "授信金额",
  22189. "type": "number"
  22190. },
  22191. "gcaccountid": {
  22192. "description": "账户ID[合约币种]",
  22193. "type": "integer"
  22194. },
  22195. "goodscode": {
  22196. "description": "商品代码",
  22197. "type": "string"
  22198. },
  22199. "goodsid": {
  22200. "description": "商品ID",
  22201. "type": "integer"
  22202. },
  22203. "goodsname": {
  22204. "description": "商品名称",
  22205. "type": "string"
  22206. },
  22207. "intclosepl": {
  22208. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22209. "type": "integer"
  22210. },
  22211. "isconfirmexercise": {
  22212. "description": "是否确认行权- 0:否 1:是",
  22213. "type": "integer"
  22214. },
  22215. "ismain": {
  22216. "description": "是否主单 - 0:不是 1:是",
  22217. "type": "integer"
  22218. },
  22219. "ispreexercise": {
  22220. "description": "是否预申报- 0:否 1:是",
  22221. "type": "integer"
  22222. },
  22223. "isreckoned": {
  22224. "description": "是否结算 - 0:未结算 1:已结算",
  22225. "type": "integer"
  22226. },
  22227. "listingselecttype": {
  22228. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22229. "type": "integer"
  22230. },
  22231. "marketid": {
  22232. "description": "市场ID",
  22233. "type": "integer"
  22234. },
  22235. "marketname": {
  22236. "description": "市场名称",
  22237. "type": "string"
  22238. },
  22239. "matchaccountid": {
  22240. "description": "对手账号id",
  22241. "type": "integer"
  22242. },
  22243. "memberuserid": {
  22244. "description": "会员id 个人投资者 需要填写",
  22245. "type": "integer"
  22246. },
  22247. "opencharge": {
  22248. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22249. "type": "number"
  22250. },
  22251. "openexchagechargevalue": {
  22252. "description": "建仓交易所手续费设置值",
  22253. "type": "number"
  22254. },
  22255. "openfeealgorithm": {
  22256. "description": "建仓手续费收取方式 1:比率 2:固定",
  22257. "type": "integer"
  22258. },
  22259. "openmemberchargevalue": {
  22260. "description": "建仓会员手续费设置值",
  22261. "type": "number"
  22262. },
  22263. "openqty": {
  22264. "description": "开仓数量(先建后平操作 需要记录)",
  22265. "type": "integer"
  22266. },
  22267. "optiontype": {
  22268. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22269. "type": "integer"
  22270. },
  22271. "orderid": {
  22272. "description": "委托单号",
  22273. "type": "string"
  22274. },
  22275. "performanceplanid": {
  22276. "description": "履约计划ID[期权]",
  22277. "type": "integer"
  22278. },
  22279. "performancestatus": {
  22280. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22281. "type": "integer"
  22282. },
  22283. "preexerciseprice": {
  22284. "description": "预申报价格",
  22285. "type": "number"
  22286. },
  22287. "premium": {
  22288. "description": "权利金 - [持仓单的权利金]",
  22289. "type": "number"
  22290. },
  22291. "relatedouttradeid": {
  22292. "description": "关联外部成交单ID",
  22293. "type": "integer"
  22294. },
  22295. "status": {
  22296. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22297. "type": "integer"
  22298. },
  22299. "tradeamount": {
  22300. "description": "成交金额[账户币种,用于所有权]",
  22301. "type": "number"
  22302. },
  22303. "tradedate": {
  22304. "description": "交易日(yyyyMMdd)",
  22305. "type": "string"
  22306. },
  22307. "tradeid": {
  22308. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22309. "type": "string"
  22310. },
  22311. "trademode": {
  22312. "description": "交易模式",
  22313. "type": "integer"
  22314. },
  22315. "tradeprice": {
  22316. "description": "成交价格",
  22317. "type": "number"
  22318. },
  22319. "tradeproperty": {
  22320. "description": "交易属性",
  22321. "type": "integer"
  22322. },
  22323. "tradeqty": {
  22324. "description": "成交数量",
  22325. "type": "integer"
  22326. },
  22327. "tradetime": {
  22328. "description": "成交时间",
  22329. "type": "string"
  22330. },
  22331. "tradetype": {
  22332. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22333. "type": "integer"
  22334. }
  22335. }
  22336. },
  22337. "order.QueryTradeOrderDetailRsp": {
  22338. "type": "object",
  22339. "required": [
  22340. "accountid",
  22341. "buildtype",
  22342. "buyorsell",
  22343. "goodsid",
  22344. "marketid",
  22345. "operatetype",
  22346. "orderqty",
  22347. "ordertime",
  22348. "pricemode",
  22349. "tradedate",
  22350. "validtype"
  22351. ],
  22352. "properties": {
  22353. "accountid": {
  22354. "description": "账户ID[报价币种]",
  22355. "type": "integer"
  22356. },
  22357. "buildtype": {
  22358. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22359. "type": "integer"
  22360. },
  22361. "buyorsell": {
  22362. "description": "买卖 - 0:买 1:卖",
  22363. "type": "integer"
  22364. },
  22365. "cancelorderid": {
  22366. "description": "撤单单号(撤单时填写)",
  22367. "type": "string"
  22368. },
  22369. "cancelqty": {
  22370. "description": "撤单数量",
  22371. "type": "integer"
  22372. },
  22373. "clienttype": {
  22374. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22375. "type": "integer"
  22376. },
  22377. "closefreezecharge": {
  22378. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22379. "type": "number"
  22380. },
  22381. "closeqty": {
  22382. "description": "平仓数量(先建后平操作 需要记录)",
  22383. "type": "integer"
  22384. },
  22385. "closetradeqty": {
  22386. "description": "平仓成交数量(先建后平操作,需要记录)",
  22387. "type": "integer"
  22388. },
  22389. "closeunfreezecharge": {
  22390. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22391. "type": "number"
  22392. },
  22393. "delistingtype": {
  22394. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22395. "type": "integer"
  22396. },
  22397. "enableqty": {
  22398. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  22399. "type": "integer"
  22400. },
  22401. "freezecharge": {
  22402. "description": "冻结手续费",
  22403. "type": "number"
  22404. },
  22405. "freezemargin": {
  22406. "description": "冻结保证金(冻结交易金额)",
  22407. "type": "number"
  22408. },
  22409. "goodscode": {
  22410. "description": "商品代码",
  22411. "type": "string"
  22412. },
  22413. "goodsid": {
  22414. "description": "商品ID",
  22415. "type": "integer"
  22416. },
  22417. "goodsname": {
  22418. "description": "商品名称",
  22419. "type": "string"
  22420. },
  22421. "listingselecttype": {
  22422. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22423. "type": "integer"
  22424. },
  22425. "marketid": {
  22426. "description": "市场ID",
  22427. "type": "integer"
  22428. },
  22429. "marketname": {
  22430. "description": "市场名称",
  22431. "type": "string"
  22432. },
  22433. "openfreezecharge": {
  22434. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22435. "type": "number"
  22436. },
  22437. "openqty": {
  22438. "description": "开仓数量(先建后平操作,需要记录)",
  22439. "type": "integer"
  22440. },
  22441. "opentradeqty": {
  22442. "description": "开仓成交数量(先建后平操作,需要记录)",
  22443. "type": "integer"
  22444. },
  22445. "openunfreezecharge": {
  22446. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22447. "type": "number"
  22448. },
  22449. "operatetype": {
  22450. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22451. "type": "integer"
  22452. },
  22453. "operatorid": {
  22454. "description": "登录账号(LoginID)",
  22455. "type": "integer"
  22456. },
  22457. "orderid": {
  22458. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22459. "type": "string"
  22460. },
  22461. "orderprice": {
  22462. "description": "委托价格",
  22463. "type": "number"
  22464. },
  22465. "orderqty": {
  22466. "description": "委托数量",
  22467. "type": "integer"
  22468. },
  22469. "ordersrc": {
  22470. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22471. "type": "integer"
  22472. },
  22473. "orderstatus": {
  22474. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22475. "type": "integer"
  22476. },
  22477. "ordertime": {
  22478. "description": "委托时间",
  22479. "type": "string"
  22480. },
  22481. "preorderid": {
  22482. "description": "关联预埋单号(止盈止损单时填写)",
  22483. "type": "string"
  22484. },
  22485. "pricemode": {
  22486. "description": "取价方式 - 1:市价 2: 限价",
  22487. "type": "integer"
  22488. },
  22489. "relatedid": {
  22490. "description": "关联单号(交割单)",
  22491. "type": "string"
  22492. },
  22493. "tradedate": {
  22494. "description": "交易日(yyyyMMdd)",
  22495. "type": "string"
  22496. },
  22497. "trademode": {
  22498. "description": "交易模式",
  22499. "type": "integer"
  22500. },
  22501. "tradeqty": {
  22502. "description": "成交数量",
  22503. "type": "integer"
  22504. },
  22505. "unfreezecharge": {
  22506. "description": "解冻手续费",
  22507. "type": "number"
  22508. },
  22509. "unfreezemargin": {
  22510. "description": "解冻保证金",
  22511. "type": "number"
  22512. },
  22513. "validtime": {
  22514. "description": "有效期限",
  22515. "type": "string"
  22516. },
  22517. "validtype": {
  22518. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22519. "type": "integer"
  22520. },
  22521. "volumetype": {
  22522. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22523. "type": "integer"
  22524. }
  22525. }
  22526. },
  22527. "order.QueryTradePositionRsp": {
  22528. "type": "object",
  22529. "required": [
  22530. "goodsid"
  22531. ],
  22532. "properties": {
  22533. "accountid": {
  22534. "description": "资金账户",
  22535. "type": "integer"
  22536. },
  22537. "agreeunit": {
  22538. "description": "合约单位",
  22539. "type": "number"
  22540. },
  22541. "averageprice": {
  22542. "description": "持仓均价",
  22543. "type": "number"
  22544. },
  22545. "buyorsell": {
  22546. "description": "方向 - 0:买 1:卖",
  22547. "type": "integer"
  22548. },
  22549. "closetotalqty": {
  22550. "description": "平仓总数量",
  22551. "type": "integer"
  22552. },
  22553. "curholderamount": {
  22554. "description": "当前持仓总金额[商品币种]",
  22555. "type": "number"
  22556. },
  22557. "curpositionqty": {
  22558. "description": "当前持仓总数量",
  22559. "type": "integer"
  22560. },
  22561. "currencyid": {
  22562. "description": "报价货币ID",
  22563. "type": "integer"
  22564. },
  22565. "curtdposition": {
  22566. "description": "期末今日头寸",
  22567. "type": "integer"
  22568. },
  22569. "decimalplace": {
  22570. "description": "报价小数位",
  22571. "type": "integer"
  22572. },
  22573. "enableqty": {
  22574. "description": "可用量",
  22575. "type": "integer"
  22576. },
  22577. "fretdposition": {
  22578. "description": "冻结今日头寸",
  22579. "type": "integer"
  22580. },
  22581. "frozenqty": {
  22582. "description": "持仓冻结数量",
  22583. "type": "integer"
  22584. },
  22585. "goodscode": {
  22586. "description": "商品代码",
  22587. "type": "string"
  22588. },
  22589. "goodsid": {
  22590. "description": "商品Id",
  22591. "type": "integer"
  22592. },
  22593. "goodsname": {
  22594. "description": "商品名称",
  22595. "type": "string"
  22596. },
  22597. "goodunit": {
  22598. "description": "报价单位",
  22599. "type": "string"
  22600. },
  22601. "goodunitid": {
  22602. "description": "报价单位ID",
  22603. "type": "integer"
  22604. },
  22605. "holderamount": {
  22606. "description": "期初持仓总金额[商品币种]",
  22607. "type": "number"
  22608. },
  22609. "marketid": {
  22610. "description": "所属市场ID",
  22611. "type": "integer"
  22612. },
  22613. "openreqqty": {
  22614. "description": "开仓申请数量(用于比较最大持仓数量)",
  22615. "type": "integer"
  22616. },
  22617. "opentotalqty": {
  22618. "description": "开仓总数量",
  22619. "type": "integer"
  22620. },
  22621. "otherfrozenqty": {
  22622. "description": "持仓其他冻结数量(交割冻结)",
  22623. "type": "integer"
  22624. },
  22625. "positionqty": {
  22626. "description": "期初持仓数量",
  22627. "type": "integer"
  22628. },
  22629. "tnqty": {
  22630. "description": "T+N冻结总量",
  22631. "type": "integer"
  22632. },
  22633. "tnusedqty": {
  22634. "description": "T+N使用量(可以使用T+N的冻结数量)",
  22635. "type": "integer"
  22636. },
  22637. "trademode": {
  22638. "description": "交易模式",
  22639. "type": "integer"
  22640. },
  22641. "usedmargin": {
  22642. "description": "占用保证金[商品币种]",
  22643. "type": "number"
  22644. }
  22645. }
  22646. },
  22647. "quote.HistoryData": {
  22648. "type": "object",
  22649. "properties": {
  22650. "c": {
  22651. "description": "收盘价",
  22652. "type": "number"
  22653. },
  22654. "f": {
  22655. "description": "是否补充数据",
  22656. "type": "boolean"
  22657. },
  22658. "h": {
  22659. "description": "最高价",
  22660. "type": "number"
  22661. },
  22662. "hv": {
  22663. "description": "持仓量",
  22664. "type": "integer"
  22665. },
  22666. "l": {
  22667. "description": "最低价",
  22668. "type": "number"
  22669. },
  22670. "o": {
  22671. "description": "开盘价",
  22672. "type": "number"
  22673. },
  22674. "s": {
  22675. "description": "结算价,日线周期(包括)以上才有",
  22676. "type": "number"
  22677. },
  22678. "ts": {
  22679. "description": "时间",
  22680. "type": "string"
  22681. },
  22682. "tt": {
  22683. "description": "总金额",
  22684. "type": "number"
  22685. },
  22686. "tv": {
  22687. "description": "总量",
  22688. "type": "integer"
  22689. }
  22690. }
  22691. },
  22692. "quote.HistoryTikData": {
  22693. "type": "object",
  22694. "properties": {
  22695. "AV": {
  22696. "description": "卖量",
  22697. "type": "integer"
  22698. },
  22699. "Ask": {
  22700. "description": "卖价",
  22701. "type": "number"
  22702. },
  22703. "BV": {
  22704. "description": "买量",
  22705. "type": "integer"
  22706. },
  22707. "Bid": {
  22708. "description": "买价",
  22709. "type": "number"
  22710. },
  22711. "HI": {
  22712. "description": "单笔持仓",
  22713. "type": "integer"
  22714. },
  22715. "HV": {
  22716. "description": "持仓量",
  22717. "type": "integer"
  22718. },
  22719. "PE": {
  22720. "description": "现价",
  22721. "type": "number"
  22722. },
  22723. "TDR": {
  22724. "description": "交易方向,0:买 1:卖",
  22725. "type": "integer"
  22726. },
  22727. "TK": {
  22728. "description": "交易类型",
  22729. "type": "integer"
  22730. },
  22731. "TS": {
  22732. "description": "行情时间文本",
  22733. "type": "string"
  22734. },
  22735. "TT": {
  22736. "description": "现金额",
  22737. "type": "number"
  22738. },
  22739. "Vol": {
  22740. "description": "现量",
  22741. "type": "integer"
  22742. }
  22743. }
  22744. },
  22745. "quote.QueryQuoteDayRsp": {
  22746. "type": "object",
  22747. "properties": {
  22748. "ask": {
  22749. "description": "卖1",
  22750. "type": "number"
  22751. },
  22752. "ask10": {
  22753. "description": "卖10",
  22754. "type": "number"
  22755. },
  22756. "ask2": {
  22757. "description": "卖2",
  22758. "type": "number"
  22759. },
  22760. "ask3": {
  22761. "description": "卖3",
  22762. "type": "number"
  22763. },
  22764. "ask4": {
  22765. "description": "卖4",
  22766. "type": "number"
  22767. },
  22768. "ask5": {
  22769. "description": "卖5",
  22770. "type": "number"
  22771. },
  22772. "ask6": {
  22773. "description": "卖6",
  22774. "type": "number"
  22775. },
  22776. "ask7": {
  22777. "description": "卖7",
  22778. "type": "number"
  22779. },
  22780. "ask8": {
  22781. "description": "卖8",
  22782. "type": "number"
  22783. },
  22784. "ask9": {
  22785. "description": "卖9",
  22786. "type": "number"
  22787. },
  22788. "askorderid": {
  22789. "description": "卖单号1",
  22790. "type": "integer"
  22791. },
  22792. "askorderid2": {
  22793. "description": "卖单号2",
  22794. "type": "integer"
  22795. },
  22796. "askorderid3": {
  22797. "description": "卖单号3",
  22798. "type": "integer"
  22799. },
  22800. "askorderid4": {
  22801. "description": "卖单号4",
  22802. "type": "integer"
  22803. },
  22804. "askorderid5": {
  22805. "description": "卖单号5",
  22806. "type": "integer"
  22807. },
  22808. "askordervolume": {
  22809. "description": "卖单量1",
  22810. "type": "integer"
  22811. },
  22812. "askordervolume10": {
  22813. "description": "卖单量10",
  22814. "type": "integer"
  22815. },
  22816. "askordervolume2": {
  22817. "description": "卖单量2",
  22818. "type": "integer"
  22819. },
  22820. "askordervolume3": {
  22821. "description": "卖单量3",
  22822. "type": "integer"
  22823. },
  22824. "askordervolume4": {
  22825. "description": "卖单量4",
  22826. "type": "integer"
  22827. },
  22828. "askordervolume5": {
  22829. "description": "卖单量5",
  22830. "type": "integer"
  22831. },
  22832. "askordervolume6": {
  22833. "description": "卖单量6",
  22834. "type": "integer"
  22835. },
  22836. "askordervolume7": {
  22837. "description": "卖单量7",
  22838. "type": "integer"
  22839. },
  22840. "askordervolume8": {
  22841. "description": "卖单量8",
  22842. "type": "integer"
  22843. },
  22844. "askordervolume9": {
  22845. "description": "卖单量9",
  22846. "type": "integer"
  22847. },
  22848. "askqueueinfo": {
  22849. "description": "大利市卖港股用",
  22850. "type": "string"
  22851. },
  22852. "askvolume": {
  22853. "description": "卖量1",
  22854. "type": "integer"
  22855. },
  22856. "askvolume10": {
  22857. "description": "卖量10",
  22858. "type": "integer"
  22859. },
  22860. "askvolume2": {
  22861. "description": "卖量2",
  22862. "type": "integer"
  22863. },
  22864. "askvolume3": {
  22865. "description": "卖量3",
  22866. "type": "integer"
  22867. },
  22868. "askvolume4": {
  22869. "description": "卖量4",
  22870. "type": "integer"
  22871. },
  22872. "askvolume5": {
  22873. "description": "卖量5",
  22874. "type": "integer"
  22875. },
  22876. "askvolume6": {
  22877. "description": "卖量6",
  22878. "type": "integer"
  22879. },
  22880. "askvolume7": {
  22881. "description": "卖量7",
  22882. "type": "integer"
  22883. },
  22884. "askvolume8": {
  22885. "description": "卖量8",
  22886. "type": "integer"
  22887. },
  22888. "askvolume9": {
  22889. "description": "卖量9",
  22890. "type": "integer"
  22891. },
  22892. "averageprice": {
  22893. "description": "均价",
  22894. "type": "number"
  22895. },
  22896. "bid": {
  22897. "description": "买1",
  22898. "type": "number"
  22899. },
  22900. "bid10": {
  22901. "description": "买10",
  22902. "type": "number"
  22903. },
  22904. "bid2": {
  22905. "description": "买2",
  22906. "type": "number"
  22907. },
  22908. "bid3": {
  22909. "description": "买3",
  22910. "type": "number"
  22911. },
  22912. "bid4": {
  22913. "description": "买4",
  22914. "type": "number"
  22915. },
  22916. "bid5": {
  22917. "description": "买5",
  22918. "type": "number"
  22919. },
  22920. "bid6": {
  22921. "description": "买6",
  22922. "type": "number"
  22923. },
  22924. "bid7": {
  22925. "description": "买7",
  22926. "type": "number"
  22927. },
  22928. "bid8": {
  22929. "description": "买8",
  22930. "type": "number"
  22931. },
  22932. "bid9": {
  22933. "description": "买9",
  22934. "type": "number"
  22935. },
  22936. "bidorderid": {
  22937. "description": "买单号1",
  22938. "type": "integer"
  22939. },
  22940. "bidorderid2": {
  22941. "description": "买单号2",
  22942. "type": "integer"
  22943. },
  22944. "bidorderid3": {
  22945. "description": "买单号3",
  22946. "type": "integer"
  22947. },
  22948. "bidorderid4": {
  22949. "description": "买单号4",
  22950. "type": "integer"
  22951. },
  22952. "bidorderid5": {
  22953. "description": "买单号5",
  22954. "type": "integer"
  22955. },
  22956. "bidordervolume": {
  22957. "description": "买单量1",
  22958. "type": "integer"
  22959. },
  22960. "bidordervolume10": {
  22961. "description": "买单量10",
  22962. "type": "integer"
  22963. },
  22964. "bidordervolume2": {
  22965. "description": "买单量2",
  22966. "type": "integer"
  22967. },
  22968. "bidordervolume3": {
  22969. "description": "买单量3",
  22970. "type": "integer"
  22971. },
  22972. "bidordervolume4": {
  22973. "description": "买单量4",
  22974. "type": "integer"
  22975. },
  22976. "bidordervolume5": {
  22977. "description": "买单量5",
  22978. "type": "integer"
  22979. },
  22980. "bidordervolume6": {
  22981. "description": "买单量6",
  22982. "type": "integer"
  22983. },
  22984. "bidordervolume7": {
  22985. "description": "买单量7",
  22986. "type": "integer"
  22987. },
  22988. "bidordervolume8": {
  22989. "description": "买单量8",
  22990. "type": "integer"
  22991. },
  22992. "bidordervolume9": {
  22993. "description": "买单量9",
  22994. "type": "integer"
  22995. },
  22996. "bidqueueinfo": {
  22997. "description": "大利市买港股用",
  22998. "type": "string"
  22999. },
  23000. "bidvolume": {
  23001. "description": "买量1",
  23002. "type": "integer"
  23003. },
  23004. "bidvolume10": {
  23005. "description": "买量10",
  23006. "type": "integer"
  23007. },
  23008. "bidvolume2": {
  23009. "description": "买量2",
  23010. "type": "integer"
  23011. },
  23012. "bidvolume3": {
  23013. "description": "买量3",
  23014. "type": "integer"
  23015. },
  23016. "bidvolume4": {
  23017. "description": "买量4",
  23018. "type": "integer"
  23019. },
  23020. "bidvolume5": {
  23021. "description": "买量5",
  23022. "type": "integer"
  23023. },
  23024. "bidvolume6": {
  23025. "description": "买量6",
  23026. "type": "integer"
  23027. },
  23028. "bidvolume7": {
  23029. "description": "买量7",
  23030. "type": "integer"
  23031. },
  23032. "bidvolume8": {
  23033. "description": "买量8",
  23034. "type": "integer"
  23035. },
  23036. "bidvolume9": {
  23037. "description": "买量9",
  23038. "type": "integer"
  23039. },
  23040. "calloptionpremiums": {
  23041. "description": "认购期权1",
  23042. "type": "integer"
  23043. },
  23044. "calloptionpremiums2": {
  23045. "description": "认购期权2",
  23046. "type": "integer"
  23047. },
  23048. "calloptionpremiums3": {
  23049. "description": "认购期权3",
  23050. "type": "integer"
  23051. },
  23052. "calloptionpremiums4": {
  23053. "description": "认购期权4",
  23054. "type": "integer"
  23055. },
  23056. "calloptionpremiums5": {
  23057. "description": "认购期权5",
  23058. "type": "integer"
  23059. },
  23060. "cleartime": {
  23061. "description": "清盘时间",
  23062. "type": "integer"
  23063. },
  23064. "exchangecode": {
  23065. "description": "交易所代码",
  23066. "type": "integer"
  23067. },
  23068. "exchangedate": {
  23069. "description": "交易日",
  23070. "type": "integer"
  23071. },
  23072. "goodscode": {
  23073. "description": "商品代码",
  23074. "type": "string"
  23075. },
  23076. "grepmarketprice": {
  23077. "description": "暗盘价 港股专用",
  23078. "type": "number"
  23079. },
  23080. "highest": {
  23081. "description": "最高价",
  23082. "type": "number"
  23083. },
  23084. "holdincrement": {
  23085. "description": "单笔持仓",
  23086. "type": "integer"
  23087. },
  23088. "holdvolume": {
  23089. "description": "持仓",
  23090. "type": "integer"
  23091. },
  23092. "iep": {
  23093. "description": "平衡价 港股专用",
  23094. "type": "number"
  23095. },
  23096. "iev": {
  23097. "description": "平衡量 港股专用",
  23098. "type": "number"
  23099. },
  23100. "inventory": {
  23101. "description": "库存",
  23102. "type": "integer"
  23103. },
  23104. "iscleared": {
  23105. "description": "是否清盘标志",
  23106. "type": "integer"
  23107. },
  23108. "issettled": {
  23109. "description": "是否结算标志",
  23110. "type": "integer"
  23111. },
  23112. "last": {
  23113. "description": "最新价",
  23114. "type": "number"
  23115. },
  23116. "lastlot": {
  23117. "description": "最新成交手数",
  23118. "type": "integer"
  23119. },
  23120. "lasttime": {
  23121. "description": "行情时间(只有现价变化行情时间才变化)",
  23122. "type": "string"
  23123. },
  23124. "lastturnover": {
  23125. "description": "最新成交金额",
  23126. "type": "number"
  23127. },
  23128. "lastvolume": {
  23129. "description": "最新成交量",
  23130. "type": "integer"
  23131. },
  23132. "limitdown": {
  23133. "description": "跌停价",
  23134. "type": "number"
  23135. },
  23136. "limitup": {
  23137. "description": "涨停价",
  23138. "type": "number"
  23139. },
  23140. "lowest": {
  23141. "description": "最低价",
  23142. "type": "number"
  23143. },
  23144. "nontotalholdervolume": {
  23145. "description": "非交易持仓量",
  23146. "type": "integer"
  23147. },
  23148. "nontotallot": {
  23149. "description": "非交易总手数",
  23150. "type": "integer"
  23151. },
  23152. "nontotalturnover": {
  23153. "description": "非交易总金额",
  23154. "type": "integer"
  23155. },
  23156. "nontotalvolume": {
  23157. "description": "非交易总量",
  23158. "type": "integer"
  23159. },
  23160. "opened": {
  23161. "description": "开盘价",
  23162. "type": "number"
  23163. },
  23164. "opentime": {
  23165. "description": "开盘时间",
  23166. "type": "string"
  23167. },
  23168. "orderid": {
  23169. "description": "序号",
  23170. "type": "integer"
  23171. },
  23172. "preclose": {
  23173. "description": "昨收",
  23174. "type": "number"
  23175. },
  23176. "preholdvolume": {
  23177. "description": "昨持仓",
  23178. "type": "integer"
  23179. },
  23180. "presettle": {
  23181. "description": "昨结价",
  23182. "type": "number"
  23183. },
  23184. "publictradetype": {
  23185. "description": "公共交易标志类型 港股专用",
  23186. "type": "string"
  23187. },
  23188. "putoptionpremiums": {
  23189. "description": "认沽期权1",
  23190. "type": "integer"
  23191. },
  23192. "putoptionpremiums2": {
  23193. "description": "认沽期权2",
  23194. "type": "integer"
  23195. },
  23196. "putoptionpremiums3": {
  23197. "description": "认沽期权3",
  23198. "type": "integer"
  23199. },
  23200. "putoptionpremiums4": {
  23201. "description": "认沽期权4",
  23202. "type": "integer"
  23203. },
  23204. "putoptionpremiums5": {
  23205. "description": "认沽期权5",
  23206. "type": "integer"
  23207. },
  23208. "settle": {
  23209. "description": "结算价",
  23210. "type": "number"
  23211. },
  23212. "strikeprice": {
  23213. "description": "发行价",
  23214. "type": "number"
  23215. },
  23216. "totalaskvolume": {
  23217. "description": "内盘",
  23218. "type": "integer"
  23219. },
  23220. "totalbidvolume": {
  23221. "description": "外盘",
  23222. "type": "integer"
  23223. },
  23224. "totallot": {
  23225. "description": "总手数",
  23226. "type": "integer"
  23227. },
  23228. "totalturnover": {
  23229. "description": "总金额",
  23230. "type": "number"
  23231. },
  23232. "totalvolume": {
  23233. "description": "总量",
  23234. "type": "integer"
  23235. },
  23236. "utclasttime": {
  23237. "description": "utc的行情时间",
  23238. "type": "string"
  23239. }
  23240. }
  23241. },
  23242. "quote.QueryTSDataRsp": {
  23243. "type": "object",
  23244. "properties": {
  23245. "Count": {
  23246. "description": "交易日应有数据个数",
  23247. "type": "integer"
  23248. },
  23249. "decimalPlace": {
  23250. "description": "小数位",
  23251. "type": "integer"
  23252. },
  23253. "endTime": {
  23254. "description": "结束时间",
  23255. "type": "string"
  23256. },
  23257. "goodsCode": {
  23258. "description": "商品代码",
  23259. "type": "string"
  23260. },
  23261. "historyDatas": {
  23262. "description": "历史数据",
  23263. "type": "array",
  23264. "items": {
  23265. "$ref": "#/definitions/quote.HistoryData"
  23266. }
  23267. },
  23268. "outGoodsCode": {
  23269. "description": "外部商品代码",
  23270. "type": "string"
  23271. },
  23272. "preSettle": {
  23273. "description": "昨结价",
  23274. "type": "number"
  23275. },
  23276. "runSteps": {
  23277. "description": "交易日开休市计划",
  23278. "type": "array",
  23279. "items": {
  23280. "$ref": "#/definitions/quote.TSDataRunStep"
  23281. }
  23282. },
  23283. "startTime": {
  23284. "description": "开始时间",
  23285. "type": "string"
  23286. },
  23287. "tradeDate": {
  23288. "description": "交易日",
  23289. "type": "string"
  23290. }
  23291. }
  23292. },
  23293. "quote.TSDataRunStep": {
  23294. "type": "object",
  23295. "properties": {
  23296. "end": {
  23297. "description": "真实结束时间",
  23298. "type": "string"
  23299. },
  23300. "endflag": {
  23301. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  23302. "type": "integer"
  23303. },
  23304. "endtime": {
  23305. "description": "结束时间(HH:mm)",
  23306. "type": "string"
  23307. },
  23308. "endweekday": {
  23309. "description": "结束周几",
  23310. "type": "integer"
  23311. },
  23312. "groupid": {
  23313. "description": "分组ID",
  23314. "type": "integer"
  23315. },
  23316. "runstep": {
  23317. "description": "运行阶段 - 2:连续交易",
  23318. "type": "integer"
  23319. },
  23320. "sectionid": {
  23321. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  23322. "type": "integer"
  23323. },
  23324. "start": {
  23325. "description": "真实开始时间",
  23326. "type": "string"
  23327. },
  23328. "startflag": {
  23329. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  23330. "type": "integer"
  23331. },
  23332. "starttime": {
  23333. "description": "起始时间(HH:mm)",
  23334. "type": "string"
  23335. },
  23336. "startweekday": {
  23337. "description": "起始周几",
  23338. "type": "integer"
  23339. },
  23340. "tradeweekday": {
  23341. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  23342. "type": "integer"
  23343. }
  23344. }
  23345. },
  23346. "szdz.QueryConvertLogRsp": {
  23347. "type": "object",
  23348. "required": [
  23349. "logid"
  23350. ],
  23351. "properties": {
  23352. "accountid": {
  23353. "description": "资金账户ID",
  23354. "type": "integer"
  23355. },
  23356. "clientticket": {
  23357. "description": "客户端流水号",
  23358. "type": "string"
  23359. },
  23360. "converttype": {
  23361. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  23362. "type": "integer"
  23363. },
  23364. "createtime": {
  23365. "description": "记账时间",
  23366. "type": "string"
  23367. },
  23368. "daymaxvalue": {
  23369. "description": "配置当日最大转入限制",
  23370. "type": "number"
  23371. },
  23372. "daymaxvalue2": {
  23373. "description": "配置当日最大转入限制(转入)",
  23374. "type": "number"
  23375. },
  23376. "goodscode": {
  23377. "description": "商品代码",
  23378. "type": "string"
  23379. },
  23380. "goodsname": {
  23381. "description": "商品名称",
  23382. "type": "string"
  23383. },
  23384. "handlestatus": {
  23385. "description": "处理状态",
  23386. "type": "integer"
  23387. },
  23388. "innergoodsid": {
  23389. "description": "内部商品ID",
  23390. "type": "integer"
  23391. },
  23392. "inratio": {
  23393. "description": "配置转入比值",
  23394. "type": "integer"
  23395. },
  23396. "invalue": {
  23397. "description": "目标值",
  23398. "type": "number"
  23399. },
  23400. "logid": {
  23401. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23402. "type": "integer"
  23403. },
  23404. "mobile": {
  23405. "description": "手机号码(加密存储)",
  23406. "type": "string"
  23407. },
  23408. "outergoodscode": {
  23409. "description": "外部商品代码[JD\\PD]",
  23410. "type": "string"
  23411. },
  23412. "outratio": {
  23413. "description": "配置转出比值",
  23414. "type": "integer"
  23415. },
  23416. "outvalue": {
  23417. "description": "源值",
  23418. "type": "number"
  23419. },
  23420. "pddecimalplace": {
  23421. "description": "PD小数位",
  23422. "type": "integer"
  23423. },
  23424. "qty": {
  23425. "description": "数量",
  23426. "type": "string"
  23427. },
  23428. "remark": {
  23429. "description": "备注",
  23430. "type": "string"
  23431. },
  23432. "sessionid": {
  23433. "description": "会话ID",
  23434. "type": "integer"
  23435. },
  23436. "timemaxvalue": {
  23437. "description": "配置单次最大转入限制",
  23438. "type": "number"
  23439. },
  23440. "timemaxvalue2": {
  23441. "description": "配置单次最大转入限制(转入)",
  23442. "type": "number"
  23443. },
  23444. "timeminvalue": {
  23445. "description": "配置单次最小数量限制",
  23446. "type": "number"
  23447. },
  23448. "timeminvalue2": {
  23449. "description": "配置单次最小数量限制(转入)",
  23450. "type": "number"
  23451. },
  23452. "tradedate": {
  23453. "description": "交易日(yyyyMMdd)",
  23454. "type": "string"
  23455. },
  23456. "userid": {
  23457. "description": "用户ID",
  23458. "type": "integer"
  23459. }
  23460. }
  23461. },
  23462. "szdz.QueryGoodsPickupRsp": {
  23463. "type": "object",
  23464. "required": [
  23465. "takeorderid"
  23466. ],
  23467. "properties": {
  23468. "accountid": {
  23469. "description": "账户ID",
  23470. "type": "integer"
  23471. },
  23472. "address": {
  23473. "description": "提货人详细地址",
  23474. "type": "string"
  23475. },
  23476. "auditer": {
  23477. "description": "审核人",
  23478. "type": "integer"
  23479. },
  23480. "audittime": {
  23481. "description": "审核时间",
  23482. "type": "string"
  23483. },
  23484. "cardnum": {
  23485. "description": "提货人证件号码",
  23486. "type": "string"
  23487. },
  23488. "cardtypeid": {
  23489. "description": "提货人证件类型",
  23490. "type": "integer"
  23491. },
  23492. "checkremark": {
  23493. "description": "审核备注",
  23494. "type": "string"
  23495. },
  23496. "goodscode": {
  23497. "description": "商品代码",
  23498. "type": "string"
  23499. },
  23500. "goodsid": {
  23501. "description": "商品ID",
  23502. "type": "integer"
  23503. },
  23504. "goodsname": {
  23505. "description": "商品名称",
  23506. "type": "string"
  23507. },
  23508. "handlestatus": {
  23509. "description": "处理状态",
  23510. "type": "integer"
  23511. },
  23512. "marketid": {
  23513. "description": "市场ID",
  23514. "type": "integer"
  23515. },
  23516. "phonenum": {
  23517. "description": "提货人联系方式",
  23518. "type": "string"
  23519. },
  23520. "qty": {
  23521. "description": "提货数量",
  23522. "type": "number"
  23523. },
  23524. "recivername": {
  23525. "description": "提货人姓名",
  23526. "type": "string"
  23527. },
  23528. "reqtime": {
  23529. "description": "更新时间",
  23530. "type": "string"
  23531. },
  23532. "takemode": {
  23533. "description": "提货方式 - 2:自提 3:配送",
  23534. "type": "integer"
  23535. },
  23536. "takeorderid": {
  23537. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23538. "type": "string"
  23539. },
  23540. "takeorderstatus": {
  23541. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23542. "type": "integer"
  23543. },
  23544. "takeremark": {
  23545. "description": "提货备注",
  23546. "type": "string"
  23547. },
  23548. "tradedate": {
  23549. "description": "交易日(yyyyMMdd)",
  23550. "type": "string"
  23551. },
  23552. "userid": {
  23553. "description": "用户ID",
  23554. "type": "integer"
  23555. }
  23556. }
  23557. },
  23558. "szdz.QueryRecieptOrderRsp": {
  23559. "type": "object",
  23560. "required": [
  23561. "ordertime"
  23562. ],
  23563. "properties": {
  23564. "accountName": {
  23565. "description": "所属账号名称(已脱敏)",
  23566. "type": "string"
  23567. },
  23568. "accountid": {
  23569. "description": "资金账号",
  23570. "type": "integer"
  23571. },
  23572. "buyorsell": {
  23573. "description": "方向 - 0:买 1:卖",
  23574. "type": "integer"
  23575. },
  23576. "enableqty": {
  23577. "description": "可摘数量",
  23578. "type": "integer"
  23579. },
  23580. "goodscode": {
  23581. "description": "商品代码",
  23582. "type": "string"
  23583. },
  23584. "goodsid": {
  23585. "description": "商品ID",
  23586. "type": "integer"
  23587. },
  23588. "goodsname": {
  23589. "description": "商品名称",
  23590. "type": "string"
  23591. },
  23592. "orderid": {
  23593. "description": "委托单号",
  23594. "type": "string"
  23595. },
  23596. "orderprice": {
  23597. "description": "委托价格",
  23598. "type": "number"
  23599. },
  23600. "ordertime": {
  23601. "description": "委托时间",
  23602. "type": "string"
  23603. },
  23604. "tradedate": {
  23605. "description": "交易日(yyyyMMdd)",
  23606. "type": "string"
  23607. }
  23608. }
  23609. },
  23610. "szdz.QuerySZDZTradePositionRsp": {
  23611. "type": "object",
  23612. "properties": {
  23613. "accountid": {
  23614. "description": "账号Id",
  23615. "type": "integer"
  23616. },
  23617. "agreeunit": {
  23618. "description": "合约单位",
  23619. "type": "number"
  23620. },
  23621. "averageprice": {
  23622. "description": "持仓均价",
  23623. "type": "number"
  23624. },
  23625. "buyorsell": {
  23626. "description": "方向 - 0:买 1:卖",
  23627. "type": "integer"
  23628. },
  23629. "closetotalqty": {
  23630. "description": "平仓总数量",
  23631. "type": "integer"
  23632. },
  23633. "curholderamount": {
  23634. "description": "当前持仓总金额",
  23635. "type": "number"
  23636. },
  23637. "curpositionqty": {
  23638. "description": "当前持仓总数量",
  23639. "type": "integer"
  23640. },
  23641. "currencyid": {
  23642. "description": "报价货币ID",
  23643. "type": "integer"
  23644. },
  23645. "curtdposition": {
  23646. "description": "期末今日头寸",
  23647. "type": "integer"
  23648. },
  23649. "decimalplace": {
  23650. "description": "报价小数位",
  23651. "type": "integer"
  23652. },
  23653. "enableqty": {
  23654. "description": "可用量",
  23655. "type": "integer"
  23656. },
  23657. "fretdposition": {
  23658. "description": "冻结今日头寸",
  23659. "type": "integer"
  23660. },
  23661. "frozenqty": {
  23662. "description": "持仓冻结数量",
  23663. "type": "integer"
  23664. },
  23665. "goodscode": {
  23666. "description": "商品代码(内部)",
  23667. "type": "string"
  23668. },
  23669. "goodsid": {
  23670. "description": "商品Id",
  23671. "type": "integer"
  23672. },
  23673. "goodsname": {
  23674. "description": "商品名称",
  23675. "type": "string"
  23676. },
  23677. "goodunit": {
  23678. "description": "报价单位",
  23679. "type": "string"
  23680. },
  23681. "goodunitid": {
  23682. "description": "报价单位ID",
  23683. "type": "integer"
  23684. },
  23685. "holderamount": {
  23686. "description": "期初持仓总金额",
  23687. "type": "number"
  23688. },
  23689. "marketid": {
  23690. "description": "市场ID",
  23691. "type": "integer"
  23692. },
  23693. "openreqqty": {
  23694. "description": "开仓申请数量",
  23695. "type": "integer"
  23696. },
  23697. "opentotalqty": {
  23698. "description": "开仓总数量",
  23699. "type": "integer"
  23700. },
  23701. "otherfrozenqty": {
  23702. "description": "持仓其他冻结数量(交割冻结)",
  23703. "type": "integer"
  23704. },
  23705. "positionqty": {
  23706. "description": "期初持仓数量",
  23707. "type": "integer"
  23708. },
  23709. "szdz3freezqty": {
  23710. "description": "尚志大宗转换冻结总数量",
  23711. "type": "integer"
  23712. },
  23713. "tnqty": {
  23714. "description": "T+N冻结总量",
  23715. "type": "integer"
  23716. },
  23717. "tnusedqty": {
  23718. "description": "T+N使用量",
  23719. "type": "integer"
  23720. },
  23721. "trademode": {
  23722. "description": "交易模式",
  23723. "type": "integer"
  23724. },
  23725. "usedmargin": {
  23726. "description": "占用保证金",
  23727. "type": "number"
  23728. }
  23729. }
  23730. },
  23731. "taaccount.QueryAmountLogRsp": {
  23732. "type": "object",
  23733. "required": [
  23734. "accountid",
  23735. "amount",
  23736. "amountadjusttype",
  23737. "autoid",
  23738. "balance",
  23739. "createtime",
  23740. "currentbalance",
  23741. "operatetype"
  23742. ],
  23743. "properties": {
  23744. "OPERATETYPENAME": {
  23745. "description": "资金操作类型名称",
  23746. "type": "string"
  23747. },
  23748. "accountid": {
  23749. "description": "资金账户ID",
  23750. "type": "integer"
  23751. },
  23752. "agoodscode": {
  23753. "description": "竞拍商品代码",
  23754. "type": "string"
  23755. },
  23756. "agoodsname": {
  23757. "description": "竞拍商品名称",
  23758. "type": "string"
  23759. },
  23760. "amount": {
  23761. "description": "资金金额",
  23762. "type": "number"
  23763. },
  23764. "amountadjusttype": {
  23765. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23766. "type": "integer"
  23767. },
  23768. "autoid": {
  23769. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23770. "type": "integer"
  23771. },
  23772. "balance": {
  23773. "description": "期初余额",
  23774. "type": "number"
  23775. },
  23776. "businesscode": {
  23777. "description": "业务编号",
  23778. "type": "integer"
  23779. },
  23780. "createtime": {
  23781. "description": "发生时间",
  23782. "type": "string"
  23783. },
  23784. "currencyid": {
  23785. "description": "币种ID",
  23786. "type": "integer"
  23787. },
  23788. "currentbalance": {
  23789. "description": "期末余额(变动后金额)",
  23790. "type": "number"
  23791. },
  23792. "dgoodscode": {
  23793. "description": "交割商品代码",
  23794. "type": "string"
  23795. },
  23796. "dgoodsname": {
  23797. "description": "交割商品名称",
  23798. "type": "string"
  23799. },
  23800. "goodscode": {
  23801. "description": "商品代码",
  23802. "type": "string"
  23803. },
  23804. "goodsid": {
  23805. "description": "商品ID",
  23806. "type": "integer"
  23807. },
  23808. "goodsname": {
  23809. "description": "商品名称",
  23810. "type": "string"
  23811. },
  23812. "marketid": {
  23813. "description": "市场ID",
  23814. "type": "integer"
  23815. },
  23816. "marketname": {
  23817. "description": "市场名称",
  23818. "type": "string"
  23819. },
  23820. "moneyticket": {
  23821. "description": "资金流水号:银行端流水号",
  23822. "type": "integer"
  23823. },
  23824. "operatetype": {
  23825. "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:营销收款",
  23826. "type": "integer"
  23827. },
  23828. "relationorderid": {
  23829. "description": "关联单号",
  23830. "type": "string"
  23831. },
  23832. "remark": {
  23833. "description": "备注",
  23834. "type": "string"
  23835. },
  23836. "trademode": {
  23837. "description": "交易模式",
  23838. "type": "integer"
  23839. }
  23840. }
  23841. },
  23842. "taaccount.QueryHisAmountLogRsp": {
  23843. "type": "object",
  23844. "required": [
  23845. "accountid",
  23846. "amount",
  23847. "amountadjusttype",
  23848. "autoid",
  23849. "balance",
  23850. "createtime",
  23851. "currentbalance",
  23852. "histradedate",
  23853. "operatetype"
  23854. ],
  23855. "properties": {
  23856. "OPERATETYPENAME": {
  23857. "description": "资金操作类型名称",
  23858. "type": "string"
  23859. },
  23860. "accountid": {
  23861. "description": "资金账户ID",
  23862. "type": "integer"
  23863. },
  23864. "agoodscode": {
  23865. "description": "竞拍商品代码",
  23866. "type": "string"
  23867. },
  23868. "agoodsname": {
  23869. "description": "竞拍商品名称",
  23870. "type": "string"
  23871. },
  23872. "amount": {
  23873. "description": "资金金额",
  23874. "type": "number"
  23875. },
  23876. "amountadjusttype": {
  23877. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23878. "type": "integer"
  23879. },
  23880. "autoid": {
  23881. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23882. "type": "integer"
  23883. },
  23884. "balance": {
  23885. "description": "期初余额",
  23886. "type": "number"
  23887. },
  23888. "businesscode": {
  23889. "description": "业务编号",
  23890. "type": "integer"
  23891. },
  23892. "createtime": {
  23893. "description": "发生时间",
  23894. "type": "string"
  23895. },
  23896. "currencyid": {
  23897. "description": "币种ID",
  23898. "type": "integer"
  23899. },
  23900. "currentbalance": {
  23901. "description": "期末余额(变动后金额)",
  23902. "type": "number"
  23903. },
  23904. "dgoodscode": {
  23905. "description": "交割商品代码",
  23906. "type": "string"
  23907. },
  23908. "dgoodsname": {
  23909. "description": "交割商品名称",
  23910. "type": "string"
  23911. },
  23912. "goodscode": {
  23913. "description": "商品代码",
  23914. "type": "string"
  23915. },
  23916. "goodsid": {
  23917. "description": "商品ID",
  23918. "type": "integer"
  23919. },
  23920. "goodsname": {
  23921. "description": "商品名称",
  23922. "type": "string"
  23923. },
  23924. "histradedate": {
  23925. "description": "历史交易日",
  23926. "type": "string"
  23927. },
  23928. "isvaliddata": {
  23929. "description": "是否有效 - 0:无效 1:有效",
  23930. "type": "integer"
  23931. },
  23932. "marketid": {
  23933. "description": "市场ID",
  23934. "type": "integer"
  23935. },
  23936. "marketname": {
  23937. "description": "市场名称",
  23938. "type": "string"
  23939. },
  23940. "moneyticket": {
  23941. "description": "资金流水号:银行端流水号",
  23942. "type": "integer"
  23943. },
  23944. "operatetype": {
  23945. "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:营销收款",
  23946. "type": "integer"
  23947. },
  23948. "relationorderid": {
  23949. "description": "关联单号",
  23950. "type": "string"
  23951. },
  23952. "remark": {
  23953. "description": "备注",
  23954. "type": "string"
  23955. },
  23956. "trademode": {
  23957. "description": "交易模式",
  23958. "type": "integer"
  23959. }
  23960. }
  23961. },
  23962. "trade.QueryRecieptOrderRsp": {
  23963. "type": "object",
  23964. "required": [
  23965. "ordertime"
  23966. ],
  23967. "properties": {
  23968. "accountName": {
  23969. "description": "所属账号名称(已脱敏)",
  23970. "type": "string"
  23971. },
  23972. "accountid": {
  23973. "description": "资金账号",
  23974. "type": "integer"
  23975. },
  23976. "buyorsell": {
  23977. "description": "方向 - 0:买 1:卖",
  23978. "type": "integer"
  23979. },
  23980. "enableqty": {
  23981. "description": "可摘数量",
  23982. "type": "integer"
  23983. },
  23984. "goodscode": {
  23985. "description": "商品代码",
  23986. "type": "string"
  23987. },
  23988. "goodsid": {
  23989. "description": "商品ID",
  23990. "type": "integer"
  23991. },
  23992. "goodsname": {
  23993. "description": "商品名称",
  23994. "type": "string"
  23995. },
  23996. "orderid": {
  23997. "description": "委托单号",
  23998. "type": "string"
  23999. },
  24000. "orderprice": {
  24001. "description": "委托价格",
  24002. "type": "number"
  24003. },
  24004. "ordertime": {
  24005. "description": "委托时间",
  24006. "type": "string"
  24007. },
  24008. "tradedate": {
  24009. "description": "交易日(yyyyMMdd)",
  24010. "type": "string"
  24011. }
  24012. }
  24013. },
  24014. "user.LoginQueryRsp": {
  24015. "type": "object",
  24016. "properties": {
  24017. "areaRoles": {
  24018. "description": "所属角色信息",
  24019. "type": "array",
  24020. "items": {
  24021. "$ref": "#/definitions/models.Arearole"
  24022. }
  24023. },
  24024. "externalExchanges": {
  24025. "description": "外部交易所",
  24026. "type": "array",
  24027. "items": {
  24028. "$ref": "#/definitions/models.Externalexchange"
  24029. }
  24030. },
  24031. "goodsgroups": {
  24032. "description": "商品组",
  24033. "type": "array",
  24034. "items": {
  24035. "$ref": "#/definitions/models.Goodsgroup"
  24036. }
  24037. },
  24038. "loginAccount": {
  24039. "description": "登录账号",
  24040. "type": "object",
  24041. "$ref": "#/definitions/models.Loginaccount"
  24042. },
  24043. "markets": {
  24044. "description": "市场",
  24045. "type": "array",
  24046. "items": {
  24047. "$ref": "#/definitions/models.Market"
  24048. }
  24049. },
  24050. "systemParams": {
  24051. "description": "系统参数",
  24052. "type": "array",
  24053. "items": {
  24054. "$ref": "#/definitions/models.Systemparam"
  24055. }
  24056. },
  24057. "userAccount": {
  24058. "description": "用户账号",
  24059. "type": "object",
  24060. "$ref": "#/definitions/models.Useraccount"
  24061. },
  24062. "userInfo": {
  24063. "description": "用户信息",
  24064. "type": "object",
  24065. "$ref": "#/definitions/models.Userinfo"
  24066. },
  24067. "username": {
  24068. "description": "用户姓名",
  24069. "type": "string"
  24070. }
  24071. }
  24072. }
  24073. },
  24074. "securityDefinitions": {
  24075. "ApiKeyAuth": {
  24076. "type": "apiKey",
  24077. "name": "Authorization",
  24078. "in": "header"
  24079. }
  24080. }
  24081. }`
  24082. type swaggerInfo struct {
  24083. Version string
  24084. Host string
  24085. BasePath string
  24086. Schemes []string
  24087. Title string
  24088. Description string
  24089. }
  24090. // SwaggerInfo holds exported Swagger Info so clients can modify it
  24091. var SwaggerInfo = swaggerInfo{
  24092. Version: "1.0",
  24093. Host: "",
  24094. BasePath: "/api",
  24095. Schemes: []string{},
  24096. Title: "MTP2.0 查询服务 API",
  24097. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  24098. }
  24099. type s struct{}
  24100. func (s *s) ReadDoc() string {
  24101. sInfo := SwaggerInfo
  24102. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  24103. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  24104. "marshal": func(v interface{}) string {
  24105. a, _ := json.Marshal(v)
  24106. return string(a)
  24107. },
  24108. }).Parse(doc)
  24109. if err != nil {
  24110. return doc
  24111. }
  24112. var tpl bytes.Buffer
  24113. if err := t.Execute(&tpl, sInfo); err != nil {
  24114. return doc
  24115. }
  24116. return tpl.String()
  24117. }
  24118. func init() {
  24119. swag.Register(swag.Name, &s{})
  24120. }