docs.go 798 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PC 1:Mobile",
  426. "name": "clientType",
  427. "in": "query"
  428. }
  429. ],
  430. "responses": {
  431. "200": {
  432. "description": "OK",
  433. "schema": {
  434. "type": "array",
  435. "items": {
  436. "$ref": "#/definitions/common.ClientMenu"
  437. }
  438. }
  439. },
  440. "500": {
  441. "description": "Internal Server Error",
  442. "schema": {
  443. "$ref": "#/definitions/app.Response"
  444. }
  445. }
  446. }
  447. }
  448. },
  449. "/Common/GetDivisions": {
  450. "get": {
  451. "produces": [
  452. "application/json"
  453. ],
  454. "tags": [
  455. "通用服务"
  456. ],
  457. "summary": "查询区域信息",
  458. "responses": {
  459. "200": {
  460. "description": "OK",
  461. "schema": {
  462. "$ref": "#/definitions/models.Division"
  463. }
  464. },
  465. "500": {
  466. "description": "Internal Server Error",
  467. "schema": {
  468. "$ref": "#/definitions/app.Response"
  469. }
  470. }
  471. }
  472. }
  473. },
  474. "/Common/GetServerTime": {
  475. "get": {
  476. "produces": [
  477. "application/json"
  478. ],
  479. "tags": [
  480. "通用服务"
  481. ],
  482. "summary": "获取服务器时间",
  483. "responses": {
  484. "200": {
  485. "description": "OK",
  486. "schema": {
  487. "$ref": "#/definitions/app.Response"
  488. }
  489. },
  490. "500": {
  491. "description": "Internal Server Error",
  492. "schema": {
  493. "$ref": "#/definitions/app.Response"
  494. }
  495. }
  496. }
  497. }
  498. },
  499. "/Common/NoticeReaded": {
  500. "post": {
  501. "security": [
  502. {
  503. "ApiKeyAuth": []
  504. }
  505. ],
  506. "produces": [
  507. "application/json"
  508. ],
  509. "tags": [
  510. "通用服务"
  511. ],
  512. "summary": "通知公告设置已读请求",
  513. "parameters": [
  514. {
  515. "type": "integer",
  516. "description": "登录账号",
  517. "name": "loginID",
  518. "in": "query",
  519. "required": true
  520. },
  521. {
  522. "type": "integer",
  523. "description": "通知公告ID",
  524. "name": "noticeID",
  525. "in": "query",
  526. "required": true
  527. }
  528. ],
  529. "responses": {
  530. "200": {
  531. "description": "OK",
  532. "schema": {
  533. "$ref": "#/definitions/app.Response"
  534. }
  535. },
  536. "500": {
  537. "description": "Internal Server Error",
  538. "schema": {
  539. "$ref": "#/definitions/app.Response"
  540. }
  541. }
  542. }
  543. }
  544. },
  545. "/Common/QueryErrorInfos": {
  546. "get": {
  547. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  548. "produces": [
  549. "application/json"
  550. ],
  551. "tags": [
  552. "通用服务"
  553. ],
  554. "summary": "获取数据库错误信息",
  555. "parameters": [
  556. {
  557. "type": "string",
  558. "description": "起始行号前索引",
  559. "name": "rowNumber",
  560. "in": "query"
  561. }
  562. ],
  563. "responses": {
  564. "200": {
  565. "description": "OK",
  566. "schema": {
  567. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  568. }
  569. },
  570. "500": {
  571. "description": "Internal Server Error",
  572. "schema": {
  573. "$ref": "#/definitions/app.Response"
  574. }
  575. }
  576. }
  577. }
  578. },
  579. "/Common/QueryImageConfigs": {
  580. "get": {
  581. "produces": [
  582. "application/json"
  583. ],
  584. "tags": [
  585. "通用服务"
  586. ],
  587. "summary": "查询轮播图配置信息",
  588. "parameters": [
  589. {
  590. "type": "integer",
  591. "description": "类型 - 1:App首页轮播 2:我的",
  592. "name": "imageType",
  593. "in": "query"
  594. }
  595. ],
  596. "responses": {
  597. "200": {
  598. "description": "OK",
  599. "schema": {
  600. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  601. }
  602. },
  603. "500": {
  604. "description": "Internal Server Error",
  605. "schema": {
  606. "$ref": "#/definitions/app.Response"
  607. }
  608. }
  609. }
  610. }
  611. },
  612. "/Common/QueryNotice": {
  613. "get": {
  614. "security": [
  615. {
  616. "ApiKeyAuth": []
  617. }
  618. ],
  619. "produces": [
  620. "application/json"
  621. ],
  622. "tags": [
  623. "通用服务"
  624. ],
  625. "summary": "通知公告系统消息查询",
  626. "parameters": [
  627. {
  628. "type": "integer",
  629. "description": "页码",
  630. "name": "page",
  631. "in": "query"
  632. },
  633. {
  634. "type": "integer",
  635. "description": "每页条数",
  636. "name": "pagesize",
  637. "in": "query"
  638. },
  639. {
  640. "type": "integer",
  641. "description": "登录账号",
  642. "name": "loginID",
  643. "in": "query",
  644. "required": true
  645. },
  646. {
  647. "type": "integer",
  648. "description": "消息类型 - 1:公告通知 2:系统消息",
  649. "name": "msgType",
  650. "in": "query"
  651. },
  652. {
  653. "type": "boolean",
  654. "description": "是否只获取未读信息",
  655. "name": "onlyUnRead",
  656. "in": "query"
  657. },
  658. {
  659. "type": "integer",
  660. "description": "自增ID,传入后会返回这个ID后面的记录",
  661. "name": "lastID",
  662. "in": "query"
  663. }
  664. ],
  665. "responses": {
  666. "200": {
  667. "description": "OK",
  668. "schema": {
  669. "$ref": "#/definitions/common.QueryNoticeRsp"
  670. }
  671. },
  672. "500": {
  673. "description": "Internal Server Error",
  674. "schema": {
  675. "$ref": "#/definitions/app.Response"
  676. }
  677. }
  678. }
  679. }
  680. },
  681. "/Common/QueryProvincesAndCities": {
  682. "get": {
  683. "produces": [
  684. "application/json"
  685. ],
  686. "tags": [
  687. "通用服务"
  688. ],
  689. "summary": "查询省市信息(不包括区)",
  690. "parameters": [
  691. {
  692. "type": "integer",
  693. "description": "省ID",
  694. "name": "provinceID",
  695. "in": "query"
  696. }
  697. ],
  698. "responses": {
  699. "200": {
  700. "description": "OK",
  701. "schema": {
  702. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  703. }
  704. },
  705. "500": {
  706. "description": "Internal Server Error",
  707. "schema": {
  708. "$ref": "#/definitions/app.Response"
  709. }
  710. }
  711. }
  712. }
  713. },
  714. "/Common/QueryTableDefine": {
  715. "get": {
  716. "produces": [
  717. "application/json"
  718. ],
  719. "tags": [
  720. "通用服务"
  721. ],
  722. "summary": "查询交易端列表头信息",
  723. "parameters": [
  724. {
  725. "type": "string",
  726. "description": "表key",
  727. "name": "tableKey",
  728. "in": "query"
  729. },
  730. {
  731. "type": "integer",
  732. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  733. "name": "tableType",
  734. "in": "query"
  735. }
  736. ],
  737. "responses": {
  738. "200": {
  739. "description": "OK",
  740. "schema": {
  741. "$ref": "#/definitions/common.QueryTableDefineRsp"
  742. }
  743. },
  744. "500": {
  745. "description": "Internal Server Error",
  746. "schema": {
  747. "$ref": "#/definitions/app.Response"
  748. }
  749. }
  750. }
  751. }
  752. },
  753. "/Common/QueryTraderMenu": {
  754. "get": {
  755. "produces": [
  756. "application/json"
  757. ],
  758. "tags": [
  759. "通用服务"
  760. ],
  761. "summary": "查询交易端菜单",
  762. "parameters": [
  763. {
  764. "type": "integer",
  765. "description": "登录账号",
  766. "name": "loginid",
  767. "in": "query",
  768. "required": true
  769. }
  770. ],
  771. "responses": {
  772. "200": {
  773. "description": "OK",
  774. "schema": {
  775. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  776. }
  777. },
  778. "500": {
  779. "description": "Internal Server Error",
  780. "schema": {
  781. "$ref": "#/definitions/app.Response"
  782. }
  783. }
  784. }
  785. }
  786. },
  787. "/Delivery/QueryDeliveryRelation": {
  788. "get": {
  789. "security": [
  790. {
  791. "ApiKeyAuth": []
  792. }
  793. ],
  794. "produces": [
  795. "application/json"
  796. ],
  797. "tags": [
  798. "交割服务"
  799. ],
  800. "summary": "查询商品交割关系表",
  801. "parameters": [
  802. {
  803. "type": "integer",
  804. "description": "商品ID",
  805. "name": "goodsid",
  806. "in": "query"
  807. },
  808. {
  809. "type": "integer",
  810. "description": "品种ID",
  811. "name": "deliverygoodsid",
  812. "in": "query"
  813. },
  814. {
  815. "type": "integer",
  816. "description": "市场ID",
  817. "name": "marketid",
  818. "in": "query"
  819. }
  820. ],
  821. "responses": {
  822. "200": {
  823. "description": "OK",
  824. "schema": {
  825. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  826. }
  827. },
  828. "500": {
  829. "description": "Internal Server Error",
  830. "schema": {
  831. "$ref": "#/definitions/app.Response"
  832. }
  833. }
  834. }
  835. }
  836. },
  837. "/Ermcp/GetErmcpGoods": {
  838. "get": {
  839. "security": [
  840. {
  841. "ApiKeyAuth": []
  842. }
  843. ],
  844. "produces": [
  845. "application/json"
  846. ],
  847. "tags": [
  848. "企业风险管理(app)"
  849. ],
  850. "summary": "查询企业风管期货商品信息",
  851. "parameters": [
  852. {
  853. "type": "string",
  854. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  855. "name": "lastUpdateTime",
  856. "in": "query"
  857. }
  858. ],
  859. "responses": {
  860. "200": {
  861. "description": "OK",
  862. "schema": {
  863. "$ref": "#/definitions/models.Goods"
  864. }
  865. },
  866. "500": {
  867. "description": "Internal Server Error",
  868. "schema": {
  869. "$ref": "#/definitions/app.Response"
  870. }
  871. }
  872. }
  873. }
  874. },
  875. "/Ermcp/GetErmcpGoodsSortByPosition": {
  876. "get": {
  877. "security": [
  878. {
  879. "ApiKeyAuth": []
  880. }
  881. ],
  882. "produces": [
  883. "application/json"
  884. ],
  885. "tags": [
  886. "企业风险管理(app)"
  887. ],
  888. "summary": "查询企业风管期货主力、次主力商品信息",
  889. "parameters": [
  890. {
  891. "type": "string",
  892. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  893. "name": "sortIndex",
  894. "in": "query"
  895. }
  896. ],
  897. "responses": {
  898. "200": {
  899. "description": "OK",
  900. "schema": {
  901. "$ref": "#/definitions/models.Goodssortbypreposition"
  902. }
  903. },
  904. "500": {
  905. "description": "Internal Server Error",
  906. "schema": {
  907. "$ref": "#/definitions/app.Response"
  908. }
  909. }
  910. }
  911. }
  912. },
  913. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  914. "get": {
  915. "security": [
  916. {
  917. "ApiKeyAuth": []
  918. }
  919. ],
  920. "produces": [
  921. "application/json"
  922. ],
  923. "tags": [
  924. "企业风险管理(app)"
  925. ],
  926. "summary": "获取企业风管终端权限",
  927. "parameters": [
  928. {
  929. "type": "integer",
  930. "description": "登录账号",
  931. "name": "loginID",
  932. "in": "query",
  933. "required": true
  934. },
  935. {
  936. "type": "integer",
  937. "description": "模式,0:普通(交易所版本);1:企业风管",
  938. "name": "mode",
  939. "in": "query"
  940. }
  941. ],
  942. "responses": {
  943. "200": {
  944. "description": "OK",
  945. "schema": {
  946. "$ref": "#/definitions/models.Funcmenulist"
  947. }
  948. },
  949. "500": {
  950. "description": "Internal Server Error",
  951. "schema": {
  952. "$ref": "#/definitions/app.Response"
  953. }
  954. }
  955. }
  956. }
  957. },
  958. "/Ermcp/QryReportAreaSpotPL": {
  959. "get": {
  960. "security": [
  961. {
  962. "ApiKeyAuth": []
  963. }
  964. ],
  965. "produces": [
  966. "application/json"
  967. ],
  968. "tags": [
  969. "企业风险管理(app)"
  970. ],
  971. "summary": "查询现货损益报表(现货损益报表)",
  972. "parameters": [
  973. {
  974. "type": "integer",
  975. "description": "用户ID",
  976. "name": "userid",
  977. "in": "query",
  978. "required": true
  979. },
  980. {
  981. "type": "integer",
  982. "description": "查询类型 1-日报表 2-月报表",
  983. "name": "querytype",
  984. "in": "query",
  985. "required": true
  986. },
  987. {
  988. "type": "string",
  989. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  990. "name": "querydate",
  991. "in": "query",
  992. "required": true
  993. },
  994. {
  995. "type": "integer",
  996. "description": "现货商品ID",
  997. "name": "wrstandardid",
  998. "in": "query"
  999. },
  1000. {
  1001. "type": "integer",
  1002. "description": "品牌ID",
  1003. "name": "spotgoodsbrandid",
  1004. "in": "query"
  1005. },
  1006. {
  1007. "type": "integer",
  1008. "description": "型号ID",
  1009. "name": "spotgoodsmodelid",
  1010. "in": "query"
  1011. }
  1012. ],
  1013. "responses": {
  1014. "200": {
  1015. "description": "OK",
  1016. "schema": {
  1017. "type": "array",
  1018. "items": {
  1019. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1020. }
  1021. }
  1022. },
  1023. "500": {
  1024. "description": "Internal Server Error",
  1025. "schema": {
  1026. "$ref": "#/definitions/app.Response"
  1027. }
  1028. }
  1029. }
  1030. }
  1031. },
  1032. "/Ermcp/QryReportDayExposure": {
  1033. "get": {
  1034. "security": [
  1035. {
  1036. "ApiKeyAuth": []
  1037. }
  1038. ],
  1039. "produces": [
  1040. "application/json"
  1041. ],
  1042. "tags": [
  1043. "企业风险管理(app)"
  1044. ],
  1045. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1046. "parameters": [
  1047. {
  1048. "type": "integer",
  1049. "description": "用户ID",
  1050. "name": "userid",
  1051. "in": "query",
  1052. "required": true
  1053. },
  1054. {
  1055. "type": "string",
  1056. "description": "交易日(格式:yyyyMMdd)",
  1057. "name": "tradedate",
  1058. "in": "query",
  1059. "required": true
  1060. }
  1061. ],
  1062. "responses": {
  1063. "200": {
  1064. "description": "OK",
  1065. "schema": {
  1066. "type": "array",
  1067. "items": {
  1068. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1069. }
  1070. }
  1071. },
  1072. "500": {
  1073. "description": "Internal Server Error",
  1074. "schema": {
  1075. "$ref": "#/definitions/app.Response"
  1076. }
  1077. }
  1078. }
  1079. }
  1080. },
  1081. "/Ermcp/QryReportDayFinance": {
  1082. "get": {
  1083. "security": [
  1084. {
  1085. "ApiKeyAuth": []
  1086. }
  1087. ],
  1088. "produces": [
  1089. "application/json"
  1090. ],
  1091. "tags": [
  1092. "企业风险管理(app)"
  1093. ],
  1094. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1095. "parameters": [
  1096. {
  1097. "type": "integer",
  1098. "description": "用户ID",
  1099. "name": "userid",
  1100. "in": "query",
  1101. "required": true
  1102. },
  1103. {
  1104. "type": "string",
  1105. "description": "交易日(格式:yyyyMMdd)",
  1106. "name": "tradedate",
  1107. "in": "query",
  1108. "required": true
  1109. }
  1110. ],
  1111. "responses": {
  1112. "200": {
  1113. "description": "OK",
  1114. "schema": {
  1115. "type": "array",
  1116. "items": {
  1117. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1118. }
  1119. }
  1120. },
  1121. "500": {
  1122. "description": "Internal Server Error",
  1123. "schema": {
  1124. "$ref": "#/definitions/app.Response"
  1125. }
  1126. }
  1127. }
  1128. }
  1129. },
  1130. "/Ermcp/QryReportDayFinanceFp": {
  1131. "get": {
  1132. "security": [
  1133. {
  1134. "ApiKeyAuth": []
  1135. }
  1136. ],
  1137. "produces": [
  1138. "application/json"
  1139. ],
  1140. "tags": [
  1141. "企业风险管理(app)"
  1142. ],
  1143. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1144. "parameters": [
  1145. {
  1146. "type": "integer",
  1147. "description": "用户ID",
  1148. "name": "userid",
  1149. "in": "query",
  1150. "required": true
  1151. },
  1152. {
  1153. "type": "string",
  1154. "description": "交易日(格式:yyyyMMdd)",
  1155. "name": "tradedate",
  1156. "in": "query",
  1157. "required": true
  1158. }
  1159. ],
  1160. "responses": {
  1161. "200": {
  1162. "description": "OK",
  1163. "schema": {
  1164. "type": "array",
  1165. "items": {
  1166. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1167. }
  1168. }
  1169. },
  1170. "500": {
  1171. "description": "Internal Server Error",
  1172. "schema": {
  1173. "$ref": "#/definitions/app.Response"
  1174. }
  1175. }
  1176. }
  1177. }
  1178. },
  1179. "/Ermcp/QryReportDayFinanceKx": {
  1180. "get": {
  1181. "security": [
  1182. {
  1183. "ApiKeyAuth": []
  1184. }
  1185. ],
  1186. "produces": [
  1187. "application/json"
  1188. ],
  1189. "tags": [
  1190. "企业风险管理(app)"
  1191. ],
  1192. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1193. "parameters": [
  1194. {
  1195. "type": "integer",
  1196. "description": "用户ID",
  1197. "name": "userid",
  1198. "in": "query",
  1199. "required": true
  1200. },
  1201. {
  1202. "type": "string",
  1203. "description": "交易日(格式:yyyyMMdd)",
  1204. "name": "tradedate",
  1205. "in": "query",
  1206. "required": true
  1207. }
  1208. ],
  1209. "responses": {
  1210. "200": {
  1211. "description": "OK",
  1212. "schema": {
  1213. "type": "array",
  1214. "items": {
  1215. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1216. }
  1217. }
  1218. },
  1219. "500": {
  1220. "description": "Internal Server Error",
  1221. "schema": {
  1222. "$ref": "#/definitions/app.Response"
  1223. }
  1224. }
  1225. }
  1226. }
  1227. },
  1228. "/Ermcp/QryReportDaySpot": {
  1229. "get": {
  1230. "security": [
  1231. {
  1232. "ApiKeyAuth": []
  1233. }
  1234. ],
  1235. "produces": [
  1236. "application/json"
  1237. ],
  1238. "tags": [
  1239. "企业风险管理(app)"
  1240. ],
  1241. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1242. "parameters": [
  1243. {
  1244. "type": "integer",
  1245. "description": "用户ID",
  1246. "name": "userid",
  1247. "in": "query",
  1248. "required": true
  1249. },
  1250. {
  1251. "type": "string",
  1252. "description": "交易日(格式:yyyyMMdd)",
  1253. "name": "tradedate",
  1254. "in": "query",
  1255. "required": true
  1256. }
  1257. ],
  1258. "responses": {
  1259. "200": {
  1260. "description": "OK",
  1261. "schema": {
  1262. "type": "array",
  1263. "items": {
  1264. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1265. }
  1266. }
  1267. },
  1268. "500": {
  1269. "description": "Internal Server Error",
  1270. "schema": {
  1271. "$ref": "#/definitions/app.Response"
  1272. }
  1273. }
  1274. }
  1275. }
  1276. },
  1277. "/Ermcp/QryReportDaySpotDetail": {
  1278. "get": {
  1279. "security": [
  1280. {
  1281. "ApiKeyAuth": []
  1282. }
  1283. ],
  1284. "produces": [
  1285. "application/json"
  1286. ],
  1287. "tags": [
  1288. "企业风险管理(app)"
  1289. ],
  1290. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1291. "parameters": [
  1292. {
  1293. "type": "integer",
  1294. "description": "用户ID",
  1295. "name": "userid",
  1296. "in": "query",
  1297. "required": true
  1298. },
  1299. {
  1300. "type": "integer",
  1301. "description": "现货商品id",
  1302. "name": "wrstandardid",
  1303. "in": "query",
  1304. "required": true
  1305. },
  1306. {
  1307. "type": "string",
  1308. "description": "交易日(格式:yyyyMMdd)",
  1309. "name": "tradedate",
  1310. "in": "query",
  1311. "required": true
  1312. }
  1313. ],
  1314. "responses": {
  1315. "200": {
  1316. "description": "OK",
  1317. "schema": {
  1318. "type": "array",
  1319. "items": {
  1320. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1321. }
  1322. }
  1323. },
  1324. "500": {
  1325. "description": "Internal Server Error",
  1326. "schema": {
  1327. "$ref": "#/definitions/app.Response"
  1328. }
  1329. }
  1330. }
  1331. }
  1332. },
  1333. "/Ermcp/QryReportMonthFinance": {
  1334. "get": {
  1335. "security": [
  1336. {
  1337. "ApiKeyAuth": []
  1338. }
  1339. ],
  1340. "produces": [
  1341. "application/json"
  1342. ],
  1343. "tags": [
  1344. "企业风险管理(app)"
  1345. ],
  1346. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1347. "parameters": [
  1348. {
  1349. "type": "integer",
  1350. "description": "用户ID",
  1351. "name": "userid",
  1352. "in": "query",
  1353. "required": true
  1354. },
  1355. {
  1356. "type": "string",
  1357. "description": "周期时间:月(格式:yyyyMM)",
  1358. "name": "cycletime",
  1359. "in": "query",
  1360. "required": true
  1361. }
  1362. ],
  1363. "responses": {
  1364. "200": {
  1365. "description": "OK",
  1366. "schema": {
  1367. "type": "array",
  1368. "items": {
  1369. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1370. }
  1371. }
  1372. },
  1373. "500": {
  1374. "description": "Internal Server Error",
  1375. "schema": {
  1376. "$ref": "#/definitions/app.Response"
  1377. }
  1378. }
  1379. }
  1380. }
  1381. },
  1382. "/Ermcp/QryReportMonthSpot": {
  1383. "get": {
  1384. "security": [
  1385. {
  1386. "ApiKeyAuth": []
  1387. }
  1388. ],
  1389. "produces": [
  1390. "application/json"
  1391. ],
  1392. "tags": [
  1393. "企业风险管理(app)"
  1394. ],
  1395. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1396. "parameters": [
  1397. {
  1398. "type": "integer",
  1399. "description": "用户ID",
  1400. "name": "userid",
  1401. "in": "query",
  1402. "required": true
  1403. },
  1404. {
  1405. "type": "string",
  1406. "description": "周期时间:月(格式:yyyyMM)",
  1407. "name": "cycletime",
  1408. "in": "query",
  1409. "required": true
  1410. }
  1411. ],
  1412. "responses": {
  1413. "200": {
  1414. "description": "OK",
  1415. "schema": {
  1416. "type": "array",
  1417. "items": {
  1418. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1419. }
  1420. }
  1421. },
  1422. "500": {
  1423. "description": "Internal Server Error",
  1424. "schema": {
  1425. "$ref": "#/definitions/app.Response"
  1426. }
  1427. }
  1428. }
  1429. }
  1430. },
  1431. "/Ermcp/QryReportMonthSpotDetail": {
  1432. "get": {
  1433. "security": [
  1434. {
  1435. "ApiKeyAuth": []
  1436. }
  1437. ],
  1438. "produces": [
  1439. "application/json"
  1440. ],
  1441. "tags": [
  1442. "企业风险管理(app)"
  1443. ],
  1444. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1445. "parameters": [
  1446. {
  1447. "type": "integer",
  1448. "description": "用户ID",
  1449. "name": "userid",
  1450. "in": "query",
  1451. "required": true
  1452. },
  1453. {
  1454. "type": "integer",
  1455. "description": "现货商品id",
  1456. "name": "wrstandardid",
  1457. "in": "query",
  1458. "required": true
  1459. },
  1460. {
  1461. "type": "string",
  1462. "description": "周期时间:月(格式:yyyyMM)",
  1463. "name": "cycletime",
  1464. "in": "query",
  1465. "required": true
  1466. }
  1467. ],
  1468. "responses": {
  1469. "200": {
  1470. "description": "OK",
  1471. "schema": {
  1472. "type": "array",
  1473. "items": {
  1474. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1475. }
  1476. }
  1477. },
  1478. "500": {
  1479. "description": "Internal Server Error",
  1480. "schema": {
  1481. "$ref": "#/definitions/app.Response"
  1482. }
  1483. }
  1484. }
  1485. }
  1486. },
  1487. "/Ermcp/QueryAccMgrBizGroupSet": {
  1488. "get": {
  1489. "security": [
  1490. {
  1491. "ApiKeyAuth": []
  1492. }
  1493. ],
  1494. "produces": [
  1495. "application/json"
  1496. ],
  1497. "tags": [
  1498. "企业风险管理(app)"
  1499. ],
  1500. "summary": "查询业务类型分组(账户管理/账户设置)",
  1501. "parameters": [
  1502. {
  1503. "type": "integer",
  1504. "description": "用户ID",
  1505. "name": "userid",
  1506. "in": "query",
  1507. "required": true
  1508. }
  1509. ],
  1510. "responses": {
  1511. "200": {
  1512. "description": "OK",
  1513. "schema": {
  1514. "type": "array",
  1515. "items": {
  1516. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1517. }
  1518. }
  1519. },
  1520. "500": {
  1521. "description": "Internal Server Error",
  1522. "schema": {
  1523. "$ref": "#/definitions/app.Response"
  1524. }
  1525. }
  1526. }
  1527. }
  1528. },
  1529. "/Ermcp/QueryAccMgrLoginUser": {
  1530. "get": {
  1531. "security": [
  1532. {
  1533. "ApiKeyAuth": []
  1534. }
  1535. ],
  1536. "produces": [
  1537. "application/json"
  1538. ],
  1539. "tags": [
  1540. "企业风险管理(app)"
  1541. ],
  1542. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1543. "parameters": [
  1544. {
  1545. "type": "integer",
  1546. "description": "用户ID",
  1547. "name": "userid",
  1548. "in": "query",
  1549. "required": true
  1550. }
  1551. ],
  1552. "responses": {
  1553. "200": {
  1554. "description": "OK",
  1555. "schema": {
  1556. "type": "array",
  1557. "items": {
  1558. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1559. }
  1560. }
  1561. },
  1562. "500": {
  1563. "description": "Internal Server Error",
  1564. "schema": {
  1565. "$ref": "#/definitions/app.Response"
  1566. }
  1567. }
  1568. }
  1569. }
  1570. },
  1571. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1572. "get": {
  1573. "security": [
  1574. {
  1575. "ApiKeyAuth": []
  1576. }
  1577. ],
  1578. "produces": [
  1579. "application/json"
  1580. ],
  1581. "tags": [
  1582. "企业风险管理(app)"
  1583. ],
  1584. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1585. "parameters": [
  1586. {
  1587. "type": "integer",
  1588. "description": "用户ID",
  1589. "name": "userid",
  1590. "in": "query"
  1591. },
  1592. {
  1593. "type": "integer",
  1594. "description": "主账号id",
  1595. "name": "accountid",
  1596. "in": "query"
  1597. }
  1598. ],
  1599. "responses": {
  1600. "200": {
  1601. "description": "OK",
  1602. "schema": {
  1603. "type": "array",
  1604. "items": {
  1605. "$ref": "#/definitions/models.MainAccountInfo"
  1606. }
  1607. }
  1608. },
  1609. "500": {
  1610. "description": "Internal Server Error",
  1611. "schema": {
  1612. "$ref": "#/definitions/app.Response"
  1613. }
  1614. }
  1615. }
  1616. }
  1617. },
  1618. "/Ermcp/QueryAccMgrRole": {
  1619. "get": {
  1620. "security": [
  1621. {
  1622. "ApiKeyAuth": []
  1623. }
  1624. ],
  1625. "produces": [
  1626. "application/json"
  1627. ],
  1628. "tags": [
  1629. "企业风险管理(app)"
  1630. ],
  1631. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1632. "parameters": [
  1633. {
  1634. "type": "integer",
  1635. "description": "用户ID",
  1636. "name": "userid",
  1637. "in": "query",
  1638. "required": true
  1639. }
  1640. ],
  1641. "responses": {
  1642. "200": {
  1643. "description": "OK",
  1644. "schema": {
  1645. "type": "array",
  1646. "items": {
  1647. "$ref": "#/definitions/models.ErmcpRole"
  1648. }
  1649. }
  1650. },
  1651. "500": {
  1652. "description": "Internal Server Error",
  1653. "schema": {
  1654. "$ref": "#/definitions/app.Response"
  1655. }
  1656. }
  1657. }
  1658. }
  1659. },
  1660. "/Ermcp/QueryAccMgrRoleMenu": {
  1661. "get": {
  1662. "security": [
  1663. {
  1664. "ApiKeyAuth": []
  1665. }
  1666. ],
  1667. "produces": [
  1668. "application/json"
  1669. ],
  1670. "tags": [
  1671. "企业风险管理(app)"
  1672. ],
  1673. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1674. "parameters": [
  1675. {
  1676. "type": "integer",
  1677. "description": "用户ID",
  1678. "name": "userid",
  1679. "in": "query",
  1680. "required": true
  1681. },
  1682. {
  1683. "type": "string",
  1684. "description": "角色id(可多个,逗号隔开)",
  1685. "name": "roleid",
  1686. "in": "query"
  1687. }
  1688. ],
  1689. "responses": {
  1690. "200": {
  1691. "description": "OK",
  1692. "schema": {
  1693. "type": "array",
  1694. "items": {
  1695. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1696. }
  1697. }
  1698. },
  1699. "500": {
  1700. "description": "Internal Server Error",
  1701. "schema": {
  1702. "$ref": "#/definitions/app.Response"
  1703. }
  1704. }
  1705. }
  1706. }
  1707. },
  1708. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1709. "get": {
  1710. "security": [
  1711. {
  1712. "ApiKeyAuth": []
  1713. }
  1714. ],
  1715. "produces": [
  1716. "application/json"
  1717. ],
  1718. "tags": [
  1719. "企业风险管理(app)"
  1720. ],
  1721. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1722. "parameters": [
  1723. {
  1724. "type": "integer",
  1725. "description": "用户ID",
  1726. "name": "userid",
  1727. "in": "query",
  1728. "required": true
  1729. },
  1730. {
  1731. "type": "integer",
  1732. "description": "账号id",
  1733. "name": "accountid",
  1734. "in": "query"
  1735. }
  1736. ],
  1737. "responses": {
  1738. "200": {
  1739. "description": "OK",
  1740. "schema": {
  1741. "type": "array",
  1742. "items": {
  1743. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1744. }
  1745. }
  1746. },
  1747. "500": {
  1748. "description": "Internal Server Error",
  1749. "schema": {
  1750. "$ref": "#/definitions/app.Response"
  1751. }
  1752. }
  1753. }
  1754. }
  1755. },
  1756. "/Ermcp/QueryAccMgrTaaccount": {
  1757. "get": {
  1758. "security": [
  1759. {
  1760. "ApiKeyAuth": []
  1761. }
  1762. ],
  1763. "produces": [
  1764. "application/json"
  1765. ],
  1766. "tags": [
  1767. "企业风险管理(app)"
  1768. ],
  1769. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1770. "parameters": [
  1771. {
  1772. "type": "integer",
  1773. "description": "用户ID",
  1774. "name": "userid",
  1775. "in": "query",
  1776. "required": true
  1777. }
  1778. ],
  1779. "responses": {
  1780. "200": {
  1781. "description": "OK",
  1782. "schema": {
  1783. "type": "array",
  1784. "items": {
  1785. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1786. }
  1787. }
  1788. },
  1789. "500": {
  1790. "description": "Internal Server Error",
  1791. "schema": {
  1792. "$ref": "#/definitions/app.Response"
  1793. }
  1794. }
  1795. }
  1796. }
  1797. },
  1798. "/Ermcp/QueryAreaStock": {
  1799. "get": {
  1800. "security": [
  1801. {
  1802. "ApiKeyAuth": []
  1803. }
  1804. ],
  1805. "produces": [
  1806. "application/json"
  1807. ],
  1808. "tags": [
  1809. "企业风险管理(app)"
  1810. ],
  1811. "summary": "查询机构库存(库存管理/当前库存)",
  1812. "parameters": [
  1813. {
  1814. "type": "integer",
  1815. "description": "用户ID",
  1816. "name": "userid",
  1817. "in": "query",
  1818. "required": true
  1819. }
  1820. ],
  1821. "responses": {
  1822. "200": {
  1823. "description": "OK",
  1824. "schema": {
  1825. "type": "array",
  1826. "items": {
  1827. "$ref": "#/definitions/models.ErmcpAreaStock"
  1828. }
  1829. }
  1830. },
  1831. "500": {
  1832. "description": "Internal Server Error",
  1833. "schema": {
  1834. "$ref": "#/definitions/app.Response"
  1835. }
  1836. }
  1837. }
  1838. }
  1839. },
  1840. "/Ermcp/QueryAreaStockApply": {
  1841. "get": {
  1842. "security": [
  1843. {
  1844. "ApiKeyAuth": []
  1845. }
  1846. ],
  1847. "produces": [
  1848. "application/json"
  1849. ],
  1850. "tags": [
  1851. "企业风险管理(app)"
  1852. ],
  1853. "summary": "查询库存申请(出入库记录|库存审核)",
  1854. "parameters": [
  1855. {
  1856. "type": "integer",
  1857. "description": "用户ID",
  1858. "name": "userid",
  1859. "in": "query",
  1860. "required": true
  1861. },
  1862. {
  1863. "type": "string",
  1864. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1865. "name": "inouttype",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "description": "合同ID",
  1871. "name": "spotcontractid",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "integer",
  1876. "description": "现货商品ID",
  1877. "name": "wrstandardid",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "integer",
  1882. "description": "品牌ID",
  1883. "name": "spotgoodsbrandid",
  1884. "in": "query"
  1885. },
  1886. {
  1887. "type": "integer",
  1888. "description": "型号ID",
  1889. "name": "spotgoodsmodelid",
  1890. "in": "query"
  1891. },
  1892. {
  1893. "type": "integer",
  1894. "description": "仓库ID",
  1895. "name": "warehouseinfoid",
  1896. "in": "query"
  1897. },
  1898. {
  1899. "type": "string",
  1900. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1901. "name": "applystatus",
  1902. "in": "query"
  1903. }
  1904. ],
  1905. "responses": {
  1906. "200": {
  1907. "description": "OK",
  1908. "schema": {
  1909. "type": "array",
  1910. "items": {
  1911. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1912. }
  1913. }
  1914. },
  1915. "500": {
  1916. "description": "Internal Server Error",
  1917. "schema": {
  1918. "$ref": "#/definitions/app.Response"
  1919. }
  1920. }
  1921. }
  1922. }
  1923. },
  1924. "/Ermcp/QueryAreaStockApplySum": {
  1925. "get": {
  1926. "security": [
  1927. {
  1928. "ApiKeyAuth": []
  1929. }
  1930. ],
  1931. "produces": [
  1932. "application/json"
  1933. ],
  1934. "tags": [
  1935. "企业风险管理(app)"
  1936. ],
  1937. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1938. "parameters": [
  1939. {
  1940. "type": "integer",
  1941. "description": "合同ID",
  1942. "name": "spotcontractid",
  1943. "in": "query"
  1944. }
  1945. ],
  1946. "responses": {
  1947. "200": {
  1948. "description": "OK",
  1949. "schema": {
  1950. "type": "array",
  1951. "items": {
  1952. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1953. }
  1954. }
  1955. },
  1956. "500": {
  1957. "description": "Internal Server Error",
  1958. "schema": {
  1959. "$ref": "#/definitions/app.Response"
  1960. }
  1961. }
  1962. }
  1963. }
  1964. },
  1965. "/Ermcp/QueryAreaStockReport": {
  1966. "get": {
  1967. "security": [
  1968. {
  1969. "ApiKeyAuth": []
  1970. }
  1971. ],
  1972. "produces": [
  1973. "application/json"
  1974. ],
  1975. "tags": [
  1976. "企业风险管理(app)"
  1977. ],
  1978. "summary": "查询库存报表",
  1979. "parameters": [
  1980. {
  1981. "type": "integer",
  1982. "description": "用户ID",
  1983. "name": "userid",
  1984. "in": "query",
  1985. "required": true
  1986. },
  1987. {
  1988. "type": "integer",
  1989. "description": "查询类型 1-日报表 2-月报表",
  1990. "name": "querytype",
  1991. "in": "query",
  1992. "required": true
  1993. },
  1994. {
  1995. "type": "string",
  1996. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1997. "name": "querydate",
  1998. "in": "query",
  1999. "required": true
  2000. },
  2001. {
  2002. "type": "integer",
  2003. "description": "现货商品ID",
  2004. "name": "wrstandardid",
  2005. "in": "query"
  2006. },
  2007. {
  2008. "type": "integer",
  2009. "description": "品牌ID",
  2010. "name": "spotgoodsbrandid",
  2011. "in": "query"
  2012. },
  2013. {
  2014. "type": "integer",
  2015. "description": "型号ID",
  2016. "name": "spotgoodsmodelid",
  2017. "in": "query"
  2018. },
  2019. {
  2020. "type": "integer",
  2021. "description": "仓库ID",
  2022. "name": "warehouseinfoid",
  2023. "in": "query"
  2024. }
  2025. ],
  2026. "responses": {
  2027. "200": {
  2028. "description": "OK",
  2029. "schema": {
  2030. "type": "array",
  2031. "items": {
  2032. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2033. }
  2034. }
  2035. },
  2036. "500": {
  2037. "description": "Internal Server Error",
  2038. "schema": {
  2039. "$ref": "#/definitions/app.Response"
  2040. }
  2041. }
  2042. }
  2043. }
  2044. },
  2045. "/Ermcp/QueryAreaStockReportDetail": {
  2046. "get": {
  2047. "security": [
  2048. {
  2049. "ApiKeyAuth": []
  2050. }
  2051. ],
  2052. "produces": [
  2053. "application/json"
  2054. ],
  2055. "tags": [
  2056. "企业风险管理(app)"
  2057. ],
  2058. "summary": "查询库存报表明细",
  2059. "parameters": [
  2060. {
  2061. "type": "integer",
  2062. "description": "用户ID",
  2063. "name": "userid",
  2064. "in": "query",
  2065. "required": true
  2066. },
  2067. {
  2068. "type": "integer",
  2069. "description": "查询类型 1-日报表明细 2-月报表明细",
  2070. "name": "querytype",
  2071. "in": "query",
  2072. "required": true
  2073. },
  2074. {
  2075. "type": "integer",
  2076. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2077. "name": "detailtype",
  2078. "in": "query",
  2079. "required": true
  2080. },
  2081. {
  2082. "type": "string",
  2083. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2084. "name": "querydate",
  2085. "in": "query",
  2086. "required": true
  2087. },
  2088. {
  2089. "type": "integer",
  2090. "description": "现货商品ID",
  2091. "name": "wrstandardid",
  2092. "in": "query"
  2093. },
  2094. {
  2095. "type": "integer",
  2096. "description": "品牌ID",
  2097. "name": "spotgoodsbrandid",
  2098. "in": "query"
  2099. },
  2100. {
  2101. "type": "integer",
  2102. "description": "型号ID",
  2103. "name": "spotgoodsmodelid",
  2104. "in": "query"
  2105. },
  2106. {
  2107. "type": "integer",
  2108. "description": "仓库ID",
  2109. "name": "warehouseinfoid",
  2110. "in": "query"
  2111. }
  2112. ],
  2113. "responses": {
  2114. "200": {
  2115. "description": "OK",
  2116. "schema": {
  2117. "type": "array",
  2118. "items": {
  2119. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2120. }
  2121. }
  2122. },
  2123. "500": {
  2124. "description": "Internal Server Error",
  2125. "schema": {
  2126. "$ref": "#/definitions/app.Response"
  2127. }
  2128. }
  2129. }
  2130. }
  2131. },
  2132. "/Ermcp/QueryAvaildGoodsGroup": {
  2133. "get": {
  2134. "security": [
  2135. {
  2136. "ApiKeyAuth": []
  2137. }
  2138. ],
  2139. "produces": [
  2140. "application/json"
  2141. ],
  2142. "tags": [
  2143. "企业风险管理(app)"
  2144. ],
  2145. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2146. "parameters": [
  2147. {
  2148. "type": "integer",
  2149. "description": "所属机构ID",
  2150. "name": "userid",
  2151. "in": "query",
  2152. "required": true
  2153. }
  2154. ],
  2155. "responses": {
  2156. "200": {
  2157. "description": "OK",
  2158. "schema": {
  2159. "type": "array",
  2160. "items": {
  2161. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2162. }
  2163. }
  2164. },
  2165. "500": {
  2166. "description": "Internal Server Error",
  2167. "schema": {
  2168. "$ref": "#/definitions/app.Response"
  2169. }
  2170. }
  2171. }
  2172. }
  2173. },
  2174. "/Ermcp/QueryBusinessDj": {
  2175. "get": {
  2176. "security": [
  2177. {
  2178. "ApiKeyAuth": []
  2179. }
  2180. ],
  2181. "produces": [
  2182. "application/json"
  2183. ],
  2184. "tags": [
  2185. "企业风险管理(app)"
  2186. ],
  2187. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2188. "parameters": [
  2189. {
  2190. "type": "integer",
  2191. "description": "用户ID",
  2192. "name": "UserId",
  2193. "in": "query",
  2194. "required": true
  2195. },
  2196. {
  2197. "type": "string",
  2198. "description": "现货合同ID, 不填则查所有",
  2199. "name": "relatedid",
  2200. "in": "query"
  2201. },
  2202. {
  2203. "type": "string",
  2204. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2205. "name": "applystatus",
  2206. "in": "query"
  2207. }
  2208. ],
  2209. "responses": {
  2210. "200": {
  2211. "description": "OK",
  2212. "schema": {
  2213. "type": "array",
  2214. "items": {
  2215. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2216. }
  2217. }
  2218. },
  2219. "500": {
  2220. "description": "Internal Server Error",
  2221. "schema": {
  2222. "$ref": "#/definitions/app.Response"
  2223. }
  2224. }
  2225. }
  2226. }
  2227. },
  2228. "/Ermcp/QueryBusinessFp": {
  2229. "get": {
  2230. "security": [
  2231. {
  2232. "ApiKeyAuth": []
  2233. }
  2234. ],
  2235. "produces": [
  2236. "application/json"
  2237. ],
  2238. "tags": [
  2239. "企业风险管理(app)"
  2240. ],
  2241. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2242. "parameters": [
  2243. {
  2244. "type": "integer",
  2245. "description": "用户ID",
  2246. "name": "UserId",
  2247. "in": "query",
  2248. "required": true
  2249. },
  2250. {
  2251. "type": "string",
  2252. "description": "现货合同ID, 不填则查所有",
  2253. "name": "relatedid",
  2254. "in": "query"
  2255. },
  2256. {
  2257. "type": "string",
  2258. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2259. "name": "applystatus",
  2260. "in": "query"
  2261. }
  2262. ],
  2263. "responses": {
  2264. "200": {
  2265. "description": "OK",
  2266. "schema": {
  2267. "type": "array",
  2268. "items": {
  2269. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2270. }
  2271. }
  2272. },
  2273. "500": {
  2274. "description": "Internal Server Error",
  2275. "schema": {
  2276. "$ref": "#/definitions/app.Response"
  2277. }
  2278. }
  2279. }
  2280. }
  2281. },
  2282. "/Ermcp/QueryBusinessJs": {
  2283. "get": {
  2284. "security": [
  2285. {
  2286. "ApiKeyAuth": []
  2287. }
  2288. ],
  2289. "produces": [
  2290. "application/json"
  2291. ],
  2292. "tags": [
  2293. "企业风险管理(app)"
  2294. ],
  2295. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2296. "parameters": [
  2297. {
  2298. "type": "integer",
  2299. "description": "用户ID",
  2300. "name": "UserId",
  2301. "in": "query",
  2302. "required": true
  2303. },
  2304. {
  2305. "type": "string",
  2306. "description": "现货合同ID, 不填则查所有",
  2307. "name": "relatedid",
  2308. "in": "query"
  2309. },
  2310. {
  2311. "type": "string",
  2312. "description": "操作申请id",
  2313. "name": "operateapplyid",
  2314. "in": "query"
  2315. },
  2316. {
  2317. "type": "string",
  2318. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2319. "name": "applystatus",
  2320. "in": "query"
  2321. }
  2322. ],
  2323. "responses": {
  2324. "200": {
  2325. "description": "OK",
  2326. "schema": {
  2327. "type": "array",
  2328. "items": {
  2329. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2330. }
  2331. }
  2332. },
  2333. "500": {
  2334. "description": "Internal Server Error",
  2335. "schema": {
  2336. "$ref": "#/definitions/app.Response"
  2337. }
  2338. }
  2339. }
  2340. }
  2341. },
  2342. "/Ermcp/QueryBusinessJsEx": {
  2343. "get": {
  2344. "security": [
  2345. {
  2346. "ApiKeyAuth": []
  2347. }
  2348. ],
  2349. "produces": [
  2350. "application/json"
  2351. ],
  2352. "tags": [
  2353. "企业风险管理(app)"
  2354. ],
  2355. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2356. "parameters": [
  2357. {
  2358. "type": "integer",
  2359. "description": "用户ID",
  2360. "name": "UserId",
  2361. "in": "query",
  2362. "required": true
  2363. },
  2364. {
  2365. "type": "string",
  2366. "description": "现货合同ID, 不填则查所有",
  2367. "name": "relatedid",
  2368. "in": "query"
  2369. },
  2370. {
  2371. "type": "string",
  2372. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2373. "name": "applystatus",
  2374. "in": "query"
  2375. }
  2376. ],
  2377. "responses": {
  2378. "200": {
  2379. "description": "OK",
  2380. "schema": {
  2381. "type": "array",
  2382. "items": {
  2383. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2384. }
  2385. }
  2386. },
  2387. "500": {
  2388. "description": "Internal Server Error",
  2389. "schema": {
  2390. "$ref": "#/definitions/app.Response"
  2391. }
  2392. }
  2393. }
  2394. }
  2395. },
  2396. "/Ermcp/QueryBusinessKx": {
  2397. "get": {
  2398. "security": [
  2399. {
  2400. "ApiKeyAuth": []
  2401. }
  2402. ],
  2403. "produces": [
  2404. "application/json"
  2405. ],
  2406. "tags": [
  2407. "企业风险管理(app)"
  2408. ],
  2409. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2410. "parameters": [
  2411. {
  2412. "type": "integer",
  2413. "description": "用户ID",
  2414. "name": "UserId",
  2415. "in": "query",
  2416. "required": true
  2417. },
  2418. {
  2419. "type": "string",
  2420. "description": "现货合同ID, 不填则查所有",
  2421. "name": "relatedid",
  2422. "in": "query"
  2423. },
  2424. {
  2425. "type": "string",
  2426. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2427. "name": "applystatus",
  2428. "in": "query"
  2429. }
  2430. ],
  2431. "responses": {
  2432. "200": {
  2433. "description": "OK",
  2434. "schema": {
  2435. "type": "array",
  2436. "items": {
  2437. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2438. }
  2439. }
  2440. },
  2441. "500": {
  2442. "description": "Internal Server Error",
  2443. "schema": {
  2444. "$ref": "#/definitions/app.Response"
  2445. }
  2446. }
  2447. }
  2448. }
  2449. },
  2450. "/Ermcp/QueryChangeLog": {
  2451. "get": {
  2452. "security": [
  2453. {
  2454. "ApiKeyAuth": []
  2455. }
  2456. ],
  2457. "produces": [
  2458. "application/json"
  2459. ],
  2460. "tags": [
  2461. "企业风险管理(app)"
  2462. ],
  2463. "summary": "查询变更记录",
  2464. "parameters": [
  2465. {
  2466. "type": "string",
  2467. "description": "合同ID",
  2468. "name": "RelatedId",
  2469. "in": "query",
  2470. "required": true
  2471. }
  2472. ],
  2473. "responses": {
  2474. "200": {
  2475. "description": "OK",
  2476. "schema": {
  2477. "type": "array",
  2478. "items": {
  2479. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2480. }
  2481. }
  2482. },
  2483. "500": {
  2484. "description": "Internal Server Error",
  2485. "schema": {
  2486. "$ref": "#/definitions/app.Response"
  2487. }
  2488. }
  2489. }
  2490. }
  2491. },
  2492. "/Ermcp/QueryContract": {
  2493. "get": {
  2494. "security": [
  2495. {
  2496. "ApiKeyAuth": []
  2497. }
  2498. ],
  2499. "produces": [
  2500. "application/json"
  2501. ],
  2502. "tags": [
  2503. "企业风险管理(app)"
  2504. ],
  2505. "summary": "查询合同(采购和销售)",
  2506. "parameters": [
  2507. {
  2508. "type": "integer",
  2509. "description": "用户ID",
  2510. "name": "userId",
  2511. "in": "query",
  2512. "required": true
  2513. },
  2514. {
  2515. "type": "integer",
  2516. "description": "合同类型 1-采购, -1-销售",
  2517. "name": "contracttype",
  2518. "in": "query",
  2519. "required": true
  2520. },
  2521. {
  2522. "type": "integer",
  2523. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2524. "name": "querytype",
  2525. "in": "query",
  2526. "required": true
  2527. },
  2528. {
  2529. "type": "string",
  2530. "description": "合同ID(SpotContractId)",
  2531. "name": "contractid",
  2532. "in": "query"
  2533. }
  2534. ],
  2535. "responses": {
  2536. "200": {
  2537. "description": "OK",
  2538. "schema": {
  2539. "type": "array",
  2540. "items": {
  2541. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2542. }
  2543. }
  2544. },
  2545. "500": {
  2546. "description": "Internal Server Error",
  2547. "schema": {
  2548. "$ref": "#/definitions/app.Response"
  2549. }
  2550. }
  2551. }
  2552. }
  2553. },
  2554. "/Ermcp/QueryErmcpHisOrderDetails": {
  2555. "get": {
  2556. "security": [
  2557. {
  2558. "ApiKeyAuth": []
  2559. }
  2560. ],
  2561. "produces": [
  2562. "application/json"
  2563. ],
  2564. "tags": [
  2565. "企业风险管理(app)"
  2566. ],
  2567. "summary": "获取企业风管期货历史委托单信息",
  2568. "parameters": [
  2569. {
  2570. "type": "integer",
  2571. "description": "资金账户ID",
  2572. "name": "accountID",
  2573. "in": "query",
  2574. "required": true
  2575. },
  2576. {
  2577. "type": "string",
  2578. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2579. "name": "startDate",
  2580. "in": "query"
  2581. },
  2582. {
  2583. "type": "string",
  2584. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2585. "name": "endDate",
  2586. "in": "query"
  2587. }
  2588. ],
  2589. "responses": {
  2590. "200": {
  2591. "description": "OK",
  2592. "schema": {
  2593. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2594. }
  2595. },
  2596. "500": {
  2597. "description": "Internal Server Error",
  2598. "schema": {
  2599. "$ref": "#/definitions/app.Response"
  2600. }
  2601. }
  2602. }
  2603. }
  2604. },
  2605. "/Ermcp/QueryErmcpHisTradeDetails": {
  2606. "get": {
  2607. "security": [
  2608. {
  2609. "ApiKeyAuth": []
  2610. }
  2611. ],
  2612. "produces": [
  2613. "application/json"
  2614. ],
  2615. "tags": [
  2616. "企业风险管理(app)"
  2617. ],
  2618. "summary": "获取企业风管期货历史成交单信息",
  2619. "parameters": [
  2620. {
  2621. "type": "integer",
  2622. "description": "资金账户ID",
  2623. "name": "accountID",
  2624. "in": "query",
  2625. "required": true
  2626. },
  2627. {
  2628. "type": "integer",
  2629. "description": "商品ID",
  2630. "name": "goodsID",
  2631. "in": "query"
  2632. },
  2633. {
  2634. "type": "integer",
  2635. "description": "买卖方向,0:买 1:卖",
  2636. "name": "buyOrSell",
  2637. "in": "query"
  2638. },
  2639. {
  2640. "type": "integer",
  2641. "description": "关联委托单号",
  2642. "name": "orderID",
  2643. "in": "query"
  2644. },
  2645. {
  2646. "type": "string",
  2647. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2648. "name": "startDate",
  2649. "in": "query"
  2650. },
  2651. {
  2652. "type": "string",
  2653. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2654. "name": "endDate",
  2655. "in": "query"
  2656. }
  2657. ],
  2658. "responses": {
  2659. "200": {
  2660. "description": "OK",
  2661. "schema": {
  2662. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "获取企业风管期货内部持仓单信息",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "资金账户ID",
  2692. "name": "accountID",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": "商品ID",
  2699. "name": "goodsID",
  2700. "in": "query"
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "买卖方向,0:买 1:卖",
  2705. "name": "buyOrSell",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2714. }
  2715. },
  2716. "500": {
  2717. "description": "Internal Server Error",
  2718. "schema": {
  2719. "$ref": "#/definitions/app.Response"
  2720. }
  2721. }
  2722. }
  2723. }
  2724. },
  2725. "/Ermcp/QueryErmcpOrderDetails": {
  2726. "get": {
  2727. "security": [
  2728. {
  2729. "ApiKeyAuth": []
  2730. }
  2731. ],
  2732. "produces": [
  2733. "application/json"
  2734. ],
  2735. "tags": [
  2736. "企业风险管理(app)"
  2737. ],
  2738. "summary": "获取企业风管期货委托单信息",
  2739. "parameters": [
  2740. {
  2741. "type": "integer",
  2742. "description": "资金账户ID",
  2743. "name": "accountID",
  2744. "in": "query",
  2745. "required": true
  2746. }
  2747. ],
  2748. "responses": {
  2749. "200": {
  2750. "description": "OK",
  2751. "schema": {
  2752. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2753. }
  2754. },
  2755. "500": {
  2756. "description": "Internal Server Error",
  2757. "schema": {
  2758. "$ref": "#/definitions/app.Response"
  2759. }
  2760. }
  2761. }
  2762. }
  2763. },
  2764. "/Ermcp/QueryErmcpTradeDetails": {
  2765. "get": {
  2766. "security": [
  2767. {
  2768. "ApiKeyAuth": []
  2769. }
  2770. ],
  2771. "produces": [
  2772. "application/json"
  2773. ],
  2774. "tags": [
  2775. "企业风险管理(app)"
  2776. ],
  2777. "summary": "获取企业风管期货成交单信息",
  2778. "parameters": [
  2779. {
  2780. "type": "integer",
  2781. "description": "资金账户ID",
  2782. "name": "accountID",
  2783. "in": "query",
  2784. "required": true
  2785. },
  2786. {
  2787. "type": "integer",
  2788. "description": "商品ID",
  2789. "name": "goodsID",
  2790. "in": "query"
  2791. },
  2792. {
  2793. "type": "integer",
  2794. "description": "买卖方向,0:买 1:卖",
  2795. "name": "buyOrSell",
  2796. "in": "query"
  2797. },
  2798. {
  2799. "type": "integer",
  2800. "description": "关联委托单号",
  2801. "name": "orderID",
  2802. "in": "query"
  2803. }
  2804. ],
  2805. "responses": {
  2806. "200": {
  2807. "description": "OK",
  2808. "schema": {
  2809. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2810. }
  2811. },
  2812. "500": {
  2813. "description": "Internal Server Error",
  2814. "schema": {
  2815. "$ref": "#/definitions/app.Response"
  2816. }
  2817. }
  2818. }
  2819. }
  2820. },
  2821. "/Ermcp/QueryErmcpTradePosition": {
  2822. "get": {
  2823. "security": [
  2824. {
  2825. "ApiKeyAuth": []
  2826. }
  2827. ],
  2828. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2829. "produces": [
  2830. "application/json"
  2831. ],
  2832. "tags": [
  2833. "企业风险管理(app)"
  2834. ],
  2835. "summary": "获取企业风管期货持仓头寸信息",
  2836. "parameters": [
  2837. {
  2838. "type": "integer",
  2839. "description": "资金账户ID",
  2840. "name": "accountID",
  2841. "in": "query",
  2842. "required": true
  2843. },
  2844. {
  2845. "type": "integer",
  2846. "description": "所属市场ID",
  2847. "name": "marketID",
  2848. "in": "query"
  2849. }
  2850. ],
  2851. "responses": {
  2852. "200": {
  2853. "description": "OK",
  2854. "schema": {
  2855. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2856. }
  2857. },
  2858. "500": {
  2859. "description": "Internal Server Error",
  2860. "schema": {
  2861. "$ref": "#/definitions/app.Response"
  2862. }
  2863. }
  2864. }
  2865. }
  2866. },
  2867. "/Ermcp/QueryExposureDetail": {
  2868. "get": {
  2869. "security": [
  2870. {
  2871. "ApiKeyAuth": []
  2872. }
  2873. ],
  2874. "produces": [
  2875. "application/json"
  2876. ],
  2877. "tags": [
  2878. "企业风险管理(app)"
  2879. ],
  2880. "summary": "查询敞口现货明细",
  2881. "parameters": [
  2882. {
  2883. "type": "integer",
  2884. "description": "所属机构ID",
  2885. "name": "areaUserId",
  2886. "in": "query",
  2887. "required": true
  2888. },
  2889. {
  2890. "type": "integer",
  2891. "description": "套保商品",
  2892. "name": "middleGoodsId",
  2893. "in": "query",
  2894. "required": true
  2895. }
  2896. ],
  2897. "responses": {
  2898. "200": {
  2899. "description": "OK",
  2900. "schema": {
  2901. "type": "array",
  2902. "items": {
  2903. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2904. }
  2905. }
  2906. },
  2907. "500": {
  2908. "description": "Internal Server Error",
  2909. "schema": {
  2910. "$ref": "#/definitions/app.Response"
  2911. }
  2912. }
  2913. }
  2914. }
  2915. },
  2916. "/Ermcp/QueryExposureHedgePosition": {
  2917. "get": {
  2918. "security": [
  2919. {
  2920. "ApiKeyAuth": []
  2921. }
  2922. ],
  2923. "produces": [
  2924. "application/json"
  2925. ],
  2926. "tags": [
  2927. "企业风险管理(app)"
  2928. ],
  2929. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2930. "parameters": [
  2931. {
  2932. "type": "integer",
  2933. "description": "所属机构ID",
  2934. "name": "areaUserId",
  2935. "in": "query",
  2936. "required": true
  2937. }
  2938. ],
  2939. "responses": {
  2940. "200": {
  2941. "description": "OK",
  2942. "schema": {
  2943. "type": "array",
  2944. "items": {
  2945. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2946. }
  2947. }
  2948. },
  2949. "500": {
  2950. "description": "Internal Server Error",
  2951. "schema": {
  2952. "$ref": "#/definitions/app.Response"
  2953. }
  2954. }
  2955. }
  2956. }
  2957. },
  2958. "/Ermcp/QueryExposureHedgePositionDetail": {
  2959. "get": {
  2960. "security": [
  2961. {
  2962. "ApiKeyAuth": []
  2963. }
  2964. ],
  2965. "produces": [
  2966. "application/json"
  2967. ],
  2968. "tags": [
  2969. "企业风险管理(app)"
  2970. ],
  2971. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2972. "parameters": [
  2973. {
  2974. "type": "integer",
  2975. "description": "所属机构ID",
  2976. "name": "areaUserId",
  2977. "in": "query",
  2978. "required": true
  2979. },
  2980. {
  2981. "type": "integer",
  2982. "description": "商品id",
  2983. "name": "goodsId",
  2984. "in": "query",
  2985. "required": true
  2986. }
  2987. ],
  2988. "responses": {
  2989. "200": {
  2990. "description": "OK",
  2991. "schema": {
  2992. "type": "array",
  2993. "items": {
  2994. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2995. }
  2996. }
  2997. },
  2998. "500": {
  2999. "description": "Internal Server Error",
  3000. "schema": {
  3001. "$ref": "#/definitions/app.Response"
  3002. }
  3003. }
  3004. }
  3005. }
  3006. },
  3007. "/Ermcp/QueryExposureSpot": {
  3008. "get": {
  3009. "security": [
  3010. {
  3011. "ApiKeyAuth": []
  3012. }
  3013. ],
  3014. "produces": [
  3015. "application/json"
  3016. ],
  3017. "tags": [
  3018. "企业风险管理(app)"
  3019. ],
  3020. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3021. "parameters": [
  3022. {
  3023. "type": "integer",
  3024. "description": "所属机构ID",
  3025. "name": "areaUserId",
  3026. "in": "query",
  3027. "required": true
  3028. }
  3029. ],
  3030. "responses": {
  3031. "200": {
  3032. "description": "OK",
  3033. "schema": {
  3034. "type": "array",
  3035. "items": {
  3036. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3037. }
  3038. }
  3039. },
  3040. "500": {
  3041. "description": "Internal Server Error",
  3042. "schema": {
  3043. "$ref": "#/definitions/app.Response"
  3044. }
  3045. }
  3046. }
  3047. }
  3048. },
  3049. "/Ermcp/QueryExposureSpotDetail": {
  3050. "get": {
  3051. "security": [
  3052. {
  3053. "ApiKeyAuth": []
  3054. }
  3055. ],
  3056. "produces": [
  3057. "application/json"
  3058. ],
  3059. "tags": [
  3060. "企业风险管理(app)"
  3061. ],
  3062. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3063. "parameters": [
  3064. {
  3065. "type": "integer",
  3066. "description": "所属机构ID",
  3067. "name": "areaUserId",
  3068. "in": "query",
  3069. "required": true
  3070. },
  3071. {
  3072. "type": "integer",
  3073. "description": "现货品种ID",
  3074. "name": "wrstandardId",
  3075. "in": "query",
  3076. "required": true
  3077. }
  3078. ],
  3079. "responses": {
  3080. "200": {
  3081. "description": "OK",
  3082. "schema": {
  3083. "type": "array",
  3084. "items": {
  3085. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3086. }
  3087. }
  3088. },
  3089. "500": {
  3090. "description": "Internal Server Error",
  3091. "schema": {
  3092. "$ref": "#/definitions/app.Response"
  3093. }
  3094. }
  3095. }
  3096. }
  3097. },
  3098. "/Ermcp/QueryFuturesCompany": {
  3099. "get": {
  3100. "security": [
  3101. {
  3102. "ApiKeyAuth": []
  3103. }
  3104. ],
  3105. "produces": [
  3106. "application/json"
  3107. ],
  3108. "tags": [
  3109. "企业风险管理(app)"
  3110. ],
  3111. "summary": "查询期货公司",
  3112. "responses": {
  3113. "200": {
  3114. "description": "OK",
  3115. "schema": {
  3116. "type": "array",
  3117. "items": {
  3118. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3119. }
  3120. }
  3121. },
  3122. "500": {
  3123. "description": "Internal Server Error",
  3124. "schema": {
  3125. "$ref": "#/definitions/app.Response"
  3126. }
  3127. }
  3128. }
  3129. }
  3130. },
  3131. "/Ermcp/QueryGGConvertConfig": {
  3132. "get": {
  3133. "security": [
  3134. {
  3135. "ApiKeyAuth": []
  3136. }
  3137. ],
  3138. "produces": [
  3139. "application/json"
  3140. ],
  3141. "tags": [
  3142. "企业风险管理(app)"
  3143. ],
  3144. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3145. "parameters": [
  3146. {
  3147. "type": "integer",
  3148. "description": "品种id(不填则查所有)",
  3149. "name": "goodsgroupid",
  3150. "in": "query"
  3151. }
  3152. ],
  3153. "responses": {
  3154. "200": {
  3155. "description": "OK",
  3156. "schema": {
  3157. "type": "array",
  3158. "items": {
  3159. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3160. }
  3161. }
  3162. },
  3163. "500": {
  3164. "description": "Internal Server Error",
  3165. "schema": {
  3166. "$ref": "#/definitions/app.Response"
  3167. }
  3168. }
  3169. }
  3170. }
  3171. },
  3172. "/Ermcp/QueryGoodsBrand": {
  3173. "get": {
  3174. "security": [
  3175. {
  3176. "ApiKeyAuth": []
  3177. }
  3178. ],
  3179. "produces": [
  3180. "application/json"
  3181. ],
  3182. "tags": [
  3183. "企业风险管理(app)"
  3184. ],
  3185. "summary": "查询商品品牌",
  3186. "parameters": [
  3187. {
  3188. "type": "integer",
  3189. "description": "用户ID",
  3190. "name": "userid",
  3191. "in": "query",
  3192. "required": true
  3193. },
  3194. {
  3195. "type": "integer",
  3196. "description": "现货商品ID",
  3197. "name": "wrstandardid",
  3198. "in": "query"
  3199. }
  3200. ],
  3201. "responses": {
  3202. "200": {
  3203. "description": "OK",
  3204. "schema": {
  3205. "type": "array",
  3206. "items": {
  3207. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3208. }
  3209. }
  3210. },
  3211. "500": {
  3212. "description": "Internal Server Error",
  3213. "schema": {
  3214. "$ref": "#/definitions/app.Response"
  3215. }
  3216. }
  3217. }
  3218. }
  3219. },
  3220. "/Ermcp/QueryGoodsModel": {
  3221. "get": {
  3222. "security": [
  3223. {
  3224. "ApiKeyAuth": []
  3225. }
  3226. ],
  3227. "produces": [
  3228. "application/json"
  3229. ],
  3230. "tags": [
  3231. "企业风险管理(app)"
  3232. ],
  3233. "summary": "查询商品型号",
  3234. "parameters": [
  3235. {
  3236. "type": "integer",
  3237. "description": "用户ID",
  3238. "name": "userid",
  3239. "in": "query",
  3240. "required": true
  3241. }
  3242. ],
  3243. "responses": {
  3244. "200": {
  3245. "description": "OK",
  3246. "schema": {
  3247. "type": "array",
  3248. "items": {
  3249. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3250. }
  3251. }
  3252. },
  3253. "500": {
  3254. "description": "Internal Server Error",
  3255. "schema": {
  3256. "$ref": "#/definitions/app.Response"
  3257. }
  3258. }
  3259. }
  3260. }
  3261. },
  3262. "/Ermcp/QueryHedgePlan": {
  3263. "get": {
  3264. "security": [
  3265. {
  3266. "ApiKeyAuth": []
  3267. }
  3268. ],
  3269. "produces": [
  3270. "application/json"
  3271. ],
  3272. "tags": [
  3273. "企业风险管理(app)"
  3274. ],
  3275. "summary": "查询套保计划",
  3276. "parameters": [
  3277. {
  3278. "type": "integer",
  3279. "description": "用户ID",
  3280. "name": "userId",
  3281. "in": "query",
  3282. "required": true
  3283. },
  3284. {
  3285. "type": "string",
  3286. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3287. "name": "HedgePlanStatus",
  3288. "in": "query",
  3289. "required": true
  3290. }
  3291. ],
  3292. "responses": {
  3293. "200": {
  3294. "description": "OK",
  3295. "schema": {
  3296. "type": "array",
  3297. "items": {
  3298. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3299. }
  3300. }
  3301. },
  3302. "500": {
  3303. "description": "Internal Server Error",
  3304. "schema": {
  3305. "$ref": "#/definitions/app.Response"
  3306. }
  3307. }
  3308. }
  3309. }
  3310. },
  3311. "/Ermcp/QueryHisExposure": {
  3312. "get": {
  3313. "security": [
  3314. {
  3315. "ApiKeyAuth": []
  3316. }
  3317. ],
  3318. "produces": [
  3319. "application/json"
  3320. ],
  3321. "tags": [
  3322. "企业风险管理(app)"
  3323. ],
  3324. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3325. "parameters": [
  3326. {
  3327. "type": "integer",
  3328. "description": "所属机构ID",
  3329. "name": "areaUserId",
  3330. "in": "query",
  3331. "required": true
  3332. },
  3333. {
  3334. "type": "integer",
  3335. "description": "每个品种记录数",
  3336. "name": "lastNum",
  3337. "in": "query",
  3338. "required": true
  3339. }
  3340. ],
  3341. "responses": {
  3342. "200": {
  3343. "description": "OK",
  3344. "schema": {
  3345. "type": "array",
  3346. "items": {
  3347. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3348. }
  3349. }
  3350. },
  3351. "500": {
  3352. "description": "Internal Server Error",
  3353. "schema": {
  3354. "$ref": "#/definitions/app.Response"
  3355. }
  3356. }
  3357. }
  3358. }
  3359. },
  3360. "/Ermcp/QueryMiddleGoods": {
  3361. "get": {
  3362. "security": [
  3363. {
  3364. "ApiKeyAuth": []
  3365. }
  3366. ],
  3367. "produces": [
  3368. "application/json"
  3369. ],
  3370. "tags": [
  3371. "企业风险管理(app)"
  3372. ],
  3373. "summary": "查询套保品种(菜单:套保品种)",
  3374. "parameters": [
  3375. {
  3376. "type": "integer",
  3377. "description": "所属机构ID",
  3378. "name": "userid",
  3379. "in": "query",
  3380. "required": true
  3381. },
  3382. {
  3383. "type": "integer",
  3384. "description": "状态 0-停用 1-正常",
  3385. "name": "status",
  3386. "in": "query",
  3387. "required": true
  3388. }
  3389. ],
  3390. "responses": {
  3391. "200": {
  3392. "description": "OK",
  3393. "schema": {
  3394. "type": "array",
  3395. "items": {
  3396. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3397. }
  3398. }
  3399. },
  3400. "500": {
  3401. "description": "Internal Server Error",
  3402. "schema": {
  3403. "$ref": "#/definitions/app.Response"
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3410. "get": {
  3411. "security": [
  3412. {
  3413. "ApiKeyAuth": []
  3414. }
  3415. ],
  3416. "produces": [
  3417. "application/json"
  3418. ],
  3419. "tags": [
  3420. "企业风险管理(app)"
  3421. ],
  3422. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3423. "parameters": [
  3424. {
  3425. "type": "integer",
  3426. "description": "所属机构ID",
  3427. "name": "userid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "套保品种id",
  3434. "name": "middlegoodsid",
  3435. "in": "query",
  3436. "required": true
  3437. }
  3438. ],
  3439. "responses": {
  3440. "200": {
  3441. "description": "OK",
  3442. "schema": {
  3443. "type": "array",
  3444. "items": {
  3445. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3446. }
  3447. }
  3448. },
  3449. "500": {
  3450. "description": "Internal Server Error",
  3451. "schema": {
  3452. "$ref": "#/definitions/app.Response"
  3453. }
  3454. }
  3455. }
  3456. }
  3457. },
  3458. "/Ermcp/QueryMiddleGoodsDetail": {
  3459. "get": {
  3460. "security": [
  3461. {
  3462. "ApiKeyAuth": []
  3463. }
  3464. ],
  3465. "produces": [
  3466. "application/json"
  3467. ],
  3468. "tags": [
  3469. "企业风险管理(app)"
  3470. ],
  3471. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3472. "parameters": [
  3473. {
  3474. "type": "integer",
  3475. "description": "所属机构ID",
  3476. "name": "userid",
  3477. "in": "query",
  3478. "required": true
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "套保品种id",
  3483. "name": "middlegoodsid",
  3484. "in": "query"
  3485. }
  3486. ],
  3487. "responses": {
  3488. "200": {
  3489. "description": "OK",
  3490. "schema": {
  3491. "type": "array",
  3492. "items": {
  3493. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3494. }
  3495. }
  3496. },
  3497. "500": {
  3498. "description": "Internal Server Error",
  3499. "schema": {
  3500. "$ref": "#/definitions/app.Response"
  3501. }
  3502. }
  3503. }
  3504. }
  3505. },
  3506. "/Ermcp/QueryPendingAuditInfo": {
  3507. "get": {
  3508. "security": [
  3509. {
  3510. "ApiKeyAuth": []
  3511. }
  3512. ],
  3513. "produces": [
  3514. "application/json"
  3515. ],
  3516. "tags": [
  3517. "企业风险管理(app)"
  3518. ],
  3519. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3520. "parameters": [
  3521. {
  3522. "type": "integer",
  3523. "description": "用户ID",
  3524. "name": "UserId",
  3525. "in": "query",
  3526. "required": true
  3527. }
  3528. ],
  3529. "responses": {
  3530. "200": {
  3531. "description": "OK",
  3532. "schema": {
  3533. "type": "array",
  3534. "items": {
  3535. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3536. }
  3537. }
  3538. },
  3539. "500": {
  3540. "description": "Internal Server Error",
  3541. "schema": {
  3542. "$ref": "#/definitions/app.Response"
  3543. }
  3544. }
  3545. }
  3546. }
  3547. },
  3548. "/Ermcp/QueryRealtimeExposure": {
  3549. "get": {
  3550. "security": [
  3551. {
  3552. "ApiKeyAuth": []
  3553. }
  3554. ],
  3555. "produces": [
  3556. "application/json"
  3557. ],
  3558. "tags": [
  3559. "企业风险管理(app)"
  3560. ],
  3561. "summary": "查询实时敞口",
  3562. "parameters": [
  3563. {
  3564. "type": "integer",
  3565. "description": "所属机构ID",
  3566. "name": "AreaUserID",
  3567. "in": "query",
  3568. "required": true
  3569. }
  3570. ],
  3571. "responses": {
  3572. "200": {
  3573. "description": "OK",
  3574. "schema": {
  3575. "type": "array",
  3576. "items": {
  3577. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3578. }
  3579. }
  3580. },
  3581. "500": {
  3582. "description": "Internal Server Error",
  3583. "schema": {
  3584. "$ref": "#/definitions/app.Response"
  3585. }
  3586. }
  3587. }
  3588. }
  3589. },
  3590. "/Ermcp/QueryRealtimeExposurePosition": {
  3591. "get": {
  3592. "security": [
  3593. {
  3594. "ApiKeyAuth": []
  3595. }
  3596. ],
  3597. "produces": [
  3598. "application/json"
  3599. ],
  3600. "tags": [
  3601. "企业风险管理(app)"
  3602. ],
  3603. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3604. "parameters": [
  3605. {
  3606. "type": "integer",
  3607. "description": "所属机构ID",
  3608. "name": "areaUserId",
  3609. "in": "query",
  3610. "required": true
  3611. },
  3612. {
  3613. "type": "integer",
  3614. "description": "套保商品ID",
  3615. "name": "middleGoodsId",
  3616. "in": "query",
  3617. "required": true
  3618. }
  3619. ],
  3620. "responses": {
  3621. "200": {
  3622. "description": "OK",
  3623. "schema": {
  3624. "type": "array",
  3625. "items": {
  3626. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3627. }
  3628. }
  3629. },
  3630. "500": {
  3631. "description": "Internal Server Error",
  3632. "schema": {
  3633. "$ref": "#/definitions/app.Response"
  3634. }
  3635. }
  3636. }
  3637. }
  3638. },
  3639. "/Ermcp/QuerySpotContract": {
  3640. "get": {
  3641. "security": [
  3642. {
  3643. "ApiKeyAuth": []
  3644. }
  3645. ],
  3646. "produces": [
  3647. "application/json"
  3648. ],
  3649. "tags": [
  3650. "企业风险管理(app)"
  3651. ],
  3652. "summary": "查询现货合同(对应现货合同菜单)",
  3653. "parameters": [
  3654. {
  3655. "type": "integer",
  3656. "description": "用户ID",
  3657. "name": "userId",
  3658. "in": "query",
  3659. "required": true
  3660. },
  3661. {
  3662. "type": "integer",
  3663. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3664. "name": "QueryType",
  3665. "in": "query",
  3666. "required": true
  3667. }
  3668. ],
  3669. "responses": {
  3670. "200": {
  3671. "description": "OK",
  3672. "schema": {
  3673. "type": "array",
  3674. "items": {
  3675. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3676. }
  3677. }
  3678. },
  3679. "500": {
  3680. "description": "Internal Server Error",
  3681. "schema": {
  3682. "$ref": "#/definitions/app.Response"
  3683. }
  3684. }
  3685. }
  3686. }
  3687. },
  3688. "/Ermcp/QuerySpotGoodsPrice": {
  3689. "get": {
  3690. "security": [
  3691. {
  3692. "ApiKeyAuth": []
  3693. }
  3694. ],
  3695. "produces": [
  3696. "application/json"
  3697. ],
  3698. "tags": [
  3699. "企业风险管理(app)"
  3700. ],
  3701. "summary": "查询现货市价(现货市价)",
  3702. "parameters": [
  3703. {
  3704. "type": "integer",
  3705. "description": "用户ID",
  3706. "name": "userid",
  3707. "in": "query",
  3708. "required": true
  3709. }
  3710. ],
  3711. "responses": {
  3712. "200": {
  3713. "description": "OK",
  3714. "schema": {
  3715. "type": "array",
  3716. "items": {
  3717. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3718. }
  3719. }
  3720. },
  3721. "500": {
  3722. "description": "Internal Server Error",
  3723. "schema": {
  3724. "$ref": "#/definitions/app.Response"
  3725. }
  3726. }
  3727. }
  3728. }
  3729. },
  3730. "/Ermcp/QuerySpotGoodsPriceLog": {
  3731. "get": {
  3732. "security": [
  3733. {
  3734. "ApiKeyAuth": []
  3735. }
  3736. ],
  3737. "produces": [
  3738. "application/json"
  3739. ],
  3740. "tags": [
  3741. "企业风险管理(app)"
  3742. ],
  3743. "summary": "查询现货市价详情(现货市价/详情)",
  3744. "parameters": [
  3745. {
  3746. "type": "integer",
  3747. "description": "用户ID",
  3748. "name": "userid",
  3749. "in": "query",
  3750. "required": true
  3751. },
  3752. {
  3753. "type": "integer",
  3754. "description": "现货商品ID",
  3755. "name": "wrstandardid",
  3756. "in": "query",
  3757. "required": true
  3758. }
  3759. ],
  3760. "responses": {
  3761. "200": {
  3762. "description": "OK",
  3763. "schema": {
  3764. "type": "array",
  3765. "items": {
  3766. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3767. }
  3768. }
  3769. },
  3770. "500": {
  3771. "description": "Internal Server Error",
  3772. "schema": {
  3773. "$ref": "#/definitions/app.Response"
  3774. }
  3775. }
  3776. }
  3777. }
  3778. },
  3779. "/Ermcp/QueryTradeConfigTMP": {
  3780. "get": {
  3781. "security": [
  3782. {
  3783. "ApiKeyAuth": []
  3784. }
  3785. ],
  3786. "produces": [
  3787. "application/json"
  3788. ],
  3789. "tags": [
  3790. "企业风险管理(app)"
  3791. ],
  3792. "summary": "查询交易模板配置",
  3793. "parameters": [
  3794. {
  3795. "type": "integer",
  3796. "description": "所属机构id",
  3797. "name": "areauserid",
  3798. "in": "query",
  3799. "required": true
  3800. }
  3801. ],
  3802. "responses": {
  3803. "200": {
  3804. "description": "OK",
  3805. "schema": {
  3806. "type": "array",
  3807. "items": {
  3808. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3809. }
  3810. }
  3811. },
  3812. "500": {
  3813. "description": "Internal Server Error",
  3814. "schema": {
  3815. "$ref": "#/definitions/app.Response"
  3816. }
  3817. }
  3818. }
  3819. }
  3820. },
  3821. "/Ermcp/QueryUserInfo": {
  3822. "get": {
  3823. "security": [
  3824. {
  3825. "ApiKeyAuth": []
  3826. }
  3827. ],
  3828. "produces": [
  3829. "application/json"
  3830. ],
  3831. "tags": [
  3832. "企业风险管理(app)"
  3833. ],
  3834. "summary": "查询客户资料",
  3835. "parameters": [
  3836. {
  3837. "type": "integer",
  3838. "description": "所属机构用户ID",
  3839. "name": "MemberUserID",
  3840. "in": "query",
  3841. "required": true
  3842. },
  3843. {
  3844. "type": "integer",
  3845. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3846. "name": "queryType",
  3847. "in": "query",
  3848. "required": true
  3849. }
  3850. ],
  3851. "responses": {
  3852. "200": {
  3853. "description": "OK",
  3854. "schema": {
  3855. "type": "array",
  3856. "items": {
  3857. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3858. }
  3859. }
  3860. },
  3861. "500": {
  3862. "description": "Internal Server Error",
  3863. "schema": {
  3864. "$ref": "#/definitions/app.Response"
  3865. }
  3866. }
  3867. }
  3868. }
  3869. },
  3870. "/Ermcp/QueryWarehouseInfo": {
  3871. "get": {
  3872. "security": [
  3873. {
  3874. "ApiKeyAuth": []
  3875. }
  3876. ],
  3877. "produces": [
  3878. "application/json"
  3879. ],
  3880. "tags": [
  3881. "企业风险管理(app)"
  3882. ],
  3883. "summary": "查询仓库信息",
  3884. "parameters": [
  3885. {
  3886. "type": "integer",
  3887. "description": "用户ID",
  3888. "name": "userid",
  3889. "in": "query",
  3890. "required": true
  3891. },
  3892. {
  3893. "type": "string",
  3894. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3895. "name": "status",
  3896. "in": "query"
  3897. }
  3898. ],
  3899. "responses": {
  3900. "200": {
  3901. "description": "OK",
  3902. "schema": {
  3903. "type": "array",
  3904. "items": {
  3905. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3906. }
  3907. }
  3908. },
  3909. "500": {
  3910. "description": "Internal Server Error",
  3911. "schema": {
  3912. "$ref": "#/definitions/app.Response"
  3913. }
  3914. }
  3915. }
  3916. }
  3917. },
  3918. "/Ermcp/QueryWrStandard": {
  3919. "get": {
  3920. "security": [
  3921. {
  3922. "ApiKeyAuth": []
  3923. }
  3924. ],
  3925. "produces": [
  3926. "application/json"
  3927. ],
  3928. "tags": [
  3929. "企业风险管理(app)"
  3930. ],
  3931. "summary": "查询现货商品",
  3932. "parameters": [
  3933. {
  3934. "type": "integer",
  3935. "description": "所属机构ID",
  3936. "name": "userid",
  3937. "in": "query",
  3938. "required": true
  3939. },
  3940. {
  3941. "type": "integer",
  3942. "description": "状态 0-停用 1-正常",
  3943. "name": "status",
  3944. "in": "query",
  3945. "required": true
  3946. }
  3947. ],
  3948. "responses": {
  3949. "200": {
  3950. "description": "OK",
  3951. "schema": {
  3952. "type": "array",
  3953. "items": {
  3954. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3955. }
  3956. }
  3957. },
  3958. "500": {
  3959. "description": "Internal Server Error",
  3960. "schema": {
  3961. "$ref": "#/definitions/app.Response"
  3962. }
  3963. }
  3964. }
  3965. }
  3966. },
  3967. "/Ermcp/QueryWrStandardDetail": {
  3968. "get": {
  3969. "security": [
  3970. {
  3971. "ApiKeyAuth": []
  3972. }
  3973. ],
  3974. "produces": [
  3975. "application/json"
  3976. ],
  3977. "tags": [
  3978. "企业风险管理(app)"
  3979. ],
  3980. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3981. "parameters": [
  3982. {
  3983. "type": "integer",
  3984. "description": "所属机构ID",
  3985. "name": "userid",
  3986. "in": "query",
  3987. "required": true
  3988. },
  3989. {
  3990. "type": "integer",
  3991. "description": "现货商品ID",
  3992. "name": "wrstandardid",
  3993. "in": "query"
  3994. },
  3995. {
  3996. "type": "integer",
  3997. "description": "可不填, 1-查询关联交易商品",
  3998. "name": "goods",
  3999. "in": "query"
  4000. }
  4001. ],
  4002. "responses": {
  4003. "200": {
  4004. "description": "OK",
  4005. "schema": {
  4006. "type": "array",
  4007. "items": {
  4008. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4009. }
  4010. }
  4011. },
  4012. "500": {
  4013. "description": "Internal Server Error",
  4014. "schema": {
  4015. "$ref": "#/definitions/app.Response"
  4016. }
  4017. }
  4018. }
  4019. }
  4020. },
  4021. "/Erms2/QueryArbitrageStrategy": {
  4022. "get": {
  4023. "security": [
  4024. {
  4025. "ApiKeyAuth": []
  4026. }
  4027. ],
  4028. "produces": [
  4029. "application/json"
  4030. ],
  4031. "tags": [
  4032. "风险管理"
  4033. ],
  4034. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4035. "parameters": [
  4036. {
  4037. "type": "integer",
  4038. "description": "账户ID",
  4039. "name": "userid",
  4040. "in": "query",
  4041. "required": true
  4042. },
  4043. {
  4044. "type": "string",
  4045. "description": "商品组ID(品种ID)",
  4046. "name": "goodsgroupid",
  4047. "in": "query"
  4048. }
  4049. ],
  4050. "responses": {
  4051. "200": {
  4052. "description": "OK",
  4053. "schema": {
  4054. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4055. }
  4056. },
  4057. "500": {
  4058. "description": "Internal Server Error",
  4059. "schema": {
  4060. "$ref": "#/definitions/app.Response"
  4061. }
  4062. }
  4063. }
  4064. }
  4065. },
  4066. "/Erms2/QueryInnerTradeDetail": {
  4067. "get": {
  4068. "security": [
  4069. {
  4070. "ApiKeyAuth": []
  4071. }
  4072. ],
  4073. "produces": [
  4074. "application/json"
  4075. ],
  4076. "tags": [
  4077. "风险管理"
  4078. ],
  4079. "summary": "查询内部成交单信息",
  4080. "parameters": [
  4081. {
  4082. "type": "integer",
  4083. "description": "资金账户",
  4084. "name": "accountid",
  4085. "in": "query",
  4086. "required": true
  4087. }
  4088. ],
  4089. "responses": {
  4090. "200": {
  4091. "description": "OK",
  4092. "schema": {
  4093. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4094. }
  4095. },
  4096. "500": {
  4097. "description": "Internal Server Error",
  4098. "schema": {
  4099. "$ref": "#/definitions/app.Response"
  4100. }
  4101. }
  4102. }
  4103. }
  4104. },
  4105. "/Erms2/QuerySpotContract": {
  4106. "get": {
  4107. "security": [
  4108. {
  4109. "ApiKeyAuth": []
  4110. }
  4111. ],
  4112. "produces": [
  4113. "application/json"
  4114. ],
  4115. "tags": [
  4116. "风险管理"
  4117. ],
  4118. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4119. "parameters": [
  4120. {
  4121. "type": "integer",
  4122. "description": "策略申请ID",
  4123. "name": "asapplyid",
  4124. "in": "query",
  4125. "required": true
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "现货合同ID",
  4130. "name": "spotcontractid",
  4131. "in": "query"
  4132. }
  4133. ],
  4134. "responses": {
  4135. "200": {
  4136. "description": "OK",
  4137. "schema": {
  4138. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4139. }
  4140. },
  4141. "500": {
  4142. "description": "Internal Server Error",
  4143. "schema": {
  4144. "$ref": "#/definitions/app.Response"
  4145. }
  4146. }
  4147. }
  4148. }
  4149. },
  4150. "/Erms3/AddErms2ASApply": {
  4151. "post": {
  4152. "security": [
  4153. {
  4154. "ApiKeyAuth": []
  4155. }
  4156. ],
  4157. "produces": [
  4158. "application/json"
  4159. ],
  4160. "tags": [
  4161. "风险管理v3"
  4162. ],
  4163. "summary": "新增期现套利业务申请",
  4164. "parameters": [
  4165. {
  4166. "description": "申请参数",
  4167. "name": "jsonBody",
  4168. "in": "body",
  4169. "required": true,
  4170. "schema": {
  4171. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4172. }
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "$ref": "#/definitions/app.Response"
  4180. }
  4181. },
  4182. "500": {
  4183. "description": "Internal Server Error",
  4184. "schema": {
  4185. "$ref": "#/definitions/app.Response"
  4186. }
  4187. }
  4188. }
  4189. }
  4190. },
  4191. "/Erms3/AddErms2SpotTradeApply": {
  4192. "post": {
  4193. "security": [
  4194. {
  4195. "ApiKeyAuth": []
  4196. }
  4197. ],
  4198. "produces": [
  4199. "application/json"
  4200. ],
  4201. "tags": [
  4202. "风险管理v3"
  4203. ],
  4204. "summary": "新增现货贸易业务申请",
  4205. "parameters": [
  4206. {
  4207. "description": "申请参数",
  4208. "name": "jsonBody",
  4209. "in": "body",
  4210. "required": true,
  4211. "schema": {
  4212. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4213. }
  4214. }
  4215. ],
  4216. "responses": {
  4217. "200": {
  4218. "description": "OK",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. },
  4223. "500": {
  4224. "description": "Internal Server Error",
  4225. "schema": {
  4226. "$ref": "#/definitions/app.Response"
  4227. }
  4228. }
  4229. }
  4230. }
  4231. },
  4232. "/Erms3/AddSpotContractApply": {
  4233. "post": {
  4234. "security": [
  4235. {
  4236. "ApiKeyAuth": []
  4237. }
  4238. ],
  4239. "produces": [
  4240. "application/json"
  4241. ],
  4242. "tags": [
  4243. "风险管理v3"
  4244. ],
  4245. "summary": "新增现货合同申请",
  4246. "parameters": [
  4247. {
  4248. "description": "申请参数",
  4249. "name": "jsonBody",
  4250. "in": "body",
  4251. "required": true,
  4252. "schema": {
  4253. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4254. }
  4255. }
  4256. ],
  4257. "responses": {
  4258. "200": {
  4259. "description": "OK",
  4260. "schema": {
  4261. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4262. }
  4263. },
  4264. "500": {
  4265. "description": "Internal Server Error",
  4266. "schema": {
  4267. "$ref": "#/definitions/app.Response"
  4268. }
  4269. }
  4270. }
  4271. }
  4272. },
  4273. "/Erms3/AddUserInfoApply": {
  4274. "post": {
  4275. "security": [
  4276. {
  4277. "ApiKeyAuth": []
  4278. }
  4279. ],
  4280. "produces": [
  4281. "application/json"
  4282. ],
  4283. "tags": [
  4284. "风险管理v3"
  4285. ],
  4286. "summary": "新增客户申请",
  4287. "parameters": [
  4288. {
  4289. "description": "用户信息",
  4290. "name": "jsonBody",
  4291. "in": "body",
  4292. "required": true,
  4293. "schema": {
  4294. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4295. }
  4296. }
  4297. ],
  4298. "responses": {
  4299. "200": {
  4300. "description": "OK",
  4301. "schema": {
  4302. "$ref": "#/definitions/app.Response"
  4303. }
  4304. },
  4305. "500": {
  4306. "description": "Internal Server Error",
  4307. "schema": {
  4308. "$ref": "#/definitions/app.Response"
  4309. }
  4310. }
  4311. }
  4312. }
  4313. },
  4314. "/Erms3/ModifyUserInfoApply": {
  4315. "post": {
  4316. "security": [
  4317. {
  4318. "ApiKeyAuth": []
  4319. }
  4320. ],
  4321. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4322. "produces": [
  4323. "application/json"
  4324. ],
  4325. "tags": [
  4326. "风险管理v3"
  4327. ],
  4328. "summary": "修改客户申请",
  4329. "parameters": [
  4330. {
  4331. "description": "用户信息",
  4332. "name": "jsonBody",
  4333. "in": "body",
  4334. "required": true,
  4335. "schema": {
  4336. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4337. }
  4338. }
  4339. ],
  4340. "responses": {
  4341. "200": {
  4342. "description": "OK",
  4343. "schema": {
  4344. "$ref": "#/definitions/app.Response"
  4345. }
  4346. },
  4347. "500": {
  4348. "description": "Internal Server Error",
  4349. "schema": {
  4350. "$ref": "#/definitions/app.Response"
  4351. }
  4352. }
  4353. }
  4354. }
  4355. },
  4356. "/Erms3/QueryBusinessInfo": {
  4357. "get": {
  4358. "security": [
  4359. {
  4360. "ApiKeyAuth": []
  4361. }
  4362. ],
  4363. "produces": [
  4364. "application/json"
  4365. ],
  4366. "tags": [
  4367. "风险管理v3"
  4368. ],
  4369. "summary": "查询业务表单数据",
  4370. "parameters": [
  4371. {
  4372. "type": "string",
  4373. "description": "资金账号ID列表,用逗号分隔",
  4374. "name": "accountids",
  4375. "in": "query",
  4376. "required": true
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "状态,0为未结束 1为已结束",
  4381. "name": "status",
  4382. "in": "query",
  4383. "required": true
  4384. }
  4385. ],
  4386. "responses": {
  4387. "200": {
  4388. "description": "OK",
  4389. "schema": {
  4390. "type": "array",
  4391. "items": {
  4392. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4393. }
  4394. }
  4395. },
  4396. "500": {
  4397. "description": "Internal Server Error",
  4398. "schema": {
  4399. "$ref": "#/definitions/app.Response"
  4400. }
  4401. }
  4402. }
  4403. }
  4404. },
  4405. "/Erms3/QueryPendingAuditContract": {
  4406. "get": {
  4407. "security": [
  4408. {
  4409. "ApiKeyAuth": []
  4410. }
  4411. ],
  4412. "produces": [
  4413. "application/json"
  4414. ],
  4415. "tags": [
  4416. "风险管理v3"
  4417. ],
  4418. "summary": "查询待审核合同",
  4419. "parameters": [
  4420. {
  4421. "type": "string",
  4422. "description": "资金账号ID列表,逗号隔开",
  4423. "name": "accountids",
  4424. "in": "query",
  4425. "required": true
  4426. },
  4427. {
  4428. "type": "integer",
  4429. "description": "合同类型 1-采购 -1-销售",
  4430. "name": "contracttype",
  4431. "in": "query",
  4432. "required": true
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "合同模式 1-普通 2-回购",
  4437. "name": "contractmode",
  4438. "in": "query",
  4439. "required": true
  4440. }
  4441. ],
  4442. "responses": {
  4443. "200": {
  4444. "description": "OK",
  4445. "schema": {
  4446. "type": "array",
  4447. "items": {
  4448. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4449. }
  4450. }
  4451. },
  4452. "500": {
  4453. "description": "Internal Server Error",
  4454. "schema": {
  4455. "$ref": "#/definitions/app.Response"
  4456. }
  4457. }
  4458. }
  4459. }
  4460. },
  4461. "/Erms3/QueryPendingBusiness": {
  4462. "get": {
  4463. "security": [
  4464. {
  4465. "ApiKeyAuth": []
  4466. }
  4467. ],
  4468. "produces": [
  4469. "application/json"
  4470. ],
  4471. "tags": [
  4472. "风险管理v3"
  4473. ],
  4474. "summary": "查询待审核基差贸易业务",
  4475. "parameters": [
  4476. {
  4477. "type": "string",
  4478. "description": "资金账号ID列表,逗号隔开",
  4479. "name": "accountids",
  4480. "in": "query",
  4481. "required": true
  4482. }
  4483. ],
  4484. "responses": {
  4485. "200": {
  4486. "description": "OK",
  4487. "schema": {
  4488. "type": "array",
  4489. "items": {
  4490. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4491. }
  4492. }
  4493. },
  4494. "500": {
  4495. "description": "Internal Server Error",
  4496. "schema": {
  4497. "$ref": "#/definitions/app.Response"
  4498. }
  4499. }
  4500. }
  4501. }
  4502. },
  4503. "/Erms3/QuerySpotContractAppleForm": {
  4504. "get": {
  4505. "security": [
  4506. {
  4507. "ApiKeyAuth": []
  4508. }
  4509. ],
  4510. "produces": [
  4511. "application/json"
  4512. ],
  4513. "tags": [
  4514. "风险管理v3"
  4515. ],
  4516. "summary": "查询合同申请表单数据",
  4517. "parameters": [
  4518. {
  4519. "type": "integer",
  4520. "description": "登录账号",
  4521. "name": "loginID",
  4522. "in": "query",
  4523. "required": true
  4524. }
  4525. ],
  4526. "responses": {
  4527. "200": {
  4528. "description": "OK",
  4529. "schema": {
  4530. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4531. }
  4532. },
  4533. "500": {
  4534. "description": "Internal Server Error",
  4535. "schema": {
  4536. "$ref": "#/definitions/app.Response"
  4537. }
  4538. }
  4539. }
  4540. }
  4541. },
  4542. "/Erms3/QuerySpotContractDetail": {
  4543. "get": {
  4544. "security": [
  4545. {
  4546. "ApiKeyAuth": []
  4547. }
  4548. ],
  4549. "produces": [
  4550. "application/json"
  4551. ],
  4552. "tags": [
  4553. "风险管理v3"
  4554. ],
  4555. "summary": "查询合同详细信息",
  4556. "parameters": [
  4557. {
  4558. "type": "string",
  4559. "description": "资金账号ID列表,用逗号分隔",
  4560. "name": "accountids",
  4561. "in": "query",
  4562. "required": true
  4563. },
  4564. {
  4565. "type": "integer",
  4566. "description": "合同类型,1为采购合同 -1为销售合同",
  4567. "name": "contracttype",
  4568. "in": "query",
  4569. "required": true
  4570. },
  4571. {
  4572. "type": "integer",
  4573. "description": "合同模式,1为普通合同 2为回购销售合同",
  4574. "name": "contractmode",
  4575. "in": "query",
  4576. "required": true
  4577. },
  4578. {
  4579. "type": "integer",
  4580. "description": "状态,0为履约中 1为已完成",
  4581. "name": "status",
  4582. "in": "query",
  4583. "required": true
  4584. }
  4585. ],
  4586. "responses": {
  4587. "200": {
  4588. "description": "OK",
  4589. "schema": {
  4590. "type": "array",
  4591. "items": {
  4592. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4593. }
  4594. }
  4595. },
  4596. "500": {
  4597. "description": "Internal Server Error",
  4598. "schema": {
  4599. "$ref": "#/definitions/app.Response"
  4600. }
  4601. }
  4602. }
  4603. }
  4604. },
  4605. "/Erms3/QueryUserInfoApplies": {
  4606. "get": {
  4607. "security": [
  4608. {
  4609. "ApiKeyAuth": []
  4610. }
  4611. ],
  4612. "produces": [
  4613. "application/json"
  4614. ],
  4615. "tags": [
  4616. "风险管理v3"
  4617. ],
  4618. "summary": "客户申请信息查询",
  4619. "parameters": [
  4620. {
  4621. "type": "integer",
  4622. "description": "页码",
  4623. "name": "page",
  4624. "in": "query"
  4625. },
  4626. {
  4627. "type": "integer",
  4628. "description": "每页条数",
  4629. "name": "pagesize",
  4630. "in": "query"
  4631. },
  4632. {
  4633. "type": "string",
  4634. "description": "客户名称,支持模糊查询",
  4635. "name": "userName",
  4636. "in": "query"
  4637. }
  4638. ],
  4639. "responses": {
  4640. "200": {
  4641. "description": "OK",
  4642. "schema": {
  4643. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4644. }
  4645. },
  4646. "500": {
  4647. "description": "Internal Server Error",
  4648. "schema": {
  4649. "$ref": "#/definitions/app.Response"
  4650. }
  4651. }
  4652. }
  4653. }
  4654. },
  4655. "/Erms3/QueryUserInfos": {
  4656. "get": {
  4657. "security": [
  4658. {
  4659. "ApiKeyAuth": []
  4660. }
  4661. ],
  4662. "produces": [
  4663. "application/json"
  4664. ],
  4665. "tags": [
  4666. "风险管理v3"
  4667. ],
  4668. "summary": "客户信息查询",
  4669. "parameters": [
  4670. {
  4671. "type": "integer",
  4672. "description": "页码",
  4673. "name": "page",
  4674. "in": "query"
  4675. },
  4676. {
  4677. "type": "integer",
  4678. "description": "每页条数",
  4679. "name": "pagesize",
  4680. "in": "query"
  4681. },
  4682. {
  4683. "type": "string",
  4684. "description": "客户名称,支持模糊查询",
  4685. "name": "userName",
  4686. "in": "query"
  4687. }
  4688. ],
  4689. "responses": {
  4690. "200": {
  4691. "description": "OK",
  4692. "schema": {
  4693. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4694. }
  4695. },
  4696. "500": {
  4697. "description": "Internal Server Error",
  4698. "schema": {
  4699. "$ref": "#/definitions/app.Response"
  4700. }
  4701. }
  4702. }
  4703. }
  4704. },
  4705. "/HSBY/GetHsbyMyCount": {
  4706. "get": {
  4707. "security": [
  4708. {
  4709. "ApiKeyAuth": []
  4710. }
  4711. ],
  4712. "description": "说明: 不包括已完成的数量。",
  4713. "produces": [
  4714. "application/json"
  4715. ],
  4716. "tags": [
  4717. "定制【海商报业】"
  4718. ],
  4719. "summary": "获取我的订单与包裹数量",
  4720. "parameters": [
  4721. {
  4722. "type": "string",
  4723. "description": "资金账户列表,格式:1,2,3",
  4724. "name": "accountIDs",
  4725. "in": "query",
  4726. "required": true
  4727. }
  4728. ],
  4729. "responses": {
  4730. "200": {
  4731. "description": "OK",
  4732. "schema": {
  4733. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4734. }
  4735. },
  4736. "500": {
  4737. "description": "Internal Server Error",
  4738. "schema": {
  4739. "$ref": "#/definitions/app.Response"
  4740. }
  4741. }
  4742. }
  4743. }
  4744. },
  4745. "/HSBY/QueryClientFixedADConfigs": {
  4746. "get": {
  4747. "security": [
  4748. {
  4749. "ApiKeyAuth": []
  4750. }
  4751. ],
  4752. "produces": [
  4753. "application/json"
  4754. ],
  4755. "tags": [
  4756. "定制【海商报业】"
  4757. ],
  4758. "summary": "获取终端固定广告配置",
  4759. "responses": {
  4760. "200": {
  4761. "description": "OK",
  4762. "schema": {
  4763. "$ref": "#/definitions/models.Clientfixedadconfig"
  4764. }
  4765. },
  4766. "500": {
  4767. "description": "Internal Server Error",
  4768. "schema": {
  4769. "$ref": "#/definitions/app.Response"
  4770. }
  4771. }
  4772. }
  4773. }
  4774. },
  4775. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4776. "get": {
  4777. "security": [
  4778. {
  4779. "ApiKeyAuth": []
  4780. }
  4781. ],
  4782. "produces": [
  4783. "application/json"
  4784. ],
  4785. "tags": [
  4786. "定制【海商报业】"
  4787. ],
  4788. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4789. "parameters": [
  4790. {
  4791. "type": "integer",
  4792. "description": "页码",
  4793. "name": "page",
  4794. "in": "query"
  4795. },
  4796. {
  4797. "type": "integer",
  4798. "description": "每页条数",
  4799. "name": "pagesize",
  4800. "in": "query"
  4801. },
  4802. {
  4803. "type": "string",
  4804. "description": "资金账户列表,格式:1,2,3",
  4805. "name": "accountIDs",
  4806. "in": "query",
  4807. "required": true
  4808. }
  4809. ],
  4810. "responses": {
  4811. "200": {
  4812. "description": "OK",
  4813. "schema": {
  4814. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4827. "get": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "description": "说明:查询结果已按委托价格和委托时间排序",
  4834. "produces": [
  4835. "application/json"
  4836. ],
  4837. "tags": [
  4838. "定制【海商报业】"
  4839. ],
  4840. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4841. "parameters": [
  4842. {
  4843. "type": "integer",
  4844. "description": "商品ID",
  4845. "name": "goodsID",
  4846. "in": "query",
  4847. "required": true
  4848. },
  4849. {
  4850. "type": "string",
  4851. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4852. "name": "accountIDs",
  4853. "in": "query"
  4854. },
  4855. {
  4856. "type": "integer",
  4857. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4858. "name": "buyOrSell",
  4859. "in": "query"
  4860. },
  4861. {
  4862. "type": "number",
  4863. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4864. "name": "price",
  4865. "in": "query"
  4866. },
  4867. {
  4868. "type": "integer",
  4869. "description": "档位,不传则默认为3档",
  4870. "name": "speed",
  4871. "in": "query"
  4872. }
  4873. ],
  4874. "responses": {
  4875. "200": {
  4876. "description": "OK",
  4877. "schema": {
  4878. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4879. }
  4880. },
  4881. "500": {
  4882. "description": "Internal Server Error",
  4883. "schema": {
  4884. "$ref": "#/definitions/app.Response"
  4885. }
  4886. }
  4887. }
  4888. }
  4889. },
  4890. "/HSBY/QueryHsbyListingGoodsDetail": {
  4891. "get": {
  4892. "security": [
  4893. {
  4894. "ApiKeyAuth": []
  4895. }
  4896. ],
  4897. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4898. "produces": [
  4899. "application/json"
  4900. ],
  4901. "tags": [
  4902. "定制【海商报业】"
  4903. ],
  4904. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4905. "parameters": [
  4906. {
  4907. "type": "integer",
  4908. "description": "商品ID",
  4909. "name": "goodsID",
  4910. "in": "query",
  4911. "required": true
  4912. },
  4913. {
  4914. "type": "integer",
  4915. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4916. "name": "accountID",
  4917. "in": "query"
  4918. }
  4919. ],
  4920. "responses": {
  4921. "200": {
  4922. "description": "OK",
  4923. "schema": {
  4924. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4925. }
  4926. },
  4927. "500": {
  4928. "description": "Internal Server Error",
  4929. "schema": {
  4930. "$ref": "#/definitions/app.Response"
  4931. }
  4932. }
  4933. }
  4934. }
  4935. },
  4936. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4937. "get": {
  4938. "security": [
  4939. {
  4940. "ApiKeyAuth": []
  4941. }
  4942. ],
  4943. "produces": [
  4944. "application/json"
  4945. ],
  4946. "tags": [
  4947. "定制【海商报业】"
  4948. ],
  4949. "summary": "查询三级市场(商城)商品信息详情",
  4950. "parameters": [
  4951. {
  4952. "type": "integer",
  4953. "description": "委托单号",
  4954. "name": "orderID",
  4955. "in": "query",
  4956. "required": true
  4957. },
  4958. {
  4959. "type": "integer",
  4960. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4961. "name": "accountID",
  4962. "in": "query"
  4963. }
  4964. ],
  4965. "responses": {
  4966. "200": {
  4967. "description": "OK",
  4968. "schema": {
  4969. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4970. }
  4971. },
  4972. "500": {
  4973. "description": "Internal Server Error",
  4974. "schema": {
  4975. "$ref": "#/definitions/app.Response"
  4976. }
  4977. }
  4978. }
  4979. }
  4980. },
  4981. "/HSBY/QueryHsbyMarketGoodses": {
  4982. "get": {
  4983. "security": [
  4984. {
  4985. "ApiKeyAuth": []
  4986. }
  4987. ],
  4988. "produces": [
  4989. "application/json"
  4990. ],
  4991. "tags": [
  4992. "定制【海商报业】"
  4993. ],
  4994. "summary": "查询特卖商品列表(三级商城)",
  4995. "parameters": [
  4996. {
  4997. "type": "integer",
  4998. "description": "页码",
  4999. "name": "page",
  5000. "in": "query"
  5001. },
  5002. {
  5003. "type": "integer",
  5004. "description": "每页条数",
  5005. "name": "pagesize",
  5006. "in": "query"
  5007. },
  5008. {
  5009. "type": "string",
  5010. "description": "市场ID列表,格式:1,2,3",
  5011. "name": "marketIDs",
  5012. "in": "query",
  5013. "required": true
  5014. },
  5015. {
  5016. "type": "integer",
  5017. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5018. "name": "accountID",
  5019. "in": "query",
  5020. "required": true
  5021. },
  5022. {
  5023. "type": "integer",
  5024. "description": "类别ID",
  5025. "name": "categoryID",
  5026. "in": "query"
  5027. },
  5028. {
  5029. "type": "string",
  5030. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5031. "name": "goodsIDs",
  5032. "in": "query"
  5033. },
  5034. {
  5035. "type": "integer",
  5036. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5037. "name": "couponTypeID",
  5038. "in": "query"
  5039. }
  5040. ],
  5041. "responses": {
  5042. "200": {
  5043. "description": "OK",
  5044. "schema": {
  5045. "$ref": "#/definitions/models.HsbyMarketGoods"
  5046. }
  5047. },
  5048. "500": {
  5049. "description": "Internal Server Error",
  5050. "schema": {
  5051. "$ref": "#/definitions/app.Response"
  5052. }
  5053. }
  5054. }
  5055. }
  5056. },
  5057. "/HSBY/QueryHsbyMarkets": {
  5058. "get": {
  5059. "security": [
  5060. {
  5061. "ApiKeyAuth": []
  5062. }
  5063. ],
  5064. "produces": [
  5065. "application/json"
  5066. ],
  5067. "tags": [
  5068. "定制【海商报业】"
  5069. ],
  5070. "summary": "查询海商报业相关市场信息",
  5071. "responses": {
  5072. "200": {
  5073. "description": "OK",
  5074. "schema": {
  5075. "$ref": "#/definitions/models.HsbyMarketInfo"
  5076. }
  5077. },
  5078. "500": {
  5079. "description": "Internal Server Error",
  5080. "schema": {
  5081. "$ref": "#/definitions/app.Response"
  5082. }
  5083. }
  5084. }
  5085. }
  5086. },
  5087. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5088. "get": {
  5089. "security": [
  5090. {
  5091. "ApiKeyAuth": []
  5092. }
  5093. ],
  5094. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5095. "produces": [
  5096. "application/json"
  5097. ],
  5098. "tags": [
  5099. "定制【海商报业】"
  5100. ],
  5101. "summary": "查询“我的订单”信息",
  5102. "parameters": [
  5103. {
  5104. "type": "string",
  5105. "description": "资金账户列表,格式:1,2,3",
  5106. "name": "accountIDs",
  5107. "in": "query",
  5108. "required": true
  5109. }
  5110. ],
  5111. "responses": {
  5112. "200": {
  5113. "description": "OK",
  5114. "schema": {
  5115. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5116. }
  5117. },
  5118. "500": {
  5119. "description": "Internal Server Error",
  5120. "schema": {
  5121. "$ref": "#/definitions/app.Response"
  5122. }
  5123. }
  5124. }
  5125. }
  5126. },
  5127. "/HSBY/QueryHsbyMyGoods": {
  5128. "get": {
  5129. "security": [
  5130. {
  5131. "ApiKeyAuth": []
  5132. }
  5133. ],
  5134. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5135. "produces": [
  5136. "application/json"
  5137. ],
  5138. "tags": [
  5139. "定制【海商报业】"
  5140. ],
  5141. "summary": "查询“我的商品”信息",
  5142. "parameters": [
  5143. {
  5144. "type": "string",
  5145. "description": "资金账户列表,格式:1,2,3",
  5146. "name": "accountIDs",
  5147. "in": "query",
  5148. "required": true
  5149. }
  5150. ],
  5151. "responses": {
  5152. "200": {
  5153. "description": "OK",
  5154. "schema": {
  5155. "$ref": "#/definitions/models.HsbyMyGoods"
  5156. }
  5157. },
  5158. "500": {
  5159. "description": "Internal Server Error",
  5160. "schema": {
  5161. "$ref": "#/definitions/app.Response"
  5162. }
  5163. }
  5164. }
  5165. }
  5166. },
  5167. "/HSBY/QueryHsbyMyPackages": {
  5168. "get": {
  5169. "security": [
  5170. {
  5171. "ApiKeyAuth": []
  5172. }
  5173. ],
  5174. "produces": [
  5175. "application/json"
  5176. ],
  5177. "tags": [
  5178. "定制【海商报业】"
  5179. ],
  5180. "summary": "查询我的包裹信息",
  5181. "parameters": [
  5182. {
  5183. "type": "string",
  5184. "description": "资金账户列表,格式:1,2,3",
  5185. "name": "accountIDs",
  5186. "in": "query",
  5187. "required": true
  5188. },
  5189. {
  5190. "type": "integer",
  5191. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5192. "name": "takeOrderStatus",
  5193. "in": "query"
  5194. }
  5195. ],
  5196. "responses": {
  5197. "200": {
  5198. "description": "OK",
  5199. "schema": {
  5200. "$ref": "#/definitions/models.HsbyMyPackage"
  5201. }
  5202. },
  5203. "500": {
  5204. "description": "Internal Server Error",
  5205. "schema": {
  5206. "$ref": "#/definitions/app.Response"
  5207. }
  5208. }
  5209. }
  5210. }
  5211. },
  5212. "/HSBY/QueryHsbyPreGoodsDetail": {
  5213. "get": {
  5214. "security": [
  5215. {
  5216. "ApiKeyAuth": []
  5217. }
  5218. ],
  5219. "produces": [
  5220. "application/json"
  5221. ],
  5222. "tags": [
  5223. "定制【海商报业】"
  5224. ],
  5225. "summary": "查询一级市场(预售)商品信息详情",
  5226. "parameters": [
  5227. {
  5228. "type": "integer",
  5229. "description": "商品ID",
  5230. "name": "goodsID",
  5231. "in": "query",
  5232. "required": true
  5233. },
  5234. {
  5235. "type": "integer",
  5236. "description": "资金账户,主要用于获取预售商品购买上限",
  5237. "name": "accountID",
  5238. "in": "query"
  5239. }
  5240. ],
  5241. "responses": {
  5242. "200": {
  5243. "description": "OK",
  5244. "schema": {
  5245. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5246. }
  5247. },
  5248. "500": {
  5249. "description": "Internal Server Error",
  5250. "schema": {
  5251. "$ref": "#/definitions/app.Response"
  5252. }
  5253. }
  5254. }
  5255. }
  5256. },
  5257. "/HSBY/QueryHsbyPreGoodses": {
  5258. "get": {
  5259. "security": [
  5260. {
  5261. "ApiKeyAuth": []
  5262. }
  5263. ],
  5264. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "定制【海商报业】"
  5270. ],
  5271. "summary": "查询新品上市商品列表(一级市场预售)",
  5272. "parameters": [
  5273. {
  5274. "type": "integer",
  5275. "description": "页码",
  5276. "name": "page",
  5277. "in": "query"
  5278. },
  5279. {
  5280. "type": "integer",
  5281. "description": "每页条数",
  5282. "name": "pagesize",
  5283. "in": "query"
  5284. },
  5285. {
  5286. "type": "string",
  5287. "description": "市场ID列表,格式:1,2,3",
  5288. "name": "marketIDs",
  5289. "in": "query",
  5290. "required": true
  5291. },
  5292. {
  5293. "type": "integer",
  5294. "description": "目的地(省)ID",
  5295. "name": "descProvinceID",
  5296. "in": "query"
  5297. },
  5298. {
  5299. "type": "integer",
  5300. "description": "目的地(市)ID",
  5301. "name": "descCityID",
  5302. "in": "query"
  5303. }
  5304. ],
  5305. "responses": {
  5306. "200": {
  5307. "description": "OK",
  5308. "schema": {
  5309. "$ref": "#/definitions/models.HsbyPreGoods"
  5310. }
  5311. },
  5312. "500": {
  5313. "description": "Internal Server Error",
  5314. "schema": {
  5315. "$ref": "#/definitions/app.Response"
  5316. }
  5317. }
  5318. }
  5319. }
  5320. },
  5321. "/HSBY/QueryHsbySellMyDetails": {
  5322. "get": {
  5323. "security": [
  5324. {
  5325. "ApiKeyAuth": []
  5326. }
  5327. ],
  5328. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5329. "produces": [
  5330. "application/json"
  5331. ],
  5332. "tags": [
  5333. "定制【海商报业】"
  5334. ],
  5335. "summary": "查询\"我的闲置\"单据信息",
  5336. "parameters": [
  5337. {
  5338. "type": "integer",
  5339. "description": "页码",
  5340. "name": "page",
  5341. "in": "query"
  5342. },
  5343. {
  5344. "type": "integer",
  5345. "description": "每页条数",
  5346. "name": "pagesize",
  5347. "in": "query"
  5348. },
  5349. {
  5350. "type": "string",
  5351. "description": "资金账户列表,格式:1,2,3",
  5352. "name": "accountIDs",
  5353. "in": "query",
  5354. "required": true
  5355. },
  5356. {
  5357. "type": "integer",
  5358. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5359. "name": "orderType",
  5360. "in": "query"
  5361. }
  5362. ],
  5363. "responses": {
  5364. "200": {
  5365. "description": "OK",
  5366. "schema": {
  5367. "$ref": "#/definitions/models.HsbySellMyDetail"
  5368. }
  5369. },
  5370. "500": {
  5371. "description": "Internal Server Error",
  5372. "schema": {
  5373. "$ref": "#/definitions/app.Response"
  5374. }
  5375. }
  5376. }
  5377. }
  5378. },
  5379. "/HSBY/QueryHsbyTopGoodses": {
  5380. "get": {
  5381. "security": [
  5382. {
  5383. "ApiKeyAuth": []
  5384. }
  5385. ],
  5386. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5387. "produces": [
  5388. "application/json"
  5389. ],
  5390. "tags": [
  5391. "定制【海商报业】"
  5392. ],
  5393. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5394. "parameters": [
  5395. {
  5396. "type": "integer",
  5397. "description": "页码",
  5398. "name": "page",
  5399. "in": "query"
  5400. },
  5401. {
  5402. "type": "integer",
  5403. "description": "每页条数",
  5404. "name": "pagesize",
  5405. "in": "query"
  5406. },
  5407. {
  5408. "type": "string",
  5409. "description": "市场ID列表,格式:1,2,3",
  5410. "name": "marketIDs",
  5411. "in": "query",
  5412. "required": true
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "目的地(省)ID",
  5417. "name": "descProvinceID",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "integer",
  5422. "description": "目的地(市)ID",
  5423. "name": "descCityID",
  5424. "in": "query"
  5425. }
  5426. ],
  5427. "responses": {
  5428. "200": {
  5429. "description": "OK",
  5430. "schema": {
  5431. "$ref": "#/definitions/models.HsbyTopGoods"
  5432. }
  5433. },
  5434. "500": {
  5435. "description": "Internal Server Error",
  5436. "schema": {
  5437. "$ref": "#/definitions/app.Response"
  5438. }
  5439. }
  5440. }
  5441. }
  5442. },
  5443. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5444. "get": {
  5445. "security": [
  5446. {
  5447. "ApiKeyAuth": []
  5448. }
  5449. ],
  5450. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5451. "produces": [
  5452. "application/json"
  5453. ],
  5454. "tags": [
  5455. "定制【海商报业】"
  5456. ],
  5457. "summary": "查询游客三级市场(商城)商品信息详情",
  5458. "parameters": [
  5459. {
  5460. "type": "integer",
  5461. "description": "商品ID",
  5462. "name": "goodsID",
  5463. "in": "query",
  5464. "required": true
  5465. }
  5466. ],
  5467. "responses": {
  5468. "200": {
  5469. "description": "OK",
  5470. "schema": {
  5471. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5472. }
  5473. },
  5474. "500": {
  5475. "description": "Internal Server Error",
  5476. "schema": {
  5477. "$ref": "#/definitions/app.Response"
  5478. }
  5479. }
  5480. }
  5481. }
  5482. },
  5483. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5484. "get": {
  5485. "security": [
  5486. {
  5487. "ApiKeyAuth": []
  5488. }
  5489. ],
  5490. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5491. "produces": [
  5492. "application/json"
  5493. ],
  5494. "tags": [
  5495. "定制【海商报业】"
  5496. ],
  5497. "summary": "查询游客特卖商品列表(三级商城)",
  5498. "parameters": [
  5499. {
  5500. "type": "integer",
  5501. "description": "页码",
  5502. "name": "page",
  5503. "in": "query"
  5504. },
  5505. {
  5506. "type": "integer",
  5507. "description": "每页条数",
  5508. "name": "pagesize",
  5509. "in": "query"
  5510. },
  5511. {
  5512. "type": "string",
  5513. "description": "市场ID列表,格式:1,2,3",
  5514. "name": "marketIDs",
  5515. "in": "query",
  5516. "required": true
  5517. },
  5518. {
  5519. "type": "integer",
  5520. "description": "类别ID",
  5521. "name": "categoryID",
  5522. "in": "query"
  5523. },
  5524. {
  5525. "type": "string",
  5526. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5527. "name": "goodsIDs",
  5528. "in": "query"
  5529. }
  5530. ],
  5531. "responses": {
  5532. "200": {
  5533. "description": "OK",
  5534. "schema": {
  5535. "$ref": "#/definitions/models.HsbyMarketGoods"
  5536. }
  5537. },
  5538. "500": {
  5539. "description": "Internal Server Error",
  5540. "schema": {
  5541. "$ref": "#/definitions/app.Response"
  5542. }
  5543. }
  5544. }
  5545. }
  5546. },
  5547. "/HSBY/QueryMyCollectionOrders": {
  5548. "get": {
  5549. "security": [
  5550. {
  5551. "ApiKeyAuth": []
  5552. }
  5553. ],
  5554. "produces": [
  5555. "application/json"
  5556. ],
  5557. "tags": [
  5558. "定制【海商报业】"
  5559. ],
  5560. "summary": "我的闲置中收款信息查询",
  5561. "parameters": [
  5562. {
  5563. "type": "integer",
  5564. "description": "页码",
  5565. "name": "page",
  5566. "in": "query"
  5567. },
  5568. {
  5569. "type": "integer",
  5570. "description": "每页条数",
  5571. "name": "pagesize",
  5572. "in": "query"
  5573. },
  5574. {
  5575. "type": "string",
  5576. "description": "资金账户,格式:1,2,3",
  5577. "name": "accountIDs",
  5578. "in": "query",
  5579. "required": true
  5580. }
  5581. ],
  5582. "responses": {
  5583. "200": {
  5584. "description": "OK",
  5585. "schema": {
  5586. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5587. }
  5588. },
  5589. "500": {
  5590. "description": "Internal Server Error",
  5591. "schema": {
  5592. "$ref": "#/definitions/app.Response"
  5593. }
  5594. }
  5595. }
  5596. }
  5597. },
  5598. "/HSBY/QueryMyCouponHolds": {
  5599. "get": {
  5600. "security": [
  5601. {
  5602. "ApiKeyAuth": []
  5603. }
  5604. ],
  5605. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  5606. "produces": [
  5607. "application/json"
  5608. ],
  5609. "tags": [
  5610. "定制【海商报业】"
  5611. ],
  5612. "summary": "我的优惠卷持仓查询",
  5613. "parameters": [
  5614. {
  5615. "type": "string",
  5616. "description": "资金账户列表,格式:1,2,3",
  5617. "name": "accountIDs",
  5618. "in": "query",
  5619. "required": true
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5624. "name": "holdStatus",
  5625. "in": "query"
  5626. }
  5627. ],
  5628. "responses": {
  5629. "200": {
  5630. "description": "OK",
  5631. "schema": {
  5632. "$ref": "#/definitions/models.MyCouponHold"
  5633. }
  5634. },
  5635. "500": {
  5636. "description": "Internal Server Error",
  5637. "schema": {
  5638. "$ref": "#/definitions/app.Response"
  5639. }
  5640. }
  5641. }
  5642. }
  5643. },
  5644. "/HSBY/QueryMyCoupons": {
  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": "string",
  5661. "description": "资金账户列表,格式:1,2,3",
  5662. "name": "accountIDs",
  5663. "in": "query",
  5664. "required": true
  5665. },
  5666. {
  5667. "type": "integer",
  5668. "description": "商品ID, 一般与sellUserID配套传入",
  5669. "name": "goodsID",
  5670. "in": "query"
  5671. },
  5672. {
  5673. "type": "integer",
  5674. "description": "卖方UserID",
  5675. "name": "sellUserID",
  5676. "in": "query"
  5677. }
  5678. ],
  5679. "responses": {
  5680. "200": {
  5681. "description": "OK",
  5682. "schema": {
  5683. "$ref": "#/definitions/models.MyCoupon"
  5684. }
  5685. },
  5686. "500": {
  5687. "description": "Internal Server Error",
  5688. "schema": {
  5689. "$ref": "#/definitions/app.Response"
  5690. }
  5691. }
  5692. }
  5693. }
  5694. },
  5695. "/HSBY/QueryMyPayOrders": {
  5696. "get": {
  5697. "security": [
  5698. {
  5699. "ApiKeyAuth": []
  5700. }
  5701. ],
  5702. "produces": [
  5703. "application/json"
  5704. ],
  5705. "tags": [
  5706. "定制【海商报业】"
  5707. ],
  5708. "summary": "获取我的订单中待付款信息",
  5709. "parameters": [
  5710. {
  5711. "type": "integer",
  5712. "description": "页码",
  5713. "name": "page",
  5714. "in": "query"
  5715. },
  5716. {
  5717. "type": "integer",
  5718. "description": "每页条数",
  5719. "name": "pagesize",
  5720. "in": "query"
  5721. },
  5722. {
  5723. "type": "string",
  5724. "description": "资金账户列表,格式:1,2,3",
  5725. "name": "accountIDs",
  5726. "in": "query",
  5727. "required": true
  5728. },
  5729. {
  5730. "type": "integer",
  5731. "description": "买方委托单号",
  5732. "name": "buyOrderID",
  5733. "in": "query"
  5734. },
  5735. {
  5736. "type": "integer",
  5737. "description": "卖方委托单号",
  5738. "name": "sellOrderID",
  5739. "in": "query"
  5740. }
  5741. ],
  5742. "responses": {
  5743. "200": {
  5744. "description": "OK",
  5745. "schema": {
  5746. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5747. }
  5748. },
  5749. "500": {
  5750. "description": "Internal Server Error",
  5751. "schema": {
  5752. "$ref": "#/definitions/app.Response"
  5753. }
  5754. }
  5755. }
  5756. }
  5757. },
  5758. "/HSBY/QueryMyUsedCoupon": {
  5759. "get": {
  5760. "security": [
  5761. {
  5762. "ApiKeyAuth": []
  5763. }
  5764. ],
  5765. "produces": [
  5766. "application/json"
  5767. ],
  5768. "tags": [
  5769. "定制【海商报业】"
  5770. ],
  5771. "summary": "已使用优惠卷查询",
  5772. "parameters": [
  5773. {
  5774. "type": "string",
  5775. "description": "资金账户列表,格式:1,2,3",
  5776. "name": "accountIDs",
  5777. "in": "query",
  5778. "required": true
  5779. }
  5780. ],
  5781. "responses": {
  5782. "200": {
  5783. "description": "OK",
  5784. "schema": {
  5785. "$ref": "#/definitions/models.MyUsedCoupon"
  5786. }
  5787. },
  5788. "500": {
  5789. "description": "Internal Server Error",
  5790. "schema": {
  5791. "$ref": "#/definitions/app.Response"
  5792. }
  5793. }
  5794. }
  5795. }
  5796. },
  5797. "/HSBY/QueryProvincesAndCities": {
  5798. "get": {
  5799. "security": [
  5800. {
  5801. "ApiKeyAuth": []
  5802. }
  5803. ],
  5804. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5805. "produces": [
  5806. "application/json"
  5807. ],
  5808. "tags": [
  5809. "定制【海商报业】"
  5810. ],
  5811. "summary": "查询省市信息(不包括区)",
  5812. "parameters": [
  5813. {
  5814. "type": "integer",
  5815. "description": "省ID",
  5816. "name": "provinceID",
  5817. "in": "query"
  5818. }
  5819. ],
  5820. "responses": {
  5821. "200": {
  5822. "description": "OK",
  5823. "schema": {
  5824. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5825. }
  5826. },
  5827. "500": {
  5828. "description": "Internal Server Error",
  5829. "schema": {
  5830. "$ref": "#/definitions/app.Response"
  5831. }
  5832. }
  5833. }
  5834. }
  5835. },
  5836. "/HSBY/SetHsbyMyPackagesStatus": {
  5837. "post": {
  5838. "security": [
  5839. {
  5840. "ApiKeyAuth": []
  5841. }
  5842. ],
  5843. "produces": [
  5844. "application/json"
  5845. ],
  5846. "tags": [
  5847. "定制【海商报业】"
  5848. ],
  5849. "summary": "设置我的包裹已收货状态",
  5850. "parameters": [
  5851. {
  5852. "type": "string",
  5853. "description": "提货单号",
  5854. "name": "takeOrderID",
  5855. "in": "query",
  5856. "required": true
  5857. },
  5858. {
  5859. "type": "integer",
  5860. "description": "资金账号",
  5861. "name": "accountID",
  5862. "in": "query",
  5863. "required": true
  5864. }
  5865. ],
  5866. "responses": {
  5867. "200": {
  5868. "description": "OK",
  5869. "schema": {
  5870. "$ref": "#/definitions/app.Response"
  5871. }
  5872. },
  5873. "500": {
  5874. "description": "Internal Server Error",
  5875. "schema": {
  5876. "$ref": "#/definitions/app.Response"
  5877. }
  5878. }
  5879. }
  5880. }
  5881. },
  5882. "/Market/QueryGoodsesByLoginID": {
  5883. "get": {
  5884. "security": [
  5885. {
  5886. "ApiKeyAuth": []
  5887. }
  5888. ],
  5889. "produces": [
  5890. "application/json"
  5891. ],
  5892. "tags": [
  5893. "通用市场"
  5894. ],
  5895. "summary": "获取登录账号有权限的商品信息",
  5896. "parameters": [
  5897. {
  5898. "type": "integer",
  5899. "description": "登录账号",
  5900. "name": "loginID",
  5901. "in": "query",
  5902. "required": true
  5903. },
  5904. {
  5905. "type": "string",
  5906. "description": "市场ID列表,格式:1,2,3",
  5907. "name": "marketIDs",
  5908. "in": "query"
  5909. }
  5910. ],
  5911. "responses": {
  5912. "200": {
  5913. "description": "OK",
  5914. "schema": {
  5915. "$ref": "#/definitions/models.Goods"
  5916. }
  5917. },
  5918. "500": {
  5919. "description": "Internal Server Error",
  5920. "schema": {
  5921. "$ref": "#/definitions/app.Response"
  5922. }
  5923. }
  5924. }
  5925. }
  5926. },
  5927. "/Market/QueryMarketRun": {
  5928. "get": {
  5929. "security": [
  5930. {
  5931. "ApiKeyAuth": []
  5932. }
  5933. ],
  5934. "produces": [
  5935. "application/json"
  5936. ],
  5937. "tags": [
  5938. "通用市场"
  5939. ],
  5940. "summary": "查询市场运行信息",
  5941. "parameters": [
  5942. {
  5943. "type": "integer",
  5944. "description": "市场ID,不传返回所有",
  5945. "name": "marketID",
  5946. "in": "query"
  5947. }
  5948. ],
  5949. "responses": {
  5950. "200": {
  5951. "description": "OK",
  5952. "schema": {
  5953. "$ref": "#/definitions/models.Marketrun"
  5954. }
  5955. },
  5956. "500": {
  5957. "description": "Internal Server Error",
  5958. "schema": {
  5959. "$ref": "#/definitions/app.Response"
  5960. }
  5961. }
  5962. }
  5963. }
  5964. },
  5965. "/Market/QueryMarketsByLoginID": {
  5966. "get": {
  5967. "security": [
  5968. {
  5969. "ApiKeyAuth": []
  5970. }
  5971. ],
  5972. "produces": [
  5973. "application/json"
  5974. ],
  5975. "tags": [
  5976. "通用市场"
  5977. ],
  5978. "summary": "获取登录账号有权限的市场信息",
  5979. "parameters": [
  5980. {
  5981. "type": "integer",
  5982. "description": "登录账号",
  5983. "name": "loginID",
  5984. "in": "query",
  5985. "required": true
  5986. }
  5987. ],
  5988. "responses": {
  5989. "200": {
  5990. "description": "OK",
  5991. "schema": {
  5992. "$ref": "#/definitions/models.Market"
  5993. }
  5994. },
  5995. "500": {
  5996. "description": "Internal Server Error",
  5997. "schema": {
  5998. "$ref": "#/definitions/app.Response"
  5999. }
  6000. }
  6001. }
  6002. }
  6003. },
  6004. "/Order/QueryHisTradeDetail": {
  6005. "get": {
  6006. "security": [
  6007. {
  6008. "ApiKeyAuth": []
  6009. }
  6010. ],
  6011. "produces": [
  6012. "application/json"
  6013. ],
  6014. "tags": [
  6015. "通用单据"
  6016. ],
  6017. "summary": "历史成交单查询(合约市场)",
  6018. "parameters": [
  6019. {
  6020. "type": "string",
  6021. "description": "资金账户 - 格式:1,2,3",
  6022. "name": "accountID",
  6023. "in": "query",
  6024. "required": true
  6025. },
  6026. {
  6027. "type": "integer",
  6028. "description": "成交单号",
  6029. "name": "tradeID",
  6030. "in": "query"
  6031. },
  6032. {
  6033. "type": "integer",
  6034. "description": "委托单号",
  6035. "name": "orderID",
  6036. "in": "query"
  6037. },
  6038. {
  6039. "type": "string",
  6040. "description": "交易模式 - 格式:1,2,3",
  6041. "name": "tradeMode",
  6042. "in": "query"
  6043. },
  6044. {
  6045. "type": "integer",
  6046. "description": "委托单据类型",
  6047. "name": "buildType",
  6048. "in": "query"
  6049. },
  6050. {
  6051. "type": "string",
  6052. "description": "成交类别 - 格式:1,2,3",
  6053. "name": "tradeType",
  6054. "in": "query"
  6055. },
  6056. {
  6057. "type": "string",
  6058. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6059. "name": "startDate",
  6060. "in": "query"
  6061. },
  6062. {
  6063. "type": "string",
  6064. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6065. "name": "endDate",
  6066. "in": "query"
  6067. }
  6068. ],
  6069. "responses": {
  6070. "200": {
  6071. "description": "OK",
  6072. "schema": {
  6073. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6074. }
  6075. },
  6076. "500": {
  6077. "description": "Internal Server Error",
  6078. "schema": {
  6079. "$ref": "#/definitions/app.Response"
  6080. }
  6081. }
  6082. }
  6083. }
  6084. },
  6085. "/Order/QueryHisTradeOrderDetail": {
  6086. "get": {
  6087. "security": [
  6088. {
  6089. "ApiKeyAuth": []
  6090. }
  6091. ],
  6092. "produces": [
  6093. "application/json"
  6094. ],
  6095. "tags": [
  6096. "通用单据"
  6097. ],
  6098. "summary": "历史委托单查询请求(合约市场)",
  6099. "parameters": [
  6100. {
  6101. "type": "string",
  6102. "description": "资金账户 - 格式:1,2,3",
  6103. "name": "accountID",
  6104. "in": "query",
  6105. "required": true
  6106. },
  6107. {
  6108. "type": "string",
  6109. "description": "交易模式 - 格式:1,2,3",
  6110. "name": "tradeMode",
  6111. "in": "query"
  6112. },
  6113. {
  6114. "type": "string",
  6115. "description": "委托状态 - 格式:1,2,3",
  6116. "name": "orderStatus",
  6117. "in": "query"
  6118. },
  6119. {
  6120. "type": "integer",
  6121. "description": "委托单号",
  6122. "name": "orderID",
  6123. "in": "query"
  6124. },
  6125. {
  6126. "type": "string",
  6127. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6128. "name": "startDate",
  6129. "in": "query"
  6130. },
  6131. {
  6132. "type": "string",
  6133. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6134. "name": "endDate",
  6135. "in": "query"
  6136. }
  6137. ],
  6138. "responses": {
  6139. "200": {
  6140. "description": "OK",
  6141. "schema": {
  6142. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6143. }
  6144. },
  6145. "500": {
  6146. "description": "Internal Server Error",
  6147. "schema": {
  6148. "$ref": "#/definitions/app.Response"
  6149. }
  6150. }
  6151. }
  6152. }
  6153. },
  6154. "/Order/QueryTradeDetail": {
  6155. "get": {
  6156. "security": [
  6157. {
  6158. "ApiKeyAuth": []
  6159. }
  6160. ],
  6161. "produces": [
  6162. "application/json"
  6163. ],
  6164. "tags": [
  6165. "通用单据"
  6166. ],
  6167. "summary": "成交单查询(合约市场)",
  6168. "parameters": [
  6169. {
  6170. "type": "string",
  6171. "description": "资金账户 - 格式:1,2,3",
  6172. "name": "accountID",
  6173. "in": "query",
  6174. "required": true
  6175. },
  6176. {
  6177. "type": "integer",
  6178. "description": "成交单号",
  6179. "name": "tradeID",
  6180. "in": "query"
  6181. },
  6182. {
  6183. "type": "integer",
  6184. "description": "委托单号",
  6185. "name": "orderID",
  6186. "in": "query"
  6187. },
  6188. {
  6189. "type": "string",
  6190. "description": "交易模式 - 格式:1,2,3",
  6191. "name": "tradeMode",
  6192. "in": "query"
  6193. },
  6194. {
  6195. "type": "integer",
  6196. "description": "委托单据类型",
  6197. "name": "buildType",
  6198. "in": "query"
  6199. },
  6200. {
  6201. "type": "string",
  6202. "description": "成交类别 - 格式:1,2,3",
  6203. "name": "tradeType",
  6204. "in": "query"
  6205. }
  6206. ],
  6207. "responses": {
  6208. "200": {
  6209. "description": "OK",
  6210. "schema": {
  6211. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6212. }
  6213. },
  6214. "500": {
  6215. "description": "Internal Server Error",
  6216. "schema": {
  6217. "$ref": "#/definitions/app.Response"
  6218. }
  6219. }
  6220. }
  6221. }
  6222. },
  6223. "/Order/QueryTradeOrderDetail": {
  6224. "get": {
  6225. "security": [
  6226. {
  6227. "ApiKeyAuth": []
  6228. }
  6229. ],
  6230. "produces": [
  6231. "application/json"
  6232. ],
  6233. "tags": [
  6234. "通用单据"
  6235. ],
  6236. "summary": "委托单查询请求(合约市场)",
  6237. "parameters": [
  6238. {
  6239. "type": "string",
  6240. "description": "资金账户 - 格式:1,2,3",
  6241. "name": "accountID",
  6242. "in": "query",
  6243. "required": true
  6244. },
  6245. {
  6246. "type": "string",
  6247. "description": "交易模式 - 格式:1,2,3",
  6248. "name": "tradeMode",
  6249. "in": "query"
  6250. },
  6251. {
  6252. "type": "string",
  6253. "description": "委托状态 - 格式:1,2,3",
  6254. "name": "orderStatus",
  6255. "in": "query"
  6256. },
  6257. {
  6258. "type": "integer",
  6259. "description": "委托单号",
  6260. "name": "orderID",
  6261. "in": "query"
  6262. }
  6263. ],
  6264. "responses": {
  6265. "200": {
  6266. "description": "OK",
  6267. "schema": {
  6268. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6269. }
  6270. },
  6271. "500": {
  6272. "description": "Internal Server Error",
  6273. "schema": {
  6274. "$ref": "#/definitions/app.Response"
  6275. }
  6276. }
  6277. }
  6278. }
  6279. },
  6280. "/Order/QueryTradePosition": {
  6281. "get": {
  6282. "security": [
  6283. {
  6284. "ApiKeyAuth": []
  6285. }
  6286. ],
  6287. "produces": [
  6288. "application/json"
  6289. ],
  6290. "tags": [
  6291. "通用单据"
  6292. ],
  6293. "summary": "持仓汇总查询(合约市场)",
  6294. "parameters": [
  6295. {
  6296. "type": "string",
  6297. "description": "资金账户 - 格式:1,2,3",
  6298. "name": "accountID",
  6299. "in": "query",
  6300. "required": true
  6301. },
  6302. {
  6303. "type": "string",
  6304. "description": "交易模式 - 格式:1,2,3",
  6305. "name": "tradeMode",
  6306. "in": "query"
  6307. }
  6308. ],
  6309. "responses": {
  6310. "200": {
  6311. "description": "OK",
  6312. "schema": {
  6313. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6314. }
  6315. },
  6316. "500": {
  6317. "description": "Internal Server Error",
  6318. "schema": {
  6319. "$ref": "#/definitions/app.Response"
  6320. }
  6321. }
  6322. }
  6323. }
  6324. },
  6325. "/Quote/QueryHistoryDatas": {
  6326. "get": {
  6327. "security": [
  6328. {
  6329. "ApiKeyAuth": []
  6330. }
  6331. ],
  6332. "produces": [
  6333. "application/json"
  6334. ],
  6335. "tags": [
  6336. "行情服务"
  6337. ],
  6338. "summary": "查询行情历史数据",
  6339. "parameters": [
  6340. {
  6341. "type": "integer",
  6342. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6343. "name": "cycleType",
  6344. "in": "query",
  6345. "required": true
  6346. },
  6347. {
  6348. "type": "string",
  6349. "description": "商品代码",
  6350. "name": "goodsCode",
  6351. "in": "query",
  6352. "required": true
  6353. },
  6354. {
  6355. "type": "string",
  6356. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6357. "name": "startTime",
  6358. "in": "query"
  6359. },
  6360. {
  6361. "type": "string",
  6362. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6363. "name": "endTime",
  6364. "in": "query"
  6365. },
  6366. {
  6367. "type": "integer",
  6368. "description": "条数",
  6369. "name": "count",
  6370. "in": "query"
  6371. },
  6372. {
  6373. "type": "boolean",
  6374. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6375. "name": "isAsc",
  6376. "in": "query"
  6377. }
  6378. ],
  6379. "responses": {
  6380. "200": {
  6381. "description": "OK",
  6382. "schema": {
  6383. "$ref": "#/definitions/quote.HistoryData"
  6384. }
  6385. },
  6386. "500": {
  6387. "description": "Internal Server Error",
  6388. "schema": {
  6389. "$ref": "#/definitions/app.Response"
  6390. }
  6391. }
  6392. }
  6393. }
  6394. },
  6395. "/Quote/QueryHistoryTikDatas": {
  6396. "get": {
  6397. "security": [
  6398. {
  6399. "ApiKeyAuth": []
  6400. }
  6401. ],
  6402. "produces": [
  6403. "application/json"
  6404. ],
  6405. "tags": [
  6406. "行情服务"
  6407. ],
  6408. "summary": "查询行情Tik数据",
  6409. "parameters": [
  6410. {
  6411. "type": "string",
  6412. "description": "商品代码",
  6413. "name": "goodsCode",
  6414. "in": "query",
  6415. "required": true
  6416. },
  6417. {
  6418. "type": "string",
  6419. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6420. "name": "startTime",
  6421. "in": "query"
  6422. },
  6423. {
  6424. "type": "string",
  6425. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6426. "name": "endTime",
  6427. "in": "query"
  6428. },
  6429. {
  6430. "type": "integer",
  6431. "description": "条数",
  6432. "name": "count",
  6433. "in": "query"
  6434. },
  6435. {
  6436. "type": "boolean",
  6437. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6438. "name": "isAsc",
  6439. "in": "query"
  6440. }
  6441. ],
  6442. "responses": {
  6443. "200": {
  6444. "description": "OK",
  6445. "schema": {
  6446. "$ref": "#/definitions/quote.HistoryTikData"
  6447. }
  6448. },
  6449. "500": {
  6450. "description": "Internal Server Error",
  6451. "schema": {
  6452. "$ref": "#/definitions/app.Response"
  6453. }
  6454. }
  6455. }
  6456. }
  6457. },
  6458. "/Quote/QueryQuoteDay": {
  6459. "get": {
  6460. "security": [
  6461. {
  6462. "ApiKeyAuth": []
  6463. }
  6464. ],
  6465. "produces": [
  6466. "application/json"
  6467. ],
  6468. "tags": [
  6469. "行情服务"
  6470. ],
  6471. "summary": "获取商品盘面信息",
  6472. "parameters": [
  6473. {
  6474. "type": "string",
  6475. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6476. "name": "goodsCodes",
  6477. "in": "query",
  6478. "required": true
  6479. }
  6480. ],
  6481. "responses": {
  6482. "200": {
  6483. "description": "OK",
  6484. "schema": {
  6485. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6486. }
  6487. },
  6488. "500": {
  6489. "description": "Internal Server Error",
  6490. "schema": {
  6491. "$ref": "#/definitions/app.Response"
  6492. }
  6493. }
  6494. }
  6495. }
  6496. },
  6497. "/Quote/QueryTSData": {
  6498. "get": {
  6499. "security": [
  6500. {
  6501. "ApiKeyAuth": []
  6502. }
  6503. ],
  6504. "produces": [
  6505. "application/json"
  6506. ],
  6507. "tags": [
  6508. "行情服务"
  6509. ],
  6510. "summary": "分时图数据查询",
  6511. "parameters": [
  6512. {
  6513. "type": "string",
  6514. "description": "商品代码",
  6515. "name": "goodsCode",
  6516. "in": "query",
  6517. "required": true
  6518. }
  6519. ],
  6520. "responses": {
  6521. "200": {
  6522. "description": "OK",
  6523. "schema": {
  6524. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6525. }
  6526. },
  6527. "500": {
  6528. "description": "Internal Server Error",
  6529. "schema": {
  6530. "$ref": "#/definitions/app.Response"
  6531. }
  6532. }
  6533. }
  6534. }
  6535. },
  6536. "/SZDZ/QueryConvertConfig": {
  6537. "get": {
  6538. "security": [
  6539. {
  6540. "ApiKeyAuth": []
  6541. }
  6542. ],
  6543. "produces": [
  6544. "application/json"
  6545. ],
  6546. "tags": [
  6547. "定制【尚志大宗】"
  6548. ],
  6549. "summary": "查询交易系统转换设置",
  6550. "parameters": [
  6551. {
  6552. "type": "integer",
  6553. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6554. "name": "convertType",
  6555. "in": "query"
  6556. },
  6557. {
  6558. "type": "string",
  6559. "description": "外部商品代码[JD\\PD]",
  6560. "name": "outerGoodsCode",
  6561. "in": "query"
  6562. },
  6563. {
  6564. "type": "string",
  6565. "description": "内部商品ID列表[交易],格式:1,2,3",
  6566. "name": "innerGoodsIDs",
  6567. "in": "query"
  6568. }
  6569. ],
  6570. "responses": {
  6571. "200": {
  6572. "description": "OK",
  6573. "schema": {
  6574. "$ref": "#/definitions/models.Szdz3convertconfig"
  6575. }
  6576. },
  6577. "500": {
  6578. "description": "Internal Server Error",
  6579. "schema": {
  6580. "$ref": "#/definitions/app.Response"
  6581. }
  6582. }
  6583. }
  6584. }
  6585. },
  6586. "/SZDZ/QueryConvertLog": {
  6587. "get": {
  6588. "security": [
  6589. {
  6590. "ApiKeyAuth": []
  6591. }
  6592. ],
  6593. "produces": [
  6594. "application/json"
  6595. ],
  6596. "tags": [
  6597. "定制【尚志大宗】"
  6598. ],
  6599. "summary": "交易系统转换流水查询",
  6600. "parameters": [
  6601. {
  6602. "type": "string",
  6603. "description": "资金账户 - 格式:1,2,3",
  6604. "name": "accountID",
  6605. "in": "query",
  6606. "required": true
  6607. },
  6608. {
  6609. "type": "string",
  6610. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6611. "name": "startDate",
  6612. "in": "query"
  6613. },
  6614. {
  6615. "type": "string",
  6616. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6617. "name": "endDate",
  6618. "in": "query"
  6619. }
  6620. ],
  6621. "responses": {
  6622. "200": {
  6623. "description": "OK",
  6624. "schema": {
  6625. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6626. }
  6627. },
  6628. "500": {
  6629. "description": "Internal Server Error",
  6630. "schema": {
  6631. "$ref": "#/definitions/app.Response"
  6632. }
  6633. }
  6634. }
  6635. }
  6636. },
  6637. "/SZDZ/QueryGoodsPickup": {
  6638. "get": {
  6639. "security": [
  6640. {
  6641. "ApiKeyAuth": []
  6642. }
  6643. ],
  6644. "produces": [
  6645. "application/json"
  6646. ],
  6647. "tags": [
  6648. "定制【尚志大宗】"
  6649. ],
  6650. "summary": "商品提货单查询",
  6651. "parameters": [
  6652. {
  6653. "type": "string",
  6654. "description": "资金账户 - 格式:1,2,3",
  6655. "name": "accountID",
  6656. "in": "query",
  6657. "required": true
  6658. },
  6659. {
  6660. "type": "integer",
  6661. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6662. "name": "takeOrderStatus",
  6663. "in": "query"
  6664. }
  6665. ],
  6666. "responses": {
  6667. "200": {
  6668. "description": "OK",
  6669. "schema": {
  6670. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6671. }
  6672. },
  6673. "500": {
  6674. "description": "Internal Server Error",
  6675. "schema": {
  6676. "$ref": "#/definitions/app.Response"
  6677. }
  6678. }
  6679. }
  6680. }
  6681. },
  6682. "/SZDZ/QueryRecieptOrder": {
  6683. "get": {
  6684. "security": [
  6685. {
  6686. "ApiKeyAuth": []
  6687. }
  6688. ],
  6689. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6690. "produces": [
  6691. "application/json"
  6692. ],
  6693. "tags": [
  6694. "定制【尚志大宗】"
  6695. ],
  6696. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6697. "parameters": [
  6698. {
  6699. "type": "integer",
  6700. "description": "页码",
  6701. "name": "page",
  6702. "in": "query"
  6703. },
  6704. {
  6705. "type": "integer",
  6706. "description": "每页条数",
  6707. "name": "pagesize",
  6708. "in": "query"
  6709. },
  6710. {
  6711. "type": "integer",
  6712. "description": "商品ID",
  6713. "name": "goodsID",
  6714. "in": "query",
  6715. "required": true
  6716. },
  6717. {
  6718. "type": "string",
  6719. "description": "所属账户名称",
  6720. "name": "accountName",
  6721. "in": "query"
  6722. },
  6723. {
  6724. "type": "integer",
  6725. "description": "市场ID",
  6726. "name": "marketID",
  6727. "in": "query"
  6728. },
  6729. {
  6730. "type": "integer",
  6731. "description": "方向 - 0:买 1:卖",
  6732. "name": "buyorsell",
  6733. "in": "query",
  6734. "required": true
  6735. }
  6736. ],
  6737. "responses": {
  6738. "200": {
  6739. "description": "OK",
  6740. "schema": {
  6741. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6742. }
  6743. },
  6744. "500": {
  6745. "description": "Internal Server Error",
  6746. "schema": {
  6747. "$ref": "#/definitions/app.Response"
  6748. }
  6749. }
  6750. }
  6751. }
  6752. },
  6753. "/SZDZ/QuerySZDZTradePosition": {
  6754. "get": {
  6755. "security": [
  6756. {
  6757. "ApiKeyAuth": []
  6758. }
  6759. ],
  6760. "produces": [
  6761. "application/json"
  6762. ],
  6763. "tags": [
  6764. "定制【尚志大宗】"
  6765. ],
  6766. "summary": "持仓汇总查询(尚志大宗)",
  6767. "parameters": [
  6768. {
  6769. "type": "integer",
  6770. "description": "资金账户",
  6771. "name": "accountID",
  6772. "in": "query",
  6773. "required": true
  6774. }
  6775. ],
  6776. "responses": {
  6777. "200": {
  6778. "description": "OK",
  6779. "schema": {
  6780. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6781. }
  6782. },
  6783. "500": {
  6784. "description": "Internal Server Error",
  6785. "schema": {
  6786. "$ref": "#/definitions/app.Response"
  6787. }
  6788. }
  6789. }
  6790. }
  6791. },
  6792. "/SZDZ/SearchWhite": {
  6793. "get": {
  6794. "security": [
  6795. {
  6796. "ApiKeyAuth": []
  6797. }
  6798. ],
  6799. "produces": [
  6800. "application/json"
  6801. ],
  6802. "tags": [
  6803. "定制【尚志大宗】"
  6804. ],
  6805. "summary": "搜索白名单",
  6806. "parameters": [
  6807. {
  6808. "type": "integer",
  6809. "description": "用户ID",
  6810. "name": "userID",
  6811. "in": "query",
  6812. "required": true
  6813. }
  6814. ],
  6815. "responses": {
  6816. "200": {
  6817. "description": "OK",
  6818. "schema": {
  6819. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6820. }
  6821. },
  6822. "500": {
  6823. "description": "Internal Server Error",
  6824. "schema": {
  6825. "$ref": "#/definitions/app.Response"
  6826. }
  6827. }
  6828. }
  6829. }
  6830. },
  6831. "/Search/SearchGoodses": {
  6832. "get": {
  6833. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6834. "produces": [
  6835. "application/json"
  6836. ],
  6837. "tags": [
  6838. "检索服务"
  6839. ],
  6840. "summary": "检索商品信息",
  6841. "parameters": [
  6842. {
  6843. "type": "string",
  6844. "description": "检索内容",
  6845. "name": "content",
  6846. "in": "query",
  6847. "required": true
  6848. },
  6849. {
  6850. "type": "string",
  6851. "description": "交易模式,格式:1,2,3",
  6852. "name": "tradeModes",
  6853. "in": "query"
  6854. }
  6855. ],
  6856. "responses": {
  6857. "200": {
  6858. "description": "OK",
  6859. "schema": {
  6860. "$ref": "#/definitions/models.SearchGoods"
  6861. }
  6862. },
  6863. "500": {
  6864. "description": "Internal Server Error",
  6865. "schema": {
  6866. "$ref": "#/definitions/app.Response"
  6867. }
  6868. }
  6869. }
  6870. }
  6871. },
  6872. "/TaAccount/GetTaAccounts": {
  6873. "get": {
  6874. "security": [
  6875. {
  6876. "ApiKeyAuth": []
  6877. }
  6878. ],
  6879. "produces": [
  6880. "application/json"
  6881. ],
  6882. "tags": [
  6883. "资金账户"
  6884. ],
  6885. "summary": "获取资金账户信息",
  6886. "parameters": [
  6887. {
  6888. "type": "integer",
  6889. "description": "登录账户",
  6890. "name": "loginID",
  6891. "in": "query",
  6892. "required": true
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6897. "name": "taAccountType",
  6898. "in": "query"
  6899. }
  6900. ],
  6901. "responses": {
  6902. "200": {
  6903. "description": "OK",
  6904. "schema": {
  6905. "$ref": "#/definitions/models.Taaccount"
  6906. }
  6907. },
  6908. "500": {
  6909. "description": "Internal Server Error",
  6910. "schema": {
  6911. "$ref": "#/definitions/app.Response"
  6912. }
  6913. }
  6914. }
  6915. }
  6916. },
  6917. "/TaAccount/QueryAmountLog": {
  6918. "get": {
  6919. "security": [
  6920. {
  6921. "ApiKeyAuth": []
  6922. }
  6923. ],
  6924. "produces": [
  6925. "application/json"
  6926. ],
  6927. "tags": [
  6928. "资金账户"
  6929. ],
  6930. "summary": "资金流水查询(当前)",
  6931. "parameters": [
  6932. {
  6933. "type": "integer",
  6934. "description": "页码",
  6935. "name": "page",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "integer",
  6940. "description": "每页条数",
  6941. "name": "pagesize",
  6942. "in": "query"
  6943. },
  6944. {
  6945. "type": "string",
  6946. "description": "资金账户 - 格式:1,2,3",
  6947. "name": "accountID",
  6948. "in": "query",
  6949. "required": true
  6950. },
  6951. {
  6952. "type": "string",
  6953. "description": "资金操作类型 - 格式:1,2,3",
  6954. "name": "OperateType",
  6955. "in": "query"
  6956. }
  6957. ],
  6958. "responses": {
  6959. "200": {
  6960. "description": "OK",
  6961. "schema": {
  6962. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6963. }
  6964. },
  6965. "500": {
  6966. "description": "Internal Server Error",
  6967. "schema": {
  6968. "$ref": "#/definitions/app.Response"
  6969. }
  6970. }
  6971. }
  6972. }
  6973. },
  6974. "/TaAccount/QueryHisAmountLog": {
  6975. "get": {
  6976. "security": [
  6977. {
  6978. "ApiKeyAuth": []
  6979. }
  6980. ],
  6981. "produces": [
  6982. "application/json"
  6983. ],
  6984. "tags": [
  6985. "资金账户"
  6986. ],
  6987. "summary": "资金流水查询(历史)",
  6988. "parameters": [
  6989. {
  6990. "type": "integer",
  6991. "description": "页码",
  6992. "name": "page",
  6993. "in": "query"
  6994. },
  6995. {
  6996. "type": "integer",
  6997. "description": "每页条数",
  6998. "name": "pagesize",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "string",
  7003. "description": "资金账户 - 格式:1,2,3",
  7004. "name": "accountID",
  7005. "in": "query",
  7006. "required": true
  7007. },
  7008. {
  7009. "type": "string",
  7010. "description": "资金操作类型 - 格式:1,2,3",
  7011. "name": "OperateType",
  7012. "in": "query"
  7013. },
  7014. {
  7015. "type": "string",
  7016. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7017. "name": "startDate",
  7018. "in": "query"
  7019. },
  7020. {
  7021. "type": "string",
  7022. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7023. "name": "endDate",
  7024. "in": "query"
  7025. }
  7026. ],
  7027. "responses": {
  7028. "200": {
  7029. "description": "OK",
  7030. "schema": {
  7031. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7032. }
  7033. },
  7034. "500": {
  7035. "description": "Internal Server Error",
  7036. "schema": {
  7037. "$ref": "#/definitions/app.Response"
  7038. }
  7039. }
  7040. }
  7041. }
  7042. },
  7043. "/Trade/QueryRecieptOrder": {
  7044. "get": {
  7045. "security": [
  7046. {
  7047. "ApiKeyAuth": []
  7048. }
  7049. ],
  7050. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7051. "produces": [
  7052. "application/json"
  7053. ],
  7054. "tags": [
  7055. "通用交易"
  7056. ],
  7057. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7058. "parameters": [
  7059. {
  7060. "type": "integer",
  7061. "description": "页码",
  7062. "name": "page",
  7063. "in": "query"
  7064. },
  7065. {
  7066. "type": "integer",
  7067. "description": "每页条数",
  7068. "name": "pagesize",
  7069. "in": "query"
  7070. },
  7071. {
  7072. "type": "integer",
  7073. "description": "商品ID",
  7074. "name": "goodsID",
  7075. "in": "query",
  7076. "required": true
  7077. },
  7078. {
  7079. "type": "string",
  7080. "description": "所属账户名称",
  7081. "name": "accountName",
  7082. "in": "query"
  7083. },
  7084. {
  7085. "type": "integer",
  7086. "description": "市场ID",
  7087. "name": "marketID",
  7088. "in": "query"
  7089. },
  7090. {
  7091. "type": "integer",
  7092. "description": "方向 - 0:买 1:卖",
  7093. "name": "buyorsell",
  7094. "in": "query",
  7095. "required": true
  7096. }
  7097. ],
  7098. "responses": {
  7099. "200": {
  7100. "description": "OK",
  7101. "schema": {
  7102. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7103. }
  7104. },
  7105. "500": {
  7106. "description": "Internal Server Error",
  7107. "schema": {
  7108. "$ref": "#/definitions/app.Response"
  7109. }
  7110. }
  7111. }
  7112. }
  7113. },
  7114. "/User/AddMessageBoard": {
  7115. "post": {
  7116. "security": [
  7117. {
  7118. "ApiKeyAuth": []
  7119. }
  7120. ],
  7121. "produces": [
  7122. "application/json"
  7123. ],
  7124. "tags": [
  7125. "用户信息"
  7126. ],
  7127. "summary": "添加用户留言板信息",
  7128. "parameters": [
  7129. {
  7130. "type": "integer",
  7131. "description": "用户ID",
  7132. "name": "userID",
  7133. "in": "query",
  7134. "required": true
  7135. },
  7136. {
  7137. "type": "string",
  7138. "description": "留言信息",
  7139. "name": "message",
  7140. "in": "query",
  7141. "required": true
  7142. },
  7143. {
  7144. "type": "string",
  7145. "description": "联系电话",
  7146. "name": "contactNum",
  7147. "in": "query",
  7148. "required": true
  7149. }
  7150. ],
  7151. "responses": {
  7152. "200": {
  7153. "description": "OK",
  7154. "schema": {
  7155. "$ref": "#/definitions/app.Response"
  7156. }
  7157. },
  7158. "500": {
  7159. "description": "Internal Server Error",
  7160. "schema": {
  7161. "$ref": "#/definitions/app.Response"
  7162. }
  7163. }
  7164. }
  7165. }
  7166. },
  7167. "/User/AddUserFavoriteGoods": {
  7168. "post": {
  7169. "security": [
  7170. {
  7171. "ApiKeyAuth": []
  7172. }
  7173. ],
  7174. "produces": [
  7175. "application/json"
  7176. ],
  7177. "tags": [
  7178. "用户信息"
  7179. ],
  7180. "summary": "添加用户商品收藏信息",
  7181. "parameters": [
  7182. {
  7183. "type": "integer",
  7184. "description": "用户ID",
  7185. "name": "userID",
  7186. "in": "query",
  7187. "required": true
  7188. },
  7189. {
  7190. "type": "integer",
  7191. "description": "商品ID",
  7192. "name": "goodsID",
  7193. "in": "query",
  7194. "required": true
  7195. }
  7196. ],
  7197. "responses": {
  7198. "200": {
  7199. "description": "OK",
  7200. "schema": {
  7201. "$ref": "#/definitions/app.Response"
  7202. }
  7203. },
  7204. "500": {
  7205. "description": "Internal Server Error",
  7206. "schema": {
  7207. "$ref": "#/definitions/app.Response"
  7208. }
  7209. }
  7210. }
  7211. }
  7212. },
  7213. "/User/GetLoginID": {
  7214. "get": {
  7215. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7216. "produces": [
  7217. "application/json"
  7218. ],
  7219. "tags": [
  7220. "用户信息"
  7221. ],
  7222. "summary": "获取登录ID",
  7223. "parameters": [
  7224. {
  7225. "type": "string",
  7226. "description": "登录代码",
  7227. "name": "username",
  7228. "in": "query",
  7229. "required": true
  7230. }
  7231. ],
  7232. "responses": {
  7233. "200": {
  7234. "description": "OK",
  7235. "schema": {
  7236. "$ref": "#/definitions/app.Response"
  7237. }
  7238. },
  7239. "500": {
  7240. "description": "Internal Server Error",
  7241. "schema": {
  7242. "$ref": "#/definitions/app.Response"
  7243. }
  7244. }
  7245. }
  7246. }
  7247. },
  7248. "/User/GetUserAccount": {
  7249. "get": {
  7250. "security": [
  7251. {
  7252. "ApiKeyAuth": []
  7253. }
  7254. ],
  7255. "produces": [
  7256. "application/json"
  7257. ],
  7258. "tags": [
  7259. "用户信息"
  7260. ],
  7261. "summary": "获取用户账号信息",
  7262. "parameters": [
  7263. {
  7264. "type": "integer",
  7265. "description": "用户ID",
  7266. "name": "userID",
  7267. "in": "query",
  7268. "required": true
  7269. }
  7270. ],
  7271. "responses": {
  7272. "200": {
  7273. "description": "OK",
  7274. "schema": {
  7275. "$ref": "#/definitions/models.Useraccount"
  7276. }
  7277. },
  7278. "500": {
  7279. "description": "Internal Server Error",
  7280. "schema": {
  7281. "$ref": "#/definitions/app.Response"
  7282. }
  7283. }
  7284. }
  7285. }
  7286. },
  7287. "/User/GetUserAuthStatus": {
  7288. "get": {
  7289. "security": [
  7290. {
  7291. "ApiKeyAuth": []
  7292. }
  7293. ],
  7294. "produces": [
  7295. "application/json"
  7296. ],
  7297. "tags": [
  7298. "用户信息"
  7299. ],
  7300. "summary": "获取用户实名认证状态",
  7301. "parameters": [
  7302. {
  7303. "type": "integer",
  7304. "description": "用户ID",
  7305. "name": "userID",
  7306. "in": "query",
  7307. "required": true
  7308. }
  7309. ],
  7310. "responses": {
  7311. "200": {
  7312. "description": "OK",
  7313. "schema": {
  7314. "$ref": "#/definitions/app.Response"
  7315. }
  7316. },
  7317. "500": {
  7318. "description": "Internal Server Error",
  7319. "schema": {
  7320. "$ref": "#/definitions/app.Response"
  7321. }
  7322. }
  7323. }
  7324. }
  7325. },
  7326. "/User/LoginQuery": {
  7327. "get": {
  7328. "security": [
  7329. {
  7330. "ApiKeyAuth": []
  7331. }
  7332. ],
  7333. "produces": [
  7334. "application/json"
  7335. ],
  7336. "tags": [
  7337. "用户信息"
  7338. ],
  7339. "summary": "账户登录后信息查询",
  7340. "parameters": [
  7341. {
  7342. "type": "integer",
  7343. "description": "登录账号",
  7344. "name": "loginID",
  7345. "in": "query",
  7346. "required": true
  7347. }
  7348. ],
  7349. "responses": {
  7350. "200": {
  7351. "description": "OK",
  7352. "schema": {
  7353. "$ref": "#/definitions/user.LoginQueryRsp"
  7354. }
  7355. },
  7356. "500": {
  7357. "description": "Internal Server Error",
  7358. "schema": {
  7359. "$ref": "#/definitions/app.Response"
  7360. }
  7361. }
  7362. }
  7363. }
  7364. },
  7365. "/User/QueryMessageBoard": {
  7366. "get": {
  7367. "security": [
  7368. {
  7369. "ApiKeyAuth": []
  7370. }
  7371. ],
  7372. "produces": [
  7373. "application/json"
  7374. ],
  7375. "tags": [
  7376. "用户信息"
  7377. ],
  7378. "summary": "获取用户留言板信息",
  7379. "parameters": [
  7380. {
  7381. "type": "integer",
  7382. "description": "用户ID",
  7383. "name": "userID",
  7384. "in": "query",
  7385. "required": true
  7386. }
  7387. ],
  7388. "responses": {
  7389. "200": {
  7390. "description": "OK",
  7391. "schema": {
  7392. "$ref": "#/definitions/models.Messageboard"
  7393. }
  7394. },
  7395. "500": {
  7396. "description": "Internal Server Error",
  7397. "schema": {
  7398. "$ref": "#/definitions/app.Response"
  7399. }
  7400. }
  7401. }
  7402. }
  7403. },
  7404. "/User/QueryUserFavoriteGoodses": {
  7405. "get": {
  7406. "security": [
  7407. {
  7408. "ApiKeyAuth": []
  7409. }
  7410. ],
  7411. "produces": [
  7412. "application/json"
  7413. ],
  7414. "tags": [
  7415. "用户信息"
  7416. ],
  7417. "summary": "获取用户商品收藏信息",
  7418. "parameters": [
  7419. {
  7420. "type": "integer",
  7421. "description": "用户ID",
  7422. "name": "userID",
  7423. "in": "query",
  7424. "required": true
  7425. }
  7426. ],
  7427. "responses": {
  7428. "200": {
  7429. "description": "OK",
  7430. "schema": {
  7431. "$ref": "#/definitions/models.Userfavoritegoods"
  7432. }
  7433. },
  7434. "500": {
  7435. "description": "Internal Server Error",
  7436. "schema": {
  7437. "$ref": "#/definitions/app.Response"
  7438. }
  7439. }
  7440. }
  7441. }
  7442. },
  7443. "/User/QueryUserInfo": {
  7444. "get": {
  7445. "security": [
  7446. {
  7447. "ApiKeyAuth": []
  7448. }
  7449. ],
  7450. "produces": [
  7451. "application/json"
  7452. ],
  7453. "tags": [
  7454. "用户信息"
  7455. ],
  7456. "summary": "获取用户信息",
  7457. "parameters": [
  7458. {
  7459. "type": "integer",
  7460. "description": "用户ID",
  7461. "name": "userID",
  7462. "in": "query",
  7463. "required": true
  7464. },
  7465. {
  7466. "type": "boolean",
  7467. "description": "是否解密",
  7468. "name": "isDecrypt",
  7469. "in": "query"
  7470. }
  7471. ],
  7472. "responses": {
  7473. "200": {
  7474. "description": "OK",
  7475. "schema": {
  7476. "$ref": "#/definitions/models.Userinfo"
  7477. }
  7478. },
  7479. "500": {
  7480. "description": "Internal Server Error",
  7481. "schema": {
  7482. "$ref": "#/definitions/app.Response"
  7483. }
  7484. }
  7485. }
  7486. }
  7487. },
  7488. "/User/QueryUserReferNum": {
  7489. "get": {
  7490. "produces": [
  7491. "application/json"
  7492. ],
  7493. "tags": [
  7494. "用户信息"
  7495. ],
  7496. "summary": "获取用户邀请码",
  7497. "parameters": [
  7498. {
  7499. "type": "integer",
  7500. "description": "用户ID",
  7501. "name": "userID",
  7502. "in": "query",
  7503. "required": true
  7504. }
  7505. ],
  7506. "responses": {
  7507. "200": {
  7508. "description": "OK",
  7509. "schema": {
  7510. "$ref": "#/definitions/app.Response"
  7511. }
  7512. },
  7513. "500": {
  7514. "description": "Internal Server Error",
  7515. "schema": {
  7516. "$ref": "#/definitions/app.Response"
  7517. }
  7518. }
  7519. }
  7520. }
  7521. },
  7522. "/User/RemoveUserFavoriteGoods": {
  7523. "post": {
  7524. "security": [
  7525. {
  7526. "ApiKeyAuth": []
  7527. }
  7528. ],
  7529. "produces": [
  7530. "application/json"
  7531. ],
  7532. "tags": [
  7533. "用户信息"
  7534. ],
  7535. "summary": "移除用户商品收藏信息",
  7536. "parameters": [
  7537. {
  7538. "type": "integer",
  7539. "description": "用户ID",
  7540. "name": "userID",
  7541. "in": "query",
  7542. "required": true
  7543. },
  7544. {
  7545. "type": "integer",
  7546. "description": "商品ID",
  7547. "name": "goodsID",
  7548. "in": "query",
  7549. "required": true
  7550. }
  7551. ],
  7552. "responses": {
  7553. "200": {
  7554. "description": "OK",
  7555. "schema": {
  7556. "$ref": "#/definitions/app.Response"
  7557. }
  7558. },
  7559. "500": {
  7560. "description": "Internal Server Error",
  7561. "schema": {
  7562. "$ref": "#/definitions/app.Response"
  7563. }
  7564. }
  7565. }
  7566. }
  7567. },
  7568. "/User/UpdateUserAccountStatus": {
  7569. "post": {
  7570. "security": [
  7571. {
  7572. "ApiKeyAuth": []
  7573. }
  7574. ],
  7575. "produces": [
  7576. "application/json"
  7577. ],
  7578. "tags": [
  7579. "用户信息"
  7580. ],
  7581. "summary": "更新用户状态",
  7582. "parameters": [
  7583. {
  7584. "type": "integer",
  7585. "description": "用户ID",
  7586. "name": "userID",
  7587. "in": "query",
  7588. "required": true
  7589. },
  7590. {
  7591. "type": "integer",
  7592. "description": "账户状态 - 4:正常 6:注销(停用)",
  7593. "name": "accountStatus",
  7594. "in": "query",
  7595. "required": true
  7596. }
  7597. ],
  7598. "responses": {
  7599. "200": {
  7600. "description": "OK",
  7601. "schema": {
  7602. "$ref": "#/definitions/app.Response"
  7603. }
  7604. },
  7605. "500": {
  7606. "description": "Internal Server Error",
  7607. "schema": {
  7608. "$ref": "#/definitions/app.Response"
  7609. }
  7610. }
  7611. }
  7612. }
  7613. },
  7614. "/WRTrade/GetAllDeliveryGoods": {
  7615. "get": {
  7616. "security": [
  7617. {
  7618. "ApiKeyAuth": []
  7619. },
  7620. {
  7621. "ApiKeyAuth": []
  7622. }
  7623. ],
  7624. "produces": [
  7625. "application/json",
  7626. "application/json"
  7627. ],
  7628. "tags": [
  7629. "仓单贸易",
  7630. "仓单贸易"
  7631. ],
  7632. "summary": "获取带仓单分类的种类信息",
  7633. "responses": {
  7634. "200": {
  7635. "description": "OK",
  7636. "schema": {
  7637. "$ref": "#/definitions/app.Response"
  7638. }
  7639. },
  7640. "500": {
  7641. "description": "Internal Server Error",
  7642. "schema": {
  7643. "$ref": "#/definitions/app.Response"
  7644. }
  7645. }
  7646. }
  7647. }
  7648. }
  7649. },
  7650. "definitions": {
  7651. "app.Response": {
  7652. "type": "object",
  7653. "properties": {
  7654. "code": {
  7655. "type": "integer"
  7656. },
  7657. "data": {
  7658. "type": "object"
  7659. },
  7660. "msg": {
  7661. "type": "string"
  7662. },
  7663. "page": {
  7664. "description": "页码",
  7665. "type": "integer"
  7666. },
  7667. "pagesize": {
  7668. "description": "每页条数",
  7669. "type": "integer"
  7670. },
  7671. "total": {
  7672. "description": "总条数",
  7673. "type": "integer"
  7674. }
  7675. }
  7676. },
  7677. "common.ClientMenu": {
  7678. "type": "object",
  7679. "properties": {
  7680. "children": {
  7681. "description": "子菜单列表",
  7682. "type": "array",
  7683. "items": {
  7684. "$ref": "#/definitions/common.ClientMenu"
  7685. }
  7686. },
  7687. "code": {
  7688. "description": "ID",
  7689. "type": "string"
  7690. },
  7691. "isshow": {
  7692. "description": "是否显示",
  7693. "type": "boolean"
  7694. },
  7695. "rulekey": {
  7696. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  7697. "type": "string"
  7698. },
  7699. "sort": {
  7700. "description": "排序",
  7701. "type": "integer"
  7702. },
  7703. "title": {
  7704. "description": "标题",
  7705. "type": "string"
  7706. },
  7707. "type": {
  7708. "description": "类型,1:菜单 2:按钮",
  7709. "type": "integer"
  7710. }
  7711. }
  7712. },
  7713. "common.QueryImageConfigsRsp": {
  7714. "type": "object",
  7715. "required": [
  7716. "configid"
  7717. ],
  7718. "properties": {
  7719. "areauserid": {
  7720. "description": "所属机构ID",
  7721. "type": "integer"
  7722. },
  7723. "configid": {
  7724. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7725. "type": "integer"
  7726. },
  7727. "createdate": {
  7728. "description": "创建时间",
  7729. "type": "string"
  7730. },
  7731. "creatorid": {
  7732. "description": "创建人",
  7733. "type": "integer"
  7734. },
  7735. "imagepath": {
  7736. "description": "图片",
  7737. "type": "string"
  7738. },
  7739. "imagetype": {
  7740. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7741. "type": "integer"
  7742. },
  7743. "isshow": {
  7744. "description": "是否展示 - 0:不展示 1:展示",
  7745. "type": "integer"
  7746. },
  7747. "marketid": {
  7748. "description": "市场ID",
  7749. "type": "integer"
  7750. },
  7751. "modifierid": {
  7752. "description": "操作人",
  7753. "type": "integer"
  7754. },
  7755. "sort": {
  7756. "description": "排序",
  7757. "type": "integer"
  7758. },
  7759. "title": {
  7760. "description": "标题",
  7761. "type": "string"
  7762. },
  7763. "trademode": {
  7764. "description": "交易模式",
  7765. "type": "integer"
  7766. },
  7767. "updatedate": {
  7768. "description": "修改时间",
  7769. "type": "string"
  7770. },
  7771. "url": {
  7772. "description": "链接(地址或商品ID)",
  7773. "type": "string"
  7774. },
  7775. "urltype": {
  7776. "description": "链接类型 - 1:直接地址 2:商品ID",
  7777. "type": "integer"
  7778. }
  7779. }
  7780. },
  7781. "common.QueryNoticeRsp": {
  7782. "type": "object",
  7783. "required": [
  7784. "autoid"
  7785. ],
  7786. "properties": {
  7787. "auditoruserid": {
  7788. "description": "审核人",
  7789. "type": "integer"
  7790. },
  7791. "auditremark": {
  7792. "description": "审核备注",
  7793. "type": "string"
  7794. },
  7795. "audittime": {
  7796. "description": "审核日期",
  7797. "type": "string"
  7798. },
  7799. "autoid": {
  7800. "description": "自增ID",
  7801. "type": "integer"
  7802. },
  7803. "content": {
  7804. "description": "内容",
  7805. "type": "string"
  7806. },
  7807. "createtime": {
  7808. "description": "创建时间",
  7809. "type": "string"
  7810. },
  7811. "creatorid": {
  7812. "description": "建仓人",
  7813. "type": "integer"
  7814. },
  7815. "endtime": {
  7816. "description": "结束时间",
  7817. "type": "string"
  7818. },
  7819. "istop": {
  7820. "description": "是否置顶 - 0:不置顶 1:置顶",
  7821. "type": "integer"
  7822. },
  7823. "msgiconurl": {
  7824. "description": "消息图标Url",
  7825. "type": "string"
  7826. },
  7827. "msgtype": {
  7828. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7829. "type": "integer"
  7830. },
  7831. "publisher": {
  7832. "description": "消息发布者",
  7833. "type": "string"
  7834. },
  7835. "readed": {
  7836. "description": "是否已读",
  7837. "type": "boolean"
  7838. },
  7839. "scheduletime": {
  7840. "description": "计划发送时间",
  7841. "type": "string"
  7842. },
  7843. "sendtype": {
  7844. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7845. "type": "integer"
  7846. },
  7847. "sentstatus": {
  7848. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7849. "type": "integer"
  7850. },
  7851. "title": {
  7852. "description": "标题",
  7853. "type": "string"
  7854. },
  7855. "userid": {
  7856. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7857. "type": "integer"
  7858. }
  7859. }
  7860. },
  7861. "common.QueryProvincesAndCitiesRsp": {
  7862. "type": "object",
  7863. "properties": {
  7864. "cities": {
  7865. "description": "市",
  7866. "type": "array",
  7867. "items": {
  7868. "$ref": "#/definitions/models.Division"
  7869. }
  7870. },
  7871. "province": {
  7872. "description": "省",
  7873. "$ref": "#/definitions/models.Division"
  7874. }
  7875. }
  7876. },
  7877. "common.QueryTableDefineRsp": {
  7878. "type": "object",
  7879. "required": [
  7880. "tablekey"
  7881. ],
  7882. "properties": {
  7883. "columns": {
  7884. "description": "列头信息数组",
  7885. "type": "array",
  7886. "items": {
  7887. "$ref": "#/definitions/models.Tablecolumnconfig"
  7888. }
  7889. },
  7890. "remark": {
  7891. "description": "Remark",
  7892. "type": "string"
  7893. },
  7894. "tabelmenu": {
  7895. "description": "列表菜单",
  7896. "type": "string"
  7897. },
  7898. "tablekey": {
  7899. "description": "列表Key",
  7900. "type": "string"
  7901. },
  7902. "tablename": {
  7903. "description": "列表名称",
  7904. "type": "string"
  7905. },
  7906. "tabletype": {
  7907. "description": "列表类型 - 1:管理端 2:终端",
  7908. "type": "integer"
  7909. }
  7910. }
  7911. },
  7912. "common.QueryTraderMenuRsp": {
  7913. "type": "object",
  7914. "properties": {
  7915. "OperationMenu": {
  7916. "description": "功能菜单",
  7917. "type": "array",
  7918. "items": {
  7919. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7920. }
  7921. },
  7922. "QuoteMenu": {
  7923. "description": "报价牌分类菜单",
  7924. "type": "array",
  7925. "items": {
  7926. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7927. }
  7928. }
  7929. }
  7930. },
  7931. "cptrade.Cptradepositioncancel": {
  7932. "type": "object",
  7933. "required": [
  7934. "cancelid"
  7935. ],
  7936. "properties": {
  7937. "accountid": {
  7938. "description": "申请人账户ID",
  7939. "type": "integer"
  7940. },
  7941. "applystatus": {
  7942. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7943. "type": "integer"
  7944. },
  7945. "applytime": {
  7946. "description": "申请时间",
  7947. "type": "string"
  7948. },
  7949. "cancelid": {
  7950. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7951. "type": "integer"
  7952. },
  7953. "cancelqty": {
  7954. "description": "注销数量",
  7955. "type": "integer"
  7956. },
  7957. "createtime": {
  7958. "description": "创建时间",
  7959. "type": "string"
  7960. },
  7961. "creatorid": {
  7962. "description": "创建人ID",
  7963. "type": "integer"
  7964. },
  7965. "creatorname": {
  7966. "description": "创建人",
  7967. "type": "string"
  7968. },
  7969. "goodscode": {
  7970. "description": "订单商品代码",
  7971. "type": "string"
  7972. },
  7973. "goodsid": {
  7974. "description": "商品ID",
  7975. "type": "integer"
  7976. },
  7977. "goodsname": {
  7978. "description": "订单商品名称",
  7979. "type": "string"
  7980. },
  7981. "goodunit": {
  7982. "description": "报价单位",
  7983. "type": "string"
  7984. },
  7985. "handlestatus": {
  7986. "description": "处理状态",
  7987. "type": "integer"
  7988. },
  7989. "marketid": {
  7990. "description": "市场ID",
  7991. "type": "integer"
  7992. },
  7993. "marketname": {
  7994. "description": "市场名称",
  7995. "type": "string"
  7996. },
  7997. "tradedate": {
  7998. "description": "交易日(yyyyMMdd)",
  7999. "type": "string"
  8000. },
  8001. "userid": {
  8002. "description": "申请人ID",
  8003. "type": "integer"
  8004. }
  8005. }
  8006. },
  8007. "cptrade.Cptradepresaleapply": {
  8008. "type": "object",
  8009. "required": [
  8010. "applyid"
  8011. ],
  8012. "properties": {
  8013. "accountid": {
  8014. "description": "申请人账户ID",
  8015. "type": "integer"
  8016. },
  8017. "applyid": {
  8018. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8019. "type": "integer"
  8020. },
  8021. "applyremark": {
  8022. "description": "申请备注",
  8023. "type": "string"
  8024. },
  8025. "applystatus": {
  8026. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8027. "type": "integer"
  8028. },
  8029. "applytime": {
  8030. "description": "申请时间",
  8031. "type": "string"
  8032. },
  8033. "attachmenturl": {
  8034. "description": "附件地址",
  8035. "type": "string"
  8036. },
  8037. "endtime": {
  8038. "description": "预售结束时间",
  8039. "type": "string"
  8040. },
  8041. "goodscode": {
  8042. "description": "商品代码",
  8043. "type": "string"
  8044. },
  8045. "goodsid": {
  8046. "description": "商品ID",
  8047. "type": "integer"
  8048. },
  8049. "goodsname": {
  8050. "description": "商品名称",
  8051. "type": "string"
  8052. },
  8053. "goodunit": {
  8054. "description": "报价单位",
  8055. "type": "string"
  8056. },
  8057. "handlestatus": {
  8058. "description": "处理状态",
  8059. "type": "integer"
  8060. },
  8061. "marketid": {
  8062. "description": "预售市场ID",
  8063. "type": "integer"
  8064. },
  8065. "marketname": {
  8066. "description": "预售市场名称",
  8067. "type": "string"
  8068. },
  8069. "presaleqty": {
  8070. "description": "预售数量",
  8071. "type": "integer"
  8072. },
  8073. "relatedgoodscode": {
  8074. "description": "关联交易合约代码",
  8075. "type": "string"
  8076. },
  8077. "relatedgoodsid": {
  8078. "description": "关联交易合约ID",
  8079. "type": "integer"
  8080. },
  8081. "relatedgoodsname": {
  8082. "description": "关联交易合约名称",
  8083. "type": "string"
  8084. },
  8085. "starttime": {
  8086. "description": "预售开始时间",
  8087. "type": "string"
  8088. },
  8089. "tradedate": {
  8090. "description": "交易日(yyyyMMdd)",
  8091. "type": "string"
  8092. },
  8093. "trademode": {
  8094. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8095. "type": "integer"
  8096. },
  8097. "userid": {
  8098. "description": "申请人ID",
  8099. "type": "integer"
  8100. }
  8101. }
  8102. },
  8103. "cptrade.Cptradeusergoodsdata": {
  8104. "type": "object",
  8105. "required": [
  8106. "accountid",
  8107. "goodsid"
  8108. ],
  8109. "properties": {
  8110. "EnabledQty": {
  8111. "description": "可用量",
  8112. "type": "integer"
  8113. },
  8114. "GoodsCode": {
  8115. "description": "订单商品代码",
  8116. "type": "string"
  8117. },
  8118. "GoodsName": {
  8119. "description": "订单商品名称",
  8120. "type": "string"
  8121. },
  8122. "WRStandardCode": {
  8123. "description": "仓单标准代码",
  8124. "type": "string"
  8125. },
  8126. "WRStandardName": {
  8127. "description": "仓单标准名称",
  8128. "type": "string"
  8129. },
  8130. "accountid": {
  8131. "description": "账户ID",
  8132. "type": "integer"
  8133. },
  8134. "cancelqty": {
  8135. "description": "注销量",
  8136. "type": "integer"
  8137. },
  8138. "curpresaleqty": {
  8139. "description": "当前预售量",
  8140. "type": "integer"
  8141. },
  8142. "deliveryqty": {
  8143. "description": "交割量",
  8144. "type": "integer"
  8145. },
  8146. "freezeamount": {
  8147. "description": "冻结金额",
  8148. "type": "number"
  8149. },
  8150. "goodsid": {
  8151. "description": "商品ID",
  8152. "type": "integer"
  8153. },
  8154. "goodunit": {
  8155. "description": "报价单位",
  8156. "type": "string"
  8157. },
  8158. "hasspotfreeze": {
  8159. "description": "是否有现货冻结 - 0:否 1:有",
  8160. "type": "integer"
  8161. },
  8162. "inqty": {
  8163. "description": "转入量(总数量)",
  8164. "type": "integer"
  8165. },
  8166. "marketid": {
  8167. "description": "市场ID",
  8168. "type": "integer"
  8169. },
  8170. "presaledamount": {
  8171. "description": "已预售总金额",
  8172. "type": "integer"
  8173. },
  8174. "presaledqty": {
  8175. "description": "已预售量",
  8176. "type": "integer"
  8177. },
  8178. "userid": {
  8179. "description": "用户ID",
  8180. "type": "integer"
  8181. },
  8182. "wrstandardid": {
  8183. "description": "仓单标准ID",
  8184. "type": "integer"
  8185. }
  8186. }
  8187. },
  8188. "cptrade.QueryCPTradeMyBidRsp": {
  8189. "type": "object",
  8190. "required": [
  8191. "accountid",
  8192. "goodsid",
  8193. "marketid",
  8194. "orderid",
  8195. "orderqty",
  8196. "ordertime",
  8197. "tradeprice",
  8198. "tradeqty"
  8199. ],
  8200. "properties": {
  8201. "accountid": {
  8202. "description": "账户ID[报价币种]",
  8203. "type": "integer"
  8204. },
  8205. "goodsid": {
  8206. "description": "商品ID",
  8207. "type": "integer"
  8208. },
  8209. "goodunit": {
  8210. "description": "报价单位",
  8211. "type": "string"
  8212. },
  8213. "marketid": {
  8214. "description": "市场ID",
  8215. "type": "integer"
  8216. },
  8217. "orderid": {
  8218. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8219. "type": "integer"
  8220. },
  8221. "orderprice": {
  8222. "description": "委托价格",
  8223. "type": "number"
  8224. },
  8225. "orderqty": {
  8226. "description": "委托数量",
  8227. "type": "integer"
  8228. },
  8229. "ordertime": {
  8230. "description": "委托时间",
  8231. "type": "string"
  8232. },
  8233. "ordertotalprice": {
  8234. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8235. "type": "number"
  8236. },
  8237. "ordertotalweight": {
  8238. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8239. "type": "integer"
  8240. },
  8241. "totaltotalprice": {
  8242. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8243. "type": "number"
  8244. },
  8245. "tradeprice": {
  8246. "description": "成交价格",
  8247. "type": "number"
  8248. },
  8249. "tradeqty": {
  8250. "description": "成交数量",
  8251. "type": "integer"
  8252. }
  8253. }
  8254. },
  8255. "cptrade.QueryCPTradeOrderDetailRsq": {
  8256. "type": "object",
  8257. "required": [
  8258. "accountid",
  8259. "buildtype",
  8260. "buyorsell",
  8261. "goodsid",
  8262. "marketid",
  8263. "memberuserid",
  8264. "operatetype",
  8265. "orderqty",
  8266. "ordertime",
  8267. "pricemode",
  8268. "strorderid",
  8269. "tradedate",
  8270. "validtype"
  8271. ],
  8272. "properties": {
  8273. "accountid": {
  8274. "description": "账户ID[报价币种]",
  8275. "type": "integer"
  8276. },
  8277. "buildtype": {
  8278. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8279. "type": "integer"
  8280. },
  8281. "buyorsell": {
  8282. "description": "买卖 - 0:买 1:卖",
  8283. "type": "integer"
  8284. },
  8285. "cancelorderid": {
  8286. "description": "撤单单号(撤单时填写)",
  8287. "type": "integer"
  8288. },
  8289. "cancelqty": {
  8290. "description": "撤单数量",
  8291. "type": "integer"
  8292. },
  8293. "clientordertime": {
  8294. "description": "客户端委托时间",
  8295. "type": "string"
  8296. },
  8297. "clientticket": {
  8298. "description": "客户端流水号",
  8299. "type": "string"
  8300. },
  8301. "clienttype": {
  8302. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8303. "type": "integer"
  8304. },
  8305. "closeexchagechargevalue": {
  8306. "description": "平仓交易所手续费设置值",
  8307. "type": "number"
  8308. },
  8309. "closefeealgorithm": {
  8310. "description": "平仓手续费收取方式 1:比率 2:固定",
  8311. "type": "integer"
  8312. },
  8313. "closefreezecharge": {
  8314. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8315. "type": "number"
  8316. },
  8317. "closememberchargevalue": {
  8318. "description": "平仓会员手续费设置值",
  8319. "type": "number"
  8320. },
  8321. "closeqty": {
  8322. "description": "平仓数量(先建后平操作 需要记录)",
  8323. "type": "integer"
  8324. },
  8325. "closetradeqty": {
  8326. "description": "平仓成交数量(先建后平操作,需要记录)",
  8327. "type": "integer"
  8328. },
  8329. "closeunfreezecharge": {
  8330. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8331. "type": "number"
  8332. },
  8333. "delistingtype": {
  8334. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8335. "type": "integer"
  8336. },
  8337. "freezecharge": {
  8338. "description": "冻结手续费",
  8339. "type": "number"
  8340. },
  8341. "freezemargin": {
  8342. "description": "冻结保证金(冻结交易金额)",
  8343. "type": "number"
  8344. },
  8345. "gcaccountid": {
  8346. "description": "账户ID[合约币种]",
  8347. "type": "integer"
  8348. },
  8349. "goodsid": {
  8350. "description": "商品ID",
  8351. "type": "integer"
  8352. },
  8353. "isconfirmexercise": {
  8354. "description": "是否确认行权- 0:否 1:是",
  8355. "type": "integer"
  8356. },
  8357. "ispreexercise": {
  8358. "description": "是否预申报- 0:否 1:是",
  8359. "type": "integer"
  8360. },
  8361. "listingselecttype": {
  8362. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8363. "type": "integer"
  8364. },
  8365. "marginalgorithm": {
  8366. "description": "保证金收取方式 1:比率 2:固定",
  8367. "type": "integer"
  8368. },
  8369. "marginvalue": {
  8370. "description": "即市保证金设置值",
  8371. "type": "number"
  8372. },
  8373. "marketid": {
  8374. "description": "市场ID",
  8375. "type": "integer"
  8376. },
  8377. "marketmaxsub": {
  8378. "description": "市价最大偏移范围",
  8379. "type": "number"
  8380. },
  8381. "memberuserid": {
  8382. "description": "所属会员UserID",
  8383. "type": "integer"
  8384. },
  8385. "openexchagechargevalue": {
  8386. "description": "建仓交易所手续费设置值",
  8387. "type": "number"
  8388. },
  8389. "openfeealgorithm": {
  8390. "description": "建仓手续费收取方式 1:比率 2:固定",
  8391. "type": "integer"
  8392. },
  8393. "openfreezecharge": {
  8394. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8395. "type": "number"
  8396. },
  8397. "openmemberchargevalue": {
  8398. "description": "建仓会员手续费设置值",
  8399. "type": "number"
  8400. },
  8401. "openqty": {
  8402. "description": "开仓数量(先建后平操作,需要记录)",
  8403. "type": "integer"
  8404. },
  8405. "opentradeqty": {
  8406. "description": "开仓成交数量(先建后平操作,需要记录)",
  8407. "type": "integer"
  8408. },
  8409. "openunfreezecharge": {
  8410. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8411. "type": "number"
  8412. },
  8413. "operatetype": {
  8414. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8415. "type": "integer"
  8416. },
  8417. "operatorid": {
  8418. "description": "登录账号(LoginID)",
  8419. "type": "integer"
  8420. },
  8421. "optiontype": {
  8422. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8423. "type": "integer"
  8424. },
  8425. "orderprice": {
  8426. "description": "委托价格",
  8427. "type": "number"
  8428. },
  8429. "orderqty": {
  8430. "description": "委托数量",
  8431. "type": "integer"
  8432. },
  8433. "ordersrc": {
  8434. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8435. "type": "integer"
  8436. },
  8437. "orderstatus": {
  8438. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8439. "type": "integer"
  8440. },
  8441. "ordertime": {
  8442. "description": "委托时间",
  8443. "type": "string"
  8444. },
  8445. "preexerciseprice": {
  8446. "description": "预申报价格",
  8447. "type": "number"
  8448. },
  8449. "premium": {
  8450. "description": "权利金",
  8451. "type": "number"
  8452. },
  8453. "preorderid": {
  8454. "description": "关联预埋单号(止盈止损单时填写)",
  8455. "type": "integer"
  8456. },
  8457. "pricemode": {
  8458. "description": "取价方式 - 1:市价 2: 限价",
  8459. "type": "integer"
  8460. },
  8461. "quoteid": {
  8462. "description": "报价单ID",
  8463. "type": "integer"
  8464. },
  8465. "relatedid": {
  8466. "description": "关联单号(交割单)",
  8467. "type": "integer"
  8468. },
  8469. "retcode": {
  8470. "description": "错误代码",
  8471. "type": "integer"
  8472. },
  8473. "sessionid": {
  8474. "description": "会话ID",
  8475. "type": "integer"
  8476. },
  8477. "strorderid": {
  8478. "description": "委托单号",
  8479. "type": "string"
  8480. },
  8481. "tradedate": {
  8482. "description": "交易日(yyyyMMdd)",
  8483. "type": "string"
  8484. },
  8485. "tradeproperty": {
  8486. "description": "交易属性",
  8487. "type": "integer"
  8488. },
  8489. "tradeqty": {
  8490. "description": "成交数量",
  8491. "type": "integer"
  8492. },
  8493. "unfreezecharge": {
  8494. "description": "解冻手续费",
  8495. "type": "number"
  8496. },
  8497. "unfreezemargin": {
  8498. "description": "解冻保证金",
  8499. "type": "number"
  8500. },
  8501. "updatetime": {
  8502. "description": "更新时间",
  8503. "type": "string"
  8504. },
  8505. "uuid": {
  8506. "description": "发起端唯一id",
  8507. "type": "string"
  8508. },
  8509. "validtime": {
  8510. "description": "有效期限",
  8511. "type": "string"
  8512. },
  8513. "validtype": {
  8514. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8515. "type": "integer"
  8516. },
  8517. "volumetype": {
  8518. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8519. "type": "integer"
  8520. }
  8521. }
  8522. },
  8523. "cptrade.QueryMyCPTradeGoodsRsp": {
  8524. "type": "object",
  8525. "required": [
  8526. "goodscode",
  8527. "goodsid",
  8528. "goodsname",
  8529. "marketid",
  8530. "relatedgoodscode",
  8531. "relatedgoodsname"
  8532. ],
  8533. "properties": {
  8534. "accountid": {
  8535. "description": "卖方账户ID",
  8536. "type": "integer"
  8537. },
  8538. "agreeunit": {
  8539. "description": "合约单位",
  8540. "type": "number"
  8541. },
  8542. "applyid": {
  8543. "description": "关联申请ID",
  8544. "type": "integer"
  8545. },
  8546. "attachmenturl": {
  8547. "description": "附件地址",
  8548. "type": "string"
  8549. },
  8550. "createtime": {
  8551. "description": "创建时间",
  8552. "type": "string"
  8553. },
  8554. "currencyid": {
  8555. "description": "报价货币ID",
  8556. "type": "integer"
  8557. },
  8558. "decimalplace": {
  8559. "description": "报价小数位",
  8560. "type": "integer"
  8561. },
  8562. "endtime": {
  8563. "description": "预售结束时间",
  8564. "type": "string"
  8565. },
  8566. "floorprice": {
  8567. "description": "底价[大宗式竞拍]",
  8568. "type": "number"
  8569. },
  8570. "goodscode": {
  8571. "description": "商品代码(预售)",
  8572. "type": "string"
  8573. },
  8574. "goodsdetail": {
  8575. "description": "详情[大宗]",
  8576. "type": "string"
  8577. },
  8578. "goodsid": {
  8579. "description": "商品ID(自增ID SEQ_GOODS)",
  8580. "type": "integer"
  8581. },
  8582. "goodsname": {
  8583. "description": "商品名称(预售)",
  8584. "type": "string"
  8585. },
  8586. "goodunit": {
  8587. "description": "报价单位",
  8588. "type": "string"
  8589. },
  8590. "goodunitid": {
  8591. "description": "报价单位ID",
  8592. "type": "integer"
  8593. },
  8594. "marketid": {
  8595. "description": "所属市场ID",
  8596. "type": "integer"
  8597. },
  8598. "marketname": {
  8599. "description": "预售市场名称",
  8600. "type": "string"
  8601. },
  8602. "presaledamount": {
  8603. "description": "已预售总金额(预售结束时更新)",
  8604. "type": "number"
  8605. },
  8606. "presaledqty": {
  8607. "description": "已预售量(预售结束时更新)",
  8608. "type": "integer"
  8609. },
  8610. "presalemode": {
  8611. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8612. "type": "integer"
  8613. },
  8614. "presaleqty": {
  8615. "description": "预售数量",
  8616. "type": "integer"
  8617. },
  8618. "refprice": {
  8619. "description": "参考价格[一口价]",
  8620. "type": "number"
  8621. },
  8622. "relatedgoodscode": {
  8623. "description": "商品代码(订单)",
  8624. "type": "string"
  8625. },
  8626. "relatedgoodsid": {
  8627. "description": "关联交易合约ID",
  8628. "type": "integer"
  8629. },
  8630. "relatedgoodsname": {
  8631. "description": "商品名称(订单)",
  8632. "type": "string"
  8633. },
  8634. "relatedmarketid": {
  8635. "description": "关联交易合约市场ID",
  8636. "type": "integer"
  8637. },
  8638. "sellstatus": {
  8639. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8640. "type": "integer"
  8641. },
  8642. "startprice": {
  8643. "description": "起拍价[大宗式竞拍]",
  8644. "type": "number"
  8645. },
  8646. "starttime": {
  8647. "description": "预售开始时间",
  8648. "type": "string"
  8649. },
  8650. "tradedate": {
  8651. "description": "交易日(yyyyMMdd)",
  8652. "type": "string"
  8653. },
  8654. "tradeprice": {
  8655. "description": "成交价[大宗]",
  8656. "type": "number"
  8657. },
  8658. "userid": {
  8659. "description": "卖方用户ID",
  8660. "type": "integer"
  8661. }
  8662. }
  8663. },
  8664. "cptrade.QueryPresaleGoodsExRsp": {
  8665. "type": "object",
  8666. "required": [
  8667. "goodsid"
  8668. ],
  8669. "properties": {
  8670. "attachmenturl": {
  8671. "description": "附件地址",
  8672. "type": "string"
  8673. },
  8674. "createtime": {
  8675. "description": "创建时间",
  8676. "type": "string"
  8677. },
  8678. "endtime": {
  8679. "description": "预售结束时间",
  8680. "type": "string"
  8681. },
  8682. "floorprice": {
  8683. "description": "底价[大宗式竞拍]",
  8684. "type": "number"
  8685. },
  8686. "goodsdetail": {
  8687. "description": "详情[大宗]",
  8688. "type": "string"
  8689. },
  8690. "goodsid": {
  8691. "description": "商品ID(预售)",
  8692. "type": "integer"
  8693. },
  8694. "goodunit": {
  8695. "description": "报价单位",
  8696. "type": "string"
  8697. },
  8698. "marketid": {
  8699. "description": "预售市场ID - 根据预售模式选择市场",
  8700. "type": "integer"
  8701. },
  8702. "presaledamount": {
  8703. "description": "已预售总金额(预售结束时更新)",
  8704. "type": "number"
  8705. },
  8706. "presaledqty": {
  8707. "description": "已预售量(预售结束时更新)",
  8708. "type": "integer"
  8709. },
  8710. "presalemode": {
  8711. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8712. "type": "integer"
  8713. },
  8714. "presaleqty": {
  8715. "description": "预售数量",
  8716. "type": "integer"
  8717. },
  8718. "refprice": {
  8719. "description": "参考价格[一口价]",
  8720. "type": "number"
  8721. },
  8722. "relatedgoodsid": {
  8723. "description": "关联交易合约ID",
  8724. "type": "integer"
  8725. },
  8726. "relatedmarketid": {
  8727. "description": "关联交易合约市场ID",
  8728. "type": "integer"
  8729. },
  8730. "sellstatus": {
  8731. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8732. "type": "integer"
  8733. },
  8734. "startprice": {
  8735. "description": "起拍价[大宗式竞拍]",
  8736. "type": "number"
  8737. },
  8738. "starttime": {
  8739. "description": "预售开始时间",
  8740. "type": "string"
  8741. },
  8742. "tradedate": {
  8743. "description": "交易日(yyyyMMdd)",
  8744. "type": "string"
  8745. },
  8746. "tradeprice": {
  8747. "description": "成交价[大宗]",
  8748. "type": "number"
  8749. }
  8750. }
  8751. },
  8752. "delivery.QueryDeliveryRelationRsp": {
  8753. "type": "object",
  8754. "required": [
  8755. "begindate",
  8756. "enddate",
  8757. "goodsid",
  8758. "mindeliveryqty",
  8759. "xdeliveryratio"
  8760. ],
  8761. "properties": {
  8762. "begindate": {
  8763. "description": "起始日期(yyyyMMdd)",
  8764. "type": "string"
  8765. },
  8766. "buytemplateid": {
  8767. "description": "买履约计划模板ID",
  8768. "type": "integer"
  8769. },
  8770. "deliverygoodscode": {
  8771. "description": "品种代码",
  8772. "type": "string"
  8773. },
  8774. "deliverygoodsid": {
  8775. "description": "交割商品",
  8776. "type": "integer"
  8777. },
  8778. "deliverygoodsname": {
  8779. "description": "品种名称",
  8780. "type": "string"
  8781. },
  8782. "deliverymode": {
  8783. "description": "交割方式 - 1:点选式 2:申报式",
  8784. "type": "integer"
  8785. },
  8786. "deliverypricerule": {
  8787. "description": "交割价规则- 1:行情价 2:建仓价",
  8788. "type": "integer"
  8789. },
  8790. "deliverytype": {
  8791. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8792. "type": "integer"
  8793. },
  8794. "enddate": {
  8795. "description": "结束日期(yyyyMMdd)",
  8796. "type": "string"
  8797. },
  8798. "goodscode": {
  8799. "description": "商品代码",
  8800. "type": "string"
  8801. },
  8802. "goodsid": {
  8803. "description": "交易合约ID",
  8804. "type": "integer"
  8805. },
  8806. "goodsname": {
  8807. "description": "商品名称",
  8808. "type": "string"
  8809. },
  8810. "marketid": {
  8811. "description": "市场ID",
  8812. "type": "integer"
  8813. },
  8814. "mindeliveryqty": {
  8815. "description": "最小交割系数(K)",
  8816. "type": "integer"
  8817. },
  8818. "p2deliveryprice": {
  8819. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8820. "type": "number"
  8821. },
  8822. "p2deliveryratio": {
  8823. "description": "P2合约系数(p)",
  8824. "type": "integer"
  8825. },
  8826. "p2goodsid": {
  8827. "description": "P2合约ID",
  8828. "type": "integer"
  8829. },
  8830. "p2pricemode": {
  8831. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8832. "type": "integer"
  8833. },
  8834. "pdeliveryprice": {
  8835. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8836. "type": "number"
  8837. },
  8838. "pdeliveryratio": {
  8839. "description": "P合约系数(n)",
  8840. "type": "integer"
  8841. },
  8842. "pgoodsid": {
  8843. "description": "P合约ID",
  8844. "type": "integer"
  8845. },
  8846. "ppricemode": {
  8847. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8848. "type": "integer"
  8849. },
  8850. "rratio": {
  8851. "description": "兑换系数(R)",
  8852. "type": "integer"
  8853. },
  8854. "rratio1": {
  8855. "description": "兑换系数(交易合约)(R1)",
  8856. "type": "integer"
  8857. },
  8858. "rratio2": {
  8859. "description": "兑换系数(仓单标准)(R2)",
  8860. "type": "integer"
  8861. },
  8862. "selltemplateid": {
  8863. "description": "卖履约计划模板ID",
  8864. "type": "integer"
  8865. },
  8866. "wrstandardid": {
  8867. "description": "仓单标准ID",
  8868. "type": "integer"
  8869. },
  8870. "xdeliveryratio": {
  8871. "description": "交易合约系数(m)",
  8872. "type": "integer"
  8873. }
  8874. }
  8875. },
  8876. "ermcp.ExposureDetailRsp": {
  8877. "type": "object",
  8878. "properties": {
  8879. "areauserid": {
  8880. "description": "机构ID",
  8881. "type": "integer"
  8882. },
  8883. "changeQty": {
  8884. "description": "套保变动量",
  8885. "type": "number"
  8886. },
  8887. "contracttype": {
  8888. "description": "现货合同类型 - 1:采购 -1:销售",
  8889. "type": "integer"
  8890. },
  8891. "convertfactor": {
  8892. "description": "标仓系数",
  8893. "type": "number"
  8894. },
  8895. "convertratio": {
  8896. "description": "套保系数",
  8897. "type": "number"
  8898. },
  8899. "createtime": {
  8900. "description": "时间",
  8901. "type": "string"
  8902. },
  8903. "enumdicname": {
  8904. "description": "现货商品单位名称",
  8905. "type": "string"
  8906. },
  8907. "logtype": {
  8908. "description": "类型 - 1:套保计划 2:现货合同",
  8909. "type": "integer"
  8910. },
  8911. "middlegoodsId": {
  8912. "description": "套保商品id",
  8913. "type": "integer"
  8914. },
  8915. "middlegoodscode": {
  8916. "description": "套保商品代码",
  8917. "type": "string"
  8918. },
  8919. "middlegoodsname": {
  8920. "description": "套保商品名称",
  8921. "type": "string"
  8922. },
  8923. "qty": {
  8924. "description": "数量",
  8925. "type": "number"
  8926. },
  8927. "relateNo": {
  8928. "description": "现货合同/套保计划编号",
  8929. "type": "string"
  8930. },
  8931. "wrstandardcode": {
  8932. "description": "现货商品代码",
  8933. "type": "string"
  8934. },
  8935. "wrstandardid": {
  8936. "description": "现货商品ID",
  8937. "type": "integer"
  8938. },
  8939. "wrstandardname": {
  8940. "description": "现货商品名称",
  8941. "type": "string"
  8942. }
  8943. }
  8944. },
  8945. "ermcp.ExposureHedgePosDetailRsp": {
  8946. "type": "object",
  8947. "properties": {
  8948. "buyorsell": {
  8949. "description": "买卖方向 0-买 1-卖",
  8950. "type": "integer"
  8951. },
  8952. "channelbuildtype": {
  8953. "description": "开平方向 1-建仓 2-平仓",
  8954. "type": "integer"
  8955. },
  8956. "goodscode": {
  8957. "description": "商品代码",
  8958. "type": "string"
  8959. },
  8960. "goodsname": {
  8961. "description": "商品名称",
  8962. "type": "string"
  8963. },
  8964. "hedgegoodsid": {
  8965. "description": "商品id",
  8966. "type": "integer"
  8967. },
  8968. "tradeqty": {
  8969. "description": "数量(成交数量)",
  8970. "type": "integer"
  8971. },
  8972. "tradetime": {
  8973. "description": "时间(成交时间)",
  8974. "type": "string"
  8975. }
  8976. }
  8977. },
  8978. "ermcp.ExposureHedgePositionRsp": {
  8979. "type": "object",
  8980. "properties": {
  8981. "accountid": {
  8982. "description": "资金账号[外部母账户]",
  8983. "type": "integer"
  8984. },
  8985. "curbuyposition": {
  8986. "description": "期末买头寸",
  8987. "type": "integer"
  8988. },
  8989. "cursellposition": {
  8990. "description": "期末卖头寸",
  8991. "type": "integer"
  8992. },
  8993. "curtdbuyposition": {
  8994. "description": "期末今日买头寸",
  8995. "type": "integer"
  8996. },
  8997. "curtdsellposition": {
  8998. "description": "期末今日卖头寸",
  8999. "type": "integer"
  9000. },
  9001. "curydbuyposition": {
  9002. "description": "期末上日买头寸",
  9003. "type": "integer"
  9004. },
  9005. "curydsellposition": {
  9006. "description": "期末上日卖头寸",
  9007. "type": "integer"
  9008. },
  9009. "decreaseqty": {
  9010. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  9011. "type": "integer"
  9012. },
  9013. "fretdbuyposition": {
  9014. "description": "冻结今日买头寸",
  9015. "type": "integer"
  9016. },
  9017. "fretdsellposition": {
  9018. "description": "冻结今日卖头寸",
  9019. "type": "integer"
  9020. },
  9021. "freydbuyposition": {
  9022. "description": "冻结上日买头寸",
  9023. "type": "integer"
  9024. },
  9025. "freydsellposition": {
  9026. "description": "冻结上日卖头寸",
  9027. "type": "integer"
  9028. },
  9029. "goodscode": {
  9030. "description": "商品代码",
  9031. "type": "string"
  9032. },
  9033. "goodsid": {
  9034. "description": "商品id",
  9035. "type": "integer"
  9036. },
  9037. "goodsname": {
  9038. "description": "商品名称",
  9039. "type": "string"
  9040. },
  9041. "hedgeaccountcode": {
  9042. "description": "对冲账号",
  9043. "type": "string"
  9044. },
  9045. "hedgegoodsid": {
  9046. "description": "对冲合约ID",
  9047. "type": "integer"
  9048. },
  9049. "increaseqty": {
  9050. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  9051. "type": "integer"
  9052. },
  9053. "marketid": {
  9054. "description": "市场ID",
  9055. "type": "integer"
  9056. },
  9057. "relateduserid": {
  9058. "description": "关联用户id",
  9059. "type": "integer"
  9060. },
  9061. "totalcurqty": {
  9062. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  9063. "type": "integer"
  9064. },
  9065. "totalydqty": {
  9066. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  9067. "type": "integer"
  9068. },
  9069. "tradedate": {
  9070. "description": "交易日(yyyyMMdd)",
  9071. "type": "string"
  9072. },
  9073. "ydbuyposition": {
  9074. "description": "期初买头寸",
  9075. "type": "integer"
  9076. },
  9077. "ydsellposition": {
  9078. "description": "期初卖头寸",
  9079. "type": "integer"
  9080. }
  9081. }
  9082. },
  9083. "ermcp.ExposureSpotDetailRsp": {
  9084. "type": "object",
  9085. "properties": {
  9086. "contracttype": {
  9087. "description": "合同类型 1-采购 -1-销售",
  9088. "type": "integer"
  9089. },
  9090. "createtime": {
  9091. "description": "创建时间",
  9092. "type": "string"
  9093. },
  9094. "enumdicname": {
  9095. "description": "现货商品单位名称",
  9096. "type": "string"
  9097. },
  9098. "logtype": {
  9099. "description": "记录类型 1-套保 2-现货合同",
  9100. "type": "integer"
  9101. },
  9102. "qty": {
  9103. "description": "数量",
  9104. "type": "number"
  9105. },
  9106. "recordname": {
  9107. "description": "类型名称",
  9108. "type": "string"
  9109. },
  9110. "relatedid": {
  9111. "description": "套保计划ID/现货合同ID",
  9112. "type": "string"
  9113. },
  9114. "relatedno": {
  9115. "description": "编号",
  9116. "type": "string"
  9117. },
  9118. "strtime": {
  9119. "description": "时间",
  9120. "type": "string"
  9121. },
  9122. "wrstandardcode": {
  9123. "description": "现货商品代码",
  9124. "type": "string"
  9125. },
  9126. "wrstandardname": {
  9127. "description": "现货商品名称",
  9128. "type": "string"
  9129. }
  9130. }
  9131. },
  9132. "ermcp.ExposureSpotRsp": {
  9133. "type": "object",
  9134. "properties": {
  9135. "areauserid": {
  9136. "description": "所属机构",
  9137. "type": "integer"
  9138. },
  9139. "decreaseqty": {
  9140. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  9141. "type": "number"
  9142. },
  9143. "increaseqty": {
  9144. "description": "增加数量=销售计划数量+采购已定价数量",
  9145. "type": "number"
  9146. },
  9147. "oritoalspotqty": {
  9148. "description": "昨日数量",
  9149. "type": "number"
  9150. },
  9151. "totalspotqty": {
  9152. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  9153. "type": "number"
  9154. },
  9155. "updatetime": {
  9156. "description": "更新时间",
  9157. "type": "string"
  9158. },
  9159. "wrstandardcode": {
  9160. "description": "现货品种代码",
  9161. "type": "string"
  9162. },
  9163. "wrstandardid": {
  9164. "description": "现货商品ID",
  9165. "type": "integer"
  9166. },
  9167. "wrstandardname": {
  9168. "description": "现货品种",
  9169. "type": "string"
  9170. }
  9171. }
  9172. },
  9173. "ermcp.HisExposureRsp": {
  9174. "type": "object",
  9175. "properties": {
  9176. "data": {
  9177. "description": "历史敞口",
  9178. "type": "array",
  9179. "items": {
  9180. "$ref": "#/definitions/models.ErmcpHisExposure"
  9181. }
  9182. },
  9183. "enumdicname": {
  9184. "description": "单位名称",
  9185. "type": "string"
  9186. },
  9187. "middlegoodscode": {
  9188. "description": "套保品种代码",
  9189. "type": "string"
  9190. },
  9191. "middlegoodsid": {
  9192. "description": "套保品种ID",
  9193. "type": "integer"
  9194. },
  9195. "middlegoodsname": {
  9196. "description": "套保品种名称",
  9197. "type": "string"
  9198. }
  9199. }
  9200. },
  9201. "ermcp.PendingAuditCntRsp": {
  9202. "type": "object",
  9203. "properties": {
  9204. "areastockqty": {
  9205. "description": "待审核数量: 库存申请",
  9206. "type": "integer"
  9207. },
  9208. "businessdjqty": {
  9209. "description": "待审核数量: 点价",
  9210. "type": "integer"
  9211. },
  9212. "businessfpqty": {
  9213. "description": "待审核数量: 发票",
  9214. "type": "integer"
  9215. },
  9216. "businessjsqty": {
  9217. "description": "待审核数量: 结算",
  9218. "type": "integer"
  9219. },
  9220. "businesskxqty": {
  9221. "description": "待审核数量: 款项",
  9222. "type": "integer"
  9223. },
  9224. "hedgeplanqty": {
  9225. "description": "待审核数量: 套保计划",
  9226. "type": "integer"
  9227. },
  9228. "spotcontractqty": {
  9229. "description": "待审核数量: 现货合同",
  9230. "type": "integer"
  9231. },
  9232. "userqty": {
  9233. "description": "待审核数量: 用户",
  9234. "type": "integer"
  9235. }
  9236. }
  9237. },
  9238. "ermcp.QryAreaStockApplyRsp": {
  9239. "type": "object",
  9240. "properties": {
  9241. "applyid": {
  9242. "description": "申请人",
  9243. "type": "integer"
  9244. },
  9245. "applyname": {
  9246. "description": "申请人名称",
  9247. "type": "string"
  9248. },
  9249. "applyremark": {
  9250. "description": "申请备注",
  9251. "type": "string"
  9252. },
  9253. "applysrc": {
  9254. "description": "申请来源 - 1:管理端 2:终端",
  9255. "type": "integer"
  9256. },
  9257. "applystatus": {
  9258. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9259. "type": "integer"
  9260. },
  9261. "applytime": {
  9262. "description": "申请时间",
  9263. "type": "string"
  9264. },
  9265. "auditid": {
  9266. "description": "审核人",
  9267. "type": "integer"
  9268. },
  9269. "auditname": {
  9270. "description": "审核人名称",
  9271. "type": "string"
  9272. },
  9273. "auditremark": {
  9274. "description": "审核备注",
  9275. "type": "string"
  9276. },
  9277. "auditsrc": {
  9278. "description": "审核来源 - 1:管理端 2:终端",
  9279. "type": "integer"
  9280. },
  9281. "audittime": {
  9282. "description": "审核时间",
  9283. "type": "string"
  9284. },
  9285. "audittradedate": {
  9286. "description": "审核交易日(yyyyMMdd)",
  9287. "type": "string"
  9288. },
  9289. "brandname": {
  9290. "description": "品牌名称",
  9291. "type": "string"
  9292. },
  9293. "buyuserid": {
  9294. "description": "采购方userid",
  9295. "type": "integer"
  9296. },
  9297. "buyusername": {
  9298. "description": "采购方名称",
  9299. "type": "string"
  9300. },
  9301. "contractno": {
  9302. "description": "合同编号",
  9303. "type": "string"
  9304. },
  9305. "contractqty": {
  9306. "description": "合同量",
  9307. "type": "number"
  9308. },
  9309. "contracttype": {
  9310. "description": "现货合同类型 - 1:采购 -1:销售",
  9311. "type": "integer"
  9312. },
  9313. "deliverygoodsid": {
  9314. "description": "现货品种ID",
  9315. "type": "integer"
  9316. },
  9317. "enumdicname": {
  9318. "description": "现货商品单位名称",
  9319. "type": "string"
  9320. },
  9321. "inoutapplyid": {
  9322. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  9323. "type": "string"
  9324. },
  9325. "inouttype": {
  9326. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  9327. "type": "integer"
  9328. },
  9329. "modelname": {
  9330. "description": "型号名称",
  9331. "type": "string"
  9332. },
  9333. "pricetype": {
  9334. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9335. "type": "integer"
  9336. },
  9337. "qty": {
  9338. "description": "数量",
  9339. "type": "number"
  9340. },
  9341. "selluserid": {
  9342. "description": "销售方userid",
  9343. "type": "integer"
  9344. },
  9345. "sellusername": {
  9346. "description": "销售方名称",
  9347. "type": "string"
  9348. },
  9349. "spotcontractid": {
  9350. "description": "关联现货合同ID",
  9351. "type": "string"
  9352. },
  9353. "spotgoodsbrandid": {
  9354. "description": "现货品牌ID",
  9355. "type": "integer"
  9356. },
  9357. "spotgoodsmodelid": {
  9358. "description": "现货型号ID",
  9359. "type": "integer"
  9360. },
  9361. "unitid": {
  9362. "description": "单位id",
  9363. "type": "integer"
  9364. },
  9365. "userid": {
  9366. "description": "机构ID",
  9367. "type": "integer"
  9368. },
  9369. "warehousecode": {
  9370. "description": "仓库代码",
  9371. "type": "string"
  9372. },
  9373. "warehouseinfoid": {
  9374. "description": "现货仓库ID",
  9375. "type": "string"
  9376. },
  9377. "warehousename": {
  9378. "description": "仓库名称",
  9379. "type": "string"
  9380. },
  9381. "warehousetype": {
  9382. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  9383. "type": "integer"
  9384. },
  9385. "wrstandardcode": {
  9386. "description": "现货商品代码",
  9387. "type": "string"
  9388. },
  9389. "wrstandardid": {
  9390. "description": "现货商品ID",
  9391. "type": "string"
  9392. },
  9393. "wrstandardname": {
  9394. "description": "现货商品名称",
  9395. "type": "string"
  9396. }
  9397. }
  9398. },
  9399. "ermcp.QryAvalidGPRsp": {
  9400. "type": "object",
  9401. "properties": {
  9402. "goodsgroupid": {
  9403. "description": "期货品种id",
  9404. "type": "integer"
  9405. },
  9406. "goodsgroupname": {
  9407. "description": "期货品种名称",
  9408. "type": "string"
  9409. },
  9410. "goodunitid": {
  9411. "description": "品种单位id",
  9412. "type": "integer"
  9413. },
  9414. "goodunitname": {
  9415. "description": "品种单位名称",
  9416. "type": "string"
  9417. },
  9418. "outergroupcode": {
  9419. "description": "期货品种代码",
  9420. "type": "string"
  9421. }
  9422. }
  9423. },
  9424. "ermcp.QryBusinessDjRsp": {
  9425. "type": "object",
  9426. "properties": {
  9427. "amount": {
  9428. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9429. "type": "number"
  9430. },
  9431. "applyid": {
  9432. "description": "申请人",
  9433. "type": "string"
  9434. },
  9435. "applyname": {
  9436. "description": "申请人名称",
  9437. "type": "string"
  9438. },
  9439. "applystatus": {
  9440. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9441. "type": "integer"
  9442. },
  9443. "applytime": {
  9444. "description": "申请时间",
  9445. "type": "string"
  9446. },
  9447. "attachurl": {
  9448. "description": "附件",
  9449. "type": "string"
  9450. },
  9451. "auditid": {
  9452. "description": "审核人ID",
  9453. "type": "string"
  9454. },
  9455. "auditname": {
  9456. "description": "审核人名称",
  9457. "type": "string"
  9458. },
  9459. "audittime": {
  9460. "description": "审核时间",
  9461. "type": "string"
  9462. },
  9463. "buyusername": {
  9464. "description": "采购方名称",
  9465. "type": "string"
  9466. },
  9467. "contractno": {
  9468. "description": "合同编号",
  9469. "type": "string"
  9470. },
  9471. "contractstatus": {
  9472. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9473. "type": "integer"
  9474. },
  9475. "contracttype": {
  9476. "description": "现货合同类型 - 1:采购 -1:销售",
  9477. "type": "integer"
  9478. },
  9479. "enumdicname": {
  9480. "description": "单位名称",
  9481. "type": "string"
  9482. },
  9483. "goodscode": {
  9484. "description": "点价合约",
  9485. "type": "string"
  9486. },
  9487. "goodsname": {
  9488. "description": "商品名称",
  9489. "type": "string"
  9490. },
  9491. "operateapplyid": {
  9492. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9493. "type": "string"
  9494. },
  9495. "operateapplytype": {
  9496. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9497. "type": "integer"
  9498. },
  9499. "pricedPrice": {
  9500. "description": "点价价格(非必填)",
  9501. "type": "number"
  9502. },
  9503. "pricedQty": {
  9504. "description": "点价数量(非必填)",
  9505. "type": "number"
  9506. },
  9507. "pricemove": {
  9508. "description": "升贴水",
  9509. "type": "number"
  9510. },
  9511. "pricetype": {
  9512. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9513. "type": "integer"
  9514. },
  9515. "relatedid": {
  9516. "description": "现货合同ID",
  9517. "type": "string"
  9518. },
  9519. "sellusername": {
  9520. "description": "销售方名字",
  9521. "type": "string"
  9522. },
  9523. "userid": {
  9524. "description": "用户ID",
  9525. "type": "integer"
  9526. },
  9527. "wrstandardcode": {
  9528. "description": "现货商品代码",
  9529. "type": "string"
  9530. },
  9531. "wrstandardid": {
  9532. "description": "现货商品id",
  9533. "type": "integer"
  9534. },
  9535. "wrstandardname": {
  9536. "description": "现货商品名称",
  9537. "type": "string"
  9538. }
  9539. }
  9540. },
  9541. "ermcp.QryBussinessFpRsp": {
  9542. "type": "object",
  9543. "properties": {
  9544. "applyid": {
  9545. "description": "申请人",
  9546. "type": "string"
  9547. },
  9548. "applyname": {
  9549. "description": "申请人名称",
  9550. "type": "string"
  9551. },
  9552. "applystatus": {
  9553. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9554. "type": "integer"
  9555. },
  9556. "applytime": {
  9557. "description": "申请时间",
  9558. "type": "string"
  9559. },
  9560. "attachurl": {
  9561. "description": "附件",
  9562. "type": "string"
  9563. },
  9564. "auditid": {
  9565. "description": "审核人ID",
  9566. "type": "string"
  9567. },
  9568. "auditname": {
  9569. "description": "审核人名称",
  9570. "type": "string"
  9571. },
  9572. "audittime": {
  9573. "description": "审核时间",
  9574. "type": "string"
  9575. },
  9576. "buyusername": {
  9577. "description": "采购方名称",
  9578. "type": "string"
  9579. },
  9580. "contractno": {
  9581. "description": "合同编号",
  9582. "type": "string"
  9583. },
  9584. "contractstatus": {
  9585. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9586. "type": "integer"
  9587. },
  9588. "contracttype": {
  9589. "description": "现货合同类型 - 1:采购 -1:销售",
  9590. "type": "integer"
  9591. },
  9592. "enumdicname": {
  9593. "description": "单位名称",
  9594. "type": "string"
  9595. },
  9596. "goodscode": {
  9597. "description": "点价合约",
  9598. "type": "string"
  9599. },
  9600. "goodsname": {
  9601. "description": "商品名称",
  9602. "type": "string"
  9603. },
  9604. "invoiceAmount": {
  9605. "description": "已开收票金额(销售为开票,采购为收票)",
  9606. "type": "number"
  9607. },
  9608. "operateapplyid": {
  9609. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9610. "type": "string"
  9611. },
  9612. "operateapplytype": {
  9613. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9614. "type": "integer"
  9615. },
  9616. "pricemove": {
  9617. "description": "升贴水",
  9618. "type": "number"
  9619. },
  9620. "pricetype": {
  9621. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9622. "type": "integer"
  9623. },
  9624. "relatedid": {
  9625. "description": "现货合同ID",
  9626. "type": "string"
  9627. },
  9628. "sellusername": {
  9629. "description": "销售方名字",
  9630. "type": "string"
  9631. },
  9632. "userid": {
  9633. "description": "用户ID",
  9634. "type": "integer"
  9635. },
  9636. "wrstandardcode": {
  9637. "description": "现货商品代码",
  9638. "type": "string"
  9639. },
  9640. "wrstandardid": {
  9641. "description": "现货商品id",
  9642. "type": "integer"
  9643. },
  9644. "wrstandardname": {
  9645. "description": "现货商品名称",
  9646. "type": "string"
  9647. }
  9648. }
  9649. },
  9650. "ermcp.QryBussinessJsExRsp": {
  9651. "type": "object",
  9652. "properties": {
  9653. "applyid": {
  9654. "description": "申请人",
  9655. "type": "string"
  9656. },
  9657. "applyname": {
  9658. "description": "申请人名称",
  9659. "type": "string"
  9660. },
  9661. "applystatus": {
  9662. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9663. "type": "integer"
  9664. },
  9665. "applytime": {
  9666. "description": "申请时间",
  9667. "type": "string"
  9668. },
  9669. "attachurl": {
  9670. "description": "附件",
  9671. "type": "string"
  9672. },
  9673. "auditid": {
  9674. "description": "审核人ID",
  9675. "type": "string"
  9676. },
  9677. "auditname": {
  9678. "description": "审核人名称",
  9679. "type": "string"
  9680. },
  9681. "audittime": {
  9682. "description": "审核时间",
  9683. "type": "string"
  9684. },
  9685. "buyusername": {
  9686. "description": "采购方名称",
  9687. "type": "string"
  9688. },
  9689. "contractno": {
  9690. "description": "合同编号",
  9691. "type": "string"
  9692. },
  9693. "contractstatus": {
  9694. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9695. "type": "integer"
  9696. },
  9697. "contracttype": {
  9698. "description": "现货合同类型 - 1:采购 -1:销售",
  9699. "type": "integer"
  9700. },
  9701. "enumdicname": {
  9702. "description": "单位名称",
  9703. "type": "string"
  9704. },
  9705. "goodscode": {
  9706. "description": "点价合约",
  9707. "type": "string"
  9708. },
  9709. "goodsname": {
  9710. "description": "商品名称",
  9711. "type": "string"
  9712. },
  9713. "operateapplyid": {
  9714. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9715. "type": "string"
  9716. },
  9717. "operateapplytype": {
  9718. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9719. "type": "integer"
  9720. },
  9721. "pricemove": {
  9722. "description": "升贴水",
  9723. "type": "number"
  9724. },
  9725. "pricetype": {
  9726. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9727. "type": "integer"
  9728. },
  9729. "reckontype": {
  9730. "description": "结算类型",
  9731. "type": "string"
  9732. },
  9733. "reckonvalue": {
  9734. "description": "值",
  9735. "type": "number"
  9736. },
  9737. "relatedid": {
  9738. "description": "现货合同ID",
  9739. "type": "string"
  9740. },
  9741. "sellusername": {
  9742. "description": "销售方名字",
  9743. "type": "string"
  9744. },
  9745. "userid": {
  9746. "description": "用户ID",
  9747. "type": "integer"
  9748. },
  9749. "wrstandardcode": {
  9750. "description": "现货商品代码",
  9751. "type": "string"
  9752. },
  9753. "wrstandardid": {
  9754. "description": "现货商品id",
  9755. "type": "integer"
  9756. },
  9757. "wrstandardname": {
  9758. "description": "现货商品名称",
  9759. "type": "string"
  9760. }
  9761. }
  9762. },
  9763. "ermcp.QryBussinessJsRsp": {
  9764. "type": "object",
  9765. "properties": {
  9766. "addmargin": {
  9767. "description": "追加保证金(非必填)",
  9768. "type": "number"
  9769. },
  9770. "applyid": {
  9771. "description": "申请人",
  9772. "type": "string"
  9773. },
  9774. "applyname": {
  9775. "description": "申请人名称",
  9776. "type": "string"
  9777. },
  9778. "applystatus": {
  9779. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9780. "type": "integer"
  9781. },
  9782. "applytime": {
  9783. "description": "申请时间",
  9784. "type": "string"
  9785. },
  9786. "attachurl": {
  9787. "description": "附件",
  9788. "type": "string"
  9789. },
  9790. "auditid": {
  9791. "description": "审核人ID",
  9792. "type": "string"
  9793. },
  9794. "auditname": {
  9795. "description": "审核人名称",
  9796. "type": "string"
  9797. },
  9798. "audittime": {
  9799. "description": "审核时间",
  9800. "type": "string"
  9801. },
  9802. "buyusername": {
  9803. "description": "采购方名称",
  9804. "type": "string"
  9805. },
  9806. "contractno": {
  9807. "description": "合同编号",
  9808. "type": "string"
  9809. },
  9810. "contractstatus": {
  9811. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9812. "type": "integer"
  9813. },
  9814. "contracttype": {
  9815. "description": "现货合同类型 - 1:采购 -1:销售",
  9816. "type": "integer"
  9817. },
  9818. "decmargin": {
  9819. "description": "减少保证金(非必填)",
  9820. "type": "number"
  9821. },
  9822. "enumdicname": {
  9823. "description": "单位名称",
  9824. "type": "string"
  9825. },
  9826. "goodscode": {
  9827. "description": "点价合约",
  9828. "type": "string"
  9829. },
  9830. "goodsname": {
  9831. "description": "商品名称",
  9832. "type": "string"
  9833. },
  9834. "operateapplyid": {
  9835. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9836. "type": "string"
  9837. },
  9838. "operateapplytype": {
  9839. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9840. "type": "integer"
  9841. },
  9842. "pricemove": {
  9843. "description": "升贴水",
  9844. "type": "number"
  9845. },
  9846. "pricetype": {
  9847. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9848. "type": "integer"
  9849. },
  9850. "reckonadjustamount": {
  9851. "description": "结算调整金额(非必填)",
  9852. "type": "number"
  9853. },
  9854. "reckonosamount": {
  9855. "description": "结算溢短金额(非必填)",
  9856. "type": "number"
  9857. },
  9858. "reckonotheramount": {
  9859. "description": "结算其他费用(非必填)",
  9860. "type": "number"
  9861. },
  9862. "reckonrealqty": {
  9863. "description": "结算实际数量(非必填)",
  9864. "type": "number"
  9865. },
  9866. "relatedid": {
  9867. "description": "现货合同ID",
  9868. "type": "string"
  9869. },
  9870. "sellusername": {
  9871. "description": "销售方名字",
  9872. "type": "string"
  9873. },
  9874. "userid": {
  9875. "description": "用户ID",
  9876. "type": "integer"
  9877. },
  9878. "wrstandardcode": {
  9879. "description": "现货商品代码",
  9880. "type": "string"
  9881. },
  9882. "wrstandardid": {
  9883. "description": "现货商品id",
  9884. "type": "integer"
  9885. },
  9886. "wrstandardname": {
  9887. "description": "现货商品名称",
  9888. "type": "string"
  9889. }
  9890. }
  9891. },
  9892. "ermcp.QryBussinessKxRsp": {
  9893. "type": "object",
  9894. "properties": {
  9895. "applyid": {
  9896. "description": "申请人",
  9897. "type": "string"
  9898. },
  9899. "applyname": {
  9900. "description": "申请人名称",
  9901. "type": "string"
  9902. },
  9903. "applystatus": {
  9904. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9905. "type": "integer"
  9906. },
  9907. "applytime": {
  9908. "description": "申请时间",
  9909. "type": "string"
  9910. },
  9911. "attachurl": {
  9912. "description": "附件",
  9913. "type": "string"
  9914. },
  9915. "auditid": {
  9916. "description": "审核人ID",
  9917. "type": "string"
  9918. },
  9919. "auditname": {
  9920. "description": "审核人名称",
  9921. "type": "string"
  9922. },
  9923. "audittime": {
  9924. "description": "审核时间",
  9925. "type": "string"
  9926. },
  9927. "buyusername": {
  9928. "description": "采购方名称",
  9929. "type": "string"
  9930. },
  9931. "contractno": {
  9932. "description": "合同编号",
  9933. "type": "string"
  9934. },
  9935. "contractstatus": {
  9936. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9937. "type": "integer"
  9938. },
  9939. "contracttype": {
  9940. "description": "现货合同类型 - 1:采购 -1:销售",
  9941. "type": "integer"
  9942. },
  9943. "deductamount": {
  9944. "description": "退款(非必填)",
  9945. "type": "number"
  9946. },
  9947. "enumdicname": {
  9948. "description": "单位名称",
  9949. "type": "string"
  9950. },
  9951. "goodscode": {
  9952. "description": "点价合约",
  9953. "type": "string"
  9954. },
  9955. "goodsname": {
  9956. "description": "商品名称",
  9957. "type": "string"
  9958. },
  9959. "kxtype": {
  9960. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9961. "type": "integer"
  9962. },
  9963. "operateapplyid": {
  9964. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9965. "type": "string"
  9966. },
  9967. "operateapplytype": {
  9968. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9969. "type": "integer"
  9970. },
  9971. "payamount": {
  9972. "description": "收付款(非必填)",
  9973. "type": "number"
  9974. },
  9975. "pricemove": {
  9976. "description": "升贴水",
  9977. "type": "number"
  9978. },
  9979. "pricetype": {
  9980. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9981. "type": "integer"
  9982. },
  9983. "relatedid": {
  9984. "description": "现货合同ID",
  9985. "type": "string"
  9986. },
  9987. "sellusername": {
  9988. "description": "销售方名字",
  9989. "type": "string"
  9990. },
  9991. "userid": {
  9992. "description": "用户ID",
  9993. "type": "integer"
  9994. },
  9995. "wrstandardcode": {
  9996. "description": "现货商品代码",
  9997. "type": "string"
  9998. },
  9999. "wrstandardid": {
  10000. "description": "现货商品id",
  10001. "type": "integer"
  10002. },
  10003. "wrstandardname": {
  10004. "description": "现货商品名称",
  10005. "type": "string"
  10006. }
  10007. }
  10008. },
  10009. "ermcp.QryErmcpRsp": {
  10010. "type": "object",
  10011. "properties": {
  10012. "accountname": {
  10013. "description": "账户名称",
  10014. "type": "string"
  10015. },
  10016. "attachment": {
  10017. "description": "附件",
  10018. "type": "string"
  10019. },
  10020. "audittime": {
  10021. "description": "审核时间",
  10022. "type": "string"
  10023. },
  10024. "brandname": {
  10025. "description": "品牌名称",
  10026. "type": "string"
  10027. },
  10028. "contracctstatus": {
  10029. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10030. "type": "integer"
  10031. },
  10032. "contractmargin": {
  10033. "description": "合同保证金",
  10034. "type": "number"
  10035. },
  10036. "contractno": {
  10037. "description": "合同编号",
  10038. "type": "string"
  10039. },
  10040. "contracttype": {
  10041. "description": "合同类型 1-采购, -1-销售",
  10042. "type": "integer"
  10043. },
  10044. "convertfactor": {
  10045. "description": "标仓系数",
  10046. "type": "number"
  10047. },
  10048. "createtime": {
  10049. "description": "创建时间",
  10050. "type": "string"
  10051. },
  10052. "daikaiamount": {
  10053. "description": "应收(开)票额",
  10054. "type": "number"
  10055. },
  10056. "deliveryenddate": {
  10057. "description": "交割结束日",
  10058. "type": "string"
  10059. },
  10060. "deliverygoodscode": {
  10061. "description": "现货品种代码",
  10062. "type": "string"
  10063. },
  10064. "deliverygoodsid": {
  10065. "description": "现货商品ID",
  10066. "type": "integer"
  10067. },
  10068. "deliverygoodsname": {
  10069. "description": "现货品种名称",
  10070. "type": "string"
  10071. },
  10072. "deliverystartdate": {
  10073. "description": "交割开始日",
  10074. "type": "string"
  10075. },
  10076. "enddate": {
  10077. "description": "点价结束日",
  10078. "type": "string"
  10079. },
  10080. "enumdicname": {
  10081. "description": "单位名称",
  10082. "type": "string"
  10083. },
  10084. "goodscode": {
  10085. "description": "点价商品代码",
  10086. "type": "string"
  10087. },
  10088. "goodsid": {
  10089. "description": "点价商品ID",
  10090. "type": "integer"
  10091. },
  10092. "goodsname": {
  10093. "description": "点价商品名称",
  10094. "type": "string"
  10095. },
  10096. "invoiceamount": {
  10097. "description": "已开票额",
  10098. "type": "number"
  10099. },
  10100. "loanamount": {
  10101. "description": "贷款总额=已定价额+调整金额",
  10102. "type": "number"
  10103. },
  10104. "margin": {
  10105. "description": "保证金",
  10106. "type": "number"
  10107. },
  10108. "modelname": {
  10109. "description": "型号名称",
  10110. "type": "string"
  10111. },
  10112. "payamount": {
  10113. "description": "已收付额(收款或付款)",
  10114. "type": "number"
  10115. },
  10116. "preinvoiceamount": {
  10117. "description": "预收(开)票额",
  10118. "type": "number"
  10119. },
  10120. "prepayamount": {
  10121. "description": "预收付额",
  10122. "type": "number"
  10123. },
  10124. "price": {
  10125. "description": "价格",
  10126. "type": "number"
  10127. },
  10128. "pricedamount": {
  10129. "description": "已定价额",
  10130. "type": "number"
  10131. },
  10132. "pricedavg": {
  10133. "description": "已点均价",
  10134. "type": "number"
  10135. },
  10136. "pricedqty": {
  10137. "description": "已定价量",
  10138. "type": "number"
  10139. },
  10140. "pricemove": {
  10141. "description": "升贴水",
  10142. "type": "number"
  10143. },
  10144. "pricetype": {
  10145. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10146. "type": "integer"
  10147. },
  10148. "producttype": {
  10149. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10150. "type": "integer"
  10151. },
  10152. "qty": {
  10153. "description": "合同量",
  10154. "type": "number"
  10155. },
  10156. "reckonadjustamount": {
  10157. "description": "调整金额",
  10158. "type": "number"
  10159. },
  10160. "reckonedamount": {
  10161. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  10162. "type": "number"
  10163. },
  10164. "reckonotheramount": {
  10165. "description": "其它费用",
  10166. "type": "number"
  10167. },
  10168. "reckonrealqty": {
  10169. "description": "已确定量",
  10170. "type": "number"
  10171. },
  10172. "remark": {
  10173. "description": "备注",
  10174. "type": "string"
  10175. },
  10176. "spotcontractid": {
  10177. "description": "合同ID",
  10178. "type": "string"
  10179. },
  10180. "spotgoodsbrandid": {
  10181. "description": "现货品牌ID",
  10182. "type": "integer"
  10183. },
  10184. "spotgoodsdesc": {
  10185. "description": "商品型号(商品规格)",
  10186. "type": "string"
  10187. },
  10188. "spotgoodsmodelid": {
  10189. "description": "现货型号ID",
  10190. "type": "integer"
  10191. },
  10192. "startdate": {
  10193. "description": "点价开始日",
  10194. "type": "string"
  10195. },
  10196. "totalamount": {
  10197. "description": "合计总额",
  10198. "type": "number"
  10199. },
  10200. "unpayamount": {
  10201. "description": "应收付款额(应支付或应收款)",
  10202. "type": "number"
  10203. },
  10204. "unpricedqty": {
  10205. "description": "未定价量",
  10206. "type": "number"
  10207. },
  10208. "unsureqty": {
  10209. "description": "未确定量",
  10210. "type": "number"
  10211. },
  10212. "userid": {
  10213. "description": "用户ID",
  10214. "type": "integer"
  10215. },
  10216. "wrstandardcode": {
  10217. "description": "现货商品代码",
  10218. "type": "string"
  10219. },
  10220. "wrstandardid": {
  10221. "description": "现货商品ID",
  10222. "type": "integer"
  10223. },
  10224. "wrstandardname": {
  10225. "description": "现货商品名称",
  10226. "type": "string"
  10227. }
  10228. }
  10229. },
  10230. "ermcp.QryGGCovertCfgRsp": {
  10231. "type": "object",
  10232. "properties": {
  10233. "convertratio": {
  10234. "description": "折算系数",
  10235. "type": "number"
  10236. },
  10237. "destgoodsgroupid": {
  10238. "description": "目标品种ID",
  10239. "type": "integer"
  10240. },
  10241. "dstcode": {
  10242. "description": "目录品种代码",
  10243. "type": "string"
  10244. },
  10245. "dstexchangecode": {
  10246. "description": "目标期货交易所",
  10247. "type": "string"
  10248. },
  10249. "dstname": {
  10250. "description": "目标品种名称",
  10251. "type": "string"
  10252. },
  10253. "dstunitid": {
  10254. "description": "目标品种单位ID",
  10255. "type": "integer"
  10256. },
  10257. "dstunitidname": {
  10258. "description": "目标品种单位名称",
  10259. "type": "string"
  10260. },
  10261. "modifytime": {
  10262. "description": "修改时间",
  10263. "type": "string"
  10264. },
  10265. "srccode": {
  10266. "description": "源品种代码",
  10267. "type": "string"
  10268. },
  10269. "srcexchangecode": {
  10270. "description": "源期货交易所",
  10271. "type": "string"
  10272. },
  10273. "srcgoodsgroupid": {
  10274. "description": "源品种ID",
  10275. "type": "integer"
  10276. },
  10277. "srcname": {
  10278. "description": "源品种名称",
  10279. "type": "string"
  10280. },
  10281. "srcunitid": {
  10282. "description": "源品种单位ID",
  10283. "type": "integer"
  10284. },
  10285. "srcunitidname": {
  10286. "description": "源品种单位名称",
  10287. "type": "string"
  10288. }
  10289. }
  10290. },
  10291. "ermcp.QryHedgePlanRsp": {
  10292. "type": "object",
  10293. "properties": {
  10294. "areauserid": {
  10295. "description": "用户ID",
  10296. "type": "integer"
  10297. },
  10298. "audittime": {
  10299. "description": "审核时间",
  10300. "type": "string"
  10301. },
  10302. "contracttype": {
  10303. "description": "计划类型 - 1:采购 -1:销售",
  10304. "type": "integer"
  10305. },
  10306. "convertfactor": {
  10307. "description": "标仓系数",
  10308. "type": "number"
  10309. },
  10310. "createtime": {
  10311. "description": "创建时间",
  10312. "type": "string"
  10313. },
  10314. "deliverygoodsid": {
  10315. "description": "现货品种ID",
  10316. "type": "integer"
  10317. },
  10318. "deliverygoodsname": {
  10319. "description": "现货品种名称",
  10320. "type": "string"
  10321. },
  10322. "enumdicname": {
  10323. "description": "单位名称",
  10324. "type": "string"
  10325. },
  10326. "hedgeplanid": {
  10327. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  10328. "type": "string"
  10329. },
  10330. "hedgeplanno": {
  10331. "description": "套保计划编号(名称)",
  10332. "type": "string"
  10333. },
  10334. "hedgeplanstatus": {
  10335. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10336. "type": "integer"
  10337. },
  10338. "planqty": {
  10339. "description": "计划数量",
  10340. "type": "number"
  10341. },
  10342. "plantime": {
  10343. "description": "计划时间",
  10344. "type": "string"
  10345. },
  10346. "producttype": {
  10347. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10348. "type": "integer"
  10349. },
  10350. "remark": {
  10351. "description": "备注",
  10352. "type": "string"
  10353. },
  10354. "spotgoodsdesc": {
  10355. "description": "商品型号",
  10356. "type": "string"
  10357. },
  10358. "unitid": {
  10359. "description": "单位id",
  10360. "type": "integer"
  10361. },
  10362. "updatetime": {
  10363. "description": "更新时间",
  10364. "type": "string"
  10365. },
  10366. "wrstandardid": {
  10367. "description": "现货商品ID",
  10368. "type": "integer"
  10369. },
  10370. "wrstandardname": {
  10371. "description": "现货商品名称",
  10372. "type": "string"
  10373. }
  10374. }
  10375. },
  10376. "ermcp.QryMGChangeLogRsp": {
  10377. "type": "object",
  10378. "properties": {
  10379. "aftervalue": {
  10380. "description": "变更后",
  10381. "type": "number"
  10382. },
  10383. "applyid": {
  10384. "description": "操作人",
  10385. "type": "integer"
  10386. },
  10387. "applyname": {
  10388. "description": "操作人名称",
  10389. "type": "string"
  10390. },
  10391. "applysrc": {
  10392. "description": "操作来源 - 1:管理端 2:终端",
  10393. "type": "integer"
  10394. },
  10395. "beforevalue": {
  10396. "description": "变更前",
  10397. "type": "number"
  10398. },
  10399. "changelogtype": {
  10400. "description": "变更流水类型 - 1:套保比率变更",
  10401. "type": "integer"
  10402. },
  10403. "handlestatus": {
  10404. "description": "处理状态",
  10405. "type": "integer"
  10406. },
  10407. "logdatetime": {
  10408. "description": "流水日期",
  10409. "type": "string"
  10410. },
  10411. "logid": {
  10412. "description": "流水ID",
  10413. "type": "integer"
  10414. },
  10415. "logremark": {
  10416. "description": "流水备注",
  10417. "type": "string"
  10418. },
  10419. "middlegoodsid": {
  10420. "description": "套保品种ID",
  10421. "type": "integer"
  10422. },
  10423. "tradedate": {
  10424. "description": "交易日(yyyyMMdd)",
  10425. "type": "string"
  10426. },
  10427. "updatetime": {
  10428. "description": "更新时间",
  10429. "type": "string"
  10430. }
  10431. }
  10432. },
  10433. "ermcp.QryMiddleGoodsDetailRsp": {
  10434. "type": "object",
  10435. "properties": {
  10436. "cvList": {
  10437. "description": "期货品种折算列表",
  10438. "type": "array",
  10439. "items": {
  10440. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10441. }
  10442. },
  10443. "mg": {
  10444. "description": "套保品种基本信息",
  10445. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10446. },
  10447. "wrcList": {
  10448. "description": "现货品种列表(现货商品折算配置)",
  10449. "type": "array",
  10450. "items": {
  10451. "$ref": "#/definitions/models.WRSConverTDetail"
  10452. }
  10453. }
  10454. }
  10455. },
  10456. "ermcp.QryMiddleGoodsRsp": {
  10457. "type": "object",
  10458. "properties": {
  10459. "areauserid": {
  10460. "description": "机构用户ID",
  10461. "type": "integer"
  10462. },
  10463. "createtime": {
  10464. "description": "修改时间",
  10465. "type": "string"
  10466. },
  10467. "enumdicname": {
  10468. "description": "单位名称",
  10469. "type": "string"
  10470. },
  10471. "evaluateratio": {
  10472. "description": "估价系数",
  10473. "type": "number"
  10474. },
  10475. "goodsgroupid": {
  10476. "description": "关联期货品种ID",
  10477. "type": "integer"
  10478. },
  10479. "isvalid": {
  10480. "description": "状态 0-无效(停用) 1-有效(正常)",
  10481. "type": "integer"
  10482. },
  10483. "middlegoodscode": {
  10484. "description": "套保品种代码",
  10485. "type": "string"
  10486. },
  10487. "middlegoodsid": {
  10488. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  10489. "type": "integer"
  10490. },
  10491. "middlegoodsname": {
  10492. "description": "套保品种名称",
  10493. "type": "string"
  10494. },
  10495. "modifytime": {
  10496. "description": "修改时间",
  10497. "type": "string"
  10498. },
  10499. "needhedgeratio": {
  10500. "description": "套保比率",
  10501. "type": "number"
  10502. },
  10503. "qtydecimalplace": {
  10504. "description": "数量小数位",
  10505. "type": "integer"
  10506. },
  10507. "relatedgoodsid": {
  10508. "description": "关联交易商品ID",
  10509. "type": "integer"
  10510. },
  10511. "relatedgoodstype": {
  10512. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  10513. "type": "integer"
  10514. },
  10515. "remark": {
  10516. "description": "备注",
  10517. "type": "string"
  10518. }
  10519. }
  10520. },
  10521. "ermcp.QryOPLogRsp": {
  10522. "type": "object",
  10523. "properties": {
  10524. "aftervalue": {
  10525. "description": "变更后",
  10526. "type": "number"
  10527. },
  10528. "applyid": {
  10529. "description": "操作人ID",
  10530. "type": "string"
  10531. },
  10532. "applyname": {
  10533. "description": "操作人名称",
  10534. "type": "string"
  10535. },
  10536. "beforevalue": {
  10537. "description": "变更前",
  10538. "type": "number"
  10539. },
  10540. "biztype": {
  10541. "description": "业务类型 - 1:套保计划 2:现货合同",
  10542. "type": "integer"
  10543. },
  10544. "contracttype": {
  10545. "description": "现货合同类型 - 1:采购 -1:销售",
  10546. "type": "integer"
  10547. },
  10548. "logvalue": {
  10549. "description": "数值",
  10550. "type": "number"
  10551. },
  10552. "operatelogtype": {
  10553. "description": "操作流水类型",
  10554. "type": "integer"
  10555. },
  10556. "operatelogtypedesc": {
  10557. "description": "操作流水类型名称",
  10558. "type": "string"
  10559. },
  10560. "relatedid": {
  10561. "description": "现货合同ID\\套保计划",
  10562. "type": "string"
  10563. },
  10564. "updatetime": {
  10565. "description": "更新时间",
  10566. "type": "string"
  10567. }
  10568. }
  10569. },
  10570. "ermcp.QryReportDaySpotDetailRsp": {
  10571. "type": "object",
  10572. "properties": {
  10573. "applyid": {
  10574. "description": "操作人",
  10575. "type": "integer"
  10576. },
  10577. "applyname": {
  10578. "description": "操作人名称",
  10579. "type": "string"
  10580. },
  10581. "biztype": {
  10582. "description": "业务类型 - 1:套保计划 2:现货合同",
  10583. "type": "integer"
  10584. },
  10585. "brandname": {
  10586. "description": "品牌名称",
  10587. "type": "string"
  10588. },
  10589. "contracttype": {
  10590. "description": "现货合同类型 - 1:采购 -1:销售",
  10591. "type": "integer"
  10592. },
  10593. "enumdicName": {
  10594. "description": "单位名称",
  10595. "type": "string"
  10596. },
  10597. "logdatetime": {
  10598. "description": "流水日期(时间)",
  10599. "type": "string"
  10600. },
  10601. "logid": {
  10602. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  10603. "type": "string"
  10604. },
  10605. "logtypename": {
  10606. "description": "合同类型(名称)",
  10607. "type": "string"
  10608. },
  10609. "logvalue": {
  10610. "description": "数值",
  10611. "type": "string"
  10612. },
  10613. "modelname": {
  10614. "description": "型号名称",
  10615. "type": "string"
  10616. },
  10617. "operatelogtype": {
  10618. "description": "操作流水类型 -",
  10619. "type": "integer"
  10620. },
  10621. "optypename": {
  10622. "description": "流水类型名称",
  10623. "type": "string"
  10624. },
  10625. "relatedid": {
  10626. "description": "现货合同ID\\套保计划",
  10627. "type": "string"
  10628. },
  10629. "relatedno": {
  10630. "description": "合同编号",
  10631. "type": "string"
  10632. },
  10633. "tradedate": {
  10634. "description": "交易日(yyyyMMdd)",
  10635. "type": "string"
  10636. },
  10637. "userid": {
  10638. "description": "机构ID",
  10639. "type": "integer"
  10640. },
  10641. "wrstandardcode": {
  10642. "description": "现货商品代码",
  10643. "type": "string"
  10644. },
  10645. "wrstandardid": {
  10646. "description": "现货商品ID",
  10647. "type": "integer"
  10648. },
  10649. "wrstandardname": {
  10650. "description": "现货商品名称",
  10651. "type": "string"
  10652. }
  10653. }
  10654. },
  10655. "ermcp.QryReportExposureDayRsp": {
  10656. "type": "object",
  10657. "properties": {
  10658. "areauserid": {
  10659. "description": "所属机构",
  10660. "type": "integer"
  10661. },
  10662. "buyfutureqty": {
  10663. "description": "买入期货数量",
  10664. "type": "number"
  10665. },
  10666. "buyplanqty": {
  10667. "description": "采购计划数量",
  10668. "type": "number"
  10669. },
  10670. "buypricedqty": {
  10671. "description": "采购合同已定价数量",
  10672. "type": "number"
  10673. },
  10674. "diffFutuQty": {
  10675. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  10676. "type": "number"
  10677. },
  10678. "diffSpotQty": {
  10679. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  10680. "type": "number"
  10681. },
  10682. "enumdicname": {
  10683. "description": "单位名称",
  10684. "type": "string"
  10685. },
  10686. "middlegoodscode": {
  10687. "description": "套保品种代码",
  10688. "type": "string"
  10689. },
  10690. "middlegoodshedgeratio": {
  10691. "description": "应套保比例",
  10692. "type": "number"
  10693. },
  10694. "middlegoodsid": {
  10695. "description": "套保品种ID",
  10696. "type": "integer"
  10697. },
  10698. "middlegoodsname": {
  10699. "description": "套保品种名称",
  10700. "type": "string"
  10701. },
  10702. "needhedgeexposoure": {
  10703. "description": "应套保敞口",
  10704. "type": "number"
  10705. },
  10706. "needhedgeratio": {
  10707. "description": "应套保敞口比例",
  10708. "type": "number"
  10709. },
  10710. "oriTotalFutuQty": {
  10711. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  10712. "type": "number"
  10713. },
  10714. "oriTotalSpotQty": {
  10715. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  10716. "type": "number"
  10717. },
  10718. "oribuyfutureqty": {
  10719. "description": "期初买入期货数量",
  10720. "type": "number"
  10721. },
  10722. "oribuyplanqty": {
  10723. "description": "期初采购计划数量",
  10724. "type": "number"
  10725. },
  10726. "oribuypricedqty": {
  10727. "description": "期初采购合同已定价数量",
  10728. "type": "number"
  10729. },
  10730. "orisellfutureqty": {
  10731. "description": "期初卖出期货数量",
  10732. "type": "number"
  10733. },
  10734. "orisellplanqty": {
  10735. "description": "期初销售计划数量",
  10736. "type": "number"
  10737. },
  10738. "orisellpricedqty": {
  10739. "description": "期初销售合同已定价数量",
  10740. "type": "number"
  10741. },
  10742. "reckondate": {
  10743. "description": "日照时期(yyyyMMdd)",
  10744. "type": "string"
  10745. },
  10746. "sellfutureqty": {
  10747. "description": "卖出期货数量",
  10748. "type": "number"
  10749. },
  10750. "sellplanqty": {
  10751. "description": "销售计划数量",
  10752. "type": "number"
  10753. },
  10754. "sellpricedqty": {
  10755. "description": "销售合同已定价数量",
  10756. "type": "number"
  10757. },
  10758. "totalexposure": {
  10759. "description": "总敞口",
  10760. "type": "number"
  10761. },
  10762. "totalfutureqty": {
  10763. "description": "期货数量",
  10764. "type": "number"
  10765. },
  10766. "totalhedgeratio": {
  10767. "description": "敞口比例",
  10768. "type": "number"
  10769. },
  10770. "totalneedhedgeqty": {
  10771. "description": "期货应套保量",
  10772. "type": "number"
  10773. },
  10774. "totalspotqty": {
  10775. "description": "现货数量",
  10776. "type": "number"
  10777. }
  10778. }
  10779. },
  10780. "ermcp.QryReportFinanceDayRsp": {
  10781. "type": "object",
  10782. "properties": {
  10783. "areauserid": {
  10784. "description": "所属机构",
  10785. "type": "integer"
  10786. },
  10787. "collectinvoiceamount": {
  10788. "description": "今日开票金额",
  10789. "type": "number"
  10790. },
  10791. "collectinvoicecount": {
  10792. "description": "今日开票笔数",
  10793. "type": "integer"
  10794. },
  10795. "collectmoneyamount": {
  10796. "description": "今日收款金额",
  10797. "type": "number"
  10798. },
  10799. "collectmoneycount": {
  10800. "description": "今日收款笔数",
  10801. "type": "integer"
  10802. },
  10803. "payinvoiceamount": {
  10804. "description": "今日收票金额",
  10805. "type": "number"
  10806. },
  10807. "payinvoicecount": {
  10808. "description": "今日收票笔数",
  10809. "type": "integer"
  10810. },
  10811. "paymoneyamount": {
  10812. "description": "今日付款金额",
  10813. "type": "number"
  10814. },
  10815. "paymoneycount": {
  10816. "description": "今日付款笔数",
  10817. "type": "integer"
  10818. },
  10819. "reckondate": {
  10820. "description": "日照时期(yyyyMMdd)",
  10821. "type": "string"
  10822. },
  10823. "updatetime": {
  10824. "description": "更新时间",
  10825. "type": "string"
  10826. }
  10827. }
  10828. },
  10829. "ermcp.QryReportFinanceKxRsp": {
  10830. "type": "object",
  10831. "properties": {
  10832. "applyid": {
  10833. "description": "操作人",
  10834. "type": "integer"
  10835. },
  10836. "applyname": {
  10837. "description": "操作人名称",
  10838. "type": "string"
  10839. },
  10840. "biztype": {
  10841. "description": "业务类型 - 1:套保计划 2:现货合同",
  10842. "type": "integer"
  10843. },
  10844. "brandname": {
  10845. "description": "品牌名称",
  10846. "type": "string"
  10847. },
  10848. "contracttype": {
  10849. "description": "现货合同类型 - 1:采购 -1:销售",
  10850. "type": "integer"
  10851. },
  10852. "enumdicName": {
  10853. "description": "单位名称",
  10854. "type": "string"
  10855. },
  10856. "logdatetime": {
  10857. "description": "流水日期(时间)",
  10858. "type": "string"
  10859. },
  10860. "logid": {
  10861. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  10862. "type": "string"
  10863. },
  10864. "logtypename": {
  10865. "description": "合同类型(名称)",
  10866. "type": "string"
  10867. },
  10868. "logvalue": {
  10869. "description": "数值",
  10870. "type": "string"
  10871. },
  10872. "modelname": {
  10873. "description": "型号名称",
  10874. "type": "string"
  10875. },
  10876. "operatelogtype": {
  10877. "description": "操作流水类型 -",
  10878. "type": "integer"
  10879. },
  10880. "optypename": {
  10881. "description": "流水类型名称",
  10882. "type": "string"
  10883. },
  10884. "relatedid": {
  10885. "description": "现货合同ID\\套保计划",
  10886. "type": "string"
  10887. },
  10888. "relatedno": {
  10889. "description": "合同编号",
  10890. "type": "string"
  10891. },
  10892. "tradedate": {
  10893. "description": "交易日(yyyyMMdd)",
  10894. "type": "string"
  10895. },
  10896. "userid": {
  10897. "description": "机构ID",
  10898. "type": "integer"
  10899. },
  10900. "wrstandardcode": {
  10901. "description": "现货商品代码",
  10902. "type": "string"
  10903. },
  10904. "wrstandardid": {
  10905. "description": "现货商品ID",
  10906. "type": "integer"
  10907. },
  10908. "wrstandardname": {
  10909. "description": "现货商品名称",
  10910. "type": "string"
  10911. }
  10912. }
  10913. },
  10914. "ermcp.QryReportFinanceMonRsp": {
  10915. "type": "object",
  10916. "properties": {
  10917. "areauserid": {
  10918. "description": "所属机构【原值】",
  10919. "type": "integer"
  10920. },
  10921. "collectinvoiceamount": {
  10922. "description": "今日开票金额【汇总】",
  10923. "type": "number"
  10924. },
  10925. "collectinvoicecount": {
  10926. "description": "今日开票笔数【汇总】",
  10927. "type": "integer"
  10928. },
  10929. "collectmoneyamount": {
  10930. "description": "今日收款金额【汇总】",
  10931. "type": "number"
  10932. },
  10933. "collectmoneycount": {
  10934. "description": "今日收款笔数 【汇总】",
  10935. "type": "integer"
  10936. },
  10937. "cycletime": {
  10938. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10939. "type": "string"
  10940. },
  10941. "cycletype": {
  10942. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10943. "type": "integer"
  10944. },
  10945. "dayFr": {
  10946. "description": "日报表明细",
  10947. "type": "array",
  10948. "items": {
  10949. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10950. }
  10951. },
  10952. "payinvoiceamount": {
  10953. "description": "今日收票金额【汇总】",
  10954. "type": "number"
  10955. },
  10956. "payinvoicecount": {
  10957. "description": "今日收票笔数【汇总】",
  10958. "type": "integer"
  10959. },
  10960. "paymoneyamount": {
  10961. "description": "今日付款金额【汇总】",
  10962. "type": "number"
  10963. },
  10964. "paymoneycount": {
  10965. "description": "今日付款笔数【汇总】",
  10966. "type": "integer"
  10967. },
  10968. "updatetime": {
  10969. "description": "更新时间",
  10970. "type": "string"
  10971. }
  10972. }
  10973. },
  10974. "ermcp.QryReportSpotDayRsp": {
  10975. "type": "object",
  10976. "properties": {
  10977. "areauserid": {
  10978. "description": "所属机构T",
  10979. "type": "integer"
  10980. },
  10981. "buyinqty": {
  10982. "description": "采购入库量",
  10983. "type": "number"
  10984. },
  10985. "enumdicname": {
  10986. "description": "现货商品单位名称",
  10987. "type": "string"
  10988. },
  10989. "reckondate": {
  10990. "description": "日照时期(yyyyMMdd)",
  10991. "type": "string"
  10992. },
  10993. "selloutqty": {
  10994. "description": "销售出库量",
  10995. "type": "number"
  10996. },
  10997. "todaybuyreckonqty": {
  10998. "description": "采购确定量",
  10999. "type": "number"
  11000. },
  11001. "todaysellreckonqty": {
  11002. "description": "销售确定量",
  11003. "type": "number"
  11004. },
  11005. "totalbuypricedqty": {
  11006. "description": "采购定价量 = 期末 - 期初",
  11007. "type": "number"
  11008. },
  11009. "totalsellpricedqty": {
  11010. "description": "销售定价量 = 期末 - 期初",
  11011. "type": "number"
  11012. },
  11013. "wrstandardcode": {
  11014. "description": "现货商品代码",
  11015. "type": "string"
  11016. },
  11017. "wrstandardid": {
  11018. "description": "现货商品ID",
  11019. "type": "integer"
  11020. },
  11021. "wrstandardname": {
  11022. "description": "现货商品名称",
  11023. "type": "string"
  11024. }
  11025. }
  11026. },
  11027. "ermcp.QryReportSpotMonRsp": {
  11028. "type": "object",
  11029. "properties": {
  11030. "areauserid": {
  11031. "description": "所属机构T",
  11032. "type": "integer"
  11033. },
  11034. "buyinqty": {
  11035. "description": "采购入库量",
  11036. "type": "number"
  11037. },
  11038. "cycletime": {
  11039. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  11040. "type": "string"
  11041. },
  11042. "cycletype": {
  11043. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11044. "type": "integer"
  11045. },
  11046. "enumdicname": {
  11047. "description": "现货商品单位名称",
  11048. "type": "string"
  11049. },
  11050. "selloutqty": {
  11051. "description": "销售出库量",
  11052. "type": "number"
  11053. },
  11054. "todaybuyreckonqty": {
  11055. "description": "采购确定量",
  11056. "type": "number"
  11057. },
  11058. "todaysellreckonqty": {
  11059. "description": "销售确定量",
  11060. "type": "number"
  11061. },
  11062. "totalbuypricedqty": {
  11063. "description": "采购定价量 = 期末 - 期初",
  11064. "type": "number"
  11065. },
  11066. "totalsellpricedqty": {
  11067. "description": "销售定价量 = 期末 - 期初",
  11068. "type": "number"
  11069. },
  11070. "wrstandardcode": {
  11071. "description": "现货商品代码",
  11072. "type": "string"
  11073. },
  11074. "wrstandardid": {
  11075. "description": "现货商品ID",
  11076. "type": "integer"
  11077. },
  11078. "wrstandardname": {
  11079. "description": "现货商品名称",
  11080. "type": "string"
  11081. }
  11082. }
  11083. },
  11084. "ermcp.QryReportSpotMonthDetailRsp": {
  11085. "type": "object",
  11086. "properties": {
  11087. "areauserid": {
  11088. "description": "所属机构T",
  11089. "type": "integer"
  11090. },
  11091. "buyinqty": {
  11092. "description": "采购入库量",
  11093. "type": "number"
  11094. },
  11095. "enumdicname": {
  11096. "description": "现货商品单位名称",
  11097. "type": "string"
  11098. },
  11099. "reckondate": {
  11100. "description": "日照时期(yyyyMMdd)",
  11101. "type": "string"
  11102. },
  11103. "selloutqty": {
  11104. "description": "销售出库量",
  11105. "type": "number"
  11106. },
  11107. "todaybuyreckonqty": {
  11108. "description": "采购确定量",
  11109. "type": "number"
  11110. },
  11111. "todaysellreckonqty": {
  11112. "description": "销售确定量",
  11113. "type": "number"
  11114. },
  11115. "totalbuypricedqty": {
  11116. "description": "采购定价量 = 期末 - 期初",
  11117. "type": "number"
  11118. },
  11119. "totalsellpricedqty": {
  11120. "description": "销售定价量 = 期末 - 期初",
  11121. "type": "number"
  11122. },
  11123. "wrstandardcode": {
  11124. "description": "现货商品代码",
  11125. "type": "string"
  11126. },
  11127. "wrstandardid": {
  11128. "description": "现货商品ID",
  11129. "type": "integer"
  11130. },
  11131. "wrstandardname": {
  11132. "description": "现货商品名称",
  11133. "type": "string"
  11134. }
  11135. }
  11136. },
  11137. "ermcp.QrySpotContractRsp": {
  11138. "type": "object",
  11139. "properties": {
  11140. "amount": {
  11141. "description": "金额 [1:一口价、3:暂定价]",
  11142. "type": "number"
  11143. },
  11144. "attachment": {
  11145. "description": "附件",
  11146. "type": "string"
  11147. },
  11148. "auditremark": {
  11149. "description": "审核意见",
  11150. "type": "string"
  11151. },
  11152. "audittime": {
  11153. "description": "审核时间",
  11154. "type": "string"
  11155. },
  11156. "brandname": {
  11157. "description": "品牌名称",
  11158. "type": "string"
  11159. },
  11160. "buyuserid": {
  11161. "description": "采购方ID",
  11162. "type": "integer"
  11163. },
  11164. "buyusername": {
  11165. "description": "采购方名称",
  11166. "type": "string"
  11167. },
  11168. "contracctstatus": {
  11169. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11170. "type": "integer"
  11171. },
  11172. "contractmargin": {
  11173. "description": "合同保证金",
  11174. "type": "number"
  11175. },
  11176. "contractno": {
  11177. "description": "现货合同编号",
  11178. "type": "string"
  11179. },
  11180. "contracttype": {
  11181. "description": "现货合同类型 - 1:采购 -1:销售",
  11182. "type": "integer"
  11183. },
  11184. "convertfactor": {
  11185. "description": "标仓系数",
  11186. "type": "number"
  11187. },
  11188. "createtime": {
  11189. "description": "创建时间",
  11190. "type": "string"
  11191. },
  11192. "deliveryenddate": {
  11193. "description": "交收期(结束)",
  11194. "type": "string"
  11195. },
  11196. "deliverygoodscode": {
  11197. "description": "现货品种代码",
  11198. "type": "string"
  11199. },
  11200. "deliverygoodsid": {
  11201. "description": "现货品种ID",
  11202. "type": "integer"
  11203. },
  11204. "deliverygoodsname": {
  11205. "description": "现货品种名称",
  11206. "type": "string"
  11207. },
  11208. "deliverystartdate": {
  11209. "description": "交收期(开始)",
  11210. "type": "string"
  11211. },
  11212. "enddate": {
  11213. "description": "点价结束日期 [2:点价 3:暂定价]",
  11214. "type": "string"
  11215. },
  11216. "enumdicname": {
  11217. "description": "单位名称",
  11218. "type": "string"
  11219. },
  11220. "goodscode": {
  11221. "description": "点价合约代码",
  11222. "type": "string"
  11223. },
  11224. "goodsid": {
  11225. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  11226. "type": "integer"
  11227. },
  11228. "goodsname": {
  11229. "description": "点价商品名称",
  11230. "type": "string"
  11231. },
  11232. "margin": {
  11233. "description": "当前保证金",
  11234. "type": "number"
  11235. },
  11236. "modelname": {
  11237. "description": "型号名称",
  11238. "type": "string"
  11239. },
  11240. "price": {
  11241. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  11242. "type": "number"
  11243. },
  11244. "pricemove": {
  11245. "description": "升贴水 [2:点价 3:暂定价]",
  11246. "type": "number"
  11247. },
  11248. "pricetype": {
  11249. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11250. "type": "integer"
  11251. },
  11252. "producttype": {
  11253. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11254. "type": "integer"
  11255. },
  11256. "qty": {
  11257. "description": "数量",
  11258. "type": "number"
  11259. },
  11260. "remark": {
  11261. "description": "备注",
  11262. "type": "string"
  11263. },
  11264. "selluserid": {
  11265. "description": "销售方ID",
  11266. "type": "integer"
  11267. },
  11268. "sellusername": {
  11269. "description": "销售方名称",
  11270. "type": "string"
  11271. },
  11272. "spotcontractid": {
  11273. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  11274. "type": "string"
  11275. },
  11276. "spotgoodsbrandid": {
  11277. "description": "现货品牌ID",
  11278. "type": "integer"
  11279. },
  11280. "spotgoodsdesc": {
  11281. "description": "商品型号",
  11282. "type": "string"
  11283. },
  11284. "spotgoodsmodelid": {
  11285. "description": "现货型号ID",
  11286. "type": "integer"
  11287. },
  11288. "startdate": {
  11289. "description": "点价开始日期 [2:点价 3:暂定价]",
  11290. "type": "string"
  11291. },
  11292. "updatetime": {
  11293. "description": "更新时间",
  11294. "type": "string"
  11295. },
  11296. "userid": {
  11297. "description": "机构ID",
  11298. "type": "integer"
  11299. },
  11300. "wrstandardcode": {
  11301. "description": "现货商品代码",
  11302. "type": "string"
  11303. },
  11304. "wrstandardid": {
  11305. "description": "现货商品ID",
  11306. "type": "integer"
  11307. },
  11308. "wrstandardname": {
  11309. "description": "现货商品名称",
  11310. "type": "string"
  11311. }
  11312. }
  11313. },
  11314. "ermcp.QryUserInfoRsp": {
  11315. "type": "object",
  11316. "properties": {
  11317. "address": {
  11318. "description": "通讯地址",
  11319. "type": "string"
  11320. },
  11321. "attachment1": {
  11322. "description": "附件1",
  11323. "type": "string"
  11324. },
  11325. "audittime": {
  11326. "description": "审核时间",
  11327. "type": "string"
  11328. },
  11329. "cardfrontphotourl": {
  11330. "description": "证件正面图片地址",
  11331. "type": "string"
  11332. },
  11333. "cardnum": {
  11334. "description": "证件号码",
  11335. "type": "string"
  11336. },
  11337. "cardtype": {
  11338. "description": "证件类型",
  11339. "type": "integer"
  11340. },
  11341. "cardtypename": {
  11342. "description": "证件类型名称",
  11343. "type": "string"
  11344. },
  11345. "cityid": {
  11346. "description": "市",
  11347. "type": "integer"
  11348. },
  11349. "countryid": {
  11350. "description": "国家",
  11351. "type": "integer"
  11352. },
  11353. "createtime": {
  11354. "description": "创建时间",
  11355. "type": "string"
  11356. },
  11357. "customername": {
  11358. "description": "企业名称",
  11359. "type": "string"
  11360. },
  11361. "districtid": {
  11362. "description": "区域",
  11363. "type": "integer"
  11364. },
  11365. "memberuserid": {
  11366. "description": "所属机构ID",
  11367. "type": "integer"
  11368. },
  11369. "mobile": {
  11370. "description": "手机号码",
  11371. "type": "string"
  11372. },
  11373. "modifytime": {
  11374. "description": "修改时间",
  11375. "type": "string"
  11376. },
  11377. "nickname": {
  11378. "description": "昵称",
  11379. "type": "string"
  11380. },
  11381. "provinceid": {
  11382. "description": "省",
  11383. "type": "integer"
  11384. },
  11385. "remark": {
  11386. "description": "备注",
  11387. "type": "string"
  11388. },
  11389. "status": {
  11390. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  11391. "type": "integer"
  11392. },
  11393. "statusdesc": {
  11394. "description": "账户状态中文描述",
  11395. "type": "string"
  11396. },
  11397. "telphone": {
  11398. "description": "联系电话",
  11399. "type": "string"
  11400. },
  11401. "userid": {
  11402. "description": "用户ID",
  11403. "type": "integer"
  11404. },
  11405. "userinfotype": {
  11406. "description": "客户类型",
  11407. "type": "string"
  11408. }
  11409. }
  11410. },
  11411. "ermcp.QryWarehouseRsp": {
  11412. "type": "object",
  11413. "properties": {
  11414. "address": {
  11415. "description": "详细地址",
  11416. "type": "string"
  11417. },
  11418. "areauserid": {
  11419. "description": "所属机构",
  11420. "type": "integer"
  11421. },
  11422. "autoid": {
  11423. "description": "自增ID(仓库ID)",
  11424. "type": "integer"
  11425. },
  11426. "cityid": {
  11427. "description": "市",
  11428. "type": "integer"
  11429. },
  11430. "contactname": {
  11431. "description": "联系人",
  11432. "type": "string"
  11433. },
  11434. "contactnum": {
  11435. "description": "联系电话",
  11436. "type": "string"
  11437. },
  11438. "countryid": {
  11439. "description": "国家",
  11440. "type": "integer"
  11441. },
  11442. "createtime": {
  11443. "description": "创建时间",
  11444. "type": "string"
  11445. },
  11446. "districtid": {
  11447. "description": "区",
  11448. "type": "integer"
  11449. },
  11450. "hasvideo": {
  11451. "description": "是否有视频 - 0:无 1:有",
  11452. "type": "integer"
  11453. },
  11454. "provinceid": {
  11455. "description": "省",
  11456. "type": "integer"
  11457. },
  11458. "remark": {
  11459. "description": "审核备注",
  11460. "type": "string"
  11461. },
  11462. "videourl": {
  11463. "description": "视频地址",
  11464. "type": "string"
  11465. },
  11466. "warehousecode": {
  11467. "description": "仓库代码",
  11468. "type": "string"
  11469. },
  11470. "warehousename": {
  11471. "description": "仓库名称",
  11472. "type": "string"
  11473. },
  11474. "warehousestatus": {
  11475. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  11476. "type": "integer"
  11477. },
  11478. "warehousetype": {
  11479. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11480. "type": "integer"
  11481. }
  11482. }
  11483. },
  11484. "ermcp.QryWrStandardDetailRsp": {
  11485. "type": "object",
  11486. "properties": {
  11487. "gbList": {
  11488. "description": "品牌列表",
  11489. "type": "array",
  11490. "items": {
  11491. "$ref": "#/definitions/models.GoodsBrand"
  11492. }
  11493. },
  11494. "goodsList": {
  11495. "description": "关联交易商品列表",
  11496. "type": "array",
  11497. "items": {
  11498. "$ref": "#/definitions/models.RelatedGoodsEx"
  11499. }
  11500. },
  11501. "gtList": {
  11502. "description": "型号列表",
  11503. "type": "array",
  11504. "items": {
  11505. "$ref": "#/definitions/models.GoodsTypeModel"
  11506. }
  11507. },
  11508. "wrd": {
  11509. "description": "基本信息",
  11510. "$ref": "#/definitions/models.ErmcpWrstandard"
  11511. },
  11512. "wrsList": {
  11513. "description": "套保信息列表",
  11514. "type": "array",
  11515. "items": {
  11516. "$ref": "#/definitions/models.WRSConverTDetail"
  11517. }
  11518. }
  11519. }
  11520. },
  11521. "ermcp.QryWrStandardRsp": {
  11522. "type": "object",
  11523. "properties": {
  11524. "areauserid": {
  11525. "description": "所属机构",
  11526. "type": "integer"
  11527. },
  11528. "createtime": {
  11529. "description": "创建时间",
  11530. "type": "string"
  11531. },
  11532. "creatorid": {
  11533. "description": "创建人",
  11534. "type": "integer"
  11535. },
  11536. "deliverygoodsid": {
  11537. "description": "品种ID",
  11538. "type": "integer"
  11539. },
  11540. "enumdicname": {
  11541. "description": "单位名称",
  11542. "type": "string"
  11543. },
  11544. "isvalid": {
  11545. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11546. "type": "integer"
  11547. },
  11548. "minivalue": {
  11549. "description": "最小变动值",
  11550. "type": "integer"
  11551. },
  11552. "minivaluedp": {
  11553. "description": "最小变动值小数位",
  11554. "type": "integer"
  11555. },
  11556. "realminivalue": {
  11557. "description": "实际最小变动值",
  11558. "type": "integer"
  11559. },
  11560. "realminivaluedp": {
  11561. "description": "实际最小变动值小数位",
  11562. "type": "integer"
  11563. },
  11564. "remark": {
  11565. "description": "备注",
  11566. "type": "string"
  11567. },
  11568. "unitid": {
  11569. "description": "单位ID",
  11570. "type": "integer"
  11571. },
  11572. "updatetime": {
  11573. "description": "更新时间",
  11574. "type": "string"
  11575. },
  11576. "wrstandardcode": {
  11577. "description": "现货商品代码",
  11578. "type": "string"
  11579. },
  11580. "wrstandardid": {
  11581. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11582. "type": "integer"
  11583. },
  11584. "wrstandardname": {
  11585. "description": "现货商品名称",
  11586. "type": "string"
  11587. }
  11588. }
  11589. },
  11590. "ermcp.QueryAreaStockApplySumRsp": {
  11591. "type": "object",
  11592. "properties": {
  11593. "brandname": {
  11594. "description": "品牌名称",
  11595. "type": "string"
  11596. },
  11597. "inouttype": {
  11598. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11599. "type": "integer"
  11600. },
  11601. "modelname": {
  11602. "description": "型号名称",
  11603. "type": "string"
  11604. },
  11605. "spotcontractid": {
  11606. "description": "关联现货合同ID",
  11607. "type": "string"
  11608. },
  11609. "spotgoodsbrandid": {
  11610. "description": "品牌id",
  11611. "type": "integer"
  11612. },
  11613. "spotgoodsmodelid": {
  11614. "description": "型号id",
  11615. "type": "integer"
  11616. },
  11617. "totalqty": {
  11618. "description": "总数量",
  11619. "type": "number"
  11620. }
  11621. }
  11622. },
  11623. "ermcp.QueryErmcpTradePositionRsp": {
  11624. "type": "object",
  11625. "properties": {
  11626. "agreeunit": {
  11627. "description": "合约单位",
  11628. "type": "number"
  11629. },
  11630. "buyorsell": {
  11631. "description": "方向 - 0:买 1:卖",
  11632. "type": "integer"
  11633. },
  11634. "curpositionqty": {
  11635. "description": "持仓(总仓数量, 期末头寸)",
  11636. "type": "integer"
  11637. },
  11638. "curtdposition": {
  11639. "description": "今仓数量(期末今日头寸)",
  11640. "type": "integer"
  11641. },
  11642. "curtdpositionenabled": {
  11643. "description": "今仓可用",
  11644. "type": "integer"
  11645. },
  11646. "decimalplace": {
  11647. "description": "报价小数位",
  11648. "type": "integer"
  11649. },
  11650. "enableqty": {
  11651. "description": "可用(总仓可用)",
  11652. "type": "integer"
  11653. },
  11654. "exexchangename": {
  11655. "description": "外部交易所名称",
  11656. "type": "string"
  11657. },
  11658. "goodscode": {
  11659. "description": "商品代码(内部)",
  11660. "type": "string"
  11661. },
  11662. "goodsid": {
  11663. "description": "商品ID(自增ID SEQ_GOODS)",
  11664. "type": "integer"
  11665. },
  11666. "goodsname": {
  11667. "description": "商品名称",
  11668. "type": "string"
  11669. },
  11670. "last": {
  11671. "description": "现价",
  11672. "type": "number"
  11673. },
  11674. "marketid": {
  11675. "description": "所属市场ID",
  11676. "type": "integer"
  11677. },
  11678. "openaverageprice": {
  11679. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11680. "type": "number"
  11681. },
  11682. "opencost": {
  11683. "description": "开仓成本",
  11684. "type": "number"
  11685. },
  11686. "openpl": {
  11687. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11688. "type": "number"
  11689. },
  11690. "outgoodscode": {
  11691. "description": "商品代码(外部)",
  11692. "type": "string"
  11693. },
  11694. "positionaverageprice": {
  11695. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11696. "type": "number"
  11697. },
  11698. "positioncost": {
  11699. "description": "持仓成本",
  11700. "type": "number"
  11701. },
  11702. "positionpl": {
  11703. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11704. "type": "number"
  11705. },
  11706. "positionplrate": {
  11707. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11708. "type": "number"
  11709. },
  11710. "usedmargin": {
  11711. "description": "占用保证金",
  11712. "type": "number"
  11713. }
  11714. }
  11715. },
  11716. "ermcp.RealtimeExposurePositionRsp": {
  11717. "type": "object",
  11718. "properties": {
  11719. "agreeunit": {
  11720. "description": "合约单位",
  11721. "type": "string"
  11722. },
  11723. "areauserid": {
  11724. "description": "所属机构id",
  11725. "type": "integer"
  11726. },
  11727. "convertratio": {
  11728. "description": "期货品种系数(折算系数)",
  11729. "type": "number"
  11730. },
  11731. "curqty": {
  11732. "description": "当前持仓",
  11733. "type": "integer"
  11734. },
  11735. "diffhedgeqty": {
  11736. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11737. "type": "number"
  11738. },
  11739. "diffqty": {
  11740. "description": "持仓变动量=当前持仓-昨日持仓",
  11741. "type": "integer"
  11742. },
  11743. "goodscode": {
  11744. "description": "商品代码",
  11745. "type": "string"
  11746. },
  11747. "goodsid": {
  11748. "description": "商品id",
  11749. "type": "integer"
  11750. },
  11751. "goodsname": {
  11752. "description": "商品名称",
  11753. "type": "string"
  11754. },
  11755. "middlegoodsid": {
  11756. "description": "套保商品id",
  11757. "type": "integer"
  11758. },
  11759. "ydqty": {
  11760. "description": "昨日持仓",
  11761. "type": "integer"
  11762. }
  11763. }
  11764. },
  11765. "ermcp.RealtimeExposureRsp": {
  11766. "type": "object",
  11767. "properties": {
  11768. "AreaUserID": {
  11769. "description": "所属机构",
  11770. "type": "integer"
  11771. },
  11772. "BuyFutureQty": {
  11773. "description": "买入期货数量",
  11774. "type": "number"
  11775. },
  11776. "BuyPlanQty": {
  11777. "description": "采购计划数量",
  11778. "type": "number"
  11779. },
  11780. "BuyPricedQty": {
  11781. "description": "采购合同已定价数量",
  11782. "type": "number"
  11783. },
  11784. "MiddleGoodsCode": {
  11785. "description": "套保品种代码",
  11786. "type": "string"
  11787. },
  11788. "MiddleGoodsHedgeRatio": {
  11789. "description": "应套保比例",
  11790. "type": "number"
  11791. },
  11792. "MiddleGoodsID": {
  11793. "description": "套保品种",
  11794. "type": "integer"
  11795. },
  11796. "MiddleGoodsName": {
  11797. "description": "套保品种名称",
  11798. "type": "string"
  11799. },
  11800. "NeedHedgeExposoure": {
  11801. "description": "应套保敞口",
  11802. "type": "number"
  11803. },
  11804. "NeedHedgeRatio": {
  11805. "description": "应套保敞口比例",
  11806. "type": "number"
  11807. },
  11808. "OriBuyFutureQty": {
  11809. "description": "期初买入期货数量",
  11810. "type": "number"
  11811. },
  11812. "OriBuyPlanQty": {
  11813. "description": "期初采购计划数量",
  11814. "type": "number"
  11815. },
  11816. "OriBuyPricedQty": {
  11817. "description": "期初采购合同已定价数量",
  11818. "type": "number"
  11819. },
  11820. "OriSellFutureQty": {
  11821. "description": "期初卖出期货数量",
  11822. "type": "number"
  11823. },
  11824. "OriSellPlanQty": {
  11825. "description": "期初销售计划数量",
  11826. "type": "number"
  11827. },
  11828. "OriSellPricedQty": {
  11829. "description": "期初销售合同已定价数量",
  11830. "type": "number"
  11831. },
  11832. "SellFutureQty": {
  11833. "description": "卖出期货数量",
  11834. "type": "number"
  11835. },
  11836. "SellPlanQty": {
  11837. "description": "销售计划数量",
  11838. "type": "number"
  11839. },
  11840. "SellPricedQty": {
  11841. "description": "销售合同已定价数量",
  11842. "type": "number"
  11843. },
  11844. "TotalExposure": {
  11845. "description": "总敞口",
  11846. "type": "number"
  11847. },
  11848. "TotalFutureQty": {
  11849. "description": "期货数量",
  11850. "type": "number"
  11851. },
  11852. "TotalHedgeRatio": {
  11853. "description": "敞口比例",
  11854. "type": "number"
  11855. },
  11856. "TotalNeedHedgeQty": {
  11857. "description": "期货应套保量",
  11858. "type": "number"
  11859. },
  11860. "TotalSpotQty": {
  11861. "description": "现货数量",
  11862. "type": "number"
  11863. },
  11864. "diffFutuQty": {
  11865. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11866. "type": "number"
  11867. },
  11868. "diffSpotQty": {
  11869. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11870. "type": "number"
  11871. },
  11872. "enumdicname": {
  11873. "description": "单位名称",
  11874. "type": "string"
  11875. },
  11876. "oriTotalFutuQty": {
  11877. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11878. "type": "number"
  11879. },
  11880. "oriTotalSpotQty": {
  11881. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11882. "type": "number"
  11883. }
  11884. }
  11885. },
  11886. "erms2.QueryArbitrageStrategyRsp": {
  11887. "type": "object",
  11888. "required": [
  11889. "asapplyid"
  11890. ],
  11891. "properties": {
  11892. "applybasis": {
  11893. "description": "申请基差",
  11894. "type": "number"
  11895. },
  11896. "asapplyid": {
  11897. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11898. "type": "string"
  11899. },
  11900. "asname": {
  11901. "description": "策略名称",
  11902. "type": "string"
  11903. },
  11904. "asno": {
  11905. "description": "策略编号",
  11906. "type": "string"
  11907. },
  11908. "basischangepl": {
  11909. "description": "基差变动损益[结算更新]",
  11910. "type": "number"
  11911. },
  11912. "biztype": {
  11913. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11914. "type": "integer"
  11915. },
  11916. "closetradedate": {
  11917. "description": "完结交易日(yyyyMMdd)",
  11918. "type": "string"
  11919. },
  11920. "curbasis": {
  11921. "description": "当前基差[结算更新]",
  11922. "type": "number"
  11923. },
  11924. "deliverygoodsid": {
  11925. "description": "现货品种ID",
  11926. "type": "integer"
  11927. },
  11928. "futureavgprice": {
  11929. "description": "期货建仓均价",
  11930. "type": "number"
  11931. },
  11932. "futurecloseamount": {
  11933. "description": "期货平仓金额",
  11934. "type": "number"
  11935. },
  11936. "futurecloseqty": {
  11937. "description": "期货平仓数量",
  11938. "type": "number"
  11939. },
  11940. "futureopenamount": {
  11941. "description": "期货开仓金额",
  11942. "type": "number"
  11943. },
  11944. "futureopenqty": {
  11945. "description": "期货开仓数量",
  11946. "type": "number"
  11947. },
  11948. "futurepl": {
  11949. "description": "期货总盈亏[结算更新]",
  11950. "type": "number"
  11951. },
  11952. "futureqty": {
  11953. "description": "期货持仓数量",
  11954. "type": "number"
  11955. },
  11956. "futurequote": {
  11957. "description": "期货额度",
  11958. "type": "number"
  11959. },
  11960. "goodsgroupid": {
  11961. "description": "期货品种ID",
  11962. "type": "integer"
  11963. },
  11964. "marketid": {
  11965. "description": "市场ID",
  11966. "type": "integer"
  11967. },
  11968. "netexposure": {
  11969. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11970. "type": "number"
  11971. },
  11972. "netexposurepl": {
  11973. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11974. "type": "number"
  11975. },
  11976. "netexposurerate": {
  11977. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11978. "type": "number"
  11979. },
  11980. "openbasis": {
  11981. "description": "建仓基差",
  11982. "type": "number"
  11983. },
  11984. "pricedspotqty": {
  11985. "description": "已定价现货数量",
  11986. "type": "number"
  11987. },
  11988. "pricedspotqtynotax": {
  11989. "description": "已定价现货不含税数量",
  11990. "type": "number"
  11991. },
  11992. "remark": {
  11993. "description": "备注",
  11994. "type": "string"
  11995. },
  11996. "spotavgprice": {
  11997. "description": "现货均价",
  11998. "type": "number"
  11999. },
  12000. "spotbuyamount": {
  12001. "description": "现货采购金额",
  12002. "type": "number"
  12003. },
  12004. "spotbuyqty": {
  12005. "description": "现货采购数量",
  12006. "type": "number"
  12007. },
  12008. "spotpl": {
  12009. "description": "现货总盈亏[结算更新]",
  12010. "type": "number"
  12011. },
  12012. "spotquota": {
  12013. "description": "现货额度",
  12014. "type": "number"
  12015. },
  12016. "spotsellamount": {
  12017. "description": "现货销售金额",
  12018. "type": "number"
  12019. },
  12020. "spotsellqty": {
  12021. "description": "现货销售数量",
  12022. "type": "number"
  12023. },
  12024. "spotusedquota": {
  12025. "description": "现货占用资金",
  12026. "type": "number"
  12027. },
  12028. "strategystatus": {
  12029. "description": "策略状态 - 0:未结束 1:已结束",
  12030. "type": "integer"
  12031. },
  12032. "totalpl": {
  12033. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12034. "type": "number"
  12035. },
  12036. "tradedate": {
  12037. "description": "交易日(yyyyMMdd)",
  12038. "type": "string"
  12039. },
  12040. "updatetime": {
  12041. "description": "更新时间",
  12042. "type": "string"
  12043. },
  12044. "usedquota": {
  12045. "description": "已占用资金",
  12046. "type": "number"
  12047. },
  12048. "userid": {
  12049. "description": "所属机构",
  12050. "type": "integer"
  12051. }
  12052. }
  12053. },
  12054. "erms2.QueryInnerTradeDetailRsp": {
  12055. "type": "object",
  12056. "required": [
  12057. "asapplyid",
  12058. "buyorsell",
  12059. "goodscode",
  12060. "goodsgroupid",
  12061. "goodsgroupname",
  12062. "goodsname",
  12063. "tradeid"
  12064. ],
  12065. "properties": {
  12066. "accountid": {
  12067. "description": "账号ID",
  12068. "type": "integer"
  12069. },
  12070. "agreeunit": {
  12071. "description": "合约单位",
  12072. "type": "number"
  12073. },
  12074. "asapplyid": {
  12075. "description": "策略申请ID",
  12076. "type": "integer"
  12077. },
  12078. "asname": {
  12079. "description": "策略名称",
  12080. "type": "string"
  12081. },
  12082. "asno": {
  12083. "description": "策略编号",
  12084. "type": "string"
  12085. },
  12086. "buyorsell": {
  12087. "description": "方向 - 0:买 1:卖",
  12088. "type": "integer"
  12089. },
  12090. "channelbuildtype": {
  12091. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  12092. "type": "integer"
  12093. },
  12094. "closetype": {
  12095. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  12096. "type": "integer"
  12097. },
  12098. "decimalplace": {
  12099. "description": "报价小数位",
  12100. "type": "integer"
  12101. },
  12102. "detailtype": {
  12103. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  12104. "type": "integer"
  12105. },
  12106. "exexchangecode": {
  12107. "description": "外部交易所代码",
  12108. "type": "string"
  12109. },
  12110. "exexchangename": {
  12111. "description": "外部交易所名称",
  12112. "type": "string"
  12113. },
  12114. "goodscode": {
  12115. "description": "商品代码(合约)",
  12116. "type": "string"
  12117. },
  12118. "goodsgroupid": {
  12119. "description": "商品组ID(品种ID)",
  12120. "type": "integer"
  12121. },
  12122. "goodsgroupname": {
  12123. "description": "商品组名称(品种)",
  12124. "type": "string"
  12125. },
  12126. "goodsid": {
  12127. "description": "商品ID",
  12128. "type": "integer"
  12129. },
  12130. "goodsname": {
  12131. "description": "商品名称(合约)",
  12132. "type": "string"
  12133. },
  12134. "goodunit": {
  12135. "description": "报价单位",
  12136. "type": "string"
  12137. },
  12138. "marketid": {
  12139. "description": "市场ID",
  12140. "type": "integer"
  12141. },
  12142. "orderid": {
  12143. "description": "委托单号",
  12144. "type": "string"
  12145. },
  12146. "outgoodscode": {
  12147. "description": "商品代码(外部)",
  12148. "type": "string"
  12149. },
  12150. "relatedouttradeid": {
  12151. "description": "关联外部成交单ID",
  12152. "type": "string"
  12153. },
  12154. "remark": {
  12155. "description": "备注",
  12156. "type": "string"
  12157. },
  12158. "spotcontractid": {
  12159. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12160. "type": "integer"
  12161. },
  12162. "spotcontractno": {
  12163. "description": "现货合同编号",
  12164. "type": "string"
  12165. },
  12166. "tradeid": {
  12167. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12168. "type": "string"
  12169. },
  12170. "tradeprice": {
  12171. "description": "成交价格",
  12172. "type": "number"
  12173. },
  12174. "tradeqty": {
  12175. "description": "成交数量",
  12176. "type": "integer"
  12177. },
  12178. "tradetime": {
  12179. "description": "成交时间",
  12180. "type": "string"
  12181. },
  12182. "updatetime": {
  12183. "description": "更新时间",
  12184. "type": "string"
  12185. }
  12186. }
  12187. },
  12188. "erms2.QuerySpotContractRsp": {
  12189. "type": "object",
  12190. "required": [
  12191. "spotcontractid"
  12192. ],
  12193. "properties": {
  12194. "accountid": {
  12195. "description": "资金账户ID",
  12196. "type": "integer"
  12197. },
  12198. "areauserid": {
  12199. "description": "所属机构",
  12200. "type": "integer"
  12201. },
  12202. "closedate": {
  12203. "description": "终止日期",
  12204. "type": "string"
  12205. },
  12206. "closeremark": {
  12207. "description": "结束备注",
  12208. "type": "string"
  12209. },
  12210. "closetradedate": {
  12211. "description": "完结交易日(yyyyMMdd)",
  12212. "type": "string"
  12213. },
  12214. "closetype": {
  12215. "description": "终止类型 - 1:违约 2:提前终止",
  12216. "type": "integer"
  12217. },
  12218. "contractamount": {
  12219. "description": "合同金额",
  12220. "type": "number"
  12221. },
  12222. "contractattachment": {
  12223. "description": "合同附件",
  12224. "type": "string"
  12225. },
  12226. "contractno": {
  12227. "description": "现货合同编号",
  12228. "type": "string"
  12229. },
  12230. "contractqty": {
  12231. "description": "合同数量(数值) (用于计算)",
  12232. "type": "number"
  12233. },
  12234. "contractqtychar": {
  12235. "description": "合同数量\\已订价数量 (用于显示)",
  12236. "type": "string"
  12237. },
  12238. "contractstatus": {
  12239. "description": "合同状态 - 0:未结束 1:已结束",
  12240. "type": "integer"
  12241. },
  12242. "contracttype": {
  12243. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  12244. "type": "integer"
  12245. },
  12246. "customeraccountid": {
  12247. "description": "客户资金账户ID",
  12248. "type": "integer"
  12249. },
  12250. "customeruserid": {
  12251. "description": "客户ID",
  12252. "type": "integer"
  12253. },
  12254. "deliverygoodsdesc": {
  12255. "description": "品种说明",
  12256. "type": "string"
  12257. },
  12258. "deliverygoodsid": {
  12259. "description": "现货品种ID",
  12260. "type": "integer"
  12261. },
  12262. "handlestatus": {
  12263. "description": "处理状态",
  12264. "type": "integer"
  12265. },
  12266. "invoiceatt": {
  12267. "description": "发票附件",
  12268. "type": "string"
  12269. },
  12270. "invoicedatetime": {
  12271. "description": "开收票更新时间",
  12272. "type": "string"
  12273. },
  12274. "invoiceopentime": {
  12275. "description": "开票时间",
  12276. "type": "string"
  12277. },
  12278. "invoiceremark": {
  12279. "description": "发票备注",
  12280. "type": "string"
  12281. },
  12282. "invoicestatus": {
  12283. "description": "开收票状态 - 0:未开票 1:已开票",
  12284. "type": "integer"
  12285. },
  12286. "lastdate": {
  12287. "description": "交货时间",
  12288. "type": "string"
  12289. },
  12290. "marketid": {
  12291. "description": "市场ID",
  12292. "type": "integer"
  12293. },
  12294. "paydatetime": {
  12295. "description": "收付款更新时间",
  12296. "type": "string"
  12297. },
  12298. "payremark": {
  12299. "description": "收付款备注",
  12300. "type": "string"
  12301. },
  12302. "paystatus": {
  12303. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  12304. "type": "integer"
  12305. },
  12306. "positionqty": {
  12307. "description": "头寸数量 - 合同数量去小数部分",
  12308. "type": "integer"
  12309. },
  12310. "producttype": {
  12311. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12312. "type": "integer"
  12313. },
  12314. "relatedqty": {
  12315. "description": "已关联数量",
  12316. "type": "number"
  12317. },
  12318. "relatedstatus": {
  12319. "description": "关联完结状态 - 0:未结束 1:已结束",
  12320. "type": "integer"
  12321. },
  12322. "remark": {
  12323. "description": "备注",
  12324. "type": "string"
  12325. },
  12326. "signdate": {
  12327. "description": "签订日期",
  12328. "type": "string"
  12329. },
  12330. "spotcontractid": {
  12331. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  12332. "type": "string"
  12333. },
  12334. "spotdatetime": {
  12335. "description": "收发货更新时间",
  12336. "type": "string"
  12337. },
  12338. "spotprice": {
  12339. "description": "价格",
  12340. "type": "number"
  12341. },
  12342. "spotremark": {
  12343. "description": "收发货备注",
  12344. "type": "string"
  12345. },
  12346. "spotstatus": {
  12347. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  12348. "type": "integer"
  12349. },
  12350. "tradedate": {
  12351. "description": "交易日(yyyyMMdd)",
  12352. "type": "string"
  12353. },
  12354. "userid": {
  12355. "description": "业务员用户ID",
  12356. "type": "integer"
  12357. },
  12358. "warehouseid": {
  12359. "description": "仓库ID",
  12360. "type": "integer"
  12361. },
  12362. "wrfactortypeid": {
  12363. "description": "仓单要素类型ID",
  12364. "type": "integer"
  12365. },
  12366. "wrstandardid": {
  12367. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12368. "type": "integer"
  12369. }
  12370. }
  12371. },
  12372. "erms3.AddErms2ASApplyReq": {
  12373. "type": "object",
  12374. "required": [
  12375. "asapplyid"
  12376. ],
  12377. "properties": {
  12378. "applybasis": {
  12379. "description": "申请基差",
  12380. "type": "number"
  12381. },
  12382. "applystatus": {
  12383. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12384. "type": "integer"
  12385. },
  12386. "asapplyid": {
  12387. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12388. "type": "integer"
  12389. },
  12390. "asname": {
  12391. "description": "策略名称",
  12392. "type": "string"
  12393. },
  12394. "asno": {
  12395. "description": "策略编号",
  12396. "type": "string"
  12397. },
  12398. "auditid": {
  12399. "description": "审核人",
  12400. "type": "integer"
  12401. },
  12402. "auditremark": {
  12403. "description": "审核备注",
  12404. "type": "string"
  12405. },
  12406. "audittime": {
  12407. "description": "审核时间",
  12408. "type": "string"
  12409. },
  12410. "biztype": {
  12411. "description": "业务类型 - 1:正向套利 2:反向套利",
  12412. "type": "integer"
  12413. },
  12414. "createtime": {
  12415. "description": "创建时间",
  12416. "type": "string"
  12417. },
  12418. "creatorid": {
  12419. "description": "创建人",
  12420. "type": "integer"
  12421. },
  12422. "deliverygoodsid": {
  12423. "description": "现货品种ID",
  12424. "type": "integer"
  12425. },
  12426. "futurequote": {
  12427. "description": "期货额度",
  12428. "type": "number"
  12429. },
  12430. "goodsgroupid": {
  12431. "description": "期货品种ID",
  12432. "type": "integer"
  12433. },
  12434. "marketid": {
  12435. "description": "市场ID",
  12436. "type": "integer"
  12437. },
  12438. "remark": {
  12439. "description": "备注",
  12440. "type": "string"
  12441. },
  12442. "spotquota": {
  12443. "description": "现货额度",
  12444. "type": "number"
  12445. },
  12446. "tradedate": {
  12447. "description": "交易日(yyyyMMdd)",
  12448. "type": "string"
  12449. },
  12450. "userid": {
  12451. "description": "所属机构",
  12452. "type": "integer"
  12453. }
  12454. }
  12455. },
  12456. "erms3.AddErms2SpotTradeApplyReq": {
  12457. "type": "object",
  12458. "required": [
  12459. "spottradeid"
  12460. ],
  12461. "properties": {
  12462. "applyjsondetail": {
  12463. "description": "申请明细(JSON)",
  12464. "type": "string"
  12465. },
  12466. "applystatus": {
  12467. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12468. "type": "integer"
  12469. },
  12470. "areauserid": {
  12471. "description": "所属机构",
  12472. "type": "integer"
  12473. },
  12474. "auditid": {
  12475. "description": "审核人",
  12476. "type": "integer"
  12477. },
  12478. "auditremark": {
  12479. "description": "审核备注",
  12480. "type": "string"
  12481. },
  12482. "audittime": {
  12483. "description": "审核时间",
  12484. "type": "string"
  12485. },
  12486. "createtime": {
  12487. "description": "创建时间",
  12488. "type": "string"
  12489. },
  12490. "creatorid": {
  12491. "description": "创建人",
  12492. "type": "integer"
  12493. },
  12494. "deliverygoodsid": {
  12495. "description": "现货品种ID",
  12496. "type": "integer"
  12497. },
  12498. "futureaccountid": {
  12499. "description": "期货资金账户",
  12500. "type": "integer"
  12501. },
  12502. "goodsgroupid": {
  12503. "description": "期货品种",
  12504. "type": "integer"
  12505. },
  12506. "marketid": {
  12507. "description": "市场ID",
  12508. "type": "integer"
  12509. },
  12510. "remark": {
  12511. "description": "备注",
  12512. "type": "string"
  12513. },
  12514. "spotaccountid": {
  12515. "description": "现货资金账户",
  12516. "type": "integer"
  12517. },
  12518. "spottradeid": {
  12519. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  12520. "type": "integer"
  12521. },
  12522. "spottradename": {
  12523. "description": "业务名称",
  12524. "type": "string"
  12525. },
  12526. "spottradeno": {
  12527. "description": "业务编号",
  12528. "type": "string"
  12529. },
  12530. "tradedate": {
  12531. "description": "交易日(yyyyMMdd)",
  12532. "type": "string"
  12533. },
  12534. "wrstandardid": {
  12535. "description": "仓单标准ID",
  12536. "type": "integer"
  12537. }
  12538. }
  12539. },
  12540. "erms3.AddSpotContractApplyReq": {
  12541. "type": "object",
  12542. "required": [
  12543. "accountid",
  12544. "areauserid",
  12545. "contractno",
  12546. "contracttype",
  12547. "customeraccountid",
  12548. "customeruserid",
  12549. "details",
  12550. "orimargin",
  12551. "signdate"
  12552. ],
  12553. "properties": {
  12554. "accountid": {
  12555. "description": "资金账户ID",
  12556. "type": "integer"
  12557. },
  12558. "areauserid": {
  12559. "description": "所属机构",
  12560. "type": "integer"
  12561. },
  12562. "contractattachment": {
  12563. "description": "合同附件",
  12564. "type": "string"
  12565. },
  12566. "contractno": {
  12567. "description": "现货合同编号",
  12568. "type": "string"
  12569. },
  12570. "contracttype": {
  12571. "description": "现货合同类型 - 1:采购 -1:销售",
  12572. "type": "integer"
  12573. },
  12574. "creatorid": {
  12575. "description": "申请人",
  12576. "type": "integer"
  12577. },
  12578. "customeraccountid": {
  12579. "description": "客户资金账户ID",
  12580. "type": "integer"
  12581. },
  12582. "customeruserid": {
  12583. "description": "客户ID",
  12584. "type": "integer"
  12585. },
  12586. "details": {
  12587. "description": "明细",
  12588. "type": "array",
  12589. "items": {
  12590. "$ref": "#/definitions/erms3.SoptContractDetail"
  12591. }
  12592. },
  12593. "orimargin": {
  12594. "description": "初始保证金",
  12595. "type": "number"
  12596. },
  12597. "remark": {
  12598. "description": "备注",
  12599. "type": "string"
  12600. },
  12601. "signdate": {
  12602. "description": "签订日期",
  12603. "type": "string"
  12604. }
  12605. }
  12606. },
  12607. "erms3.AddSpotContractApplyRsp": {
  12608. "type": "object",
  12609. "required": [
  12610. "contractno"
  12611. ],
  12612. "properties": {
  12613. "contractno": {
  12614. "description": "现货合同编号",
  12615. "type": "string"
  12616. },
  12617. "spotcontractid": {
  12618. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12619. "type": "integer"
  12620. }
  12621. }
  12622. },
  12623. "erms3.AddUserInfoApplyReq": {
  12624. "type": "object",
  12625. "required": [
  12626. "userid"
  12627. ],
  12628. "properties": {
  12629. "accountid": {
  12630. "description": "交易系统帐号Id (加密存储)",
  12631. "type": "integer"
  12632. },
  12633. "areacode": {
  12634. "description": "机构代码",
  12635. "type": "string"
  12636. },
  12637. "areaid": {
  12638. "description": "机构Id",
  12639. "type": "integer"
  12640. },
  12641. "attachment1": {
  12642. "description": "附件1",
  12643. "type": "string"
  12644. },
  12645. "attachment2": {
  12646. "description": "附件2",
  12647. "type": "string"
  12648. },
  12649. "attachment3": {
  12650. "description": "附件3",
  12651. "type": "string"
  12652. },
  12653. "attachment4": {
  12654. "description": "附件4",
  12655. "type": "string"
  12656. },
  12657. "attachment5": {
  12658. "description": "附件5",
  12659. "type": "string"
  12660. },
  12661. "auditedby": {
  12662. "description": "审核人",
  12663. "type": "string"
  12664. },
  12665. "auditime": {
  12666. "description": "审核时间",
  12667. "type": "string"
  12668. },
  12669. "bankaccount": {
  12670. "description": "银行帐号 (加密存储)",
  12671. "type": "string"
  12672. },
  12673. "bankaccountname": {
  12674. "description": "收款人名称",
  12675. "type": "string"
  12676. },
  12677. "bankcardbackphotourl": {
  12678. "description": "银行卡背面照地址",
  12679. "type": "string"
  12680. },
  12681. "bankcardfrontphotourl": {
  12682. "description": "银行卡正面照地址",
  12683. "type": "string"
  12684. },
  12685. "bankid": {
  12686. "description": "银行编码",
  12687. "type": "string"
  12688. },
  12689. "bankname": {
  12690. "description": "银行名称",
  12691. "type": "string"
  12692. },
  12693. "bankpictureurl": {
  12694. "description": "银行卡正面地址",
  12695. "type": "string"
  12696. },
  12697. "biznature": {
  12698. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12699. "type": "integer"
  12700. },
  12701. "bizscope": {
  12702. "description": "企业经营范围(企业)",
  12703. "type": "string"
  12704. },
  12705. "biztype": {
  12706. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12707. "type": "integer"
  12708. },
  12709. "brokerid": {
  12710. "description": "经纪人ID(加密存储)",
  12711. "type": "string"
  12712. },
  12713. "cardaddress": {
  12714. "description": "证件地址 (加密存储)",
  12715. "type": "string"
  12716. },
  12717. "cardbackphotourl": {
  12718. "description": "背面证件照地址",
  12719. "type": "string"
  12720. },
  12721. "cardfrontphotourl": {
  12722. "description": "正面证件照地址",
  12723. "type": "string"
  12724. },
  12725. "cardnum": {
  12726. "description": "证件号码 (加密存储)",
  12727. "type": "string"
  12728. },
  12729. "cardtype": {
  12730. "description": "证件类型",
  12731. "type": "integer"
  12732. },
  12733. "cityid": {
  12734. "description": "市",
  12735. "type": "integer"
  12736. },
  12737. "company": {
  12738. "description": "公司(个人)",
  12739. "type": "string"
  12740. },
  12741. "contactcardbackphotourl": {
  12742. "description": "联系人证件背面图片地址",
  12743. "type": "string"
  12744. },
  12745. "contactcardfrontphotourl": {
  12746. "description": "联系人证件正面图片地址",
  12747. "type": "string"
  12748. },
  12749. "contactname": {
  12750. "description": "联系人",
  12751. "type": "string"
  12752. },
  12753. "countryid": {
  12754. "description": "国家",
  12755. "type": "integer"
  12756. },
  12757. "createtime": {
  12758. "description": "开户申请时间",
  12759. "type": "string"
  12760. },
  12761. "cusbankid": {
  12762. "description": "签约类型",
  12763. "type": "string"
  12764. },
  12765. "cusbankname": {
  12766. "description": "签约类型名称",
  12767. "type": "string"
  12768. },
  12769. "customername": {
  12770. "description": "客户名称(企业名称)",
  12771. "type": "string"
  12772. },
  12773. "districtid": {
  12774. "description": "地区",
  12775. "type": "integer"
  12776. },
  12777. "email": {
  12778. "description": "Email地址(加密存储)",
  12779. "type": "string"
  12780. },
  12781. "halfbodyphotourl": {
  12782. "description": "半身照地址",
  12783. "type": "string"
  12784. },
  12785. "headurl": {
  12786. "description": "头像地址",
  12787. "type": "string"
  12788. },
  12789. "ipaddress": {
  12790. "description": "IP地址",
  12791. "type": "string"
  12792. },
  12793. "isvalidate": {
  12794. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12795. "type": "string"
  12796. },
  12797. "legalcardbackphotourl": {
  12798. "description": "法人身份证背面照地址",
  12799. "type": "string"
  12800. },
  12801. "legalcardfrontphotourl": {
  12802. "description": "法人身份证正面照地址",
  12803. "type": "string"
  12804. },
  12805. "legalpersonname": {
  12806. "description": "法人姓名(企业)",
  12807. "type": "string"
  12808. },
  12809. "logincode": {
  12810. "description": "登录帐号 (加密存储)",
  12811. "type": "string"
  12812. },
  12813. "memberareaid": {
  12814. "description": "所属会员ID",
  12815. "type": "integer"
  12816. },
  12817. "mobile2": {
  12818. "description": "手机号码[明文-尚志]",
  12819. "type": "string"
  12820. },
  12821. "mobilephone": {
  12822. "description": "手机号码 (加密存储)",
  12823. "type": "string"
  12824. },
  12825. "modifiedby": {
  12826. "description": "修改人帐号",
  12827. "type": "integer"
  12828. },
  12829. "modifiedtime": {
  12830. "description": "修改时间",
  12831. "type": "string"
  12832. },
  12833. "nickname": {
  12834. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12835. "type": "string"
  12836. },
  12837. "openmode": {
  12838. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12839. "type": "integer"
  12840. },
  12841. "otherurl": {
  12842. "description": "其它图片地址[使用分号分隔]",
  12843. "type": "string"
  12844. },
  12845. "postalcode": {
  12846. "description": "邮政编码",
  12847. "type": "string"
  12848. },
  12849. "provinceid": {
  12850. "description": "省",
  12851. "type": "integer"
  12852. },
  12853. "proxystatementurl": {
  12854. "description": "授权委托书",
  12855. "type": "string"
  12856. },
  12857. "qq": {
  12858. "description": "QQ(加密存储",
  12859. "type": "string"
  12860. },
  12861. "referral": {
  12862. "description": "推荐人编码",
  12863. "type": "string"
  12864. },
  12865. "remark": {
  12866. "description": "备注",
  12867. "type": "string"
  12868. },
  12869. "removebeforestatus": {
  12870. "description": "REMOVEBEFORESTATUS",
  12871. "type": "integer"
  12872. },
  12873. "sex": {
  12874. "description": "性别 - 0:女 1:男",
  12875. "type": "integer"
  12876. },
  12877. "signedstatus": {
  12878. "description": "账户一号签签约状态",
  12879. "type": "integer"
  12880. },
  12881. "signpdfurl": {
  12882. "description": "签约pdf文件",
  12883. "type": "string"
  12884. },
  12885. "subbranch": {
  12886. "description": "开户支行",
  12887. "type": "string"
  12888. },
  12889. "telphone": {
  12890. "description": "联系电话(加密存储)",
  12891. "type": "string"
  12892. },
  12893. "userid": {
  12894. "description": "用户ID(自增ID)",
  12895. "type": "integer"
  12896. },
  12897. "userinfotype": {
  12898. "description": "用户信息类型 - 1:个人 2:企业",
  12899. "type": "integer"
  12900. },
  12901. "username": {
  12902. "description": "用户姓名",
  12903. "type": "string"
  12904. },
  12905. "userstate": {
  12906. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12907. "type": "integer"
  12908. },
  12909. "usertype": {
  12910. "description": "用户类型 - 1:投资者 2:机构",
  12911. "type": "integer"
  12912. },
  12913. "videourl": {
  12914. "description": "视频地址",
  12915. "type": "string"
  12916. },
  12917. "wechat": {
  12918. "description": "微信号 (加密存储)",
  12919. "type": "string"
  12920. }
  12921. }
  12922. },
  12923. "erms3.CustomerInfo": {
  12924. "type": "object",
  12925. "required": [
  12926. "userid"
  12927. ],
  12928. "properties": {
  12929. "accountids": {
  12930. "description": "资金账户ID列表",
  12931. "type": "array",
  12932. "items": {
  12933. "type": "integer"
  12934. }
  12935. },
  12936. "customername": {
  12937. "description": "名称(企业名称)",
  12938. "type": "string"
  12939. },
  12940. "mobile": {
  12941. "description": "手机号码",
  12942. "type": "string"
  12943. },
  12944. "userid": {
  12945. "description": "用户ID",
  12946. "type": "integer"
  12947. }
  12948. }
  12949. },
  12950. "erms3.ModifyUserInfoApplyReq": {
  12951. "type": "object",
  12952. "required": [
  12953. "userid"
  12954. ],
  12955. "properties": {
  12956. "accountid": {
  12957. "description": "交易系统帐号Id (加密存储)",
  12958. "type": "integer"
  12959. },
  12960. "areacode": {
  12961. "description": "机构代码",
  12962. "type": "string"
  12963. },
  12964. "areaid": {
  12965. "description": "机构Id",
  12966. "type": "integer"
  12967. },
  12968. "attachment1": {
  12969. "description": "附件1",
  12970. "type": "string"
  12971. },
  12972. "attachment2": {
  12973. "description": "附件2",
  12974. "type": "string"
  12975. },
  12976. "attachment3": {
  12977. "description": "附件3",
  12978. "type": "string"
  12979. },
  12980. "attachment4": {
  12981. "description": "附件4",
  12982. "type": "string"
  12983. },
  12984. "attachment5": {
  12985. "description": "附件5",
  12986. "type": "string"
  12987. },
  12988. "auditedby": {
  12989. "description": "审核人",
  12990. "type": "string"
  12991. },
  12992. "auditime": {
  12993. "description": "审核时间",
  12994. "type": "string"
  12995. },
  12996. "bankaccount": {
  12997. "description": "银行帐号 (加密存储)",
  12998. "type": "string"
  12999. },
  13000. "bankaccountname": {
  13001. "description": "收款人名称",
  13002. "type": "string"
  13003. },
  13004. "bankcardbackphotourl": {
  13005. "description": "银行卡背面照地址",
  13006. "type": "string"
  13007. },
  13008. "bankcardfrontphotourl": {
  13009. "description": "银行卡正面照地址",
  13010. "type": "string"
  13011. },
  13012. "bankid": {
  13013. "description": "银行编码",
  13014. "type": "string"
  13015. },
  13016. "bankname": {
  13017. "description": "银行名称",
  13018. "type": "string"
  13019. },
  13020. "bankpictureurl": {
  13021. "description": "银行卡正面地址",
  13022. "type": "string"
  13023. },
  13024. "biznature": {
  13025. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13026. "type": "integer"
  13027. },
  13028. "bizscope": {
  13029. "description": "企业经营范围(企业)",
  13030. "type": "string"
  13031. },
  13032. "biztype": {
  13033. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13034. "type": "integer"
  13035. },
  13036. "brokerid": {
  13037. "description": "经纪人ID(加密存储)",
  13038. "type": "string"
  13039. },
  13040. "cardaddress": {
  13041. "description": "证件地址 (加密存储)",
  13042. "type": "string"
  13043. },
  13044. "cardbackphotourl": {
  13045. "description": "背面证件照地址",
  13046. "type": "string"
  13047. },
  13048. "cardfrontphotourl": {
  13049. "description": "正面证件照地址",
  13050. "type": "string"
  13051. },
  13052. "cardnum": {
  13053. "description": "证件号码 (加密存储)",
  13054. "type": "string"
  13055. },
  13056. "cardtype": {
  13057. "description": "证件类型",
  13058. "type": "integer"
  13059. },
  13060. "cityid": {
  13061. "description": "市",
  13062. "type": "integer"
  13063. },
  13064. "company": {
  13065. "description": "公司(个人)",
  13066. "type": "string"
  13067. },
  13068. "contactcardbackphotourl": {
  13069. "description": "联系人证件背面图片地址",
  13070. "type": "string"
  13071. },
  13072. "contactcardfrontphotourl": {
  13073. "description": "联系人证件正面图片地址",
  13074. "type": "string"
  13075. },
  13076. "contactname": {
  13077. "description": "联系人",
  13078. "type": "string"
  13079. },
  13080. "countryid": {
  13081. "description": "国家",
  13082. "type": "integer"
  13083. },
  13084. "createtime": {
  13085. "description": "开户申请时间",
  13086. "type": "string"
  13087. },
  13088. "cusbankid": {
  13089. "description": "签约类型",
  13090. "type": "string"
  13091. },
  13092. "cusbankname": {
  13093. "description": "签约类型名称",
  13094. "type": "string"
  13095. },
  13096. "customername": {
  13097. "description": "客户名称(企业名称)",
  13098. "type": "string"
  13099. },
  13100. "districtid": {
  13101. "description": "地区",
  13102. "type": "integer"
  13103. },
  13104. "email": {
  13105. "description": "Email地址(加密存储)",
  13106. "type": "string"
  13107. },
  13108. "halfbodyphotourl": {
  13109. "description": "半身照地址",
  13110. "type": "string"
  13111. },
  13112. "headurl": {
  13113. "description": "头像地址",
  13114. "type": "string"
  13115. },
  13116. "ipaddress": {
  13117. "description": "IP地址",
  13118. "type": "string"
  13119. },
  13120. "isvalidate": {
  13121. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13122. "type": "string"
  13123. },
  13124. "legalcardbackphotourl": {
  13125. "description": "法人身份证背面照地址",
  13126. "type": "string"
  13127. },
  13128. "legalcardfrontphotourl": {
  13129. "description": "法人身份证正面照地址",
  13130. "type": "string"
  13131. },
  13132. "legalpersonname": {
  13133. "description": "法人姓名(企业)",
  13134. "type": "string"
  13135. },
  13136. "logincode": {
  13137. "description": "登录帐号 (加密存储)",
  13138. "type": "string"
  13139. },
  13140. "memberareaid": {
  13141. "description": "所属会员ID",
  13142. "type": "integer"
  13143. },
  13144. "mobile2": {
  13145. "description": "手机号码[明文-尚志]",
  13146. "type": "string"
  13147. },
  13148. "mobilephone": {
  13149. "description": "手机号码 (加密存储)",
  13150. "type": "string"
  13151. },
  13152. "modifiedby": {
  13153. "description": "修改人帐号",
  13154. "type": "integer"
  13155. },
  13156. "modifiedtime": {
  13157. "description": "修改时间",
  13158. "type": "string"
  13159. },
  13160. "nickname": {
  13161. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13162. "type": "string"
  13163. },
  13164. "openmode": {
  13165. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13166. "type": "integer"
  13167. },
  13168. "otherurl": {
  13169. "description": "其它图片地址[使用分号分隔]",
  13170. "type": "string"
  13171. },
  13172. "postalcode": {
  13173. "description": "邮政编码",
  13174. "type": "string"
  13175. },
  13176. "provinceid": {
  13177. "description": "省",
  13178. "type": "integer"
  13179. },
  13180. "proxystatementurl": {
  13181. "description": "授权委托书",
  13182. "type": "string"
  13183. },
  13184. "qq": {
  13185. "description": "QQ(加密存储",
  13186. "type": "string"
  13187. },
  13188. "referral": {
  13189. "description": "推荐人编码",
  13190. "type": "string"
  13191. },
  13192. "remark": {
  13193. "description": "备注",
  13194. "type": "string"
  13195. },
  13196. "removebeforestatus": {
  13197. "description": "REMOVEBEFORESTATUS",
  13198. "type": "integer"
  13199. },
  13200. "sex": {
  13201. "description": "性别 - 0:女 1:男",
  13202. "type": "integer"
  13203. },
  13204. "signedstatus": {
  13205. "description": "账户一号签签约状态",
  13206. "type": "integer"
  13207. },
  13208. "signpdfurl": {
  13209. "description": "签约pdf文件",
  13210. "type": "string"
  13211. },
  13212. "subbranch": {
  13213. "description": "开户支行",
  13214. "type": "string"
  13215. },
  13216. "telphone": {
  13217. "description": "联系电话(加密存储)",
  13218. "type": "string"
  13219. },
  13220. "userid": {
  13221. "description": "用户ID(自增ID)",
  13222. "type": "integer"
  13223. },
  13224. "userinfotype": {
  13225. "description": "用户信息类型 - 1:个人 2:企业",
  13226. "type": "integer"
  13227. },
  13228. "username": {
  13229. "description": "用户姓名",
  13230. "type": "string"
  13231. },
  13232. "userstate": {
  13233. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13234. "type": "integer"
  13235. },
  13236. "usertype": {
  13237. "description": "用户类型 - 1:投资者 2:机构",
  13238. "type": "integer"
  13239. },
  13240. "videourl": {
  13241. "description": "视频地址",
  13242. "type": "string"
  13243. },
  13244. "wechat": {
  13245. "description": "微信号 (加密存储)",
  13246. "type": "string"
  13247. }
  13248. }
  13249. },
  13250. "erms3.QryAuditContractRsp": {
  13251. "type": "object",
  13252. "required": [
  13253. "matchcustomername",
  13254. "spotcontractid"
  13255. ],
  13256. "properties": {
  13257. "accountid": {
  13258. "description": "交易员ID",
  13259. "type": "string"
  13260. },
  13261. "applystatus": {
  13262. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13263. "type": "integer"
  13264. },
  13265. "curdeliveryqty": {
  13266. "description": "未交收量",
  13267. "type": "integer"
  13268. },
  13269. "customername": {
  13270. "description": "采购方ID",
  13271. "type": "string"
  13272. },
  13273. "deliverygoodsid": {
  13274. "description": "品种ID",
  13275. "type": "string"
  13276. },
  13277. "deliveryqty": {
  13278. "description": "交收量",
  13279. "type": "integer"
  13280. },
  13281. "enumdicname": {
  13282. "description": "单位名称",
  13283. "type": "string"
  13284. },
  13285. "matchaccountid": {
  13286. "description": "业务员ID",
  13287. "type": "string"
  13288. },
  13289. "matchcustomername": {
  13290. "description": "销售方ID",
  13291. "type": "string"
  13292. },
  13293. "pricedqty": {
  13294. "description": "定价量",
  13295. "type": "number"
  13296. },
  13297. "signdate": {
  13298. "description": "签订日期",
  13299. "type": "string"
  13300. },
  13301. "spotcontractid": {
  13302. "description": "合同ID",
  13303. "type": "string"
  13304. },
  13305. "totaldqty": {
  13306. "description": "合同量",
  13307. "type": "number"
  13308. },
  13309. "unpricedqty": {
  13310. "description": "未定价量",
  13311. "type": "number"
  13312. },
  13313. "wrstandardname": {
  13314. "description": "商品名称",
  13315. "type": "string"
  13316. }
  13317. }
  13318. },
  13319. "erms3.QryPendingBizRsp": {
  13320. "type": "object",
  13321. "properties": {
  13322. "accountid": {
  13323. "description": "现货账户",
  13324. "type": "string"
  13325. },
  13326. "areaname": {
  13327. "description": "所属部门",
  13328. "type": "string"
  13329. },
  13330. "bizid": {
  13331. "description": "业务ID",
  13332. "type": "string"
  13333. },
  13334. "bizname": {
  13335. "description": "业务名称",
  13336. "type": "string"
  13337. },
  13338. "status": {
  13339. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13340. "type": "integer"
  13341. },
  13342. "type": {
  13343. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  13344. "type": "integer"
  13345. }
  13346. }
  13347. },
  13348. "erms3.QueryBusinessInfoRsp": {
  13349. "type": "object",
  13350. "properties": {
  13351. "businessid": {
  13352. "description": "业务ID.",
  13353. "type": "integer"
  13354. },
  13355. "buyamount": {
  13356. "description": "采购额.",
  13357. "type": "number"
  13358. },
  13359. "buyqty": {
  13360. "description": "采购量.",
  13361. "type": "string"
  13362. },
  13363. "futurepl": {
  13364. "description": "期货盈亏.",
  13365. "type": "number"
  13366. },
  13367. "futureqty": {
  13368. "description": "期货敞口.",
  13369. "type": "string"
  13370. },
  13371. "goodsid": {
  13372. "description": "商品名称/商品代码.",
  13373. "type": "string"
  13374. },
  13375. "hedgingqty": {
  13376. "description": "套保量.",
  13377. "type": "string"
  13378. },
  13379. "sellamount": {
  13380. "description": "销售额.",
  13381. "type": "number"
  13382. },
  13383. "sellqty": {
  13384. "description": "销售量.",
  13385. "type": "string"
  13386. },
  13387. "spotmarketvalue": {
  13388. "description": "现货市值.",
  13389. "type": "number"
  13390. },
  13391. "spotpl": {
  13392. "description": "浮动权益.",
  13393. "type": "number"
  13394. },
  13395. "spotqty": {
  13396. "description": "现货量.",
  13397. "type": "string"
  13398. },
  13399. "statu": {
  13400. "description": "状态,0-未结束 1-已结束.",
  13401. "type": "integer"
  13402. },
  13403. "totalpl": {
  13404. "description": "总盈亏.",
  13405. "type": "number"
  13406. },
  13407. "totalqty": {
  13408. "description": "总敞口.",
  13409. "type": "string"
  13410. },
  13411. "type": {
  13412. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  13413. "type": "integer"
  13414. }
  13415. }
  13416. },
  13417. "erms3.QuerySpotContractAppleFormRsp": {
  13418. "type": "object",
  13419. "properties": {
  13420. "goodses": {
  13421. "description": "合约列表",
  13422. "type": "array",
  13423. "items": {
  13424. "$ref": "#/definitions/models.GoodsIDAndName"
  13425. }
  13426. },
  13427. "oppositeusers": {
  13428. "description": "对方账号列表",
  13429. "type": "array",
  13430. "items": {
  13431. "$ref": "#/definitions/erms3.CustomerInfo"
  13432. }
  13433. },
  13434. "ouruser": {
  13435. "description": "我方账号",
  13436. "$ref": "#/definitions/erms3.CustomerInfo"
  13437. },
  13438. "warehouseinfos": {
  13439. "description": "仓库信息列表",
  13440. "type": "array",
  13441. "items": {
  13442. "$ref": "#/definitions/models.Warehouseinfo"
  13443. }
  13444. },
  13445. "wrstandards": {
  13446. "description": "仓单标准列表",
  13447. "type": "array",
  13448. "items": {
  13449. "$ref": "#/definitions/models.WRStandardInfo"
  13450. }
  13451. }
  13452. }
  13453. },
  13454. "erms3.QuerySpotContractInfoRsp": {
  13455. "type": "object",
  13456. "properties": {
  13457. "accountid": {
  13458. "description": "表示交易员ID.",
  13459. "type": "integer"
  13460. },
  13461. "curdeliveryqty": {
  13462. "description": "表示未交收量.",
  13463. "type": "number"
  13464. },
  13465. "customername": {
  13466. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  13467. "type": "string"
  13468. },
  13469. "deliverygoodsid": {
  13470. "description": "表示品种ID.",
  13471. "type": "string"
  13472. },
  13473. "deliveryqty": {
  13474. "description": "表示交收量.",
  13475. "type": "number"
  13476. },
  13477. "matchaccountid": {
  13478. "description": "表示业务员ID.",
  13479. "type": "integer"
  13480. },
  13481. "matchcustomername": {
  13482. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  13483. "type": "string"
  13484. },
  13485. "priceqty": {
  13486. "description": "表示定价量.",
  13487. "type": "number"
  13488. },
  13489. "relatedbizid": {
  13490. "description": "表示业务ID.",
  13491. "type": "string"
  13492. },
  13493. "signdate": {
  13494. "description": "表示签订日期.",
  13495. "type": "string"
  13496. },
  13497. "spotcontractid": {
  13498. "description": "合同ID",
  13499. "type": "string"
  13500. },
  13501. "status": {
  13502. "description": "表示状态,0-履约中 1-已完成.",
  13503. "type": "integer"
  13504. },
  13505. "totalqty": {
  13506. "description": "表示合同量.",
  13507. "type": "number"
  13508. },
  13509. "unpricedqty": {
  13510. "description": "表示未定价量.",
  13511. "type": "number"
  13512. },
  13513. "wrstandardname": {
  13514. "description": "表示商品ID.",
  13515. "type": "string"
  13516. }
  13517. }
  13518. },
  13519. "erms3.QueryUserInfoAppliesRsp": {
  13520. "type": "object",
  13521. "required": [
  13522. "userid"
  13523. ],
  13524. "properties": {
  13525. "biznature": {
  13526. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13527. "type": "integer"
  13528. },
  13529. "contactname": {
  13530. "description": "联系人",
  13531. "type": "string"
  13532. },
  13533. "createtime": {
  13534. "description": "开户申请时间",
  13535. "type": "string"
  13536. },
  13537. "userid": {
  13538. "description": "用户ID(自增ID)",
  13539. "type": "integer"
  13540. },
  13541. "userinfotype": {
  13542. "description": "用户信息类型 - 1:个人 2:企业",
  13543. "type": "integer"
  13544. },
  13545. "username": {
  13546. "description": "用户姓名",
  13547. "type": "string"
  13548. },
  13549. "userstate": {
  13550. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13551. "type": "integer"
  13552. }
  13553. }
  13554. },
  13555. "erms3.QueryUserInfosRsp": {
  13556. "type": "object",
  13557. "required": [
  13558. "userid"
  13559. ],
  13560. "properties": {
  13561. "biznature": {
  13562. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13563. "type": "integer"
  13564. },
  13565. "contactname": {
  13566. "description": "联系人",
  13567. "type": "string"
  13568. },
  13569. "customername": {
  13570. "description": "客户名称(企业名称)",
  13571. "type": "string"
  13572. },
  13573. "userid": {
  13574. "description": "用户ID",
  13575. "type": "integer"
  13576. },
  13577. "userinfotype": {
  13578. "description": "用户信息类型 - 1:个人 2:企业",
  13579. "type": "integer"
  13580. },
  13581. "userstatus": {
  13582. "description": "用户状态 - 1:正常 2:注销",
  13583. "type": "integer"
  13584. }
  13585. }
  13586. },
  13587. "erms3.SoptContractDetail": {
  13588. "type": "object",
  13589. "required": [
  13590. "deliverygoodsid",
  13591. "producttype",
  13592. "unitname",
  13593. "warehouseid",
  13594. "wrstandardid",
  13595. "wrstandardname"
  13596. ],
  13597. "properties": {
  13598. "deliverygoodsdesc": {
  13599. "description": "现货品种说明",
  13600. "type": "string"
  13601. },
  13602. "deliverygoodsid": {
  13603. "description": "现货品种ID",
  13604. "type": "integer"
  13605. },
  13606. "deliverygoodsname": {
  13607. "description": "现货品种名称",
  13608. "type": "string"
  13609. },
  13610. "pointdesc": {
  13611. "description": "点价描述",
  13612. "type": "string"
  13613. },
  13614. "producttype": {
  13615. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13616. "type": "integer"
  13617. },
  13618. "producttypename": {
  13619. "description": "产品类型名称",
  13620. "type": "string"
  13621. },
  13622. "spotPointOrderVoList": {
  13623. "description": "点价列表",
  13624. "type": "array",
  13625. "items": {
  13626. "$ref": "#/definitions/erms3.SpotPointOrder"
  13627. }
  13628. },
  13629. "spotPriceOrderList": {
  13630. "description": "定价列表",
  13631. "type": "array",
  13632. "items": {
  13633. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13634. }
  13635. },
  13636. "unitname": {
  13637. "description": "单位名称",
  13638. "type": "string"
  13639. },
  13640. "warehouseid": {
  13641. "description": "仓库ID",
  13642. "type": "integer"
  13643. },
  13644. "warehousename": {
  13645. "description": "仓库名称",
  13646. "type": "string"
  13647. },
  13648. "wrstandardid": {
  13649. "description": "交易标的ID",
  13650. "type": "integer"
  13651. },
  13652. "wrstandardname": {
  13653. "description": "交易标的名称",
  13654. "type": "string"
  13655. }
  13656. }
  13657. },
  13658. "erms3.SpotPointOrder": {
  13659. "type": "object",
  13660. "required": [
  13661. "basic",
  13662. "goodsid",
  13663. "qty"
  13664. ],
  13665. "properties": {
  13666. "basic": {
  13667. "description": "基差",
  13668. "type": "number"
  13669. },
  13670. "deliveryenddate": {
  13671. "description": "交收结束日期",
  13672. "type": "string"
  13673. },
  13674. "deliverystartdate": {
  13675. "description": "交收开始日期",
  13676. "type": "string"
  13677. },
  13678. "enddate": {
  13679. "description": "点价结束日期",
  13680. "type": "string"
  13681. },
  13682. "goodsid": {
  13683. "description": "商品ID",
  13684. "type": "integer"
  13685. },
  13686. "goodsname": {
  13687. "description": "商品名称",
  13688. "type": "string"
  13689. },
  13690. "qty": {
  13691. "description": "数量",
  13692. "type": "number"
  13693. },
  13694. "startdate": {
  13695. "description": "点价开始日期",
  13696. "type": "string"
  13697. }
  13698. }
  13699. },
  13700. "erms3.SpotPriceOrder": {
  13701. "type": "object",
  13702. "required": [
  13703. "amount",
  13704. "price",
  13705. "qty"
  13706. ],
  13707. "properties": {
  13708. "amount": {
  13709. "description": "金额",
  13710. "type": "number"
  13711. },
  13712. "deliveryenddate": {
  13713. "description": "交收结束日期",
  13714. "type": "string"
  13715. },
  13716. "deliverystartdate": {
  13717. "description": "交收开始日期",
  13718. "type": "string"
  13719. },
  13720. "price": {
  13721. "description": "价格",
  13722. "type": "number"
  13723. },
  13724. "qty": {
  13725. "description": "数量",
  13726. "type": "number"
  13727. }
  13728. }
  13729. },
  13730. "hsby.GetHsbyMyCountRsp": {
  13731. "type": "object",
  13732. "properties": {
  13733. "myCouponCount": {
  13734. "description": "我的优惠卷数量",
  13735. "type": "integer"
  13736. },
  13737. "myOrderDetailListingCount": {
  13738. "description": "我的订单求购中数量",
  13739. "type": "integer"
  13740. },
  13741. "myOrderDetailPreCount": {
  13742. "description": "我的订单抢购中数量",
  13743. "type": "integer"
  13744. },
  13745. "myPackageUnReceiveCount": {
  13746. "description": "我的包裹待收货数量",
  13747. "type": "integer"
  13748. },
  13749. "myPackageUnSendCount": {
  13750. "description": "我的包裹待发货数量",
  13751. "type": "integer"
  13752. },
  13753. "myPayOrderCount": {
  13754. "description": "我的订单待付款数量",
  13755. "type": "integer"
  13756. }
  13757. }
  13758. },
  13759. "hsby.QueryProvincesAndCitiesRsp": {
  13760. "type": "object",
  13761. "properties": {
  13762. "cities": {
  13763. "description": "市",
  13764. "type": "array",
  13765. "items": {
  13766. "$ref": "#/definitions/models.Division"
  13767. }
  13768. },
  13769. "province": {
  13770. "description": "省",
  13771. "$ref": "#/definitions/models.Division"
  13772. }
  13773. }
  13774. },
  13775. "models.Clientfixedadconfig": {
  13776. "type": "object",
  13777. "required": [
  13778. "adsort",
  13779. "adtype"
  13780. ],
  13781. "properties": {
  13782. "adsort": {
  13783. "description": "排序",
  13784. "type": "integer"
  13785. },
  13786. "adtype": {
  13787. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13788. "type": "integer"
  13789. },
  13790. "areauserid": {
  13791. "description": "所属机构ID",
  13792. "type": "integer"
  13793. },
  13794. "createdate": {
  13795. "description": "创建时间",
  13796. "type": "string"
  13797. },
  13798. "creatorid": {
  13799. "description": "创建人",
  13800. "type": "integer"
  13801. },
  13802. "imagepath": {
  13803. "description": "图片",
  13804. "type": "string"
  13805. },
  13806. "isshow": {
  13807. "description": "是否展示 - 0:不展示 1:展示",
  13808. "type": "integer"
  13809. },
  13810. "modifierid": {
  13811. "description": "操作人",
  13812. "type": "integer"
  13813. },
  13814. "recsize": {
  13815. "description": "推荐尺寸",
  13816. "type": "string"
  13817. },
  13818. "title": {
  13819. "description": "标题",
  13820. "type": "string"
  13821. },
  13822. "updatedate": {
  13823. "description": "更新时间",
  13824. "type": "string"
  13825. },
  13826. "urlcontent": {
  13827. "description": "链接(地址或商品ID)",
  13828. "type": "string"
  13829. },
  13830. "urltype": {
  13831. "description": "链接类型 - 1:直接地址 2:商品ID",
  13832. "type": "integer"
  13833. }
  13834. }
  13835. },
  13836. "models.Division": {
  13837. "type": "object",
  13838. "required": [
  13839. "autoid",
  13840. "divisioncode"
  13841. ],
  13842. "properties": {
  13843. "autoid": {
  13844. "description": "自增ID",
  13845. "type": "integer"
  13846. },
  13847. "divisioncode": {
  13848. "description": "行政代码",
  13849. "type": "string"
  13850. },
  13851. "divisionlevel": {
  13852. "description": "行政级别",
  13853. "type": "string"
  13854. },
  13855. "divisionname": {
  13856. "description": "行政名称",
  13857. "type": "string"
  13858. },
  13859. "modifierid": {
  13860. "description": "修改人",
  13861. "type": "integer"
  13862. },
  13863. "modifytime": {
  13864. "description": "修改时间",
  13865. "type": "string"
  13866. },
  13867. "parentcode": {
  13868. "description": "上级行政代码",
  13869. "type": "string"
  13870. },
  13871. "pathname": {
  13872. "description": "路径名称",
  13873. "type": "string"
  13874. },
  13875. "postcode": {
  13876. "description": "邮政编码",
  13877. "type": "string"
  13878. },
  13879. "separablename": {
  13880. "description": "可拆分的全称",
  13881. "type": "string"
  13882. },
  13883. "shortcode": {
  13884. "description": "地区简码",
  13885. "type": "string"
  13886. }
  13887. }
  13888. },
  13889. "models.Enumdicitem": {
  13890. "type": "object",
  13891. "required": [
  13892. "autoid",
  13893. "enumdiccode",
  13894. "enumdicid",
  13895. "enumitemname"
  13896. ],
  13897. "properties": {
  13898. "autoid": {
  13899. "description": "自增ID",
  13900. "type": "integer"
  13901. },
  13902. "bankmappedvalue": {
  13903. "description": "银行服务对应值",
  13904. "type": "string"
  13905. },
  13906. "enumdiccode": {
  13907. "description": "所属枚举代码",
  13908. "type": "string"
  13909. },
  13910. "enumdicid": {
  13911. "description": "所属枚举ID",
  13912. "type": "integer"
  13913. },
  13914. "enumdicname": {
  13915. "description": "枚举项名称",
  13916. "type": "string"
  13917. },
  13918. "enumitemname": {
  13919. "description": "枚举项值",
  13920. "type": "integer"
  13921. },
  13922. "enumitemstatus": {
  13923. "description": "枚举项状态 - 1.启用 2.不启用",
  13924. "type": "integer"
  13925. },
  13926. "enumitemvalue": {
  13927. "description": "通用值 - [币种通用简写]",
  13928. "type": "string"
  13929. },
  13930. "param1": {
  13931. "description": "参数1[币种:币种小数位]",
  13932. "type": "string"
  13933. },
  13934. "param2": {
  13935. "description": "参数1[币种:币种显示单位]",
  13936. "type": "string"
  13937. },
  13938. "remark": {
  13939. "description": "备注",
  13940. "type": "string"
  13941. }
  13942. }
  13943. },
  13944. "models.ErmcpAreaStock": {
  13945. "type": "object",
  13946. "properties": {
  13947. "brandname": {
  13948. "description": "品牌名称",
  13949. "type": "string"
  13950. },
  13951. "curstock": {
  13952. "description": "期末库存量(今日量)",
  13953. "type": "number"
  13954. },
  13955. "deliverygoodsid": {
  13956. "description": "现货品种ID",
  13957. "type": "integer"
  13958. },
  13959. "enumdicname": {
  13960. "description": "单位名称",
  13961. "type": "string"
  13962. },
  13963. "modelname": {
  13964. "description": "型号名称",
  13965. "type": "string"
  13966. },
  13967. "oristock": {
  13968. "description": "期初库存量(昨日量)",
  13969. "type": "number"
  13970. },
  13971. "spotgoodsbrandid": {
  13972. "description": "现货品牌ID",
  13973. "type": "integer"
  13974. },
  13975. "spotgoodsmodelid": {
  13976. "description": "现货型号ID",
  13977. "type": "integer"
  13978. },
  13979. "todaybuyinqty": {
  13980. "description": "今日采购入库量",
  13981. "type": "number"
  13982. },
  13983. "todayproduceinqty": {
  13984. "description": "今日生产入库量",
  13985. "type": "number"
  13986. },
  13987. "todayproduceoutqty": {
  13988. "description": "今日生产出库量",
  13989. "type": "number"
  13990. },
  13991. "todayselloutqty": {
  13992. "description": "今日销售出库量",
  13993. "type": "number"
  13994. },
  13995. "unitid": {
  13996. "description": "单位id",
  13997. "type": "integer"
  13998. },
  13999. "updatetime": {
  14000. "description": "更新时间",
  14001. "type": "string"
  14002. },
  14003. "userid": {
  14004. "description": "机构ID",
  14005. "type": "integer"
  14006. },
  14007. "username": {
  14008. "description": "机构名称",
  14009. "type": "string"
  14010. },
  14011. "warehousecode": {
  14012. "description": "仓库代码",
  14013. "type": "string"
  14014. },
  14015. "warehouseinfoid": {
  14016. "description": "仓库ID",
  14017. "type": "string"
  14018. },
  14019. "warehousename": {
  14020. "description": "仓库名称",
  14021. "type": "string"
  14022. },
  14023. "warehousetype": {
  14024. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14025. "type": "integer"
  14026. },
  14027. "wrstandardcode": {
  14028. "description": "现货商品代码",
  14029. "type": "string"
  14030. },
  14031. "wrstandardid": {
  14032. "description": "现货商品ID",
  14033. "type": "string"
  14034. },
  14035. "wrstandardname": {
  14036. "description": "现货商品名称",
  14037. "type": "string"
  14038. }
  14039. }
  14040. },
  14041. "models.ErmcpAreaStockApply": {
  14042. "type": "object",
  14043. "properties": {
  14044. "applyid": {
  14045. "description": "申请人",
  14046. "type": "integer"
  14047. },
  14048. "applyname": {
  14049. "description": "申请人名称",
  14050. "type": "string"
  14051. },
  14052. "applyremark": {
  14053. "description": "申请备注",
  14054. "type": "string"
  14055. },
  14056. "applysrc": {
  14057. "description": "申请来源 - 1:管理端 2:终端",
  14058. "type": "integer"
  14059. },
  14060. "applystatus": {
  14061. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14062. "type": "integer"
  14063. },
  14064. "applytime": {
  14065. "description": "申请时间",
  14066. "type": "string"
  14067. },
  14068. "auditid": {
  14069. "description": "审核人",
  14070. "type": "integer"
  14071. },
  14072. "auditname": {
  14073. "description": "审核人名称",
  14074. "type": "string"
  14075. },
  14076. "auditremark": {
  14077. "description": "审核备注",
  14078. "type": "string"
  14079. },
  14080. "auditsrc": {
  14081. "description": "审核来源 - 1:管理端 2:终端",
  14082. "type": "integer"
  14083. },
  14084. "audittime": {
  14085. "description": "审核时间",
  14086. "type": "string"
  14087. },
  14088. "audittradedate": {
  14089. "description": "审核交易日(yyyyMMdd)",
  14090. "type": "string"
  14091. },
  14092. "brandname": {
  14093. "description": "品牌名称",
  14094. "type": "string"
  14095. },
  14096. "buyuserid": {
  14097. "description": "采购方userid",
  14098. "type": "integer"
  14099. },
  14100. "buyusername": {
  14101. "description": "采购方名称",
  14102. "type": "string"
  14103. },
  14104. "contractno": {
  14105. "description": "合同编号",
  14106. "type": "string"
  14107. },
  14108. "contractqty": {
  14109. "description": "合同量",
  14110. "type": "number"
  14111. },
  14112. "contracttype": {
  14113. "description": "现货合同类型 - 1:采购 -1:销售",
  14114. "type": "integer"
  14115. },
  14116. "deliverygoodsid": {
  14117. "description": "现货品种ID",
  14118. "type": "integer"
  14119. },
  14120. "enumdicname": {
  14121. "description": "现货商品单位名称",
  14122. "type": "string"
  14123. },
  14124. "inoutapplyid": {
  14125. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14126. "type": "string"
  14127. },
  14128. "inouttype": {
  14129. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14130. "type": "integer"
  14131. },
  14132. "modelname": {
  14133. "description": "型号名称",
  14134. "type": "string"
  14135. },
  14136. "pricetype": {
  14137. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14138. "type": "integer"
  14139. },
  14140. "qty": {
  14141. "description": "数量",
  14142. "type": "number"
  14143. },
  14144. "selluserid": {
  14145. "description": "销售方userid",
  14146. "type": "integer"
  14147. },
  14148. "sellusername": {
  14149. "description": "销售方名称",
  14150. "type": "string"
  14151. },
  14152. "spotcontractid": {
  14153. "description": "关联现货合同ID",
  14154. "type": "string"
  14155. },
  14156. "spotgoodsbrandid": {
  14157. "description": "现货品牌ID",
  14158. "type": "integer"
  14159. },
  14160. "spotgoodsmodelid": {
  14161. "description": "现货型号ID",
  14162. "type": "integer"
  14163. },
  14164. "unitid": {
  14165. "description": "单位id",
  14166. "type": "integer"
  14167. },
  14168. "userid": {
  14169. "description": "机构ID",
  14170. "type": "integer"
  14171. },
  14172. "warehousecode": {
  14173. "description": "仓库代码",
  14174. "type": "string"
  14175. },
  14176. "warehouseinfoid": {
  14177. "description": "现货仓库ID",
  14178. "type": "string"
  14179. },
  14180. "warehousename": {
  14181. "description": "仓库名称",
  14182. "type": "string"
  14183. },
  14184. "warehousetype": {
  14185. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14186. "type": "integer"
  14187. },
  14188. "wrstandardcode": {
  14189. "description": "现货商品代码",
  14190. "type": "string"
  14191. },
  14192. "wrstandardid": {
  14193. "description": "现货商品ID",
  14194. "type": "string"
  14195. },
  14196. "wrstandardname": {
  14197. "description": "现货商品名称",
  14198. "type": "string"
  14199. }
  14200. }
  14201. },
  14202. "models.ErmcpAreaStockReport": {
  14203. "type": "object",
  14204. "properties": {
  14205. "brandname": {
  14206. "description": "品牌名称",
  14207. "type": "string"
  14208. },
  14209. "curstock": {
  14210. "description": "期末库存量",
  14211. "type": "number"
  14212. },
  14213. "deliverygoodsid": {
  14214. "description": "现货品种ID",
  14215. "type": "integer"
  14216. },
  14217. "enumdicname": {
  14218. "description": "单位名称",
  14219. "type": "string"
  14220. },
  14221. "modelname": {
  14222. "description": "型号名称",
  14223. "type": "string"
  14224. },
  14225. "oristock": {
  14226. "description": "期初库存量",
  14227. "type": "number"
  14228. },
  14229. "spotgoodsbrandid": {
  14230. "description": "现货品牌ID",
  14231. "type": "integer"
  14232. },
  14233. "spotgoodsmodelid": {
  14234. "description": "现货型号ID",
  14235. "type": "integer"
  14236. },
  14237. "todaybuyinqty": {
  14238. "description": "今日采购入库量",
  14239. "type": "number"
  14240. },
  14241. "todayproduceinqty": {
  14242. "description": "今日生产入库量",
  14243. "type": "number"
  14244. },
  14245. "todayproduceoutqty": {
  14246. "description": "今日生产出库量",
  14247. "type": "number"
  14248. },
  14249. "todayselloutqty": {
  14250. "description": "今日销售出库量",
  14251. "type": "number"
  14252. },
  14253. "unitid": {
  14254. "description": "单位id",
  14255. "type": "integer"
  14256. },
  14257. "updatetime": {
  14258. "description": "更新时间",
  14259. "type": "string"
  14260. },
  14261. "userid": {
  14262. "description": "机构ID",
  14263. "type": "integer"
  14264. },
  14265. "username": {
  14266. "description": "机构名称",
  14267. "type": "string"
  14268. },
  14269. "warehousecode": {
  14270. "description": "仓库代码",
  14271. "type": "string"
  14272. },
  14273. "warehouseinfoid": {
  14274. "description": "仓库ID",
  14275. "type": "string"
  14276. },
  14277. "warehousename": {
  14278. "description": "仓库名称",
  14279. "type": "string"
  14280. },
  14281. "warehousetype": {
  14282. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14283. "type": "integer"
  14284. },
  14285. "wrstandardcode": {
  14286. "description": "现货商品代码",
  14287. "type": "string"
  14288. },
  14289. "wrstandardid": {
  14290. "description": "现货商品ID",
  14291. "type": "string"
  14292. },
  14293. "wrstandardname": {
  14294. "description": "现货商品名称",
  14295. "type": "string"
  14296. }
  14297. }
  14298. },
  14299. "models.ErmcpBizGroupEx": {
  14300. "type": "object",
  14301. "properties": {
  14302. "acclist": {
  14303. "description": "账号列表",
  14304. "type": "array",
  14305. "items": {
  14306. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  14307. }
  14308. },
  14309. "bizgroupid": {
  14310. "description": "业务分组id",
  14311. "type": "integer"
  14312. },
  14313. "biztype": {
  14314. "description": "业务类型 1-套保 2-套利",
  14315. "type": "integer"
  14316. },
  14317. "wrlist": {
  14318. "description": "现货商品表表",
  14319. "type": "array",
  14320. "items": {
  14321. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  14322. }
  14323. }
  14324. }
  14325. },
  14326. "models.ErmcpBizGroupSpotGoods": {
  14327. "type": "object",
  14328. "properties": {
  14329. "areauserid": {
  14330. "description": "所属机构id",
  14331. "type": "integer"
  14332. },
  14333. "bizgroupid": {
  14334. "description": "分组id",
  14335. "type": "integer"
  14336. },
  14337. "biztype": {
  14338. "description": "业务类型 1-套保 2-套利",
  14339. "type": "integer"
  14340. },
  14341. "unitid": {
  14342. "description": "现货商品单位id",
  14343. "type": "integer"
  14344. },
  14345. "wrstandardcode": {
  14346. "description": "现货商品代码",
  14347. "type": "string"
  14348. },
  14349. "wrstandardid": {
  14350. "description": "现货商品id",
  14351. "type": "integer"
  14352. },
  14353. "wrstandardname": {
  14354. "description": "现货商品名称",
  14355. "type": "string"
  14356. }
  14357. }
  14358. },
  14359. "models.ErmcpBizGroupTaAccount": {
  14360. "type": "object",
  14361. "properties": {
  14362. "accountid": {
  14363. "description": "账号id",
  14364. "type": "string"
  14365. },
  14366. "accountname": {
  14367. "description": "账号名称",
  14368. "type": "string"
  14369. },
  14370. "areauserid": {
  14371. "description": "所属机构id",
  14372. "type": "integer"
  14373. },
  14374. "bizgroupid": {
  14375. "description": "业务分组id",
  14376. "type": "integer"
  14377. },
  14378. "ismain": {
  14379. "description": "是否主账号 1-是 0-否",
  14380. "type": "integer"
  14381. }
  14382. }
  14383. },
  14384. "models.ErmcpFuturesCompany": {
  14385. "type": "object",
  14386. "properties": {
  14387. "brokerid": {
  14388. "description": "经纪公司代码",
  14389. "type": "string"
  14390. },
  14391. "channeladdress": {
  14392. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  14393. "type": "string"
  14394. },
  14395. "channelid": {
  14396. "description": "对冲渠道ID",
  14397. "type": "string"
  14398. },
  14399. "createtime": {
  14400. "description": "创建时间",
  14401. "type": "string"
  14402. },
  14403. "creatorid": {
  14404. "description": "创建人",
  14405. "type": "string"
  14406. },
  14407. "fcid": {
  14408. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  14409. "type": "integer"
  14410. },
  14411. "fcname": {
  14412. "description": "期货公司名称",
  14413. "type": "string"
  14414. },
  14415. "isvalid": {
  14416. "description": "是否有效 - 0:无效 1:有效",
  14417. "type": "integer"
  14418. },
  14419. "mhpaddress": {
  14420. "description": "MHP服务地址(IP:Port)",
  14421. "type": "string"
  14422. },
  14423. "riskrulegroupid": {
  14424. "description": "风控规则组ID",
  14425. "type": "string"
  14426. },
  14427. "tradefeetmpid": {
  14428. "description": "手续费模板ID[TradeConfigTmpType为2]",
  14429. "type": "string"
  14430. },
  14431. "trademargintmpid": {
  14432. "description": "保证金模板ID [TradeConfigTmpType为1]",
  14433. "type": "string"
  14434. },
  14435. "traderatetmpid": {
  14436. "description": "汇率模板ID[TradeConfigTmpType为3]",
  14437. "type": "string"
  14438. },
  14439. "updatetime": {
  14440. "description": "更新时间",
  14441. "type": "string"
  14442. },
  14443. "updatorid": {
  14444. "description": "更新人",
  14445. "type": "string"
  14446. }
  14447. }
  14448. },
  14449. "models.ErmcpGGConvertCfg": {
  14450. "type": "object",
  14451. "properties": {
  14452. "convertratio": {
  14453. "description": "折算系数",
  14454. "type": "number"
  14455. },
  14456. "destgoodsgroupid": {
  14457. "description": "目标品种ID",
  14458. "type": "integer"
  14459. },
  14460. "dstcode": {
  14461. "description": "目录品种代码",
  14462. "type": "string"
  14463. },
  14464. "dstexchangecode": {
  14465. "description": "目标期货交易所",
  14466. "type": "string"
  14467. },
  14468. "dstname": {
  14469. "description": "目标品种名称",
  14470. "type": "string"
  14471. },
  14472. "dstunitid": {
  14473. "description": "目标品种单位ID",
  14474. "type": "integer"
  14475. },
  14476. "dstunitidname": {
  14477. "description": "目标品种单位名称",
  14478. "type": "string"
  14479. },
  14480. "modifytime": {
  14481. "description": "修改时间",
  14482. "type": "string"
  14483. },
  14484. "srccode": {
  14485. "description": "源品种代码",
  14486. "type": "string"
  14487. },
  14488. "srcexchangecode": {
  14489. "description": "源期货交易所",
  14490. "type": "string"
  14491. },
  14492. "srcgoodsgroupid": {
  14493. "description": "源品种ID",
  14494. "type": "integer"
  14495. },
  14496. "srcname": {
  14497. "description": "源品种名称",
  14498. "type": "string"
  14499. },
  14500. "srcunitid": {
  14501. "description": "源品种单位ID",
  14502. "type": "integer"
  14503. },
  14504. "srcunitidname": {
  14505. "description": "源品种单位名称",
  14506. "type": "string"
  14507. }
  14508. }
  14509. },
  14510. "models.ErmcpGoodsBrand": {
  14511. "type": "object",
  14512. "properties": {
  14513. "areauserid": {
  14514. "description": "所属机构",
  14515. "type": "integer"
  14516. },
  14517. "brandid": {
  14518. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  14519. "type": "integer"
  14520. },
  14521. "brandname": {
  14522. "description": "品牌名称",
  14523. "type": "string"
  14524. },
  14525. "createtime": {
  14526. "description": "创建时间",
  14527. "type": "string"
  14528. },
  14529. "creatorid": {
  14530. "description": "创建人",
  14531. "type": "integer"
  14532. },
  14533. "creatorsrc": {
  14534. "description": "创建人来源 - 1:管理端 2:终端",
  14535. "type": "integer"
  14536. },
  14537. "deliverygoodsid": {
  14538. "description": "现货品种ID",
  14539. "type": "integer"
  14540. },
  14541. "isvalid": {
  14542. "description": "是否有效 - 0:无效 1:有效",
  14543. "type": "integer"
  14544. },
  14545. "updatetime": {
  14546. "description": "更新时间",
  14547. "type": "string"
  14548. },
  14549. "updatorid": {
  14550. "description": "更新人",
  14551. "type": "integer"
  14552. },
  14553. "updatorsrc": {
  14554. "description": "更新人来源 - 1:管理端 2:终端",
  14555. "type": "integer"
  14556. },
  14557. "wrstandardid": {
  14558. "description": "现货商品ID",
  14559. "type": "integer"
  14560. }
  14561. }
  14562. },
  14563. "models.ErmcpGoodsModel": {
  14564. "type": "object",
  14565. "properties": {
  14566. "areauserid": {
  14567. "description": "所属机构",
  14568. "type": "integer"
  14569. },
  14570. "convertfactor": {
  14571. "description": "标仓系数",
  14572. "type": "number"
  14573. },
  14574. "createtime": {
  14575. "description": "创建时间",
  14576. "type": "string"
  14577. },
  14578. "creatorid": {
  14579. "description": "创建人",
  14580. "type": "integer"
  14581. },
  14582. "creatorsrc": {
  14583. "description": "创建人来源 - 1:管理端 2:终端",
  14584. "type": "integer"
  14585. },
  14586. "deliverygoodsid": {
  14587. "description": "现货品种ID",
  14588. "type": "integer"
  14589. },
  14590. "isvalid": {
  14591. "description": "是否有效 - 0:无效 1:有效",
  14592. "type": "integer"
  14593. },
  14594. "modelid": {
  14595. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  14596. "type": "integer"
  14597. },
  14598. "modelname": {
  14599. "description": "型号名称",
  14600. "type": "string"
  14601. },
  14602. "updatetime": {
  14603. "description": "更新时间",
  14604. "type": "string"
  14605. },
  14606. "updatorid": {
  14607. "description": "更新人",
  14608. "type": "integer"
  14609. },
  14610. "updatorsrc": {
  14611. "description": "更新人来源 - 1:管理端 2:终端",
  14612. "type": "integer"
  14613. },
  14614. "wrstandardid": {
  14615. "description": "现货商品ID",
  14616. "type": "integer"
  14617. }
  14618. }
  14619. },
  14620. "models.ErmcpHisExposure": {
  14621. "type": "object",
  14622. "properties": {
  14623. "needhedgeexposoure": {
  14624. "description": "应套保敞口",
  14625. "type": "number"
  14626. },
  14627. "reckondate": {
  14628. "description": "日照时期(yyyyMMdd)",
  14629. "type": "string"
  14630. },
  14631. "totalexposure": {
  14632. "description": "总敞口",
  14633. "type": "number"
  14634. }
  14635. }
  14636. },
  14637. "models.ErmcpLoginUser": {
  14638. "type": "object",
  14639. "properties": {
  14640. "accountname": {
  14641. "description": "用户名称",
  14642. "type": "string"
  14643. },
  14644. "clientroleid": {
  14645. "description": "角色id(usertype=2)",
  14646. "type": "integer"
  14647. },
  14648. "createtime": {
  14649. "description": "创建时间",
  14650. "type": "string"
  14651. },
  14652. "loginstatus": {
  14653. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  14654. "type": "integer"
  14655. },
  14656. "memberuserid": {
  14657. "description": "所属会员id",
  14658. "type": "integer"
  14659. },
  14660. "modifytime": {
  14661. "description": "修改时间",
  14662. "type": "string"
  14663. },
  14664. "rolename": {
  14665. "description": "角色名称",
  14666. "type": "string"
  14667. },
  14668. "rolestatus": {
  14669. "description": "角色状态 1-启用 2-停用",
  14670. "type": "integer"
  14671. },
  14672. "roletype": {
  14673. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  14674. "type": "string"
  14675. },
  14676. "userid": {
  14677. "description": "用户id",
  14678. "type": "integer"
  14679. },
  14680. "usertype": {
  14681. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  14682. "type": "integer"
  14683. }
  14684. }
  14685. },
  14686. "models.ErmcpLoginUserEx": {
  14687. "type": "object",
  14688. "properties": {
  14689. "rolename": {
  14690. "description": "角色名称",
  14691. "type": "string"
  14692. },
  14693. "userlist": {
  14694. "description": "用户列表",
  14695. "type": "array",
  14696. "items": {
  14697. "$ref": "#/definitions/models.ErmcpLoginUser"
  14698. }
  14699. },
  14700. "usertype": {
  14701. "description": "用户类型 2-机构 7-企业成员(云平台)",
  14702. "type": "integer"
  14703. }
  14704. }
  14705. },
  14706. "models.ErmcpMiddleGoodsModel": {
  14707. "type": "object",
  14708. "properties": {
  14709. "areauserid": {
  14710. "description": "机构用户ID",
  14711. "type": "integer"
  14712. },
  14713. "createtime": {
  14714. "description": "修改时间",
  14715. "type": "string"
  14716. },
  14717. "enumdicname": {
  14718. "description": "单位名称",
  14719. "type": "string"
  14720. },
  14721. "evaluateratio": {
  14722. "description": "估价系数",
  14723. "type": "number"
  14724. },
  14725. "goodsgroupid": {
  14726. "description": "关联期货品种ID",
  14727. "type": "integer"
  14728. },
  14729. "isvalid": {
  14730. "description": "状态 0-无效(停用) 1-有效(正常)",
  14731. "type": "integer"
  14732. },
  14733. "middlegoodscode": {
  14734. "description": "套保品种代码",
  14735. "type": "string"
  14736. },
  14737. "middlegoodsid": {
  14738. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14739. "type": "integer"
  14740. },
  14741. "middlegoodsname": {
  14742. "description": "套保品种名称",
  14743. "type": "string"
  14744. },
  14745. "modifytime": {
  14746. "description": "修改时间",
  14747. "type": "string"
  14748. },
  14749. "needhedgeratio": {
  14750. "description": "套保比率",
  14751. "type": "number"
  14752. },
  14753. "qtydecimalplace": {
  14754. "description": "数量小数位",
  14755. "type": "integer"
  14756. },
  14757. "relatedgoodsid": {
  14758. "description": "关联交易商品ID",
  14759. "type": "integer"
  14760. },
  14761. "relatedgoodstype": {
  14762. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  14763. "type": "integer"
  14764. },
  14765. "remark": {
  14766. "description": "备注",
  14767. "type": "string"
  14768. }
  14769. }
  14770. },
  14771. "models.ErmcpReportAreaSpotPL": {
  14772. "type": "object",
  14773. "properties": {
  14774. "actualpl": {
  14775. "description": "实际损益",
  14776. "type": "number"
  14777. },
  14778. "areauserid": {
  14779. "description": "所属机构",
  14780. "type": "integer"
  14781. },
  14782. "brandname": {
  14783. "description": "品牌名称",
  14784. "type": "string"
  14785. },
  14786. "curamount": {
  14787. "description": "期末额",
  14788. "type": "number"
  14789. },
  14790. "curaverageprice": {
  14791. "description": "期末均价",
  14792. "type": "number"
  14793. },
  14794. "curbuyamount": {
  14795. "description": "期末采购总额(采购额)",
  14796. "type": "number"
  14797. },
  14798. "curbuyqty": {
  14799. "description": "期末采购总量",
  14800. "type": "number"
  14801. },
  14802. "curmarketvalue": {
  14803. "description": "参考市值",
  14804. "type": "number"
  14805. },
  14806. "curqty": {
  14807. "description": "期末量",
  14808. "type": "number"
  14809. },
  14810. "cursellamount": {
  14811. "description": "期末销售总额(销售额)",
  14812. "type": "number"
  14813. },
  14814. "cursellqty": {
  14815. "description": "期末销售总量",
  14816. "type": "number"
  14817. },
  14818. "curspotprice": {
  14819. "description": "参考市价",
  14820. "type": "number"
  14821. },
  14822. "enumdicname": {
  14823. "description": "现货商品单位名称",
  14824. "type": "string"
  14825. },
  14826. "floatpl": {
  14827. "description": "浮动损益",
  14828. "type": "number"
  14829. },
  14830. "gbenumdicname": {
  14831. "description": "品类单位名称",
  14832. "type": "string"
  14833. },
  14834. "gbunitid": {
  14835. "description": "品类单位id",
  14836. "type": "integer"
  14837. },
  14838. "modelname": {
  14839. "description": "品类名称",
  14840. "type": "string"
  14841. },
  14842. "oriamount": {
  14843. "description": "期初额",
  14844. "type": "number"
  14845. },
  14846. "oriaverageprice": {
  14847. "description": "期初均价",
  14848. "type": "number"
  14849. },
  14850. "oribuyamount": {
  14851. "description": "期初采购总额",
  14852. "type": "number"
  14853. },
  14854. "oribuyqty": {
  14855. "description": "期初采购总量",
  14856. "type": "number"
  14857. },
  14858. "oriqty": {
  14859. "description": "期初量",
  14860. "type": "number"
  14861. },
  14862. "orisellamount": {
  14863. "description": "期初销售总额",
  14864. "type": "number"
  14865. },
  14866. "orisellqty": {
  14867. "description": "期初销售总量",
  14868. "type": "number"
  14869. },
  14870. "spotgoodsbrandid": {
  14871. "description": "现货品牌ID",
  14872. "type": "integer"
  14873. },
  14874. "spotgoodsmodelid": {
  14875. "description": "现货品类ID",
  14876. "type": "integer"
  14877. },
  14878. "todaybuyamount": {
  14879. "description": "今日采购额",
  14880. "type": "number"
  14881. },
  14882. "todaybuyaverageprice": {
  14883. "description": "今日采购均价(采购均价)",
  14884. "type": "number"
  14885. },
  14886. "todaybuyqty": {
  14887. "description": "今日采购量(采购增量)",
  14888. "type": "number"
  14889. },
  14890. "todaysellamount": {
  14891. "description": "今日销售额",
  14892. "type": "number"
  14893. },
  14894. "todaysellaverageprice": {
  14895. "description": "今日销售均价(销售均价)",
  14896. "type": "number"
  14897. },
  14898. "todaysellqty": {
  14899. "description": "今日销售量(销售增量)",
  14900. "type": "number"
  14901. },
  14902. "unitid": {
  14903. "description": "现货商品单位id",
  14904. "type": "integer"
  14905. },
  14906. "updatetime": {
  14907. "description": "更新时间",
  14908. "type": "string"
  14909. },
  14910. "wrstandardcode": {
  14911. "description": "现货商品代码",
  14912. "type": "string"
  14913. },
  14914. "wrstandardid": {
  14915. "description": "现货商品ID",
  14916. "type": "integer"
  14917. },
  14918. "wrstandardname": {
  14919. "description": "现货商品名称",
  14920. "type": "string"
  14921. }
  14922. }
  14923. },
  14924. "models.ErmcpReportDayFR": {
  14925. "type": "object",
  14926. "properties": {
  14927. "areauserid": {
  14928. "description": "所属机构",
  14929. "type": "integer"
  14930. },
  14931. "collectinvoiceamount": {
  14932. "description": "今日开票金额",
  14933. "type": "number"
  14934. },
  14935. "collectinvoicecount": {
  14936. "description": "今日开票笔数",
  14937. "type": "integer"
  14938. },
  14939. "collectmoneyamount": {
  14940. "description": "今日收款金额",
  14941. "type": "number"
  14942. },
  14943. "collectmoneycount": {
  14944. "description": "今日收款笔数",
  14945. "type": "integer"
  14946. },
  14947. "payinvoiceamount": {
  14948. "description": "今日收票金额",
  14949. "type": "number"
  14950. },
  14951. "payinvoicecount": {
  14952. "description": "今日收票笔数",
  14953. "type": "integer"
  14954. },
  14955. "paymoneyamount": {
  14956. "description": "今日付款金额",
  14957. "type": "number"
  14958. },
  14959. "paymoneycount": {
  14960. "description": "今日付款笔数",
  14961. "type": "integer"
  14962. },
  14963. "reckondate": {
  14964. "description": "日照时期(yyyyMMdd)",
  14965. "type": "string"
  14966. },
  14967. "updatetime": {
  14968. "description": "更新时间",
  14969. "type": "string"
  14970. }
  14971. }
  14972. },
  14973. "models.ErmcpRole": {
  14974. "type": "object",
  14975. "properties": {
  14976. "areauserid": {
  14977. "description": "所属机构",
  14978. "type": "integer"
  14979. },
  14980. "autoid": {
  14981. "description": "角色ID(自增ID)",
  14982. "type": "integer"
  14983. },
  14984. "modifierid": {
  14985. "description": "修改人(创建人)",
  14986. "type": "integer"
  14987. },
  14988. "modifiername": {
  14989. "description": "修改人名称",
  14990. "type": "string"
  14991. },
  14992. "modifytime": {
  14993. "description": "修改时间(创建时间)",
  14994. "type": "string"
  14995. },
  14996. "rolename": {
  14997. "description": "角色名称",
  14998. "type": "string"
  14999. },
  15000. "rolestatus": {
  15001. "description": "角色状态 - 1:启用 2:停用",
  15002. "type": "integer"
  15003. },
  15004. "roletype": {
  15005. "description": "角色类型 - 1- 管理端 2- 交易端",
  15006. "type": "integer"
  15007. }
  15008. }
  15009. },
  15010. "models.ErmcpRoleMenu": {
  15011. "type": "object",
  15012. "properties": {
  15013. "iconame": {
  15014. "description": "菜单图标",
  15015. "type": "string"
  15016. },
  15017. "menutype": {
  15018. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  15019. "type": "integer"
  15020. },
  15021. "parentcode": {
  15022. "description": "上级资源代码",
  15023. "type": "string"
  15024. },
  15025. "remark": {
  15026. "description": "菜单备注",
  15027. "type": "string"
  15028. },
  15029. "resourcecode": {
  15030. "description": "菜单代码",
  15031. "type": "string"
  15032. },
  15033. "resourcelevel": {
  15034. "description": "级别",
  15035. "type": "integer"
  15036. },
  15037. "resourcename": {
  15038. "description": "菜单名称",
  15039. "type": "string"
  15040. },
  15041. "roleid": {
  15042. "description": "角色id",
  15043. "type": "integer"
  15044. },
  15045. "sort": {
  15046. "description": "排序",
  15047. "type": "integer"
  15048. },
  15049. "url": {
  15050. "description": "URL",
  15051. "type": "string"
  15052. },
  15053. "userid": {
  15054. "description": "用户id",
  15055. "type": "integer"
  15056. }
  15057. }
  15058. },
  15059. "models.ErmcpRoleMenuEx": {
  15060. "type": "object",
  15061. "properties": {
  15062. "menu": {
  15063. "description": "父级菜单",
  15064. "$ref": "#/definitions/models.ErmcpRoleMenu"
  15065. },
  15066. "subMenu": {
  15067. "description": "子级菜单",
  15068. "type": "array",
  15069. "items": {
  15070. "$ref": "#/definitions/models.ErmcpRoleMenu"
  15071. }
  15072. }
  15073. }
  15074. },
  15075. "models.ErmcpSpotGoodsPrice": {
  15076. "type": "object",
  15077. "properties": {
  15078. "areauserid": {
  15079. "description": "所属机构id",
  15080. "type": "integer"
  15081. },
  15082. "brandname": {
  15083. "description": "品牌名称",
  15084. "type": "string"
  15085. },
  15086. "currencyid": {
  15087. "description": "报价货币ID",
  15088. "type": "integer"
  15089. },
  15090. "enumdicname": {
  15091. "description": "现货商品单位名称",
  15092. "type": "string"
  15093. },
  15094. "gbenumdicname": {
  15095. "description": "品类单位名称",
  15096. "type": "string"
  15097. },
  15098. "gmunitid": {
  15099. "description": "品类单位id",
  15100. "type": "integer"
  15101. },
  15102. "isvalid": {
  15103. "description": "是否有效 - 0:无效 1:有效",
  15104. "type": "integer"
  15105. },
  15106. "modelname": {
  15107. "description": "品类名称",
  15108. "type": "string"
  15109. },
  15110. "operateid": {
  15111. "description": "最后操作人",
  15112. "type": "integer"
  15113. },
  15114. "operatesrc": {
  15115. "description": "最后操作来源 - 1:管理端 2:终端",
  15116. "type": "integer"
  15117. },
  15118. "operatetime": {
  15119. "description": "最后操作时间",
  15120. "type": "string"
  15121. },
  15122. "operatorname": {
  15123. "description": "操作人名称",
  15124. "type": "string"
  15125. },
  15126. "spotgoodsbrandid": {
  15127. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15128. "type": "integer"
  15129. },
  15130. "spotgoodsmodelid": {
  15131. "description": "现货品类ID(通用则为0)",
  15132. "type": "integer"
  15133. },
  15134. "spotgoodsprice": {
  15135. "description": "现货价格",
  15136. "type": "number"
  15137. },
  15138. "tradedate": {
  15139. "description": "交易日(yyyyMMdd)",
  15140. "type": "string"
  15141. },
  15142. "unitid": {
  15143. "description": "现货商品单位id",
  15144. "type": "integer"
  15145. },
  15146. "wrstandardcode": {
  15147. "description": "现货商品代码",
  15148. "type": "string"
  15149. },
  15150. "wrstandardid": {
  15151. "description": "现货商品ID",
  15152. "type": "integer"
  15153. },
  15154. "wrstandardname": {
  15155. "description": "现货商品名称",
  15156. "type": "string"
  15157. }
  15158. }
  15159. },
  15160. "models.ErmcpSpotGoodsPriceLog": {
  15161. "type": "object",
  15162. "properties": {
  15163. "areauserid": {
  15164. "description": "所属机构id",
  15165. "type": "integer"
  15166. },
  15167. "brandname": {
  15168. "description": "品牌名称",
  15169. "type": "string"
  15170. },
  15171. "currencyid": {
  15172. "description": "报价货币ID",
  15173. "type": "integer"
  15174. },
  15175. "enumdicname": {
  15176. "description": "现货商品单位名称",
  15177. "type": "string"
  15178. },
  15179. "gbenumdicname": {
  15180. "description": "品类单位名称",
  15181. "type": "string"
  15182. },
  15183. "gmunitid": {
  15184. "description": "品类单位id",
  15185. "type": "integer"
  15186. },
  15187. "logid": {
  15188. "description": "日志id",
  15189. "type": "integer"
  15190. },
  15191. "modelname": {
  15192. "description": "品类名称",
  15193. "type": "string"
  15194. },
  15195. "operateid": {
  15196. "description": "最后操作人",
  15197. "type": "integer"
  15198. },
  15199. "operatesrc": {
  15200. "description": "最后操作来源 - 1:管理端 2:终端",
  15201. "type": "integer"
  15202. },
  15203. "operatetime": {
  15204. "description": "最后操作时间",
  15205. "type": "string"
  15206. },
  15207. "operatorname": {
  15208. "description": "操作人名称",
  15209. "type": "string"
  15210. },
  15211. "spotgoodsbrandid": {
  15212. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15213. "type": "integer"
  15214. },
  15215. "spotgoodsmodelid": {
  15216. "description": "现货品类ID(通用则为0)",
  15217. "type": "integer"
  15218. },
  15219. "spotgoodsprice": {
  15220. "description": "现货价格",
  15221. "type": "number"
  15222. },
  15223. "tradedate": {
  15224. "description": "交易日(yyyyMMdd)",
  15225. "type": "string"
  15226. },
  15227. "unitid": {
  15228. "description": "现货商品单位id",
  15229. "type": "integer"
  15230. },
  15231. "wrstandardcode": {
  15232. "description": "现货商品代码",
  15233. "type": "string"
  15234. },
  15235. "wrstandardid": {
  15236. "description": "现货商品ID",
  15237. "type": "integer"
  15238. },
  15239. "wrstandardname": {
  15240. "description": "现货商品名称",
  15241. "type": "string"
  15242. }
  15243. }
  15244. },
  15245. "models.ErmcpTaAccount": {
  15246. "type": "object",
  15247. "properties": {
  15248. "accountid": {
  15249. "description": "账户id",
  15250. "type": "integer"
  15251. },
  15252. "accountname": {
  15253. "description": "账户名称",
  15254. "type": "string"
  15255. },
  15256. "currencyid": {
  15257. "description": "币种id",
  15258. "type": "integer"
  15259. },
  15260. "ismain": {
  15261. "description": "是否主账户 0-否 1-是",
  15262. "type": "integer"
  15263. },
  15264. "parentaccountid": {
  15265. "description": "父账户id",
  15266. "type": "integer"
  15267. },
  15268. "relateduserid": {
  15269. "description": "关联userid",
  15270. "type": "integer"
  15271. },
  15272. "tradestatus": {
  15273. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15274. "type": "integer"
  15275. }
  15276. }
  15277. },
  15278. "models.ErmcpTaAccountEx": {
  15279. "type": "object",
  15280. "properties": {
  15281. "mainAcc": {
  15282. "description": "主账号",
  15283. "$ref": "#/definitions/models.ErmcpTaAccount"
  15284. },
  15285. "subacclist": {
  15286. "description": "子账号列表",
  15287. "type": "array",
  15288. "items": {
  15289. "$ref": "#/definitions/models.ErmcpTaAccount"
  15290. }
  15291. }
  15292. }
  15293. },
  15294. "models.ErmcpTaAccountInfo": {
  15295. "type": "object",
  15296. "properties": {
  15297. "accountid": {
  15298. "description": "资金账户ID",
  15299. "type": "integer"
  15300. },
  15301. "accountname": {
  15302. "description": "账户名称",
  15303. "type": "string"
  15304. },
  15305. "balance": {
  15306. "description": "期初余额",
  15307. "type": "number"
  15308. },
  15309. "capitalbalance": {
  15310. "description": "本金余额[外部子账户实际出入金余额]",
  15311. "type": "number"
  15312. },
  15313. "closepl": {
  15314. "description": "今日平仓盈亏",
  15315. "type": "number"
  15316. },
  15317. "creditdecrease": {
  15318. "description": "今日授信减少",
  15319. "type": "number"
  15320. },
  15321. "creditincrease": {
  15322. "description": "今日授信增加",
  15323. "type": "number"
  15324. },
  15325. "curdebt": {
  15326. "description": "期末欠款",
  15327. "type": "number"
  15328. },
  15329. "currencyid": {
  15330. "description": "货币ID",
  15331. "type": "integer"
  15332. },
  15333. "currentbalance": {
  15334. "description": "期末余额",
  15335. "type": "number"
  15336. },
  15337. "freezecharge": {
  15338. "description": "手续费冻结",
  15339. "type": "number"
  15340. },
  15341. "freezemargin": {
  15342. "description": "冻结保证金",
  15343. "type": "number"
  15344. },
  15345. "fromaccountid": {
  15346. "description": "所属上级账户",
  15347. "type": "integer"
  15348. },
  15349. "inamount": {
  15350. "description": "今日入金金额(包括三方入金)",
  15351. "type": "number"
  15352. },
  15353. "ismain": {
  15354. "description": "是否母账号 0:不是母账户 1:是母账户",
  15355. "type": "integer"
  15356. },
  15357. "mortgagecredit": {
  15358. "description": "授信金额",
  15359. "type": "number"
  15360. },
  15361. "oridebt": {
  15362. "description": "期初欠款",
  15363. "type": "number"
  15364. },
  15365. "orifreezecharge": {
  15366. "description": "期初手续费冻结",
  15367. "type": "number"
  15368. },
  15369. "orifreezemargin": {
  15370. "description": "期初冻结保证金",
  15371. "type": "number"
  15372. },
  15373. "orimortgagecredit": {
  15374. "description": "期初授信金额",
  15375. "type": "number"
  15376. },
  15377. "oriothercredit": {
  15378. "description": "期初其它授信金额",
  15379. "type": "number"
  15380. },
  15381. "oriotherfreezemargin": {
  15382. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15383. "type": "number"
  15384. },
  15385. "orioutamountfreeze": {
  15386. "description": "期初出金冻结",
  15387. "type": "number"
  15388. },
  15389. "oriusedmargin": {
  15390. "description": "期初占用保证金",
  15391. "type": "number"
  15392. },
  15393. "othercredit": {
  15394. "description": "其它授信金额",
  15395. "type": "number"
  15396. },
  15397. "othercreditdecrease": {
  15398. "description": "今日其它授信减少",
  15399. "type": "number"
  15400. },
  15401. "othercreditincrease": {
  15402. "description": "今日其它授信增加",
  15403. "type": "number"
  15404. },
  15405. "otherfreezemargin": {
  15406. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15407. "type": "number"
  15408. },
  15409. "outamount": {
  15410. "description": "今日出金金额(包括三方出金)",
  15411. "type": "number"
  15412. },
  15413. "outamountfreeze": {
  15414. "description": "出金冻结",
  15415. "type": "number"
  15416. },
  15417. "outthreshold": {
  15418. "description": "出金阈值",
  15419. "type": "number"
  15420. },
  15421. "parentaccountid": {
  15422. "description": "所属根账号",
  15423. "type": "integer"
  15424. },
  15425. "paycharge": {
  15426. "description": "今日手续费支出",
  15427. "type": "number"
  15428. },
  15429. "relateduserid": {
  15430. "description": "关联用户",
  15431. "type": "integer"
  15432. },
  15433. "signstatus": {
  15434. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15435. "type": "integer"
  15436. },
  15437. "sublevelpath": {
  15438. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15439. "type": "string"
  15440. },
  15441. "taaccounttype": {
  15442. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15443. "type": "integer"
  15444. },
  15445. "thirdinamount": {
  15446. "description": "今日三方入金",
  15447. "type": "number"
  15448. },
  15449. "thirdoutamount": {
  15450. "description": "今日三方出金",
  15451. "type": "number"
  15452. },
  15453. "tradestatus": {
  15454. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15455. "type": "integer"
  15456. },
  15457. "transferamount": {
  15458. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15459. "type": "number"
  15460. },
  15461. "usedmargin": {
  15462. "description": "占用保证金",
  15463. "type": "number"
  15464. },
  15465. "userid": {
  15466. "description": "用户ID",
  15467. "type": "integer"
  15468. }
  15469. }
  15470. },
  15471. "models.ErmcpTradeConfigTMP": {
  15472. "type": "object",
  15473. "properties": {
  15474. "areauserid": {
  15475. "description": "所属机构",
  15476. "type": "integer"
  15477. },
  15478. "basiccurrencyid": {
  15479. "description": "基本币种ID[汇率] - 目标币种",
  15480. "type": "integer"
  15481. },
  15482. "mainaccountid": {
  15483. "description": "主账户ID",
  15484. "type": "integer"
  15485. },
  15486. "modifierid": {
  15487. "description": "修改人",
  15488. "type": "integer"
  15489. },
  15490. "remark": {
  15491. "description": "备注",
  15492. "type": "string"
  15493. },
  15494. "tradeconfigtmpid": {
  15495. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  15496. "type": "integer"
  15497. },
  15498. "tradeconfigtmpname": {
  15499. "description": "交易配置模板名称",
  15500. "type": "string"
  15501. },
  15502. "tradeconfigtmptype": {
  15503. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  15504. "type": "integer"
  15505. },
  15506. "updatetime": {
  15507. "description": "更新时间",
  15508. "type": "string"
  15509. }
  15510. }
  15511. },
  15512. "models.ErmcpWrstandard": {
  15513. "type": "object",
  15514. "properties": {
  15515. "areauserid": {
  15516. "description": "所属机构",
  15517. "type": "integer"
  15518. },
  15519. "createtime": {
  15520. "description": "创建时间",
  15521. "type": "string"
  15522. },
  15523. "creatorid": {
  15524. "description": "创建人",
  15525. "type": "integer"
  15526. },
  15527. "deliverygoodsid": {
  15528. "description": "品种ID",
  15529. "type": "integer"
  15530. },
  15531. "enumdicname": {
  15532. "description": "单位名称",
  15533. "type": "string"
  15534. },
  15535. "isvalid": {
  15536. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15537. "type": "integer"
  15538. },
  15539. "minivalue": {
  15540. "description": "最小变动值",
  15541. "type": "integer"
  15542. },
  15543. "minivaluedp": {
  15544. "description": "最小变动值小数位",
  15545. "type": "integer"
  15546. },
  15547. "realminivalue": {
  15548. "description": "实际最小变动值",
  15549. "type": "integer"
  15550. },
  15551. "realminivaluedp": {
  15552. "description": "实际最小变动值小数位",
  15553. "type": "integer"
  15554. },
  15555. "remark": {
  15556. "description": "备注",
  15557. "type": "string"
  15558. },
  15559. "unitid": {
  15560. "description": "单位ID",
  15561. "type": "integer"
  15562. },
  15563. "updatetime": {
  15564. "description": "更新时间",
  15565. "type": "string"
  15566. },
  15567. "wrstandardcode": {
  15568. "description": "现货商品代码",
  15569. "type": "string"
  15570. },
  15571. "wrstandardid": {
  15572. "description": "现货商品ID(SEQ_WRSTANDARD)",
  15573. "type": "integer"
  15574. },
  15575. "wrstandardname": {
  15576. "description": "现货商品名称",
  15577. "type": "string"
  15578. }
  15579. }
  15580. },
  15581. "models.Externalexchange": {
  15582. "type": "object",
  15583. "required": [
  15584. "autoid"
  15585. ],
  15586. "properties": {
  15587. "autoid": {
  15588. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  15589. "type": "integer"
  15590. },
  15591. "exchangefullname": {
  15592. "description": "外部交易所全称",
  15593. "type": "string"
  15594. },
  15595. "exexchangecode": {
  15596. "description": "外部交易所代码",
  15597. "type": "string"
  15598. },
  15599. "exexchangename": {
  15600. "description": "外部交易所名称(简称)",
  15601. "type": "string"
  15602. },
  15603. "ismarketprice": {
  15604. "description": "是否支持市价 - 0:不支持 1:支持",
  15605. "type": "integer"
  15606. },
  15607. "quotegear": {
  15608. "description": "行情档位(1-10)",
  15609. "type": "integer"
  15610. },
  15611. "showbrokerflag": {
  15612. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  15613. "type": "integer"
  15614. },
  15615. "updatetime": {
  15616. "description": "更新时间",
  15617. "type": "string"
  15618. }
  15619. }
  15620. },
  15621. "models.Funcmenulist": {
  15622. "type": "object",
  15623. "required": [
  15624. "resourcecode"
  15625. ],
  15626. "properties": {
  15627. "iconame": {
  15628. "description": "菜单图标",
  15629. "type": "string"
  15630. },
  15631. "menutype": {
  15632. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  15633. "type": "integer"
  15634. },
  15635. "parentcode": {
  15636. "description": "上级资源代码",
  15637. "type": "string"
  15638. },
  15639. "remark": {
  15640. "description": "备注",
  15641. "type": "string"
  15642. },
  15643. "resourcecode": {
  15644. "description": "资源代码",
  15645. "type": "string"
  15646. },
  15647. "resourcelevel": {
  15648. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  15649. "type": "integer"
  15650. },
  15651. "resourcename": {
  15652. "description": "资源名",
  15653. "type": "string"
  15654. },
  15655. "sort": {
  15656. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  15657. "type": "integer"
  15658. },
  15659. "url": {
  15660. "description": "URL",
  15661. "type": "string"
  15662. }
  15663. }
  15664. },
  15665. "models.Goods": {
  15666. "type": "object",
  15667. "required": [
  15668. "goodscode",
  15669. "goodsid",
  15670. "goodsname",
  15671. "marketid"
  15672. ],
  15673. "properties": {
  15674. "agreeunit": {
  15675. "description": "合约单位",
  15676. "type": "number"
  15677. },
  15678. "auditaccountid": {
  15679. "description": "审核操作员账号",
  15680. "type": "integer"
  15681. },
  15682. "audittime": {
  15683. "description": "审核时间",
  15684. "type": "string"
  15685. },
  15686. "cancelaccountid": {
  15687. "description": "注销操作员账号",
  15688. "type": "integer"
  15689. },
  15690. "canceltime": {
  15691. "description": "注销时间",
  15692. "type": "string"
  15693. },
  15694. "closepricemode": {
  15695. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15696. "type": "integer"
  15697. },
  15698. "closepriceparam": {
  15699. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  15700. "type": "number"
  15701. },
  15702. "createtime": {
  15703. "description": "创建时间",
  15704. "type": "string"
  15705. },
  15706. "creatorid": {
  15707. "description": "创建人",
  15708. "type": "integer"
  15709. },
  15710. "currencyid": {
  15711. "description": "报价货币ID",
  15712. "type": "integer"
  15713. },
  15714. "cutmode": {
  15715. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  15716. "type": "integer"
  15717. },
  15718. "decimalplace": {
  15719. "description": "报价小数位",
  15720. "type": "integer"
  15721. },
  15722. "delistingdate": {
  15723. "description": "商品退市时间(状态:退市) -- 已作废",
  15724. "type": "string"
  15725. },
  15726. "delistingmode": {
  15727. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  15728. "type": "integer"
  15729. },
  15730. "deliveryflag": {
  15731. "description": "交割标志 - 0:不可交割 1:可交割",
  15732. "type": "integer"
  15733. },
  15734. "forceclosemode": {
  15735. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  15736. "type": "integer"
  15737. },
  15738. "forceclosevalue": {
  15739. "description": "定期强平参数 [收益权]",
  15740. "type": "integer"
  15741. },
  15742. "goodscode": {
  15743. "description": "商品代码(内部)",
  15744. "type": "string"
  15745. },
  15746. "goodscurrencyid": {
  15747. "description": "合约货币ID",
  15748. "type": "integer"
  15749. },
  15750. "goodsgroupid": {
  15751. "description": "所属商品组ID",
  15752. "type": "integer"
  15753. },
  15754. "goodsid": {
  15755. "description": "商品ID(自增ID SEQ_GOODS)",
  15756. "type": "integer"
  15757. },
  15758. "goodsname": {
  15759. "description": "商品名称",
  15760. "type": "string"
  15761. },
  15762. "goodsquotetype": {
  15763. "description": "合约报价类型: 1-直接报价 2-间接报价",
  15764. "type": "integer"
  15765. },
  15766. "goodsstatus": {
  15767. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15768. "type": "integer"
  15769. },
  15770. "goodstradetype": {
  15771. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  15772. "type": "integer"
  15773. },
  15774. "goodunitid": {
  15775. "description": "报价单位ID",
  15776. "type": "integer"
  15777. },
  15778. "hasquoter": {
  15779. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  15780. "type": "integer"
  15781. },
  15782. "hqprotecttime": {
  15783. "description": "行情保护时间(秒)",
  15784. "type": "integer"
  15785. },
  15786. "innerdealmode": {
  15787. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15788. "type": "integer"
  15789. },
  15790. "isbuylimited": {
  15791. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15792. "type": "integer"
  15793. },
  15794. "lasttradedate": {
  15795. "description": "最后交易日期(状态:待退市)",
  15796. "type": "string"
  15797. },
  15798. "listingdate": {
  15799. "description": "交易开始日期",
  15800. "type": "string"
  15801. },
  15802. "marketid": {
  15803. "description": "所属市场ID",
  15804. "type": "integer"
  15805. },
  15806. "modifierid": {
  15807. "description": "修改人",
  15808. "type": "integer"
  15809. },
  15810. "modifystatus": {
  15811. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  15812. "type": "integer"
  15813. },
  15814. "modifytime": {
  15815. "description": "修改时间",
  15816. "type": "string"
  15817. },
  15818. "outerdealmode": {
  15819. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15820. "type": "integer"
  15821. },
  15822. "outgoodscode": {
  15823. "description": "商品代码(外部)",
  15824. "type": "string"
  15825. },
  15826. "qtydecimalplace": {
  15827. "description": "成交量小数位",
  15828. "type": "integer"
  15829. },
  15830. "quotegear": {
  15831. "description": "行情档位(1-10)",
  15832. "type": "integer"
  15833. },
  15834. "quoteminunit": {
  15835. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15836. "type": "integer"
  15837. },
  15838. "quoteshowtype": {
  15839. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  15840. "type": "integer"
  15841. },
  15842. "quoteshowtypeinterval": {
  15843. "description": "行情报价间隔时间(秒)(成交价时为0)",
  15844. "type": "integer"
  15845. },
  15846. "remark": {
  15847. "description": "备注",
  15848. "type": "string"
  15849. }
  15850. }
  15851. },
  15852. "models.GoodsBrand": {
  15853. "type": "object",
  15854. "properties": {
  15855. "brandid": {
  15856. "description": "品牌ID",
  15857. "type": "integer"
  15858. },
  15859. "brandname": {
  15860. "description": "品牌名称",
  15861. "type": "string"
  15862. },
  15863. "isvalid": {
  15864. "description": "是否有效 - 0:无效 1:有效",
  15865. "type": "integer"
  15866. }
  15867. }
  15868. },
  15869. "models.GoodsIDAndName": {
  15870. "type": "object",
  15871. "required": [
  15872. "goodscode",
  15873. "goodsid",
  15874. "goodsname",
  15875. "marketid"
  15876. ],
  15877. "properties": {
  15878. "goodscode": {
  15879. "description": "商品代码(内部)",
  15880. "type": "string"
  15881. },
  15882. "goodsid": {
  15883. "description": "商品ID(自增ID SEQ_GOODS)",
  15884. "type": "integer"
  15885. },
  15886. "goodsname": {
  15887. "description": "商品名称",
  15888. "type": "string"
  15889. },
  15890. "marketid": {
  15891. "description": "所属市场ID",
  15892. "type": "integer"
  15893. }
  15894. }
  15895. },
  15896. "models.GoodsTypeModel": {
  15897. "type": "object",
  15898. "properties": {
  15899. "convertfactor": {
  15900. "description": "标仓系数",
  15901. "type": "number"
  15902. },
  15903. "modelid": {
  15904. "description": "型号ID",
  15905. "type": "integer"
  15906. },
  15907. "modelname": {
  15908. "description": "型号名称",
  15909. "type": "string"
  15910. },
  15911. "updatetime": {
  15912. "description": "更新时间",
  15913. "type": "string"
  15914. }
  15915. }
  15916. },
  15917. "models.Goodsgroup": {
  15918. "type": "object",
  15919. "required": [
  15920. "goodsgroupid",
  15921. "goodsgroupname",
  15922. "goodsgroupstatus",
  15923. "marketid"
  15924. ],
  15925. "properties": {
  15926. "agreeunit": {
  15927. "description": "合约单位",
  15928. "type": "number"
  15929. },
  15930. "canshort": {
  15931. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15932. "type": "integer"
  15933. },
  15934. "closepricemode": {
  15935. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15936. "type": "integer"
  15937. },
  15938. "closepriceparam": {
  15939. "description": "强平最新价浮动比例 - 方式为2时使用",
  15940. "type": "number"
  15941. },
  15942. "createtime": {
  15943. "description": "创建时间",
  15944. "type": "string"
  15945. },
  15946. "creatorid": {
  15947. "description": "创建人",
  15948. "type": "integer"
  15949. },
  15950. "currencyid": {
  15951. "description": "报价货币ID",
  15952. "type": "integer"
  15953. },
  15954. "decimalplace": {
  15955. "description": "报价小数位",
  15956. "type": "integer"
  15957. },
  15958. "exercisetype": {
  15959. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  15960. "type": "integer"
  15961. },
  15962. "exexchangeid": {
  15963. "description": "外部交易所ID[通道交易]",
  15964. "type": "integer"
  15965. },
  15966. "goodsgroupid": {
  15967. "description": "商品组ID(自增ID)",
  15968. "type": "integer"
  15969. },
  15970. "goodsgroupname": {
  15971. "description": "商品组名称",
  15972. "type": "string"
  15973. },
  15974. "goodsgroupstatus": {
  15975. "description": "商品组状态 - 1:正常 2:注销",
  15976. "type": "integer"
  15977. },
  15978. "goodunitid": {
  15979. "description": "报价单位ID",
  15980. "type": "integer"
  15981. },
  15982. "innerdealmode": {
  15983. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15984. "type": "integer"
  15985. },
  15986. "isbuylimited": {
  15987. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15988. "type": "integer"
  15989. },
  15990. "marketid": {
  15991. "description": "所属市场ID",
  15992. "type": "integer"
  15993. },
  15994. "modifierid": {
  15995. "description": "修改人",
  15996. "type": "integer"
  15997. },
  15998. "modifytime": {
  15999. "description": "修改时间",
  16000. "type": "string"
  16001. },
  16002. "outerdealmode": {
  16003. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16004. "type": "integer"
  16005. },
  16006. "outergroupcode": {
  16007. "description": "外部商品组代码[通道交易]",
  16008. "type": "string"
  16009. },
  16010. "premiumdecimalplace": {
  16011. "description": "权利金小数位[场外期权]",
  16012. "type": "integer"
  16013. },
  16014. "premiumspreadalgorithm": {
  16015. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  16016. "type": "integer"
  16017. },
  16018. "premiumspreadvalue": {
  16019. "description": "权利金点差值[场外期权]",
  16020. "type": "number"
  16021. },
  16022. "qtydecimalplace": {
  16023. "description": "成交量小数位",
  16024. "type": "integer"
  16025. },
  16026. "quotegear": {
  16027. "description": "行情档位(1-10)",
  16028. "type": "integer"
  16029. },
  16030. "quoteminunit": {
  16031. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16032. "type": "integer"
  16033. },
  16034. "quoterid": {
  16035. "description": "报价商ID[场外期权]",
  16036. "type": "integer"
  16037. },
  16038. "quotesourcegroupid": {
  16039. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16040. "type": "integer"
  16041. },
  16042. "syncgoodsqty": {
  16043. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16044. "type": "integer"
  16045. }
  16046. }
  16047. },
  16048. "models.Goodssortbypreposition": {
  16049. "type": "object",
  16050. "required": [
  16051. "goodscode",
  16052. "tradedate"
  16053. ],
  16054. "properties": {
  16055. "goodscode": {
  16056. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  16057. "type": "string"
  16058. },
  16059. "goodsgroupcode": {
  16060. "description": "品种代码",
  16061. "type": "string"
  16062. },
  16063. "prepositionqty": {
  16064. "description": "昨持仓量",
  16065. "type": "integer"
  16066. },
  16067. "sortindex": {
  16068. "description": "排序",
  16069. "type": "integer"
  16070. },
  16071. "tradedate": {
  16072. "description": "交易日",
  16073. "type": "string"
  16074. },
  16075. "updatetime": {
  16076. "description": "更新时间",
  16077. "type": "string"
  16078. }
  16079. }
  16080. },
  16081. "models.Hedgeinnerholderdetail": {
  16082. "type": "object",
  16083. "required": [
  16084. "buyorsell",
  16085. "tradeid"
  16086. ],
  16087. "properties": {
  16088. "accountid": {
  16089. "description": "账号ID",
  16090. "type": "integer"
  16091. },
  16092. "buyorsell": {
  16093. "description": "方向 - 0:买 1:卖",
  16094. "type": "integer"
  16095. },
  16096. "freezeqty": {
  16097. "description": "冻结数量 - 按单平使用",
  16098. "type": "integer"
  16099. },
  16100. "goodsid": {
  16101. "description": "商品ID",
  16102. "type": "integer"
  16103. },
  16104. "holderamount": {
  16105. "description": "持仓金额 [商品币种]",
  16106. "type": "number"
  16107. },
  16108. "holderdays": {
  16109. "description": "剩余冻结天数",
  16110. "type": "integer"
  16111. },
  16112. "holderprice": {
  16113. "description": "持仓价格",
  16114. "type": "number"
  16115. },
  16116. "holderqty": {
  16117. "description": "持仓数量",
  16118. "type": "integer"
  16119. },
  16120. "marketid": {
  16121. "description": "市场ID",
  16122. "type": "integer"
  16123. },
  16124. "openprice": {
  16125. "description": "建仓价格",
  16126. "type": "number"
  16127. },
  16128. "openqty": {
  16129. "description": "建仓数量",
  16130. "type": "integer"
  16131. },
  16132. "parentaccountid": {
  16133. "description": "所属母账户",
  16134. "type": "integer"
  16135. },
  16136. "releaseamount": {
  16137. "description": "释放持仓金额[商品币种]",
  16138. "type": "number"
  16139. },
  16140. "tradeamount": {
  16141. "description": "成交金额[账户]",
  16142. "type": "number"
  16143. },
  16144. "tradedate": {
  16145. "description": "交易日(yyyyMMdd)",
  16146. "type": "string"
  16147. },
  16148. "tradeid": {
  16149. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16150. "type": "string"
  16151. },
  16152. "tradetime": {
  16153. "description": "交易时间",
  16154. "type": "string"
  16155. }
  16156. }
  16157. },
  16158. "models.HsbyBuyMyPayOrder": {
  16159. "type": "object",
  16160. "required": [
  16161. "goodscode",
  16162. "goodsname",
  16163. "tradeid",
  16164. "trademode"
  16165. ],
  16166. "properties": {
  16167. "agreeunit": {
  16168. "description": "合约单位",
  16169. "type": "number"
  16170. },
  16171. "buyaccountid": {
  16172. "description": "买方账号ID[报价币种]",
  16173. "type": "integer"
  16174. },
  16175. "buyorderid": {
  16176. "description": "买方委托单号",
  16177. "type": "string"
  16178. },
  16179. "createtime": {
  16180. "description": "创建时间",
  16181. "type": "string"
  16182. },
  16183. "currencysign": {
  16184. "description": "货币符号",
  16185. "type": "string"
  16186. },
  16187. "decimalplace": {
  16188. "description": "报价小数位",
  16189. "type": "integer"
  16190. },
  16191. "goodscode": {
  16192. "description": "商品代码(内部)",
  16193. "type": "string"
  16194. },
  16195. "goodsid": {
  16196. "description": "商品ID",
  16197. "type": "integer"
  16198. },
  16199. "goodsname": {
  16200. "description": "商品名称",
  16201. "type": "string"
  16202. },
  16203. "marketid": {
  16204. "description": "市场ID",
  16205. "type": "integer"
  16206. },
  16207. "offamount": {
  16208. "description": "优惠金额",
  16209. "type": "number"
  16210. },
  16211. "originalamount": {
  16212. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  16213. "type": "number"
  16214. },
  16215. "payamount": {
  16216. "description": "支付金额 = TradeAmount + TradeCharge",
  16217. "type": "number"
  16218. },
  16219. "payflag": {
  16220. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  16221. "type": "integer"
  16222. },
  16223. "paylimitedtime": {
  16224. "description": "支付期限",
  16225. "type": "string"
  16226. },
  16227. "paytime": {
  16228. "description": "付款时间",
  16229. "type": "string"
  16230. },
  16231. "picurls1": {
  16232. "description": "预售商品介绍图片[多张用逗号分隔]",
  16233. "type": "string"
  16234. },
  16235. "picurls2": {
  16236. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16237. "type": "string"
  16238. },
  16239. "sellaccountid": {
  16240. "description": "卖方账号ID[报价币种]",
  16241. "type": "integer"
  16242. },
  16243. "sellorderid": {
  16244. "description": "卖方委托单号",
  16245. "type": "string"
  16246. },
  16247. "tradeamount": {
  16248. "description": "成交金额",
  16249. "type": "number"
  16250. },
  16251. "tradecharge": {
  16252. "description": "成交手续费(买方)",
  16253. "type": "number"
  16254. },
  16255. "tradedate": {
  16256. "description": "交易日(yyyyMMdd)",
  16257. "type": "string"
  16258. },
  16259. "tradeid": {
  16260. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16261. "type": "string"
  16262. },
  16263. "trademode": {
  16264. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16265. "type": "integer"
  16266. },
  16267. "tradeprice": {
  16268. "description": "成交价格",
  16269. "type": "number"
  16270. },
  16271. "tradeqty": {
  16272. "description": "成交数量",
  16273. "type": "integer"
  16274. },
  16275. "vendorname1": {
  16276. "description": "预售商品供应商名称",
  16277. "type": "string"
  16278. },
  16279. "vendorname2": {
  16280. "description": "挂牌商品供应商名称",
  16281. "type": "string"
  16282. }
  16283. }
  16284. },
  16285. "models.HsbyBuyMyTradeDetail": {
  16286. "type": "object",
  16287. "required": [
  16288. "accountid",
  16289. "buyorsell",
  16290. "goodscode",
  16291. "goodsid",
  16292. "goodsname",
  16293. "marketid",
  16294. "orderid",
  16295. "qty",
  16296. "time",
  16297. "trademode"
  16298. ],
  16299. "properties": {
  16300. "accountid": {
  16301. "description": "账户ID[报价币种]",
  16302. "type": "integer"
  16303. },
  16304. "agreeunit": {
  16305. "description": "合约单位",
  16306. "type": "number"
  16307. },
  16308. "amount": {
  16309. "description": "金额 = 价格 * 数量 * 合约单位",
  16310. "type": "number"
  16311. },
  16312. "buyorsell": {
  16313. "description": "买卖 - 0:买 1:卖",
  16314. "type": "integer"
  16315. },
  16316. "currencysign": {
  16317. "description": "货币符号",
  16318. "type": "string"
  16319. },
  16320. "decimalplace": {
  16321. "description": "报价小数位",
  16322. "type": "integer"
  16323. },
  16324. "goodscode": {
  16325. "description": "商品代码(内部)",
  16326. "type": "string"
  16327. },
  16328. "goodsid": {
  16329. "description": "商品ID",
  16330. "type": "integer"
  16331. },
  16332. "goodsname": {
  16333. "description": "商品名称",
  16334. "type": "string"
  16335. },
  16336. "marketid": {
  16337. "description": "市场ID",
  16338. "type": "integer"
  16339. },
  16340. "orderamount": {
  16341. "description": "委托金额",
  16342. "type": "number"
  16343. },
  16344. "orderid": {
  16345. "description": "单号(成交单号)",
  16346. "type": "string"
  16347. },
  16348. "picurls1": {
  16349. "description": "预售商品介绍图片[多张用逗号分隔]",
  16350. "type": "string"
  16351. },
  16352. "picurls2": {
  16353. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16354. "type": "string"
  16355. },
  16356. "price": {
  16357. "description": "价格",
  16358. "type": "number"
  16359. },
  16360. "qty": {
  16361. "description": "数量",
  16362. "type": "integer"
  16363. },
  16364. "time": {
  16365. "description": "时间",
  16366. "type": "string"
  16367. },
  16368. "trademode": {
  16369. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16370. "type": "integer"
  16371. },
  16372. "vendorname1": {
  16373. "description": "预售商品供应商名称",
  16374. "type": "string"
  16375. },
  16376. "vendorname2": {
  16377. "description": "挂牌商品供应商名称",
  16378. "type": "string"
  16379. }
  16380. }
  16381. },
  16382. "models.HsbyGoodsOrderDetail": {
  16383. "type": "object",
  16384. "required": [
  16385. "buyorsell",
  16386. "orderid",
  16387. "ordertime"
  16388. ],
  16389. "properties": {
  16390. "buyorsell": {
  16391. "description": "买卖 - 0:买 1:卖",
  16392. "type": "integer"
  16393. },
  16394. "currencysign": {
  16395. "description": "货币符号",
  16396. "type": "string"
  16397. },
  16398. "customername": {
  16399. "description": "客户名称(企业名称),已脱敏",
  16400. "type": "string"
  16401. },
  16402. "enableqty": {
  16403. "description": "可用数量",
  16404. "type": "integer"
  16405. },
  16406. "goodunit": {
  16407. "description": "报价单位",
  16408. "type": "string"
  16409. },
  16410. "orderid": {
  16411. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16412. "type": "string"
  16413. },
  16414. "orderprice": {
  16415. "description": "委托价格",
  16416. "type": "number"
  16417. },
  16418. "ordertime": {
  16419. "description": "委托时间",
  16420. "type": "string"
  16421. }
  16422. }
  16423. },
  16424. "models.HsbyListingGoodsDetail": {
  16425. "type": "object",
  16426. "required": [
  16427. "goodscode",
  16428. "goodsid",
  16429. "goodsname",
  16430. "marketid",
  16431. "trademode"
  16432. ],
  16433. "properties": {
  16434. "agreeunit": {
  16435. "description": "合约单位",
  16436. "type": "number"
  16437. },
  16438. "buymaxqty": {
  16439. "description": "购买上限 [71] - 0为不限",
  16440. "type": "integer"
  16441. },
  16442. "currency": {
  16443. "description": "货币",
  16444. "type": "string"
  16445. },
  16446. "currencysign": {
  16447. "description": "货币符号",
  16448. "type": "string"
  16449. },
  16450. "decimalplace": {
  16451. "description": "报价小数位",
  16452. "type": "integer"
  16453. },
  16454. "desccityid": {
  16455. "description": "目的地(市)ID",
  16456. "type": "integer"
  16457. },
  16458. "descprovinceid": {
  16459. "description": "目的地(省)ID",
  16460. "type": "integer"
  16461. },
  16462. "goodscode": {
  16463. "description": "商品代码(内部)",
  16464. "type": "string"
  16465. },
  16466. "goodsdesc": {
  16467. "description": "商品详情",
  16468. "type": "string"
  16469. },
  16470. "goodsid": {
  16471. "description": "商品ID(自增ID SEQ_GOODS)",
  16472. "type": "integer"
  16473. },
  16474. "goodsname": {
  16475. "description": "商品名称",
  16476. "type": "string"
  16477. },
  16478. "goodsprice": {
  16479. "description": "商品价格",
  16480. "type": "number"
  16481. },
  16482. "hotindex": {
  16483. "description": "景点热度",
  16484. "type": "integer"
  16485. },
  16486. "last": {
  16487. "description": "现价",
  16488. "type": "number"
  16489. },
  16490. "limitdown": {
  16491. "description": "跌停价",
  16492. "type": "number"
  16493. },
  16494. "limitup": {
  16495. "description": "涨停价",
  16496. "type": "number"
  16497. },
  16498. "lotsize": {
  16499. "description": "手数最小变动单位",
  16500. "type": "integer"
  16501. },
  16502. "marketid": {
  16503. "description": "所属市场ID",
  16504. "type": "integer"
  16505. },
  16506. "picurls": {
  16507. "description": "介绍图片[多张用逗号分隔]",
  16508. "type": "string"
  16509. },
  16510. "quoteminunit": {
  16511. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16512. "type": "integer"
  16513. },
  16514. "stepvalue": {
  16515. "description": "价格最小变动单位",
  16516. "type": "number"
  16517. },
  16518. "trademode": {
  16519. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16520. "type": "integer"
  16521. },
  16522. "vendorattr": {
  16523. "description": "供应商附件(多张,逗号分隔)",
  16524. "type": "string"
  16525. },
  16526. "vendorname": {
  16527. "description": "供应商名称",
  16528. "type": "string"
  16529. },
  16530. "vendorphone": {
  16531. "description": "供应商客服电话",
  16532. "type": "string"
  16533. },
  16534. "videourls": {
  16535. "description": "介绍视频[多张用逗号分隔]",
  16536. "type": "string"
  16537. }
  16538. }
  16539. },
  16540. "models.HsbyMarketGoods": {
  16541. "type": "object",
  16542. "required": [
  16543. "accountid",
  16544. "buyorsell",
  16545. "goodscode",
  16546. "goodsid",
  16547. "goodsname",
  16548. "marketid",
  16549. "orderid",
  16550. "trademode"
  16551. ],
  16552. "properties": {
  16553. "accountid": {
  16554. "description": "账户ID[报价币种]",
  16555. "type": "integer"
  16556. },
  16557. "agreeunit": {
  16558. "description": "合约单位",
  16559. "type": "number"
  16560. },
  16561. "buyorsell": {
  16562. "description": "买卖 - 0:买 1:卖",
  16563. "type": "integer"
  16564. },
  16565. "categoryid": {
  16566. "description": "类别ID(WRCATEGORY)",
  16567. "type": "integer"
  16568. },
  16569. "currency": {
  16570. "description": "货币",
  16571. "type": "string"
  16572. },
  16573. "currencysign": {
  16574. "description": "货币符号",
  16575. "type": "string"
  16576. },
  16577. "customername": {
  16578. "description": "卖家名称",
  16579. "type": "string"
  16580. },
  16581. "decimalplace": {
  16582. "description": "报价小数位",
  16583. "type": "integer"
  16584. },
  16585. "goodscode": {
  16586. "description": "商品代码(内部)",
  16587. "type": "string"
  16588. },
  16589. "goodsid": {
  16590. "description": "商品ID",
  16591. "type": "integer"
  16592. },
  16593. "goodsname": {
  16594. "description": "商品名称",
  16595. "type": "string"
  16596. },
  16597. "goodsprice": {
  16598. "description": "商品价格",
  16599. "type": "number"
  16600. },
  16601. "hascoupon": {
  16602. "description": "是否可用优惠卷",
  16603. "type": "boolean"
  16604. },
  16605. "hotindex": {
  16606. "description": "景点热度",
  16607. "type": "integer"
  16608. },
  16609. "marketid": {
  16610. "description": "市场ID",
  16611. "type": "integer"
  16612. },
  16613. "orderid": {
  16614. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16615. "type": "string"
  16616. },
  16617. "orderprice": {
  16618. "description": "委托价格",
  16619. "type": "number"
  16620. },
  16621. "orderstatus": {
  16622. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16623. "type": "integer"
  16624. },
  16625. "picurls": {
  16626. "description": "介绍图片[多张用逗号分隔]",
  16627. "type": "string"
  16628. },
  16629. "quoteminunit": {
  16630. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16631. "type": "integer"
  16632. },
  16633. "sellUserID": {
  16634. "description": "卖方UserID",
  16635. "type": "integer"
  16636. },
  16637. "trademode": {
  16638. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16639. "type": "integer"
  16640. },
  16641. "videourls": {
  16642. "description": "介绍视频[多张用逗号分隔]",
  16643. "type": "string"
  16644. }
  16645. }
  16646. },
  16647. "models.HsbyMarketGoodsDetail": {
  16648. "type": "object",
  16649. "required": [
  16650. "accountid",
  16651. "buyorsell",
  16652. "goodscode",
  16653. "goodsid",
  16654. "goodsname",
  16655. "marketid",
  16656. "orderid",
  16657. "orderqty",
  16658. "trademode"
  16659. ],
  16660. "properties": {
  16661. "accountid": {
  16662. "description": "账户ID[报价币种]",
  16663. "type": "integer"
  16664. },
  16665. "agreeunit": {
  16666. "description": "合约单位",
  16667. "type": "number"
  16668. },
  16669. "buymaxqty": {
  16670. "description": "购买上限 [71] - 0为不限",
  16671. "type": "integer"
  16672. },
  16673. "buyorsell": {
  16674. "description": "买卖 - 0:买 1:卖",
  16675. "type": "integer"
  16676. },
  16677. "cancelqty": {
  16678. "description": "撤单数量",
  16679. "type": "integer"
  16680. },
  16681. "categoryid": {
  16682. "description": "类别ID(WRCATEGORY)",
  16683. "type": "integer"
  16684. },
  16685. "currency": {
  16686. "description": "货币",
  16687. "type": "string"
  16688. },
  16689. "currencysign": {
  16690. "description": "货币符号",
  16691. "type": "string"
  16692. },
  16693. "customername": {
  16694. "description": "卖家名称",
  16695. "type": "string"
  16696. },
  16697. "decimalplace": {
  16698. "description": "报价小数位",
  16699. "type": "integer"
  16700. },
  16701. "goodscode": {
  16702. "description": "商品代码(内部)",
  16703. "type": "string"
  16704. },
  16705. "goodsdesc": {
  16706. "description": "商品详情",
  16707. "type": "string"
  16708. },
  16709. "goodsid": {
  16710. "description": "商品ID",
  16711. "type": "integer"
  16712. },
  16713. "goodsname": {
  16714. "description": "商品名称",
  16715. "type": "string"
  16716. },
  16717. "goodsprice": {
  16718. "description": "商品价格",
  16719. "type": "number"
  16720. },
  16721. "hotindex": {
  16722. "description": "景点热度",
  16723. "type": "integer"
  16724. },
  16725. "lotsize": {
  16726. "description": "手数最小变动单位",
  16727. "type": "integer"
  16728. },
  16729. "marketid": {
  16730. "description": "市场ID",
  16731. "type": "integer"
  16732. },
  16733. "orderid": {
  16734. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16735. "type": "string"
  16736. },
  16737. "orderprice": {
  16738. "description": "委托价格",
  16739. "type": "number"
  16740. },
  16741. "orderqty": {
  16742. "description": "委托数量",
  16743. "type": "integer"
  16744. },
  16745. "orderstatus": {
  16746. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16747. "type": "integer"
  16748. },
  16749. "picurls": {
  16750. "description": "介绍图片[多张用逗号分隔]",
  16751. "type": "string"
  16752. },
  16753. "quoteminunit": {
  16754. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16755. "type": "integer"
  16756. },
  16757. "sellUserID": {
  16758. "description": "卖方UserID",
  16759. "type": "integer"
  16760. },
  16761. "trademode": {
  16762. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16763. "type": "integer"
  16764. },
  16765. "tradeqty": {
  16766. "description": "成交数量",
  16767. "type": "integer"
  16768. },
  16769. "vendorattr": {
  16770. "description": "供应商附件(多张,逗号分隔)",
  16771. "type": "string"
  16772. },
  16773. "vendorname": {
  16774. "description": "供应商名称",
  16775. "type": "string"
  16776. },
  16777. "vendorphone": {
  16778. "description": "供应商客服电话",
  16779. "type": "string"
  16780. },
  16781. "videourls": {
  16782. "description": "介绍视频[多张用逗号分隔]",
  16783. "type": "string"
  16784. }
  16785. }
  16786. },
  16787. "models.HsbyMarketInfo": {
  16788. "type": "object",
  16789. "required": [
  16790. "marketid",
  16791. "marketstatus",
  16792. "trademode"
  16793. ],
  16794. "properties": {
  16795. "marketid": {
  16796. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16797. "type": "integer"
  16798. },
  16799. "marketname": {
  16800. "description": "市场名称",
  16801. "type": "string"
  16802. },
  16803. "marketstatus": {
  16804. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16805. "type": "integer"
  16806. },
  16807. "trademode": {
  16808. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16809. "type": "integer"
  16810. }
  16811. }
  16812. },
  16813. "models.HsbyMyGoods": {
  16814. "type": "object",
  16815. "required": [
  16816. "accountid",
  16817. "goodscode",
  16818. "goodsid",
  16819. "goodsname",
  16820. "marketid",
  16821. "trademode"
  16822. ],
  16823. "properties": {
  16824. "accountid": {
  16825. "description": "账号Id",
  16826. "type": "integer"
  16827. },
  16828. "agreeunit": {
  16829. "description": "合约单位",
  16830. "type": "number"
  16831. },
  16832. "buyaverageprice": {
  16833. "description": "持仓均价",
  16834. "type": "number"
  16835. },
  16836. "buycurholderamount": {
  16837. "description": "买当前持仓总金额[商品币种]",
  16838. "type": "number"
  16839. },
  16840. "buycurpositionqty": {
  16841. "description": "买当前持仓总数量",
  16842. "type": "integer"
  16843. },
  16844. "buymaxqty": {
  16845. "description": "购买上限 [71] - 0为不限",
  16846. "type": "integer"
  16847. },
  16848. "currencysign": {
  16849. "description": "货币符号",
  16850. "type": "string"
  16851. },
  16852. "decimalplace": {
  16853. "description": "报价小数位",
  16854. "type": "integer"
  16855. },
  16856. "enableqty": {
  16857. "description": "可用数量",
  16858. "type": "integer"
  16859. },
  16860. "goodscode": {
  16861. "description": "商品代码(内部)",
  16862. "type": "string"
  16863. },
  16864. "goodsid": {
  16865. "description": "商品Id",
  16866. "type": "integer"
  16867. },
  16868. "goodsname": {
  16869. "description": "商品名称",
  16870. "type": "string"
  16871. },
  16872. "goodsprice": {
  16873. "description": "商品价格",
  16874. "type": "number"
  16875. },
  16876. "goodsstatus": {
  16877. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16878. "type": "integer"
  16879. },
  16880. "last": {
  16881. "description": "现价(仅使用于挂牌点选)",
  16882. "type": "number"
  16883. },
  16884. "limitdown": {
  16885. "description": "跌停价(仅使用于挂牌点选)",
  16886. "type": "number"
  16887. },
  16888. "limitup": {
  16889. "description": "涨停价(仅使用于挂牌点选)",
  16890. "type": "number"
  16891. },
  16892. "lotsize": {
  16893. "description": "手数最小变动单位",
  16894. "type": "integer"
  16895. },
  16896. "marketid": {
  16897. "description": "所属市场ID",
  16898. "type": "integer"
  16899. },
  16900. "picurls": {
  16901. "description": "介绍图片[多张用逗号分隔]",
  16902. "type": "string"
  16903. },
  16904. "quoteminunit": {
  16905. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16906. "type": "integer"
  16907. },
  16908. "stepvalue": {
  16909. "description": "价格最小变动单位",
  16910. "type": "number"
  16911. },
  16912. "trademode": {
  16913. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16914. "type": "integer"
  16915. }
  16916. }
  16917. },
  16918. "models.HsbyMyPackage": {
  16919. "type": "object",
  16920. "required": [
  16921. "goodscode",
  16922. "goodsname",
  16923. "takeorderid",
  16924. "trademode"
  16925. ],
  16926. "properties": {
  16927. "accountid": {
  16928. "description": "账户ID",
  16929. "type": "integer"
  16930. },
  16931. "address": {
  16932. "description": "提货人详细地址",
  16933. "type": "string"
  16934. },
  16935. "agreeunit": {
  16936. "description": "合约单位",
  16937. "type": "number"
  16938. },
  16939. "amount": {
  16940. "description": "提货金额",
  16941. "type": "number"
  16942. },
  16943. "auditer": {
  16944. "description": "审核人",
  16945. "type": "integer"
  16946. },
  16947. "audittime": {
  16948. "description": "审核时间",
  16949. "type": "string"
  16950. },
  16951. "averageprice": {
  16952. "description": "均价",
  16953. "type": "number"
  16954. },
  16955. "cardnum": {
  16956. "description": "提货人证件号码",
  16957. "type": "string"
  16958. },
  16959. "cardtypeid": {
  16960. "description": "提货人证件类型",
  16961. "type": "integer"
  16962. },
  16963. "checkremark": {
  16964. "description": "审核备注",
  16965. "type": "string"
  16966. },
  16967. "currencysign": {
  16968. "description": "货币符号",
  16969. "type": "string"
  16970. },
  16971. "decimalplace": {
  16972. "description": "报价小数位",
  16973. "type": "integer"
  16974. },
  16975. "goodscode": {
  16976. "description": "商品代码(内部)",
  16977. "type": "string"
  16978. },
  16979. "goodsid": {
  16980. "description": "商品ID",
  16981. "type": "integer"
  16982. },
  16983. "goodsname": {
  16984. "description": "商品名称",
  16985. "type": "string"
  16986. },
  16987. "handlestatus": {
  16988. "description": "处理状态",
  16989. "type": "integer"
  16990. },
  16991. "marketid": {
  16992. "description": "市场ID",
  16993. "type": "integer"
  16994. },
  16995. "phonenum": {
  16996. "description": "提货人联系方式",
  16997. "type": "string"
  16998. },
  16999. "picurls": {
  17000. "description": "介绍图片[多张用逗号分隔]",
  17001. "type": "string"
  17002. },
  17003. "qty": {
  17004. "description": "提货数量",
  17005. "type": "number"
  17006. },
  17007. "recivername": {
  17008. "description": "提货人姓名",
  17009. "type": "string"
  17010. },
  17011. "reqtime": {
  17012. "description": "更新时间",
  17013. "type": "string"
  17014. },
  17015. "takemode": {
  17016. "description": "提货方式 - 2:自提 3:配送",
  17017. "type": "integer"
  17018. },
  17019. "takeorderid": {
  17020. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17021. "type": "string"
  17022. },
  17023. "takeorderstatus": {
  17024. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17025. "type": "integer"
  17026. },
  17027. "takeremark": {
  17028. "description": "提货备注",
  17029. "type": "string"
  17030. },
  17031. "tradedate": {
  17032. "description": "交易日(yyyyMMdd)",
  17033. "type": "string"
  17034. },
  17035. "trademode": {
  17036. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17037. "type": "integer"
  17038. },
  17039. "userid": {
  17040. "description": "用户ID",
  17041. "type": "integer"
  17042. },
  17043. "vendorname": {
  17044. "description": "供应商名称",
  17045. "type": "string"
  17046. }
  17047. }
  17048. },
  17049. "models.HsbyPreGoods": {
  17050. "type": "object",
  17051. "required": [
  17052. "goodscode",
  17053. "goodsid",
  17054. "goodsname",
  17055. "marketid",
  17056. "trademode"
  17057. ],
  17058. "properties": {
  17059. "agreeunit": {
  17060. "description": "合约单位",
  17061. "type": "number"
  17062. },
  17063. "currency": {
  17064. "description": "货币",
  17065. "type": "string"
  17066. },
  17067. "currencysign": {
  17068. "description": "货币符号",
  17069. "type": "string"
  17070. },
  17071. "decimalplace": {
  17072. "description": "报价小数位",
  17073. "type": "integer"
  17074. },
  17075. "desccityid": {
  17076. "description": "目的地(市)",
  17077. "type": "integer"
  17078. },
  17079. "descprovinceid": {
  17080. "description": "目的地(省)",
  17081. "type": "integer"
  17082. },
  17083. "enableqty": {
  17084. "description": "剩余数量",
  17085. "type": "integer"
  17086. },
  17087. "goodscode": {
  17088. "description": "商品代码(内部)",
  17089. "type": "string"
  17090. },
  17091. "goodsid": {
  17092. "description": "商品ID(自增ID SEQ_GOODS)",
  17093. "type": "integer"
  17094. },
  17095. "goodsname": {
  17096. "description": "商品名称",
  17097. "type": "string"
  17098. },
  17099. "goodsstatus": {
  17100. "description": "商品状态- 2:未上市 3:上市",
  17101. "type": "integer"
  17102. },
  17103. "lasttradedate": {
  17104. "description": "最后交易日期(状态:待退市)",
  17105. "type": "string"
  17106. },
  17107. "listingdate": {
  17108. "description": "交易开始日期",
  17109. "type": "string"
  17110. },
  17111. "marketid": {
  17112. "description": "所属市场ID",
  17113. "type": "integer"
  17114. },
  17115. "picurls": {
  17116. "description": "介绍图片[多张用逗号分隔]",
  17117. "type": "string"
  17118. },
  17119. "presaledqty": {
  17120. "description": "已预售量(预售结束时更新)",
  17121. "type": "integer"
  17122. },
  17123. "presaleqty": {
  17124. "description": "预售数量",
  17125. "type": "integer"
  17126. },
  17127. "quoteminunit": {
  17128. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17129. "type": "integer"
  17130. },
  17131. "refprice": {
  17132. "description": "参考价格[一口价]",
  17133. "type": "number"
  17134. },
  17135. "relatedgoodsid": {
  17136. "description": "关联交易合约ID",
  17137. "type": "integer"
  17138. },
  17139. "trademode": {
  17140. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17141. "type": "integer"
  17142. },
  17143. "videourls": {
  17144. "description": "介绍视频[多张用逗号分隔]",
  17145. "type": "string"
  17146. }
  17147. }
  17148. },
  17149. "models.HsbyPreGoodsDetail": {
  17150. "type": "object",
  17151. "required": [
  17152. "goodscode",
  17153. "goodsid",
  17154. "goodsname",
  17155. "marketid",
  17156. "trademode"
  17157. ],
  17158. "properties": {
  17159. "agreeunit": {
  17160. "description": "合约单位",
  17161. "type": "number"
  17162. },
  17163. "buymaxqty": {
  17164. "description": "购买上限 [71] - 0为不限",
  17165. "type": "integer"
  17166. },
  17167. "currency": {
  17168. "description": "货币",
  17169. "type": "string"
  17170. },
  17171. "currencysign": {
  17172. "description": "货币符号",
  17173. "type": "string"
  17174. },
  17175. "customername": {
  17176. "description": "发行单位",
  17177. "type": "string"
  17178. },
  17179. "decimalplace": {
  17180. "description": "报价小数位",
  17181. "type": "integer"
  17182. },
  17183. "desccityid": {
  17184. "description": "目的地(市)ID",
  17185. "type": "integer"
  17186. },
  17187. "descprovinceid": {
  17188. "description": "目的地(省)ID",
  17189. "type": "integer"
  17190. },
  17191. "enableqty": {
  17192. "description": "剩余数量",
  17193. "type": "integer"
  17194. },
  17195. "goodscode": {
  17196. "description": "商品代码(内部)",
  17197. "type": "string"
  17198. },
  17199. "goodsdesc": {
  17200. "description": "商品详情",
  17201. "type": "string"
  17202. },
  17203. "goodsid": {
  17204. "description": "商品ID(自增ID SEQ_GOODS)",
  17205. "type": "integer"
  17206. },
  17207. "goodsname": {
  17208. "description": "商品名称",
  17209. "type": "string"
  17210. },
  17211. "goodsstatus": {
  17212. "description": "商品状态- 2:未上市 3:上市",
  17213. "type": "integer"
  17214. },
  17215. "goodunit": {
  17216. "description": "报价单位",
  17217. "type": "string"
  17218. },
  17219. "lasttradedate": {
  17220. "description": "最后交易日期(状态:待退市)",
  17221. "type": "string"
  17222. },
  17223. "listingdate": {
  17224. "description": "交易开始日期",
  17225. "type": "string"
  17226. },
  17227. "lotsize": {
  17228. "description": "手数最小变动单位",
  17229. "type": "integer"
  17230. },
  17231. "marketid": {
  17232. "description": "所属市场ID",
  17233. "type": "integer"
  17234. },
  17235. "picurls": {
  17236. "description": "介绍图片[多张用逗号分隔]",
  17237. "type": "string"
  17238. },
  17239. "presaledqty": {
  17240. "description": "已预售量(预售结束时更新)",
  17241. "type": "integer"
  17242. },
  17243. "presaleqty": {
  17244. "description": "预售数量",
  17245. "type": "integer"
  17246. },
  17247. "quoteminunit": {
  17248. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17249. "type": "integer"
  17250. },
  17251. "refprice": {
  17252. "description": "参考价格[一口价]",
  17253. "type": "number"
  17254. },
  17255. "relatedgoodsid": {
  17256. "description": "关联交易合约ID",
  17257. "type": "integer"
  17258. },
  17259. "stepvalue": {
  17260. "description": "价格最小变动单位",
  17261. "type": "number"
  17262. },
  17263. "trademode": {
  17264. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17265. "type": "integer"
  17266. },
  17267. "vendorattr": {
  17268. "description": "供应商附件(多张,逗号分隔)",
  17269. "type": "string"
  17270. },
  17271. "vendorname": {
  17272. "description": "供应商名称",
  17273. "type": "string"
  17274. },
  17275. "vendorphone": {
  17276. "description": "供应商客服电话",
  17277. "type": "string"
  17278. },
  17279. "videourls": {
  17280. "description": "介绍视频[多张用逗号分隔]",
  17281. "type": "string"
  17282. }
  17283. }
  17284. },
  17285. "models.HsbySellCollectionOrder": {
  17286. "type": "object",
  17287. "required": [
  17288. "goodscode",
  17289. "goodsname",
  17290. "tradeid",
  17291. "trademode"
  17292. ],
  17293. "properties": {
  17294. "agreeunit": {
  17295. "description": "合约单位",
  17296. "type": "number"
  17297. },
  17298. "buyaccountid": {
  17299. "description": "买方账号ID[报价币种]",
  17300. "type": "integer"
  17301. },
  17302. "buyorderid": {
  17303. "description": "买方委托单号",
  17304. "type": "string"
  17305. },
  17306. "createtime": {
  17307. "description": "创建时间",
  17308. "type": "string"
  17309. },
  17310. "currencysign": {
  17311. "description": "货币符号",
  17312. "type": "string"
  17313. },
  17314. "decimalplace": {
  17315. "description": "报价小数位",
  17316. "type": "integer"
  17317. },
  17318. "goodscode": {
  17319. "description": "商品代码(内部)",
  17320. "type": "string"
  17321. },
  17322. "goodsid": {
  17323. "description": "商品ID",
  17324. "type": "integer"
  17325. },
  17326. "goodsname": {
  17327. "description": "商品名称",
  17328. "type": "string"
  17329. },
  17330. "marketid": {
  17331. "description": "市场ID",
  17332. "type": "integer"
  17333. },
  17334. "offamount": {
  17335. "description": "优惠金额",
  17336. "type": "number"
  17337. },
  17338. "payamount": {
  17339. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  17340. "type": "number"
  17341. },
  17342. "payflag": {
  17343. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17344. "type": "integer"
  17345. },
  17346. "paylimitedtime": {
  17347. "description": "支付期限",
  17348. "type": "string"
  17349. },
  17350. "paytime": {
  17351. "description": "付款时间",
  17352. "type": "string"
  17353. },
  17354. "picurls": {
  17355. "description": "商品介绍图片[多张用逗号分隔]",
  17356. "type": "string"
  17357. },
  17358. "sellaccountid": {
  17359. "description": "卖方账号ID[报价币种]",
  17360. "type": "integer"
  17361. },
  17362. "sellorderid": {
  17363. "description": "卖方委托单号",
  17364. "type": "string"
  17365. },
  17366. "tradeamount": {
  17367. "description": "成交金额",
  17368. "type": "number"
  17369. },
  17370. "tradecharge": {
  17371. "description": "成交手续费(买方)",
  17372. "type": "number"
  17373. },
  17374. "tradedate": {
  17375. "description": "交易日(yyyyMMdd)",
  17376. "type": "string"
  17377. },
  17378. "tradeid": {
  17379. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17380. "type": "string"
  17381. },
  17382. "trademode": {
  17383. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17384. "type": "integer"
  17385. },
  17386. "tradeprice": {
  17387. "description": "成交价格",
  17388. "type": "number"
  17389. },
  17390. "tradeqty": {
  17391. "description": "成交数量",
  17392. "type": "integer"
  17393. }
  17394. }
  17395. },
  17396. "models.HsbySellMyDetail": {
  17397. "type": "object",
  17398. "required": [
  17399. "accountid",
  17400. "buyorsell",
  17401. "goodscode",
  17402. "goodsid",
  17403. "goodsname",
  17404. "marketid",
  17405. "orderid",
  17406. "time",
  17407. "trademode"
  17408. ],
  17409. "properties": {
  17410. "accountid": {
  17411. "description": "账户ID[报价币种]",
  17412. "type": "integer"
  17413. },
  17414. "agreeunit": {
  17415. "description": "合约单位",
  17416. "type": "number"
  17417. },
  17418. "buyorsell": {
  17419. "description": "买卖 - 0:买 1:卖",
  17420. "type": "integer"
  17421. },
  17422. "currencysign": {
  17423. "description": "货币符号",
  17424. "type": "string"
  17425. },
  17426. "decimalplace": {
  17427. "description": "报价小数位",
  17428. "type": "integer"
  17429. },
  17430. "goodscode": {
  17431. "description": "商品代码(内部)",
  17432. "type": "string"
  17433. },
  17434. "goodsid": {
  17435. "description": "商品ID",
  17436. "type": "integer"
  17437. },
  17438. "goodsname": {
  17439. "description": "商品名称",
  17440. "type": "string"
  17441. },
  17442. "marketid": {
  17443. "description": "市场ID",
  17444. "type": "integer"
  17445. },
  17446. "orderid": {
  17447. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  17448. "type": "string"
  17449. },
  17450. "ordertype": {
  17451. "description": "单据类型:0 - 发布中, 1 - 已完成",
  17452. "type": "integer"
  17453. },
  17454. "picurls": {
  17455. "description": "介绍图片[多张用逗号分隔]",
  17456. "type": "string"
  17457. },
  17458. "price": {
  17459. "description": "价格",
  17460. "type": "number"
  17461. },
  17462. "qty": {
  17463. "description": "数量",
  17464. "type": "integer"
  17465. },
  17466. "time": {
  17467. "description": "时间",
  17468. "type": "string"
  17469. },
  17470. "trademode": {
  17471. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17472. "type": "integer"
  17473. },
  17474. "vendorname": {
  17475. "description": "供应商名称",
  17476. "type": "string"
  17477. }
  17478. }
  17479. },
  17480. "models.HsbyTopGoods": {
  17481. "type": "object",
  17482. "required": [
  17483. "goodscode",
  17484. "goodsid",
  17485. "goodsname",
  17486. "marketid",
  17487. "trademode"
  17488. ],
  17489. "properties": {
  17490. "agreeunit": {
  17491. "description": "合约单位",
  17492. "type": "number"
  17493. },
  17494. "currency": {
  17495. "description": "货币",
  17496. "type": "string"
  17497. },
  17498. "currencysign": {
  17499. "description": "货币符号",
  17500. "type": "string"
  17501. },
  17502. "decimalplace": {
  17503. "description": "报价小数位",
  17504. "type": "integer"
  17505. },
  17506. "desccityid": {
  17507. "description": "目的地(市)",
  17508. "type": "integer"
  17509. },
  17510. "descprovinceid": {
  17511. "description": "目的地(省)",
  17512. "type": "integer"
  17513. },
  17514. "goodscode": {
  17515. "description": "商品代码(内部)",
  17516. "type": "string"
  17517. },
  17518. "goodsid": {
  17519. "description": "商品ID(自增ID SEQ_GOODS)",
  17520. "type": "integer"
  17521. },
  17522. "goodsname": {
  17523. "description": "商品名称",
  17524. "type": "string"
  17525. },
  17526. "hotindex": {
  17527. "description": "景点热度",
  17528. "type": "integer"
  17529. },
  17530. "last": {
  17531. "description": "现价",
  17532. "type": "number"
  17533. },
  17534. "marketid": {
  17535. "description": "所属市场ID",
  17536. "type": "integer"
  17537. },
  17538. "picurls": {
  17539. "description": "介绍图片[多张用逗号分隔]",
  17540. "type": "string"
  17541. },
  17542. "quoteminunit": {
  17543. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17544. "type": "integer"
  17545. },
  17546. "trademode": {
  17547. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17548. "type": "integer"
  17549. },
  17550. "videourls": {
  17551. "description": "介绍视频[多张用逗号分隔]",
  17552. "type": "string"
  17553. }
  17554. }
  17555. },
  17556. "models.HybsMyBuyOrderDetail": {
  17557. "type": "object",
  17558. "required": [
  17559. "accountid",
  17560. "buyorsell",
  17561. "goodscode",
  17562. "goodsid",
  17563. "goodsname",
  17564. "marketid",
  17565. "orderid",
  17566. "orderqty",
  17567. "ordertime",
  17568. "trademode"
  17569. ],
  17570. "properties": {
  17571. "accountid": {
  17572. "description": "账户ID[报价币种]",
  17573. "type": "integer"
  17574. },
  17575. "agreeunit": {
  17576. "description": "合约单位",
  17577. "type": "number"
  17578. },
  17579. "buyorsell": {
  17580. "description": "买卖 - 0:买 1:卖",
  17581. "type": "integer"
  17582. },
  17583. "cancelqty": {
  17584. "description": "撤单数量",
  17585. "type": "integer"
  17586. },
  17587. "currencysign": {
  17588. "description": "货币符号",
  17589. "type": "string"
  17590. },
  17591. "decimalplace": {
  17592. "description": "报价小数位",
  17593. "type": "integer"
  17594. },
  17595. "goodscode": {
  17596. "description": "商品代码(内部)",
  17597. "type": "string"
  17598. },
  17599. "goodsid": {
  17600. "description": "商品ID",
  17601. "type": "integer"
  17602. },
  17603. "goodsname": {
  17604. "description": "商品名称",
  17605. "type": "string"
  17606. },
  17607. "listingselecttype": {
  17608. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17609. "type": "integer"
  17610. },
  17611. "marketid": {
  17612. "description": "市场ID",
  17613. "type": "integer"
  17614. },
  17615. "mybuystatus": {
  17616. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  17617. "type": "integer"
  17618. },
  17619. "orderamount": {
  17620. "description": "委托金额",
  17621. "type": "number"
  17622. },
  17623. "orderid": {
  17624. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17625. "type": "string"
  17626. },
  17627. "orderprice": {
  17628. "description": "委托价格",
  17629. "type": "number"
  17630. },
  17631. "orderqty": {
  17632. "description": "委托数量",
  17633. "type": "integer"
  17634. },
  17635. "orderstatus": {
  17636. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17637. "type": "integer"
  17638. },
  17639. "ordertime": {
  17640. "description": "委托时间",
  17641. "type": "string"
  17642. },
  17643. "picurls1": {
  17644. "description": "预售商品介绍图片[多张用逗号分隔]",
  17645. "type": "string"
  17646. },
  17647. "picurls2": {
  17648. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17649. "type": "string"
  17650. },
  17651. "trademode": {
  17652. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17653. "type": "integer"
  17654. },
  17655. "tradeqty": {
  17656. "description": "成交数量",
  17657. "type": "integer"
  17658. },
  17659. "vendorname1": {
  17660. "description": "预售商品供应商名称",
  17661. "type": "string"
  17662. },
  17663. "vendorname2": {
  17664. "description": "挂牌商品供应商名称",
  17665. "type": "string"
  17666. }
  17667. }
  17668. },
  17669. "models.Loginaccount": {
  17670. "type": "object",
  17671. "required": [
  17672. "loginid"
  17673. ],
  17674. "properties": {
  17675. "canoutin": {
  17676. "description": "是否可出入金 - 0:不可 1:可",
  17677. "type": "integer"
  17678. },
  17679. "clientroleid": {
  17680. "description": "终端角色ID",
  17681. "type": "integer"
  17682. },
  17683. "haslogined": {
  17684. "description": "是否已登录 - 0:未登录 1:已登录",
  17685. "type": "integer"
  17686. },
  17687. "hasupdatedpwd": {
  17688. "description": "是否已更改密码 - 0:未修改 1:已修改",
  17689. "type": "integer"
  17690. },
  17691. "lastloginip": {
  17692. "description": "最新登录地址",
  17693. "type": "string"
  17694. },
  17695. "lastloginmode": {
  17696. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17697. "type": "integer"
  17698. },
  17699. "lastloginremark": {
  17700. "description": "最新登录描述",
  17701. "type": "string"
  17702. },
  17703. "lastlogintime": {
  17704. "description": "最新登录时间",
  17705. "type": "string"
  17706. },
  17707. "logincode": {
  17708. "description": "登录代码",
  17709. "type": "string"
  17710. },
  17711. "loginfailnum": {
  17712. "description": "连续登录失败次数(登录成功时清零)",
  17713. "type": "integer"
  17714. },
  17715. "loginid": {
  17716. "description": "登陆账号",
  17717. "type": "integer"
  17718. },
  17719. "loginport": {
  17720. "description": "最新登录端口",
  17721. "type": "integer"
  17722. },
  17723. "loginstatus": {
  17724. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  17725. "type": "integer"
  17726. },
  17727. "loginusertype": {
  17728. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  17729. "type": "integer"
  17730. },
  17731. "modifierid": {
  17732. "description": "修改人",
  17733. "type": "integer"
  17734. },
  17735. "modifytime": {
  17736. "description": "修改时间",
  17737. "type": "string"
  17738. },
  17739. "pwdwrongcount": {
  17740. "description": "密码错误次数",
  17741. "type": "integer"
  17742. },
  17743. "taaccountrighttype": {
  17744. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  17745. "type": "integer"
  17746. },
  17747. "unfreezetime": {
  17748. "description": "账户解冻时间",
  17749. "type": "string"
  17750. },
  17751. "userid": {
  17752. "description": "用户ID",
  17753. "type": "integer"
  17754. }
  17755. }
  17756. },
  17757. "models.MainAccountInfo": {
  17758. "type": "object",
  17759. "properties": {
  17760. "accountid": {
  17761. "description": "账号id",
  17762. "type": "string"
  17763. },
  17764. "appid": {
  17765. "description": "AppID",
  17766. "type": "string"
  17767. },
  17768. "authcode": {
  17769. "description": "授权码",
  17770. "type": "string"
  17771. },
  17772. "brokerid": {
  17773. "description": "经纪商id",
  17774. "type": "string"
  17775. },
  17776. "fcid": {
  17777. "description": "期货公司id",
  17778. "type": "integer"
  17779. },
  17780. "fcname": {
  17781. "description": "期货公司代码",
  17782. "type": "string"
  17783. },
  17784. "hedgeaccountcode": {
  17785. "description": "外部账号代码",
  17786. "type": "string"
  17787. },
  17788. "hedgeaccountpwd": {
  17789. "description": "密码",
  17790. "type": "string"
  17791. },
  17792. "ismain": {
  17793. "description": "是否主账号",
  17794. "type": "integer"
  17795. },
  17796. "relateduserid": {
  17797. "description": "关联用户id",
  17798. "type": "integer"
  17799. }
  17800. }
  17801. },
  17802. "models.Market": {
  17803. "type": "object",
  17804. "required": [
  17805. "marketid",
  17806. "marketstatus",
  17807. "openmethod",
  17808. "reckonpricealgorithm",
  17809. "trademode",
  17810. "tradeproperty"
  17811. ],
  17812. "properties": {
  17813. "auctionwrtype": {
  17814. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  17815. "type": "integer"
  17816. },
  17817. "canacceptquote": {
  17818. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  17819. "type": "integer"
  17820. },
  17821. "cangoodsexercise": {
  17822. "description": "[期权]是否可现货行权- 0:否 1:是",
  17823. "type": "integer"
  17824. },
  17825. "cangoodsexercisetype": {
  17826. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  17827. "type": "integer"
  17828. },
  17829. "canmanualquotestrike": {
  17830. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  17831. "type": "integer"
  17832. },
  17833. "canmutistage": {
  17834. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  17835. "type": "integer"
  17836. },
  17837. "canpreexercise": {
  17838. "description": "[期权]是否可预申报- 0:否 1:是",
  17839. "type": "integer"
  17840. },
  17841. "clearinterval": {
  17842. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  17843. "type": "integer"
  17844. },
  17845. "contracttmp": {
  17846. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  17847. "type": "string"
  17848. },
  17849. "exchareaid": {
  17850. "description": "所属交易所,可以没有",
  17851. "type": "integer"
  17852. },
  17853. "goodstype": {
  17854. "description": "商品类型 - 1:交易商品 2:仓单商品",
  17855. "type": "integer"
  17856. },
  17857. "hasrebate": {
  17858. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  17859. "type": "integer"
  17860. },
  17861. "hastradecredit": {
  17862. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  17863. "type": "integer"
  17864. },
  17865. "haswr": {
  17866. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  17867. "type": "integer"
  17868. },
  17869. "isdeductmargin": {
  17870. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  17871. "type": "integer"
  17872. },
  17873. "isrecordsource": {
  17874. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  17875. "type": "integer"
  17876. },
  17877. "isreleasemargin": {
  17878. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  17879. "type": "integer"
  17880. },
  17881. "marginformula": {
  17882. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17883. "type": "integer"
  17884. },
  17885. "marginformula2": {
  17886. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17887. "type": "integer"
  17888. },
  17889. "marketid": {
  17890. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17891. "type": "integer"
  17892. },
  17893. "marketname": {
  17894. "description": "市场名称",
  17895. "type": "string"
  17896. },
  17897. "marketserviceid": {
  17898. "description": "市场服务ID",
  17899. "type": "integer"
  17900. },
  17901. "marketstatus": {
  17902. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  17903. "type": "integer"
  17904. },
  17905. "markettype": {
  17906. "description": "市场类型- 1:非交易服务 2:交易服务",
  17907. "type": "integer"
  17908. },
  17909. "matchermode": {
  17910. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  17911. "type": "integer"
  17912. },
  17913. "openmethod": {
  17914. "description": "开盘模式 - 0 自动 1手动",
  17915. "type": "integer"
  17916. },
  17917. "otcuserid": {
  17918. "description": "场外期权做市商[场外期权]",
  17919. "type": "integer"
  17920. },
  17921. "outersynctime": {
  17922. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  17923. "type": "string"
  17924. },
  17925. "pendingflag": {
  17926. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  17927. "type": "integer"
  17928. },
  17929. "pendingtime": {
  17930. "description": "待开市时间[通道交易-对冲](HH:mm)",
  17931. "type": "string"
  17932. },
  17933. "performancetempid": {
  17934. "description": "履约计划模板ID - 作废",
  17935. "type": "integer"
  17936. },
  17937. "premiumquotemode": {
  17938. "description": "权利金报价方式 - 1:自动 2:手动",
  17939. "type": "integer"
  17940. },
  17941. "rebateratio": {
  17942. "description": "返利比率[竞价式]",
  17943. "type": "number"
  17944. },
  17945. "reckonorder": {
  17946. "description": "结算顺序",
  17947. "type": "integer"
  17948. },
  17949. "reckonpricealgorithm": {
  17950. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  17951. "type": "integer"
  17952. },
  17953. "reckonpriceparam": {
  17954. "description": "结算价参数",
  17955. "type": "integer"
  17956. },
  17957. "reckontime": {
  17958. "description": "结算时间[通道交易-对冲](HH:mm)",
  17959. "type": "string"
  17960. },
  17961. "roleprioritytype": {
  17962. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  17963. "type": "integer"
  17964. },
  17965. "selllistingauditflag": {
  17966. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  17967. "type": "integer"
  17968. },
  17969. "trademarkettype": {
  17970. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  17971. "type": "integer"
  17972. },
  17973. "trademode": {
  17974. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17975. "type": "integer"
  17976. },
  17977. "tradeproperty": {
  17978. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  17979. "type": "integer"
  17980. },
  17981. "tradetype": {
  17982. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  17983. "type": "integer"
  17984. }
  17985. }
  17986. },
  17987. "models.Marketrun": {
  17988. "type": "object",
  17989. "required": [
  17990. "marketid",
  17991. "nexttradedate",
  17992. "reckonflag",
  17993. "runstatus",
  17994. "tradedate",
  17995. "tradedate2"
  17996. ],
  17997. "properties": {
  17998. "afternexttradedate": {
  17999. "description": "下下交易日",
  18000. "type": "string"
  18001. },
  18002. "clearquoteflag": {
  18003. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  18004. "type": "integer"
  18005. },
  18006. "lastreckondate": {
  18007. "description": "最新交易日(结算成功)",
  18008. "type": "string"
  18009. },
  18010. "machinedate": {
  18011. "description": "机器时间",
  18012. "type": "string"
  18013. },
  18014. "manualflag": {
  18015. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  18016. "type": "integer"
  18017. },
  18018. "marketid": {
  18019. "description": "市场ID",
  18020. "type": "integer"
  18021. },
  18022. "nexttradedate": {
  18023. "description": "下一交易日",
  18024. "type": "string"
  18025. },
  18026. "pretradedate": {
  18027. "description": "上一交易日",
  18028. "type": "string"
  18029. },
  18030. "reckonflag": {
  18031. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  18032. "type": "integer"
  18033. },
  18034. "runstatus": {
  18035. "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.今日免清算",
  18036. "type": "integer"
  18037. },
  18038. "sectionid": {
  18039. "description": "时间段号[多时段时用]",
  18040. "type": "integer"
  18041. },
  18042. "tradedate": {
  18043. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  18044. "type": "string"
  18045. },
  18046. "tradedate2": {
  18047. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  18048. "type": "string"
  18049. },
  18050. "updatetime": {
  18051. "description": "更新时间",
  18052. "type": "string"
  18053. }
  18054. }
  18055. },
  18056. "models.Messageboard": {
  18057. "type": "object",
  18058. "required": [
  18059. "messageboardid"
  18060. ],
  18061. "properties": {
  18062. "contactnum": {
  18063. "description": "联系电话",
  18064. "type": "string"
  18065. },
  18066. "createtime": {
  18067. "description": "创建时间",
  18068. "type": "string"
  18069. },
  18070. "message": {
  18071. "description": "留言信息",
  18072. "type": "string"
  18073. },
  18074. "messageboardid": {
  18075. "description": "留言簿ID(SEQ_MessageBoard)",
  18076. "type": "integer"
  18077. },
  18078. "userid": {
  18079. "description": "用户ID",
  18080. "type": "integer"
  18081. }
  18082. }
  18083. },
  18084. "models.MyCoupon": {
  18085. "type": "object",
  18086. "required": [
  18087. "accountid",
  18088. "coupontypeid"
  18089. ],
  18090. "properties": {
  18091. "accountid": {
  18092. "description": "资金账户ID",
  18093. "type": "integer"
  18094. },
  18095. "areauserid": {
  18096. "description": "所属机构",
  18097. "type": "integer"
  18098. },
  18099. "conditionvalue": {
  18100. "description": "条件阈值(可为0)",
  18101. "type": "number"
  18102. },
  18103. "couponcategroy": {
  18104. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  18105. "type": "integer"
  18106. },
  18107. "couponname": {
  18108. "description": "优惠券名称",
  18109. "type": "string"
  18110. },
  18111. "coupontypeid": {
  18112. "description": "优惠券类型ID",
  18113. "type": "string"
  18114. },
  18115. "couponvalue": {
  18116. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18117. "type": "number"
  18118. },
  18119. "curfreezeqty": {
  18120. "description": "期末冻结数量",
  18121. "type": "integer"
  18122. },
  18123. "curqty": {
  18124. "description": "期末数量",
  18125. "type": "integer"
  18126. },
  18127. "isgeneral": {
  18128. "description": "是否通用券 - 0:否 1:是",
  18129. "type": "integer"
  18130. },
  18131. "isunusable": {
  18132. "description": "是否不可用",
  18133. "type": "boolean"
  18134. },
  18135. "limitedflag": {
  18136. "description": "是否指定商品 - 0:不限 1:限制",
  18137. "type": "integer"
  18138. },
  18139. "limitedgoodsids": {
  18140. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  18141. "type": "string"
  18142. },
  18143. "orifreezeqty": {
  18144. "description": "期初冻结数量",
  18145. "type": "integer"
  18146. },
  18147. "oriqty": {
  18148. "description": "期初数量",
  18149. "type": "integer"
  18150. },
  18151. "reasontype": {
  18152. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  18153. "type": "integer"
  18154. },
  18155. "todaydecrease": {
  18156. "description": "今日减少",
  18157. "type": "integer"
  18158. },
  18159. "todayincrease": {
  18160. "description": "今日增加",
  18161. "type": "integer"
  18162. },
  18163. "userid": {
  18164. "description": "用户ID",
  18165. "type": "integer"
  18166. },
  18167. "userscope": {
  18168. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  18169. "type": "string"
  18170. }
  18171. }
  18172. },
  18173. "models.MyCouponHold": {
  18174. "type": "object",
  18175. "required": [
  18176. "couponholdid"
  18177. ],
  18178. "properties": {
  18179. "accountid": {
  18180. "description": "资金账户ID",
  18181. "type": "integer"
  18182. },
  18183. "conditionvalue": {
  18184. "description": "条件阈值(可为0)",
  18185. "type": "number"
  18186. },
  18187. "couponcategroy": {
  18188. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  18189. "type": "integer"
  18190. },
  18191. "couponholdid": {
  18192. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  18193. "type": "string"
  18194. },
  18195. "couponname": {
  18196. "description": "优惠券名称",
  18197. "type": "string"
  18198. },
  18199. "coupontypeid": {
  18200. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  18201. "type": "string"
  18202. },
  18203. "couponvalue": {
  18204. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18205. "type": "number"
  18206. },
  18207. "createtime": {
  18208. "description": "创建时间",
  18209. "type": "string"
  18210. },
  18211. "enddate": {
  18212. "description": "结束日期",
  18213. "type": "string"
  18214. },
  18215. "giveapplyid": {
  18216. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  18217. "type": "integer"
  18218. },
  18219. "holdstatus": {
  18220. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  18221. "type": "integer"
  18222. },
  18223. "isgeneral": {
  18224. "description": "是否通用券 - 0:否 1:是",
  18225. "type": "integer"
  18226. },
  18227. "limitedflag": {
  18228. "description": "是否指定商品 - 0:不限 1:限制",
  18229. "type": "integer"
  18230. },
  18231. "limitedgoodsids": {
  18232. "description": "指定商品IDs[逗号分隔]",
  18233. "type": "string"
  18234. },
  18235. "qty": {
  18236. "description": "数量(按1平铺)",
  18237. "type": "integer"
  18238. },
  18239. "startdate": {
  18240. "description": "开始日期",
  18241. "type": "string"
  18242. },
  18243. "userid": {
  18244. "description": "用户ID",
  18245. "type": "integer"
  18246. },
  18247. "userscope": {
  18248. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  18249. "type": "string"
  18250. }
  18251. }
  18252. },
  18253. "models.MyUsedCoupon": {
  18254. "type": "object",
  18255. "required": [
  18256. "coupontypeid",
  18257. "orderid"
  18258. ],
  18259. "properties": {
  18260. "accountid": {
  18261. "description": "资金账户ID(买方)",
  18262. "type": "integer"
  18263. },
  18264. "conditionvalue": {
  18265. "description": "条件阈值(可为0)",
  18266. "type": "number"
  18267. },
  18268. "couponcategroy": {
  18269. "description": "种类 - 1:现金券 2:折扣券",
  18270. "type": "integer"
  18271. },
  18272. "couponname": {
  18273. "description": "优惠券名称",
  18274. "type": "string"
  18275. },
  18276. "coupontypeid": {
  18277. "description": "优惠券类型ID(买方)",
  18278. "type": "string"
  18279. },
  18280. "couponvalue": {
  18281. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  18282. "type": "number"
  18283. },
  18284. "createtime": {
  18285. "description": "创建时间",
  18286. "type": "string"
  18287. },
  18288. "goodsid": {
  18289. "description": "商品ID",
  18290. "type": "integer"
  18291. },
  18292. "handlestatus": {
  18293. "description": "处理状态",
  18294. "type": "integer"
  18295. },
  18296. "marketid": {
  18297. "description": "市场ID",
  18298. "type": "integer"
  18299. },
  18300. "offamount": {
  18301. "description": "优惠金额",
  18302. "type": "number"
  18303. },
  18304. "orderid": {
  18305. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18306. "type": "string"
  18307. },
  18308. "sellaccountid": {
  18309. "description": "资金账户ID(卖方)",
  18310. "type": "integer"
  18311. },
  18312. "tradeamount": {
  18313. "description": "成交金额",
  18314. "type": "number"
  18315. },
  18316. "tradeid": {
  18317. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18318. "type": "string"
  18319. },
  18320. "usedqty": {
  18321. "description": "使用数量",
  18322. "type": "integer"
  18323. }
  18324. }
  18325. },
  18326. "models.OperationPrimaryMenu": {
  18327. "type": "object",
  18328. "properties": {
  18329. "Children": {
  18330. "description": "二级功能菜单",
  18331. "type": "array",
  18332. "items": {
  18333. "$ref": "#/definitions/models.OperationSecondaryMenu"
  18334. }
  18335. },
  18336. "Key": {
  18337. "description": "菜单KEY",
  18338. "type": "string"
  18339. },
  18340. "Label": {
  18341. "description": "菜单标题",
  18342. "type": "string"
  18343. }
  18344. }
  18345. },
  18346. "models.OperationSecondaryMenu": {
  18347. "type": "object",
  18348. "properties": {
  18349. "Key": {
  18350. "description": "菜单KEY",
  18351. "type": "string"
  18352. },
  18353. "Label": {
  18354. "description": "菜单标题",
  18355. "type": "string"
  18356. },
  18357. "TabList": {
  18358. "description": "三级功能菜单",
  18359. "type": "array",
  18360. "items": {
  18361. "$ref": "#/definitions/models.OperationTabMenu"
  18362. }
  18363. }
  18364. }
  18365. },
  18366. "models.OperationTabMenu": {
  18367. "type": "object",
  18368. "properties": {
  18369. "Key": {
  18370. "description": "菜单KEY",
  18371. "type": "string"
  18372. },
  18373. "Label": {
  18374. "description": "菜单标题",
  18375. "type": "string"
  18376. }
  18377. }
  18378. },
  18379. "models.QueryErrorInfosRsp": {
  18380. "type": "object",
  18381. "required": [
  18382. "errorid"
  18383. ],
  18384. "properties": {
  18385. "description": {
  18386. "description": "异常描述",
  18387. "type": "string"
  18388. },
  18389. "errorcode": {
  18390. "description": "异常代码",
  18391. "type": "string"
  18392. },
  18393. "errorid": {
  18394. "description": "异常ID",
  18395. "type": "integer"
  18396. },
  18397. "modulecode": {
  18398. "description": "所属模块",
  18399. "type": "string"
  18400. },
  18401. "operatecode": {
  18402. "description": "所属操作",
  18403. "type": "string"
  18404. },
  18405. "rownumber": {
  18406. "description": "行号",
  18407. "type": "string"
  18408. }
  18409. }
  18410. },
  18411. "models.QueryHedgeOrderDetailRsp": {
  18412. "type": "object",
  18413. "properties": {
  18414. "accountid": {
  18415. "description": "账户ID",
  18416. "type": "integer"
  18417. },
  18418. "buyorsell": {
  18419. "description": "买卖 - 0:买 1:卖",
  18420. "type": "integer"
  18421. },
  18422. "cancellogincode": {
  18423. "description": "撤单人",
  18424. "type": "string"
  18425. },
  18426. "channelbuildtype": {
  18427. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  18428. "type": "integer"
  18429. },
  18430. "channelinnerorderstatus": {
  18431. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  18432. "type": "integer"
  18433. },
  18434. "channeloperatetype": {
  18435. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  18436. "type": "integer"
  18437. },
  18438. "closetype": {
  18439. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18440. "type": "integer"
  18441. },
  18442. "curexchangerate": {
  18443. "description": "当前汇率",
  18444. "type": "number"
  18445. },
  18446. "exchangefullname": {
  18447. "description": "外部交易所全称",
  18448. "type": "string"
  18449. },
  18450. "goodscode": {
  18451. "description": "商品代码(内部)",
  18452. "type": "string"
  18453. },
  18454. "goodsid": {
  18455. "description": "商品ID",
  18456. "type": "integer"
  18457. },
  18458. "goodsname": {
  18459. "description": "商品名称",
  18460. "type": "string"
  18461. },
  18462. "marketid": {
  18463. "description": "市场ID",
  18464. "type": "integer"
  18465. },
  18466. "openfreezemargin": {
  18467. "description": "冻结保证金(冻结交易金额)",
  18468. "type": "number"
  18469. },
  18470. "orderid": {
  18471. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18472. "type": "string"
  18473. },
  18474. "orderlogincode": {
  18475. "description": "委托人",
  18476. "type": "string"
  18477. },
  18478. "orderprice": {
  18479. "description": "委托价格(账户)",
  18480. "type": "number"
  18481. },
  18482. "orderqty": {
  18483. "description": "委托数量",
  18484. "type": "integer"
  18485. },
  18486. "ordertime": {
  18487. "description": "委托时间",
  18488. "type": "string"
  18489. },
  18490. "pricemode": {
  18491. "description": "取价方式 - 1:市价 2: 限价",
  18492. "type": "integer"
  18493. },
  18494. "tradedate": {
  18495. "description": "交易日(yyyyMMdd)",
  18496. "type": "string"
  18497. },
  18498. "tradeqty": {
  18499. "description": "成交数量",
  18500. "type": "integer"
  18501. }
  18502. }
  18503. },
  18504. "models.QueryHedgeTradeDetailRsp": {
  18505. "type": "object",
  18506. "properties": {
  18507. "accountid": {
  18508. "description": "账号ID",
  18509. "type": "integer"
  18510. },
  18511. "buyorsell": {
  18512. "description": "方向 - 0:买 1:卖",
  18513. "type": "integer"
  18514. },
  18515. "channelbuildtype": {
  18516. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18517. "type": "integer"
  18518. },
  18519. "closecharge": {
  18520. "description": "平仓手续费(账户)",
  18521. "type": "number"
  18522. },
  18523. "closecharge2": {
  18524. "description": "平仓手续费(商品)",
  18525. "type": "number"
  18526. },
  18527. "closepl": {
  18528. "description": "平仓盈亏(账户)",
  18529. "type": "number"
  18530. },
  18531. "closepl2": {
  18532. "description": "平仓盈亏(商品)",
  18533. "type": "number"
  18534. },
  18535. "closepl3": {
  18536. "description": "平仓盈亏(账户)(逐笔)",
  18537. "type": "number"
  18538. },
  18539. "closepl4": {
  18540. "description": "平仓盈亏(商品)(逐笔)",
  18541. "type": "number"
  18542. },
  18543. "closetype": {
  18544. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18545. "type": "integer"
  18546. },
  18547. "curexchangerate": {
  18548. "description": "当前汇率",
  18549. "type": "number"
  18550. },
  18551. "exchangefullname": {
  18552. "description": "外部交易所全称",
  18553. "type": "string"
  18554. },
  18555. "goodscode": {
  18556. "description": "商品代码(内部)",
  18557. "type": "string"
  18558. },
  18559. "goodsid": {
  18560. "description": "商品ID",
  18561. "type": "integer"
  18562. },
  18563. "goodsname": {
  18564. "description": "商品名称",
  18565. "type": "string"
  18566. },
  18567. "marketid": {
  18568. "description": "市场ID",
  18569. "type": "integer"
  18570. },
  18571. "opencharge": {
  18572. "description": "建仓手续费(账户)",
  18573. "type": "number"
  18574. },
  18575. "opencharge2": {
  18576. "description": "建仓手续费(商品)",
  18577. "type": "number"
  18578. },
  18579. "orderid": {
  18580. "description": "委托单号",
  18581. "type": "string"
  18582. },
  18583. "orderlogincode": {
  18584. "description": "委托人",
  18585. "type": "string"
  18586. },
  18587. "tradeamount": {
  18588. "description": "成交金额(账户)",
  18589. "type": "number"
  18590. },
  18591. "tradedate": {
  18592. "description": "交易日(yyyyMMdd)",
  18593. "type": "string"
  18594. },
  18595. "tradeid": {
  18596. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18597. "type": "string"
  18598. },
  18599. "tradeprice": {
  18600. "description": "成交价格",
  18601. "type": "number"
  18602. },
  18603. "tradeqty": {
  18604. "description": "成交数量",
  18605. "type": "integer"
  18606. },
  18607. "tradetime": {
  18608. "description": "成交时间",
  18609. "type": "string"
  18610. },
  18611. "tradetype": {
  18612. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  18613. "type": "integer"
  18614. }
  18615. }
  18616. },
  18617. "models.QuotePrimaryMenu": {
  18618. "type": "object",
  18619. "properties": {
  18620. "Index": {
  18621. "description": "序号",
  18622. "type": "integer"
  18623. },
  18624. "Key": {
  18625. "description": "键名",
  18626. "type": "string"
  18627. },
  18628. "Name": {
  18629. "description": "菜单名称",
  18630. "type": "string"
  18631. },
  18632. "SubMenus": {
  18633. "description": "子菜单",
  18634. "type": "array",
  18635. "items": {
  18636. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  18637. }
  18638. },
  18639. "SubTitleType": {
  18640. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  18641. "type": "integer"
  18642. },
  18643. "TradeModes": {
  18644. "description": "包含市场交易类型",
  18645. "type": "string"
  18646. }
  18647. }
  18648. },
  18649. "models.QuoteSecondaryMenu": {
  18650. "type": "object",
  18651. "properties": {
  18652. "ExExchangeCode": {
  18653. "description": "外部交易所代码",
  18654. "type": "string"
  18655. },
  18656. "ExExchangeID": {
  18657. "description": "外部交易所ID",
  18658. "type": "integer"
  18659. },
  18660. "GoodsGroupIDs": {
  18661. "description": "商品组ID列表",
  18662. "type": "array",
  18663. "items": {
  18664. "type": "integer"
  18665. }
  18666. },
  18667. "Index": {
  18668. "description": "序号",
  18669. "type": "integer"
  18670. },
  18671. "MarketID": {
  18672. "description": "市场ID",
  18673. "type": "integer"
  18674. },
  18675. "MenuTitle": {
  18676. "description": "菜单标题(市场名称或外部交易所名称)",
  18677. "type": "string"
  18678. },
  18679. "TradeMode": {
  18680. "description": "交易模式",
  18681. "type": "integer"
  18682. }
  18683. }
  18684. },
  18685. "models.RelatedGoodsEx": {
  18686. "type": "object",
  18687. "properties": {
  18688. "goodscode": {
  18689. "description": "商品代码",
  18690. "type": "string"
  18691. },
  18692. "goodsid": {
  18693. "description": "商品id",
  18694. "type": "integer"
  18695. },
  18696. "goodsname": {
  18697. "description": "商品名称",
  18698. "type": "string"
  18699. }
  18700. }
  18701. },
  18702. "models.SearchGoods": {
  18703. "type": "object",
  18704. "required": [
  18705. "goodscode",
  18706. "goodsid",
  18707. "goodsname",
  18708. "marketid",
  18709. "trademode"
  18710. ],
  18711. "properties": {
  18712. "goodscode": {
  18713. "description": "商品代码(内部)",
  18714. "type": "string"
  18715. },
  18716. "goodsid": {
  18717. "description": "商品ID(自增ID SEQ_GOODS)",
  18718. "type": "integer"
  18719. },
  18720. "goodsname": {
  18721. "description": "商品名称",
  18722. "type": "string"
  18723. },
  18724. "marketid": {
  18725. "description": "所属市场ID",
  18726. "type": "integer"
  18727. },
  18728. "marketname": {
  18729. "description": "市场名称",
  18730. "type": "string"
  18731. },
  18732. "trademode": {
  18733. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18734. "type": "integer"
  18735. }
  18736. }
  18737. },
  18738. "models.Systemparam": {
  18739. "type": "object",
  18740. "required": [
  18741. "paramcode"
  18742. ],
  18743. "properties": {
  18744. "loginid": {
  18745. "description": "更新用户账号,登录账号",
  18746. "type": "string"
  18747. },
  18748. "modifyflag": {
  18749. "description": "修改标志0 不允许修改 1 允许修改",
  18750. "type": "integer"
  18751. },
  18752. "paramcode": {
  18753. "description": "参数代码",
  18754. "type": "string"
  18755. },
  18756. "paramname": {
  18757. "description": "参数名",
  18758. "type": "string"
  18759. },
  18760. "paramtype": {
  18761. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  18762. "type": "integer"
  18763. },
  18764. "paramvalue": {
  18765. "description": "参数值",
  18766. "type": "string"
  18767. },
  18768. "paramvalue2": {
  18769. "description": "参数值(CLOB)",
  18770. "type": "string"
  18771. },
  18772. "regexpress": {
  18773. "description": "正则表达式",
  18774. "type": "string"
  18775. },
  18776. "remark": {
  18777. "description": "备注",
  18778. "type": "string"
  18779. },
  18780. "serverip": {
  18781. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  18782. "type": "string"
  18783. },
  18784. "showflag": {
  18785. "description": "是否显示0 不显示 1 显示",
  18786. "type": "integer"
  18787. },
  18788. "updatetime": {
  18789. "description": "更新时间",
  18790. "type": "string"
  18791. },
  18792. "userid": {
  18793. "description": "更新用户ID",
  18794. "type": "integer"
  18795. }
  18796. }
  18797. },
  18798. "models.Szdz3convertconfig": {
  18799. "type": "object",
  18800. "required": [
  18801. "converttype",
  18802. "innergoodsid",
  18803. "outergoodscode"
  18804. ],
  18805. "properties": {
  18806. "canin": {
  18807. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  18808. "type": "integer"
  18809. },
  18810. "canout": {
  18811. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  18812. "type": "integer"
  18813. },
  18814. "converttype": {
  18815. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  18816. "type": "integer"
  18817. },
  18818. "createtime": {
  18819. "description": "创建时间",
  18820. "type": "string"
  18821. },
  18822. "creatorid": {
  18823. "description": "创建人",
  18824. "type": "integer"
  18825. },
  18826. "daymaxvalue": {
  18827. "description": "当日最大转入限制",
  18828. "type": "number"
  18829. },
  18830. "freezedays": {
  18831. "description": "冻结天数 [5:花生米转交易]",
  18832. "type": "integer"
  18833. },
  18834. "innergoodsid": {
  18835. "description": "内部商品ID[交易]",
  18836. "type": "integer"
  18837. },
  18838. "inratio": {
  18839. "description": "目标值",
  18840. "type": "integer"
  18841. },
  18842. "modifierid": {
  18843. "description": "修改人",
  18844. "type": "integer"
  18845. },
  18846. "modifytime": {
  18847. "description": "修改时间",
  18848. "type": "string"
  18849. },
  18850. "outergoodscode": {
  18851. "description": "外部商品代码[JD\\PD]",
  18852. "type": "string"
  18853. },
  18854. "outratio": {
  18855. "description": "源值",
  18856. "type": "integer"
  18857. },
  18858. "pddecimalplace": {
  18859. "description": "PD小数位",
  18860. "type": "integer"
  18861. },
  18862. "timemaxvalue": {
  18863. "description": "单次最大转入限制",
  18864. "type": "number"
  18865. },
  18866. "timeminvalue": {
  18867. "description": "单次最小转入限制",
  18868. "type": "number"
  18869. }
  18870. }
  18871. },
  18872. "models.Szdz3searchwhitelist": {
  18873. "type": "object",
  18874. "required": [
  18875. "userid"
  18876. ],
  18877. "properties": {
  18878. "createtime": {
  18879. "description": "创建时间",
  18880. "type": "string"
  18881. },
  18882. "creatorid": {
  18883. "description": "创建人",
  18884. "type": "integer"
  18885. },
  18886. "modifierid": {
  18887. "description": "修改人",
  18888. "type": "integer"
  18889. },
  18890. "modifytime": {
  18891. "description": "修改时间",
  18892. "type": "string"
  18893. },
  18894. "userid": {
  18895. "description": "用户ID",
  18896. "type": "integer"
  18897. }
  18898. }
  18899. },
  18900. "models.Taaccount": {
  18901. "type": "object",
  18902. "required": [
  18903. "accountid",
  18904. "userid"
  18905. ],
  18906. "properties": {
  18907. "accountflag": {
  18908. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  18909. "type": "integer"
  18910. },
  18911. "accountid": {
  18912. "description": "资金账户ID",
  18913. "type": "integer"
  18914. },
  18915. "accountname": {
  18916. "description": "账户名称",
  18917. "type": "string"
  18918. },
  18919. "balance": {
  18920. "description": "期初余额",
  18921. "type": "number"
  18922. },
  18923. "capitalbalance": {
  18924. "description": "本金余额[外部子账户实际出入金余额]",
  18925. "type": "number"
  18926. },
  18927. "changeflag": {
  18928. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  18929. "type": "integer"
  18930. },
  18931. "changetime": {
  18932. "description": "账户状态变更时间",
  18933. "type": "string"
  18934. },
  18935. "closepl": {
  18936. "description": "今日平仓盈亏",
  18937. "type": "number"
  18938. },
  18939. "creditdecrease": {
  18940. "description": "今日授信减少",
  18941. "type": "number"
  18942. },
  18943. "creditincrease": {
  18944. "description": "今日授信增加",
  18945. "type": "number"
  18946. },
  18947. "currencyid": {
  18948. "description": "货币ID",
  18949. "type": "integer"
  18950. },
  18951. "currentbalance": {
  18952. "description": "期末余额",
  18953. "type": "number"
  18954. },
  18955. "freezecharge": {
  18956. "description": "手续费冻结",
  18957. "type": "number"
  18958. },
  18959. "freezemargin": {
  18960. "description": "冻结保证金",
  18961. "type": "number"
  18962. },
  18963. "fromaccountid": {
  18964. "description": "所属上级账户",
  18965. "type": "integer"
  18966. },
  18967. "inamount": {
  18968. "description": "今日入金金额(包括三方入金)",
  18969. "type": "number"
  18970. },
  18971. "ismain": {
  18972. "description": "是否母账号 0:不是母账户 1:是母账户",
  18973. "type": "integer"
  18974. },
  18975. "ismarketaccount": {
  18976. "description": "是否机构接单账号 0:不是 1:是",
  18977. "type": "integer"
  18978. },
  18979. "isreckonaccount": {
  18980. "description": "是否机构分润账号 0:不是 1:是",
  18981. "type": "integer"
  18982. },
  18983. "mortgagecredit": {
  18984. "description": "授信金额",
  18985. "type": "number"
  18986. },
  18987. "orifreezecharge": {
  18988. "description": "期初手续费冻结",
  18989. "type": "number"
  18990. },
  18991. "orifreezemargin": {
  18992. "description": "期初冻结保证金",
  18993. "type": "number"
  18994. },
  18995. "orimortgagecredit": {
  18996. "description": "期初授信金额",
  18997. "type": "number"
  18998. },
  18999. "oriothercredit": {
  19000. "description": "期初其它授信金额",
  19001. "type": "number"
  19002. },
  19003. "oriotherfreezemargin": {
  19004. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19005. "type": "number"
  19006. },
  19007. "orioutamountfreeze": {
  19008. "description": "期初出金冻结",
  19009. "type": "number"
  19010. },
  19011. "oriusedmargin": {
  19012. "description": "期初占用保证金",
  19013. "type": "number"
  19014. },
  19015. "othercredit": {
  19016. "description": "其它授信金额",
  19017. "type": "number"
  19018. },
  19019. "othercreditdecrease": {
  19020. "description": "今日其它授信减少",
  19021. "type": "number"
  19022. },
  19023. "othercreditincrease": {
  19024. "description": "今日其它授信增加",
  19025. "type": "number"
  19026. },
  19027. "otherfreezemargin": {
  19028. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19029. "type": "number"
  19030. },
  19031. "otherincome": {
  19032. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  19033. "type": "number"
  19034. },
  19035. "otherpay": {
  19036. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  19037. "type": "number"
  19038. },
  19039. "outamount": {
  19040. "description": "今日出金金额(包括三方出金)",
  19041. "type": "number"
  19042. },
  19043. "outamountfreeze": {
  19044. "description": "出金冻结",
  19045. "type": "number"
  19046. },
  19047. "outthreshold": {
  19048. "description": "出金阈值",
  19049. "type": "number"
  19050. },
  19051. "parentaccountid": {
  19052. "description": "所属根账号",
  19053. "type": "integer"
  19054. },
  19055. "paycharge": {
  19056. "description": "今日手续费支出",
  19057. "type": "number"
  19058. },
  19059. "relatedaccountstatus": {
  19060. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  19061. "type": "integer"
  19062. },
  19063. "relateduserid": {
  19064. "description": "关联用户",
  19065. "type": "integer"
  19066. },
  19067. "serivcegroup": {
  19068. "description": "服务分组",
  19069. "type": "integer"
  19070. },
  19071. "signstatus": {
  19072. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19073. "type": "integer"
  19074. },
  19075. "sublevelpath": {
  19076. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19077. "type": "string"
  19078. },
  19079. "taaccounttype": {
  19080. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19081. "type": "integer"
  19082. },
  19083. "thirdinamount": {
  19084. "description": "今日三方入金",
  19085. "type": "number"
  19086. },
  19087. "thirdoutamount": {
  19088. "description": "今日三方出金",
  19089. "type": "number"
  19090. },
  19091. "tradestatus": {
  19092. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19093. "type": "integer"
  19094. },
  19095. "tradestatuschangetime": {
  19096. "description": "激活时间",
  19097. "type": "string"
  19098. },
  19099. "transferamount": {
  19100. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19101. "type": "number"
  19102. },
  19103. "usedmargin": {
  19104. "description": "占用保证金",
  19105. "type": "number"
  19106. },
  19107. "userid": {
  19108. "description": "用户ID",
  19109. "type": "integer"
  19110. }
  19111. }
  19112. },
  19113. "models.Tablecolumnconfig": {
  19114. "type": "object",
  19115. "required": [
  19116. "autoid"
  19117. ],
  19118. "properties": {
  19119. "aligntype": {
  19120. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  19121. "type": "integer"
  19122. },
  19123. "autoid": {
  19124. "description": "AutoID",
  19125. "type": "integer"
  19126. },
  19127. "columnfield": {
  19128. "description": "列字段",
  19129. "type": "string"
  19130. },
  19131. "columntitle": {
  19132. "description": "列Title",
  19133. "type": "string"
  19134. },
  19135. "columnwidth": {
  19136. "description": "列宽",
  19137. "type": "string"
  19138. },
  19139. "formatterstring": {
  19140. "description": "格式化字符",
  19141. "type": "string"
  19142. },
  19143. "formattertype": {
  19144. "description": "格式化类型",
  19145. "type": "string"
  19146. },
  19147. "groupname": {
  19148. "description": "表头分组名称",
  19149. "type": "string"
  19150. },
  19151. "isshow": {
  19152. "description": "是否显示 - 0:不显示 1:显示",
  19153. "type": "integer"
  19154. },
  19155. "needsummary": {
  19156. "description": "是否需要汇总 - 0:不需要 1:需要",
  19157. "type": "integer"
  19158. },
  19159. "orderindex": {
  19160. "description": "顺序",
  19161. "type": "integer"
  19162. },
  19163. "remark": {
  19164. "description": "备注",
  19165. "type": "string"
  19166. },
  19167. "summarytype": {
  19168. "description": "汇总类型 - 1:加总 2:最后一个",
  19169. "type": "integer"
  19170. },
  19171. "tablekey": {
  19172. "description": "列表Key",
  19173. "type": "string"
  19174. }
  19175. }
  19176. },
  19177. "models.Useraccount": {
  19178. "type": "object",
  19179. "required": [
  19180. "userid"
  19181. ],
  19182. "properties": {
  19183. "accountname": {
  19184. "description": "账户名称(机构名称)",
  19185. "type": "string"
  19186. },
  19187. "accountstatus": {
  19188. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19189. "type": "integer"
  19190. },
  19191. "auditremark": {
  19192. "description": "审核备注",
  19193. "type": "string"
  19194. },
  19195. "audittime": {
  19196. "description": "审核时间",
  19197. "type": "string"
  19198. },
  19199. "audituserid": {
  19200. "description": "审核人",
  19201. "type": "integer"
  19202. },
  19203. "broker": {
  19204. "description": "所属经纪人ID",
  19205. "type": "integer"
  19206. },
  19207. "canceltime": {
  19208. "description": "销户时间",
  19209. "type": "string"
  19210. },
  19211. "canceluserid": {
  19212. "description": "销户人",
  19213. "type": "integer"
  19214. },
  19215. "createtime": {
  19216. "description": "创建时间",
  19217. "type": "string"
  19218. },
  19219. "creatorid": {
  19220. "description": "创建人",
  19221. "type": "integer"
  19222. },
  19223. "hasauth": {
  19224. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19225. "type": "integer"
  19226. },
  19227. "isanonymous": {
  19228. "description": "是否匿名下单 - 0:否 1:是",
  19229. "type": "integer"
  19230. },
  19231. "maxinvestornum": {
  19232. "description": "最大用户数(经纪会员下投资者个数)",
  19233. "type": "integer"
  19234. },
  19235. "memberuserid": {
  19236. "description": "所属会员ID",
  19237. "type": "integer"
  19238. },
  19239. "modifierid": {
  19240. "description": "修改人",
  19241. "type": "integer"
  19242. },
  19243. "modifyremark": {
  19244. "description": "变更备注",
  19245. "type": "string"
  19246. },
  19247. "modifystatus": {
  19248. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19249. "type": "integer"
  19250. },
  19251. "modifytime": {
  19252. "description": "修改时间",
  19253. "type": "string"
  19254. },
  19255. "parentuserid": {
  19256. "description": "所属机构ID",
  19257. "type": "integer"
  19258. },
  19259. "reckonaccountid": {
  19260. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19261. "type": "integer"
  19262. },
  19263. "refercount": {
  19264. "description": "推荐总人数",
  19265. "type": "integer"
  19266. },
  19267. "refereeuserid": {
  19268. "description": "推荐人ID",
  19269. "type": "integer"
  19270. },
  19271. "refernum": {
  19272. "description": "推荐码",
  19273. "type": "string"
  19274. },
  19275. "subarealevelpath": {
  19276. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19277. "type": "string"
  19278. },
  19279. "userid": {
  19280. "description": "用户ID",
  19281. "type": "integer"
  19282. },
  19283. "usertype": {
  19284. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19285. "type": "integer"
  19286. }
  19287. }
  19288. },
  19289. "models.Userfavoritegoods": {
  19290. "type": "object",
  19291. "required": [
  19292. "goodsid"
  19293. ],
  19294. "properties": {
  19295. "goodsid": {
  19296. "description": "商品ID",
  19297. "type": "integer"
  19298. }
  19299. }
  19300. },
  19301. "models.Userinfo": {
  19302. "type": "object",
  19303. "required": [
  19304. "userid"
  19305. ],
  19306. "properties": {
  19307. "address": {
  19308. "description": "地址",
  19309. "type": "string"
  19310. },
  19311. "attachment1": {
  19312. "description": "附件1",
  19313. "type": "string"
  19314. },
  19315. "attachment2": {
  19316. "description": "附件2",
  19317. "type": "string"
  19318. },
  19319. "bankaccount": {
  19320. "description": "银行帐号 (加密存储)",
  19321. "type": "string"
  19322. },
  19323. "bankaccountname": {
  19324. "description": "收款人名称",
  19325. "type": "string"
  19326. },
  19327. "bankcardfrontphotourl": {
  19328. "description": "银行卡正面照地址",
  19329. "type": "string"
  19330. },
  19331. "bankid": {
  19332. "description": "银行编码",
  19333. "type": "string"
  19334. },
  19335. "bankname": {
  19336. "description": "银行名称",
  19337. "type": "string"
  19338. },
  19339. "biznature": {
  19340. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19341. "type": "integer"
  19342. },
  19343. "bizscope": {
  19344. "description": "企业经营范围(企业)",
  19345. "type": "string"
  19346. },
  19347. "cardbackphotourl": {
  19348. "description": "证件背面图片地址",
  19349. "type": "string"
  19350. },
  19351. "cardfrontphotourl": {
  19352. "description": "证件正面图片地址",
  19353. "type": "string"
  19354. },
  19355. "cardnum": {
  19356. "description": "证件号码(加密存储)",
  19357. "type": "string"
  19358. },
  19359. "cardtypeid": {
  19360. "description": "证件类型ID",
  19361. "type": "integer"
  19362. },
  19363. "cityid": {
  19364. "description": "市",
  19365. "type": "integer"
  19366. },
  19367. "company": {
  19368. "description": "公司(个人)",
  19369. "type": "string"
  19370. },
  19371. "contactname": {
  19372. "description": "联系人",
  19373. "type": "string"
  19374. },
  19375. "countryid": {
  19376. "description": "国家",
  19377. "type": "integer"
  19378. },
  19379. "createtime": {
  19380. "description": "创建时间",
  19381. "type": "string"
  19382. },
  19383. "creatorid": {
  19384. "description": "创建人",
  19385. "type": "integer"
  19386. },
  19387. "customername": {
  19388. "description": "客户名称(企业名称)",
  19389. "type": "string"
  19390. },
  19391. "districtid": {
  19392. "description": "地区",
  19393. "type": "integer"
  19394. },
  19395. "email": {
  19396. "description": "邮件(加密存储)",
  19397. "type": "string"
  19398. },
  19399. "fax": {
  19400. "description": "传真(加密存储)",
  19401. "type": "string"
  19402. },
  19403. "halfbodyphotourl": {
  19404. "description": "半身照地址",
  19405. "type": "string"
  19406. },
  19407. "hasencrypt": {
  19408. "description": "数据是否已加密 - 0:未加密 1:已加密",
  19409. "type": "integer"
  19410. },
  19411. "headurl": {
  19412. "description": "头像地址",
  19413. "type": "string"
  19414. },
  19415. "legalcardbackphotourl": {
  19416. "description": "法人身份证背面照地址",
  19417. "type": "string"
  19418. },
  19419. "legalcardfrontphotourl": {
  19420. "description": "法人身份证正面照地址",
  19421. "type": "string"
  19422. },
  19423. "legalpersonname": {
  19424. "description": "法人姓名(企业)",
  19425. "type": "string"
  19426. },
  19427. "mobile": {
  19428. "description": "手机号码(加密存储)",
  19429. "type": "string"
  19430. },
  19431. "mobile2": {
  19432. "description": "手机号码[明文-尚志]",
  19433. "type": "string"
  19434. },
  19435. "modifierid": {
  19436. "description": "修改人",
  19437. "type": "integer"
  19438. },
  19439. "modifiertime": {
  19440. "description": "修改时间",
  19441. "type": "string"
  19442. },
  19443. "needinvoice": {
  19444. "description": "是否需要发票 - 0:不需要 1:需要",
  19445. "type": "integer"
  19446. },
  19447. "nickname": {
  19448. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  19449. "type": "string"
  19450. },
  19451. "openmode": {
  19452. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  19453. "type": "integer"
  19454. },
  19455. "otherurl": {
  19456. "description": "其它图片地址[使用分号分隔]",
  19457. "type": "string"
  19458. },
  19459. "postalcode": {
  19460. "description": "邮政编码",
  19461. "type": "string"
  19462. },
  19463. "provinceid": {
  19464. "description": "省",
  19465. "type": "integer"
  19466. },
  19467. "qq": {
  19468. "description": "QQ(加密存储",
  19469. "type": "string"
  19470. },
  19471. "remark": {
  19472. "description": "备注",
  19473. "type": "string"
  19474. },
  19475. "sex": {
  19476. "description": "用户性别 0: 女 1: 男",
  19477. "type": "integer"
  19478. },
  19479. "signpdfurl": {
  19480. "description": "签约pdf文件",
  19481. "type": "string"
  19482. },
  19483. "telphone": {
  19484. "description": "联系电话(加密存储)",
  19485. "type": "string"
  19486. },
  19487. "userid": {
  19488. "description": "用户ID",
  19489. "type": "integer"
  19490. },
  19491. "userinfotype": {
  19492. "description": "用户信息类型 - 1:个人 2:企业",
  19493. "type": "integer"
  19494. },
  19495. "userstatus": {
  19496. "description": "用户状态 - 1:正常 2:注销",
  19497. "type": "integer"
  19498. },
  19499. "usertype": {
  19500. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19501. "type": "integer"
  19502. },
  19503. "wechat": {
  19504. "description": "微信(加密存储)",
  19505. "type": "string"
  19506. },
  19507. "wskhinfo": {
  19508. "description": "开户申请信息(JSON)",
  19509. "type": "string"
  19510. }
  19511. }
  19512. },
  19513. "models.WRSConverTDetail": {
  19514. "type": "object",
  19515. "properties": {
  19516. "convertratio": {
  19517. "description": "套保系数",
  19518. "type": "number"
  19519. },
  19520. "deliverygoodsid": {
  19521. "description": "现货品种ID",
  19522. "type": "integer"
  19523. },
  19524. "enumdicname": {
  19525. "description": "单位名称",
  19526. "type": "string"
  19527. },
  19528. "goodsunitid": {
  19529. "description": "套保品种单位id",
  19530. "type": "integer"
  19531. },
  19532. "middlegoodscode": {
  19533. "description": "套保品种代码",
  19534. "type": "string"
  19535. },
  19536. "middlegoodsid": {
  19537. "description": "套保品种ID",
  19538. "type": "integer"
  19539. },
  19540. "middlegoodsname": {
  19541. "description": "套保品种名称",
  19542. "type": "string"
  19543. },
  19544. "modifytime": {
  19545. "description": "修改时间",
  19546. "type": "string"
  19547. },
  19548. "wrstandardid": {
  19549. "description": "现货商品ID",
  19550. "type": "integer"
  19551. }
  19552. }
  19553. },
  19554. "models.WRStandardInfo": {
  19555. "type": "object",
  19556. "required": [
  19557. "wrstandardid"
  19558. ],
  19559. "properties": {
  19560. "areauserid": {
  19561. "description": "所属机构",
  19562. "type": "integer"
  19563. },
  19564. "convertfactor": {
  19565. "description": "标仓系数",
  19566. "type": "number"
  19567. },
  19568. "createtime": {
  19569. "description": "创建时间",
  19570. "type": "string"
  19571. },
  19572. "creatorid": {
  19573. "description": "创建人",
  19574. "type": "integer"
  19575. },
  19576. "deliverygoodsid": {
  19577. "description": "品种ID",
  19578. "type": "integer"
  19579. },
  19580. "deliverygoodsname": {
  19581. "description": "交割商品名称",
  19582. "type": "string"
  19583. },
  19584. "factoryitemjson": {
  19585. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  19586. "type": "string"
  19587. },
  19588. "isvalid": {
  19589. "description": "是否有效 - 0:无效 1:有效",
  19590. "type": "integer"
  19591. },
  19592. "minivalue": {
  19593. "description": "最小变动值",
  19594. "type": "integer"
  19595. },
  19596. "minivaluedp": {
  19597. "description": "最小变动值小数位",
  19598. "type": "integer"
  19599. },
  19600. "realminivalue": {
  19601. "description": "实际最小变动值",
  19602. "type": "integer"
  19603. },
  19604. "realminivaluedp": {
  19605. "description": "实际最小变动值小数位",
  19606. "type": "integer"
  19607. },
  19608. "remark": {
  19609. "description": "备注",
  19610. "type": "string"
  19611. },
  19612. "unitid": {
  19613. "description": "单位ID",
  19614. "type": "integer"
  19615. },
  19616. "unitname": {
  19617. "description": "单位",
  19618. "type": "string"
  19619. },
  19620. "updatetime": {
  19621. "description": "更新时间",
  19622. "type": "string"
  19623. },
  19624. "updatorid": {
  19625. "description": "更新人",
  19626. "type": "integer"
  19627. },
  19628. "wrsstatus": {
  19629. "description": "状态 - 作废 - 0:未激活 1:正常",
  19630. "type": "integer"
  19631. },
  19632. "wrstandardcode": {
  19633. "description": "现货品类代码",
  19634. "type": "string"
  19635. },
  19636. "wrstandardid": {
  19637. "description": "现货品类ID(SEQ_WRSTANDARD)",
  19638. "type": "integer"
  19639. },
  19640. "wrstandardname": {
  19641. "description": "现货品类名称",
  19642. "type": "string"
  19643. }
  19644. }
  19645. },
  19646. "models.Warehouseinfo": {
  19647. "type": "object",
  19648. "required": [
  19649. "autoid",
  19650. "warehousecode"
  19651. ],
  19652. "properties": {
  19653. "address": {
  19654. "description": "详细地址",
  19655. "type": "string"
  19656. },
  19657. "areauserid": {
  19658. "description": "所属机构",
  19659. "type": "integer"
  19660. },
  19661. "autoid": {
  19662. "description": "自增ID",
  19663. "type": "integer"
  19664. },
  19665. "cityid": {
  19666. "description": "市",
  19667. "type": "integer"
  19668. },
  19669. "contactname": {
  19670. "description": "联系人",
  19671. "type": "string"
  19672. },
  19673. "contactnum": {
  19674. "description": "联系电话",
  19675. "type": "string"
  19676. },
  19677. "countryid": {
  19678. "description": "国家",
  19679. "type": "integer"
  19680. },
  19681. "createtime": {
  19682. "description": "创建时间",
  19683. "type": "string"
  19684. },
  19685. "districtid": {
  19686. "description": "区",
  19687. "type": "integer"
  19688. },
  19689. "hasvideo": {
  19690. "description": "是否有视频 - 0:无 1:有",
  19691. "type": "integer"
  19692. },
  19693. "provinceid": {
  19694. "description": "省",
  19695. "type": "integer"
  19696. },
  19697. "remark": {
  19698. "description": "审核备注",
  19699. "type": "string"
  19700. },
  19701. "videourl": {
  19702. "description": "视频地址",
  19703. "type": "string"
  19704. },
  19705. "warehousecode": {
  19706. "description": "仓库代码",
  19707. "type": "string"
  19708. },
  19709. "warehousename": {
  19710. "description": "仓库名称",
  19711. "type": "string"
  19712. },
  19713. "warehousestatus": {
  19714. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19715. "type": "integer"
  19716. },
  19717. "warehousetype": {
  19718. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19719. "type": "integer"
  19720. }
  19721. }
  19722. },
  19723. "order.QueryHisTradeDetailRsp": {
  19724. "type": "object",
  19725. "required": [
  19726. "accountid",
  19727. "buyorsell",
  19728. "goodsid",
  19729. "histradedate",
  19730. "marketid",
  19731. "memberuserid",
  19732. "orderid",
  19733. "tradeamount",
  19734. "tradedate",
  19735. "tradeid",
  19736. "tradeprice",
  19737. "tradeqty",
  19738. "tradetime"
  19739. ],
  19740. "properties": {
  19741. "accountid": {
  19742. "description": "账户ID[报价币种]",
  19743. "type": "integer"
  19744. },
  19745. "buildtype": {
  19746. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  19747. "type": "integer"
  19748. },
  19749. "buyorsell": {
  19750. "description": "方向 - 0:买 1:卖",
  19751. "type": "integer"
  19752. },
  19753. "charge": {
  19754. "description": "手续费",
  19755. "type": "number"
  19756. },
  19757. "closecharge": {
  19758. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19759. "type": "number"
  19760. },
  19761. "closeexchagechargevalue": {
  19762. "description": "平仓交易所手续费设置值",
  19763. "type": "number"
  19764. },
  19765. "closefeealgorithm": {
  19766. "description": "平仓手续费收取方式 1:比率 2:固定",
  19767. "type": "integer"
  19768. },
  19769. "closememberchargevalue": {
  19770. "description": "平仓会员手续费设置值",
  19771. "type": "number"
  19772. },
  19773. "closepl": {
  19774. "description": "平仓盈亏",
  19775. "type": "number"
  19776. },
  19777. "closepl2": {
  19778. "description": "平仓盈亏[逐笔]",
  19779. "type": "number"
  19780. },
  19781. "closeqty": {
  19782. "description": "平仓数量(先建后平操作 需要记录)",
  19783. "type": "integer"
  19784. },
  19785. "creditamount": {
  19786. "description": "授信金额",
  19787. "type": "number"
  19788. },
  19789. "gcaccountid": {
  19790. "description": "账户ID[合约币种]",
  19791. "type": "integer"
  19792. },
  19793. "goodscode": {
  19794. "description": "商品代码",
  19795. "type": "string"
  19796. },
  19797. "goodsid": {
  19798. "description": "商品ID",
  19799. "type": "integer"
  19800. },
  19801. "goodsname": {
  19802. "description": "商品名称",
  19803. "type": "string"
  19804. },
  19805. "histradedate": {
  19806. "description": "历史交易日",
  19807. "type": "string"
  19808. },
  19809. "intclosepl": {
  19810. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  19811. "type": "integer"
  19812. },
  19813. "isconfirmexercise": {
  19814. "description": "是否确认行权- 0:否 1:是",
  19815. "type": "integer"
  19816. },
  19817. "ismain": {
  19818. "description": "是否主单 - 0:不是 1:是",
  19819. "type": "integer"
  19820. },
  19821. "ispreexercise": {
  19822. "description": "是否预申报- 0:否 1:是",
  19823. "type": "integer"
  19824. },
  19825. "isreckoned": {
  19826. "description": "是否结算 - 0:未结算 1:已结算",
  19827. "type": "integer"
  19828. },
  19829. "isvaliddata": {
  19830. "description": "是否有效 - 0:无效 1:有效",
  19831. "type": "integer"
  19832. },
  19833. "listingselecttype": {
  19834. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19835. "type": "integer"
  19836. },
  19837. "marketid": {
  19838. "description": "市场ID",
  19839. "type": "integer"
  19840. },
  19841. "marketname": {
  19842. "description": "市场名称",
  19843. "type": "string"
  19844. },
  19845. "matchaccountid": {
  19846. "description": "对手账号id",
  19847. "type": "integer"
  19848. },
  19849. "memberuserid": {
  19850. "description": "会员id 个人投资者 需要填写",
  19851. "type": "integer"
  19852. },
  19853. "opencharge": {
  19854. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19855. "type": "number"
  19856. },
  19857. "openexchagechargevalue": {
  19858. "description": "建仓交易所手续费设置值",
  19859. "type": "number"
  19860. },
  19861. "openfeealgorithm": {
  19862. "description": "建仓手续费收取方式 1:比率 2:固定",
  19863. "type": "integer"
  19864. },
  19865. "openmemberchargevalue": {
  19866. "description": "建仓会员手续费设置值",
  19867. "type": "number"
  19868. },
  19869. "openqty": {
  19870. "description": "开仓数量(先建后平操作 需要记录)",
  19871. "type": "integer"
  19872. },
  19873. "optiontype": {
  19874. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19875. "type": "integer"
  19876. },
  19877. "orderid": {
  19878. "description": "委托单号",
  19879. "type": "string"
  19880. },
  19881. "performanceplanid": {
  19882. "description": "履约计划ID[期权]",
  19883. "type": "integer"
  19884. },
  19885. "performancestatus": {
  19886. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  19887. "type": "integer"
  19888. },
  19889. "preexerciseprice": {
  19890. "description": "预申报价格",
  19891. "type": "number"
  19892. },
  19893. "premium": {
  19894. "description": "权利金 - [持仓单的权利金]",
  19895. "type": "number"
  19896. },
  19897. "relatedouttradeid": {
  19898. "description": "关联外部成交单ID",
  19899. "type": "integer"
  19900. },
  19901. "status": {
  19902. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  19903. "type": "integer"
  19904. },
  19905. "tradeamount": {
  19906. "description": "成交金额[账户币种,用于所有权]",
  19907. "type": "number"
  19908. },
  19909. "tradedate": {
  19910. "description": "交易日(yyyyMMdd)",
  19911. "type": "string"
  19912. },
  19913. "tradeid": {
  19914. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19915. "type": "string"
  19916. },
  19917. "trademode": {
  19918. "description": "交易模式",
  19919. "type": "integer"
  19920. },
  19921. "tradeprice": {
  19922. "description": "成交价格",
  19923. "type": "number"
  19924. },
  19925. "tradeproperty": {
  19926. "description": "交易属性",
  19927. "type": "integer"
  19928. },
  19929. "tradeqty": {
  19930. "description": "成交数量",
  19931. "type": "integer"
  19932. },
  19933. "tradetime": {
  19934. "description": "成交时间",
  19935. "type": "string"
  19936. },
  19937. "tradetype": {
  19938. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  19939. "type": "integer"
  19940. }
  19941. }
  19942. },
  19943. "order.QueryHisTradeOrderDetailRsp": {
  19944. "type": "object",
  19945. "required": [
  19946. "accountid",
  19947. "buildtype",
  19948. "buyorsell",
  19949. "goodsid",
  19950. "histradedate",
  19951. "marketid",
  19952. "memberuserid",
  19953. "operatetype",
  19954. "orderid",
  19955. "orderqty",
  19956. "ordertime",
  19957. "pricemode",
  19958. "tradedate",
  19959. "validtype"
  19960. ],
  19961. "properties": {
  19962. "accountid": {
  19963. "description": "账户ID[报价币种]",
  19964. "type": "integer"
  19965. },
  19966. "buildtype": {
  19967. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  19968. "type": "integer"
  19969. },
  19970. "buyorsell": {
  19971. "description": "买卖 - 0:买 1:卖",
  19972. "type": "integer"
  19973. },
  19974. "cancelorderid": {
  19975. "description": "撤单单号(撤单时填写)",
  19976. "type": "string"
  19977. },
  19978. "cancelqty": {
  19979. "description": "撤单数量",
  19980. "type": "integer"
  19981. },
  19982. "clientordertime": {
  19983. "description": "客户端委托时间",
  19984. "type": "string"
  19985. },
  19986. "clientticket": {
  19987. "description": "客户端流水号",
  19988. "type": "string"
  19989. },
  19990. "clienttype": {
  19991. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19992. "type": "integer"
  19993. },
  19994. "closeexchagechargevalue": {
  19995. "description": "平仓交易所手续费设置值",
  19996. "type": "number"
  19997. },
  19998. "closefeealgorithm": {
  19999. "description": "平仓手续费收取方式 1:比率 2:固定",
  20000. "type": "integer"
  20001. },
  20002. "closefreezecharge": {
  20003. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20004. "type": "number"
  20005. },
  20006. "closememberchargevalue": {
  20007. "description": "平仓会员手续费设置值",
  20008. "type": "number"
  20009. },
  20010. "closeqty": {
  20011. "description": "平仓数量(先建后平操作 需要记录)",
  20012. "type": "integer"
  20013. },
  20014. "closetradeqty": {
  20015. "description": "平仓成交数量(先建后平操作,需要记录)",
  20016. "type": "integer"
  20017. },
  20018. "closeunfreezecharge": {
  20019. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20020. "type": "number"
  20021. },
  20022. "delistingtype": {
  20023. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20024. "type": "integer"
  20025. },
  20026. "freezecharge": {
  20027. "description": "冻结手续费",
  20028. "type": "number"
  20029. },
  20030. "freezemargin": {
  20031. "description": "冻结保证金(冻结交易金额)",
  20032. "type": "number"
  20033. },
  20034. "gcaccountid": {
  20035. "description": "账户ID[合约币种]",
  20036. "type": "integer"
  20037. },
  20038. "goodscode": {
  20039. "description": "商品代码",
  20040. "type": "string"
  20041. },
  20042. "goodsid": {
  20043. "description": "商品ID",
  20044. "type": "integer"
  20045. },
  20046. "goodsname": {
  20047. "description": "商品名称",
  20048. "type": "string"
  20049. },
  20050. "histradedate": {
  20051. "description": "历史交易日",
  20052. "type": "string"
  20053. },
  20054. "isconfirmexercise": {
  20055. "description": "是否确认行权- 0:否 1:是",
  20056. "type": "integer"
  20057. },
  20058. "ispreexercise": {
  20059. "description": "是否预申报- 0:否 1:是",
  20060. "type": "integer"
  20061. },
  20062. "isvaliddata": {
  20063. "description": "是否有效 - 0:无效 1:有效",
  20064. "type": "integer"
  20065. },
  20066. "listingselecttype": {
  20067. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20068. "type": "integer"
  20069. },
  20070. "marginalgorithm": {
  20071. "description": "保证金收取方式 1:比率 2:固定",
  20072. "type": "integer"
  20073. },
  20074. "marginvalue": {
  20075. "description": "即市保证金设置值",
  20076. "type": "number"
  20077. },
  20078. "marketid": {
  20079. "description": "市场ID",
  20080. "type": "integer"
  20081. },
  20082. "marketmaxsub": {
  20083. "description": "市价最大偏移范围",
  20084. "type": "number"
  20085. },
  20086. "marketname": {
  20087. "description": "市场名称",
  20088. "type": "string"
  20089. },
  20090. "memberuserid": {
  20091. "description": "所属会员UserID",
  20092. "type": "integer"
  20093. },
  20094. "openexchagechargevalue": {
  20095. "description": "建仓交易所手续费设置值",
  20096. "type": "number"
  20097. },
  20098. "openfeealgorithm": {
  20099. "description": "建仓手续费收取方式 1:比率 2:固定",
  20100. "type": "integer"
  20101. },
  20102. "openfreezecharge": {
  20103. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20104. "type": "number"
  20105. },
  20106. "openmemberchargevalue": {
  20107. "description": "建仓会员手续费设置值",
  20108. "type": "number"
  20109. },
  20110. "openqty": {
  20111. "description": "开仓数量(先建后平操作,需要记录)",
  20112. "type": "integer"
  20113. },
  20114. "opentradeqty": {
  20115. "description": "开仓成交数量(先建后平操作,需要记录)",
  20116. "type": "integer"
  20117. },
  20118. "openunfreezecharge": {
  20119. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20120. "type": "number"
  20121. },
  20122. "operatetype": {
  20123. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20124. "type": "integer"
  20125. },
  20126. "operatorid": {
  20127. "description": "登录账号(LoginID)",
  20128. "type": "integer"
  20129. },
  20130. "optiontype": {
  20131. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20132. "type": "integer"
  20133. },
  20134. "orderid": {
  20135. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20136. "type": "string"
  20137. },
  20138. "orderprice": {
  20139. "description": "委托价格",
  20140. "type": "number"
  20141. },
  20142. "orderqty": {
  20143. "description": "委托数量",
  20144. "type": "integer"
  20145. },
  20146. "ordersrc": {
  20147. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20148. "type": "integer"
  20149. },
  20150. "orderstatus": {
  20151. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20152. "type": "integer"
  20153. },
  20154. "ordertime": {
  20155. "description": "委托时间",
  20156. "type": "string"
  20157. },
  20158. "preexerciseprice": {
  20159. "description": "预申报价格",
  20160. "type": "number"
  20161. },
  20162. "premium": {
  20163. "description": "权利金",
  20164. "type": "number"
  20165. },
  20166. "preorderid": {
  20167. "description": "关联预埋单号(止盈止损单时填写)",
  20168. "type": "string"
  20169. },
  20170. "pricemode": {
  20171. "description": "取价方式 - 1:市价 2: 限价",
  20172. "type": "integer"
  20173. },
  20174. "quoteid": {
  20175. "description": "报价单ID",
  20176. "type": "integer"
  20177. },
  20178. "relatedid": {
  20179. "description": "关联单号(交割单)",
  20180. "type": "string"
  20181. },
  20182. "retcode": {
  20183. "description": "错误代码",
  20184. "type": "integer"
  20185. },
  20186. "sessionid": {
  20187. "description": "会话ID",
  20188. "type": "integer"
  20189. },
  20190. "tradedate": {
  20191. "description": "交易日(yyyyMMdd)",
  20192. "type": "string"
  20193. },
  20194. "trademode": {
  20195. "description": "交易模式",
  20196. "type": "integer"
  20197. },
  20198. "tradeproperty": {
  20199. "description": "交易属性",
  20200. "type": "integer"
  20201. },
  20202. "tradeqty": {
  20203. "description": "成交数量",
  20204. "type": "integer"
  20205. },
  20206. "unfreezecharge": {
  20207. "description": "解冻手续费",
  20208. "type": "number"
  20209. },
  20210. "unfreezemargin": {
  20211. "description": "解冻保证金",
  20212. "type": "number"
  20213. },
  20214. "updatetime": {
  20215. "description": "更新时间",
  20216. "type": "string"
  20217. },
  20218. "uuid": {
  20219. "description": "发起端唯一id",
  20220. "type": "string"
  20221. },
  20222. "validtime": {
  20223. "description": "有效期限",
  20224. "type": "string"
  20225. },
  20226. "validtype": {
  20227. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20228. "type": "integer"
  20229. },
  20230. "volumetype": {
  20231. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20232. "type": "integer"
  20233. }
  20234. }
  20235. },
  20236. "order.QueryTradeDetailRsp": {
  20237. "type": "object",
  20238. "required": [
  20239. "accountid",
  20240. "buyorsell",
  20241. "goodsid",
  20242. "marketid",
  20243. "memberuserid",
  20244. "orderid",
  20245. "tradeamount",
  20246. "tradedate",
  20247. "tradeid",
  20248. "tradeprice",
  20249. "tradeqty",
  20250. "tradetime"
  20251. ],
  20252. "properties": {
  20253. "accountid": {
  20254. "description": "账户ID[报价币种]",
  20255. "type": "integer"
  20256. },
  20257. "buildtype": {
  20258. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20259. "type": "integer"
  20260. },
  20261. "buyorsell": {
  20262. "description": "方向 - 0:买 1:卖",
  20263. "type": "integer"
  20264. },
  20265. "charge": {
  20266. "description": "手续费",
  20267. "type": "number"
  20268. },
  20269. "closecharge": {
  20270. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20271. "type": "number"
  20272. },
  20273. "closeexchagechargevalue": {
  20274. "description": "平仓交易所手续费设置值",
  20275. "type": "number"
  20276. },
  20277. "closefeealgorithm": {
  20278. "description": "平仓手续费收取方式 1:比率 2:固定",
  20279. "type": "integer"
  20280. },
  20281. "closememberchargevalue": {
  20282. "description": "平仓会员手续费设置值",
  20283. "type": "number"
  20284. },
  20285. "closepl": {
  20286. "description": "平仓盈亏",
  20287. "type": "number"
  20288. },
  20289. "closepl2": {
  20290. "description": "平仓盈亏[逐笔]",
  20291. "type": "number"
  20292. },
  20293. "closeqty": {
  20294. "description": "平仓数量(先建后平操作 需要记录)",
  20295. "type": "integer"
  20296. },
  20297. "creditamount": {
  20298. "description": "授信金额",
  20299. "type": "number"
  20300. },
  20301. "gcaccountid": {
  20302. "description": "账户ID[合约币种]",
  20303. "type": "integer"
  20304. },
  20305. "goodscode": {
  20306. "description": "商品代码",
  20307. "type": "string"
  20308. },
  20309. "goodsid": {
  20310. "description": "商品ID",
  20311. "type": "integer"
  20312. },
  20313. "goodsname": {
  20314. "description": "商品名称",
  20315. "type": "string"
  20316. },
  20317. "intclosepl": {
  20318. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20319. "type": "integer"
  20320. },
  20321. "isconfirmexercise": {
  20322. "description": "是否确认行权- 0:否 1:是",
  20323. "type": "integer"
  20324. },
  20325. "ismain": {
  20326. "description": "是否主单 - 0:不是 1:是",
  20327. "type": "integer"
  20328. },
  20329. "ispreexercise": {
  20330. "description": "是否预申报- 0:否 1:是",
  20331. "type": "integer"
  20332. },
  20333. "isreckoned": {
  20334. "description": "是否结算 - 0:未结算 1:已结算",
  20335. "type": "integer"
  20336. },
  20337. "listingselecttype": {
  20338. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20339. "type": "integer"
  20340. },
  20341. "marketid": {
  20342. "description": "市场ID",
  20343. "type": "integer"
  20344. },
  20345. "marketname": {
  20346. "description": "市场名称",
  20347. "type": "string"
  20348. },
  20349. "matchaccountid": {
  20350. "description": "对手账号id",
  20351. "type": "integer"
  20352. },
  20353. "memberuserid": {
  20354. "description": "会员id 个人投资者 需要填写",
  20355. "type": "integer"
  20356. },
  20357. "opencharge": {
  20358. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20359. "type": "number"
  20360. },
  20361. "openexchagechargevalue": {
  20362. "description": "建仓交易所手续费设置值",
  20363. "type": "number"
  20364. },
  20365. "openfeealgorithm": {
  20366. "description": "建仓手续费收取方式 1:比率 2:固定",
  20367. "type": "integer"
  20368. },
  20369. "openmemberchargevalue": {
  20370. "description": "建仓会员手续费设置值",
  20371. "type": "number"
  20372. },
  20373. "openqty": {
  20374. "description": "开仓数量(先建后平操作 需要记录)",
  20375. "type": "integer"
  20376. },
  20377. "optiontype": {
  20378. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20379. "type": "integer"
  20380. },
  20381. "orderid": {
  20382. "description": "委托单号",
  20383. "type": "string"
  20384. },
  20385. "performanceplanid": {
  20386. "description": "履约计划ID[期权]",
  20387. "type": "integer"
  20388. },
  20389. "performancestatus": {
  20390. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20391. "type": "integer"
  20392. },
  20393. "preexerciseprice": {
  20394. "description": "预申报价格",
  20395. "type": "number"
  20396. },
  20397. "premium": {
  20398. "description": "权利金 - [持仓单的权利金]",
  20399. "type": "number"
  20400. },
  20401. "relatedouttradeid": {
  20402. "description": "关联外部成交单ID",
  20403. "type": "integer"
  20404. },
  20405. "status": {
  20406. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20407. "type": "integer"
  20408. },
  20409. "tradeamount": {
  20410. "description": "成交金额[账户币种,用于所有权]",
  20411. "type": "number"
  20412. },
  20413. "tradedate": {
  20414. "description": "交易日(yyyyMMdd)",
  20415. "type": "string"
  20416. },
  20417. "tradeid": {
  20418. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20419. "type": "string"
  20420. },
  20421. "trademode": {
  20422. "description": "交易模式",
  20423. "type": "integer"
  20424. },
  20425. "tradeprice": {
  20426. "description": "成交价格",
  20427. "type": "number"
  20428. },
  20429. "tradeproperty": {
  20430. "description": "交易属性",
  20431. "type": "integer"
  20432. },
  20433. "tradeqty": {
  20434. "description": "成交数量",
  20435. "type": "integer"
  20436. },
  20437. "tradetime": {
  20438. "description": "成交时间",
  20439. "type": "string"
  20440. },
  20441. "tradetype": {
  20442. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  20443. "type": "integer"
  20444. }
  20445. }
  20446. },
  20447. "order.QueryTradeOrderDetailRsp": {
  20448. "type": "object",
  20449. "required": [
  20450. "accountid",
  20451. "buildtype",
  20452. "buyorsell",
  20453. "goodsid",
  20454. "marketid",
  20455. "operatetype",
  20456. "orderqty",
  20457. "ordertime",
  20458. "pricemode",
  20459. "tradedate",
  20460. "validtype"
  20461. ],
  20462. "properties": {
  20463. "accountid": {
  20464. "description": "账户ID[报价币种]",
  20465. "type": "integer"
  20466. },
  20467. "buildtype": {
  20468. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20469. "type": "integer"
  20470. },
  20471. "buyorsell": {
  20472. "description": "买卖 - 0:买 1:卖",
  20473. "type": "integer"
  20474. },
  20475. "cancelorderid": {
  20476. "description": "撤单单号(撤单时填写)",
  20477. "type": "string"
  20478. },
  20479. "cancelqty": {
  20480. "description": "撤单数量",
  20481. "type": "integer"
  20482. },
  20483. "clienttype": {
  20484. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20485. "type": "integer"
  20486. },
  20487. "closefreezecharge": {
  20488. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20489. "type": "number"
  20490. },
  20491. "closeqty": {
  20492. "description": "平仓数量(先建后平操作 需要记录)",
  20493. "type": "integer"
  20494. },
  20495. "closetradeqty": {
  20496. "description": "平仓成交数量(先建后平操作,需要记录)",
  20497. "type": "integer"
  20498. },
  20499. "closeunfreezecharge": {
  20500. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20501. "type": "number"
  20502. },
  20503. "delistingtype": {
  20504. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20505. "type": "integer"
  20506. },
  20507. "enableqty": {
  20508. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  20509. "type": "integer"
  20510. },
  20511. "freezecharge": {
  20512. "description": "冻结手续费",
  20513. "type": "number"
  20514. },
  20515. "freezemargin": {
  20516. "description": "冻结保证金(冻结交易金额)",
  20517. "type": "number"
  20518. },
  20519. "goodscode": {
  20520. "description": "商品代码",
  20521. "type": "string"
  20522. },
  20523. "goodsid": {
  20524. "description": "商品ID",
  20525. "type": "integer"
  20526. },
  20527. "goodsname": {
  20528. "description": "商品名称",
  20529. "type": "string"
  20530. },
  20531. "listingselecttype": {
  20532. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20533. "type": "integer"
  20534. },
  20535. "marketid": {
  20536. "description": "市场ID",
  20537. "type": "integer"
  20538. },
  20539. "marketname": {
  20540. "description": "市场名称",
  20541. "type": "string"
  20542. },
  20543. "openfreezecharge": {
  20544. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20545. "type": "number"
  20546. },
  20547. "openqty": {
  20548. "description": "开仓数量(先建后平操作,需要记录)",
  20549. "type": "integer"
  20550. },
  20551. "opentradeqty": {
  20552. "description": "开仓成交数量(先建后平操作,需要记录)",
  20553. "type": "integer"
  20554. },
  20555. "openunfreezecharge": {
  20556. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20557. "type": "number"
  20558. },
  20559. "operatetype": {
  20560. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20561. "type": "integer"
  20562. },
  20563. "operatorid": {
  20564. "description": "登录账号(LoginID)",
  20565. "type": "integer"
  20566. },
  20567. "orderid": {
  20568. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20569. "type": "string"
  20570. },
  20571. "orderprice": {
  20572. "description": "委托价格",
  20573. "type": "number"
  20574. },
  20575. "orderqty": {
  20576. "description": "委托数量",
  20577. "type": "integer"
  20578. },
  20579. "ordersrc": {
  20580. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20581. "type": "integer"
  20582. },
  20583. "orderstatus": {
  20584. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20585. "type": "integer"
  20586. },
  20587. "ordertime": {
  20588. "description": "委托时间",
  20589. "type": "string"
  20590. },
  20591. "preorderid": {
  20592. "description": "关联预埋单号(止盈止损单时填写)",
  20593. "type": "string"
  20594. },
  20595. "pricemode": {
  20596. "description": "取价方式 - 1:市价 2: 限价",
  20597. "type": "integer"
  20598. },
  20599. "relatedid": {
  20600. "description": "关联单号(交割单)",
  20601. "type": "string"
  20602. },
  20603. "tradedate": {
  20604. "description": "交易日(yyyyMMdd)",
  20605. "type": "string"
  20606. },
  20607. "trademode": {
  20608. "description": "交易模式",
  20609. "type": "integer"
  20610. },
  20611. "tradeqty": {
  20612. "description": "成交数量",
  20613. "type": "integer"
  20614. },
  20615. "unfreezecharge": {
  20616. "description": "解冻手续费",
  20617. "type": "number"
  20618. },
  20619. "unfreezemargin": {
  20620. "description": "解冻保证金",
  20621. "type": "number"
  20622. },
  20623. "validtime": {
  20624. "description": "有效期限",
  20625. "type": "string"
  20626. },
  20627. "validtype": {
  20628. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20629. "type": "integer"
  20630. },
  20631. "volumetype": {
  20632. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20633. "type": "integer"
  20634. }
  20635. }
  20636. },
  20637. "order.QueryTradePositionRsp": {
  20638. "type": "object",
  20639. "required": [
  20640. "goodsid"
  20641. ],
  20642. "properties": {
  20643. "accountid": {
  20644. "description": "资金账户",
  20645. "type": "integer"
  20646. },
  20647. "agreeunit": {
  20648. "description": "合约单位",
  20649. "type": "number"
  20650. },
  20651. "averageprice": {
  20652. "description": "持仓均价",
  20653. "type": "number"
  20654. },
  20655. "buyorsell": {
  20656. "description": "方向 - 0:买 1:卖",
  20657. "type": "integer"
  20658. },
  20659. "closetotalqty": {
  20660. "description": "平仓总数量",
  20661. "type": "integer"
  20662. },
  20663. "curholderamount": {
  20664. "description": "当前持仓总金额[商品币种]",
  20665. "type": "number"
  20666. },
  20667. "curpositionqty": {
  20668. "description": "当前持仓总数量",
  20669. "type": "integer"
  20670. },
  20671. "currencyid": {
  20672. "description": "报价货币ID",
  20673. "type": "integer"
  20674. },
  20675. "curtdposition": {
  20676. "description": "期末今日头寸",
  20677. "type": "integer"
  20678. },
  20679. "decimalplace": {
  20680. "description": "报价小数位",
  20681. "type": "integer"
  20682. },
  20683. "enableqty": {
  20684. "description": "可用量",
  20685. "type": "integer"
  20686. },
  20687. "fretdposition": {
  20688. "description": "冻结今日头寸",
  20689. "type": "integer"
  20690. },
  20691. "frozenqty": {
  20692. "description": "持仓冻结数量",
  20693. "type": "integer"
  20694. },
  20695. "goodscode": {
  20696. "description": "商品代码",
  20697. "type": "string"
  20698. },
  20699. "goodsid": {
  20700. "description": "商品Id",
  20701. "type": "integer"
  20702. },
  20703. "goodsname": {
  20704. "description": "商品名称",
  20705. "type": "string"
  20706. },
  20707. "goodunit": {
  20708. "description": "报价单位",
  20709. "type": "string"
  20710. },
  20711. "goodunitid": {
  20712. "description": "报价单位ID",
  20713. "type": "integer"
  20714. },
  20715. "holderamount": {
  20716. "description": "期初持仓总金额[商品币种]",
  20717. "type": "number"
  20718. },
  20719. "marketid": {
  20720. "description": "所属市场ID",
  20721. "type": "integer"
  20722. },
  20723. "openreqqty": {
  20724. "description": "开仓申请数量(用于比较最大持仓数量)",
  20725. "type": "integer"
  20726. },
  20727. "opentotalqty": {
  20728. "description": "开仓总数量",
  20729. "type": "integer"
  20730. },
  20731. "otherfrozenqty": {
  20732. "description": "持仓其他冻结数量(交割冻结)",
  20733. "type": "integer"
  20734. },
  20735. "positionqty": {
  20736. "description": "期初持仓数量",
  20737. "type": "integer"
  20738. },
  20739. "tnqty": {
  20740. "description": "T+N冻结总量",
  20741. "type": "integer"
  20742. },
  20743. "tnusedqty": {
  20744. "description": "T+N使用量(可以使用T+N的冻结数量)",
  20745. "type": "integer"
  20746. },
  20747. "trademode": {
  20748. "description": "交易模式",
  20749. "type": "integer"
  20750. },
  20751. "usedmargin": {
  20752. "description": "占用保证金[商品币种]",
  20753. "type": "number"
  20754. }
  20755. }
  20756. },
  20757. "quote.HistoryData": {
  20758. "type": "object",
  20759. "properties": {
  20760. "c": {
  20761. "description": "收盘价",
  20762. "type": "number"
  20763. },
  20764. "f": {
  20765. "description": "是否补充数据",
  20766. "type": "boolean"
  20767. },
  20768. "h": {
  20769. "description": "最高价",
  20770. "type": "number"
  20771. },
  20772. "hv": {
  20773. "description": "持仓量",
  20774. "type": "integer"
  20775. },
  20776. "l": {
  20777. "description": "最低价",
  20778. "type": "number"
  20779. },
  20780. "o": {
  20781. "description": "开盘价",
  20782. "type": "number"
  20783. },
  20784. "s": {
  20785. "description": "结算价,日线周期(包括)以上才有",
  20786. "type": "number"
  20787. },
  20788. "ts": {
  20789. "description": "时间",
  20790. "type": "string"
  20791. },
  20792. "tt": {
  20793. "description": "总金额",
  20794. "type": "number"
  20795. },
  20796. "tv": {
  20797. "description": "总量",
  20798. "type": "integer"
  20799. }
  20800. }
  20801. },
  20802. "quote.HistoryTikData": {
  20803. "type": "object",
  20804. "properties": {
  20805. "AV": {
  20806. "description": "卖量",
  20807. "type": "integer"
  20808. },
  20809. "Ask": {
  20810. "description": "卖价",
  20811. "type": "number"
  20812. },
  20813. "BV": {
  20814. "description": "买量",
  20815. "type": "integer"
  20816. },
  20817. "Bid": {
  20818. "description": "买价",
  20819. "type": "number"
  20820. },
  20821. "HI": {
  20822. "description": "单笔持仓",
  20823. "type": "integer"
  20824. },
  20825. "HV": {
  20826. "description": "持仓量",
  20827. "type": "integer"
  20828. },
  20829. "PE": {
  20830. "description": "现价",
  20831. "type": "number"
  20832. },
  20833. "TDR": {
  20834. "description": "交易方向,0:买 1:卖",
  20835. "type": "integer"
  20836. },
  20837. "TK": {
  20838. "description": "交易类型",
  20839. "type": "integer"
  20840. },
  20841. "TS": {
  20842. "description": "行情时间文本",
  20843. "type": "string"
  20844. },
  20845. "TT": {
  20846. "description": "现金额",
  20847. "type": "number"
  20848. },
  20849. "Vol": {
  20850. "description": "现量",
  20851. "type": "integer"
  20852. }
  20853. }
  20854. },
  20855. "quote.QueryQuoteDayRsp": {
  20856. "type": "object",
  20857. "properties": {
  20858. "ask": {
  20859. "description": "卖1",
  20860. "type": "number"
  20861. },
  20862. "ask10": {
  20863. "description": "卖10",
  20864. "type": "number"
  20865. },
  20866. "ask2": {
  20867. "description": "卖2",
  20868. "type": "number"
  20869. },
  20870. "ask3": {
  20871. "description": "卖3",
  20872. "type": "number"
  20873. },
  20874. "ask4": {
  20875. "description": "卖4",
  20876. "type": "number"
  20877. },
  20878. "ask5": {
  20879. "description": "卖5",
  20880. "type": "number"
  20881. },
  20882. "ask6": {
  20883. "description": "卖6",
  20884. "type": "number"
  20885. },
  20886. "ask7": {
  20887. "description": "卖7",
  20888. "type": "number"
  20889. },
  20890. "ask8": {
  20891. "description": "卖8",
  20892. "type": "number"
  20893. },
  20894. "ask9": {
  20895. "description": "卖9",
  20896. "type": "number"
  20897. },
  20898. "askorderid": {
  20899. "description": "卖单号1",
  20900. "type": "integer"
  20901. },
  20902. "askorderid2": {
  20903. "description": "卖单号2",
  20904. "type": "integer"
  20905. },
  20906. "askorderid3": {
  20907. "description": "卖单号3",
  20908. "type": "integer"
  20909. },
  20910. "askorderid4": {
  20911. "description": "卖单号4",
  20912. "type": "integer"
  20913. },
  20914. "askorderid5": {
  20915. "description": "卖单号5",
  20916. "type": "integer"
  20917. },
  20918. "askordervolume": {
  20919. "description": "卖单量1",
  20920. "type": "integer"
  20921. },
  20922. "askordervolume10": {
  20923. "description": "卖单量10",
  20924. "type": "integer"
  20925. },
  20926. "askordervolume2": {
  20927. "description": "卖单量2",
  20928. "type": "integer"
  20929. },
  20930. "askordervolume3": {
  20931. "description": "卖单量3",
  20932. "type": "integer"
  20933. },
  20934. "askordervolume4": {
  20935. "description": "卖单量4",
  20936. "type": "integer"
  20937. },
  20938. "askordervolume5": {
  20939. "description": "卖单量5",
  20940. "type": "integer"
  20941. },
  20942. "askordervolume6": {
  20943. "description": "卖单量6",
  20944. "type": "integer"
  20945. },
  20946. "askordervolume7": {
  20947. "description": "卖单量7",
  20948. "type": "integer"
  20949. },
  20950. "askordervolume8": {
  20951. "description": "卖单量8",
  20952. "type": "integer"
  20953. },
  20954. "askordervolume9": {
  20955. "description": "卖单量9",
  20956. "type": "integer"
  20957. },
  20958. "askqueueinfo": {
  20959. "description": "大利市卖港股用",
  20960. "type": "string"
  20961. },
  20962. "askvolume": {
  20963. "description": "卖量1",
  20964. "type": "integer"
  20965. },
  20966. "askvolume10": {
  20967. "description": "卖量10",
  20968. "type": "integer"
  20969. },
  20970. "askvolume2": {
  20971. "description": "卖量2",
  20972. "type": "integer"
  20973. },
  20974. "askvolume3": {
  20975. "description": "卖量3",
  20976. "type": "integer"
  20977. },
  20978. "askvolume4": {
  20979. "description": "卖量4",
  20980. "type": "integer"
  20981. },
  20982. "askvolume5": {
  20983. "description": "卖量5",
  20984. "type": "integer"
  20985. },
  20986. "askvolume6": {
  20987. "description": "卖量6",
  20988. "type": "integer"
  20989. },
  20990. "askvolume7": {
  20991. "description": "卖量7",
  20992. "type": "integer"
  20993. },
  20994. "askvolume8": {
  20995. "description": "卖量8",
  20996. "type": "integer"
  20997. },
  20998. "askvolume9": {
  20999. "description": "卖量9",
  21000. "type": "integer"
  21001. },
  21002. "averageprice": {
  21003. "description": "均价",
  21004. "type": "number"
  21005. },
  21006. "bid": {
  21007. "description": "买1",
  21008. "type": "number"
  21009. },
  21010. "bid10": {
  21011. "description": "买10",
  21012. "type": "number"
  21013. },
  21014. "bid2": {
  21015. "description": "买2",
  21016. "type": "number"
  21017. },
  21018. "bid3": {
  21019. "description": "买3",
  21020. "type": "number"
  21021. },
  21022. "bid4": {
  21023. "description": "买4",
  21024. "type": "number"
  21025. },
  21026. "bid5": {
  21027. "description": "买5",
  21028. "type": "number"
  21029. },
  21030. "bid6": {
  21031. "description": "买6",
  21032. "type": "number"
  21033. },
  21034. "bid7": {
  21035. "description": "买7",
  21036. "type": "number"
  21037. },
  21038. "bid8": {
  21039. "description": "买8",
  21040. "type": "number"
  21041. },
  21042. "bid9": {
  21043. "description": "买9",
  21044. "type": "number"
  21045. },
  21046. "bidorderid": {
  21047. "description": "买单号1",
  21048. "type": "integer"
  21049. },
  21050. "bidorderid2": {
  21051. "description": "买单号2",
  21052. "type": "integer"
  21053. },
  21054. "bidorderid3": {
  21055. "description": "买单号3",
  21056. "type": "integer"
  21057. },
  21058. "bidorderid4": {
  21059. "description": "买单号4",
  21060. "type": "integer"
  21061. },
  21062. "bidorderid5": {
  21063. "description": "买单号5",
  21064. "type": "integer"
  21065. },
  21066. "bidordervolume": {
  21067. "description": "买单量1",
  21068. "type": "integer"
  21069. },
  21070. "bidordervolume10": {
  21071. "description": "买单量10",
  21072. "type": "integer"
  21073. },
  21074. "bidordervolume2": {
  21075. "description": "买单量2",
  21076. "type": "integer"
  21077. },
  21078. "bidordervolume3": {
  21079. "description": "买单量3",
  21080. "type": "integer"
  21081. },
  21082. "bidordervolume4": {
  21083. "description": "买单量4",
  21084. "type": "integer"
  21085. },
  21086. "bidordervolume5": {
  21087. "description": "买单量5",
  21088. "type": "integer"
  21089. },
  21090. "bidordervolume6": {
  21091. "description": "买单量6",
  21092. "type": "integer"
  21093. },
  21094. "bidordervolume7": {
  21095. "description": "买单量7",
  21096. "type": "integer"
  21097. },
  21098. "bidordervolume8": {
  21099. "description": "买单量8",
  21100. "type": "integer"
  21101. },
  21102. "bidordervolume9": {
  21103. "description": "买单量9",
  21104. "type": "integer"
  21105. },
  21106. "bidqueueinfo": {
  21107. "description": "大利市买港股用",
  21108. "type": "string"
  21109. },
  21110. "bidvolume": {
  21111. "description": "买量1",
  21112. "type": "integer"
  21113. },
  21114. "bidvolume10": {
  21115. "description": "买量10",
  21116. "type": "integer"
  21117. },
  21118. "bidvolume2": {
  21119. "description": "买量2",
  21120. "type": "integer"
  21121. },
  21122. "bidvolume3": {
  21123. "description": "买量3",
  21124. "type": "integer"
  21125. },
  21126. "bidvolume4": {
  21127. "description": "买量4",
  21128. "type": "integer"
  21129. },
  21130. "bidvolume5": {
  21131. "description": "买量5",
  21132. "type": "integer"
  21133. },
  21134. "bidvolume6": {
  21135. "description": "买量6",
  21136. "type": "integer"
  21137. },
  21138. "bidvolume7": {
  21139. "description": "买量7",
  21140. "type": "integer"
  21141. },
  21142. "bidvolume8": {
  21143. "description": "买量8",
  21144. "type": "integer"
  21145. },
  21146. "bidvolume9": {
  21147. "description": "买量9",
  21148. "type": "integer"
  21149. },
  21150. "calloptionpremiums": {
  21151. "description": "认购期权1",
  21152. "type": "integer"
  21153. },
  21154. "calloptionpremiums2": {
  21155. "description": "认购期权2",
  21156. "type": "integer"
  21157. },
  21158. "calloptionpremiums3": {
  21159. "description": "认购期权3",
  21160. "type": "integer"
  21161. },
  21162. "calloptionpremiums4": {
  21163. "description": "认购期权4",
  21164. "type": "integer"
  21165. },
  21166. "calloptionpremiums5": {
  21167. "description": "认购期权5",
  21168. "type": "integer"
  21169. },
  21170. "cleartime": {
  21171. "description": "清盘时间",
  21172. "type": "integer"
  21173. },
  21174. "exchangecode": {
  21175. "description": "交易所代码",
  21176. "type": "integer"
  21177. },
  21178. "exchangedate": {
  21179. "description": "交易日",
  21180. "type": "integer"
  21181. },
  21182. "goodscode": {
  21183. "description": "商品代码",
  21184. "type": "string"
  21185. },
  21186. "grepmarketprice": {
  21187. "description": "暗盘价 港股专用",
  21188. "type": "number"
  21189. },
  21190. "highest": {
  21191. "description": "最高价",
  21192. "type": "number"
  21193. },
  21194. "holdincrement": {
  21195. "description": "单笔持仓",
  21196. "type": "integer"
  21197. },
  21198. "holdvolume": {
  21199. "description": "持仓",
  21200. "type": "integer"
  21201. },
  21202. "iep": {
  21203. "description": "平衡价 港股专用",
  21204. "type": "number"
  21205. },
  21206. "iev": {
  21207. "description": "平衡量 港股专用",
  21208. "type": "number"
  21209. },
  21210. "inventory": {
  21211. "description": "库存",
  21212. "type": "integer"
  21213. },
  21214. "iscleared": {
  21215. "description": "是否清盘标志",
  21216. "type": "integer"
  21217. },
  21218. "issettled": {
  21219. "description": "是否结算标志",
  21220. "type": "integer"
  21221. },
  21222. "last": {
  21223. "description": "最新价",
  21224. "type": "number"
  21225. },
  21226. "lastlot": {
  21227. "description": "最新成交手数",
  21228. "type": "integer"
  21229. },
  21230. "lasttime": {
  21231. "description": "行情时间(只有现价变化行情时间才变化)",
  21232. "type": "string"
  21233. },
  21234. "lastturnover": {
  21235. "description": "最新成交金额",
  21236. "type": "number"
  21237. },
  21238. "lastvolume": {
  21239. "description": "最新成交量",
  21240. "type": "integer"
  21241. },
  21242. "limitdown": {
  21243. "description": "跌停价",
  21244. "type": "number"
  21245. },
  21246. "limitup": {
  21247. "description": "涨停价",
  21248. "type": "number"
  21249. },
  21250. "lowest": {
  21251. "description": "最低价",
  21252. "type": "number"
  21253. },
  21254. "nontotalholdervolume": {
  21255. "description": "非交易持仓量",
  21256. "type": "integer"
  21257. },
  21258. "nontotallot": {
  21259. "description": "非交易总手数",
  21260. "type": "integer"
  21261. },
  21262. "nontotalturnover": {
  21263. "description": "非交易总金额",
  21264. "type": "integer"
  21265. },
  21266. "nontotalvolume": {
  21267. "description": "非交易总量",
  21268. "type": "integer"
  21269. },
  21270. "opened": {
  21271. "description": "开盘价",
  21272. "type": "number"
  21273. },
  21274. "opentime": {
  21275. "description": "开盘时间",
  21276. "type": "string"
  21277. },
  21278. "orderid": {
  21279. "description": "序号",
  21280. "type": "integer"
  21281. },
  21282. "preclose": {
  21283. "description": "昨收",
  21284. "type": "number"
  21285. },
  21286. "preholdvolume": {
  21287. "description": "昨持仓",
  21288. "type": "integer"
  21289. },
  21290. "presettle": {
  21291. "description": "昨结价",
  21292. "type": "number"
  21293. },
  21294. "publictradetype": {
  21295. "description": "公共交易标志类型 港股专用",
  21296. "type": "string"
  21297. },
  21298. "putoptionpremiums": {
  21299. "description": "认沽期权1",
  21300. "type": "integer"
  21301. },
  21302. "putoptionpremiums2": {
  21303. "description": "认沽期权2",
  21304. "type": "integer"
  21305. },
  21306. "putoptionpremiums3": {
  21307. "description": "认沽期权3",
  21308. "type": "integer"
  21309. },
  21310. "putoptionpremiums4": {
  21311. "description": "认沽期权4",
  21312. "type": "integer"
  21313. },
  21314. "putoptionpremiums5": {
  21315. "description": "认沽期权5",
  21316. "type": "integer"
  21317. },
  21318. "settle": {
  21319. "description": "结算价",
  21320. "type": "number"
  21321. },
  21322. "strikeprice": {
  21323. "description": "发行价",
  21324. "type": "number"
  21325. },
  21326. "totalaskvolume": {
  21327. "description": "内盘",
  21328. "type": "integer"
  21329. },
  21330. "totalbidvolume": {
  21331. "description": "外盘",
  21332. "type": "integer"
  21333. },
  21334. "totallot": {
  21335. "description": "总手数",
  21336. "type": "integer"
  21337. },
  21338. "totalturnover": {
  21339. "description": "总金额",
  21340. "type": "number"
  21341. },
  21342. "totalvolume": {
  21343. "description": "总量",
  21344. "type": "integer"
  21345. },
  21346. "utclasttime": {
  21347. "description": "utc的行情时间",
  21348. "type": "string"
  21349. }
  21350. }
  21351. },
  21352. "quote.QueryTSDataRsp": {
  21353. "type": "object",
  21354. "properties": {
  21355. "Count": {
  21356. "description": "交易日应有数据个数",
  21357. "type": "integer"
  21358. },
  21359. "decimalPlace": {
  21360. "description": "小数位",
  21361. "type": "integer"
  21362. },
  21363. "endTime": {
  21364. "description": "结束时间",
  21365. "type": "string"
  21366. },
  21367. "goodsCode": {
  21368. "description": "商品代码",
  21369. "type": "string"
  21370. },
  21371. "historyDatas": {
  21372. "description": "历史数据",
  21373. "type": "array",
  21374. "items": {
  21375. "$ref": "#/definitions/quote.HistoryData"
  21376. }
  21377. },
  21378. "outGoodsCode": {
  21379. "description": "外部商品代码",
  21380. "type": "string"
  21381. },
  21382. "preSettle": {
  21383. "description": "昨结价",
  21384. "type": "number"
  21385. },
  21386. "runSteps": {
  21387. "description": "交易日开休市计划",
  21388. "type": "array",
  21389. "items": {
  21390. "$ref": "#/definitions/quote.TSDataRunStep"
  21391. }
  21392. },
  21393. "startTime": {
  21394. "description": "开始时间",
  21395. "type": "string"
  21396. },
  21397. "tradeDate": {
  21398. "description": "交易日",
  21399. "type": "string"
  21400. }
  21401. }
  21402. },
  21403. "quote.TSDataRunStep": {
  21404. "type": "object",
  21405. "properties": {
  21406. "end": {
  21407. "description": "真实结束时间",
  21408. "type": "string"
  21409. },
  21410. "endflag": {
  21411. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  21412. "type": "integer"
  21413. },
  21414. "endtime": {
  21415. "description": "结束时间(HH:mm)",
  21416. "type": "string"
  21417. },
  21418. "endweekday": {
  21419. "description": "结束周几",
  21420. "type": "integer"
  21421. },
  21422. "groupid": {
  21423. "description": "分组ID",
  21424. "type": "integer"
  21425. },
  21426. "runstep": {
  21427. "description": "运行阶段 - 2:连续交易",
  21428. "type": "integer"
  21429. },
  21430. "sectionid": {
  21431. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  21432. "type": "integer"
  21433. },
  21434. "start": {
  21435. "description": "真实开始时间",
  21436. "type": "string"
  21437. },
  21438. "startflag": {
  21439. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  21440. "type": "integer"
  21441. },
  21442. "starttime": {
  21443. "description": "起始时间(HH:mm)",
  21444. "type": "string"
  21445. },
  21446. "startweekday": {
  21447. "description": "起始周几",
  21448. "type": "integer"
  21449. },
  21450. "tradeweekday": {
  21451. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  21452. "type": "integer"
  21453. }
  21454. }
  21455. },
  21456. "szdz.QueryConvertLogRsp": {
  21457. "type": "object",
  21458. "required": [
  21459. "logid"
  21460. ],
  21461. "properties": {
  21462. "accountid": {
  21463. "description": "资金账户ID",
  21464. "type": "integer"
  21465. },
  21466. "clientticket": {
  21467. "description": "客户端流水号",
  21468. "type": "string"
  21469. },
  21470. "converttype": {
  21471. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  21472. "type": "integer"
  21473. },
  21474. "createtime": {
  21475. "description": "记账时间",
  21476. "type": "string"
  21477. },
  21478. "daymaxvalue": {
  21479. "description": "配置当日最大转入限制",
  21480. "type": "number"
  21481. },
  21482. "daymaxvalue2": {
  21483. "description": "配置当日最大转入限制(转入)",
  21484. "type": "number"
  21485. },
  21486. "goodscode": {
  21487. "description": "商品代码",
  21488. "type": "string"
  21489. },
  21490. "goodsname": {
  21491. "description": "商品名称",
  21492. "type": "string"
  21493. },
  21494. "handlestatus": {
  21495. "description": "处理状态",
  21496. "type": "integer"
  21497. },
  21498. "innergoodsid": {
  21499. "description": "内部商品ID",
  21500. "type": "integer"
  21501. },
  21502. "inratio": {
  21503. "description": "配置转入比值",
  21504. "type": "integer"
  21505. },
  21506. "invalue": {
  21507. "description": "目标值",
  21508. "type": "number"
  21509. },
  21510. "logid": {
  21511. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21512. "type": "integer"
  21513. },
  21514. "mobile": {
  21515. "description": "手机号码(加密存储)",
  21516. "type": "string"
  21517. },
  21518. "outergoodscode": {
  21519. "description": "外部商品代码[JD\\PD]",
  21520. "type": "string"
  21521. },
  21522. "outratio": {
  21523. "description": "配置转出比值",
  21524. "type": "integer"
  21525. },
  21526. "outvalue": {
  21527. "description": "源值",
  21528. "type": "number"
  21529. },
  21530. "pddecimalplace": {
  21531. "description": "PD小数位",
  21532. "type": "integer"
  21533. },
  21534. "qty": {
  21535. "description": "数量",
  21536. "type": "string"
  21537. },
  21538. "remark": {
  21539. "description": "备注",
  21540. "type": "string"
  21541. },
  21542. "sessionid": {
  21543. "description": "会话ID",
  21544. "type": "integer"
  21545. },
  21546. "timemaxvalue": {
  21547. "description": "配置单次最大转入限制",
  21548. "type": "number"
  21549. },
  21550. "timemaxvalue2": {
  21551. "description": "配置单次最大转入限制(转入)",
  21552. "type": "number"
  21553. },
  21554. "timeminvalue": {
  21555. "description": "配置单次最小数量限制",
  21556. "type": "number"
  21557. },
  21558. "timeminvalue2": {
  21559. "description": "配置单次最小数量限制(转入)",
  21560. "type": "number"
  21561. },
  21562. "tradedate": {
  21563. "description": "交易日(yyyyMMdd)",
  21564. "type": "string"
  21565. },
  21566. "userid": {
  21567. "description": "用户ID",
  21568. "type": "integer"
  21569. }
  21570. }
  21571. },
  21572. "szdz.QueryGoodsPickupRsp": {
  21573. "type": "object",
  21574. "required": [
  21575. "takeorderid"
  21576. ],
  21577. "properties": {
  21578. "accountid": {
  21579. "description": "账户ID",
  21580. "type": "integer"
  21581. },
  21582. "address": {
  21583. "description": "提货人详细地址",
  21584. "type": "string"
  21585. },
  21586. "auditer": {
  21587. "description": "审核人",
  21588. "type": "integer"
  21589. },
  21590. "audittime": {
  21591. "description": "审核时间",
  21592. "type": "string"
  21593. },
  21594. "cardnum": {
  21595. "description": "提货人证件号码",
  21596. "type": "string"
  21597. },
  21598. "cardtypeid": {
  21599. "description": "提货人证件类型",
  21600. "type": "integer"
  21601. },
  21602. "checkremark": {
  21603. "description": "审核备注",
  21604. "type": "string"
  21605. },
  21606. "goodscode": {
  21607. "description": "商品代码",
  21608. "type": "string"
  21609. },
  21610. "goodsid": {
  21611. "description": "商品ID",
  21612. "type": "integer"
  21613. },
  21614. "goodsname": {
  21615. "description": "商品名称",
  21616. "type": "string"
  21617. },
  21618. "handlestatus": {
  21619. "description": "处理状态",
  21620. "type": "integer"
  21621. },
  21622. "marketid": {
  21623. "description": "市场ID",
  21624. "type": "integer"
  21625. },
  21626. "phonenum": {
  21627. "description": "提货人联系方式",
  21628. "type": "string"
  21629. },
  21630. "qty": {
  21631. "description": "提货数量",
  21632. "type": "number"
  21633. },
  21634. "recivername": {
  21635. "description": "提货人姓名",
  21636. "type": "string"
  21637. },
  21638. "reqtime": {
  21639. "description": "更新时间",
  21640. "type": "string"
  21641. },
  21642. "takemode": {
  21643. "description": "提货方式 - 2:自提 3:配送",
  21644. "type": "integer"
  21645. },
  21646. "takeorderid": {
  21647. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21648. "type": "string"
  21649. },
  21650. "takeorderstatus": {
  21651. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21652. "type": "integer"
  21653. },
  21654. "takeremark": {
  21655. "description": "提货备注",
  21656. "type": "string"
  21657. },
  21658. "tradedate": {
  21659. "description": "交易日(yyyyMMdd)",
  21660. "type": "string"
  21661. },
  21662. "userid": {
  21663. "description": "用户ID",
  21664. "type": "integer"
  21665. }
  21666. }
  21667. },
  21668. "szdz.QueryRecieptOrderRsp": {
  21669. "type": "object",
  21670. "required": [
  21671. "ordertime"
  21672. ],
  21673. "properties": {
  21674. "accountName": {
  21675. "description": "所属账号名称(已脱敏)",
  21676. "type": "string"
  21677. },
  21678. "accountid": {
  21679. "description": "资金账号",
  21680. "type": "integer"
  21681. },
  21682. "buyorsell": {
  21683. "description": "方向 - 0:买 1:卖",
  21684. "type": "integer"
  21685. },
  21686. "enableqty": {
  21687. "description": "可摘数量",
  21688. "type": "integer"
  21689. },
  21690. "goodscode": {
  21691. "description": "商品代码",
  21692. "type": "string"
  21693. },
  21694. "goodsid": {
  21695. "description": "商品ID",
  21696. "type": "integer"
  21697. },
  21698. "goodsname": {
  21699. "description": "商品名称",
  21700. "type": "string"
  21701. },
  21702. "orderid": {
  21703. "description": "委托单号",
  21704. "type": "string"
  21705. },
  21706. "orderprice": {
  21707. "description": "委托价格",
  21708. "type": "number"
  21709. },
  21710. "ordertime": {
  21711. "description": "委托时间",
  21712. "type": "string"
  21713. },
  21714. "tradedate": {
  21715. "description": "交易日(yyyyMMdd)",
  21716. "type": "string"
  21717. }
  21718. }
  21719. },
  21720. "szdz.QuerySZDZTradePositionRsp": {
  21721. "type": "object",
  21722. "properties": {
  21723. "accountid": {
  21724. "description": "账号Id",
  21725. "type": "integer"
  21726. },
  21727. "agreeunit": {
  21728. "description": "合约单位",
  21729. "type": "number"
  21730. },
  21731. "averageprice": {
  21732. "description": "持仓均价",
  21733. "type": "number"
  21734. },
  21735. "buyorsell": {
  21736. "description": "方向 - 0:买 1:卖",
  21737. "type": "integer"
  21738. },
  21739. "closetotalqty": {
  21740. "description": "平仓总数量",
  21741. "type": "integer"
  21742. },
  21743. "curholderamount": {
  21744. "description": "当前持仓总金额",
  21745. "type": "number"
  21746. },
  21747. "curpositionqty": {
  21748. "description": "当前持仓总数量",
  21749. "type": "integer"
  21750. },
  21751. "currencyid": {
  21752. "description": "报价货币ID",
  21753. "type": "integer"
  21754. },
  21755. "curtdposition": {
  21756. "description": "期末今日头寸",
  21757. "type": "integer"
  21758. },
  21759. "decimalplace": {
  21760. "description": "报价小数位",
  21761. "type": "integer"
  21762. },
  21763. "enableqty": {
  21764. "description": "可用量",
  21765. "type": "integer"
  21766. },
  21767. "fretdposition": {
  21768. "description": "冻结今日头寸",
  21769. "type": "integer"
  21770. },
  21771. "frozenqty": {
  21772. "description": "持仓冻结数量",
  21773. "type": "integer"
  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. "goodunit": {
  21788. "description": "报价单位",
  21789. "type": "string"
  21790. },
  21791. "goodunitid": {
  21792. "description": "报价单位ID",
  21793. "type": "integer"
  21794. },
  21795. "holderamount": {
  21796. "description": "期初持仓总金额",
  21797. "type": "number"
  21798. },
  21799. "marketid": {
  21800. "description": "市场ID",
  21801. "type": "integer"
  21802. },
  21803. "openreqqty": {
  21804. "description": "开仓申请数量",
  21805. "type": "integer"
  21806. },
  21807. "opentotalqty": {
  21808. "description": "开仓总数量",
  21809. "type": "integer"
  21810. },
  21811. "otherfrozenqty": {
  21812. "description": "持仓其他冻结数量(交割冻结)",
  21813. "type": "integer"
  21814. },
  21815. "positionqty": {
  21816. "description": "期初持仓数量",
  21817. "type": "integer"
  21818. },
  21819. "szdz3freezqty": {
  21820. "description": "尚志大宗转换冻结总数量",
  21821. "type": "integer"
  21822. },
  21823. "tnqty": {
  21824. "description": "T+N冻结总量",
  21825. "type": "integer"
  21826. },
  21827. "tnusedqty": {
  21828. "description": "T+N使用量",
  21829. "type": "integer"
  21830. },
  21831. "trademode": {
  21832. "description": "交易模式",
  21833. "type": "integer"
  21834. },
  21835. "usedmargin": {
  21836. "description": "占用保证金",
  21837. "type": "number"
  21838. }
  21839. }
  21840. },
  21841. "taaccount.QueryAmountLogRsp": {
  21842. "type": "object",
  21843. "required": [
  21844. "accountid",
  21845. "amount",
  21846. "amountadjusttype",
  21847. "autoid",
  21848. "balance",
  21849. "createtime",
  21850. "currentbalance",
  21851. "operatetype"
  21852. ],
  21853. "properties": {
  21854. "OPERATETYPENAME": {
  21855. "description": "资金操作类型名称",
  21856. "type": "string"
  21857. },
  21858. "accountid": {
  21859. "description": "资金账户ID",
  21860. "type": "integer"
  21861. },
  21862. "agoodscode": {
  21863. "description": "竞拍商品代码",
  21864. "type": "string"
  21865. },
  21866. "agoodsname": {
  21867. "description": "竞拍商品名称",
  21868. "type": "string"
  21869. },
  21870. "amount": {
  21871. "description": "资金金额",
  21872. "type": "number"
  21873. },
  21874. "amountadjusttype": {
  21875. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21876. "type": "integer"
  21877. },
  21878. "autoid": {
  21879. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21880. "type": "integer"
  21881. },
  21882. "balance": {
  21883. "description": "期初余额",
  21884. "type": "number"
  21885. },
  21886. "businesscode": {
  21887. "description": "业务编号",
  21888. "type": "integer"
  21889. },
  21890. "createtime": {
  21891. "description": "发生时间",
  21892. "type": "string"
  21893. },
  21894. "currencyid": {
  21895. "description": "币种ID",
  21896. "type": "integer"
  21897. },
  21898. "currentbalance": {
  21899. "description": "期末余额(变动后金额)",
  21900. "type": "number"
  21901. },
  21902. "dgoodscode": {
  21903. "description": "交割商品代码",
  21904. "type": "string"
  21905. },
  21906. "dgoodsname": {
  21907. "description": "交割商品名称",
  21908. "type": "string"
  21909. },
  21910. "goodscode": {
  21911. "description": "商品代码",
  21912. "type": "string"
  21913. },
  21914. "goodsid": {
  21915. "description": "商品ID",
  21916. "type": "integer"
  21917. },
  21918. "goodsname": {
  21919. "description": "商品名称",
  21920. "type": "string"
  21921. },
  21922. "marketid": {
  21923. "description": "市场ID",
  21924. "type": "integer"
  21925. },
  21926. "marketname": {
  21927. "description": "市场名称",
  21928. "type": "string"
  21929. },
  21930. "moneyticket": {
  21931. "description": "资金流水号:银行端流水号",
  21932. "type": "integer"
  21933. },
  21934. "operatetype": {
  21935. "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:营销收款",
  21936. "type": "integer"
  21937. },
  21938. "relationorderid": {
  21939. "description": "关联单号",
  21940. "type": "string"
  21941. },
  21942. "remark": {
  21943. "description": "备注",
  21944. "type": "string"
  21945. },
  21946. "trademode": {
  21947. "description": "交易模式",
  21948. "type": "integer"
  21949. }
  21950. }
  21951. },
  21952. "taaccount.QueryHisAmountLogRsp": {
  21953. "type": "object",
  21954. "required": [
  21955. "accountid",
  21956. "amount",
  21957. "amountadjusttype",
  21958. "autoid",
  21959. "balance",
  21960. "createtime",
  21961. "currentbalance",
  21962. "histradedate",
  21963. "operatetype"
  21964. ],
  21965. "properties": {
  21966. "OPERATETYPENAME": {
  21967. "description": "资金操作类型名称",
  21968. "type": "string"
  21969. },
  21970. "accountid": {
  21971. "description": "资金账户ID",
  21972. "type": "integer"
  21973. },
  21974. "agoodscode": {
  21975. "description": "竞拍商品代码",
  21976. "type": "string"
  21977. },
  21978. "agoodsname": {
  21979. "description": "竞拍商品名称",
  21980. "type": "string"
  21981. },
  21982. "amount": {
  21983. "description": "资金金额",
  21984. "type": "number"
  21985. },
  21986. "amountadjusttype": {
  21987. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21988. "type": "integer"
  21989. },
  21990. "autoid": {
  21991. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21992. "type": "integer"
  21993. },
  21994. "balance": {
  21995. "description": "期初余额",
  21996. "type": "number"
  21997. },
  21998. "businesscode": {
  21999. "description": "业务编号",
  22000. "type": "integer"
  22001. },
  22002. "createtime": {
  22003. "description": "发生时间",
  22004. "type": "string"
  22005. },
  22006. "currencyid": {
  22007. "description": "币种ID",
  22008. "type": "integer"
  22009. },
  22010. "currentbalance": {
  22011. "description": "期末余额(变动后金额)",
  22012. "type": "number"
  22013. },
  22014. "dgoodscode": {
  22015. "description": "交割商品代码",
  22016. "type": "string"
  22017. },
  22018. "dgoodsname": {
  22019. "description": "交割商品名称",
  22020. "type": "string"
  22021. },
  22022. "goodscode": {
  22023. "description": "商品代码",
  22024. "type": "string"
  22025. },
  22026. "goodsid": {
  22027. "description": "商品ID",
  22028. "type": "integer"
  22029. },
  22030. "goodsname": {
  22031. "description": "商品名称",
  22032. "type": "string"
  22033. },
  22034. "histradedate": {
  22035. "description": "历史交易日",
  22036. "type": "string"
  22037. },
  22038. "isvaliddata": {
  22039. "description": "是否有效 - 0:无效 1:有效",
  22040. "type": "integer"
  22041. },
  22042. "marketid": {
  22043. "description": "市场ID",
  22044. "type": "integer"
  22045. },
  22046. "marketname": {
  22047. "description": "市场名称",
  22048. "type": "string"
  22049. },
  22050. "moneyticket": {
  22051. "description": "资金流水号:银行端流水号",
  22052. "type": "integer"
  22053. },
  22054. "operatetype": {
  22055. "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:营销收款",
  22056. "type": "integer"
  22057. },
  22058. "relationorderid": {
  22059. "description": "关联单号",
  22060. "type": "string"
  22061. },
  22062. "remark": {
  22063. "description": "备注",
  22064. "type": "string"
  22065. },
  22066. "trademode": {
  22067. "description": "交易模式",
  22068. "type": "integer"
  22069. }
  22070. }
  22071. },
  22072. "trade.QueryRecieptOrderRsp": {
  22073. "type": "object",
  22074. "required": [
  22075. "ordertime"
  22076. ],
  22077. "properties": {
  22078. "accountName": {
  22079. "description": "所属账号名称(已脱敏)",
  22080. "type": "string"
  22081. },
  22082. "accountid": {
  22083. "description": "资金账号",
  22084. "type": "integer"
  22085. },
  22086. "buyorsell": {
  22087. "description": "方向 - 0:买 1:卖",
  22088. "type": "integer"
  22089. },
  22090. "enableqty": {
  22091. "description": "可摘数量",
  22092. "type": "integer"
  22093. },
  22094. "goodscode": {
  22095. "description": "商品代码",
  22096. "type": "string"
  22097. },
  22098. "goodsid": {
  22099. "description": "商品ID",
  22100. "type": "integer"
  22101. },
  22102. "goodsname": {
  22103. "description": "商品名称",
  22104. "type": "string"
  22105. },
  22106. "orderid": {
  22107. "description": "委托单号",
  22108. "type": "string"
  22109. },
  22110. "orderprice": {
  22111. "description": "委托价格",
  22112. "type": "number"
  22113. },
  22114. "ordertime": {
  22115. "description": "委托时间",
  22116. "type": "string"
  22117. },
  22118. "tradedate": {
  22119. "description": "交易日(yyyyMMdd)",
  22120. "type": "string"
  22121. }
  22122. }
  22123. },
  22124. "user.LoginQueryRsp": {
  22125. "type": "object",
  22126. "properties": {
  22127. "externalExchanges": {
  22128. "description": "外部交易所",
  22129. "type": "array",
  22130. "items": {
  22131. "$ref": "#/definitions/models.Externalexchange"
  22132. }
  22133. },
  22134. "goodsgroups": {
  22135. "description": "商品组",
  22136. "type": "array",
  22137. "items": {
  22138. "$ref": "#/definitions/models.Goodsgroup"
  22139. }
  22140. },
  22141. "loginAccount": {
  22142. "description": "登录账号",
  22143. "$ref": "#/definitions/models.Loginaccount"
  22144. },
  22145. "markets": {
  22146. "description": "市场",
  22147. "type": "array",
  22148. "items": {
  22149. "$ref": "#/definitions/models.Market"
  22150. }
  22151. },
  22152. "systemParams": {
  22153. "description": "系统参数",
  22154. "type": "array",
  22155. "items": {
  22156. "$ref": "#/definitions/models.Systemparam"
  22157. }
  22158. },
  22159. "userAccount": {
  22160. "description": "用户账号",
  22161. "$ref": "#/definitions/models.Useraccount"
  22162. },
  22163. "userInfo": {
  22164. "description": "用户信息",
  22165. "$ref": "#/definitions/models.Userinfo"
  22166. },
  22167. "username": {
  22168. "description": "用户姓名",
  22169. "type": "string"
  22170. }
  22171. }
  22172. }
  22173. },
  22174. "securityDefinitions": {
  22175. "ApiKeyAuth": {
  22176. "type": "apiKey",
  22177. "name": "Authorization",
  22178. "in": "header"
  22179. }
  22180. }
  22181. }`
  22182. type swaggerInfo struct {
  22183. Version string
  22184. Host string
  22185. BasePath string
  22186. Schemes []string
  22187. Title string
  22188. Description string
  22189. }
  22190. // SwaggerInfo holds exported Swagger Info so clients can modify it
  22191. var SwaggerInfo = swaggerInfo{
  22192. Version: "1.0",
  22193. Host: "",
  22194. BasePath: "/api",
  22195. Schemes: []string{},
  22196. Title: "MTP2.0 查询服务 API",
  22197. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  22198. }
  22199. type s struct{}
  22200. func (s *s) ReadDoc() string {
  22201. sInfo := SwaggerInfo
  22202. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  22203. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  22204. "marshal": func(v interface{}) string {
  22205. a, _ := json.Marshal(v)
  22206. return string(a)
  22207. },
  22208. }).Parse(doc)
  22209. if err != nil {
  22210. return doc
  22211. }
  22212. var tpl bytes.Buffer
  22213. if err := t.Execute(&tpl, sInfo); err != nil {
  22214. return doc
  22215. }
  22216. return tpl.String()
  22217. }
  22218. func init() {
  22219. swag.Register(swag.Name, &s{})
  22220. }