docs.go 793 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  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.Funcmenulist"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/QryReportAreaSpotPL": {
  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": "用户ID",
  971. "name": "userid",
  972. "in": "query",
  973. "required": true
  974. },
  975. {
  976. "type": "integer",
  977. "description": "查询类型 1-日报表 2-月报表",
  978. "name": "querytype",
  979. "in": "query",
  980. "required": true
  981. },
  982. {
  983. "type": "string",
  984. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  985. "name": "querydate",
  986. "in": "query",
  987. "required": true
  988. },
  989. {
  990. "type": "integer",
  991. "description": "现货商品ID",
  992. "name": "wrstandardid",
  993. "in": "query"
  994. },
  995. {
  996. "type": "integer",
  997. "description": "品牌ID",
  998. "name": "spotgoodsbrandid",
  999. "in": "query"
  1000. },
  1001. {
  1002. "type": "integer",
  1003. "description": "型号ID",
  1004. "name": "spotgoodsmodelid",
  1005. "in": "query"
  1006. }
  1007. ],
  1008. "responses": {
  1009. "200": {
  1010. "description": "OK",
  1011. "schema": {
  1012. "type": "array",
  1013. "items": {
  1014. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1015. }
  1016. }
  1017. },
  1018. "500": {
  1019. "description": "Internal Server Error",
  1020. "schema": {
  1021. "$ref": "#/definitions/app.Response"
  1022. }
  1023. }
  1024. }
  1025. }
  1026. },
  1027. "/Ermcp/QryReportDayExposure": {
  1028. "get": {
  1029. "security": [
  1030. {
  1031. "ApiKeyAuth": []
  1032. }
  1033. ],
  1034. "produces": [
  1035. "application/json"
  1036. ],
  1037. "tags": [
  1038. "企业风险管理(app)"
  1039. ],
  1040. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1041. "parameters": [
  1042. {
  1043. "type": "integer",
  1044. "description": "用户ID",
  1045. "name": "userid",
  1046. "in": "query",
  1047. "required": true
  1048. },
  1049. {
  1050. "type": "string",
  1051. "description": "交易日(格式:yyyyMMdd)",
  1052. "name": "tradedate",
  1053. "in": "query",
  1054. "required": true
  1055. }
  1056. ],
  1057. "responses": {
  1058. "200": {
  1059. "description": "OK",
  1060. "schema": {
  1061. "type": "array",
  1062. "items": {
  1063. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1064. }
  1065. }
  1066. },
  1067. "500": {
  1068. "description": "Internal Server Error",
  1069. "schema": {
  1070. "$ref": "#/definitions/app.Response"
  1071. }
  1072. }
  1073. }
  1074. }
  1075. },
  1076. "/Ermcp/QryReportDayFinance": {
  1077. "get": {
  1078. "security": [
  1079. {
  1080. "ApiKeyAuth": []
  1081. }
  1082. ],
  1083. "produces": [
  1084. "application/json"
  1085. ],
  1086. "tags": [
  1087. "企业风险管理(app)"
  1088. ],
  1089. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1090. "parameters": [
  1091. {
  1092. "type": "integer",
  1093. "description": "用户ID",
  1094. "name": "userid",
  1095. "in": "query",
  1096. "required": true
  1097. },
  1098. {
  1099. "type": "string",
  1100. "description": "交易日(格式:yyyyMMdd)",
  1101. "name": "tradedate",
  1102. "in": "query",
  1103. "required": true
  1104. }
  1105. ],
  1106. "responses": {
  1107. "200": {
  1108. "description": "OK",
  1109. "schema": {
  1110. "type": "array",
  1111. "items": {
  1112. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1113. }
  1114. }
  1115. },
  1116. "500": {
  1117. "description": "Internal Server Error",
  1118. "schema": {
  1119. "$ref": "#/definitions/app.Response"
  1120. }
  1121. }
  1122. }
  1123. }
  1124. },
  1125. "/Ermcp/QryReportDayFinanceFp": {
  1126. "get": {
  1127. "security": [
  1128. {
  1129. "ApiKeyAuth": []
  1130. }
  1131. ],
  1132. "produces": [
  1133. "application/json"
  1134. ],
  1135. "tags": [
  1136. "企业风险管理(app)"
  1137. ],
  1138. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1139. "parameters": [
  1140. {
  1141. "type": "integer",
  1142. "description": "用户ID",
  1143. "name": "userid",
  1144. "in": "query",
  1145. "required": true
  1146. },
  1147. {
  1148. "type": "string",
  1149. "description": "交易日(格式:yyyyMMdd)",
  1150. "name": "tradedate",
  1151. "in": "query",
  1152. "required": true
  1153. }
  1154. ],
  1155. "responses": {
  1156. "200": {
  1157. "description": "OK",
  1158. "schema": {
  1159. "type": "array",
  1160. "items": {
  1161. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1162. }
  1163. }
  1164. },
  1165. "500": {
  1166. "description": "Internal Server Error",
  1167. "schema": {
  1168. "$ref": "#/definitions/app.Response"
  1169. }
  1170. }
  1171. }
  1172. }
  1173. },
  1174. "/Ermcp/QryReportDayFinanceKx": {
  1175. "get": {
  1176. "security": [
  1177. {
  1178. "ApiKeyAuth": []
  1179. }
  1180. ],
  1181. "produces": [
  1182. "application/json"
  1183. ],
  1184. "tags": [
  1185. "企业风险管理(app)"
  1186. ],
  1187. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1188. "parameters": [
  1189. {
  1190. "type": "integer",
  1191. "description": "用户ID",
  1192. "name": "userid",
  1193. "in": "query",
  1194. "required": true
  1195. },
  1196. {
  1197. "type": "string",
  1198. "description": "交易日(格式:yyyyMMdd)",
  1199. "name": "tradedate",
  1200. "in": "query",
  1201. "required": true
  1202. }
  1203. ],
  1204. "responses": {
  1205. "200": {
  1206. "description": "OK",
  1207. "schema": {
  1208. "type": "array",
  1209. "items": {
  1210. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1211. }
  1212. }
  1213. },
  1214. "500": {
  1215. "description": "Internal Server Error",
  1216. "schema": {
  1217. "$ref": "#/definitions/app.Response"
  1218. }
  1219. }
  1220. }
  1221. }
  1222. },
  1223. "/Ermcp/QryReportDaySpot": {
  1224. "get": {
  1225. "security": [
  1226. {
  1227. "ApiKeyAuth": []
  1228. }
  1229. ],
  1230. "produces": [
  1231. "application/json"
  1232. ],
  1233. "tags": [
  1234. "企业风险管理(app)"
  1235. ],
  1236. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1237. "parameters": [
  1238. {
  1239. "type": "integer",
  1240. "description": "用户ID",
  1241. "name": "userid",
  1242. "in": "query",
  1243. "required": true
  1244. },
  1245. {
  1246. "type": "string",
  1247. "description": "交易日(格式:yyyyMMdd)",
  1248. "name": "tradedate",
  1249. "in": "query",
  1250. "required": true
  1251. }
  1252. ],
  1253. "responses": {
  1254. "200": {
  1255. "description": "OK",
  1256. "schema": {
  1257. "type": "array",
  1258. "items": {
  1259. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1260. }
  1261. }
  1262. },
  1263. "500": {
  1264. "description": "Internal Server Error",
  1265. "schema": {
  1266. "$ref": "#/definitions/app.Response"
  1267. }
  1268. }
  1269. }
  1270. }
  1271. },
  1272. "/Ermcp/QryReportDaySpotDetail": {
  1273. "get": {
  1274. "security": [
  1275. {
  1276. "ApiKeyAuth": []
  1277. }
  1278. ],
  1279. "produces": [
  1280. "application/json"
  1281. ],
  1282. "tags": [
  1283. "企业风险管理(app)"
  1284. ],
  1285. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1286. "parameters": [
  1287. {
  1288. "type": "integer",
  1289. "description": "用户ID",
  1290. "name": "userid",
  1291. "in": "query",
  1292. "required": true
  1293. },
  1294. {
  1295. "type": "integer",
  1296. "description": "现货商品id",
  1297. "name": "wrstandardid",
  1298. "in": "query",
  1299. "required": true
  1300. },
  1301. {
  1302. "type": "string",
  1303. "description": "交易日(格式:yyyyMMdd)",
  1304. "name": "tradedate",
  1305. "in": "query",
  1306. "required": true
  1307. }
  1308. ],
  1309. "responses": {
  1310. "200": {
  1311. "description": "OK",
  1312. "schema": {
  1313. "type": "array",
  1314. "items": {
  1315. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1316. }
  1317. }
  1318. },
  1319. "500": {
  1320. "description": "Internal Server Error",
  1321. "schema": {
  1322. "$ref": "#/definitions/app.Response"
  1323. }
  1324. }
  1325. }
  1326. }
  1327. },
  1328. "/Ermcp/QryReportMonthFinance": {
  1329. "get": {
  1330. "security": [
  1331. {
  1332. "ApiKeyAuth": []
  1333. }
  1334. ],
  1335. "produces": [
  1336. "application/json"
  1337. ],
  1338. "tags": [
  1339. "企业风险管理(app)"
  1340. ],
  1341. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1342. "parameters": [
  1343. {
  1344. "type": "integer",
  1345. "description": "用户ID",
  1346. "name": "userid",
  1347. "in": "query",
  1348. "required": true
  1349. },
  1350. {
  1351. "type": "string",
  1352. "description": "周期时间:月(格式:yyyyMM)",
  1353. "name": "cycletime",
  1354. "in": "query",
  1355. "required": true
  1356. }
  1357. ],
  1358. "responses": {
  1359. "200": {
  1360. "description": "OK",
  1361. "schema": {
  1362. "type": "array",
  1363. "items": {
  1364. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1365. }
  1366. }
  1367. },
  1368. "500": {
  1369. "description": "Internal Server Error",
  1370. "schema": {
  1371. "$ref": "#/definitions/app.Response"
  1372. }
  1373. }
  1374. }
  1375. }
  1376. },
  1377. "/Ermcp/QryReportMonthSpot": {
  1378. "get": {
  1379. "security": [
  1380. {
  1381. "ApiKeyAuth": []
  1382. }
  1383. ],
  1384. "produces": [
  1385. "application/json"
  1386. ],
  1387. "tags": [
  1388. "企业风险管理(app)"
  1389. ],
  1390. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1391. "parameters": [
  1392. {
  1393. "type": "integer",
  1394. "description": "用户ID",
  1395. "name": "userid",
  1396. "in": "query",
  1397. "required": true
  1398. },
  1399. {
  1400. "type": "string",
  1401. "description": "周期时间:月(格式:yyyyMM)",
  1402. "name": "cycletime",
  1403. "in": "query",
  1404. "required": true
  1405. }
  1406. ],
  1407. "responses": {
  1408. "200": {
  1409. "description": "OK",
  1410. "schema": {
  1411. "type": "array",
  1412. "items": {
  1413. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1414. }
  1415. }
  1416. },
  1417. "500": {
  1418. "description": "Internal Server Error",
  1419. "schema": {
  1420. "$ref": "#/definitions/app.Response"
  1421. }
  1422. }
  1423. }
  1424. }
  1425. },
  1426. "/Ermcp/QryReportMonthSpotDetail": {
  1427. "get": {
  1428. "security": [
  1429. {
  1430. "ApiKeyAuth": []
  1431. }
  1432. ],
  1433. "produces": [
  1434. "application/json"
  1435. ],
  1436. "tags": [
  1437. "企业风险管理(app)"
  1438. ],
  1439. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1440. "parameters": [
  1441. {
  1442. "type": "integer",
  1443. "description": "用户ID",
  1444. "name": "userid",
  1445. "in": "query",
  1446. "required": true
  1447. },
  1448. {
  1449. "type": "integer",
  1450. "description": "现货商品id",
  1451. "name": "wrstandardid",
  1452. "in": "query",
  1453. "required": true
  1454. },
  1455. {
  1456. "type": "string",
  1457. "description": "周期时间:月(格式:yyyyMM)",
  1458. "name": "cycletime",
  1459. "in": "query",
  1460. "required": true
  1461. }
  1462. ],
  1463. "responses": {
  1464. "200": {
  1465. "description": "OK",
  1466. "schema": {
  1467. "type": "array",
  1468. "items": {
  1469. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1470. }
  1471. }
  1472. },
  1473. "500": {
  1474. "description": "Internal Server Error",
  1475. "schema": {
  1476. "$ref": "#/definitions/app.Response"
  1477. }
  1478. }
  1479. }
  1480. }
  1481. },
  1482. "/Ermcp/QueryAccMgrBizGroupSet": {
  1483. "get": {
  1484. "security": [
  1485. {
  1486. "ApiKeyAuth": []
  1487. }
  1488. ],
  1489. "produces": [
  1490. "application/json"
  1491. ],
  1492. "tags": [
  1493. "企业风险管理(app)"
  1494. ],
  1495. "summary": "查询业务类型分组(账户管理/账户设置)",
  1496. "parameters": [
  1497. {
  1498. "type": "integer",
  1499. "description": "用户ID",
  1500. "name": "userid",
  1501. "in": "query",
  1502. "required": true
  1503. }
  1504. ],
  1505. "responses": {
  1506. "200": {
  1507. "description": "OK",
  1508. "schema": {
  1509. "type": "array",
  1510. "items": {
  1511. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1512. }
  1513. }
  1514. },
  1515. "500": {
  1516. "description": "Internal Server Error",
  1517. "schema": {
  1518. "$ref": "#/definitions/app.Response"
  1519. }
  1520. }
  1521. }
  1522. }
  1523. },
  1524. "/Ermcp/QueryAccMgrLoginUser": {
  1525. "get": {
  1526. "security": [
  1527. {
  1528. "ApiKeyAuth": []
  1529. }
  1530. ],
  1531. "produces": [
  1532. "application/json"
  1533. ],
  1534. "tags": [
  1535. "企业风险管理(app)"
  1536. ],
  1537. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1538. "parameters": [
  1539. {
  1540. "type": "integer",
  1541. "description": "用户ID",
  1542. "name": "userid",
  1543. "in": "query",
  1544. "required": true
  1545. }
  1546. ],
  1547. "responses": {
  1548. "200": {
  1549. "description": "OK",
  1550. "schema": {
  1551. "type": "array",
  1552. "items": {
  1553. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1554. }
  1555. }
  1556. },
  1557. "500": {
  1558. "description": "Internal Server Error",
  1559. "schema": {
  1560. "$ref": "#/definitions/app.Response"
  1561. }
  1562. }
  1563. }
  1564. }
  1565. },
  1566. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1567. "get": {
  1568. "security": [
  1569. {
  1570. "ApiKeyAuth": []
  1571. }
  1572. ],
  1573. "produces": [
  1574. "application/json"
  1575. ],
  1576. "tags": [
  1577. "企业风险管理(app)"
  1578. ],
  1579. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1580. "parameters": [
  1581. {
  1582. "type": "integer",
  1583. "description": "用户ID",
  1584. "name": "userid",
  1585. "in": "query"
  1586. },
  1587. {
  1588. "type": "integer",
  1589. "description": "主账号id",
  1590. "name": "accountid",
  1591. "in": "query"
  1592. }
  1593. ],
  1594. "responses": {
  1595. "200": {
  1596. "description": "OK",
  1597. "schema": {
  1598. "type": "array",
  1599. "items": {
  1600. "$ref": "#/definitions/models.MainAccountInfo"
  1601. }
  1602. }
  1603. },
  1604. "500": {
  1605. "description": "Internal Server Error",
  1606. "schema": {
  1607. "$ref": "#/definitions/app.Response"
  1608. }
  1609. }
  1610. }
  1611. }
  1612. },
  1613. "/Ermcp/QueryAccMgrRole": {
  1614. "get": {
  1615. "security": [
  1616. {
  1617. "ApiKeyAuth": []
  1618. }
  1619. ],
  1620. "produces": [
  1621. "application/json"
  1622. ],
  1623. "tags": [
  1624. "企业风险管理(app)"
  1625. ],
  1626. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1627. "parameters": [
  1628. {
  1629. "type": "integer",
  1630. "description": "用户ID",
  1631. "name": "userid",
  1632. "in": "query",
  1633. "required": true
  1634. }
  1635. ],
  1636. "responses": {
  1637. "200": {
  1638. "description": "OK",
  1639. "schema": {
  1640. "type": "array",
  1641. "items": {
  1642. "$ref": "#/definitions/models.ErmcpRole"
  1643. }
  1644. }
  1645. },
  1646. "500": {
  1647. "description": "Internal Server Error",
  1648. "schema": {
  1649. "$ref": "#/definitions/app.Response"
  1650. }
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "/Ermcp/QueryAccMgrRoleMenu": {
  1656. "get": {
  1657. "security": [
  1658. {
  1659. "ApiKeyAuth": []
  1660. }
  1661. ],
  1662. "produces": [
  1663. "application/json"
  1664. ],
  1665. "tags": [
  1666. "企业风险管理(app)"
  1667. ],
  1668. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1669. "parameters": [
  1670. {
  1671. "type": "integer",
  1672. "description": "用户ID",
  1673. "name": "userid",
  1674. "in": "query",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "string",
  1679. "description": "角色id(可多个,逗号隔开)",
  1680. "name": "roleid",
  1681. "in": "query"
  1682. }
  1683. ],
  1684. "responses": {
  1685. "200": {
  1686. "description": "OK",
  1687. "schema": {
  1688. "type": "array",
  1689. "items": {
  1690. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1691. }
  1692. }
  1693. },
  1694. "500": {
  1695. "description": "Internal Server Error",
  1696. "schema": {
  1697. "$ref": "#/definitions/app.Response"
  1698. }
  1699. }
  1700. }
  1701. }
  1702. },
  1703. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1704. "get": {
  1705. "security": [
  1706. {
  1707. "ApiKeyAuth": []
  1708. }
  1709. ],
  1710. "produces": [
  1711. "application/json"
  1712. ],
  1713. "tags": [
  1714. "企业风险管理(app)"
  1715. ],
  1716. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1717. "parameters": [
  1718. {
  1719. "type": "integer",
  1720. "description": "用户ID",
  1721. "name": "userid",
  1722. "in": "query",
  1723. "required": true
  1724. },
  1725. {
  1726. "type": "integer",
  1727. "description": "账号id",
  1728. "name": "accountid",
  1729. "in": "query"
  1730. }
  1731. ],
  1732. "responses": {
  1733. "200": {
  1734. "description": "OK",
  1735. "schema": {
  1736. "type": "array",
  1737. "items": {
  1738. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1739. }
  1740. }
  1741. },
  1742. "500": {
  1743. "description": "Internal Server Error",
  1744. "schema": {
  1745. "$ref": "#/definitions/app.Response"
  1746. }
  1747. }
  1748. }
  1749. }
  1750. },
  1751. "/Ermcp/QueryAccMgrTaaccount": {
  1752. "get": {
  1753. "security": [
  1754. {
  1755. "ApiKeyAuth": []
  1756. }
  1757. ],
  1758. "produces": [
  1759. "application/json"
  1760. ],
  1761. "tags": [
  1762. "企业风险管理(app)"
  1763. ],
  1764. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1765. "parameters": [
  1766. {
  1767. "type": "integer",
  1768. "description": "用户ID",
  1769. "name": "userid",
  1770. "in": "query",
  1771. "required": true
  1772. }
  1773. ],
  1774. "responses": {
  1775. "200": {
  1776. "description": "OK",
  1777. "schema": {
  1778. "type": "array",
  1779. "items": {
  1780. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1781. }
  1782. }
  1783. },
  1784. "500": {
  1785. "description": "Internal Server Error",
  1786. "schema": {
  1787. "$ref": "#/definitions/app.Response"
  1788. }
  1789. }
  1790. }
  1791. }
  1792. },
  1793. "/Ermcp/QueryAreaStock": {
  1794. "get": {
  1795. "security": [
  1796. {
  1797. "ApiKeyAuth": []
  1798. }
  1799. ],
  1800. "produces": [
  1801. "application/json"
  1802. ],
  1803. "tags": [
  1804. "企业风险管理(app)"
  1805. ],
  1806. "summary": "查询机构库存(库存管理/当前库存)",
  1807. "parameters": [
  1808. {
  1809. "type": "integer",
  1810. "description": "用户ID",
  1811. "name": "userid",
  1812. "in": "query",
  1813. "required": true
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "type": "array",
  1821. "items": {
  1822. "$ref": "#/definitions/models.ErmcpAreaStock"
  1823. }
  1824. }
  1825. },
  1826. "500": {
  1827. "description": "Internal Server Error",
  1828. "schema": {
  1829. "$ref": "#/definitions/app.Response"
  1830. }
  1831. }
  1832. }
  1833. }
  1834. },
  1835. "/Ermcp/QueryAreaStockApply": {
  1836. "get": {
  1837. "security": [
  1838. {
  1839. "ApiKeyAuth": []
  1840. }
  1841. ],
  1842. "produces": [
  1843. "application/json"
  1844. ],
  1845. "tags": [
  1846. "企业风险管理(app)"
  1847. ],
  1848. "summary": "查询库存申请(出入库记录|库存审核)",
  1849. "parameters": [
  1850. {
  1851. "type": "integer",
  1852. "description": "用户ID",
  1853. "name": "userid",
  1854. "in": "query",
  1855. "required": true
  1856. },
  1857. {
  1858. "type": "string",
  1859. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1860. "name": "inouttype",
  1861. "in": "query"
  1862. },
  1863. {
  1864. "type": "integer",
  1865. "description": "合同ID",
  1866. "name": "spotcontractid",
  1867. "in": "query"
  1868. },
  1869. {
  1870. "type": "integer",
  1871. "description": "现货商品ID",
  1872. "name": "wrstandardid",
  1873. "in": "query"
  1874. },
  1875. {
  1876. "type": "integer",
  1877. "description": "品牌ID",
  1878. "name": "spotgoodsbrandid",
  1879. "in": "query"
  1880. },
  1881. {
  1882. "type": "integer",
  1883. "description": "型号ID",
  1884. "name": "spotgoodsmodelid",
  1885. "in": "query"
  1886. },
  1887. {
  1888. "type": "integer",
  1889. "description": "仓库ID",
  1890. "name": "warehouseinfoid",
  1891. "in": "query"
  1892. },
  1893. {
  1894. "type": "string",
  1895. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1896. "name": "applystatus",
  1897. "in": "query"
  1898. }
  1899. ],
  1900. "responses": {
  1901. "200": {
  1902. "description": "OK",
  1903. "schema": {
  1904. "type": "array",
  1905. "items": {
  1906. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1907. }
  1908. }
  1909. },
  1910. "500": {
  1911. "description": "Internal Server Error",
  1912. "schema": {
  1913. "$ref": "#/definitions/app.Response"
  1914. }
  1915. }
  1916. }
  1917. }
  1918. },
  1919. "/Ermcp/QueryAreaStockApplySum": {
  1920. "get": {
  1921. "security": [
  1922. {
  1923. "ApiKeyAuth": []
  1924. }
  1925. ],
  1926. "produces": [
  1927. "application/json"
  1928. ],
  1929. "tags": [
  1930. "企业风险管理(app)"
  1931. ],
  1932. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1933. "parameters": [
  1934. {
  1935. "type": "integer",
  1936. "description": "合同ID",
  1937. "name": "spotcontractid",
  1938. "in": "query"
  1939. }
  1940. ],
  1941. "responses": {
  1942. "200": {
  1943. "description": "OK",
  1944. "schema": {
  1945. "type": "array",
  1946. "items": {
  1947. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1948. }
  1949. }
  1950. },
  1951. "500": {
  1952. "description": "Internal Server Error",
  1953. "schema": {
  1954. "$ref": "#/definitions/app.Response"
  1955. }
  1956. }
  1957. }
  1958. }
  1959. },
  1960. "/Ermcp/QueryAreaStockReport": {
  1961. "get": {
  1962. "security": [
  1963. {
  1964. "ApiKeyAuth": []
  1965. }
  1966. ],
  1967. "produces": [
  1968. "application/json"
  1969. ],
  1970. "tags": [
  1971. "企业风险管理(app)"
  1972. ],
  1973. "summary": "查询库存报表",
  1974. "parameters": [
  1975. {
  1976. "type": "integer",
  1977. "description": "用户ID",
  1978. "name": "userid",
  1979. "in": "query",
  1980. "required": true
  1981. },
  1982. {
  1983. "type": "integer",
  1984. "description": "查询类型 1-日报表 2-月报表",
  1985. "name": "querytype",
  1986. "in": "query",
  1987. "required": true
  1988. },
  1989. {
  1990. "type": "string",
  1991. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1992. "name": "querydate",
  1993. "in": "query",
  1994. "required": true
  1995. },
  1996. {
  1997. "type": "integer",
  1998. "description": "现货商品ID",
  1999. "name": "wrstandardid",
  2000. "in": "query"
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "品牌ID",
  2005. "name": "spotgoodsbrandid",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "型号ID",
  2011. "name": "spotgoodsmodelid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "integer",
  2016. "description": "仓库ID",
  2017. "name": "warehouseinfoid",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryAreaStockReportDetail": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询库存报表明细",
  2054. "parameters": [
  2055. {
  2056. "type": "integer",
  2057. "description": "用户ID",
  2058. "name": "userid",
  2059. "in": "query",
  2060. "required": true
  2061. },
  2062. {
  2063. "type": "integer",
  2064. "description": "查询类型 1-日报表明细 2-月报表明细",
  2065. "name": "querytype",
  2066. "in": "query",
  2067. "required": true
  2068. },
  2069. {
  2070. "type": "integer",
  2071. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2072. "name": "detailtype",
  2073. "in": "query",
  2074. "required": true
  2075. },
  2076. {
  2077. "type": "string",
  2078. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2079. "name": "querydate",
  2080. "in": "query",
  2081. "required": true
  2082. },
  2083. {
  2084. "type": "integer",
  2085. "description": "现货商品ID",
  2086. "name": "wrstandardid",
  2087. "in": "query"
  2088. },
  2089. {
  2090. "type": "integer",
  2091. "description": "品牌ID",
  2092. "name": "spotgoodsbrandid",
  2093. "in": "query"
  2094. },
  2095. {
  2096. "type": "integer",
  2097. "description": "型号ID",
  2098. "name": "spotgoodsmodelid",
  2099. "in": "query"
  2100. },
  2101. {
  2102. "type": "integer",
  2103. "description": "仓库ID",
  2104. "name": "warehouseinfoid",
  2105. "in": "query"
  2106. }
  2107. ],
  2108. "responses": {
  2109. "200": {
  2110. "description": "OK",
  2111. "schema": {
  2112. "type": "array",
  2113. "items": {
  2114. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2115. }
  2116. }
  2117. },
  2118. "500": {
  2119. "description": "Internal Server Error",
  2120. "schema": {
  2121. "$ref": "#/definitions/app.Response"
  2122. }
  2123. }
  2124. }
  2125. }
  2126. },
  2127. "/Ermcp/QueryAvaildGoodsGroup": {
  2128. "get": {
  2129. "security": [
  2130. {
  2131. "ApiKeyAuth": []
  2132. }
  2133. ],
  2134. "produces": [
  2135. "application/json"
  2136. ],
  2137. "tags": [
  2138. "企业风险管理(app)"
  2139. ],
  2140. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2141. "parameters": [
  2142. {
  2143. "type": "integer",
  2144. "description": "所属机构ID",
  2145. "name": "userid",
  2146. "in": "query",
  2147. "required": true
  2148. }
  2149. ],
  2150. "responses": {
  2151. "200": {
  2152. "description": "OK",
  2153. "schema": {
  2154. "type": "array",
  2155. "items": {
  2156. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2157. }
  2158. }
  2159. },
  2160. "500": {
  2161. "description": "Internal Server Error",
  2162. "schema": {
  2163. "$ref": "#/definitions/app.Response"
  2164. }
  2165. }
  2166. }
  2167. }
  2168. },
  2169. "/Ermcp/QueryBusinessDj": {
  2170. "get": {
  2171. "security": [
  2172. {
  2173. "ApiKeyAuth": []
  2174. }
  2175. ],
  2176. "produces": [
  2177. "application/json"
  2178. ],
  2179. "tags": [
  2180. "企业风险管理(app)"
  2181. ],
  2182. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2183. "parameters": [
  2184. {
  2185. "type": "integer",
  2186. "description": "用户ID",
  2187. "name": "UserId",
  2188. "in": "query",
  2189. "required": true
  2190. },
  2191. {
  2192. "type": "string",
  2193. "description": "现货合同ID, 不填则查所有",
  2194. "name": "relatedid",
  2195. "in": "query"
  2196. },
  2197. {
  2198. "type": "string",
  2199. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2200. "name": "applystatus",
  2201. "in": "query"
  2202. }
  2203. ],
  2204. "responses": {
  2205. "200": {
  2206. "description": "OK",
  2207. "schema": {
  2208. "type": "array",
  2209. "items": {
  2210. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2211. }
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/Ermcp/QueryBusinessFp": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "produces": [
  2231. "application/json"
  2232. ],
  2233. "tags": [
  2234. "企业风险管理(app)"
  2235. ],
  2236. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2237. "parameters": [
  2238. {
  2239. "type": "integer",
  2240. "description": "用户ID",
  2241. "name": "UserId",
  2242. "in": "query",
  2243. "required": true
  2244. },
  2245. {
  2246. "type": "string",
  2247. "description": "现货合同ID, 不填则查所有",
  2248. "name": "relatedid",
  2249. "in": "query"
  2250. },
  2251. {
  2252. "type": "string",
  2253. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2254. "name": "applystatus",
  2255. "in": "query"
  2256. }
  2257. ],
  2258. "responses": {
  2259. "200": {
  2260. "description": "OK",
  2261. "schema": {
  2262. "type": "array",
  2263. "items": {
  2264. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2265. }
  2266. }
  2267. },
  2268. "500": {
  2269. "description": "Internal Server Error",
  2270. "schema": {
  2271. "$ref": "#/definitions/app.Response"
  2272. }
  2273. }
  2274. }
  2275. }
  2276. },
  2277. "/Ermcp/QueryBusinessJs": {
  2278. "get": {
  2279. "security": [
  2280. {
  2281. "ApiKeyAuth": []
  2282. }
  2283. ],
  2284. "produces": [
  2285. "application/json"
  2286. ],
  2287. "tags": [
  2288. "企业风险管理(app)"
  2289. ],
  2290. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2291. "parameters": [
  2292. {
  2293. "type": "integer",
  2294. "description": "用户ID",
  2295. "name": "UserId",
  2296. "in": "query",
  2297. "required": true
  2298. },
  2299. {
  2300. "type": "string",
  2301. "description": "现货合同ID, 不填则查所有",
  2302. "name": "relatedid",
  2303. "in": "query"
  2304. },
  2305. {
  2306. "type": "string",
  2307. "description": "操作申请id",
  2308. "name": "operateapplyid",
  2309. "in": "query"
  2310. },
  2311. {
  2312. "type": "string",
  2313. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2314. "name": "applystatus",
  2315. "in": "query"
  2316. }
  2317. ],
  2318. "responses": {
  2319. "200": {
  2320. "description": "OK",
  2321. "schema": {
  2322. "type": "array",
  2323. "items": {
  2324. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2325. }
  2326. }
  2327. },
  2328. "500": {
  2329. "description": "Internal Server Error",
  2330. "schema": {
  2331. "$ref": "#/definitions/app.Response"
  2332. }
  2333. }
  2334. }
  2335. }
  2336. },
  2337. "/Ermcp/QueryBusinessJsEx": {
  2338. "get": {
  2339. "security": [
  2340. {
  2341. "ApiKeyAuth": []
  2342. }
  2343. ],
  2344. "produces": [
  2345. "application/json"
  2346. ],
  2347. "tags": [
  2348. "企业风险管理(app)"
  2349. ],
  2350. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2351. "parameters": [
  2352. {
  2353. "type": "integer",
  2354. "description": "用户ID",
  2355. "name": "UserId",
  2356. "in": "query",
  2357. "required": true
  2358. },
  2359. {
  2360. "type": "string",
  2361. "description": "现货合同ID, 不填则查所有",
  2362. "name": "relatedid",
  2363. "in": "query"
  2364. },
  2365. {
  2366. "type": "string",
  2367. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2368. "name": "applystatus",
  2369. "in": "query"
  2370. }
  2371. ],
  2372. "responses": {
  2373. "200": {
  2374. "description": "OK",
  2375. "schema": {
  2376. "type": "array",
  2377. "items": {
  2378. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2379. }
  2380. }
  2381. },
  2382. "500": {
  2383. "description": "Internal Server Error",
  2384. "schema": {
  2385. "$ref": "#/definitions/app.Response"
  2386. }
  2387. }
  2388. }
  2389. }
  2390. },
  2391. "/Ermcp/QueryBusinessKx": {
  2392. "get": {
  2393. "security": [
  2394. {
  2395. "ApiKeyAuth": []
  2396. }
  2397. ],
  2398. "produces": [
  2399. "application/json"
  2400. ],
  2401. "tags": [
  2402. "企业风险管理(app)"
  2403. ],
  2404. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2405. "parameters": [
  2406. {
  2407. "type": "integer",
  2408. "description": "用户ID",
  2409. "name": "UserId",
  2410. "in": "query",
  2411. "required": true
  2412. },
  2413. {
  2414. "type": "string",
  2415. "description": "现货合同ID, 不填则查所有",
  2416. "name": "relatedid",
  2417. "in": "query"
  2418. },
  2419. {
  2420. "type": "string",
  2421. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2422. "name": "applystatus",
  2423. "in": "query"
  2424. }
  2425. ],
  2426. "responses": {
  2427. "200": {
  2428. "description": "OK",
  2429. "schema": {
  2430. "type": "array",
  2431. "items": {
  2432. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2433. }
  2434. }
  2435. },
  2436. "500": {
  2437. "description": "Internal Server Error",
  2438. "schema": {
  2439. "$ref": "#/definitions/app.Response"
  2440. }
  2441. }
  2442. }
  2443. }
  2444. },
  2445. "/Ermcp/QueryChangeLog": {
  2446. "get": {
  2447. "security": [
  2448. {
  2449. "ApiKeyAuth": []
  2450. }
  2451. ],
  2452. "produces": [
  2453. "application/json"
  2454. ],
  2455. "tags": [
  2456. "企业风险管理(app)"
  2457. ],
  2458. "summary": "查询变更记录",
  2459. "parameters": [
  2460. {
  2461. "type": "string",
  2462. "description": "合同ID",
  2463. "name": "RelatedId",
  2464. "in": "query",
  2465. "required": true
  2466. }
  2467. ],
  2468. "responses": {
  2469. "200": {
  2470. "description": "OK",
  2471. "schema": {
  2472. "type": "array",
  2473. "items": {
  2474. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2475. }
  2476. }
  2477. },
  2478. "500": {
  2479. "description": "Internal Server Error",
  2480. "schema": {
  2481. "$ref": "#/definitions/app.Response"
  2482. }
  2483. }
  2484. }
  2485. }
  2486. },
  2487. "/Ermcp/QueryContract": {
  2488. "get": {
  2489. "security": [
  2490. {
  2491. "ApiKeyAuth": []
  2492. }
  2493. ],
  2494. "produces": [
  2495. "application/json"
  2496. ],
  2497. "tags": [
  2498. "企业风险管理(app)"
  2499. ],
  2500. "summary": "查询合同(采购和销售)",
  2501. "parameters": [
  2502. {
  2503. "type": "integer",
  2504. "description": "用户ID",
  2505. "name": "userId",
  2506. "in": "query",
  2507. "required": true
  2508. },
  2509. {
  2510. "type": "integer",
  2511. "description": "合同类型 1-采购, -1-销售",
  2512. "name": "contracttype",
  2513. "in": "query",
  2514. "required": true
  2515. },
  2516. {
  2517. "type": "integer",
  2518. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2519. "name": "querytype",
  2520. "in": "query",
  2521. "required": true
  2522. },
  2523. {
  2524. "type": "string",
  2525. "description": "合同ID(SpotContractId)",
  2526. "name": "contractid",
  2527. "in": "query"
  2528. }
  2529. ],
  2530. "responses": {
  2531. "200": {
  2532. "description": "OK",
  2533. "schema": {
  2534. "type": "array",
  2535. "items": {
  2536. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2537. }
  2538. }
  2539. },
  2540. "500": {
  2541. "description": "Internal Server Error",
  2542. "schema": {
  2543. "$ref": "#/definitions/app.Response"
  2544. }
  2545. }
  2546. }
  2547. }
  2548. },
  2549. "/Ermcp/QueryErmcpHisOrderDetails": {
  2550. "get": {
  2551. "security": [
  2552. {
  2553. "ApiKeyAuth": []
  2554. }
  2555. ],
  2556. "produces": [
  2557. "application/json"
  2558. ],
  2559. "tags": [
  2560. "企业风险管理(app)"
  2561. ],
  2562. "summary": "获取企业风管期货历史委托单信息",
  2563. "parameters": [
  2564. {
  2565. "type": "integer",
  2566. "description": "资金账户ID",
  2567. "name": "accountID",
  2568. "in": "query",
  2569. "required": true
  2570. },
  2571. {
  2572. "type": "string",
  2573. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2574. "name": "startDate",
  2575. "in": "query"
  2576. },
  2577. {
  2578. "type": "string",
  2579. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2580. "name": "endDate",
  2581. "in": "query"
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2589. }
  2590. },
  2591. "500": {
  2592. "description": "Internal Server Error",
  2593. "schema": {
  2594. "$ref": "#/definitions/app.Response"
  2595. }
  2596. }
  2597. }
  2598. }
  2599. },
  2600. "/Ermcp/QueryErmcpHisTradeDetails": {
  2601. "get": {
  2602. "security": [
  2603. {
  2604. "ApiKeyAuth": []
  2605. }
  2606. ],
  2607. "produces": [
  2608. "application/json"
  2609. ],
  2610. "tags": [
  2611. "企业风险管理(app)"
  2612. ],
  2613. "summary": "获取企业风管期货历史成交单信息",
  2614. "parameters": [
  2615. {
  2616. "type": "integer",
  2617. "description": "资金账户ID",
  2618. "name": "accountID",
  2619. "in": "query",
  2620. "required": true
  2621. },
  2622. {
  2623. "type": "integer",
  2624. "description": "商品ID",
  2625. "name": "goodsID",
  2626. "in": "query"
  2627. },
  2628. {
  2629. "type": "integer",
  2630. "description": "买卖方向,0:买 1:卖",
  2631. "name": "buyOrSell",
  2632. "in": "query"
  2633. },
  2634. {
  2635. "type": "integer",
  2636. "description": "关联委托单号",
  2637. "name": "orderID",
  2638. "in": "query"
  2639. },
  2640. {
  2641. "type": "string",
  2642. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2643. "name": "startDate",
  2644. "in": "query"
  2645. },
  2646. {
  2647. "type": "string",
  2648. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2649. "name": "endDate",
  2650. "in": "query"
  2651. }
  2652. ],
  2653. "responses": {
  2654. "200": {
  2655. "description": "OK",
  2656. "schema": {
  2657. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2658. }
  2659. },
  2660. "500": {
  2661. "description": "Internal Server Error",
  2662. "schema": {
  2663. "$ref": "#/definitions/app.Response"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. },
  2669. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2670. "get": {
  2671. "security": [
  2672. {
  2673. "ApiKeyAuth": []
  2674. }
  2675. ],
  2676. "produces": [
  2677. "application/json"
  2678. ],
  2679. "tags": [
  2680. "企业风险管理(app)"
  2681. ],
  2682. "summary": "获取企业风管期货内部持仓单信息",
  2683. "parameters": [
  2684. {
  2685. "type": "integer",
  2686. "description": "资金账户ID",
  2687. "name": "accountID",
  2688. "in": "query",
  2689. "required": true
  2690. },
  2691. {
  2692. "type": "integer",
  2693. "description": "商品ID",
  2694. "name": "goodsID",
  2695. "in": "query"
  2696. },
  2697. {
  2698. "type": "integer",
  2699. "description": "买卖方向,0:买 1:卖",
  2700. "name": "buyOrSell",
  2701. "in": "query"
  2702. }
  2703. ],
  2704. "responses": {
  2705. "200": {
  2706. "description": "OK",
  2707. "schema": {
  2708. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2709. }
  2710. },
  2711. "500": {
  2712. "description": "Internal Server Error",
  2713. "schema": {
  2714. "$ref": "#/definitions/app.Response"
  2715. }
  2716. }
  2717. }
  2718. }
  2719. },
  2720. "/Ermcp/QueryErmcpOrderDetails": {
  2721. "get": {
  2722. "security": [
  2723. {
  2724. "ApiKeyAuth": []
  2725. }
  2726. ],
  2727. "produces": [
  2728. "application/json"
  2729. ],
  2730. "tags": [
  2731. "企业风险管理(app)"
  2732. ],
  2733. "summary": "获取企业风管期货委托单信息",
  2734. "parameters": [
  2735. {
  2736. "type": "integer",
  2737. "description": "资金账户ID",
  2738. "name": "accountID",
  2739. "in": "query",
  2740. "required": true
  2741. }
  2742. ],
  2743. "responses": {
  2744. "200": {
  2745. "description": "OK",
  2746. "schema": {
  2747. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryErmcpTradeDetails": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "获取企业风管期货成交单信息",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "资金账户ID",
  2777. "name": "accountID",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "商品ID",
  2784. "name": "goodsID",
  2785. "in": "query"
  2786. },
  2787. {
  2788. "type": "integer",
  2789. "description": "买卖方向,0:买 1:卖",
  2790. "name": "buyOrSell",
  2791. "in": "query"
  2792. },
  2793. {
  2794. "type": "integer",
  2795. "description": "关联委托单号",
  2796. "name": "orderID",
  2797. "in": "query"
  2798. }
  2799. ],
  2800. "responses": {
  2801. "200": {
  2802. "description": "OK",
  2803. "schema": {
  2804. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/app.Response"
  2811. }
  2812. }
  2813. }
  2814. }
  2815. },
  2816. "/Ermcp/QueryErmcpTradePosition": {
  2817. "get": {
  2818. "security": [
  2819. {
  2820. "ApiKeyAuth": []
  2821. }
  2822. ],
  2823. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2824. "produces": [
  2825. "application/json"
  2826. ],
  2827. "tags": [
  2828. "企业风险管理(app)"
  2829. ],
  2830. "summary": "获取企业风管期货持仓头寸信息",
  2831. "parameters": [
  2832. {
  2833. "type": "integer",
  2834. "description": "资金账户ID",
  2835. "name": "accountID",
  2836. "in": "query",
  2837. "required": true
  2838. },
  2839. {
  2840. "type": "integer",
  2841. "description": "所属市场ID",
  2842. "name": "marketID",
  2843. "in": "query"
  2844. }
  2845. ],
  2846. "responses": {
  2847. "200": {
  2848. "description": "OK",
  2849. "schema": {
  2850. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2851. }
  2852. },
  2853. "500": {
  2854. "description": "Internal Server Error",
  2855. "schema": {
  2856. "$ref": "#/definitions/app.Response"
  2857. }
  2858. }
  2859. }
  2860. }
  2861. },
  2862. "/Ermcp/QueryExposureDetail": {
  2863. "get": {
  2864. "security": [
  2865. {
  2866. "ApiKeyAuth": []
  2867. }
  2868. ],
  2869. "produces": [
  2870. "application/json"
  2871. ],
  2872. "tags": [
  2873. "企业风险管理(app)"
  2874. ],
  2875. "summary": "查询敞口现货明细",
  2876. "parameters": [
  2877. {
  2878. "type": "integer",
  2879. "description": "所属机构ID",
  2880. "name": "areaUserId",
  2881. "in": "query",
  2882. "required": true
  2883. },
  2884. {
  2885. "type": "integer",
  2886. "description": "套保商品",
  2887. "name": "middleGoodsId",
  2888. "in": "query",
  2889. "required": true
  2890. }
  2891. ],
  2892. "responses": {
  2893. "200": {
  2894. "description": "OK",
  2895. "schema": {
  2896. "type": "array",
  2897. "items": {
  2898. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2899. }
  2900. }
  2901. },
  2902. "500": {
  2903. "description": "Internal Server Error",
  2904. "schema": {
  2905. "$ref": "#/definitions/app.Response"
  2906. }
  2907. }
  2908. }
  2909. }
  2910. },
  2911. "/Ermcp/QueryExposureHedgePosition": {
  2912. "get": {
  2913. "security": [
  2914. {
  2915. "ApiKeyAuth": []
  2916. }
  2917. ],
  2918. "produces": [
  2919. "application/json"
  2920. ],
  2921. "tags": [
  2922. "企业风险管理(app)"
  2923. ],
  2924. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2925. "parameters": [
  2926. {
  2927. "type": "integer",
  2928. "description": "所属机构ID",
  2929. "name": "areaUserId",
  2930. "in": "query",
  2931. "required": true
  2932. }
  2933. ],
  2934. "responses": {
  2935. "200": {
  2936. "description": "OK",
  2937. "schema": {
  2938. "type": "array",
  2939. "items": {
  2940. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2941. }
  2942. }
  2943. },
  2944. "500": {
  2945. "description": "Internal Server Error",
  2946. "schema": {
  2947. "$ref": "#/definitions/app.Response"
  2948. }
  2949. }
  2950. }
  2951. }
  2952. },
  2953. "/Ermcp/QueryExposureHedgePositionDetail": {
  2954. "get": {
  2955. "security": [
  2956. {
  2957. "ApiKeyAuth": []
  2958. }
  2959. ],
  2960. "produces": [
  2961. "application/json"
  2962. ],
  2963. "tags": [
  2964. "企业风险管理(app)"
  2965. ],
  2966. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2967. "parameters": [
  2968. {
  2969. "type": "integer",
  2970. "description": "所属机构ID",
  2971. "name": "areaUserId",
  2972. "in": "query",
  2973. "required": true
  2974. },
  2975. {
  2976. "type": "integer",
  2977. "description": "商品id",
  2978. "name": "goodsId",
  2979. "in": "query",
  2980. "required": true
  2981. }
  2982. ],
  2983. "responses": {
  2984. "200": {
  2985. "description": "OK",
  2986. "schema": {
  2987. "type": "array",
  2988. "items": {
  2989. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2990. }
  2991. }
  2992. },
  2993. "500": {
  2994. "description": "Internal Server Error",
  2995. "schema": {
  2996. "$ref": "#/definitions/app.Response"
  2997. }
  2998. }
  2999. }
  3000. }
  3001. },
  3002. "/Ermcp/QueryExposureSpot": {
  3003. "get": {
  3004. "security": [
  3005. {
  3006. "ApiKeyAuth": []
  3007. }
  3008. ],
  3009. "produces": [
  3010. "application/json"
  3011. ],
  3012. "tags": [
  3013. "企业风险管理(app)"
  3014. ],
  3015. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3016. "parameters": [
  3017. {
  3018. "type": "integer",
  3019. "description": "所属机构ID",
  3020. "name": "areaUserId",
  3021. "in": "query",
  3022. "required": true
  3023. }
  3024. ],
  3025. "responses": {
  3026. "200": {
  3027. "description": "OK",
  3028. "schema": {
  3029. "type": "array",
  3030. "items": {
  3031. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3032. }
  3033. }
  3034. },
  3035. "500": {
  3036. "description": "Internal Server Error",
  3037. "schema": {
  3038. "$ref": "#/definitions/app.Response"
  3039. }
  3040. }
  3041. }
  3042. }
  3043. },
  3044. "/Ermcp/QueryExposureSpotDetail": {
  3045. "get": {
  3046. "security": [
  3047. {
  3048. "ApiKeyAuth": []
  3049. }
  3050. ],
  3051. "produces": [
  3052. "application/json"
  3053. ],
  3054. "tags": [
  3055. "企业风险管理(app)"
  3056. ],
  3057. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3058. "parameters": [
  3059. {
  3060. "type": "integer",
  3061. "description": "所属机构ID",
  3062. "name": "areaUserId",
  3063. "in": "query",
  3064. "required": true
  3065. },
  3066. {
  3067. "type": "integer",
  3068. "description": "现货品种ID",
  3069. "name": "wrstandardId",
  3070. "in": "query",
  3071. "required": true
  3072. }
  3073. ],
  3074. "responses": {
  3075. "200": {
  3076. "description": "OK",
  3077. "schema": {
  3078. "type": "array",
  3079. "items": {
  3080. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3081. }
  3082. }
  3083. },
  3084. "500": {
  3085. "description": "Internal Server Error",
  3086. "schema": {
  3087. "$ref": "#/definitions/app.Response"
  3088. }
  3089. }
  3090. }
  3091. }
  3092. },
  3093. "/Ermcp/QueryFuturesCompany": {
  3094. "get": {
  3095. "security": [
  3096. {
  3097. "ApiKeyAuth": []
  3098. }
  3099. ],
  3100. "produces": [
  3101. "application/json"
  3102. ],
  3103. "tags": [
  3104. "企业风险管理(app)"
  3105. ],
  3106. "summary": "查询期货公司",
  3107. "responses": {
  3108. "200": {
  3109. "description": "OK",
  3110. "schema": {
  3111. "type": "array",
  3112. "items": {
  3113. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3114. }
  3115. }
  3116. },
  3117. "500": {
  3118. "description": "Internal Server Error",
  3119. "schema": {
  3120. "$ref": "#/definitions/app.Response"
  3121. }
  3122. }
  3123. }
  3124. }
  3125. },
  3126. "/Ermcp/QueryGGConvertConfig": {
  3127. "get": {
  3128. "security": [
  3129. {
  3130. "ApiKeyAuth": []
  3131. }
  3132. ],
  3133. "produces": [
  3134. "application/json"
  3135. ],
  3136. "tags": [
  3137. "企业风险管理(app)"
  3138. ],
  3139. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3140. "parameters": [
  3141. {
  3142. "type": "integer",
  3143. "description": "品种id(不填则查所有)",
  3144. "name": "goodsgroupid",
  3145. "in": "query"
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "type": "array",
  3153. "items": {
  3154. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3155. }
  3156. }
  3157. },
  3158. "500": {
  3159. "description": "Internal Server Error",
  3160. "schema": {
  3161. "$ref": "#/definitions/app.Response"
  3162. }
  3163. }
  3164. }
  3165. }
  3166. },
  3167. "/Ermcp/QueryGoodsBrand": {
  3168. "get": {
  3169. "security": [
  3170. {
  3171. "ApiKeyAuth": []
  3172. }
  3173. ],
  3174. "produces": [
  3175. "application/json"
  3176. ],
  3177. "tags": [
  3178. "企业风险管理(app)"
  3179. ],
  3180. "summary": "查询商品品牌",
  3181. "parameters": [
  3182. {
  3183. "type": "integer",
  3184. "description": "用户ID",
  3185. "name": "userid",
  3186. "in": "query",
  3187. "required": true
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "现货商品ID",
  3192. "name": "wrstandardid",
  3193. "in": "query"
  3194. }
  3195. ],
  3196. "responses": {
  3197. "200": {
  3198. "description": "OK",
  3199. "schema": {
  3200. "type": "array",
  3201. "items": {
  3202. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3203. }
  3204. }
  3205. },
  3206. "500": {
  3207. "description": "Internal Server Error",
  3208. "schema": {
  3209. "$ref": "#/definitions/app.Response"
  3210. }
  3211. }
  3212. }
  3213. }
  3214. },
  3215. "/Ermcp/QueryGoodsModel": {
  3216. "get": {
  3217. "security": [
  3218. {
  3219. "ApiKeyAuth": []
  3220. }
  3221. ],
  3222. "produces": [
  3223. "application/json"
  3224. ],
  3225. "tags": [
  3226. "企业风险管理(app)"
  3227. ],
  3228. "summary": "查询商品型号",
  3229. "parameters": [
  3230. {
  3231. "type": "integer",
  3232. "description": "用户ID",
  3233. "name": "userid",
  3234. "in": "query",
  3235. "required": true
  3236. }
  3237. ],
  3238. "responses": {
  3239. "200": {
  3240. "description": "OK",
  3241. "schema": {
  3242. "type": "array",
  3243. "items": {
  3244. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3245. }
  3246. }
  3247. },
  3248. "500": {
  3249. "description": "Internal Server Error",
  3250. "schema": {
  3251. "$ref": "#/definitions/app.Response"
  3252. }
  3253. }
  3254. }
  3255. }
  3256. },
  3257. "/Ermcp/QueryHedgePlan": {
  3258. "get": {
  3259. "security": [
  3260. {
  3261. "ApiKeyAuth": []
  3262. }
  3263. ],
  3264. "produces": [
  3265. "application/json"
  3266. ],
  3267. "tags": [
  3268. "企业风险管理(app)"
  3269. ],
  3270. "summary": "查询套保计划",
  3271. "parameters": [
  3272. {
  3273. "type": "integer",
  3274. "description": "用户ID",
  3275. "name": "userId",
  3276. "in": "query",
  3277. "required": true
  3278. },
  3279. {
  3280. "type": "string",
  3281. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3282. "name": "HedgePlanStatus",
  3283. "in": "query",
  3284. "required": true
  3285. }
  3286. ],
  3287. "responses": {
  3288. "200": {
  3289. "description": "OK",
  3290. "schema": {
  3291. "type": "array",
  3292. "items": {
  3293. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3294. }
  3295. }
  3296. },
  3297. "500": {
  3298. "description": "Internal Server Error",
  3299. "schema": {
  3300. "$ref": "#/definitions/app.Response"
  3301. }
  3302. }
  3303. }
  3304. }
  3305. },
  3306. "/Ermcp/QueryHisExposure": {
  3307. "get": {
  3308. "security": [
  3309. {
  3310. "ApiKeyAuth": []
  3311. }
  3312. ],
  3313. "produces": [
  3314. "application/json"
  3315. ],
  3316. "tags": [
  3317. "企业风险管理(app)"
  3318. ],
  3319. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3320. "parameters": [
  3321. {
  3322. "type": "integer",
  3323. "description": "所属机构ID",
  3324. "name": "areaUserId",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "每个品种记录数",
  3331. "name": "lastNum",
  3332. "in": "query",
  3333. "required": true
  3334. }
  3335. ],
  3336. "responses": {
  3337. "200": {
  3338. "description": "OK",
  3339. "schema": {
  3340. "type": "array",
  3341. "items": {
  3342. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3343. }
  3344. }
  3345. },
  3346. "500": {
  3347. "description": "Internal Server Error",
  3348. "schema": {
  3349. "$ref": "#/definitions/app.Response"
  3350. }
  3351. }
  3352. }
  3353. }
  3354. },
  3355. "/Ermcp/QueryMiddleGoods": {
  3356. "get": {
  3357. "security": [
  3358. {
  3359. "ApiKeyAuth": []
  3360. }
  3361. ],
  3362. "produces": [
  3363. "application/json"
  3364. ],
  3365. "tags": [
  3366. "企业风险管理(app)"
  3367. ],
  3368. "summary": "查询套保品种(菜单:套保品种)",
  3369. "parameters": [
  3370. {
  3371. "type": "integer",
  3372. "description": "所属机构ID",
  3373. "name": "userid",
  3374. "in": "query",
  3375. "required": true
  3376. },
  3377. {
  3378. "type": "integer",
  3379. "description": "状态 0-停用 1-正常",
  3380. "name": "status",
  3381. "in": "query",
  3382. "required": true
  3383. }
  3384. ],
  3385. "responses": {
  3386. "200": {
  3387. "description": "OK",
  3388. "schema": {
  3389. "type": "array",
  3390. "items": {
  3391. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3392. }
  3393. }
  3394. },
  3395. "500": {
  3396. "description": "Internal Server Error",
  3397. "schema": {
  3398. "$ref": "#/definitions/app.Response"
  3399. }
  3400. }
  3401. }
  3402. }
  3403. },
  3404. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3405. "get": {
  3406. "security": [
  3407. {
  3408. "ApiKeyAuth": []
  3409. }
  3410. ],
  3411. "produces": [
  3412. "application/json"
  3413. ],
  3414. "tags": [
  3415. "企业风险管理(app)"
  3416. ],
  3417. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3418. "parameters": [
  3419. {
  3420. "type": "integer",
  3421. "description": "所属机构ID",
  3422. "name": "userid",
  3423. "in": "query",
  3424. "required": true
  3425. },
  3426. {
  3427. "type": "integer",
  3428. "description": "套保品种id",
  3429. "name": "middlegoodsid",
  3430. "in": "query",
  3431. "required": true
  3432. }
  3433. ],
  3434. "responses": {
  3435. "200": {
  3436. "description": "OK",
  3437. "schema": {
  3438. "type": "array",
  3439. "items": {
  3440. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3441. }
  3442. }
  3443. },
  3444. "500": {
  3445. "description": "Internal Server Error",
  3446. "schema": {
  3447. "$ref": "#/definitions/app.Response"
  3448. }
  3449. }
  3450. }
  3451. }
  3452. },
  3453. "/Ermcp/QueryMiddleGoodsDetail": {
  3454. "get": {
  3455. "security": [
  3456. {
  3457. "ApiKeyAuth": []
  3458. }
  3459. ],
  3460. "produces": [
  3461. "application/json"
  3462. ],
  3463. "tags": [
  3464. "企业风险管理(app)"
  3465. ],
  3466. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3467. "parameters": [
  3468. {
  3469. "type": "integer",
  3470. "description": "所属机构ID",
  3471. "name": "userid",
  3472. "in": "query",
  3473. "required": true
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "套保品种id",
  3478. "name": "middlegoodsid",
  3479. "in": "query"
  3480. }
  3481. ],
  3482. "responses": {
  3483. "200": {
  3484. "description": "OK",
  3485. "schema": {
  3486. "type": "array",
  3487. "items": {
  3488. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3489. }
  3490. }
  3491. },
  3492. "500": {
  3493. "description": "Internal Server Error",
  3494. "schema": {
  3495. "$ref": "#/definitions/app.Response"
  3496. }
  3497. }
  3498. }
  3499. }
  3500. },
  3501. "/Ermcp/QueryPendingAuditInfo": {
  3502. "get": {
  3503. "security": [
  3504. {
  3505. "ApiKeyAuth": []
  3506. }
  3507. ],
  3508. "produces": [
  3509. "application/json"
  3510. ],
  3511. "tags": [
  3512. "企业风险管理(app)"
  3513. ],
  3514. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3515. "parameters": [
  3516. {
  3517. "type": "integer",
  3518. "description": "用户ID",
  3519. "name": "UserId",
  3520. "in": "query",
  3521. "required": true
  3522. }
  3523. ],
  3524. "responses": {
  3525. "200": {
  3526. "description": "OK",
  3527. "schema": {
  3528. "type": "array",
  3529. "items": {
  3530. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3531. }
  3532. }
  3533. },
  3534. "500": {
  3535. "description": "Internal Server Error",
  3536. "schema": {
  3537. "$ref": "#/definitions/app.Response"
  3538. }
  3539. }
  3540. }
  3541. }
  3542. },
  3543. "/Ermcp/QueryRealtimeExposure": {
  3544. "get": {
  3545. "security": [
  3546. {
  3547. "ApiKeyAuth": []
  3548. }
  3549. ],
  3550. "produces": [
  3551. "application/json"
  3552. ],
  3553. "tags": [
  3554. "企业风险管理(app)"
  3555. ],
  3556. "summary": "查询实时敞口",
  3557. "parameters": [
  3558. {
  3559. "type": "integer",
  3560. "description": "所属机构ID",
  3561. "name": "AreaUserID",
  3562. "in": "query",
  3563. "required": true
  3564. }
  3565. ],
  3566. "responses": {
  3567. "200": {
  3568. "description": "OK",
  3569. "schema": {
  3570. "type": "array",
  3571. "items": {
  3572. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3573. }
  3574. }
  3575. },
  3576. "500": {
  3577. "description": "Internal Server Error",
  3578. "schema": {
  3579. "$ref": "#/definitions/app.Response"
  3580. }
  3581. }
  3582. }
  3583. }
  3584. },
  3585. "/Ermcp/QueryRealtimeExposurePosition": {
  3586. "get": {
  3587. "security": [
  3588. {
  3589. "ApiKeyAuth": []
  3590. }
  3591. ],
  3592. "produces": [
  3593. "application/json"
  3594. ],
  3595. "tags": [
  3596. "企业风险管理(app)"
  3597. ],
  3598. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3599. "parameters": [
  3600. {
  3601. "type": "integer",
  3602. "description": "所属机构ID",
  3603. "name": "areaUserId",
  3604. "in": "query",
  3605. "required": true
  3606. },
  3607. {
  3608. "type": "integer",
  3609. "description": "套保商品ID",
  3610. "name": "middleGoodsId",
  3611. "in": "query",
  3612. "required": true
  3613. }
  3614. ],
  3615. "responses": {
  3616. "200": {
  3617. "description": "OK",
  3618. "schema": {
  3619. "type": "array",
  3620. "items": {
  3621. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3622. }
  3623. }
  3624. },
  3625. "500": {
  3626. "description": "Internal Server Error",
  3627. "schema": {
  3628. "$ref": "#/definitions/app.Response"
  3629. }
  3630. }
  3631. }
  3632. }
  3633. },
  3634. "/Ermcp/QuerySpotContract": {
  3635. "get": {
  3636. "security": [
  3637. {
  3638. "ApiKeyAuth": []
  3639. }
  3640. ],
  3641. "produces": [
  3642. "application/json"
  3643. ],
  3644. "tags": [
  3645. "企业风险管理(app)"
  3646. ],
  3647. "summary": "查询现货合同(对应现货合同菜单)",
  3648. "parameters": [
  3649. {
  3650. "type": "integer",
  3651. "description": "用户ID",
  3652. "name": "userId",
  3653. "in": "query",
  3654. "required": true
  3655. },
  3656. {
  3657. "type": "integer",
  3658. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3659. "name": "QueryType",
  3660. "in": "query",
  3661. "required": true
  3662. }
  3663. ],
  3664. "responses": {
  3665. "200": {
  3666. "description": "OK",
  3667. "schema": {
  3668. "type": "array",
  3669. "items": {
  3670. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3671. }
  3672. }
  3673. },
  3674. "500": {
  3675. "description": "Internal Server Error",
  3676. "schema": {
  3677. "$ref": "#/definitions/app.Response"
  3678. }
  3679. }
  3680. }
  3681. }
  3682. },
  3683. "/Ermcp/QuerySpotGoodsPrice": {
  3684. "get": {
  3685. "security": [
  3686. {
  3687. "ApiKeyAuth": []
  3688. }
  3689. ],
  3690. "produces": [
  3691. "application/json"
  3692. ],
  3693. "tags": [
  3694. "企业风险管理(app)"
  3695. ],
  3696. "summary": "查询现货市价(现货市价)",
  3697. "parameters": [
  3698. {
  3699. "type": "integer",
  3700. "description": "用户ID",
  3701. "name": "userid",
  3702. "in": "query",
  3703. "required": true
  3704. }
  3705. ],
  3706. "responses": {
  3707. "200": {
  3708. "description": "OK",
  3709. "schema": {
  3710. "type": "array",
  3711. "items": {
  3712. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3713. }
  3714. }
  3715. },
  3716. "500": {
  3717. "description": "Internal Server Error",
  3718. "schema": {
  3719. "$ref": "#/definitions/app.Response"
  3720. }
  3721. }
  3722. }
  3723. }
  3724. },
  3725. "/Ermcp/QuerySpotGoodsPriceLog": {
  3726. "get": {
  3727. "security": [
  3728. {
  3729. "ApiKeyAuth": []
  3730. }
  3731. ],
  3732. "produces": [
  3733. "application/json"
  3734. ],
  3735. "tags": [
  3736. "企业风险管理(app)"
  3737. ],
  3738. "summary": "查询现货市价详情(现货市价/详情)",
  3739. "parameters": [
  3740. {
  3741. "type": "integer",
  3742. "description": "用户ID",
  3743. "name": "userid",
  3744. "in": "query",
  3745. "required": true
  3746. },
  3747. {
  3748. "type": "integer",
  3749. "description": "现货商品ID",
  3750. "name": "wrstandardid",
  3751. "in": "query",
  3752. "required": true
  3753. }
  3754. ],
  3755. "responses": {
  3756. "200": {
  3757. "description": "OK",
  3758. "schema": {
  3759. "type": "array",
  3760. "items": {
  3761. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3762. }
  3763. }
  3764. },
  3765. "500": {
  3766. "description": "Internal Server Error",
  3767. "schema": {
  3768. "$ref": "#/definitions/app.Response"
  3769. }
  3770. }
  3771. }
  3772. }
  3773. },
  3774. "/Ermcp/QueryTradeConfigTMP": {
  3775. "get": {
  3776. "security": [
  3777. {
  3778. "ApiKeyAuth": []
  3779. }
  3780. ],
  3781. "produces": [
  3782. "application/json"
  3783. ],
  3784. "tags": [
  3785. "企业风险管理(app)"
  3786. ],
  3787. "summary": "查询交易模板配置",
  3788. "parameters": [
  3789. {
  3790. "type": "integer",
  3791. "description": "所属机构id",
  3792. "name": "areauserid",
  3793. "in": "query",
  3794. "required": true
  3795. }
  3796. ],
  3797. "responses": {
  3798. "200": {
  3799. "description": "OK",
  3800. "schema": {
  3801. "type": "array",
  3802. "items": {
  3803. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3804. }
  3805. }
  3806. },
  3807. "500": {
  3808. "description": "Internal Server Error",
  3809. "schema": {
  3810. "$ref": "#/definitions/app.Response"
  3811. }
  3812. }
  3813. }
  3814. }
  3815. },
  3816. "/Ermcp/QueryUserInfo": {
  3817. "get": {
  3818. "security": [
  3819. {
  3820. "ApiKeyAuth": []
  3821. }
  3822. ],
  3823. "produces": [
  3824. "application/json"
  3825. ],
  3826. "tags": [
  3827. "企业风险管理(app)"
  3828. ],
  3829. "summary": "查询客户资料",
  3830. "parameters": [
  3831. {
  3832. "type": "integer",
  3833. "description": "所属机构用户ID",
  3834. "name": "MemberUserID",
  3835. "in": "query",
  3836. "required": true
  3837. },
  3838. {
  3839. "type": "integer",
  3840. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3841. "name": "queryType",
  3842. "in": "query",
  3843. "required": true
  3844. }
  3845. ],
  3846. "responses": {
  3847. "200": {
  3848. "description": "OK",
  3849. "schema": {
  3850. "type": "array",
  3851. "items": {
  3852. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3853. }
  3854. }
  3855. },
  3856. "500": {
  3857. "description": "Internal Server Error",
  3858. "schema": {
  3859. "$ref": "#/definitions/app.Response"
  3860. }
  3861. }
  3862. }
  3863. }
  3864. },
  3865. "/Ermcp/QueryWarehouseInfo": {
  3866. "get": {
  3867. "security": [
  3868. {
  3869. "ApiKeyAuth": []
  3870. }
  3871. ],
  3872. "produces": [
  3873. "application/json"
  3874. ],
  3875. "tags": [
  3876. "企业风险管理(app)"
  3877. ],
  3878. "summary": "查询仓库信息",
  3879. "parameters": [
  3880. {
  3881. "type": "integer",
  3882. "description": "用户ID",
  3883. "name": "userid",
  3884. "in": "query",
  3885. "required": true
  3886. },
  3887. {
  3888. "type": "string",
  3889. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3890. "name": "status",
  3891. "in": "query"
  3892. }
  3893. ],
  3894. "responses": {
  3895. "200": {
  3896. "description": "OK",
  3897. "schema": {
  3898. "type": "array",
  3899. "items": {
  3900. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3901. }
  3902. }
  3903. },
  3904. "500": {
  3905. "description": "Internal Server Error",
  3906. "schema": {
  3907. "$ref": "#/definitions/app.Response"
  3908. }
  3909. }
  3910. }
  3911. }
  3912. },
  3913. "/Ermcp/QueryWrStandard": {
  3914. "get": {
  3915. "security": [
  3916. {
  3917. "ApiKeyAuth": []
  3918. }
  3919. ],
  3920. "produces": [
  3921. "application/json"
  3922. ],
  3923. "tags": [
  3924. "企业风险管理(app)"
  3925. ],
  3926. "summary": "查询现货商品",
  3927. "parameters": [
  3928. {
  3929. "type": "integer",
  3930. "description": "所属机构ID",
  3931. "name": "userid",
  3932. "in": "query",
  3933. "required": true
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "状态 0-停用 1-正常",
  3938. "name": "status",
  3939. "in": "query",
  3940. "required": true
  3941. }
  3942. ],
  3943. "responses": {
  3944. "200": {
  3945. "description": "OK",
  3946. "schema": {
  3947. "type": "array",
  3948. "items": {
  3949. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3950. }
  3951. }
  3952. },
  3953. "500": {
  3954. "description": "Internal Server Error",
  3955. "schema": {
  3956. "$ref": "#/definitions/app.Response"
  3957. }
  3958. }
  3959. }
  3960. }
  3961. },
  3962. "/Ermcp/QueryWrStandardDetail": {
  3963. "get": {
  3964. "security": [
  3965. {
  3966. "ApiKeyAuth": []
  3967. }
  3968. ],
  3969. "produces": [
  3970. "application/json"
  3971. ],
  3972. "tags": [
  3973. "企业风险管理(app)"
  3974. ],
  3975. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3976. "parameters": [
  3977. {
  3978. "type": "integer",
  3979. "description": "所属机构ID",
  3980. "name": "userid",
  3981. "in": "query",
  3982. "required": true
  3983. },
  3984. {
  3985. "type": "integer",
  3986. "description": "现货商品ID",
  3987. "name": "wrstandardid",
  3988. "in": "query"
  3989. },
  3990. {
  3991. "type": "integer",
  3992. "description": "可不填, 1-查询关联交易商品",
  3993. "name": "goods",
  3994. "in": "query"
  3995. }
  3996. ],
  3997. "responses": {
  3998. "200": {
  3999. "description": "OK",
  4000. "schema": {
  4001. "type": "array",
  4002. "items": {
  4003. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4004. }
  4005. }
  4006. },
  4007. "500": {
  4008. "description": "Internal Server Error",
  4009. "schema": {
  4010. "$ref": "#/definitions/app.Response"
  4011. }
  4012. }
  4013. }
  4014. }
  4015. },
  4016. "/Ermcp3/QueryDeliveryGoods": {
  4017. "get": {
  4018. "security": [
  4019. {
  4020. "ApiKeyAuth": []
  4021. }
  4022. ],
  4023. "produces": [
  4024. "application/json"
  4025. ],
  4026. "tags": [
  4027. "企业风险管理v3(app)"
  4028. ],
  4029. "summary": "查询现货商品",
  4030. "parameters": [
  4031. {
  4032. "type": "integer",
  4033. "description": "所属机构id",
  4034. "name": "areauserid",
  4035. "in": "query",
  4036. "required": true
  4037. },
  4038. {
  4039. "type": "integer",
  4040. "description": "排除已配置的现货商品 1-排除",
  4041. "name": "excludecfg",
  4042. "in": "query"
  4043. }
  4044. ],
  4045. "responses": {
  4046. "200": {
  4047. "description": "OK",
  4048. "schema": {
  4049. "type": "array",
  4050. "items": {
  4051. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4052. }
  4053. }
  4054. },
  4055. "500": {
  4056. "description": "Internal Server Error",
  4057. "schema": {
  4058. "$ref": "#/definitions/app.Response"
  4059. }
  4060. }
  4061. }
  4062. }
  4063. },
  4064. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4065. "get": {
  4066. "security": [
  4067. {
  4068. "ApiKeyAuth": []
  4069. }
  4070. ],
  4071. "produces": [
  4072. "application/json"
  4073. ],
  4074. "tags": [
  4075. "企业风险管理v3(app)"
  4076. ],
  4077. "summary": "查询现货商品详情",
  4078. "parameters": [
  4079. {
  4080. "type": "integer",
  4081. "description": "所属机构id",
  4082. "name": "areauserid",
  4083. "in": "query",
  4084. "required": true
  4085. },
  4086. {
  4087. "type": "integer",
  4088. "description": "现货商品id",
  4089. "name": "deliverygoodsid",
  4090. "in": "query"
  4091. },
  4092. {
  4093. "type": "integer",
  4094. "description": "是否查询关联交易商品 1-查询",
  4095. "name": "qrytradegoods",
  4096. "in": "query"
  4097. }
  4098. ],
  4099. "responses": {
  4100. "200": {
  4101. "description": "OK",
  4102. "schema": {
  4103. "type": "array",
  4104. "items": {
  4105. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail"
  4106. }
  4107. }
  4108. },
  4109. "500": {
  4110. "description": "Internal Server Error",
  4111. "schema": {
  4112. "$ref": "#/definitions/app.Response"
  4113. }
  4114. }
  4115. }
  4116. }
  4117. },
  4118. "/Erms2/QueryArbitrageStrategy": {
  4119. "get": {
  4120. "security": [
  4121. {
  4122. "ApiKeyAuth": []
  4123. }
  4124. ],
  4125. "produces": [
  4126. "application/json"
  4127. ],
  4128. "tags": [
  4129. "风险管理"
  4130. ],
  4131. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4132. "parameters": [
  4133. {
  4134. "type": "integer",
  4135. "description": "账户ID",
  4136. "name": "userid",
  4137. "in": "query",
  4138. "required": true
  4139. },
  4140. {
  4141. "type": "string",
  4142. "description": "商品组ID(品种ID)",
  4143. "name": "goodsgroupid",
  4144. "in": "query"
  4145. }
  4146. ],
  4147. "responses": {
  4148. "200": {
  4149. "description": "OK",
  4150. "schema": {
  4151. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4152. }
  4153. },
  4154. "500": {
  4155. "description": "Internal Server Error",
  4156. "schema": {
  4157. "$ref": "#/definitions/app.Response"
  4158. }
  4159. }
  4160. }
  4161. }
  4162. },
  4163. "/Erms2/QueryInnerTradeDetail": {
  4164. "get": {
  4165. "security": [
  4166. {
  4167. "ApiKeyAuth": []
  4168. }
  4169. ],
  4170. "produces": [
  4171. "application/json"
  4172. ],
  4173. "tags": [
  4174. "风险管理"
  4175. ],
  4176. "summary": "查询内部成交单信息",
  4177. "parameters": [
  4178. {
  4179. "type": "integer",
  4180. "description": "资金账户",
  4181. "name": "accountid",
  4182. "in": "query",
  4183. "required": true
  4184. }
  4185. ],
  4186. "responses": {
  4187. "200": {
  4188. "description": "OK",
  4189. "schema": {
  4190. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4191. }
  4192. },
  4193. "500": {
  4194. "description": "Internal Server Error",
  4195. "schema": {
  4196. "$ref": "#/definitions/app.Response"
  4197. }
  4198. }
  4199. }
  4200. }
  4201. },
  4202. "/Erms2/QuerySpotContract": {
  4203. "get": {
  4204. "security": [
  4205. {
  4206. "ApiKeyAuth": []
  4207. }
  4208. ],
  4209. "produces": [
  4210. "application/json"
  4211. ],
  4212. "tags": [
  4213. "风险管理"
  4214. ],
  4215. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4216. "parameters": [
  4217. {
  4218. "type": "integer",
  4219. "description": "策略申请ID",
  4220. "name": "asapplyid",
  4221. "in": "query",
  4222. "required": true
  4223. },
  4224. {
  4225. "type": "integer",
  4226. "description": "现货合同ID",
  4227. "name": "spotcontractid",
  4228. "in": "query"
  4229. }
  4230. ],
  4231. "responses": {
  4232. "200": {
  4233. "description": "OK",
  4234. "schema": {
  4235. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4236. }
  4237. },
  4238. "500": {
  4239. "description": "Internal Server Error",
  4240. "schema": {
  4241. "$ref": "#/definitions/app.Response"
  4242. }
  4243. }
  4244. }
  4245. }
  4246. },
  4247. "/Erms3/AddErms2ASApply": {
  4248. "post": {
  4249. "security": [
  4250. {
  4251. "ApiKeyAuth": []
  4252. }
  4253. ],
  4254. "produces": [
  4255. "application/json"
  4256. ],
  4257. "tags": [
  4258. "风险管理v3"
  4259. ],
  4260. "summary": "新增期现套利业务申请",
  4261. "parameters": [
  4262. {
  4263. "description": "申请参数",
  4264. "name": "jsonBody",
  4265. "in": "body",
  4266. "required": true,
  4267. "schema": {
  4268. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4269. }
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "$ref": "#/definitions/app.Response"
  4277. }
  4278. },
  4279. "500": {
  4280. "description": "Internal Server Error",
  4281. "schema": {
  4282. "$ref": "#/definitions/app.Response"
  4283. }
  4284. }
  4285. }
  4286. }
  4287. },
  4288. "/Erms3/AddErms2SpotTradeApply": {
  4289. "post": {
  4290. "security": [
  4291. {
  4292. "ApiKeyAuth": []
  4293. }
  4294. ],
  4295. "produces": [
  4296. "application/json"
  4297. ],
  4298. "tags": [
  4299. "风险管理v3"
  4300. ],
  4301. "summary": "新增现货贸易业务申请",
  4302. "parameters": [
  4303. {
  4304. "description": "申请参数",
  4305. "name": "jsonBody",
  4306. "in": "body",
  4307. "required": true,
  4308. "schema": {
  4309. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4310. }
  4311. }
  4312. ],
  4313. "responses": {
  4314. "200": {
  4315. "description": "OK",
  4316. "schema": {
  4317. "$ref": "#/definitions/app.Response"
  4318. }
  4319. },
  4320. "500": {
  4321. "description": "Internal Server Error",
  4322. "schema": {
  4323. "$ref": "#/definitions/app.Response"
  4324. }
  4325. }
  4326. }
  4327. }
  4328. },
  4329. "/Erms3/AddSpotContractApply": {
  4330. "post": {
  4331. "security": [
  4332. {
  4333. "ApiKeyAuth": []
  4334. }
  4335. ],
  4336. "produces": [
  4337. "application/json"
  4338. ],
  4339. "tags": [
  4340. "风险管理v3"
  4341. ],
  4342. "summary": "新增现货合同申请",
  4343. "parameters": [
  4344. {
  4345. "description": "申请参数",
  4346. "name": "jsonBody",
  4347. "in": "body",
  4348. "required": true,
  4349. "schema": {
  4350. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4351. }
  4352. }
  4353. ],
  4354. "responses": {
  4355. "200": {
  4356. "description": "OK",
  4357. "schema": {
  4358. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4359. }
  4360. },
  4361. "500": {
  4362. "description": "Internal Server Error",
  4363. "schema": {
  4364. "$ref": "#/definitions/app.Response"
  4365. }
  4366. }
  4367. }
  4368. }
  4369. },
  4370. "/Erms3/AddUserInfoApply": {
  4371. "post": {
  4372. "security": [
  4373. {
  4374. "ApiKeyAuth": []
  4375. }
  4376. ],
  4377. "produces": [
  4378. "application/json"
  4379. ],
  4380. "tags": [
  4381. "风险管理v3"
  4382. ],
  4383. "summary": "新增客户申请",
  4384. "parameters": [
  4385. {
  4386. "description": "用户信息",
  4387. "name": "jsonBody",
  4388. "in": "body",
  4389. "required": true,
  4390. "schema": {
  4391. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4392. }
  4393. }
  4394. ],
  4395. "responses": {
  4396. "200": {
  4397. "description": "OK",
  4398. "schema": {
  4399. "$ref": "#/definitions/app.Response"
  4400. }
  4401. },
  4402. "500": {
  4403. "description": "Internal Server Error",
  4404. "schema": {
  4405. "$ref": "#/definitions/app.Response"
  4406. }
  4407. }
  4408. }
  4409. }
  4410. },
  4411. "/Erms3/ModifyUserInfoApply": {
  4412. "post": {
  4413. "security": [
  4414. {
  4415. "ApiKeyAuth": []
  4416. }
  4417. ],
  4418. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4419. "produces": [
  4420. "application/json"
  4421. ],
  4422. "tags": [
  4423. "风险管理v3"
  4424. ],
  4425. "summary": "修改客户申请",
  4426. "parameters": [
  4427. {
  4428. "description": "用户信息",
  4429. "name": "jsonBody",
  4430. "in": "body",
  4431. "required": true,
  4432. "schema": {
  4433. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4434. }
  4435. }
  4436. ],
  4437. "responses": {
  4438. "200": {
  4439. "description": "OK",
  4440. "schema": {
  4441. "$ref": "#/definitions/app.Response"
  4442. }
  4443. },
  4444. "500": {
  4445. "description": "Internal Server Error",
  4446. "schema": {
  4447. "$ref": "#/definitions/app.Response"
  4448. }
  4449. }
  4450. }
  4451. }
  4452. },
  4453. "/Erms3/QueryBusinessInfo": {
  4454. "get": {
  4455. "security": [
  4456. {
  4457. "ApiKeyAuth": []
  4458. }
  4459. ],
  4460. "produces": [
  4461. "application/json"
  4462. ],
  4463. "tags": [
  4464. "风险管理v3"
  4465. ],
  4466. "summary": "查询业务表单数据",
  4467. "parameters": [
  4468. {
  4469. "type": "string",
  4470. "description": "资金账号ID列表,用逗号分隔",
  4471. "name": "accountids",
  4472. "in": "query",
  4473. "required": true
  4474. },
  4475. {
  4476. "type": "integer",
  4477. "description": "状态,0为未结束 1为已结束",
  4478. "name": "status",
  4479. "in": "query",
  4480. "required": true
  4481. }
  4482. ],
  4483. "responses": {
  4484. "200": {
  4485. "description": "OK",
  4486. "schema": {
  4487. "type": "array",
  4488. "items": {
  4489. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4490. }
  4491. }
  4492. },
  4493. "500": {
  4494. "description": "Internal Server Error",
  4495. "schema": {
  4496. "$ref": "#/definitions/app.Response"
  4497. }
  4498. }
  4499. }
  4500. }
  4501. },
  4502. "/Erms3/QueryPendingAuditContract": {
  4503. "get": {
  4504. "security": [
  4505. {
  4506. "ApiKeyAuth": []
  4507. }
  4508. ],
  4509. "produces": [
  4510. "application/json"
  4511. ],
  4512. "tags": [
  4513. "风险管理v3"
  4514. ],
  4515. "summary": "查询待审核合同",
  4516. "parameters": [
  4517. {
  4518. "type": "string",
  4519. "description": "资金账号ID列表,逗号隔开",
  4520. "name": "accountids",
  4521. "in": "query",
  4522. "required": true
  4523. },
  4524. {
  4525. "type": "integer",
  4526. "description": "合同类型 1-采购 -1-销售",
  4527. "name": "contracttype",
  4528. "in": "query",
  4529. "required": true
  4530. },
  4531. {
  4532. "type": "integer",
  4533. "description": "合同模式 1-普通 2-回购",
  4534. "name": "contractmode",
  4535. "in": "query",
  4536. "required": true
  4537. }
  4538. ],
  4539. "responses": {
  4540. "200": {
  4541. "description": "OK",
  4542. "schema": {
  4543. "type": "array",
  4544. "items": {
  4545. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4546. }
  4547. }
  4548. },
  4549. "500": {
  4550. "description": "Internal Server Error",
  4551. "schema": {
  4552. "$ref": "#/definitions/app.Response"
  4553. }
  4554. }
  4555. }
  4556. }
  4557. },
  4558. "/Erms3/QueryPendingBusiness": {
  4559. "get": {
  4560. "security": [
  4561. {
  4562. "ApiKeyAuth": []
  4563. }
  4564. ],
  4565. "produces": [
  4566. "application/json"
  4567. ],
  4568. "tags": [
  4569. "风险管理v3"
  4570. ],
  4571. "summary": "查询待审核基差贸易业务",
  4572. "parameters": [
  4573. {
  4574. "type": "string",
  4575. "description": "资金账号ID列表,逗号隔开",
  4576. "name": "accountids",
  4577. "in": "query",
  4578. "required": true
  4579. }
  4580. ],
  4581. "responses": {
  4582. "200": {
  4583. "description": "OK",
  4584. "schema": {
  4585. "type": "array",
  4586. "items": {
  4587. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4588. }
  4589. }
  4590. },
  4591. "500": {
  4592. "description": "Internal Server Error",
  4593. "schema": {
  4594. "$ref": "#/definitions/app.Response"
  4595. }
  4596. }
  4597. }
  4598. }
  4599. },
  4600. "/Erms3/QuerySpotContractAppleForm": {
  4601. "get": {
  4602. "security": [
  4603. {
  4604. "ApiKeyAuth": []
  4605. }
  4606. ],
  4607. "produces": [
  4608. "application/json"
  4609. ],
  4610. "tags": [
  4611. "风险管理v3"
  4612. ],
  4613. "summary": "查询合同申请表单数据",
  4614. "parameters": [
  4615. {
  4616. "type": "integer",
  4617. "description": "登录账号",
  4618. "name": "loginID",
  4619. "in": "query",
  4620. "required": true
  4621. }
  4622. ],
  4623. "responses": {
  4624. "200": {
  4625. "description": "OK",
  4626. "schema": {
  4627. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4628. }
  4629. },
  4630. "500": {
  4631. "description": "Internal Server Error",
  4632. "schema": {
  4633. "$ref": "#/definitions/app.Response"
  4634. }
  4635. }
  4636. }
  4637. }
  4638. },
  4639. "/Erms3/QuerySpotContractDetail": {
  4640. "get": {
  4641. "security": [
  4642. {
  4643. "ApiKeyAuth": []
  4644. }
  4645. ],
  4646. "produces": [
  4647. "application/json"
  4648. ],
  4649. "tags": [
  4650. "风险管理v3"
  4651. ],
  4652. "summary": "查询合同详细信息",
  4653. "parameters": [
  4654. {
  4655. "type": "string",
  4656. "description": "资金账号ID列表,用逗号分隔",
  4657. "name": "accountids",
  4658. "in": "query",
  4659. "required": true
  4660. },
  4661. {
  4662. "type": "integer",
  4663. "description": "合同类型,1为采购合同 -1为销售合同",
  4664. "name": "contracttype",
  4665. "in": "query",
  4666. "required": true
  4667. },
  4668. {
  4669. "type": "integer",
  4670. "description": "合同模式,1为普通合同 2为回购销售合同",
  4671. "name": "contractmode",
  4672. "in": "query",
  4673. "required": true
  4674. },
  4675. {
  4676. "type": "integer",
  4677. "description": "状态,0为履约中 1为已完成",
  4678. "name": "status",
  4679. "in": "query",
  4680. "required": true
  4681. }
  4682. ],
  4683. "responses": {
  4684. "200": {
  4685. "description": "OK",
  4686. "schema": {
  4687. "type": "array",
  4688. "items": {
  4689. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4690. }
  4691. }
  4692. },
  4693. "500": {
  4694. "description": "Internal Server Error",
  4695. "schema": {
  4696. "$ref": "#/definitions/app.Response"
  4697. }
  4698. }
  4699. }
  4700. }
  4701. },
  4702. "/Erms3/QueryUserInfoApplies": {
  4703. "get": {
  4704. "security": [
  4705. {
  4706. "ApiKeyAuth": []
  4707. }
  4708. ],
  4709. "produces": [
  4710. "application/json"
  4711. ],
  4712. "tags": [
  4713. "风险管理v3"
  4714. ],
  4715. "summary": "客户申请信息查询",
  4716. "parameters": [
  4717. {
  4718. "type": "integer",
  4719. "description": "页码",
  4720. "name": "page",
  4721. "in": "query"
  4722. },
  4723. {
  4724. "type": "integer",
  4725. "description": "每页条数",
  4726. "name": "pagesize",
  4727. "in": "query"
  4728. },
  4729. {
  4730. "type": "string",
  4731. "description": "客户名称,支持模糊查询",
  4732. "name": "userName",
  4733. "in": "query"
  4734. }
  4735. ],
  4736. "responses": {
  4737. "200": {
  4738. "description": "OK",
  4739. "schema": {
  4740. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4741. }
  4742. },
  4743. "500": {
  4744. "description": "Internal Server Error",
  4745. "schema": {
  4746. "$ref": "#/definitions/app.Response"
  4747. }
  4748. }
  4749. }
  4750. }
  4751. },
  4752. "/Erms3/QueryUserInfos": {
  4753. "get": {
  4754. "security": [
  4755. {
  4756. "ApiKeyAuth": []
  4757. }
  4758. ],
  4759. "produces": [
  4760. "application/json"
  4761. ],
  4762. "tags": [
  4763. "风险管理v3"
  4764. ],
  4765. "summary": "客户信息查询",
  4766. "parameters": [
  4767. {
  4768. "type": "integer",
  4769. "description": "页码",
  4770. "name": "page",
  4771. "in": "query"
  4772. },
  4773. {
  4774. "type": "integer",
  4775. "description": "每页条数",
  4776. "name": "pagesize",
  4777. "in": "query"
  4778. },
  4779. {
  4780. "type": "string",
  4781. "description": "客户名称,支持模糊查询",
  4782. "name": "userName",
  4783. "in": "query"
  4784. }
  4785. ],
  4786. "responses": {
  4787. "200": {
  4788. "description": "OK",
  4789. "schema": {
  4790. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4791. }
  4792. },
  4793. "500": {
  4794. "description": "Internal Server Error",
  4795. "schema": {
  4796. "$ref": "#/definitions/app.Response"
  4797. }
  4798. }
  4799. }
  4800. }
  4801. },
  4802. "/HSBY/GetHsbyMyCount": {
  4803. "get": {
  4804. "security": [
  4805. {
  4806. "ApiKeyAuth": []
  4807. }
  4808. ],
  4809. "description": "说明: 不包括已完成的数量。",
  4810. "produces": [
  4811. "application/json"
  4812. ],
  4813. "tags": [
  4814. "定制【海商报业】"
  4815. ],
  4816. "summary": "获取我的订单与包裹数量",
  4817. "parameters": [
  4818. {
  4819. "type": "string",
  4820. "description": "资金账户列表,格式:1,2,3",
  4821. "name": "accountIDs",
  4822. "in": "query",
  4823. "required": true
  4824. }
  4825. ],
  4826. "responses": {
  4827. "200": {
  4828. "description": "OK",
  4829. "schema": {
  4830. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4831. }
  4832. },
  4833. "500": {
  4834. "description": "Internal Server Error",
  4835. "schema": {
  4836. "$ref": "#/definitions/app.Response"
  4837. }
  4838. }
  4839. }
  4840. }
  4841. },
  4842. "/HSBY/QueryClientFixedADConfigs": {
  4843. "get": {
  4844. "security": [
  4845. {
  4846. "ApiKeyAuth": []
  4847. }
  4848. ],
  4849. "produces": [
  4850. "application/json"
  4851. ],
  4852. "tags": [
  4853. "定制【海商报业】"
  4854. ],
  4855. "summary": "获取终端固定广告配置",
  4856. "responses": {
  4857. "200": {
  4858. "description": "OK",
  4859. "schema": {
  4860. "$ref": "#/definitions/models.Clientfixedadconfig"
  4861. }
  4862. },
  4863. "500": {
  4864. "description": "Internal Server Error",
  4865. "schema": {
  4866. "$ref": "#/definitions/app.Response"
  4867. }
  4868. }
  4869. }
  4870. }
  4871. },
  4872. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4873. "get": {
  4874. "security": [
  4875. {
  4876. "ApiKeyAuth": []
  4877. }
  4878. ],
  4879. "produces": [
  4880. "application/json"
  4881. ],
  4882. "tags": [
  4883. "定制【海商报业】"
  4884. ],
  4885. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4886. "parameters": [
  4887. {
  4888. "type": "integer",
  4889. "description": "页码",
  4890. "name": "page",
  4891. "in": "query"
  4892. },
  4893. {
  4894. "type": "integer",
  4895. "description": "每页条数",
  4896. "name": "pagesize",
  4897. "in": "query"
  4898. },
  4899. {
  4900. "type": "string",
  4901. "description": "资金账户列表,格式:1,2,3",
  4902. "name": "accountIDs",
  4903. "in": "query",
  4904. "required": true
  4905. }
  4906. ],
  4907. "responses": {
  4908. "200": {
  4909. "description": "OK",
  4910. "schema": {
  4911. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4912. }
  4913. },
  4914. "500": {
  4915. "description": "Internal Server Error",
  4916. "schema": {
  4917. "$ref": "#/definitions/app.Response"
  4918. }
  4919. }
  4920. }
  4921. }
  4922. },
  4923. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4924. "get": {
  4925. "security": [
  4926. {
  4927. "ApiKeyAuth": []
  4928. }
  4929. ],
  4930. "description": "说明:查询结果已按委托价格和委托时间排序",
  4931. "produces": [
  4932. "application/json"
  4933. ],
  4934. "tags": [
  4935. "定制【海商报业】"
  4936. ],
  4937. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4938. "parameters": [
  4939. {
  4940. "type": "integer",
  4941. "description": "商品ID",
  4942. "name": "goodsID",
  4943. "in": "query",
  4944. "required": true
  4945. },
  4946. {
  4947. "type": "string",
  4948. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4949. "name": "accountIDs",
  4950. "in": "query"
  4951. },
  4952. {
  4953. "type": "integer",
  4954. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4955. "name": "buyOrSell",
  4956. "in": "query"
  4957. },
  4958. {
  4959. "type": "number",
  4960. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4961. "name": "price",
  4962. "in": "query"
  4963. },
  4964. {
  4965. "type": "integer",
  4966. "description": "档位,不传则默认为3档",
  4967. "name": "speed",
  4968. "in": "query"
  4969. }
  4970. ],
  4971. "responses": {
  4972. "200": {
  4973. "description": "OK",
  4974. "schema": {
  4975. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4976. }
  4977. },
  4978. "500": {
  4979. "description": "Internal Server Error",
  4980. "schema": {
  4981. "$ref": "#/definitions/app.Response"
  4982. }
  4983. }
  4984. }
  4985. }
  4986. },
  4987. "/HSBY/QueryHsbyListingGoodsDetail": {
  4988. "get": {
  4989. "security": [
  4990. {
  4991. "ApiKeyAuth": []
  4992. }
  4993. ],
  4994. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4995. "produces": [
  4996. "application/json"
  4997. ],
  4998. "tags": [
  4999. "定制【海商报业】"
  5000. ],
  5001. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5002. "parameters": [
  5003. {
  5004. "type": "integer",
  5005. "description": "商品ID",
  5006. "name": "goodsID",
  5007. "in": "query",
  5008. "required": true
  5009. },
  5010. {
  5011. "type": "integer",
  5012. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5013. "name": "accountID",
  5014. "in": "query"
  5015. }
  5016. ],
  5017. "responses": {
  5018. "200": {
  5019. "description": "OK",
  5020. "schema": {
  5021. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5022. }
  5023. },
  5024. "500": {
  5025. "description": "Internal Server Error",
  5026. "schema": {
  5027. "$ref": "#/definitions/app.Response"
  5028. }
  5029. }
  5030. }
  5031. }
  5032. },
  5033. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5034. "get": {
  5035. "security": [
  5036. {
  5037. "ApiKeyAuth": []
  5038. }
  5039. ],
  5040. "produces": [
  5041. "application/json"
  5042. ],
  5043. "tags": [
  5044. "定制【海商报业】"
  5045. ],
  5046. "summary": "查询三级市场(商城)商品信息详情",
  5047. "parameters": [
  5048. {
  5049. "type": "integer",
  5050. "description": "委托单号",
  5051. "name": "orderID",
  5052. "in": "query",
  5053. "required": true
  5054. },
  5055. {
  5056. "type": "integer",
  5057. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5058. "name": "accountID",
  5059. "in": "query"
  5060. }
  5061. ],
  5062. "responses": {
  5063. "200": {
  5064. "description": "OK",
  5065. "schema": {
  5066. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5067. }
  5068. },
  5069. "500": {
  5070. "description": "Internal Server Error",
  5071. "schema": {
  5072. "$ref": "#/definitions/app.Response"
  5073. }
  5074. }
  5075. }
  5076. }
  5077. },
  5078. "/HSBY/QueryHsbyMarketGoodses": {
  5079. "get": {
  5080. "security": [
  5081. {
  5082. "ApiKeyAuth": []
  5083. }
  5084. ],
  5085. "produces": [
  5086. "application/json"
  5087. ],
  5088. "tags": [
  5089. "定制【海商报业】"
  5090. ],
  5091. "summary": "查询特卖商品列表(三级商城)",
  5092. "parameters": [
  5093. {
  5094. "type": "integer",
  5095. "description": "页码",
  5096. "name": "page",
  5097. "in": "query"
  5098. },
  5099. {
  5100. "type": "integer",
  5101. "description": "每页条数",
  5102. "name": "pagesize",
  5103. "in": "query"
  5104. },
  5105. {
  5106. "type": "string",
  5107. "description": "市场ID列表,格式:1,2,3",
  5108. "name": "marketIDs",
  5109. "in": "query",
  5110. "required": true
  5111. },
  5112. {
  5113. "type": "integer",
  5114. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5115. "name": "accountID",
  5116. "in": "query",
  5117. "required": true
  5118. },
  5119. {
  5120. "type": "integer",
  5121. "description": "类别ID",
  5122. "name": "categoryID",
  5123. "in": "query"
  5124. },
  5125. {
  5126. "type": "string",
  5127. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5128. "name": "goodsIDs",
  5129. "in": "query"
  5130. },
  5131. {
  5132. "type": "integer",
  5133. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5134. "name": "couponTypeID",
  5135. "in": "query"
  5136. }
  5137. ],
  5138. "responses": {
  5139. "200": {
  5140. "description": "OK",
  5141. "schema": {
  5142. "$ref": "#/definitions/models.HsbyMarketGoods"
  5143. }
  5144. },
  5145. "500": {
  5146. "description": "Internal Server Error",
  5147. "schema": {
  5148. "$ref": "#/definitions/app.Response"
  5149. }
  5150. }
  5151. }
  5152. }
  5153. },
  5154. "/HSBY/QueryHsbyMarkets": {
  5155. "get": {
  5156. "security": [
  5157. {
  5158. "ApiKeyAuth": []
  5159. }
  5160. ],
  5161. "produces": [
  5162. "application/json"
  5163. ],
  5164. "tags": [
  5165. "定制【海商报业】"
  5166. ],
  5167. "summary": "查询海商报业相关市场信息",
  5168. "responses": {
  5169. "200": {
  5170. "description": "OK",
  5171. "schema": {
  5172. "$ref": "#/definitions/models.HsbyMarketInfo"
  5173. }
  5174. },
  5175. "500": {
  5176. "description": "Internal Server Error",
  5177. "schema": {
  5178. "$ref": "#/definitions/app.Response"
  5179. }
  5180. }
  5181. }
  5182. }
  5183. },
  5184. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5185. "get": {
  5186. "security": [
  5187. {
  5188. "ApiKeyAuth": []
  5189. }
  5190. ],
  5191. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5192. "produces": [
  5193. "application/json"
  5194. ],
  5195. "tags": [
  5196. "定制【海商报业】"
  5197. ],
  5198. "summary": "查询“我的订单”信息",
  5199. "parameters": [
  5200. {
  5201. "type": "string",
  5202. "description": "资金账户列表,格式:1,2,3",
  5203. "name": "accountIDs",
  5204. "in": "query",
  5205. "required": true
  5206. }
  5207. ],
  5208. "responses": {
  5209. "200": {
  5210. "description": "OK",
  5211. "schema": {
  5212. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5213. }
  5214. },
  5215. "500": {
  5216. "description": "Internal Server Error",
  5217. "schema": {
  5218. "$ref": "#/definitions/app.Response"
  5219. }
  5220. }
  5221. }
  5222. }
  5223. },
  5224. "/HSBY/QueryHsbyMyGoods": {
  5225. "get": {
  5226. "security": [
  5227. {
  5228. "ApiKeyAuth": []
  5229. }
  5230. ],
  5231. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5232. "produces": [
  5233. "application/json"
  5234. ],
  5235. "tags": [
  5236. "定制【海商报业】"
  5237. ],
  5238. "summary": "查询“我的商品”信息",
  5239. "parameters": [
  5240. {
  5241. "type": "string",
  5242. "description": "资金账户列表,格式:1,2,3",
  5243. "name": "accountIDs",
  5244. "in": "query",
  5245. "required": true
  5246. }
  5247. ],
  5248. "responses": {
  5249. "200": {
  5250. "description": "OK",
  5251. "schema": {
  5252. "$ref": "#/definitions/models.HsbyMyGoods"
  5253. }
  5254. },
  5255. "500": {
  5256. "description": "Internal Server Error",
  5257. "schema": {
  5258. "$ref": "#/definitions/app.Response"
  5259. }
  5260. }
  5261. }
  5262. }
  5263. },
  5264. "/HSBY/QueryHsbyMyPackages": {
  5265. "get": {
  5266. "security": [
  5267. {
  5268. "ApiKeyAuth": []
  5269. }
  5270. ],
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "定制【海商报业】"
  5276. ],
  5277. "summary": "查询我的包裹信息",
  5278. "parameters": [
  5279. {
  5280. "type": "string",
  5281. "description": "资金账户列表,格式:1,2,3",
  5282. "name": "accountIDs",
  5283. "in": "query",
  5284. "required": true
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5289. "name": "takeOrderStatus",
  5290. "in": "query"
  5291. }
  5292. ],
  5293. "responses": {
  5294. "200": {
  5295. "description": "OK",
  5296. "schema": {
  5297. "$ref": "#/definitions/models.HsbyMyPackage"
  5298. }
  5299. },
  5300. "500": {
  5301. "description": "Internal Server Error",
  5302. "schema": {
  5303. "$ref": "#/definitions/app.Response"
  5304. }
  5305. }
  5306. }
  5307. }
  5308. },
  5309. "/HSBY/QueryHsbyPreGoodsDetail": {
  5310. "get": {
  5311. "security": [
  5312. {
  5313. "ApiKeyAuth": []
  5314. }
  5315. ],
  5316. "produces": [
  5317. "application/json"
  5318. ],
  5319. "tags": [
  5320. "定制【海商报业】"
  5321. ],
  5322. "summary": "查询一级市场(预售)商品信息详情",
  5323. "parameters": [
  5324. {
  5325. "type": "integer",
  5326. "description": "商品ID",
  5327. "name": "goodsID",
  5328. "in": "query",
  5329. "required": true
  5330. },
  5331. {
  5332. "type": "integer",
  5333. "description": "资金账户,主要用于获取预售商品购买上限",
  5334. "name": "accountID",
  5335. "in": "query"
  5336. }
  5337. ],
  5338. "responses": {
  5339. "200": {
  5340. "description": "OK",
  5341. "schema": {
  5342. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5343. }
  5344. },
  5345. "500": {
  5346. "description": "Internal Server Error",
  5347. "schema": {
  5348. "$ref": "#/definitions/app.Response"
  5349. }
  5350. }
  5351. }
  5352. }
  5353. },
  5354. "/HSBY/QueryHsbyPreGoodses": {
  5355. "get": {
  5356. "security": [
  5357. {
  5358. "ApiKeyAuth": []
  5359. }
  5360. ],
  5361. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5362. "produces": [
  5363. "application/json"
  5364. ],
  5365. "tags": [
  5366. "定制【海商报业】"
  5367. ],
  5368. "summary": "查询新品上市商品列表(一级市场预售)",
  5369. "parameters": [
  5370. {
  5371. "type": "integer",
  5372. "description": "页码",
  5373. "name": "page",
  5374. "in": "query"
  5375. },
  5376. {
  5377. "type": "integer",
  5378. "description": "每页条数",
  5379. "name": "pagesize",
  5380. "in": "query"
  5381. },
  5382. {
  5383. "type": "string",
  5384. "description": "市场ID列表,格式:1,2,3",
  5385. "name": "marketIDs",
  5386. "in": "query",
  5387. "required": true
  5388. },
  5389. {
  5390. "type": "integer",
  5391. "description": "目的地(省)ID",
  5392. "name": "descProvinceID",
  5393. "in": "query"
  5394. },
  5395. {
  5396. "type": "integer",
  5397. "description": "目的地(市)ID",
  5398. "name": "descCityID",
  5399. "in": "query"
  5400. }
  5401. ],
  5402. "responses": {
  5403. "200": {
  5404. "description": "OK",
  5405. "schema": {
  5406. "$ref": "#/definitions/models.HsbyPreGoods"
  5407. }
  5408. },
  5409. "500": {
  5410. "description": "Internal Server Error",
  5411. "schema": {
  5412. "$ref": "#/definitions/app.Response"
  5413. }
  5414. }
  5415. }
  5416. }
  5417. },
  5418. "/HSBY/QueryHsbySellMyDetails": {
  5419. "get": {
  5420. "security": [
  5421. {
  5422. "ApiKeyAuth": []
  5423. }
  5424. ],
  5425. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5426. "produces": [
  5427. "application/json"
  5428. ],
  5429. "tags": [
  5430. "定制【海商报业】"
  5431. ],
  5432. "summary": "查询\"我的闲置\"单据信息",
  5433. "parameters": [
  5434. {
  5435. "type": "integer",
  5436. "description": "页码",
  5437. "name": "page",
  5438. "in": "query"
  5439. },
  5440. {
  5441. "type": "integer",
  5442. "description": "每页条数",
  5443. "name": "pagesize",
  5444. "in": "query"
  5445. },
  5446. {
  5447. "type": "string",
  5448. "description": "资金账户列表,格式:1,2,3",
  5449. "name": "accountIDs",
  5450. "in": "query",
  5451. "required": true
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5456. "name": "orderType",
  5457. "in": "query"
  5458. }
  5459. ],
  5460. "responses": {
  5461. "200": {
  5462. "description": "OK",
  5463. "schema": {
  5464. "$ref": "#/definitions/models.HsbySellMyDetail"
  5465. }
  5466. },
  5467. "500": {
  5468. "description": "Internal Server Error",
  5469. "schema": {
  5470. "$ref": "#/definitions/app.Response"
  5471. }
  5472. }
  5473. }
  5474. }
  5475. },
  5476. "/HSBY/QueryHsbyTopGoodses": {
  5477. "get": {
  5478. "security": [
  5479. {
  5480. "ApiKeyAuth": []
  5481. }
  5482. ],
  5483. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5484. "produces": [
  5485. "application/json"
  5486. ],
  5487. "tags": [
  5488. "定制【海商报业】"
  5489. ],
  5490. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5491. "parameters": [
  5492. {
  5493. "type": "integer",
  5494. "description": "页码",
  5495. "name": "page",
  5496. "in": "query"
  5497. },
  5498. {
  5499. "type": "integer",
  5500. "description": "每页条数",
  5501. "name": "pagesize",
  5502. "in": "query"
  5503. },
  5504. {
  5505. "type": "string",
  5506. "description": "市场ID列表,格式:1,2,3",
  5507. "name": "marketIDs",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "目的地(省)ID",
  5514. "name": "descProvinceID",
  5515. "in": "query"
  5516. },
  5517. {
  5518. "type": "integer",
  5519. "description": "目的地(市)ID",
  5520. "name": "descCityID",
  5521. "in": "query"
  5522. }
  5523. ],
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/models.HsbyTopGoods"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5548. "produces": [
  5549. "application/json"
  5550. ],
  5551. "tags": [
  5552. "定制【海商报业】"
  5553. ],
  5554. "summary": "查询游客三级市场(商城)商品信息详情",
  5555. "parameters": [
  5556. {
  5557. "type": "integer",
  5558. "description": "商品ID",
  5559. "name": "goodsID",
  5560. "in": "query",
  5561. "required": true
  5562. }
  5563. ],
  5564. "responses": {
  5565. "200": {
  5566. "description": "OK",
  5567. "schema": {
  5568. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5569. }
  5570. },
  5571. "500": {
  5572. "description": "Internal Server Error",
  5573. "schema": {
  5574. "$ref": "#/definitions/app.Response"
  5575. }
  5576. }
  5577. }
  5578. }
  5579. },
  5580. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5581. "get": {
  5582. "security": [
  5583. {
  5584. "ApiKeyAuth": []
  5585. }
  5586. ],
  5587. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5588. "produces": [
  5589. "application/json"
  5590. ],
  5591. "tags": [
  5592. "定制【海商报业】"
  5593. ],
  5594. "summary": "查询游客特卖商品列表(三级商城)",
  5595. "parameters": [
  5596. {
  5597. "type": "integer",
  5598. "description": "页码",
  5599. "name": "page",
  5600. "in": "query"
  5601. },
  5602. {
  5603. "type": "integer",
  5604. "description": "每页条数",
  5605. "name": "pagesize",
  5606. "in": "query"
  5607. },
  5608. {
  5609. "type": "string",
  5610. "description": "市场ID列表,格式:1,2,3",
  5611. "name": "marketIDs",
  5612. "in": "query",
  5613. "required": true
  5614. },
  5615. {
  5616. "type": "integer",
  5617. "description": "类别ID",
  5618. "name": "categoryID",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5624. "name": "goodsIDs",
  5625. "in": "query"
  5626. }
  5627. ],
  5628. "responses": {
  5629. "200": {
  5630. "description": "OK",
  5631. "schema": {
  5632. "$ref": "#/definitions/models.HsbyMarketGoods"
  5633. }
  5634. },
  5635. "500": {
  5636. "description": "Internal Server Error",
  5637. "schema": {
  5638. "$ref": "#/definitions/app.Response"
  5639. }
  5640. }
  5641. }
  5642. }
  5643. },
  5644. "/HSBY/QueryMyCollectionOrders": {
  5645. "get": {
  5646. "security": [
  5647. {
  5648. "ApiKeyAuth": []
  5649. }
  5650. ],
  5651. "produces": [
  5652. "application/json"
  5653. ],
  5654. "tags": [
  5655. "定制【海商报业】"
  5656. ],
  5657. "summary": "我的闲置中收款信息查询",
  5658. "parameters": [
  5659. {
  5660. "type": "integer",
  5661. "description": "页码",
  5662. "name": "page",
  5663. "in": "query"
  5664. },
  5665. {
  5666. "type": "integer",
  5667. "description": "每页条数",
  5668. "name": "pagesize",
  5669. "in": "query"
  5670. },
  5671. {
  5672. "type": "string",
  5673. "description": "资金账户,格式:1,2,3",
  5674. "name": "accountIDs",
  5675. "in": "query",
  5676. "required": true
  5677. }
  5678. ],
  5679. "responses": {
  5680. "200": {
  5681. "description": "OK",
  5682. "schema": {
  5683. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5684. }
  5685. },
  5686. "500": {
  5687. "description": "Internal Server Error",
  5688. "schema": {
  5689. "$ref": "#/definitions/app.Response"
  5690. }
  5691. }
  5692. }
  5693. }
  5694. },
  5695. "/HSBY/QueryMyCouponHolds": {
  5696. "get": {
  5697. "security": [
  5698. {
  5699. "ApiKeyAuth": []
  5700. }
  5701. ],
  5702. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  5703. "produces": [
  5704. "application/json"
  5705. ],
  5706. "tags": [
  5707. "定制【海商报业】"
  5708. ],
  5709. "summary": "我的优惠卷持仓查询",
  5710. "parameters": [
  5711. {
  5712. "type": "string",
  5713. "description": "资金账户列表,格式:1,2,3",
  5714. "name": "accountIDs",
  5715. "in": "query",
  5716. "required": true
  5717. },
  5718. {
  5719. "type": "string",
  5720. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5721. "name": "holdStatus",
  5722. "in": "query"
  5723. }
  5724. ],
  5725. "responses": {
  5726. "200": {
  5727. "description": "OK",
  5728. "schema": {
  5729. "$ref": "#/definitions/models.MyCouponHold"
  5730. }
  5731. },
  5732. "500": {
  5733. "description": "Internal Server Error",
  5734. "schema": {
  5735. "$ref": "#/definitions/app.Response"
  5736. }
  5737. }
  5738. }
  5739. }
  5740. },
  5741. "/HSBY/QueryMyCoupons": {
  5742. "get": {
  5743. "security": [
  5744. {
  5745. "ApiKeyAuth": []
  5746. }
  5747. ],
  5748. "produces": [
  5749. "application/json"
  5750. ],
  5751. "tags": [
  5752. "定制【海商报业】"
  5753. ],
  5754. "summary": "我的优惠卷查询",
  5755. "parameters": [
  5756. {
  5757. "type": "string",
  5758. "description": "资金账户列表,格式:1,2,3",
  5759. "name": "accountIDs",
  5760. "in": "query",
  5761. "required": true
  5762. },
  5763. {
  5764. "type": "integer",
  5765. "description": "商品ID, 一般与sellUserID配套传入",
  5766. "name": "goodsID",
  5767. "in": "query"
  5768. },
  5769. {
  5770. "type": "integer",
  5771. "description": "卖方UserID",
  5772. "name": "sellUserID",
  5773. "in": "query"
  5774. }
  5775. ],
  5776. "responses": {
  5777. "200": {
  5778. "description": "OK",
  5779. "schema": {
  5780. "$ref": "#/definitions/models.MyCoupon"
  5781. }
  5782. },
  5783. "500": {
  5784. "description": "Internal Server Error",
  5785. "schema": {
  5786. "$ref": "#/definitions/app.Response"
  5787. }
  5788. }
  5789. }
  5790. }
  5791. },
  5792. "/HSBY/QueryMyPayOrders": {
  5793. "get": {
  5794. "security": [
  5795. {
  5796. "ApiKeyAuth": []
  5797. }
  5798. ],
  5799. "produces": [
  5800. "application/json"
  5801. ],
  5802. "tags": [
  5803. "定制【海商报业】"
  5804. ],
  5805. "summary": "获取我的订单中待付款信息",
  5806. "parameters": [
  5807. {
  5808. "type": "integer",
  5809. "description": "页码",
  5810. "name": "page",
  5811. "in": "query"
  5812. },
  5813. {
  5814. "type": "integer",
  5815. "description": "每页条数",
  5816. "name": "pagesize",
  5817. "in": "query"
  5818. },
  5819. {
  5820. "type": "string",
  5821. "description": "资金账户列表,格式:1,2,3",
  5822. "name": "accountIDs",
  5823. "in": "query",
  5824. "required": true
  5825. },
  5826. {
  5827. "type": "integer",
  5828. "description": "买方委托单号",
  5829. "name": "buyOrderID",
  5830. "in": "query"
  5831. },
  5832. {
  5833. "type": "integer",
  5834. "description": "卖方委托单号",
  5835. "name": "sellOrderID",
  5836. "in": "query"
  5837. }
  5838. ],
  5839. "responses": {
  5840. "200": {
  5841. "description": "OK",
  5842. "schema": {
  5843. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5844. }
  5845. },
  5846. "500": {
  5847. "description": "Internal Server Error",
  5848. "schema": {
  5849. "$ref": "#/definitions/app.Response"
  5850. }
  5851. }
  5852. }
  5853. }
  5854. },
  5855. "/HSBY/QueryMyUsedCoupon": {
  5856. "get": {
  5857. "security": [
  5858. {
  5859. "ApiKeyAuth": []
  5860. }
  5861. ],
  5862. "produces": [
  5863. "application/json"
  5864. ],
  5865. "tags": [
  5866. "定制【海商报业】"
  5867. ],
  5868. "summary": "已使用优惠卷查询",
  5869. "parameters": [
  5870. {
  5871. "type": "string",
  5872. "description": "资金账户列表,格式:1,2,3",
  5873. "name": "accountIDs",
  5874. "in": "query",
  5875. "required": true
  5876. }
  5877. ],
  5878. "responses": {
  5879. "200": {
  5880. "description": "OK",
  5881. "schema": {
  5882. "$ref": "#/definitions/models.MyUsedCoupon"
  5883. }
  5884. },
  5885. "500": {
  5886. "description": "Internal Server Error",
  5887. "schema": {
  5888. "$ref": "#/definitions/app.Response"
  5889. }
  5890. }
  5891. }
  5892. }
  5893. },
  5894. "/HSBY/QueryProvincesAndCities": {
  5895. "get": {
  5896. "security": [
  5897. {
  5898. "ApiKeyAuth": []
  5899. }
  5900. ],
  5901. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5902. "produces": [
  5903. "application/json"
  5904. ],
  5905. "tags": [
  5906. "定制【海商报业】"
  5907. ],
  5908. "summary": "查询省市信息(不包括区)",
  5909. "parameters": [
  5910. {
  5911. "type": "integer",
  5912. "description": "省ID",
  5913. "name": "provinceID",
  5914. "in": "query"
  5915. }
  5916. ],
  5917. "responses": {
  5918. "200": {
  5919. "description": "OK",
  5920. "schema": {
  5921. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5922. }
  5923. },
  5924. "500": {
  5925. "description": "Internal Server Error",
  5926. "schema": {
  5927. "$ref": "#/definitions/app.Response"
  5928. }
  5929. }
  5930. }
  5931. }
  5932. },
  5933. "/HSBY/SetHsbyMyPackagesStatus": {
  5934. "post": {
  5935. "security": [
  5936. {
  5937. "ApiKeyAuth": []
  5938. }
  5939. ],
  5940. "produces": [
  5941. "application/json"
  5942. ],
  5943. "tags": [
  5944. "定制【海商报业】"
  5945. ],
  5946. "summary": "设置我的包裹已收货状态",
  5947. "parameters": [
  5948. {
  5949. "type": "string",
  5950. "description": "提货单号",
  5951. "name": "takeOrderID",
  5952. "in": "query",
  5953. "required": true
  5954. },
  5955. {
  5956. "type": "integer",
  5957. "description": "资金账号",
  5958. "name": "accountID",
  5959. "in": "query",
  5960. "required": true
  5961. }
  5962. ],
  5963. "responses": {
  5964. "200": {
  5965. "description": "OK",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. },
  5970. "500": {
  5971. "description": "Internal Server Error",
  5972. "schema": {
  5973. "$ref": "#/definitions/app.Response"
  5974. }
  5975. }
  5976. }
  5977. }
  5978. },
  5979. "/Market/QueryGoodsesByLoginID": {
  5980. "get": {
  5981. "security": [
  5982. {
  5983. "ApiKeyAuth": []
  5984. }
  5985. ],
  5986. "produces": [
  5987. "application/json"
  5988. ],
  5989. "tags": [
  5990. "通用市场"
  5991. ],
  5992. "summary": "获取登录账号有权限的商品信息",
  5993. "parameters": [
  5994. {
  5995. "type": "integer",
  5996. "description": "登录账号",
  5997. "name": "loginID",
  5998. "in": "query",
  5999. "required": true
  6000. },
  6001. {
  6002. "type": "string",
  6003. "description": "市场ID列表,格式:1,2,3",
  6004. "name": "marketIDs",
  6005. "in": "query"
  6006. }
  6007. ],
  6008. "responses": {
  6009. "200": {
  6010. "description": "OK",
  6011. "schema": {
  6012. "$ref": "#/definitions/models.Goods"
  6013. }
  6014. },
  6015. "500": {
  6016. "description": "Internal Server Error",
  6017. "schema": {
  6018. "$ref": "#/definitions/app.Response"
  6019. }
  6020. }
  6021. }
  6022. }
  6023. },
  6024. "/Market/QueryMarketRun": {
  6025. "get": {
  6026. "security": [
  6027. {
  6028. "ApiKeyAuth": []
  6029. }
  6030. ],
  6031. "produces": [
  6032. "application/json"
  6033. ],
  6034. "tags": [
  6035. "通用市场"
  6036. ],
  6037. "summary": "查询市场运行信息",
  6038. "parameters": [
  6039. {
  6040. "type": "integer",
  6041. "description": "市场ID,不传返回所有",
  6042. "name": "marketID",
  6043. "in": "query"
  6044. }
  6045. ],
  6046. "responses": {
  6047. "200": {
  6048. "description": "OK",
  6049. "schema": {
  6050. "$ref": "#/definitions/models.Marketrun"
  6051. }
  6052. },
  6053. "500": {
  6054. "description": "Internal Server Error",
  6055. "schema": {
  6056. "$ref": "#/definitions/app.Response"
  6057. }
  6058. }
  6059. }
  6060. }
  6061. },
  6062. "/Market/QueryMarketsByLoginID": {
  6063. "get": {
  6064. "security": [
  6065. {
  6066. "ApiKeyAuth": []
  6067. }
  6068. ],
  6069. "produces": [
  6070. "application/json"
  6071. ],
  6072. "tags": [
  6073. "通用市场"
  6074. ],
  6075. "summary": "获取登录账号有权限的市场信息",
  6076. "parameters": [
  6077. {
  6078. "type": "integer",
  6079. "description": "登录账号",
  6080. "name": "loginID",
  6081. "in": "query",
  6082. "required": true
  6083. }
  6084. ],
  6085. "responses": {
  6086. "200": {
  6087. "description": "OK",
  6088. "schema": {
  6089. "$ref": "#/definitions/models.Market"
  6090. }
  6091. },
  6092. "500": {
  6093. "description": "Internal Server Error",
  6094. "schema": {
  6095. "$ref": "#/definitions/app.Response"
  6096. }
  6097. }
  6098. }
  6099. }
  6100. },
  6101. "/Order/QueryHisTradeDetail": {
  6102. "get": {
  6103. "security": [
  6104. {
  6105. "ApiKeyAuth": []
  6106. }
  6107. ],
  6108. "produces": [
  6109. "application/json"
  6110. ],
  6111. "tags": [
  6112. "通用单据"
  6113. ],
  6114. "summary": "历史成交单查询(合约市场)",
  6115. "parameters": [
  6116. {
  6117. "type": "string",
  6118. "description": "资金账户 - 格式:1,2,3",
  6119. "name": "accountID",
  6120. "in": "query",
  6121. "required": true
  6122. },
  6123. {
  6124. "type": "integer",
  6125. "description": "成交单号",
  6126. "name": "tradeID",
  6127. "in": "query"
  6128. },
  6129. {
  6130. "type": "integer",
  6131. "description": "委托单号",
  6132. "name": "orderID",
  6133. "in": "query"
  6134. },
  6135. {
  6136. "type": "string",
  6137. "description": "交易模式 - 格式:1,2,3",
  6138. "name": "tradeMode",
  6139. "in": "query"
  6140. },
  6141. {
  6142. "type": "integer",
  6143. "description": "委托单据类型",
  6144. "name": "buildType",
  6145. "in": "query"
  6146. },
  6147. {
  6148. "type": "string",
  6149. "description": "成交类别 - 格式:1,2,3",
  6150. "name": "tradeType",
  6151. "in": "query"
  6152. },
  6153. {
  6154. "type": "string",
  6155. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6156. "name": "startDate",
  6157. "in": "query"
  6158. },
  6159. {
  6160. "type": "string",
  6161. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6162. "name": "endDate",
  6163. "in": "query"
  6164. }
  6165. ],
  6166. "responses": {
  6167. "200": {
  6168. "description": "OK",
  6169. "schema": {
  6170. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6171. }
  6172. },
  6173. "500": {
  6174. "description": "Internal Server Error",
  6175. "schema": {
  6176. "$ref": "#/definitions/app.Response"
  6177. }
  6178. }
  6179. }
  6180. }
  6181. },
  6182. "/Order/QueryHisTradeOrderDetail": {
  6183. "get": {
  6184. "security": [
  6185. {
  6186. "ApiKeyAuth": []
  6187. }
  6188. ],
  6189. "produces": [
  6190. "application/json"
  6191. ],
  6192. "tags": [
  6193. "通用单据"
  6194. ],
  6195. "summary": "历史委托单查询请求(合约市场)",
  6196. "parameters": [
  6197. {
  6198. "type": "string",
  6199. "description": "资金账户 - 格式:1,2,3",
  6200. "name": "accountID",
  6201. "in": "query",
  6202. "required": true
  6203. },
  6204. {
  6205. "type": "string",
  6206. "description": "交易模式 - 格式:1,2,3",
  6207. "name": "tradeMode",
  6208. "in": "query"
  6209. },
  6210. {
  6211. "type": "string",
  6212. "description": "委托状态 - 格式:1,2,3",
  6213. "name": "orderStatus",
  6214. "in": "query"
  6215. },
  6216. {
  6217. "type": "integer",
  6218. "description": "委托单号",
  6219. "name": "orderID",
  6220. "in": "query"
  6221. },
  6222. {
  6223. "type": "string",
  6224. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6225. "name": "startDate",
  6226. "in": "query"
  6227. },
  6228. {
  6229. "type": "string",
  6230. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6231. "name": "endDate",
  6232. "in": "query"
  6233. }
  6234. ],
  6235. "responses": {
  6236. "200": {
  6237. "description": "OK",
  6238. "schema": {
  6239. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6240. }
  6241. },
  6242. "500": {
  6243. "description": "Internal Server Error",
  6244. "schema": {
  6245. "$ref": "#/definitions/app.Response"
  6246. }
  6247. }
  6248. }
  6249. }
  6250. },
  6251. "/Order/QueryTradeDetail": {
  6252. "get": {
  6253. "security": [
  6254. {
  6255. "ApiKeyAuth": []
  6256. }
  6257. ],
  6258. "produces": [
  6259. "application/json"
  6260. ],
  6261. "tags": [
  6262. "通用单据"
  6263. ],
  6264. "summary": "成交单查询(合约市场)",
  6265. "parameters": [
  6266. {
  6267. "type": "string",
  6268. "description": "资金账户 - 格式:1,2,3",
  6269. "name": "accountID",
  6270. "in": "query",
  6271. "required": true
  6272. },
  6273. {
  6274. "type": "integer",
  6275. "description": "成交单号",
  6276. "name": "tradeID",
  6277. "in": "query"
  6278. },
  6279. {
  6280. "type": "integer",
  6281. "description": "委托单号",
  6282. "name": "orderID",
  6283. "in": "query"
  6284. },
  6285. {
  6286. "type": "string",
  6287. "description": "交易模式 - 格式:1,2,3",
  6288. "name": "tradeMode",
  6289. "in": "query"
  6290. },
  6291. {
  6292. "type": "integer",
  6293. "description": "委托单据类型",
  6294. "name": "buildType",
  6295. "in": "query"
  6296. },
  6297. {
  6298. "type": "string",
  6299. "description": "成交类别 - 格式:1,2,3",
  6300. "name": "tradeType",
  6301. "in": "query"
  6302. }
  6303. ],
  6304. "responses": {
  6305. "200": {
  6306. "description": "OK",
  6307. "schema": {
  6308. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6309. }
  6310. },
  6311. "500": {
  6312. "description": "Internal Server Error",
  6313. "schema": {
  6314. "$ref": "#/definitions/app.Response"
  6315. }
  6316. }
  6317. }
  6318. }
  6319. },
  6320. "/Order/QueryTradeOrderDetail": {
  6321. "get": {
  6322. "security": [
  6323. {
  6324. "ApiKeyAuth": []
  6325. }
  6326. ],
  6327. "produces": [
  6328. "application/json"
  6329. ],
  6330. "tags": [
  6331. "通用单据"
  6332. ],
  6333. "summary": "委托单查询请求(合约市场)",
  6334. "parameters": [
  6335. {
  6336. "type": "string",
  6337. "description": "资金账户 - 格式:1,2,3",
  6338. "name": "accountID",
  6339. "in": "query",
  6340. "required": true
  6341. },
  6342. {
  6343. "type": "string",
  6344. "description": "交易模式 - 格式:1,2,3",
  6345. "name": "tradeMode",
  6346. "in": "query"
  6347. },
  6348. {
  6349. "type": "string",
  6350. "description": "委托状态 - 格式:1,2,3",
  6351. "name": "orderStatus",
  6352. "in": "query"
  6353. },
  6354. {
  6355. "type": "integer",
  6356. "description": "委托单号",
  6357. "name": "orderID",
  6358. "in": "query"
  6359. }
  6360. ],
  6361. "responses": {
  6362. "200": {
  6363. "description": "OK",
  6364. "schema": {
  6365. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6366. }
  6367. },
  6368. "500": {
  6369. "description": "Internal Server Error",
  6370. "schema": {
  6371. "$ref": "#/definitions/app.Response"
  6372. }
  6373. }
  6374. }
  6375. }
  6376. },
  6377. "/Order/QueryTradePosition": {
  6378. "get": {
  6379. "security": [
  6380. {
  6381. "ApiKeyAuth": []
  6382. }
  6383. ],
  6384. "produces": [
  6385. "application/json"
  6386. ],
  6387. "tags": [
  6388. "通用单据"
  6389. ],
  6390. "summary": "持仓汇总查询(合约市场)",
  6391. "parameters": [
  6392. {
  6393. "type": "string",
  6394. "description": "资金账户 - 格式:1,2,3",
  6395. "name": "accountID",
  6396. "in": "query",
  6397. "required": true
  6398. },
  6399. {
  6400. "type": "string",
  6401. "description": "交易模式 - 格式:1,2,3",
  6402. "name": "tradeMode",
  6403. "in": "query"
  6404. }
  6405. ],
  6406. "responses": {
  6407. "200": {
  6408. "description": "OK",
  6409. "schema": {
  6410. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6411. }
  6412. },
  6413. "500": {
  6414. "description": "Internal Server Error",
  6415. "schema": {
  6416. "$ref": "#/definitions/app.Response"
  6417. }
  6418. }
  6419. }
  6420. }
  6421. },
  6422. "/Quote/QueryHistoryDatas": {
  6423. "get": {
  6424. "security": [
  6425. {
  6426. "ApiKeyAuth": []
  6427. }
  6428. ],
  6429. "produces": [
  6430. "application/json"
  6431. ],
  6432. "tags": [
  6433. "行情服务"
  6434. ],
  6435. "summary": "查询行情历史数据",
  6436. "parameters": [
  6437. {
  6438. "type": "integer",
  6439. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6440. "name": "cycleType",
  6441. "in": "query",
  6442. "required": true
  6443. },
  6444. {
  6445. "type": "string",
  6446. "description": "商品代码",
  6447. "name": "goodsCode",
  6448. "in": "query",
  6449. "required": true
  6450. },
  6451. {
  6452. "type": "string",
  6453. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6454. "name": "startTime",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "string",
  6459. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6460. "name": "endTime",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "integer",
  6465. "description": "条数",
  6466. "name": "count",
  6467. "in": "query"
  6468. },
  6469. {
  6470. "type": "boolean",
  6471. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6472. "name": "isAsc",
  6473. "in": "query"
  6474. }
  6475. ],
  6476. "responses": {
  6477. "200": {
  6478. "description": "OK",
  6479. "schema": {
  6480. "$ref": "#/definitions/quote.HistoryData"
  6481. }
  6482. },
  6483. "500": {
  6484. "description": "Internal Server Error",
  6485. "schema": {
  6486. "$ref": "#/definitions/app.Response"
  6487. }
  6488. }
  6489. }
  6490. }
  6491. },
  6492. "/Quote/QueryHistoryTikDatas": {
  6493. "get": {
  6494. "security": [
  6495. {
  6496. "ApiKeyAuth": []
  6497. }
  6498. ],
  6499. "produces": [
  6500. "application/json"
  6501. ],
  6502. "tags": [
  6503. "行情服务"
  6504. ],
  6505. "summary": "查询行情Tik数据",
  6506. "parameters": [
  6507. {
  6508. "type": "string",
  6509. "description": "商品代码",
  6510. "name": "goodsCode",
  6511. "in": "query",
  6512. "required": true
  6513. },
  6514. {
  6515. "type": "string",
  6516. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6517. "name": "startTime",
  6518. "in": "query"
  6519. },
  6520. {
  6521. "type": "string",
  6522. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6523. "name": "endTime",
  6524. "in": "query"
  6525. },
  6526. {
  6527. "type": "integer",
  6528. "description": "条数",
  6529. "name": "count",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "boolean",
  6534. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6535. "name": "isAsc",
  6536. "in": "query"
  6537. }
  6538. ],
  6539. "responses": {
  6540. "200": {
  6541. "description": "OK",
  6542. "schema": {
  6543. "$ref": "#/definitions/quote.HistoryTikData"
  6544. }
  6545. },
  6546. "500": {
  6547. "description": "Internal Server Error",
  6548. "schema": {
  6549. "$ref": "#/definitions/app.Response"
  6550. }
  6551. }
  6552. }
  6553. }
  6554. },
  6555. "/Quote/QueryQuoteDay": {
  6556. "get": {
  6557. "security": [
  6558. {
  6559. "ApiKeyAuth": []
  6560. }
  6561. ],
  6562. "produces": [
  6563. "application/json"
  6564. ],
  6565. "tags": [
  6566. "行情服务"
  6567. ],
  6568. "summary": "获取商品盘面信息",
  6569. "parameters": [
  6570. {
  6571. "type": "string",
  6572. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6573. "name": "goodsCodes",
  6574. "in": "query",
  6575. "required": true
  6576. }
  6577. ],
  6578. "responses": {
  6579. "200": {
  6580. "description": "OK",
  6581. "schema": {
  6582. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6583. }
  6584. },
  6585. "500": {
  6586. "description": "Internal Server Error",
  6587. "schema": {
  6588. "$ref": "#/definitions/app.Response"
  6589. }
  6590. }
  6591. }
  6592. }
  6593. },
  6594. "/Quote/QueryTSData": {
  6595. "get": {
  6596. "security": [
  6597. {
  6598. "ApiKeyAuth": []
  6599. }
  6600. ],
  6601. "produces": [
  6602. "application/json"
  6603. ],
  6604. "tags": [
  6605. "行情服务"
  6606. ],
  6607. "summary": "分时图数据查询",
  6608. "parameters": [
  6609. {
  6610. "type": "string",
  6611. "description": "商品代码",
  6612. "name": "goodsCode",
  6613. "in": "query",
  6614. "required": true
  6615. }
  6616. ],
  6617. "responses": {
  6618. "200": {
  6619. "description": "OK",
  6620. "schema": {
  6621. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6622. }
  6623. },
  6624. "500": {
  6625. "description": "Internal Server Error",
  6626. "schema": {
  6627. "$ref": "#/definitions/app.Response"
  6628. }
  6629. }
  6630. }
  6631. }
  6632. },
  6633. "/SZDZ/QueryConvertConfig": {
  6634. "get": {
  6635. "security": [
  6636. {
  6637. "ApiKeyAuth": []
  6638. }
  6639. ],
  6640. "produces": [
  6641. "application/json"
  6642. ],
  6643. "tags": [
  6644. "定制【尚志大宗】"
  6645. ],
  6646. "summary": "查询交易系统转换设置",
  6647. "parameters": [
  6648. {
  6649. "type": "integer",
  6650. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6651. "name": "convertType",
  6652. "in": "query"
  6653. },
  6654. {
  6655. "type": "string",
  6656. "description": "外部商品代码[JD\\PD]",
  6657. "name": "outerGoodsCode",
  6658. "in": "query"
  6659. },
  6660. {
  6661. "type": "string",
  6662. "description": "内部商品ID列表[交易],格式:1,2,3",
  6663. "name": "innerGoodsIDs",
  6664. "in": "query"
  6665. }
  6666. ],
  6667. "responses": {
  6668. "200": {
  6669. "description": "OK",
  6670. "schema": {
  6671. "$ref": "#/definitions/models.Szdz3convertconfig"
  6672. }
  6673. },
  6674. "500": {
  6675. "description": "Internal Server Error",
  6676. "schema": {
  6677. "$ref": "#/definitions/app.Response"
  6678. }
  6679. }
  6680. }
  6681. }
  6682. },
  6683. "/SZDZ/QueryConvertLog": {
  6684. "get": {
  6685. "security": [
  6686. {
  6687. "ApiKeyAuth": []
  6688. }
  6689. ],
  6690. "produces": [
  6691. "application/json"
  6692. ],
  6693. "tags": [
  6694. "定制【尚志大宗】"
  6695. ],
  6696. "summary": "交易系统转换流水查询",
  6697. "parameters": [
  6698. {
  6699. "type": "string",
  6700. "description": "资金账户 - 格式:1,2,3",
  6701. "name": "accountID",
  6702. "in": "query",
  6703. "required": true
  6704. },
  6705. {
  6706. "type": "string",
  6707. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6708. "name": "startDate",
  6709. "in": "query"
  6710. },
  6711. {
  6712. "type": "string",
  6713. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6714. "name": "endDate",
  6715. "in": "query"
  6716. }
  6717. ],
  6718. "responses": {
  6719. "200": {
  6720. "description": "OK",
  6721. "schema": {
  6722. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6723. }
  6724. },
  6725. "500": {
  6726. "description": "Internal Server Error",
  6727. "schema": {
  6728. "$ref": "#/definitions/app.Response"
  6729. }
  6730. }
  6731. }
  6732. }
  6733. },
  6734. "/SZDZ/QueryGoodsPickup": {
  6735. "get": {
  6736. "security": [
  6737. {
  6738. "ApiKeyAuth": []
  6739. }
  6740. ],
  6741. "produces": [
  6742. "application/json"
  6743. ],
  6744. "tags": [
  6745. "定制【尚志大宗】"
  6746. ],
  6747. "summary": "商品提货单查询",
  6748. "parameters": [
  6749. {
  6750. "type": "string",
  6751. "description": "资金账户 - 格式:1,2,3",
  6752. "name": "accountID",
  6753. "in": "query",
  6754. "required": true
  6755. },
  6756. {
  6757. "type": "integer",
  6758. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6759. "name": "takeOrderStatus",
  6760. "in": "query"
  6761. }
  6762. ],
  6763. "responses": {
  6764. "200": {
  6765. "description": "OK",
  6766. "schema": {
  6767. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6768. }
  6769. },
  6770. "500": {
  6771. "description": "Internal Server Error",
  6772. "schema": {
  6773. "$ref": "#/definitions/app.Response"
  6774. }
  6775. }
  6776. }
  6777. }
  6778. },
  6779. "/SZDZ/QueryRecieptOrder": {
  6780. "get": {
  6781. "security": [
  6782. {
  6783. "ApiKeyAuth": []
  6784. }
  6785. ],
  6786. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6787. "produces": [
  6788. "application/json"
  6789. ],
  6790. "tags": [
  6791. "定制【尚志大宗】"
  6792. ],
  6793. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6794. "parameters": [
  6795. {
  6796. "type": "integer",
  6797. "description": "页码",
  6798. "name": "page",
  6799. "in": "query"
  6800. },
  6801. {
  6802. "type": "integer",
  6803. "description": "每页条数",
  6804. "name": "pagesize",
  6805. "in": "query"
  6806. },
  6807. {
  6808. "type": "integer",
  6809. "description": "商品ID",
  6810. "name": "goodsID",
  6811. "in": "query",
  6812. "required": true
  6813. },
  6814. {
  6815. "type": "string",
  6816. "description": "所属账户名称",
  6817. "name": "accountName",
  6818. "in": "query"
  6819. },
  6820. {
  6821. "type": "integer",
  6822. "description": "市场ID",
  6823. "name": "marketID",
  6824. "in": "query"
  6825. },
  6826. {
  6827. "type": "integer",
  6828. "description": "方向 - 0:买 1:卖",
  6829. "name": "buyorsell",
  6830. "in": "query",
  6831. "required": true
  6832. }
  6833. ],
  6834. "responses": {
  6835. "200": {
  6836. "description": "OK",
  6837. "schema": {
  6838. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6839. }
  6840. },
  6841. "500": {
  6842. "description": "Internal Server Error",
  6843. "schema": {
  6844. "$ref": "#/definitions/app.Response"
  6845. }
  6846. }
  6847. }
  6848. }
  6849. },
  6850. "/SZDZ/QuerySZDZTradePosition": {
  6851. "get": {
  6852. "security": [
  6853. {
  6854. "ApiKeyAuth": []
  6855. }
  6856. ],
  6857. "produces": [
  6858. "application/json"
  6859. ],
  6860. "tags": [
  6861. "定制【尚志大宗】"
  6862. ],
  6863. "summary": "持仓汇总查询(尚志大宗)",
  6864. "parameters": [
  6865. {
  6866. "type": "integer",
  6867. "description": "资金账户",
  6868. "name": "accountID",
  6869. "in": "query",
  6870. "required": true
  6871. }
  6872. ],
  6873. "responses": {
  6874. "200": {
  6875. "description": "OK",
  6876. "schema": {
  6877. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6878. }
  6879. },
  6880. "500": {
  6881. "description": "Internal Server Error",
  6882. "schema": {
  6883. "$ref": "#/definitions/app.Response"
  6884. }
  6885. }
  6886. }
  6887. }
  6888. },
  6889. "/SZDZ/SearchWhite": {
  6890. "get": {
  6891. "security": [
  6892. {
  6893. "ApiKeyAuth": []
  6894. }
  6895. ],
  6896. "produces": [
  6897. "application/json"
  6898. ],
  6899. "tags": [
  6900. "定制【尚志大宗】"
  6901. ],
  6902. "summary": "搜索白名单",
  6903. "parameters": [
  6904. {
  6905. "type": "integer",
  6906. "description": "用户ID",
  6907. "name": "userID",
  6908. "in": "query",
  6909. "required": true
  6910. }
  6911. ],
  6912. "responses": {
  6913. "200": {
  6914. "description": "OK",
  6915. "schema": {
  6916. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6917. }
  6918. },
  6919. "500": {
  6920. "description": "Internal Server Error",
  6921. "schema": {
  6922. "$ref": "#/definitions/app.Response"
  6923. }
  6924. }
  6925. }
  6926. }
  6927. },
  6928. "/Search/SearchGoodses": {
  6929. "get": {
  6930. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6931. "produces": [
  6932. "application/json"
  6933. ],
  6934. "tags": [
  6935. "检索服务"
  6936. ],
  6937. "summary": "检索商品信息",
  6938. "parameters": [
  6939. {
  6940. "type": "string",
  6941. "description": "检索内容",
  6942. "name": "content",
  6943. "in": "query",
  6944. "required": true
  6945. },
  6946. {
  6947. "type": "string",
  6948. "description": "交易模式,格式:1,2,3",
  6949. "name": "tradeModes",
  6950. "in": "query"
  6951. }
  6952. ],
  6953. "responses": {
  6954. "200": {
  6955. "description": "OK",
  6956. "schema": {
  6957. "$ref": "#/definitions/models.SearchGoods"
  6958. }
  6959. },
  6960. "500": {
  6961. "description": "Internal Server Error",
  6962. "schema": {
  6963. "$ref": "#/definitions/app.Response"
  6964. }
  6965. }
  6966. }
  6967. }
  6968. },
  6969. "/TaAccount/GetTaAccounts": {
  6970. "get": {
  6971. "security": [
  6972. {
  6973. "ApiKeyAuth": []
  6974. }
  6975. ],
  6976. "produces": [
  6977. "application/json"
  6978. ],
  6979. "tags": [
  6980. "资金账户"
  6981. ],
  6982. "summary": "获取资金账户信息",
  6983. "parameters": [
  6984. {
  6985. "type": "integer",
  6986. "description": "登录账户",
  6987. "name": "loginID",
  6988. "in": "query",
  6989. "required": true
  6990. },
  6991. {
  6992. "type": "integer",
  6993. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6994. "name": "taAccountType",
  6995. "in": "query"
  6996. }
  6997. ],
  6998. "responses": {
  6999. "200": {
  7000. "description": "OK",
  7001. "schema": {
  7002. "$ref": "#/definitions/models.Taaccount"
  7003. }
  7004. },
  7005. "500": {
  7006. "description": "Internal Server Error",
  7007. "schema": {
  7008. "$ref": "#/definitions/app.Response"
  7009. }
  7010. }
  7011. }
  7012. }
  7013. },
  7014. "/TaAccount/QueryAmountLog": {
  7015. "get": {
  7016. "security": [
  7017. {
  7018. "ApiKeyAuth": []
  7019. }
  7020. ],
  7021. "produces": [
  7022. "application/json"
  7023. ],
  7024. "tags": [
  7025. "资金账户"
  7026. ],
  7027. "summary": "资金流水查询(当前)",
  7028. "parameters": [
  7029. {
  7030. "type": "integer",
  7031. "description": "页码",
  7032. "name": "page",
  7033. "in": "query"
  7034. },
  7035. {
  7036. "type": "integer",
  7037. "description": "每页条数",
  7038. "name": "pagesize",
  7039. "in": "query"
  7040. },
  7041. {
  7042. "type": "string",
  7043. "description": "资金账户 - 格式:1,2,3",
  7044. "name": "accountID",
  7045. "in": "query",
  7046. "required": true
  7047. },
  7048. {
  7049. "type": "string",
  7050. "description": "资金操作类型 - 格式:1,2,3",
  7051. "name": "OperateType",
  7052. "in": "query"
  7053. }
  7054. ],
  7055. "responses": {
  7056. "200": {
  7057. "description": "OK",
  7058. "schema": {
  7059. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7060. }
  7061. },
  7062. "500": {
  7063. "description": "Internal Server Error",
  7064. "schema": {
  7065. "$ref": "#/definitions/app.Response"
  7066. }
  7067. }
  7068. }
  7069. }
  7070. },
  7071. "/TaAccount/QueryHisAmountLog": {
  7072. "get": {
  7073. "security": [
  7074. {
  7075. "ApiKeyAuth": []
  7076. }
  7077. ],
  7078. "produces": [
  7079. "application/json"
  7080. ],
  7081. "tags": [
  7082. "资金账户"
  7083. ],
  7084. "summary": "资金流水查询(历史)",
  7085. "parameters": [
  7086. {
  7087. "type": "integer",
  7088. "description": "页码",
  7089. "name": "page",
  7090. "in": "query"
  7091. },
  7092. {
  7093. "type": "integer",
  7094. "description": "每页条数",
  7095. "name": "pagesize",
  7096. "in": "query"
  7097. },
  7098. {
  7099. "type": "string",
  7100. "description": "资金账户 - 格式:1,2,3",
  7101. "name": "accountID",
  7102. "in": "query",
  7103. "required": true
  7104. },
  7105. {
  7106. "type": "string",
  7107. "description": "资金操作类型 - 格式:1,2,3",
  7108. "name": "OperateType",
  7109. "in": "query"
  7110. },
  7111. {
  7112. "type": "string",
  7113. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7114. "name": "startDate",
  7115. "in": "query"
  7116. },
  7117. {
  7118. "type": "string",
  7119. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7120. "name": "endDate",
  7121. "in": "query"
  7122. }
  7123. ],
  7124. "responses": {
  7125. "200": {
  7126. "description": "OK",
  7127. "schema": {
  7128. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7129. }
  7130. },
  7131. "500": {
  7132. "description": "Internal Server Error",
  7133. "schema": {
  7134. "$ref": "#/definitions/app.Response"
  7135. }
  7136. }
  7137. }
  7138. }
  7139. },
  7140. "/Trade/QueryRecieptOrder": {
  7141. "get": {
  7142. "security": [
  7143. {
  7144. "ApiKeyAuth": []
  7145. }
  7146. ],
  7147. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7148. "produces": [
  7149. "application/json"
  7150. ],
  7151. "tags": [
  7152. "通用交易"
  7153. ],
  7154. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7155. "parameters": [
  7156. {
  7157. "type": "integer",
  7158. "description": "页码",
  7159. "name": "page",
  7160. "in": "query"
  7161. },
  7162. {
  7163. "type": "integer",
  7164. "description": "每页条数",
  7165. "name": "pagesize",
  7166. "in": "query"
  7167. },
  7168. {
  7169. "type": "integer",
  7170. "description": "商品ID",
  7171. "name": "goodsID",
  7172. "in": "query",
  7173. "required": true
  7174. },
  7175. {
  7176. "type": "string",
  7177. "description": "所属账户名称",
  7178. "name": "accountName",
  7179. "in": "query"
  7180. },
  7181. {
  7182. "type": "integer",
  7183. "description": "市场ID",
  7184. "name": "marketID",
  7185. "in": "query"
  7186. },
  7187. {
  7188. "type": "integer",
  7189. "description": "方向 - 0:买 1:卖",
  7190. "name": "buyorsell",
  7191. "in": "query",
  7192. "required": true
  7193. }
  7194. ],
  7195. "responses": {
  7196. "200": {
  7197. "description": "OK",
  7198. "schema": {
  7199. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7200. }
  7201. },
  7202. "500": {
  7203. "description": "Internal Server Error",
  7204. "schema": {
  7205. "$ref": "#/definitions/app.Response"
  7206. }
  7207. }
  7208. }
  7209. }
  7210. },
  7211. "/User/AddMessageBoard": {
  7212. "post": {
  7213. "security": [
  7214. {
  7215. "ApiKeyAuth": []
  7216. }
  7217. ],
  7218. "produces": [
  7219. "application/json"
  7220. ],
  7221. "tags": [
  7222. "用户信息"
  7223. ],
  7224. "summary": "添加用户留言板信息",
  7225. "parameters": [
  7226. {
  7227. "type": "integer",
  7228. "description": "用户ID",
  7229. "name": "userID",
  7230. "in": "query",
  7231. "required": true
  7232. },
  7233. {
  7234. "type": "string",
  7235. "description": "留言信息",
  7236. "name": "message",
  7237. "in": "query",
  7238. "required": true
  7239. },
  7240. {
  7241. "type": "string",
  7242. "description": "联系电话",
  7243. "name": "contactNum",
  7244. "in": "query",
  7245. "required": true
  7246. }
  7247. ],
  7248. "responses": {
  7249. "200": {
  7250. "description": "OK",
  7251. "schema": {
  7252. "$ref": "#/definitions/app.Response"
  7253. }
  7254. },
  7255. "500": {
  7256. "description": "Internal Server Error",
  7257. "schema": {
  7258. "$ref": "#/definitions/app.Response"
  7259. }
  7260. }
  7261. }
  7262. }
  7263. },
  7264. "/User/AddUserFavoriteGoods": {
  7265. "post": {
  7266. "security": [
  7267. {
  7268. "ApiKeyAuth": []
  7269. }
  7270. ],
  7271. "produces": [
  7272. "application/json"
  7273. ],
  7274. "tags": [
  7275. "用户信息"
  7276. ],
  7277. "summary": "添加用户商品收藏信息",
  7278. "parameters": [
  7279. {
  7280. "type": "integer",
  7281. "description": "用户ID",
  7282. "name": "userID",
  7283. "in": "query",
  7284. "required": true
  7285. },
  7286. {
  7287. "type": "integer",
  7288. "description": "商品ID",
  7289. "name": "goodsID",
  7290. "in": "query",
  7291. "required": true
  7292. }
  7293. ],
  7294. "responses": {
  7295. "200": {
  7296. "description": "OK",
  7297. "schema": {
  7298. "$ref": "#/definitions/app.Response"
  7299. }
  7300. },
  7301. "500": {
  7302. "description": "Internal Server Error",
  7303. "schema": {
  7304. "$ref": "#/definitions/app.Response"
  7305. }
  7306. }
  7307. }
  7308. }
  7309. },
  7310. "/User/GetLoginID": {
  7311. "get": {
  7312. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7313. "produces": [
  7314. "application/json"
  7315. ],
  7316. "tags": [
  7317. "用户信息"
  7318. ],
  7319. "summary": "获取登录ID",
  7320. "parameters": [
  7321. {
  7322. "type": "string",
  7323. "description": "登录代码",
  7324. "name": "username",
  7325. "in": "query",
  7326. "required": true
  7327. }
  7328. ],
  7329. "responses": {
  7330. "200": {
  7331. "description": "OK",
  7332. "schema": {
  7333. "$ref": "#/definitions/app.Response"
  7334. }
  7335. },
  7336. "500": {
  7337. "description": "Internal Server Error",
  7338. "schema": {
  7339. "$ref": "#/definitions/app.Response"
  7340. }
  7341. }
  7342. }
  7343. }
  7344. },
  7345. "/User/GetUserAccount": {
  7346. "get": {
  7347. "security": [
  7348. {
  7349. "ApiKeyAuth": []
  7350. }
  7351. ],
  7352. "produces": [
  7353. "application/json"
  7354. ],
  7355. "tags": [
  7356. "用户信息"
  7357. ],
  7358. "summary": "获取用户账号信息",
  7359. "parameters": [
  7360. {
  7361. "type": "integer",
  7362. "description": "用户ID",
  7363. "name": "userID",
  7364. "in": "query",
  7365. "required": true
  7366. }
  7367. ],
  7368. "responses": {
  7369. "200": {
  7370. "description": "OK",
  7371. "schema": {
  7372. "$ref": "#/definitions/models.Useraccount"
  7373. }
  7374. },
  7375. "500": {
  7376. "description": "Internal Server Error",
  7377. "schema": {
  7378. "$ref": "#/definitions/app.Response"
  7379. }
  7380. }
  7381. }
  7382. }
  7383. },
  7384. "/User/GetUserAuthStatus": {
  7385. "get": {
  7386. "security": [
  7387. {
  7388. "ApiKeyAuth": []
  7389. }
  7390. ],
  7391. "produces": [
  7392. "application/json"
  7393. ],
  7394. "tags": [
  7395. "用户信息"
  7396. ],
  7397. "summary": "获取用户实名认证状态",
  7398. "parameters": [
  7399. {
  7400. "type": "integer",
  7401. "description": "用户ID",
  7402. "name": "userID",
  7403. "in": "query",
  7404. "required": true
  7405. }
  7406. ],
  7407. "responses": {
  7408. "200": {
  7409. "description": "OK",
  7410. "schema": {
  7411. "$ref": "#/definitions/app.Response"
  7412. }
  7413. },
  7414. "500": {
  7415. "description": "Internal Server Error",
  7416. "schema": {
  7417. "$ref": "#/definitions/app.Response"
  7418. }
  7419. }
  7420. }
  7421. }
  7422. },
  7423. "/User/LoginQuery": {
  7424. "get": {
  7425. "security": [
  7426. {
  7427. "ApiKeyAuth": []
  7428. }
  7429. ],
  7430. "produces": [
  7431. "application/json"
  7432. ],
  7433. "tags": [
  7434. "用户信息"
  7435. ],
  7436. "summary": "账户登录后信息查询",
  7437. "parameters": [
  7438. {
  7439. "type": "integer",
  7440. "description": "登录账号",
  7441. "name": "loginID",
  7442. "in": "query",
  7443. "required": true
  7444. }
  7445. ],
  7446. "responses": {
  7447. "200": {
  7448. "description": "OK",
  7449. "schema": {
  7450. "$ref": "#/definitions/user.LoginQueryRsp"
  7451. }
  7452. },
  7453. "500": {
  7454. "description": "Internal Server Error",
  7455. "schema": {
  7456. "$ref": "#/definitions/app.Response"
  7457. }
  7458. }
  7459. }
  7460. }
  7461. },
  7462. "/User/QueryMessageBoard": {
  7463. "get": {
  7464. "security": [
  7465. {
  7466. "ApiKeyAuth": []
  7467. }
  7468. ],
  7469. "produces": [
  7470. "application/json"
  7471. ],
  7472. "tags": [
  7473. "用户信息"
  7474. ],
  7475. "summary": "获取用户留言板信息",
  7476. "parameters": [
  7477. {
  7478. "type": "integer",
  7479. "description": "用户ID",
  7480. "name": "userID",
  7481. "in": "query",
  7482. "required": true
  7483. }
  7484. ],
  7485. "responses": {
  7486. "200": {
  7487. "description": "OK",
  7488. "schema": {
  7489. "$ref": "#/definitions/models.Messageboard"
  7490. }
  7491. },
  7492. "500": {
  7493. "description": "Internal Server Error",
  7494. "schema": {
  7495. "$ref": "#/definitions/app.Response"
  7496. }
  7497. }
  7498. }
  7499. }
  7500. },
  7501. "/User/QueryUserFavoriteGoodses": {
  7502. "get": {
  7503. "security": [
  7504. {
  7505. "ApiKeyAuth": []
  7506. }
  7507. ],
  7508. "produces": [
  7509. "application/json"
  7510. ],
  7511. "tags": [
  7512. "用户信息"
  7513. ],
  7514. "summary": "获取用户商品收藏信息",
  7515. "parameters": [
  7516. {
  7517. "type": "integer",
  7518. "description": "用户ID",
  7519. "name": "userID",
  7520. "in": "query",
  7521. "required": true
  7522. }
  7523. ],
  7524. "responses": {
  7525. "200": {
  7526. "description": "OK",
  7527. "schema": {
  7528. "$ref": "#/definitions/models.Userfavoritegoods"
  7529. }
  7530. },
  7531. "500": {
  7532. "description": "Internal Server Error",
  7533. "schema": {
  7534. "$ref": "#/definitions/app.Response"
  7535. }
  7536. }
  7537. }
  7538. }
  7539. },
  7540. "/User/QueryUserInfo": {
  7541. "get": {
  7542. "security": [
  7543. {
  7544. "ApiKeyAuth": []
  7545. }
  7546. ],
  7547. "produces": [
  7548. "application/json"
  7549. ],
  7550. "tags": [
  7551. "用户信息"
  7552. ],
  7553. "summary": "获取用户信息",
  7554. "parameters": [
  7555. {
  7556. "type": "integer",
  7557. "description": "用户ID",
  7558. "name": "userID",
  7559. "in": "query",
  7560. "required": true
  7561. },
  7562. {
  7563. "type": "boolean",
  7564. "description": "是否解密",
  7565. "name": "isDecrypt",
  7566. "in": "query"
  7567. }
  7568. ],
  7569. "responses": {
  7570. "200": {
  7571. "description": "OK",
  7572. "schema": {
  7573. "$ref": "#/definitions/models.Userinfo"
  7574. }
  7575. },
  7576. "500": {
  7577. "description": "Internal Server Error",
  7578. "schema": {
  7579. "$ref": "#/definitions/app.Response"
  7580. }
  7581. }
  7582. }
  7583. }
  7584. },
  7585. "/User/QueryUserReferNum": {
  7586. "get": {
  7587. "produces": [
  7588. "application/json"
  7589. ],
  7590. "tags": [
  7591. "用户信息"
  7592. ],
  7593. "summary": "获取用户邀请码",
  7594. "parameters": [
  7595. {
  7596. "type": "integer",
  7597. "description": "用户ID",
  7598. "name": "userID",
  7599. "in": "query",
  7600. "required": true
  7601. }
  7602. ],
  7603. "responses": {
  7604. "200": {
  7605. "description": "OK",
  7606. "schema": {
  7607. "$ref": "#/definitions/app.Response"
  7608. }
  7609. },
  7610. "500": {
  7611. "description": "Internal Server Error",
  7612. "schema": {
  7613. "$ref": "#/definitions/app.Response"
  7614. }
  7615. }
  7616. }
  7617. }
  7618. },
  7619. "/User/RemoveUserFavoriteGoods": {
  7620. "post": {
  7621. "security": [
  7622. {
  7623. "ApiKeyAuth": []
  7624. }
  7625. ],
  7626. "produces": [
  7627. "application/json"
  7628. ],
  7629. "tags": [
  7630. "用户信息"
  7631. ],
  7632. "summary": "移除用户商品收藏信息",
  7633. "parameters": [
  7634. {
  7635. "type": "integer",
  7636. "description": "用户ID",
  7637. "name": "userID",
  7638. "in": "query",
  7639. "required": true
  7640. },
  7641. {
  7642. "type": "integer",
  7643. "description": "商品ID",
  7644. "name": "goodsID",
  7645. "in": "query",
  7646. "required": true
  7647. }
  7648. ],
  7649. "responses": {
  7650. "200": {
  7651. "description": "OK",
  7652. "schema": {
  7653. "$ref": "#/definitions/app.Response"
  7654. }
  7655. },
  7656. "500": {
  7657. "description": "Internal Server Error",
  7658. "schema": {
  7659. "$ref": "#/definitions/app.Response"
  7660. }
  7661. }
  7662. }
  7663. }
  7664. },
  7665. "/User/UpdateUserAccountStatus": {
  7666. "post": {
  7667. "security": [
  7668. {
  7669. "ApiKeyAuth": []
  7670. }
  7671. ],
  7672. "produces": [
  7673. "application/json"
  7674. ],
  7675. "tags": [
  7676. "用户信息"
  7677. ],
  7678. "summary": "更新用户状态",
  7679. "parameters": [
  7680. {
  7681. "type": "integer",
  7682. "description": "用户ID",
  7683. "name": "userID",
  7684. "in": "query",
  7685. "required": true
  7686. },
  7687. {
  7688. "type": "integer",
  7689. "description": "账户状态 - 4:正常 6:注销(停用)",
  7690. "name": "accountStatus",
  7691. "in": "query",
  7692. "required": true
  7693. }
  7694. ],
  7695. "responses": {
  7696. "200": {
  7697. "description": "OK",
  7698. "schema": {
  7699. "$ref": "#/definitions/app.Response"
  7700. }
  7701. },
  7702. "500": {
  7703. "description": "Internal Server Error",
  7704. "schema": {
  7705. "$ref": "#/definitions/app.Response"
  7706. }
  7707. }
  7708. }
  7709. }
  7710. },
  7711. "/WR/GetWRCategoryInfo": {
  7712. "get": {
  7713. "produces": [
  7714. "application/json"
  7715. ],
  7716. "tags": [
  7717. "仓单服务"
  7718. ],
  7719. "summary": "获取现货分类信息",
  7720. "responses": {
  7721. "200": {
  7722. "description": "OK",
  7723. "schema": {
  7724. "$ref": "#/definitions/models.WRCategoryTree"
  7725. }
  7726. },
  7727. "500": {
  7728. "description": "Internal Server Error",
  7729. "schema": {
  7730. "$ref": "#/definitions/app.Response"
  7731. }
  7732. }
  7733. }
  7734. }
  7735. },
  7736. "/WRTrade/GetAllDeliveryGoods": {
  7737. "get": {
  7738. "security": [
  7739. {
  7740. "ApiKeyAuth": []
  7741. },
  7742. {
  7743. "ApiKeyAuth": []
  7744. }
  7745. ],
  7746. "produces": [
  7747. "application/json",
  7748. "application/json"
  7749. ],
  7750. "tags": [
  7751. "仓单贸易",
  7752. "仓单贸易"
  7753. ],
  7754. "summary": "获取带仓单分类的种类信息",
  7755. "responses": {
  7756. "200": {
  7757. "description": "OK",
  7758. "schema": {
  7759. "$ref": "#/definitions/app.Response"
  7760. }
  7761. },
  7762. "500": {
  7763. "description": "Internal Server Error",
  7764. "schema": {
  7765. "$ref": "#/definitions/app.Response"
  7766. }
  7767. }
  7768. }
  7769. }
  7770. }
  7771. },
  7772. "definitions": {
  7773. "app.Response": {
  7774. "type": "object",
  7775. "properties": {
  7776. "code": {
  7777. "type": "integer"
  7778. },
  7779. "data": {
  7780. "type": "object"
  7781. },
  7782. "msg": {
  7783. "type": "string"
  7784. },
  7785. "page": {
  7786. "description": "页码",
  7787. "type": "integer"
  7788. },
  7789. "pagesize": {
  7790. "description": "每页条数",
  7791. "type": "integer"
  7792. },
  7793. "total": {
  7794. "description": "总条数",
  7795. "type": "integer"
  7796. }
  7797. }
  7798. },
  7799. "common.ClientMenu": {
  7800. "type": "object",
  7801. "properties": {
  7802. "children": {
  7803. "description": "子菜单列表",
  7804. "type": "array",
  7805. "items": {
  7806. "$ref": "#/definitions/common.ClientMenu"
  7807. }
  7808. },
  7809. "code": {
  7810. "description": "ID",
  7811. "type": "string"
  7812. },
  7813. "isshow": {
  7814. "description": "是否显示",
  7815. "type": "boolean"
  7816. },
  7817. "rulekey": {
  7818. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  7819. "type": "string"
  7820. },
  7821. "sort": {
  7822. "description": "排序",
  7823. "type": "integer"
  7824. },
  7825. "title": {
  7826. "description": "标题",
  7827. "type": "string"
  7828. },
  7829. "type": {
  7830. "description": "类型,1:菜单 2:按钮",
  7831. "type": "integer"
  7832. }
  7833. }
  7834. },
  7835. "common.QueryImageConfigsRsp": {
  7836. "type": "object",
  7837. "required": [
  7838. "configid"
  7839. ],
  7840. "properties": {
  7841. "areauserid": {
  7842. "description": "所属机构ID",
  7843. "type": "integer"
  7844. },
  7845. "configid": {
  7846. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7847. "type": "integer"
  7848. },
  7849. "createdate": {
  7850. "description": "创建时间",
  7851. "type": "string"
  7852. },
  7853. "creatorid": {
  7854. "description": "创建人",
  7855. "type": "integer"
  7856. },
  7857. "imagepath": {
  7858. "description": "图片",
  7859. "type": "string"
  7860. },
  7861. "imagetype": {
  7862. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7863. "type": "integer"
  7864. },
  7865. "isshow": {
  7866. "description": "是否展示 - 0:不展示 1:展示",
  7867. "type": "integer"
  7868. },
  7869. "marketid": {
  7870. "description": "市场ID",
  7871. "type": "integer"
  7872. },
  7873. "modifierid": {
  7874. "description": "操作人",
  7875. "type": "integer"
  7876. },
  7877. "sort": {
  7878. "description": "排序",
  7879. "type": "integer"
  7880. },
  7881. "title": {
  7882. "description": "标题",
  7883. "type": "string"
  7884. },
  7885. "trademode": {
  7886. "description": "交易模式",
  7887. "type": "integer"
  7888. },
  7889. "updatedate": {
  7890. "description": "修改时间",
  7891. "type": "string"
  7892. },
  7893. "url": {
  7894. "description": "链接(地址或商品ID)",
  7895. "type": "string"
  7896. },
  7897. "urltype": {
  7898. "description": "链接类型 - 1:直接地址 2:商品ID",
  7899. "type": "integer"
  7900. }
  7901. }
  7902. },
  7903. "common.QueryNoticeRsp": {
  7904. "type": "object",
  7905. "required": [
  7906. "autoid"
  7907. ],
  7908. "properties": {
  7909. "auditoruserid": {
  7910. "description": "审核人",
  7911. "type": "integer"
  7912. },
  7913. "auditremark": {
  7914. "description": "审核备注",
  7915. "type": "string"
  7916. },
  7917. "audittime": {
  7918. "description": "审核日期",
  7919. "type": "string"
  7920. },
  7921. "autoid": {
  7922. "description": "自增ID",
  7923. "type": "integer"
  7924. },
  7925. "content": {
  7926. "description": "内容",
  7927. "type": "string"
  7928. },
  7929. "createtime": {
  7930. "description": "创建时间",
  7931. "type": "string"
  7932. },
  7933. "creatorid": {
  7934. "description": "建仓人",
  7935. "type": "integer"
  7936. },
  7937. "endtime": {
  7938. "description": "结束时间",
  7939. "type": "string"
  7940. },
  7941. "istop": {
  7942. "description": "是否置顶 - 0:不置顶 1:置顶",
  7943. "type": "integer"
  7944. },
  7945. "msgiconurl": {
  7946. "description": "消息图标Url",
  7947. "type": "string"
  7948. },
  7949. "msgtype": {
  7950. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7951. "type": "integer"
  7952. },
  7953. "publisher": {
  7954. "description": "消息发布者",
  7955. "type": "string"
  7956. },
  7957. "readed": {
  7958. "description": "是否已读",
  7959. "type": "boolean"
  7960. },
  7961. "scheduletime": {
  7962. "description": "计划发送时间",
  7963. "type": "string"
  7964. },
  7965. "sendtype": {
  7966. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7967. "type": "integer"
  7968. },
  7969. "sentstatus": {
  7970. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7971. "type": "integer"
  7972. },
  7973. "title": {
  7974. "description": "标题",
  7975. "type": "string"
  7976. },
  7977. "userid": {
  7978. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7979. "type": "integer"
  7980. }
  7981. }
  7982. },
  7983. "common.QueryProvincesAndCitiesRsp": {
  7984. "type": "object",
  7985. "properties": {
  7986. "cities": {
  7987. "description": "市",
  7988. "type": "array",
  7989. "items": {
  7990. "$ref": "#/definitions/models.Division"
  7991. }
  7992. },
  7993. "province": {
  7994. "description": "省",
  7995. "type": "object",
  7996. "$ref": "#/definitions/models.Division"
  7997. }
  7998. }
  7999. },
  8000. "common.QueryTableDefineRsp": {
  8001. "type": "object",
  8002. "required": [
  8003. "tablekey"
  8004. ],
  8005. "properties": {
  8006. "columns": {
  8007. "description": "列头信息数组",
  8008. "type": "array",
  8009. "items": {
  8010. "$ref": "#/definitions/models.Tablecolumnconfig"
  8011. }
  8012. },
  8013. "remark": {
  8014. "description": "Remark",
  8015. "type": "string"
  8016. },
  8017. "tabelmenu": {
  8018. "description": "列表菜单",
  8019. "type": "string"
  8020. },
  8021. "tablekey": {
  8022. "description": "列表Key",
  8023. "type": "string"
  8024. },
  8025. "tablename": {
  8026. "description": "列表名称",
  8027. "type": "string"
  8028. },
  8029. "tabletype": {
  8030. "description": "列表类型 - 1:管理端 2:终端",
  8031. "type": "integer"
  8032. }
  8033. }
  8034. },
  8035. "common.QueryTraderMenuRsp": {
  8036. "type": "object",
  8037. "properties": {
  8038. "OperationMenu": {
  8039. "description": "功能菜单",
  8040. "type": "array",
  8041. "items": {
  8042. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8043. }
  8044. },
  8045. "QuoteMenu": {
  8046. "description": "报价牌分类菜单",
  8047. "type": "array",
  8048. "items": {
  8049. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8050. }
  8051. }
  8052. }
  8053. },
  8054. "cptrade.Cptradepositioncancel": {
  8055. "type": "object",
  8056. "required": [
  8057. "cancelid"
  8058. ],
  8059. "properties": {
  8060. "accountid": {
  8061. "description": "申请人账户ID",
  8062. "type": "integer"
  8063. },
  8064. "applystatus": {
  8065. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8066. "type": "integer"
  8067. },
  8068. "applytime": {
  8069. "description": "申请时间",
  8070. "type": "string"
  8071. },
  8072. "cancelid": {
  8073. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8074. "type": "integer"
  8075. },
  8076. "cancelqty": {
  8077. "description": "注销数量",
  8078. "type": "integer"
  8079. },
  8080. "createtime": {
  8081. "description": "创建时间",
  8082. "type": "string"
  8083. },
  8084. "creatorid": {
  8085. "description": "创建人ID",
  8086. "type": "integer"
  8087. },
  8088. "creatorname": {
  8089. "description": "创建人",
  8090. "type": "string"
  8091. },
  8092. "goodscode": {
  8093. "description": "订单商品代码",
  8094. "type": "string"
  8095. },
  8096. "goodsid": {
  8097. "description": "商品ID",
  8098. "type": "integer"
  8099. },
  8100. "goodsname": {
  8101. "description": "订单商品名称",
  8102. "type": "string"
  8103. },
  8104. "goodunit": {
  8105. "description": "报价单位",
  8106. "type": "string"
  8107. },
  8108. "handlestatus": {
  8109. "description": "处理状态",
  8110. "type": "integer"
  8111. },
  8112. "marketid": {
  8113. "description": "市场ID",
  8114. "type": "integer"
  8115. },
  8116. "marketname": {
  8117. "description": "市场名称",
  8118. "type": "string"
  8119. },
  8120. "tradedate": {
  8121. "description": "交易日(yyyyMMdd)",
  8122. "type": "string"
  8123. },
  8124. "userid": {
  8125. "description": "申请人ID",
  8126. "type": "integer"
  8127. }
  8128. }
  8129. },
  8130. "cptrade.Cptradepresaleapply": {
  8131. "type": "object",
  8132. "required": [
  8133. "applyid"
  8134. ],
  8135. "properties": {
  8136. "accountid": {
  8137. "description": "申请人账户ID",
  8138. "type": "integer"
  8139. },
  8140. "applyid": {
  8141. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8142. "type": "integer"
  8143. },
  8144. "applyremark": {
  8145. "description": "申请备注",
  8146. "type": "string"
  8147. },
  8148. "applystatus": {
  8149. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8150. "type": "integer"
  8151. },
  8152. "applytime": {
  8153. "description": "申请时间",
  8154. "type": "string"
  8155. },
  8156. "attachmenturl": {
  8157. "description": "附件地址",
  8158. "type": "string"
  8159. },
  8160. "endtime": {
  8161. "description": "预售结束时间",
  8162. "type": "string"
  8163. },
  8164. "goodscode": {
  8165. "description": "商品代码",
  8166. "type": "string"
  8167. },
  8168. "goodsid": {
  8169. "description": "商品ID",
  8170. "type": "integer"
  8171. },
  8172. "goodsname": {
  8173. "description": "商品名称",
  8174. "type": "string"
  8175. },
  8176. "goodunit": {
  8177. "description": "报价单位",
  8178. "type": "string"
  8179. },
  8180. "handlestatus": {
  8181. "description": "处理状态",
  8182. "type": "integer"
  8183. },
  8184. "marketid": {
  8185. "description": "预售市场ID",
  8186. "type": "integer"
  8187. },
  8188. "marketname": {
  8189. "description": "预售市场名称",
  8190. "type": "string"
  8191. },
  8192. "presaleqty": {
  8193. "description": "预售数量",
  8194. "type": "integer"
  8195. },
  8196. "relatedgoodscode": {
  8197. "description": "关联交易合约代码",
  8198. "type": "string"
  8199. },
  8200. "relatedgoodsid": {
  8201. "description": "关联交易合约ID",
  8202. "type": "integer"
  8203. },
  8204. "relatedgoodsname": {
  8205. "description": "关联交易合约名称",
  8206. "type": "string"
  8207. },
  8208. "starttime": {
  8209. "description": "预售开始时间",
  8210. "type": "string"
  8211. },
  8212. "tradedate": {
  8213. "description": "交易日(yyyyMMdd)",
  8214. "type": "string"
  8215. },
  8216. "trademode": {
  8217. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8218. "type": "integer"
  8219. },
  8220. "userid": {
  8221. "description": "申请人ID",
  8222. "type": "integer"
  8223. }
  8224. }
  8225. },
  8226. "cptrade.Cptradeusergoodsdata": {
  8227. "type": "object",
  8228. "required": [
  8229. "accountid",
  8230. "goodsid"
  8231. ],
  8232. "properties": {
  8233. "EnabledQty": {
  8234. "description": "可用量",
  8235. "type": "integer"
  8236. },
  8237. "GoodsCode": {
  8238. "description": "订单商品代码",
  8239. "type": "string"
  8240. },
  8241. "GoodsName": {
  8242. "description": "订单商品名称",
  8243. "type": "string"
  8244. },
  8245. "WRStandardCode": {
  8246. "description": "仓单标准代码",
  8247. "type": "string"
  8248. },
  8249. "WRStandardName": {
  8250. "description": "仓单标准名称",
  8251. "type": "string"
  8252. },
  8253. "accountid": {
  8254. "description": "账户ID",
  8255. "type": "integer"
  8256. },
  8257. "cancelqty": {
  8258. "description": "注销量",
  8259. "type": "integer"
  8260. },
  8261. "curpresaleqty": {
  8262. "description": "当前预售量",
  8263. "type": "integer"
  8264. },
  8265. "deliveryqty": {
  8266. "description": "交割量",
  8267. "type": "integer"
  8268. },
  8269. "freezeamount": {
  8270. "description": "冻结金额",
  8271. "type": "number"
  8272. },
  8273. "goodsid": {
  8274. "description": "商品ID",
  8275. "type": "integer"
  8276. },
  8277. "goodunit": {
  8278. "description": "报价单位",
  8279. "type": "string"
  8280. },
  8281. "hasspotfreeze": {
  8282. "description": "是否有现货冻结 - 0:否 1:有",
  8283. "type": "integer"
  8284. },
  8285. "inqty": {
  8286. "description": "转入量(总数量)",
  8287. "type": "integer"
  8288. },
  8289. "marketid": {
  8290. "description": "市场ID",
  8291. "type": "integer"
  8292. },
  8293. "presaledamount": {
  8294. "description": "已预售总金额",
  8295. "type": "integer"
  8296. },
  8297. "presaledqty": {
  8298. "description": "已预售量",
  8299. "type": "integer"
  8300. },
  8301. "userid": {
  8302. "description": "用户ID",
  8303. "type": "integer"
  8304. },
  8305. "wrstandardid": {
  8306. "description": "仓单标准ID",
  8307. "type": "integer"
  8308. }
  8309. }
  8310. },
  8311. "cptrade.QueryCPTradeMyBidRsp": {
  8312. "type": "object",
  8313. "required": [
  8314. "accountid",
  8315. "goodsid",
  8316. "marketid",
  8317. "orderid",
  8318. "orderqty",
  8319. "ordertime",
  8320. "tradeprice",
  8321. "tradeqty"
  8322. ],
  8323. "properties": {
  8324. "accountid": {
  8325. "description": "账户ID[报价币种]",
  8326. "type": "integer"
  8327. },
  8328. "goodsid": {
  8329. "description": "商品ID",
  8330. "type": "integer"
  8331. },
  8332. "goodunit": {
  8333. "description": "报价单位",
  8334. "type": "string"
  8335. },
  8336. "marketid": {
  8337. "description": "市场ID",
  8338. "type": "integer"
  8339. },
  8340. "orderid": {
  8341. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8342. "type": "integer"
  8343. },
  8344. "orderprice": {
  8345. "description": "委托价格",
  8346. "type": "number"
  8347. },
  8348. "orderqty": {
  8349. "description": "委托数量",
  8350. "type": "integer"
  8351. },
  8352. "ordertime": {
  8353. "description": "委托时间",
  8354. "type": "string"
  8355. },
  8356. "ordertotalprice": {
  8357. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8358. "type": "number"
  8359. },
  8360. "ordertotalweight": {
  8361. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8362. "type": "integer"
  8363. },
  8364. "totaltotalprice": {
  8365. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8366. "type": "number"
  8367. },
  8368. "tradeprice": {
  8369. "description": "成交价格",
  8370. "type": "number"
  8371. },
  8372. "tradeqty": {
  8373. "description": "成交数量",
  8374. "type": "integer"
  8375. }
  8376. }
  8377. },
  8378. "cptrade.QueryCPTradeOrderDetailRsq": {
  8379. "type": "object",
  8380. "required": [
  8381. "accountid",
  8382. "buildtype",
  8383. "buyorsell",
  8384. "goodsid",
  8385. "marketid",
  8386. "memberuserid",
  8387. "operatetype",
  8388. "orderqty",
  8389. "ordertime",
  8390. "pricemode",
  8391. "strorderid",
  8392. "tradedate",
  8393. "validtype"
  8394. ],
  8395. "properties": {
  8396. "accountid": {
  8397. "description": "账户ID[报价币种]",
  8398. "type": "integer"
  8399. },
  8400. "buildtype": {
  8401. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8402. "type": "integer"
  8403. },
  8404. "buyorsell": {
  8405. "description": "买卖 - 0:买 1:卖",
  8406. "type": "integer"
  8407. },
  8408. "cancelorderid": {
  8409. "description": "撤单单号(撤单时填写)",
  8410. "type": "integer"
  8411. },
  8412. "cancelqty": {
  8413. "description": "撤单数量",
  8414. "type": "integer"
  8415. },
  8416. "clientordertime": {
  8417. "description": "客户端委托时间",
  8418. "type": "string"
  8419. },
  8420. "clientticket": {
  8421. "description": "客户端流水号",
  8422. "type": "string"
  8423. },
  8424. "clienttype": {
  8425. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8426. "type": "integer"
  8427. },
  8428. "closeexchagechargevalue": {
  8429. "description": "平仓交易所手续费设置值",
  8430. "type": "number"
  8431. },
  8432. "closefeealgorithm": {
  8433. "description": "平仓手续费收取方式 1:比率 2:固定",
  8434. "type": "integer"
  8435. },
  8436. "closefreezecharge": {
  8437. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8438. "type": "number"
  8439. },
  8440. "closememberchargevalue": {
  8441. "description": "平仓会员手续费设置值",
  8442. "type": "number"
  8443. },
  8444. "closeqty": {
  8445. "description": "平仓数量(先建后平操作 需要记录)",
  8446. "type": "integer"
  8447. },
  8448. "closetradeqty": {
  8449. "description": "平仓成交数量(先建后平操作,需要记录)",
  8450. "type": "integer"
  8451. },
  8452. "closeunfreezecharge": {
  8453. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8454. "type": "number"
  8455. },
  8456. "delistingtype": {
  8457. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8458. "type": "integer"
  8459. },
  8460. "freezecharge": {
  8461. "description": "冻结手续费",
  8462. "type": "number"
  8463. },
  8464. "freezemargin": {
  8465. "description": "冻结保证金(冻结交易金额)",
  8466. "type": "number"
  8467. },
  8468. "gcaccountid": {
  8469. "description": "账户ID[合约币种]",
  8470. "type": "integer"
  8471. },
  8472. "goodsid": {
  8473. "description": "商品ID",
  8474. "type": "integer"
  8475. },
  8476. "isconfirmexercise": {
  8477. "description": "是否确认行权- 0:否 1:是",
  8478. "type": "integer"
  8479. },
  8480. "ispreexercise": {
  8481. "description": "是否预申报- 0:否 1:是",
  8482. "type": "integer"
  8483. },
  8484. "listingselecttype": {
  8485. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8486. "type": "integer"
  8487. },
  8488. "marginalgorithm": {
  8489. "description": "保证金收取方式 1:比率 2:固定",
  8490. "type": "integer"
  8491. },
  8492. "marginvalue": {
  8493. "description": "即市保证金设置值",
  8494. "type": "number"
  8495. },
  8496. "marketid": {
  8497. "description": "市场ID",
  8498. "type": "integer"
  8499. },
  8500. "marketmaxsub": {
  8501. "description": "市价最大偏移范围",
  8502. "type": "number"
  8503. },
  8504. "memberuserid": {
  8505. "description": "所属会员UserID",
  8506. "type": "integer"
  8507. },
  8508. "openexchagechargevalue": {
  8509. "description": "建仓交易所手续费设置值",
  8510. "type": "number"
  8511. },
  8512. "openfeealgorithm": {
  8513. "description": "建仓手续费收取方式 1:比率 2:固定",
  8514. "type": "integer"
  8515. },
  8516. "openfreezecharge": {
  8517. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8518. "type": "number"
  8519. },
  8520. "openmemberchargevalue": {
  8521. "description": "建仓会员手续费设置值",
  8522. "type": "number"
  8523. },
  8524. "openqty": {
  8525. "description": "开仓数量(先建后平操作,需要记录)",
  8526. "type": "integer"
  8527. },
  8528. "opentradeqty": {
  8529. "description": "开仓成交数量(先建后平操作,需要记录)",
  8530. "type": "integer"
  8531. },
  8532. "openunfreezecharge": {
  8533. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8534. "type": "number"
  8535. },
  8536. "operatetype": {
  8537. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8538. "type": "integer"
  8539. },
  8540. "operatorid": {
  8541. "description": "登录账号(LoginID)",
  8542. "type": "integer"
  8543. },
  8544. "optiontype": {
  8545. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8546. "type": "integer"
  8547. },
  8548. "orderprice": {
  8549. "description": "委托价格",
  8550. "type": "number"
  8551. },
  8552. "orderqty": {
  8553. "description": "委托数量",
  8554. "type": "integer"
  8555. },
  8556. "ordersrc": {
  8557. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8558. "type": "integer"
  8559. },
  8560. "orderstatus": {
  8561. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8562. "type": "integer"
  8563. },
  8564. "ordertime": {
  8565. "description": "委托时间",
  8566. "type": "string"
  8567. },
  8568. "preexerciseprice": {
  8569. "description": "预申报价格",
  8570. "type": "number"
  8571. },
  8572. "premium": {
  8573. "description": "权利金",
  8574. "type": "number"
  8575. },
  8576. "preorderid": {
  8577. "description": "关联预埋单号(止盈止损单时填写)",
  8578. "type": "integer"
  8579. },
  8580. "pricemode": {
  8581. "description": "取价方式 - 1:市价 2: 限价",
  8582. "type": "integer"
  8583. },
  8584. "quoteid": {
  8585. "description": "报价单ID",
  8586. "type": "integer"
  8587. },
  8588. "relatedid": {
  8589. "description": "关联单号(交割单)",
  8590. "type": "integer"
  8591. },
  8592. "retcode": {
  8593. "description": "错误代码",
  8594. "type": "integer"
  8595. },
  8596. "sessionid": {
  8597. "description": "会话ID",
  8598. "type": "integer"
  8599. },
  8600. "strorderid": {
  8601. "description": "委托单号",
  8602. "type": "string"
  8603. },
  8604. "tradedate": {
  8605. "description": "交易日(yyyyMMdd)",
  8606. "type": "string"
  8607. },
  8608. "tradeproperty": {
  8609. "description": "交易属性",
  8610. "type": "integer"
  8611. },
  8612. "tradeqty": {
  8613. "description": "成交数量",
  8614. "type": "integer"
  8615. },
  8616. "unfreezecharge": {
  8617. "description": "解冻手续费",
  8618. "type": "number"
  8619. },
  8620. "unfreezemargin": {
  8621. "description": "解冻保证金",
  8622. "type": "number"
  8623. },
  8624. "updatetime": {
  8625. "description": "更新时间",
  8626. "type": "string"
  8627. },
  8628. "uuid": {
  8629. "description": "发起端唯一id",
  8630. "type": "string"
  8631. },
  8632. "validtime": {
  8633. "description": "有效期限",
  8634. "type": "string"
  8635. },
  8636. "validtype": {
  8637. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8638. "type": "integer"
  8639. },
  8640. "volumetype": {
  8641. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8642. "type": "integer"
  8643. }
  8644. }
  8645. },
  8646. "cptrade.QueryMyCPTradeGoodsRsp": {
  8647. "type": "object",
  8648. "required": [
  8649. "goodscode",
  8650. "goodsid",
  8651. "goodsname",
  8652. "marketid",
  8653. "relatedgoodscode",
  8654. "relatedgoodsname"
  8655. ],
  8656. "properties": {
  8657. "accountid": {
  8658. "description": "卖方账户ID",
  8659. "type": "integer"
  8660. },
  8661. "agreeunit": {
  8662. "description": "合约单位",
  8663. "type": "number"
  8664. },
  8665. "applyid": {
  8666. "description": "关联申请ID",
  8667. "type": "integer"
  8668. },
  8669. "attachmenturl": {
  8670. "description": "附件地址",
  8671. "type": "string"
  8672. },
  8673. "createtime": {
  8674. "description": "创建时间",
  8675. "type": "string"
  8676. },
  8677. "currencyid": {
  8678. "description": "报价货币ID",
  8679. "type": "integer"
  8680. },
  8681. "decimalplace": {
  8682. "description": "报价小数位",
  8683. "type": "integer"
  8684. },
  8685. "endtime": {
  8686. "description": "预售结束时间",
  8687. "type": "string"
  8688. },
  8689. "floorprice": {
  8690. "description": "底价[大宗式竞拍]",
  8691. "type": "number"
  8692. },
  8693. "goodscode": {
  8694. "description": "商品代码(预售)",
  8695. "type": "string"
  8696. },
  8697. "goodsdetail": {
  8698. "description": "详情[大宗]",
  8699. "type": "string"
  8700. },
  8701. "goodsid": {
  8702. "description": "商品ID(自增ID SEQ_GOODS)",
  8703. "type": "integer"
  8704. },
  8705. "goodsname": {
  8706. "description": "商品名称(预售)",
  8707. "type": "string"
  8708. },
  8709. "goodunit": {
  8710. "description": "报价单位",
  8711. "type": "string"
  8712. },
  8713. "goodunitid": {
  8714. "description": "报价单位ID",
  8715. "type": "integer"
  8716. },
  8717. "marketid": {
  8718. "description": "所属市场ID",
  8719. "type": "integer"
  8720. },
  8721. "marketname": {
  8722. "description": "预售市场名称",
  8723. "type": "string"
  8724. },
  8725. "presaledamount": {
  8726. "description": "已预售总金额(预售结束时更新)",
  8727. "type": "number"
  8728. },
  8729. "presaledqty": {
  8730. "description": "已预售量(预售结束时更新)",
  8731. "type": "integer"
  8732. },
  8733. "presalemode": {
  8734. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8735. "type": "integer"
  8736. },
  8737. "presaleqty": {
  8738. "description": "预售数量",
  8739. "type": "integer"
  8740. },
  8741. "refprice": {
  8742. "description": "参考价格[一口价]",
  8743. "type": "number"
  8744. },
  8745. "relatedgoodscode": {
  8746. "description": "商品代码(订单)",
  8747. "type": "string"
  8748. },
  8749. "relatedgoodsid": {
  8750. "description": "关联交易合约ID",
  8751. "type": "integer"
  8752. },
  8753. "relatedgoodsname": {
  8754. "description": "商品名称(订单)",
  8755. "type": "string"
  8756. },
  8757. "relatedmarketid": {
  8758. "description": "关联交易合约市场ID",
  8759. "type": "integer"
  8760. },
  8761. "sellstatus": {
  8762. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8763. "type": "integer"
  8764. },
  8765. "startprice": {
  8766. "description": "起拍价[大宗式竞拍]",
  8767. "type": "number"
  8768. },
  8769. "starttime": {
  8770. "description": "预售开始时间",
  8771. "type": "string"
  8772. },
  8773. "tradedate": {
  8774. "description": "交易日(yyyyMMdd)",
  8775. "type": "string"
  8776. },
  8777. "tradeprice": {
  8778. "description": "成交价[大宗]",
  8779. "type": "number"
  8780. },
  8781. "userid": {
  8782. "description": "卖方用户ID",
  8783. "type": "integer"
  8784. }
  8785. }
  8786. },
  8787. "cptrade.QueryPresaleGoodsExRsp": {
  8788. "type": "object",
  8789. "required": [
  8790. "goodsid"
  8791. ],
  8792. "properties": {
  8793. "attachmenturl": {
  8794. "description": "附件地址",
  8795. "type": "string"
  8796. },
  8797. "createtime": {
  8798. "description": "创建时间",
  8799. "type": "string"
  8800. },
  8801. "endtime": {
  8802. "description": "预售结束时间",
  8803. "type": "string"
  8804. },
  8805. "floorprice": {
  8806. "description": "底价[大宗式竞拍]",
  8807. "type": "number"
  8808. },
  8809. "goodsdetail": {
  8810. "description": "详情[大宗]",
  8811. "type": "string"
  8812. },
  8813. "goodsid": {
  8814. "description": "商品ID(预售)",
  8815. "type": "integer"
  8816. },
  8817. "goodunit": {
  8818. "description": "报价单位",
  8819. "type": "string"
  8820. },
  8821. "marketid": {
  8822. "description": "预售市场ID - 根据预售模式选择市场",
  8823. "type": "integer"
  8824. },
  8825. "presaledamount": {
  8826. "description": "已预售总金额(预售结束时更新)",
  8827. "type": "number"
  8828. },
  8829. "presaledqty": {
  8830. "description": "已预售量(预售结束时更新)",
  8831. "type": "integer"
  8832. },
  8833. "presalemode": {
  8834. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8835. "type": "integer"
  8836. },
  8837. "presaleqty": {
  8838. "description": "预售数量",
  8839. "type": "integer"
  8840. },
  8841. "refprice": {
  8842. "description": "参考价格[一口价]",
  8843. "type": "number"
  8844. },
  8845. "relatedgoodsid": {
  8846. "description": "关联交易合约ID",
  8847. "type": "integer"
  8848. },
  8849. "relatedmarketid": {
  8850. "description": "关联交易合约市场ID",
  8851. "type": "integer"
  8852. },
  8853. "sellstatus": {
  8854. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8855. "type": "integer"
  8856. },
  8857. "startprice": {
  8858. "description": "起拍价[大宗式竞拍]",
  8859. "type": "number"
  8860. },
  8861. "starttime": {
  8862. "description": "预售开始时间",
  8863. "type": "string"
  8864. },
  8865. "tradedate": {
  8866. "description": "交易日(yyyyMMdd)",
  8867. "type": "string"
  8868. },
  8869. "tradeprice": {
  8870. "description": "成交价[大宗]",
  8871. "type": "number"
  8872. }
  8873. }
  8874. },
  8875. "delivery.QueryDeliveryRelationRsp": {
  8876. "type": "object",
  8877. "required": [
  8878. "begindate",
  8879. "enddate",
  8880. "goodsid",
  8881. "mindeliveryqty",
  8882. "xdeliveryratio"
  8883. ],
  8884. "properties": {
  8885. "begindate": {
  8886. "description": "起始日期(yyyyMMdd)",
  8887. "type": "string"
  8888. },
  8889. "buytemplateid": {
  8890. "description": "买履约计划模板ID",
  8891. "type": "integer"
  8892. },
  8893. "deliverygoodscode": {
  8894. "description": "品种代码",
  8895. "type": "string"
  8896. },
  8897. "deliverygoodsid": {
  8898. "description": "交割商品",
  8899. "type": "integer"
  8900. },
  8901. "deliverygoodsname": {
  8902. "description": "品种名称",
  8903. "type": "string"
  8904. },
  8905. "deliverymode": {
  8906. "description": "交割方式 - 1:点选式 2:申报式",
  8907. "type": "integer"
  8908. },
  8909. "deliverypricerule": {
  8910. "description": "交割价规则- 1:行情价 2:建仓价",
  8911. "type": "integer"
  8912. },
  8913. "deliverytype": {
  8914. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8915. "type": "integer"
  8916. },
  8917. "enddate": {
  8918. "description": "结束日期(yyyyMMdd)",
  8919. "type": "string"
  8920. },
  8921. "goodscode": {
  8922. "description": "商品代码",
  8923. "type": "string"
  8924. },
  8925. "goodsid": {
  8926. "description": "交易合约ID",
  8927. "type": "integer"
  8928. },
  8929. "goodsname": {
  8930. "description": "商品名称",
  8931. "type": "string"
  8932. },
  8933. "marketid": {
  8934. "description": "市场ID",
  8935. "type": "integer"
  8936. },
  8937. "mindeliveryqty": {
  8938. "description": "最小交割系数(K)",
  8939. "type": "integer"
  8940. },
  8941. "p2deliveryprice": {
  8942. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8943. "type": "number"
  8944. },
  8945. "p2deliveryratio": {
  8946. "description": "P2合约系数(p)",
  8947. "type": "integer"
  8948. },
  8949. "p2goodsid": {
  8950. "description": "P2合约ID",
  8951. "type": "integer"
  8952. },
  8953. "p2pricemode": {
  8954. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8955. "type": "integer"
  8956. },
  8957. "pdeliveryprice": {
  8958. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8959. "type": "number"
  8960. },
  8961. "pdeliveryratio": {
  8962. "description": "P合约系数(n)",
  8963. "type": "integer"
  8964. },
  8965. "pgoodsid": {
  8966. "description": "P合约ID",
  8967. "type": "integer"
  8968. },
  8969. "ppricemode": {
  8970. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8971. "type": "integer"
  8972. },
  8973. "rratio": {
  8974. "description": "兑换系数(R)",
  8975. "type": "integer"
  8976. },
  8977. "rratio1": {
  8978. "description": "兑换系数(交易合约)(R1)",
  8979. "type": "integer"
  8980. },
  8981. "rratio2": {
  8982. "description": "兑换系数(仓单标准)(R2)",
  8983. "type": "integer"
  8984. },
  8985. "selltemplateid": {
  8986. "description": "卖履约计划模板ID",
  8987. "type": "integer"
  8988. },
  8989. "wrstandardid": {
  8990. "description": "仓单标准ID",
  8991. "type": "integer"
  8992. },
  8993. "xdeliveryratio": {
  8994. "description": "交易合约系数(m)",
  8995. "type": "integer"
  8996. }
  8997. }
  8998. },
  8999. "ermcp.ExposureDetailRsp": {
  9000. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9001. },
  9002. "ermcp.ExposureHedgePosDetailRsp": {
  9003. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9004. },
  9005. "ermcp.ExposureHedgePositionRsp": {
  9006. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9007. },
  9008. "ermcp.ExposureSpotDetailRsp": {
  9009. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9010. },
  9011. "ermcp.ExposureSpotRsp": {
  9012. "$ref": "#/definitions/models.AreaSpotModel"
  9013. },
  9014. "ermcp.HisExposureRsp": {
  9015. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9016. },
  9017. "ermcp.PendingAuditCntRsp": {
  9018. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9019. },
  9020. "ermcp.QryAreaStockApplyRsp": {
  9021. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  9022. },
  9023. "ermcp.QryAvalidGPRsp": {
  9024. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9025. },
  9026. "ermcp.QryBusinessDjRsp": {
  9027. "type": "object",
  9028. "properties": {
  9029. "amount": {
  9030. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9031. "type": "number"
  9032. },
  9033. "applyid": {
  9034. "description": "申请人",
  9035. "type": "string"
  9036. },
  9037. "applyname": {
  9038. "description": "申请人名称",
  9039. "type": "string"
  9040. },
  9041. "applystatus": {
  9042. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9043. "type": "integer"
  9044. },
  9045. "applytime": {
  9046. "description": "申请时间",
  9047. "type": "string"
  9048. },
  9049. "attachurl": {
  9050. "description": "附件",
  9051. "type": "string"
  9052. },
  9053. "auditid": {
  9054. "description": "审核人ID",
  9055. "type": "string"
  9056. },
  9057. "auditname": {
  9058. "description": "审核人名称",
  9059. "type": "string"
  9060. },
  9061. "audittime": {
  9062. "description": "审核时间",
  9063. "type": "string"
  9064. },
  9065. "buyusername": {
  9066. "description": "采购方名称",
  9067. "type": "string"
  9068. },
  9069. "contractno": {
  9070. "description": "合同编号",
  9071. "type": "string"
  9072. },
  9073. "contractstatus": {
  9074. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9075. "type": "integer"
  9076. },
  9077. "contracttype": {
  9078. "description": "现货合同类型 - 1:采购 -1:销售",
  9079. "type": "integer"
  9080. },
  9081. "enumdicname": {
  9082. "description": "单位名称",
  9083. "type": "string"
  9084. },
  9085. "goodscode": {
  9086. "description": "点价合约",
  9087. "type": "string"
  9088. },
  9089. "goodsname": {
  9090. "description": "商品名称",
  9091. "type": "string"
  9092. },
  9093. "operateapplyid": {
  9094. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9095. "type": "string"
  9096. },
  9097. "operateapplytype": {
  9098. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9099. "type": "integer"
  9100. },
  9101. "pricedPrice": {
  9102. "description": "点价价格(非必填)",
  9103. "type": "number"
  9104. },
  9105. "pricedQty": {
  9106. "description": "点价数量(非必填)",
  9107. "type": "number"
  9108. },
  9109. "pricemove": {
  9110. "description": "升贴水",
  9111. "type": "number"
  9112. },
  9113. "pricetype": {
  9114. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9115. "type": "integer"
  9116. },
  9117. "relatedid": {
  9118. "description": "现货合同ID",
  9119. "type": "string"
  9120. },
  9121. "sellusername": {
  9122. "description": "销售方名字",
  9123. "type": "string"
  9124. },
  9125. "userid": {
  9126. "description": "用户ID",
  9127. "type": "integer"
  9128. },
  9129. "wrstandardcode": {
  9130. "description": "现货商品代码",
  9131. "type": "string"
  9132. },
  9133. "wrstandardid": {
  9134. "description": "现货商品id",
  9135. "type": "integer"
  9136. },
  9137. "wrstandardname": {
  9138. "description": "现货商品名称",
  9139. "type": "string"
  9140. }
  9141. }
  9142. },
  9143. "ermcp.QryBussinessFpRsp": {
  9144. "type": "object",
  9145. "properties": {
  9146. "applyid": {
  9147. "description": "申请人",
  9148. "type": "string"
  9149. },
  9150. "applyname": {
  9151. "description": "申请人名称",
  9152. "type": "string"
  9153. },
  9154. "applystatus": {
  9155. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9156. "type": "integer"
  9157. },
  9158. "applytime": {
  9159. "description": "申请时间",
  9160. "type": "string"
  9161. },
  9162. "attachurl": {
  9163. "description": "附件",
  9164. "type": "string"
  9165. },
  9166. "auditid": {
  9167. "description": "审核人ID",
  9168. "type": "string"
  9169. },
  9170. "auditname": {
  9171. "description": "审核人名称",
  9172. "type": "string"
  9173. },
  9174. "audittime": {
  9175. "description": "审核时间",
  9176. "type": "string"
  9177. },
  9178. "buyusername": {
  9179. "description": "采购方名称",
  9180. "type": "string"
  9181. },
  9182. "contractno": {
  9183. "description": "合同编号",
  9184. "type": "string"
  9185. },
  9186. "contractstatus": {
  9187. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9188. "type": "integer"
  9189. },
  9190. "contracttype": {
  9191. "description": "现货合同类型 - 1:采购 -1:销售",
  9192. "type": "integer"
  9193. },
  9194. "enumdicname": {
  9195. "description": "单位名称",
  9196. "type": "string"
  9197. },
  9198. "goodscode": {
  9199. "description": "点价合约",
  9200. "type": "string"
  9201. },
  9202. "goodsname": {
  9203. "description": "商品名称",
  9204. "type": "string"
  9205. },
  9206. "invoiceAmount": {
  9207. "description": "已开收票金额(销售为开票,采购为收票)",
  9208. "type": "number"
  9209. },
  9210. "operateapplyid": {
  9211. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9212. "type": "string"
  9213. },
  9214. "operateapplytype": {
  9215. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9216. "type": "integer"
  9217. },
  9218. "pricemove": {
  9219. "description": "升贴水",
  9220. "type": "number"
  9221. },
  9222. "pricetype": {
  9223. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9224. "type": "integer"
  9225. },
  9226. "relatedid": {
  9227. "description": "现货合同ID",
  9228. "type": "string"
  9229. },
  9230. "sellusername": {
  9231. "description": "销售方名字",
  9232. "type": "string"
  9233. },
  9234. "userid": {
  9235. "description": "用户ID",
  9236. "type": "integer"
  9237. },
  9238. "wrstandardcode": {
  9239. "description": "现货商品代码",
  9240. "type": "string"
  9241. },
  9242. "wrstandardid": {
  9243. "description": "现货商品id",
  9244. "type": "integer"
  9245. },
  9246. "wrstandardname": {
  9247. "description": "现货商品名称",
  9248. "type": "string"
  9249. }
  9250. }
  9251. },
  9252. "ermcp.QryBussinessJsExRsp": {
  9253. "type": "object",
  9254. "properties": {
  9255. "applyid": {
  9256. "description": "申请人",
  9257. "type": "string"
  9258. },
  9259. "applyname": {
  9260. "description": "申请人名称",
  9261. "type": "string"
  9262. },
  9263. "applystatus": {
  9264. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9265. "type": "integer"
  9266. },
  9267. "applytime": {
  9268. "description": "申请时间",
  9269. "type": "string"
  9270. },
  9271. "attachurl": {
  9272. "description": "附件",
  9273. "type": "string"
  9274. },
  9275. "auditid": {
  9276. "description": "审核人ID",
  9277. "type": "string"
  9278. },
  9279. "auditname": {
  9280. "description": "审核人名称",
  9281. "type": "string"
  9282. },
  9283. "audittime": {
  9284. "description": "审核时间",
  9285. "type": "string"
  9286. },
  9287. "buyusername": {
  9288. "description": "采购方名称",
  9289. "type": "string"
  9290. },
  9291. "contractno": {
  9292. "description": "合同编号",
  9293. "type": "string"
  9294. },
  9295. "contractstatus": {
  9296. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9297. "type": "integer"
  9298. },
  9299. "contracttype": {
  9300. "description": "现货合同类型 - 1:采购 -1:销售",
  9301. "type": "integer"
  9302. },
  9303. "enumdicname": {
  9304. "description": "单位名称",
  9305. "type": "string"
  9306. },
  9307. "goodscode": {
  9308. "description": "点价合约",
  9309. "type": "string"
  9310. },
  9311. "goodsname": {
  9312. "description": "商品名称",
  9313. "type": "string"
  9314. },
  9315. "operateapplyid": {
  9316. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9317. "type": "string"
  9318. },
  9319. "operateapplytype": {
  9320. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9321. "type": "integer"
  9322. },
  9323. "pricemove": {
  9324. "description": "升贴水",
  9325. "type": "number"
  9326. },
  9327. "pricetype": {
  9328. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9329. "type": "integer"
  9330. },
  9331. "reckontype": {
  9332. "description": "结算类型",
  9333. "type": "string"
  9334. },
  9335. "reckonvalue": {
  9336. "description": "值",
  9337. "type": "number"
  9338. },
  9339. "relatedid": {
  9340. "description": "现货合同ID",
  9341. "type": "string"
  9342. },
  9343. "sellusername": {
  9344. "description": "销售方名字",
  9345. "type": "string"
  9346. },
  9347. "userid": {
  9348. "description": "用户ID",
  9349. "type": "integer"
  9350. },
  9351. "wrstandardcode": {
  9352. "description": "现货商品代码",
  9353. "type": "string"
  9354. },
  9355. "wrstandardid": {
  9356. "description": "现货商品id",
  9357. "type": "integer"
  9358. },
  9359. "wrstandardname": {
  9360. "description": "现货商品名称",
  9361. "type": "string"
  9362. }
  9363. }
  9364. },
  9365. "ermcp.QryBussinessJsRsp": {
  9366. "type": "object",
  9367. "properties": {
  9368. "addmargin": {
  9369. "description": "追加保证金(非必填)",
  9370. "type": "number"
  9371. },
  9372. "applyid": {
  9373. "description": "申请人",
  9374. "type": "string"
  9375. },
  9376. "applyname": {
  9377. "description": "申请人名称",
  9378. "type": "string"
  9379. },
  9380. "applystatus": {
  9381. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9382. "type": "integer"
  9383. },
  9384. "applytime": {
  9385. "description": "申请时间",
  9386. "type": "string"
  9387. },
  9388. "attachurl": {
  9389. "description": "附件",
  9390. "type": "string"
  9391. },
  9392. "auditid": {
  9393. "description": "审核人ID",
  9394. "type": "string"
  9395. },
  9396. "auditname": {
  9397. "description": "审核人名称",
  9398. "type": "string"
  9399. },
  9400. "audittime": {
  9401. "description": "审核时间",
  9402. "type": "string"
  9403. },
  9404. "buyusername": {
  9405. "description": "采购方名称",
  9406. "type": "string"
  9407. },
  9408. "contractno": {
  9409. "description": "合同编号",
  9410. "type": "string"
  9411. },
  9412. "contractstatus": {
  9413. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9414. "type": "integer"
  9415. },
  9416. "contracttype": {
  9417. "description": "现货合同类型 - 1:采购 -1:销售",
  9418. "type": "integer"
  9419. },
  9420. "decmargin": {
  9421. "description": "减少保证金(非必填)",
  9422. "type": "number"
  9423. },
  9424. "enumdicname": {
  9425. "description": "单位名称",
  9426. "type": "string"
  9427. },
  9428. "goodscode": {
  9429. "description": "点价合约",
  9430. "type": "string"
  9431. },
  9432. "goodsname": {
  9433. "description": "商品名称",
  9434. "type": "string"
  9435. },
  9436. "operateapplyid": {
  9437. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9438. "type": "string"
  9439. },
  9440. "operateapplytype": {
  9441. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9442. "type": "integer"
  9443. },
  9444. "pricemove": {
  9445. "description": "升贴水",
  9446. "type": "number"
  9447. },
  9448. "pricetype": {
  9449. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9450. "type": "integer"
  9451. },
  9452. "reckonadjustamount": {
  9453. "description": "结算调整金额(非必填)",
  9454. "type": "number"
  9455. },
  9456. "reckonosamount": {
  9457. "description": "结算溢短金额(非必填)",
  9458. "type": "number"
  9459. },
  9460. "reckonotheramount": {
  9461. "description": "结算其他费用(非必填)",
  9462. "type": "number"
  9463. },
  9464. "reckonrealqty": {
  9465. "description": "结算实际数量(非必填)",
  9466. "type": "number"
  9467. },
  9468. "relatedid": {
  9469. "description": "现货合同ID",
  9470. "type": "string"
  9471. },
  9472. "sellusername": {
  9473. "description": "销售方名字",
  9474. "type": "string"
  9475. },
  9476. "userid": {
  9477. "description": "用户ID",
  9478. "type": "integer"
  9479. },
  9480. "wrstandardcode": {
  9481. "description": "现货商品代码",
  9482. "type": "string"
  9483. },
  9484. "wrstandardid": {
  9485. "description": "现货商品id",
  9486. "type": "integer"
  9487. },
  9488. "wrstandardname": {
  9489. "description": "现货商品名称",
  9490. "type": "string"
  9491. }
  9492. }
  9493. },
  9494. "ermcp.QryBussinessKxRsp": {
  9495. "type": "object",
  9496. "properties": {
  9497. "applyid": {
  9498. "description": "申请人",
  9499. "type": "string"
  9500. },
  9501. "applyname": {
  9502. "description": "申请人名称",
  9503. "type": "string"
  9504. },
  9505. "applystatus": {
  9506. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9507. "type": "integer"
  9508. },
  9509. "applytime": {
  9510. "description": "申请时间",
  9511. "type": "string"
  9512. },
  9513. "attachurl": {
  9514. "description": "附件",
  9515. "type": "string"
  9516. },
  9517. "auditid": {
  9518. "description": "审核人ID",
  9519. "type": "string"
  9520. },
  9521. "auditname": {
  9522. "description": "审核人名称",
  9523. "type": "string"
  9524. },
  9525. "audittime": {
  9526. "description": "审核时间",
  9527. "type": "string"
  9528. },
  9529. "buyusername": {
  9530. "description": "采购方名称",
  9531. "type": "string"
  9532. },
  9533. "contractno": {
  9534. "description": "合同编号",
  9535. "type": "string"
  9536. },
  9537. "contractstatus": {
  9538. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9539. "type": "integer"
  9540. },
  9541. "contracttype": {
  9542. "description": "现货合同类型 - 1:采购 -1:销售",
  9543. "type": "integer"
  9544. },
  9545. "deductamount": {
  9546. "description": "退款(非必填)",
  9547. "type": "number"
  9548. },
  9549. "enumdicname": {
  9550. "description": "单位名称",
  9551. "type": "string"
  9552. },
  9553. "goodscode": {
  9554. "description": "点价合约",
  9555. "type": "string"
  9556. },
  9557. "goodsname": {
  9558. "description": "商品名称",
  9559. "type": "string"
  9560. },
  9561. "kxtype": {
  9562. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9563. "type": "integer"
  9564. },
  9565. "operateapplyid": {
  9566. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9567. "type": "string"
  9568. },
  9569. "operateapplytype": {
  9570. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9571. "type": "integer"
  9572. },
  9573. "payamount": {
  9574. "description": "收付款(非必填)",
  9575. "type": "number"
  9576. },
  9577. "pricemove": {
  9578. "description": "升贴水",
  9579. "type": "number"
  9580. },
  9581. "pricetype": {
  9582. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9583. "type": "integer"
  9584. },
  9585. "relatedid": {
  9586. "description": "现货合同ID",
  9587. "type": "string"
  9588. },
  9589. "sellusername": {
  9590. "description": "销售方名字",
  9591. "type": "string"
  9592. },
  9593. "userid": {
  9594. "description": "用户ID",
  9595. "type": "integer"
  9596. },
  9597. "wrstandardcode": {
  9598. "description": "现货商品代码",
  9599. "type": "string"
  9600. },
  9601. "wrstandardid": {
  9602. "description": "现货商品id",
  9603. "type": "integer"
  9604. },
  9605. "wrstandardname": {
  9606. "description": "现货商品名称",
  9607. "type": "string"
  9608. }
  9609. }
  9610. },
  9611. "ermcp.QryErmcpRsp": {
  9612. "$ref": "#/definitions/models.ErmcpModel"
  9613. },
  9614. "ermcp.QryGGCovertCfgRsp": {
  9615. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9616. },
  9617. "ermcp.QryHedgePlanRsp": {
  9618. "$ref": "#/definitions/models.ErmcpHedgePlan"
  9619. },
  9620. "ermcp.QryMGChangeLogRsp": {
  9621. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9622. },
  9623. "ermcp.QryMiddleGoodsDetailRsp": {
  9624. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9625. },
  9626. "ermcp.QryMiddleGoodsRsp": {
  9627. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9628. },
  9629. "ermcp.QryOPLogRsp": {
  9630. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9631. },
  9632. "ermcp.QryReportDaySpotDetailRsp": {
  9633. "$ref": "#/definitions/models.ErmcpReportOPLog"
  9634. },
  9635. "ermcp.QryReportExposureDayRsp": {
  9636. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  9637. },
  9638. "ermcp.QryReportFinanceDayRsp": {
  9639. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9640. },
  9641. "ermcp.QryReportFinanceKxRsp": {
  9642. "$ref": "#/definitions/models.ErmcpReportOPLog"
  9643. },
  9644. "ermcp.QryReportFinanceMonRsp": {
  9645. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  9646. },
  9647. "ermcp.QryReportSpotDayRsp": {
  9648. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  9649. },
  9650. "ermcp.QryReportSpotMonRsp": {
  9651. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  9652. },
  9653. "ermcp.QryReportSpotMonthDetailRsp": {
  9654. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  9655. },
  9656. "ermcp.QrySpotContractRsp": {
  9657. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  9658. },
  9659. "ermcp.QryUserInfoRsp": {
  9660. "$ref": "#/definitions/models.ErmcpUserModel"
  9661. },
  9662. "ermcp.QryWarehouseRsp": {
  9663. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9664. },
  9665. "ermcp.QryWrStandardDetailRsp": {
  9666. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  9667. },
  9668. "ermcp.QryWrStandardRsp": {
  9669. "$ref": "#/definitions/models.ErmcpWrstandard"
  9670. },
  9671. "ermcp.QueryAreaStockApplySumRsp": {
  9672. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  9673. },
  9674. "ermcp.QueryErmcpTradePositionRsp": {
  9675. "type": "object",
  9676. "properties": {
  9677. "agreeunit": {
  9678. "description": "合约单位",
  9679. "type": "number"
  9680. },
  9681. "buyorsell": {
  9682. "description": "方向 - 0:买 1:卖",
  9683. "type": "integer"
  9684. },
  9685. "curpositionqty": {
  9686. "description": "持仓(总仓数量, 期末头寸)",
  9687. "type": "integer"
  9688. },
  9689. "curtdposition": {
  9690. "description": "今仓数量(期末今日头寸)",
  9691. "type": "integer"
  9692. },
  9693. "curtdpositionenabled": {
  9694. "description": "今仓可用",
  9695. "type": "integer"
  9696. },
  9697. "decimalplace": {
  9698. "description": "报价小数位",
  9699. "type": "integer"
  9700. },
  9701. "enableqty": {
  9702. "description": "可用(总仓可用)",
  9703. "type": "integer"
  9704. },
  9705. "exexchangename": {
  9706. "description": "外部交易所名称",
  9707. "type": "string"
  9708. },
  9709. "goodscode": {
  9710. "description": "商品代码(内部)",
  9711. "type": "string"
  9712. },
  9713. "goodsid": {
  9714. "description": "商品ID(自增ID SEQ_GOODS)",
  9715. "type": "integer"
  9716. },
  9717. "goodsname": {
  9718. "description": "商品名称",
  9719. "type": "string"
  9720. },
  9721. "last": {
  9722. "description": "现价",
  9723. "type": "number"
  9724. },
  9725. "marketid": {
  9726. "description": "所属市场ID",
  9727. "type": "integer"
  9728. },
  9729. "openaverageprice": {
  9730. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9731. "type": "number"
  9732. },
  9733. "opencost": {
  9734. "description": "开仓成本",
  9735. "type": "number"
  9736. },
  9737. "openpl": {
  9738. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9739. "type": "number"
  9740. },
  9741. "outgoodscode": {
  9742. "description": "商品代码(外部)",
  9743. "type": "string"
  9744. },
  9745. "positionaverageprice": {
  9746. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9747. "type": "number"
  9748. },
  9749. "positioncost": {
  9750. "description": "持仓成本",
  9751. "type": "number"
  9752. },
  9753. "positionpl": {
  9754. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9755. "type": "number"
  9756. },
  9757. "positionplrate": {
  9758. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9759. "type": "number"
  9760. },
  9761. "usedmargin": {
  9762. "description": "占用保证金",
  9763. "type": "number"
  9764. }
  9765. }
  9766. },
  9767. "ermcp.RealtimeExposurePositionRsp": {
  9768. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9769. },
  9770. "ermcp.RealtimeExposureRsp": {
  9771. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9772. },
  9773. "erms2.QueryArbitrageStrategyRsp": {
  9774. "type": "object",
  9775. "required": [
  9776. "asapplyid"
  9777. ],
  9778. "properties": {
  9779. "applybasis": {
  9780. "description": "申请基差",
  9781. "type": "number"
  9782. },
  9783. "asapplyid": {
  9784. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9785. "type": "string"
  9786. },
  9787. "asname": {
  9788. "description": "策略名称",
  9789. "type": "string"
  9790. },
  9791. "asno": {
  9792. "description": "策略编号",
  9793. "type": "string"
  9794. },
  9795. "basischangepl": {
  9796. "description": "基差变动损益[结算更新]",
  9797. "type": "number"
  9798. },
  9799. "biztype": {
  9800. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9801. "type": "integer"
  9802. },
  9803. "closetradedate": {
  9804. "description": "完结交易日(yyyyMMdd)",
  9805. "type": "string"
  9806. },
  9807. "curbasis": {
  9808. "description": "当前基差[结算更新]",
  9809. "type": "number"
  9810. },
  9811. "deliverygoodsid": {
  9812. "description": "现货品种ID",
  9813. "type": "integer"
  9814. },
  9815. "futureavgprice": {
  9816. "description": "期货建仓均价",
  9817. "type": "number"
  9818. },
  9819. "futurecloseamount": {
  9820. "description": "期货平仓金额",
  9821. "type": "number"
  9822. },
  9823. "futurecloseqty": {
  9824. "description": "期货平仓数量",
  9825. "type": "number"
  9826. },
  9827. "futureopenamount": {
  9828. "description": "期货开仓金额",
  9829. "type": "number"
  9830. },
  9831. "futureopenqty": {
  9832. "description": "期货开仓数量",
  9833. "type": "number"
  9834. },
  9835. "futurepl": {
  9836. "description": "期货总盈亏[结算更新]",
  9837. "type": "number"
  9838. },
  9839. "futureqty": {
  9840. "description": "期货持仓数量",
  9841. "type": "number"
  9842. },
  9843. "futurequote": {
  9844. "description": "期货额度",
  9845. "type": "number"
  9846. },
  9847. "goodsgroupid": {
  9848. "description": "期货品种ID",
  9849. "type": "integer"
  9850. },
  9851. "marketid": {
  9852. "description": "市场ID",
  9853. "type": "integer"
  9854. },
  9855. "netexposure": {
  9856. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9857. "type": "number"
  9858. },
  9859. "netexposurepl": {
  9860. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9861. "type": "number"
  9862. },
  9863. "netexposurerate": {
  9864. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9865. "type": "number"
  9866. },
  9867. "openbasis": {
  9868. "description": "建仓基差",
  9869. "type": "number"
  9870. },
  9871. "pricedspotqty": {
  9872. "description": "已定价现货数量",
  9873. "type": "number"
  9874. },
  9875. "pricedspotqtynotax": {
  9876. "description": "已定价现货不含税数量",
  9877. "type": "number"
  9878. },
  9879. "remark": {
  9880. "description": "备注",
  9881. "type": "string"
  9882. },
  9883. "spotavgprice": {
  9884. "description": "现货均价",
  9885. "type": "number"
  9886. },
  9887. "spotbuyamount": {
  9888. "description": "现货采购金额",
  9889. "type": "number"
  9890. },
  9891. "spotbuyqty": {
  9892. "description": "现货采购数量",
  9893. "type": "number"
  9894. },
  9895. "spotpl": {
  9896. "description": "现货总盈亏[结算更新]",
  9897. "type": "number"
  9898. },
  9899. "spotquota": {
  9900. "description": "现货额度",
  9901. "type": "number"
  9902. },
  9903. "spotsellamount": {
  9904. "description": "现货销售金额",
  9905. "type": "number"
  9906. },
  9907. "spotsellqty": {
  9908. "description": "现货销售数量",
  9909. "type": "number"
  9910. },
  9911. "spotusedquota": {
  9912. "description": "现货占用资金",
  9913. "type": "number"
  9914. },
  9915. "strategystatus": {
  9916. "description": "策略状态 - 0:未结束 1:已结束",
  9917. "type": "integer"
  9918. },
  9919. "totalpl": {
  9920. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9921. "type": "number"
  9922. },
  9923. "tradedate": {
  9924. "description": "交易日(yyyyMMdd)",
  9925. "type": "string"
  9926. },
  9927. "updatetime": {
  9928. "description": "更新时间",
  9929. "type": "string"
  9930. },
  9931. "usedquota": {
  9932. "description": "已占用资金",
  9933. "type": "number"
  9934. },
  9935. "userid": {
  9936. "description": "所属机构",
  9937. "type": "integer"
  9938. }
  9939. }
  9940. },
  9941. "erms2.QueryInnerTradeDetailRsp": {
  9942. "type": "object",
  9943. "required": [
  9944. "asapplyid",
  9945. "buyorsell",
  9946. "goodscode",
  9947. "goodsgroupid",
  9948. "goodsgroupname",
  9949. "goodsname",
  9950. "tradeid"
  9951. ],
  9952. "properties": {
  9953. "accountid": {
  9954. "description": "账号ID",
  9955. "type": "integer"
  9956. },
  9957. "agreeunit": {
  9958. "description": "合约单位",
  9959. "type": "number"
  9960. },
  9961. "asapplyid": {
  9962. "description": "策略申请ID",
  9963. "type": "integer"
  9964. },
  9965. "asname": {
  9966. "description": "策略名称",
  9967. "type": "string"
  9968. },
  9969. "asno": {
  9970. "description": "策略编号",
  9971. "type": "string"
  9972. },
  9973. "buyorsell": {
  9974. "description": "方向 - 0:买 1:卖",
  9975. "type": "integer"
  9976. },
  9977. "channelbuildtype": {
  9978. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9979. "type": "integer"
  9980. },
  9981. "closetype": {
  9982. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9983. "type": "integer"
  9984. },
  9985. "decimalplace": {
  9986. "description": "报价小数位",
  9987. "type": "integer"
  9988. },
  9989. "detailtype": {
  9990. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9991. "type": "integer"
  9992. },
  9993. "exexchangecode": {
  9994. "description": "外部交易所代码",
  9995. "type": "string"
  9996. },
  9997. "exexchangename": {
  9998. "description": "外部交易所名称",
  9999. "type": "string"
  10000. },
  10001. "goodscode": {
  10002. "description": "商品代码(合约)",
  10003. "type": "string"
  10004. },
  10005. "goodsgroupid": {
  10006. "description": "商品组ID(品种ID)",
  10007. "type": "integer"
  10008. },
  10009. "goodsgroupname": {
  10010. "description": "商品组名称(品种)",
  10011. "type": "string"
  10012. },
  10013. "goodsid": {
  10014. "description": "商品ID",
  10015. "type": "integer"
  10016. },
  10017. "goodsname": {
  10018. "description": "商品名称(合约)",
  10019. "type": "string"
  10020. },
  10021. "goodunit": {
  10022. "description": "报价单位",
  10023. "type": "string"
  10024. },
  10025. "marketid": {
  10026. "description": "市场ID",
  10027. "type": "integer"
  10028. },
  10029. "orderid": {
  10030. "description": "委托单号",
  10031. "type": "string"
  10032. },
  10033. "outgoodscode": {
  10034. "description": "商品代码(外部)",
  10035. "type": "string"
  10036. },
  10037. "relatedouttradeid": {
  10038. "description": "关联外部成交单ID",
  10039. "type": "string"
  10040. },
  10041. "remark": {
  10042. "description": "备注",
  10043. "type": "string"
  10044. },
  10045. "spotcontractid": {
  10046. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10047. "type": "integer"
  10048. },
  10049. "spotcontractno": {
  10050. "description": "现货合同编号",
  10051. "type": "string"
  10052. },
  10053. "tradeid": {
  10054. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10055. "type": "string"
  10056. },
  10057. "tradeprice": {
  10058. "description": "成交价格",
  10059. "type": "number"
  10060. },
  10061. "tradeqty": {
  10062. "description": "成交数量",
  10063. "type": "integer"
  10064. },
  10065. "tradetime": {
  10066. "description": "成交时间",
  10067. "type": "string"
  10068. },
  10069. "updatetime": {
  10070. "description": "更新时间",
  10071. "type": "string"
  10072. }
  10073. }
  10074. },
  10075. "erms2.QuerySpotContractRsp": {
  10076. "type": "object",
  10077. "required": [
  10078. "spotcontractid"
  10079. ],
  10080. "properties": {
  10081. "accountid": {
  10082. "description": "资金账户ID",
  10083. "type": "integer"
  10084. },
  10085. "areauserid": {
  10086. "description": "所属机构",
  10087. "type": "integer"
  10088. },
  10089. "closedate": {
  10090. "description": "终止日期",
  10091. "type": "string"
  10092. },
  10093. "closeremark": {
  10094. "description": "结束备注",
  10095. "type": "string"
  10096. },
  10097. "closetradedate": {
  10098. "description": "完结交易日(yyyyMMdd)",
  10099. "type": "string"
  10100. },
  10101. "closetype": {
  10102. "description": "终止类型 - 1:违约 2:提前终止",
  10103. "type": "integer"
  10104. },
  10105. "contractamount": {
  10106. "description": "合同金额",
  10107. "type": "number"
  10108. },
  10109. "contractattachment": {
  10110. "description": "合同附件",
  10111. "type": "string"
  10112. },
  10113. "contractno": {
  10114. "description": "现货合同编号",
  10115. "type": "string"
  10116. },
  10117. "contractqty": {
  10118. "description": "合同数量(数值) (用于计算)",
  10119. "type": "number"
  10120. },
  10121. "contractqtychar": {
  10122. "description": "合同数量\\已订价数量 (用于显示)",
  10123. "type": "string"
  10124. },
  10125. "contractstatus": {
  10126. "description": "合同状态 - 0:未结束 1:已结束",
  10127. "type": "integer"
  10128. },
  10129. "contracttype": {
  10130. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10131. "type": "integer"
  10132. },
  10133. "customeraccountid": {
  10134. "description": "客户资金账户ID",
  10135. "type": "integer"
  10136. },
  10137. "customeruserid": {
  10138. "description": "客户ID",
  10139. "type": "integer"
  10140. },
  10141. "deliverygoodsdesc": {
  10142. "description": "品种说明",
  10143. "type": "string"
  10144. },
  10145. "deliverygoodsid": {
  10146. "description": "现货品种ID",
  10147. "type": "integer"
  10148. },
  10149. "handlestatus": {
  10150. "description": "处理状态",
  10151. "type": "integer"
  10152. },
  10153. "invoiceatt": {
  10154. "description": "发票附件",
  10155. "type": "string"
  10156. },
  10157. "invoicedatetime": {
  10158. "description": "开收票更新时间",
  10159. "type": "string"
  10160. },
  10161. "invoiceopentime": {
  10162. "description": "开票时间",
  10163. "type": "string"
  10164. },
  10165. "invoiceremark": {
  10166. "description": "发票备注",
  10167. "type": "string"
  10168. },
  10169. "invoicestatus": {
  10170. "description": "开收票状态 - 0:未开票 1:已开票",
  10171. "type": "integer"
  10172. },
  10173. "lastdate": {
  10174. "description": "交货时间",
  10175. "type": "string"
  10176. },
  10177. "marketid": {
  10178. "description": "市场ID",
  10179. "type": "integer"
  10180. },
  10181. "paydatetime": {
  10182. "description": "收付款更新时间",
  10183. "type": "string"
  10184. },
  10185. "payremark": {
  10186. "description": "收付款备注",
  10187. "type": "string"
  10188. },
  10189. "paystatus": {
  10190. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10191. "type": "integer"
  10192. },
  10193. "positionqty": {
  10194. "description": "头寸数量 - 合同数量去小数部分",
  10195. "type": "integer"
  10196. },
  10197. "producttype": {
  10198. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10199. "type": "integer"
  10200. },
  10201. "relatedqty": {
  10202. "description": "已关联数量",
  10203. "type": "number"
  10204. },
  10205. "relatedstatus": {
  10206. "description": "关联完结状态 - 0:未结束 1:已结束",
  10207. "type": "integer"
  10208. },
  10209. "remark": {
  10210. "description": "备注",
  10211. "type": "string"
  10212. },
  10213. "signdate": {
  10214. "description": "签订日期",
  10215. "type": "string"
  10216. },
  10217. "spotcontractid": {
  10218. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10219. "type": "string"
  10220. },
  10221. "spotdatetime": {
  10222. "description": "收发货更新时间",
  10223. "type": "string"
  10224. },
  10225. "spotprice": {
  10226. "description": "价格",
  10227. "type": "number"
  10228. },
  10229. "spotremark": {
  10230. "description": "收发货备注",
  10231. "type": "string"
  10232. },
  10233. "spotstatus": {
  10234. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10235. "type": "integer"
  10236. },
  10237. "tradedate": {
  10238. "description": "交易日(yyyyMMdd)",
  10239. "type": "string"
  10240. },
  10241. "userid": {
  10242. "description": "业务员用户ID",
  10243. "type": "integer"
  10244. },
  10245. "warehouseid": {
  10246. "description": "仓库ID",
  10247. "type": "integer"
  10248. },
  10249. "wrfactortypeid": {
  10250. "description": "仓单要素类型ID",
  10251. "type": "integer"
  10252. },
  10253. "wrstandardid": {
  10254. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10255. "type": "integer"
  10256. }
  10257. }
  10258. },
  10259. "erms3.AddErms2ASApplyReq": {
  10260. "type": "object",
  10261. "required": [
  10262. "asapplyid"
  10263. ],
  10264. "properties": {
  10265. "applybasis": {
  10266. "description": "申请基差",
  10267. "type": "number"
  10268. },
  10269. "applystatus": {
  10270. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10271. "type": "integer"
  10272. },
  10273. "asapplyid": {
  10274. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10275. "type": "integer"
  10276. },
  10277. "asname": {
  10278. "description": "策略名称",
  10279. "type": "string"
  10280. },
  10281. "asno": {
  10282. "description": "策略编号",
  10283. "type": "string"
  10284. },
  10285. "auditid": {
  10286. "description": "审核人",
  10287. "type": "integer"
  10288. },
  10289. "auditremark": {
  10290. "description": "审核备注",
  10291. "type": "string"
  10292. },
  10293. "audittime": {
  10294. "description": "审核时间",
  10295. "type": "string"
  10296. },
  10297. "biztype": {
  10298. "description": "业务类型 - 1:正向套利 2:反向套利",
  10299. "type": "integer"
  10300. },
  10301. "createtime": {
  10302. "description": "创建时间",
  10303. "type": "string"
  10304. },
  10305. "creatorid": {
  10306. "description": "创建人",
  10307. "type": "integer"
  10308. },
  10309. "deliverygoodsid": {
  10310. "description": "现货品种ID",
  10311. "type": "integer"
  10312. },
  10313. "futurequote": {
  10314. "description": "期货额度",
  10315. "type": "number"
  10316. },
  10317. "goodsgroupid": {
  10318. "description": "期货品种ID",
  10319. "type": "integer"
  10320. },
  10321. "marketid": {
  10322. "description": "市场ID",
  10323. "type": "integer"
  10324. },
  10325. "remark": {
  10326. "description": "备注",
  10327. "type": "string"
  10328. },
  10329. "spotquota": {
  10330. "description": "现货额度",
  10331. "type": "number"
  10332. },
  10333. "tradedate": {
  10334. "description": "交易日(yyyyMMdd)",
  10335. "type": "string"
  10336. },
  10337. "userid": {
  10338. "description": "所属机构",
  10339. "type": "integer"
  10340. }
  10341. }
  10342. },
  10343. "erms3.AddErms2SpotTradeApplyReq": {
  10344. "type": "object",
  10345. "required": [
  10346. "spottradeid"
  10347. ],
  10348. "properties": {
  10349. "applyjsondetail": {
  10350. "description": "申请明细(JSON)",
  10351. "type": "string"
  10352. },
  10353. "applystatus": {
  10354. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10355. "type": "integer"
  10356. },
  10357. "areauserid": {
  10358. "description": "所属机构",
  10359. "type": "integer"
  10360. },
  10361. "auditid": {
  10362. "description": "审核人",
  10363. "type": "integer"
  10364. },
  10365. "auditremark": {
  10366. "description": "审核备注",
  10367. "type": "string"
  10368. },
  10369. "audittime": {
  10370. "description": "审核时间",
  10371. "type": "string"
  10372. },
  10373. "createtime": {
  10374. "description": "创建时间",
  10375. "type": "string"
  10376. },
  10377. "creatorid": {
  10378. "description": "创建人",
  10379. "type": "integer"
  10380. },
  10381. "deliverygoodsid": {
  10382. "description": "现货品种ID",
  10383. "type": "integer"
  10384. },
  10385. "futureaccountid": {
  10386. "description": "期货资金账户",
  10387. "type": "integer"
  10388. },
  10389. "goodsgroupid": {
  10390. "description": "期货品种",
  10391. "type": "integer"
  10392. },
  10393. "marketid": {
  10394. "description": "市场ID",
  10395. "type": "integer"
  10396. },
  10397. "remark": {
  10398. "description": "备注",
  10399. "type": "string"
  10400. },
  10401. "spotaccountid": {
  10402. "description": "现货资金账户",
  10403. "type": "integer"
  10404. },
  10405. "spottradeid": {
  10406. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10407. "type": "integer"
  10408. },
  10409. "spottradename": {
  10410. "description": "业务名称",
  10411. "type": "string"
  10412. },
  10413. "spottradeno": {
  10414. "description": "业务编号",
  10415. "type": "string"
  10416. },
  10417. "tradedate": {
  10418. "description": "交易日(yyyyMMdd)",
  10419. "type": "string"
  10420. },
  10421. "wrstandardid": {
  10422. "description": "仓单标准ID",
  10423. "type": "integer"
  10424. }
  10425. }
  10426. },
  10427. "erms3.AddSpotContractApplyReq": {
  10428. "type": "object",
  10429. "required": [
  10430. "accountid",
  10431. "areauserid",
  10432. "contractno",
  10433. "contracttype",
  10434. "customeraccountid",
  10435. "customeruserid",
  10436. "details",
  10437. "orimargin",
  10438. "signdate"
  10439. ],
  10440. "properties": {
  10441. "accountid": {
  10442. "description": "资金账户ID",
  10443. "type": "integer"
  10444. },
  10445. "areauserid": {
  10446. "description": "所属机构",
  10447. "type": "integer"
  10448. },
  10449. "contractattachment": {
  10450. "description": "合同附件",
  10451. "type": "string"
  10452. },
  10453. "contractno": {
  10454. "description": "现货合同编号",
  10455. "type": "string"
  10456. },
  10457. "contracttype": {
  10458. "description": "现货合同类型 - 1:采购 -1:销售",
  10459. "type": "integer"
  10460. },
  10461. "creatorid": {
  10462. "description": "申请人",
  10463. "type": "integer"
  10464. },
  10465. "customeraccountid": {
  10466. "description": "客户资金账户ID",
  10467. "type": "integer"
  10468. },
  10469. "customeruserid": {
  10470. "description": "客户ID",
  10471. "type": "integer"
  10472. },
  10473. "details": {
  10474. "description": "明细",
  10475. "type": "array",
  10476. "items": {
  10477. "$ref": "#/definitions/erms3.SoptContractDetail"
  10478. }
  10479. },
  10480. "orimargin": {
  10481. "description": "初始保证金",
  10482. "type": "number"
  10483. },
  10484. "remark": {
  10485. "description": "备注",
  10486. "type": "string"
  10487. },
  10488. "signdate": {
  10489. "description": "签订日期",
  10490. "type": "string"
  10491. }
  10492. }
  10493. },
  10494. "erms3.AddSpotContractApplyRsp": {
  10495. "type": "object",
  10496. "required": [
  10497. "contractno"
  10498. ],
  10499. "properties": {
  10500. "contractno": {
  10501. "description": "现货合同编号",
  10502. "type": "string"
  10503. },
  10504. "spotcontractid": {
  10505. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10506. "type": "integer"
  10507. }
  10508. }
  10509. },
  10510. "erms3.AddUserInfoApplyReq": {
  10511. "type": "object",
  10512. "required": [
  10513. "userid"
  10514. ],
  10515. "properties": {
  10516. "accountid": {
  10517. "description": "交易系统帐号Id (加密存储)",
  10518. "type": "integer"
  10519. },
  10520. "areacode": {
  10521. "description": "机构代码",
  10522. "type": "string"
  10523. },
  10524. "areaid": {
  10525. "description": "机构Id",
  10526. "type": "integer"
  10527. },
  10528. "attachment1": {
  10529. "description": "附件1",
  10530. "type": "string"
  10531. },
  10532. "attachment2": {
  10533. "description": "附件2",
  10534. "type": "string"
  10535. },
  10536. "attachment3": {
  10537. "description": "附件3",
  10538. "type": "string"
  10539. },
  10540. "attachment4": {
  10541. "description": "附件4",
  10542. "type": "string"
  10543. },
  10544. "attachment5": {
  10545. "description": "附件5",
  10546. "type": "string"
  10547. },
  10548. "auditedby": {
  10549. "description": "审核人",
  10550. "type": "string"
  10551. },
  10552. "auditime": {
  10553. "description": "审核时间",
  10554. "type": "string"
  10555. },
  10556. "bankaccount": {
  10557. "description": "银行帐号 (加密存储)",
  10558. "type": "string"
  10559. },
  10560. "bankaccountname": {
  10561. "description": "收款人名称",
  10562. "type": "string"
  10563. },
  10564. "bankcardbackphotourl": {
  10565. "description": "银行卡背面照地址",
  10566. "type": "string"
  10567. },
  10568. "bankcardfrontphotourl": {
  10569. "description": "银行卡正面照地址",
  10570. "type": "string"
  10571. },
  10572. "bankid": {
  10573. "description": "银行编码",
  10574. "type": "string"
  10575. },
  10576. "bankname": {
  10577. "description": "银行名称",
  10578. "type": "string"
  10579. },
  10580. "bankpictureurl": {
  10581. "description": "银行卡正面地址",
  10582. "type": "string"
  10583. },
  10584. "biznature": {
  10585. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10586. "type": "integer"
  10587. },
  10588. "bizscope": {
  10589. "description": "企业经营范围(企业)",
  10590. "type": "string"
  10591. },
  10592. "biztype": {
  10593. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10594. "type": "integer"
  10595. },
  10596. "brokerid": {
  10597. "description": "经纪人ID(加密存储)",
  10598. "type": "string"
  10599. },
  10600. "cardaddress": {
  10601. "description": "证件地址 (加密存储)",
  10602. "type": "string"
  10603. },
  10604. "cardbackphotourl": {
  10605. "description": "背面证件照地址",
  10606. "type": "string"
  10607. },
  10608. "cardfrontphotourl": {
  10609. "description": "正面证件照地址",
  10610. "type": "string"
  10611. },
  10612. "cardnum": {
  10613. "description": "证件号码 (加密存储)",
  10614. "type": "string"
  10615. },
  10616. "cardtype": {
  10617. "description": "证件类型",
  10618. "type": "integer"
  10619. },
  10620. "cityid": {
  10621. "description": "市",
  10622. "type": "integer"
  10623. },
  10624. "company": {
  10625. "description": "公司(个人)",
  10626. "type": "string"
  10627. },
  10628. "contactcardbackphotourl": {
  10629. "description": "联系人证件背面图片地址",
  10630. "type": "string"
  10631. },
  10632. "contactcardfrontphotourl": {
  10633. "description": "联系人证件正面图片地址",
  10634. "type": "string"
  10635. },
  10636. "contactname": {
  10637. "description": "联系人",
  10638. "type": "string"
  10639. },
  10640. "countryid": {
  10641. "description": "国家",
  10642. "type": "integer"
  10643. },
  10644. "createtime": {
  10645. "description": "开户申请时间",
  10646. "type": "string"
  10647. },
  10648. "cusbankid": {
  10649. "description": "签约类型",
  10650. "type": "string"
  10651. },
  10652. "cusbankname": {
  10653. "description": "签约类型名称",
  10654. "type": "string"
  10655. },
  10656. "customername": {
  10657. "description": "客户名称(企业名称)",
  10658. "type": "string"
  10659. },
  10660. "districtid": {
  10661. "description": "地区",
  10662. "type": "integer"
  10663. },
  10664. "email": {
  10665. "description": "Email地址(加密存储)",
  10666. "type": "string"
  10667. },
  10668. "halfbodyphotourl": {
  10669. "description": "半身照地址",
  10670. "type": "string"
  10671. },
  10672. "headurl": {
  10673. "description": "头像地址",
  10674. "type": "string"
  10675. },
  10676. "ipaddress": {
  10677. "description": "IP地址",
  10678. "type": "string"
  10679. },
  10680. "isvalidate": {
  10681. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10682. "type": "string"
  10683. },
  10684. "legalcardbackphotourl": {
  10685. "description": "法人身份证背面照地址",
  10686. "type": "string"
  10687. },
  10688. "legalcardfrontphotourl": {
  10689. "description": "法人身份证正面照地址",
  10690. "type": "string"
  10691. },
  10692. "legalpersonname": {
  10693. "description": "法人姓名(企业)",
  10694. "type": "string"
  10695. },
  10696. "logincode": {
  10697. "description": "登录帐号 (加密存储)",
  10698. "type": "string"
  10699. },
  10700. "memberareaid": {
  10701. "description": "所属会员ID",
  10702. "type": "integer"
  10703. },
  10704. "mobile2": {
  10705. "description": "手机号码[明文-尚志]",
  10706. "type": "string"
  10707. },
  10708. "mobilephone": {
  10709. "description": "手机号码 (加密存储)",
  10710. "type": "string"
  10711. },
  10712. "modifiedby": {
  10713. "description": "修改人帐号",
  10714. "type": "integer"
  10715. },
  10716. "modifiedtime": {
  10717. "description": "修改时间",
  10718. "type": "string"
  10719. },
  10720. "nickname": {
  10721. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10722. "type": "string"
  10723. },
  10724. "openmode": {
  10725. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10726. "type": "integer"
  10727. },
  10728. "otherurl": {
  10729. "description": "其它图片地址[使用分号分隔]",
  10730. "type": "string"
  10731. },
  10732. "postalcode": {
  10733. "description": "邮政编码",
  10734. "type": "string"
  10735. },
  10736. "provinceid": {
  10737. "description": "省",
  10738. "type": "integer"
  10739. },
  10740. "proxystatementurl": {
  10741. "description": "授权委托书",
  10742. "type": "string"
  10743. },
  10744. "qq": {
  10745. "description": "QQ(加密存储",
  10746. "type": "string"
  10747. },
  10748. "referral": {
  10749. "description": "推荐人编码",
  10750. "type": "string"
  10751. },
  10752. "remark": {
  10753. "description": "备注",
  10754. "type": "string"
  10755. },
  10756. "removebeforestatus": {
  10757. "description": "REMOVEBEFORESTATUS",
  10758. "type": "integer"
  10759. },
  10760. "sex": {
  10761. "description": "性别 - 0:女 1:男",
  10762. "type": "integer"
  10763. },
  10764. "signedstatus": {
  10765. "description": "账户一号签签约状态",
  10766. "type": "integer"
  10767. },
  10768. "signpdfurl": {
  10769. "description": "签约pdf文件",
  10770. "type": "string"
  10771. },
  10772. "subbranch": {
  10773. "description": "开户支行",
  10774. "type": "string"
  10775. },
  10776. "telphone": {
  10777. "description": "联系电话(加密存储)",
  10778. "type": "string"
  10779. },
  10780. "userid": {
  10781. "description": "用户ID(自增ID)",
  10782. "type": "integer"
  10783. },
  10784. "userinfotype": {
  10785. "description": "用户信息类型 - 1:个人 2:企业",
  10786. "type": "integer"
  10787. },
  10788. "username": {
  10789. "description": "用户姓名",
  10790. "type": "string"
  10791. },
  10792. "userstate": {
  10793. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10794. "type": "integer"
  10795. },
  10796. "usertype": {
  10797. "description": "用户类型 - 1:投资者 2:机构",
  10798. "type": "integer"
  10799. },
  10800. "videourl": {
  10801. "description": "视频地址",
  10802. "type": "string"
  10803. },
  10804. "wechat": {
  10805. "description": "微信号 (加密存储)",
  10806. "type": "string"
  10807. }
  10808. }
  10809. },
  10810. "erms3.CustomerInfo": {
  10811. "type": "object",
  10812. "required": [
  10813. "userid"
  10814. ],
  10815. "properties": {
  10816. "accountids": {
  10817. "description": "资金账户ID列表",
  10818. "type": "array",
  10819. "items": {
  10820. "type": "integer"
  10821. }
  10822. },
  10823. "customername": {
  10824. "description": "名称(企业名称)",
  10825. "type": "string"
  10826. },
  10827. "mobile": {
  10828. "description": "手机号码",
  10829. "type": "string"
  10830. },
  10831. "userid": {
  10832. "description": "用户ID",
  10833. "type": "integer"
  10834. }
  10835. }
  10836. },
  10837. "erms3.ModifyUserInfoApplyReq": {
  10838. "type": "object",
  10839. "required": [
  10840. "userid"
  10841. ],
  10842. "properties": {
  10843. "accountid": {
  10844. "description": "交易系统帐号Id (加密存储)",
  10845. "type": "integer"
  10846. },
  10847. "areacode": {
  10848. "description": "机构代码",
  10849. "type": "string"
  10850. },
  10851. "areaid": {
  10852. "description": "机构Id",
  10853. "type": "integer"
  10854. },
  10855. "attachment1": {
  10856. "description": "附件1",
  10857. "type": "string"
  10858. },
  10859. "attachment2": {
  10860. "description": "附件2",
  10861. "type": "string"
  10862. },
  10863. "attachment3": {
  10864. "description": "附件3",
  10865. "type": "string"
  10866. },
  10867. "attachment4": {
  10868. "description": "附件4",
  10869. "type": "string"
  10870. },
  10871. "attachment5": {
  10872. "description": "附件5",
  10873. "type": "string"
  10874. },
  10875. "auditedby": {
  10876. "description": "审核人",
  10877. "type": "string"
  10878. },
  10879. "auditime": {
  10880. "description": "审核时间",
  10881. "type": "string"
  10882. },
  10883. "bankaccount": {
  10884. "description": "银行帐号 (加密存储)",
  10885. "type": "string"
  10886. },
  10887. "bankaccountname": {
  10888. "description": "收款人名称",
  10889. "type": "string"
  10890. },
  10891. "bankcardbackphotourl": {
  10892. "description": "银行卡背面照地址",
  10893. "type": "string"
  10894. },
  10895. "bankcardfrontphotourl": {
  10896. "description": "银行卡正面照地址",
  10897. "type": "string"
  10898. },
  10899. "bankid": {
  10900. "description": "银行编码",
  10901. "type": "string"
  10902. },
  10903. "bankname": {
  10904. "description": "银行名称",
  10905. "type": "string"
  10906. },
  10907. "bankpictureurl": {
  10908. "description": "银行卡正面地址",
  10909. "type": "string"
  10910. },
  10911. "biznature": {
  10912. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10913. "type": "integer"
  10914. },
  10915. "bizscope": {
  10916. "description": "企业经营范围(企业)",
  10917. "type": "string"
  10918. },
  10919. "biztype": {
  10920. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10921. "type": "integer"
  10922. },
  10923. "brokerid": {
  10924. "description": "经纪人ID(加密存储)",
  10925. "type": "string"
  10926. },
  10927. "cardaddress": {
  10928. "description": "证件地址 (加密存储)",
  10929. "type": "string"
  10930. },
  10931. "cardbackphotourl": {
  10932. "description": "背面证件照地址",
  10933. "type": "string"
  10934. },
  10935. "cardfrontphotourl": {
  10936. "description": "正面证件照地址",
  10937. "type": "string"
  10938. },
  10939. "cardnum": {
  10940. "description": "证件号码 (加密存储)",
  10941. "type": "string"
  10942. },
  10943. "cardtype": {
  10944. "description": "证件类型",
  10945. "type": "integer"
  10946. },
  10947. "cityid": {
  10948. "description": "市",
  10949. "type": "integer"
  10950. },
  10951. "company": {
  10952. "description": "公司(个人)",
  10953. "type": "string"
  10954. },
  10955. "contactcardbackphotourl": {
  10956. "description": "联系人证件背面图片地址",
  10957. "type": "string"
  10958. },
  10959. "contactcardfrontphotourl": {
  10960. "description": "联系人证件正面图片地址",
  10961. "type": "string"
  10962. },
  10963. "contactname": {
  10964. "description": "联系人",
  10965. "type": "string"
  10966. },
  10967. "countryid": {
  10968. "description": "国家",
  10969. "type": "integer"
  10970. },
  10971. "createtime": {
  10972. "description": "开户申请时间",
  10973. "type": "string"
  10974. },
  10975. "cusbankid": {
  10976. "description": "签约类型",
  10977. "type": "string"
  10978. },
  10979. "cusbankname": {
  10980. "description": "签约类型名称",
  10981. "type": "string"
  10982. },
  10983. "customername": {
  10984. "description": "客户名称(企业名称)",
  10985. "type": "string"
  10986. },
  10987. "districtid": {
  10988. "description": "地区",
  10989. "type": "integer"
  10990. },
  10991. "email": {
  10992. "description": "Email地址(加密存储)",
  10993. "type": "string"
  10994. },
  10995. "halfbodyphotourl": {
  10996. "description": "半身照地址",
  10997. "type": "string"
  10998. },
  10999. "headurl": {
  11000. "description": "头像地址",
  11001. "type": "string"
  11002. },
  11003. "ipaddress": {
  11004. "description": "IP地址",
  11005. "type": "string"
  11006. },
  11007. "isvalidate": {
  11008. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11009. "type": "string"
  11010. },
  11011. "legalcardbackphotourl": {
  11012. "description": "法人身份证背面照地址",
  11013. "type": "string"
  11014. },
  11015. "legalcardfrontphotourl": {
  11016. "description": "法人身份证正面照地址",
  11017. "type": "string"
  11018. },
  11019. "legalpersonname": {
  11020. "description": "法人姓名(企业)",
  11021. "type": "string"
  11022. },
  11023. "logincode": {
  11024. "description": "登录帐号 (加密存储)",
  11025. "type": "string"
  11026. },
  11027. "memberareaid": {
  11028. "description": "所属会员ID",
  11029. "type": "integer"
  11030. },
  11031. "mobile2": {
  11032. "description": "手机号码[明文-尚志]",
  11033. "type": "string"
  11034. },
  11035. "mobilephone": {
  11036. "description": "手机号码 (加密存储)",
  11037. "type": "string"
  11038. },
  11039. "modifiedby": {
  11040. "description": "修改人帐号",
  11041. "type": "integer"
  11042. },
  11043. "modifiedtime": {
  11044. "description": "修改时间",
  11045. "type": "string"
  11046. },
  11047. "nickname": {
  11048. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11049. "type": "string"
  11050. },
  11051. "openmode": {
  11052. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11053. "type": "integer"
  11054. },
  11055. "otherurl": {
  11056. "description": "其它图片地址[使用分号分隔]",
  11057. "type": "string"
  11058. },
  11059. "postalcode": {
  11060. "description": "邮政编码",
  11061. "type": "string"
  11062. },
  11063. "provinceid": {
  11064. "description": "省",
  11065. "type": "integer"
  11066. },
  11067. "proxystatementurl": {
  11068. "description": "授权委托书",
  11069. "type": "string"
  11070. },
  11071. "qq": {
  11072. "description": "QQ(加密存储",
  11073. "type": "string"
  11074. },
  11075. "referral": {
  11076. "description": "推荐人编码",
  11077. "type": "string"
  11078. },
  11079. "remark": {
  11080. "description": "备注",
  11081. "type": "string"
  11082. },
  11083. "removebeforestatus": {
  11084. "description": "REMOVEBEFORESTATUS",
  11085. "type": "integer"
  11086. },
  11087. "sex": {
  11088. "description": "性别 - 0:女 1:男",
  11089. "type": "integer"
  11090. },
  11091. "signedstatus": {
  11092. "description": "账户一号签签约状态",
  11093. "type": "integer"
  11094. },
  11095. "signpdfurl": {
  11096. "description": "签约pdf文件",
  11097. "type": "string"
  11098. },
  11099. "subbranch": {
  11100. "description": "开户支行",
  11101. "type": "string"
  11102. },
  11103. "telphone": {
  11104. "description": "联系电话(加密存储)",
  11105. "type": "string"
  11106. },
  11107. "userid": {
  11108. "description": "用户ID(自增ID)",
  11109. "type": "integer"
  11110. },
  11111. "userinfotype": {
  11112. "description": "用户信息类型 - 1:个人 2:企业",
  11113. "type": "integer"
  11114. },
  11115. "username": {
  11116. "description": "用户姓名",
  11117. "type": "string"
  11118. },
  11119. "userstate": {
  11120. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11121. "type": "integer"
  11122. },
  11123. "usertype": {
  11124. "description": "用户类型 - 1:投资者 2:机构",
  11125. "type": "integer"
  11126. },
  11127. "videourl": {
  11128. "description": "视频地址",
  11129. "type": "string"
  11130. },
  11131. "wechat": {
  11132. "description": "微信号 (加密存储)",
  11133. "type": "string"
  11134. }
  11135. }
  11136. },
  11137. "erms3.QryAuditContractRsp": {
  11138. "type": "object",
  11139. "required": [
  11140. "matchcustomername",
  11141. "spotcontractid"
  11142. ],
  11143. "properties": {
  11144. "accountid": {
  11145. "description": "交易员ID",
  11146. "type": "string"
  11147. },
  11148. "applystatus": {
  11149. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11150. "type": "integer"
  11151. },
  11152. "curdeliveryqty": {
  11153. "description": "未交收量",
  11154. "type": "integer"
  11155. },
  11156. "customername": {
  11157. "description": "采购方ID",
  11158. "type": "string"
  11159. },
  11160. "deliverygoodsid": {
  11161. "description": "品种ID",
  11162. "type": "string"
  11163. },
  11164. "deliveryqty": {
  11165. "description": "交收量",
  11166. "type": "integer"
  11167. },
  11168. "enumdicname": {
  11169. "description": "单位名称",
  11170. "type": "string"
  11171. },
  11172. "matchaccountid": {
  11173. "description": "业务员ID",
  11174. "type": "string"
  11175. },
  11176. "matchcustomername": {
  11177. "description": "销售方ID",
  11178. "type": "string"
  11179. },
  11180. "pricedqty": {
  11181. "description": "定价量",
  11182. "type": "number"
  11183. },
  11184. "signdate": {
  11185. "description": "签订日期",
  11186. "type": "string"
  11187. },
  11188. "spotcontractid": {
  11189. "description": "合同ID",
  11190. "type": "string"
  11191. },
  11192. "totaldqty": {
  11193. "description": "合同量",
  11194. "type": "number"
  11195. },
  11196. "unpricedqty": {
  11197. "description": "未定价量",
  11198. "type": "number"
  11199. },
  11200. "wrstandardname": {
  11201. "description": "商品名称",
  11202. "type": "string"
  11203. }
  11204. }
  11205. },
  11206. "erms3.QryPendingBizRsp": {
  11207. "$ref": "#/definitions/models.PendingAuditBizModel"
  11208. },
  11209. "erms3.QueryBusinessInfoRsp": {
  11210. "type": "object",
  11211. "properties": {
  11212. "businessid": {
  11213. "description": "业务ID.",
  11214. "type": "integer"
  11215. },
  11216. "buyamount": {
  11217. "description": "采购额.",
  11218. "type": "number"
  11219. },
  11220. "buyqty": {
  11221. "description": "采购量.",
  11222. "type": "string"
  11223. },
  11224. "futurepl": {
  11225. "description": "期货盈亏.",
  11226. "type": "number"
  11227. },
  11228. "futureqty": {
  11229. "description": "期货敞口.",
  11230. "type": "string"
  11231. },
  11232. "goodsid": {
  11233. "description": "商品名称/商品代码.",
  11234. "type": "string"
  11235. },
  11236. "hedgingqty": {
  11237. "description": "套保量.",
  11238. "type": "string"
  11239. },
  11240. "sellamount": {
  11241. "description": "销售额.",
  11242. "type": "number"
  11243. },
  11244. "sellqty": {
  11245. "description": "销售量.",
  11246. "type": "string"
  11247. },
  11248. "spotmarketvalue": {
  11249. "description": "现货市值.",
  11250. "type": "number"
  11251. },
  11252. "spotpl": {
  11253. "description": "浮动权益.",
  11254. "type": "number"
  11255. },
  11256. "spotqty": {
  11257. "description": "现货量.",
  11258. "type": "string"
  11259. },
  11260. "statu": {
  11261. "description": "状态,0-未结束 1-已结束.",
  11262. "type": "integer"
  11263. },
  11264. "totalpl": {
  11265. "description": "总盈亏.",
  11266. "type": "number"
  11267. },
  11268. "totalqty": {
  11269. "description": "总敞口.",
  11270. "type": "string"
  11271. },
  11272. "type": {
  11273. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11274. "type": "integer"
  11275. }
  11276. }
  11277. },
  11278. "erms3.QuerySpotContractAppleFormRsp": {
  11279. "type": "object",
  11280. "properties": {
  11281. "goodses": {
  11282. "description": "合约列表",
  11283. "type": "array",
  11284. "items": {
  11285. "$ref": "#/definitions/models.GoodsIDAndName"
  11286. }
  11287. },
  11288. "oppositeusers": {
  11289. "description": "对方账号列表",
  11290. "type": "array",
  11291. "items": {
  11292. "$ref": "#/definitions/erms3.CustomerInfo"
  11293. }
  11294. },
  11295. "ouruser": {
  11296. "description": "我方账号",
  11297. "type": "object",
  11298. "$ref": "#/definitions/erms3.CustomerInfo"
  11299. },
  11300. "warehouseinfos": {
  11301. "description": "仓库信息列表",
  11302. "type": "array",
  11303. "items": {
  11304. "$ref": "#/definitions/models.Warehouseinfo"
  11305. }
  11306. },
  11307. "wrstandards": {
  11308. "description": "仓单标准列表",
  11309. "type": "array",
  11310. "items": {
  11311. "$ref": "#/definitions/models.WRStandardInfo"
  11312. }
  11313. }
  11314. }
  11315. },
  11316. "erms3.QuerySpotContractInfoRsp": {
  11317. "type": "object",
  11318. "properties": {
  11319. "accountid": {
  11320. "description": "表示交易员ID.",
  11321. "type": "integer"
  11322. },
  11323. "curdeliveryqty": {
  11324. "description": "表示未交收量.",
  11325. "type": "number"
  11326. },
  11327. "customername": {
  11328. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11329. "type": "string"
  11330. },
  11331. "deliverygoodsid": {
  11332. "description": "表示品种ID.",
  11333. "type": "string"
  11334. },
  11335. "deliveryqty": {
  11336. "description": "表示交收量.",
  11337. "type": "number"
  11338. },
  11339. "matchaccountid": {
  11340. "description": "表示业务员ID.",
  11341. "type": "integer"
  11342. },
  11343. "matchcustomername": {
  11344. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11345. "type": "string"
  11346. },
  11347. "priceqty": {
  11348. "description": "表示定价量.",
  11349. "type": "number"
  11350. },
  11351. "relatedbizid": {
  11352. "description": "表示业务ID.",
  11353. "type": "string"
  11354. },
  11355. "signdate": {
  11356. "description": "表示签订日期.",
  11357. "type": "string"
  11358. },
  11359. "spotcontractid": {
  11360. "description": "合同ID",
  11361. "type": "string"
  11362. },
  11363. "status": {
  11364. "description": "表示状态,0-履约中 1-已完成.",
  11365. "type": "integer"
  11366. },
  11367. "totalqty": {
  11368. "description": "表示合同量.",
  11369. "type": "number"
  11370. },
  11371. "unpricedqty": {
  11372. "description": "表示未定价量.",
  11373. "type": "number"
  11374. },
  11375. "wrstandardname": {
  11376. "description": "表示商品ID.",
  11377. "type": "string"
  11378. }
  11379. }
  11380. },
  11381. "erms3.QueryUserInfoAppliesRsp": {
  11382. "type": "object",
  11383. "required": [
  11384. "userid"
  11385. ],
  11386. "properties": {
  11387. "biznature": {
  11388. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11389. "type": "integer"
  11390. },
  11391. "contactname": {
  11392. "description": "联系人",
  11393. "type": "string"
  11394. },
  11395. "createtime": {
  11396. "description": "开户申请时间",
  11397. "type": "string"
  11398. },
  11399. "userid": {
  11400. "description": "用户ID(自增ID)",
  11401. "type": "integer"
  11402. },
  11403. "userinfotype": {
  11404. "description": "用户信息类型 - 1:个人 2:企业",
  11405. "type": "integer"
  11406. },
  11407. "username": {
  11408. "description": "用户姓名",
  11409. "type": "string"
  11410. },
  11411. "userstate": {
  11412. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11413. "type": "integer"
  11414. }
  11415. }
  11416. },
  11417. "erms3.QueryUserInfosRsp": {
  11418. "type": "object",
  11419. "required": [
  11420. "userid"
  11421. ],
  11422. "properties": {
  11423. "biznature": {
  11424. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11425. "type": "integer"
  11426. },
  11427. "contactname": {
  11428. "description": "联系人",
  11429. "type": "string"
  11430. },
  11431. "customername": {
  11432. "description": "客户名称(企业名称)",
  11433. "type": "string"
  11434. },
  11435. "userid": {
  11436. "description": "用户ID",
  11437. "type": "integer"
  11438. },
  11439. "userinfotype": {
  11440. "description": "用户信息类型 - 1:个人 2:企业",
  11441. "type": "integer"
  11442. },
  11443. "userstatus": {
  11444. "description": "用户状态 - 1:正常 2:注销",
  11445. "type": "integer"
  11446. }
  11447. }
  11448. },
  11449. "erms3.SoptContractDetail": {
  11450. "type": "object",
  11451. "required": [
  11452. "deliverygoodsid",
  11453. "producttype",
  11454. "unitname",
  11455. "warehouseid",
  11456. "wrstandardid",
  11457. "wrstandardname"
  11458. ],
  11459. "properties": {
  11460. "deliverygoodsdesc": {
  11461. "description": "现货品种说明",
  11462. "type": "string"
  11463. },
  11464. "deliverygoodsid": {
  11465. "description": "现货品种ID",
  11466. "type": "integer"
  11467. },
  11468. "deliverygoodsname": {
  11469. "description": "现货品种名称",
  11470. "type": "string"
  11471. },
  11472. "pointdesc": {
  11473. "description": "点价描述",
  11474. "type": "string"
  11475. },
  11476. "producttype": {
  11477. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11478. "type": "integer"
  11479. },
  11480. "producttypename": {
  11481. "description": "产品类型名称",
  11482. "type": "string"
  11483. },
  11484. "spotPointOrderVoList": {
  11485. "description": "点价列表",
  11486. "type": "array",
  11487. "items": {
  11488. "$ref": "#/definitions/erms3.SpotPointOrder"
  11489. }
  11490. },
  11491. "spotPriceOrderList": {
  11492. "description": "定价列表",
  11493. "type": "array",
  11494. "items": {
  11495. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11496. }
  11497. },
  11498. "unitname": {
  11499. "description": "单位名称",
  11500. "type": "string"
  11501. },
  11502. "warehouseid": {
  11503. "description": "仓库ID",
  11504. "type": "integer"
  11505. },
  11506. "warehousename": {
  11507. "description": "仓库名称",
  11508. "type": "string"
  11509. },
  11510. "wrstandardid": {
  11511. "description": "交易标的ID",
  11512. "type": "integer"
  11513. },
  11514. "wrstandardname": {
  11515. "description": "交易标的名称",
  11516. "type": "string"
  11517. }
  11518. }
  11519. },
  11520. "erms3.SpotPointOrder": {
  11521. "type": "object",
  11522. "required": [
  11523. "basic",
  11524. "goodsid",
  11525. "qty"
  11526. ],
  11527. "properties": {
  11528. "basic": {
  11529. "description": "基差",
  11530. "type": "number"
  11531. },
  11532. "deliveryenddate": {
  11533. "description": "交收结束日期",
  11534. "type": "string"
  11535. },
  11536. "deliverystartdate": {
  11537. "description": "交收开始日期",
  11538. "type": "string"
  11539. },
  11540. "enddate": {
  11541. "description": "点价结束日期",
  11542. "type": "string"
  11543. },
  11544. "goodsid": {
  11545. "description": "商品ID",
  11546. "type": "integer"
  11547. },
  11548. "goodsname": {
  11549. "description": "商品名称",
  11550. "type": "string"
  11551. },
  11552. "qty": {
  11553. "description": "数量",
  11554. "type": "number"
  11555. },
  11556. "startdate": {
  11557. "description": "点价开始日期",
  11558. "type": "string"
  11559. }
  11560. }
  11561. },
  11562. "erms3.SpotPriceOrder": {
  11563. "type": "object",
  11564. "required": [
  11565. "amount",
  11566. "price",
  11567. "qty"
  11568. ],
  11569. "properties": {
  11570. "amount": {
  11571. "description": "金额",
  11572. "type": "number"
  11573. },
  11574. "deliveryenddate": {
  11575. "description": "交收结束日期",
  11576. "type": "string"
  11577. },
  11578. "deliverystartdate": {
  11579. "description": "交收开始日期",
  11580. "type": "string"
  11581. },
  11582. "price": {
  11583. "description": "价格",
  11584. "type": "number"
  11585. },
  11586. "qty": {
  11587. "description": "数量",
  11588. "type": "number"
  11589. }
  11590. }
  11591. },
  11592. "hsby.GetHsbyMyCountRsp": {
  11593. "type": "object",
  11594. "properties": {
  11595. "myCouponCount": {
  11596. "description": "我的优惠卷数量",
  11597. "type": "integer"
  11598. },
  11599. "myOrderDetailListingCount": {
  11600. "description": "我的订单求购中数量",
  11601. "type": "integer"
  11602. },
  11603. "myOrderDetailPreCount": {
  11604. "description": "我的订单抢购中数量",
  11605. "type": "integer"
  11606. },
  11607. "myPackageUnReceiveCount": {
  11608. "description": "我的包裹待收货数量",
  11609. "type": "integer"
  11610. },
  11611. "myPackageUnSendCount": {
  11612. "description": "我的包裹待发货数量",
  11613. "type": "integer"
  11614. },
  11615. "myPayOrderCount": {
  11616. "description": "我的订单待付款数量",
  11617. "type": "integer"
  11618. }
  11619. }
  11620. },
  11621. "hsby.QueryProvincesAndCitiesRsp": {
  11622. "type": "object",
  11623. "properties": {
  11624. "cities": {
  11625. "description": "市",
  11626. "type": "array",
  11627. "items": {
  11628. "$ref": "#/definitions/models.Division"
  11629. }
  11630. },
  11631. "province": {
  11632. "description": "省",
  11633. "type": "object",
  11634. "$ref": "#/definitions/models.Division"
  11635. }
  11636. }
  11637. },
  11638. "models.AreaSpotModel": {
  11639. "type": "object",
  11640. "properties": {
  11641. "areauserid": {
  11642. "description": "所属机构",
  11643. "type": "integer"
  11644. },
  11645. "decreaseqty": {
  11646. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11647. "type": "number"
  11648. },
  11649. "increaseqty": {
  11650. "description": "增加数量=销售计划数量+采购已定价数量",
  11651. "type": "number"
  11652. },
  11653. "oritoalspotqty": {
  11654. "description": "昨日数量",
  11655. "type": "number"
  11656. },
  11657. "totalspotqty": {
  11658. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11659. "type": "number"
  11660. },
  11661. "updatetime": {
  11662. "description": "更新时间",
  11663. "type": "string"
  11664. },
  11665. "wrstandardcode": {
  11666. "description": "现货品种代码",
  11667. "type": "string"
  11668. },
  11669. "wrstandardid": {
  11670. "description": "现货商品ID",
  11671. "type": "integer"
  11672. },
  11673. "wrstandardname": {
  11674. "description": "现货品种",
  11675. "type": "string"
  11676. }
  11677. }
  11678. },
  11679. "models.Clientfixedadconfig": {
  11680. "type": "object",
  11681. "required": [
  11682. "adsort",
  11683. "adtype"
  11684. ],
  11685. "properties": {
  11686. "adsort": {
  11687. "description": "排序",
  11688. "type": "integer"
  11689. },
  11690. "adtype": {
  11691. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11692. "type": "integer"
  11693. },
  11694. "areauserid": {
  11695. "description": "所属机构ID",
  11696. "type": "integer"
  11697. },
  11698. "createdate": {
  11699. "description": "创建时间",
  11700. "type": "string"
  11701. },
  11702. "creatorid": {
  11703. "description": "创建人",
  11704. "type": "integer"
  11705. },
  11706. "imagepath": {
  11707. "description": "图片",
  11708. "type": "string"
  11709. },
  11710. "isshow": {
  11711. "description": "是否展示 - 0:不展示 1:展示",
  11712. "type": "integer"
  11713. },
  11714. "modifierid": {
  11715. "description": "操作人",
  11716. "type": "integer"
  11717. },
  11718. "recsize": {
  11719. "description": "推荐尺寸",
  11720. "type": "string"
  11721. },
  11722. "title": {
  11723. "description": "标题",
  11724. "type": "string"
  11725. },
  11726. "updatedate": {
  11727. "description": "更新时间",
  11728. "type": "string"
  11729. },
  11730. "urlcontent": {
  11731. "description": "链接(地址或商品ID)",
  11732. "type": "string"
  11733. },
  11734. "urltype": {
  11735. "description": "链接类型 - 1:直接地址 2:商品ID",
  11736. "type": "integer"
  11737. }
  11738. }
  11739. },
  11740. "models.Division": {
  11741. "type": "object",
  11742. "required": [
  11743. "autoid",
  11744. "divisioncode"
  11745. ],
  11746. "properties": {
  11747. "autoid": {
  11748. "description": "自增ID",
  11749. "type": "integer"
  11750. },
  11751. "divisioncode": {
  11752. "description": "行政代码",
  11753. "type": "string"
  11754. },
  11755. "divisionlevel": {
  11756. "description": "行政级别",
  11757. "type": "string"
  11758. },
  11759. "divisionname": {
  11760. "description": "行政名称",
  11761. "type": "string"
  11762. },
  11763. "modifierid": {
  11764. "description": "修改人",
  11765. "type": "integer"
  11766. },
  11767. "modifytime": {
  11768. "description": "修改时间",
  11769. "type": "string"
  11770. },
  11771. "parentcode": {
  11772. "description": "上级行政代码",
  11773. "type": "string"
  11774. },
  11775. "pathname": {
  11776. "description": "路径名称",
  11777. "type": "string"
  11778. },
  11779. "postcode": {
  11780. "description": "邮政编码",
  11781. "type": "string"
  11782. },
  11783. "separablename": {
  11784. "description": "可拆分的全称",
  11785. "type": "string"
  11786. },
  11787. "shortcode": {
  11788. "description": "地区简码",
  11789. "type": "string"
  11790. }
  11791. }
  11792. },
  11793. "models.Enumdicitem": {
  11794. "type": "object",
  11795. "required": [
  11796. "autoid",
  11797. "enumdiccode",
  11798. "enumdicid",
  11799. "enumitemname"
  11800. ],
  11801. "properties": {
  11802. "autoid": {
  11803. "description": "自增ID",
  11804. "type": "integer"
  11805. },
  11806. "bankmappedvalue": {
  11807. "description": "银行服务对应值",
  11808. "type": "string"
  11809. },
  11810. "enumdiccode": {
  11811. "description": "所属枚举代码",
  11812. "type": "string"
  11813. },
  11814. "enumdicid": {
  11815. "description": "所属枚举ID",
  11816. "type": "integer"
  11817. },
  11818. "enumdicname": {
  11819. "description": "枚举项名称",
  11820. "type": "string"
  11821. },
  11822. "enumitemname": {
  11823. "description": "枚举项值",
  11824. "type": "integer"
  11825. },
  11826. "enumitemstatus": {
  11827. "description": "枚举项状态 - 1.启用 2.不启用",
  11828. "type": "integer"
  11829. },
  11830. "enumitemvalue": {
  11831. "description": "通用值 - [币种通用简写]",
  11832. "type": "string"
  11833. },
  11834. "param1": {
  11835. "description": "参数1[币种:币种小数位]",
  11836. "type": "string"
  11837. },
  11838. "param2": {
  11839. "description": "参数1[币种:币种显示单位]",
  11840. "type": "string"
  11841. },
  11842. "remark": {
  11843. "description": "备注",
  11844. "type": "string"
  11845. }
  11846. }
  11847. },
  11848. "models.ErmcpAreaSpotDetailModel": {
  11849. "type": "object",
  11850. "properties": {
  11851. "contracttype": {
  11852. "description": "合同类型 1-采购 -1-销售",
  11853. "type": "integer"
  11854. },
  11855. "createtime": {
  11856. "description": "创建时间",
  11857. "type": "string"
  11858. },
  11859. "enumdicname": {
  11860. "description": "现货商品单位名称",
  11861. "type": "string"
  11862. },
  11863. "logtype": {
  11864. "description": "记录类型 1-套保 2-现货合同",
  11865. "type": "integer"
  11866. },
  11867. "qty": {
  11868. "description": "数量",
  11869. "type": "number"
  11870. },
  11871. "recordname": {
  11872. "description": "类型名称",
  11873. "type": "string"
  11874. },
  11875. "relatedid": {
  11876. "description": "套保计划ID/现货合同ID",
  11877. "type": "string"
  11878. },
  11879. "relatedno": {
  11880. "description": "编号",
  11881. "type": "string"
  11882. },
  11883. "strtime": {
  11884. "description": "时间",
  11885. "type": "string"
  11886. },
  11887. "wrstandardcode": {
  11888. "description": "现货商品代码",
  11889. "type": "string"
  11890. },
  11891. "wrstandardname": {
  11892. "description": "现货商品名称",
  11893. "type": "string"
  11894. }
  11895. }
  11896. },
  11897. "models.ErmcpAreaStock": {
  11898. "type": "object",
  11899. "properties": {
  11900. "brandname": {
  11901. "description": "品牌名称",
  11902. "type": "string"
  11903. },
  11904. "curstock": {
  11905. "description": "期末库存量(今日量)",
  11906. "type": "number"
  11907. },
  11908. "deliverygoodsid": {
  11909. "description": "现货品种ID",
  11910. "type": "integer"
  11911. },
  11912. "enumdicname": {
  11913. "description": "单位名称",
  11914. "type": "string"
  11915. },
  11916. "modelname": {
  11917. "description": "型号名称",
  11918. "type": "string"
  11919. },
  11920. "oristock": {
  11921. "description": "期初库存量(昨日量)",
  11922. "type": "number"
  11923. },
  11924. "spotgoodsbrandid": {
  11925. "description": "现货品牌ID",
  11926. "type": "integer"
  11927. },
  11928. "spotgoodsmodelid": {
  11929. "description": "现货型号ID",
  11930. "type": "integer"
  11931. },
  11932. "todaybuyinqty": {
  11933. "description": "今日采购入库量",
  11934. "type": "number"
  11935. },
  11936. "todayproduceinqty": {
  11937. "description": "今日生产入库量",
  11938. "type": "number"
  11939. },
  11940. "todayproduceoutqty": {
  11941. "description": "今日生产出库量",
  11942. "type": "number"
  11943. },
  11944. "todayselloutqty": {
  11945. "description": "今日销售出库量",
  11946. "type": "number"
  11947. },
  11948. "unitid": {
  11949. "description": "单位id",
  11950. "type": "integer"
  11951. },
  11952. "updatetime": {
  11953. "description": "更新时间",
  11954. "type": "string"
  11955. },
  11956. "userid": {
  11957. "description": "机构ID",
  11958. "type": "integer"
  11959. },
  11960. "username": {
  11961. "description": "机构名称",
  11962. "type": "string"
  11963. },
  11964. "warehousecode": {
  11965. "description": "仓库代码",
  11966. "type": "string"
  11967. },
  11968. "warehouseinfoid": {
  11969. "description": "仓库ID",
  11970. "type": "string"
  11971. },
  11972. "warehousename": {
  11973. "description": "仓库名称",
  11974. "type": "string"
  11975. },
  11976. "warehousetype": {
  11977. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11978. "type": "integer"
  11979. },
  11980. "wrstandardcode": {
  11981. "description": "现货商品代码",
  11982. "type": "string"
  11983. },
  11984. "wrstandardid": {
  11985. "description": "现货商品ID",
  11986. "type": "string"
  11987. },
  11988. "wrstandardname": {
  11989. "description": "现货商品名称",
  11990. "type": "string"
  11991. }
  11992. }
  11993. },
  11994. "models.ErmcpAreaStockApply": {
  11995. "type": "object",
  11996. "properties": {
  11997. "applyid": {
  11998. "description": "申请人",
  11999. "type": "integer"
  12000. },
  12001. "applyname": {
  12002. "description": "申请人名称",
  12003. "type": "string"
  12004. },
  12005. "applyremark": {
  12006. "description": "申请备注",
  12007. "type": "string"
  12008. },
  12009. "applysrc": {
  12010. "description": "申请来源 - 1:管理端 2:终端",
  12011. "type": "integer"
  12012. },
  12013. "applystatus": {
  12014. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12015. "type": "integer"
  12016. },
  12017. "applytime": {
  12018. "description": "申请时间",
  12019. "type": "string"
  12020. },
  12021. "auditid": {
  12022. "description": "审核人",
  12023. "type": "integer"
  12024. },
  12025. "auditname": {
  12026. "description": "审核人名称",
  12027. "type": "string"
  12028. },
  12029. "auditremark": {
  12030. "description": "审核备注",
  12031. "type": "string"
  12032. },
  12033. "auditsrc": {
  12034. "description": "审核来源 - 1:管理端 2:终端",
  12035. "type": "integer"
  12036. },
  12037. "audittime": {
  12038. "description": "审核时间",
  12039. "type": "string"
  12040. },
  12041. "audittradedate": {
  12042. "description": "审核交易日(yyyyMMdd)",
  12043. "type": "string"
  12044. },
  12045. "brandname": {
  12046. "description": "品牌名称",
  12047. "type": "string"
  12048. },
  12049. "buyuserid": {
  12050. "description": "采购方userid",
  12051. "type": "integer"
  12052. },
  12053. "buyusername": {
  12054. "description": "采购方名称",
  12055. "type": "string"
  12056. },
  12057. "contractno": {
  12058. "description": "合同编号",
  12059. "type": "string"
  12060. },
  12061. "contractqty": {
  12062. "description": "合同量",
  12063. "type": "number"
  12064. },
  12065. "contracttype": {
  12066. "description": "现货合同类型 - 1:采购 -1:销售",
  12067. "type": "integer"
  12068. },
  12069. "deliverygoodsid": {
  12070. "description": "现货品种ID",
  12071. "type": "integer"
  12072. },
  12073. "enumdicname": {
  12074. "description": "现货商品单位名称",
  12075. "type": "string"
  12076. },
  12077. "inoutapplyid": {
  12078. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  12079. "type": "string"
  12080. },
  12081. "inouttype": {
  12082. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12083. "type": "integer"
  12084. },
  12085. "modelname": {
  12086. "description": "型号名称",
  12087. "type": "string"
  12088. },
  12089. "pricetype": {
  12090. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12091. "type": "integer"
  12092. },
  12093. "qty": {
  12094. "description": "数量",
  12095. "type": "number"
  12096. },
  12097. "selluserid": {
  12098. "description": "销售方userid",
  12099. "type": "integer"
  12100. },
  12101. "sellusername": {
  12102. "description": "销售方名称",
  12103. "type": "string"
  12104. },
  12105. "spotcontractid": {
  12106. "description": "关联现货合同ID",
  12107. "type": "string"
  12108. },
  12109. "spotgoodsbrandid": {
  12110. "description": "现货品牌ID",
  12111. "type": "integer"
  12112. },
  12113. "spotgoodsmodelid": {
  12114. "description": "现货型号ID",
  12115. "type": "integer"
  12116. },
  12117. "unitid": {
  12118. "description": "单位id",
  12119. "type": "integer"
  12120. },
  12121. "userid": {
  12122. "description": "机构ID",
  12123. "type": "integer"
  12124. },
  12125. "warehousecode": {
  12126. "description": "仓库代码",
  12127. "type": "string"
  12128. },
  12129. "warehouseinfoid": {
  12130. "description": "现货仓库ID",
  12131. "type": "string"
  12132. },
  12133. "warehousename": {
  12134. "description": "仓库名称",
  12135. "type": "string"
  12136. },
  12137. "warehousetype": {
  12138. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12139. "type": "integer"
  12140. },
  12141. "wrstandardcode": {
  12142. "description": "现货商品代码",
  12143. "type": "string"
  12144. },
  12145. "wrstandardid": {
  12146. "description": "现货商品ID",
  12147. "type": "string"
  12148. },
  12149. "wrstandardname": {
  12150. "description": "现货商品名称",
  12151. "type": "string"
  12152. }
  12153. }
  12154. },
  12155. "models.ErmcpAreaStockApplySum": {
  12156. "type": "object",
  12157. "properties": {
  12158. "brandname": {
  12159. "description": "品牌名称",
  12160. "type": "string"
  12161. },
  12162. "inouttype": {
  12163. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12164. "type": "integer"
  12165. },
  12166. "modelname": {
  12167. "description": "型号名称",
  12168. "type": "string"
  12169. },
  12170. "spotcontractid": {
  12171. "description": "关联现货合同ID",
  12172. "type": "string"
  12173. },
  12174. "spotgoodsbrandid": {
  12175. "description": "品牌id",
  12176. "type": "integer"
  12177. },
  12178. "spotgoodsmodelid": {
  12179. "description": "型号id",
  12180. "type": "integer"
  12181. },
  12182. "totalqty": {
  12183. "description": "总数量",
  12184. "type": "number"
  12185. }
  12186. }
  12187. },
  12188. "models.ErmcpAreaStockReport": {
  12189. "type": "object",
  12190. "properties": {
  12191. "brandname": {
  12192. "description": "品牌名称",
  12193. "type": "string"
  12194. },
  12195. "curstock": {
  12196. "description": "期末库存量",
  12197. "type": "number"
  12198. },
  12199. "deliverygoodsid": {
  12200. "description": "现货品种ID",
  12201. "type": "integer"
  12202. },
  12203. "enumdicname": {
  12204. "description": "单位名称",
  12205. "type": "string"
  12206. },
  12207. "modelname": {
  12208. "description": "型号名称",
  12209. "type": "string"
  12210. },
  12211. "oristock": {
  12212. "description": "期初库存量",
  12213. "type": "number"
  12214. },
  12215. "spotgoodsbrandid": {
  12216. "description": "现货品牌ID",
  12217. "type": "integer"
  12218. },
  12219. "spotgoodsmodelid": {
  12220. "description": "现货型号ID",
  12221. "type": "integer"
  12222. },
  12223. "todaybuyinqty": {
  12224. "description": "今日采购入库量",
  12225. "type": "number"
  12226. },
  12227. "todayproduceinqty": {
  12228. "description": "今日生产入库量",
  12229. "type": "number"
  12230. },
  12231. "todayproduceoutqty": {
  12232. "description": "今日生产出库量",
  12233. "type": "number"
  12234. },
  12235. "todayselloutqty": {
  12236. "description": "今日销售出库量",
  12237. "type": "number"
  12238. },
  12239. "unitid": {
  12240. "description": "单位id",
  12241. "type": "integer"
  12242. },
  12243. "updatetime": {
  12244. "description": "更新时间",
  12245. "type": "string"
  12246. },
  12247. "userid": {
  12248. "description": "机构ID",
  12249. "type": "integer"
  12250. },
  12251. "username": {
  12252. "description": "机构名称",
  12253. "type": "string"
  12254. },
  12255. "warehousecode": {
  12256. "description": "仓库代码",
  12257. "type": "string"
  12258. },
  12259. "warehouseinfoid": {
  12260. "description": "仓库ID",
  12261. "type": "string"
  12262. },
  12263. "warehousename": {
  12264. "description": "仓库名称",
  12265. "type": "string"
  12266. },
  12267. "warehousetype": {
  12268. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12269. "type": "integer"
  12270. },
  12271. "wrstandardcode": {
  12272. "description": "现货商品代码",
  12273. "type": "string"
  12274. },
  12275. "wrstandardid": {
  12276. "description": "现货商品ID",
  12277. "type": "string"
  12278. },
  12279. "wrstandardname": {
  12280. "description": "现货商品名称",
  12281. "type": "string"
  12282. }
  12283. }
  12284. },
  12285. "models.ErmcpAvalidGoodsGroupModel": {
  12286. "type": "object",
  12287. "properties": {
  12288. "goodsgroupid": {
  12289. "description": "期货品种id",
  12290. "type": "integer"
  12291. },
  12292. "goodsgroupname": {
  12293. "description": "期货品种名称",
  12294. "type": "string"
  12295. },
  12296. "goodunitid": {
  12297. "description": "品种单位id",
  12298. "type": "integer"
  12299. },
  12300. "goodunitname": {
  12301. "description": "品种单位名称",
  12302. "type": "string"
  12303. },
  12304. "outergroupcode": {
  12305. "description": "期货品种代码",
  12306. "type": "string"
  12307. }
  12308. }
  12309. },
  12310. "models.ErmcpBizGroupEx": {
  12311. "type": "object",
  12312. "properties": {
  12313. "acclist": {
  12314. "description": "账号列表",
  12315. "type": "array",
  12316. "items": {
  12317. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  12318. }
  12319. },
  12320. "bizgroupid": {
  12321. "description": "业务分组id",
  12322. "type": "integer"
  12323. },
  12324. "biztype": {
  12325. "description": "业务类型 1-套保 2-套利",
  12326. "type": "integer"
  12327. },
  12328. "wrlist": {
  12329. "description": "现货商品表",
  12330. "type": "array",
  12331. "items": {
  12332. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  12333. }
  12334. }
  12335. }
  12336. },
  12337. "models.ErmcpBizGroupSpotGoods": {
  12338. "type": "object",
  12339. "properties": {
  12340. "areauserid": {
  12341. "description": "所属机构id",
  12342. "type": "integer"
  12343. },
  12344. "bizgroupid": {
  12345. "description": "分组id",
  12346. "type": "integer"
  12347. },
  12348. "biztype": {
  12349. "description": "业务类型 1-套保 2-套利",
  12350. "type": "integer"
  12351. },
  12352. "deliverygoodscode": {
  12353. "description": "现货商品代码",
  12354. "type": "string"
  12355. },
  12356. "deliverygoodsid": {
  12357. "description": "现货商品id",
  12358. "type": "integer"
  12359. },
  12360. "deliverygoodsname": {
  12361. "description": "现货商品名称",
  12362. "type": "string"
  12363. },
  12364. "unitid": {
  12365. "description": "现货商品单位id",
  12366. "type": "integer"
  12367. }
  12368. }
  12369. },
  12370. "models.ErmcpBizGroupTaAccount": {
  12371. "type": "object",
  12372. "properties": {
  12373. "accountid": {
  12374. "description": "账号id",
  12375. "type": "string"
  12376. },
  12377. "accountname": {
  12378. "description": "账号名称",
  12379. "type": "string"
  12380. },
  12381. "areauserid": {
  12382. "description": "所属机构id",
  12383. "type": "integer"
  12384. },
  12385. "bizgroupid": {
  12386. "description": "业务分组id",
  12387. "type": "integer"
  12388. },
  12389. "ismain": {
  12390. "description": "是否主账号 1-是 0-否",
  12391. "type": "integer"
  12392. }
  12393. }
  12394. },
  12395. "models.ErmcpBrand": {
  12396. "type": "object",
  12397. "properties": {
  12398. "brandid": {
  12399. "description": "品牌id",
  12400. "type": "integer"
  12401. },
  12402. "brandname": {
  12403. "description": "品牌名称",
  12404. "type": "string"
  12405. },
  12406. "deliverygoodsid": {
  12407. "description": "品种ID",
  12408. "type": "integer"
  12409. }
  12410. }
  12411. },
  12412. "models.ErmcpDeliveryGoods": {
  12413. "type": "object",
  12414. "properties": {
  12415. "agreeunit": {
  12416. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  12417. "type": "integer"
  12418. },
  12419. "areauserid": {
  12420. "description": "所属机构",
  12421. "type": "integer"
  12422. },
  12423. "auditflag": {
  12424. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  12425. "type": "integer"
  12426. },
  12427. "categoryid": {
  12428. "description": "类别ID(SEQ_WRCATEGORY)",
  12429. "type": "integer"
  12430. },
  12431. "deliverygoodscode": {
  12432. "description": "现货品种代码",
  12433. "type": "string"
  12434. },
  12435. "deliverygoodsid": {
  12436. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  12437. "type": "integer"
  12438. },
  12439. "deliverygoodsname": {
  12440. "description": "现货品种名称",
  12441. "type": "string"
  12442. },
  12443. "deliverygoodstype": {
  12444. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  12445. "type": "integer"
  12446. },
  12447. "dgstatus": {
  12448. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  12449. "type": "integer"
  12450. },
  12451. "enumdicname": {
  12452. "description": "现货品种单位名称",
  12453. "type": "string"
  12454. },
  12455. "goodsunitid": {
  12456. "description": "现货品种单位ID",
  12457. "type": "integer"
  12458. },
  12459. "isvalid": {
  12460. "description": "是否有效 - 0:无效 1:有效",
  12461. "type": "integer"
  12462. },
  12463. "qtydecimalplace": {
  12464. "description": "成交量小数位",
  12465. "type": "integer"
  12466. },
  12467. "standardqty": {
  12468. "description": "标准数量(库位数量) [标准品特有]",
  12469. "type": "integer"
  12470. },
  12471. "standardqtyrange": {
  12472. "description": "标准数量偏差范围 [标准品特有]",
  12473. "type": "integer"
  12474. }
  12475. }
  12476. },
  12477. "models.ErmcpDeliveryGoodsDetail": {
  12478. "type": "object",
  12479. "properties": {
  12480. "data": {
  12481. "description": "现货商品基本信息(交割品种)",
  12482. "type": "object",
  12483. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  12484. },
  12485. "gblist": {
  12486. "description": "品牌列表",
  12487. "type": "array",
  12488. "items": {
  12489. "$ref": "#/definitions/models.ErmcpBrand"
  12490. }
  12491. },
  12492. "gmlist": {
  12493. "description": "品类列表(仓单标准)",
  12494. "type": "array",
  12495. "items": {
  12496. "$ref": "#/definitions/models.ErmcpWrstandard"
  12497. }
  12498. },
  12499. "goodslist": {
  12500. "description": "关联交易商品列表",
  12501. "type": "array",
  12502. "items": {
  12503. "$ref": "#/definitions/models.ErmcpRelatedGoods"
  12504. }
  12505. },
  12506. "wrslist": {
  12507. "description": "套保信息列表",
  12508. "type": "array",
  12509. "items": {
  12510. "$ref": "#/definitions/models.WRSConverTDetail"
  12511. }
  12512. }
  12513. }
  12514. },
  12515. "models.ErmcpExposureDetailModel": {
  12516. "type": "object",
  12517. "properties": {
  12518. "areauserid": {
  12519. "description": "机构ID",
  12520. "type": "integer"
  12521. },
  12522. "changeQty": {
  12523. "description": "套保变动量",
  12524. "type": "number"
  12525. },
  12526. "contracttype": {
  12527. "description": "现货合同类型 - 1:采购 -1:销售",
  12528. "type": "integer"
  12529. },
  12530. "convertfactor": {
  12531. "description": "标仓系数",
  12532. "type": "number"
  12533. },
  12534. "convertratio": {
  12535. "description": "套保系数",
  12536. "type": "number"
  12537. },
  12538. "createtime": {
  12539. "description": "时间",
  12540. "type": "string"
  12541. },
  12542. "enumdicname": {
  12543. "description": "现货商品单位名称",
  12544. "type": "string"
  12545. },
  12546. "logtype": {
  12547. "description": "类型 - 1:套保计划 2:现货合同",
  12548. "type": "integer"
  12549. },
  12550. "middlegoodsId": {
  12551. "description": "套保商品id",
  12552. "type": "integer"
  12553. },
  12554. "middlegoodscode": {
  12555. "description": "套保商品代码",
  12556. "type": "string"
  12557. },
  12558. "middlegoodsname": {
  12559. "description": "套保商品名称",
  12560. "type": "string"
  12561. },
  12562. "qty": {
  12563. "description": "数量",
  12564. "type": "number"
  12565. },
  12566. "relateNo": {
  12567. "description": "现货合同/套保计划编号",
  12568. "type": "string"
  12569. },
  12570. "wrstandardcode": {
  12571. "description": "现货商品代码",
  12572. "type": "string"
  12573. },
  12574. "wrstandardid": {
  12575. "description": "现货商品ID",
  12576. "type": "integer"
  12577. },
  12578. "wrstandardname": {
  12579. "description": "现货商品名称",
  12580. "type": "string"
  12581. }
  12582. }
  12583. },
  12584. "models.ErmcpExposurePostion": {
  12585. "type": "object",
  12586. "properties": {
  12587. "agreeunit": {
  12588. "description": "合约单位",
  12589. "type": "string"
  12590. },
  12591. "areauserid": {
  12592. "description": "所属机构id",
  12593. "type": "integer"
  12594. },
  12595. "convertratio": {
  12596. "description": "期货品种系数(折算系数)",
  12597. "type": "number"
  12598. },
  12599. "curqty": {
  12600. "description": "当前持仓",
  12601. "type": "integer"
  12602. },
  12603. "diffhedgeqty": {
  12604. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  12605. "type": "number"
  12606. },
  12607. "diffqty": {
  12608. "description": "持仓变动量=当前持仓-昨日持仓",
  12609. "type": "integer"
  12610. },
  12611. "goodscode": {
  12612. "description": "商品代码",
  12613. "type": "string"
  12614. },
  12615. "goodsid": {
  12616. "description": "商品id",
  12617. "type": "integer"
  12618. },
  12619. "goodsname": {
  12620. "description": "商品名称",
  12621. "type": "string"
  12622. },
  12623. "middlegoodsid": {
  12624. "description": "套保商品id",
  12625. "type": "integer"
  12626. },
  12627. "ydqty": {
  12628. "description": "昨日持仓",
  12629. "type": "integer"
  12630. }
  12631. }
  12632. },
  12633. "models.ErmcpFuturesCompany": {
  12634. "type": "object",
  12635. "properties": {
  12636. "brokerid": {
  12637. "description": "经纪公司代码",
  12638. "type": "string"
  12639. },
  12640. "channeladdress": {
  12641. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  12642. "type": "string"
  12643. },
  12644. "channelid": {
  12645. "description": "对冲渠道ID",
  12646. "type": "string"
  12647. },
  12648. "createtime": {
  12649. "description": "创建时间",
  12650. "type": "string"
  12651. },
  12652. "creatorid": {
  12653. "description": "创建人",
  12654. "type": "string"
  12655. },
  12656. "fcid": {
  12657. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  12658. "type": "integer"
  12659. },
  12660. "fcname": {
  12661. "description": "期货公司名称",
  12662. "type": "string"
  12663. },
  12664. "isvalid": {
  12665. "description": "是否有效 - 0:无效 1:有效",
  12666. "type": "integer"
  12667. },
  12668. "mhpaddress": {
  12669. "description": "MHP服务地址(IP:Port)",
  12670. "type": "string"
  12671. },
  12672. "riskrulegroupid": {
  12673. "description": "风控规则组ID",
  12674. "type": "string"
  12675. },
  12676. "tradefeetmpid": {
  12677. "description": "手续费模板ID[TradeConfigTmpType为2]",
  12678. "type": "string"
  12679. },
  12680. "trademargintmpid": {
  12681. "description": "保证金模板ID [TradeConfigTmpType为1]",
  12682. "type": "string"
  12683. },
  12684. "traderatetmpid": {
  12685. "description": "汇率模板ID[TradeConfigTmpType为3]",
  12686. "type": "string"
  12687. },
  12688. "updatetime": {
  12689. "description": "更新时间",
  12690. "type": "string"
  12691. },
  12692. "updatorid": {
  12693. "description": "更新人",
  12694. "type": "string"
  12695. }
  12696. }
  12697. },
  12698. "models.ErmcpGGConvertCfg": {
  12699. "type": "object",
  12700. "properties": {
  12701. "convertratio": {
  12702. "description": "折算系数",
  12703. "type": "number"
  12704. },
  12705. "destgoodsgroupid": {
  12706. "description": "目标品种ID",
  12707. "type": "integer"
  12708. },
  12709. "dstcode": {
  12710. "description": "目录品种代码",
  12711. "type": "string"
  12712. },
  12713. "dstexchangecode": {
  12714. "description": "目标期货交易所",
  12715. "type": "string"
  12716. },
  12717. "dstname": {
  12718. "description": "目标品种名称",
  12719. "type": "string"
  12720. },
  12721. "dstunitid": {
  12722. "description": "目标品种单位ID",
  12723. "type": "integer"
  12724. },
  12725. "dstunitidname": {
  12726. "description": "目标品种单位名称",
  12727. "type": "string"
  12728. },
  12729. "modifytime": {
  12730. "description": "修改时间",
  12731. "type": "string"
  12732. },
  12733. "srccode": {
  12734. "description": "源品种代码",
  12735. "type": "string"
  12736. },
  12737. "srcexchangecode": {
  12738. "description": "源期货交易所",
  12739. "type": "string"
  12740. },
  12741. "srcgoodsgroupid": {
  12742. "description": "源品种ID",
  12743. "type": "integer"
  12744. },
  12745. "srcname": {
  12746. "description": "源品种名称",
  12747. "type": "string"
  12748. },
  12749. "srcunitid": {
  12750. "description": "源品种单位ID",
  12751. "type": "integer"
  12752. },
  12753. "srcunitidname": {
  12754. "description": "源品种单位名称",
  12755. "type": "string"
  12756. }
  12757. }
  12758. },
  12759. "models.ErmcpGoodsBrand": {
  12760. "type": "object",
  12761. "properties": {
  12762. "areauserid": {
  12763. "description": "所属机构",
  12764. "type": "integer"
  12765. },
  12766. "brandid": {
  12767. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  12768. "type": "integer"
  12769. },
  12770. "brandname": {
  12771. "description": "品牌名称",
  12772. "type": "string"
  12773. },
  12774. "createtime": {
  12775. "description": "创建时间",
  12776. "type": "string"
  12777. },
  12778. "creatorid": {
  12779. "description": "创建人",
  12780. "type": "integer"
  12781. },
  12782. "creatorsrc": {
  12783. "description": "创建人来源 - 1:管理端 2:终端",
  12784. "type": "integer"
  12785. },
  12786. "deliverygoodsid": {
  12787. "description": "现货品种ID",
  12788. "type": "integer"
  12789. },
  12790. "isvalid": {
  12791. "description": "是否有效 - 0:无效 1:有效",
  12792. "type": "integer"
  12793. },
  12794. "updatetime": {
  12795. "description": "更新时间",
  12796. "type": "string"
  12797. },
  12798. "updatorid": {
  12799. "description": "更新人",
  12800. "type": "integer"
  12801. },
  12802. "updatorsrc": {
  12803. "description": "更新人来源 - 1:管理端 2:终端",
  12804. "type": "integer"
  12805. },
  12806. "wrstandardid": {
  12807. "description": "现货商品ID",
  12808. "type": "integer"
  12809. }
  12810. }
  12811. },
  12812. "models.ErmcpGoodsModel": {
  12813. "type": "object",
  12814. "properties": {
  12815. "areauserid": {
  12816. "description": "所属机构",
  12817. "type": "integer"
  12818. },
  12819. "convertfactor": {
  12820. "description": "标仓系数",
  12821. "type": "number"
  12822. },
  12823. "createtime": {
  12824. "description": "创建时间",
  12825. "type": "string"
  12826. },
  12827. "creatorid": {
  12828. "description": "创建人",
  12829. "type": "integer"
  12830. },
  12831. "creatorsrc": {
  12832. "description": "创建人来源 - 1:管理端 2:终端",
  12833. "type": "integer"
  12834. },
  12835. "deliverygoodsid": {
  12836. "description": "现货品种ID",
  12837. "type": "integer"
  12838. },
  12839. "isvalid": {
  12840. "description": "是否有效 - 0:无效 1:有效",
  12841. "type": "integer"
  12842. },
  12843. "modelid": {
  12844. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  12845. "type": "integer"
  12846. },
  12847. "modelname": {
  12848. "description": "型号名称",
  12849. "type": "string"
  12850. },
  12851. "updatetime": {
  12852. "description": "更新时间",
  12853. "type": "string"
  12854. },
  12855. "updatorid": {
  12856. "description": "更新人",
  12857. "type": "integer"
  12858. },
  12859. "updatorsrc": {
  12860. "description": "更新人来源 - 1:管理端 2:终端",
  12861. "type": "integer"
  12862. },
  12863. "wrstandardid": {
  12864. "description": "现货商品ID",
  12865. "type": "integer"
  12866. }
  12867. }
  12868. },
  12869. "models.ErmcpHedgePlan": {
  12870. "type": "object",
  12871. "properties": {
  12872. "areauserid": {
  12873. "description": "用户ID",
  12874. "type": "integer"
  12875. },
  12876. "audittime": {
  12877. "description": "审核时间",
  12878. "type": "string"
  12879. },
  12880. "contracttype": {
  12881. "description": "计划类型 - 1:采购 -1:销售",
  12882. "type": "integer"
  12883. },
  12884. "convertfactor": {
  12885. "description": "标仓系数",
  12886. "type": "number"
  12887. },
  12888. "createtime": {
  12889. "description": "创建时间",
  12890. "type": "string"
  12891. },
  12892. "deliverygoodsid": {
  12893. "description": "现货品种ID",
  12894. "type": "integer"
  12895. },
  12896. "deliverygoodsname": {
  12897. "description": "现货品种名称",
  12898. "type": "string"
  12899. },
  12900. "enumdicname": {
  12901. "description": "单位名称",
  12902. "type": "string"
  12903. },
  12904. "hedgeplanid": {
  12905. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  12906. "type": "string"
  12907. },
  12908. "hedgeplanno": {
  12909. "description": "套保计划编号(名称)",
  12910. "type": "string"
  12911. },
  12912. "hedgeplanstatus": {
  12913. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12914. "type": "integer"
  12915. },
  12916. "planqty": {
  12917. "description": "计划数量",
  12918. "type": "number"
  12919. },
  12920. "plantime": {
  12921. "description": "计划时间",
  12922. "type": "string"
  12923. },
  12924. "producttype": {
  12925. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12926. "type": "integer"
  12927. },
  12928. "remark": {
  12929. "description": "备注",
  12930. "type": "string"
  12931. },
  12932. "spotgoodsdesc": {
  12933. "description": "商品型号",
  12934. "type": "string"
  12935. },
  12936. "unitid": {
  12937. "description": "单位id",
  12938. "type": "integer"
  12939. },
  12940. "updatetime": {
  12941. "description": "更新时间",
  12942. "type": "string"
  12943. },
  12944. "wrstandardid": {
  12945. "description": "现货商品ID",
  12946. "type": "integer"
  12947. },
  12948. "wrstandardname": {
  12949. "description": "现货商品名称",
  12950. "type": "string"
  12951. }
  12952. }
  12953. },
  12954. "models.ErmcpHedgePosition": {
  12955. "type": "object",
  12956. "properties": {
  12957. "accountid": {
  12958. "description": "资金账号[外部母账户]",
  12959. "type": "integer"
  12960. },
  12961. "curbuyposition": {
  12962. "description": "期末买头寸",
  12963. "type": "integer"
  12964. },
  12965. "cursellposition": {
  12966. "description": "期末卖头寸",
  12967. "type": "integer"
  12968. },
  12969. "curtdbuyposition": {
  12970. "description": "期末今日买头寸",
  12971. "type": "integer"
  12972. },
  12973. "curtdsellposition": {
  12974. "description": "期末今日卖头寸",
  12975. "type": "integer"
  12976. },
  12977. "curydbuyposition": {
  12978. "description": "期末上日买头寸",
  12979. "type": "integer"
  12980. },
  12981. "curydsellposition": {
  12982. "description": "期末上日卖头寸",
  12983. "type": "integer"
  12984. },
  12985. "decreaseqty": {
  12986. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  12987. "type": "integer"
  12988. },
  12989. "fretdbuyposition": {
  12990. "description": "冻结今日买头寸",
  12991. "type": "integer"
  12992. },
  12993. "fretdsellposition": {
  12994. "description": "冻结今日卖头寸",
  12995. "type": "integer"
  12996. },
  12997. "freydbuyposition": {
  12998. "description": "冻结上日买头寸",
  12999. "type": "integer"
  13000. },
  13001. "freydsellposition": {
  13002. "description": "冻结上日卖头寸",
  13003. "type": "integer"
  13004. },
  13005. "goodscode": {
  13006. "description": "商品代码",
  13007. "type": "string"
  13008. },
  13009. "goodsid": {
  13010. "description": "商品id",
  13011. "type": "integer"
  13012. },
  13013. "goodsname": {
  13014. "description": "商品名称",
  13015. "type": "string"
  13016. },
  13017. "hedgeaccountcode": {
  13018. "description": "对冲账号",
  13019. "type": "string"
  13020. },
  13021. "hedgegoodsid": {
  13022. "description": "对冲合约ID",
  13023. "type": "integer"
  13024. },
  13025. "increaseqty": {
  13026. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  13027. "type": "integer"
  13028. },
  13029. "marketid": {
  13030. "description": "市场ID",
  13031. "type": "integer"
  13032. },
  13033. "relateduserid": {
  13034. "description": "关联用户id",
  13035. "type": "integer"
  13036. },
  13037. "totalcurqty": {
  13038. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  13039. "type": "integer"
  13040. },
  13041. "totalydqty": {
  13042. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  13043. "type": "integer"
  13044. },
  13045. "tradedate": {
  13046. "description": "交易日(yyyyMMdd)",
  13047. "type": "string"
  13048. },
  13049. "ydbuyposition": {
  13050. "description": "期初买头寸",
  13051. "type": "integer"
  13052. },
  13053. "ydsellposition": {
  13054. "description": "期初卖头寸",
  13055. "type": "integer"
  13056. }
  13057. }
  13058. },
  13059. "models.ErmcpHedgePositionDetail": {
  13060. "type": "object",
  13061. "properties": {
  13062. "buyorsell": {
  13063. "description": "买卖方向 0-买 1-卖",
  13064. "type": "integer"
  13065. },
  13066. "channelbuildtype": {
  13067. "description": "开平方向 1-建仓 2-平仓",
  13068. "type": "integer"
  13069. },
  13070. "goodscode": {
  13071. "description": "商品代码",
  13072. "type": "string"
  13073. },
  13074. "goodsname": {
  13075. "description": "商品名称",
  13076. "type": "string"
  13077. },
  13078. "hedgegoodsid": {
  13079. "description": "商品id",
  13080. "type": "integer"
  13081. },
  13082. "tradeqty": {
  13083. "description": "数量(成交数量)",
  13084. "type": "integer"
  13085. },
  13086. "tradetime": {
  13087. "description": "时间(成交时间)",
  13088. "type": "string"
  13089. }
  13090. }
  13091. },
  13092. "models.ErmcpHisExposure": {
  13093. "type": "object",
  13094. "properties": {
  13095. "needhedgeexposoure": {
  13096. "description": "应套保敞口",
  13097. "type": "number"
  13098. },
  13099. "reckondate": {
  13100. "description": "日照时期(yyyyMMdd)",
  13101. "type": "string"
  13102. },
  13103. "totalexposure": {
  13104. "description": "总敞口",
  13105. "type": "number"
  13106. }
  13107. }
  13108. },
  13109. "models.ErmcpHisExposureS": {
  13110. "type": "object",
  13111. "properties": {
  13112. "data": {
  13113. "description": "历史敞口",
  13114. "type": "array",
  13115. "items": {
  13116. "$ref": "#/definitions/models.ErmcpHisExposure"
  13117. }
  13118. },
  13119. "enumdicname": {
  13120. "description": "单位名称",
  13121. "type": "string"
  13122. },
  13123. "middlegoodscode": {
  13124. "description": "套保品种代码",
  13125. "type": "string"
  13126. },
  13127. "middlegoodsid": {
  13128. "description": "套保品种ID",
  13129. "type": "integer"
  13130. },
  13131. "middlegoodsname": {
  13132. "description": "套保品种名称",
  13133. "type": "string"
  13134. }
  13135. }
  13136. },
  13137. "models.ErmcpLoginUser": {
  13138. "type": "object",
  13139. "properties": {
  13140. "accountname": {
  13141. "description": "用户名称",
  13142. "type": "string"
  13143. },
  13144. "clientroleid": {
  13145. "description": "角色id(usertype=2)",
  13146. "type": "integer"
  13147. },
  13148. "createtime": {
  13149. "description": "创建时间",
  13150. "type": "string"
  13151. },
  13152. "logincode": {
  13153. "description": "登录代码",
  13154. "type": "string"
  13155. },
  13156. "loginid": {
  13157. "description": "登录id(LOGINID)",
  13158. "type": "integer"
  13159. },
  13160. "loginstatus": {
  13161. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  13162. "type": "integer"
  13163. },
  13164. "memberuserid": {
  13165. "description": "所属会员id",
  13166. "type": "integer"
  13167. },
  13168. "modifytime": {
  13169. "description": "修改时间",
  13170. "type": "string"
  13171. },
  13172. "rolename": {
  13173. "description": "角色名称",
  13174. "type": "string"
  13175. },
  13176. "rolestatus": {
  13177. "description": "角色状态 1-启用 2-停用",
  13178. "type": "integer"
  13179. },
  13180. "roletype": {
  13181. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  13182. "type": "string"
  13183. },
  13184. "userid": {
  13185. "description": "用户id",
  13186. "type": "integer"
  13187. },
  13188. "usertype": {
  13189. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  13190. "type": "integer"
  13191. }
  13192. }
  13193. },
  13194. "models.ErmcpLoginUserEx": {
  13195. "type": "object",
  13196. "properties": {
  13197. "rolename": {
  13198. "description": "角色名称",
  13199. "type": "string"
  13200. },
  13201. "userlist": {
  13202. "description": "用户列表",
  13203. "type": "array",
  13204. "items": {
  13205. "$ref": "#/definitions/models.ErmcpLoginUser"
  13206. }
  13207. },
  13208. "usertype": {
  13209. "description": "用户类型 2-机构 7-企业成员(云平台)",
  13210. "type": "integer"
  13211. }
  13212. }
  13213. },
  13214. "models.ErmcpMiddleGoodsChangeLog": {
  13215. "type": "object",
  13216. "properties": {
  13217. "aftervalue": {
  13218. "description": "变更后",
  13219. "type": "number"
  13220. },
  13221. "applyid": {
  13222. "description": "操作人",
  13223. "type": "integer"
  13224. },
  13225. "applyname": {
  13226. "description": "操作人名称",
  13227. "type": "string"
  13228. },
  13229. "applysrc": {
  13230. "description": "操作来源 - 1:管理端 2:终端",
  13231. "type": "integer"
  13232. },
  13233. "beforevalue": {
  13234. "description": "变更前",
  13235. "type": "number"
  13236. },
  13237. "changelogtype": {
  13238. "description": "变更流水类型 - 1:套保比率变更",
  13239. "type": "integer"
  13240. },
  13241. "handlestatus": {
  13242. "description": "处理状态",
  13243. "type": "integer"
  13244. },
  13245. "logdatetime": {
  13246. "description": "流水日期",
  13247. "type": "string"
  13248. },
  13249. "logid": {
  13250. "description": "流水ID",
  13251. "type": "integer"
  13252. },
  13253. "logremark": {
  13254. "description": "流水备注",
  13255. "type": "string"
  13256. },
  13257. "middlegoodsid": {
  13258. "description": "套保品种ID",
  13259. "type": "integer"
  13260. },
  13261. "tradedate": {
  13262. "description": "交易日(yyyyMMdd)",
  13263. "type": "string"
  13264. },
  13265. "updatetime": {
  13266. "description": "更新时间",
  13267. "type": "string"
  13268. }
  13269. }
  13270. },
  13271. "models.ErmcpMiddleGoodsDetail": {
  13272. "type": "object",
  13273. "properties": {
  13274. "cvList": {
  13275. "description": "期货品种折算列表",
  13276. "type": "array",
  13277. "items": {
  13278. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13279. }
  13280. },
  13281. "mg": {
  13282. "description": "套保品种基本信息",
  13283. "type": "object",
  13284. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13285. },
  13286. "wrcList": {
  13287. "description": "现货品种列表(现货商品折算配置)",
  13288. "type": "array",
  13289. "items": {
  13290. "$ref": "#/definitions/models.WRSConverTDetail"
  13291. }
  13292. }
  13293. }
  13294. },
  13295. "models.ErmcpMiddleGoodsModel": {
  13296. "type": "object",
  13297. "properties": {
  13298. "areauserid": {
  13299. "description": "机构用户ID",
  13300. "type": "integer"
  13301. },
  13302. "createtime": {
  13303. "description": "修改时间",
  13304. "type": "string"
  13305. },
  13306. "enumdicname": {
  13307. "description": "单位名称",
  13308. "type": "string"
  13309. },
  13310. "evaluateratio": {
  13311. "description": "估价系数",
  13312. "type": "number"
  13313. },
  13314. "goodsgroupid": {
  13315. "description": "关联期货品种ID",
  13316. "type": "integer"
  13317. },
  13318. "isvalid": {
  13319. "description": "状态 0-无效(停用) 1-有效(正常)",
  13320. "type": "integer"
  13321. },
  13322. "middlegoodscode": {
  13323. "description": "套保品种代码",
  13324. "type": "string"
  13325. },
  13326. "middlegoodsid": {
  13327. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13328. "type": "integer"
  13329. },
  13330. "middlegoodsname": {
  13331. "description": "套保品种名称",
  13332. "type": "string"
  13333. },
  13334. "modifytime": {
  13335. "description": "修改时间",
  13336. "type": "string"
  13337. },
  13338. "needhedgeratio": {
  13339. "description": "套保比率",
  13340. "type": "number"
  13341. },
  13342. "qtydecimalplace": {
  13343. "description": "数量小数位",
  13344. "type": "integer"
  13345. },
  13346. "relatedgoodsid": {
  13347. "description": "关联交易商品ID",
  13348. "type": "integer"
  13349. },
  13350. "relatedgoodstype": {
  13351. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  13352. "type": "integer"
  13353. },
  13354. "remark": {
  13355. "description": "备注",
  13356. "type": "string"
  13357. }
  13358. }
  13359. },
  13360. "models.ErmcpModel": {
  13361. "type": "object",
  13362. "properties": {
  13363. "accountname": {
  13364. "description": "账户名称",
  13365. "type": "string"
  13366. },
  13367. "attachment": {
  13368. "description": "附件",
  13369. "type": "string"
  13370. },
  13371. "audittime": {
  13372. "description": "审核时间",
  13373. "type": "string"
  13374. },
  13375. "brandname": {
  13376. "description": "品牌名称",
  13377. "type": "string"
  13378. },
  13379. "contracctstatus": {
  13380. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13381. "type": "integer"
  13382. },
  13383. "contractmargin": {
  13384. "description": "合同保证金",
  13385. "type": "number"
  13386. },
  13387. "contractno": {
  13388. "description": "合同编号",
  13389. "type": "string"
  13390. },
  13391. "contracttype": {
  13392. "description": "合同类型 1-采购, -1-销售",
  13393. "type": "integer"
  13394. },
  13395. "convertfactor": {
  13396. "description": "标仓系数",
  13397. "type": "number"
  13398. },
  13399. "createtime": {
  13400. "description": "创建时间",
  13401. "type": "string"
  13402. },
  13403. "daikaiamount": {
  13404. "description": "应收(开)票额",
  13405. "type": "number"
  13406. },
  13407. "deliveryenddate": {
  13408. "description": "交割结束日",
  13409. "type": "string"
  13410. },
  13411. "deliverygoodscode": {
  13412. "description": "现货品种代码",
  13413. "type": "string"
  13414. },
  13415. "deliverygoodsid": {
  13416. "description": "现货商品ID",
  13417. "type": "integer"
  13418. },
  13419. "deliverygoodsname": {
  13420. "description": "现货品种名称",
  13421. "type": "string"
  13422. },
  13423. "deliverystartdate": {
  13424. "description": "交割开始日",
  13425. "type": "string"
  13426. },
  13427. "enddate": {
  13428. "description": "点价结束日",
  13429. "type": "string"
  13430. },
  13431. "enumdicname": {
  13432. "description": "单位名称",
  13433. "type": "string"
  13434. },
  13435. "goodscode": {
  13436. "description": "点价商品代码",
  13437. "type": "string"
  13438. },
  13439. "goodsid": {
  13440. "description": "点价商品ID",
  13441. "type": "integer"
  13442. },
  13443. "goodsname": {
  13444. "description": "点价商品名称",
  13445. "type": "string"
  13446. },
  13447. "invoiceamount": {
  13448. "description": "已开票额",
  13449. "type": "number"
  13450. },
  13451. "loanamount": {
  13452. "description": "贷款总额=已定价额+调整金额",
  13453. "type": "number"
  13454. },
  13455. "margin": {
  13456. "description": "保证金",
  13457. "type": "number"
  13458. },
  13459. "modelname": {
  13460. "description": "型号名称",
  13461. "type": "string"
  13462. },
  13463. "payamount": {
  13464. "description": "已收付额(收款或付款)",
  13465. "type": "number"
  13466. },
  13467. "preinvoiceamount": {
  13468. "description": "预收(开)票额",
  13469. "type": "number"
  13470. },
  13471. "prepayamount": {
  13472. "description": "预收付额",
  13473. "type": "number"
  13474. },
  13475. "price": {
  13476. "description": "价格",
  13477. "type": "number"
  13478. },
  13479. "pricedamount": {
  13480. "description": "已定价额",
  13481. "type": "number"
  13482. },
  13483. "pricedavg": {
  13484. "description": "已点均价",
  13485. "type": "number"
  13486. },
  13487. "pricedqty": {
  13488. "description": "已定价量",
  13489. "type": "number"
  13490. },
  13491. "pricemove": {
  13492. "description": "升贴水",
  13493. "type": "number"
  13494. },
  13495. "pricetype": {
  13496. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13497. "type": "integer"
  13498. },
  13499. "producttype": {
  13500. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13501. "type": "integer"
  13502. },
  13503. "qty": {
  13504. "description": "合同量",
  13505. "type": "number"
  13506. },
  13507. "reckonadjustamount": {
  13508. "description": "调整金额",
  13509. "type": "number"
  13510. },
  13511. "reckonedamount": {
  13512. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  13513. "type": "number"
  13514. },
  13515. "reckonotheramount": {
  13516. "description": "其它费用",
  13517. "type": "number"
  13518. },
  13519. "reckonrealqty": {
  13520. "description": "已确定量",
  13521. "type": "number"
  13522. },
  13523. "remark": {
  13524. "description": "备注",
  13525. "type": "string"
  13526. },
  13527. "spotcontractid": {
  13528. "description": "合同ID",
  13529. "type": "string"
  13530. },
  13531. "spotgoodsbrandid": {
  13532. "description": "现货品牌ID",
  13533. "type": "integer"
  13534. },
  13535. "spotgoodsdesc": {
  13536. "description": "商品型号(商品规格)",
  13537. "type": "string"
  13538. },
  13539. "spotgoodsmodelid": {
  13540. "description": "现货型号ID",
  13541. "type": "integer"
  13542. },
  13543. "startdate": {
  13544. "description": "点价开始日",
  13545. "type": "string"
  13546. },
  13547. "totalamount": {
  13548. "description": "合计总额",
  13549. "type": "number"
  13550. },
  13551. "unpayamount": {
  13552. "description": "应收付款额(应支付或应收款)",
  13553. "type": "number"
  13554. },
  13555. "unpricedqty": {
  13556. "description": "未定价量",
  13557. "type": "number"
  13558. },
  13559. "unsureqty": {
  13560. "description": "未确定量",
  13561. "type": "number"
  13562. },
  13563. "userid": {
  13564. "description": "用户ID",
  13565. "type": "integer"
  13566. },
  13567. "wrstandardcode": {
  13568. "description": "现货商品代码",
  13569. "type": "string"
  13570. },
  13571. "wrstandardid": {
  13572. "description": "现货商品ID",
  13573. "type": "integer"
  13574. },
  13575. "wrstandardname": {
  13576. "description": "现货商品名称",
  13577. "type": "string"
  13578. }
  13579. }
  13580. },
  13581. "models.ErmcpOPLogModel": {
  13582. "type": "object",
  13583. "properties": {
  13584. "aftervalue": {
  13585. "description": "变更后",
  13586. "type": "number"
  13587. },
  13588. "applyid": {
  13589. "description": "操作人ID",
  13590. "type": "string"
  13591. },
  13592. "applyname": {
  13593. "description": "操作人名称",
  13594. "type": "string"
  13595. },
  13596. "beforevalue": {
  13597. "description": "变更前",
  13598. "type": "number"
  13599. },
  13600. "biztype": {
  13601. "description": "业务类型 - 1:套保计划 2:现货合同",
  13602. "type": "integer"
  13603. },
  13604. "contracttype": {
  13605. "description": "现货合同类型 - 1:采购 -1:销售",
  13606. "type": "integer"
  13607. },
  13608. "logvalue": {
  13609. "description": "数值",
  13610. "type": "number"
  13611. },
  13612. "operatelogtype": {
  13613. "description": "操作流水类型",
  13614. "type": "integer"
  13615. },
  13616. "operatelogtypedesc": {
  13617. "description": "操作流水类型名称",
  13618. "type": "string"
  13619. },
  13620. "relatedid": {
  13621. "description": "现货合同ID\\套保计划",
  13622. "type": "string"
  13623. },
  13624. "updatetime": {
  13625. "description": "更新时间",
  13626. "type": "string"
  13627. }
  13628. }
  13629. },
  13630. "models.ErmcpPendingAudit": {
  13631. "type": "object",
  13632. "properties": {
  13633. "areastockqty": {
  13634. "description": "待审核数量: 库存申请",
  13635. "type": "integer"
  13636. },
  13637. "businessdjqty": {
  13638. "description": "待审核数量: 点价",
  13639. "type": "integer"
  13640. },
  13641. "businessfpqty": {
  13642. "description": "待审核数量: 发票",
  13643. "type": "integer"
  13644. },
  13645. "businessjsqty": {
  13646. "description": "待审核数量: 结算",
  13647. "type": "integer"
  13648. },
  13649. "businesskxqty": {
  13650. "description": "待审核数量: 款项",
  13651. "type": "integer"
  13652. },
  13653. "hedgeplanqty": {
  13654. "description": "待审核数量: 套保计划",
  13655. "type": "integer"
  13656. },
  13657. "spotcontractqty": {
  13658. "description": "待审核数量: 现货合同",
  13659. "type": "integer"
  13660. },
  13661. "userqty": {
  13662. "description": "待审核数量: 用户",
  13663. "type": "integer"
  13664. }
  13665. }
  13666. },
  13667. "models.ErmcpRealExposureModel": {
  13668. "type": "object",
  13669. "properties": {
  13670. "AreaUserID": {
  13671. "description": "所属机构",
  13672. "type": "integer"
  13673. },
  13674. "BuyFutureQty": {
  13675. "description": "买入期货数量",
  13676. "type": "number"
  13677. },
  13678. "BuyPlanQty": {
  13679. "description": "采购计划数量",
  13680. "type": "number"
  13681. },
  13682. "BuyPricedQty": {
  13683. "description": "采购合同已定价数量",
  13684. "type": "number"
  13685. },
  13686. "MiddleGoodsCode": {
  13687. "description": "套保品种代码",
  13688. "type": "string"
  13689. },
  13690. "MiddleGoodsHedgeRatio": {
  13691. "description": "应套保比例",
  13692. "type": "number"
  13693. },
  13694. "MiddleGoodsID": {
  13695. "description": "套保品种",
  13696. "type": "integer"
  13697. },
  13698. "MiddleGoodsName": {
  13699. "description": "套保品种名称",
  13700. "type": "string"
  13701. },
  13702. "NeedHedgeExposoure": {
  13703. "description": "应套保敞口",
  13704. "type": "number"
  13705. },
  13706. "NeedHedgeRatio": {
  13707. "description": "应套保敞口比例",
  13708. "type": "number"
  13709. },
  13710. "OriBuyFutureQty": {
  13711. "description": "期初买入期货数量",
  13712. "type": "number"
  13713. },
  13714. "OriBuyPlanQty": {
  13715. "description": "期初采购计划数量",
  13716. "type": "number"
  13717. },
  13718. "OriBuyPricedQty": {
  13719. "description": "期初采购合同已定价数量",
  13720. "type": "number"
  13721. },
  13722. "OriSellFutureQty": {
  13723. "description": "期初卖出期货数量",
  13724. "type": "number"
  13725. },
  13726. "OriSellPlanQty": {
  13727. "description": "期初销售计划数量",
  13728. "type": "number"
  13729. },
  13730. "OriSellPricedQty": {
  13731. "description": "期初销售合同已定价数量",
  13732. "type": "number"
  13733. },
  13734. "SellFutureQty": {
  13735. "description": "卖出期货数量",
  13736. "type": "number"
  13737. },
  13738. "SellPlanQty": {
  13739. "description": "销售计划数量",
  13740. "type": "number"
  13741. },
  13742. "SellPricedQty": {
  13743. "description": "销售合同已定价数量",
  13744. "type": "number"
  13745. },
  13746. "TotalExposure": {
  13747. "description": "总敞口",
  13748. "type": "number"
  13749. },
  13750. "TotalFutureQty": {
  13751. "description": "期货数量",
  13752. "type": "number"
  13753. },
  13754. "TotalHedgeRatio": {
  13755. "description": "敞口比例",
  13756. "type": "number"
  13757. },
  13758. "TotalNeedHedgeQty": {
  13759. "description": "期货应套保量",
  13760. "type": "number"
  13761. },
  13762. "TotalSpotQty": {
  13763. "description": "现货数量",
  13764. "type": "number"
  13765. },
  13766. "diffFutuQty": {
  13767. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  13768. "type": "number"
  13769. },
  13770. "diffSpotQty": {
  13771. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  13772. "type": "number"
  13773. },
  13774. "enumdicname": {
  13775. "description": "单位名称",
  13776. "type": "string"
  13777. },
  13778. "oriTotalFutuQty": {
  13779. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  13780. "type": "number"
  13781. },
  13782. "oriTotalSpotQty": {
  13783. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  13784. "type": "number"
  13785. }
  13786. }
  13787. },
  13788. "models.ErmcpRelatedGoods": {
  13789. "type": "object",
  13790. "properties": {
  13791. "deliverygoodsid": {
  13792. "description": "品种ID",
  13793. "type": "integer"
  13794. },
  13795. "goodscode": {
  13796. "description": "商品代码",
  13797. "type": "string"
  13798. },
  13799. "goodsid": {
  13800. "description": "商品id",
  13801. "type": "integer"
  13802. },
  13803. "goodsname": {
  13804. "description": "商品名称",
  13805. "type": "string"
  13806. }
  13807. }
  13808. },
  13809. "models.ErmcpReportAreaSpotPL": {
  13810. "type": "object",
  13811. "properties": {
  13812. "actualpl": {
  13813. "description": "实际损益",
  13814. "type": "number"
  13815. },
  13816. "areauserid": {
  13817. "description": "所属机构",
  13818. "type": "integer"
  13819. },
  13820. "brandname": {
  13821. "description": "品牌名称",
  13822. "type": "string"
  13823. },
  13824. "curamount": {
  13825. "description": "期末额",
  13826. "type": "number"
  13827. },
  13828. "curaverageprice": {
  13829. "description": "期末均价",
  13830. "type": "number"
  13831. },
  13832. "curbuyamount": {
  13833. "description": "期末采购总额(采购额)",
  13834. "type": "number"
  13835. },
  13836. "curbuyqty": {
  13837. "description": "期末采购总量",
  13838. "type": "number"
  13839. },
  13840. "curmarketvalue": {
  13841. "description": "参考市值",
  13842. "type": "number"
  13843. },
  13844. "curqty": {
  13845. "description": "期末量",
  13846. "type": "number"
  13847. },
  13848. "cursellamount": {
  13849. "description": "期末销售总额(销售额)",
  13850. "type": "number"
  13851. },
  13852. "cursellqty": {
  13853. "description": "期末销售总量",
  13854. "type": "number"
  13855. },
  13856. "curspotprice": {
  13857. "description": "参考市价",
  13858. "type": "number"
  13859. },
  13860. "enumdicname": {
  13861. "description": "现货商品单位名称",
  13862. "type": "string"
  13863. },
  13864. "floatpl": {
  13865. "description": "浮动损益",
  13866. "type": "number"
  13867. },
  13868. "gbenumdicname": {
  13869. "description": "品类单位名称",
  13870. "type": "string"
  13871. },
  13872. "gbunitid": {
  13873. "description": "品类单位id",
  13874. "type": "integer"
  13875. },
  13876. "modelname": {
  13877. "description": "品类名称",
  13878. "type": "string"
  13879. },
  13880. "oriamount": {
  13881. "description": "期初额",
  13882. "type": "number"
  13883. },
  13884. "oriaverageprice": {
  13885. "description": "期初均价",
  13886. "type": "number"
  13887. },
  13888. "oribuyamount": {
  13889. "description": "期初采购总额",
  13890. "type": "number"
  13891. },
  13892. "oribuyqty": {
  13893. "description": "期初采购总量",
  13894. "type": "number"
  13895. },
  13896. "oriqty": {
  13897. "description": "期初量",
  13898. "type": "number"
  13899. },
  13900. "orisellamount": {
  13901. "description": "期初销售总额",
  13902. "type": "number"
  13903. },
  13904. "orisellqty": {
  13905. "description": "期初销售总量",
  13906. "type": "number"
  13907. },
  13908. "spotgoodsbrandid": {
  13909. "description": "现货品牌ID",
  13910. "type": "integer"
  13911. },
  13912. "spotgoodsmodelid": {
  13913. "description": "现货品类ID",
  13914. "type": "integer"
  13915. },
  13916. "todaybuyamount": {
  13917. "description": "今日采购额",
  13918. "type": "number"
  13919. },
  13920. "todaybuyaverageprice": {
  13921. "description": "今日采购均价(采购均价)",
  13922. "type": "number"
  13923. },
  13924. "todaybuyqty": {
  13925. "description": "今日采购量(采购增量)",
  13926. "type": "number"
  13927. },
  13928. "todaysellamount": {
  13929. "description": "今日销售额",
  13930. "type": "number"
  13931. },
  13932. "todaysellaverageprice": {
  13933. "description": "今日销售均价(销售均价)",
  13934. "type": "number"
  13935. },
  13936. "todaysellqty": {
  13937. "description": "今日销售量(销售增量)",
  13938. "type": "number"
  13939. },
  13940. "unitid": {
  13941. "description": "现货商品单位id",
  13942. "type": "integer"
  13943. },
  13944. "updatetime": {
  13945. "description": "更新时间",
  13946. "type": "string"
  13947. },
  13948. "wrstandardcode": {
  13949. "description": "现货商品代码",
  13950. "type": "string"
  13951. },
  13952. "wrstandardid": {
  13953. "description": "现货商品ID",
  13954. "type": "integer"
  13955. },
  13956. "wrstandardname": {
  13957. "description": "现货商品名称",
  13958. "type": "string"
  13959. }
  13960. }
  13961. },
  13962. "models.ErmcpReportDayExposure": {
  13963. "type": "object",
  13964. "properties": {
  13965. "areauserid": {
  13966. "description": "所属机构",
  13967. "type": "integer"
  13968. },
  13969. "buyfutureqty": {
  13970. "description": "买入期货数量",
  13971. "type": "number"
  13972. },
  13973. "buyplanqty": {
  13974. "description": "采购计划数量",
  13975. "type": "number"
  13976. },
  13977. "buypricedqty": {
  13978. "description": "采购合同已定价数量",
  13979. "type": "number"
  13980. },
  13981. "diffFutuQty": {
  13982. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  13983. "type": "number"
  13984. },
  13985. "diffSpotQty": {
  13986. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  13987. "type": "number"
  13988. },
  13989. "enumdicname": {
  13990. "description": "单位名称",
  13991. "type": "string"
  13992. },
  13993. "middlegoodscode": {
  13994. "description": "套保品种代码",
  13995. "type": "string"
  13996. },
  13997. "middlegoodshedgeratio": {
  13998. "description": "应套保比例",
  13999. "type": "number"
  14000. },
  14001. "middlegoodsid": {
  14002. "description": "套保品种ID",
  14003. "type": "integer"
  14004. },
  14005. "middlegoodsname": {
  14006. "description": "套保品种名称",
  14007. "type": "string"
  14008. },
  14009. "needhedgeexposoure": {
  14010. "description": "应套保敞口",
  14011. "type": "number"
  14012. },
  14013. "needhedgeratio": {
  14014. "description": "应套保敞口比例",
  14015. "type": "number"
  14016. },
  14017. "oriTotalFutuQty": {
  14018. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  14019. "type": "number"
  14020. },
  14021. "oriTotalSpotQty": {
  14022. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  14023. "type": "number"
  14024. },
  14025. "oribuyfutureqty": {
  14026. "description": "期初买入期货数量",
  14027. "type": "number"
  14028. },
  14029. "oribuyplanqty": {
  14030. "description": "期初采购计划数量",
  14031. "type": "number"
  14032. },
  14033. "oribuypricedqty": {
  14034. "description": "期初采购合同已定价数量",
  14035. "type": "number"
  14036. },
  14037. "orisellfutureqty": {
  14038. "description": "期初卖出期货数量",
  14039. "type": "number"
  14040. },
  14041. "orisellplanqty": {
  14042. "description": "期初销售计划数量",
  14043. "type": "number"
  14044. },
  14045. "orisellpricedqty": {
  14046. "description": "期初销售合同已定价数量",
  14047. "type": "number"
  14048. },
  14049. "reckondate": {
  14050. "description": "日照时期(yyyyMMdd)",
  14051. "type": "string"
  14052. },
  14053. "sellfutureqty": {
  14054. "description": "卖出期货数量",
  14055. "type": "number"
  14056. },
  14057. "sellplanqty": {
  14058. "description": "销售计划数量",
  14059. "type": "number"
  14060. },
  14061. "sellpricedqty": {
  14062. "description": "销售合同已定价数量",
  14063. "type": "number"
  14064. },
  14065. "totalexposure": {
  14066. "description": "总敞口",
  14067. "type": "number"
  14068. },
  14069. "totalfutureqty": {
  14070. "description": "期货数量",
  14071. "type": "number"
  14072. },
  14073. "totalhedgeratio": {
  14074. "description": "敞口比例",
  14075. "type": "number"
  14076. },
  14077. "totalneedhedgeqty": {
  14078. "description": "期货应套保量",
  14079. "type": "number"
  14080. },
  14081. "totalspotqty": {
  14082. "description": "现货数量",
  14083. "type": "number"
  14084. }
  14085. }
  14086. },
  14087. "models.ErmcpReportDayFR": {
  14088. "type": "object",
  14089. "properties": {
  14090. "areauserid": {
  14091. "description": "所属机构",
  14092. "type": "integer"
  14093. },
  14094. "collectinvoiceamount": {
  14095. "description": "今日开票金额",
  14096. "type": "number"
  14097. },
  14098. "collectinvoicecount": {
  14099. "description": "今日开票笔数",
  14100. "type": "integer"
  14101. },
  14102. "collectmoneyamount": {
  14103. "description": "今日收款金额",
  14104. "type": "number"
  14105. },
  14106. "collectmoneycount": {
  14107. "description": "今日收款笔数",
  14108. "type": "integer"
  14109. },
  14110. "payinvoiceamount": {
  14111. "description": "今日收票金额",
  14112. "type": "number"
  14113. },
  14114. "payinvoicecount": {
  14115. "description": "今日收票笔数",
  14116. "type": "integer"
  14117. },
  14118. "paymoneyamount": {
  14119. "description": "今日付款金额",
  14120. "type": "number"
  14121. },
  14122. "paymoneycount": {
  14123. "description": "今日付款笔数",
  14124. "type": "integer"
  14125. },
  14126. "reckondate": {
  14127. "description": "日照时期(yyyyMMdd)",
  14128. "type": "string"
  14129. },
  14130. "updatetime": {
  14131. "description": "更新时间",
  14132. "type": "string"
  14133. }
  14134. }
  14135. },
  14136. "models.ErmcpReportDaySpot": {
  14137. "type": "object",
  14138. "properties": {
  14139. "areauserid": {
  14140. "description": "所属机构T",
  14141. "type": "integer"
  14142. },
  14143. "buyinqty": {
  14144. "description": "采购入库量",
  14145. "type": "number"
  14146. },
  14147. "enumdicname": {
  14148. "description": "现货商品单位名称",
  14149. "type": "string"
  14150. },
  14151. "reckondate": {
  14152. "description": "日照时期(yyyyMMdd)",
  14153. "type": "string"
  14154. },
  14155. "selloutqty": {
  14156. "description": "销售出库量",
  14157. "type": "number"
  14158. },
  14159. "todaybuyreckonqty": {
  14160. "description": "采购确定量",
  14161. "type": "number"
  14162. },
  14163. "todaysellreckonqty": {
  14164. "description": "销售确定量",
  14165. "type": "number"
  14166. },
  14167. "totalbuypricedqty": {
  14168. "description": "采购定价量 = 期末 - 期初",
  14169. "type": "number"
  14170. },
  14171. "totalsellpricedqty": {
  14172. "description": "销售定价量 = 期末 - 期初",
  14173. "type": "number"
  14174. },
  14175. "wrstandardcode": {
  14176. "description": "现货商品代码",
  14177. "type": "string"
  14178. },
  14179. "wrstandardid": {
  14180. "description": "现货商品ID",
  14181. "type": "integer"
  14182. },
  14183. "wrstandardname": {
  14184. "description": "现货商品名称",
  14185. "type": "string"
  14186. }
  14187. }
  14188. },
  14189. "models.ErmcpReportMonSpot": {
  14190. "type": "object",
  14191. "properties": {
  14192. "areauserid": {
  14193. "description": "所属机构T",
  14194. "type": "integer"
  14195. },
  14196. "buyinqty": {
  14197. "description": "采购入库量",
  14198. "type": "number"
  14199. },
  14200. "cycletime": {
  14201. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14202. "type": "string"
  14203. },
  14204. "cycletype": {
  14205. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14206. "type": "integer"
  14207. },
  14208. "enumdicname": {
  14209. "description": "现货商品单位名称",
  14210. "type": "string"
  14211. },
  14212. "selloutqty": {
  14213. "description": "销售出库量",
  14214. "type": "number"
  14215. },
  14216. "todaybuyreckonqty": {
  14217. "description": "采购确定量",
  14218. "type": "number"
  14219. },
  14220. "todaysellreckonqty": {
  14221. "description": "销售确定量",
  14222. "type": "number"
  14223. },
  14224. "totalbuypricedqty": {
  14225. "description": "采购定价量 = 期末 - 期初",
  14226. "type": "number"
  14227. },
  14228. "totalsellpricedqty": {
  14229. "description": "销售定价量 = 期末 - 期初",
  14230. "type": "number"
  14231. },
  14232. "wrstandardcode": {
  14233. "description": "现货商品代码",
  14234. "type": "string"
  14235. },
  14236. "wrstandardid": {
  14237. "description": "现货商品ID",
  14238. "type": "integer"
  14239. },
  14240. "wrstandardname": {
  14241. "description": "现货商品名称",
  14242. "type": "string"
  14243. }
  14244. }
  14245. },
  14246. "models.ErmcpReportMonthFR": {
  14247. "type": "object",
  14248. "properties": {
  14249. "areauserid": {
  14250. "description": "所属机构【原值】",
  14251. "type": "integer"
  14252. },
  14253. "collectinvoiceamount": {
  14254. "description": "今日开票金额【汇总】",
  14255. "type": "number"
  14256. },
  14257. "collectinvoicecount": {
  14258. "description": "今日开票笔数【汇总】",
  14259. "type": "integer"
  14260. },
  14261. "collectmoneyamount": {
  14262. "description": "今日收款金额【汇总】",
  14263. "type": "number"
  14264. },
  14265. "collectmoneycount": {
  14266. "description": "今日收款笔数 【汇总】",
  14267. "type": "integer"
  14268. },
  14269. "cycletime": {
  14270. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14271. "type": "string"
  14272. },
  14273. "cycletype": {
  14274. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14275. "type": "integer"
  14276. },
  14277. "dayFr": {
  14278. "description": "日报表明细",
  14279. "type": "array",
  14280. "items": {
  14281. "$ref": "#/definitions/models.ErmcpReportDayFR"
  14282. }
  14283. },
  14284. "payinvoiceamount": {
  14285. "description": "今日收票金额【汇总】",
  14286. "type": "number"
  14287. },
  14288. "payinvoicecount": {
  14289. "description": "今日收票笔数【汇总】",
  14290. "type": "integer"
  14291. },
  14292. "paymoneyamount": {
  14293. "description": "今日付款金额【汇总】",
  14294. "type": "number"
  14295. },
  14296. "paymoneycount": {
  14297. "description": "今日付款笔数【汇总】",
  14298. "type": "integer"
  14299. },
  14300. "updatetime": {
  14301. "description": "更新时间",
  14302. "type": "string"
  14303. }
  14304. }
  14305. },
  14306. "models.ErmcpReportOPLog": {
  14307. "type": "object",
  14308. "properties": {
  14309. "applyid": {
  14310. "description": "操作人",
  14311. "type": "integer"
  14312. },
  14313. "applyname": {
  14314. "description": "操作人名称",
  14315. "type": "string"
  14316. },
  14317. "biztype": {
  14318. "description": "业务类型 - 1:套保计划 2:现货合同",
  14319. "type": "integer"
  14320. },
  14321. "brandname": {
  14322. "description": "品牌名称",
  14323. "type": "string"
  14324. },
  14325. "contracttype": {
  14326. "description": "现货合同类型 - 1:采购 -1:销售",
  14327. "type": "integer"
  14328. },
  14329. "enumdicName": {
  14330. "description": "单位名称",
  14331. "type": "string"
  14332. },
  14333. "logdatetime": {
  14334. "description": "流水日期(时间)",
  14335. "type": "string"
  14336. },
  14337. "logid": {
  14338. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14339. "type": "string"
  14340. },
  14341. "logtypename": {
  14342. "description": "合同类型(名称)",
  14343. "type": "string"
  14344. },
  14345. "logvalue": {
  14346. "description": "数值",
  14347. "type": "string"
  14348. },
  14349. "modelname": {
  14350. "description": "型号名称",
  14351. "type": "string"
  14352. },
  14353. "operatelogtype": {
  14354. "description": "操作流水类型 -",
  14355. "type": "integer"
  14356. },
  14357. "optypename": {
  14358. "description": "流水类型名称",
  14359. "type": "string"
  14360. },
  14361. "relatedid": {
  14362. "description": "现货合同ID\\套保计划",
  14363. "type": "string"
  14364. },
  14365. "relatedno": {
  14366. "description": "合同编号",
  14367. "type": "string"
  14368. },
  14369. "tradedate": {
  14370. "description": "交易日(yyyyMMdd)",
  14371. "type": "string"
  14372. },
  14373. "userid": {
  14374. "description": "机构ID",
  14375. "type": "integer"
  14376. },
  14377. "wrstandardcode": {
  14378. "description": "现货商品代码",
  14379. "type": "string"
  14380. },
  14381. "wrstandardid": {
  14382. "description": "现货商品ID",
  14383. "type": "integer"
  14384. },
  14385. "wrstandardname": {
  14386. "description": "现货商品名称",
  14387. "type": "string"
  14388. }
  14389. }
  14390. },
  14391. "models.ErmcpRole": {
  14392. "type": "object",
  14393. "properties": {
  14394. "areauserid": {
  14395. "description": "所属机构",
  14396. "type": "integer"
  14397. },
  14398. "autoid": {
  14399. "description": "角色ID(自增ID)",
  14400. "type": "integer"
  14401. },
  14402. "modifierid": {
  14403. "description": "修改人(创建人)",
  14404. "type": "integer"
  14405. },
  14406. "modifiername": {
  14407. "description": "修改人名称",
  14408. "type": "string"
  14409. },
  14410. "modifytime": {
  14411. "description": "修改时间(创建时间)",
  14412. "type": "string"
  14413. },
  14414. "rolename": {
  14415. "description": "角色名称",
  14416. "type": "string"
  14417. },
  14418. "rolestatus": {
  14419. "description": "角色状态 - 1:启用 2:停用",
  14420. "type": "integer"
  14421. },
  14422. "roletype": {
  14423. "description": "角色类型 - 1- 管理端 2- 交易端",
  14424. "type": "integer"
  14425. }
  14426. }
  14427. },
  14428. "models.ErmcpRoleMenu": {
  14429. "type": "object",
  14430. "properties": {
  14431. "iconame": {
  14432. "description": "菜单图标",
  14433. "type": "string"
  14434. },
  14435. "menutype": {
  14436. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  14437. "type": "integer"
  14438. },
  14439. "parentcode": {
  14440. "description": "上级资源代码",
  14441. "type": "string"
  14442. },
  14443. "remark": {
  14444. "description": "菜单备注",
  14445. "type": "string"
  14446. },
  14447. "resourcecode": {
  14448. "description": "菜单代码",
  14449. "type": "string"
  14450. },
  14451. "resourcelevel": {
  14452. "description": "级别",
  14453. "type": "integer"
  14454. },
  14455. "resourcename": {
  14456. "description": "菜单名称",
  14457. "type": "string"
  14458. },
  14459. "roleid": {
  14460. "description": "角色id",
  14461. "type": "integer"
  14462. },
  14463. "sort": {
  14464. "description": "排序",
  14465. "type": "integer"
  14466. },
  14467. "url": {
  14468. "description": "URL",
  14469. "type": "string"
  14470. },
  14471. "userid": {
  14472. "description": "用户id",
  14473. "type": "integer"
  14474. }
  14475. }
  14476. },
  14477. "models.ErmcpRoleMenuEx": {
  14478. "type": "object",
  14479. "properties": {
  14480. "menu": {
  14481. "description": "父级菜单",
  14482. "type": "object",
  14483. "$ref": "#/definitions/models.ErmcpRoleMenu"
  14484. },
  14485. "subMenu": {
  14486. "description": "子级菜单",
  14487. "type": "array",
  14488. "items": {
  14489. "$ref": "#/definitions/models.ErmcpRoleMenu"
  14490. }
  14491. }
  14492. }
  14493. },
  14494. "models.ErmcpSpotContractModel": {
  14495. "type": "object",
  14496. "properties": {
  14497. "amount": {
  14498. "description": "金额 [1:一口价、3:暂定价]",
  14499. "type": "number"
  14500. },
  14501. "attachment": {
  14502. "description": "附件",
  14503. "type": "string"
  14504. },
  14505. "auditremark": {
  14506. "description": "审核意见",
  14507. "type": "string"
  14508. },
  14509. "audittime": {
  14510. "description": "审核时间",
  14511. "type": "string"
  14512. },
  14513. "brandname": {
  14514. "description": "品牌名称",
  14515. "type": "string"
  14516. },
  14517. "buyuserid": {
  14518. "description": "采购方ID",
  14519. "type": "integer"
  14520. },
  14521. "buyusername": {
  14522. "description": "采购方名称",
  14523. "type": "string"
  14524. },
  14525. "contracctstatus": {
  14526. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14527. "type": "integer"
  14528. },
  14529. "contractmargin": {
  14530. "description": "合同保证金",
  14531. "type": "number"
  14532. },
  14533. "contractno": {
  14534. "description": "现货合同编号",
  14535. "type": "string"
  14536. },
  14537. "contracttype": {
  14538. "description": "现货合同类型 - 1:采购 -1:销售",
  14539. "type": "integer"
  14540. },
  14541. "convertfactor": {
  14542. "description": "标仓系数",
  14543. "type": "number"
  14544. },
  14545. "createtime": {
  14546. "description": "创建时间",
  14547. "type": "string"
  14548. },
  14549. "deliveryenddate": {
  14550. "description": "交收期(结束)",
  14551. "type": "string"
  14552. },
  14553. "deliverygoodscode": {
  14554. "description": "现货品种代码",
  14555. "type": "string"
  14556. },
  14557. "deliverygoodsid": {
  14558. "description": "现货品种ID",
  14559. "type": "integer"
  14560. },
  14561. "deliverygoodsname": {
  14562. "description": "现货品种名称",
  14563. "type": "string"
  14564. },
  14565. "deliverystartdate": {
  14566. "description": "交收期(开始)",
  14567. "type": "string"
  14568. },
  14569. "enddate": {
  14570. "description": "点价结束日期 [2:点价 3:暂定价]",
  14571. "type": "string"
  14572. },
  14573. "enumdicname": {
  14574. "description": "单位名称",
  14575. "type": "string"
  14576. },
  14577. "goodscode": {
  14578. "description": "点价合约代码",
  14579. "type": "string"
  14580. },
  14581. "goodsid": {
  14582. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14583. "type": "integer"
  14584. },
  14585. "goodsname": {
  14586. "description": "点价商品名称",
  14587. "type": "string"
  14588. },
  14589. "margin": {
  14590. "description": "当前保证金",
  14591. "type": "number"
  14592. },
  14593. "modelname": {
  14594. "description": "型号名称",
  14595. "type": "string"
  14596. },
  14597. "price": {
  14598. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14599. "type": "number"
  14600. },
  14601. "pricemove": {
  14602. "description": "升贴水 [2:点价 3:暂定价]",
  14603. "type": "number"
  14604. },
  14605. "pricetype": {
  14606. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14607. "type": "integer"
  14608. },
  14609. "producttype": {
  14610. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14611. "type": "integer"
  14612. },
  14613. "qty": {
  14614. "description": "数量",
  14615. "type": "number"
  14616. },
  14617. "remark": {
  14618. "description": "备注",
  14619. "type": "string"
  14620. },
  14621. "selluserid": {
  14622. "description": "销售方ID",
  14623. "type": "integer"
  14624. },
  14625. "sellusername": {
  14626. "description": "销售方名称",
  14627. "type": "string"
  14628. },
  14629. "spotcontractid": {
  14630. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14631. "type": "string"
  14632. },
  14633. "spotgoodsbrandid": {
  14634. "description": "现货品牌ID",
  14635. "type": "integer"
  14636. },
  14637. "spotgoodsdesc": {
  14638. "description": "商品型号",
  14639. "type": "string"
  14640. },
  14641. "spotgoodsmodelid": {
  14642. "description": "现货型号ID",
  14643. "type": "integer"
  14644. },
  14645. "startdate": {
  14646. "description": "点价开始日期 [2:点价 3:暂定价]",
  14647. "type": "string"
  14648. },
  14649. "updatetime": {
  14650. "description": "更新时间",
  14651. "type": "string"
  14652. },
  14653. "userid": {
  14654. "description": "机构ID",
  14655. "type": "integer"
  14656. },
  14657. "wrstandardcode": {
  14658. "description": "现货商品代码",
  14659. "type": "string"
  14660. },
  14661. "wrstandardid": {
  14662. "description": "现货商品ID",
  14663. "type": "integer"
  14664. },
  14665. "wrstandardname": {
  14666. "description": "现货商品名称",
  14667. "type": "string"
  14668. }
  14669. }
  14670. },
  14671. "models.ErmcpSpotGoodsPrice": {
  14672. "type": "object",
  14673. "properties": {
  14674. "areauserid": {
  14675. "description": "所属机构id",
  14676. "type": "integer"
  14677. },
  14678. "brandname": {
  14679. "description": "品牌名称",
  14680. "type": "string"
  14681. },
  14682. "currencyid": {
  14683. "description": "报价货币ID",
  14684. "type": "integer"
  14685. },
  14686. "enumdicname": {
  14687. "description": "现货商品单位名称",
  14688. "type": "string"
  14689. },
  14690. "gbenumdicname": {
  14691. "description": "品类单位名称",
  14692. "type": "string"
  14693. },
  14694. "gmunitid": {
  14695. "description": "品类单位id",
  14696. "type": "integer"
  14697. },
  14698. "isvalid": {
  14699. "description": "是否有效 - 0:无效 1:有效",
  14700. "type": "integer"
  14701. },
  14702. "modelname": {
  14703. "description": "品类名称",
  14704. "type": "string"
  14705. },
  14706. "operateid": {
  14707. "description": "最后操作人",
  14708. "type": "integer"
  14709. },
  14710. "operatesrc": {
  14711. "description": "最后操作来源 - 1:管理端 2:终端",
  14712. "type": "integer"
  14713. },
  14714. "operatetime": {
  14715. "description": "最后操作时间",
  14716. "type": "string"
  14717. },
  14718. "operatorname": {
  14719. "description": "操作人名称",
  14720. "type": "string"
  14721. },
  14722. "spotgoodsbrandid": {
  14723. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14724. "type": "integer"
  14725. },
  14726. "spotgoodsmodelid": {
  14727. "description": "现货品类ID(通用则为0)",
  14728. "type": "integer"
  14729. },
  14730. "spotgoodsprice": {
  14731. "description": "现货价格",
  14732. "type": "number"
  14733. },
  14734. "tradedate": {
  14735. "description": "交易日(yyyyMMdd)",
  14736. "type": "string"
  14737. },
  14738. "unitid": {
  14739. "description": "现货商品单位id",
  14740. "type": "integer"
  14741. },
  14742. "wrstandardcode": {
  14743. "description": "现货商品代码",
  14744. "type": "string"
  14745. },
  14746. "wrstandardid": {
  14747. "description": "现货商品ID",
  14748. "type": "integer"
  14749. },
  14750. "wrstandardname": {
  14751. "description": "现货商品名称",
  14752. "type": "string"
  14753. }
  14754. }
  14755. },
  14756. "models.ErmcpSpotGoodsPriceLog": {
  14757. "type": "object",
  14758. "properties": {
  14759. "areauserid": {
  14760. "description": "所属机构id",
  14761. "type": "integer"
  14762. },
  14763. "brandname": {
  14764. "description": "品牌名称",
  14765. "type": "string"
  14766. },
  14767. "currencyid": {
  14768. "description": "报价货币ID",
  14769. "type": "integer"
  14770. },
  14771. "enumdicname": {
  14772. "description": "现货商品单位名称",
  14773. "type": "string"
  14774. },
  14775. "gbenumdicname": {
  14776. "description": "品类单位名称",
  14777. "type": "string"
  14778. },
  14779. "gmunitid": {
  14780. "description": "品类单位id",
  14781. "type": "integer"
  14782. },
  14783. "logid": {
  14784. "description": "日志id",
  14785. "type": "integer"
  14786. },
  14787. "modelname": {
  14788. "description": "品类名称",
  14789. "type": "string"
  14790. },
  14791. "operateid": {
  14792. "description": "最后操作人",
  14793. "type": "integer"
  14794. },
  14795. "operatesrc": {
  14796. "description": "最后操作来源 - 1:管理端 2:终端",
  14797. "type": "integer"
  14798. },
  14799. "operatetime": {
  14800. "description": "最后操作时间",
  14801. "type": "string"
  14802. },
  14803. "operatorname": {
  14804. "description": "操作人名称",
  14805. "type": "string"
  14806. },
  14807. "spotgoodsbrandid": {
  14808. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14809. "type": "integer"
  14810. },
  14811. "spotgoodsmodelid": {
  14812. "description": "现货品类ID(通用则为0)",
  14813. "type": "integer"
  14814. },
  14815. "spotgoodsprice": {
  14816. "description": "现货价格",
  14817. "type": "number"
  14818. },
  14819. "tradedate": {
  14820. "description": "交易日(yyyyMMdd)",
  14821. "type": "string"
  14822. },
  14823. "unitid": {
  14824. "description": "现货商品单位id",
  14825. "type": "integer"
  14826. },
  14827. "wrstandardcode": {
  14828. "description": "现货商品代码",
  14829. "type": "string"
  14830. },
  14831. "wrstandardid": {
  14832. "description": "现货商品ID",
  14833. "type": "integer"
  14834. },
  14835. "wrstandardname": {
  14836. "description": "现货商品名称",
  14837. "type": "string"
  14838. }
  14839. }
  14840. },
  14841. "models.ErmcpTaAccount": {
  14842. "type": "object",
  14843. "properties": {
  14844. "accountid": {
  14845. "description": "账户id",
  14846. "type": "integer"
  14847. },
  14848. "accountname": {
  14849. "description": "账户名称",
  14850. "type": "string"
  14851. },
  14852. "currencyid": {
  14853. "description": "币种id",
  14854. "type": "integer"
  14855. },
  14856. "ismain": {
  14857. "description": "是否主账户 0-否 1-是",
  14858. "type": "integer"
  14859. },
  14860. "parentaccountid": {
  14861. "description": "父账户id",
  14862. "type": "integer"
  14863. },
  14864. "relateduserid": {
  14865. "description": "关联userid",
  14866. "type": "integer"
  14867. },
  14868. "tradestatus": {
  14869. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14870. "type": "integer"
  14871. }
  14872. }
  14873. },
  14874. "models.ErmcpTaAccountEx": {
  14875. "type": "object",
  14876. "properties": {
  14877. "mainAcc": {
  14878. "description": "主账号",
  14879. "type": "object",
  14880. "$ref": "#/definitions/models.ErmcpTaAccount"
  14881. },
  14882. "subacclist": {
  14883. "description": "子账号列表",
  14884. "type": "array",
  14885. "items": {
  14886. "$ref": "#/definitions/models.ErmcpTaAccount"
  14887. }
  14888. }
  14889. }
  14890. },
  14891. "models.ErmcpTaAccountInfo": {
  14892. "type": "object",
  14893. "properties": {
  14894. "accountid": {
  14895. "description": "资金账户ID",
  14896. "type": "integer"
  14897. },
  14898. "accountname": {
  14899. "description": "账户名称",
  14900. "type": "string"
  14901. },
  14902. "balance": {
  14903. "description": "期初余额",
  14904. "type": "number"
  14905. },
  14906. "capitalbalance": {
  14907. "description": "本金余额[外部子账户实际出入金余额]",
  14908. "type": "number"
  14909. },
  14910. "closepl": {
  14911. "description": "今日平仓盈亏",
  14912. "type": "number"
  14913. },
  14914. "creditdecrease": {
  14915. "description": "今日授信减少",
  14916. "type": "number"
  14917. },
  14918. "creditincrease": {
  14919. "description": "今日授信增加",
  14920. "type": "number"
  14921. },
  14922. "curdebt": {
  14923. "description": "期末欠款",
  14924. "type": "number"
  14925. },
  14926. "currencyid": {
  14927. "description": "货币ID",
  14928. "type": "integer"
  14929. },
  14930. "currentbalance": {
  14931. "description": "期末余额",
  14932. "type": "number"
  14933. },
  14934. "freezecharge": {
  14935. "description": "手续费冻结",
  14936. "type": "number"
  14937. },
  14938. "freezemargin": {
  14939. "description": "冻结保证金",
  14940. "type": "number"
  14941. },
  14942. "fromaccountid": {
  14943. "description": "所属上级账户",
  14944. "type": "integer"
  14945. },
  14946. "inamount": {
  14947. "description": "今日入金金额(包括三方入金)",
  14948. "type": "number"
  14949. },
  14950. "ismain": {
  14951. "description": "是否母账号 0:不是母账户 1:是母账户",
  14952. "type": "integer"
  14953. },
  14954. "mortgagecredit": {
  14955. "description": "授信金额",
  14956. "type": "number"
  14957. },
  14958. "oridebt": {
  14959. "description": "期初欠款",
  14960. "type": "number"
  14961. },
  14962. "orifreezecharge": {
  14963. "description": "期初手续费冻结",
  14964. "type": "number"
  14965. },
  14966. "orifreezemargin": {
  14967. "description": "期初冻结保证金",
  14968. "type": "number"
  14969. },
  14970. "orimortgagecredit": {
  14971. "description": "期初授信金额",
  14972. "type": "number"
  14973. },
  14974. "oriothercredit": {
  14975. "description": "期初其它授信金额",
  14976. "type": "number"
  14977. },
  14978. "oriotherfreezemargin": {
  14979. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14980. "type": "number"
  14981. },
  14982. "orioutamountfreeze": {
  14983. "description": "期初出金冻结",
  14984. "type": "number"
  14985. },
  14986. "oriusedmargin": {
  14987. "description": "期初占用保证金",
  14988. "type": "number"
  14989. },
  14990. "othercredit": {
  14991. "description": "其它授信金额",
  14992. "type": "number"
  14993. },
  14994. "othercreditdecrease": {
  14995. "description": "今日其它授信减少",
  14996. "type": "number"
  14997. },
  14998. "othercreditincrease": {
  14999. "description": "今日其它授信增加",
  15000. "type": "number"
  15001. },
  15002. "otherfreezemargin": {
  15003. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15004. "type": "number"
  15005. },
  15006. "outamount": {
  15007. "description": "今日出金金额(包括三方出金)",
  15008. "type": "number"
  15009. },
  15010. "outamountfreeze": {
  15011. "description": "出金冻结",
  15012. "type": "number"
  15013. },
  15014. "outthreshold": {
  15015. "description": "出金阈值",
  15016. "type": "number"
  15017. },
  15018. "parentaccountid": {
  15019. "description": "所属根账号",
  15020. "type": "integer"
  15021. },
  15022. "paycharge": {
  15023. "description": "今日手续费支出",
  15024. "type": "number"
  15025. },
  15026. "relateduserid": {
  15027. "description": "关联用户",
  15028. "type": "integer"
  15029. },
  15030. "signstatus": {
  15031. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15032. "type": "integer"
  15033. },
  15034. "sublevelpath": {
  15035. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15036. "type": "string"
  15037. },
  15038. "taaccounttype": {
  15039. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15040. "type": "integer"
  15041. },
  15042. "thirdinamount": {
  15043. "description": "今日三方入金",
  15044. "type": "number"
  15045. },
  15046. "thirdoutamount": {
  15047. "description": "今日三方出金",
  15048. "type": "number"
  15049. },
  15050. "tradestatus": {
  15051. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15052. "type": "integer"
  15053. },
  15054. "transferamount": {
  15055. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15056. "type": "number"
  15057. },
  15058. "usedmargin": {
  15059. "description": "占用保证金",
  15060. "type": "number"
  15061. },
  15062. "userid": {
  15063. "description": "用户ID",
  15064. "type": "integer"
  15065. }
  15066. }
  15067. },
  15068. "models.ErmcpTradeConfigTMP": {
  15069. "type": "object",
  15070. "properties": {
  15071. "areauserid": {
  15072. "description": "所属机构",
  15073. "type": "integer"
  15074. },
  15075. "basiccurrencyid": {
  15076. "description": "基本币种ID[汇率] - 目标币种",
  15077. "type": "integer"
  15078. },
  15079. "mainaccountid": {
  15080. "description": "主账户ID",
  15081. "type": "integer"
  15082. },
  15083. "modifierid": {
  15084. "description": "修改人",
  15085. "type": "integer"
  15086. },
  15087. "remark": {
  15088. "description": "备注",
  15089. "type": "string"
  15090. },
  15091. "tradeconfigtmpid": {
  15092. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  15093. "type": "integer"
  15094. },
  15095. "tradeconfigtmpname": {
  15096. "description": "交易配置模板名称",
  15097. "type": "string"
  15098. },
  15099. "tradeconfigtmptype": {
  15100. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  15101. "type": "integer"
  15102. },
  15103. "updatetime": {
  15104. "description": "更新时间",
  15105. "type": "string"
  15106. }
  15107. }
  15108. },
  15109. "models.ErmcpUserModel": {
  15110. "type": "object",
  15111. "properties": {
  15112. "address": {
  15113. "description": "通讯地址",
  15114. "type": "string"
  15115. },
  15116. "attachment1": {
  15117. "description": "附件1",
  15118. "type": "string"
  15119. },
  15120. "audittime": {
  15121. "description": "审核时间",
  15122. "type": "string"
  15123. },
  15124. "cardfrontphotourl": {
  15125. "description": "证件正面图片地址",
  15126. "type": "string"
  15127. },
  15128. "cardnum": {
  15129. "description": "证件号码",
  15130. "type": "string"
  15131. },
  15132. "cardtype": {
  15133. "description": "证件类型",
  15134. "type": "integer"
  15135. },
  15136. "cardtypename": {
  15137. "description": "证件类型名称",
  15138. "type": "string"
  15139. },
  15140. "cityid": {
  15141. "description": "市",
  15142. "type": "integer"
  15143. },
  15144. "countryid": {
  15145. "description": "国家",
  15146. "type": "integer"
  15147. },
  15148. "createtime": {
  15149. "description": "创建时间",
  15150. "type": "string"
  15151. },
  15152. "customername": {
  15153. "description": "企业名称",
  15154. "type": "string"
  15155. },
  15156. "districtid": {
  15157. "description": "区域",
  15158. "type": "integer"
  15159. },
  15160. "memberuserid": {
  15161. "description": "所属机构ID",
  15162. "type": "integer"
  15163. },
  15164. "mobile": {
  15165. "description": "手机号码",
  15166. "type": "string"
  15167. },
  15168. "modifytime": {
  15169. "description": "修改时间",
  15170. "type": "string"
  15171. },
  15172. "nickname": {
  15173. "description": "昵称",
  15174. "type": "string"
  15175. },
  15176. "provinceid": {
  15177. "description": "省",
  15178. "type": "integer"
  15179. },
  15180. "remark": {
  15181. "description": "备注",
  15182. "type": "string"
  15183. },
  15184. "status": {
  15185. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15186. "type": "integer"
  15187. },
  15188. "statusdesc": {
  15189. "description": "账户状态中文描述",
  15190. "type": "string"
  15191. },
  15192. "telphone": {
  15193. "description": "联系电话",
  15194. "type": "string"
  15195. },
  15196. "userid": {
  15197. "description": "用户ID",
  15198. "type": "integer"
  15199. },
  15200. "userinfotype": {
  15201. "description": "客户类型",
  15202. "type": "string"
  15203. }
  15204. }
  15205. },
  15206. "models.ErmcpWareHouseInfo": {
  15207. "type": "object",
  15208. "properties": {
  15209. "address": {
  15210. "description": "详细地址",
  15211. "type": "string"
  15212. },
  15213. "areauserid": {
  15214. "description": "所属机构",
  15215. "type": "integer"
  15216. },
  15217. "autoid": {
  15218. "description": "自增ID(仓库ID)",
  15219. "type": "integer"
  15220. },
  15221. "cityid": {
  15222. "description": "市",
  15223. "type": "integer"
  15224. },
  15225. "contactname": {
  15226. "description": "联系人",
  15227. "type": "string"
  15228. },
  15229. "contactnum": {
  15230. "description": "联系电话",
  15231. "type": "string"
  15232. },
  15233. "countryid": {
  15234. "description": "国家",
  15235. "type": "integer"
  15236. },
  15237. "createtime": {
  15238. "description": "创建时间",
  15239. "type": "string"
  15240. },
  15241. "districtid": {
  15242. "description": "区",
  15243. "type": "integer"
  15244. },
  15245. "hasvideo": {
  15246. "description": "是否有视频 - 0:无 1:有",
  15247. "type": "integer"
  15248. },
  15249. "provinceid": {
  15250. "description": "省",
  15251. "type": "integer"
  15252. },
  15253. "remark": {
  15254. "description": "审核备注",
  15255. "type": "string"
  15256. },
  15257. "videourl": {
  15258. "description": "视频地址",
  15259. "type": "string"
  15260. },
  15261. "warehousecode": {
  15262. "description": "仓库代码",
  15263. "type": "string"
  15264. },
  15265. "warehousename": {
  15266. "description": "仓库名称",
  15267. "type": "string"
  15268. },
  15269. "warehousestatus": {
  15270. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15271. "type": "integer"
  15272. },
  15273. "warehousetype": {
  15274. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15275. "type": "integer"
  15276. }
  15277. }
  15278. },
  15279. "models.ErmcpWrstandDetail": {
  15280. "type": "object",
  15281. "properties": {
  15282. "gbList": {
  15283. "description": "品牌列表",
  15284. "type": "array",
  15285. "items": {
  15286. "$ref": "#/definitions/models.GoodsBrand"
  15287. }
  15288. },
  15289. "goodsList": {
  15290. "description": "关联交易商品列表",
  15291. "type": "array",
  15292. "items": {
  15293. "$ref": "#/definitions/models.RelatedGoodsEx"
  15294. }
  15295. },
  15296. "gtList": {
  15297. "description": "型号列表",
  15298. "type": "array",
  15299. "items": {
  15300. "$ref": "#/definitions/models.GoodsTypeModel"
  15301. }
  15302. },
  15303. "wrd": {
  15304. "description": "基本信息",
  15305. "type": "object",
  15306. "$ref": "#/definitions/models.ErmcpWrstandard"
  15307. },
  15308. "wrsList": {
  15309. "description": "套保信息列表",
  15310. "type": "array",
  15311. "items": {
  15312. "$ref": "#/definitions/models.WRSConverTDetail"
  15313. }
  15314. }
  15315. }
  15316. },
  15317. "models.ErmcpWrstandard": {
  15318. "type": "object",
  15319. "properties": {
  15320. "areauserid": {
  15321. "description": "所属机构",
  15322. "type": "integer"
  15323. },
  15324. "createtime": {
  15325. "description": "创建时间",
  15326. "type": "string"
  15327. },
  15328. "creatorid": {
  15329. "description": "创建人",
  15330. "type": "integer"
  15331. },
  15332. "deliverygoodsid": {
  15333. "description": "品种ID",
  15334. "type": "integer"
  15335. },
  15336. "enumdicname": {
  15337. "description": "单位名称",
  15338. "type": "string"
  15339. },
  15340. "isvalid": {
  15341. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15342. "type": "integer"
  15343. },
  15344. "minivalue": {
  15345. "description": "最小变动值",
  15346. "type": "integer"
  15347. },
  15348. "minivaluedp": {
  15349. "description": "最小变动值小数位",
  15350. "type": "integer"
  15351. },
  15352. "realminivalue": {
  15353. "description": "实际最小变动值",
  15354. "type": "integer"
  15355. },
  15356. "realminivaluedp": {
  15357. "description": "实际最小变动值小数位",
  15358. "type": "integer"
  15359. },
  15360. "remark": {
  15361. "description": "备注",
  15362. "type": "string"
  15363. },
  15364. "unitid": {
  15365. "description": "单位ID",
  15366. "type": "integer"
  15367. },
  15368. "updatetime": {
  15369. "description": "更新时间",
  15370. "type": "string"
  15371. },
  15372. "wrstandardcode": {
  15373. "description": "现货商品代码",
  15374. "type": "string"
  15375. },
  15376. "wrstandardid": {
  15377. "description": "现货商品ID(SEQ_WRSTANDARD)",
  15378. "type": "integer"
  15379. },
  15380. "wrstandardname": {
  15381. "description": "现货商品名称",
  15382. "type": "string"
  15383. }
  15384. }
  15385. },
  15386. "models.Externalexchange": {
  15387. "type": "object",
  15388. "required": [
  15389. "autoid"
  15390. ],
  15391. "properties": {
  15392. "autoid": {
  15393. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  15394. "type": "integer"
  15395. },
  15396. "exchangefullname": {
  15397. "description": "外部交易所全称",
  15398. "type": "string"
  15399. },
  15400. "exexchangecode": {
  15401. "description": "外部交易所代码",
  15402. "type": "string"
  15403. },
  15404. "exexchangename": {
  15405. "description": "外部交易所名称(简称)",
  15406. "type": "string"
  15407. },
  15408. "ismarketprice": {
  15409. "description": "是否支持市价 - 0:不支持 1:支持",
  15410. "type": "integer"
  15411. },
  15412. "quotegear": {
  15413. "description": "行情档位(1-10)",
  15414. "type": "integer"
  15415. },
  15416. "showbrokerflag": {
  15417. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  15418. "type": "integer"
  15419. },
  15420. "updatetime": {
  15421. "description": "更新时间",
  15422. "type": "string"
  15423. }
  15424. }
  15425. },
  15426. "models.Funcmenulist": {
  15427. "type": "object",
  15428. "required": [
  15429. "resourcecode"
  15430. ],
  15431. "properties": {
  15432. "iconame": {
  15433. "description": "菜单图标",
  15434. "type": "string"
  15435. },
  15436. "menutype": {
  15437. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  15438. "type": "integer"
  15439. },
  15440. "parentcode": {
  15441. "description": "上级资源代码",
  15442. "type": "string"
  15443. },
  15444. "remark": {
  15445. "description": "备注",
  15446. "type": "string"
  15447. },
  15448. "resourcecode": {
  15449. "description": "资源代码",
  15450. "type": "string"
  15451. },
  15452. "resourcelevel": {
  15453. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  15454. "type": "integer"
  15455. },
  15456. "resourcename": {
  15457. "description": "资源名",
  15458. "type": "string"
  15459. },
  15460. "sort": {
  15461. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  15462. "type": "integer"
  15463. },
  15464. "url": {
  15465. "description": "URL",
  15466. "type": "string"
  15467. }
  15468. }
  15469. },
  15470. "models.Goods": {
  15471. "type": "object",
  15472. "required": [
  15473. "goodscode",
  15474. "goodsid",
  15475. "goodsname",
  15476. "marketid"
  15477. ],
  15478. "properties": {
  15479. "agreeunit": {
  15480. "description": "合约单位",
  15481. "type": "number"
  15482. },
  15483. "auditaccountid": {
  15484. "description": "审核操作员账号",
  15485. "type": "integer"
  15486. },
  15487. "audittime": {
  15488. "description": "审核时间",
  15489. "type": "string"
  15490. },
  15491. "cancelaccountid": {
  15492. "description": "注销操作员账号",
  15493. "type": "integer"
  15494. },
  15495. "canceltime": {
  15496. "description": "注销时间",
  15497. "type": "string"
  15498. },
  15499. "closepricemode": {
  15500. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15501. "type": "integer"
  15502. },
  15503. "closepriceparam": {
  15504. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  15505. "type": "number"
  15506. },
  15507. "createtime": {
  15508. "description": "创建时间",
  15509. "type": "string"
  15510. },
  15511. "creatorid": {
  15512. "description": "创建人",
  15513. "type": "integer"
  15514. },
  15515. "currencyid": {
  15516. "description": "报价货币ID",
  15517. "type": "integer"
  15518. },
  15519. "cutmode": {
  15520. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  15521. "type": "integer"
  15522. },
  15523. "decimalplace": {
  15524. "description": "报价小数位",
  15525. "type": "integer"
  15526. },
  15527. "delistingdate": {
  15528. "description": "商品退市时间(状态:退市) -- 已作废",
  15529. "type": "string"
  15530. },
  15531. "delistingmode": {
  15532. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  15533. "type": "integer"
  15534. },
  15535. "deliveryflag": {
  15536. "description": "交割标志 - 0:不可交割 1:可交割",
  15537. "type": "integer"
  15538. },
  15539. "forceclosemode": {
  15540. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  15541. "type": "integer"
  15542. },
  15543. "forceclosevalue": {
  15544. "description": "定期强平参数 [收益权]",
  15545. "type": "integer"
  15546. },
  15547. "goodscode": {
  15548. "description": "商品代码(内部)",
  15549. "type": "string"
  15550. },
  15551. "goodscurrencyid": {
  15552. "description": "合约货币ID",
  15553. "type": "integer"
  15554. },
  15555. "goodsgroupid": {
  15556. "description": "所属商品组ID",
  15557. "type": "integer"
  15558. },
  15559. "goodsid": {
  15560. "description": "商品ID(自增ID SEQ_GOODS)",
  15561. "type": "integer"
  15562. },
  15563. "goodsname": {
  15564. "description": "商品名称",
  15565. "type": "string"
  15566. },
  15567. "goodsquotetype": {
  15568. "description": "合约报价类型: 1-直接报价 2-间接报价",
  15569. "type": "integer"
  15570. },
  15571. "goodsstatus": {
  15572. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15573. "type": "integer"
  15574. },
  15575. "goodstradetype": {
  15576. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  15577. "type": "integer"
  15578. },
  15579. "goodunitid": {
  15580. "description": "报价单位ID",
  15581. "type": "integer"
  15582. },
  15583. "hasquoter": {
  15584. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  15585. "type": "integer"
  15586. },
  15587. "hqprotecttime": {
  15588. "description": "行情保护时间(秒)",
  15589. "type": "integer"
  15590. },
  15591. "innerdealmode": {
  15592. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15593. "type": "integer"
  15594. },
  15595. "isbuylimited": {
  15596. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15597. "type": "integer"
  15598. },
  15599. "lasttradedate": {
  15600. "description": "最后交易日期(状态:待退市)",
  15601. "type": "string"
  15602. },
  15603. "listingdate": {
  15604. "description": "交易开始日期",
  15605. "type": "string"
  15606. },
  15607. "marketid": {
  15608. "description": "所属市场ID",
  15609. "type": "integer"
  15610. },
  15611. "modifierid": {
  15612. "description": "修改人",
  15613. "type": "integer"
  15614. },
  15615. "modifystatus": {
  15616. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  15617. "type": "integer"
  15618. },
  15619. "modifytime": {
  15620. "description": "修改时间",
  15621. "type": "string"
  15622. },
  15623. "outerdealmode": {
  15624. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15625. "type": "integer"
  15626. },
  15627. "outgoodscode": {
  15628. "description": "商品代码(外部)",
  15629. "type": "string"
  15630. },
  15631. "qtydecimalplace": {
  15632. "description": "成交量小数位",
  15633. "type": "integer"
  15634. },
  15635. "quotegear": {
  15636. "description": "行情档位(1-10)",
  15637. "type": "integer"
  15638. },
  15639. "quoteminunit": {
  15640. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15641. "type": "integer"
  15642. },
  15643. "quoteshowtype": {
  15644. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  15645. "type": "integer"
  15646. },
  15647. "quoteshowtypeinterval": {
  15648. "description": "行情报价间隔时间(秒)(成交价时为0)",
  15649. "type": "integer"
  15650. },
  15651. "remark": {
  15652. "description": "备注",
  15653. "type": "string"
  15654. }
  15655. }
  15656. },
  15657. "models.GoodsBrand": {
  15658. "type": "object",
  15659. "properties": {
  15660. "brandid": {
  15661. "description": "品牌ID",
  15662. "type": "integer"
  15663. },
  15664. "brandname": {
  15665. "description": "品牌名称",
  15666. "type": "string"
  15667. },
  15668. "isvalid": {
  15669. "description": "是否有效 - 0:无效 1:有效",
  15670. "type": "integer"
  15671. }
  15672. }
  15673. },
  15674. "models.GoodsIDAndName": {
  15675. "type": "object",
  15676. "required": [
  15677. "goodscode",
  15678. "goodsid",
  15679. "goodsname",
  15680. "marketid"
  15681. ],
  15682. "properties": {
  15683. "goodscode": {
  15684. "description": "商品代码(内部)",
  15685. "type": "string"
  15686. },
  15687. "goodsid": {
  15688. "description": "商品ID(自增ID SEQ_GOODS)",
  15689. "type": "integer"
  15690. },
  15691. "goodsname": {
  15692. "description": "商品名称",
  15693. "type": "string"
  15694. },
  15695. "marketid": {
  15696. "description": "所属市场ID",
  15697. "type": "integer"
  15698. }
  15699. }
  15700. },
  15701. "models.GoodsTypeModel": {
  15702. "type": "object",
  15703. "properties": {
  15704. "convertfactor": {
  15705. "description": "标仓系数",
  15706. "type": "number"
  15707. },
  15708. "modelid": {
  15709. "description": "型号ID",
  15710. "type": "integer"
  15711. },
  15712. "modelname": {
  15713. "description": "型号名称",
  15714. "type": "string"
  15715. },
  15716. "updatetime": {
  15717. "description": "更新时间",
  15718. "type": "string"
  15719. }
  15720. }
  15721. },
  15722. "models.Goodsgroup": {
  15723. "type": "object",
  15724. "required": [
  15725. "goodsgroupid",
  15726. "goodsgroupname",
  15727. "goodsgroupstatus",
  15728. "marketid"
  15729. ],
  15730. "properties": {
  15731. "agreeunit": {
  15732. "description": "合约单位",
  15733. "type": "number"
  15734. },
  15735. "canshort": {
  15736. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15737. "type": "integer"
  15738. },
  15739. "closepricemode": {
  15740. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15741. "type": "integer"
  15742. },
  15743. "closepriceparam": {
  15744. "description": "强平最新价浮动比例 - 方式为2时使用",
  15745. "type": "number"
  15746. },
  15747. "createtime": {
  15748. "description": "创建时间",
  15749. "type": "string"
  15750. },
  15751. "creatorid": {
  15752. "description": "创建人",
  15753. "type": "integer"
  15754. },
  15755. "currencyid": {
  15756. "description": "报价货币ID",
  15757. "type": "integer"
  15758. },
  15759. "decimalplace": {
  15760. "description": "报价小数位",
  15761. "type": "integer"
  15762. },
  15763. "exercisetype": {
  15764. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  15765. "type": "integer"
  15766. },
  15767. "exexchangeid": {
  15768. "description": "外部交易所ID[通道交易]",
  15769. "type": "integer"
  15770. },
  15771. "goodsgroupid": {
  15772. "description": "商品组ID(自增ID)",
  15773. "type": "integer"
  15774. },
  15775. "goodsgroupname": {
  15776. "description": "商品组名称",
  15777. "type": "string"
  15778. },
  15779. "goodsgroupstatus": {
  15780. "description": "商品组状态 - 1:正常 2:注销",
  15781. "type": "integer"
  15782. },
  15783. "goodunitid": {
  15784. "description": "报价单位ID",
  15785. "type": "integer"
  15786. },
  15787. "innerdealmode": {
  15788. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15789. "type": "integer"
  15790. },
  15791. "isbuylimited": {
  15792. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15793. "type": "integer"
  15794. },
  15795. "marketid": {
  15796. "description": "所属市场ID",
  15797. "type": "integer"
  15798. },
  15799. "modifierid": {
  15800. "description": "修改人",
  15801. "type": "integer"
  15802. },
  15803. "modifytime": {
  15804. "description": "修改时间",
  15805. "type": "string"
  15806. },
  15807. "outerdealmode": {
  15808. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15809. "type": "integer"
  15810. },
  15811. "outergroupcode": {
  15812. "description": "外部商品组代码[通道交易]",
  15813. "type": "string"
  15814. },
  15815. "premiumdecimalplace": {
  15816. "description": "权利金小数位[场外期权]",
  15817. "type": "integer"
  15818. },
  15819. "premiumspreadalgorithm": {
  15820. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  15821. "type": "integer"
  15822. },
  15823. "premiumspreadvalue": {
  15824. "description": "权利金点差值[场外期权]",
  15825. "type": "number"
  15826. },
  15827. "qtydecimalplace": {
  15828. "description": "成交量小数位",
  15829. "type": "integer"
  15830. },
  15831. "quotegear": {
  15832. "description": "行情档位(1-10)",
  15833. "type": "integer"
  15834. },
  15835. "quoteminunit": {
  15836. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15837. "type": "integer"
  15838. },
  15839. "quoterid": {
  15840. "description": "报价商ID[场外期权]",
  15841. "type": "integer"
  15842. },
  15843. "quotesourcegroupid": {
  15844. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15845. "type": "integer"
  15846. },
  15847. "syncgoodsqty": {
  15848. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15849. "type": "integer"
  15850. }
  15851. }
  15852. },
  15853. "models.Goodssortbypreposition": {
  15854. "type": "object",
  15855. "required": [
  15856. "goodscode",
  15857. "tradedate"
  15858. ],
  15859. "properties": {
  15860. "goodscode": {
  15861. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  15862. "type": "string"
  15863. },
  15864. "goodsgroupcode": {
  15865. "description": "品种代码",
  15866. "type": "string"
  15867. },
  15868. "prepositionqty": {
  15869. "description": "昨持仓量",
  15870. "type": "integer"
  15871. },
  15872. "sortindex": {
  15873. "description": "排序",
  15874. "type": "integer"
  15875. },
  15876. "tradedate": {
  15877. "description": "交易日",
  15878. "type": "string"
  15879. },
  15880. "updatetime": {
  15881. "description": "更新时间",
  15882. "type": "string"
  15883. }
  15884. }
  15885. },
  15886. "models.Hedgeinnerholderdetail": {
  15887. "type": "object",
  15888. "required": [
  15889. "buyorsell",
  15890. "tradeid"
  15891. ],
  15892. "properties": {
  15893. "accountid": {
  15894. "description": "账号ID",
  15895. "type": "integer"
  15896. },
  15897. "buyorsell": {
  15898. "description": "方向 - 0:买 1:卖",
  15899. "type": "integer"
  15900. },
  15901. "freezeqty": {
  15902. "description": "冻结数量 - 按单平使用",
  15903. "type": "integer"
  15904. },
  15905. "goodsid": {
  15906. "description": "商品ID",
  15907. "type": "integer"
  15908. },
  15909. "holderamount": {
  15910. "description": "持仓金额 [商品币种]",
  15911. "type": "number"
  15912. },
  15913. "holderdays": {
  15914. "description": "剩余冻结天数",
  15915. "type": "integer"
  15916. },
  15917. "holderprice": {
  15918. "description": "持仓价格",
  15919. "type": "number"
  15920. },
  15921. "holderqty": {
  15922. "description": "持仓数量",
  15923. "type": "integer"
  15924. },
  15925. "marketid": {
  15926. "description": "市场ID",
  15927. "type": "integer"
  15928. },
  15929. "openprice": {
  15930. "description": "建仓价格",
  15931. "type": "number"
  15932. },
  15933. "openqty": {
  15934. "description": "建仓数量",
  15935. "type": "integer"
  15936. },
  15937. "parentaccountid": {
  15938. "description": "所属母账户",
  15939. "type": "integer"
  15940. },
  15941. "releaseamount": {
  15942. "description": "释放持仓金额[商品币种]",
  15943. "type": "number"
  15944. },
  15945. "tradeamount": {
  15946. "description": "成交金额[账户]",
  15947. "type": "number"
  15948. },
  15949. "tradedate": {
  15950. "description": "交易日(yyyyMMdd)",
  15951. "type": "string"
  15952. },
  15953. "tradeid": {
  15954. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15955. "type": "string"
  15956. },
  15957. "tradetime": {
  15958. "description": "交易时间",
  15959. "type": "string"
  15960. }
  15961. }
  15962. },
  15963. "models.HsbyBuyMyPayOrder": {
  15964. "type": "object",
  15965. "required": [
  15966. "goodscode",
  15967. "goodsname",
  15968. "tradeid",
  15969. "trademode"
  15970. ],
  15971. "properties": {
  15972. "agreeunit": {
  15973. "description": "合约单位",
  15974. "type": "number"
  15975. },
  15976. "buyaccountid": {
  15977. "description": "买方账号ID[报价币种]",
  15978. "type": "integer"
  15979. },
  15980. "buyorderid": {
  15981. "description": "买方委托单号",
  15982. "type": "string"
  15983. },
  15984. "createtime": {
  15985. "description": "创建时间",
  15986. "type": "string"
  15987. },
  15988. "currencysign": {
  15989. "description": "货币符号",
  15990. "type": "string"
  15991. },
  15992. "decimalplace": {
  15993. "description": "报价小数位",
  15994. "type": "integer"
  15995. },
  15996. "goodscode": {
  15997. "description": "商品代码(内部)",
  15998. "type": "string"
  15999. },
  16000. "goodsid": {
  16001. "description": "商品ID",
  16002. "type": "integer"
  16003. },
  16004. "goodsname": {
  16005. "description": "商品名称",
  16006. "type": "string"
  16007. },
  16008. "marketid": {
  16009. "description": "市场ID",
  16010. "type": "integer"
  16011. },
  16012. "offamount": {
  16013. "description": "优惠金额",
  16014. "type": "number"
  16015. },
  16016. "originalamount": {
  16017. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  16018. "type": "number"
  16019. },
  16020. "payamount": {
  16021. "description": "支付金额 = TradeAmount + TradeCharge",
  16022. "type": "number"
  16023. },
  16024. "payflag": {
  16025. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  16026. "type": "integer"
  16027. },
  16028. "paylimitedtime": {
  16029. "description": "支付期限",
  16030. "type": "string"
  16031. },
  16032. "paytime": {
  16033. "description": "付款时间",
  16034. "type": "string"
  16035. },
  16036. "picurls1": {
  16037. "description": "预售商品介绍图片[多张用逗号分隔]",
  16038. "type": "string"
  16039. },
  16040. "picurls2": {
  16041. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16042. "type": "string"
  16043. },
  16044. "sellaccountid": {
  16045. "description": "卖方账号ID[报价币种]",
  16046. "type": "integer"
  16047. },
  16048. "sellorderid": {
  16049. "description": "卖方委托单号",
  16050. "type": "string"
  16051. },
  16052. "tradeamount": {
  16053. "description": "成交金额",
  16054. "type": "number"
  16055. },
  16056. "tradecharge": {
  16057. "description": "成交手续费(买方)",
  16058. "type": "number"
  16059. },
  16060. "tradedate": {
  16061. "description": "交易日(yyyyMMdd)",
  16062. "type": "string"
  16063. },
  16064. "tradeid": {
  16065. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16066. "type": "string"
  16067. },
  16068. "trademode": {
  16069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16070. "type": "integer"
  16071. },
  16072. "tradeprice": {
  16073. "description": "成交价格",
  16074. "type": "number"
  16075. },
  16076. "tradeqty": {
  16077. "description": "成交数量",
  16078. "type": "integer"
  16079. },
  16080. "vendorname1": {
  16081. "description": "预售商品供应商名称",
  16082. "type": "string"
  16083. },
  16084. "vendorname2": {
  16085. "description": "挂牌商品供应商名称",
  16086. "type": "string"
  16087. }
  16088. }
  16089. },
  16090. "models.HsbyBuyMyTradeDetail": {
  16091. "type": "object",
  16092. "required": [
  16093. "accountid",
  16094. "buyorsell",
  16095. "goodscode",
  16096. "goodsid",
  16097. "goodsname",
  16098. "marketid",
  16099. "orderid",
  16100. "qty",
  16101. "time",
  16102. "trademode"
  16103. ],
  16104. "properties": {
  16105. "accountid": {
  16106. "description": "账户ID[报价币种]",
  16107. "type": "integer"
  16108. },
  16109. "agreeunit": {
  16110. "description": "合约单位",
  16111. "type": "number"
  16112. },
  16113. "amount": {
  16114. "description": "金额 = 价格 * 数量 * 合约单位",
  16115. "type": "number"
  16116. },
  16117. "buyorsell": {
  16118. "description": "买卖 - 0:买 1:卖",
  16119. "type": "integer"
  16120. },
  16121. "currencysign": {
  16122. "description": "货币符号",
  16123. "type": "string"
  16124. },
  16125. "decimalplace": {
  16126. "description": "报价小数位",
  16127. "type": "integer"
  16128. },
  16129. "goodscode": {
  16130. "description": "商品代码(内部)",
  16131. "type": "string"
  16132. },
  16133. "goodsid": {
  16134. "description": "商品ID",
  16135. "type": "integer"
  16136. },
  16137. "goodsname": {
  16138. "description": "商品名称",
  16139. "type": "string"
  16140. },
  16141. "marketid": {
  16142. "description": "市场ID",
  16143. "type": "integer"
  16144. },
  16145. "orderamount": {
  16146. "description": "委托金额",
  16147. "type": "number"
  16148. },
  16149. "orderid": {
  16150. "description": "单号(成交单号)",
  16151. "type": "string"
  16152. },
  16153. "picurls1": {
  16154. "description": "预售商品介绍图片[多张用逗号分隔]",
  16155. "type": "string"
  16156. },
  16157. "picurls2": {
  16158. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16159. "type": "string"
  16160. },
  16161. "price": {
  16162. "description": "价格",
  16163. "type": "number"
  16164. },
  16165. "qty": {
  16166. "description": "数量",
  16167. "type": "integer"
  16168. },
  16169. "time": {
  16170. "description": "时间",
  16171. "type": "string"
  16172. },
  16173. "trademode": {
  16174. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16175. "type": "integer"
  16176. },
  16177. "vendorname1": {
  16178. "description": "预售商品供应商名称",
  16179. "type": "string"
  16180. },
  16181. "vendorname2": {
  16182. "description": "挂牌商品供应商名称",
  16183. "type": "string"
  16184. }
  16185. }
  16186. },
  16187. "models.HsbyGoodsOrderDetail": {
  16188. "type": "object",
  16189. "required": [
  16190. "buyorsell",
  16191. "orderid",
  16192. "ordertime"
  16193. ],
  16194. "properties": {
  16195. "buyorsell": {
  16196. "description": "买卖 - 0:买 1:卖",
  16197. "type": "integer"
  16198. },
  16199. "currencysign": {
  16200. "description": "货币符号",
  16201. "type": "string"
  16202. },
  16203. "customername": {
  16204. "description": "客户名称(企业名称),已脱敏",
  16205. "type": "string"
  16206. },
  16207. "enableqty": {
  16208. "description": "可用数量",
  16209. "type": "integer"
  16210. },
  16211. "goodunit": {
  16212. "description": "报价单位",
  16213. "type": "string"
  16214. },
  16215. "orderid": {
  16216. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16217. "type": "string"
  16218. },
  16219. "orderprice": {
  16220. "description": "委托价格",
  16221. "type": "number"
  16222. },
  16223. "ordertime": {
  16224. "description": "委托时间",
  16225. "type": "string"
  16226. }
  16227. }
  16228. },
  16229. "models.HsbyListingGoodsDetail": {
  16230. "type": "object",
  16231. "required": [
  16232. "goodscode",
  16233. "goodsid",
  16234. "goodsname",
  16235. "marketid",
  16236. "trademode"
  16237. ],
  16238. "properties": {
  16239. "agreeunit": {
  16240. "description": "合约单位",
  16241. "type": "number"
  16242. },
  16243. "buymaxqty": {
  16244. "description": "购买上限 [71] - 0为不限",
  16245. "type": "integer"
  16246. },
  16247. "currency": {
  16248. "description": "货币",
  16249. "type": "string"
  16250. },
  16251. "currencysign": {
  16252. "description": "货币符号",
  16253. "type": "string"
  16254. },
  16255. "decimalplace": {
  16256. "description": "报价小数位",
  16257. "type": "integer"
  16258. },
  16259. "desccityid": {
  16260. "description": "目的地(市)ID",
  16261. "type": "integer"
  16262. },
  16263. "descprovinceid": {
  16264. "description": "目的地(省)ID",
  16265. "type": "integer"
  16266. },
  16267. "goodscode": {
  16268. "description": "商品代码(内部)",
  16269. "type": "string"
  16270. },
  16271. "goodsdesc": {
  16272. "description": "商品详情",
  16273. "type": "string"
  16274. },
  16275. "goodsid": {
  16276. "description": "商品ID(自增ID SEQ_GOODS)",
  16277. "type": "integer"
  16278. },
  16279. "goodsname": {
  16280. "description": "商品名称",
  16281. "type": "string"
  16282. },
  16283. "goodsprice": {
  16284. "description": "商品价格",
  16285. "type": "number"
  16286. },
  16287. "hotindex": {
  16288. "description": "景点热度",
  16289. "type": "integer"
  16290. },
  16291. "last": {
  16292. "description": "现价",
  16293. "type": "number"
  16294. },
  16295. "limitdown": {
  16296. "description": "跌停价",
  16297. "type": "number"
  16298. },
  16299. "limitup": {
  16300. "description": "涨停价",
  16301. "type": "number"
  16302. },
  16303. "lotsize": {
  16304. "description": "手数最小变动单位",
  16305. "type": "integer"
  16306. },
  16307. "marketid": {
  16308. "description": "所属市场ID",
  16309. "type": "integer"
  16310. },
  16311. "picurls": {
  16312. "description": "介绍图片[多张用逗号分隔]",
  16313. "type": "string"
  16314. },
  16315. "quoteminunit": {
  16316. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16317. "type": "integer"
  16318. },
  16319. "stepvalue": {
  16320. "description": "价格最小变动单位",
  16321. "type": "number"
  16322. },
  16323. "trademode": {
  16324. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16325. "type": "integer"
  16326. },
  16327. "vendorattr": {
  16328. "description": "供应商附件(多张,逗号分隔)",
  16329. "type": "string"
  16330. },
  16331. "vendorname": {
  16332. "description": "供应商名称",
  16333. "type": "string"
  16334. },
  16335. "vendorphone": {
  16336. "description": "供应商客服电话",
  16337. "type": "string"
  16338. },
  16339. "videourls": {
  16340. "description": "介绍视频[多张用逗号分隔]",
  16341. "type": "string"
  16342. }
  16343. }
  16344. },
  16345. "models.HsbyMarketGoods": {
  16346. "type": "object",
  16347. "required": [
  16348. "accountid",
  16349. "buyorsell",
  16350. "goodscode",
  16351. "goodsid",
  16352. "goodsname",
  16353. "marketid",
  16354. "orderid",
  16355. "trademode"
  16356. ],
  16357. "properties": {
  16358. "accountid": {
  16359. "description": "账户ID[报价币种]",
  16360. "type": "integer"
  16361. },
  16362. "agreeunit": {
  16363. "description": "合约单位",
  16364. "type": "number"
  16365. },
  16366. "buyorsell": {
  16367. "description": "买卖 - 0:买 1:卖",
  16368. "type": "integer"
  16369. },
  16370. "categoryid": {
  16371. "description": "类别ID(WRCATEGORY)",
  16372. "type": "integer"
  16373. },
  16374. "currency": {
  16375. "description": "货币",
  16376. "type": "string"
  16377. },
  16378. "currencysign": {
  16379. "description": "货币符号",
  16380. "type": "string"
  16381. },
  16382. "customername": {
  16383. "description": "卖家名称",
  16384. "type": "string"
  16385. },
  16386. "decimalplace": {
  16387. "description": "报价小数位",
  16388. "type": "integer"
  16389. },
  16390. "goodscode": {
  16391. "description": "商品代码(内部)",
  16392. "type": "string"
  16393. },
  16394. "goodsid": {
  16395. "description": "商品ID",
  16396. "type": "integer"
  16397. },
  16398. "goodsname": {
  16399. "description": "商品名称",
  16400. "type": "string"
  16401. },
  16402. "goodsprice": {
  16403. "description": "商品价格",
  16404. "type": "number"
  16405. },
  16406. "hascoupon": {
  16407. "description": "是否可用优惠卷",
  16408. "type": "boolean"
  16409. },
  16410. "hotindex": {
  16411. "description": "景点热度",
  16412. "type": "integer"
  16413. },
  16414. "marketid": {
  16415. "description": "市场ID",
  16416. "type": "integer"
  16417. },
  16418. "orderid": {
  16419. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16420. "type": "string"
  16421. },
  16422. "orderprice": {
  16423. "description": "委托价格",
  16424. "type": "number"
  16425. },
  16426. "orderstatus": {
  16427. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16428. "type": "integer"
  16429. },
  16430. "picurls": {
  16431. "description": "介绍图片[多张用逗号分隔]",
  16432. "type": "string"
  16433. },
  16434. "quoteminunit": {
  16435. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16436. "type": "integer"
  16437. },
  16438. "sellUserID": {
  16439. "description": "卖方UserID",
  16440. "type": "integer"
  16441. },
  16442. "trademode": {
  16443. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16444. "type": "integer"
  16445. },
  16446. "videourls": {
  16447. "description": "介绍视频[多张用逗号分隔]",
  16448. "type": "string"
  16449. }
  16450. }
  16451. },
  16452. "models.HsbyMarketGoodsDetail": {
  16453. "type": "object",
  16454. "required": [
  16455. "accountid",
  16456. "buyorsell",
  16457. "goodscode",
  16458. "goodsid",
  16459. "goodsname",
  16460. "marketid",
  16461. "orderid",
  16462. "orderqty",
  16463. "trademode"
  16464. ],
  16465. "properties": {
  16466. "accountid": {
  16467. "description": "账户ID[报价币种]",
  16468. "type": "integer"
  16469. },
  16470. "agreeunit": {
  16471. "description": "合约单位",
  16472. "type": "number"
  16473. },
  16474. "buymaxqty": {
  16475. "description": "购买上限 [71] - 0为不限",
  16476. "type": "integer"
  16477. },
  16478. "buyorsell": {
  16479. "description": "买卖 - 0:买 1:卖",
  16480. "type": "integer"
  16481. },
  16482. "cancelqty": {
  16483. "description": "撤单数量",
  16484. "type": "integer"
  16485. },
  16486. "categoryid": {
  16487. "description": "类别ID(WRCATEGORY)",
  16488. "type": "integer"
  16489. },
  16490. "currency": {
  16491. "description": "货币",
  16492. "type": "string"
  16493. },
  16494. "currencysign": {
  16495. "description": "货币符号",
  16496. "type": "string"
  16497. },
  16498. "customername": {
  16499. "description": "卖家名称",
  16500. "type": "string"
  16501. },
  16502. "decimalplace": {
  16503. "description": "报价小数位",
  16504. "type": "integer"
  16505. },
  16506. "goodscode": {
  16507. "description": "商品代码(内部)",
  16508. "type": "string"
  16509. },
  16510. "goodsdesc": {
  16511. "description": "商品详情",
  16512. "type": "string"
  16513. },
  16514. "goodsid": {
  16515. "description": "商品ID",
  16516. "type": "integer"
  16517. },
  16518. "goodsname": {
  16519. "description": "商品名称",
  16520. "type": "string"
  16521. },
  16522. "goodsprice": {
  16523. "description": "商品价格",
  16524. "type": "number"
  16525. },
  16526. "hotindex": {
  16527. "description": "景点热度",
  16528. "type": "integer"
  16529. },
  16530. "lotsize": {
  16531. "description": "手数最小变动单位",
  16532. "type": "integer"
  16533. },
  16534. "marketid": {
  16535. "description": "市场ID",
  16536. "type": "integer"
  16537. },
  16538. "orderid": {
  16539. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16540. "type": "string"
  16541. },
  16542. "orderprice": {
  16543. "description": "委托价格",
  16544. "type": "number"
  16545. },
  16546. "orderqty": {
  16547. "description": "委托数量",
  16548. "type": "integer"
  16549. },
  16550. "orderstatus": {
  16551. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16552. "type": "integer"
  16553. },
  16554. "picurls": {
  16555. "description": "介绍图片[多张用逗号分隔]",
  16556. "type": "string"
  16557. },
  16558. "quoteminunit": {
  16559. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16560. "type": "integer"
  16561. },
  16562. "sellUserID": {
  16563. "description": "卖方UserID",
  16564. "type": "integer"
  16565. },
  16566. "trademode": {
  16567. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16568. "type": "integer"
  16569. },
  16570. "tradeqty": {
  16571. "description": "成交数量",
  16572. "type": "integer"
  16573. },
  16574. "vendorattr": {
  16575. "description": "供应商附件(多张,逗号分隔)",
  16576. "type": "string"
  16577. },
  16578. "vendorname": {
  16579. "description": "供应商名称",
  16580. "type": "string"
  16581. },
  16582. "vendorphone": {
  16583. "description": "供应商客服电话",
  16584. "type": "string"
  16585. },
  16586. "videourls": {
  16587. "description": "介绍视频[多张用逗号分隔]",
  16588. "type": "string"
  16589. }
  16590. }
  16591. },
  16592. "models.HsbyMarketInfo": {
  16593. "type": "object",
  16594. "required": [
  16595. "marketid",
  16596. "marketstatus",
  16597. "trademode"
  16598. ],
  16599. "properties": {
  16600. "marketid": {
  16601. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16602. "type": "integer"
  16603. },
  16604. "marketname": {
  16605. "description": "市场名称",
  16606. "type": "string"
  16607. },
  16608. "marketstatus": {
  16609. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16610. "type": "integer"
  16611. },
  16612. "trademode": {
  16613. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16614. "type": "integer"
  16615. }
  16616. }
  16617. },
  16618. "models.HsbyMyGoods": {
  16619. "type": "object",
  16620. "required": [
  16621. "accountid",
  16622. "goodscode",
  16623. "goodsid",
  16624. "goodsname",
  16625. "marketid",
  16626. "trademode"
  16627. ],
  16628. "properties": {
  16629. "accountid": {
  16630. "description": "账号Id",
  16631. "type": "integer"
  16632. },
  16633. "agreeunit": {
  16634. "description": "合约单位",
  16635. "type": "number"
  16636. },
  16637. "buyaverageprice": {
  16638. "description": "持仓均价",
  16639. "type": "number"
  16640. },
  16641. "buycurholderamount": {
  16642. "description": "买当前持仓总金额[商品币种]",
  16643. "type": "number"
  16644. },
  16645. "buycurpositionqty": {
  16646. "description": "买当前持仓总数量",
  16647. "type": "integer"
  16648. },
  16649. "buymaxqty": {
  16650. "description": "购买上限 [71] - 0为不限",
  16651. "type": "integer"
  16652. },
  16653. "currencysign": {
  16654. "description": "货币符号",
  16655. "type": "string"
  16656. },
  16657. "decimalplace": {
  16658. "description": "报价小数位",
  16659. "type": "integer"
  16660. },
  16661. "enableqty": {
  16662. "description": "可用数量",
  16663. "type": "integer"
  16664. },
  16665. "goodscode": {
  16666. "description": "商品代码(内部)",
  16667. "type": "string"
  16668. },
  16669. "goodsid": {
  16670. "description": "商品Id",
  16671. "type": "integer"
  16672. },
  16673. "goodsname": {
  16674. "description": "商品名称",
  16675. "type": "string"
  16676. },
  16677. "goodsprice": {
  16678. "description": "商品价格",
  16679. "type": "number"
  16680. },
  16681. "goodsstatus": {
  16682. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16683. "type": "integer"
  16684. },
  16685. "last": {
  16686. "description": "现价(仅使用于挂牌点选)",
  16687. "type": "number"
  16688. },
  16689. "limitdown": {
  16690. "description": "跌停价(仅使用于挂牌点选)",
  16691. "type": "number"
  16692. },
  16693. "limitup": {
  16694. "description": "涨停价(仅使用于挂牌点选)",
  16695. "type": "number"
  16696. },
  16697. "lotsize": {
  16698. "description": "手数最小变动单位",
  16699. "type": "integer"
  16700. },
  16701. "marketid": {
  16702. "description": "所属市场ID",
  16703. "type": "integer"
  16704. },
  16705. "picurls": {
  16706. "description": "介绍图片[多张用逗号分隔]",
  16707. "type": "string"
  16708. },
  16709. "quoteminunit": {
  16710. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16711. "type": "integer"
  16712. },
  16713. "stepvalue": {
  16714. "description": "价格最小变动单位",
  16715. "type": "number"
  16716. },
  16717. "trademode": {
  16718. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16719. "type": "integer"
  16720. }
  16721. }
  16722. },
  16723. "models.HsbyMyPackage": {
  16724. "type": "object",
  16725. "required": [
  16726. "goodscode",
  16727. "goodsname",
  16728. "takeorderid",
  16729. "trademode"
  16730. ],
  16731. "properties": {
  16732. "accountid": {
  16733. "description": "账户ID",
  16734. "type": "integer"
  16735. },
  16736. "address": {
  16737. "description": "提货人详细地址",
  16738. "type": "string"
  16739. },
  16740. "agreeunit": {
  16741. "description": "合约单位",
  16742. "type": "number"
  16743. },
  16744. "amount": {
  16745. "description": "提货金额",
  16746. "type": "number"
  16747. },
  16748. "auditer": {
  16749. "description": "审核人",
  16750. "type": "integer"
  16751. },
  16752. "audittime": {
  16753. "description": "审核时间",
  16754. "type": "string"
  16755. },
  16756. "averageprice": {
  16757. "description": "均价",
  16758. "type": "number"
  16759. },
  16760. "cardnum": {
  16761. "description": "提货人证件号码",
  16762. "type": "string"
  16763. },
  16764. "cardtypeid": {
  16765. "description": "提货人证件类型",
  16766. "type": "integer"
  16767. },
  16768. "checkremark": {
  16769. "description": "审核备注",
  16770. "type": "string"
  16771. },
  16772. "currencysign": {
  16773. "description": "货币符号",
  16774. "type": "string"
  16775. },
  16776. "decimalplace": {
  16777. "description": "报价小数位",
  16778. "type": "integer"
  16779. },
  16780. "goodscode": {
  16781. "description": "商品代码(内部)",
  16782. "type": "string"
  16783. },
  16784. "goodsid": {
  16785. "description": "商品ID",
  16786. "type": "integer"
  16787. },
  16788. "goodsname": {
  16789. "description": "商品名称",
  16790. "type": "string"
  16791. },
  16792. "handlestatus": {
  16793. "description": "处理状态",
  16794. "type": "integer"
  16795. },
  16796. "marketid": {
  16797. "description": "市场ID",
  16798. "type": "integer"
  16799. },
  16800. "phonenum": {
  16801. "description": "提货人联系方式",
  16802. "type": "string"
  16803. },
  16804. "picurls": {
  16805. "description": "介绍图片[多张用逗号分隔]",
  16806. "type": "string"
  16807. },
  16808. "qty": {
  16809. "description": "提货数量",
  16810. "type": "number"
  16811. },
  16812. "recivername": {
  16813. "description": "提货人姓名",
  16814. "type": "string"
  16815. },
  16816. "reqtime": {
  16817. "description": "更新时间",
  16818. "type": "string"
  16819. },
  16820. "takemode": {
  16821. "description": "提货方式 - 2:自提 3:配送",
  16822. "type": "integer"
  16823. },
  16824. "takeorderid": {
  16825. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  16826. "type": "string"
  16827. },
  16828. "takeorderstatus": {
  16829. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  16830. "type": "integer"
  16831. },
  16832. "takeremark": {
  16833. "description": "提货备注",
  16834. "type": "string"
  16835. },
  16836. "tradedate": {
  16837. "description": "交易日(yyyyMMdd)",
  16838. "type": "string"
  16839. },
  16840. "trademode": {
  16841. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16842. "type": "integer"
  16843. },
  16844. "userid": {
  16845. "description": "用户ID",
  16846. "type": "integer"
  16847. },
  16848. "vendorname": {
  16849. "description": "供应商名称",
  16850. "type": "string"
  16851. }
  16852. }
  16853. },
  16854. "models.HsbyPreGoods": {
  16855. "type": "object",
  16856. "required": [
  16857. "goodscode",
  16858. "goodsid",
  16859. "goodsname",
  16860. "marketid",
  16861. "trademode"
  16862. ],
  16863. "properties": {
  16864. "agreeunit": {
  16865. "description": "合约单位",
  16866. "type": "number"
  16867. },
  16868. "currency": {
  16869. "description": "货币",
  16870. "type": "string"
  16871. },
  16872. "currencysign": {
  16873. "description": "货币符号",
  16874. "type": "string"
  16875. },
  16876. "decimalplace": {
  16877. "description": "报价小数位",
  16878. "type": "integer"
  16879. },
  16880. "desccityid": {
  16881. "description": "目的地(市)",
  16882. "type": "integer"
  16883. },
  16884. "descprovinceid": {
  16885. "description": "目的地(省)",
  16886. "type": "integer"
  16887. },
  16888. "enableqty": {
  16889. "description": "剩余数量",
  16890. "type": "integer"
  16891. },
  16892. "goodscode": {
  16893. "description": "商品代码(内部)",
  16894. "type": "string"
  16895. },
  16896. "goodsid": {
  16897. "description": "商品ID(自增ID SEQ_GOODS)",
  16898. "type": "integer"
  16899. },
  16900. "goodsname": {
  16901. "description": "商品名称",
  16902. "type": "string"
  16903. },
  16904. "goodsstatus": {
  16905. "description": "商品状态- 2:未上市 3:上市",
  16906. "type": "integer"
  16907. },
  16908. "lasttradedate": {
  16909. "description": "最后交易日期(状态:待退市)",
  16910. "type": "string"
  16911. },
  16912. "listingdate": {
  16913. "description": "交易开始日期",
  16914. "type": "string"
  16915. },
  16916. "marketid": {
  16917. "description": "所属市场ID",
  16918. "type": "integer"
  16919. },
  16920. "picurls": {
  16921. "description": "介绍图片[多张用逗号分隔]",
  16922. "type": "string"
  16923. },
  16924. "presaledqty": {
  16925. "description": "已预售量(预售结束时更新)",
  16926. "type": "integer"
  16927. },
  16928. "presaleqty": {
  16929. "description": "预售数量",
  16930. "type": "integer"
  16931. },
  16932. "quoteminunit": {
  16933. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16934. "type": "integer"
  16935. },
  16936. "refprice": {
  16937. "description": "参考价格[一口价]",
  16938. "type": "number"
  16939. },
  16940. "relatedgoodsid": {
  16941. "description": "关联交易合约ID",
  16942. "type": "integer"
  16943. },
  16944. "trademode": {
  16945. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16946. "type": "integer"
  16947. },
  16948. "videourls": {
  16949. "description": "介绍视频[多张用逗号分隔]",
  16950. "type": "string"
  16951. }
  16952. }
  16953. },
  16954. "models.HsbyPreGoodsDetail": {
  16955. "type": "object",
  16956. "required": [
  16957. "goodscode",
  16958. "goodsid",
  16959. "goodsname",
  16960. "marketid",
  16961. "trademode"
  16962. ],
  16963. "properties": {
  16964. "agreeunit": {
  16965. "description": "合约单位",
  16966. "type": "number"
  16967. },
  16968. "buymaxqty": {
  16969. "description": "购买上限 [71] - 0为不限",
  16970. "type": "integer"
  16971. },
  16972. "currency": {
  16973. "description": "货币",
  16974. "type": "string"
  16975. },
  16976. "currencysign": {
  16977. "description": "货币符号",
  16978. "type": "string"
  16979. },
  16980. "customername": {
  16981. "description": "发行单位",
  16982. "type": "string"
  16983. },
  16984. "decimalplace": {
  16985. "description": "报价小数位",
  16986. "type": "integer"
  16987. },
  16988. "desccityid": {
  16989. "description": "目的地(市)ID",
  16990. "type": "integer"
  16991. },
  16992. "descprovinceid": {
  16993. "description": "目的地(省)ID",
  16994. "type": "integer"
  16995. },
  16996. "enableqty": {
  16997. "description": "剩余数量",
  16998. "type": "integer"
  16999. },
  17000. "goodscode": {
  17001. "description": "商品代码(内部)",
  17002. "type": "string"
  17003. },
  17004. "goodsdesc": {
  17005. "description": "商品详情",
  17006. "type": "string"
  17007. },
  17008. "goodsid": {
  17009. "description": "商品ID(自增ID SEQ_GOODS)",
  17010. "type": "integer"
  17011. },
  17012. "goodsname": {
  17013. "description": "商品名称",
  17014. "type": "string"
  17015. },
  17016. "goodsstatus": {
  17017. "description": "商品状态- 2:未上市 3:上市",
  17018. "type": "integer"
  17019. },
  17020. "goodunit": {
  17021. "description": "报价单位",
  17022. "type": "string"
  17023. },
  17024. "lasttradedate": {
  17025. "description": "最后交易日期(状态:待退市)",
  17026. "type": "string"
  17027. },
  17028. "listingdate": {
  17029. "description": "交易开始日期",
  17030. "type": "string"
  17031. },
  17032. "lotsize": {
  17033. "description": "手数最小变动单位",
  17034. "type": "integer"
  17035. },
  17036. "marketid": {
  17037. "description": "所属市场ID",
  17038. "type": "integer"
  17039. },
  17040. "picurls": {
  17041. "description": "介绍图片[多张用逗号分隔]",
  17042. "type": "string"
  17043. },
  17044. "presaledqty": {
  17045. "description": "已预售量(预售结束时更新)",
  17046. "type": "integer"
  17047. },
  17048. "presaleqty": {
  17049. "description": "预售数量",
  17050. "type": "integer"
  17051. },
  17052. "quoteminunit": {
  17053. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17054. "type": "integer"
  17055. },
  17056. "refprice": {
  17057. "description": "参考价格[一口价]",
  17058. "type": "number"
  17059. },
  17060. "relatedgoodsid": {
  17061. "description": "关联交易合约ID",
  17062. "type": "integer"
  17063. },
  17064. "stepvalue": {
  17065. "description": "价格最小变动单位",
  17066. "type": "number"
  17067. },
  17068. "trademode": {
  17069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17070. "type": "integer"
  17071. },
  17072. "vendorattr": {
  17073. "description": "供应商附件(多张,逗号分隔)",
  17074. "type": "string"
  17075. },
  17076. "vendorname": {
  17077. "description": "供应商名称",
  17078. "type": "string"
  17079. },
  17080. "vendorphone": {
  17081. "description": "供应商客服电话",
  17082. "type": "string"
  17083. },
  17084. "videourls": {
  17085. "description": "介绍视频[多张用逗号分隔]",
  17086. "type": "string"
  17087. }
  17088. }
  17089. },
  17090. "models.HsbySellCollectionOrder": {
  17091. "type": "object",
  17092. "required": [
  17093. "goodscode",
  17094. "goodsname",
  17095. "tradeid",
  17096. "trademode"
  17097. ],
  17098. "properties": {
  17099. "agreeunit": {
  17100. "description": "合约单位",
  17101. "type": "number"
  17102. },
  17103. "buyaccountid": {
  17104. "description": "买方账号ID[报价币种]",
  17105. "type": "integer"
  17106. },
  17107. "buyorderid": {
  17108. "description": "买方委托单号",
  17109. "type": "string"
  17110. },
  17111. "createtime": {
  17112. "description": "创建时间",
  17113. "type": "string"
  17114. },
  17115. "currencysign": {
  17116. "description": "货币符号",
  17117. "type": "string"
  17118. },
  17119. "decimalplace": {
  17120. "description": "报价小数位",
  17121. "type": "integer"
  17122. },
  17123. "goodscode": {
  17124. "description": "商品代码(内部)",
  17125. "type": "string"
  17126. },
  17127. "goodsid": {
  17128. "description": "商品ID",
  17129. "type": "integer"
  17130. },
  17131. "goodsname": {
  17132. "description": "商品名称",
  17133. "type": "string"
  17134. },
  17135. "marketid": {
  17136. "description": "市场ID",
  17137. "type": "integer"
  17138. },
  17139. "offamount": {
  17140. "description": "优惠金额",
  17141. "type": "number"
  17142. },
  17143. "payamount": {
  17144. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  17145. "type": "number"
  17146. },
  17147. "payflag": {
  17148. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17149. "type": "integer"
  17150. },
  17151. "paylimitedtime": {
  17152. "description": "支付期限",
  17153. "type": "string"
  17154. },
  17155. "paytime": {
  17156. "description": "付款时间",
  17157. "type": "string"
  17158. },
  17159. "picurls": {
  17160. "description": "商品介绍图片[多张用逗号分隔]",
  17161. "type": "string"
  17162. },
  17163. "sellaccountid": {
  17164. "description": "卖方账号ID[报价币种]",
  17165. "type": "integer"
  17166. },
  17167. "sellorderid": {
  17168. "description": "卖方委托单号",
  17169. "type": "string"
  17170. },
  17171. "tradeamount": {
  17172. "description": "成交金额",
  17173. "type": "number"
  17174. },
  17175. "tradecharge": {
  17176. "description": "成交手续费(买方)",
  17177. "type": "number"
  17178. },
  17179. "tradedate": {
  17180. "description": "交易日(yyyyMMdd)",
  17181. "type": "string"
  17182. },
  17183. "tradeid": {
  17184. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17185. "type": "string"
  17186. },
  17187. "trademode": {
  17188. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17189. "type": "integer"
  17190. },
  17191. "tradeprice": {
  17192. "description": "成交价格",
  17193. "type": "number"
  17194. },
  17195. "tradeqty": {
  17196. "description": "成交数量",
  17197. "type": "integer"
  17198. }
  17199. }
  17200. },
  17201. "models.HsbySellMyDetail": {
  17202. "type": "object",
  17203. "required": [
  17204. "accountid",
  17205. "buyorsell",
  17206. "goodscode",
  17207. "goodsid",
  17208. "goodsname",
  17209. "marketid",
  17210. "orderid",
  17211. "time",
  17212. "trademode"
  17213. ],
  17214. "properties": {
  17215. "accountid": {
  17216. "description": "账户ID[报价币种]",
  17217. "type": "integer"
  17218. },
  17219. "agreeunit": {
  17220. "description": "合约单位",
  17221. "type": "number"
  17222. },
  17223. "buyorsell": {
  17224. "description": "买卖 - 0:买 1:卖",
  17225. "type": "integer"
  17226. },
  17227. "currencysign": {
  17228. "description": "货币符号",
  17229. "type": "string"
  17230. },
  17231. "decimalplace": {
  17232. "description": "报价小数位",
  17233. "type": "integer"
  17234. },
  17235. "goodscode": {
  17236. "description": "商品代码(内部)",
  17237. "type": "string"
  17238. },
  17239. "goodsid": {
  17240. "description": "商品ID",
  17241. "type": "integer"
  17242. },
  17243. "goodsname": {
  17244. "description": "商品名称",
  17245. "type": "string"
  17246. },
  17247. "marketid": {
  17248. "description": "市场ID",
  17249. "type": "integer"
  17250. },
  17251. "orderid": {
  17252. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  17253. "type": "string"
  17254. },
  17255. "ordertype": {
  17256. "description": "单据类型:0 - 发布中, 1 - 已完成",
  17257. "type": "integer"
  17258. },
  17259. "picurls": {
  17260. "description": "介绍图片[多张用逗号分隔]",
  17261. "type": "string"
  17262. },
  17263. "price": {
  17264. "description": "价格",
  17265. "type": "number"
  17266. },
  17267. "qty": {
  17268. "description": "数量",
  17269. "type": "integer"
  17270. },
  17271. "time": {
  17272. "description": "时间",
  17273. "type": "string"
  17274. },
  17275. "trademode": {
  17276. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17277. "type": "integer"
  17278. },
  17279. "vendorname": {
  17280. "description": "供应商名称",
  17281. "type": "string"
  17282. }
  17283. }
  17284. },
  17285. "models.HsbyTopGoods": {
  17286. "type": "object",
  17287. "required": [
  17288. "goodscode",
  17289. "goodsid",
  17290. "goodsname",
  17291. "marketid",
  17292. "trademode"
  17293. ],
  17294. "properties": {
  17295. "agreeunit": {
  17296. "description": "合约单位",
  17297. "type": "number"
  17298. },
  17299. "currency": {
  17300. "description": "货币",
  17301. "type": "string"
  17302. },
  17303. "currencysign": {
  17304. "description": "货币符号",
  17305. "type": "string"
  17306. },
  17307. "decimalplace": {
  17308. "description": "报价小数位",
  17309. "type": "integer"
  17310. },
  17311. "desccityid": {
  17312. "description": "目的地(市)",
  17313. "type": "integer"
  17314. },
  17315. "descprovinceid": {
  17316. "description": "目的地(省)",
  17317. "type": "integer"
  17318. },
  17319. "goodscode": {
  17320. "description": "商品代码(内部)",
  17321. "type": "string"
  17322. },
  17323. "goodsid": {
  17324. "description": "商品ID(自增ID SEQ_GOODS)",
  17325. "type": "integer"
  17326. },
  17327. "goodsname": {
  17328. "description": "商品名称",
  17329. "type": "string"
  17330. },
  17331. "hotindex": {
  17332. "description": "景点热度",
  17333. "type": "integer"
  17334. },
  17335. "last": {
  17336. "description": "现价",
  17337. "type": "number"
  17338. },
  17339. "marketid": {
  17340. "description": "所属市场ID",
  17341. "type": "integer"
  17342. },
  17343. "picurls": {
  17344. "description": "介绍图片[多张用逗号分隔]",
  17345. "type": "string"
  17346. },
  17347. "quoteminunit": {
  17348. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17349. "type": "integer"
  17350. },
  17351. "trademode": {
  17352. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17353. "type": "integer"
  17354. },
  17355. "videourls": {
  17356. "description": "介绍视频[多张用逗号分隔]",
  17357. "type": "string"
  17358. }
  17359. }
  17360. },
  17361. "models.HybsMyBuyOrderDetail": {
  17362. "type": "object",
  17363. "required": [
  17364. "accountid",
  17365. "buyorsell",
  17366. "goodscode",
  17367. "goodsid",
  17368. "goodsname",
  17369. "marketid",
  17370. "orderid",
  17371. "orderqty",
  17372. "ordertime",
  17373. "trademode"
  17374. ],
  17375. "properties": {
  17376. "accountid": {
  17377. "description": "账户ID[报价币种]",
  17378. "type": "integer"
  17379. },
  17380. "agreeunit": {
  17381. "description": "合约单位",
  17382. "type": "number"
  17383. },
  17384. "buyorsell": {
  17385. "description": "买卖 - 0:买 1:卖",
  17386. "type": "integer"
  17387. },
  17388. "cancelqty": {
  17389. "description": "撤单数量",
  17390. "type": "integer"
  17391. },
  17392. "currencysign": {
  17393. "description": "货币符号",
  17394. "type": "string"
  17395. },
  17396. "decimalplace": {
  17397. "description": "报价小数位",
  17398. "type": "integer"
  17399. },
  17400. "goodscode": {
  17401. "description": "商品代码(内部)",
  17402. "type": "string"
  17403. },
  17404. "goodsid": {
  17405. "description": "商品ID",
  17406. "type": "integer"
  17407. },
  17408. "goodsname": {
  17409. "description": "商品名称",
  17410. "type": "string"
  17411. },
  17412. "listingselecttype": {
  17413. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17414. "type": "integer"
  17415. },
  17416. "marketid": {
  17417. "description": "市场ID",
  17418. "type": "integer"
  17419. },
  17420. "mybuystatus": {
  17421. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  17422. "type": "integer"
  17423. },
  17424. "orderamount": {
  17425. "description": "委托金额",
  17426. "type": "number"
  17427. },
  17428. "orderid": {
  17429. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17430. "type": "string"
  17431. },
  17432. "orderprice": {
  17433. "description": "委托价格",
  17434. "type": "number"
  17435. },
  17436. "orderqty": {
  17437. "description": "委托数量",
  17438. "type": "integer"
  17439. },
  17440. "orderstatus": {
  17441. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17442. "type": "integer"
  17443. },
  17444. "ordertime": {
  17445. "description": "委托时间",
  17446. "type": "string"
  17447. },
  17448. "picurls1": {
  17449. "description": "预售商品介绍图片[多张用逗号分隔]",
  17450. "type": "string"
  17451. },
  17452. "picurls2": {
  17453. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17454. "type": "string"
  17455. },
  17456. "trademode": {
  17457. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17458. "type": "integer"
  17459. },
  17460. "tradeqty": {
  17461. "description": "成交数量",
  17462. "type": "integer"
  17463. },
  17464. "vendorname1": {
  17465. "description": "预售商品供应商名称",
  17466. "type": "string"
  17467. },
  17468. "vendorname2": {
  17469. "description": "挂牌商品供应商名称",
  17470. "type": "string"
  17471. }
  17472. }
  17473. },
  17474. "models.Loginaccount": {
  17475. "type": "object",
  17476. "required": [
  17477. "loginid"
  17478. ],
  17479. "properties": {
  17480. "canoutin": {
  17481. "description": "是否可出入金 - 0:不可 1:可",
  17482. "type": "integer"
  17483. },
  17484. "clientroleid": {
  17485. "description": "终端角色ID",
  17486. "type": "integer"
  17487. },
  17488. "haslogined": {
  17489. "description": "是否已登录 - 0:未登录 1:已登录",
  17490. "type": "integer"
  17491. },
  17492. "hasupdatedpwd": {
  17493. "description": "是否已更改密码 - 0:未修改 1:已修改",
  17494. "type": "integer"
  17495. },
  17496. "lastloginip": {
  17497. "description": "最新登录地址",
  17498. "type": "string"
  17499. },
  17500. "lastloginmode": {
  17501. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17502. "type": "integer"
  17503. },
  17504. "lastloginremark": {
  17505. "description": "最新登录描述",
  17506. "type": "string"
  17507. },
  17508. "lastlogintime": {
  17509. "description": "最新登录时间",
  17510. "type": "string"
  17511. },
  17512. "logincode": {
  17513. "description": "登录代码",
  17514. "type": "string"
  17515. },
  17516. "loginfailnum": {
  17517. "description": "连续登录失败次数(登录成功时清零)",
  17518. "type": "integer"
  17519. },
  17520. "loginid": {
  17521. "description": "登陆账号",
  17522. "type": "integer"
  17523. },
  17524. "loginport": {
  17525. "description": "最新登录端口",
  17526. "type": "integer"
  17527. },
  17528. "loginstatus": {
  17529. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  17530. "type": "integer"
  17531. },
  17532. "loginusertype": {
  17533. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  17534. "type": "integer"
  17535. },
  17536. "modifierid": {
  17537. "description": "修改人",
  17538. "type": "integer"
  17539. },
  17540. "modifytime": {
  17541. "description": "修改时间",
  17542. "type": "string"
  17543. },
  17544. "pwdwrongcount": {
  17545. "description": "密码错误次数",
  17546. "type": "integer"
  17547. },
  17548. "taaccountrighttype": {
  17549. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  17550. "type": "integer"
  17551. },
  17552. "unfreezetime": {
  17553. "description": "账户解冻时间",
  17554. "type": "string"
  17555. },
  17556. "userid": {
  17557. "description": "用户ID",
  17558. "type": "integer"
  17559. }
  17560. }
  17561. },
  17562. "models.MainAccountInfo": {
  17563. "type": "object",
  17564. "properties": {
  17565. "accountid": {
  17566. "description": "账号id",
  17567. "type": "string"
  17568. },
  17569. "appid": {
  17570. "description": "AppID",
  17571. "type": "string"
  17572. },
  17573. "authcode": {
  17574. "description": "授权码",
  17575. "type": "string"
  17576. },
  17577. "brokerid": {
  17578. "description": "经纪商id",
  17579. "type": "string"
  17580. },
  17581. "fcid": {
  17582. "description": "期货公司id",
  17583. "type": "integer"
  17584. },
  17585. "fcname": {
  17586. "description": "期货公司代码",
  17587. "type": "string"
  17588. },
  17589. "hedgeaccountcode": {
  17590. "description": "外部账号代码",
  17591. "type": "string"
  17592. },
  17593. "hedgeaccountpwd": {
  17594. "description": "密码",
  17595. "type": "string"
  17596. },
  17597. "ismain": {
  17598. "description": "是否主账号",
  17599. "type": "integer"
  17600. },
  17601. "relateduserid": {
  17602. "description": "关联用户id",
  17603. "type": "integer"
  17604. }
  17605. }
  17606. },
  17607. "models.Market": {
  17608. "type": "object",
  17609. "required": [
  17610. "marketid",
  17611. "marketstatus",
  17612. "openmethod",
  17613. "reckonpricealgorithm",
  17614. "trademode",
  17615. "tradeproperty"
  17616. ],
  17617. "properties": {
  17618. "auctionwrtype": {
  17619. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  17620. "type": "integer"
  17621. },
  17622. "canacceptquote": {
  17623. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  17624. "type": "integer"
  17625. },
  17626. "cangoodsexercise": {
  17627. "description": "[期权]是否可现货行权- 0:否 1:是",
  17628. "type": "integer"
  17629. },
  17630. "cangoodsexercisetype": {
  17631. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  17632. "type": "integer"
  17633. },
  17634. "canmanualquotestrike": {
  17635. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  17636. "type": "integer"
  17637. },
  17638. "canmutistage": {
  17639. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  17640. "type": "integer"
  17641. },
  17642. "canpreexercise": {
  17643. "description": "[期权]是否可预申报- 0:否 1:是",
  17644. "type": "integer"
  17645. },
  17646. "clearinterval": {
  17647. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  17648. "type": "integer"
  17649. },
  17650. "contracttmp": {
  17651. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  17652. "type": "string"
  17653. },
  17654. "exchareaid": {
  17655. "description": "所属交易所,可以没有",
  17656. "type": "integer"
  17657. },
  17658. "goodstype": {
  17659. "description": "商品类型 - 1:交易商品 2:仓单商品",
  17660. "type": "integer"
  17661. },
  17662. "hasrebate": {
  17663. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  17664. "type": "integer"
  17665. },
  17666. "hastradecredit": {
  17667. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  17668. "type": "integer"
  17669. },
  17670. "haswr": {
  17671. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  17672. "type": "integer"
  17673. },
  17674. "isdeductmargin": {
  17675. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  17676. "type": "integer"
  17677. },
  17678. "isrecordsource": {
  17679. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  17680. "type": "integer"
  17681. },
  17682. "isreleasemargin": {
  17683. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  17684. "type": "integer"
  17685. },
  17686. "marginformula": {
  17687. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17688. "type": "integer"
  17689. },
  17690. "marginformula2": {
  17691. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17692. "type": "integer"
  17693. },
  17694. "marketid": {
  17695. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17696. "type": "integer"
  17697. },
  17698. "marketname": {
  17699. "description": "市场名称",
  17700. "type": "string"
  17701. },
  17702. "marketserviceid": {
  17703. "description": "市场服务ID",
  17704. "type": "integer"
  17705. },
  17706. "marketstatus": {
  17707. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  17708. "type": "integer"
  17709. },
  17710. "markettype": {
  17711. "description": "市场类型- 1:非交易服务 2:交易服务",
  17712. "type": "integer"
  17713. },
  17714. "matchermode": {
  17715. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  17716. "type": "integer"
  17717. },
  17718. "openmethod": {
  17719. "description": "开盘模式 - 0 自动 1手动",
  17720. "type": "integer"
  17721. },
  17722. "otcuserid": {
  17723. "description": "场外期权做市商[场外期权]",
  17724. "type": "integer"
  17725. },
  17726. "outersynctime": {
  17727. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  17728. "type": "string"
  17729. },
  17730. "pendingflag": {
  17731. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  17732. "type": "integer"
  17733. },
  17734. "pendingtime": {
  17735. "description": "待开市时间[通道交易-对冲](HH:mm)",
  17736. "type": "string"
  17737. },
  17738. "performancetempid": {
  17739. "description": "履约计划模板ID - 作废",
  17740. "type": "integer"
  17741. },
  17742. "premiumquotemode": {
  17743. "description": "权利金报价方式 - 1:自动 2:手动",
  17744. "type": "integer"
  17745. },
  17746. "rebateratio": {
  17747. "description": "返利比率[竞价式]",
  17748. "type": "number"
  17749. },
  17750. "reckonorder": {
  17751. "description": "结算顺序",
  17752. "type": "integer"
  17753. },
  17754. "reckonpricealgorithm": {
  17755. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  17756. "type": "integer"
  17757. },
  17758. "reckonpriceparam": {
  17759. "description": "结算价参数",
  17760. "type": "integer"
  17761. },
  17762. "reckontime": {
  17763. "description": "结算时间[通道交易-对冲](HH:mm)",
  17764. "type": "string"
  17765. },
  17766. "roleprioritytype": {
  17767. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  17768. "type": "integer"
  17769. },
  17770. "selllistingauditflag": {
  17771. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  17772. "type": "integer"
  17773. },
  17774. "trademarkettype": {
  17775. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  17776. "type": "integer"
  17777. },
  17778. "trademode": {
  17779. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17780. "type": "integer"
  17781. },
  17782. "tradeproperty": {
  17783. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  17784. "type": "integer"
  17785. },
  17786. "tradetype": {
  17787. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  17788. "type": "integer"
  17789. }
  17790. }
  17791. },
  17792. "models.Marketrun": {
  17793. "type": "object",
  17794. "required": [
  17795. "marketid",
  17796. "nexttradedate",
  17797. "reckonflag",
  17798. "runstatus",
  17799. "tradedate",
  17800. "tradedate2"
  17801. ],
  17802. "properties": {
  17803. "afternexttradedate": {
  17804. "description": "下下交易日",
  17805. "type": "string"
  17806. },
  17807. "clearquoteflag": {
  17808. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  17809. "type": "integer"
  17810. },
  17811. "lastreckondate": {
  17812. "description": "最新交易日(结算成功)",
  17813. "type": "string"
  17814. },
  17815. "machinedate": {
  17816. "description": "机器时间",
  17817. "type": "string"
  17818. },
  17819. "manualflag": {
  17820. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  17821. "type": "integer"
  17822. },
  17823. "marketid": {
  17824. "description": "市场ID",
  17825. "type": "integer"
  17826. },
  17827. "nexttradedate": {
  17828. "description": "下一交易日",
  17829. "type": "string"
  17830. },
  17831. "pretradedate": {
  17832. "description": "上一交易日",
  17833. "type": "string"
  17834. },
  17835. "reckonflag": {
  17836. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  17837. "type": "integer"
  17838. },
  17839. "runstatus": {
  17840. "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.今日免清算",
  17841. "type": "integer"
  17842. },
  17843. "sectionid": {
  17844. "description": "时间段号[多时段时用]",
  17845. "type": "integer"
  17846. },
  17847. "tradedate": {
  17848. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  17849. "type": "string"
  17850. },
  17851. "tradedate2": {
  17852. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  17853. "type": "string"
  17854. },
  17855. "updatetime": {
  17856. "description": "更新时间",
  17857. "type": "string"
  17858. }
  17859. }
  17860. },
  17861. "models.Messageboard": {
  17862. "type": "object",
  17863. "required": [
  17864. "messageboardid"
  17865. ],
  17866. "properties": {
  17867. "contactnum": {
  17868. "description": "联系电话",
  17869. "type": "string"
  17870. },
  17871. "createtime": {
  17872. "description": "创建时间",
  17873. "type": "string"
  17874. },
  17875. "message": {
  17876. "description": "留言信息",
  17877. "type": "string"
  17878. },
  17879. "messageboardid": {
  17880. "description": "留言簿ID(SEQ_MessageBoard)",
  17881. "type": "integer"
  17882. },
  17883. "userid": {
  17884. "description": "用户ID",
  17885. "type": "integer"
  17886. }
  17887. }
  17888. },
  17889. "models.MyCoupon": {
  17890. "type": "object",
  17891. "required": [
  17892. "accountid",
  17893. "coupontypeid"
  17894. ],
  17895. "properties": {
  17896. "accountid": {
  17897. "description": "资金账户ID",
  17898. "type": "integer"
  17899. },
  17900. "areauserid": {
  17901. "description": "所属机构",
  17902. "type": "integer"
  17903. },
  17904. "conditionvalue": {
  17905. "description": "条件阈值(可为0)",
  17906. "type": "number"
  17907. },
  17908. "couponcategroy": {
  17909. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  17910. "type": "integer"
  17911. },
  17912. "couponname": {
  17913. "description": "优惠券名称",
  17914. "type": "string"
  17915. },
  17916. "coupontypeid": {
  17917. "description": "优惠券类型ID",
  17918. "type": "string"
  17919. },
  17920. "couponvalue": {
  17921. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  17922. "type": "number"
  17923. },
  17924. "curfreezeqty": {
  17925. "description": "期末冻结数量",
  17926. "type": "integer"
  17927. },
  17928. "curqty": {
  17929. "description": "期末数量",
  17930. "type": "integer"
  17931. },
  17932. "isgeneral": {
  17933. "description": "是否通用券 - 0:否 1:是",
  17934. "type": "integer"
  17935. },
  17936. "isunusable": {
  17937. "description": "是否不可用",
  17938. "type": "boolean"
  17939. },
  17940. "limitedflag": {
  17941. "description": "是否指定商品 - 0:不限 1:限制",
  17942. "type": "integer"
  17943. },
  17944. "limitedgoodsids": {
  17945. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  17946. "type": "string"
  17947. },
  17948. "orifreezeqty": {
  17949. "description": "期初冻结数量",
  17950. "type": "integer"
  17951. },
  17952. "oriqty": {
  17953. "description": "期初数量",
  17954. "type": "integer"
  17955. },
  17956. "reasontype": {
  17957. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  17958. "type": "integer"
  17959. },
  17960. "todaydecrease": {
  17961. "description": "今日减少",
  17962. "type": "integer"
  17963. },
  17964. "todayincrease": {
  17965. "description": "今日增加",
  17966. "type": "integer"
  17967. },
  17968. "userid": {
  17969. "description": "用户ID",
  17970. "type": "integer"
  17971. },
  17972. "userscope": {
  17973. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  17974. "type": "string"
  17975. }
  17976. }
  17977. },
  17978. "models.MyCouponHold": {
  17979. "type": "object",
  17980. "required": [
  17981. "couponholdid"
  17982. ],
  17983. "properties": {
  17984. "accountid": {
  17985. "description": "资金账户ID",
  17986. "type": "integer"
  17987. },
  17988. "conditionvalue": {
  17989. "description": "条件阈值(可为0)",
  17990. "type": "number"
  17991. },
  17992. "couponcategroy": {
  17993. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  17994. "type": "integer"
  17995. },
  17996. "couponholdid": {
  17997. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  17998. "type": "string"
  17999. },
  18000. "couponname": {
  18001. "description": "优惠券名称",
  18002. "type": "string"
  18003. },
  18004. "coupontypeid": {
  18005. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  18006. "type": "string"
  18007. },
  18008. "couponvalue": {
  18009. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18010. "type": "number"
  18011. },
  18012. "createtime": {
  18013. "description": "创建时间",
  18014. "type": "string"
  18015. },
  18016. "enddate": {
  18017. "description": "结束日期",
  18018. "type": "string"
  18019. },
  18020. "giveapplyid": {
  18021. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  18022. "type": "integer"
  18023. },
  18024. "holdstatus": {
  18025. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  18026. "type": "integer"
  18027. },
  18028. "isgeneral": {
  18029. "description": "是否通用券 - 0:否 1:是",
  18030. "type": "integer"
  18031. },
  18032. "limitedflag": {
  18033. "description": "是否指定商品 - 0:不限 1:限制",
  18034. "type": "integer"
  18035. },
  18036. "limitedgoodsids": {
  18037. "description": "指定商品IDs[逗号分隔]",
  18038. "type": "string"
  18039. },
  18040. "qty": {
  18041. "description": "数量(按1平铺)",
  18042. "type": "integer"
  18043. },
  18044. "startdate": {
  18045. "description": "开始日期",
  18046. "type": "string"
  18047. },
  18048. "userid": {
  18049. "description": "用户ID",
  18050. "type": "integer"
  18051. },
  18052. "userscope": {
  18053. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  18054. "type": "string"
  18055. }
  18056. }
  18057. },
  18058. "models.MyUsedCoupon": {
  18059. "type": "object",
  18060. "required": [
  18061. "coupontypeid",
  18062. "orderid"
  18063. ],
  18064. "properties": {
  18065. "accountid": {
  18066. "description": "资金账户ID(买方)",
  18067. "type": "integer"
  18068. },
  18069. "conditionvalue": {
  18070. "description": "条件阈值(可为0)",
  18071. "type": "number"
  18072. },
  18073. "couponcategroy": {
  18074. "description": "种类 - 1:现金券 2:折扣券",
  18075. "type": "integer"
  18076. },
  18077. "couponname": {
  18078. "description": "优惠券名称",
  18079. "type": "string"
  18080. },
  18081. "coupontypeid": {
  18082. "description": "优惠券类型ID(买方)",
  18083. "type": "string"
  18084. },
  18085. "couponvalue": {
  18086. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  18087. "type": "number"
  18088. },
  18089. "createtime": {
  18090. "description": "创建时间",
  18091. "type": "string"
  18092. },
  18093. "goodsid": {
  18094. "description": "商品ID",
  18095. "type": "integer"
  18096. },
  18097. "handlestatus": {
  18098. "description": "处理状态",
  18099. "type": "integer"
  18100. },
  18101. "marketid": {
  18102. "description": "市场ID",
  18103. "type": "integer"
  18104. },
  18105. "offamount": {
  18106. "description": "优惠金额",
  18107. "type": "number"
  18108. },
  18109. "orderid": {
  18110. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18111. "type": "string"
  18112. },
  18113. "sellaccountid": {
  18114. "description": "资金账户ID(卖方)",
  18115. "type": "integer"
  18116. },
  18117. "tradeamount": {
  18118. "description": "成交金额",
  18119. "type": "number"
  18120. },
  18121. "tradeid": {
  18122. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18123. "type": "string"
  18124. },
  18125. "usedqty": {
  18126. "description": "使用数量",
  18127. "type": "integer"
  18128. }
  18129. }
  18130. },
  18131. "models.OperationPrimaryMenu": {
  18132. "type": "object",
  18133. "properties": {
  18134. "Children": {
  18135. "description": "二级功能菜单",
  18136. "type": "array",
  18137. "items": {
  18138. "$ref": "#/definitions/models.OperationSecondaryMenu"
  18139. }
  18140. },
  18141. "Key": {
  18142. "description": "菜单KEY",
  18143. "type": "string"
  18144. },
  18145. "Label": {
  18146. "description": "菜单标题",
  18147. "type": "string"
  18148. }
  18149. }
  18150. },
  18151. "models.OperationSecondaryMenu": {
  18152. "type": "object",
  18153. "properties": {
  18154. "Key": {
  18155. "description": "菜单KEY",
  18156. "type": "string"
  18157. },
  18158. "Label": {
  18159. "description": "菜单标题",
  18160. "type": "string"
  18161. },
  18162. "TabList": {
  18163. "description": "三级功能菜单",
  18164. "type": "array",
  18165. "items": {
  18166. "$ref": "#/definitions/models.OperationTabMenu"
  18167. }
  18168. }
  18169. }
  18170. },
  18171. "models.OperationTabMenu": {
  18172. "type": "object",
  18173. "properties": {
  18174. "Key": {
  18175. "description": "菜单KEY",
  18176. "type": "string"
  18177. },
  18178. "Label": {
  18179. "description": "菜单标题",
  18180. "type": "string"
  18181. }
  18182. }
  18183. },
  18184. "models.PendingAuditBizModel": {
  18185. "type": "object",
  18186. "properties": {
  18187. "accountid": {
  18188. "description": "现货账户",
  18189. "type": "string"
  18190. },
  18191. "areaname": {
  18192. "description": "所属部门",
  18193. "type": "string"
  18194. },
  18195. "bizid": {
  18196. "description": "业务ID",
  18197. "type": "string"
  18198. },
  18199. "bizname": {
  18200. "description": "业务名称",
  18201. "type": "string"
  18202. },
  18203. "status": {
  18204. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18205. "type": "integer"
  18206. },
  18207. "type": {
  18208. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18209. "type": "integer"
  18210. }
  18211. }
  18212. },
  18213. "models.QueryErrorInfosRsp": {
  18214. "type": "object",
  18215. "required": [
  18216. "errorid"
  18217. ],
  18218. "properties": {
  18219. "description": {
  18220. "description": "异常描述",
  18221. "type": "string"
  18222. },
  18223. "errorcode": {
  18224. "description": "异常代码",
  18225. "type": "string"
  18226. },
  18227. "errorid": {
  18228. "description": "异常ID",
  18229. "type": "integer"
  18230. },
  18231. "modulecode": {
  18232. "description": "所属模块",
  18233. "type": "string"
  18234. },
  18235. "operatecode": {
  18236. "description": "所属操作",
  18237. "type": "string"
  18238. },
  18239. "rownumber": {
  18240. "description": "行号",
  18241. "type": "string"
  18242. }
  18243. }
  18244. },
  18245. "models.QueryHedgeOrderDetailRsp": {
  18246. "type": "object",
  18247. "properties": {
  18248. "accountid": {
  18249. "description": "账户ID",
  18250. "type": "integer"
  18251. },
  18252. "buyorsell": {
  18253. "description": "买卖 - 0:买 1:卖",
  18254. "type": "integer"
  18255. },
  18256. "cancellogincode": {
  18257. "description": "撤单人",
  18258. "type": "string"
  18259. },
  18260. "channelbuildtype": {
  18261. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  18262. "type": "integer"
  18263. },
  18264. "channelinnerorderstatus": {
  18265. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  18266. "type": "integer"
  18267. },
  18268. "channeloperatetype": {
  18269. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  18270. "type": "integer"
  18271. },
  18272. "closetype": {
  18273. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18274. "type": "integer"
  18275. },
  18276. "curexchangerate": {
  18277. "description": "当前汇率",
  18278. "type": "number"
  18279. },
  18280. "exchangefullname": {
  18281. "description": "外部交易所全称",
  18282. "type": "string"
  18283. },
  18284. "goodscode": {
  18285. "description": "商品代码(内部)",
  18286. "type": "string"
  18287. },
  18288. "goodsid": {
  18289. "description": "商品ID",
  18290. "type": "integer"
  18291. },
  18292. "goodsname": {
  18293. "description": "商品名称",
  18294. "type": "string"
  18295. },
  18296. "marketid": {
  18297. "description": "市场ID",
  18298. "type": "integer"
  18299. },
  18300. "openfreezemargin": {
  18301. "description": "冻结保证金(冻结交易金额)",
  18302. "type": "number"
  18303. },
  18304. "orderid": {
  18305. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18306. "type": "string"
  18307. },
  18308. "orderlogincode": {
  18309. "description": "委托人",
  18310. "type": "string"
  18311. },
  18312. "orderprice": {
  18313. "description": "委托价格(账户)",
  18314. "type": "number"
  18315. },
  18316. "orderqty": {
  18317. "description": "委托数量",
  18318. "type": "integer"
  18319. },
  18320. "ordertime": {
  18321. "description": "委托时间",
  18322. "type": "string"
  18323. },
  18324. "pricemode": {
  18325. "description": "取价方式 - 1:市价 2: 限价",
  18326. "type": "integer"
  18327. },
  18328. "tradedate": {
  18329. "description": "交易日(yyyyMMdd)",
  18330. "type": "string"
  18331. },
  18332. "tradeqty": {
  18333. "description": "成交数量",
  18334. "type": "integer"
  18335. }
  18336. }
  18337. },
  18338. "models.QueryHedgeTradeDetailRsp": {
  18339. "type": "object",
  18340. "properties": {
  18341. "accountid": {
  18342. "description": "账号ID",
  18343. "type": "integer"
  18344. },
  18345. "buyorsell": {
  18346. "description": "方向 - 0:买 1:卖",
  18347. "type": "integer"
  18348. },
  18349. "channelbuildtype": {
  18350. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18351. "type": "integer"
  18352. },
  18353. "closecharge": {
  18354. "description": "平仓手续费(账户)",
  18355. "type": "number"
  18356. },
  18357. "closecharge2": {
  18358. "description": "平仓手续费(商品)",
  18359. "type": "number"
  18360. },
  18361. "closepl": {
  18362. "description": "平仓盈亏(账户)",
  18363. "type": "number"
  18364. },
  18365. "closepl2": {
  18366. "description": "平仓盈亏(商品)",
  18367. "type": "number"
  18368. },
  18369. "closepl3": {
  18370. "description": "平仓盈亏(账户)(逐笔)",
  18371. "type": "number"
  18372. },
  18373. "closepl4": {
  18374. "description": "平仓盈亏(商品)(逐笔)",
  18375. "type": "number"
  18376. },
  18377. "closetype": {
  18378. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18379. "type": "integer"
  18380. },
  18381. "curexchangerate": {
  18382. "description": "当前汇率",
  18383. "type": "number"
  18384. },
  18385. "exchangefullname": {
  18386. "description": "外部交易所全称",
  18387. "type": "string"
  18388. },
  18389. "goodscode": {
  18390. "description": "商品代码(内部)",
  18391. "type": "string"
  18392. },
  18393. "goodsid": {
  18394. "description": "商品ID",
  18395. "type": "integer"
  18396. },
  18397. "goodsname": {
  18398. "description": "商品名称",
  18399. "type": "string"
  18400. },
  18401. "marketid": {
  18402. "description": "市场ID",
  18403. "type": "integer"
  18404. },
  18405. "opencharge": {
  18406. "description": "建仓手续费(账户)",
  18407. "type": "number"
  18408. },
  18409. "opencharge2": {
  18410. "description": "建仓手续费(商品)",
  18411. "type": "number"
  18412. },
  18413. "orderid": {
  18414. "description": "委托单号",
  18415. "type": "string"
  18416. },
  18417. "orderlogincode": {
  18418. "description": "委托人",
  18419. "type": "string"
  18420. },
  18421. "tradeamount": {
  18422. "description": "成交金额(账户)",
  18423. "type": "number"
  18424. },
  18425. "tradedate": {
  18426. "description": "交易日(yyyyMMdd)",
  18427. "type": "string"
  18428. },
  18429. "tradeid": {
  18430. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18431. "type": "string"
  18432. },
  18433. "tradeprice": {
  18434. "description": "成交价格",
  18435. "type": "number"
  18436. },
  18437. "tradeqty": {
  18438. "description": "成交数量",
  18439. "type": "integer"
  18440. },
  18441. "tradetime": {
  18442. "description": "成交时间",
  18443. "type": "string"
  18444. },
  18445. "tradetype": {
  18446. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  18447. "type": "integer"
  18448. }
  18449. }
  18450. },
  18451. "models.QuotePrimaryMenu": {
  18452. "type": "object",
  18453. "properties": {
  18454. "Index": {
  18455. "description": "序号",
  18456. "type": "integer"
  18457. },
  18458. "Key": {
  18459. "description": "键名",
  18460. "type": "string"
  18461. },
  18462. "Name": {
  18463. "description": "菜单名称",
  18464. "type": "string"
  18465. },
  18466. "SubMenus": {
  18467. "description": "子菜单",
  18468. "type": "array",
  18469. "items": {
  18470. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  18471. }
  18472. },
  18473. "SubTitleType": {
  18474. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  18475. "type": "integer"
  18476. },
  18477. "TradeModes": {
  18478. "description": "包含市场交易类型",
  18479. "type": "string"
  18480. }
  18481. }
  18482. },
  18483. "models.QuoteSecondaryMenu": {
  18484. "type": "object",
  18485. "properties": {
  18486. "ExExchangeCode": {
  18487. "description": "外部交易所代码",
  18488. "type": "string"
  18489. },
  18490. "ExExchangeID": {
  18491. "description": "外部交易所ID",
  18492. "type": "integer"
  18493. },
  18494. "GoodsGroupIDs": {
  18495. "description": "商品组ID列表",
  18496. "type": "array",
  18497. "items": {
  18498. "type": "integer"
  18499. }
  18500. },
  18501. "Index": {
  18502. "description": "序号",
  18503. "type": "integer"
  18504. },
  18505. "MarketID": {
  18506. "description": "市场ID",
  18507. "type": "integer"
  18508. },
  18509. "MenuTitle": {
  18510. "description": "菜单标题(市场名称或外部交易所名称)",
  18511. "type": "string"
  18512. },
  18513. "TradeMode": {
  18514. "description": "交易模式",
  18515. "type": "integer"
  18516. }
  18517. }
  18518. },
  18519. "models.RelatedGoodsEx": {
  18520. "type": "object",
  18521. "properties": {
  18522. "goodscode": {
  18523. "description": "商品代码",
  18524. "type": "string"
  18525. },
  18526. "goodsid": {
  18527. "description": "商品id",
  18528. "type": "integer"
  18529. },
  18530. "goodsname": {
  18531. "description": "商品名称",
  18532. "type": "string"
  18533. }
  18534. }
  18535. },
  18536. "models.SearchGoods": {
  18537. "type": "object",
  18538. "required": [
  18539. "goodscode",
  18540. "goodsid",
  18541. "goodsname",
  18542. "marketid",
  18543. "trademode"
  18544. ],
  18545. "properties": {
  18546. "goodscode": {
  18547. "description": "商品代码(内部)",
  18548. "type": "string"
  18549. },
  18550. "goodsid": {
  18551. "description": "商品ID(自增ID SEQ_GOODS)",
  18552. "type": "integer"
  18553. },
  18554. "goodsname": {
  18555. "description": "商品名称",
  18556. "type": "string"
  18557. },
  18558. "marketid": {
  18559. "description": "所属市场ID",
  18560. "type": "integer"
  18561. },
  18562. "marketname": {
  18563. "description": "市场名称",
  18564. "type": "string"
  18565. },
  18566. "trademode": {
  18567. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18568. "type": "integer"
  18569. }
  18570. }
  18571. },
  18572. "models.Systemparam": {
  18573. "type": "object",
  18574. "required": [
  18575. "paramcode"
  18576. ],
  18577. "properties": {
  18578. "loginid": {
  18579. "description": "更新用户账号,登录账号",
  18580. "type": "string"
  18581. },
  18582. "modifyflag": {
  18583. "description": "修改标志0 不允许修改 1 允许修改",
  18584. "type": "integer"
  18585. },
  18586. "paramcode": {
  18587. "description": "参数代码",
  18588. "type": "string"
  18589. },
  18590. "paramname": {
  18591. "description": "参数名",
  18592. "type": "string"
  18593. },
  18594. "paramtype": {
  18595. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  18596. "type": "integer"
  18597. },
  18598. "paramvalue": {
  18599. "description": "参数值",
  18600. "type": "string"
  18601. },
  18602. "paramvalue2": {
  18603. "description": "参数值(CLOB)",
  18604. "type": "string"
  18605. },
  18606. "regexpress": {
  18607. "description": "正则表达式",
  18608. "type": "string"
  18609. },
  18610. "remark": {
  18611. "description": "备注",
  18612. "type": "string"
  18613. },
  18614. "serverip": {
  18615. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  18616. "type": "string"
  18617. },
  18618. "showflag": {
  18619. "description": "是否显示0 不显示 1 显示",
  18620. "type": "integer"
  18621. },
  18622. "updatetime": {
  18623. "description": "更新时间",
  18624. "type": "string"
  18625. },
  18626. "userid": {
  18627. "description": "更新用户ID",
  18628. "type": "integer"
  18629. }
  18630. }
  18631. },
  18632. "models.Szdz3convertconfig": {
  18633. "type": "object",
  18634. "required": [
  18635. "converttype",
  18636. "innergoodsid",
  18637. "outergoodscode"
  18638. ],
  18639. "properties": {
  18640. "canin": {
  18641. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  18642. "type": "integer"
  18643. },
  18644. "canout": {
  18645. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  18646. "type": "integer"
  18647. },
  18648. "converttype": {
  18649. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  18650. "type": "integer"
  18651. },
  18652. "createtime": {
  18653. "description": "创建时间",
  18654. "type": "string"
  18655. },
  18656. "creatorid": {
  18657. "description": "创建人",
  18658. "type": "integer"
  18659. },
  18660. "daymaxvalue": {
  18661. "description": "当日最大转入限制",
  18662. "type": "number"
  18663. },
  18664. "freezedays": {
  18665. "description": "冻结天数 [5:花生米转交易]",
  18666. "type": "integer"
  18667. },
  18668. "innergoodsid": {
  18669. "description": "内部商品ID[交易]",
  18670. "type": "integer"
  18671. },
  18672. "inratio": {
  18673. "description": "目标值",
  18674. "type": "integer"
  18675. },
  18676. "modifierid": {
  18677. "description": "修改人",
  18678. "type": "integer"
  18679. },
  18680. "modifytime": {
  18681. "description": "修改时间",
  18682. "type": "string"
  18683. },
  18684. "outergoodscode": {
  18685. "description": "外部商品代码[JD\\PD]",
  18686. "type": "string"
  18687. },
  18688. "outratio": {
  18689. "description": "源值",
  18690. "type": "integer"
  18691. },
  18692. "pddecimalplace": {
  18693. "description": "PD小数位",
  18694. "type": "integer"
  18695. },
  18696. "timemaxvalue": {
  18697. "description": "单次最大转入限制",
  18698. "type": "number"
  18699. },
  18700. "timeminvalue": {
  18701. "description": "单次最小转入限制",
  18702. "type": "number"
  18703. }
  18704. }
  18705. },
  18706. "models.Szdz3searchwhitelist": {
  18707. "type": "object",
  18708. "required": [
  18709. "userid"
  18710. ],
  18711. "properties": {
  18712. "createtime": {
  18713. "description": "创建时间",
  18714. "type": "string"
  18715. },
  18716. "creatorid": {
  18717. "description": "创建人",
  18718. "type": "integer"
  18719. },
  18720. "modifierid": {
  18721. "description": "修改人",
  18722. "type": "integer"
  18723. },
  18724. "modifytime": {
  18725. "description": "修改时间",
  18726. "type": "string"
  18727. },
  18728. "userid": {
  18729. "description": "用户ID",
  18730. "type": "integer"
  18731. }
  18732. }
  18733. },
  18734. "models.Taaccount": {
  18735. "type": "object",
  18736. "required": [
  18737. "accountid",
  18738. "userid"
  18739. ],
  18740. "properties": {
  18741. "accountflag": {
  18742. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  18743. "type": "integer"
  18744. },
  18745. "accountid": {
  18746. "description": "资金账户ID",
  18747. "type": "integer"
  18748. },
  18749. "accountname": {
  18750. "description": "账户名称",
  18751. "type": "string"
  18752. },
  18753. "balance": {
  18754. "description": "期初余额",
  18755. "type": "number"
  18756. },
  18757. "capitalbalance": {
  18758. "description": "本金余额[外部子账户实际出入金余额]",
  18759. "type": "number"
  18760. },
  18761. "changeflag": {
  18762. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  18763. "type": "integer"
  18764. },
  18765. "changetime": {
  18766. "description": "账户状态变更时间",
  18767. "type": "string"
  18768. },
  18769. "closepl": {
  18770. "description": "今日平仓盈亏",
  18771. "type": "number"
  18772. },
  18773. "creditdecrease": {
  18774. "description": "今日授信减少",
  18775. "type": "number"
  18776. },
  18777. "creditincrease": {
  18778. "description": "今日授信增加",
  18779. "type": "number"
  18780. },
  18781. "currencyid": {
  18782. "description": "货币ID",
  18783. "type": "integer"
  18784. },
  18785. "currentbalance": {
  18786. "description": "期末余额",
  18787. "type": "number"
  18788. },
  18789. "freezecharge": {
  18790. "description": "手续费冻结",
  18791. "type": "number"
  18792. },
  18793. "freezemargin": {
  18794. "description": "冻结保证金",
  18795. "type": "number"
  18796. },
  18797. "fromaccountid": {
  18798. "description": "所属上级账户",
  18799. "type": "integer"
  18800. },
  18801. "inamount": {
  18802. "description": "今日入金金额(包括三方入金)",
  18803. "type": "number"
  18804. },
  18805. "ismain": {
  18806. "description": "是否母账号 0:不是母账户 1:是母账户",
  18807. "type": "integer"
  18808. },
  18809. "ismarketaccount": {
  18810. "description": "是否机构接单账号 0:不是 1:是",
  18811. "type": "integer"
  18812. },
  18813. "isreckonaccount": {
  18814. "description": "是否机构分润账号 0:不是 1:是",
  18815. "type": "integer"
  18816. },
  18817. "mortgagecredit": {
  18818. "description": "授信金额",
  18819. "type": "number"
  18820. },
  18821. "orifreezecharge": {
  18822. "description": "期初手续费冻结",
  18823. "type": "number"
  18824. },
  18825. "orifreezemargin": {
  18826. "description": "期初冻结保证金",
  18827. "type": "number"
  18828. },
  18829. "orimortgagecredit": {
  18830. "description": "期初授信金额",
  18831. "type": "number"
  18832. },
  18833. "oriothercredit": {
  18834. "description": "期初其它授信金额",
  18835. "type": "number"
  18836. },
  18837. "oriotherfreezemargin": {
  18838. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18839. "type": "number"
  18840. },
  18841. "orioutamountfreeze": {
  18842. "description": "期初出金冻结",
  18843. "type": "number"
  18844. },
  18845. "oriusedmargin": {
  18846. "description": "期初占用保证金",
  18847. "type": "number"
  18848. },
  18849. "othercredit": {
  18850. "description": "其它授信金额",
  18851. "type": "number"
  18852. },
  18853. "othercreditdecrease": {
  18854. "description": "今日其它授信减少",
  18855. "type": "number"
  18856. },
  18857. "othercreditincrease": {
  18858. "description": "今日其它授信增加",
  18859. "type": "number"
  18860. },
  18861. "otherfreezemargin": {
  18862. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18863. "type": "number"
  18864. },
  18865. "otherincome": {
  18866. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  18867. "type": "number"
  18868. },
  18869. "otherpay": {
  18870. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  18871. "type": "number"
  18872. },
  18873. "outamount": {
  18874. "description": "今日出金金额(包括三方出金)",
  18875. "type": "number"
  18876. },
  18877. "outamountfreeze": {
  18878. "description": "出金冻结",
  18879. "type": "number"
  18880. },
  18881. "outthreshold": {
  18882. "description": "出金阈值",
  18883. "type": "number"
  18884. },
  18885. "parentaccountid": {
  18886. "description": "所属根账号",
  18887. "type": "integer"
  18888. },
  18889. "paycharge": {
  18890. "description": "今日手续费支出",
  18891. "type": "number"
  18892. },
  18893. "relatedaccountstatus": {
  18894. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  18895. "type": "integer"
  18896. },
  18897. "relateduserid": {
  18898. "description": "关联用户",
  18899. "type": "integer"
  18900. },
  18901. "serivcegroup": {
  18902. "description": "服务分组",
  18903. "type": "integer"
  18904. },
  18905. "signstatus": {
  18906. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18907. "type": "integer"
  18908. },
  18909. "sublevelpath": {
  18910. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18911. "type": "string"
  18912. },
  18913. "taaccounttype": {
  18914. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18915. "type": "integer"
  18916. },
  18917. "thirdinamount": {
  18918. "description": "今日三方入金",
  18919. "type": "number"
  18920. },
  18921. "thirdoutamount": {
  18922. "description": "今日三方出金",
  18923. "type": "number"
  18924. },
  18925. "tradestatus": {
  18926. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18927. "type": "integer"
  18928. },
  18929. "tradestatuschangetime": {
  18930. "description": "激活时间",
  18931. "type": "string"
  18932. },
  18933. "transferamount": {
  18934. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18935. "type": "number"
  18936. },
  18937. "usedmargin": {
  18938. "description": "占用保证金",
  18939. "type": "number"
  18940. },
  18941. "userid": {
  18942. "description": "用户ID",
  18943. "type": "integer"
  18944. }
  18945. }
  18946. },
  18947. "models.Tablecolumnconfig": {
  18948. "type": "object",
  18949. "required": [
  18950. "autoid"
  18951. ],
  18952. "properties": {
  18953. "aligntype": {
  18954. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  18955. "type": "integer"
  18956. },
  18957. "autoid": {
  18958. "description": "AutoID",
  18959. "type": "integer"
  18960. },
  18961. "columnfield": {
  18962. "description": "列字段",
  18963. "type": "string"
  18964. },
  18965. "columntitle": {
  18966. "description": "列Title",
  18967. "type": "string"
  18968. },
  18969. "columnwidth": {
  18970. "description": "列宽",
  18971. "type": "string"
  18972. },
  18973. "formatterstring": {
  18974. "description": "格式化字符",
  18975. "type": "string"
  18976. },
  18977. "formattertype": {
  18978. "description": "格式化类型",
  18979. "type": "string"
  18980. },
  18981. "groupname": {
  18982. "description": "表头分组名称",
  18983. "type": "string"
  18984. },
  18985. "isshow": {
  18986. "description": "是否显示 - 0:不显示 1:显示",
  18987. "type": "integer"
  18988. },
  18989. "needsummary": {
  18990. "description": "是否需要汇总 - 0:不需要 1:需要",
  18991. "type": "integer"
  18992. },
  18993. "orderindex": {
  18994. "description": "顺序",
  18995. "type": "integer"
  18996. },
  18997. "remark": {
  18998. "description": "备注",
  18999. "type": "string"
  19000. },
  19001. "summarytype": {
  19002. "description": "汇总类型 - 1:加总 2:最后一个",
  19003. "type": "integer"
  19004. },
  19005. "tablekey": {
  19006. "description": "列表Key",
  19007. "type": "string"
  19008. }
  19009. }
  19010. },
  19011. "models.Useraccount": {
  19012. "type": "object",
  19013. "required": [
  19014. "userid"
  19015. ],
  19016. "properties": {
  19017. "accountname": {
  19018. "description": "账户名称(机构名称)",
  19019. "type": "string"
  19020. },
  19021. "accountstatus": {
  19022. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19023. "type": "integer"
  19024. },
  19025. "auditremark": {
  19026. "description": "审核备注",
  19027. "type": "string"
  19028. },
  19029. "audittime": {
  19030. "description": "审核时间",
  19031. "type": "string"
  19032. },
  19033. "audituserid": {
  19034. "description": "审核人",
  19035. "type": "integer"
  19036. },
  19037. "broker": {
  19038. "description": "所属经纪人ID",
  19039. "type": "integer"
  19040. },
  19041. "canceltime": {
  19042. "description": "销户时间",
  19043. "type": "string"
  19044. },
  19045. "canceluserid": {
  19046. "description": "销户人",
  19047. "type": "integer"
  19048. },
  19049. "createtime": {
  19050. "description": "创建时间",
  19051. "type": "string"
  19052. },
  19053. "creatorid": {
  19054. "description": "创建人",
  19055. "type": "integer"
  19056. },
  19057. "hasauth": {
  19058. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19059. "type": "integer"
  19060. },
  19061. "isanonymous": {
  19062. "description": "是否匿名下单 - 0:否 1:是",
  19063. "type": "integer"
  19064. },
  19065. "maxinvestornum": {
  19066. "description": "最大用户数(经纪会员下投资者个数)",
  19067. "type": "integer"
  19068. },
  19069. "memberuserid": {
  19070. "description": "所属会员ID",
  19071. "type": "integer"
  19072. },
  19073. "modifierid": {
  19074. "description": "修改人",
  19075. "type": "integer"
  19076. },
  19077. "modifyremark": {
  19078. "description": "变更备注",
  19079. "type": "string"
  19080. },
  19081. "modifystatus": {
  19082. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19083. "type": "integer"
  19084. },
  19085. "modifytime": {
  19086. "description": "修改时间",
  19087. "type": "string"
  19088. },
  19089. "parentuserid": {
  19090. "description": "所属机构ID",
  19091. "type": "integer"
  19092. },
  19093. "reckonaccountid": {
  19094. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19095. "type": "integer"
  19096. },
  19097. "refercount": {
  19098. "description": "推荐总人数",
  19099. "type": "integer"
  19100. },
  19101. "refereeuserid": {
  19102. "description": "推荐人ID",
  19103. "type": "integer"
  19104. },
  19105. "refernum": {
  19106. "description": "推荐码",
  19107. "type": "string"
  19108. },
  19109. "subarealevelpath": {
  19110. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19111. "type": "string"
  19112. },
  19113. "userid": {
  19114. "description": "用户ID",
  19115. "type": "integer"
  19116. },
  19117. "usertype": {
  19118. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19119. "type": "integer"
  19120. }
  19121. }
  19122. },
  19123. "models.Userfavoritegoods": {
  19124. "type": "object",
  19125. "required": [
  19126. "goodsid"
  19127. ],
  19128. "properties": {
  19129. "goodsid": {
  19130. "description": "商品ID",
  19131. "type": "integer"
  19132. }
  19133. }
  19134. },
  19135. "models.Userinfo": {
  19136. "type": "object",
  19137. "required": [
  19138. "userid"
  19139. ],
  19140. "properties": {
  19141. "address": {
  19142. "description": "地址",
  19143. "type": "string"
  19144. },
  19145. "attachment1": {
  19146. "description": "附件1",
  19147. "type": "string"
  19148. },
  19149. "attachment2": {
  19150. "description": "附件2",
  19151. "type": "string"
  19152. },
  19153. "bankaccount": {
  19154. "description": "银行帐号 (加密存储)",
  19155. "type": "string"
  19156. },
  19157. "bankaccountname": {
  19158. "description": "收款人名称",
  19159. "type": "string"
  19160. },
  19161. "bankcardfrontphotourl": {
  19162. "description": "银行卡正面照地址",
  19163. "type": "string"
  19164. },
  19165. "bankid": {
  19166. "description": "银行编码",
  19167. "type": "string"
  19168. },
  19169. "bankname": {
  19170. "description": "银行名称",
  19171. "type": "string"
  19172. },
  19173. "biznature": {
  19174. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19175. "type": "integer"
  19176. },
  19177. "bizscope": {
  19178. "description": "企业经营范围(企业)",
  19179. "type": "string"
  19180. },
  19181. "cardbackphotourl": {
  19182. "description": "证件背面图片地址",
  19183. "type": "string"
  19184. },
  19185. "cardfrontphotourl": {
  19186. "description": "证件正面图片地址",
  19187. "type": "string"
  19188. },
  19189. "cardnum": {
  19190. "description": "证件号码(加密存储)",
  19191. "type": "string"
  19192. },
  19193. "cardtypeid": {
  19194. "description": "证件类型ID",
  19195. "type": "integer"
  19196. },
  19197. "cityid": {
  19198. "description": "市",
  19199. "type": "integer"
  19200. },
  19201. "company": {
  19202. "description": "公司(个人)",
  19203. "type": "string"
  19204. },
  19205. "contactname": {
  19206. "description": "联系人",
  19207. "type": "string"
  19208. },
  19209. "countryid": {
  19210. "description": "国家",
  19211. "type": "integer"
  19212. },
  19213. "createtime": {
  19214. "description": "创建时间",
  19215. "type": "string"
  19216. },
  19217. "creatorid": {
  19218. "description": "创建人",
  19219. "type": "integer"
  19220. },
  19221. "customername": {
  19222. "description": "客户名称(企业名称)",
  19223. "type": "string"
  19224. },
  19225. "districtid": {
  19226. "description": "地区",
  19227. "type": "integer"
  19228. },
  19229. "email": {
  19230. "description": "邮件(加密存储)",
  19231. "type": "string"
  19232. },
  19233. "fax": {
  19234. "description": "传真(加密存储)",
  19235. "type": "string"
  19236. },
  19237. "halfbodyphotourl": {
  19238. "description": "半身照地址",
  19239. "type": "string"
  19240. },
  19241. "hasencrypt": {
  19242. "description": "数据是否已加密 - 0:未加密 1:已加密",
  19243. "type": "integer"
  19244. },
  19245. "headurl": {
  19246. "description": "头像地址",
  19247. "type": "string"
  19248. },
  19249. "legalcardbackphotourl": {
  19250. "description": "法人身份证背面照地址",
  19251. "type": "string"
  19252. },
  19253. "legalcardfrontphotourl": {
  19254. "description": "法人身份证正面照地址",
  19255. "type": "string"
  19256. },
  19257. "legalpersonname": {
  19258. "description": "法人姓名(企业)",
  19259. "type": "string"
  19260. },
  19261. "mobile": {
  19262. "description": "手机号码(加密存储)",
  19263. "type": "string"
  19264. },
  19265. "mobile2": {
  19266. "description": "手机号码[明文-尚志]",
  19267. "type": "string"
  19268. },
  19269. "modifierid": {
  19270. "description": "修改人",
  19271. "type": "integer"
  19272. },
  19273. "modifiertime": {
  19274. "description": "修改时间",
  19275. "type": "string"
  19276. },
  19277. "needinvoice": {
  19278. "description": "是否需要发票 - 0:不需要 1:需要",
  19279. "type": "integer"
  19280. },
  19281. "nickname": {
  19282. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  19283. "type": "string"
  19284. },
  19285. "openmode": {
  19286. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  19287. "type": "integer"
  19288. },
  19289. "otherurl": {
  19290. "description": "其它图片地址[使用分号分隔]",
  19291. "type": "string"
  19292. },
  19293. "postalcode": {
  19294. "description": "邮政编码",
  19295. "type": "string"
  19296. },
  19297. "provinceid": {
  19298. "description": "省",
  19299. "type": "integer"
  19300. },
  19301. "qq": {
  19302. "description": "QQ(加密存储",
  19303. "type": "string"
  19304. },
  19305. "remark": {
  19306. "description": "备注",
  19307. "type": "string"
  19308. },
  19309. "sex": {
  19310. "description": "用户性别 0: 女 1: 男",
  19311. "type": "integer"
  19312. },
  19313. "signpdfurl": {
  19314. "description": "签约pdf文件",
  19315. "type": "string"
  19316. },
  19317. "telphone": {
  19318. "description": "联系电话(加密存储)",
  19319. "type": "string"
  19320. },
  19321. "userid": {
  19322. "description": "用户ID",
  19323. "type": "integer"
  19324. },
  19325. "userinfotype": {
  19326. "description": "用户信息类型 - 1:个人 2:企业",
  19327. "type": "integer"
  19328. },
  19329. "userstatus": {
  19330. "description": "用户状态 - 1:正常 2:注销",
  19331. "type": "integer"
  19332. },
  19333. "usertype": {
  19334. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19335. "type": "integer"
  19336. },
  19337. "wechat": {
  19338. "description": "微信(加密存储)",
  19339. "type": "string"
  19340. },
  19341. "wskhinfo": {
  19342. "description": "开户申请信息(JSON)",
  19343. "type": "string"
  19344. }
  19345. }
  19346. },
  19347. "models.WRCategoryTree": {
  19348. "type": "object",
  19349. "required": [
  19350. "categoryid"
  19351. ],
  19352. "properties": {
  19353. "areauserid": {
  19354. "description": "所属机构",
  19355. "type": "integer"
  19356. },
  19357. "categorydesc": {
  19358. "description": "类别描述",
  19359. "type": "string"
  19360. },
  19361. "categoryid": {
  19362. "description": "类别ID(SEQ_WRCATEGORY)",
  19363. "type": "integer"
  19364. },
  19365. "categoryname": {
  19366. "description": "类别名称",
  19367. "type": "string"
  19368. },
  19369. "iconurl": {
  19370. "description": "图标地址",
  19371. "type": "string"
  19372. },
  19373. "orderindex": {
  19374. "description": "顺序",
  19375. "type": "integer"
  19376. },
  19377. "parentcategoryid": {
  19378. "description": "父类别ID",
  19379. "type": "integer"
  19380. },
  19381. "subcategory": {
  19382. "description": "子分类",
  19383. "type": "array",
  19384. "items": {
  19385. "$ref": "#/definitions/models.WRCategoryTree"
  19386. }
  19387. }
  19388. }
  19389. },
  19390. "models.WRSConverTDetail": {
  19391. "type": "object",
  19392. "properties": {
  19393. "convertratio": {
  19394. "description": "套保系数",
  19395. "type": "number"
  19396. },
  19397. "deliverygoodsid": {
  19398. "description": "现货品种ID",
  19399. "type": "integer"
  19400. },
  19401. "enumdicname": {
  19402. "description": "单位名称",
  19403. "type": "string"
  19404. },
  19405. "goodsunitid": {
  19406. "description": "套保品种单位id",
  19407. "type": "integer"
  19408. },
  19409. "middlegoodscode": {
  19410. "description": "套保品种代码",
  19411. "type": "string"
  19412. },
  19413. "middlegoodsid": {
  19414. "description": "套保品种ID",
  19415. "type": "integer"
  19416. },
  19417. "middlegoodsname": {
  19418. "description": "套保品种名称",
  19419. "type": "string"
  19420. },
  19421. "modifytime": {
  19422. "description": "修改时间",
  19423. "type": "string"
  19424. },
  19425. "wrstandardid": {
  19426. "description": "现货商品ID",
  19427. "type": "integer"
  19428. }
  19429. }
  19430. },
  19431. "models.WRStandardInfo": {
  19432. "type": "object",
  19433. "required": [
  19434. "wrstandardid"
  19435. ],
  19436. "properties": {
  19437. "createtime": {
  19438. "description": "创建时间",
  19439. "type": "string"
  19440. },
  19441. "creatorid": {
  19442. "description": "创建人",
  19443. "type": "integer"
  19444. },
  19445. "deliverygoodsid": {
  19446. "description": "品种ID",
  19447. "type": "integer"
  19448. },
  19449. "deliverygoodsname": {
  19450. "description": "交割商品名称",
  19451. "type": "string"
  19452. },
  19453. "factoryitemjson": {
  19454. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  19455. "type": "string"
  19456. },
  19457. "isvalid": {
  19458. "description": "是否有效 - 0:无效 1:有效",
  19459. "type": "integer"
  19460. },
  19461. "minivalue": {
  19462. "description": "最小变动值",
  19463. "type": "integer"
  19464. },
  19465. "minivaluedp": {
  19466. "description": "最小变动值小数位",
  19467. "type": "integer"
  19468. },
  19469. "realminivalue": {
  19470. "description": "实际最小变动值",
  19471. "type": "integer"
  19472. },
  19473. "realminivaluedp": {
  19474. "description": "实际最小变动值小数位",
  19475. "type": "integer"
  19476. },
  19477. "unitid": {
  19478. "description": "单位ID",
  19479. "type": "integer"
  19480. },
  19481. "unitname": {
  19482. "description": "单位",
  19483. "type": "string"
  19484. },
  19485. "updatetime": {
  19486. "description": "更新时间",
  19487. "type": "string"
  19488. },
  19489. "updatorid": {
  19490. "description": "更新人",
  19491. "type": "integer"
  19492. },
  19493. "wrsstatus": {
  19494. "description": "状态 - 作废 - 0:未激活 1:正常",
  19495. "type": "integer"
  19496. },
  19497. "wrstandardcode": {
  19498. "description": "仓单标准代码",
  19499. "type": "string"
  19500. },
  19501. "wrstandardid": {
  19502. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19503. "type": "integer"
  19504. },
  19505. "wrstandardname": {
  19506. "description": "仓单标准名称",
  19507. "type": "string"
  19508. }
  19509. }
  19510. },
  19511. "models.Warehouseinfo": {
  19512. "type": "object",
  19513. "required": [
  19514. "autoid",
  19515. "warehousecode"
  19516. ],
  19517. "properties": {
  19518. "address": {
  19519. "description": "详细地址",
  19520. "type": "string"
  19521. },
  19522. "areauserid": {
  19523. "description": "所属机构",
  19524. "type": "integer"
  19525. },
  19526. "autoid": {
  19527. "description": "自增ID",
  19528. "type": "integer"
  19529. },
  19530. "cityid": {
  19531. "description": "市",
  19532. "type": "integer"
  19533. },
  19534. "contactname": {
  19535. "description": "联系人",
  19536. "type": "string"
  19537. },
  19538. "contactnum": {
  19539. "description": "联系电话",
  19540. "type": "string"
  19541. },
  19542. "countryid": {
  19543. "description": "国家",
  19544. "type": "integer"
  19545. },
  19546. "createtime": {
  19547. "description": "创建时间",
  19548. "type": "string"
  19549. },
  19550. "districtid": {
  19551. "description": "区",
  19552. "type": "integer"
  19553. },
  19554. "hasvideo": {
  19555. "description": "是否有视频 - 0:无 1:有",
  19556. "type": "integer"
  19557. },
  19558. "provinceid": {
  19559. "description": "省",
  19560. "type": "integer"
  19561. },
  19562. "remark": {
  19563. "description": "审核备注",
  19564. "type": "string"
  19565. },
  19566. "videourl": {
  19567. "description": "视频地址",
  19568. "type": "string"
  19569. },
  19570. "warehousecode": {
  19571. "description": "仓库代码",
  19572. "type": "string"
  19573. },
  19574. "warehousename": {
  19575. "description": "仓库名称",
  19576. "type": "string"
  19577. },
  19578. "warehousestatus": {
  19579. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19580. "type": "integer"
  19581. },
  19582. "warehousetype": {
  19583. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19584. "type": "integer"
  19585. }
  19586. }
  19587. },
  19588. "order.QueryHisTradeDetailRsp": {
  19589. "type": "object",
  19590. "required": [
  19591. "accountid",
  19592. "buyorsell",
  19593. "goodsid",
  19594. "histradedate",
  19595. "marketid",
  19596. "memberuserid",
  19597. "orderid",
  19598. "tradeamount",
  19599. "tradedate",
  19600. "tradeid",
  19601. "tradeprice",
  19602. "tradeqty",
  19603. "tradetime"
  19604. ],
  19605. "properties": {
  19606. "accountid": {
  19607. "description": "账户ID[报价币种]",
  19608. "type": "integer"
  19609. },
  19610. "buildtype": {
  19611. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  19612. "type": "integer"
  19613. },
  19614. "buyorsell": {
  19615. "description": "方向 - 0:买 1:卖",
  19616. "type": "integer"
  19617. },
  19618. "charge": {
  19619. "description": "手续费",
  19620. "type": "number"
  19621. },
  19622. "closecharge": {
  19623. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19624. "type": "number"
  19625. },
  19626. "closeexchagechargevalue": {
  19627. "description": "平仓交易所手续费设置值",
  19628. "type": "number"
  19629. },
  19630. "closefeealgorithm": {
  19631. "description": "平仓手续费收取方式 1:比率 2:固定",
  19632. "type": "integer"
  19633. },
  19634. "closememberchargevalue": {
  19635. "description": "平仓会员手续费设置值",
  19636. "type": "number"
  19637. },
  19638. "closepl": {
  19639. "description": "平仓盈亏",
  19640. "type": "number"
  19641. },
  19642. "closepl2": {
  19643. "description": "平仓盈亏[逐笔]",
  19644. "type": "number"
  19645. },
  19646. "closeqty": {
  19647. "description": "平仓数量(先建后平操作 需要记录)",
  19648. "type": "integer"
  19649. },
  19650. "creditamount": {
  19651. "description": "授信金额",
  19652. "type": "number"
  19653. },
  19654. "gcaccountid": {
  19655. "description": "账户ID[合约币种]",
  19656. "type": "integer"
  19657. },
  19658. "goodscode": {
  19659. "description": "商品代码",
  19660. "type": "string"
  19661. },
  19662. "goodsid": {
  19663. "description": "商品ID",
  19664. "type": "integer"
  19665. },
  19666. "goodsname": {
  19667. "description": "商品名称",
  19668. "type": "string"
  19669. },
  19670. "histradedate": {
  19671. "description": "历史交易日",
  19672. "type": "string"
  19673. },
  19674. "intclosepl": {
  19675. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  19676. "type": "integer"
  19677. },
  19678. "isconfirmexercise": {
  19679. "description": "是否确认行权- 0:否 1:是",
  19680. "type": "integer"
  19681. },
  19682. "ismain": {
  19683. "description": "是否主单 - 0:不是 1:是",
  19684. "type": "integer"
  19685. },
  19686. "ispreexercise": {
  19687. "description": "是否预申报- 0:否 1:是",
  19688. "type": "integer"
  19689. },
  19690. "isreckoned": {
  19691. "description": "是否结算 - 0:未结算 1:已结算",
  19692. "type": "integer"
  19693. },
  19694. "isvaliddata": {
  19695. "description": "是否有效 - 0:无效 1:有效",
  19696. "type": "integer"
  19697. },
  19698. "listingselecttype": {
  19699. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19700. "type": "integer"
  19701. },
  19702. "marketid": {
  19703. "description": "市场ID",
  19704. "type": "integer"
  19705. },
  19706. "marketname": {
  19707. "description": "市场名称",
  19708. "type": "string"
  19709. },
  19710. "matchaccountid": {
  19711. "description": "对手账号id",
  19712. "type": "integer"
  19713. },
  19714. "memberuserid": {
  19715. "description": "会员id 个人投资者 需要填写",
  19716. "type": "integer"
  19717. },
  19718. "opencharge": {
  19719. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19720. "type": "number"
  19721. },
  19722. "openexchagechargevalue": {
  19723. "description": "建仓交易所手续费设置值",
  19724. "type": "number"
  19725. },
  19726. "openfeealgorithm": {
  19727. "description": "建仓手续费收取方式 1:比率 2:固定",
  19728. "type": "integer"
  19729. },
  19730. "openmemberchargevalue": {
  19731. "description": "建仓会员手续费设置值",
  19732. "type": "number"
  19733. },
  19734. "openqty": {
  19735. "description": "开仓数量(先建后平操作 需要记录)",
  19736. "type": "integer"
  19737. },
  19738. "optiontype": {
  19739. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19740. "type": "integer"
  19741. },
  19742. "orderid": {
  19743. "description": "委托单号",
  19744. "type": "string"
  19745. },
  19746. "performanceplanid": {
  19747. "description": "履约计划ID[期权]",
  19748. "type": "integer"
  19749. },
  19750. "performancestatus": {
  19751. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  19752. "type": "integer"
  19753. },
  19754. "preexerciseprice": {
  19755. "description": "预申报价格",
  19756. "type": "number"
  19757. },
  19758. "premium": {
  19759. "description": "权利金 - [持仓单的权利金]",
  19760. "type": "number"
  19761. },
  19762. "relatedouttradeid": {
  19763. "description": "关联外部成交单ID",
  19764. "type": "integer"
  19765. },
  19766. "status": {
  19767. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  19768. "type": "integer"
  19769. },
  19770. "tradeamount": {
  19771. "description": "成交金额[账户币种,用于所有权]",
  19772. "type": "number"
  19773. },
  19774. "tradedate": {
  19775. "description": "交易日(yyyyMMdd)",
  19776. "type": "string"
  19777. },
  19778. "tradeid": {
  19779. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19780. "type": "string"
  19781. },
  19782. "trademode": {
  19783. "description": "交易模式",
  19784. "type": "integer"
  19785. },
  19786. "tradeprice": {
  19787. "description": "成交价格",
  19788. "type": "number"
  19789. },
  19790. "tradeproperty": {
  19791. "description": "交易属性",
  19792. "type": "integer"
  19793. },
  19794. "tradeqty": {
  19795. "description": "成交数量",
  19796. "type": "integer"
  19797. },
  19798. "tradetime": {
  19799. "description": "成交时间",
  19800. "type": "string"
  19801. },
  19802. "tradetype": {
  19803. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  19804. "type": "integer"
  19805. }
  19806. }
  19807. },
  19808. "order.QueryHisTradeOrderDetailRsp": {
  19809. "type": "object",
  19810. "required": [
  19811. "accountid",
  19812. "buildtype",
  19813. "buyorsell",
  19814. "goodsid",
  19815. "histradedate",
  19816. "marketid",
  19817. "memberuserid",
  19818. "operatetype",
  19819. "orderid",
  19820. "orderqty",
  19821. "ordertime",
  19822. "pricemode",
  19823. "tradedate",
  19824. "validtype"
  19825. ],
  19826. "properties": {
  19827. "accountid": {
  19828. "description": "账户ID[报价币种]",
  19829. "type": "integer"
  19830. },
  19831. "buildtype": {
  19832. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  19833. "type": "integer"
  19834. },
  19835. "buyorsell": {
  19836. "description": "买卖 - 0:买 1:卖",
  19837. "type": "integer"
  19838. },
  19839. "cancelorderid": {
  19840. "description": "撤单单号(撤单时填写)",
  19841. "type": "string"
  19842. },
  19843. "cancelqty": {
  19844. "description": "撤单数量",
  19845. "type": "integer"
  19846. },
  19847. "clientordertime": {
  19848. "description": "客户端委托时间",
  19849. "type": "string"
  19850. },
  19851. "clientticket": {
  19852. "description": "客户端流水号",
  19853. "type": "string"
  19854. },
  19855. "clienttype": {
  19856. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19857. "type": "integer"
  19858. },
  19859. "closeexchagechargevalue": {
  19860. "description": "平仓交易所手续费设置值",
  19861. "type": "number"
  19862. },
  19863. "closefeealgorithm": {
  19864. "description": "平仓手续费收取方式 1:比率 2:固定",
  19865. "type": "integer"
  19866. },
  19867. "closefreezecharge": {
  19868. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  19869. "type": "number"
  19870. },
  19871. "closememberchargevalue": {
  19872. "description": "平仓会员手续费设置值",
  19873. "type": "number"
  19874. },
  19875. "closeqty": {
  19876. "description": "平仓数量(先建后平操作 需要记录)",
  19877. "type": "integer"
  19878. },
  19879. "closetradeqty": {
  19880. "description": "平仓成交数量(先建后平操作,需要记录)",
  19881. "type": "integer"
  19882. },
  19883. "closeunfreezecharge": {
  19884. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  19885. "type": "number"
  19886. },
  19887. "delistingtype": {
  19888. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  19889. "type": "integer"
  19890. },
  19891. "freezecharge": {
  19892. "description": "冻结手续费",
  19893. "type": "number"
  19894. },
  19895. "freezemargin": {
  19896. "description": "冻结保证金(冻结交易金额)",
  19897. "type": "number"
  19898. },
  19899. "gcaccountid": {
  19900. "description": "账户ID[合约币种]",
  19901. "type": "integer"
  19902. },
  19903. "goodscode": {
  19904. "description": "商品代码",
  19905. "type": "string"
  19906. },
  19907. "goodsid": {
  19908. "description": "商品ID",
  19909. "type": "integer"
  19910. },
  19911. "goodsname": {
  19912. "description": "商品名称",
  19913. "type": "string"
  19914. },
  19915. "histradedate": {
  19916. "description": "历史交易日",
  19917. "type": "string"
  19918. },
  19919. "isconfirmexercise": {
  19920. "description": "是否确认行权- 0:否 1:是",
  19921. "type": "integer"
  19922. },
  19923. "ispreexercise": {
  19924. "description": "是否预申报- 0:否 1:是",
  19925. "type": "integer"
  19926. },
  19927. "isvaliddata": {
  19928. "description": "是否有效 - 0:无效 1:有效",
  19929. "type": "integer"
  19930. },
  19931. "listingselecttype": {
  19932. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19933. "type": "integer"
  19934. },
  19935. "marginalgorithm": {
  19936. "description": "保证金收取方式 1:比率 2:固定",
  19937. "type": "integer"
  19938. },
  19939. "marginvalue": {
  19940. "description": "即市保证金设置值",
  19941. "type": "number"
  19942. },
  19943. "marketid": {
  19944. "description": "市场ID",
  19945. "type": "integer"
  19946. },
  19947. "marketmaxsub": {
  19948. "description": "市价最大偏移范围",
  19949. "type": "number"
  19950. },
  19951. "marketname": {
  19952. "description": "市场名称",
  19953. "type": "string"
  19954. },
  19955. "memberuserid": {
  19956. "description": "所属会员UserID",
  19957. "type": "integer"
  19958. },
  19959. "openexchagechargevalue": {
  19960. "description": "建仓交易所手续费设置值",
  19961. "type": "number"
  19962. },
  19963. "openfeealgorithm": {
  19964. "description": "建仓手续费收取方式 1:比率 2:固定",
  19965. "type": "integer"
  19966. },
  19967. "openfreezecharge": {
  19968. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  19969. "type": "number"
  19970. },
  19971. "openmemberchargevalue": {
  19972. "description": "建仓会员手续费设置值",
  19973. "type": "number"
  19974. },
  19975. "openqty": {
  19976. "description": "开仓数量(先建后平操作,需要记录)",
  19977. "type": "integer"
  19978. },
  19979. "opentradeqty": {
  19980. "description": "开仓成交数量(先建后平操作,需要记录)",
  19981. "type": "integer"
  19982. },
  19983. "openunfreezecharge": {
  19984. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  19985. "type": "number"
  19986. },
  19987. "operatetype": {
  19988. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  19989. "type": "integer"
  19990. },
  19991. "operatorid": {
  19992. "description": "登录账号(LoginID)",
  19993. "type": "integer"
  19994. },
  19995. "optiontype": {
  19996. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19997. "type": "integer"
  19998. },
  19999. "orderid": {
  20000. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20001. "type": "string"
  20002. },
  20003. "orderprice": {
  20004. "description": "委托价格",
  20005. "type": "number"
  20006. },
  20007. "orderqty": {
  20008. "description": "委托数量",
  20009. "type": "integer"
  20010. },
  20011. "ordersrc": {
  20012. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20013. "type": "integer"
  20014. },
  20015. "orderstatus": {
  20016. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20017. "type": "integer"
  20018. },
  20019. "ordertime": {
  20020. "description": "委托时间",
  20021. "type": "string"
  20022. },
  20023. "preexerciseprice": {
  20024. "description": "预申报价格",
  20025. "type": "number"
  20026. },
  20027. "premium": {
  20028. "description": "权利金",
  20029. "type": "number"
  20030. },
  20031. "preorderid": {
  20032. "description": "关联预埋单号(止盈止损单时填写)",
  20033. "type": "string"
  20034. },
  20035. "pricemode": {
  20036. "description": "取价方式 - 1:市价 2: 限价",
  20037. "type": "integer"
  20038. },
  20039. "quoteid": {
  20040. "description": "报价单ID",
  20041. "type": "integer"
  20042. },
  20043. "relatedid": {
  20044. "description": "关联单号(交割单)",
  20045. "type": "string"
  20046. },
  20047. "retcode": {
  20048. "description": "错误代码",
  20049. "type": "integer"
  20050. },
  20051. "sessionid": {
  20052. "description": "会话ID",
  20053. "type": "integer"
  20054. },
  20055. "tradedate": {
  20056. "description": "交易日(yyyyMMdd)",
  20057. "type": "string"
  20058. },
  20059. "trademode": {
  20060. "description": "交易模式",
  20061. "type": "integer"
  20062. },
  20063. "tradeproperty": {
  20064. "description": "交易属性",
  20065. "type": "integer"
  20066. },
  20067. "tradeqty": {
  20068. "description": "成交数量",
  20069. "type": "integer"
  20070. },
  20071. "unfreezecharge": {
  20072. "description": "解冻手续费",
  20073. "type": "number"
  20074. },
  20075. "unfreezemargin": {
  20076. "description": "解冻保证金",
  20077. "type": "number"
  20078. },
  20079. "updatetime": {
  20080. "description": "更新时间",
  20081. "type": "string"
  20082. },
  20083. "uuid": {
  20084. "description": "发起端唯一id",
  20085. "type": "string"
  20086. },
  20087. "validtime": {
  20088. "description": "有效期限",
  20089. "type": "string"
  20090. },
  20091. "validtype": {
  20092. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20093. "type": "integer"
  20094. },
  20095. "volumetype": {
  20096. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20097. "type": "integer"
  20098. }
  20099. }
  20100. },
  20101. "order.QueryTradeDetailRsp": {
  20102. "type": "object",
  20103. "required": [
  20104. "accountid",
  20105. "buyorsell",
  20106. "goodsid",
  20107. "marketid",
  20108. "memberuserid",
  20109. "orderid",
  20110. "tradeamount",
  20111. "tradedate",
  20112. "tradeid",
  20113. "tradeprice",
  20114. "tradeqty",
  20115. "tradetime"
  20116. ],
  20117. "properties": {
  20118. "accountid": {
  20119. "description": "账户ID[报价币种]",
  20120. "type": "integer"
  20121. },
  20122. "buildtype": {
  20123. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20124. "type": "integer"
  20125. },
  20126. "buyorsell": {
  20127. "description": "方向 - 0:买 1:卖",
  20128. "type": "integer"
  20129. },
  20130. "charge": {
  20131. "description": "手续费",
  20132. "type": "number"
  20133. },
  20134. "closecharge": {
  20135. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20136. "type": "number"
  20137. },
  20138. "closeexchagechargevalue": {
  20139. "description": "平仓交易所手续费设置值",
  20140. "type": "number"
  20141. },
  20142. "closefeealgorithm": {
  20143. "description": "平仓手续费收取方式 1:比率 2:固定",
  20144. "type": "integer"
  20145. },
  20146. "closememberchargevalue": {
  20147. "description": "平仓会员手续费设置值",
  20148. "type": "number"
  20149. },
  20150. "closepl": {
  20151. "description": "平仓盈亏",
  20152. "type": "number"
  20153. },
  20154. "closepl2": {
  20155. "description": "平仓盈亏[逐笔]",
  20156. "type": "number"
  20157. },
  20158. "closeqty": {
  20159. "description": "平仓数量(先建后平操作 需要记录)",
  20160. "type": "integer"
  20161. },
  20162. "creditamount": {
  20163. "description": "授信金额",
  20164. "type": "number"
  20165. },
  20166. "gcaccountid": {
  20167. "description": "账户ID[合约币种]",
  20168. "type": "integer"
  20169. },
  20170. "goodscode": {
  20171. "description": "商品代码",
  20172. "type": "string"
  20173. },
  20174. "goodsid": {
  20175. "description": "商品ID",
  20176. "type": "integer"
  20177. },
  20178. "goodsname": {
  20179. "description": "商品名称",
  20180. "type": "string"
  20181. },
  20182. "intclosepl": {
  20183. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20184. "type": "integer"
  20185. },
  20186. "isconfirmexercise": {
  20187. "description": "是否确认行权- 0:否 1:是",
  20188. "type": "integer"
  20189. },
  20190. "ismain": {
  20191. "description": "是否主单 - 0:不是 1:是",
  20192. "type": "integer"
  20193. },
  20194. "ispreexercise": {
  20195. "description": "是否预申报- 0:否 1:是",
  20196. "type": "integer"
  20197. },
  20198. "isreckoned": {
  20199. "description": "是否结算 - 0:未结算 1:已结算",
  20200. "type": "integer"
  20201. },
  20202. "listingselecttype": {
  20203. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20204. "type": "integer"
  20205. },
  20206. "marketid": {
  20207. "description": "市场ID",
  20208. "type": "integer"
  20209. },
  20210. "marketname": {
  20211. "description": "市场名称",
  20212. "type": "string"
  20213. },
  20214. "matchaccountid": {
  20215. "description": "对手账号id",
  20216. "type": "integer"
  20217. },
  20218. "memberuserid": {
  20219. "description": "会员id 个人投资者 需要填写",
  20220. "type": "integer"
  20221. },
  20222. "opencharge": {
  20223. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20224. "type": "number"
  20225. },
  20226. "openexchagechargevalue": {
  20227. "description": "建仓交易所手续费设置值",
  20228. "type": "number"
  20229. },
  20230. "openfeealgorithm": {
  20231. "description": "建仓手续费收取方式 1:比率 2:固定",
  20232. "type": "integer"
  20233. },
  20234. "openmemberchargevalue": {
  20235. "description": "建仓会员手续费设置值",
  20236. "type": "number"
  20237. },
  20238. "openqty": {
  20239. "description": "开仓数量(先建后平操作 需要记录)",
  20240. "type": "integer"
  20241. },
  20242. "optiontype": {
  20243. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20244. "type": "integer"
  20245. },
  20246. "orderid": {
  20247. "description": "委托单号",
  20248. "type": "string"
  20249. },
  20250. "performanceplanid": {
  20251. "description": "履约计划ID[期权]",
  20252. "type": "integer"
  20253. },
  20254. "performancestatus": {
  20255. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20256. "type": "integer"
  20257. },
  20258. "preexerciseprice": {
  20259. "description": "预申报价格",
  20260. "type": "number"
  20261. },
  20262. "premium": {
  20263. "description": "权利金 - [持仓单的权利金]",
  20264. "type": "number"
  20265. },
  20266. "relatedouttradeid": {
  20267. "description": "关联外部成交单ID",
  20268. "type": "integer"
  20269. },
  20270. "status": {
  20271. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20272. "type": "integer"
  20273. },
  20274. "tradeamount": {
  20275. "description": "成交金额[账户币种,用于所有权]",
  20276. "type": "number"
  20277. },
  20278. "tradedate": {
  20279. "description": "交易日(yyyyMMdd)",
  20280. "type": "string"
  20281. },
  20282. "tradeid": {
  20283. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20284. "type": "string"
  20285. },
  20286. "trademode": {
  20287. "description": "交易模式",
  20288. "type": "integer"
  20289. },
  20290. "tradeprice": {
  20291. "description": "成交价格",
  20292. "type": "number"
  20293. },
  20294. "tradeproperty": {
  20295. "description": "交易属性",
  20296. "type": "integer"
  20297. },
  20298. "tradeqty": {
  20299. "description": "成交数量",
  20300. "type": "integer"
  20301. },
  20302. "tradetime": {
  20303. "description": "成交时间",
  20304. "type": "string"
  20305. },
  20306. "tradetype": {
  20307. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  20308. "type": "integer"
  20309. }
  20310. }
  20311. },
  20312. "order.QueryTradeOrderDetailRsp": {
  20313. "type": "object",
  20314. "required": [
  20315. "accountid",
  20316. "buildtype",
  20317. "buyorsell",
  20318. "goodsid",
  20319. "marketid",
  20320. "operatetype",
  20321. "orderqty",
  20322. "ordertime",
  20323. "pricemode",
  20324. "tradedate",
  20325. "validtype"
  20326. ],
  20327. "properties": {
  20328. "accountid": {
  20329. "description": "账户ID[报价币种]",
  20330. "type": "integer"
  20331. },
  20332. "buildtype": {
  20333. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20334. "type": "integer"
  20335. },
  20336. "buyorsell": {
  20337. "description": "买卖 - 0:买 1:卖",
  20338. "type": "integer"
  20339. },
  20340. "cancelorderid": {
  20341. "description": "撤单单号(撤单时填写)",
  20342. "type": "string"
  20343. },
  20344. "cancelqty": {
  20345. "description": "撤单数量",
  20346. "type": "integer"
  20347. },
  20348. "clienttype": {
  20349. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20350. "type": "integer"
  20351. },
  20352. "closefreezecharge": {
  20353. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20354. "type": "number"
  20355. },
  20356. "closeqty": {
  20357. "description": "平仓数量(先建后平操作 需要记录)",
  20358. "type": "integer"
  20359. },
  20360. "closetradeqty": {
  20361. "description": "平仓成交数量(先建后平操作,需要记录)",
  20362. "type": "integer"
  20363. },
  20364. "closeunfreezecharge": {
  20365. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20366. "type": "number"
  20367. },
  20368. "delistingtype": {
  20369. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20370. "type": "integer"
  20371. },
  20372. "enableqty": {
  20373. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  20374. "type": "integer"
  20375. },
  20376. "freezecharge": {
  20377. "description": "冻结手续费",
  20378. "type": "number"
  20379. },
  20380. "freezemargin": {
  20381. "description": "冻结保证金(冻结交易金额)",
  20382. "type": "number"
  20383. },
  20384. "goodscode": {
  20385. "description": "商品代码",
  20386. "type": "string"
  20387. },
  20388. "goodsid": {
  20389. "description": "商品ID",
  20390. "type": "integer"
  20391. },
  20392. "goodsname": {
  20393. "description": "商品名称",
  20394. "type": "string"
  20395. },
  20396. "listingselecttype": {
  20397. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20398. "type": "integer"
  20399. },
  20400. "marketid": {
  20401. "description": "市场ID",
  20402. "type": "integer"
  20403. },
  20404. "marketname": {
  20405. "description": "市场名称",
  20406. "type": "string"
  20407. },
  20408. "openfreezecharge": {
  20409. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20410. "type": "number"
  20411. },
  20412. "openqty": {
  20413. "description": "开仓数量(先建后平操作,需要记录)",
  20414. "type": "integer"
  20415. },
  20416. "opentradeqty": {
  20417. "description": "开仓成交数量(先建后平操作,需要记录)",
  20418. "type": "integer"
  20419. },
  20420. "openunfreezecharge": {
  20421. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20422. "type": "number"
  20423. },
  20424. "operatetype": {
  20425. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20426. "type": "integer"
  20427. },
  20428. "operatorid": {
  20429. "description": "登录账号(LoginID)",
  20430. "type": "integer"
  20431. },
  20432. "orderid": {
  20433. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20434. "type": "string"
  20435. },
  20436. "orderprice": {
  20437. "description": "委托价格",
  20438. "type": "number"
  20439. },
  20440. "orderqty": {
  20441. "description": "委托数量",
  20442. "type": "integer"
  20443. },
  20444. "ordersrc": {
  20445. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20446. "type": "integer"
  20447. },
  20448. "orderstatus": {
  20449. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20450. "type": "integer"
  20451. },
  20452. "ordertime": {
  20453. "description": "委托时间",
  20454. "type": "string"
  20455. },
  20456. "preorderid": {
  20457. "description": "关联预埋单号(止盈止损单时填写)",
  20458. "type": "string"
  20459. },
  20460. "pricemode": {
  20461. "description": "取价方式 - 1:市价 2: 限价",
  20462. "type": "integer"
  20463. },
  20464. "relatedid": {
  20465. "description": "关联单号(交割单)",
  20466. "type": "string"
  20467. },
  20468. "tradedate": {
  20469. "description": "交易日(yyyyMMdd)",
  20470. "type": "string"
  20471. },
  20472. "trademode": {
  20473. "description": "交易模式",
  20474. "type": "integer"
  20475. },
  20476. "tradeqty": {
  20477. "description": "成交数量",
  20478. "type": "integer"
  20479. },
  20480. "unfreezecharge": {
  20481. "description": "解冻手续费",
  20482. "type": "number"
  20483. },
  20484. "unfreezemargin": {
  20485. "description": "解冻保证金",
  20486. "type": "number"
  20487. },
  20488. "validtime": {
  20489. "description": "有效期限",
  20490. "type": "string"
  20491. },
  20492. "validtype": {
  20493. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20494. "type": "integer"
  20495. },
  20496. "volumetype": {
  20497. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20498. "type": "integer"
  20499. }
  20500. }
  20501. },
  20502. "order.QueryTradePositionRsp": {
  20503. "type": "object",
  20504. "required": [
  20505. "goodsid"
  20506. ],
  20507. "properties": {
  20508. "accountid": {
  20509. "description": "资金账户",
  20510. "type": "integer"
  20511. },
  20512. "agreeunit": {
  20513. "description": "合约单位",
  20514. "type": "number"
  20515. },
  20516. "averageprice": {
  20517. "description": "持仓均价",
  20518. "type": "number"
  20519. },
  20520. "buyorsell": {
  20521. "description": "方向 - 0:买 1:卖",
  20522. "type": "integer"
  20523. },
  20524. "closetotalqty": {
  20525. "description": "平仓总数量",
  20526. "type": "integer"
  20527. },
  20528. "curholderamount": {
  20529. "description": "当前持仓总金额[商品币种]",
  20530. "type": "number"
  20531. },
  20532. "curpositionqty": {
  20533. "description": "当前持仓总数量",
  20534. "type": "integer"
  20535. },
  20536. "currencyid": {
  20537. "description": "报价货币ID",
  20538. "type": "integer"
  20539. },
  20540. "curtdposition": {
  20541. "description": "期末今日头寸",
  20542. "type": "integer"
  20543. },
  20544. "decimalplace": {
  20545. "description": "报价小数位",
  20546. "type": "integer"
  20547. },
  20548. "enableqty": {
  20549. "description": "可用量",
  20550. "type": "integer"
  20551. },
  20552. "fretdposition": {
  20553. "description": "冻结今日头寸",
  20554. "type": "integer"
  20555. },
  20556. "frozenqty": {
  20557. "description": "持仓冻结数量",
  20558. "type": "integer"
  20559. },
  20560. "goodscode": {
  20561. "description": "商品代码",
  20562. "type": "string"
  20563. },
  20564. "goodsid": {
  20565. "description": "商品Id",
  20566. "type": "integer"
  20567. },
  20568. "goodsname": {
  20569. "description": "商品名称",
  20570. "type": "string"
  20571. },
  20572. "goodunit": {
  20573. "description": "报价单位",
  20574. "type": "string"
  20575. },
  20576. "goodunitid": {
  20577. "description": "报价单位ID",
  20578. "type": "integer"
  20579. },
  20580. "holderamount": {
  20581. "description": "期初持仓总金额[商品币种]",
  20582. "type": "number"
  20583. },
  20584. "marketid": {
  20585. "description": "所属市场ID",
  20586. "type": "integer"
  20587. },
  20588. "openreqqty": {
  20589. "description": "开仓申请数量(用于比较最大持仓数量)",
  20590. "type": "integer"
  20591. },
  20592. "opentotalqty": {
  20593. "description": "开仓总数量",
  20594. "type": "integer"
  20595. },
  20596. "otherfrozenqty": {
  20597. "description": "持仓其他冻结数量(交割冻结)",
  20598. "type": "integer"
  20599. },
  20600. "positionqty": {
  20601. "description": "期初持仓数量",
  20602. "type": "integer"
  20603. },
  20604. "tnqty": {
  20605. "description": "T+N冻结总量",
  20606. "type": "integer"
  20607. },
  20608. "tnusedqty": {
  20609. "description": "T+N使用量(可以使用T+N的冻结数量)",
  20610. "type": "integer"
  20611. },
  20612. "trademode": {
  20613. "description": "交易模式",
  20614. "type": "integer"
  20615. },
  20616. "usedmargin": {
  20617. "description": "占用保证金[商品币种]",
  20618. "type": "number"
  20619. }
  20620. }
  20621. },
  20622. "quote.HistoryData": {
  20623. "type": "object",
  20624. "properties": {
  20625. "c": {
  20626. "description": "收盘价",
  20627. "type": "number"
  20628. },
  20629. "f": {
  20630. "description": "是否补充数据",
  20631. "type": "boolean"
  20632. },
  20633. "h": {
  20634. "description": "最高价",
  20635. "type": "number"
  20636. },
  20637. "hv": {
  20638. "description": "持仓量",
  20639. "type": "integer"
  20640. },
  20641. "l": {
  20642. "description": "最低价",
  20643. "type": "number"
  20644. },
  20645. "o": {
  20646. "description": "开盘价",
  20647. "type": "number"
  20648. },
  20649. "s": {
  20650. "description": "结算价,日线周期(包括)以上才有",
  20651. "type": "number"
  20652. },
  20653. "ts": {
  20654. "description": "时间",
  20655. "type": "string"
  20656. },
  20657. "tt": {
  20658. "description": "总金额",
  20659. "type": "number"
  20660. },
  20661. "tv": {
  20662. "description": "总量",
  20663. "type": "integer"
  20664. }
  20665. }
  20666. },
  20667. "quote.HistoryTikData": {
  20668. "type": "object",
  20669. "properties": {
  20670. "AV": {
  20671. "description": "卖量",
  20672. "type": "integer"
  20673. },
  20674. "Ask": {
  20675. "description": "卖价",
  20676. "type": "number"
  20677. },
  20678. "BV": {
  20679. "description": "买量",
  20680. "type": "integer"
  20681. },
  20682. "Bid": {
  20683. "description": "买价",
  20684. "type": "number"
  20685. },
  20686. "HI": {
  20687. "description": "单笔持仓",
  20688. "type": "integer"
  20689. },
  20690. "HV": {
  20691. "description": "持仓量",
  20692. "type": "integer"
  20693. },
  20694. "PE": {
  20695. "description": "现价",
  20696. "type": "number"
  20697. },
  20698. "TDR": {
  20699. "description": "交易方向,0:买 1:卖",
  20700. "type": "integer"
  20701. },
  20702. "TK": {
  20703. "description": "交易类型",
  20704. "type": "integer"
  20705. },
  20706. "TS": {
  20707. "description": "行情时间文本",
  20708. "type": "string"
  20709. },
  20710. "TT": {
  20711. "description": "现金额",
  20712. "type": "number"
  20713. },
  20714. "Vol": {
  20715. "description": "现量",
  20716. "type": "integer"
  20717. }
  20718. }
  20719. },
  20720. "quote.QueryQuoteDayRsp": {
  20721. "type": "object",
  20722. "properties": {
  20723. "ask": {
  20724. "description": "卖1",
  20725. "type": "number"
  20726. },
  20727. "ask10": {
  20728. "description": "卖10",
  20729. "type": "number"
  20730. },
  20731. "ask2": {
  20732. "description": "卖2",
  20733. "type": "number"
  20734. },
  20735. "ask3": {
  20736. "description": "卖3",
  20737. "type": "number"
  20738. },
  20739. "ask4": {
  20740. "description": "卖4",
  20741. "type": "number"
  20742. },
  20743. "ask5": {
  20744. "description": "卖5",
  20745. "type": "number"
  20746. },
  20747. "ask6": {
  20748. "description": "卖6",
  20749. "type": "number"
  20750. },
  20751. "ask7": {
  20752. "description": "卖7",
  20753. "type": "number"
  20754. },
  20755. "ask8": {
  20756. "description": "卖8",
  20757. "type": "number"
  20758. },
  20759. "ask9": {
  20760. "description": "卖9",
  20761. "type": "number"
  20762. },
  20763. "askorderid": {
  20764. "description": "卖单号1",
  20765. "type": "integer"
  20766. },
  20767. "askorderid2": {
  20768. "description": "卖单号2",
  20769. "type": "integer"
  20770. },
  20771. "askorderid3": {
  20772. "description": "卖单号3",
  20773. "type": "integer"
  20774. },
  20775. "askorderid4": {
  20776. "description": "卖单号4",
  20777. "type": "integer"
  20778. },
  20779. "askorderid5": {
  20780. "description": "卖单号5",
  20781. "type": "integer"
  20782. },
  20783. "askordervolume": {
  20784. "description": "卖单量1",
  20785. "type": "integer"
  20786. },
  20787. "askordervolume10": {
  20788. "description": "卖单量10",
  20789. "type": "integer"
  20790. },
  20791. "askordervolume2": {
  20792. "description": "卖单量2",
  20793. "type": "integer"
  20794. },
  20795. "askordervolume3": {
  20796. "description": "卖单量3",
  20797. "type": "integer"
  20798. },
  20799. "askordervolume4": {
  20800. "description": "卖单量4",
  20801. "type": "integer"
  20802. },
  20803. "askordervolume5": {
  20804. "description": "卖单量5",
  20805. "type": "integer"
  20806. },
  20807. "askordervolume6": {
  20808. "description": "卖单量6",
  20809. "type": "integer"
  20810. },
  20811. "askordervolume7": {
  20812. "description": "卖单量7",
  20813. "type": "integer"
  20814. },
  20815. "askordervolume8": {
  20816. "description": "卖单量8",
  20817. "type": "integer"
  20818. },
  20819. "askordervolume9": {
  20820. "description": "卖单量9",
  20821. "type": "integer"
  20822. },
  20823. "askqueueinfo": {
  20824. "description": "大利市卖港股用",
  20825. "type": "string"
  20826. },
  20827. "askvolume": {
  20828. "description": "卖量1",
  20829. "type": "integer"
  20830. },
  20831. "askvolume10": {
  20832. "description": "卖量10",
  20833. "type": "integer"
  20834. },
  20835. "askvolume2": {
  20836. "description": "卖量2",
  20837. "type": "integer"
  20838. },
  20839. "askvolume3": {
  20840. "description": "卖量3",
  20841. "type": "integer"
  20842. },
  20843. "askvolume4": {
  20844. "description": "卖量4",
  20845. "type": "integer"
  20846. },
  20847. "askvolume5": {
  20848. "description": "卖量5",
  20849. "type": "integer"
  20850. },
  20851. "askvolume6": {
  20852. "description": "卖量6",
  20853. "type": "integer"
  20854. },
  20855. "askvolume7": {
  20856. "description": "卖量7",
  20857. "type": "integer"
  20858. },
  20859. "askvolume8": {
  20860. "description": "卖量8",
  20861. "type": "integer"
  20862. },
  20863. "askvolume9": {
  20864. "description": "卖量9",
  20865. "type": "integer"
  20866. },
  20867. "averageprice": {
  20868. "description": "均价",
  20869. "type": "number"
  20870. },
  20871. "bid": {
  20872. "description": "买1",
  20873. "type": "number"
  20874. },
  20875. "bid10": {
  20876. "description": "买10",
  20877. "type": "number"
  20878. },
  20879. "bid2": {
  20880. "description": "买2",
  20881. "type": "number"
  20882. },
  20883. "bid3": {
  20884. "description": "买3",
  20885. "type": "number"
  20886. },
  20887. "bid4": {
  20888. "description": "买4",
  20889. "type": "number"
  20890. },
  20891. "bid5": {
  20892. "description": "买5",
  20893. "type": "number"
  20894. },
  20895. "bid6": {
  20896. "description": "买6",
  20897. "type": "number"
  20898. },
  20899. "bid7": {
  20900. "description": "买7",
  20901. "type": "number"
  20902. },
  20903. "bid8": {
  20904. "description": "买8",
  20905. "type": "number"
  20906. },
  20907. "bid9": {
  20908. "description": "买9",
  20909. "type": "number"
  20910. },
  20911. "bidorderid": {
  20912. "description": "买单号1",
  20913. "type": "integer"
  20914. },
  20915. "bidorderid2": {
  20916. "description": "买单号2",
  20917. "type": "integer"
  20918. },
  20919. "bidorderid3": {
  20920. "description": "买单号3",
  20921. "type": "integer"
  20922. },
  20923. "bidorderid4": {
  20924. "description": "买单号4",
  20925. "type": "integer"
  20926. },
  20927. "bidorderid5": {
  20928. "description": "买单号5",
  20929. "type": "integer"
  20930. },
  20931. "bidordervolume": {
  20932. "description": "买单量1",
  20933. "type": "integer"
  20934. },
  20935. "bidordervolume10": {
  20936. "description": "买单量10",
  20937. "type": "integer"
  20938. },
  20939. "bidordervolume2": {
  20940. "description": "买单量2",
  20941. "type": "integer"
  20942. },
  20943. "bidordervolume3": {
  20944. "description": "买单量3",
  20945. "type": "integer"
  20946. },
  20947. "bidordervolume4": {
  20948. "description": "买单量4",
  20949. "type": "integer"
  20950. },
  20951. "bidordervolume5": {
  20952. "description": "买单量5",
  20953. "type": "integer"
  20954. },
  20955. "bidordervolume6": {
  20956. "description": "买单量6",
  20957. "type": "integer"
  20958. },
  20959. "bidordervolume7": {
  20960. "description": "买单量7",
  20961. "type": "integer"
  20962. },
  20963. "bidordervolume8": {
  20964. "description": "买单量8",
  20965. "type": "integer"
  20966. },
  20967. "bidordervolume9": {
  20968. "description": "买单量9",
  20969. "type": "integer"
  20970. },
  20971. "bidqueueinfo": {
  20972. "description": "大利市买港股用",
  20973. "type": "string"
  20974. },
  20975. "bidvolume": {
  20976. "description": "买量1",
  20977. "type": "integer"
  20978. },
  20979. "bidvolume10": {
  20980. "description": "买量10",
  20981. "type": "integer"
  20982. },
  20983. "bidvolume2": {
  20984. "description": "买量2",
  20985. "type": "integer"
  20986. },
  20987. "bidvolume3": {
  20988. "description": "买量3",
  20989. "type": "integer"
  20990. },
  20991. "bidvolume4": {
  20992. "description": "买量4",
  20993. "type": "integer"
  20994. },
  20995. "bidvolume5": {
  20996. "description": "买量5",
  20997. "type": "integer"
  20998. },
  20999. "bidvolume6": {
  21000. "description": "买量6",
  21001. "type": "integer"
  21002. },
  21003. "bidvolume7": {
  21004. "description": "买量7",
  21005. "type": "integer"
  21006. },
  21007. "bidvolume8": {
  21008. "description": "买量8",
  21009. "type": "integer"
  21010. },
  21011. "bidvolume9": {
  21012. "description": "买量9",
  21013. "type": "integer"
  21014. },
  21015. "calloptionpremiums": {
  21016. "description": "认购期权1",
  21017. "type": "integer"
  21018. },
  21019. "calloptionpremiums2": {
  21020. "description": "认购期权2",
  21021. "type": "integer"
  21022. },
  21023. "calloptionpremiums3": {
  21024. "description": "认购期权3",
  21025. "type": "integer"
  21026. },
  21027. "calloptionpremiums4": {
  21028. "description": "认购期权4",
  21029. "type": "integer"
  21030. },
  21031. "calloptionpremiums5": {
  21032. "description": "认购期权5",
  21033. "type": "integer"
  21034. },
  21035. "cleartime": {
  21036. "description": "清盘时间",
  21037. "type": "integer"
  21038. },
  21039. "exchangecode": {
  21040. "description": "交易所代码",
  21041. "type": "integer"
  21042. },
  21043. "exchangedate": {
  21044. "description": "交易日",
  21045. "type": "integer"
  21046. },
  21047. "goodscode": {
  21048. "description": "商品代码",
  21049. "type": "string"
  21050. },
  21051. "grepmarketprice": {
  21052. "description": "暗盘价 港股专用",
  21053. "type": "number"
  21054. },
  21055. "highest": {
  21056. "description": "最高价",
  21057. "type": "number"
  21058. },
  21059. "holdincrement": {
  21060. "description": "单笔持仓",
  21061. "type": "integer"
  21062. },
  21063. "holdvolume": {
  21064. "description": "持仓",
  21065. "type": "integer"
  21066. },
  21067. "iep": {
  21068. "description": "平衡价 港股专用",
  21069. "type": "number"
  21070. },
  21071. "iev": {
  21072. "description": "平衡量 港股专用",
  21073. "type": "number"
  21074. },
  21075. "inventory": {
  21076. "description": "库存",
  21077. "type": "integer"
  21078. },
  21079. "iscleared": {
  21080. "description": "是否清盘标志",
  21081. "type": "integer"
  21082. },
  21083. "issettled": {
  21084. "description": "是否结算标志",
  21085. "type": "integer"
  21086. },
  21087. "last": {
  21088. "description": "最新价",
  21089. "type": "number"
  21090. },
  21091. "lastlot": {
  21092. "description": "最新成交手数",
  21093. "type": "integer"
  21094. },
  21095. "lasttime": {
  21096. "description": "行情时间(只有现价变化行情时间才变化)",
  21097. "type": "string"
  21098. },
  21099. "lastturnover": {
  21100. "description": "最新成交金额",
  21101. "type": "number"
  21102. },
  21103. "lastvolume": {
  21104. "description": "最新成交量",
  21105. "type": "integer"
  21106. },
  21107. "limitdown": {
  21108. "description": "跌停价",
  21109. "type": "number"
  21110. },
  21111. "limitup": {
  21112. "description": "涨停价",
  21113. "type": "number"
  21114. },
  21115. "lowest": {
  21116. "description": "最低价",
  21117. "type": "number"
  21118. },
  21119. "nontotalholdervolume": {
  21120. "description": "非交易持仓量",
  21121. "type": "integer"
  21122. },
  21123. "nontotallot": {
  21124. "description": "非交易总手数",
  21125. "type": "integer"
  21126. },
  21127. "nontotalturnover": {
  21128. "description": "非交易总金额",
  21129. "type": "integer"
  21130. },
  21131. "nontotalvolume": {
  21132. "description": "非交易总量",
  21133. "type": "integer"
  21134. },
  21135. "opened": {
  21136. "description": "开盘价",
  21137. "type": "number"
  21138. },
  21139. "opentime": {
  21140. "description": "开盘时间",
  21141. "type": "string"
  21142. },
  21143. "orderid": {
  21144. "description": "序号",
  21145. "type": "integer"
  21146. },
  21147. "preclose": {
  21148. "description": "昨收",
  21149. "type": "number"
  21150. },
  21151. "preholdvolume": {
  21152. "description": "昨持仓",
  21153. "type": "integer"
  21154. },
  21155. "presettle": {
  21156. "description": "昨结价",
  21157. "type": "number"
  21158. },
  21159. "publictradetype": {
  21160. "description": "公共交易标志类型 港股专用",
  21161. "type": "string"
  21162. },
  21163. "putoptionpremiums": {
  21164. "description": "认沽期权1",
  21165. "type": "integer"
  21166. },
  21167. "putoptionpremiums2": {
  21168. "description": "认沽期权2",
  21169. "type": "integer"
  21170. },
  21171. "putoptionpremiums3": {
  21172. "description": "认沽期权3",
  21173. "type": "integer"
  21174. },
  21175. "putoptionpremiums4": {
  21176. "description": "认沽期权4",
  21177. "type": "integer"
  21178. },
  21179. "putoptionpremiums5": {
  21180. "description": "认沽期权5",
  21181. "type": "integer"
  21182. },
  21183. "settle": {
  21184. "description": "结算价",
  21185. "type": "number"
  21186. },
  21187. "strikeprice": {
  21188. "description": "发行价",
  21189. "type": "number"
  21190. },
  21191. "totalaskvolume": {
  21192. "description": "内盘",
  21193. "type": "integer"
  21194. },
  21195. "totalbidvolume": {
  21196. "description": "外盘",
  21197. "type": "integer"
  21198. },
  21199. "totallot": {
  21200. "description": "总手数",
  21201. "type": "integer"
  21202. },
  21203. "totalturnover": {
  21204. "description": "总金额",
  21205. "type": "number"
  21206. },
  21207. "totalvolume": {
  21208. "description": "总量",
  21209. "type": "integer"
  21210. },
  21211. "utclasttime": {
  21212. "description": "utc的行情时间",
  21213. "type": "string"
  21214. }
  21215. }
  21216. },
  21217. "quote.QueryTSDataRsp": {
  21218. "type": "object",
  21219. "properties": {
  21220. "Count": {
  21221. "description": "交易日应有数据个数",
  21222. "type": "integer"
  21223. },
  21224. "decimalPlace": {
  21225. "description": "小数位",
  21226. "type": "integer"
  21227. },
  21228. "endTime": {
  21229. "description": "结束时间",
  21230. "type": "string"
  21231. },
  21232. "goodsCode": {
  21233. "description": "商品代码",
  21234. "type": "string"
  21235. },
  21236. "historyDatas": {
  21237. "description": "历史数据",
  21238. "type": "array",
  21239. "items": {
  21240. "$ref": "#/definitions/quote.HistoryData"
  21241. }
  21242. },
  21243. "outGoodsCode": {
  21244. "description": "外部商品代码",
  21245. "type": "string"
  21246. },
  21247. "preSettle": {
  21248. "description": "昨结价",
  21249. "type": "number"
  21250. },
  21251. "runSteps": {
  21252. "description": "交易日开休市计划",
  21253. "type": "array",
  21254. "items": {
  21255. "$ref": "#/definitions/quote.TSDataRunStep"
  21256. }
  21257. },
  21258. "startTime": {
  21259. "description": "开始时间",
  21260. "type": "string"
  21261. },
  21262. "tradeDate": {
  21263. "description": "交易日",
  21264. "type": "string"
  21265. }
  21266. }
  21267. },
  21268. "quote.TSDataRunStep": {
  21269. "type": "object",
  21270. "properties": {
  21271. "end": {
  21272. "description": "真实结束时间",
  21273. "type": "string"
  21274. },
  21275. "endflag": {
  21276. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  21277. "type": "integer"
  21278. },
  21279. "endtime": {
  21280. "description": "结束时间(HH:mm)",
  21281. "type": "string"
  21282. },
  21283. "endweekday": {
  21284. "description": "结束周几",
  21285. "type": "integer"
  21286. },
  21287. "groupid": {
  21288. "description": "分组ID",
  21289. "type": "integer"
  21290. },
  21291. "runstep": {
  21292. "description": "运行阶段 - 2:连续交易",
  21293. "type": "integer"
  21294. },
  21295. "sectionid": {
  21296. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  21297. "type": "integer"
  21298. },
  21299. "start": {
  21300. "description": "真实开始时间",
  21301. "type": "string"
  21302. },
  21303. "startflag": {
  21304. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  21305. "type": "integer"
  21306. },
  21307. "starttime": {
  21308. "description": "起始时间(HH:mm)",
  21309. "type": "string"
  21310. },
  21311. "startweekday": {
  21312. "description": "起始周几",
  21313. "type": "integer"
  21314. },
  21315. "tradeweekday": {
  21316. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  21317. "type": "integer"
  21318. }
  21319. }
  21320. },
  21321. "szdz.QueryConvertLogRsp": {
  21322. "type": "object",
  21323. "required": [
  21324. "logid"
  21325. ],
  21326. "properties": {
  21327. "accountid": {
  21328. "description": "资金账户ID",
  21329. "type": "integer"
  21330. },
  21331. "clientticket": {
  21332. "description": "客户端流水号",
  21333. "type": "string"
  21334. },
  21335. "converttype": {
  21336. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  21337. "type": "integer"
  21338. },
  21339. "createtime": {
  21340. "description": "记账时间",
  21341. "type": "string"
  21342. },
  21343. "daymaxvalue": {
  21344. "description": "配置当日最大转入限制",
  21345. "type": "number"
  21346. },
  21347. "daymaxvalue2": {
  21348. "description": "配置当日最大转入限制(转入)",
  21349. "type": "number"
  21350. },
  21351. "goodscode": {
  21352. "description": "商品代码",
  21353. "type": "string"
  21354. },
  21355. "goodsname": {
  21356. "description": "商品名称",
  21357. "type": "string"
  21358. },
  21359. "handlestatus": {
  21360. "description": "处理状态",
  21361. "type": "integer"
  21362. },
  21363. "innergoodsid": {
  21364. "description": "内部商品ID",
  21365. "type": "integer"
  21366. },
  21367. "inratio": {
  21368. "description": "配置转入比值",
  21369. "type": "integer"
  21370. },
  21371. "invalue": {
  21372. "description": "目标值",
  21373. "type": "number"
  21374. },
  21375. "logid": {
  21376. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21377. "type": "integer"
  21378. },
  21379. "mobile": {
  21380. "description": "手机号码(加密存储)",
  21381. "type": "string"
  21382. },
  21383. "outergoodscode": {
  21384. "description": "外部商品代码[JD\\PD]",
  21385. "type": "string"
  21386. },
  21387. "outratio": {
  21388. "description": "配置转出比值",
  21389. "type": "integer"
  21390. },
  21391. "outvalue": {
  21392. "description": "源值",
  21393. "type": "number"
  21394. },
  21395. "pddecimalplace": {
  21396. "description": "PD小数位",
  21397. "type": "integer"
  21398. },
  21399. "qty": {
  21400. "description": "数量",
  21401. "type": "string"
  21402. },
  21403. "remark": {
  21404. "description": "备注",
  21405. "type": "string"
  21406. },
  21407. "sessionid": {
  21408. "description": "会话ID",
  21409. "type": "integer"
  21410. },
  21411. "timemaxvalue": {
  21412. "description": "配置单次最大转入限制",
  21413. "type": "number"
  21414. },
  21415. "timemaxvalue2": {
  21416. "description": "配置单次最大转入限制(转入)",
  21417. "type": "number"
  21418. },
  21419. "timeminvalue": {
  21420. "description": "配置单次最小数量限制",
  21421. "type": "number"
  21422. },
  21423. "timeminvalue2": {
  21424. "description": "配置单次最小数量限制(转入)",
  21425. "type": "number"
  21426. },
  21427. "tradedate": {
  21428. "description": "交易日(yyyyMMdd)",
  21429. "type": "string"
  21430. },
  21431. "userid": {
  21432. "description": "用户ID",
  21433. "type": "integer"
  21434. }
  21435. }
  21436. },
  21437. "szdz.QueryGoodsPickupRsp": {
  21438. "type": "object",
  21439. "required": [
  21440. "takeorderid"
  21441. ],
  21442. "properties": {
  21443. "accountid": {
  21444. "description": "账户ID",
  21445. "type": "integer"
  21446. },
  21447. "address": {
  21448. "description": "提货人详细地址",
  21449. "type": "string"
  21450. },
  21451. "auditer": {
  21452. "description": "审核人",
  21453. "type": "integer"
  21454. },
  21455. "audittime": {
  21456. "description": "审核时间",
  21457. "type": "string"
  21458. },
  21459. "cardnum": {
  21460. "description": "提货人证件号码",
  21461. "type": "string"
  21462. },
  21463. "cardtypeid": {
  21464. "description": "提货人证件类型",
  21465. "type": "integer"
  21466. },
  21467. "checkremark": {
  21468. "description": "审核备注",
  21469. "type": "string"
  21470. },
  21471. "goodscode": {
  21472. "description": "商品代码",
  21473. "type": "string"
  21474. },
  21475. "goodsid": {
  21476. "description": "商品ID",
  21477. "type": "integer"
  21478. },
  21479. "goodsname": {
  21480. "description": "商品名称",
  21481. "type": "string"
  21482. },
  21483. "handlestatus": {
  21484. "description": "处理状态",
  21485. "type": "integer"
  21486. },
  21487. "marketid": {
  21488. "description": "市场ID",
  21489. "type": "integer"
  21490. },
  21491. "phonenum": {
  21492. "description": "提货人联系方式",
  21493. "type": "string"
  21494. },
  21495. "qty": {
  21496. "description": "提货数量",
  21497. "type": "number"
  21498. },
  21499. "recivername": {
  21500. "description": "提货人姓名",
  21501. "type": "string"
  21502. },
  21503. "reqtime": {
  21504. "description": "更新时间",
  21505. "type": "string"
  21506. },
  21507. "takemode": {
  21508. "description": "提货方式 - 2:自提 3:配送",
  21509. "type": "integer"
  21510. },
  21511. "takeorderid": {
  21512. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21513. "type": "string"
  21514. },
  21515. "takeorderstatus": {
  21516. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21517. "type": "integer"
  21518. },
  21519. "takeremark": {
  21520. "description": "提货备注",
  21521. "type": "string"
  21522. },
  21523. "tradedate": {
  21524. "description": "交易日(yyyyMMdd)",
  21525. "type": "string"
  21526. },
  21527. "userid": {
  21528. "description": "用户ID",
  21529. "type": "integer"
  21530. }
  21531. }
  21532. },
  21533. "szdz.QueryRecieptOrderRsp": {
  21534. "type": "object",
  21535. "required": [
  21536. "ordertime"
  21537. ],
  21538. "properties": {
  21539. "accountName": {
  21540. "description": "所属账号名称(已脱敏)",
  21541. "type": "string"
  21542. },
  21543. "accountid": {
  21544. "description": "资金账号",
  21545. "type": "integer"
  21546. },
  21547. "buyorsell": {
  21548. "description": "方向 - 0:买 1:卖",
  21549. "type": "integer"
  21550. },
  21551. "enableqty": {
  21552. "description": "可摘数量",
  21553. "type": "integer"
  21554. },
  21555. "goodscode": {
  21556. "description": "商品代码",
  21557. "type": "string"
  21558. },
  21559. "goodsid": {
  21560. "description": "商品ID",
  21561. "type": "integer"
  21562. },
  21563. "goodsname": {
  21564. "description": "商品名称",
  21565. "type": "string"
  21566. },
  21567. "orderid": {
  21568. "description": "委托单号",
  21569. "type": "string"
  21570. },
  21571. "orderprice": {
  21572. "description": "委托价格",
  21573. "type": "number"
  21574. },
  21575. "ordertime": {
  21576. "description": "委托时间",
  21577. "type": "string"
  21578. },
  21579. "tradedate": {
  21580. "description": "交易日(yyyyMMdd)",
  21581. "type": "string"
  21582. }
  21583. }
  21584. },
  21585. "szdz.QuerySZDZTradePositionRsp": {
  21586. "type": "object",
  21587. "properties": {
  21588. "accountid": {
  21589. "description": "账号Id",
  21590. "type": "integer"
  21591. },
  21592. "agreeunit": {
  21593. "description": "合约单位",
  21594. "type": "number"
  21595. },
  21596. "averageprice": {
  21597. "description": "持仓均价",
  21598. "type": "number"
  21599. },
  21600. "buyorsell": {
  21601. "description": "方向 - 0:买 1:卖",
  21602. "type": "integer"
  21603. },
  21604. "closetotalqty": {
  21605. "description": "平仓总数量",
  21606. "type": "integer"
  21607. },
  21608. "curholderamount": {
  21609. "description": "当前持仓总金额",
  21610. "type": "number"
  21611. },
  21612. "curpositionqty": {
  21613. "description": "当前持仓总数量",
  21614. "type": "integer"
  21615. },
  21616. "currencyid": {
  21617. "description": "报价货币ID",
  21618. "type": "integer"
  21619. },
  21620. "curtdposition": {
  21621. "description": "期末今日头寸",
  21622. "type": "integer"
  21623. },
  21624. "decimalplace": {
  21625. "description": "报价小数位",
  21626. "type": "integer"
  21627. },
  21628. "enableqty": {
  21629. "description": "可用量",
  21630. "type": "integer"
  21631. },
  21632. "fretdposition": {
  21633. "description": "冻结今日头寸",
  21634. "type": "integer"
  21635. },
  21636. "frozenqty": {
  21637. "description": "持仓冻结数量",
  21638. "type": "integer"
  21639. },
  21640. "goodscode": {
  21641. "description": "商品代码(内部)",
  21642. "type": "string"
  21643. },
  21644. "goodsid": {
  21645. "description": "商品Id",
  21646. "type": "integer"
  21647. },
  21648. "goodsname": {
  21649. "description": "商品名称",
  21650. "type": "string"
  21651. },
  21652. "goodunit": {
  21653. "description": "报价单位",
  21654. "type": "string"
  21655. },
  21656. "goodunitid": {
  21657. "description": "报价单位ID",
  21658. "type": "integer"
  21659. },
  21660. "holderamount": {
  21661. "description": "期初持仓总金额",
  21662. "type": "number"
  21663. },
  21664. "marketid": {
  21665. "description": "市场ID",
  21666. "type": "integer"
  21667. },
  21668. "openreqqty": {
  21669. "description": "开仓申请数量",
  21670. "type": "integer"
  21671. },
  21672. "opentotalqty": {
  21673. "description": "开仓总数量",
  21674. "type": "integer"
  21675. },
  21676. "otherfrozenqty": {
  21677. "description": "持仓其他冻结数量(交割冻结)",
  21678. "type": "integer"
  21679. },
  21680. "positionqty": {
  21681. "description": "期初持仓数量",
  21682. "type": "integer"
  21683. },
  21684. "szdz3freezqty": {
  21685. "description": "尚志大宗转换冻结总数量",
  21686. "type": "integer"
  21687. },
  21688. "tnqty": {
  21689. "description": "T+N冻结总量",
  21690. "type": "integer"
  21691. },
  21692. "tnusedqty": {
  21693. "description": "T+N使用量",
  21694. "type": "integer"
  21695. },
  21696. "trademode": {
  21697. "description": "交易模式",
  21698. "type": "integer"
  21699. },
  21700. "usedmargin": {
  21701. "description": "占用保证金",
  21702. "type": "number"
  21703. }
  21704. }
  21705. },
  21706. "taaccount.QueryAmountLogRsp": {
  21707. "type": "object",
  21708. "required": [
  21709. "accountid",
  21710. "amount",
  21711. "amountadjusttype",
  21712. "autoid",
  21713. "balance",
  21714. "createtime",
  21715. "currentbalance",
  21716. "operatetype"
  21717. ],
  21718. "properties": {
  21719. "OPERATETYPENAME": {
  21720. "description": "资金操作类型名称",
  21721. "type": "string"
  21722. },
  21723. "accountid": {
  21724. "description": "资金账户ID",
  21725. "type": "integer"
  21726. },
  21727. "agoodscode": {
  21728. "description": "竞拍商品代码",
  21729. "type": "string"
  21730. },
  21731. "agoodsname": {
  21732. "description": "竞拍商品名称",
  21733. "type": "string"
  21734. },
  21735. "amount": {
  21736. "description": "资金金额",
  21737. "type": "number"
  21738. },
  21739. "amountadjusttype": {
  21740. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21741. "type": "integer"
  21742. },
  21743. "autoid": {
  21744. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21745. "type": "integer"
  21746. },
  21747. "balance": {
  21748. "description": "期初余额",
  21749. "type": "number"
  21750. },
  21751. "businesscode": {
  21752. "description": "业务编号",
  21753. "type": "integer"
  21754. },
  21755. "createtime": {
  21756. "description": "发生时间",
  21757. "type": "string"
  21758. },
  21759. "currencyid": {
  21760. "description": "币种ID",
  21761. "type": "integer"
  21762. },
  21763. "currentbalance": {
  21764. "description": "期末余额(变动后金额)",
  21765. "type": "number"
  21766. },
  21767. "dgoodscode": {
  21768. "description": "交割商品代码",
  21769. "type": "string"
  21770. },
  21771. "dgoodsname": {
  21772. "description": "交割商品名称",
  21773. "type": "string"
  21774. },
  21775. "goodscode": {
  21776. "description": "商品代码",
  21777. "type": "string"
  21778. },
  21779. "goodsid": {
  21780. "description": "商品ID",
  21781. "type": "integer"
  21782. },
  21783. "goodsname": {
  21784. "description": "商品名称",
  21785. "type": "string"
  21786. },
  21787. "marketid": {
  21788. "description": "市场ID",
  21789. "type": "integer"
  21790. },
  21791. "marketname": {
  21792. "description": "市场名称",
  21793. "type": "string"
  21794. },
  21795. "moneyticket": {
  21796. "description": "资金流水号:银行端流水号",
  21797. "type": "integer"
  21798. },
  21799. "operatetype": {
  21800. "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:营销收款",
  21801. "type": "integer"
  21802. },
  21803. "relationorderid": {
  21804. "description": "关联单号",
  21805. "type": "string"
  21806. },
  21807. "remark": {
  21808. "description": "备注",
  21809. "type": "string"
  21810. },
  21811. "trademode": {
  21812. "description": "交易模式",
  21813. "type": "integer"
  21814. }
  21815. }
  21816. },
  21817. "taaccount.QueryHisAmountLogRsp": {
  21818. "type": "object",
  21819. "required": [
  21820. "accountid",
  21821. "amount",
  21822. "amountadjusttype",
  21823. "autoid",
  21824. "balance",
  21825. "createtime",
  21826. "currentbalance",
  21827. "histradedate",
  21828. "operatetype"
  21829. ],
  21830. "properties": {
  21831. "OPERATETYPENAME": {
  21832. "description": "资金操作类型名称",
  21833. "type": "string"
  21834. },
  21835. "accountid": {
  21836. "description": "资金账户ID",
  21837. "type": "integer"
  21838. },
  21839. "agoodscode": {
  21840. "description": "竞拍商品代码",
  21841. "type": "string"
  21842. },
  21843. "agoodsname": {
  21844. "description": "竞拍商品名称",
  21845. "type": "string"
  21846. },
  21847. "amount": {
  21848. "description": "资金金额",
  21849. "type": "number"
  21850. },
  21851. "amountadjusttype": {
  21852. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21853. "type": "integer"
  21854. },
  21855. "autoid": {
  21856. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21857. "type": "integer"
  21858. },
  21859. "balance": {
  21860. "description": "期初余额",
  21861. "type": "number"
  21862. },
  21863. "businesscode": {
  21864. "description": "业务编号",
  21865. "type": "integer"
  21866. },
  21867. "createtime": {
  21868. "description": "发生时间",
  21869. "type": "string"
  21870. },
  21871. "currencyid": {
  21872. "description": "币种ID",
  21873. "type": "integer"
  21874. },
  21875. "currentbalance": {
  21876. "description": "期末余额(变动后金额)",
  21877. "type": "number"
  21878. },
  21879. "dgoodscode": {
  21880. "description": "交割商品代码",
  21881. "type": "string"
  21882. },
  21883. "dgoodsname": {
  21884. "description": "交割商品名称",
  21885. "type": "string"
  21886. },
  21887. "goodscode": {
  21888. "description": "商品代码",
  21889. "type": "string"
  21890. },
  21891. "goodsid": {
  21892. "description": "商品ID",
  21893. "type": "integer"
  21894. },
  21895. "goodsname": {
  21896. "description": "商品名称",
  21897. "type": "string"
  21898. },
  21899. "histradedate": {
  21900. "description": "历史交易日",
  21901. "type": "string"
  21902. },
  21903. "isvaliddata": {
  21904. "description": "是否有效 - 0:无效 1:有效",
  21905. "type": "integer"
  21906. },
  21907. "marketid": {
  21908. "description": "市场ID",
  21909. "type": "integer"
  21910. },
  21911. "marketname": {
  21912. "description": "市场名称",
  21913. "type": "string"
  21914. },
  21915. "moneyticket": {
  21916. "description": "资金流水号:银行端流水号",
  21917. "type": "integer"
  21918. },
  21919. "operatetype": {
  21920. "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:营销收款",
  21921. "type": "integer"
  21922. },
  21923. "relationorderid": {
  21924. "description": "关联单号",
  21925. "type": "string"
  21926. },
  21927. "remark": {
  21928. "description": "备注",
  21929. "type": "string"
  21930. },
  21931. "trademode": {
  21932. "description": "交易模式",
  21933. "type": "integer"
  21934. }
  21935. }
  21936. },
  21937. "trade.QueryRecieptOrderRsp": {
  21938. "type": "object",
  21939. "required": [
  21940. "ordertime"
  21941. ],
  21942. "properties": {
  21943. "accountName": {
  21944. "description": "所属账号名称(已脱敏)",
  21945. "type": "string"
  21946. },
  21947. "accountid": {
  21948. "description": "资金账号",
  21949. "type": "integer"
  21950. },
  21951. "buyorsell": {
  21952. "description": "方向 - 0:买 1:卖",
  21953. "type": "integer"
  21954. },
  21955. "enableqty": {
  21956. "description": "可摘数量",
  21957. "type": "integer"
  21958. },
  21959. "goodscode": {
  21960. "description": "商品代码",
  21961. "type": "string"
  21962. },
  21963. "goodsid": {
  21964. "description": "商品ID",
  21965. "type": "integer"
  21966. },
  21967. "goodsname": {
  21968. "description": "商品名称",
  21969. "type": "string"
  21970. },
  21971. "orderid": {
  21972. "description": "委托单号",
  21973. "type": "string"
  21974. },
  21975. "orderprice": {
  21976. "description": "委托价格",
  21977. "type": "number"
  21978. },
  21979. "ordertime": {
  21980. "description": "委托时间",
  21981. "type": "string"
  21982. },
  21983. "tradedate": {
  21984. "description": "交易日(yyyyMMdd)",
  21985. "type": "string"
  21986. }
  21987. }
  21988. },
  21989. "user.LoginQueryRsp": {
  21990. "type": "object",
  21991. "properties": {
  21992. "externalExchanges": {
  21993. "description": "外部交易所",
  21994. "type": "array",
  21995. "items": {
  21996. "$ref": "#/definitions/models.Externalexchange"
  21997. }
  21998. },
  21999. "goodsgroups": {
  22000. "description": "商品组",
  22001. "type": "array",
  22002. "items": {
  22003. "$ref": "#/definitions/models.Goodsgroup"
  22004. }
  22005. },
  22006. "loginAccount": {
  22007. "description": "登录账号",
  22008. "type": "object",
  22009. "$ref": "#/definitions/models.Loginaccount"
  22010. },
  22011. "markets": {
  22012. "description": "市场",
  22013. "type": "array",
  22014. "items": {
  22015. "$ref": "#/definitions/models.Market"
  22016. }
  22017. },
  22018. "systemParams": {
  22019. "description": "系统参数",
  22020. "type": "array",
  22021. "items": {
  22022. "$ref": "#/definitions/models.Systemparam"
  22023. }
  22024. },
  22025. "userAccount": {
  22026. "description": "用户账号",
  22027. "type": "object",
  22028. "$ref": "#/definitions/models.Useraccount"
  22029. },
  22030. "userInfo": {
  22031. "description": "用户信息",
  22032. "type": "object",
  22033. "$ref": "#/definitions/models.Userinfo"
  22034. },
  22035. "username": {
  22036. "description": "用户姓名",
  22037. "type": "string"
  22038. }
  22039. }
  22040. }
  22041. },
  22042. "securityDefinitions": {
  22043. "ApiKeyAuth": {
  22044. "type": "apiKey",
  22045. "name": "Authorization",
  22046. "in": "header"
  22047. }
  22048. }
  22049. }`
  22050. type swaggerInfo struct {
  22051. Version string
  22052. Host string
  22053. BasePath string
  22054. Schemes []string
  22055. Title string
  22056. Description string
  22057. }
  22058. // SwaggerInfo holds exported Swagger Info so clients can modify it
  22059. var SwaggerInfo = swaggerInfo{
  22060. Version: "1.0",
  22061. Host: "",
  22062. BasePath: "/api",
  22063. Schemes: []string{},
  22064. Title: "MTP2.0 查询服务 API",
  22065. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  22066. }
  22067. type s struct{}
  22068. func (s *s) ReadDoc() string {
  22069. sInfo := SwaggerInfo
  22070. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  22071. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  22072. "marshal": func(v interface{}) string {
  22073. a, _ := json.Marshal(v)
  22074. return string(a)
  22075. },
  22076. }).Parse(doc)
  22077. if err != nil {
  22078. return doc
  22079. }
  22080. var tpl bytes.Buffer
  22081. if err := t.Execute(&tpl, sInfo); err != nil {
  22082. return doc
  22083. }
  22084. return tpl.String()
  22085. }
  22086. func init() {
  22087. swag.Register(swag.Name, &s{})
  22088. }