docs.go 847 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. }
  1212. ],
  1213. "responses": {
  1214. "200": {
  1215. "description": "OK",
  1216. "schema": {
  1217. "type": "array",
  1218. "items": {
  1219. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1220. }
  1221. }
  1222. },
  1223. "500": {
  1224. "description": "Internal Server Error",
  1225. "schema": {
  1226. "$ref": "#/definitions/app.Response"
  1227. }
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1233. "get": {
  1234. "security": [
  1235. {
  1236. "ApiKeyAuth": []
  1237. }
  1238. ],
  1239. "produces": [
  1240. "application/json"
  1241. ],
  1242. "tags": [
  1243. "企业风险管理(app)"
  1244. ],
  1245. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1246. "parameters": [
  1247. {
  1248. "type": "integer",
  1249. "description": "用户ID",
  1250. "name": "userid",
  1251. "in": "query",
  1252. "required": true
  1253. },
  1254. {
  1255. "type": "integer",
  1256. "description": "账号id",
  1257. "name": "accountid",
  1258. "in": "query"
  1259. }
  1260. ],
  1261. "responses": {
  1262. "200": {
  1263. "description": "OK",
  1264. "schema": {
  1265. "type": "array",
  1266. "items": {
  1267. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1268. }
  1269. }
  1270. },
  1271. "500": {
  1272. "description": "Internal Server Error",
  1273. "schema": {
  1274. "$ref": "#/definitions/app.Response"
  1275. }
  1276. }
  1277. }
  1278. }
  1279. },
  1280. "/Ermcp/QueryAccMgrTaaccount": {
  1281. "get": {
  1282. "security": [
  1283. {
  1284. "ApiKeyAuth": []
  1285. }
  1286. ],
  1287. "produces": [
  1288. "application/json"
  1289. ],
  1290. "tags": [
  1291. "企业风险管理(app)"
  1292. ],
  1293. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1294. "parameters": [
  1295. {
  1296. "type": "integer",
  1297. "description": "用户ID",
  1298. "name": "userid",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAvaildGoodsGroup": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "所属机构ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryBusinessDj": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "UserId",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "string",
  1388. "description": "现货合同ID, 不填则查所有",
  1389. "name": "relatedid",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1395. "name": "applystatus",
  1396. "in": "query"
  1397. }
  1398. ],
  1399. "responses": {
  1400. "200": {
  1401. "description": "OK",
  1402. "schema": {
  1403. "type": "array",
  1404. "items": {
  1405. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1406. }
  1407. }
  1408. },
  1409. "500": {
  1410. "description": "Internal Server Error",
  1411. "schema": {
  1412. "$ref": "#/definitions/app.Response"
  1413. }
  1414. }
  1415. }
  1416. }
  1417. },
  1418. "/Ermcp/QueryBusinessFp": {
  1419. "get": {
  1420. "security": [
  1421. {
  1422. "ApiKeyAuth": []
  1423. }
  1424. ],
  1425. "produces": [
  1426. "application/json"
  1427. ],
  1428. "tags": [
  1429. "企业风险管理(app)"
  1430. ],
  1431. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1432. "parameters": [
  1433. {
  1434. "type": "integer",
  1435. "description": "用户ID",
  1436. "name": "UserId",
  1437. "in": "query",
  1438. "required": true
  1439. },
  1440. {
  1441. "type": "string",
  1442. "description": "现货合同ID, 不填则查所有",
  1443. "name": "relatedid",
  1444. "in": "query"
  1445. },
  1446. {
  1447. "type": "string",
  1448. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1449. "name": "applystatus",
  1450. "in": "query"
  1451. }
  1452. ],
  1453. "responses": {
  1454. "200": {
  1455. "description": "OK",
  1456. "schema": {
  1457. "type": "array",
  1458. "items": {
  1459. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1460. }
  1461. }
  1462. },
  1463. "500": {
  1464. "description": "Internal Server Error",
  1465. "schema": {
  1466. "$ref": "#/definitions/app.Response"
  1467. }
  1468. }
  1469. }
  1470. }
  1471. },
  1472. "/Ermcp/QueryBusinessJs": {
  1473. "get": {
  1474. "security": [
  1475. {
  1476. "ApiKeyAuth": []
  1477. }
  1478. ],
  1479. "produces": [
  1480. "application/json"
  1481. ],
  1482. "tags": [
  1483. "企业风险管理(app)"
  1484. ],
  1485. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1486. "parameters": [
  1487. {
  1488. "type": "integer",
  1489. "description": "用户ID",
  1490. "name": "UserId",
  1491. "in": "query",
  1492. "required": true
  1493. },
  1494. {
  1495. "type": "string",
  1496. "description": "现货合同ID, 不填则查所有",
  1497. "name": "relatedid",
  1498. "in": "query"
  1499. },
  1500. {
  1501. "type": "string",
  1502. "description": "操作申请id",
  1503. "name": "operateapplyid",
  1504. "in": "query"
  1505. },
  1506. {
  1507. "type": "string",
  1508. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1509. "name": "applystatus",
  1510. "in": "query"
  1511. }
  1512. ],
  1513. "responses": {
  1514. "200": {
  1515. "description": "OK",
  1516. "schema": {
  1517. "type": "array",
  1518. "items": {
  1519. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1520. }
  1521. }
  1522. },
  1523. "500": {
  1524. "description": "Internal Server Error",
  1525. "schema": {
  1526. "$ref": "#/definitions/app.Response"
  1527. }
  1528. }
  1529. }
  1530. }
  1531. },
  1532. "/Ermcp/QueryBusinessJsEx": {
  1533. "get": {
  1534. "security": [
  1535. {
  1536. "ApiKeyAuth": []
  1537. }
  1538. ],
  1539. "produces": [
  1540. "application/json"
  1541. ],
  1542. "tags": [
  1543. "企业风险管理(app)"
  1544. ],
  1545. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1546. "parameters": [
  1547. {
  1548. "type": "integer",
  1549. "description": "用户ID",
  1550. "name": "UserId",
  1551. "in": "query",
  1552. "required": true
  1553. },
  1554. {
  1555. "type": "string",
  1556. "description": "现货合同ID, 不填则查所有",
  1557. "name": "relatedid",
  1558. "in": "query"
  1559. },
  1560. {
  1561. "type": "string",
  1562. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1563. "name": "applystatus",
  1564. "in": "query"
  1565. }
  1566. ],
  1567. "responses": {
  1568. "200": {
  1569. "description": "OK",
  1570. "schema": {
  1571. "type": "array",
  1572. "items": {
  1573. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1574. }
  1575. }
  1576. },
  1577. "500": {
  1578. "description": "Internal Server Error",
  1579. "schema": {
  1580. "$ref": "#/definitions/app.Response"
  1581. }
  1582. }
  1583. }
  1584. }
  1585. },
  1586. "/Ermcp/QueryBusinessKx": {
  1587. "get": {
  1588. "security": [
  1589. {
  1590. "ApiKeyAuth": []
  1591. }
  1592. ],
  1593. "produces": [
  1594. "application/json"
  1595. ],
  1596. "tags": [
  1597. "企业风险管理(app)"
  1598. ],
  1599. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1600. "parameters": [
  1601. {
  1602. "type": "integer",
  1603. "description": "用户ID",
  1604. "name": "UserId",
  1605. "in": "query",
  1606. "required": true
  1607. },
  1608. {
  1609. "type": "string",
  1610. "description": "现货合同ID, 不填则查所有",
  1611. "name": "relatedid",
  1612. "in": "query"
  1613. },
  1614. {
  1615. "type": "string",
  1616. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1617. "name": "applystatus",
  1618. "in": "query"
  1619. }
  1620. ],
  1621. "responses": {
  1622. "200": {
  1623. "description": "OK",
  1624. "schema": {
  1625. "type": "array",
  1626. "items": {
  1627. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1628. }
  1629. }
  1630. },
  1631. "500": {
  1632. "description": "Internal Server Error",
  1633. "schema": {
  1634. "$ref": "#/definitions/app.Response"
  1635. }
  1636. }
  1637. }
  1638. }
  1639. },
  1640. "/Ermcp/QueryChangeLog": {
  1641. "get": {
  1642. "security": [
  1643. {
  1644. "ApiKeyAuth": []
  1645. }
  1646. ],
  1647. "produces": [
  1648. "application/json"
  1649. ],
  1650. "tags": [
  1651. "企业风险管理(app)"
  1652. ],
  1653. "summary": "查询变更记录",
  1654. "parameters": [
  1655. {
  1656. "type": "string",
  1657. "description": "合同ID",
  1658. "name": "RelatedId",
  1659. "in": "query",
  1660. "required": true
  1661. }
  1662. ],
  1663. "responses": {
  1664. "200": {
  1665. "description": "OK",
  1666. "schema": {
  1667. "type": "array",
  1668. "items": {
  1669. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1670. }
  1671. }
  1672. },
  1673. "500": {
  1674. "description": "Internal Server Error",
  1675. "schema": {
  1676. "$ref": "#/definitions/app.Response"
  1677. }
  1678. }
  1679. }
  1680. }
  1681. },
  1682. "/Ermcp/QueryErmcpHisOrderDetails": {
  1683. "get": {
  1684. "security": [
  1685. {
  1686. "ApiKeyAuth": []
  1687. }
  1688. ],
  1689. "produces": [
  1690. "application/json"
  1691. ],
  1692. "tags": [
  1693. "企业风险管理(app)"
  1694. ],
  1695. "summary": "获取企业风管期货历史委托单信息",
  1696. "parameters": [
  1697. {
  1698. "type": "integer",
  1699. "description": "资金账户ID",
  1700. "name": "accountID",
  1701. "in": "query",
  1702. "required": true
  1703. },
  1704. {
  1705. "type": "string",
  1706. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1707. "name": "startDate",
  1708. "in": "query"
  1709. },
  1710. {
  1711. "type": "string",
  1712. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1713. "name": "endDate",
  1714. "in": "query"
  1715. }
  1716. ],
  1717. "responses": {
  1718. "200": {
  1719. "description": "OK",
  1720. "schema": {
  1721. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1722. }
  1723. },
  1724. "500": {
  1725. "description": "Internal Server Error",
  1726. "schema": {
  1727. "$ref": "#/definitions/app.Response"
  1728. }
  1729. }
  1730. }
  1731. }
  1732. },
  1733. "/Ermcp/QueryErmcpHisTradeDetails": {
  1734. "get": {
  1735. "security": [
  1736. {
  1737. "ApiKeyAuth": []
  1738. }
  1739. ],
  1740. "produces": [
  1741. "application/json"
  1742. ],
  1743. "tags": [
  1744. "企业风险管理(app)"
  1745. ],
  1746. "summary": "获取企业风管期货历史成交单信息",
  1747. "parameters": [
  1748. {
  1749. "type": "integer",
  1750. "description": "资金账户ID",
  1751. "name": "accountID",
  1752. "in": "query",
  1753. "required": true
  1754. },
  1755. {
  1756. "type": "integer",
  1757. "description": "商品ID",
  1758. "name": "goodsID",
  1759. "in": "query"
  1760. },
  1761. {
  1762. "type": "integer",
  1763. "description": "买卖方向,0:买 1:卖",
  1764. "name": "buyOrSell",
  1765. "in": "query"
  1766. },
  1767. {
  1768. "type": "integer",
  1769. "description": "关联委托单号",
  1770. "name": "orderID",
  1771. "in": "query"
  1772. },
  1773. {
  1774. "type": "string",
  1775. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1776. "name": "startDate",
  1777. "in": "query"
  1778. },
  1779. {
  1780. "type": "string",
  1781. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1782. "name": "endDate",
  1783. "in": "query"
  1784. }
  1785. ],
  1786. "responses": {
  1787. "200": {
  1788. "description": "OK",
  1789. "schema": {
  1790. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1791. }
  1792. },
  1793. "500": {
  1794. "description": "Internal Server Error",
  1795. "schema": {
  1796. "$ref": "#/definitions/app.Response"
  1797. }
  1798. }
  1799. }
  1800. }
  1801. },
  1802. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1803. "get": {
  1804. "security": [
  1805. {
  1806. "ApiKeyAuth": []
  1807. }
  1808. ],
  1809. "produces": [
  1810. "application/json"
  1811. ],
  1812. "tags": [
  1813. "企业风险管理(app)"
  1814. ],
  1815. "summary": "获取企业风管期货内部持仓单信息",
  1816. "parameters": [
  1817. {
  1818. "type": "integer",
  1819. "description": "资金账户ID",
  1820. "name": "accountID",
  1821. "in": "query",
  1822. "required": true
  1823. },
  1824. {
  1825. "type": "integer",
  1826. "description": "商品ID",
  1827. "name": "goodsID",
  1828. "in": "query"
  1829. },
  1830. {
  1831. "type": "integer",
  1832. "description": "买卖方向,0:买 1:卖",
  1833. "name": "buyOrSell",
  1834. "in": "query"
  1835. }
  1836. ],
  1837. "responses": {
  1838. "200": {
  1839. "description": "OK",
  1840. "schema": {
  1841. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1842. }
  1843. },
  1844. "500": {
  1845. "description": "Internal Server Error",
  1846. "schema": {
  1847. "$ref": "#/definitions/app.Response"
  1848. }
  1849. }
  1850. }
  1851. }
  1852. },
  1853. "/Ermcp/QueryErmcpOrderDetails": {
  1854. "get": {
  1855. "security": [
  1856. {
  1857. "ApiKeyAuth": []
  1858. }
  1859. ],
  1860. "produces": [
  1861. "application/json"
  1862. ],
  1863. "tags": [
  1864. "企业风险管理(app)"
  1865. ],
  1866. "summary": "获取企业风管期货委托单信息",
  1867. "parameters": [
  1868. {
  1869. "type": "integer",
  1870. "description": "资金账户ID",
  1871. "name": "accountID",
  1872. "in": "query",
  1873. "required": true
  1874. }
  1875. ],
  1876. "responses": {
  1877. "200": {
  1878. "description": "OK",
  1879. "schema": {
  1880. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1881. }
  1882. },
  1883. "500": {
  1884. "description": "Internal Server Error",
  1885. "schema": {
  1886. "$ref": "#/definitions/app.Response"
  1887. }
  1888. }
  1889. }
  1890. }
  1891. },
  1892. "/Ermcp/QueryErmcpTradeDetails": {
  1893. "get": {
  1894. "security": [
  1895. {
  1896. "ApiKeyAuth": []
  1897. }
  1898. ],
  1899. "produces": [
  1900. "application/json"
  1901. ],
  1902. "tags": [
  1903. "企业风险管理(app)"
  1904. ],
  1905. "summary": "获取企业风管期货成交单信息",
  1906. "parameters": [
  1907. {
  1908. "type": "integer",
  1909. "description": "资金账户ID",
  1910. "name": "accountID",
  1911. "in": "query",
  1912. "required": true
  1913. },
  1914. {
  1915. "type": "integer",
  1916. "description": "商品ID",
  1917. "name": "goodsID",
  1918. "in": "query"
  1919. },
  1920. {
  1921. "type": "integer",
  1922. "description": "买卖方向,0:买 1:卖",
  1923. "name": "buyOrSell",
  1924. "in": "query"
  1925. },
  1926. {
  1927. "type": "integer",
  1928. "description": "关联委托单号",
  1929. "name": "orderID",
  1930. "in": "query"
  1931. }
  1932. ],
  1933. "responses": {
  1934. "200": {
  1935. "description": "OK",
  1936. "schema": {
  1937. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1938. }
  1939. },
  1940. "500": {
  1941. "description": "Internal Server Error",
  1942. "schema": {
  1943. "$ref": "#/definitions/app.Response"
  1944. }
  1945. }
  1946. }
  1947. }
  1948. },
  1949. "/Ermcp/QueryErmcpTradePosition": {
  1950. "get": {
  1951. "security": [
  1952. {
  1953. "ApiKeyAuth": []
  1954. }
  1955. ],
  1956. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1957. "produces": [
  1958. "application/json"
  1959. ],
  1960. "tags": [
  1961. "企业风险管理(app)"
  1962. ],
  1963. "summary": "获取企业风管期货持仓头寸信息",
  1964. "parameters": [
  1965. {
  1966. "type": "integer",
  1967. "description": "资金账户ID",
  1968. "name": "accountID",
  1969. "in": "query",
  1970. "required": true
  1971. },
  1972. {
  1973. "type": "integer",
  1974. "description": "所属市场ID",
  1975. "name": "marketID",
  1976. "in": "query"
  1977. }
  1978. ],
  1979. "responses": {
  1980. "200": {
  1981. "description": "OK",
  1982. "schema": {
  1983. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1984. }
  1985. },
  1986. "500": {
  1987. "description": "Internal Server Error",
  1988. "schema": {
  1989. "$ref": "#/definitions/app.Response"
  1990. }
  1991. }
  1992. }
  1993. }
  1994. },
  1995. "/Ermcp/QueryExposureDetail": {
  1996. "get": {
  1997. "security": [
  1998. {
  1999. "ApiKeyAuth": []
  2000. }
  2001. ],
  2002. "produces": [
  2003. "application/json"
  2004. ],
  2005. "tags": [
  2006. "企业风险管理(app)"
  2007. ],
  2008. "summary": "查询敞口现货明细",
  2009. "parameters": [
  2010. {
  2011. "type": "integer",
  2012. "description": "所属机构ID",
  2013. "name": "areaUserId",
  2014. "in": "query",
  2015. "required": true
  2016. },
  2017. {
  2018. "type": "integer",
  2019. "description": "套保商品",
  2020. "name": "middleGoodsId",
  2021. "in": "query",
  2022. "required": true
  2023. }
  2024. ],
  2025. "responses": {
  2026. "200": {
  2027. "description": "OK",
  2028. "schema": {
  2029. "type": "array",
  2030. "items": {
  2031. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2032. }
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/Ermcp/QueryExposureHedgePosition": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "produces": [
  2052. "application/json"
  2053. ],
  2054. "tags": [
  2055. "企业风险管理(app)"
  2056. ],
  2057. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2058. "parameters": [
  2059. {
  2060. "type": "integer",
  2061. "description": "用户id",
  2062. "name": "userid",
  2063. "in": "query",
  2064. "required": true
  2065. }
  2066. ],
  2067. "responses": {
  2068. "200": {
  2069. "description": "OK",
  2070. "schema": {
  2071. "type": "array",
  2072. "items": {
  2073. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2074. }
  2075. }
  2076. },
  2077. "500": {
  2078. "description": "Internal Server Error",
  2079. "schema": {
  2080. "$ref": "#/definitions/app.Response"
  2081. }
  2082. }
  2083. }
  2084. }
  2085. },
  2086. "/Ermcp/QueryExposureHedgePositionDetail": {
  2087. "get": {
  2088. "security": [
  2089. {
  2090. "ApiKeyAuth": []
  2091. }
  2092. ],
  2093. "produces": [
  2094. "application/json"
  2095. ],
  2096. "tags": [
  2097. "企业风险管理(app)"
  2098. ],
  2099. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2100. "parameters": [
  2101. {
  2102. "type": "integer",
  2103. "description": "所属机构ID",
  2104. "name": "userid",
  2105. "in": "query",
  2106. "required": true
  2107. },
  2108. {
  2109. "type": "integer",
  2110. "description": "商品id",
  2111. "name": "goodsId",
  2112. "in": "query",
  2113. "required": true
  2114. }
  2115. ],
  2116. "responses": {
  2117. "200": {
  2118. "description": "OK",
  2119. "schema": {
  2120. "type": "array",
  2121. "items": {
  2122. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2123. }
  2124. }
  2125. },
  2126. "500": {
  2127. "description": "Internal Server Error",
  2128. "schema": {
  2129. "$ref": "#/definitions/app.Response"
  2130. }
  2131. }
  2132. }
  2133. }
  2134. },
  2135. "/Ermcp/QueryExposureSpot": {
  2136. "get": {
  2137. "security": [
  2138. {
  2139. "ApiKeyAuth": []
  2140. }
  2141. ],
  2142. "produces": [
  2143. "application/json"
  2144. ],
  2145. "tags": [
  2146. "企业风险管理(app)"
  2147. ],
  2148. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2149. "parameters": [
  2150. {
  2151. "type": "integer",
  2152. "description": "所属机构ID",
  2153. "name": "areaUserId",
  2154. "in": "query",
  2155. "required": true
  2156. }
  2157. ],
  2158. "responses": {
  2159. "200": {
  2160. "description": "OK",
  2161. "schema": {
  2162. "type": "array",
  2163. "items": {
  2164. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2165. }
  2166. }
  2167. },
  2168. "500": {
  2169. "description": "Internal Server Error",
  2170. "schema": {
  2171. "$ref": "#/definitions/app.Response"
  2172. }
  2173. }
  2174. }
  2175. }
  2176. },
  2177. "/Ermcp/QueryExposureSpotDetail": {
  2178. "get": {
  2179. "security": [
  2180. {
  2181. "ApiKeyAuth": []
  2182. }
  2183. ],
  2184. "produces": [
  2185. "application/json"
  2186. ],
  2187. "tags": [
  2188. "企业风险管理(app)"
  2189. ],
  2190. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2191. "parameters": [
  2192. {
  2193. "type": "integer",
  2194. "description": "所属机构ID",
  2195. "name": "areaUserId",
  2196. "in": "query",
  2197. "required": true
  2198. },
  2199. {
  2200. "type": "integer",
  2201. "description": "现货品种ID",
  2202. "name": "wrstandardId",
  2203. "in": "query",
  2204. "required": true
  2205. }
  2206. ],
  2207. "responses": {
  2208. "200": {
  2209. "description": "OK",
  2210. "schema": {
  2211. "type": "array",
  2212. "items": {
  2213. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2214. }
  2215. }
  2216. },
  2217. "500": {
  2218. "description": "Internal Server Error",
  2219. "schema": {
  2220. "$ref": "#/definitions/app.Response"
  2221. }
  2222. }
  2223. }
  2224. }
  2225. },
  2226. "/Ermcp/QueryFuturesCompany": {
  2227. "get": {
  2228. "security": [
  2229. {
  2230. "ApiKeyAuth": []
  2231. }
  2232. ],
  2233. "produces": [
  2234. "application/json"
  2235. ],
  2236. "tags": [
  2237. "企业风险管理(app)"
  2238. ],
  2239. "summary": "查询期货公司",
  2240. "responses": {
  2241. "200": {
  2242. "description": "OK",
  2243. "schema": {
  2244. "type": "array",
  2245. "items": {
  2246. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2247. }
  2248. }
  2249. },
  2250. "500": {
  2251. "description": "Internal Server Error",
  2252. "schema": {
  2253. "$ref": "#/definitions/app.Response"
  2254. }
  2255. }
  2256. }
  2257. }
  2258. },
  2259. "/Ermcp/QueryGGConvertConfig": {
  2260. "get": {
  2261. "security": [
  2262. {
  2263. "ApiKeyAuth": []
  2264. }
  2265. ],
  2266. "produces": [
  2267. "application/json"
  2268. ],
  2269. "tags": [
  2270. "企业风险管理(app)"
  2271. ],
  2272. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2273. "parameters": [
  2274. {
  2275. "type": "integer",
  2276. "description": "品种id(不填则查所有)",
  2277. "name": "goodsgroupid",
  2278. "in": "query"
  2279. }
  2280. ],
  2281. "responses": {
  2282. "200": {
  2283. "description": "OK",
  2284. "schema": {
  2285. "type": "array",
  2286. "items": {
  2287. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2288. }
  2289. }
  2290. },
  2291. "500": {
  2292. "description": "Internal Server Error",
  2293. "schema": {
  2294. "$ref": "#/definitions/app.Response"
  2295. }
  2296. }
  2297. }
  2298. }
  2299. },
  2300. "/Ermcp/QueryGoodsBrand": {
  2301. "get": {
  2302. "security": [
  2303. {
  2304. "ApiKeyAuth": []
  2305. }
  2306. ],
  2307. "produces": [
  2308. "application/json"
  2309. ],
  2310. "tags": [
  2311. "企业风险管理(app)"
  2312. ],
  2313. "summary": "查询商品品牌",
  2314. "parameters": [
  2315. {
  2316. "type": "integer",
  2317. "description": "用户ID",
  2318. "name": "userid",
  2319. "in": "query",
  2320. "required": true
  2321. },
  2322. {
  2323. "type": "integer",
  2324. "description": "现货商品ID",
  2325. "name": "wrstandardid",
  2326. "in": "query"
  2327. }
  2328. ],
  2329. "responses": {
  2330. "200": {
  2331. "description": "OK",
  2332. "schema": {
  2333. "type": "array",
  2334. "items": {
  2335. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2336. }
  2337. }
  2338. },
  2339. "500": {
  2340. "description": "Internal Server Error",
  2341. "schema": {
  2342. "$ref": "#/definitions/app.Response"
  2343. }
  2344. }
  2345. }
  2346. }
  2347. },
  2348. "/Ermcp/QueryGoodsModel": {
  2349. "get": {
  2350. "security": [
  2351. {
  2352. "ApiKeyAuth": []
  2353. }
  2354. ],
  2355. "produces": [
  2356. "application/json"
  2357. ],
  2358. "tags": [
  2359. "企业风险管理(app)"
  2360. ],
  2361. "summary": "查询商品型号",
  2362. "parameters": [
  2363. {
  2364. "type": "integer",
  2365. "description": "用户ID",
  2366. "name": "userid",
  2367. "in": "query",
  2368. "required": true
  2369. }
  2370. ],
  2371. "responses": {
  2372. "200": {
  2373. "description": "OK",
  2374. "schema": {
  2375. "type": "array",
  2376. "items": {
  2377. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2378. }
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/Ermcp/QueryHisExposure": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "企业风险管理(app)"
  2402. ],
  2403. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "用户id",
  2408. "name": "userid",
  2409. "in": "query",
  2410. "required": true
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "每个品种记录数",
  2415. "name": "lastNum",
  2416. "in": "query",
  2417. "required": true
  2418. }
  2419. ],
  2420. "responses": {
  2421. "200": {
  2422. "description": "OK",
  2423. "schema": {
  2424. "type": "array",
  2425. "items": {
  2426. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2427. }
  2428. }
  2429. },
  2430. "500": {
  2431. "description": "Internal Server Error",
  2432. "schema": {
  2433. "$ref": "#/definitions/app.Response"
  2434. }
  2435. }
  2436. }
  2437. }
  2438. },
  2439. "/Ermcp/QueryMiddleGoods": {
  2440. "get": {
  2441. "security": [
  2442. {
  2443. "ApiKeyAuth": []
  2444. }
  2445. ],
  2446. "produces": [
  2447. "application/json"
  2448. ],
  2449. "tags": [
  2450. "企业风险管理(app)"
  2451. ],
  2452. "summary": "查询套保品种(菜单:套保品种)",
  2453. "parameters": [
  2454. {
  2455. "type": "integer",
  2456. "description": "所属机构ID",
  2457. "name": "userid",
  2458. "in": "query",
  2459. "required": true
  2460. },
  2461. {
  2462. "type": "integer",
  2463. "description": "状态 0-停用 1-正常",
  2464. "name": "status",
  2465. "in": "query",
  2466. "required": true
  2467. }
  2468. ],
  2469. "responses": {
  2470. "200": {
  2471. "description": "OK",
  2472. "schema": {
  2473. "type": "array",
  2474. "items": {
  2475. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2476. }
  2477. }
  2478. },
  2479. "500": {
  2480. "description": "Internal Server Error",
  2481. "schema": {
  2482. "$ref": "#/definitions/app.Response"
  2483. }
  2484. }
  2485. }
  2486. }
  2487. },
  2488. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2489. "get": {
  2490. "security": [
  2491. {
  2492. "ApiKeyAuth": []
  2493. }
  2494. ],
  2495. "produces": [
  2496. "application/json"
  2497. ],
  2498. "tags": [
  2499. "企业风险管理(app)"
  2500. ],
  2501. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2502. "parameters": [
  2503. {
  2504. "type": "integer",
  2505. "description": "所属机构ID",
  2506. "name": "userid",
  2507. "in": "query",
  2508. "required": true
  2509. },
  2510. {
  2511. "type": "integer",
  2512. "description": "套保品种id",
  2513. "name": "middlegoodsid",
  2514. "in": "query",
  2515. "required": true
  2516. }
  2517. ],
  2518. "responses": {
  2519. "200": {
  2520. "description": "OK",
  2521. "schema": {
  2522. "type": "array",
  2523. "items": {
  2524. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2525. }
  2526. }
  2527. },
  2528. "500": {
  2529. "description": "Internal Server Error",
  2530. "schema": {
  2531. "$ref": "#/definitions/app.Response"
  2532. }
  2533. }
  2534. }
  2535. }
  2536. },
  2537. "/Ermcp/QueryMiddleGoodsDetail": {
  2538. "get": {
  2539. "security": [
  2540. {
  2541. "ApiKeyAuth": []
  2542. }
  2543. ],
  2544. "produces": [
  2545. "application/json"
  2546. ],
  2547. "tags": [
  2548. "企业风险管理(app)"
  2549. ],
  2550. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2551. "parameters": [
  2552. {
  2553. "type": "integer",
  2554. "description": "所属机构ID",
  2555. "name": "userid",
  2556. "in": "query",
  2557. "required": true
  2558. },
  2559. {
  2560. "type": "integer",
  2561. "description": "套保品种id",
  2562. "name": "middlegoodsid",
  2563. "in": "query"
  2564. }
  2565. ],
  2566. "responses": {
  2567. "200": {
  2568. "description": "OK",
  2569. "schema": {
  2570. "type": "array",
  2571. "items": {
  2572. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2573. }
  2574. }
  2575. },
  2576. "500": {
  2577. "description": "Internal Server Error",
  2578. "schema": {
  2579. "$ref": "#/definitions/app.Response"
  2580. }
  2581. }
  2582. }
  2583. }
  2584. },
  2585. "/Ermcp/QueryPendingAuditInfo": {
  2586. "get": {
  2587. "security": [
  2588. {
  2589. "ApiKeyAuth": []
  2590. }
  2591. ],
  2592. "produces": [
  2593. "application/json"
  2594. ],
  2595. "tags": [
  2596. "企业风险管理(app)"
  2597. ],
  2598. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2599. "parameters": [
  2600. {
  2601. "type": "integer",
  2602. "description": "用户ID",
  2603. "name": "UserId",
  2604. "in": "query",
  2605. "required": true
  2606. }
  2607. ],
  2608. "responses": {
  2609. "200": {
  2610. "description": "OK",
  2611. "schema": {
  2612. "type": "array",
  2613. "items": {
  2614. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2615. }
  2616. }
  2617. },
  2618. "500": {
  2619. "description": "Internal Server Error",
  2620. "schema": {
  2621. "$ref": "#/definitions/app.Response"
  2622. }
  2623. }
  2624. }
  2625. }
  2626. },
  2627. "/Ermcp/QueryRealtimeExposure": {
  2628. "get": {
  2629. "security": [
  2630. {
  2631. "ApiKeyAuth": []
  2632. }
  2633. ],
  2634. "produces": [
  2635. "application/json"
  2636. ],
  2637. "tags": [
  2638. "企业风险管理(app)"
  2639. ],
  2640. "summary": "查询实时敞口",
  2641. "parameters": [
  2642. {
  2643. "type": "integer",
  2644. "description": "所属机构ID",
  2645. "name": "userid",
  2646. "in": "query",
  2647. "required": true
  2648. }
  2649. ],
  2650. "responses": {
  2651. "200": {
  2652. "description": "OK",
  2653. "schema": {
  2654. "type": "array",
  2655. "items": {
  2656. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2657. }
  2658. }
  2659. },
  2660. "500": {
  2661. "description": "Internal Server Error",
  2662. "schema": {
  2663. "$ref": "#/definitions/app.Response"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. },
  2669. "/Ermcp/QueryRealtimeExposurePosition": {
  2670. "get": {
  2671. "security": [
  2672. {
  2673. "ApiKeyAuth": []
  2674. }
  2675. ],
  2676. "produces": [
  2677. "application/json"
  2678. ],
  2679. "tags": [
  2680. "企业风险管理(app)"
  2681. ],
  2682. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2683. "parameters": [
  2684. {
  2685. "type": "integer",
  2686. "description": "用户id",
  2687. "name": "userid",
  2688. "in": "query",
  2689. "required": true
  2690. },
  2691. {
  2692. "type": "integer",
  2693. "description": "套保商品ID",
  2694. "name": "middleGoodsId",
  2695. "in": "query",
  2696. "required": true
  2697. }
  2698. ],
  2699. "responses": {
  2700. "200": {
  2701. "description": "OK",
  2702. "schema": {
  2703. "type": "array",
  2704. "items": {
  2705. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2706. }
  2707. }
  2708. },
  2709. "500": {
  2710. "description": "Internal Server Error",
  2711. "schema": {
  2712. "$ref": "#/definitions/app.Response"
  2713. }
  2714. }
  2715. }
  2716. }
  2717. },
  2718. "/Ermcp/QueryTradeConfigTMP": {
  2719. "get": {
  2720. "security": [
  2721. {
  2722. "ApiKeyAuth": []
  2723. }
  2724. ],
  2725. "produces": [
  2726. "application/json"
  2727. ],
  2728. "tags": [
  2729. "企业风险管理(app)"
  2730. ],
  2731. "summary": "查询交易模板配置",
  2732. "parameters": [
  2733. {
  2734. "type": "integer",
  2735. "description": "所属机构id",
  2736. "name": "areauserid",
  2737. "in": "query"
  2738. }
  2739. ],
  2740. "responses": {
  2741. "200": {
  2742. "description": "OK",
  2743. "schema": {
  2744. "type": "array",
  2745. "items": {
  2746. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2747. }
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryUserInfo": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "查询客户资料",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "所属机构用户ID",
  2777. "name": "MemberUserID",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2784. "name": "queryType",
  2785. "in": "query",
  2786. "required": true
  2787. }
  2788. ],
  2789. "responses": {
  2790. "200": {
  2791. "description": "OK",
  2792. "schema": {
  2793. "type": "array",
  2794. "items": {
  2795. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2796. }
  2797. }
  2798. },
  2799. "500": {
  2800. "description": "Internal Server Error",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. }
  2805. }
  2806. }
  2807. },
  2808. "/Ermcp/QueryWarehouseInfo": {
  2809. "get": {
  2810. "security": [
  2811. {
  2812. "ApiKeyAuth": []
  2813. }
  2814. ],
  2815. "produces": [
  2816. "application/json"
  2817. ],
  2818. "tags": [
  2819. "企业风险管理(app)"
  2820. ],
  2821. "summary": "查询仓库信息",
  2822. "parameters": [
  2823. {
  2824. "type": "integer",
  2825. "description": "用户ID",
  2826. "name": "userid",
  2827. "in": "query",
  2828. "required": true
  2829. },
  2830. {
  2831. "type": "string",
  2832. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2833. "name": "status",
  2834. "in": "query"
  2835. }
  2836. ],
  2837. "responses": {
  2838. "200": {
  2839. "description": "OK",
  2840. "schema": {
  2841. "type": "array",
  2842. "items": {
  2843. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2844. }
  2845. }
  2846. },
  2847. "500": {
  2848. "description": "Internal Server Error",
  2849. "schema": {
  2850. "$ref": "#/definitions/app.Response"
  2851. }
  2852. }
  2853. }
  2854. }
  2855. },
  2856. "/Ermcp3/QryAreaExpourseContractDetail": {
  2857. "get": {
  2858. "security": [
  2859. {
  2860. "ApiKeyAuth": []
  2861. }
  2862. ],
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理v3(app)"
  2868. ],
  2869. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "用户ID",
  2874. "name": "userid",
  2875. "in": "query",
  2876. "required": true
  2877. },
  2878. {
  2879. "type": "integer",
  2880. "description": "套保商品id",
  2881. "name": "middlegoodsid",
  2882. "in": "query",
  2883. "required": true
  2884. },
  2885. {
  2886. "type": "string",
  2887. "description": "交易日(格式yyyymmdd)",
  2888. "name": "tradedate",
  2889. "in": "query",
  2890. "required": true
  2891. }
  2892. ],
  2893. "responses": {
  2894. "200": {
  2895. "description": "OK",
  2896. "schema": {
  2897. "type": "array",
  2898. "items": {
  2899. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2900. }
  2901. }
  2902. },
  2903. "500": {
  2904. "description": "Internal Server Error",
  2905. "schema": {
  2906. "$ref": "#/definitions/app.Response"
  2907. }
  2908. }
  2909. }
  2910. }
  2911. },
  2912. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2913. "get": {
  2914. "security": [
  2915. {
  2916. "ApiKeyAuth": []
  2917. }
  2918. ],
  2919. "produces": [
  2920. "application/json"
  2921. ],
  2922. "tags": [
  2923. "企业风险管理v3(app)"
  2924. ],
  2925. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2926. "parameters": [
  2927. {
  2928. "type": "integer",
  2929. "description": "用户ID",
  2930. "name": "userid",
  2931. "in": "query",
  2932. "required": true
  2933. },
  2934. {
  2935. "type": "integer",
  2936. "description": "套保商品id",
  2937. "name": "middlegoodsid",
  2938. "in": "query",
  2939. "required": true
  2940. },
  2941. {
  2942. "type": "string",
  2943. "description": "交易日(格式yyyymmdd)",
  2944. "name": "tradedate",
  2945. "in": "query",
  2946. "required": true
  2947. }
  2948. ],
  2949. "responses": {
  2950. "200": {
  2951. "description": "OK",
  2952. "schema": {
  2953. "type": "array",
  2954. "items": {
  2955. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  2956. }
  2957. }
  2958. },
  2959. "500": {
  2960. "description": "Internal Server Error",
  2961. "schema": {
  2962. "$ref": "#/definitions/app.Response"
  2963. }
  2964. }
  2965. }
  2966. }
  2967. },
  2968. "/Ermcp3/QryAreaExpourseReport": {
  2969. "get": {
  2970. "security": [
  2971. {
  2972. "ApiKeyAuth": []
  2973. }
  2974. ],
  2975. "produces": [
  2976. "application/json"
  2977. ],
  2978. "tags": [
  2979. "企业风险管理v3(app)"
  2980. ],
  2981. "summary": "查询敞口报表",
  2982. "parameters": [
  2983. {
  2984. "type": "integer",
  2985. "description": "用户ID",
  2986. "name": "userid",
  2987. "in": "query",
  2988. "required": true
  2989. },
  2990. {
  2991. "type": "integer",
  2992. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细",
  2993. "name": "querytype",
  2994. "in": "query",
  2995. "required": true
  2996. },
  2997. {
  2998. "type": "string",
  2999. "description": "交易日(格式yyyymmdd)",
  3000. "name": "tradedate",
  3001. "in": "query"
  3002. },
  3003. {
  3004. "type": "integer",
  3005. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3006. "name": "cycletype",
  3007. "in": "query"
  3008. },
  3009. {
  3010. "type": "string",
  3011. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3012. "name": "cycletime",
  3013. "in": "query"
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "开始交易日(格式yyyymmdd)",
  3018. "name": "begindate",
  3019. "in": "query"
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "结束交易日(格式yyyymmdd)",
  3024. "name": "enddate",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QryAreaSpotplReport": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询现货报表",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细",
  3072. "name": "querytype",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "string",
  3078. "description": "交易日(格式yyyymmdd)",
  3079. "name": "tradedate",
  3080. "in": "query"
  3081. },
  3082. {
  3083. "type": "integer",
  3084. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3085. "name": "cycletype",
  3086. "in": "query"
  3087. },
  3088. {
  3089. "type": "string",
  3090. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3091. "name": "cycletime",
  3092. "in": "query"
  3093. },
  3094. {
  3095. "type": "string",
  3096. "description": "开始交易日(格式yyyymmdd)",
  3097. "name": "begindate",
  3098. "in": "query"
  3099. },
  3100. {
  3101. "type": "string",
  3102. "description": "结束交易日(格式yyyymmdd)",
  3103. "name": "enddate",
  3104. "in": "query"
  3105. },
  3106. {
  3107. "type": "integer",
  3108. "description": "现货品种id",
  3109. "name": "deliverygoodsid",
  3110. "in": "query"
  3111. },
  3112. {
  3113. "type": "integer",
  3114. "description": "品类id",
  3115. "name": "wrstandardid",
  3116. "in": "query"
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "币种id",
  3121. "name": "currencyid",
  3122. "in": "query"
  3123. }
  3124. ],
  3125. "responses": {
  3126. "200": {
  3127. "description": "OK",
  3128. "schema": {
  3129. "type": "array",
  3130. "items": {
  3131. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3132. }
  3133. }
  3134. },
  3135. "500": {
  3136. "description": "Internal Server Error",
  3137. "schema": {
  3138. "$ref": "#/definitions/app.Response"
  3139. }
  3140. }
  3141. }
  3142. }
  3143. },
  3144. "/Ermcp3/QryAreaStockReport": {
  3145. "get": {
  3146. "security": [
  3147. {
  3148. "ApiKeyAuth": []
  3149. }
  3150. ],
  3151. "produces": [
  3152. "application/json"
  3153. ],
  3154. "tags": [
  3155. "企业风险管理v3(app)"
  3156. ],
  3157. "summary": "查询库存报表",
  3158. "parameters": [
  3159. {
  3160. "type": "integer",
  3161. "description": "用户ID",
  3162. "name": "userid",
  3163. "in": "query",
  3164. "required": true
  3165. },
  3166. {
  3167. "type": "integer",
  3168. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细",
  3169. "name": "querytype",
  3170. "in": "query",
  3171. "required": true
  3172. },
  3173. {
  3174. "type": "string",
  3175. "description": "交易日(格式yyyymmdd)",
  3176. "name": "tradedate",
  3177. "in": "query"
  3178. },
  3179. {
  3180. "type": "integer",
  3181. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3182. "name": "cycletype",
  3183. "in": "query"
  3184. },
  3185. {
  3186. "type": "string",
  3187. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3188. "name": "cycletime",
  3189. "in": "query"
  3190. },
  3191. {
  3192. "type": "string",
  3193. "description": "开始交易日(格式yyyymmdd)",
  3194. "name": "begindate",
  3195. "in": "query"
  3196. },
  3197. {
  3198. "type": "string",
  3199. "description": "结束交易日(格式yyyymmdd)",
  3200. "name": "enddate",
  3201. "in": "query"
  3202. },
  3203. {
  3204. "type": "integer",
  3205. "description": "现货商品ID",
  3206. "name": "deliverygoodsid",
  3207. "in": "query"
  3208. },
  3209. {
  3210. "type": "integer",
  3211. "description": "品类ID",
  3212. "name": "wrstandardid",
  3213. "in": "query"
  3214. },
  3215. {
  3216. "type": "integer",
  3217. "description": "品牌ID",
  3218. "name": "spotgoodsbrandid",
  3219. "in": "query"
  3220. }
  3221. ],
  3222. "responses": {
  3223. "200": {
  3224. "description": "OK",
  3225. "schema": {
  3226. "type": "array",
  3227. "items": {
  3228. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  3229. }
  3230. }
  3231. },
  3232. "500": {
  3233. "description": "Internal Server Error",
  3234. "schema": {
  3235. "$ref": "#/definitions/app.Response"
  3236. }
  3237. }
  3238. }
  3239. }
  3240. },
  3241. "/Ermcp3/QryAreaSumPL": {
  3242. "get": {
  3243. "security": [
  3244. {
  3245. "ApiKeyAuth": []
  3246. }
  3247. ],
  3248. "produces": [
  3249. "application/json"
  3250. ],
  3251. "tags": [
  3252. "企业风险管理v3(app)"
  3253. ],
  3254. "summary": "查询汇总损益表",
  3255. "parameters": [
  3256. {
  3257. "type": "integer",
  3258. "description": "用户ID",
  3259. "name": "userid",
  3260. "in": "query",
  3261. "required": true
  3262. },
  3263. {
  3264. "type": "integer",
  3265. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细",
  3266. "name": "querytype",
  3267. "in": "query",
  3268. "required": true
  3269. },
  3270. {
  3271. "type": "string",
  3272. "description": "交易日(格式yyyymmdd)",
  3273. "name": "tradedate",
  3274. "in": "query"
  3275. },
  3276. {
  3277. "type": "integer",
  3278. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3279. "name": "cycletype",
  3280. "in": "query"
  3281. },
  3282. {
  3283. "type": "string",
  3284. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3285. "name": "cycletime",
  3286. "in": "query"
  3287. },
  3288. {
  3289. "type": "string",
  3290. "description": "开始交易日(格式yyyymmdd)",
  3291. "name": "begindate",
  3292. "in": "query"
  3293. },
  3294. {
  3295. "type": "string",
  3296. "description": "结束交易日(格式yyyymmdd)",
  3297. "name": "enddate",
  3298. "in": "query"
  3299. },
  3300. {
  3301. "type": "integer",
  3302. "description": "币种id(日报表明细)",
  3303. "name": "currencyid",
  3304. "in": "query"
  3305. }
  3306. ],
  3307. "responses": {
  3308. "200": {
  3309. "description": "OK",
  3310. "schema": {
  3311. "type": "array",
  3312. "items": {
  3313. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3314. }
  3315. }
  3316. },
  3317. "500": {
  3318. "description": "Internal Server Error",
  3319. "schema": {
  3320. "$ref": "#/definitions/app.Response"
  3321. }
  3322. }
  3323. }
  3324. }
  3325. },
  3326. "/Ermcp3/QryFinanceReport": {
  3327. "get": {
  3328. "security": [
  3329. {
  3330. "ApiKeyAuth": []
  3331. }
  3332. ],
  3333. "produces": [
  3334. "application/json"
  3335. ],
  3336. "tags": [
  3337. "企业风险管理v3(app)"
  3338. ],
  3339. "summary": "查询财务报表",
  3340. "parameters": [
  3341. {
  3342. "type": "integer",
  3343. "description": "用户ID",
  3344. "name": "userid",
  3345. "in": "query",
  3346. "required": true
  3347. },
  3348. {
  3349. "type": "integer",
  3350. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细",
  3351. "name": "querytype",
  3352. "in": "query",
  3353. "required": true
  3354. },
  3355. {
  3356. "type": "string",
  3357. "description": "交易日(格式yyyymmdd)",
  3358. "name": "tradedate",
  3359. "in": "query"
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3364. "name": "cycletype",
  3365. "in": "query"
  3366. },
  3367. {
  3368. "type": "string",
  3369. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3370. "name": "cycletime",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "string",
  3375. "description": "开始交易日(格式yyyymmdd)",
  3376. "name": "begindate",
  3377. "in": "query"
  3378. },
  3379. {
  3380. "type": "string",
  3381. "description": "结束交易日(格式yyyymmdd)",
  3382. "name": "enddate",
  3383. "in": "query"
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "币种id(日报表明细)",
  3388. "name": "currencyid",
  3389. "in": "query"
  3390. }
  3391. ],
  3392. "responses": {
  3393. "200": {
  3394. "description": "OK",
  3395. "schema": {
  3396. "type": "array",
  3397. "items": {
  3398. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3399. }
  3400. }
  3401. },
  3402. "500": {
  3403. "description": "Internal Server Error",
  3404. "schema": {
  3405. "$ref": "#/definitions/app.Response"
  3406. }
  3407. }
  3408. }
  3409. }
  3410. },
  3411. "/Ermcp3/QueryAreaStock": {
  3412. "get": {
  3413. "security": [
  3414. {
  3415. "ApiKeyAuth": []
  3416. }
  3417. ],
  3418. "produces": [
  3419. "application/json"
  3420. ],
  3421. "tags": [
  3422. "企业风险管理v3(app)"
  3423. ],
  3424. "summary": "查询机构库存(库存管理/当前库存)",
  3425. "parameters": [
  3426. {
  3427. "type": "integer",
  3428. "description": "用户ID",
  3429. "name": "userid",
  3430. "in": "query",
  3431. "required": true
  3432. }
  3433. ],
  3434. "responses": {
  3435. "200": {
  3436. "description": "OK",
  3437. "schema": {
  3438. "type": "array",
  3439. "items": {
  3440. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3441. }
  3442. }
  3443. },
  3444. "500": {
  3445. "description": "Internal Server Error",
  3446. "schema": {
  3447. "$ref": "#/definitions/app.Response"
  3448. }
  3449. }
  3450. }
  3451. }
  3452. },
  3453. "/Ermcp3/QueryAreaStockApply": {
  3454. "get": {
  3455. "security": [
  3456. {
  3457. "ApiKeyAuth": []
  3458. }
  3459. ],
  3460. "produces": [
  3461. "application/json"
  3462. ],
  3463. "tags": [
  3464. "企业风险管理v3(app)"
  3465. ],
  3466. "summary": "查询库存申请(出入库记录|库存审核)",
  3467. "parameters": [
  3468. {
  3469. "type": "integer",
  3470. "description": "用户ID",
  3471. "name": "userid",
  3472. "in": "query",
  3473. "required": true
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "现货商品ID",
  3478. "name": "deliverygoodsid",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "string",
  3483. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3484. "name": "inouttype",
  3485. "in": "query"
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "合同ID",
  3490. "name": "spotcontractid",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "品类ID",
  3496. "name": "wrstandardid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "品牌ID",
  3502. "name": "spotgoodsbrandid",
  3503. "in": "query"
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "仓库ID",
  3508. "name": "warehouseinfoid",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "string",
  3513. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3514. "name": "applystatus",
  3515. "in": "query"
  3516. }
  3517. ],
  3518. "responses": {
  3519. "200": {
  3520. "description": "OK",
  3521. "schema": {
  3522. "type": "array",
  3523. "items": {
  3524. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3525. }
  3526. }
  3527. },
  3528. "500": {
  3529. "description": "Internal Server Error",
  3530. "schema": {
  3531. "$ref": "#/definitions/app.Response"
  3532. }
  3533. }
  3534. }
  3535. }
  3536. },
  3537. "/Ermcp3/QueryAreaStockApplySum": {
  3538. "get": {
  3539. "security": [
  3540. {
  3541. "ApiKeyAuth": []
  3542. }
  3543. ],
  3544. "produces": [
  3545. "application/json"
  3546. ],
  3547. "tags": [
  3548. "企业风险管理v3(app)"
  3549. ],
  3550. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3551. "parameters": [
  3552. {
  3553. "type": "integer",
  3554. "description": "合同ID",
  3555. "name": "spotcontractid",
  3556. "in": "query"
  3557. }
  3558. ],
  3559. "responses": {
  3560. "200": {
  3561. "description": "OK",
  3562. "schema": {
  3563. "type": "array",
  3564. "items": {
  3565. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3566. }
  3567. }
  3568. },
  3569. "500": {
  3570. "description": "Internal Server Error",
  3571. "schema": {
  3572. "$ref": "#/definitions/app.Response"
  3573. }
  3574. }
  3575. }
  3576. }
  3577. },
  3578. "/Ermcp3/QueryDGFactoryItem": {
  3579. "get": {
  3580. "security": [
  3581. {
  3582. "ApiKeyAuth": []
  3583. }
  3584. ],
  3585. "produces": [
  3586. "application/json"
  3587. ],
  3588. "tags": [
  3589. "企业风险管理v3(app)"
  3590. ],
  3591. "summary": "查询品种要素定义项",
  3592. "parameters": [
  3593. {
  3594. "type": "integer",
  3595. "description": "用户id",
  3596. "name": "userid",
  3597. "in": "query"
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "用户类型 2-机构 7-企业成员",
  3602. "name": "usertype",
  3603. "in": "query"
  3604. },
  3605. {
  3606. "type": "integer",
  3607. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3608. "name": "dgfactoryitemid",
  3609. "in": "query"
  3610. },
  3611. {
  3612. "type": "integer",
  3613. "description": "现货品种ID",
  3614. "name": "deliverygoodsid",
  3615. "in": "query"
  3616. },
  3617. {
  3618. "type": "integer",
  3619. "description": "要素项类型",
  3620. "name": "dgfactoryitemtypeid",
  3621. "in": "query"
  3622. },
  3623. {
  3624. "type": "integer",
  3625. "description": "顺序",
  3626. "name": "orderindex",
  3627. "in": "query"
  3628. }
  3629. ],
  3630. "responses": {
  3631. "200": {
  3632. "description": "OK",
  3633. "schema": {
  3634. "type": "array",
  3635. "items": {
  3636. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3637. }
  3638. }
  3639. },
  3640. "500": {
  3641. "description": "Internal Server Error",
  3642. "schema": {
  3643. "$ref": "#/definitions/app.Response"
  3644. }
  3645. }
  3646. }
  3647. }
  3648. },
  3649. "/Ermcp3/QueryDeliveryGoods": {
  3650. "get": {
  3651. "security": [
  3652. {
  3653. "ApiKeyAuth": []
  3654. }
  3655. ],
  3656. "produces": [
  3657. "application/json"
  3658. ],
  3659. "tags": [
  3660. "企业风险管理v3(app)"
  3661. ],
  3662. "summary": "查询现货商品",
  3663. "parameters": [
  3664. {
  3665. "type": "integer",
  3666. "description": "用户id",
  3667. "name": "userid",
  3668. "in": "query",
  3669. "required": true
  3670. },
  3671. {
  3672. "type": "integer",
  3673. "description": "用户类型 2-机构 7-企业成员",
  3674. "name": "usertype",
  3675. "in": "query"
  3676. },
  3677. {
  3678. "type": "integer",
  3679. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3680. "name": "excludecfg",
  3681. "in": "query"
  3682. }
  3683. ],
  3684. "responses": {
  3685. "200": {
  3686. "description": "OK",
  3687. "schema": {
  3688. "type": "array",
  3689. "items": {
  3690. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3691. }
  3692. }
  3693. },
  3694. "500": {
  3695. "description": "Internal Server Error",
  3696. "schema": {
  3697. "$ref": "#/definitions/app.Response"
  3698. }
  3699. }
  3700. }
  3701. }
  3702. },
  3703. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3704. "get": {
  3705. "security": [
  3706. {
  3707. "ApiKeyAuth": []
  3708. }
  3709. ],
  3710. "produces": [
  3711. "application/json"
  3712. ],
  3713. "tags": [
  3714. "企业风险管理v3(app)"
  3715. ],
  3716. "summary": "查询现货商品详情",
  3717. "parameters": [
  3718. {
  3719. "type": "integer",
  3720. "description": "用户id",
  3721. "name": "userid",
  3722. "in": "query",
  3723. "required": true
  3724. },
  3725. {
  3726. "type": "integer",
  3727. "description": "用户类型 2-机构 7-企业成员",
  3728. "name": "usertype",
  3729. "in": "query"
  3730. },
  3731. {
  3732. "type": "integer",
  3733. "description": "现货商品id",
  3734. "name": "deliverygoodsid",
  3735. "in": "query"
  3736. }
  3737. ],
  3738. "responses": {
  3739. "200": {
  3740. "description": "OK",
  3741. "schema": {
  3742. "type": "array",
  3743. "items": {
  3744. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3745. }
  3746. }
  3747. },
  3748. "500": {
  3749. "description": "Internal Server Error",
  3750. "schema": {
  3751. "$ref": "#/definitions/app.Response"
  3752. }
  3753. }
  3754. }
  3755. }
  3756. },
  3757. "/Ermcp3/QueryExposureDetail": {
  3758. "get": {
  3759. "security": [
  3760. {
  3761. "ApiKeyAuth": []
  3762. }
  3763. ],
  3764. "produces": [
  3765. "application/json"
  3766. ],
  3767. "tags": [
  3768. "企业风险管理v3(app)"
  3769. ],
  3770. "summary": "查询敞口现货明细",
  3771. "parameters": [
  3772. {
  3773. "type": "integer",
  3774. "description": "用户id",
  3775. "name": "userid",
  3776. "in": "query",
  3777. "required": true
  3778. },
  3779. {
  3780. "type": "integer",
  3781. "description": "用户类型 2-机构 7-企业成员",
  3782. "name": "usertype",
  3783. "in": "query"
  3784. },
  3785. {
  3786. "type": "integer",
  3787. "description": "套保商品",
  3788. "name": "middlegoodsid",
  3789. "in": "query",
  3790. "required": true
  3791. }
  3792. ],
  3793. "responses": {
  3794. "200": {
  3795. "description": "OK",
  3796. "schema": {
  3797. "type": "array",
  3798. "items": {
  3799. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3800. }
  3801. }
  3802. },
  3803. "500": {
  3804. "description": "Internal Server Error",
  3805. "schema": {
  3806. "$ref": "#/definitions/app.Response"
  3807. }
  3808. }
  3809. }
  3810. }
  3811. },
  3812. "/Ermcp3/QueryExposureSpot": {
  3813. "get": {
  3814. "security": [
  3815. {
  3816. "ApiKeyAuth": []
  3817. }
  3818. ],
  3819. "produces": [
  3820. "application/json"
  3821. ],
  3822. "tags": [
  3823. "企业风险管理v3(app)"
  3824. ],
  3825. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3826. "parameters": [
  3827. {
  3828. "type": "integer",
  3829. "description": "用户id",
  3830. "name": "userid",
  3831. "in": "query",
  3832. "required": true
  3833. },
  3834. {
  3835. "type": "integer",
  3836. "description": "用户类型 2-机构 7-企业成员",
  3837. "name": "usertype",
  3838. "in": "query"
  3839. }
  3840. ],
  3841. "responses": {
  3842. "200": {
  3843. "description": "OK",
  3844. "schema": {
  3845. "type": "array",
  3846. "items": {
  3847. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3848. }
  3849. }
  3850. },
  3851. "500": {
  3852. "description": "Internal Server Error",
  3853. "schema": {
  3854. "$ref": "#/definitions/app.Response"
  3855. }
  3856. }
  3857. }
  3858. }
  3859. },
  3860. "/Ermcp3/QueryExposureSpotDetail": {
  3861. "get": {
  3862. "security": [
  3863. {
  3864. "ApiKeyAuth": []
  3865. }
  3866. ],
  3867. "produces": [
  3868. "application/json"
  3869. ],
  3870. "tags": [
  3871. "企业风险管理v3(app)"
  3872. ],
  3873. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3874. "parameters": [
  3875. {
  3876. "type": "integer",
  3877. "description": "用户id",
  3878. "name": "userid",
  3879. "in": "query",
  3880. "required": true
  3881. },
  3882. {
  3883. "type": "integer",
  3884. "description": "用户类型 2-机构 7-企业成员",
  3885. "name": "usertype",
  3886. "in": "query"
  3887. },
  3888. {
  3889. "type": "integer",
  3890. "description": "现货品种ID",
  3891. "name": "deliverygoodsid",
  3892. "in": "query",
  3893. "required": true
  3894. }
  3895. ],
  3896. "responses": {
  3897. "200": {
  3898. "description": "OK",
  3899. "schema": {
  3900. "type": "array",
  3901. "items": {
  3902. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3903. }
  3904. }
  3905. },
  3906. "500": {
  3907. "description": "Internal Server Error",
  3908. "schema": {
  3909. "$ref": "#/definitions/app.Response"
  3910. }
  3911. }
  3912. }
  3913. }
  3914. },
  3915. "/Ermcp3/QueryGoodsGroup": {
  3916. "get": {
  3917. "security": [
  3918. {
  3919. "ApiKeyAuth": []
  3920. }
  3921. ],
  3922. "produces": [
  3923. "application/json"
  3924. ],
  3925. "tags": [
  3926. "企业风险管理v3(app)"
  3927. ],
  3928. "summary": "查询期货商品组",
  3929. "parameters": [
  3930. {
  3931. "type": "integer",
  3932. "description": "用户id",
  3933. "name": "userid",
  3934. "in": "query",
  3935. "required": true
  3936. },
  3937. {
  3938. "type": "integer",
  3939. "description": "用户类型 2-机构 7-企业成员",
  3940. "name": "usertype",
  3941. "in": "query"
  3942. },
  3943. {
  3944. "type": "integer",
  3945. "description": "排除套保品中已关联的商品组 1-排除",
  3946. "name": "excludecfg",
  3947. "in": "query"
  3948. }
  3949. ],
  3950. "responses": {
  3951. "200": {
  3952. "description": "OK",
  3953. "schema": {
  3954. "type": "array",
  3955. "items": {
  3956. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3957. }
  3958. }
  3959. },
  3960. "500": {
  3961. "description": "Internal Server Error",
  3962. "schema": {
  3963. "$ref": "#/definitions/app.Response"
  3964. }
  3965. }
  3966. }
  3967. }
  3968. },
  3969. "/Ermcp3/QueryGoodsWrstandard": {
  3970. "get": {
  3971. "security": [
  3972. {
  3973. "ApiKeyAuth": []
  3974. }
  3975. ],
  3976. "produces": [
  3977. "application/json"
  3978. ],
  3979. "tags": [
  3980. "企业风险管理v3(app)"
  3981. ],
  3982. "summary": "查询商品品类",
  3983. "parameters": [
  3984. {
  3985. "type": "integer",
  3986. "description": "用户id",
  3987. "name": "userid",
  3988. "in": "query",
  3989. "required": true
  3990. },
  3991. {
  3992. "type": "integer",
  3993. "description": "用户类型 2-机构 7-企业成员",
  3994. "name": "usertype",
  3995. "in": "query"
  3996. },
  3997. {
  3998. "type": "integer",
  3999. "description": "现货商品id",
  4000. "name": "deliverygoodsid",
  4001. "in": "query"
  4002. }
  4003. ],
  4004. "responses": {
  4005. "200": {
  4006. "description": "OK",
  4007. "schema": {
  4008. "type": "array",
  4009. "items": {
  4010. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4011. }
  4012. }
  4013. },
  4014. "500": {
  4015. "description": "Internal Server Error",
  4016. "schema": {
  4017. "$ref": "#/definitions/app.Response"
  4018. }
  4019. }
  4020. }
  4021. }
  4022. },
  4023. "/Ermcp3/QueryGoodsbrand": {
  4024. "get": {
  4025. "security": [
  4026. {
  4027. "ApiKeyAuth": []
  4028. }
  4029. ],
  4030. "produces": [
  4031. "application/json"
  4032. ],
  4033. "tags": [
  4034. "企业风险管理v3(app)"
  4035. ],
  4036. "summary": "查询商品品牌",
  4037. "parameters": [
  4038. {
  4039. "type": "integer",
  4040. "description": "用户id",
  4041. "name": "userid",
  4042. "in": "query",
  4043. "required": true
  4044. },
  4045. {
  4046. "type": "integer",
  4047. "description": "用户类型 2-机构 7-企业成员",
  4048. "name": "usertype",
  4049. "in": "query"
  4050. }
  4051. ],
  4052. "responses": {
  4053. "200": {
  4054. "description": "OK",
  4055. "schema": {
  4056. "type": "array",
  4057. "items": {
  4058. "$ref": "#/definitions/models.Ermcp3Brand"
  4059. }
  4060. }
  4061. },
  4062. "500": {
  4063. "description": "Internal Server Error",
  4064. "schema": {
  4065. "$ref": "#/definitions/app.Response"
  4066. }
  4067. }
  4068. }
  4069. }
  4070. },
  4071. "/Ermcp3/QueryHedgePlan": {
  4072. "get": {
  4073. "security": [
  4074. {
  4075. "ApiKeyAuth": []
  4076. }
  4077. ],
  4078. "produces": [
  4079. "application/json"
  4080. ],
  4081. "tags": [
  4082. "企业风险管理v3(app)"
  4083. ],
  4084. "summary": "查询套保计划",
  4085. "parameters": [
  4086. {
  4087. "type": "integer",
  4088. "description": "用户ID",
  4089. "name": "userid",
  4090. "in": "query",
  4091. "required": true
  4092. },
  4093. {
  4094. "type": "integer",
  4095. "description": "用户类型 2-机构 7-企业成员",
  4096. "name": "usertype",
  4097. "in": "query"
  4098. },
  4099. {
  4100. "type": "string",
  4101. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4102. "name": "hedgeplanstatus",
  4103. "in": "query",
  4104. "required": true
  4105. }
  4106. ],
  4107. "responses": {
  4108. "200": {
  4109. "description": "OK",
  4110. "schema": {
  4111. "type": "array",
  4112. "items": {
  4113. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4114. }
  4115. }
  4116. },
  4117. "500": {
  4118. "description": "Internal Server Error",
  4119. "schema": {
  4120. "$ref": "#/definitions/app.Response"
  4121. }
  4122. }
  4123. }
  4124. }
  4125. },
  4126. "/Ermcp3/QueryMiddleGoodsDetail": {
  4127. "get": {
  4128. "security": [
  4129. {
  4130. "ApiKeyAuth": []
  4131. }
  4132. ],
  4133. "produces": [
  4134. "application/json"
  4135. ],
  4136. "tags": [
  4137. "企业风险管理v3(app)"
  4138. ],
  4139. "summary": "查询套保品种详情(套保品种/商品详情)",
  4140. "parameters": [
  4141. {
  4142. "type": "integer",
  4143. "description": "用户id",
  4144. "name": "userid",
  4145. "in": "query",
  4146. "required": true
  4147. },
  4148. {
  4149. "type": "integer",
  4150. "description": "用户类型 2-机构 7-企业成员",
  4151. "name": "usertype",
  4152. "in": "query"
  4153. },
  4154. {
  4155. "type": "integer",
  4156. "description": "套保品种id",
  4157. "name": "middlegoodsid",
  4158. "in": "query"
  4159. }
  4160. ],
  4161. "responses": {
  4162. "200": {
  4163. "description": "OK",
  4164. "schema": {
  4165. "type": "array",
  4166. "items": {
  4167. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4168. }
  4169. }
  4170. },
  4171. "500": {
  4172. "description": "Internal Server Error",
  4173. "schema": {
  4174. "$ref": "#/definitions/app.Response"
  4175. }
  4176. }
  4177. }
  4178. }
  4179. },
  4180. "/Ermcp3/QuerySpotContract": {
  4181. "get": {
  4182. "security": [
  4183. {
  4184. "ApiKeyAuth": []
  4185. }
  4186. ],
  4187. "produces": [
  4188. "application/json"
  4189. ],
  4190. "tags": [
  4191. "企业风险管理v3(app)"
  4192. ],
  4193. "summary": "查询现货合同",
  4194. "parameters": [
  4195. {
  4196. "type": "integer",
  4197. "description": "用户id",
  4198. "name": "userid",
  4199. "in": "query",
  4200. "required": true
  4201. },
  4202. {
  4203. "type": "integer",
  4204. "description": "用户类型 2-机构 7-企业成员",
  4205. "name": "usertype",
  4206. "in": "query"
  4207. },
  4208. {
  4209. "type": "integer",
  4210. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4211. "name": "querytype",
  4212. "in": "query",
  4213. "required": true
  4214. },
  4215. {
  4216. "type": "string",
  4217. "description": "合同ID(SpotContractId)",
  4218. "name": "contractid",
  4219. "in": "query"
  4220. }
  4221. ],
  4222. "responses": {
  4223. "200": {
  4224. "description": "OK",
  4225. "schema": {
  4226. "type": "array",
  4227. "items": {
  4228. "$ref": "#/definitions/models.Ermcp3Contract"
  4229. }
  4230. }
  4231. },
  4232. "500": {
  4233. "description": "Internal Server Error",
  4234. "schema": {
  4235. "$ref": "#/definitions/app.Response"
  4236. }
  4237. }
  4238. }
  4239. }
  4240. },
  4241. "/Ermcp3/QuerySpotContractBS": {
  4242. "get": {
  4243. "security": [
  4244. {
  4245. "ApiKeyAuth": []
  4246. }
  4247. ],
  4248. "produces": [
  4249. "application/json"
  4250. ],
  4251. "tags": [
  4252. "企业风险管理v3(app)"
  4253. ],
  4254. "summary": "查询合同(采购/销售)",
  4255. "parameters": [
  4256. {
  4257. "type": "integer",
  4258. "description": "用户id",
  4259. "name": "userid",
  4260. "in": "query",
  4261. "required": true
  4262. },
  4263. {
  4264. "type": "integer",
  4265. "description": "用户类型 2-机构 7-企业成员",
  4266. "name": "usertype",
  4267. "in": "query"
  4268. },
  4269. {
  4270. "type": "integer",
  4271. "description": "合同类型 1-采购, -1-销售",
  4272. "name": "contracttype",
  4273. "in": "query",
  4274. "required": true
  4275. },
  4276. {
  4277. "type": "integer",
  4278. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4279. "name": "querytype",
  4280. "in": "query",
  4281. "required": true
  4282. },
  4283. {
  4284. "type": "string",
  4285. "description": "合同ID(SpotContractId)",
  4286. "name": "contractid",
  4287. "in": "query"
  4288. }
  4289. ],
  4290. "responses": {
  4291. "200": {
  4292. "description": "OK",
  4293. "schema": {
  4294. "type": "array",
  4295. "items": {
  4296. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4297. }
  4298. }
  4299. },
  4300. "500": {
  4301. "description": "Internal Server Error",
  4302. "schema": {
  4303. "$ref": "#/definitions/app.Response"
  4304. }
  4305. }
  4306. }
  4307. }
  4308. },
  4309. "/Ermcp3/QuerySpotGoodsPrice": {
  4310. "get": {
  4311. "security": [
  4312. {
  4313. "ApiKeyAuth": []
  4314. }
  4315. ],
  4316. "produces": [
  4317. "application/json"
  4318. ],
  4319. "tags": [
  4320. "企业风险管理v3(app)"
  4321. ],
  4322. "summary": "查询现货市价(现货市价)",
  4323. "parameters": [
  4324. {
  4325. "type": "integer",
  4326. "description": "用户ID",
  4327. "name": "userid",
  4328. "in": "query",
  4329. "required": true
  4330. }
  4331. ],
  4332. "responses": {
  4333. "200": {
  4334. "description": "OK",
  4335. "schema": {
  4336. "type": "array",
  4337. "items": {
  4338. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4339. }
  4340. }
  4341. },
  4342. "500": {
  4343. "description": "Internal Server Error",
  4344. "schema": {
  4345. "$ref": "#/definitions/app.Response"
  4346. }
  4347. }
  4348. }
  4349. }
  4350. },
  4351. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4352. "get": {
  4353. "security": [
  4354. {
  4355. "ApiKeyAuth": []
  4356. }
  4357. ],
  4358. "produces": [
  4359. "application/json"
  4360. ],
  4361. "tags": [
  4362. "企业风险管理v3(app)"
  4363. ],
  4364. "summary": "查询现货市价详情(现货市价/详情)",
  4365. "parameters": [
  4366. {
  4367. "type": "integer",
  4368. "description": "用户ID",
  4369. "name": "userid",
  4370. "in": "query",
  4371. "required": true
  4372. },
  4373. {
  4374. "type": "integer",
  4375. "description": "现货商品ID",
  4376. "name": "deliverygoodsid",
  4377. "in": "query",
  4378. "required": true
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "品牌ID",
  4383. "name": "brandid",
  4384. "in": "query"
  4385. },
  4386. {
  4387. "type": "integer",
  4388. "description": "品类ID",
  4389. "name": "wrstandardid",
  4390. "in": "query"
  4391. }
  4392. ],
  4393. "responses": {
  4394. "200": {
  4395. "description": "OK",
  4396. "schema": {
  4397. "type": "array",
  4398. "items": {
  4399. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4400. }
  4401. }
  4402. },
  4403. "500": {
  4404. "description": "Internal Server Error",
  4405. "schema": {
  4406. "$ref": "#/definitions/app.Response"
  4407. }
  4408. }
  4409. }
  4410. }
  4411. },
  4412. "/Erms2/QueryArbitrageStrategy": {
  4413. "get": {
  4414. "security": [
  4415. {
  4416. "ApiKeyAuth": []
  4417. }
  4418. ],
  4419. "produces": [
  4420. "application/json"
  4421. ],
  4422. "tags": [
  4423. "风险管理"
  4424. ],
  4425. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4426. "parameters": [
  4427. {
  4428. "type": "integer",
  4429. "description": "账户ID",
  4430. "name": "userid",
  4431. "in": "query",
  4432. "required": true
  4433. },
  4434. {
  4435. "type": "string",
  4436. "description": "商品组ID(品种ID)",
  4437. "name": "goodsgroupid",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4446. }
  4447. },
  4448. "500": {
  4449. "description": "Internal Server Error",
  4450. "schema": {
  4451. "$ref": "#/definitions/app.Response"
  4452. }
  4453. }
  4454. }
  4455. }
  4456. },
  4457. "/Erms2/QueryInnerTradeDetail": {
  4458. "get": {
  4459. "security": [
  4460. {
  4461. "ApiKeyAuth": []
  4462. }
  4463. ],
  4464. "produces": [
  4465. "application/json"
  4466. ],
  4467. "tags": [
  4468. "风险管理"
  4469. ],
  4470. "summary": "查询内部成交单信息",
  4471. "parameters": [
  4472. {
  4473. "type": "integer",
  4474. "description": "资金账户",
  4475. "name": "accountid",
  4476. "in": "query",
  4477. "required": true
  4478. }
  4479. ],
  4480. "responses": {
  4481. "200": {
  4482. "description": "OK",
  4483. "schema": {
  4484. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4485. }
  4486. },
  4487. "500": {
  4488. "description": "Internal Server Error",
  4489. "schema": {
  4490. "$ref": "#/definitions/app.Response"
  4491. }
  4492. }
  4493. }
  4494. }
  4495. },
  4496. "/Erms2/QuerySpotContract": {
  4497. "get": {
  4498. "security": [
  4499. {
  4500. "ApiKeyAuth": []
  4501. }
  4502. ],
  4503. "produces": [
  4504. "application/json"
  4505. ],
  4506. "tags": [
  4507. "风险管理"
  4508. ],
  4509. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4510. "parameters": [
  4511. {
  4512. "type": "integer",
  4513. "description": "策略申请ID",
  4514. "name": "asapplyid",
  4515. "in": "query",
  4516. "required": true
  4517. },
  4518. {
  4519. "type": "integer",
  4520. "description": "现货合同ID",
  4521. "name": "spotcontractid",
  4522. "in": "query"
  4523. }
  4524. ],
  4525. "responses": {
  4526. "200": {
  4527. "description": "OK",
  4528. "schema": {
  4529. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4530. }
  4531. },
  4532. "500": {
  4533. "description": "Internal Server Error",
  4534. "schema": {
  4535. "$ref": "#/definitions/app.Response"
  4536. }
  4537. }
  4538. }
  4539. }
  4540. },
  4541. "/Erms3/AddErms2ASApply": {
  4542. "post": {
  4543. "security": [
  4544. {
  4545. "ApiKeyAuth": []
  4546. }
  4547. ],
  4548. "produces": [
  4549. "application/json"
  4550. ],
  4551. "tags": [
  4552. "风险管理v3"
  4553. ],
  4554. "summary": "新增期现套利业务申请",
  4555. "parameters": [
  4556. {
  4557. "description": "申请参数",
  4558. "name": "jsonBody",
  4559. "in": "body",
  4560. "required": true,
  4561. "schema": {
  4562. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4563. }
  4564. }
  4565. ],
  4566. "responses": {
  4567. "200": {
  4568. "description": "OK",
  4569. "schema": {
  4570. "$ref": "#/definitions/app.Response"
  4571. }
  4572. },
  4573. "500": {
  4574. "description": "Internal Server Error",
  4575. "schema": {
  4576. "$ref": "#/definitions/app.Response"
  4577. }
  4578. }
  4579. }
  4580. }
  4581. },
  4582. "/Erms3/AddErms2SpotTradeApply": {
  4583. "post": {
  4584. "security": [
  4585. {
  4586. "ApiKeyAuth": []
  4587. }
  4588. ],
  4589. "produces": [
  4590. "application/json"
  4591. ],
  4592. "tags": [
  4593. "风险管理v3"
  4594. ],
  4595. "summary": "新增现货贸易业务申请",
  4596. "parameters": [
  4597. {
  4598. "description": "申请参数",
  4599. "name": "jsonBody",
  4600. "in": "body",
  4601. "required": true,
  4602. "schema": {
  4603. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4604. }
  4605. }
  4606. ],
  4607. "responses": {
  4608. "200": {
  4609. "description": "OK",
  4610. "schema": {
  4611. "$ref": "#/definitions/app.Response"
  4612. }
  4613. },
  4614. "500": {
  4615. "description": "Internal Server Error",
  4616. "schema": {
  4617. "$ref": "#/definitions/app.Response"
  4618. }
  4619. }
  4620. }
  4621. }
  4622. },
  4623. "/Erms3/AddSpotContractApply": {
  4624. "post": {
  4625. "security": [
  4626. {
  4627. "ApiKeyAuth": []
  4628. }
  4629. ],
  4630. "produces": [
  4631. "application/json"
  4632. ],
  4633. "tags": [
  4634. "风险管理v3"
  4635. ],
  4636. "summary": "新增现货合同申请",
  4637. "parameters": [
  4638. {
  4639. "description": "申请参数",
  4640. "name": "jsonBody",
  4641. "in": "body",
  4642. "required": true,
  4643. "schema": {
  4644. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4645. }
  4646. }
  4647. ],
  4648. "responses": {
  4649. "200": {
  4650. "description": "OK",
  4651. "schema": {
  4652. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4653. }
  4654. },
  4655. "500": {
  4656. "description": "Internal Server Error",
  4657. "schema": {
  4658. "$ref": "#/definitions/app.Response"
  4659. }
  4660. }
  4661. }
  4662. }
  4663. },
  4664. "/Erms3/AddUserInfoApply": {
  4665. "post": {
  4666. "security": [
  4667. {
  4668. "ApiKeyAuth": []
  4669. }
  4670. ],
  4671. "produces": [
  4672. "application/json"
  4673. ],
  4674. "tags": [
  4675. "风险管理v3"
  4676. ],
  4677. "summary": "新增客户申请",
  4678. "parameters": [
  4679. {
  4680. "description": "用户信息",
  4681. "name": "jsonBody",
  4682. "in": "body",
  4683. "required": true,
  4684. "schema": {
  4685. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4686. }
  4687. }
  4688. ],
  4689. "responses": {
  4690. "200": {
  4691. "description": "OK",
  4692. "schema": {
  4693. "$ref": "#/definitions/app.Response"
  4694. }
  4695. },
  4696. "500": {
  4697. "description": "Internal Server Error",
  4698. "schema": {
  4699. "$ref": "#/definitions/app.Response"
  4700. }
  4701. }
  4702. }
  4703. }
  4704. },
  4705. "/Erms3/DeleteUserInfoApply": {
  4706. "get": {
  4707. "security": [
  4708. {
  4709. "ApiKeyAuth": []
  4710. }
  4711. ],
  4712. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4713. "produces": [
  4714. "application/json"
  4715. ],
  4716. "tags": [
  4717. "风险管理v3"
  4718. ],
  4719. "summary": "删除客户申请",
  4720. "parameters": [
  4721. {
  4722. "type": "integer",
  4723. "description": "用户ID",
  4724. "name": "userID",
  4725. "in": "query",
  4726. "required": true
  4727. }
  4728. ],
  4729. "responses": {
  4730. "200": {
  4731. "description": "OK",
  4732. "schema": {
  4733. "$ref": "#/definitions/app.Response"
  4734. }
  4735. },
  4736. "500": {
  4737. "description": "Internal Server Error",
  4738. "schema": {
  4739. "$ref": "#/definitions/app.Response"
  4740. }
  4741. }
  4742. }
  4743. }
  4744. },
  4745. "/Erms3/ModifyUserInfoApply": {
  4746. "post": {
  4747. "security": [
  4748. {
  4749. "ApiKeyAuth": []
  4750. }
  4751. ],
  4752. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4753. "produces": [
  4754. "application/json"
  4755. ],
  4756. "tags": [
  4757. "风险管理v3"
  4758. ],
  4759. "summary": "修改客户申请",
  4760. "parameters": [
  4761. {
  4762. "description": "用户信息",
  4763. "name": "jsonBody",
  4764. "in": "body",
  4765. "required": true,
  4766. "schema": {
  4767. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4768. }
  4769. }
  4770. ],
  4771. "responses": {
  4772. "200": {
  4773. "description": "OK",
  4774. "schema": {
  4775. "$ref": "#/definitions/app.Response"
  4776. }
  4777. },
  4778. "500": {
  4779. "description": "Internal Server Error",
  4780. "schema": {
  4781. "$ref": "#/definitions/app.Response"
  4782. }
  4783. }
  4784. }
  4785. }
  4786. },
  4787. "/Erms3/QueryBusinessInfo": {
  4788. "get": {
  4789. "security": [
  4790. {
  4791. "ApiKeyAuth": []
  4792. }
  4793. ],
  4794. "produces": [
  4795. "application/json"
  4796. ],
  4797. "tags": [
  4798. "风险管理v3"
  4799. ],
  4800. "summary": "查询业务表单数据",
  4801. "parameters": [
  4802. {
  4803. "type": "string",
  4804. "description": "资金账号ID列表,用逗号分隔",
  4805. "name": "accountids",
  4806. "in": "query",
  4807. "required": true
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "状态,0为未结束 1为已结束",
  4812. "name": "status",
  4813. "in": "query",
  4814. "required": true
  4815. }
  4816. ],
  4817. "responses": {
  4818. "200": {
  4819. "description": "OK",
  4820. "schema": {
  4821. "type": "array",
  4822. "items": {
  4823. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4824. }
  4825. }
  4826. },
  4827. "500": {
  4828. "description": "Internal Server Error",
  4829. "schema": {
  4830. "$ref": "#/definitions/app.Response"
  4831. }
  4832. }
  4833. }
  4834. }
  4835. },
  4836. "/Erms3/QueryPendingAuditContract": {
  4837. "get": {
  4838. "security": [
  4839. {
  4840. "ApiKeyAuth": []
  4841. }
  4842. ],
  4843. "produces": [
  4844. "application/json"
  4845. ],
  4846. "tags": [
  4847. "风险管理v3"
  4848. ],
  4849. "summary": "查询待审核合同",
  4850. "parameters": [
  4851. {
  4852. "type": "string",
  4853. "description": "资金账号ID列表,逗号隔开",
  4854. "name": "accountids",
  4855. "in": "query",
  4856. "required": true
  4857. },
  4858. {
  4859. "type": "integer",
  4860. "description": "合同类型 1-采购 -1-销售",
  4861. "name": "contracttype",
  4862. "in": "query",
  4863. "required": true
  4864. },
  4865. {
  4866. "type": "integer",
  4867. "description": "合同模式 1-普通 2-回购",
  4868. "name": "contractmode",
  4869. "in": "query",
  4870. "required": true
  4871. }
  4872. ],
  4873. "responses": {
  4874. "200": {
  4875. "description": "OK",
  4876. "schema": {
  4877. "type": "array",
  4878. "items": {
  4879. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4880. }
  4881. }
  4882. },
  4883. "500": {
  4884. "description": "Internal Server Error",
  4885. "schema": {
  4886. "$ref": "#/definitions/app.Response"
  4887. }
  4888. }
  4889. }
  4890. }
  4891. },
  4892. "/Erms3/QueryPendingBusiness": {
  4893. "get": {
  4894. "security": [
  4895. {
  4896. "ApiKeyAuth": []
  4897. }
  4898. ],
  4899. "produces": [
  4900. "application/json"
  4901. ],
  4902. "tags": [
  4903. "风险管理v3"
  4904. ],
  4905. "summary": "查询待审核基差贸易业务",
  4906. "parameters": [
  4907. {
  4908. "type": "string",
  4909. "description": "资金账号ID列表,逗号隔开",
  4910. "name": "accountids",
  4911. "in": "query",
  4912. "required": true
  4913. }
  4914. ],
  4915. "responses": {
  4916. "200": {
  4917. "description": "OK",
  4918. "schema": {
  4919. "type": "array",
  4920. "items": {
  4921. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4922. }
  4923. }
  4924. },
  4925. "500": {
  4926. "description": "Internal Server Error",
  4927. "schema": {
  4928. "$ref": "#/definitions/app.Response"
  4929. }
  4930. }
  4931. }
  4932. }
  4933. },
  4934. "/Erms3/QuerySpotContractAppleForm": {
  4935. "get": {
  4936. "security": [
  4937. {
  4938. "ApiKeyAuth": []
  4939. }
  4940. ],
  4941. "produces": [
  4942. "application/json"
  4943. ],
  4944. "tags": [
  4945. "风险管理v3"
  4946. ],
  4947. "summary": "查询合同申请表单数据",
  4948. "parameters": [
  4949. {
  4950. "type": "integer",
  4951. "description": "登录账号",
  4952. "name": "loginID",
  4953. "in": "query",
  4954. "required": true
  4955. }
  4956. ],
  4957. "responses": {
  4958. "200": {
  4959. "description": "OK",
  4960. "schema": {
  4961. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4962. }
  4963. },
  4964. "500": {
  4965. "description": "Internal Server Error",
  4966. "schema": {
  4967. "$ref": "#/definitions/app.Response"
  4968. }
  4969. }
  4970. }
  4971. }
  4972. },
  4973. "/Erms3/QuerySpotContractDetail": {
  4974. "get": {
  4975. "security": [
  4976. {
  4977. "ApiKeyAuth": []
  4978. }
  4979. ],
  4980. "produces": [
  4981. "application/json"
  4982. ],
  4983. "tags": [
  4984. "风险管理v3"
  4985. ],
  4986. "summary": "查询合同详细信息",
  4987. "parameters": [
  4988. {
  4989. "type": "string",
  4990. "description": "资金账号ID列表,用逗号分隔",
  4991. "name": "accountids",
  4992. "in": "query",
  4993. "required": true
  4994. },
  4995. {
  4996. "type": "integer",
  4997. "description": "合同类型,1为采购合同 -1为销售合同",
  4998. "name": "contracttype",
  4999. "in": "query",
  5000. "required": true
  5001. },
  5002. {
  5003. "type": "integer",
  5004. "description": "合同模式,1为普通合同 2为回购销售合同",
  5005. "name": "contractmode",
  5006. "in": "query",
  5007. "required": true
  5008. },
  5009. {
  5010. "type": "integer",
  5011. "description": "状态,0为履约中 1为已完成",
  5012. "name": "status",
  5013. "in": "query",
  5014. "required": true
  5015. }
  5016. ],
  5017. "responses": {
  5018. "200": {
  5019. "description": "OK",
  5020. "schema": {
  5021. "type": "array",
  5022. "items": {
  5023. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5024. }
  5025. }
  5026. },
  5027. "500": {
  5028. "description": "Internal Server Error",
  5029. "schema": {
  5030. "$ref": "#/definitions/app.Response"
  5031. }
  5032. }
  5033. }
  5034. }
  5035. },
  5036. "/Erms3/QueryUserInfoApplies": {
  5037. "get": {
  5038. "security": [
  5039. {
  5040. "ApiKeyAuth": []
  5041. }
  5042. ],
  5043. "produces": [
  5044. "application/json"
  5045. ],
  5046. "tags": [
  5047. "风险管理v3"
  5048. ],
  5049. "summary": "客户申请信息查询",
  5050. "parameters": [
  5051. {
  5052. "type": "integer",
  5053. "description": "页码",
  5054. "name": "page",
  5055. "in": "query"
  5056. },
  5057. {
  5058. "type": "integer",
  5059. "description": "每页条数",
  5060. "name": "pagesize",
  5061. "in": "query"
  5062. },
  5063. {
  5064. "type": "string",
  5065. "description": "客户名称,支持模糊查询",
  5066. "name": "userName",
  5067. "in": "query"
  5068. }
  5069. ],
  5070. "responses": {
  5071. "200": {
  5072. "description": "OK",
  5073. "schema": {
  5074. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5075. }
  5076. },
  5077. "500": {
  5078. "description": "Internal Server Error",
  5079. "schema": {
  5080. "$ref": "#/definitions/app.Response"
  5081. }
  5082. }
  5083. }
  5084. }
  5085. },
  5086. "/Erms3/QueryUserInfos": {
  5087. "get": {
  5088. "security": [
  5089. {
  5090. "ApiKeyAuth": []
  5091. }
  5092. ],
  5093. "produces": [
  5094. "application/json"
  5095. ],
  5096. "tags": [
  5097. "风险管理v3"
  5098. ],
  5099. "summary": "客户信息查询",
  5100. "parameters": [
  5101. {
  5102. "type": "integer",
  5103. "description": "页码",
  5104. "name": "page",
  5105. "in": "query"
  5106. },
  5107. {
  5108. "type": "integer",
  5109. "description": "每页条数",
  5110. "name": "pagesize",
  5111. "in": "query"
  5112. },
  5113. {
  5114. "type": "string",
  5115. "description": "客户名称,支持模糊查询",
  5116. "name": "userName",
  5117. "in": "query"
  5118. }
  5119. ],
  5120. "responses": {
  5121. "200": {
  5122. "description": "OK",
  5123. "schema": {
  5124. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5125. }
  5126. },
  5127. "500": {
  5128. "description": "Internal Server Error",
  5129. "schema": {
  5130. "$ref": "#/definitions/app.Response"
  5131. }
  5132. }
  5133. }
  5134. }
  5135. },
  5136. "/HSBY/GetHsbyMyCount": {
  5137. "get": {
  5138. "security": [
  5139. {
  5140. "ApiKeyAuth": []
  5141. }
  5142. ],
  5143. "description": "说明: 不包括已完成的数量。",
  5144. "produces": [
  5145. "application/json"
  5146. ],
  5147. "tags": [
  5148. "定制【海商报业】"
  5149. ],
  5150. "summary": "获取我的订单与包裹数量",
  5151. "parameters": [
  5152. {
  5153. "type": "string",
  5154. "description": "资金账户列表,格式:1,2,3",
  5155. "name": "accountIDs",
  5156. "in": "query",
  5157. "required": true
  5158. }
  5159. ],
  5160. "responses": {
  5161. "200": {
  5162. "description": "OK",
  5163. "schema": {
  5164. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5165. }
  5166. },
  5167. "500": {
  5168. "description": "Internal Server Error",
  5169. "schema": {
  5170. "$ref": "#/definitions/app.Response"
  5171. }
  5172. }
  5173. }
  5174. }
  5175. },
  5176. "/HSBY/QueryClientFixedADConfigs": {
  5177. "get": {
  5178. "security": [
  5179. {
  5180. "ApiKeyAuth": []
  5181. }
  5182. ],
  5183. "produces": [
  5184. "application/json"
  5185. ],
  5186. "tags": [
  5187. "定制【海商报业】"
  5188. ],
  5189. "summary": "获取终端固定广告配置",
  5190. "responses": {
  5191. "200": {
  5192. "description": "OK",
  5193. "schema": {
  5194. "$ref": "#/definitions/models.Clientfixedadconfig"
  5195. }
  5196. },
  5197. "500": {
  5198. "description": "Internal Server Error",
  5199. "schema": {
  5200. "$ref": "#/definitions/app.Response"
  5201. }
  5202. }
  5203. }
  5204. }
  5205. },
  5206. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5207. "get": {
  5208. "security": [
  5209. {
  5210. "ApiKeyAuth": []
  5211. }
  5212. ],
  5213. "produces": [
  5214. "application/json"
  5215. ],
  5216. "tags": [
  5217. "定制【海商报业】"
  5218. ],
  5219. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5220. "parameters": [
  5221. {
  5222. "type": "integer",
  5223. "description": "页码",
  5224. "name": "page",
  5225. "in": "query"
  5226. },
  5227. {
  5228. "type": "integer",
  5229. "description": "每页条数",
  5230. "name": "pagesize",
  5231. "in": "query"
  5232. },
  5233. {
  5234. "type": "string",
  5235. "description": "资金账户列表,格式:1,2,3",
  5236. "name": "accountIDs",
  5237. "in": "query",
  5238. "required": true
  5239. }
  5240. ],
  5241. "responses": {
  5242. "200": {
  5243. "description": "OK",
  5244. "schema": {
  5245. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5246. }
  5247. },
  5248. "500": {
  5249. "description": "Internal Server Error",
  5250. "schema": {
  5251. "$ref": "#/definitions/app.Response"
  5252. }
  5253. }
  5254. }
  5255. }
  5256. },
  5257. "/HSBY/QueryHsbyGoodsOrderDetails": {
  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": "商品ID",
  5276. "name": "goodsID",
  5277. "in": "query",
  5278. "required": true
  5279. },
  5280. {
  5281. "type": "string",
  5282. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5283. "name": "accountIDs",
  5284. "in": "query"
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5289. "name": "buyOrSell",
  5290. "in": "query"
  5291. },
  5292. {
  5293. "type": "number",
  5294. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5295. "name": "price",
  5296. "in": "query"
  5297. },
  5298. {
  5299. "type": "integer",
  5300. "description": "档位,不传则默认为3档",
  5301. "name": "speed",
  5302. "in": "query"
  5303. }
  5304. ],
  5305. "responses": {
  5306. "200": {
  5307. "description": "OK",
  5308. "schema": {
  5309. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5310. }
  5311. },
  5312. "500": {
  5313. "description": "Internal Server Error",
  5314. "schema": {
  5315. "$ref": "#/definitions/app.Response"
  5316. }
  5317. }
  5318. }
  5319. }
  5320. },
  5321. "/HSBY/QueryHsbyListingGoodsDetail": {
  5322. "get": {
  5323. "security": [
  5324. {
  5325. "ApiKeyAuth": []
  5326. }
  5327. ],
  5328. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5329. "produces": [
  5330. "application/json"
  5331. ],
  5332. "tags": [
  5333. "定制【海商报业】"
  5334. ],
  5335. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5336. "parameters": [
  5337. {
  5338. "type": "integer",
  5339. "description": "商品ID",
  5340. "name": "goodsID",
  5341. "in": "query",
  5342. "required": true
  5343. },
  5344. {
  5345. "type": "integer",
  5346. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5347. "name": "accountID",
  5348. "in": "query"
  5349. }
  5350. ],
  5351. "responses": {
  5352. "200": {
  5353. "description": "OK",
  5354. "schema": {
  5355. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5356. }
  5357. },
  5358. "500": {
  5359. "description": "Internal Server Error",
  5360. "schema": {
  5361. "$ref": "#/definitions/app.Response"
  5362. }
  5363. }
  5364. }
  5365. }
  5366. },
  5367. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5368. "get": {
  5369. "security": [
  5370. {
  5371. "ApiKeyAuth": []
  5372. }
  5373. ],
  5374. "produces": [
  5375. "application/json"
  5376. ],
  5377. "tags": [
  5378. "定制【海商报业】"
  5379. ],
  5380. "summary": "查询三级市场(商城)商品信息详情",
  5381. "parameters": [
  5382. {
  5383. "type": "integer",
  5384. "description": "委托单号",
  5385. "name": "orderID",
  5386. "in": "query",
  5387. "required": true
  5388. },
  5389. {
  5390. "type": "integer",
  5391. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5392. "name": "accountID",
  5393. "in": "query"
  5394. }
  5395. ],
  5396. "responses": {
  5397. "200": {
  5398. "description": "OK",
  5399. "schema": {
  5400. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5401. }
  5402. },
  5403. "500": {
  5404. "description": "Internal Server Error",
  5405. "schema": {
  5406. "$ref": "#/definitions/app.Response"
  5407. }
  5408. }
  5409. }
  5410. }
  5411. },
  5412. "/HSBY/QueryHsbyMarketGoodses": {
  5413. "get": {
  5414. "security": [
  5415. {
  5416. "ApiKeyAuth": []
  5417. }
  5418. ],
  5419. "produces": [
  5420. "application/json"
  5421. ],
  5422. "tags": [
  5423. "定制【海商报业】"
  5424. ],
  5425. "summary": "查询特卖商品列表(三级商城)",
  5426. "parameters": [
  5427. {
  5428. "type": "integer",
  5429. "description": "页码",
  5430. "name": "page",
  5431. "in": "query"
  5432. },
  5433. {
  5434. "type": "integer",
  5435. "description": "每页条数",
  5436. "name": "pagesize",
  5437. "in": "query"
  5438. },
  5439. {
  5440. "type": "string",
  5441. "description": "市场ID列表,格式:1,2,3",
  5442. "name": "marketIDs",
  5443. "in": "query",
  5444. "required": true
  5445. },
  5446. {
  5447. "type": "integer",
  5448. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5449. "name": "accountID",
  5450. "in": "query",
  5451. "required": true
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "类别ID",
  5456. "name": "categoryID",
  5457. "in": "query"
  5458. },
  5459. {
  5460. "type": "string",
  5461. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5462. "name": "goodsIDs",
  5463. "in": "query"
  5464. },
  5465. {
  5466. "type": "integer",
  5467. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5468. "name": "couponTypeID",
  5469. "in": "query"
  5470. }
  5471. ],
  5472. "responses": {
  5473. "200": {
  5474. "description": "OK",
  5475. "schema": {
  5476. "$ref": "#/definitions/models.HsbyMarketGoods"
  5477. }
  5478. },
  5479. "500": {
  5480. "description": "Internal Server Error",
  5481. "schema": {
  5482. "$ref": "#/definitions/app.Response"
  5483. }
  5484. }
  5485. }
  5486. }
  5487. },
  5488. "/HSBY/QueryHsbyMarkets": {
  5489. "get": {
  5490. "security": [
  5491. {
  5492. "ApiKeyAuth": []
  5493. }
  5494. ],
  5495. "produces": [
  5496. "application/json"
  5497. ],
  5498. "tags": [
  5499. "定制【海商报业】"
  5500. ],
  5501. "summary": "查询海商报业相关市场信息",
  5502. "responses": {
  5503. "200": {
  5504. "description": "OK",
  5505. "schema": {
  5506. "$ref": "#/definitions/models.HsbyMarketInfo"
  5507. }
  5508. },
  5509. "500": {
  5510. "description": "Internal Server Error",
  5511. "schema": {
  5512. "$ref": "#/definitions/app.Response"
  5513. }
  5514. }
  5515. }
  5516. }
  5517. },
  5518. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5519. "get": {
  5520. "security": [
  5521. {
  5522. "ApiKeyAuth": []
  5523. }
  5524. ],
  5525. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5526. "produces": [
  5527. "application/json"
  5528. ],
  5529. "tags": [
  5530. "定制【海商报业】"
  5531. ],
  5532. "summary": "查询“我的订单”信息",
  5533. "parameters": [
  5534. {
  5535. "type": "string",
  5536. "description": "资金账户列表,格式:1,2,3",
  5537. "name": "accountIDs",
  5538. "in": "query",
  5539. "required": true
  5540. }
  5541. ],
  5542. "responses": {
  5543. "200": {
  5544. "description": "OK",
  5545. "schema": {
  5546. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5547. }
  5548. },
  5549. "500": {
  5550. "description": "Internal Server Error",
  5551. "schema": {
  5552. "$ref": "#/definitions/app.Response"
  5553. }
  5554. }
  5555. }
  5556. }
  5557. },
  5558. "/HSBY/QueryHsbyMyGoods": {
  5559. "get": {
  5560. "security": [
  5561. {
  5562. "ApiKeyAuth": []
  5563. }
  5564. ],
  5565. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5566. "produces": [
  5567. "application/json"
  5568. ],
  5569. "tags": [
  5570. "定制【海商报业】"
  5571. ],
  5572. "summary": "查询“我的商品”信息",
  5573. "parameters": [
  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.HsbyMyGoods"
  5587. }
  5588. },
  5589. "500": {
  5590. "description": "Internal Server Error",
  5591. "schema": {
  5592. "$ref": "#/definitions/app.Response"
  5593. }
  5594. }
  5595. }
  5596. }
  5597. },
  5598. "/HSBY/QueryHsbyMyPackages": {
  5599. "get": {
  5600. "security": [
  5601. {
  5602. "ApiKeyAuth": []
  5603. }
  5604. ],
  5605. "produces": [
  5606. "application/json"
  5607. ],
  5608. "tags": [
  5609. "定制【海商报业】"
  5610. ],
  5611. "summary": "查询我的包裹信息",
  5612. "parameters": [
  5613. {
  5614. "type": "string",
  5615. "description": "资金账户列表,格式:1,2,3",
  5616. "name": "accountIDs",
  5617. "in": "query",
  5618. "required": true
  5619. },
  5620. {
  5621. "type": "integer",
  5622. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5623. "name": "takeOrderStatus",
  5624. "in": "query"
  5625. }
  5626. ],
  5627. "responses": {
  5628. "200": {
  5629. "description": "OK",
  5630. "schema": {
  5631. "$ref": "#/definitions/models.HsbyMyPackage"
  5632. }
  5633. },
  5634. "500": {
  5635. "description": "Internal Server Error",
  5636. "schema": {
  5637. "$ref": "#/definitions/app.Response"
  5638. }
  5639. }
  5640. }
  5641. }
  5642. },
  5643. "/HSBY/QueryHsbyPreGoodsDetail": {
  5644. "get": {
  5645. "security": [
  5646. {
  5647. "ApiKeyAuth": []
  5648. }
  5649. ],
  5650. "produces": [
  5651. "application/json"
  5652. ],
  5653. "tags": [
  5654. "定制【海商报业】"
  5655. ],
  5656. "summary": "查询一级市场(预售)商品信息详情",
  5657. "parameters": [
  5658. {
  5659. "type": "integer",
  5660. "description": "商品ID",
  5661. "name": "goodsID",
  5662. "in": "query",
  5663. "required": true
  5664. },
  5665. {
  5666. "type": "integer",
  5667. "description": "资金账户,主要用于获取预售商品购买上限",
  5668. "name": "accountID",
  5669. "in": "query"
  5670. }
  5671. ],
  5672. "responses": {
  5673. "200": {
  5674. "description": "OK",
  5675. "schema": {
  5676. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5677. }
  5678. },
  5679. "500": {
  5680. "description": "Internal Server Error",
  5681. "schema": {
  5682. "$ref": "#/definitions/app.Response"
  5683. }
  5684. }
  5685. }
  5686. }
  5687. },
  5688. "/HSBY/QueryHsbyPreGoodses": {
  5689. "get": {
  5690. "security": [
  5691. {
  5692. "ApiKeyAuth": []
  5693. }
  5694. ],
  5695. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5696. "produces": [
  5697. "application/json"
  5698. ],
  5699. "tags": [
  5700. "定制【海商报业】"
  5701. ],
  5702. "summary": "查询新品上市商品列表(一级市场预售)",
  5703. "parameters": [
  5704. {
  5705. "type": "integer",
  5706. "description": "页码",
  5707. "name": "page",
  5708. "in": "query"
  5709. },
  5710. {
  5711. "type": "integer",
  5712. "description": "每页条数",
  5713. "name": "pagesize",
  5714. "in": "query"
  5715. },
  5716. {
  5717. "type": "string",
  5718. "description": "市场ID列表,格式:1,2,3",
  5719. "name": "marketIDs",
  5720. "in": "query",
  5721. "required": true
  5722. },
  5723. {
  5724. "type": "integer",
  5725. "description": "目的地(省)ID",
  5726. "name": "descProvinceID",
  5727. "in": "query"
  5728. },
  5729. {
  5730. "type": "integer",
  5731. "description": "目的地(市)ID",
  5732. "name": "descCityID",
  5733. "in": "query"
  5734. }
  5735. ],
  5736. "responses": {
  5737. "200": {
  5738. "description": "OK",
  5739. "schema": {
  5740. "$ref": "#/definitions/models.HsbyPreGoods"
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/HSBY/QueryHsbySellMyDetails": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5760. "produces": [
  5761. "application/json"
  5762. ],
  5763. "tags": [
  5764. "定制【海商报业】"
  5765. ],
  5766. "summary": "查询\"我的闲置\"单据信息",
  5767. "parameters": [
  5768. {
  5769. "type": "integer",
  5770. "description": "页码",
  5771. "name": "page",
  5772. "in": "query"
  5773. },
  5774. {
  5775. "type": "integer",
  5776. "description": "每页条数",
  5777. "name": "pagesize",
  5778. "in": "query"
  5779. },
  5780. {
  5781. "type": "string",
  5782. "description": "资金账户列表,格式:1,2,3",
  5783. "name": "accountIDs",
  5784. "in": "query",
  5785. "required": true
  5786. },
  5787. {
  5788. "type": "integer",
  5789. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5790. "name": "orderType",
  5791. "in": "query"
  5792. }
  5793. ],
  5794. "responses": {
  5795. "200": {
  5796. "description": "OK",
  5797. "schema": {
  5798. "$ref": "#/definitions/models.HsbySellMyDetail"
  5799. }
  5800. },
  5801. "500": {
  5802. "description": "Internal Server Error",
  5803. "schema": {
  5804. "$ref": "#/definitions/app.Response"
  5805. }
  5806. }
  5807. }
  5808. }
  5809. },
  5810. "/HSBY/QueryHsbyTopGoodses": {
  5811. "get": {
  5812. "security": [
  5813. {
  5814. "ApiKeyAuth": []
  5815. }
  5816. ],
  5817. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5818. "produces": [
  5819. "application/json"
  5820. ],
  5821. "tags": [
  5822. "定制【海商报业】"
  5823. ],
  5824. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5825. "parameters": [
  5826. {
  5827. "type": "integer",
  5828. "description": "页码",
  5829. "name": "page",
  5830. "in": "query"
  5831. },
  5832. {
  5833. "type": "integer",
  5834. "description": "每页条数",
  5835. "name": "pagesize",
  5836. "in": "query"
  5837. },
  5838. {
  5839. "type": "string",
  5840. "description": "市场ID列表,格式:1,2,3",
  5841. "name": "marketIDs",
  5842. "in": "query",
  5843. "required": true
  5844. },
  5845. {
  5846. "type": "integer",
  5847. "description": "目的地(省)ID",
  5848. "name": "descProvinceID",
  5849. "in": "query"
  5850. },
  5851. {
  5852. "type": "integer",
  5853. "description": "目的地(市)ID",
  5854. "name": "descCityID",
  5855. "in": "query"
  5856. }
  5857. ],
  5858. "responses": {
  5859. "200": {
  5860. "description": "OK",
  5861. "schema": {
  5862. "$ref": "#/definitions/models.HsbyTopGoods"
  5863. }
  5864. },
  5865. "500": {
  5866. "description": "Internal Server Error",
  5867. "schema": {
  5868. "$ref": "#/definitions/app.Response"
  5869. }
  5870. }
  5871. }
  5872. }
  5873. },
  5874. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5875. "get": {
  5876. "security": [
  5877. {
  5878. "ApiKeyAuth": []
  5879. }
  5880. ],
  5881. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5882. "produces": [
  5883. "application/json"
  5884. ],
  5885. "tags": [
  5886. "定制【海商报业】"
  5887. ],
  5888. "summary": "查询游客三级市场(商城)商品信息详情",
  5889. "parameters": [
  5890. {
  5891. "type": "integer",
  5892. "description": "商品ID",
  5893. "name": "goodsID",
  5894. "in": "query",
  5895. "required": true
  5896. }
  5897. ],
  5898. "responses": {
  5899. "200": {
  5900. "description": "OK",
  5901. "schema": {
  5902. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5903. }
  5904. },
  5905. "500": {
  5906. "description": "Internal Server Error",
  5907. "schema": {
  5908. "$ref": "#/definitions/app.Response"
  5909. }
  5910. }
  5911. }
  5912. }
  5913. },
  5914. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5915. "get": {
  5916. "security": [
  5917. {
  5918. "ApiKeyAuth": []
  5919. }
  5920. ],
  5921. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5922. "produces": [
  5923. "application/json"
  5924. ],
  5925. "tags": [
  5926. "定制【海商报业】"
  5927. ],
  5928. "summary": "查询游客特卖商品列表(三级商城)",
  5929. "parameters": [
  5930. {
  5931. "type": "integer",
  5932. "description": "页码",
  5933. "name": "page",
  5934. "in": "query"
  5935. },
  5936. {
  5937. "type": "integer",
  5938. "description": "每页条数",
  5939. "name": "pagesize",
  5940. "in": "query"
  5941. },
  5942. {
  5943. "type": "string",
  5944. "description": "市场ID列表,格式:1,2,3",
  5945. "name": "marketIDs",
  5946. "in": "query",
  5947. "required": true
  5948. },
  5949. {
  5950. "type": "integer",
  5951. "description": "类别ID",
  5952. "name": "categoryID",
  5953. "in": "query"
  5954. },
  5955. {
  5956. "type": "string",
  5957. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5958. "name": "goodsIDs",
  5959. "in": "query"
  5960. }
  5961. ],
  5962. "responses": {
  5963. "200": {
  5964. "description": "OK",
  5965. "schema": {
  5966. "$ref": "#/definitions/models.HsbyMarketGoods"
  5967. }
  5968. },
  5969. "500": {
  5970. "description": "Internal Server Error",
  5971. "schema": {
  5972. "$ref": "#/definitions/app.Response"
  5973. }
  5974. }
  5975. }
  5976. }
  5977. },
  5978. "/HSBY/QueryMyCollectionOrders": {
  5979. "get": {
  5980. "security": [
  5981. {
  5982. "ApiKeyAuth": []
  5983. }
  5984. ],
  5985. "produces": [
  5986. "application/json"
  5987. ],
  5988. "tags": [
  5989. "定制【海商报业】"
  5990. ],
  5991. "summary": "我的闲置中收款信息查询",
  5992. "parameters": [
  5993. {
  5994. "type": "integer",
  5995. "description": "页码",
  5996. "name": "page",
  5997. "in": "query"
  5998. },
  5999. {
  6000. "type": "integer",
  6001. "description": "每页条数",
  6002. "name": "pagesize",
  6003. "in": "query"
  6004. },
  6005. {
  6006. "type": "string",
  6007. "description": "资金账户,格式:1,2,3",
  6008. "name": "accountIDs",
  6009. "in": "query",
  6010. "required": true
  6011. }
  6012. ],
  6013. "responses": {
  6014. "200": {
  6015. "description": "OK",
  6016. "schema": {
  6017. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6018. }
  6019. },
  6020. "500": {
  6021. "description": "Internal Server Error",
  6022. "schema": {
  6023. "$ref": "#/definitions/app.Response"
  6024. }
  6025. }
  6026. }
  6027. }
  6028. },
  6029. "/HSBY/QueryMyCouponHolds": {
  6030. "get": {
  6031. "security": [
  6032. {
  6033. "ApiKeyAuth": []
  6034. }
  6035. ],
  6036. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6037. "produces": [
  6038. "application/json"
  6039. ],
  6040. "tags": [
  6041. "定制【海商报业】"
  6042. ],
  6043. "summary": "我的优惠卷持仓查询",
  6044. "parameters": [
  6045. {
  6046. "type": "string",
  6047. "description": "资金账户列表,格式:1,2,3",
  6048. "name": "accountIDs",
  6049. "in": "query",
  6050. "required": true
  6051. },
  6052. {
  6053. "type": "string",
  6054. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6055. "name": "holdStatus",
  6056. "in": "query"
  6057. }
  6058. ],
  6059. "responses": {
  6060. "200": {
  6061. "description": "OK",
  6062. "schema": {
  6063. "$ref": "#/definitions/models.MyCouponHold"
  6064. }
  6065. },
  6066. "500": {
  6067. "description": "Internal Server Error",
  6068. "schema": {
  6069. "$ref": "#/definitions/app.Response"
  6070. }
  6071. }
  6072. }
  6073. }
  6074. },
  6075. "/HSBY/QueryMyCoupons": {
  6076. "get": {
  6077. "security": [
  6078. {
  6079. "ApiKeyAuth": []
  6080. }
  6081. ],
  6082. "produces": [
  6083. "application/json"
  6084. ],
  6085. "tags": [
  6086. "定制【海商报业】"
  6087. ],
  6088. "summary": "我的优惠卷查询",
  6089. "parameters": [
  6090. {
  6091. "type": "string",
  6092. "description": "资金账户列表,格式:1,2,3",
  6093. "name": "accountIDs",
  6094. "in": "query",
  6095. "required": true
  6096. },
  6097. {
  6098. "type": "integer",
  6099. "description": "商品ID, 一般与sellUserID配套传入",
  6100. "name": "goodsID",
  6101. "in": "query"
  6102. },
  6103. {
  6104. "type": "integer",
  6105. "description": "卖方UserID",
  6106. "name": "sellUserID",
  6107. "in": "query"
  6108. }
  6109. ],
  6110. "responses": {
  6111. "200": {
  6112. "description": "OK",
  6113. "schema": {
  6114. "$ref": "#/definitions/models.MyCoupon"
  6115. }
  6116. },
  6117. "500": {
  6118. "description": "Internal Server Error",
  6119. "schema": {
  6120. "$ref": "#/definitions/app.Response"
  6121. }
  6122. }
  6123. }
  6124. }
  6125. },
  6126. "/HSBY/QueryMyPayOrders": {
  6127. "get": {
  6128. "security": [
  6129. {
  6130. "ApiKeyAuth": []
  6131. }
  6132. ],
  6133. "produces": [
  6134. "application/json"
  6135. ],
  6136. "tags": [
  6137. "定制【海商报业】"
  6138. ],
  6139. "summary": "获取我的订单中待付款信息",
  6140. "parameters": [
  6141. {
  6142. "type": "integer",
  6143. "description": "页码",
  6144. "name": "page",
  6145. "in": "query"
  6146. },
  6147. {
  6148. "type": "integer",
  6149. "description": "每页条数",
  6150. "name": "pagesize",
  6151. "in": "query"
  6152. },
  6153. {
  6154. "type": "string",
  6155. "description": "资金账户列表,格式:1,2,3",
  6156. "name": "accountIDs",
  6157. "in": "query",
  6158. "required": true
  6159. },
  6160. {
  6161. "type": "integer",
  6162. "description": "买方委托单号",
  6163. "name": "buyOrderID",
  6164. "in": "query"
  6165. },
  6166. {
  6167. "type": "integer",
  6168. "description": "卖方委托单号",
  6169. "name": "sellOrderID",
  6170. "in": "query"
  6171. }
  6172. ],
  6173. "responses": {
  6174. "200": {
  6175. "description": "OK",
  6176. "schema": {
  6177. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6178. }
  6179. },
  6180. "500": {
  6181. "description": "Internal Server Error",
  6182. "schema": {
  6183. "$ref": "#/definitions/app.Response"
  6184. }
  6185. }
  6186. }
  6187. }
  6188. },
  6189. "/HSBY/QueryMyUsedCoupon": {
  6190. "get": {
  6191. "security": [
  6192. {
  6193. "ApiKeyAuth": []
  6194. }
  6195. ],
  6196. "produces": [
  6197. "application/json"
  6198. ],
  6199. "tags": [
  6200. "定制【海商报业】"
  6201. ],
  6202. "summary": "已使用优惠卷查询",
  6203. "parameters": [
  6204. {
  6205. "type": "string",
  6206. "description": "资金账户列表,格式:1,2,3",
  6207. "name": "accountIDs",
  6208. "in": "query",
  6209. "required": true
  6210. }
  6211. ],
  6212. "responses": {
  6213. "200": {
  6214. "description": "OK",
  6215. "schema": {
  6216. "$ref": "#/definitions/models.MyUsedCoupon"
  6217. }
  6218. },
  6219. "500": {
  6220. "description": "Internal Server Error",
  6221. "schema": {
  6222. "$ref": "#/definitions/app.Response"
  6223. }
  6224. }
  6225. }
  6226. }
  6227. },
  6228. "/HSBY/QueryProvincesAndCities": {
  6229. "get": {
  6230. "security": [
  6231. {
  6232. "ApiKeyAuth": []
  6233. }
  6234. ],
  6235. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6236. "produces": [
  6237. "application/json"
  6238. ],
  6239. "tags": [
  6240. "定制【海商报业】"
  6241. ],
  6242. "summary": "查询省市信息(不包括区)",
  6243. "parameters": [
  6244. {
  6245. "type": "integer",
  6246. "description": "省ID",
  6247. "name": "provinceID",
  6248. "in": "query"
  6249. }
  6250. ],
  6251. "responses": {
  6252. "200": {
  6253. "description": "OK",
  6254. "schema": {
  6255. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6256. }
  6257. },
  6258. "500": {
  6259. "description": "Internal Server Error",
  6260. "schema": {
  6261. "$ref": "#/definitions/app.Response"
  6262. }
  6263. }
  6264. }
  6265. }
  6266. },
  6267. "/HSBY/SetHsbyMyPackagesStatus": {
  6268. "post": {
  6269. "security": [
  6270. {
  6271. "ApiKeyAuth": []
  6272. }
  6273. ],
  6274. "produces": [
  6275. "application/json"
  6276. ],
  6277. "tags": [
  6278. "定制【海商报业】"
  6279. ],
  6280. "summary": "设置我的包裹已收货状态",
  6281. "parameters": [
  6282. {
  6283. "type": "string",
  6284. "description": "提货单号",
  6285. "name": "takeOrderID",
  6286. "in": "query",
  6287. "required": true
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "资金账号",
  6292. "name": "accountID",
  6293. "in": "query",
  6294. "required": true
  6295. }
  6296. ],
  6297. "responses": {
  6298. "200": {
  6299. "description": "OK",
  6300. "schema": {
  6301. "$ref": "#/definitions/app.Response"
  6302. }
  6303. },
  6304. "500": {
  6305. "description": "Internal Server Error",
  6306. "schema": {
  6307. "$ref": "#/definitions/app.Response"
  6308. }
  6309. }
  6310. }
  6311. }
  6312. },
  6313. "/Market/QueryGoodsesByLoginID": {
  6314. "get": {
  6315. "security": [
  6316. {
  6317. "ApiKeyAuth": []
  6318. }
  6319. ],
  6320. "produces": [
  6321. "application/json"
  6322. ],
  6323. "tags": [
  6324. "通用市场"
  6325. ],
  6326. "summary": "获取登录账号有权限的商品信息",
  6327. "parameters": [
  6328. {
  6329. "type": "integer",
  6330. "description": "登录账号",
  6331. "name": "loginID",
  6332. "in": "query",
  6333. "required": true
  6334. },
  6335. {
  6336. "type": "string",
  6337. "description": "市场ID列表,格式:1,2,3",
  6338. "name": "marketIDs",
  6339. "in": "query"
  6340. }
  6341. ],
  6342. "responses": {
  6343. "200": {
  6344. "description": "OK",
  6345. "schema": {
  6346. "$ref": "#/definitions/models.Goods"
  6347. }
  6348. },
  6349. "500": {
  6350. "description": "Internal Server Error",
  6351. "schema": {
  6352. "$ref": "#/definitions/app.Response"
  6353. }
  6354. }
  6355. }
  6356. }
  6357. },
  6358. "/Market/QueryMarketRun": {
  6359. "get": {
  6360. "security": [
  6361. {
  6362. "ApiKeyAuth": []
  6363. }
  6364. ],
  6365. "produces": [
  6366. "application/json"
  6367. ],
  6368. "tags": [
  6369. "通用市场"
  6370. ],
  6371. "summary": "查询市场运行信息",
  6372. "parameters": [
  6373. {
  6374. "type": "integer",
  6375. "description": "市场ID,不传返回所有",
  6376. "name": "marketID",
  6377. "in": "query"
  6378. }
  6379. ],
  6380. "responses": {
  6381. "200": {
  6382. "description": "OK",
  6383. "schema": {
  6384. "$ref": "#/definitions/models.Marketrun"
  6385. }
  6386. },
  6387. "500": {
  6388. "description": "Internal Server Error",
  6389. "schema": {
  6390. "$ref": "#/definitions/app.Response"
  6391. }
  6392. }
  6393. }
  6394. }
  6395. },
  6396. "/Market/QueryMarketsByLoginID": {
  6397. "get": {
  6398. "security": [
  6399. {
  6400. "ApiKeyAuth": []
  6401. }
  6402. ],
  6403. "produces": [
  6404. "application/json"
  6405. ],
  6406. "tags": [
  6407. "通用市场"
  6408. ],
  6409. "summary": "获取登录账号有权限的市场信息",
  6410. "parameters": [
  6411. {
  6412. "type": "integer",
  6413. "description": "登录账号",
  6414. "name": "loginID",
  6415. "in": "query",
  6416. "required": true
  6417. }
  6418. ],
  6419. "responses": {
  6420. "200": {
  6421. "description": "OK",
  6422. "schema": {
  6423. "$ref": "#/definitions/models.Market"
  6424. }
  6425. },
  6426. "500": {
  6427. "description": "Internal Server Error",
  6428. "schema": {
  6429. "$ref": "#/definitions/app.Response"
  6430. }
  6431. }
  6432. }
  6433. }
  6434. },
  6435. "/Order/QueryHisTradeDetail": {
  6436. "get": {
  6437. "security": [
  6438. {
  6439. "ApiKeyAuth": []
  6440. }
  6441. ],
  6442. "produces": [
  6443. "application/json"
  6444. ],
  6445. "tags": [
  6446. "通用单据"
  6447. ],
  6448. "summary": "历史成交单查询(合约市场)",
  6449. "parameters": [
  6450. {
  6451. "type": "string",
  6452. "description": "资金账户 - 格式:1,2,3",
  6453. "name": "accountID",
  6454. "in": "query",
  6455. "required": true
  6456. },
  6457. {
  6458. "type": "integer",
  6459. "description": "成交单号",
  6460. "name": "tradeID",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "integer",
  6465. "description": "委托单号",
  6466. "name": "orderID",
  6467. "in": "query"
  6468. },
  6469. {
  6470. "type": "string",
  6471. "description": "交易模式 - 格式:1,2,3",
  6472. "name": "tradeMode",
  6473. "in": "query"
  6474. },
  6475. {
  6476. "type": "integer",
  6477. "description": "委托单据类型",
  6478. "name": "buildType",
  6479. "in": "query"
  6480. },
  6481. {
  6482. "type": "string",
  6483. "description": "成交类别 - 格式:1,2,3",
  6484. "name": "tradeType",
  6485. "in": "query"
  6486. },
  6487. {
  6488. "type": "string",
  6489. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6490. "name": "startDate",
  6491. "in": "query"
  6492. },
  6493. {
  6494. "type": "string",
  6495. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6496. "name": "endDate",
  6497. "in": "query"
  6498. }
  6499. ],
  6500. "responses": {
  6501. "200": {
  6502. "description": "OK",
  6503. "schema": {
  6504. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6505. }
  6506. },
  6507. "500": {
  6508. "description": "Internal Server Error",
  6509. "schema": {
  6510. "$ref": "#/definitions/app.Response"
  6511. }
  6512. }
  6513. }
  6514. }
  6515. },
  6516. "/Order/QueryHisTradeOrderDetail": {
  6517. "get": {
  6518. "security": [
  6519. {
  6520. "ApiKeyAuth": []
  6521. }
  6522. ],
  6523. "produces": [
  6524. "application/json"
  6525. ],
  6526. "tags": [
  6527. "通用单据"
  6528. ],
  6529. "summary": "历史委托单查询请求(合约市场)",
  6530. "parameters": [
  6531. {
  6532. "type": "string",
  6533. "description": "资金账户 - 格式:1,2,3",
  6534. "name": "accountID",
  6535. "in": "query",
  6536. "required": true
  6537. },
  6538. {
  6539. "type": "string",
  6540. "description": "交易模式 - 格式:1,2,3",
  6541. "name": "tradeMode",
  6542. "in": "query"
  6543. },
  6544. {
  6545. "type": "string",
  6546. "description": "委托状态 - 格式:1,2,3",
  6547. "name": "orderStatus",
  6548. "in": "query"
  6549. },
  6550. {
  6551. "type": "integer",
  6552. "description": "委托单号",
  6553. "name": "orderID",
  6554. "in": "query"
  6555. },
  6556. {
  6557. "type": "string",
  6558. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6559. "name": "startDate",
  6560. "in": "query"
  6561. },
  6562. {
  6563. "type": "string",
  6564. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6565. "name": "endDate",
  6566. "in": "query"
  6567. }
  6568. ],
  6569. "responses": {
  6570. "200": {
  6571. "description": "OK",
  6572. "schema": {
  6573. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6574. }
  6575. },
  6576. "500": {
  6577. "description": "Internal Server Error",
  6578. "schema": {
  6579. "$ref": "#/definitions/app.Response"
  6580. }
  6581. }
  6582. }
  6583. }
  6584. },
  6585. "/Order/QueryTradeDetail": {
  6586. "get": {
  6587. "security": [
  6588. {
  6589. "ApiKeyAuth": []
  6590. }
  6591. ],
  6592. "produces": [
  6593. "application/json"
  6594. ],
  6595. "tags": [
  6596. "通用单据"
  6597. ],
  6598. "summary": "成交单查询(合约市场)",
  6599. "parameters": [
  6600. {
  6601. "type": "string",
  6602. "description": "资金账户 - 格式:1,2,3",
  6603. "name": "accountID",
  6604. "in": "query",
  6605. "required": true
  6606. },
  6607. {
  6608. "type": "integer",
  6609. "description": "成交单号",
  6610. "name": "tradeID",
  6611. "in": "query"
  6612. },
  6613. {
  6614. "type": "integer",
  6615. "description": "委托单号",
  6616. "name": "orderID",
  6617. "in": "query"
  6618. },
  6619. {
  6620. "type": "string",
  6621. "description": "交易模式 - 格式:1,2,3",
  6622. "name": "tradeMode",
  6623. "in": "query"
  6624. },
  6625. {
  6626. "type": "integer",
  6627. "description": "委托单据类型",
  6628. "name": "buildType",
  6629. "in": "query"
  6630. },
  6631. {
  6632. "type": "string",
  6633. "description": "成交类别 - 格式:1,2,3",
  6634. "name": "tradeType",
  6635. "in": "query"
  6636. }
  6637. ],
  6638. "responses": {
  6639. "200": {
  6640. "description": "OK",
  6641. "schema": {
  6642. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6643. }
  6644. },
  6645. "500": {
  6646. "description": "Internal Server Error",
  6647. "schema": {
  6648. "$ref": "#/definitions/app.Response"
  6649. }
  6650. }
  6651. }
  6652. }
  6653. },
  6654. "/Order/QueryTradeOrderDetail": {
  6655. "get": {
  6656. "security": [
  6657. {
  6658. "ApiKeyAuth": []
  6659. }
  6660. ],
  6661. "produces": [
  6662. "application/json"
  6663. ],
  6664. "tags": [
  6665. "通用单据"
  6666. ],
  6667. "summary": "委托单查询请求(合约市场)",
  6668. "parameters": [
  6669. {
  6670. "type": "string",
  6671. "description": "资金账户 - 格式:1,2,3",
  6672. "name": "accountID",
  6673. "in": "query",
  6674. "required": true
  6675. },
  6676. {
  6677. "type": "string",
  6678. "description": "交易模式 - 格式:1,2,3",
  6679. "name": "tradeMode",
  6680. "in": "query"
  6681. },
  6682. {
  6683. "type": "string",
  6684. "description": "委托状态 - 格式:1,2,3",
  6685. "name": "orderStatus",
  6686. "in": "query"
  6687. },
  6688. {
  6689. "type": "integer",
  6690. "description": "委托单号",
  6691. "name": "orderID",
  6692. "in": "query"
  6693. }
  6694. ],
  6695. "responses": {
  6696. "200": {
  6697. "description": "OK",
  6698. "schema": {
  6699. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6700. }
  6701. },
  6702. "500": {
  6703. "description": "Internal Server Error",
  6704. "schema": {
  6705. "$ref": "#/definitions/app.Response"
  6706. }
  6707. }
  6708. }
  6709. }
  6710. },
  6711. "/Order/QueryTradePosition": {
  6712. "get": {
  6713. "security": [
  6714. {
  6715. "ApiKeyAuth": []
  6716. }
  6717. ],
  6718. "produces": [
  6719. "application/json"
  6720. ],
  6721. "tags": [
  6722. "通用单据"
  6723. ],
  6724. "summary": "持仓汇总查询(合约市场)",
  6725. "parameters": [
  6726. {
  6727. "type": "string",
  6728. "description": "资金账户 - 格式:1,2,3",
  6729. "name": "accountID",
  6730. "in": "query",
  6731. "required": true
  6732. },
  6733. {
  6734. "type": "string",
  6735. "description": "交易模式 - 格式:1,2,3",
  6736. "name": "tradeMode",
  6737. "in": "query"
  6738. }
  6739. ],
  6740. "responses": {
  6741. "200": {
  6742. "description": "OK",
  6743. "schema": {
  6744. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6745. }
  6746. },
  6747. "500": {
  6748. "description": "Internal Server Error",
  6749. "schema": {
  6750. "$ref": "#/definitions/app.Response"
  6751. }
  6752. }
  6753. }
  6754. }
  6755. },
  6756. "/Quote/QueryHistoryDatas": {
  6757. "get": {
  6758. "security": [
  6759. {
  6760. "ApiKeyAuth": []
  6761. }
  6762. ],
  6763. "produces": [
  6764. "application/json"
  6765. ],
  6766. "tags": [
  6767. "行情服务"
  6768. ],
  6769. "summary": "查询行情历史数据",
  6770. "parameters": [
  6771. {
  6772. "type": "integer",
  6773. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6774. "name": "cycleType",
  6775. "in": "query",
  6776. "required": true
  6777. },
  6778. {
  6779. "type": "string",
  6780. "description": "商品代码",
  6781. "name": "goodsCode",
  6782. "in": "query",
  6783. "required": true
  6784. },
  6785. {
  6786. "type": "string",
  6787. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6788. "name": "startTime",
  6789. "in": "query"
  6790. },
  6791. {
  6792. "type": "string",
  6793. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6794. "name": "endTime",
  6795. "in": "query"
  6796. },
  6797. {
  6798. "type": "integer",
  6799. "description": "条数",
  6800. "name": "count",
  6801. "in": "query"
  6802. },
  6803. {
  6804. "type": "boolean",
  6805. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6806. "name": "isAsc",
  6807. "in": "query"
  6808. }
  6809. ],
  6810. "responses": {
  6811. "200": {
  6812. "description": "OK",
  6813. "schema": {
  6814. "$ref": "#/definitions/quote.HistoryData"
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/Quote/QueryHistoryTikDatas": {
  6827. "get": {
  6828. "security": [
  6829. {
  6830. "ApiKeyAuth": []
  6831. }
  6832. ],
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "行情服务"
  6838. ],
  6839. "summary": "查询行情Tik数据",
  6840. "parameters": [
  6841. {
  6842. "type": "string",
  6843. "description": "商品代码",
  6844. "name": "goodsCode",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "string",
  6850. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6851. "name": "startTime",
  6852. "in": "query"
  6853. },
  6854. {
  6855. "type": "string",
  6856. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6857. "name": "endTime",
  6858. "in": "query"
  6859. },
  6860. {
  6861. "type": "integer",
  6862. "description": "条数",
  6863. "name": "count",
  6864. "in": "query"
  6865. },
  6866. {
  6867. "type": "boolean",
  6868. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6869. "name": "isAsc",
  6870. "in": "query"
  6871. }
  6872. ],
  6873. "responses": {
  6874. "200": {
  6875. "description": "OK",
  6876. "schema": {
  6877. "$ref": "#/definitions/quote.HistoryTikData"
  6878. }
  6879. },
  6880. "500": {
  6881. "description": "Internal Server Error",
  6882. "schema": {
  6883. "$ref": "#/definitions/app.Response"
  6884. }
  6885. }
  6886. }
  6887. }
  6888. },
  6889. "/Quote/QueryQuoteDay": {
  6890. "get": {
  6891. "security": [
  6892. {
  6893. "ApiKeyAuth": []
  6894. }
  6895. ],
  6896. "produces": [
  6897. "application/json"
  6898. ],
  6899. "tags": [
  6900. "行情服务"
  6901. ],
  6902. "summary": "获取商品盘面信息",
  6903. "parameters": [
  6904. {
  6905. "type": "string",
  6906. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6907. "name": "goodsCodes",
  6908. "in": "query",
  6909. "required": true
  6910. }
  6911. ],
  6912. "responses": {
  6913. "200": {
  6914. "description": "OK",
  6915. "schema": {
  6916. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6917. }
  6918. },
  6919. "500": {
  6920. "description": "Internal Server Error",
  6921. "schema": {
  6922. "$ref": "#/definitions/app.Response"
  6923. }
  6924. }
  6925. }
  6926. }
  6927. },
  6928. "/Quote/QueryTSData": {
  6929. "get": {
  6930. "security": [
  6931. {
  6932. "ApiKeyAuth": []
  6933. }
  6934. ],
  6935. "produces": [
  6936. "application/json"
  6937. ],
  6938. "tags": [
  6939. "行情服务"
  6940. ],
  6941. "summary": "分时图数据查询",
  6942. "parameters": [
  6943. {
  6944. "type": "string",
  6945. "description": "商品代码",
  6946. "name": "goodsCode",
  6947. "in": "query",
  6948. "required": true
  6949. }
  6950. ],
  6951. "responses": {
  6952. "200": {
  6953. "description": "OK",
  6954. "schema": {
  6955. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6956. }
  6957. },
  6958. "500": {
  6959. "description": "Internal Server Error",
  6960. "schema": {
  6961. "$ref": "#/definitions/app.Response"
  6962. }
  6963. }
  6964. }
  6965. }
  6966. },
  6967. "/SZDZ/QueryConvertConfig": {
  6968. "get": {
  6969. "security": [
  6970. {
  6971. "ApiKeyAuth": []
  6972. }
  6973. ],
  6974. "produces": [
  6975. "application/json"
  6976. ],
  6977. "tags": [
  6978. "定制【尚志大宗】"
  6979. ],
  6980. "summary": "查询交易系统转换设置",
  6981. "parameters": [
  6982. {
  6983. "type": "integer",
  6984. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6985. "name": "convertType",
  6986. "in": "query"
  6987. },
  6988. {
  6989. "type": "string",
  6990. "description": "外部商品代码[JD\\PD]",
  6991. "name": "outerGoodsCode",
  6992. "in": "query"
  6993. },
  6994. {
  6995. "type": "string",
  6996. "description": "内部商品ID列表[交易],格式:1,2,3",
  6997. "name": "innerGoodsIDs",
  6998. "in": "query"
  6999. }
  7000. ],
  7001. "responses": {
  7002. "200": {
  7003. "description": "OK",
  7004. "schema": {
  7005. "$ref": "#/definitions/models.Szdz3convertconfig"
  7006. }
  7007. },
  7008. "500": {
  7009. "description": "Internal Server Error",
  7010. "schema": {
  7011. "$ref": "#/definitions/app.Response"
  7012. }
  7013. }
  7014. }
  7015. }
  7016. },
  7017. "/SZDZ/QueryConvertLog": {
  7018. "get": {
  7019. "security": [
  7020. {
  7021. "ApiKeyAuth": []
  7022. }
  7023. ],
  7024. "produces": [
  7025. "application/json"
  7026. ],
  7027. "tags": [
  7028. "定制【尚志大宗】"
  7029. ],
  7030. "summary": "交易系统转换流水查询",
  7031. "parameters": [
  7032. {
  7033. "type": "string",
  7034. "description": "资金账户 - 格式:1,2,3",
  7035. "name": "accountID",
  7036. "in": "query",
  7037. "required": true
  7038. },
  7039. {
  7040. "type": "string",
  7041. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7042. "name": "startDate",
  7043. "in": "query"
  7044. },
  7045. {
  7046. "type": "string",
  7047. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7048. "name": "endDate",
  7049. "in": "query"
  7050. }
  7051. ],
  7052. "responses": {
  7053. "200": {
  7054. "description": "OK",
  7055. "schema": {
  7056. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7057. }
  7058. },
  7059. "500": {
  7060. "description": "Internal Server Error",
  7061. "schema": {
  7062. "$ref": "#/definitions/app.Response"
  7063. }
  7064. }
  7065. }
  7066. }
  7067. },
  7068. "/SZDZ/QueryGoodsPickup": {
  7069. "get": {
  7070. "security": [
  7071. {
  7072. "ApiKeyAuth": []
  7073. }
  7074. ],
  7075. "produces": [
  7076. "application/json"
  7077. ],
  7078. "tags": [
  7079. "定制【尚志大宗】"
  7080. ],
  7081. "summary": "商品提货单查询",
  7082. "parameters": [
  7083. {
  7084. "type": "string",
  7085. "description": "资金账户 - 格式:1,2,3",
  7086. "name": "accountID",
  7087. "in": "query",
  7088. "required": true
  7089. },
  7090. {
  7091. "type": "integer",
  7092. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7093. "name": "takeOrderStatus",
  7094. "in": "query"
  7095. }
  7096. ],
  7097. "responses": {
  7098. "200": {
  7099. "description": "OK",
  7100. "schema": {
  7101. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7102. }
  7103. },
  7104. "500": {
  7105. "description": "Internal Server Error",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. }
  7110. }
  7111. }
  7112. },
  7113. "/SZDZ/QueryRecieptOrder": {
  7114. "get": {
  7115. "security": [
  7116. {
  7117. "ApiKeyAuth": []
  7118. }
  7119. ],
  7120. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7121. "produces": [
  7122. "application/json"
  7123. ],
  7124. "tags": [
  7125. "定制【尚志大宗】"
  7126. ],
  7127. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7128. "parameters": [
  7129. {
  7130. "type": "integer",
  7131. "description": "页码",
  7132. "name": "page",
  7133. "in": "query"
  7134. },
  7135. {
  7136. "type": "integer",
  7137. "description": "每页条数",
  7138. "name": "pagesize",
  7139. "in": "query"
  7140. },
  7141. {
  7142. "type": "integer",
  7143. "description": "商品ID",
  7144. "name": "goodsID",
  7145. "in": "query",
  7146. "required": true
  7147. },
  7148. {
  7149. "type": "string",
  7150. "description": "所属账户名称",
  7151. "name": "accountName",
  7152. "in": "query"
  7153. },
  7154. {
  7155. "type": "integer",
  7156. "description": "市场ID",
  7157. "name": "marketID",
  7158. "in": "query"
  7159. },
  7160. {
  7161. "type": "integer",
  7162. "description": "方向 - 0:买 1:卖",
  7163. "name": "buyorsell",
  7164. "in": "query",
  7165. "required": true
  7166. }
  7167. ],
  7168. "responses": {
  7169. "200": {
  7170. "description": "OK",
  7171. "schema": {
  7172. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7173. }
  7174. },
  7175. "500": {
  7176. "description": "Internal Server Error",
  7177. "schema": {
  7178. "$ref": "#/definitions/app.Response"
  7179. }
  7180. }
  7181. }
  7182. }
  7183. },
  7184. "/SZDZ/QuerySZDZTradePosition": {
  7185. "get": {
  7186. "security": [
  7187. {
  7188. "ApiKeyAuth": []
  7189. }
  7190. ],
  7191. "produces": [
  7192. "application/json"
  7193. ],
  7194. "tags": [
  7195. "定制【尚志大宗】"
  7196. ],
  7197. "summary": "持仓汇总查询(尚志大宗)",
  7198. "parameters": [
  7199. {
  7200. "type": "integer",
  7201. "description": "资金账户",
  7202. "name": "accountID",
  7203. "in": "query",
  7204. "required": true
  7205. }
  7206. ],
  7207. "responses": {
  7208. "200": {
  7209. "description": "OK",
  7210. "schema": {
  7211. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7212. }
  7213. },
  7214. "500": {
  7215. "description": "Internal Server Error",
  7216. "schema": {
  7217. "$ref": "#/definitions/app.Response"
  7218. }
  7219. }
  7220. }
  7221. }
  7222. },
  7223. "/SZDZ/SearchWhite": {
  7224. "get": {
  7225. "security": [
  7226. {
  7227. "ApiKeyAuth": []
  7228. }
  7229. ],
  7230. "produces": [
  7231. "application/json"
  7232. ],
  7233. "tags": [
  7234. "定制【尚志大宗】"
  7235. ],
  7236. "summary": "搜索白名单",
  7237. "parameters": [
  7238. {
  7239. "type": "integer",
  7240. "description": "用户ID",
  7241. "name": "userID",
  7242. "in": "query",
  7243. "required": true
  7244. }
  7245. ],
  7246. "responses": {
  7247. "200": {
  7248. "description": "OK",
  7249. "schema": {
  7250. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7251. }
  7252. },
  7253. "500": {
  7254. "description": "Internal Server Error",
  7255. "schema": {
  7256. "$ref": "#/definitions/app.Response"
  7257. }
  7258. }
  7259. }
  7260. }
  7261. },
  7262. "/Search/SearchGoodses": {
  7263. "get": {
  7264. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7265. "produces": [
  7266. "application/json"
  7267. ],
  7268. "tags": [
  7269. "检索服务"
  7270. ],
  7271. "summary": "检索商品信息",
  7272. "parameters": [
  7273. {
  7274. "type": "string",
  7275. "description": "检索内容",
  7276. "name": "content",
  7277. "in": "query",
  7278. "required": true
  7279. },
  7280. {
  7281. "type": "string",
  7282. "description": "交易模式,格式:1,2,3",
  7283. "name": "tradeModes",
  7284. "in": "query"
  7285. }
  7286. ],
  7287. "responses": {
  7288. "200": {
  7289. "description": "OK",
  7290. "schema": {
  7291. "$ref": "#/definitions/models.SearchGoods"
  7292. }
  7293. },
  7294. "500": {
  7295. "description": "Internal Server Error",
  7296. "schema": {
  7297. "$ref": "#/definitions/app.Response"
  7298. }
  7299. }
  7300. }
  7301. }
  7302. },
  7303. "/TaAccount/GetTaAccounts": {
  7304. "get": {
  7305. "security": [
  7306. {
  7307. "ApiKeyAuth": []
  7308. }
  7309. ],
  7310. "produces": [
  7311. "application/json"
  7312. ],
  7313. "tags": [
  7314. "资金账户"
  7315. ],
  7316. "summary": "获取资金账户信息",
  7317. "parameters": [
  7318. {
  7319. "type": "integer",
  7320. "description": "登录账户",
  7321. "name": "loginID",
  7322. "in": "query",
  7323. "required": true
  7324. },
  7325. {
  7326. "type": "integer",
  7327. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7328. "name": "taAccountType",
  7329. "in": "query"
  7330. }
  7331. ],
  7332. "responses": {
  7333. "200": {
  7334. "description": "OK",
  7335. "schema": {
  7336. "$ref": "#/definitions/models.Taaccount"
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/TaAccount/QueryAmountLog": {
  7349. "get": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "资金账户"
  7360. ],
  7361. "summary": "资金流水查询(当前)",
  7362. "parameters": [
  7363. {
  7364. "type": "integer",
  7365. "description": "页码",
  7366. "name": "page",
  7367. "in": "query"
  7368. },
  7369. {
  7370. "type": "integer",
  7371. "description": "每页条数",
  7372. "name": "pagesize",
  7373. "in": "query"
  7374. },
  7375. {
  7376. "type": "string",
  7377. "description": "资金账户 - 格式:1,2,3",
  7378. "name": "accountID",
  7379. "in": "query",
  7380. "required": true
  7381. },
  7382. {
  7383. "type": "string",
  7384. "description": "资金操作类型 - 格式:1,2,3",
  7385. "name": "OperateType",
  7386. "in": "query"
  7387. }
  7388. ],
  7389. "responses": {
  7390. "200": {
  7391. "description": "OK",
  7392. "schema": {
  7393. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7394. }
  7395. },
  7396. "500": {
  7397. "description": "Internal Server Error",
  7398. "schema": {
  7399. "$ref": "#/definitions/app.Response"
  7400. }
  7401. }
  7402. }
  7403. }
  7404. },
  7405. "/TaAccount/QueryHisAmountLog": {
  7406. "get": {
  7407. "security": [
  7408. {
  7409. "ApiKeyAuth": []
  7410. }
  7411. ],
  7412. "produces": [
  7413. "application/json"
  7414. ],
  7415. "tags": [
  7416. "资金账户"
  7417. ],
  7418. "summary": "资金流水查询(历史)",
  7419. "parameters": [
  7420. {
  7421. "type": "integer",
  7422. "description": "页码",
  7423. "name": "page",
  7424. "in": "query"
  7425. },
  7426. {
  7427. "type": "integer",
  7428. "description": "每页条数",
  7429. "name": "pagesize",
  7430. "in": "query"
  7431. },
  7432. {
  7433. "type": "string",
  7434. "description": "资金账户 - 格式:1,2,3",
  7435. "name": "accountID",
  7436. "in": "query",
  7437. "required": true
  7438. },
  7439. {
  7440. "type": "string",
  7441. "description": "资金操作类型 - 格式:1,2,3",
  7442. "name": "OperateType",
  7443. "in": "query"
  7444. },
  7445. {
  7446. "type": "string",
  7447. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7448. "name": "startDate",
  7449. "in": "query"
  7450. },
  7451. {
  7452. "type": "string",
  7453. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7454. "name": "endDate",
  7455. "in": "query"
  7456. }
  7457. ],
  7458. "responses": {
  7459. "200": {
  7460. "description": "OK",
  7461. "schema": {
  7462. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7463. }
  7464. },
  7465. "500": {
  7466. "description": "Internal Server Error",
  7467. "schema": {
  7468. "$ref": "#/definitions/app.Response"
  7469. }
  7470. }
  7471. }
  7472. }
  7473. },
  7474. "/Trade/QueryRecieptOrder": {
  7475. "get": {
  7476. "security": [
  7477. {
  7478. "ApiKeyAuth": []
  7479. }
  7480. ],
  7481. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7482. "produces": [
  7483. "application/json"
  7484. ],
  7485. "tags": [
  7486. "通用交易"
  7487. ],
  7488. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7489. "parameters": [
  7490. {
  7491. "type": "integer",
  7492. "description": "页码",
  7493. "name": "page",
  7494. "in": "query"
  7495. },
  7496. {
  7497. "type": "integer",
  7498. "description": "每页条数",
  7499. "name": "pagesize",
  7500. "in": "query"
  7501. },
  7502. {
  7503. "type": "integer",
  7504. "description": "商品ID",
  7505. "name": "goodsID",
  7506. "in": "query",
  7507. "required": true
  7508. },
  7509. {
  7510. "type": "string",
  7511. "description": "所属账户名称",
  7512. "name": "accountName",
  7513. "in": "query"
  7514. },
  7515. {
  7516. "type": "integer",
  7517. "description": "市场ID",
  7518. "name": "marketID",
  7519. "in": "query"
  7520. },
  7521. {
  7522. "type": "integer",
  7523. "description": "方向 - 0:买 1:卖",
  7524. "name": "buyorsell",
  7525. "in": "query",
  7526. "required": true
  7527. }
  7528. ],
  7529. "responses": {
  7530. "200": {
  7531. "description": "OK",
  7532. "schema": {
  7533. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7534. }
  7535. },
  7536. "500": {
  7537. "description": "Internal Server Error",
  7538. "schema": {
  7539. "$ref": "#/definitions/app.Response"
  7540. }
  7541. }
  7542. }
  7543. }
  7544. },
  7545. "/User/AddMessageBoard": {
  7546. "post": {
  7547. "security": [
  7548. {
  7549. "ApiKeyAuth": []
  7550. }
  7551. ],
  7552. "produces": [
  7553. "application/json"
  7554. ],
  7555. "tags": [
  7556. "用户信息"
  7557. ],
  7558. "summary": "添加用户留言板信息",
  7559. "parameters": [
  7560. {
  7561. "type": "integer",
  7562. "description": "用户ID",
  7563. "name": "userID",
  7564. "in": "query",
  7565. "required": true
  7566. },
  7567. {
  7568. "type": "string",
  7569. "description": "留言信息",
  7570. "name": "message",
  7571. "in": "query",
  7572. "required": true
  7573. },
  7574. {
  7575. "type": "string",
  7576. "description": "联系电话",
  7577. "name": "contactNum",
  7578. "in": "query",
  7579. "required": true
  7580. }
  7581. ],
  7582. "responses": {
  7583. "200": {
  7584. "description": "OK",
  7585. "schema": {
  7586. "$ref": "#/definitions/app.Response"
  7587. }
  7588. },
  7589. "500": {
  7590. "description": "Internal Server Error",
  7591. "schema": {
  7592. "$ref": "#/definitions/app.Response"
  7593. }
  7594. }
  7595. }
  7596. }
  7597. },
  7598. "/User/AddUserFavoriteGoods": {
  7599. "post": {
  7600. "security": [
  7601. {
  7602. "ApiKeyAuth": []
  7603. }
  7604. ],
  7605. "produces": [
  7606. "application/json"
  7607. ],
  7608. "tags": [
  7609. "用户信息"
  7610. ],
  7611. "summary": "添加用户商品收藏信息",
  7612. "parameters": [
  7613. {
  7614. "type": "integer",
  7615. "description": "用户ID",
  7616. "name": "userID",
  7617. "in": "query",
  7618. "required": true
  7619. },
  7620. {
  7621. "type": "integer",
  7622. "description": "商品ID",
  7623. "name": "goodsID",
  7624. "in": "query",
  7625. "required": true
  7626. }
  7627. ],
  7628. "responses": {
  7629. "200": {
  7630. "description": "OK",
  7631. "schema": {
  7632. "$ref": "#/definitions/app.Response"
  7633. }
  7634. },
  7635. "500": {
  7636. "description": "Internal Server Error",
  7637. "schema": {
  7638. "$ref": "#/definitions/app.Response"
  7639. }
  7640. }
  7641. }
  7642. }
  7643. },
  7644. "/User/GetLoginID": {
  7645. "get": {
  7646. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7647. "produces": [
  7648. "application/json"
  7649. ],
  7650. "tags": [
  7651. "用户信息"
  7652. ],
  7653. "summary": "获取登录ID",
  7654. "parameters": [
  7655. {
  7656. "type": "string",
  7657. "description": "登录代码",
  7658. "name": "username",
  7659. "in": "query",
  7660. "required": true
  7661. }
  7662. ],
  7663. "responses": {
  7664. "200": {
  7665. "description": "OK",
  7666. "schema": {
  7667. "$ref": "#/definitions/app.Response"
  7668. }
  7669. },
  7670. "500": {
  7671. "description": "Internal Server Error",
  7672. "schema": {
  7673. "$ref": "#/definitions/app.Response"
  7674. }
  7675. }
  7676. }
  7677. }
  7678. },
  7679. "/User/GetUserAccount": {
  7680. "get": {
  7681. "security": [
  7682. {
  7683. "ApiKeyAuth": []
  7684. }
  7685. ],
  7686. "produces": [
  7687. "application/json"
  7688. ],
  7689. "tags": [
  7690. "用户信息"
  7691. ],
  7692. "summary": "获取用户账号信息",
  7693. "parameters": [
  7694. {
  7695. "type": "integer",
  7696. "description": "用户ID",
  7697. "name": "userID",
  7698. "in": "query",
  7699. "required": true
  7700. }
  7701. ],
  7702. "responses": {
  7703. "200": {
  7704. "description": "OK",
  7705. "schema": {
  7706. "$ref": "#/definitions/models.Useraccount"
  7707. }
  7708. },
  7709. "500": {
  7710. "description": "Internal Server Error",
  7711. "schema": {
  7712. "$ref": "#/definitions/app.Response"
  7713. }
  7714. }
  7715. }
  7716. }
  7717. },
  7718. "/User/GetUserAuthStatus": {
  7719. "get": {
  7720. "security": [
  7721. {
  7722. "ApiKeyAuth": []
  7723. }
  7724. ],
  7725. "produces": [
  7726. "application/json"
  7727. ],
  7728. "tags": [
  7729. "用户信息"
  7730. ],
  7731. "summary": "获取用户实名认证状态",
  7732. "parameters": [
  7733. {
  7734. "type": "integer",
  7735. "description": "用户ID",
  7736. "name": "userID",
  7737. "in": "query",
  7738. "required": true
  7739. }
  7740. ],
  7741. "responses": {
  7742. "200": {
  7743. "description": "OK",
  7744. "schema": {
  7745. "$ref": "#/definitions/app.Response"
  7746. }
  7747. },
  7748. "500": {
  7749. "description": "Internal Server Error",
  7750. "schema": {
  7751. "$ref": "#/definitions/app.Response"
  7752. }
  7753. }
  7754. }
  7755. }
  7756. },
  7757. "/User/LoginQuery": {
  7758. "get": {
  7759. "security": [
  7760. {
  7761. "ApiKeyAuth": []
  7762. }
  7763. ],
  7764. "produces": [
  7765. "application/json"
  7766. ],
  7767. "tags": [
  7768. "用户信息"
  7769. ],
  7770. "summary": "账户登录后信息查询",
  7771. "parameters": [
  7772. {
  7773. "type": "integer",
  7774. "description": "登录账号",
  7775. "name": "loginID",
  7776. "in": "query",
  7777. "required": true
  7778. }
  7779. ],
  7780. "responses": {
  7781. "200": {
  7782. "description": "OK",
  7783. "schema": {
  7784. "$ref": "#/definitions/user.LoginQueryRsp"
  7785. }
  7786. },
  7787. "500": {
  7788. "description": "Internal Server Error",
  7789. "schema": {
  7790. "$ref": "#/definitions/app.Response"
  7791. }
  7792. }
  7793. }
  7794. }
  7795. },
  7796. "/User/QueryMessageBoard": {
  7797. "get": {
  7798. "security": [
  7799. {
  7800. "ApiKeyAuth": []
  7801. }
  7802. ],
  7803. "produces": [
  7804. "application/json"
  7805. ],
  7806. "tags": [
  7807. "用户信息"
  7808. ],
  7809. "summary": "获取用户留言板信息",
  7810. "parameters": [
  7811. {
  7812. "type": "integer",
  7813. "description": "用户ID",
  7814. "name": "userID",
  7815. "in": "query",
  7816. "required": true
  7817. }
  7818. ],
  7819. "responses": {
  7820. "200": {
  7821. "description": "OK",
  7822. "schema": {
  7823. "$ref": "#/definitions/models.Messageboard"
  7824. }
  7825. },
  7826. "500": {
  7827. "description": "Internal Server Error",
  7828. "schema": {
  7829. "$ref": "#/definitions/app.Response"
  7830. }
  7831. }
  7832. }
  7833. }
  7834. },
  7835. "/User/QueryUserFavoriteGoodses": {
  7836. "get": {
  7837. "security": [
  7838. {
  7839. "ApiKeyAuth": []
  7840. }
  7841. ],
  7842. "produces": [
  7843. "application/json"
  7844. ],
  7845. "tags": [
  7846. "用户信息"
  7847. ],
  7848. "summary": "获取用户商品收藏信息",
  7849. "parameters": [
  7850. {
  7851. "type": "integer",
  7852. "description": "用户ID",
  7853. "name": "userID",
  7854. "in": "query",
  7855. "required": true
  7856. }
  7857. ],
  7858. "responses": {
  7859. "200": {
  7860. "description": "OK",
  7861. "schema": {
  7862. "$ref": "#/definitions/models.Userfavoritegoods"
  7863. }
  7864. },
  7865. "500": {
  7866. "description": "Internal Server Error",
  7867. "schema": {
  7868. "$ref": "#/definitions/app.Response"
  7869. }
  7870. }
  7871. }
  7872. }
  7873. },
  7874. "/User/QueryUserInfo": {
  7875. "get": {
  7876. "security": [
  7877. {
  7878. "ApiKeyAuth": []
  7879. }
  7880. ],
  7881. "produces": [
  7882. "application/json"
  7883. ],
  7884. "tags": [
  7885. "用户信息"
  7886. ],
  7887. "summary": "获取用户信息",
  7888. "parameters": [
  7889. {
  7890. "type": "integer",
  7891. "description": "用户ID",
  7892. "name": "userID",
  7893. "in": "query",
  7894. "required": true
  7895. },
  7896. {
  7897. "type": "boolean",
  7898. "description": "是否解密",
  7899. "name": "isDecrypt",
  7900. "in": "query"
  7901. }
  7902. ],
  7903. "responses": {
  7904. "200": {
  7905. "description": "OK",
  7906. "schema": {
  7907. "$ref": "#/definitions/models.Userinfo"
  7908. }
  7909. },
  7910. "500": {
  7911. "description": "Internal Server Error",
  7912. "schema": {
  7913. "$ref": "#/definitions/app.Response"
  7914. }
  7915. }
  7916. }
  7917. }
  7918. },
  7919. "/User/QueryUserReferNum": {
  7920. "get": {
  7921. "produces": [
  7922. "application/json"
  7923. ],
  7924. "tags": [
  7925. "用户信息"
  7926. ],
  7927. "summary": "获取用户邀请码",
  7928. "parameters": [
  7929. {
  7930. "type": "integer",
  7931. "description": "用户ID",
  7932. "name": "userID",
  7933. "in": "query",
  7934. "required": true
  7935. }
  7936. ],
  7937. "responses": {
  7938. "200": {
  7939. "description": "OK",
  7940. "schema": {
  7941. "$ref": "#/definitions/app.Response"
  7942. }
  7943. },
  7944. "500": {
  7945. "description": "Internal Server Error",
  7946. "schema": {
  7947. "$ref": "#/definitions/app.Response"
  7948. }
  7949. }
  7950. }
  7951. }
  7952. },
  7953. "/User/RemoveUserFavoriteGoods": {
  7954. "post": {
  7955. "security": [
  7956. {
  7957. "ApiKeyAuth": []
  7958. }
  7959. ],
  7960. "produces": [
  7961. "application/json"
  7962. ],
  7963. "tags": [
  7964. "用户信息"
  7965. ],
  7966. "summary": "移除用户商品收藏信息",
  7967. "parameters": [
  7968. {
  7969. "type": "integer",
  7970. "description": "用户ID",
  7971. "name": "userID",
  7972. "in": "query",
  7973. "required": true
  7974. },
  7975. {
  7976. "type": "integer",
  7977. "description": "商品ID",
  7978. "name": "goodsID",
  7979. "in": "query",
  7980. "required": true
  7981. }
  7982. ],
  7983. "responses": {
  7984. "200": {
  7985. "description": "OK",
  7986. "schema": {
  7987. "$ref": "#/definitions/app.Response"
  7988. }
  7989. },
  7990. "500": {
  7991. "description": "Internal Server Error",
  7992. "schema": {
  7993. "$ref": "#/definitions/app.Response"
  7994. }
  7995. }
  7996. }
  7997. }
  7998. },
  7999. "/User/UpdateUserAccountStatus": {
  8000. "post": {
  8001. "security": [
  8002. {
  8003. "ApiKeyAuth": []
  8004. }
  8005. ],
  8006. "produces": [
  8007. "application/json"
  8008. ],
  8009. "tags": [
  8010. "用户信息"
  8011. ],
  8012. "summary": "更新用户状态",
  8013. "parameters": [
  8014. {
  8015. "type": "integer",
  8016. "description": "用户ID",
  8017. "name": "userID",
  8018. "in": "query",
  8019. "required": true
  8020. },
  8021. {
  8022. "type": "integer",
  8023. "description": "账户状态 - 4:正常 6:注销(停用)",
  8024. "name": "accountStatus",
  8025. "in": "query",
  8026. "required": true
  8027. }
  8028. ],
  8029. "responses": {
  8030. "200": {
  8031. "description": "OK",
  8032. "schema": {
  8033. "$ref": "#/definitions/app.Response"
  8034. }
  8035. },
  8036. "500": {
  8037. "description": "Internal Server Error",
  8038. "schema": {
  8039. "$ref": "#/definitions/app.Response"
  8040. }
  8041. }
  8042. }
  8043. }
  8044. },
  8045. "/WRTrade/GetAllDeliveryGoods": {
  8046. "get": {
  8047. "security": [
  8048. {
  8049. "ApiKeyAuth": []
  8050. },
  8051. {
  8052. "ApiKeyAuth": []
  8053. }
  8054. ],
  8055. "produces": [
  8056. "application/json",
  8057. "application/json"
  8058. ],
  8059. "tags": [
  8060. "仓单贸易",
  8061. "仓单贸易"
  8062. ],
  8063. "summary": "获取带仓单分类的种类信息",
  8064. "responses": {
  8065. "200": {
  8066. "description": "OK",
  8067. "schema": {
  8068. "$ref": "#/definitions/app.Response"
  8069. }
  8070. },
  8071. "500": {
  8072. "description": "Internal Server Error",
  8073. "schema": {
  8074. "$ref": "#/definitions/app.Response"
  8075. }
  8076. }
  8077. }
  8078. }
  8079. }
  8080. },
  8081. "definitions": {
  8082. "app.Response": {
  8083. "type": "object",
  8084. "properties": {
  8085. "code": {
  8086. "type": "integer"
  8087. },
  8088. "data": {
  8089. "type": "object"
  8090. },
  8091. "msg": {
  8092. "type": "string"
  8093. },
  8094. "page": {
  8095. "description": "页码",
  8096. "type": "integer"
  8097. },
  8098. "pagesize": {
  8099. "description": "每页条数",
  8100. "type": "integer"
  8101. },
  8102. "total": {
  8103. "description": "总条数",
  8104. "type": "integer"
  8105. }
  8106. }
  8107. },
  8108. "common.ClientMenu": {
  8109. "type": "object",
  8110. "properties": {
  8111. "children": {
  8112. "description": "子菜单列表",
  8113. "type": "array",
  8114. "items": {
  8115. "$ref": "#/definitions/common.ClientMenu"
  8116. }
  8117. },
  8118. "code": {
  8119. "description": "ID",
  8120. "type": "string"
  8121. },
  8122. "isshow": {
  8123. "description": "是否显示",
  8124. "type": "boolean"
  8125. },
  8126. "rulekey": {
  8127. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8128. "type": "string"
  8129. },
  8130. "sort": {
  8131. "description": "排序",
  8132. "type": "integer"
  8133. },
  8134. "title": {
  8135. "description": "标题",
  8136. "type": "string"
  8137. },
  8138. "type": {
  8139. "description": "类型,1:菜单 2:按钮",
  8140. "type": "integer"
  8141. }
  8142. }
  8143. },
  8144. "common.QueryImageConfigsRsp": {
  8145. "type": "object",
  8146. "required": [
  8147. "configid"
  8148. ],
  8149. "properties": {
  8150. "areauserid": {
  8151. "description": "所属机构ID",
  8152. "type": "integer"
  8153. },
  8154. "configid": {
  8155. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8156. "type": "integer"
  8157. },
  8158. "createdate": {
  8159. "description": "创建时间",
  8160. "type": "string"
  8161. },
  8162. "creatorid": {
  8163. "description": "创建人",
  8164. "type": "integer"
  8165. },
  8166. "imagepath": {
  8167. "description": "图片",
  8168. "type": "string"
  8169. },
  8170. "imagetype": {
  8171. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8172. "type": "integer"
  8173. },
  8174. "isshow": {
  8175. "description": "是否展示 - 0:不展示 1:展示",
  8176. "type": "integer"
  8177. },
  8178. "marketid": {
  8179. "description": "市场ID",
  8180. "type": "integer"
  8181. },
  8182. "modifierid": {
  8183. "description": "操作人",
  8184. "type": "integer"
  8185. },
  8186. "sort": {
  8187. "description": "排序",
  8188. "type": "integer"
  8189. },
  8190. "title": {
  8191. "description": "标题",
  8192. "type": "string"
  8193. },
  8194. "trademode": {
  8195. "description": "交易模式",
  8196. "type": "integer"
  8197. },
  8198. "updatedate": {
  8199. "description": "修改时间",
  8200. "type": "string"
  8201. },
  8202. "url": {
  8203. "description": "链接(地址或商品ID)",
  8204. "type": "string"
  8205. },
  8206. "urltype": {
  8207. "description": "链接类型 - 1:直接地址 2:商品ID",
  8208. "type": "integer"
  8209. }
  8210. }
  8211. },
  8212. "common.QueryNoticeRsp": {
  8213. "type": "object",
  8214. "required": [
  8215. "autoid"
  8216. ],
  8217. "properties": {
  8218. "auditoruserid": {
  8219. "description": "审核人",
  8220. "type": "integer"
  8221. },
  8222. "auditremark": {
  8223. "description": "审核备注",
  8224. "type": "string"
  8225. },
  8226. "audittime": {
  8227. "description": "审核日期",
  8228. "type": "string"
  8229. },
  8230. "autoid": {
  8231. "description": "自增ID",
  8232. "type": "integer"
  8233. },
  8234. "content": {
  8235. "description": "内容",
  8236. "type": "string"
  8237. },
  8238. "createtime": {
  8239. "description": "创建时间",
  8240. "type": "string"
  8241. },
  8242. "creatorid": {
  8243. "description": "建仓人",
  8244. "type": "integer"
  8245. },
  8246. "endtime": {
  8247. "description": "结束时间",
  8248. "type": "string"
  8249. },
  8250. "istop": {
  8251. "description": "是否置顶 - 0:不置顶 1:置顶",
  8252. "type": "integer"
  8253. },
  8254. "msgiconurl": {
  8255. "description": "消息图标Url",
  8256. "type": "string"
  8257. },
  8258. "msgtype": {
  8259. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8260. "type": "integer"
  8261. },
  8262. "publisher": {
  8263. "description": "消息发布者",
  8264. "type": "string"
  8265. },
  8266. "readed": {
  8267. "description": "是否已读",
  8268. "type": "boolean"
  8269. },
  8270. "scheduletime": {
  8271. "description": "计划发送时间",
  8272. "type": "string"
  8273. },
  8274. "sendtype": {
  8275. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8276. "type": "integer"
  8277. },
  8278. "sentstatus": {
  8279. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8280. "type": "integer"
  8281. },
  8282. "title": {
  8283. "description": "标题",
  8284. "type": "string"
  8285. },
  8286. "userid": {
  8287. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8288. "type": "integer"
  8289. }
  8290. }
  8291. },
  8292. "common.QueryProvincesAndCitiesRsp": {
  8293. "type": "object",
  8294. "properties": {
  8295. "cities": {
  8296. "description": "市",
  8297. "type": "array",
  8298. "items": {
  8299. "$ref": "#/definitions/models.Division"
  8300. }
  8301. },
  8302. "province": {
  8303. "description": "省",
  8304. "type": "object",
  8305. "$ref": "#/definitions/models.Division"
  8306. }
  8307. }
  8308. },
  8309. "common.QueryTableDefineRsp": {
  8310. "type": "object",
  8311. "required": [
  8312. "tablekey"
  8313. ],
  8314. "properties": {
  8315. "columns": {
  8316. "description": "列头信息数组",
  8317. "type": "array",
  8318. "items": {
  8319. "$ref": "#/definitions/models.Tablecolumnconfig"
  8320. }
  8321. },
  8322. "remark": {
  8323. "description": "Remark",
  8324. "type": "string"
  8325. },
  8326. "tabelmenu": {
  8327. "description": "列表菜单",
  8328. "type": "string"
  8329. },
  8330. "tablekey": {
  8331. "description": "列表Key",
  8332. "type": "string"
  8333. },
  8334. "tablename": {
  8335. "description": "列表名称",
  8336. "type": "string"
  8337. },
  8338. "tabletype": {
  8339. "description": "列表类型 - 1:管理端 2:终端",
  8340. "type": "integer"
  8341. }
  8342. }
  8343. },
  8344. "common.QueryTraderMenuRsp": {
  8345. "type": "object",
  8346. "properties": {
  8347. "OperationMenu": {
  8348. "description": "功能菜单",
  8349. "type": "array",
  8350. "items": {
  8351. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8352. }
  8353. },
  8354. "QuoteMenu": {
  8355. "description": "报价牌分类菜单",
  8356. "type": "array",
  8357. "items": {
  8358. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8359. }
  8360. }
  8361. }
  8362. },
  8363. "cptrade.Cptradepositioncancel": {
  8364. "type": "object",
  8365. "required": [
  8366. "cancelid"
  8367. ],
  8368. "properties": {
  8369. "accountid": {
  8370. "description": "申请人账户ID",
  8371. "type": "integer"
  8372. },
  8373. "applystatus": {
  8374. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8375. "type": "integer"
  8376. },
  8377. "applytime": {
  8378. "description": "申请时间",
  8379. "type": "string"
  8380. },
  8381. "cancelid": {
  8382. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8383. "type": "integer"
  8384. },
  8385. "cancelqty": {
  8386. "description": "注销数量",
  8387. "type": "integer"
  8388. },
  8389. "createtime": {
  8390. "description": "创建时间",
  8391. "type": "string"
  8392. },
  8393. "creatorid": {
  8394. "description": "创建人ID",
  8395. "type": "integer"
  8396. },
  8397. "creatorname": {
  8398. "description": "创建人",
  8399. "type": "string"
  8400. },
  8401. "goodscode": {
  8402. "description": "订单商品代码",
  8403. "type": "string"
  8404. },
  8405. "goodsid": {
  8406. "description": "商品ID",
  8407. "type": "integer"
  8408. },
  8409. "goodsname": {
  8410. "description": "订单商品名称",
  8411. "type": "string"
  8412. },
  8413. "goodunit": {
  8414. "description": "报价单位",
  8415. "type": "string"
  8416. },
  8417. "handlestatus": {
  8418. "description": "处理状态",
  8419. "type": "integer"
  8420. },
  8421. "marketid": {
  8422. "description": "市场ID",
  8423. "type": "integer"
  8424. },
  8425. "marketname": {
  8426. "description": "市场名称",
  8427. "type": "string"
  8428. },
  8429. "tradedate": {
  8430. "description": "交易日(yyyyMMdd)",
  8431. "type": "string"
  8432. },
  8433. "userid": {
  8434. "description": "申请人ID",
  8435. "type": "integer"
  8436. }
  8437. }
  8438. },
  8439. "cptrade.Cptradepresaleapply": {
  8440. "type": "object",
  8441. "required": [
  8442. "applyid"
  8443. ],
  8444. "properties": {
  8445. "accountid": {
  8446. "description": "申请人账户ID",
  8447. "type": "integer"
  8448. },
  8449. "applyid": {
  8450. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8451. "type": "integer"
  8452. },
  8453. "applyremark": {
  8454. "description": "申请备注",
  8455. "type": "string"
  8456. },
  8457. "applystatus": {
  8458. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8459. "type": "integer"
  8460. },
  8461. "applytime": {
  8462. "description": "申请时间",
  8463. "type": "string"
  8464. },
  8465. "attachmenturl": {
  8466. "description": "附件地址",
  8467. "type": "string"
  8468. },
  8469. "endtime": {
  8470. "description": "预售结束时间",
  8471. "type": "string"
  8472. },
  8473. "goodscode": {
  8474. "description": "商品代码",
  8475. "type": "string"
  8476. },
  8477. "goodsid": {
  8478. "description": "商品ID",
  8479. "type": "integer"
  8480. },
  8481. "goodsname": {
  8482. "description": "商品名称",
  8483. "type": "string"
  8484. },
  8485. "goodunit": {
  8486. "description": "报价单位",
  8487. "type": "string"
  8488. },
  8489. "handlestatus": {
  8490. "description": "处理状态",
  8491. "type": "integer"
  8492. },
  8493. "marketid": {
  8494. "description": "预售市场ID",
  8495. "type": "integer"
  8496. },
  8497. "marketname": {
  8498. "description": "预售市场名称",
  8499. "type": "string"
  8500. },
  8501. "presaleqty": {
  8502. "description": "预售数量",
  8503. "type": "integer"
  8504. },
  8505. "relatedgoodscode": {
  8506. "description": "关联交易合约代码",
  8507. "type": "string"
  8508. },
  8509. "relatedgoodsid": {
  8510. "description": "关联交易合约ID",
  8511. "type": "integer"
  8512. },
  8513. "relatedgoodsname": {
  8514. "description": "关联交易合约名称",
  8515. "type": "string"
  8516. },
  8517. "starttime": {
  8518. "description": "预售开始时间",
  8519. "type": "string"
  8520. },
  8521. "tradedate": {
  8522. "description": "交易日(yyyyMMdd)",
  8523. "type": "string"
  8524. },
  8525. "trademode": {
  8526. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8527. "type": "integer"
  8528. },
  8529. "userid": {
  8530. "description": "申请人ID",
  8531. "type": "integer"
  8532. }
  8533. }
  8534. },
  8535. "cptrade.Cptradeusergoodsdata": {
  8536. "type": "object",
  8537. "required": [
  8538. "accountid",
  8539. "goodsid"
  8540. ],
  8541. "properties": {
  8542. "EnabledQty": {
  8543. "description": "可用量",
  8544. "type": "integer"
  8545. },
  8546. "GoodsCode": {
  8547. "description": "订单商品代码",
  8548. "type": "string"
  8549. },
  8550. "GoodsName": {
  8551. "description": "订单商品名称",
  8552. "type": "string"
  8553. },
  8554. "WRStandardCode": {
  8555. "description": "仓单标准代码",
  8556. "type": "string"
  8557. },
  8558. "WRStandardName": {
  8559. "description": "仓单标准名称",
  8560. "type": "string"
  8561. },
  8562. "accountid": {
  8563. "description": "账户ID",
  8564. "type": "integer"
  8565. },
  8566. "cancelqty": {
  8567. "description": "注销量",
  8568. "type": "integer"
  8569. },
  8570. "curpresaleqty": {
  8571. "description": "当前预售量",
  8572. "type": "integer"
  8573. },
  8574. "deliveryqty": {
  8575. "description": "交割量",
  8576. "type": "integer"
  8577. },
  8578. "freezeamount": {
  8579. "description": "冻结金额",
  8580. "type": "number"
  8581. },
  8582. "goodsid": {
  8583. "description": "商品ID",
  8584. "type": "integer"
  8585. },
  8586. "goodunit": {
  8587. "description": "报价单位",
  8588. "type": "string"
  8589. },
  8590. "hasspotfreeze": {
  8591. "description": "是否有现货冻结 - 0:否 1:有",
  8592. "type": "integer"
  8593. },
  8594. "inqty": {
  8595. "description": "转入量(总数量)",
  8596. "type": "integer"
  8597. },
  8598. "marketid": {
  8599. "description": "市场ID",
  8600. "type": "integer"
  8601. },
  8602. "presaledamount": {
  8603. "description": "已预售总金额",
  8604. "type": "integer"
  8605. },
  8606. "presaledqty": {
  8607. "description": "已预售量",
  8608. "type": "integer"
  8609. },
  8610. "userid": {
  8611. "description": "用户ID",
  8612. "type": "integer"
  8613. },
  8614. "wrstandardid": {
  8615. "description": "仓单标准ID",
  8616. "type": "integer"
  8617. }
  8618. }
  8619. },
  8620. "cptrade.QueryCPTradeMyBidRsp": {
  8621. "type": "object",
  8622. "required": [
  8623. "accountid",
  8624. "goodsid",
  8625. "marketid",
  8626. "orderid",
  8627. "orderqty",
  8628. "ordertime",
  8629. "tradeprice",
  8630. "tradeqty"
  8631. ],
  8632. "properties": {
  8633. "accountid": {
  8634. "description": "账户ID[报价币种]",
  8635. "type": "integer"
  8636. },
  8637. "goodsid": {
  8638. "description": "商品ID",
  8639. "type": "integer"
  8640. },
  8641. "goodunit": {
  8642. "description": "报价单位",
  8643. "type": "string"
  8644. },
  8645. "marketid": {
  8646. "description": "市场ID",
  8647. "type": "integer"
  8648. },
  8649. "orderid": {
  8650. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8651. "type": "integer"
  8652. },
  8653. "orderprice": {
  8654. "description": "委托价格",
  8655. "type": "number"
  8656. },
  8657. "orderqty": {
  8658. "description": "委托数量",
  8659. "type": "integer"
  8660. },
  8661. "ordertime": {
  8662. "description": "委托时间",
  8663. "type": "string"
  8664. },
  8665. "ordertotalprice": {
  8666. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8667. "type": "number"
  8668. },
  8669. "ordertotalweight": {
  8670. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8671. "type": "integer"
  8672. },
  8673. "totaltotalprice": {
  8674. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8675. "type": "number"
  8676. },
  8677. "tradeprice": {
  8678. "description": "成交价格",
  8679. "type": "number"
  8680. },
  8681. "tradeqty": {
  8682. "description": "成交数量",
  8683. "type": "integer"
  8684. }
  8685. }
  8686. },
  8687. "cptrade.QueryCPTradeOrderDetailRsq": {
  8688. "type": "object",
  8689. "required": [
  8690. "accountid",
  8691. "buildtype",
  8692. "buyorsell",
  8693. "goodsid",
  8694. "marketid",
  8695. "memberuserid",
  8696. "operatetype",
  8697. "orderqty",
  8698. "ordertime",
  8699. "pricemode",
  8700. "strorderid",
  8701. "tradedate",
  8702. "validtype"
  8703. ],
  8704. "properties": {
  8705. "accountid": {
  8706. "description": "账户ID[报价币种]",
  8707. "type": "integer"
  8708. },
  8709. "buildtype": {
  8710. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8711. "type": "integer"
  8712. },
  8713. "buyorsell": {
  8714. "description": "买卖 - 0:买 1:卖",
  8715. "type": "integer"
  8716. },
  8717. "cancelorderid": {
  8718. "description": "撤单单号(撤单时填写)",
  8719. "type": "integer"
  8720. },
  8721. "cancelqty": {
  8722. "description": "撤单数量",
  8723. "type": "integer"
  8724. },
  8725. "clientordertime": {
  8726. "description": "客户端委托时间",
  8727. "type": "string"
  8728. },
  8729. "clientticket": {
  8730. "description": "客户端流水号",
  8731. "type": "string"
  8732. },
  8733. "clienttype": {
  8734. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8735. "type": "integer"
  8736. },
  8737. "closeexchagechargevalue": {
  8738. "description": "平仓交易所手续费设置值",
  8739. "type": "number"
  8740. },
  8741. "closefeealgorithm": {
  8742. "description": "平仓手续费收取方式 1:比率 2:固定",
  8743. "type": "integer"
  8744. },
  8745. "closefreezecharge": {
  8746. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8747. "type": "number"
  8748. },
  8749. "closememberchargevalue": {
  8750. "description": "平仓会员手续费设置值",
  8751. "type": "number"
  8752. },
  8753. "closeqty": {
  8754. "description": "平仓数量(先建后平操作 需要记录)",
  8755. "type": "integer"
  8756. },
  8757. "closetradeqty": {
  8758. "description": "平仓成交数量(先建后平操作,需要记录)",
  8759. "type": "integer"
  8760. },
  8761. "closeunfreezecharge": {
  8762. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8763. "type": "number"
  8764. },
  8765. "delistingtype": {
  8766. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8767. "type": "integer"
  8768. },
  8769. "freezecharge": {
  8770. "description": "冻结手续费",
  8771. "type": "number"
  8772. },
  8773. "freezemargin": {
  8774. "description": "冻结保证金(冻结交易金额)",
  8775. "type": "number"
  8776. },
  8777. "gcaccountid": {
  8778. "description": "账户ID[合约币种]",
  8779. "type": "integer"
  8780. },
  8781. "goodsid": {
  8782. "description": "商品ID",
  8783. "type": "integer"
  8784. },
  8785. "isconfirmexercise": {
  8786. "description": "是否确认行权- 0:否 1:是",
  8787. "type": "integer"
  8788. },
  8789. "ispreexercise": {
  8790. "description": "是否预申报- 0:否 1:是",
  8791. "type": "integer"
  8792. },
  8793. "listingselecttype": {
  8794. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8795. "type": "integer"
  8796. },
  8797. "marginalgorithm": {
  8798. "description": "保证金收取方式 1:比率 2:固定",
  8799. "type": "integer"
  8800. },
  8801. "marginvalue": {
  8802. "description": "即市保证金设置值",
  8803. "type": "number"
  8804. },
  8805. "marketid": {
  8806. "description": "市场ID",
  8807. "type": "integer"
  8808. },
  8809. "marketmaxsub": {
  8810. "description": "市价最大偏移范围",
  8811. "type": "number"
  8812. },
  8813. "memberuserid": {
  8814. "description": "所属会员UserID",
  8815. "type": "integer"
  8816. },
  8817. "openexchagechargevalue": {
  8818. "description": "建仓交易所手续费设置值",
  8819. "type": "number"
  8820. },
  8821. "openfeealgorithm": {
  8822. "description": "建仓手续费收取方式 1:比率 2:固定",
  8823. "type": "integer"
  8824. },
  8825. "openfreezecharge": {
  8826. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8827. "type": "number"
  8828. },
  8829. "openmemberchargevalue": {
  8830. "description": "建仓会员手续费设置值",
  8831. "type": "number"
  8832. },
  8833. "openqty": {
  8834. "description": "开仓数量(先建后平操作,需要记录)",
  8835. "type": "integer"
  8836. },
  8837. "opentradeqty": {
  8838. "description": "开仓成交数量(先建后平操作,需要记录)",
  8839. "type": "integer"
  8840. },
  8841. "openunfreezecharge": {
  8842. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8843. "type": "number"
  8844. },
  8845. "operatetype": {
  8846. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8847. "type": "integer"
  8848. },
  8849. "operatorid": {
  8850. "description": "登录账号(LoginID)",
  8851. "type": "integer"
  8852. },
  8853. "optiontype": {
  8854. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8855. "type": "integer"
  8856. },
  8857. "orderprice": {
  8858. "description": "委托价格",
  8859. "type": "number"
  8860. },
  8861. "orderqty": {
  8862. "description": "委托数量",
  8863. "type": "integer"
  8864. },
  8865. "ordersrc": {
  8866. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8867. "type": "integer"
  8868. },
  8869. "orderstatus": {
  8870. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8871. "type": "integer"
  8872. },
  8873. "ordertime": {
  8874. "description": "委托时间",
  8875. "type": "string"
  8876. },
  8877. "preexerciseprice": {
  8878. "description": "预申报价格",
  8879. "type": "number"
  8880. },
  8881. "premium": {
  8882. "description": "权利金",
  8883. "type": "number"
  8884. },
  8885. "preorderid": {
  8886. "description": "关联预埋单号(止盈止损单时填写)",
  8887. "type": "integer"
  8888. },
  8889. "pricemode": {
  8890. "description": "取价方式 - 1:市价 2: 限价",
  8891. "type": "integer"
  8892. },
  8893. "quoteid": {
  8894. "description": "报价单ID",
  8895. "type": "integer"
  8896. },
  8897. "relatedid": {
  8898. "description": "关联单号(交割单)",
  8899. "type": "integer"
  8900. },
  8901. "retcode": {
  8902. "description": "错误代码",
  8903. "type": "integer"
  8904. },
  8905. "sessionid": {
  8906. "description": "会话ID",
  8907. "type": "integer"
  8908. },
  8909. "strorderid": {
  8910. "description": "委托单号",
  8911. "type": "string"
  8912. },
  8913. "tradedate": {
  8914. "description": "交易日(yyyyMMdd)",
  8915. "type": "string"
  8916. },
  8917. "tradeproperty": {
  8918. "description": "交易属性",
  8919. "type": "integer"
  8920. },
  8921. "tradeqty": {
  8922. "description": "成交数量",
  8923. "type": "integer"
  8924. },
  8925. "unfreezecharge": {
  8926. "description": "解冻手续费",
  8927. "type": "number"
  8928. },
  8929. "unfreezemargin": {
  8930. "description": "解冻保证金",
  8931. "type": "number"
  8932. },
  8933. "updatetime": {
  8934. "description": "更新时间",
  8935. "type": "string"
  8936. },
  8937. "uuid": {
  8938. "description": "发起端唯一id",
  8939. "type": "string"
  8940. },
  8941. "validtime": {
  8942. "description": "有效期限",
  8943. "type": "string"
  8944. },
  8945. "validtype": {
  8946. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8947. "type": "integer"
  8948. },
  8949. "volumetype": {
  8950. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8951. "type": "integer"
  8952. }
  8953. }
  8954. },
  8955. "cptrade.QueryMyCPTradeGoodsRsp": {
  8956. "type": "object",
  8957. "required": [
  8958. "goodscode",
  8959. "goodsid",
  8960. "goodsname",
  8961. "marketid",
  8962. "relatedgoodscode",
  8963. "relatedgoodsname"
  8964. ],
  8965. "properties": {
  8966. "accountid": {
  8967. "description": "卖方账户ID",
  8968. "type": "integer"
  8969. },
  8970. "agreeunit": {
  8971. "description": "合约单位",
  8972. "type": "number"
  8973. },
  8974. "applyid": {
  8975. "description": "关联申请ID",
  8976. "type": "integer"
  8977. },
  8978. "attachmenturl": {
  8979. "description": "附件地址",
  8980. "type": "string"
  8981. },
  8982. "createtime": {
  8983. "description": "创建时间",
  8984. "type": "string"
  8985. },
  8986. "currencyid": {
  8987. "description": "报价货币ID",
  8988. "type": "integer"
  8989. },
  8990. "decimalplace": {
  8991. "description": "报价小数位",
  8992. "type": "integer"
  8993. },
  8994. "endtime": {
  8995. "description": "预售结束时间",
  8996. "type": "string"
  8997. },
  8998. "floorprice": {
  8999. "description": "底价[大宗式竞拍]",
  9000. "type": "number"
  9001. },
  9002. "goodscode": {
  9003. "description": "商品代码(预售)",
  9004. "type": "string"
  9005. },
  9006. "goodsdetail": {
  9007. "description": "详情[大宗]",
  9008. "type": "string"
  9009. },
  9010. "goodsid": {
  9011. "description": "商品ID(自增ID SEQ_GOODS)",
  9012. "type": "integer"
  9013. },
  9014. "goodsname": {
  9015. "description": "商品名称(预售)",
  9016. "type": "string"
  9017. },
  9018. "goodunit": {
  9019. "description": "报价单位",
  9020. "type": "string"
  9021. },
  9022. "goodunitid": {
  9023. "description": "报价单位ID",
  9024. "type": "integer"
  9025. },
  9026. "marketid": {
  9027. "description": "所属市场ID",
  9028. "type": "integer"
  9029. },
  9030. "marketname": {
  9031. "description": "预售市场名称",
  9032. "type": "string"
  9033. },
  9034. "presaledamount": {
  9035. "description": "已预售总金额(预售结束时更新)",
  9036. "type": "number"
  9037. },
  9038. "presaledqty": {
  9039. "description": "已预售量(预售结束时更新)",
  9040. "type": "integer"
  9041. },
  9042. "presalemode": {
  9043. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9044. "type": "integer"
  9045. },
  9046. "presaleqty": {
  9047. "description": "预售数量",
  9048. "type": "integer"
  9049. },
  9050. "refprice": {
  9051. "description": "参考价格[一口价]",
  9052. "type": "number"
  9053. },
  9054. "relatedgoodscode": {
  9055. "description": "商品代码(订单)",
  9056. "type": "string"
  9057. },
  9058. "relatedgoodsid": {
  9059. "description": "关联交易合约ID",
  9060. "type": "integer"
  9061. },
  9062. "relatedgoodsname": {
  9063. "description": "商品名称(订单)",
  9064. "type": "string"
  9065. },
  9066. "relatedmarketid": {
  9067. "description": "关联交易合约市场ID",
  9068. "type": "integer"
  9069. },
  9070. "sellstatus": {
  9071. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9072. "type": "integer"
  9073. },
  9074. "startprice": {
  9075. "description": "起拍价[大宗式竞拍]",
  9076. "type": "number"
  9077. },
  9078. "starttime": {
  9079. "description": "预售开始时间",
  9080. "type": "string"
  9081. },
  9082. "tradedate": {
  9083. "description": "交易日(yyyyMMdd)",
  9084. "type": "string"
  9085. },
  9086. "tradeprice": {
  9087. "description": "成交价[大宗]",
  9088. "type": "number"
  9089. },
  9090. "userid": {
  9091. "description": "卖方用户ID",
  9092. "type": "integer"
  9093. }
  9094. }
  9095. },
  9096. "cptrade.QueryPresaleGoodsExRsp": {
  9097. "type": "object",
  9098. "required": [
  9099. "goodsid"
  9100. ],
  9101. "properties": {
  9102. "attachmenturl": {
  9103. "description": "附件地址",
  9104. "type": "string"
  9105. },
  9106. "createtime": {
  9107. "description": "创建时间",
  9108. "type": "string"
  9109. },
  9110. "endtime": {
  9111. "description": "预售结束时间",
  9112. "type": "string"
  9113. },
  9114. "floorprice": {
  9115. "description": "底价[大宗式竞拍]",
  9116. "type": "number"
  9117. },
  9118. "goodsdetail": {
  9119. "description": "详情[大宗]",
  9120. "type": "string"
  9121. },
  9122. "goodsid": {
  9123. "description": "商品ID(预售)",
  9124. "type": "integer"
  9125. },
  9126. "goodunit": {
  9127. "description": "报价单位",
  9128. "type": "string"
  9129. },
  9130. "marketid": {
  9131. "description": "预售市场ID - 根据预售模式选择市场",
  9132. "type": "integer"
  9133. },
  9134. "presaledamount": {
  9135. "description": "已预售总金额(预售结束时更新)",
  9136. "type": "number"
  9137. },
  9138. "presaledqty": {
  9139. "description": "已预售量(预售结束时更新)",
  9140. "type": "integer"
  9141. },
  9142. "presalemode": {
  9143. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9144. "type": "integer"
  9145. },
  9146. "presaleqty": {
  9147. "description": "预售数量",
  9148. "type": "integer"
  9149. },
  9150. "refprice": {
  9151. "description": "参考价格[一口价]",
  9152. "type": "number"
  9153. },
  9154. "relatedgoodsid": {
  9155. "description": "关联交易合约ID",
  9156. "type": "integer"
  9157. },
  9158. "relatedmarketid": {
  9159. "description": "关联交易合约市场ID",
  9160. "type": "integer"
  9161. },
  9162. "sellstatus": {
  9163. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9164. "type": "integer"
  9165. },
  9166. "startprice": {
  9167. "description": "起拍价[大宗式竞拍]",
  9168. "type": "number"
  9169. },
  9170. "starttime": {
  9171. "description": "预售开始时间",
  9172. "type": "string"
  9173. },
  9174. "tradedate": {
  9175. "description": "交易日(yyyyMMdd)",
  9176. "type": "string"
  9177. },
  9178. "tradeprice": {
  9179. "description": "成交价[大宗]",
  9180. "type": "number"
  9181. }
  9182. }
  9183. },
  9184. "delivery.QueryDeliveryRelationRsp": {
  9185. "type": "object",
  9186. "required": [
  9187. "begindate",
  9188. "enddate",
  9189. "goodsid",
  9190. "mindeliveryqty",
  9191. "xdeliveryratio"
  9192. ],
  9193. "properties": {
  9194. "begindate": {
  9195. "description": "起始日期(yyyyMMdd)",
  9196. "type": "string"
  9197. },
  9198. "buytemplateid": {
  9199. "description": "买履约计划模板ID",
  9200. "type": "integer"
  9201. },
  9202. "deliverygoodscode": {
  9203. "description": "品种代码",
  9204. "type": "string"
  9205. },
  9206. "deliverygoodsid": {
  9207. "description": "交割商品",
  9208. "type": "integer"
  9209. },
  9210. "deliverygoodsname": {
  9211. "description": "品种名称",
  9212. "type": "string"
  9213. },
  9214. "deliverymode": {
  9215. "description": "交割方式 - 1:点选式 2:申报式",
  9216. "type": "integer"
  9217. },
  9218. "deliverypricerule": {
  9219. "description": "交割价规则- 1:行情价 2:建仓价",
  9220. "type": "integer"
  9221. },
  9222. "deliverytype": {
  9223. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9224. "type": "integer"
  9225. },
  9226. "enddate": {
  9227. "description": "结束日期(yyyyMMdd)",
  9228. "type": "string"
  9229. },
  9230. "goodscode": {
  9231. "description": "商品代码",
  9232. "type": "string"
  9233. },
  9234. "goodsid": {
  9235. "description": "交易合约ID",
  9236. "type": "integer"
  9237. },
  9238. "goodsname": {
  9239. "description": "商品名称",
  9240. "type": "string"
  9241. },
  9242. "marketid": {
  9243. "description": "市场ID",
  9244. "type": "integer"
  9245. },
  9246. "mindeliveryqty": {
  9247. "description": "最小交割系数(K)",
  9248. "type": "integer"
  9249. },
  9250. "p2deliveryprice": {
  9251. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9252. "type": "number"
  9253. },
  9254. "p2deliveryratio": {
  9255. "description": "P2合约系数(p)",
  9256. "type": "integer"
  9257. },
  9258. "p2goodsid": {
  9259. "description": "P2合约ID",
  9260. "type": "integer"
  9261. },
  9262. "p2pricemode": {
  9263. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9264. "type": "integer"
  9265. },
  9266. "pdeliveryprice": {
  9267. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9268. "type": "number"
  9269. },
  9270. "pdeliveryratio": {
  9271. "description": "P合约系数(n)",
  9272. "type": "integer"
  9273. },
  9274. "pgoodsid": {
  9275. "description": "P合约ID",
  9276. "type": "integer"
  9277. },
  9278. "ppricemode": {
  9279. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9280. "type": "integer"
  9281. },
  9282. "rratio": {
  9283. "description": "兑换系数(R)",
  9284. "type": "integer"
  9285. },
  9286. "rratio1": {
  9287. "description": "兑换系数(交易合约)(R1)",
  9288. "type": "integer"
  9289. },
  9290. "rratio2": {
  9291. "description": "兑换系数(仓单标准)(R2)",
  9292. "type": "integer"
  9293. },
  9294. "selltemplateid": {
  9295. "description": "卖履约计划模板ID",
  9296. "type": "integer"
  9297. },
  9298. "wrstandardid": {
  9299. "description": "仓单标准ID",
  9300. "type": "integer"
  9301. },
  9302. "xdeliveryratio": {
  9303. "description": "交易合约系数(m)",
  9304. "type": "integer"
  9305. }
  9306. }
  9307. },
  9308. "ermcp.ExposureDetailRsp": {
  9309. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9310. },
  9311. "ermcp.ExposureHedgePosDetailRsp": {
  9312. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9313. },
  9314. "ermcp.ExposureHedgePositionRsp": {
  9315. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9316. },
  9317. "ermcp.ExposureSpotDetailRsp": {
  9318. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9319. },
  9320. "ermcp.ExposureSpotRsp": {
  9321. "$ref": "#/definitions/models.AreaSpotModel"
  9322. },
  9323. "ermcp.HisExposureRsp": {
  9324. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9325. },
  9326. "ermcp.PendingAuditCntRsp": {
  9327. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9328. },
  9329. "ermcp.QryAvalidGPRsp": {
  9330. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9331. },
  9332. "ermcp.QryBusinessDjRsp": {
  9333. "type": "object",
  9334. "properties": {
  9335. "amount": {
  9336. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9337. "type": "number"
  9338. },
  9339. "applyid": {
  9340. "description": "申请人",
  9341. "type": "string"
  9342. },
  9343. "applyname": {
  9344. "description": "申请人名称",
  9345. "type": "string"
  9346. },
  9347. "applystatus": {
  9348. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9349. "type": "integer"
  9350. },
  9351. "applytime": {
  9352. "description": "申请时间",
  9353. "type": "string"
  9354. },
  9355. "attachurl": {
  9356. "description": "附件",
  9357. "type": "string"
  9358. },
  9359. "auditid": {
  9360. "description": "审核人ID",
  9361. "type": "string"
  9362. },
  9363. "auditname": {
  9364. "description": "审核人名称",
  9365. "type": "string"
  9366. },
  9367. "audittime": {
  9368. "description": "审核时间",
  9369. "type": "string"
  9370. },
  9371. "buyusername": {
  9372. "description": "采购方名称",
  9373. "type": "string"
  9374. },
  9375. "contractno": {
  9376. "description": "合同编号",
  9377. "type": "string"
  9378. },
  9379. "contractstatus": {
  9380. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9381. "type": "integer"
  9382. },
  9383. "contracttype": {
  9384. "description": "现货合同类型 - 1:采购 -1:销售",
  9385. "type": "integer"
  9386. },
  9387. "deliverygoodscode": {
  9388. "description": "现货品种代码",
  9389. "type": "string"
  9390. },
  9391. "deliverygoodsid": {
  9392. "description": "现货商品ID",
  9393. "type": "integer"
  9394. },
  9395. "deliverygoodsname": {
  9396. "description": "现货品种名称",
  9397. "type": "string"
  9398. },
  9399. "enumdicname": {
  9400. "description": "单位名称",
  9401. "type": "string"
  9402. },
  9403. "goodscode": {
  9404. "description": "点价合约",
  9405. "type": "string"
  9406. },
  9407. "goodsname": {
  9408. "description": "商品名称",
  9409. "type": "string"
  9410. },
  9411. "operateapplyid": {
  9412. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9413. "type": "string"
  9414. },
  9415. "operateapplytype": {
  9416. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9417. "type": "integer"
  9418. },
  9419. "pricedPrice": {
  9420. "description": "点价价格(非必填)",
  9421. "type": "number"
  9422. },
  9423. "pricedQty": {
  9424. "description": "点价数量(非必填)",
  9425. "type": "number"
  9426. },
  9427. "pricemove": {
  9428. "description": "升贴水",
  9429. "type": "number"
  9430. },
  9431. "pricetype": {
  9432. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9433. "type": "integer"
  9434. },
  9435. "relatedid": {
  9436. "description": "现货合同ID",
  9437. "type": "string"
  9438. },
  9439. "sellusername": {
  9440. "description": "销售方名字",
  9441. "type": "string"
  9442. },
  9443. "userid": {
  9444. "description": "用户ID",
  9445. "type": "integer"
  9446. },
  9447. "wrstandardcode": {
  9448. "description": "品类代码",
  9449. "type": "string"
  9450. },
  9451. "wrstandardid": {
  9452. "description": "品类id",
  9453. "type": "integer"
  9454. },
  9455. "wrstandardname": {
  9456. "description": "品类名称",
  9457. "type": "string"
  9458. }
  9459. }
  9460. },
  9461. "ermcp.QryBussinessFpRsp": {
  9462. "type": "object",
  9463. "properties": {
  9464. "applyid": {
  9465. "description": "申请人",
  9466. "type": "string"
  9467. },
  9468. "applyname": {
  9469. "description": "申请人名称",
  9470. "type": "string"
  9471. },
  9472. "applystatus": {
  9473. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9474. "type": "integer"
  9475. },
  9476. "applytime": {
  9477. "description": "申请时间",
  9478. "type": "string"
  9479. },
  9480. "attachurl": {
  9481. "description": "附件",
  9482. "type": "string"
  9483. },
  9484. "auditid": {
  9485. "description": "审核人ID",
  9486. "type": "string"
  9487. },
  9488. "auditname": {
  9489. "description": "审核人名称",
  9490. "type": "string"
  9491. },
  9492. "audittime": {
  9493. "description": "审核时间",
  9494. "type": "string"
  9495. },
  9496. "buyusername": {
  9497. "description": "采购方名称",
  9498. "type": "string"
  9499. },
  9500. "contractno": {
  9501. "description": "合同编号",
  9502. "type": "string"
  9503. },
  9504. "contractstatus": {
  9505. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9506. "type": "integer"
  9507. },
  9508. "contracttype": {
  9509. "description": "现货合同类型 - 1:采购 -1:销售",
  9510. "type": "integer"
  9511. },
  9512. "deliverygoodscode": {
  9513. "description": "现货品种代码",
  9514. "type": "string"
  9515. },
  9516. "deliverygoodsid": {
  9517. "description": "现货商品ID",
  9518. "type": "integer"
  9519. },
  9520. "deliverygoodsname": {
  9521. "description": "现货品种名称",
  9522. "type": "string"
  9523. },
  9524. "enumdicname": {
  9525. "description": "单位名称",
  9526. "type": "string"
  9527. },
  9528. "goodscode": {
  9529. "description": "点价合约",
  9530. "type": "string"
  9531. },
  9532. "goodsname": {
  9533. "description": "商品名称",
  9534. "type": "string"
  9535. },
  9536. "invoiceAmount": {
  9537. "description": "已开收票金额(销售为开票,采购为收票)",
  9538. "type": "number"
  9539. },
  9540. "operateapplyid": {
  9541. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9542. "type": "string"
  9543. },
  9544. "operateapplytype": {
  9545. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9546. "type": "integer"
  9547. },
  9548. "pricemove": {
  9549. "description": "升贴水",
  9550. "type": "number"
  9551. },
  9552. "pricetype": {
  9553. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9554. "type": "integer"
  9555. },
  9556. "relatedid": {
  9557. "description": "现货合同ID",
  9558. "type": "string"
  9559. },
  9560. "sellusername": {
  9561. "description": "销售方名字",
  9562. "type": "string"
  9563. },
  9564. "userid": {
  9565. "description": "用户ID",
  9566. "type": "integer"
  9567. },
  9568. "wrstandardcode": {
  9569. "description": "品类代码",
  9570. "type": "string"
  9571. },
  9572. "wrstandardid": {
  9573. "description": "品类id",
  9574. "type": "integer"
  9575. },
  9576. "wrstandardname": {
  9577. "description": "品类名称",
  9578. "type": "string"
  9579. }
  9580. }
  9581. },
  9582. "ermcp.QryBussinessJsExRsp": {
  9583. "type": "object",
  9584. "properties": {
  9585. "applyid": {
  9586. "description": "申请人",
  9587. "type": "string"
  9588. },
  9589. "applyname": {
  9590. "description": "申请人名称",
  9591. "type": "string"
  9592. },
  9593. "applystatus": {
  9594. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9595. "type": "integer"
  9596. },
  9597. "applytime": {
  9598. "description": "申请时间",
  9599. "type": "string"
  9600. },
  9601. "attachurl": {
  9602. "description": "附件",
  9603. "type": "string"
  9604. },
  9605. "auditid": {
  9606. "description": "审核人ID",
  9607. "type": "string"
  9608. },
  9609. "auditname": {
  9610. "description": "审核人名称",
  9611. "type": "string"
  9612. },
  9613. "audittime": {
  9614. "description": "审核时间",
  9615. "type": "string"
  9616. },
  9617. "buyusername": {
  9618. "description": "采购方名称",
  9619. "type": "string"
  9620. },
  9621. "contractno": {
  9622. "description": "合同编号",
  9623. "type": "string"
  9624. },
  9625. "contractstatus": {
  9626. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9627. "type": "integer"
  9628. },
  9629. "contracttype": {
  9630. "description": "现货合同类型 - 1:采购 -1:销售",
  9631. "type": "integer"
  9632. },
  9633. "deliverygoodscode": {
  9634. "description": "现货品种代码",
  9635. "type": "string"
  9636. },
  9637. "deliverygoodsid": {
  9638. "description": "现货商品ID",
  9639. "type": "integer"
  9640. },
  9641. "deliverygoodsname": {
  9642. "description": "现货品种名称",
  9643. "type": "string"
  9644. },
  9645. "enumdicname": {
  9646. "description": "单位名称",
  9647. "type": "string"
  9648. },
  9649. "goodscode": {
  9650. "description": "点价合约",
  9651. "type": "string"
  9652. },
  9653. "goodsname": {
  9654. "description": "商品名称",
  9655. "type": "string"
  9656. },
  9657. "operateapplyid": {
  9658. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9659. "type": "string"
  9660. },
  9661. "operateapplytype": {
  9662. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9663. "type": "integer"
  9664. },
  9665. "pricemove": {
  9666. "description": "升贴水",
  9667. "type": "number"
  9668. },
  9669. "pricetype": {
  9670. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9671. "type": "integer"
  9672. },
  9673. "reckontype": {
  9674. "description": "结算类型",
  9675. "type": "string"
  9676. },
  9677. "reckonvalue": {
  9678. "description": "值",
  9679. "type": "number"
  9680. },
  9681. "relatedid": {
  9682. "description": "现货合同ID",
  9683. "type": "string"
  9684. },
  9685. "sellusername": {
  9686. "description": "销售方名字",
  9687. "type": "string"
  9688. },
  9689. "userid": {
  9690. "description": "用户ID",
  9691. "type": "integer"
  9692. },
  9693. "wrstandardcode": {
  9694. "description": "品类代码",
  9695. "type": "string"
  9696. },
  9697. "wrstandardid": {
  9698. "description": "品类id",
  9699. "type": "integer"
  9700. },
  9701. "wrstandardname": {
  9702. "description": "品类名称",
  9703. "type": "string"
  9704. }
  9705. }
  9706. },
  9707. "ermcp.QryBussinessJsRsp": {
  9708. "type": "object",
  9709. "properties": {
  9710. "addmargin": {
  9711. "description": "追加保证金(非必填)",
  9712. "type": "number"
  9713. },
  9714. "applyid": {
  9715. "description": "申请人",
  9716. "type": "string"
  9717. },
  9718. "applyname": {
  9719. "description": "申请人名称",
  9720. "type": "string"
  9721. },
  9722. "applystatus": {
  9723. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9724. "type": "integer"
  9725. },
  9726. "applytime": {
  9727. "description": "申请时间",
  9728. "type": "string"
  9729. },
  9730. "attachurl": {
  9731. "description": "附件",
  9732. "type": "string"
  9733. },
  9734. "auditid": {
  9735. "description": "审核人ID",
  9736. "type": "string"
  9737. },
  9738. "auditname": {
  9739. "description": "审核人名称",
  9740. "type": "string"
  9741. },
  9742. "audittime": {
  9743. "description": "审核时间",
  9744. "type": "string"
  9745. },
  9746. "buyusername": {
  9747. "description": "采购方名称",
  9748. "type": "string"
  9749. },
  9750. "contractno": {
  9751. "description": "合同编号",
  9752. "type": "string"
  9753. },
  9754. "contractstatus": {
  9755. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9756. "type": "integer"
  9757. },
  9758. "contracttype": {
  9759. "description": "现货合同类型 - 1:采购 -1:销售",
  9760. "type": "integer"
  9761. },
  9762. "decmargin": {
  9763. "description": "减少保证金(非必填)",
  9764. "type": "number"
  9765. },
  9766. "deliverygoodscode": {
  9767. "description": "现货品种代码",
  9768. "type": "string"
  9769. },
  9770. "deliverygoodsid": {
  9771. "description": "现货商品ID",
  9772. "type": "integer"
  9773. },
  9774. "deliverygoodsname": {
  9775. "description": "现货品种名称",
  9776. "type": "string"
  9777. },
  9778. "enumdicname": {
  9779. "description": "单位名称",
  9780. "type": "string"
  9781. },
  9782. "goodscode": {
  9783. "description": "点价合约",
  9784. "type": "string"
  9785. },
  9786. "goodsname": {
  9787. "description": "商品名称",
  9788. "type": "string"
  9789. },
  9790. "operateapplyid": {
  9791. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9792. "type": "string"
  9793. },
  9794. "operateapplytype": {
  9795. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9796. "type": "integer"
  9797. },
  9798. "pricemove": {
  9799. "description": "升贴水",
  9800. "type": "number"
  9801. },
  9802. "pricetype": {
  9803. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9804. "type": "integer"
  9805. },
  9806. "reckonadjustamount": {
  9807. "description": "结算调整金额(非必填)",
  9808. "type": "number"
  9809. },
  9810. "reckonosamount": {
  9811. "description": "结算溢短金额(非必填)",
  9812. "type": "number"
  9813. },
  9814. "reckonotheramount": {
  9815. "description": "结算其他费用(非必填)",
  9816. "type": "number"
  9817. },
  9818. "reckonrealqty": {
  9819. "description": "结算实际数量(非必填)",
  9820. "type": "number"
  9821. },
  9822. "relatedid": {
  9823. "description": "现货合同ID",
  9824. "type": "string"
  9825. },
  9826. "sellusername": {
  9827. "description": "销售方名字",
  9828. "type": "string"
  9829. },
  9830. "userid": {
  9831. "description": "用户ID",
  9832. "type": "integer"
  9833. },
  9834. "wrstandardcode": {
  9835. "description": "品类代码",
  9836. "type": "string"
  9837. },
  9838. "wrstandardid": {
  9839. "description": "品类id",
  9840. "type": "integer"
  9841. },
  9842. "wrstandardname": {
  9843. "description": "品类名称",
  9844. "type": "string"
  9845. }
  9846. }
  9847. },
  9848. "ermcp.QryBussinessKxRsp": {
  9849. "type": "object",
  9850. "properties": {
  9851. "applyid": {
  9852. "description": "申请人",
  9853. "type": "string"
  9854. },
  9855. "applyname": {
  9856. "description": "申请人名称",
  9857. "type": "string"
  9858. },
  9859. "applystatus": {
  9860. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9861. "type": "integer"
  9862. },
  9863. "applytime": {
  9864. "description": "申请时间",
  9865. "type": "string"
  9866. },
  9867. "attachurl": {
  9868. "description": "附件",
  9869. "type": "string"
  9870. },
  9871. "auditid": {
  9872. "description": "审核人ID",
  9873. "type": "string"
  9874. },
  9875. "auditname": {
  9876. "description": "审核人名称",
  9877. "type": "string"
  9878. },
  9879. "audittime": {
  9880. "description": "审核时间",
  9881. "type": "string"
  9882. },
  9883. "buyusername": {
  9884. "description": "采购方名称",
  9885. "type": "string"
  9886. },
  9887. "contractno": {
  9888. "description": "合同编号",
  9889. "type": "string"
  9890. },
  9891. "contractstatus": {
  9892. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9893. "type": "integer"
  9894. },
  9895. "contracttype": {
  9896. "description": "现货合同类型 - 1:采购 -1:销售",
  9897. "type": "integer"
  9898. },
  9899. "deductamount": {
  9900. "description": "退款(非必填)",
  9901. "type": "number"
  9902. },
  9903. "deliverygoodscode": {
  9904. "description": "现货品种代码",
  9905. "type": "string"
  9906. },
  9907. "deliverygoodsid": {
  9908. "description": "现货商品ID",
  9909. "type": "integer"
  9910. },
  9911. "deliverygoodsname": {
  9912. "description": "现货品种名称",
  9913. "type": "string"
  9914. },
  9915. "enumdicname": {
  9916. "description": "单位名称",
  9917. "type": "string"
  9918. },
  9919. "goodscode": {
  9920. "description": "点价合约",
  9921. "type": "string"
  9922. },
  9923. "goodsname": {
  9924. "description": "商品名称",
  9925. "type": "string"
  9926. },
  9927. "kxtype": {
  9928. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9929. "type": "integer"
  9930. },
  9931. "operateapplyid": {
  9932. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9933. "type": "string"
  9934. },
  9935. "operateapplytype": {
  9936. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9937. "type": "integer"
  9938. },
  9939. "payamount": {
  9940. "description": "收付款(非必填)",
  9941. "type": "number"
  9942. },
  9943. "pricemove": {
  9944. "description": "升贴水",
  9945. "type": "number"
  9946. },
  9947. "pricetype": {
  9948. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9949. "type": "integer"
  9950. },
  9951. "relatedid": {
  9952. "description": "现货合同ID",
  9953. "type": "string"
  9954. },
  9955. "sellusername": {
  9956. "description": "销售方名字",
  9957. "type": "string"
  9958. },
  9959. "userid": {
  9960. "description": "用户ID",
  9961. "type": "integer"
  9962. },
  9963. "wrstandardcode": {
  9964. "description": "品类代码",
  9965. "type": "string"
  9966. },
  9967. "wrstandardid": {
  9968. "description": "品类id",
  9969. "type": "integer"
  9970. },
  9971. "wrstandardname": {
  9972. "description": "品类名称",
  9973. "type": "string"
  9974. }
  9975. }
  9976. },
  9977. "ermcp.QryGGCovertCfgRsp": {
  9978. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9979. },
  9980. "ermcp.QryMGChangeLogRsp": {
  9981. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9982. },
  9983. "ermcp.QryMiddleGoodsDetailRsp": {
  9984. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9985. },
  9986. "ermcp.QryMiddleGoodsRsp": {
  9987. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9988. },
  9989. "ermcp.QryOPLogRsp": {
  9990. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9991. },
  9992. "ermcp.QryUserInfoRsp": {
  9993. "$ref": "#/definitions/models.ErmcpUserModel"
  9994. },
  9995. "ermcp.QryWarehouseRsp": {
  9996. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9997. },
  9998. "ermcp.QueryErmcpTradePositionRsp": {
  9999. "type": "object",
  10000. "properties": {
  10001. "agreeunit": {
  10002. "description": "合约单位",
  10003. "type": "number"
  10004. },
  10005. "buyorsell": {
  10006. "description": "方向 - 0:买 1:卖",
  10007. "type": "integer"
  10008. },
  10009. "curpositionqty": {
  10010. "description": "持仓(总仓数量, 期末头寸)",
  10011. "type": "integer"
  10012. },
  10013. "curtdposition": {
  10014. "description": "今仓数量(期末今日头寸)",
  10015. "type": "integer"
  10016. },
  10017. "curtdpositionenabled": {
  10018. "description": "今仓可用",
  10019. "type": "integer"
  10020. },
  10021. "decimalplace": {
  10022. "description": "报价小数位",
  10023. "type": "integer"
  10024. },
  10025. "enableqty": {
  10026. "description": "可用(总仓可用)",
  10027. "type": "integer"
  10028. },
  10029. "exexchangename": {
  10030. "description": "外部交易所名称",
  10031. "type": "string"
  10032. },
  10033. "goodscode": {
  10034. "description": "商品代码(内部)",
  10035. "type": "string"
  10036. },
  10037. "goodsid": {
  10038. "description": "商品ID(自增ID SEQ_GOODS)",
  10039. "type": "integer"
  10040. },
  10041. "goodsname": {
  10042. "description": "商品名称",
  10043. "type": "string"
  10044. },
  10045. "last": {
  10046. "description": "现价",
  10047. "type": "number"
  10048. },
  10049. "marketid": {
  10050. "description": "所属市场ID",
  10051. "type": "integer"
  10052. },
  10053. "openaverageprice": {
  10054. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10055. "type": "number"
  10056. },
  10057. "opencost": {
  10058. "description": "开仓成本",
  10059. "type": "number"
  10060. },
  10061. "openpl": {
  10062. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10063. "type": "number"
  10064. },
  10065. "outgoodscode": {
  10066. "description": "商品代码(外部)",
  10067. "type": "string"
  10068. },
  10069. "positionaverageprice": {
  10070. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10071. "type": "number"
  10072. },
  10073. "positioncost": {
  10074. "description": "持仓成本",
  10075. "type": "number"
  10076. },
  10077. "positionpl": {
  10078. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10079. "type": "number"
  10080. },
  10081. "positionplrate": {
  10082. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10083. "type": "number"
  10084. },
  10085. "usedmargin": {
  10086. "description": "占用保证金",
  10087. "type": "number"
  10088. }
  10089. }
  10090. },
  10091. "ermcp.RealtimeExposurePositionRsp": {
  10092. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10093. },
  10094. "ermcp.RealtimeExposureRsp": {
  10095. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10096. },
  10097. "erms2.QueryArbitrageStrategyRsp": {
  10098. "type": "object",
  10099. "required": [
  10100. "asapplyid"
  10101. ],
  10102. "properties": {
  10103. "applybasis": {
  10104. "description": "申请基差",
  10105. "type": "number"
  10106. },
  10107. "asapplyid": {
  10108. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10109. "type": "string"
  10110. },
  10111. "asname": {
  10112. "description": "策略名称",
  10113. "type": "string"
  10114. },
  10115. "asno": {
  10116. "description": "策略编号",
  10117. "type": "string"
  10118. },
  10119. "basischangepl": {
  10120. "description": "基差变动损益[结算更新]",
  10121. "type": "number"
  10122. },
  10123. "biztype": {
  10124. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10125. "type": "integer"
  10126. },
  10127. "closetradedate": {
  10128. "description": "完结交易日(yyyyMMdd)",
  10129. "type": "string"
  10130. },
  10131. "curbasis": {
  10132. "description": "当前基差[结算更新]",
  10133. "type": "number"
  10134. },
  10135. "deliverygoodsid": {
  10136. "description": "现货品种ID",
  10137. "type": "integer"
  10138. },
  10139. "futureavgprice": {
  10140. "description": "期货建仓均价",
  10141. "type": "number"
  10142. },
  10143. "futurecloseamount": {
  10144. "description": "期货平仓金额",
  10145. "type": "number"
  10146. },
  10147. "futurecloseqty": {
  10148. "description": "期货平仓数量",
  10149. "type": "number"
  10150. },
  10151. "futureopenamount": {
  10152. "description": "期货开仓金额",
  10153. "type": "number"
  10154. },
  10155. "futureopenqty": {
  10156. "description": "期货开仓数量",
  10157. "type": "number"
  10158. },
  10159. "futurepl": {
  10160. "description": "期货总盈亏[结算更新]",
  10161. "type": "number"
  10162. },
  10163. "futureqty": {
  10164. "description": "期货持仓数量",
  10165. "type": "number"
  10166. },
  10167. "futurequote": {
  10168. "description": "期货额度",
  10169. "type": "number"
  10170. },
  10171. "goodsgroupid": {
  10172. "description": "期货品种ID",
  10173. "type": "integer"
  10174. },
  10175. "marketid": {
  10176. "description": "市场ID",
  10177. "type": "integer"
  10178. },
  10179. "netexposure": {
  10180. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10181. "type": "number"
  10182. },
  10183. "netexposurepl": {
  10184. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10185. "type": "number"
  10186. },
  10187. "netexposurerate": {
  10188. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10189. "type": "number"
  10190. },
  10191. "openbasis": {
  10192. "description": "建仓基差",
  10193. "type": "number"
  10194. },
  10195. "pricedspotqty": {
  10196. "description": "已定价现货数量",
  10197. "type": "number"
  10198. },
  10199. "pricedspotqtynotax": {
  10200. "description": "已定价现货不含税数量",
  10201. "type": "number"
  10202. },
  10203. "remark": {
  10204. "description": "备注",
  10205. "type": "string"
  10206. },
  10207. "spotavgprice": {
  10208. "description": "现货均价",
  10209. "type": "number"
  10210. },
  10211. "spotbuyamount": {
  10212. "description": "现货采购金额",
  10213. "type": "number"
  10214. },
  10215. "spotbuyqty": {
  10216. "description": "现货采购数量",
  10217. "type": "number"
  10218. },
  10219. "spotpl": {
  10220. "description": "现货总盈亏[结算更新]",
  10221. "type": "number"
  10222. },
  10223. "spotquota": {
  10224. "description": "现货额度",
  10225. "type": "number"
  10226. },
  10227. "spotsellamount": {
  10228. "description": "现货销售金额",
  10229. "type": "number"
  10230. },
  10231. "spotsellqty": {
  10232. "description": "现货销售数量",
  10233. "type": "number"
  10234. },
  10235. "spotusedquota": {
  10236. "description": "现货占用资金",
  10237. "type": "number"
  10238. },
  10239. "strategystatus": {
  10240. "description": "策略状态 - 0:未结束 1:已结束",
  10241. "type": "integer"
  10242. },
  10243. "totalpl": {
  10244. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10245. "type": "number"
  10246. },
  10247. "tradedate": {
  10248. "description": "交易日(yyyyMMdd)",
  10249. "type": "string"
  10250. },
  10251. "updatetime": {
  10252. "description": "更新时间",
  10253. "type": "string"
  10254. },
  10255. "usedquota": {
  10256. "description": "已占用资金",
  10257. "type": "number"
  10258. },
  10259. "userid": {
  10260. "description": "所属机构",
  10261. "type": "integer"
  10262. }
  10263. }
  10264. },
  10265. "erms2.QueryInnerTradeDetailRsp": {
  10266. "type": "object",
  10267. "required": [
  10268. "asapplyid",
  10269. "buyorsell",
  10270. "goodscode",
  10271. "goodsgroupid",
  10272. "goodsgroupname",
  10273. "goodsname",
  10274. "tradeid"
  10275. ],
  10276. "properties": {
  10277. "accountid": {
  10278. "description": "账号ID",
  10279. "type": "integer"
  10280. },
  10281. "agreeunit": {
  10282. "description": "合约单位",
  10283. "type": "number"
  10284. },
  10285. "asapplyid": {
  10286. "description": "策略申请ID",
  10287. "type": "integer"
  10288. },
  10289. "asname": {
  10290. "description": "策略名称",
  10291. "type": "string"
  10292. },
  10293. "asno": {
  10294. "description": "策略编号",
  10295. "type": "string"
  10296. },
  10297. "buyorsell": {
  10298. "description": "方向 - 0:买 1:卖",
  10299. "type": "integer"
  10300. },
  10301. "channelbuildtype": {
  10302. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10303. "type": "integer"
  10304. },
  10305. "closetype": {
  10306. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10307. "type": "integer"
  10308. },
  10309. "decimalplace": {
  10310. "description": "报价小数位",
  10311. "type": "integer"
  10312. },
  10313. "detailtype": {
  10314. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10315. "type": "integer"
  10316. },
  10317. "exexchangecode": {
  10318. "description": "外部交易所代码",
  10319. "type": "string"
  10320. },
  10321. "exexchangename": {
  10322. "description": "外部交易所名称",
  10323. "type": "string"
  10324. },
  10325. "goodscode": {
  10326. "description": "商品代码(合约)",
  10327. "type": "string"
  10328. },
  10329. "goodsgroupid": {
  10330. "description": "商品组ID(品种ID)",
  10331. "type": "integer"
  10332. },
  10333. "goodsgroupname": {
  10334. "description": "商品组名称(品种)",
  10335. "type": "string"
  10336. },
  10337. "goodsid": {
  10338. "description": "商品ID",
  10339. "type": "integer"
  10340. },
  10341. "goodsname": {
  10342. "description": "商品名称(合约)",
  10343. "type": "string"
  10344. },
  10345. "goodunit": {
  10346. "description": "报价单位",
  10347. "type": "string"
  10348. },
  10349. "marketid": {
  10350. "description": "市场ID",
  10351. "type": "integer"
  10352. },
  10353. "orderid": {
  10354. "description": "委托单号",
  10355. "type": "string"
  10356. },
  10357. "outgoodscode": {
  10358. "description": "商品代码(外部)",
  10359. "type": "string"
  10360. },
  10361. "relatedouttradeid": {
  10362. "description": "关联外部成交单ID",
  10363. "type": "string"
  10364. },
  10365. "remark": {
  10366. "description": "备注",
  10367. "type": "string"
  10368. },
  10369. "spotcontractid": {
  10370. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10371. "type": "integer"
  10372. },
  10373. "spotcontractno": {
  10374. "description": "现货合同编号",
  10375. "type": "string"
  10376. },
  10377. "tradeid": {
  10378. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10379. "type": "string"
  10380. },
  10381. "tradeprice": {
  10382. "description": "成交价格",
  10383. "type": "number"
  10384. },
  10385. "tradeqty": {
  10386. "description": "成交数量",
  10387. "type": "integer"
  10388. },
  10389. "tradetime": {
  10390. "description": "成交时间",
  10391. "type": "string"
  10392. },
  10393. "updatetime": {
  10394. "description": "更新时间",
  10395. "type": "string"
  10396. }
  10397. }
  10398. },
  10399. "erms2.QuerySpotContractRsp": {
  10400. "type": "object",
  10401. "required": [
  10402. "spotcontractid"
  10403. ],
  10404. "properties": {
  10405. "accountid": {
  10406. "description": "资金账户ID",
  10407. "type": "integer"
  10408. },
  10409. "areauserid": {
  10410. "description": "所属机构",
  10411. "type": "integer"
  10412. },
  10413. "closedate": {
  10414. "description": "终止日期",
  10415. "type": "string"
  10416. },
  10417. "closeremark": {
  10418. "description": "结束备注",
  10419. "type": "string"
  10420. },
  10421. "closetradedate": {
  10422. "description": "完结交易日(yyyyMMdd)",
  10423. "type": "string"
  10424. },
  10425. "closetype": {
  10426. "description": "终止类型 - 1:违约 2:提前终止",
  10427. "type": "integer"
  10428. },
  10429. "contractamount": {
  10430. "description": "合同金额",
  10431. "type": "number"
  10432. },
  10433. "contractattachment": {
  10434. "description": "合同附件",
  10435. "type": "string"
  10436. },
  10437. "contractno": {
  10438. "description": "现货合同编号",
  10439. "type": "string"
  10440. },
  10441. "contractqty": {
  10442. "description": "合同数量(数值) (用于计算)",
  10443. "type": "number"
  10444. },
  10445. "contractqtychar": {
  10446. "description": "合同数量\\已订价数量 (用于显示)",
  10447. "type": "string"
  10448. },
  10449. "contractstatus": {
  10450. "description": "合同状态 - 0:未结束 1:已结束",
  10451. "type": "integer"
  10452. },
  10453. "contracttype": {
  10454. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10455. "type": "integer"
  10456. },
  10457. "customeraccountid": {
  10458. "description": "客户资金账户ID",
  10459. "type": "integer"
  10460. },
  10461. "customeruserid": {
  10462. "description": "客户ID",
  10463. "type": "integer"
  10464. },
  10465. "deliverygoodsdesc": {
  10466. "description": "品种说明",
  10467. "type": "string"
  10468. },
  10469. "deliverygoodsid": {
  10470. "description": "现货品种ID",
  10471. "type": "integer"
  10472. },
  10473. "handlestatus": {
  10474. "description": "处理状态",
  10475. "type": "integer"
  10476. },
  10477. "invoiceatt": {
  10478. "description": "发票附件",
  10479. "type": "string"
  10480. },
  10481. "invoicedatetime": {
  10482. "description": "开收票更新时间",
  10483. "type": "string"
  10484. },
  10485. "invoiceopentime": {
  10486. "description": "开票时间",
  10487. "type": "string"
  10488. },
  10489. "invoiceremark": {
  10490. "description": "发票备注",
  10491. "type": "string"
  10492. },
  10493. "invoicestatus": {
  10494. "description": "开收票状态 - 0:未开票 1:已开票",
  10495. "type": "integer"
  10496. },
  10497. "lastdate": {
  10498. "description": "交货时间",
  10499. "type": "string"
  10500. },
  10501. "marketid": {
  10502. "description": "市场ID",
  10503. "type": "integer"
  10504. },
  10505. "paydatetime": {
  10506. "description": "收付款更新时间",
  10507. "type": "string"
  10508. },
  10509. "payremark": {
  10510. "description": "收付款备注",
  10511. "type": "string"
  10512. },
  10513. "paystatus": {
  10514. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10515. "type": "integer"
  10516. },
  10517. "positionqty": {
  10518. "description": "头寸数量 - 合同数量去小数部分",
  10519. "type": "integer"
  10520. },
  10521. "producttype": {
  10522. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10523. "type": "integer"
  10524. },
  10525. "relatedqty": {
  10526. "description": "已关联数量",
  10527. "type": "number"
  10528. },
  10529. "relatedstatus": {
  10530. "description": "关联完结状态 - 0:未结束 1:已结束",
  10531. "type": "integer"
  10532. },
  10533. "remark": {
  10534. "description": "备注",
  10535. "type": "string"
  10536. },
  10537. "signdate": {
  10538. "description": "签订日期",
  10539. "type": "string"
  10540. },
  10541. "spotcontractid": {
  10542. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10543. "type": "string"
  10544. },
  10545. "spotdatetime": {
  10546. "description": "收发货更新时间",
  10547. "type": "string"
  10548. },
  10549. "spotprice": {
  10550. "description": "价格",
  10551. "type": "number"
  10552. },
  10553. "spotremark": {
  10554. "description": "收发货备注",
  10555. "type": "string"
  10556. },
  10557. "spotstatus": {
  10558. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10559. "type": "integer"
  10560. },
  10561. "tradedate": {
  10562. "description": "交易日(yyyyMMdd)",
  10563. "type": "string"
  10564. },
  10565. "userid": {
  10566. "description": "业务员用户ID",
  10567. "type": "integer"
  10568. },
  10569. "warehouseid": {
  10570. "description": "仓库ID",
  10571. "type": "integer"
  10572. },
  10573. "wrfactortypeid": {
  10574. "description": "仓单要素类型ID",
  10575. "type": "integer"
  10576. },
  10577. "wrstandardid": {
  10578. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10579. "type": "integer"
  10580. }
  10581. }
  10582. },
  10583. "erms3.AddErms2ASApplyReq": {
  10584. "type": "object",
  10585. "required": [
  10586. "asapplyid"
  10587. ],
  10588. "properties": {
  10589. "applybasis": {
  10590. "description": "申请基差",
  10591. "type": "number"
  10592. },
  10593. "applystatus": {
  10594. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10595. "type": "integer"
  10596. },
  10597. "asapplyid": {
  10598. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10599. "type": "integer"
  10600. },
  10601. "asname": {
  10602. "description": "策略名称",
  10603. "type": "string"
  10604. },
  10605. "asno": {
  10606. "description": "策略编号",
  10607. "type": "string"
  10608. },
  10609. "auditid": {
  10610. "description": "审核人",
  10611. "type": "integer"
  10612. },
  10613. "auditremark": {
  10614. "description": "审核备注",
  10615. "type": "string"
  10616. },
  10617. "audittime": {
  10618. "description": "审核时间",
  10619. "type": "string"
  10620. },
  10621. "biztype": {
  10622. "description": "业务类型 - 1:正向套利 2:反向套利",
  10623. "type": "integer"
  10624. },
  10625. "createtime": {
  10626. "description": "创建时间",
  10627. "type": "string"
  10628. },
  10629. "creatorid": {
  10630. "description": "创建人",
  10631. "type": "integer"
  10632. },
  10633. "deliverygoodsid": {
  10634. "description": "现货品种ID",
  10635. "type": "integer"
  10636. },
  10637. "futurequote": {
  10638. "description": "期货额度",
  10639. "type": "number"
  10640. },
  10641. "goodsgroupid": {
  10642. "description": "期货品种ID",
  10643. "type": "integer"
  10644. },
  10645. "marketid": {
  10646. "description": "市场ID",
  10647. "type": "integer"
  10648. },
  10649. "remark": {
  10650. "description": "备注",
  10651. "type": "string"
  10652. },
  10653. "spotquota": {
  10654. "description": "现货额度",
  10655. "type": "number"
  10656. },
  10657. "tradedate": {
  10658. "description": "交易日(yyyyMMdd)",
  10659. "type": "string"
  10660. },
  10661. "userid": {
  10662. "description": "所属机构",
  10663. "type": "integer"
  10664. }
  10665. }
  10666. },
  10667. "erms3.AddErms2SpotTradeApplyReq": {
  10668. "type": "object",
  10669. "required": [
  10670. "spottradeid"
  10671. ],
  10672. "properties": {
  10673. "applyjsondetail": {
  10674. "description": "申请明细(JSON)",
  10675. "type": "string"
  10676. },
  10677. "applystatus": {
  10678. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10679. "type": "integer"
  10680. },
  10681. "areauserid": {
  10682. "description": "所属机构",
  10683. "type": "integer"
  10684. },
  10685. "auditid": {
  10686. "description": "审核人",
  10687. "type": "integer"
  10688. },
  10689. "auditremark": {
  10690. "description": "审核备注",
  10691. "type": "string"
  10692. },
  10693. "audittime": {
  10694. "description": "审核时间",
  10695. "type": "string"
  10696. },
  10697. "createtime": {
  10698. "description": "创建时间",
  10699. "type": "string"
  10700. },
  10701. "creatorid": {
  10702. "description": "创建人",
  10703. "type": "integer"
  10704. },
  10705. "deliverygoodsid": {
  10706. "description": "现货品种ID",
  10707. "type": "integer"
  10708. },
  10709. "futureaccountid": {
  10710. "description": "期货资金账户",
  10711. "type": "integer"
  10712. },
  10713. "goodsgroupid": {
  10714. "description": "期货品种",
  10715. "type": "integer"
  10716. },
  10717. "marketid": {
  10718. "description": "市场ID",
  10719. "type": "integer"
  10720. },
  10721. "remark": {
  10722. "description": "备注",
  10723. "type": "string"
  10724. },
  10725. "spotaccountid": {
  10726. "description": "现货资金账户",
  10727. "type": "integer"
  10728. },
  10729. "spottradeid": {
  10730. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10731. "type": "integer"
  10732. },
  10733. "spottradename": {
  10734. "description": "业务名称",
  10735. "type": "string"
  10736. },
  10737. "spottradeno": {
  10738. "description": "业务编号",
  10739. "type": "string"
  10740. },
  10741. "tradedate": {
  10742. "description": "交易日(yyyyMMdd)",
  10743. "type": "string"
  10744. },
  10745. "wrstandardid": {
  10746. "description": "仓单标准ID",
  10747. "type": "integer"
  10748. }
  10749. }
  10750. },
  10751. "erms3.AddSpotContractApplyReq": {
  10752. "type": "object",
  10753. "required": [
  10754. "accountid",
  10755. "areauserid",
  10756. "contractno",
  10757. "contracttype",
  10758. "customeraccountid",
  10759. "customeruserid",
  10760. "details",
  10761. "orimargin",
  10762. "signdate"
  10763. ],
  10764. "properties": {
  10765. "accountid": {
  10766. "description": "资金账户ID",
  10767. "type": "integer"
  10768. },
  10769. "areauserid": {
  10770. "description": "所属机构",
  10771. "type": "integer"
  10772. },
  10773. "contractattachment": {
  10774. "description": "合同附件",
  10775. "type": "string"
  10776. },
  10777. "contractno": {
  10778. "description": "现货合同编号",
  10779. "type": "string"
  10780. },
  10781. "contracttype": {
  10782. "description": "现货合同类型 - 1:采购 -1:销售",
  10783. "type": "integer"
  10784. },
  10785. "creatorid": {
  10786. "description": "申请人",
  10787. "type": "integer"
  10788. },
  10789. "customeraccountid": {
  10790. "description": "客户资金账户ID",
  10791. "type": "integer"
  10792. },
  10793. "customeruserid": {
  10794. "description": "客户ID",
  10795. "type": "integer"
  10796. },
  10797. "details": {
  10798. "description": "明细",
  10799. "type": "array",
  10800. "items": {
  10801. "$ref": "#/definitions/erms3.SoptContractDetail"
  10802. }
  10803. },
  10804. "orimargin": {
  10805. "description": "初始保证金",
  10806. "type": "number"
  10807. },
  10808. "remark": {
  10809. "description": "备注",
  10810. "type": "string"
  10811. },
  10812. "signdate": {
  10813. "description": "签订日期",
  10814. "type": "string"
  10815. }
  10816. }
  10817. },
  10818. "erms3.AddSpotContractApplyRsp": {
  10819. "type": "object",
  10820. "required": [
  10821. "contractno"
  10822. ],
  10823. "properties": {
  10824. "contractno": {
  10825. "description": "现货合同编号",
  10826. "type": "string"
  10827. },
  10828. "spotcontractid": {
  10829. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10830. "type": "integer"
  10831. }
  10832. }
  10833. },
  10834. "erms3.AddUserInfoApplyReq": {
  10835. "type": "object",
  10836. "required": [
  10837. "userid"
  10838. ],
  10839. "properties": {
  10840. "accountid": {
  10841. "description": "交易系统帐号Id (加密存储)",
  10842. "type": "integer"
  10843. },
  10844. "areacode": {
  10845. "description": "机构代码",
  10846. "type": "string"
  10847. },
  10848. "areaid": {
  10849. "description": "机构Id",
  10850. "type": "integer"
  10851. },
  10852. "attachment1": {
  10853. "description": "附件1",
  10854. "type": "string"
  10855. },
  10856. "attachment2": {
  10857. "description": "附件2",
  10858. "type": "string"
  10859. },
  10860. "attachment3": {
  10861. "description": "附件3",
  10862. "type": "string"
  10863. },
  10864. "attachment4": {
  10865. "description": "附件4",
  10866. "type": "string"
  10867. },
  10868. "attachment5": {
  10869. "description": "附件5",
  10870. "type": "string"
  10871. },
  10872. "auditedby": {
  10873. "description": "审核人",
  10874. "type": "string"
  10875. },
  10876. "auditime": {
  10877. "description": "审核时间",
  10878. "type": "string"
  10879. },
  10880. "auditsrc": {
  10881. "description": "审核来源 - 1:管理端 2:终端",
  10882. "type": "integer"
  10883. },
  10884. "bankaccount": {
  10885. "description": "银行帐号 (加密存储)",
  10886. "type": "string"
  10887. },
  10888. "bankaccountname": {
  10889. "description": "收款人名称",
  10890. "type": "string"
  10891. },
  10892. "bankcardbackphotourl": {
  10893. "description": "银行卡背面照地址",
  10894. "type": "string"
  10895. },
  10896. "bankcardfrontphotourl": {
  10897. "description": "银行卡正面照地址",
  10898. "type": "string"
  10899. },
  10900. "bankid": {
  10901. "description": "银行编码",
  10902. "type": "string"
  10903. },
  10904. "bankname": {
  10905. "description": "银行名称",
  10906. "type": "string"
  10907. },
  10908. "bankpictureurl": {
  10909. "description": "银行卡正面地址",
  10910. "type": "string"
  10911. },
  10912. "biznature": {
  10913. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10914. "type": "integer"
  10915. },
  10916. "bizscope": {
  10917. "description": "企业经营范围(企业)",
  10918. "type": "string"
  10919. },
  10920. "biztype": {
  10921. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10922. "type": "integer"
  10923. },
  10924. "brokerid": {
  10925. "description": "经纪人ID(加密存储)",
  10926. "type": "string"
  10927. },
  10928. "cardaddress": {
  10929. "description": "证件地址 (加密存储)",
  10930. "type": "string"
  10931. },
  10932. "cardbackphotourl": {
  10933. "description": "背面证件照地址",
  10934. "type": "string"
  10935. },
  10936. "cardfrontphotourl": {
  10937. "description": "正面证件照地址",
  10938. "type": "string"
  10939. },
  10940. "cardnum": {
  10941. "description": "证件号码 (加密存储)",
  10942. "type": "string"
  10943. },
  10944. "cardtype": {
  10945. "description": "证件类型",
  10946. "type": "integer"
  10947. },
  10948. "cityid": {
  10949. "description": "市",
  10950. "type": "integer"
  10951. },
  10952. "company": {
  10953. "description": "公司(个人)",
  10954. "type": "string"
  10955. },
  10956. "contactcardbackphotourl": {
  10957. "description": "联系人证件背面图片地址",
  10958. "type": "string"
  10959. },
  10960. "contactcardfrontphotourl": {
  10961. "description": "联系人证件正面图片地址",
  10962. "type": "string"
  10963. },
  10964. "contactname": {
  10965. "description": "联系人",
  10966. "type": "string"
  10967. },
  10968. "countryid": {
  10969. "description": "国家",
  10970. "type": "integer"
  10971. },
  10972. "createtime": {
  10973. "description": "开户申请时间",
  10974. "type": "string"
  10975. },
  10976. "cusbankid": {
  10977. "description": "签约类型",
  10978. "type": "string"
  10979. },
  10980. "cusbankname": {
  10981. "description": "签约类型名称",
  10982. "type": "string"
  10983. },
  10984. "customername": {
  10985. "description": "客户名称(企业名称)",
  10986. "type": "string"
  10987. },
  10988. "districtid": {
  10989. "description": "地区",
  10990. "type": "integer"
  10991. },
  10992. "email": {
  10993. "description": "Email地址(加密存储)",
  10994. "type": "string"
  10995. },
  10996. "halfbodyphotourl": {
  10997. "description": "半身照地址",
  10998. "type": "string"
  10999. },
  11000. "headurl": {
  11001. "description": "头像地址",
  11002. "type": "string"
  11003. },
  11004. "ipaddress": {
  11005. "description": "IP地址",
  11006. "type": "string"
  11007. },
  11008. "isvalidate": {
  11009. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11010. "type": "string"
  11011. },
  11012. "legalcardbackphotourl": {
  11013. "description": "法人身份证背面照地址",
  11014. "type": "string"
  11015. },
  11016. "legalcardfrontphotourl": {
  11017. "description": "法人身份证正面照地址",
  11018. "type": "string"
  11019. },
  11020. "legalpersonname": {
  11021. "description": "法人姓名(企业)",
  11022. "type": "string"
  11023. },
  11024. "logincode": {
  11025. "description": "登录帐号 (加密存储)",
  11026. "type": "string"
  11027. },
  11028. "memberareaid": {
  11029. "description": "所属会员ID",
  11030. "type": "integer"
  11031. },
  11032. "mobile2": {
  11033. "description": "手机号码[明文-尚志]",
  11034. "type": "string"
  11035. },
  11036. "mobilephone": {
  11037. "description": "手机号码 (加密存储)",
  11038. "type": "string"
  11039. },
  11040. "modifiedby": {
  11041. "description": "修改人帐号",
  11042. "type": "integer"
  11043. },
  11044. "modifiedtime": {
  11045. "description": "修改时间",
  11046. "type": "string"
  11047. },
  11048. "nickname": {
  11049. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11050. "type": "string"
  11051. },
  11052. "openmode": {
  11053. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11054. "type": "integer"
  11055. },
  11056. "otherurl": {
  11057. "description": "其它图片地址[使用分号分隔]",
  11058. "type": "string"
  11059. },
  11060. "postalcode": {
  11061. "description": "邮政编码",
  11062. "type": "string"
  11063. },
  11064. "provinceid": {
  11065. "description": "省",
  11066. "type": "integer"
  11067. },
  11068. "proxystatementurl": {
  11069. "description": "授权委托书",
  11070. "type": "string"
  11071. },
  11072. "qq": {
  11073. "description": "QQ(加密存储",
  11074. "type": "string"
  11075. },
  11076. "referral": {
  11077. "description": "推荐人编码",
  11078. "type": "string"
  11079. },
  11080. "remark": {
  11081. "description": "备注",
  11082. "type": "string"
  11083. },
  11084. "removebeforestatus": {
  11085. "description": "REMOVEBEFORESTATUS",
  11086. "type": "integer"
  11087. },
  11088. "sex": {
  11089. "description": "性别 - 0:女 1:男",
  11090. "type": "integer"
  11091. },
  11092. "signedstatus": {
  11093. "description": "账户一号签签约状态",
  11094. "type": "integer"
  11095. },
  11096. "signpdfurl": {
  11097. "description": "签约pdf文件",
  11098. "type": "string"
  11099. },
  11100. "subbranch": {
  11101. "description": "开户支行",
  11102. "type": "string"
  11103. },
  11104. "taxpayernum": {
  11105. "description": "纳税人识别号",
  11106. "type": "string"
  11107. },
  11108. "telphone": {
  11109. "description": "联系电话(加密存储)",
  11110. "type": "string"
  11111. },
  11112. "userid": {
  11113. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11114. "type": "integer"
  11115. },
  11116. "userinfotype": {
  11117. "description": "用户信息类型 - 1:个人 2:企业",
  11118. "type": "integer"
  11119. },
  11120. "username": {
  11121. "description": "用户姓名",
  11122. "type": "string"
  11123. },
  11124. "userstate": {
  11125. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11126. "type": "integer"
  11127. },
  11128. "usertype": {
  11129. "description": "用户类型 - 1:投资者 2:机构",
  11130. "type": "integer"
  11131. },
  11132. "videourl": {
  11133. "description": "视频地址",
  11134. "type": "string"
  11135. },
  11136. "wechat": {
  11137. "description": "微信号 (加密存储)",
  11138. "type": "string"
  11139. }
  11140. }
  11141. },
  11142. "erms3.CustomerInfo": {
  11143. "type": "object",
  11144. "required": [
  11145. "userid"
  11146. ],
  11147. "properties": {
  11148. "accountids": {
  11149. "description": "资金账户ID列表",
  11150. "type": "array",
  11151. "items": {
  11152. "type": "integer"
  11153. }
  11154. },
  11155. "customername": {
  11156. "description": "名称(企业名称)",
  11157. "type": "string"
  11158. },
  11159. "mobile": {
  11160. "description": "手机号码",
  11161. "type": "string"
  11162. },
  11163. "userid": {
  11164. "description": "用户ID",
  11165. "type": "integer"
  11166. }
  11167. }
  11168. },
  11169. "erms3.ModifyUserInfoApplyReq": {
  11170. "type": "object",
  11171. "required": [
  11172. "userid"
  11173. ],
  11174. "properties": {
  11175. "accountid": {
  11176. "description": "交易系统帐号Id (加密存储)",
  11177. "type": "integer"
  11178. },
  11179. "areacode": {
  11180. "description": "机构代码",
  11181. "type": "string"
  11182. },
  11183. "areaid": {
  11184. "description": "机构Id",
  11185. "type": "integer"
  11186. },
  11187. "attachment1": {
  11188. "description": "附件1",
  11189. "type": "string"
  11190. },
  11191. "attachment2": {
  11192. "description": "附件2",
  11193. "type": "string"
  11194. },
  11195. "attachment3": {
  11196. "description": "附件3",
  11197. "type": "string"
  11198. },
  11199. "attachment4": {
  11200. "description": "附件4",
  11201. "type": "string"
  11202. },
  11203. "attachment5": {
  11204. "description": "附件5",
  11205. "type": "string"
  11206. },
  11207. "auditedby": {
  11208. "description": "审核人",
  11209. "type": "string"
  11210. },
  11211. "auditime": {
  11212. "description": "审核时间",
  11213. "type": "string"
  11214. },
  11215. "auditsrc": {
  11216. "description": "审核来源 - 1:管理端 2:终端",
  11217. "type": "integer"
  11218. },
  11219. "bankaccount": {
  11220. "description": "银行帐号 (加密存储)",
  11221. "type": "string"
  11222. },
  11223. "bankaccountname": {
  11224. "description": "收款人名称",
  11225. "type": "string"
  11226. },
  11227. "bankcardbackphotourl": {
  11228. "description": "银行卡背面照地址",
  11229. "type": "string"
  11230. },
  11231. "bankcardfrontphotourl": {
  11232. "description": "银行卡正面照地址",
  11233. "type": "string"
  11234. },
  11235. "bankid": {
  11236. "description": "银行编码",
  11237. "type": "string"
  11238. },
  11239. "bankname": {
  11240. "description": "银行名称",
  11241. "type": "string"
  11242. },
  11243. "bankpictureurl": {
  11244. "description": "银行卡正面地址",
  11245. "type": "string"
  11246. },
  11247. "biznature": {
  11248. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11249. "type": "integer"
  11250. },
  11251. "bizscope": {
  11252. "description": "企业经营范围(企业)",
  11253. "type": "string"
  11254. },
  11255. "biztype": {
  11256. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11257. "type": "integer"
  11258. },
  11259. "brokerid": {
  11260. "description": "经纪人ID(加密存储)",
  11261. "type": "string"
  11262. },
  11263. "cardaddress": {
  11264. "description": "证件地址 (加密存储)",
  11265. "type": "string"
  11266. },
  11267. "cardbackphotourl": {
  11268. "description": "背面证件照地址",
  11269. "type": "string"
  11270. },
  11271. "cardfrontphotourl": {
  11272. "description": "正面证件照地址",
  11273. "type": "string"
  11274. },
  11275. "cardnum": {
  11276. "description": "证件号码 (加密存储)",
  11277. "type": "string"
  11278. },
  11279. "cardtype": {
  11280. "description": "证件类型",
  11281. "type": "integer"
  11282. },
  11283. "cityid": {
  11284. "description": "市",
  11285. "type": "integer"
  11286. },
  11287. "company": {
  11288. "description": "公司(个人)",
  11289. "type": "string"
  11290. },
  11291. "contactcardbackphotourl": {
  11292. "description": "联系人证件背面图片地址",
  11293. "type": "string"
  11294. },
  11295. "contactcardfrontphotourl": {
  11296. "description": "联系人证件正面图片地址",
  11297. "type": "string"
  11298. },
  11299. "contactname": {
  11300. "description": "联系人",
  11301. "type": "string"
  11302. },
  11303. "countryid": {
  11304. "description": "国家",
  11305. "type": "integer"
  11306. },
  11307. "createtime": {
  11308. "description": "开户申请时间",
  11309. "type": "string"
  11310. },
  11311. "cusbankid": {
  11312. "description": "签约类型",
  11313. "type": "string"
  11314. },
  11315. "cusbankname": {
  11316. "description": "签约类型名称",
  11317. "type": "string"
  11318. },
  11319. "customername": {
  11320. "description": "客户名称(企业名称)",
  11321. "type": "string"
  11322. },
  11323. "districtid": {
  11324. "description": "地区",
  11325. "type": "integer"
  11326. },
  11327. "email": {
  11328. "description": "Email地址(加密存储)",
  11329. "type": "string"
  11330. },
  11331. "halfbodyphotourl": {
  11332. "description": "半身照地址",
  11333. "type": "string"
  11334. },
  11335. "headurl": {
  11336. "description": "头像地址",
  11337. "type": "string"
  11338. },
  11339. "ipaddress": {
  11340. "description": "IP地址",
  11341. "type": "string"
  11342. },
  11343. "isvalidate": {
  11344. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11345. "type": "string"
  11346. },
  11347. "legalcardbackphotourl": {
  11348. "description": "法人身份证背面照地址",
  11349. "type": "string"
  11350. },
  11351. "legalcardfrontphotourl": {
  11352. "description": "法人身份证正面照地址",
  11353. "type": "string"
  11354. },
  11355. "legalpersonname": {
  11356. "description": "法人姓名(企业)",
  11357. "type": "string"
  11358. },
  11359. "logincode": {
  11360. "description": "登录帐号 (加密存储)",
  11361. "type": "string"
  11362. },
  11363. "memberareaid": {
  11364. "description": "所属会员ID",
  11365. "type": "integer"
  11366. },
  11367. "mobile2": {
  11368. "description": "手机号码[明文-尚志]",
  11369. "type": "string"
  11370. },
  11371. "mobilephone": {
  11372. "description": "手机号码 (加密存储)",
  11373. "type": "string"
  11374. },
  11375. "modifiedby": {
  11376. "description": "修改人帐号",
  11377. "type": "integer"
  11378. },
  11379. "modifiedtime": {
  11380. "description": "修改时间",
  11381. "type": "string"
  11382. },
  11383. "nickname": {
  11384. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11385. "type": "string"
  11386. },
  11387. "openmode": {
  11388. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11389. "type": "integer"
  11390. },
  11391. "otherurl": {
  11392. "description": "其它图片地址[使用分号分隔]",
  11393. "type": "string"
  11394. },
  11395. "postalcode": {
  11396. "description": "邮政编码",
  11397. "type": "string"
  11398. },
  11399. "provinceid": {
  11400. "description": "省",
  11401. "type": "integer"
  11402. },
  11403. "proxystatementurl": {
  11404. "description": "授权委托书",
  11405. "type": "string"
  11406. },
  11407. "qq": {
  11408. "description": "QQ(加密存储",
  11409. "type": "string"
  11410. },
  11411. "referral": {
  11412. "description": "推荐人编码",
  11413. "type": "string"
  11414. },
  11415. "remark": {
  11416. "description": "备注",
  11417. "type": "string"
  11418. },
  11419. "removebeforestatus": {
  11420. "description": "REMOVEBEFORESTATUS",
  11421. "type": "integer"
  11422. },
  11423. "sex": {
  11424. "description": "性别 - 0:女 1:男",
  11425. "type": "integer"
  11426. },
  11427. "signedstatus": {
  11428. "description": "账户一号签签约状态",
  11429. "type": "integer"
  11430. },
  11431. "signpdfurl": {
  11432. "description": "签约pdf文件",
  11433. "type": "string"
  11434. },
  11435. "subbranch": {
  11436. "description": "开户支行",
  11437. "type": "string"
  11438. },
  11439. "taxpayernum": {
  11440. "description": "纳税人识别号",
  11441. "type": "string"
  11442. },
  11443. "telphone": {
  11444. "description": "联系电话(加密存储)",
  11445. "type": "string"
  11446. },
  11447. "userid": {
  11448. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11449. "type": "integer"
  11450. },
  11451. "userinfotype": {
  11452. "description": "用户信息类型 - 1:个人 2:企业",
  11453. "type": "integer"
  11454. },
  11455. "username": {
  11456. "description": "用户姓名",
  11457. "type": "string"
  11458. },
  11459. "userstate": {
  11460. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11461. "type": "integer"
  11462. },
  11463. "usertype": {
  11464. "description": "用户类型 - 1:投资者 2:机构",
  11465. "type": "integer"
  11466. },
  11467. "videourl": {
  11468. "description": "视频地址",
  11469. "type": "string"
  11470. },
  11471. "wechat": {
  11472. "description": "微信号 (加密存储)",
  11473. "type": "string"
  11474. }
  11475. }
  11476. },
  11477. "erms3.QryAuditContractRsp": {
  11478. "type": "object",
  11479. "required": [
  11480. "matchcustomername",
  11481. "spotcontractid"
  11482. ],
  11483. "properties": {
  11484. "accountid": {
  11485. "description": "交易员ID",
  11486. "type": "string"
  11487. },
  11488. "applystatus": {
  11489. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11490. "type": "integer"
  11491. },
  11492. "curdeliveryqty": {
  11493. "description": "未交收量",
  11494. "type": "integer"
  11495. },
  11496. "customername": {
  11497. "description": "采购方ID",
  11498. "type": "string"
  11499. },
  11500. "deliverygoodsid": {
  11501. "description": "品种ID",
  11502. "type": "string"
  11503. },
  11504. "deliveryqty": {
  11505. "description": "交收量",
  11506. "type": "integer"
  11507. },
  11508. "enumdicname": {
  11509. "description": "单位名称",
  11510. "type": "string"
  11511. },
  11512. "matchaccountid": {
  11513. "description": "业务员ID",
  11514. "type": "string"
  11515. },
  11516. "matchcustomername": {
  11517. "description": "销售方ID",
  11518. "type": "string"
  11519. },
  11520. "pricedqty": {
  11521. "description": "定价量",
  11522. "type": "number"
  11523. },
  11524. "signdate": {
  11525. "description": "签订日期",
  11526. "type": "string"
  11527. },
  11528. "spotcontractid": {
  11529. "description": "合同ID",
  11530. "type": "string"
  11531. },
  11532. "totaldqty": {
  11533. "description": "合同量",
  11534. "type": "number"
  11535. },
  11536. "unpricedqty": {
  11537. "description": "未定价量",
  11538. "type": "number"
  11539. },
  11540. "wrstandardname": {
  11541. "description": "商品名称",
  11542. "type": "string"
  11543. }
  11544. }
  11545. },
  11546. "erms3.QryPendingBizRsp": {
  11547. "$ref": "#/definitions/models.PendingAuditBizModel"
  11548. },
  11549. "erms3.QueryBusinessInfoRsp": {
  11550. "type": "object",
  11551. "properties": {
  11552. "businessid": {
  11553. "description": "业务ID.",
  11554. "type": "integer"
  11555. },
  11556. "buyamount": {
  11557. "description": "采购额.",
  11558. "type": "number"
  11559. },
  11560. "buyqty": {
  11561. "description": "采购量.",
  11562. "type": "string"
  11563. },
  11564. "futurepl": {
  11565. "description": "期货盈亏.",
  11566. "type": "number"
  11567. },
  11568. "futureqty": {
  11569. "description": "期货敞口.",
  11570. "type": "string"
  11571. },
  11572. "goodsid": {
  11573. "description": "商品名称/商品代码.",
  11574. "type": "string"
  11575. },
  11576. "hedgingqty": {
  11577. "description": "套保量.",
  11578. "type": "string"
  11579. },
  11580. "sellamount": {
  11581. "description": "销售额.",
  11582. "type": "number"
  11583. },
  11584. "sellqty": {
  11585. "description": "销售量.",
  11586. "type": "string"
  11587. },
  11588. "spotmarketvalue": {
  11589. "description": "现货市值.",
  11590. "type": "number"
  11591. },
  11592. "spotpl": {
  11593. "description": "浮动权益.",
  11594. "type": "number"
  11595. },
  11596. "spotqty": {
  11597. "description": "现货量.",
  11598. "type": "string"
  11599. },
  11600. "statu": {
  11601. "description": "状态,0-未结束 1-已结束.",
  11602. "type": "integer"
  11603. },
  11604. "totalpl": {
  11605. "description": "总盈亏.",
  11606. "type": "number"
  11607. },
  11608. "totalqty": {
  11609. "description": "总敞口.",
  11610. "type": "string"
  11611. },
  11612. "type": {
  11613. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11614. "type": "integer"
  11615. }
  11616. }
  11617. },
  11618. "erms3.QuerySpotContractAppleFormRsp": {
  11619. "type": "object",
  11620. "properties": {
  11621. "goodses": {
  11622. "description": "合约列表",
  11623. "type": "array",
  11624. "items": {
  11625. "$ref": "#/definitions/models.GoodsIDAndName"
  11626. }
  11627. },
  11628. "oppositeusers": {
  11629. "description": "对方账号列表",
  11630. "type": "array",
  11631. "items": {
  11632. "$ref": "#/definitions/erms3.CustomerInfo"
  11633. }
  11634. },
  11635. "ouruser": {
  11636. "description": "我方账号",
  11637. "type": "object",
  11638. "$ref": "#/definitions/erms3.CustomerInfo"
  11639. },
  11640. "warehouseinfos": {
  11641. "description": "仓库信息列表",
  11642. "type": "array",
  11643. "items": {
  11644. "$ref": "#/definitions/models.Warehouseinfo"
  11645. }
  11646. },
  11647. "wrstandards": {
  11648. "description": "仓单标准列表",
  11649. "type": "array",
  11650. "items": {
  11651. "$ref": "#/definitions/models.WRStandardInfo"
  11652. }
  11653. }
  11654. }
  11655. },
  11656. "erms3.QuerySpotContractInfoRsp": {
  11657. "type": "object",
  11658. "properties": {
  11659. "accountid": {
  11660. "description": "表示交易员ID.",
  11661. "type": "integer"
  11662. },
  11663. "curdeliveryqty": {
  11664. "description": "表示未交收量.",
  11665. "type": "number"
  11666. },
  11667. "customername": {
  11668. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11669. "type": "string"
  11670. },
  11671. "deliverygoodsid": {
  11672. "description": "表示品种ID.",
  11673. "type": "string"
  11674. },
  11675. "deliveryqty": {
  11676. "description": "表示交收量.",
  11677. "type": "number"
  11678. },
  11679. "matchaccountid": {
  11680. "description": "表示业务员ID.",
  11681. "type": "integer"
  11682. },
  11683. "matchcustomername": {
  11684. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11685. "type": "string"
  11686. },
  11687. "priceqty": {
  11688. "description": "表示定价量.",
  11689. "type": "number"
  11690. },
  11691. "relatedbizid": {
  11692. "description": "表示业务ID.",
  11693. "type": "string"
  11694. },
  11695. "signdate": {
  11696. "description": "表示签订日期.",
  11697. "type": "string"
  11698. },
  11699. "spotcontractid": {
  11700. "description": "合同ID",
  11701. "type": "string"
  11702. },
  11703. "status": {
  11704. "description": "表示状态,0-履约中 1-已完成.",
  11705. "type": "integer"
  11706. },
  11707. "totalqty": {
  11708. "description": "表示合同量.",
  11709. "type": "number"
  11710. },
  11711. "unpricedqty": {
  11712. "description": "表示未定价量.",
  11713. "type": "number"
  11714. },
  11715. "wrstandardname": {
  11716. "description": "表示商品ID.",
  11717. "type": "string"
  11718. }
  11719. }
  11720. },
  11721. "erms3.QueryUserInfoAppliesRsp": {
  11722. "type": "object",
  11723. "required": [
  11724. "userid"
  11725. ],
  11726. "properties": {
  11727. "biznature": {
  11728. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11729. "type": "integer"
  11730. },
  11731. "contactname": {
  11732. "description": "联系人",
  11733. "type": "string"
  11734. },
  11735. "createtime": {
  11736. "description": "开户申请时间",
  11737. "type": "string"
  11738. },
  11739. "userid": {
  11740. "description": "用户ID(自增ID)",
  11741. "type": "integer"
  11742. },
  11743. "userinfotype": {
  11744. "description": "用户信息类型 - 1:个人 2:企业",
  11745. "type": "integer"
  11746. },
  11747. "username": {
  11748. "description": "用户姓名",
  11749. "type": "string"
  11750. },
  11751. "userstate": {
  11752. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11753. "type": "integer"
  11754. }
  11755. }
  11756. },
  11757. "erms3.QueryUserInfosRsp": {
  11758. "type": "object",
  11759. "required": [
  11760. "userid"
  11761. ],
  11762. "properties": {
  11763. "biznature": {
  11764. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11765. "type": "integer"
  11766. },
  11767. "contactname": {
  11768. "description": "联系人",
  11769. "type": "string"
  11770. },
  11771. "customername": {
  11772. "description": "客户名称(企业名称)",
  11773. "type": "string"
  11774. },
  11775. "userid": {
  11776. "description": "用户ID",
  11777. "type": "integer"
  11778. },
  11779. "userinfotype": {
  11780. "description": "用户信息类型 - 1:个人 2:企业",
  11781. "type": "integer"
  11782. },
  11783. "userstatus": {
  11784. "description": "用户状态 - 1:正常 2:注销",
  11785. "type": "integer"
  11786. }
  11787. }
  11788. },
  11789. "erms3.SoptContractDetail": {
  11790. "type": "object",
  11791. "required": [
  11792. "deliverygoodsid",
  11793. "producttype",
  11794. "unitname",
  11795. "warehouseid",
  11796. "wrstandardid",
  11797. "wrstandardname"
  11798. ],
  11799. "properties": {
  11800. "deliverygoodsdesc": {
  11801. "description": "现货品种说明",
  11802. "type": "string"
  11803. },
  11804. "deliverygoodsid": {
  11805. "description": "现货品种ID",
  11806. "type": "integer"
  11807. },
  11808. "deliverygoodsname": {
  11809. "description": "现货品种名称",
  11810. "type": "string"
  11811. },
  11812. "pointdesc": {
  11813. "description": "点价描述",
  11814. "type": "string"
  11815. },
  11816. "producttype": {
  11817. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11818. "type": "integer"
  11819. },
  11820. "producttypename": {
  11821. "description": "产品类型名称",
  11822. "type": "string"
  11823. },
  11824. "spotPointOrderVoList": {
  11825. "description": "点价列表",
  11826. "type": "array",
  11827. "items": {
  11828. "$ref": "#/definitions/erms3.SpotPointOrder"
  11829. }
  11830. },
  11831. "spotPriceOrderList": {
  11832. "description": "定价列表",
  11833. "type": "array",
  11834. "items": {
  11835. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11836. }
  11837. },
  11838. "unitname": {
  11839. "description": "单位名称",
  11840. "type": "string"
  11841. },
  11842. "warehouseid": {
  11843. "description": "仓库ID",
  11844. "type": "integer"
  11845. },
  11846. "warehousename": {
  11847. "description": "仓库名称",
  11848. "type": "string"
  11849. },
  11850. "wrstandardid": {
  11851. "description": "交易标的ID",
  11852. "type": "integer"
  11853. },
  11854. "wrstandardname": {
  11855. "description": "交易标的名称",
  11856. "type": "string"
  11857. }
  11858. }
  11859. },
  11860. "erms3.SpotPointOrder": {
  11861. "type": "object",
  11862. "required": [
  11863. "basic",
  11864. "goodsid",
  11865. "qty"
  11866. ],
  11867. "properties": {
  11868. "basic": {
  11869. "description": "基差",
  11870. "type": "number"
  11871. },
  11872. "deliveryenddate": {
  11873. "description": "交收结束日期",
  11874. "type": "string"
  11875. },
  11876. "deliverystartdate": {
  11877. "description": "交收开始日期",
  11878. "type": "string"
  11879. },
  11880. "enddate": {
  11881. "description": "点价结束日期",
  11882. "type": "string"
  11883. },
  11884. "goodsid": {
  11885. "description": "商品ID",
  11886. "type": "integer"
  11887. },
  11888. "goodsname": {
  11889. "description": "商品名称",
  11890. "type": "string"
  11891. },
  11892. "qty": {
  11893. "description": "数量",
  11894. "type": "number"
  11895. },
  11896. "startdate": {
  11897. "description": "点价开始日期",
  11898. "type": "string"
  11899. }
  11900. }
  11901. },
  11902. "erms3.SpotPriceOrder": {
  11903. "type": "object",
  11904. "required": [
  11905. "amount",
  11906. "price",
  11907. "qty"
  11908. ],
  11909. "properties": {
  11910. "amount": {
  11911. "description": "金额",
  11912. "type": "number"
  11913. },
  11914. "deliveryenddate": {
  11915. "description": "交收结束日期",
  11916. "type": "string"
  11917. },
  11918. "deliverystartdate": {
  11919. "description": "交收开始日期",
  11920. "type": "string"
  11921. },
  11922. "price": {
  11923. "description": "价格",
  11924. "type": "number"
  11925. },
  11926. "qty": {
  11927. "description": "数量",
  11928. "type": "number"
  11929. }
  11930. }
  11931. },
  11932. "hsby.GetHsbyMyCountRsp": {
  11933. "type": "object",
  11934. "properties": {
  11935. "myCouponCount": {
  11936. "description": "我的优惠卷数量",
  11937. "type": "integer"
  11938. },
  11939. "myOrderDetailListingCount": {
  11940. "description": "我的订单求购中数量",
  11941. "type": "integer"
  11942. },
  11943. "myOrderDetailPreCount": {
  11944. "description": "我的订单抢购中数量",
  11945. "type": "integer"
  11946. },
  11947. "myPackageUnReceiveCount": {
  11948. "description": "我的包裹待收货数量",
  11949. "type": "integer"
  11950. },
  11951. "myPackageUnSendCount": {
  11952. "description": "我的包裹待发货数量",
  11953. "type": "integer"
  11954. },
  11955. "myPayOrderCount": {
  11956. "description": "我的订单待付款数量",
  11957. "type": "integer"
  11958. }
  11959. }
  11960. },
  11961. "hsby.QueryProvincesAndCitiesRsp": {
  11962. "type": "object",
  11963. "properties": {
  11964. "cities": {
  11965. "description": "市",
  11966. "type": "array",
  11967. "items": {
  11968. "$ref": "#/definitions/models.Division"
  11969. }
  11970. },
  11971. "province": {
  11972. "description": "省",
  11973. "type": "object",
  11974. "$ref": "#/definitions/models.Division"
  11975. }
  11976. }
  11977. },
  11978. "models.AreaSpotModel": {
  11979. "type": "object",
  11980. "properties": {
  11981. "areauserid": {
  11982. "description": "所属机构",
  11983. "type": "integer"
  11984. },
  11985. "decreaseqty": {
  11986. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11987. "type": "number"
  11988. },
  11989. "increaseqty": {
  11990. "description": "增加数量=销售计划数量+采购已定价数量",
  11991. "type": "number"
  11992. },
  11993. "oritoalspotqty": {
  11994. "description": "昨日数量",
  11995. "type": "number"
  11996. },
  11997. "totalspotqty": {
  11998. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11999. "type": "number"
  12000. },
  12001. "updatetime": {
  12002. "description": "更新时间",
  12003. "type": "string"
  12004. },
  12005. "wrstandardcode": {
  12006. "description": "现货品种代码",
  12007. "type": "string"
  12008. },
  12009. "wrstandardid": {
  12010. "description": "现货商品ID",
  12011. "type": "integer"
  12012. },
  12013. "wrstandardname": {
  12014. "description": "现货品种",
  12015. "type": "string"
  12016. }
  12017. }
  12018. },
  12019. "models.Arearole": {
  12020. "type": "object",
  12021. "required": [
  12022. "roletype",
  12023. "userid"
  12024. ],
  12025. "properties": {
  12026. "createtime": {
  12027. "description": "创建时间",
  12028. "type": "string"
  12029. },
  12030. "creatorid": {
  12031. "description": "创建人ID",
  12032. "type": "integer"
  12033. },
  12034. "isreturnscore": {
  12035. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12036. "type": "integer"
  12037. },
  12038. "modifierid": {
  12039. "description": "修改人ID",
  12040. "type": "integer"
  12041. },
  12042. "modifytime": {
  12043. "description": "修改时间",
  12044. "type": "string"
  12045. },
  12046. "orgtype": {
  12047. "description": "组织机构类型 1:机构 2:交易员",
  12048. "type": "integer"
  12049. },
  12050. "outuserid": {
  12051. "description": "外部账户[场外期权做市商]",
  12052. "type": "string"
  12053. },
  12054. "parentuserid": {
  12055. "description": "上级组织机构(组织机构)",
  12056. "type": "integer"
  12057. },
  12058. "roletype": {
  12059. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员",
  12060. "type": "integer"
  12061. },
  12062. "rootuserid": {
  12063. "description": "顶级组织机构用户ID(组织机构)",
  12064. "type": "integer"
  12065. },
  12066. "shoppassword": {
  12067. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12068. "type": "string"
  12069. },
  12070. "sublevelpath": {
  12071. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12072. "type": "string"
  12073. },
  12074. "tradeaccountid": {
  12075. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12076. "type": "integer"
  12077. },
  12078. "transurl": {
  12079. "description": "物流地址(物流机构)",
  12080. "type": "string"
  12081. },
  12082. "userid": {
  12083. "description": "机构用户ID其他做市关系,都设置为 1",
  12084. "type": "integer"
  12085. }
  12086. }
  12087. },
  12088. "models.Clientfixedadconfig": {
  12089. "type": "object",
  12090. "required": [
  12091. "adsort",
  12092. "adtype"
  12093. ],
  12094. "properties": {
  12095. "adsort": {
  12096. "description": "排序",
  12097. "type": "integer"
  12098. },
  12099. "adtype": {
  12100. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12101. "type": "integer"
  12102. },
  12103. "areauserid": {
  12104. "description": "所属机构ID",
  12105. "type": "integer"
  12106. },
  12107. "createdate": {
  12108. "description": "创建时间",
  12109. "type": "string"
  12110. },
  12111. "creatorid": {
  12112. "description": "创建人",
  12113. "type": "integer"
  12114. },
  12115. "imagepath": {
  12116. "description": "图片",
  12117. "type": "string"
  12118. },
  12119. "isshow": {
  12120. "description": "是否展示 - 0:不展示 1:展示",
  12121. "type": "integer"
  12122. },
  12123. "modifierid": {
  12124. "description": "操作人",
  12125. "type": "integer"
  12126. },
  12127. "recsize": {
  12128. "description": "推荐尺寸",
  12129. "type": "string"
  12130. },
  12131. "title": {
  12132. "description": "标题",
  12133. "type": "string"
  12134. },
  12135. "updatedate": {
  12136. "description": "更新时间",
  12137. "type": "string"
  12138. },
  12139. "urlcontent": {
  12140. "description": "链接(地址或商品ID)",
  12141. "type": "string"
  12142. },
  12143. "urltype": {
  12144. "description": "链接类型 - 1:直接地址 2:商品ID",
  12145. "type": "integer"
  12146. }
  12147. }
  12148. },
  12149. "models.Division": {
  12150. "type": "object",
  12151. "required": [
  12152. "autoid",
  12153. "divisioncode"
  12154. ],
  12155. "properties": {
  12156. "autoid": {
  12157. "description": "自增ID",
  12158. "type": "integer"
  12159. },
  12160. "divisioncode": {
  12161. "description": "行政代码",
  12162. "type": "string"
  12163. },
  12164. "divisionlevel": {
  12165. "description": "行政级别",
  12166. "type": "string"
  12167. },
  12168. "divisionname": {
  12169. "description": "行政名称",
  12170. "type": "string"
  12171. },
  12172. "modifierid": {
  12173. "description": "修改人",
  12174. "type": "integer"
  12175. },
  12176. "modifytime": {
  12177. "description": "修改时间",
  12178. "type": "string"
  12179. },
  12180. "parentcode": {
  12181. "description": "上级行政代码",
  12182. "type": "string"
  12183. },
  12184. "pathname": {
  12185. "description": "路径名称",
  12186. "type": "string"
  12187. },
  12188. "postcode": {
  12189. "description": "邮政编码",
  12190. "type": "string"
  12191. },
  12192. "separablename": {
  12193. "description": "可拆分的全称",
  12194. "type": "string"
  12195. },
  12196. "shortcode": {
  12197. "description": "地区简码",
  12198. "type": "string"
  12199. }
  12200. }
  12201. },
  12202. "models.Enumdicitem": {
  12203. "type": "object",
  12204. "required": [
  12205. "autoid",
  12206. "enumdiccode",
  12207. "enumdicid",
  12208. "enumitemname"
  12209. ],
  12210. "properties": {
  12211. "autoid": {
  12212. "description": "自增ID",
  12213. "type": "integer"
  12214. },
  12215. "bankmappedvalue": {
  12216. "description": "银行服务对应值",
  12217. "type": "string"
  12218. },
  12219. "enumdiccode": {
  12220. "description": "所属枚举代码",
  12221. "type": "string"
  12222. },
  12223. "enumdicid": {
  12224. "description": "所属枚举ID",
  12225. "type": "integer"
  12226. },
  12227. "enumdicname": {
  12228. "description": "枚举项名称",
  12229. "type": "string"
  12230. },
  12231. "enumitemname": {
  12232. "description": "枚举项值",
  12233. "type": "integer"
  12234. },
  12235. "enumitemstatus": {
  12236. "description": "枚举项状态 - 1.启用 2.不启用",
  12237. "type": "integer"
  12238. },
  12239. "enumitemvalue": {
  12240. "description": "通用值 - [币种通用简写]",
  12241. "type": "string"
  12242. },
  12243. "param1": {
  12244. "description": "参数1[币种:币种小数位]",
  12245. "type": "string"
  12246. },
  12247. "param2": {
  12248. "description": "参数1[币种:币种显示单位]",
  12249. "type": "string"
  12250. },
  12251. "remark": {
  12252. "description": "备注",
  12253. "type": "string"
  12254. }
  12255. }
  12256. },
  12257. "models.Ermcp3AreaSpot": {
  12258. "type": "object",
  12259. "properties": {
  12260. "areauserid": {
  12261. "description": "所属机构",
  12262. "type": "integer"
  12263. },
  12264. "decreaseqty": {
  12265. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12266. "type": "number"
  12267. },
  12268. "deliverygoodscode": {
  12269. "description": "现货品种代码",
  12270. "type": "string"
  12271. },
  12272. "deliverygoodsid": {
  12273. "description": "现货品种id",
  12274. "type": "integer"
  12275. },
  12276. "deliverygoodsname": {
  12277. "description": "现货品种名称",
  12278. "type": "string"
  12279. },
  12280. "enumdicname": {
  12281. "description": "单位名称",
  12282. "type": "string"
  12283. },
  12284. "goodsunitid": {
  12285. "description": "现货品种单位id",
  12286. "type": "integer"
  12287. },
  12288. "increaseqty": {
  12289. "description": "增加数量=销售计划数量+采购已定价数量",
  12290. "type": "number"
  12291. },
  12292. "oritoalspotqty": {
  12293. "description": "昨日数量",
  12294. "type": "number"
  12295. },
  12296. "totalspotqty": {
  12297. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12298. "type": "number"
  12299. },
  12300. "updatetime": {
  12301. "description": "更新时间",
  12302. "type": "string"
  12303. }
  12304. }
  12305. },
  12306. "models.Ermcp3AreaSpotDetail": {
  12307. "type": "object",
  12308. "properties": {
  12309. "contracttype": {
  12310. "description": "合同类型 1-采购 -1-销售",
  12311. "type": "integer"
  12312. },
  12313. "createtime": {
  12314. "description": "创建时间",
  12315. "type": "string"
  12316. },
  12317. "deliverygoodscode": {
  12318. "description": "现货品种代码",
  12319. "type": "string"
  12320. },
  12321. "deliverygoodsid": {
  12322. "description": "现货品种id",
  12323. "type": "integer"
  12324. },
  12325. "deliverygoodsname": {
  12326. "description": "现货品种名称",
  12327. "type": "string"
  12328. },
  12329. "enumdicname": {
  12330. "description": "现货商品单位名称",
  12331. "type": "string"
  12332. },
  12333. "logtype": {
  12334. "description": "记录类型 1-套保 2-现货合同",
  12335. "type": "integer"
  12336. },
  12337. "qty": {
  12338. "description": "数量",
  12339. "type": "number"
  12340. },
  12341. "recordname": {
  12342. "description": "类型名称",
  12343. "type": "string"
  12344. },
  12345. "relatedid": {
  12346. "description": "套保计划ID/现货合同ID",
  12347. "type": "string"
  12348. },
  12349. "relatedno": {
  12350. "description": "编号",
  12351. "type": "string"
  12352. },
  12353. "strtime": {
  12354. "description": "时间",
  12355. "type": "string"
  12356. }
  12357. }
  12358. },
  12359. "models.Ermcp3AreaSpotPLReport": {
  12360. "type": "object",
  12361. "properties": {
  12362. "accountid": {
  12363. "description": "期货账户ID (作废, 默认为0)",
  12364. "type": "integer"
  12365. },
  12366. "accountname": {
  12367. "description": "机构名称",
  12368. "type": "string"
  12369. },
  12370. "actualpl": {
  12371. "description": "现货损益",
  12372. "type": "number"
  12373. },
  12374. "areauserid": {
  12375. "description": "所属机构\\交易用户ID",
  12376. "type": "integer"
  12377. },
  12378. "biztype": {
  12379. "description": "业务类型 - 1:套保 2:套利",
  12380. "type": "integer"
  12381. },
  12382. "brandname": {
  12383. "description": "品牌名称",
  12384. "type": "string"
  12385. },
  12386. "curamount": {
  12387. "description": "期末额",
  12388. "type": "number"
  12389. },
  12390. "curaverageprice": {
  12391. "description": "期末均价",
  12392. "type": "number"
  12393. },
  12394. "curbuyamount": {
  12395. "description": "期末采购总额",
  12396. "type": "number"
  12397. },
  12398. "curbuyqty": {
  12399. "description": "期末采购总量",
  12400. "type": "number"
  12401. },
  12402. "curmarketvalue": {
  12403. "description": "参考市值(期末市值)",
  12404. "type": "number"
  12405. },
  12406. "curqty": {
  12407. "description": "期末量",
  12408. "type": "number"
  12409. },
  12410. "currencyid": {
  12411. "description": "结算币种ID【原值】",
  12412. "type": "integer"
  12413. },
  12414. "currencyname": {
  12415. "description": "币种名称",
  12416. "type": "string"
  12417. },
  12418. "cursellamount": {
  12419. "description": "期末销售总额",
  12420. "type": "number"
  12421. },
  12422. "cursellqty": {
  12423. "description": "期末销售总量",
  12424. "type": "number"
  12425. },
  12426. "curspotprice": {
  12427. "description": "参考市价(最新价)",
  12428. "type": "number"
  12429. },
  12430. "cycletime": {
  12431. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12432. "type": "string"
  12433. },
  12434. "cycletype": {
  12435. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12436. "type": "integer"
  12437. },
  12438. "deliverygoodscode": {
  12439. "description": "现货商品代码",
  12440. "type": "string"
  12441. },
  12442. "deliverygoodsid": {
  12443. "description": "现货品种ID",
  12444. "type": "integer"
  12445. },
  12446. "deliverygoodsname": {
  12447. "description": "现货商品名称",
  12448. "type": "string"
  12449. },
  12450. "enumdicname": {
  12451. "description": "现货商品单位名称",
  12452. "type": "string"
  12453. },
  12454. "floatpl": {
  12455. "description": "浮动损益",
  12456. "type": "number"
  12457. },
  12458. "goodsunitid": {
  12459. "description": "现货商品单位id",
  12460. "type": "integer"
  12461. },
  12462. "oriamount": {
  12463. "description": "期初额",
  12464. "type": "number"
  12465. },
  12466. "oriaverageprice": {
  12467. "description": "期初均价",
  12468. "type": "number"
  12469. },
  12470. "oribuyamount": {
  12471. "description": "期初采购总额",
  12472. "type": "number"
  12473. },
  12474. "oribuyqty": {
  12475. "description": "期初采购总量",
  12476. "type": "number"
  12477. },
  12478. "oriqty": {
  12479. "description": "期初量",
  12480. "type": "number"
  12481. },
  12482. "orisellamount": {
  12483. "description": "期初销售总额",
  12484. "type": "number"
  12485. },
  12486. "orisellqty": {
  12487. "description": "期初销售总量",
  12488. "type": "number"
  12489. },
  12490. "reckondate": {
  12491. "description": "日照时期(yyyyMMdd)",
  12492. "type": "string"
  12493. },
  12494. "spotgoodsbrandid": {
  12495. "description": "现货品牌ID",
  12496. "type": "integer"
  12497. },
  12498. "todaybuyamount": {
  12499. "description": "今日采购额(今采购额)",
  12500. "type": "number"
  12501. },
  12502. "todaybuyaverageprice": {
  12503. "description": "今日采购均价",
  12504. "type": "number"
  12505. },
  12506. "todaybuyqty": {
  12507. "description": "今日采购量(今采购量)",
  12508. "type": "number"
  12509. },
  12510. "todayinqty": {
  12511. "description": "今日入库量(今入库量)",
  12512. "type": "number"
  12513. },
  12514. "todayoutqty": {
  12515. "description": "今日出库量(今出库量)",
  12516. "type": "number"
  12517. },
  12518. "todaysellamount": {
  12519. "description": "今日销售额(今销售额)",
  12520. "type": "number"
  12521. },
  12522. "todaysellaverageprice": {
  12523. "description": "今日销售均价",
  12524. "type": "number"
  12525. },
  12526. "todaysellqty": {
  12527. "description": "今日销售量(今销售量)",
  12528. "type": "number"
  12529. },
  12530. "unitid": {
  12531. "description": "品类单位id",
  12532. "type": "integer"
  12533. },
  12534. "unitidname": {
  12535. "description": "品类单位名称",
  12536. "type": "string"
  12537. },
  12538. "updatetime": {
  12539. "description": "更新时间",
  12540. "type": "string"
  12541. },
  12542. "wrfactortypeid": {
  12543. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12544. "type": "integer"
  12545. },
  12546. "wrstandardcode": {
  12547. "description": "品类代码",
  12548. "type": "string"
  12549. },
  12550. "wrstandardid": {
  12551. "description": "现货品类ID",
  12552. "type": "integer"
  12553. },
  12554. "wrstandardname": {
  12555. "description": "品类名称",
  12556. "type": "string"
  12557. }
  12558. }
  12559. },
  12560. "models.Ermcp3AreaStock": {
  12561. "type": "object",
  12562. "required": [
  12563. "userid"
  12564. ],
  12565. "properties": {
  12566. "brandname": {
  12567. "description": "品牌名称",
  12568. "type": "string"
  12569. },
  12570. "curstock": {
  12571. "description": "期末库存量(今日量)",
  12572. "type": "number"
  12573. },
  12574. "deliverygoodscode": {
  12575. "description": "现货品种代码",
  12576. "type": "string"
  12577. },
  12578. "deliverygoodsid": {
  12579. "description": "现货品种id",
  12580. "type": "integer"
  12581. },
  12582. "deliverygoodsname": {
  12583. "description": "现货品种名称",
  12584. "type": "string"
  12585. },
  12586. "enumdicname": {
  12587. "description": "单位名称",
  12588. "type": "string"
  12589. },
  12590. "goodsunitid": {
  12591. "description": "现货商品单位id",
  12592. "type": "integer"
  12593. },
  12594. "oristock": {
  12595. "description": "期初库存量(昨日量)",
  12596. "type": "number"
  12597. },
  12598. "spotgoodsbrandid": {
  12599. "description": "现货品牌ID",
  12600. "type": "integer"
  12601. },
  12602. "todaybuyinqty": {
  12603. "description": "今日采购入库量",
  12604. "type": "number"
  12605. },
  12606. "todayproduceinqty": {
  12607. "description": "今日生产入库量",
  12608. "type": "number"
  12609. },
  12610. "todayproduceoutqty": {
  12611. "description": "今日生产出库量",
  12612. "type": "number"
  12613. },
  12614. "todayselloutqty": {
  12615. "description": "今日销售出库量",
  12616. "type": "number"
  12617. },
  12618. "unitid": {
  12619. "description": "单位id",
  12620. "type": "integer"
  12621. },
  12622. "updatetime": {
  12623. "description": "更新时间",
  12624. "type": "string"
  12625. },
  12626. "userid": {
  12627. "description": "机构ID",
  12628. "type": "integer"
  12629. },
  12630. "username": {
  12631. "description": "机构名称",
  12632. "type": "string"
  12633. },
  12634. "warehousecode": {
  12635. "description": "仓库代码",
  12636. "type": "string"
  12637. },
  12638. "warehouseinfoid": {
  12639. "description": "仓库ID",
  12640. "type": "string"
  12641. },
  12642. "warehousename": {
  12643. "description": "仓库名称",
  12644. "type": "string"
  12645. },
  12646. "warehousetype": {
  12647. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12648. "type": "integer"
  12649. },
  12650. "wrstandardcode": {
  12651. "description": "品类代码",
  12652. "type": "string"
  12653. },
  12654. "wrstandardid": {
  12655. "description": "品类ID",
  12656. "type": "string"
  12657. },
  12658. "wrstandardname": {
  12659. "description": "品类名称",
  12660. "type": "string"
  12661. }
  12662. }
  12663. },
  12664. "models.Ermcp3AreaStockApply": {
  12665. "type": "object",
  12666. "properties": {
  12667. "applyid": {
  12668. "description": "申请人",
  12669. "type": "integer"
  12670. },
  12671. "applyname": {
  12672. "description": "申请人名称",
  12673. "type": "string"
  12674. },
  12675. "applyremark": {
  12676. "description": "申请备注",
  12677. "type": "string"
  12678. },
  12679. "applysrc": {
  12680. "description": "申请来源 - 1:管理端 2:终端",
  12681. "type": "integer"
  12682. },
  12683. "applystatus": {
  12684. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12685. "type": "integer"
  12686. },
  12687. "applytime": {
  12688. "description": "申请时间",
  12689. "type": "string"
  12690. },
  12691. "auditid": {
  12692. "description": "审核人",
  12693. "type": "integer"
  12694. },
  12695. "auditname": {
  12696. "description": "审核人名称",
  12697. "type": "string"
  12698. },
  12699. "auditremark": {
  12700. "description": "审核备注",
  12701. "type": "string"
  12702. },
  12703. "auditsrc": {
  12704. "description": "审核来源 - 1:管理端 2:终端",
  12705. "type": "integer"
  12706. },
  12707. "audittime": {
  12708. "description": "审核时间",
  12709. "type": "string"
  12710. },
  12711. "audittradedate": {
  12712. "description": "审核交易日(yyyyMMdd)",
  12713. "type": "string"
  12714. },
  12715. "brandname": {
  12716. "description": "品牌名称",
  12717. "type": "string"
  12718. },
  12719. "buynickname": {
  12720. "description": "采购方昵称",
  12721. "type": "string"
  12722. },
  12723. "buyuserid": {
  12724. "description": "采购方userid",
  12725. "type": "integer"
  12726. },
  12727. "buyusername": {
  12728. "description": "采购方名称",
  12729. "type": "string"
  12730. },
  12731. "contractno": {
  12732. "description": "合同编号",
  12733. "type": "string"
  12734. },
  12735. "contractqty": {
  12736. "description": "合同量",
  12737. "type": "number"
  12738. },
  12739. "contracttype": {
  12740. "description": "现货合同类型 - 1:采购 -1:销售",
  12741. "type": "integer"
  12742. },
  12743. "deliverygoodscode": {
  12744. "description": "现货品种代码",
  12745. "type": "string"
  12746. },
  12747. "deliverygoodsid": {
  12748. "description": "现货品种id",
  12749. "type": "integer"
  12750. },
  12751. "deliverygoodsname": {
  12752. "description": "现货品种名称",
  12753. "type": "string"
  12754. },
  12755. "detailjson": {
  12756. "description": "明细数据",
  12757. "type": "string"
  12758. },
  12759. "enumdicname": {
  12760. "description": "现货商品单位名称",
  12761. "type": "string"
  12762. },
  12763. "inoutapplyid": {
  12764. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  12765. "type": "string"
  12766. },
  12767. "inouttype": {
  12768. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  12769. "type": "integer"
  12770. },
  12771. "pricetype": {
  12772. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12773. "type": "integer"
  12774. },
  12775. "qty": {
  12776. "description": "数量",
  12777. "type": "number"
  12778. },
  12779. "sellnickname": {
  12780. "description": "销售方昵称",
  12781. "type": "string"
  12782. },
  12783. "selluserid": {
  12784. "description": "销售方userid",
  12785. "type": "integer"
  12786. },
  12787. "sellusername": {
  12788. "description": "销售方名称",
  12789. "type": "string"
  12790. },
  12791. "spotcontractid": {
  12792. "description": "关联现货合同ID",
  12793. "type": "string"
  12794. },
  12795. "spotgoodsbrandid": {
  12796. "description": "现货品牌ID",
  12797. "type": "integer"
  12798. },
  12799. "unitid": {
  12800. "description": "单位id",
  12801. "type": "integer"
  12802. },
  12803. "userid": {
  12804. "description": "机构ID",
  12805. "type": "integer"
  12806. },
  12807. "warehousecode": {
  12808. "description": "仓库代码",
  12809. "type": "string"
  12810. },
  12811. "warehouseinfoid": {
  12812. "description": "现货仓库ID",
  12813. "type": "string"
  12814. },
  12815. "warehousename": {
  12816. "description": "仓库名称",
  12817. "type": "string"
  12818. },
  12819. "warehousetype": {
  12820. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12821. "type": "integer"
  12822. },
  12823. "wrstandardcode": {
  12824. "description": "品类代码",
  12825. "type": "string"
  12826. },
  12827. "wrstandardid": {
  12828. "description": "品类ID",
  12829. "type": "integer"
  12830. },
  12831. "wrstandardname": {
  12832. "description": "品类名称",
  12833. "type": "string"
  12834. }
  12835. }
  12836. },
  12837. "models.Ermcp3AreaStockApplySum": {
  12838. "type": "object",
  12839. "properties": {
  12840. "brandname": {
  12841. "description": "品牌名称",
  12842. "type": "string"
  12843. },
  12844. "inouttype": {
  12845. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12846. "type": "integer"
  12847. },
  12848. "spotcontractid": {
  12849. "description": "关联现货合同ID",
  12850. "type": "string"
  12851. },
  12852. "spotgoodsbrandid": {
  12853. "description": "品牌id",
  12854. "type": "integer"
  12855. },
  12856. "totalqty": {
  12857. "description": "总数量",
  12858. "type": "number"
  12859. },
  12860. "wrstandardid": {
  12861. "description": "品类id",
  12862. "type": "integer"
  12863. },
  12864. "wrstandardname": {
  12865. "description": "品类名称",
  12866. "type": "string"
  12867. }
  12868. }
  12869. },
  12870. "models.Ermcp3AreaStockReport": {
  12871. "type": "object",
  12872. "properties": {
  12873. "brandname": {
  12874. "description": "品牌名称",
  12875. "type": "string"
  12876. },
  12877. "curstock": {
  12878. "description": "期末库存量",
  12879. "type": "number"
  12880. },
  12881. "cycletime": {
  12882. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12883. "type": "string"
  12884. },
  12885. "cycletype": {
  12886. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12887. "type": "integer"
  12888. },
  12889. "deliverygoodscode": {
  12890. "description": "现货品种代码",
  12891. "type": "string"
  12892. },
  12893. "deliverygoodsid": {
  12894. "description": "现货品种id",
  12895. "type": "integer"
  12896. },
  12897. "deliverygoodsname": {
  12898. "description": "现货品种名称",
  12899. "type": "string"
  12900. },
  12901. "diffqty": {
  12902. "description": "库存变化量 = 期末 - 期初",
  12903. "type": "number"
  12904. },
  12905. "enumdicname": {
  12906. "description": "单位名称",
  12907. "type": "string"
  12908. },
  12909. "goodsunitid": {
  12910. "description": "现货单位id",
  12911. "type": "integer"
  12912. },
  12913. "oristock": {
  12914. "description": "期初库存量",
  12915. "type": "number"
  12916. },
  12917. "reckondate": {
  12918. "description": "日照时期(yyyyMMdd)",
  12919. "type": "string"
  12920. },
  12921. "spotgoodsbrandid": {
  12922. "description": "现货品牌ID",
  12923. "type": "integer"
  12924. },
  12925. "todaybuyinqty": {
  12926. "description": "今采购入库量",
  12927. "type": "number"
  12928. },
  12929. "todayproduceinqty": {
  12930. "description": "今内部入库量",
  12931. "type": "number"
  12932. },
  12933. "todayproduceoutqty": {
  12934. "description": "今内部出库量",
  12935. "type": "number"
  12936. },
  12937. "todayselloutqty": {
  12938. "description": "今销售出库量",
  12939. "type": "number"
  12940. },
  12941. "unbuyinqty": {
  12942. "description": "采购未入库量(数据库未找到相关字段?)",
  12943. "type": "number"
  12944. },
  12945. "unitid": {
  12946. "description": "品类单位id",
  12947. "type": "integer"
  12948. },
  12949. "unselloutqty": {
  12950. "description": "销售未出库量(数据库未找到相关字段?)",
  12951. "type": "number"
  12952. },
  12953. "updatetime": {
  12954. "description": "更新时间",
  12955. "type": "string"
  12956. },
  12957. "userid": {
  12958. "description": "机构ID",
  12959. "type": "integer"
  12960. },
  12961. "username": {
  12962. "description": "机构名称",
  12963. "type": "string"
  12964. },
  12965. "warehousecode": {
  12966. "description": "仓库代码",
  12967. "type": "string"
  12968. },
  12969. "warehouseinfoid": {
  12970. "description": "仓库ID",
  12971. "type": "string"
  12972. },
  12973. "warehousename": {
  12974. "description": "仓库名称",
  12975. "type": "string"
  12976. },
  12977. "warehousetype": {
  12978. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12979. "type": "integer"
  12980. },
  12981. "wrstandardcode": {
  12982. "description": "品类代码",
  12983. "type": "string"
  12984. },
  12985. "wrstandardid": {
  12986. "description": "品类ID",
  12987. "type": "integer"
  12988. },
  12989. "wrstandardname": {
  12990. "description": "品类名称",
  12991. "type": "string"
  12992. }
  12993. }
  12994. },
  12995. "models.Ermcp3ArealSumPL": {
  12996. "type": "object",
  12997. "properties": {
  12998. "areauserid": {
  12999. "description": "所属机构\\交易用户ID",
  13000. "type": "integer"
  13001. },
  13002. "currencyid": {
  13003. "description": "结算币种ID",
  13004. "type": "integer"
  13005. },
  13006. "currencyname": {
  13007. "description": "币种名称",
  13008. "type": "string"
  13009. },
  13010. "cycletime": {
  13011. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13012. "type": "string"
  13013. },
  13014. "cycletype": {
  13015. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13016. "type": "integer"
  13017. },
  13018. "futureactualpl": {
  13019. "description": "期货损益",
  13020. "type": "number"
  13021. },
  13022. "futurefloatpl": {
  13023. "description": "期货浮动损益",
  13024. "type": "number"
  13025. },
  13026. "middlegoodsid": {
  13027. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13028. "type": "integer"
  13029. },
  13030. "reckondate": {
  13031. "description": "日照时期(yyyyMMdd)",
  13032. "type": "string"
  13033. },
  13034. "spotactualpl": {
  13035. "description": "现货损益",
  13036. "type": "number"
  13037. },
  13038. "spotfloatpl": {
  13039. "description": "现货浮动损益",
  13040. "type": "number"
  13041. },
  13042. "sumactualpl": {
  13043. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13044. "type": "number"
  13045. },
  13046. "sumpl": {
  13047. "description": "汇总损益",
  13048. "type": "number"
  13049. },
  13050. "updatetime": {
  13051. "description": "更新时间",
  13052. "type": "string"
  13053. }
  13054. }
  13055. },
  13056. "models.Ermcp3Brand": {
  13057. "type": "object",
  13058. "properties": {
  13059. "areauserid": {
  13060. "description": "用户id",
  13061. "type": "integer"
  13062. },
  13063. "brandid": {
  13064. "description": "品牌id",
  13065. "type": "integer"
  13066. },
  13067. "brandname": {
  13068. "description": "品牌名称",
  13069. "type": "string"
  13070. },
  13071. "deliverygoodsid": {
  13072. "description": "品种ID",
  13073. "type": "integer"
  13074. }
  13075. }
  13076. },
  13077. "models.Ermcp3Contract": {
  13078. "type": "object",
  13079. "properties": {
  13080. "accountid": {
  13081. "description": "期货账户id",
  13082. "type": "string"
  13083. },
  13084. "amount": {
  13085. "description": "金额 [1:一口价、3:暂定价]",
  13086. "type": "number"
  13087. },
  13088. "attachment": {
  13089. "description": "附件",
  13090. "type": "string"
  13091. },
  13092. "auditremark": {
  13093. "description": "审核意见",
  13094. "type": "string"
  13095. },
  13096. "audittime": {
  13097. "description": "审核时间",
  13098. "type": "string"
  13099. },
  13100. "biztype": {
  13101. "description": "业务类型 1-套保 2-套利",
  13102. "type": "integer"
  13103. },
  13104. "brandname": {
  13105. "description": "品牌名称",
  13106. "type": "string"
  13107. },
  13108. "buynickname": {
  13109. "description": "销售方昵称",
  13110. "type": "string"
  13111. },
  13112. "buyuserid": {
  13113. "description": "采购方ID",
  13114. "type": "integer"
  13115. },
  13116. "buyusername": {
  13117. "description": "采购方名称",
  13118. "type": "string"
  13119. },
  13120. "contracctstatus": {
  13121. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13122. "type": "integer"
  13123. },
  13124. "contractmargin": {
  13125. "description": "合同保证金",
  13126. "type": "number"
  13127. },
  13128. "contractno": {
  13129. "description": "现货合同编号",
  13130. "type": "string"
  13131. },
  13132. "contracttype": {
  13133. "description": "现货合同类型 - 1:采购 -1:销售",
  13134. "type": "integer"
  13135. },
  13136. "convertfactor": {
  13137. "description": "标仓系数(品类)",
  13138. "type": "number"
  13139. },
  13140. "createtime": {
  13141. "description": "创建时间",
  13142. "type": "string"
  13143. },
  13144. "currencyid": {
  13145. "description": "币种id",
  13146. "type": "integer"
  13147. },
  13148. "currencyname": {
  13149. "description": "币种名称",
  13150. "type": "string"
  13151. },
  13152. "deliveryenddate": {
  13153. "description": "交收期(结束)",
  13154. "type": "string"
  13155. },
  13156. "deliverygoodscode": {
  13157. "description": "现货品种代码",
  13158. "type": "string"
  13159. },
  13160. "deliverygoodsid": {
  13161. "description": "现货品种ID",
  13162. "type": "integer"
  13163. },
  13164. "deliverygoodsname": {
  13165. "description": "现货品种名称",
  13166. "type": "string"
  13167. },
  13168. "deliverystartdate": {
  13169. "description": "交收期(开始)",
  13170. "type": "string"
  13171. },
  13172. "enddate": {
  13173. "description": "点价结束日期 [2:点价 3:暂定价]",
  13174. "type": "string"
  13175. },
  13176. "enumdicname": {
  13177. "description": "单位名称",
  13178. "type": "string"
  13179. },
  13180. "goodscode": {
  13181. "description": "点价合约代码",
  13182. "type": "string"
  13183. },
  13184. "goodsid": {
  13185. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13186. "type": "integer"
  13187. },
  13188. "goodsname": {
  13189. "description": "点价商品名称",
  13190. "type": "string"
  13191. },
  13192. "margin": {
  13193. "description": "当前保证金",
  13194. "type": "number"
  13195. },
  13196. "meruserid": {
  13197. "description": "跟单员id",
  13198. "type": "integer"
  13199. },
  13200. "meruserlogincode": {
  13201. "description": "跟单员登录代码",
  13202. "type": "string"
  13203. },
  13204. "price": {
  13205. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13206. "type": "number"
  13207. },
  13208. "pricemove": {
  13209. "description": "升贴水 [2:点价 3:暂定价]",
  13210. "type": "number"
  13211. },
  13212. "pricetype": {
  13213. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13214. "type": "integer"
  13215. },
  13216. "producttype": {
  13217. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13218. "type": "integer"
  13219. },
  13220. "qty": {
  13221. "description": "数量",
  13222. "type": "number"
  13223. },
  13224. "remark": {
  13225. "description": "备注",
  13226. "type": "string"
  13227. },
  13228. "saleuserid": {
  13229. "description": "业务员id",
  13230. "type": "integer"
  13231. },
  13232. "saleuserlogincode": {
  13233. "description": "业务员登录代码",
  13234. "type": "string"
  13235. },
  13236. "sellnickname": {
  13237. "description": "采购方昵称",
  13238. "type": "string"
  13239. },
  13240. "selluserid": {
  13241. "description": "销售方ID",
  13242. "type": "integer"
  13243. },
  13244. "sellusername": {
  13245. "description": "销售方名称",
  13246. "type": "string"
  13247. },
  13248. "spotcontractid": {
  13249. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13250. "type": "string"
  13251. },
  13252. "spotgoodsbrandid": {
  13253. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13254. "type": "integer"
  13255. },
  13256. "spotgoodsdesc": {
  13257. "description": "商品型号",
  13258. "type": "string"
  13259. },
  13260. "startdate": {
  13261. "description": "点价开始日期 [2:点价 3:暂定价]",
  13262. "type": "string"
  13263. },
  13264. "tradeuserid": {
  13265. "description": "交易员id",
  13266. "type": "integer"
  13267. },
  13268. "tradeuserlogincode": {
  13269. "description": "交易员登录代码",
  13270. "type": "string"
  13271. },
  13272. "tradeusername": {
  13273. "description": "交易员名称",
  13274. "type": "string"
  13275. },
  13276. "unitid": {
  13277. "description": "单位id(取品类上的单位id)",
  13278. "type": "integer"
  13279. },
  13280. "updatetime": {
  13281. "description": "更新时间",
  13282. "type": "string"
  13283. },
  13284. "userid": {
  13285. "description": "所属机构ID",
  13286. "type": "integer"
  13287. },
  13288. "wrstandardcode": {
  13289. "description": "品类代码",
  13290. "type": "string"
  13291. },
  13292. "wrstandardid": {
  13293. "description": "品类ID",
  13294. "type": "integer"
  13295. },
  13296. "wrstandardname": {
  13297. "description": "品类名称",
  13298. "type": "string"
  13299. }
  13300. }
  13301. },
  13302. "models.Ermcp3ExposureContractDetail": {
  13303. "type": "object",
  13304. "properties": {
  13305. "biztype": {
  13306. "description": "业务类型 1-套保 2-套利",
  13307. "type": "integer"
  13308. },
  13309. "brandname": {
  13310. "description": "品牌名称",
  13311. "type": "string"
  13312. },
  13313. "buyuserid": {
  13314. "description": "采购方id",
  13315. "type": "integer"
  13316. },
  13317. "buyusername": {
  13318. "description": "采购方名称",
  13319. "type": "string"
  13320. },
  13321. "contractno": {
  13322. "description": "合同编号",
  13323. "type": "string"
  13324. },
  13325. "contracttype": {
  13326. "description": "现货合同类型 - 1:采购 -1:销售",
  13327. "type": "integer"
  13328. },
  13329. "convertratio": {
  13330. "description": "折算系数(套保品种)",
  13331. "type": "number"
  13332. },
  13333. "curqty": {
  13334. "description": "今定价量",
  13335. "type": "number"
  13336. },
  13337. "deliverygoodscode": {
  13338. "description": "现货商品代码",
  13339. "type": "string"
  13340. },
  13341. "deliverygoodsid": {
  13342. "description": "现货商品id",
  13343. "type": "integer"
  13344. },
  13345. "deliverygoodsname": {
  13346. "description": "现货商品名称",
  13347. "type": "string"
  13348. },
  13349. "diffqty": {
  13350. "description": "套保品种今变动量",
  13351. "type": "number"
  13352. },
  13353. "enumdicname": {
  13354. "description": "单位名称",
  13355. "type": "string"
  13356. },
  13357. "middlegoodscode": {
  13358. "description": "套保品种代码",
  13359. "type": "string"
  13360. },
  13361. "middlegoodsid": {
  13362. "description": "套保品种id",
  13363. "type": "integer"
  13364. },
  13365. "middlegoodsname": {
  13366. "description": "套保品种名称",
  13367. "type": "string"
  13368. },
  13369. "needarbitrageratio": {
  13370. "description": "应套利比例",
  13371. "type": "number"
  13372. },
  13373. "needhedgeratio": {
  13374. "description": "应套保比例",
  13375. "type": "number"
  13376. },
  13377. "pricedqty": {
  13378. "description": "已定价量",
  13379. "type": "number"
  13380. },
  13381. "qty": {
  13382. "description": "合同量",
  13383. "type": "number"
  13384. },
  13385. "selluserid": {
  13386. "description": "销售方id",
  13387. "type": "integer"
  13388. },
  13389. "sellusername": {
  13390. "description": "销售方名称",
  13391. "type": "string"
  13392. },
  13393. "spotcontractid": {
  13394. "description": "合同id",
  13395. "type": "string"
  13396. },
  13397. "tradedate": {
  13398. "description": "交易日",
  13399. "type": "string"
  13400. },
  13401. "unitid": {
  13402. "description": "品类单位id",
  13403. "type": "integer"
  13404. },
  13405. "userid": {
  13406. "description": "机构id",
  13407. "type": "integer"
  13408. },
  13409. "wrstandardcode": {
  13410. "description": "品类代码",
  13411. "type": "string"
  13412. },
  13413. "wrstandardid": {
  13414. "description": "品类id",
  13415. "type": "integer"
  13416. },
  13417. "wrstandardname": {
  13418. "description": "品类名称",
  13419. "type": "string"
  13420. }
  13421. }
  13422. },
  13423. "models.Ermcp3ExposureDetail": {
  13424. "type": "object",
  13425. "properties": {
  13426. "areauserid": {
  13427. "description": "机构ID",
  13428. "type": "integer"
  13429. },
  13430. "changeQty": {
  13431. "description": "套保变动量",
  13432. "type": "number"
  13433. },
  13434. "contracttype": {
  13435. "description": "现货合同类型 - 1:采购 -1:销售",
  13436. "type": "integer"
  13437. },
  13438. "convertfactor": {
  13439. "description": "标仓系数",
  13440. "type": "number"
  13441. },
  13442. "convertratio": {
  13443. "description": "套保系数",
  13444. "type": "number"
  13445. },
  13446. "createtime": {
  13447. "description": "时间",
  13448. "type": "string"
  13449. },
  13450. "deliverygoodscode": {
  13451. "description": "现货品种代码",
  13452. "type": "string"
  13453. },
  13454. "deliverygoodsid": {
  13455. "description": "现货品种id",
  13456. "type": "integer"
  13457. },
  13458. "deliverygoodsname": {
  13459. "description": "现货品种名称",
  13460. "type": "string"
  13461. },
  13462. "enumdicname": {
  13463. "description": "现货商品单位名称",
  13464. "type": "string"
  13465. },
  13466. "logtype": {
  13467. "description": "类型 - 1:套保计划 2:现货合同",
  13468. "type": "integer"
  13469. },
  13470. "mgunitid": {
  13471. "description": "套保品种单位id",
  13472. "type": "integer"
  13473. },
  13474. "mgunitidname": {
  13475. "description": "套保品种单位名称",
  13476. "type": "string"
  13477. },
  13478. "middlegoodsId": {
  13479. "description": "套保商品id",
  13480. "type": "integer"
  13481. },
  13482. "middlegoodscode": {
  13483. "description": "套保商品代码",
  13484. "type": "string"
  13485. },
  13486. "middlegoodsname": {
  13487. "description": "套保商品名称",
  13488. "type": "string"
  13489. },
  13490. "qty": {
  13491. "description": "数量",
  13492. "type": "number"
  13493. },
  13494. "relateNo": {
  13495. "description": "现货合同/套保计划编号",
  13496. "type": "string"
  13497. }
  13498. }
  13499. },
  13500. "models.Ermcp3ExposureHedgeplanDetail": {
  13501. "type": "object",
  13502. "properties": {
  13503. "biztype": {
  13504. "description": "业务类型 1-套保 2-套利",
  13505. "type": "integer"
  13506. },
  13507. "changqty": {
  13508. "description": "应套保总量变化量",
  13509. "type": "number"
  13510. },
  13511. "contracttype": {
  13512. "description": "计划类型 - 1:采购 -1:销售",
  13513. "type": "integer"
  13514. },
  13515. "convertratio": {
  13516. "description": "折算系数(套保品种)",
  13517. "type": "number"
  13518. },
  13519. "deliverygoodsid": {
  13520. "description": "现货商品id",
  13521. "type": "integer"
  13522. },
  13523. "diffqty": {
  13524. "description": "套保品种今变动量",
  13525. "type": "number"
  13526. },
  13527. "enumdicname": {
  13528. "description": "单位名称(品类)",
  13529. "type": "string"
  13530. },
  13531. "hedgeplanid": {
  13532. "description": "套保计划id",
  13533. "type": "string"
  13534. },
  13535. "hedgeplanno": {
  13536. "description": "套保计划编号",
  13537. "type": "string"
  13538. },
  13539. "hedgeplanstatus": {
  13540. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13541. "type": "integer"
  13542. },
  13543. "mgunitidname": {
  13544. "description": "单位名称(套保商品)",
  13545. "type": "string"
  13546. },
  13547. "middlegoodscode": {
  13548. "description": "套保品种代码",
  13549. "type": "string"
  13550. },
  13551. "middlegoodsid": {
  13552. "description": "套保品种id",
  13553. "type": "integer"
  13554. },
  13555. "middlegoodsname": {
  13556. "description": "套保品种名称",
  13557. "type": "string"
  13558. },
  13559. "needarbitrageratio": {
  13560. "description": "应套利比例",
  13561. "type": "number"
  13562. },
  13563. "needhedgeratio": {
  13564. "description": "应套保比例",
  13565. "type": "number"
  13566. },
  13567. "pricedqty": {
  13568. "description": "已定价量",
  13569. "type": "number"
  13570. },
  13571. "qty": {
  13572. "description": "合同量",
  13573. "type": "number"
  13574. },
  13575. "tradedate": {
  13576. "description": "交易日(登记日)",
  13577. "type": "string"
  13578. },
  13579. "unitid": {
  13580. "description": "品类单位id",
  13581. "type": "integer"
  13582. },
  13583. "userid": {
  13584. "description": "机构id",
  13585. "type": "integer"
  13586. },
  13587. "wrstandardcode": {
  13588. "description": "品类代码",
  13589. "type": "string"
  13590. },
  13591. "wrstandardid": {
  13592. "description": "品类id",
  13593. "type": "integer"
  13594. },
  13595. "wrstandardname": {
  13596. "description": "品类名称",
  13597. "type": "string"
  13598. }
  13599. }
  13600. },
  13601. "models.Ermcp3ExpourseReport": {
  13602. "type": "object",
  13603. "properties": {
  13604. "accountid": {
  13605. "description": "期货账户ID (作废, 默认为0)",
  13606. "type": "integer"
  13607. },
  13608. "accountname": {
  13609. "description": "机构名称",
  13610. "type": "string"
  13611. },
  13612. "arbitrageqty": {
  13613. "description": "套利量",
  13614. "type": "number"
  13615. },
  13616. "areauserid": {
  13617. "description": "所属机构\\交易用户ID",
  13618. "type": "integer"
  13619. },
  13620. "buyfutureqty": {
  13621. "description": "买入期货数量",
  13622. "type": "number"
  13623. },
  13624. "buyplanqty": {
  13625. "description": "采购计划数量",
  13626. "type": "number"
  13627. },
  13628. "buypricedqty": {
  13629. "description": "采购合同已定价数量",
  13630. "type": "number"
  13631. },
  13632. "cycletime": {
  13633. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13634. "type": "string"
  13635. },
  13636. "cycletype": {
  13637. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13638. "type": "integer"
  13639. },
  13640. "diffexposure": {
  13641. "description": "变动量(套保敞口)",
  13642. "type": "number"
  13643. },
  13644. "difffutuqty": {
  13645. "description": "变动量(期货)",
  13646. "type": "number"
  13647. },
  13648. "diffhedgeqty": {
  13649. "description": "变动量(现货应套保总量)",
  13650. "type": "number"
  13651. },
  13652. "diffmgqtya": {
  13653. "description": "套保变动量",
  13654. "type": "number"
  13655. },
  13656. "diffmgqtyb": {
  13657. "description": "套利变动量",
  13658. "type": "number"
  13659. },
  13660. "diffqty": {
  13661. "description": "变动量(总敞口)",
  13662. "type": "number"
  13663. },
  13664. "diffspotqty": {
  13665. "description": "变动量(现货)",
  13666. "type": "number"
  13667. },
  13668. "enumdicname": {
  13669. "description": "单位名称",
  13670. "type": "string"
  13671. },
  13672. "hedgeqty": {
  13673. "description": "套保量",
  13674. "type": "number"
  13675. },
  13676. "mgneedhedgeratio": {
  13677. "description": "套保比例(套保品的)",
  13678. "type": "number"
  13679. },
  13680. "middlegoodsid": {
  13681. "description": "套保品种ID",
  13682. "type": "integer"
  13683. },
  13684. "middlegoodsname": {
  13685. "description": "套保商品名称",
  13686. "type": "string"
  13687. },
  13688. "middlgoodscode": {
  13689. "description": "套保商品代码",
  13690. "type": "string"
  13691. },
  13692. "needarbitrageqty": {
  13693. "description": "应套利量",
  13694. "type": "number"
  13695. },
  13696. "needarbitrageratio": {
  13697. "description": "套利比例(套保品的)",
  13698. "type": "number"
  13699. },
  13700. "needhedgeexposoure": {
  13701. "description": "应套保敞口(套保敞口)",
  13702. "type": "number"
  13703. },
  13704. "needhedgeqty": {
  13705. "description": "应套保量",
  13706. "type": "number"
  13707. },
  13708. "needhedgeratio": {
  13709. "description": "应套保敞口比例",
  13710. "type": "number"
  13711. },
  13712. "oriarbitrageqty": {
  13713. "description": "期初套利量",
  13714. "type": "number"
  13715. },
  13716. "oribuyfutureqty": {
  13717. "description": "期初买入期货数量",
  13718. "type": "number"
  13719. },
  13720. "oribuyplanqty": {
  13721. "description": "期初采购计划数量",
  13722. "type": "number"
  13723. },
  13724. "oribuypricedqty": {
  13725. "description": "期初采购合同已定价数量",
  13726. "type": "number"
  13727. },
  13728. "orihedgeqty": {
  13729. "description": "期初套保量",
  13730. "type": "number"
  13731. },
  13732. "orineedarbitrageqty": {
  13733. "description": "期初应套利量",
  13734. "type": "number"
  13735. },
  13736. "orineedhedgeexposoure": {
  13737. "description": "期初应套保敞口",
  13738. "type": "number"
  13739. },
  13740. "orineedhedgeqty": {
  13741. "description": "期初应套保量",
  13742. "type": "number"
  13743. },
  13744. "orisellfutureqty": {
  13745. "description": "期初卖出期货数量",
  13746. "type": "number"
  13747. },
  13748. "orisellplanqty": {
  13749. "description": "期初销售计划数量",
  13750. "type": "number"
  13751. },
  13752. "orisellpricedqty": {
  13753. "description": "期初销售合同已定价数量",
  13754. "type": "number"
  13755. },
  13756. "oritotalexposure": {
  13757. "description": "期初实时总敞口",
  13758. "type": "number"
  13759. },
  13760. "oritotalfutureqty": {
  13761. "description": "期初期货头寸总量",
  13762. "type": "number"
  13763. },
  13764. "oritotalneedhedgeqty": {
  13765. "description": "期初应套保总量",
  13766. "type": "number"
  13767. },
  13768. "oritotalspotqty": {
  13769. "description": "期初现货头寸总量",
  13770. "type": "number"
  13771. },
  13772. "reckondate": {
  13773. "description": "日照时期(yyyyMMdd)",
  13774. "type": "string"
  13775. },
  13776. "sellfutureqty": {
  13777. "description": "卖出期货数量",
  13778. "type": "number"
  13779. },
  13780. "sellplanqty": {
  13781. "description": "销售计划数量",
  13782. "type": "number"
  13783. },
  13784. "sellpricedqty": {
  13785. "description": "销售合同已定价数量",
  13786. "type": "number"
  13787. },
  13788. "totalexposure": {
  13789. "description": "实时总敞口(总敞口)",
  13790. "type": "number"
  13791. },
  13792. "totalfutureqty": {
  13793. "description": "期货头寸总量(期货总量)",
  13794. "type": "number"
  13795. },
  13796. "totalhedgeratio": {
  13797. "description": "敞口比例",
  13798. "type": "number"
  13799. },
  13800. "totalneedhedgeqty": {
  13801. "description": "应套保总量(现货应套保总量)",
  13802. "type": "number"
  13803. },
  13804. "totalspotqty": {
  13805. "description": "现货头寸总量",
  13806. "type": "number"
  13807. },
  13808. "unitid": {
  13809. "description": "单位id",
  13810. "type": "integer"
  13811. },
  13812. "updatetime": {
  13813. "description": "更新时间",
  13814. "type": "string"
  13815. }
  13816. }
  13817. },
  13818. "models.Ermcp3FinanceReport": {
  13819. "type": "object",
  13820. "properties": {
  13821. "areauserid": {
  13822. "description": "所属机构\\交易用户ID",
  13823. "type": "integer"
  13824. },
  13825. "biztype": {
  13826. "description": "业务类型 - 1:套保 2:套利",
  13827. "type": "integer"
  13828. },
  13829. "brandname": {
  13830. "description": "品牌名称",
  13831. "type": "string"
  13832. },
  13833. "buypreinvoicedamount": {
  13834. "description": "采购预收票额(预收票额)",
  13835. "type": "number"
  13836. },
  13837. "buyprepaidamount": {
  13838. "description": "采购预付款额(预付货款额)",
  13839. "type": "number"
  13840. },
  13841. "buytodayinvoiceamount": {
  13842. "description": "采购今收票额(今收票额)",
  13843. "type": "number"
  13844. },
  13845. "buytodayrefundamount": {
  13846. "description": "采购今收退款额(今收退款额)",
  13847. "type": "number"
  13848. },
  13849. "buytodaysettleamount": {
  13850. "description": "采购今付款额(今付货款额)",
  13851. "type": "number"
  13852. },
  13853. "buyuninvoicedamount": {
  13854. "description": "采购应收票额(应收票额)",
  13855. "type": "number"
  13856. },
  13857. "buyunpaidamount": {
  13858. "description": "采购应付款额(应付货款额)",
  13859. "type": "number"
  13860. },
  13861. "currencyid": {
  13862. "description": "结算币种ID",
  13863. "type": "integer"
  13864. },
  13865. "currencyname": {
  13866. "description": "币种名称",
  13867. "type": "string"
  13868. },
  13869. "cycletime": {
  13870. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13871. "type": "string"
  13872. },
  13873. "cycletype": {
  13874. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13875. "type": "integer"
  13876. },
  13877. "deliverygoodscode": {
  13878. "description": "现货品种代码",
  13879. "type": "string"
  13880. },
  13881. "deliverygoodsid": {
  13882. "description": "现货品种ID",
  13883. "type": "integer"
  13884. },
  13885. "deliverygoodsname": {
  13886. "description": "现货品种名称",
  13887. "type": "string"
  13888. },
  13889. "reckondate": {
  13890. "description": "日照时期(yyyyMMdd)",
  13891. "type": "string"
  13892. },
  13893. "sellpreinvoicedamount": {
  13894. "description": "销售预开票额(预开票额)",
  13895. "type": "number"
  13896. },
  13897. "sellprepaidamount": {
  13898. "description": "销售预收款额(预收货款额)",
  13899. "type": "number"
  13900. },
  13901. "selltodayinvoiceamount": {
  13902. "description": "销售今开票额(今开票额)",
  13903. "type": "number"
  13904. },
  13905. "selltodayrefundamount": {
  13906. "description": "销售今付退款额(今付退款额)",
  13907. "type": "number"
  13908. },
  13909. "selltodaysettleamount": {
  13910. "description": "销售今收款额(今收货款额)",
  13911. "type": "number"
  13912. },
  13913. "selluninvoicedamount": {
  13914. "description": "销售应开票额(应开票额)",
  13915. "type": "number"
  13916. },
  13917. "sellunpaidamount": {
  13918. "description": "销售应收款额(应收货款额)",
  13919. "type": "number"
  13920. },
  13921. "spotgoodsbrandid": {
  13922. "description": "现货品牌ID",
  13923. "type": "integer"
  13924. },
  13925. "todaypaysum": {
  13926. "description": "今付款合计",
  13927. "type": "number"
  13928. },
  13929. "todayreceivesum": {
  13930. "description": "今收款合计",
  13931. "type": "number"
  13932. },
  13933. "updatetime": {
  13934. "description": "更新时间",
  13935. "type": "string"
  13936. },
  13937. "wrfactortypeid": {
  13938. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13939. "type": "integer"
  13940. },
  13941. "wrstandardcode": {
  13942. "description": "品类代码",
  13943. "type": "string"
  13944. },
  13945. "wrstandardid": {
  13946. "description": "现货商品ID",
  13947. "type": "integer"
  13948. },
  13949. "wrstandardname": {
  13950. "description": "品类名称",
  13951. "type": "string"
  13952. }
  13953. }
  13954. },
  13955. "models.Ermcp3Goods": {
  13956. "type": "object",
  13957. "properties": {
  13958. "agreeunit": {
  13959. "description": "合约单位(合约乘数)",
  13960. "type": "number"
  13961. },
  13962. "enumdicname": {
  13963. "description": "单位名称",
  13964. "type": "string"
  13965. },
  13966. "exexchangecode": {
  13967. "description": "交易所代码",
  13968. "type": "string"
  13969. },
  13970. "goodscode": {
  13971. "description": "期货商品代码",
  13972. "type": "string"
  13973. },
  13974. "goodsid": {
  13975. "description": "期货商品id",
  13976. "type": "integer"
  13977. },
  13978. "goodsname": {
  13979. "description": "期货商品名称",
  13980. "type": "string"
  13981. }
  13982. }
  13983. },
  13984. "models.Ermcp3GoodsGroup": {
  13985. "type": "object",
  13986. "required": [
  13987. "areauserid"
  13988. ],
  13989. "properties": {
  13990. "agreeunit": {
  13991. "description": "合约单位",
  13992. "type": "number"
  13993. },
  13994. "areauserid": {
  13995. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  13996. "type": "integer"
  13997. },
  13998. "canshort": {
  13999. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14000. "type": "integer"
  14001. },
  14002. "closepricemode": {
  14003. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14004. "type": "integer"
  14005. },
  14006. "createtime": {
  14007. "description": "创建时间",
  14008. "type": "string"
  14009. },
  14010. "creatorid": {
  14011. "description": "创建人",
  14012. "type": "integer"
  14013. },
  14014. "currencyid": {
  14015. "description": "报价货币ID",
  14016. "type": "integer"
  14017. },
  14018. "decimalplace": {
  14019. "description": "报价小数位",
  14020. "type": "integer"
  14021. },
  14022. "enumdicname": {
  14023. "description": "单位名称",
  14024. "type": "string"
  14025. },
  14026. "excludecfg": {
  14027. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14028. "type": "integer"
  14029. },
  14030. "exexchangeid": {
  14031. "description": "外部交易所ID[通道交易]",
  14032. "type": "integer"
  14033. },
  14034. "goodsgroupid": {
  14035. "description": "商品组ID(自增ID)",
  14036. "type": "integer"
  14037. },
  14038. "goodsgroupname": {
  14039. "description": "商品组名称",
  14040. "type": "string"
  14041. },
  14042. "goodsgroupstatus": {
  14043. "description": "商品组状态 - 1:正常 2:注销",
  14044. "type": "integer"
  14045. },
  14046. "goodunitid": {
  14047. "description": "报价单位ID",
  14048. "type": "integer"
  14049. },
  14050. "groupcategroyid": {
  14051. "description": "品种分类ID",
  14052. "type": "integer"
  14053. },
  14054. "innerdealmode": {
  14055. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14056. "type": "integer"
  14057. },
  14058. "marketid": {
  14059. "description": "所属市场ID",
  14060. "type": "integer"
  14061. },
  14062. "modifierid": {
  14063. "description": "修改人",
  14064. "type": "integer"
  14065. },
  14066. "modifytime": {
  14067. "description": "修改时间",
  14068. "type": "string"
  14069. },
  14070. "outerdealmode": {
  14071. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14072. "type": "integer"
  14073. },
  14074. "outergroupcode": {
  14075. "description": "外部商品组代码[通道交易]",
  14076. "type": "string"
  14077. },
  14078. "quoteminunit": {
  14079. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14080. "type": "integer"
  14081. },
  14082. "quotesourcegroupid": {
  14083. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14084. "type": "integer"
  14085. },
  14086. "syncgoodsqty": {
  14087. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14088. "type": "integer"
  14089. }
  14090. }
  14091. },
  14092. "models.Ermcp3GoodsGroupEx": {
  14093. "type": "object",
  14094. "properties": {
  14095. "convertratio": {
  14096. "description": "折算系数(品种系数)",
  14097. "type": "number"
  14098. },
  14099. "enumdicname": {
  14100. "description": "单位名称",
  14101. "type": "string"
  14102. },
  14103. "exexchangecode": {
  14104. "description": "交易所代码",
  14105. "type": "string"
  14106. },
  14107. "glist": {
  14108. "description": "合约列表",
  14109. "type": "array",
  14110. "items": {
  14111. "$ref": "#/definitions/models.Ermcp3Goods"
  14112. }
  14113. },
  14114. "goodsgroupid": {
  14115. "description": "商品组id",
  14116. "type": "integer"
  14117. },
  14118. "goodsgroupname": {
  14119. "description": "商品组名称",
  14120. "type": "string"
  14121. },
  14122. "goodsunitid": {
  14123. "description": "单位id",
  14124. "type": "integer"
  14125. },
  14126. "middlegoodsid": {
  14127. "description": "套保商品id",
  14128. "type": "integer"
  14129. }
  14130. }
  14131. },
  14132. "models.Ermcp3HedgePlan": {
  14133. "type": "object",
  14134. "properties": {
  14135. "accountid": {
  14136. "description": "资金账号",
  14137. "type": "integer"
  14138. },
  14139. "areauserid": {
  14140. "description": "用户ID",
  14141. "type": "integer"
  14142. },
  14143. "audittime": {
  14144. "description": "审核时间",
  14145. "type": "string"
  14146. },
  14147. "contracttype": {
  14148. "description": "计划类型 - 1:采购 -1:销售",
  14149. "type": "integer"
  14150. },
  14151. "convertfactor": {
  14152. "description": "标仓系数",
  14153. "type": "number"
  14154. },
  14155. "createtime": {
  14156. "description": "创建时间",
  14157. "type": "string"
  14158. },
  14159. "currencyid": {
  14160. "description": "币种id",
  14161. "type": "integer"
  14162. },
  14163. "currencyname": {
  14164. "description": "币种名称",
  14165. "type": "string"
  14166. },
  14167. "deliverygoodscode": {
  14168. "description": "现货品种代码",
  14169. "type": "string"
  14170. },
  14171. "deliverygoodsid": {
  14172. "description": "现货品种ID",
  14173. "type": "integer"
  14174. },
  14175. "deliverygoodsname": {
  14176. "description": "现货品种名称",
  14177. "type": "string"
  14178. },
  14179. "enumdicname": {
  14180. "description": "单位名称(现货商品)",
  14181. "type": "string"
  14182. },
  14183. "hedgeplanid": {
  14184. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14185. "type": "string"
  14186. },
  14187. "hedgeplanno": {
  14188. "description": "套保计划编号(名称)",
  14189. "type": "string"
  14190. },
  14191. "hedgeplanstatus": {
  14192. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14193. "type": "integer"
  14194. },
  14195. "planqty": {
  14196. "description": "计划数量",
  14197. "type": "number"
  14198. },
  14199. "plantime": {
  14200. "description": "计划时间",
  14201. "type": "string"
  14202. },
  14203. "producttype": {
  14204. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14205. "type": "integer"
  14206. },
  14207. "remark": {
  14208. "description": "备注",
  14209. "type": "string"
  14210. },
  14211. "spotgoodsdesc": {
  14212. "description": "商品型号",
  14213. "type": "string"
  14214. },
  14215. "taaccountname": {
  14216. "description": "资金账号名称",
  14217. "type": "string"
  14218. },
  14219. "tradeuserid": {
  14220. "description": "交易用户id",
  14221. "type": "integer"
  14222. },
  14223. "tradeusername": {
  14224. "description": "交易用户名称",
  14225. "type": "string"
  14226. },
  14227. "unitid": {
  14228. "description": "单位id(现货商品)",
  14229. "type": "integer"
  14230. },
  14231. "updatetime": {
  14232. "description": "更新时间",
  14233. "type": "string"
  14234. },
  14235. "wrstandardcode": {
  14236. "description": "品类代码",
  14237. "type": "string"
  14238. },
  14239. "wrstandardid": {
  14240. "description": "品类id",
  14241. "type": "integer"
  14242. },
  14243. "wrstandardname": {
  14244. "description": "品类名称",
  14245. "type": "string"
  14246. },
  14247. "wrunitid": {
  14248. "description": "品类单位id",
  14249. "type": "integer"
  14250. },
  14251. "wrunitidame": {
  14252. "description": "品类单位名称",
  14253. "type": "string"
  14254. }
  14255. }
  14256. },
  14257. "models.Ermcp3MiddleGoodsDetail2": {
  14258. "type": "object",
  14259. "properties": {
  14260. "convertratio": {
  14261. "description": "套保系数(折算系数)",
  14262. "type": "number"
  14263. },
  14264. "gplist": {
  14265. "description": "关联商品组列表",
  14266. "type": "array",
  14267. "items": {
  14268. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14269. }
  14270. },
  14271. "mg": {
  14272. "description": "套保商品信息",
  14273. "type": "object",
  14274. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14275. }
  14276. }
  14277. },
  14278. "models.Ermcp3MiddleGoodsDetailEx": {
  14279. "type": "object",
  14280. "properties": {
  14281. "dglist": {
  14282. "description": "关联的现货品种列表",
  14283. "type": "array",
  14284. "items": {
  14285. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14286. }
  14287. },
  14288. "gplist": {
  14289. "description": "关联商品组列表",
  14290. "type": "array",
  14291. "items": {
  14292. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14293. }
  14294. },
  14295. "mg": {
  14296. "description": "套保商品信息",
  14297. "type": "object",
  14298. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14299. }
  14300. }
  14301. },
  14302. "models.Ermcp3SellBuyContract": {
  14303. "type": "object",
  14304. "properties": {
  14305. "accountid": {
  14306. "description": "期货账户id",
  14307. "type": "string"
  14308. },
  14309. "accountname": {
  14310. "description": "账户名称",
  14311. "type": "string"
  14312. },
  14313. "attachment": {
  14314. "description": "附件",
  14315. "type": "string"
  14316. },
  14317. "audittime": {
  14318. "description": "审核时间",
  14319. "type": "string"
  14320. },
  14321. "biztype": {
  14322. "description": "业务类型 1-套保 2-套利",
  14323. "type": "integer"
  14324. },
  14325. "brandname": {
  14326. "description": "品牌名称",
  14327. "type": "string"
  14328. },
  14329. "contracctstatus": {
  14330. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14331. "type": "integer"
  14332. },
  14333. "contractmargin": {
  14334. "description": "合同保证金",
  14335. "type": "number"
  14336. },
  14337. "contractno": {
  14338. "description": "合同编号",
  14339. "type": "string"
  14340. },
  14341. "contracttype": {
  14342. "description": "合同类型 1-采购, -1-销售",
  14343. "type": "integer"
  14344. },
  14345. "convertfactor": {
  14346. "description": "标仓系数(品类)",
  14347. "type": "number"
  14348. },
  14349. "createtime": {
  14350. "description": "创建时间",
  14351. "type": "string"
  14352. },
  14353. "currencyid": {
  14354. "description": "币种id",
  14355. "type": "integer"
  14356. },
  14357. "currencyname": {
  14358. "description": "币种名称",
  14359. "type": "string"
  14360. },
  14361. "daikaiamount": {
  14362. "description": "应收(开)票额",
  14363. "type": "number"
  14364. },
  14365. "deliveryenddate": {
  14366. "description": "交割结束日",
  14367. "type": "string"
  14368. },
  14369. "deliverygoodscode": {
  14370. "description": "现货品种代码",
  14371. "type": "string"
  14372. },
  14373. "deliverygoodsid": {
  14374. "description": "现货商品ID",
  14375. "type": "integer"
  14376. },
  14377. "deliverygoodsname": {
  14378. "description": "现货品种名称",
  14379. "type": "string"
  14380. },
  14381. "deliverystartdate": {
  14382. "description": "交割开始日",
  14383. "type": "string"
  14384. },
  14385. "enddate": {
  14386. "description": "点价结束日",
  14387. "type": "string"
  14388. },
  14389. "enumdicname": {
  14390. "description": "单位名称",
  14391. "type": "string"
  14392. },
  14393. "goodscode": {
  14394. "description": "点价商品代码",
  14395. "type": "string"
  14396. },
  14397. "goodsid": {
  14398. "description": "点价商品ID",
  14399. "type": "integer"
  14400. },
  14401. "goodsname": {
  14402. "description": "点价商品名称",
  14403. "type": "string"
  14404. },
  14405. "invoiceamount": {
  14406. "description": "已开票额",
  14407. "type": "number"
  14408. },
  14409. "loanamount": {
  14410. "description": "贷款总额=已定价额+调整金额",
  14411. "type": "number"
  14412. },
  14413. "margin": {
  14414. "description": "保证金",
  14415. "type": "number"
  14416. },
  14417. "meruserid": {
  14418. "description": "跟单员id",
  14419. "type": "integer"
  14420. },
  14421. "meruserlogincode": {
  14422. "description": "跟单员登录代码",
  14423. "type": "string"
  14424. },
  14425. "nickname": {
  14426. "description": "账户昵称",
  14427. "type": "string"
  14428. },
  14429. "payamount": {
  14430. "description": "已收付额(收款或付款)",
  14431. "type": "number"
  14432. },
  14433. "preinvoiceamount": {
  14434. "description": "预收(开)票额",
  14435. "type": "number"
  14436. },
  14437. "prepayamount": {
  14438. "description": "预收付额",
  14439. "type": "number"
  14440. },
  14441. "price": {
  14442. "description": "价格",
  14443. "type": "number"
  14444. },
  14445. "pricedamount": {
  14446. "description": "已定价额",
  14447. "type": "number"
  14448. },
  14449. "pricedavg": {
  14450. "description": "已点均价",
  14451. "type": "number"
  14452. },
  14453. "pricedqty": {
  14454. "description": "已定价量",
  14455. "type": "number"
  14456. },
  14457. "pricemove": {
  14458. "description": "升贴水",
  14459. "type": "number"
  14460. },
  14461. "pricetype": {
  14462. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14463. "type": "integer"
  14464. },
  14465. "producttype": {
  14466. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14467. "type": "integer"
  14468. },
  14469. "qty": {
  14470. "description": "合同量",
  14471. "type": "number"
  14472. },
  14473. "reckonadjustamount": {
  14474. "description": "调整金额",
  14475. "type": "number"
  14476. },
  14477. "reckonedamount": {
  14478. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14479. "type": "number"
  14480. },
  14481. "reckonotheramount": {
  14482. "description": "其它费用",
  14483. "type": "number"
  14484. },
  14485. "reckonrealqty": {
  14486. "description": "已确定量",
  14487. "type": "number"
  14488. },
  14489. "remark": {
  14490. "description": "备注",
  14491. "type": "string"
  14492. },
  14493. "saleuserid": {
  14494. "description": "业务员id",
  14495. "type": "integer"
  14496. },
  14497. "saleuserlogincode": {
  14498. "description": "业务员登录代码",
  14499. "type": "string"
  14500. },
  14501. "spotcontractid": {
  14502. "description": "合同ID",
  14503. "type": "string"
  14504. },
  14505. "spotgoodsbrandid": {
  14506. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14507. "type": "integer"
  14508. },
  14509. "spotgoodsdesc": {
  14510. "description": "商品型号(商品规格)",
  14511. "type": "string"
  14512. },
  14513. "startdate": {
  14514. "description": "点价开始日",
  14515. "type": "string"
  14516. },
  14517. "totalamount": {
  14518. "description": "合计总额",
  14519. "type": "number"
  14520. },
  14521. "tradeuserid": {
  14522. "description": "交易员id",
  14523. "type": "integer"
  14524. },
  14525. "tradeuserlogincode": {
  14526. "description": "交易员登录代码",
  14527. "type": "string"
  14528. },
  14529. "tradeusername": {
  14530. "description": "交易员名称",
  14531. "type": "string"
  14532. },
  14533. "unpayamount": {
  14534. "description": "应收付款额(应支付或应收款)",
  14535. "type": "number"
  14536. },
  14537. "unpricedqty": {
  14538. "description": "未定价量",
  14539. "type": "number"
  14540. },
  14541. "unsureqty": {
  14542. "description": "未确定量",
  14543. "type": "number"
  14544. },
  14545. "userid": {
  14546. "description": "机构ID",
  14547. "type": "integer"
  14548. },
  14549. "wrstandardcode": {
  14550. "description": "品类代码",
  14551. "type": "string"
  14552. },
  14553. "wrstandardid": {
  14554. "description": "品类ID",
  14555. "type": "integer"
  14556. },
  14557. "wrstandardname": {
  14558. "description": "品类名称",
  14559. "type": "string"
  14560. }
  14561. }
  14562. },
  14563. "models.Ermcp3SpotGoodsPrice": {
  14564. "type": "object",
  14565. "properties": {
  14566. "areauserid": {
  14567. "description": "所属机构id",
  14568. "type": "integer"
  14569. },
  14570. "brandname": {
  14571. "description": "品牌名称",
  14572. "type": "string"
  14573. },
  14574. "currencyid": {
  14575. "description": "报价货币ID",
  14576. "type": "integer"
  14577. },
  14578. "currencyname": {
  14579. "description": "币种名称",
  14580. "type": "string"
  14581. },
  14582. "deliverygoodscode": {
  14583. "description": "现货商品代码",
  14584. "type": "string"
  14585. },
  14586. "deliverygoodsid": {
  14587. "description": "现货商品id",
  14588. "type": "integer"
  14589. },
  14590. "deliverygoodsname": {
  14591. "description": "现货商品名称",
  14592. "type": "string"
  14593. },
  14594. "enumdicname": {
  14595. "description": "现货商品单位名称",
  14596. "type": "string"
  14597. },
  14598. "gbenumdicname": {
  14599. "description": "品类单位名称",
  14600. "type": "string"
  14601. },
  14602. "gmunitid": {
  14603. "description": "品类单位id",
  14604. "type": "integer"
  14605. },
  14606. "isvalid": {
  14607. "description": "是否有效 - 0:无效 1:有效",
  14608. "type": "integer"
  14609. },
  14610. "operateid": {
  14611. "description": "最后操作人",
  14612. "type": "integer"
  14613. },
  14614. "operatesrc": {
  14615. "description": "最后操作来源 - 1:管理端 2:终端",
  14616. "type": "integer"
  14617. },
  14618. "operatetime": {
  14619. "description": "最后操作时间",
  14620. "type": "string"
  14621. },
  14622. "operatorname": {
  14623. "description": "操作人名称",
  14624. "type": "string"
  14625. },
  14626. "spotgoodsbrandid": {
  14627. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14628. "type": "integer"
  14629. },
  14630. "spotgoodsprice": {
  14631. "description": "现货价格",
  14632. "type": "number"
  14633. },
  14634. "tradedate": {
  14635. "description": "交易日(yyyyMMdd)",
  14636. "type": "string"
  14637. },
  14638. "unitid": {
  14639. "description": "现货商品单位id",
  14640. "type": "integer"
  14641. },
  14642. "wrstandardcode": {
  14643. "description": "品类代码",
  14644. "type": "string"
  14645. },
  14646. "wrstandardid": {
  14647. "description": "现货品类ID(通用则为0)",
  14648. "type": "integer"
  14649. },
  14650. "wrstandardname": {
  14651. "description": "品类名称",
  14652. "type": "string"
  14653. }
  14654. }
  14655. },
  14656. "models.Ermcp3SpotGoodsPriceLog": {
  14657. "type": "object",
  14658. "properties": {
  14659. "areauserid": {
  14660. "description": "所属机构id",
  14661. "type": "integer"
  14662. },
  14663. "brandname": {
  14664. "description": "品牌名称",
  14665. "type": "string"
  14666. },
  14667. "currencyid": {
  14668. "description": "报价货币ID",
  14669. "type": "integer"
  14670. },
  14671. "deliverygoodscode": {
  14672. "description": "现货商品代码",
  14673. "type": "string"
  14674. },
  14675. "deliverygoodsid": {
  14676. "description": "现货商品id",
  14677. "type": "integer"
  14678. },
  14679. "deliverygoodsname": {
  14680. "description": "现货商品名称",
  14681. "type": "string"
  14682. },
  14683. "enumdicname": {
  14684. "description": "现货商品单位名称",
  14685. "type": "string"
  14686. },
  14687. "gbenumdicname": {
  14688. "description": "品类单位名称",
  14689. "type": "string"
  14690. },
  14691. "gmunitid": {
  14692. "description": "品类单位id",
  14693. "type": "integer"
  14694. },
  14695. "logid": {
  14696. "description": "日志id",
  14697. "type": "integer"
  14698. },
  14699. "operateid": {
  14700. "description": "最后操作人",
  14701. "type": "integer"
  14702. },
  14703. "operatesrc": {
  14704. "description": "最后操作来源 - 1:管理端 2:终端",
  14705. "type": "integer"
  14706. },
  14707. "operatetime": {
  14708. "description": "最后操作时间",
  14709. "type": "string"
  14710. },
  14711. "operatorname": {
  14712. "description": "操作人名称",
  14713. "type": "string"
  14714. },
  14715. "spotgoodsbrandid": {
  14716. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14717. "type": "integer"
  14718. },
  14719. "spotgoodsprice": {
  14720. "description": "现货价格",
  14721. "type": "number"
  14722. },
  14723. "tradedate": {
  14724. "description": "交易日(yyyyMMdd)",
  14725. "type": "string"
  14726. },
  14727. "unitid": {
  14728. "description": "现货商品单位id",
  14729. "type": "integer"
  14730. },
  14731. "wrstandardcode": {
  14732. "description": "品类代码",
  14733. "type": "string"
  14734. },
  14735. "wrstandardid": {
  14736. "description": "现货品类ID(通用则为0)",
  14737. "type": "integer"
  14738. },
  14739. "wrstandardname": {
  14740. "description": "品类名称",
  14741. "type": "string"
  14742. }
  14743. }
  14744. },
  14745. "models.Ermcp3Wrstandard": {
  14746. "type": "object",
  14747. "properties": {
  14748. "areauserid": {
  14749. "description": "所属机构",
  14750. "type": "integer"
  14751. },
  14752. "convertfactor": {
  14753. "description": "标仓系数",
  14754. "type": "number"
  14755. },
  14756. "createtime": {
  14757. "description": "创建时间",
  14758. "type": "string"
  14759. },
  14760. "creatorid": {
  14761. "description": "创建人",
  14762. "type": "integer"
  14763. },
  14764. "deliverygoodsid": {
  14765. "description": "现货品种ID",
  14766. "type": "integer"
  14767. },
  14768. "enumdicname": {
  14769. "description": "品类单位名称",
  14770. "type": "string"
  14771. },
  14772. "isvalid": {
  14773. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14774. "type": "integer"
  14775. },
  14776. "minivalue": {
  14777. "description": "最小变动值",
  14778. "type": "integer"
  14779. },
  14780. "minivaluedp": {
  14781. "description": "最小变动值小数位",
  14782. "type": "integer"
  14783. },
  14784. "realminivalue": {
  14785. "description": "实际最小变动值",
  14786. "type": "integer"
  14787. },
  14788. "realminivaluedp": {
  14789. "description": "实际最小变动值小数位",
  14790. "type": "integer"
  14791. },
  14792. "remark": {
  14793. "description": "备注",
  14794. "type": "string"
  14795. },
  14796. "unitid": {
  14797. "description": "品类单位ID",
  14798. "type": "integer"
  14799. },
  14800. "updatetime": {
  14801. "description": "更新时间",
  14802. "type": "string"
  14803. },
  14804. "wrstandardcode": {
  14805. "description": "品类代码",
  14806. "type": "string"
  14807. },
  14808. "wrstandardid": {
  14809. "description": "品类ID(SEQ_WRSTANDARD)",
  14810. "type": "integer"
  14811. },
  14812. "wrstandardname": {
  14813. "description": "品类名称",
  14814. "type": "string"
  14815. }
  14816. }
  14817. },
  14818. "models.ErmcpAreaSpotDetailModel": {
  14819. "type": "object",
  14820. "properties": {
  14821. "contracttype": {
  14822. "description": "合同类型 1-采购 -1-销售",
  14823. "type": "integer"
  14824. },
  14825. "createtime": {
  14826. "description": "创建时间",
  14827. "type": "string"
  14828. },
  14829. "enumdicname": {
  14830. "description": "现货商品单位名称",
  14831. "type": "string"
  14832. },
  14833. "logtype": {
  14834. "description": "记录类型 1-套保 2-现货合同",
  14835. "type": "integer"
  14836. },
  14837. "qty": {
  14838. "description": "数量",
  14839. "type": "number"
  14840. },
  14841. "recordname": {
  14842. "description": "类型名称",
  14843. "type": "string"
  14844. },
  14845. "relatedid": {
  14846. "description": "套保计划ID/现货合同ID",
  14847. "type": "string"
  14848. },
  14849. "relatedno": {
  14850. "description": "编号",
  14851. "type": "string"
  14852. },
  14853. "strtime": {
  14854. "description": "时间",
  14855. "type": "string"
  14856. },
  14857. "wrstandardcode": {
  14858. "description": "现货商品代码",
  14859. "type": "string"
  14860. },
  14861. "wrstandardname": {
  14862. "description": "现货商品名称",
  14863. "type": "string"
  14864. }
  14865. }
  14866. },
  14867. "models.ErmcpAvalidGoodsGroupModel": {
  14868. "type": "object",
  14869. "properties": {
  14870. "goodsgroupid": {
  14871. "description": "期货品种id",
  14872. "type": "integer"
  14873. },
  14874. "goodsgroupname": {
  14875. "description": "期货品种名称",
  14876. "type": "string"
  14877. },
  14878. "goodunitid": {
  14879. "description": "品种单位id",
  14880. "type": "integer"
  14881. },
  14882. "goodunitname": {
  14883. "description": "品种单位名称",
  14884. "type": "string"
  14885. },
  14886. "outergroupcode": {
  14887. "description": "期货品种代码",
  14888. "type": "string"
  14889. }
  14890. }
  14891. },
  14892. "models.ErmcpBizGroupEx": {
  14893. "type": "object",
  14894. "properties": {
  14895. "acclist": {
  14896. "description": "账号列表",
  14897. "type": "array",
  14898. "items": {
  14899. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  14900. }
  14901. },
  14902. "bizgroupid": {
  14903. "description": "业务分组id",
  14904. "type": "integer"
  14905. },
  14906. "biztype": {
  14907. "description": "业务类型 1-套保 2-套利",
  14908. "type": "integer"
  14909. },
  14910. "wrlist": {
  14911. "description": "现货商品表",
  14912. "type": "array",
  14913. "items": {
  14914. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  14915. }
  14916. }
  14917. }
  14918. },
  14919. "models.ErmcpBizGroupSpotGoods": {
  14920. "type": "object",
  14921. "properties": {
  14922. "areauserid": {
  14923. "description": "所属机构id",
  14924. "type": "integer"
  14925. },
  14926. "bizgroupid": {
  14927. "description": "分组id",
  14928. "type": "integer"
  14929. },
  14930. "biztype": {
  14931. "description": "业务类型 1-套保 2-套利",
  14932. "type": "integer"
  14933. },
  14934. "deliverygoodscode": {
  14935. "description": "现货商品代码",
  14936. "type": "string"
  14937. },
  14938. "deliverygoodsid": {
  14939. "description": "现货商品id",
  14940. "type": "integer"
  14941. },
  14942. "deliverygoodsname": {
  14943. "description": "现货商品名称",
  14944. "type": "string"
  14945. },
  14946. "unitid": {
  14947. "description": "现货商品单位id",
  14948. "type": "integer"
  14949. }
  14950. }
  14951. },
  14952. "models.ErmcpBizGroupTaAccount": {
  14953. "type": "object",
  14954. "properties": {
  14955. "accountid": {
  14956. "description": "账号id",
  14957. "type": "integer"
  14958. },
  14959. "accountname": {
  14960. "description": "账号名称",
  14961. "type": "string"
  14962. },
  14963. "areauserid": {
  14964. "description": "所属机构id",
  14965. "type": "integer"
  14966. },
  14967. "bizgroupid": {
  14968. "description": "业务分组id",
  14969. "type": "integer"
  14970. },
  14971. "ismain": {
  14972. "description": "是否主账号 1-是 0-否",
  14973. "type": "integer"
  14974. }
  14975. }
  14976. },
  14977. "models.ErmcpDGFactoryItem": {
  14978. "type": "object",
  14979. "properties": {
  14980. "areauserid": {
  14981. "description": "用户id",
  14982. "type": "integer"
  14983. },
  14984. "deliverygoodsid": {
  14985. "description": "现货品种ID",
  14986. "type": "integer"
  14987. },
  14988. "dgfactoryitemid": {
  14989. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  14990. "type": "integer"
  14991. },
  14992. "dgfactoryitemtypeid": {
  14993. "description": "要素项类型",
  14994. "type": "integer"
  14995. },
  14996. "dgfactoryitemvalue": {
  14997. "description": "要素项值(类型为仓库时填写仓库名称)",
  14998. "type": "string"
  14999. },
  15000. "isvalid": {
  15001. "description": "是否有效 - 0:无效 1:有效",
  15002. "type": "integer"
  15003. },
  15004. "orderindex": {
  15005. "description": "顺序",
  15006. "type": "integer"
  15007. },
  15008. "warehouseid": {
  15009. "description": "仓库ID(类型为仓库时填写)",
  15010. "type": "integer"
  15011. }
  15012. }
  15013. },
  15014. "models.ErmcpDeliveryGoods": {
  15015. "type": "object",
  15016. "properties": {
  15017. "agreeunit": {
  15018. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15019. "type": "integer"
  15020. },
  15021. "areauserid": {
  15022. "description": "所属机构",
  15023. "type": "integer"
  15024. },
  15025. "auditflag": {
  15026. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15027. "type": "integer"
  15028. },
  15029. "categoryid": {
  15030. "description": "类别ID(SEQ_WRCATEGORY)",
  15031. "type": "integer"
  15032. },
  15033. "deliverygoodscode": {
  15034. "description": "现货品种代码",
  15035. "type": "string"
  15036. },
  15037. "deliverygoodsid": {
  15038. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15039. "type": "integer"
  15040. },
  15041. "deliverygoodsname": {
  15042. "description": "现货品种名称",
  15043. "type": "string"
  15044. },
  15045. "deliverygoodstype": {
  15046. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15047. "type": "integer"
  15048. },
  15049. "dgstatus": {
  15050. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15051. "type": "integer"
  15052. },
  15053. "enumdicname": {
  15054. "description": "现货品种单位名称",
  15055. "type": "string"
  15056. },
  15057. "goodsunitid": {
  15058. "description": "现货品种单位ID",
  15059. "type": "integer"
  15060. },
  15061. "isvalid": {
  15062. "description": "是否有效 - 0:无效 1:有效",
  15063. "type": "integer"
  15064. },
  15065. "qtydecimalplace": {
  15066. "description": "成交量小数位",
  15067. "type": "integer"
  15068. },
  15069. "remark": {
  15070. "description": "备注",
  15071. "type": "string"
  15072. },
  15073. "standardqty": {
  15074. "description": "标准数量(库位数量) [标准品特有]",
  15075. "type": "integer"
  15076. },
  15077. "standardqtyrange": {
  15078. "description": "标准数量偏差范围 [标准品特有]",
  15079. "type": "integer"
  15080. }
  15081. }
  15082. },
  15083. "models.ErmcpDeliveryGoodsDetail2": {
  15084. "type": "object",
  15085. "properties": {
  15086. "convertratio": {
  15087. "description": "套保系数(折算系数)",
  15088. "type": "number"
  15089. },
  15090. "data": {
  15091. "description": "现货商品基本信息(交割品种)",
  15092. "type": "object",
  15093. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15094. },
  15095. "gblist": {
  15096. "description": "品牌列表",
  15097. "type": "array",
  15098. "items": {
  15099. "$ref": "#/definitions/models.Ermcp3Brand"
  15100. }
  15101. },
  15102. "gmlist": {
  15103. "description": "品类列表(仓单标准)",
  15104. "type": "array",
  15105. "items": {
  15106. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15107. }
  15108. }
  15109. }
  15110. },
  15111. "models.ErmcpDeliveryGoodsDetailEx": {
  15112. "type": "object",
  15113. "properties": {
  15114. "data": {
  15115. "description": "现货商品基本信息(交割品种)",
  15116. "type": "object",
  15117. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15118. },
  15119. "gblist": {
  15120. "description": "品牌列表",
  15121. "type": "array",
  15122. "items": {
  15123. "$ref": "#/definitions/models.Ermcp3Brand"
  15124. }
  15125. },
  15126. "gmlist": {
  15127. "description": "品类列表(仓单标准)",
  15128. "type": "array",
  15129. "items": {
  15130. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15131. }
  15132. },
  15133. "mgList": {
  15134. "description": "套保列表",
  15135. "type": "array",
  15136. "items": {
  15137. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15138. }
  15139. }
  15140. }
  15141. },
  15142. "models.ErmcpExposureDetailModel": {
  15143. "type": "object",
  15144. "properties": {
  15145. "areauserid": {
  15146. "description": "机构ID",
  15147. "type": "integer"
  15148. },
  15149. "changeQty": {
  15150. "description": "套保变动量",
  15151. "type": "number"
  15152. },
  15153. "contracttype": {
  15154. "description": "现货合同类型 - 1:采购 -1:销售",
  15155. "type": "integer"
  15156. },
  15157. "convertfactor": {
  15158. "description": "标仓系数",
  15159. "type": "number"
  15160. },
  15161. "convertratio": {
  15162. "description": "套保系数",
  15163. "type": "number"
  15164. },
  15165. "createtime": {
  15166. "description": "时间",
  15167. "type": "string"
  15168. },
  15169. "enumdicname": {
  15170. "description": "现货商品单位名称",
  15171. "type": "string"
  15172. },
  15173. "logtype": {
  15174. "description": "类型 - 1:套保计划 2:现货合同",
  15175. "type": "integer"
  15176. },
  15177. "middlegoodsId": {
  15178. "description": "套保商品id",
  15179. "type": "integer"
  15180. },
  15181. "middlegoodscode": {
  15182. "description": "套保商品代码",
  15183. "type": "string"
  15184. },
  15185. "middlegoodsname": {
  15186. "description": "套保商品名称",
  15187. "type": "string"
  15188. },
  15189. "qty": {
  15190. "description": "数量",
  15191. "type": "number"
  15192. },
  15193. "relateNo": {
  15194. "description": "现货合同/套保计划编号",
  15195. "type": "string"
  15196. },
  15197. "wrstandardcode": {
  15198. "description": "现货商品代码",
  15199. "type": "string"
  15200. },
  15201. "wrstandardid": {
  15202. "description": "现货商品ID",
  15203. "type": "integer"
  15204. },
  15205. "wrstandardname": {
  15206. "description": "现货商品名称",
  15207. "type": "string"
  15208. }
  15209. }
  15210. },
  15211. "models.ErmcpExposurePostion": {
  15212. "type": "object",
  15213. "properties": {
  15214. "agreeunit": {
  15215. "description": "合约单位",
  15216. "type": "string"
  15217. },
  15218. "areauserid": {
  15219. "description": "所属机构id",
  15220. "type": "integer"
  15221. },
  15222. "convertratio": {
  15223. "description": "期货品种系数(折算系数)",
  15224. "type": "number"
  15225. },
  15226. "curqty": {
  15227. "description": "当前持仓",
  15228. "type": "integer"
  15229. },
  15230. "diffhedgeqty": {
  15231. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15232. "type": "number"
  15233. },
  15234. "diffqty": {
  15235. "description": "持仓变动量=当前持仓-昨日持仓",
  15236. "type": "integer"
  15237. },
  15238. "goodscode": {
  15239. "description": "商品代码",
  15240. "type": "string"
  15241. },
  15242. "goodsid": {
  15243. "description": "商品id",
  15244. "type": "integer"
  15245. },
  15246. "goodsname": {
  15247. "description": "商品名称",
  15248. "type": "string"
  15249. },
  15250. "middlegoodsid": {
  15251. "description": "套保商品id",
  15252. "type": "integer"
  15253. },
  15254. "ydqty": {
  15255. "description": "昨日持仓",
  15256. "type": "integer"
  15257. }
  15258. }
  15259. },
  15260. "models.ErmcpFuturesCompany": {
  15261. "type": "object",
  15262. "properties": {
  15263. "brokerid": {
  15264. "description": "经纪公司代码",
  15265. "type": "string"
  15266. },
  15267. "channeladdress": {
  15268. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15269. "type": "string"
  15270. },
  15271. "channelid": {
  15272. "description": "对冲渠道ID",
  15273. "type": "string"
  15274. },
  15275. "createtime": {
  15276. "description": "创建时间",
  15277. "type": "string"
  15278. },
  15279. "creatorid": {
  15280. "description": "创建人",
  15281. "type": "string"
  15282. },
  15283. "fcid": {
  15284. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15285. "type": "integer"
  15286. },
  15287. "fcname": {
  15288. "description": "期货公司名称",
  15289. "type": "string"
  15290. },
  15291. "isvalid": {
  15292. "description": "是否有效 - 0:无效 1:有效",
  15293. "type": "integer"
  15294. },
  15295. "mhpaddress": {
  15296. "description": "MHP服务地址(IP:Port)",
  15297. "type": "string"
  15298. },
  15299. "riskrulegroupid": {
  15300. "description": "风控规则组ID",
  15301. "type": "string"
  15302. },
  15303. "tradefeetmpid": {
  15304. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15305. "type": "string"
  15306. },
  15307. "trademargintmpid": {
  15308. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15309. "type": "string"
  15310. },
  15311. "traderatetmpid": {
  15312. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15313. "type": "string"
  15314. },
  15315. "updatetime": {
  15316. "description": "更新时间",
  15317. "type": "string"
  15318. },
  15319. "updatorid": {
  15320. "description": "更新人",
  15321. "type": "string"
  15322. }
  15323. }
  15324. },
  15325. "models.ErmcpGGConvertCfg": {
  15326. "type": "object",
  15327. "properties": {
  15328. "convertratio": {
  15329. "description": "折算系数",
  15330. "type": "number"
  15331. },
  15332. "destgoodsgroupid": {
  15333. "description": "目标品种ID",
  15334. "type": "integer"
  15335. },
  15336. "dstcode": {
  15337. "description": "目录品种代码",
  15338. "type": "string"
  15339. },
  15340. "dstexchangecode": {
  15341. "description": "目标期货交易所",
  15342. "type": "string"
  15343. },
  15344. "dstname": {
  15345. "description": "目标品种名称",
  15346. "type": "string"
  15347. },
  15348. "dstunitid": {
  15349. "description": "目标品种单位ID",
  15350. "type": "integer"
  15351. },
  15352. "dstunitidname": {
  15353. "description": "目标品种单位名称",
  15354. "type": "string"
  15355. },
  15356. "modifytime": {
  15357. "description": "修改时间",
  15358. "type": "string"
  15359. },
  15360. "srccode": {
  15361. "description": "源品种代码",
  15362. "type": "string"
  15363. },
  15364. "srcexchangecode": {
  15365. "description": "源期货交易所",
  15366. "type": "string"
  15367. },
  15368. "srcgoodsgroupid": {
  15369. "description": "源品种ID",
  15370. "type": "integer"
  15371. },
  15372. "srcname": {
  15373. "description": "源品种名称",
  15374. "type": "string"
  15375. },
  15376. "srcunitid": {
  15377. "description": "源品种单位ID",
  15378. "type": "integer"
  15379. },
  15380. "srcunitidname": {
  15381. "description": "源品种单位名称",
  15382. "type": "string"
  15383. }
  15384. }
  15385. },
  15386. "models.ErmcpGoodsBrand": {
  15387. "type": "object",
  15388. "properties": {
  15389. "areauserid": {
  15390. "description": "所属机构",
  15391. "type": "integer"
  15392. },
  15393. "brandid": {
  15394. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15395. "type": "integer"
  15396. },
  15397. "brandname": {
  15398. "description": "品牌名称",
  15399. "type": "string"
  15400. },
  15401. "createtime": {
  15402. "description": "创建时间",
  15403. "type": "string"
  15404. },
  15405. "creatorid": {
  15406. "description": "创建人",
  15407. "type": "integer"
  15408. },
  15409. "creatorsrc": {
  15410. "description": "创建人来源 - 1:管理端 2:终端",
  15411. "type": "integer"
  15412. },
  15413. "deliverygoodsid": {
  15414. "description": "现货品种ID",
  15415. "type": "integer"
  15416. },
  15417. "isvalid": {
  15418. "description": "是否有效 - 0:无效 1:有效",
  15419. "type": "integer"
  15420. },
  15421. "updatetime": {
  15422. "description": "更新时间",
  15423. "type": "string"
  15424. },
  15425. "updatorid": {
  15426. "description": "更新人",
  15427. "type": "integer"
  15428. },
  15429. "updatorsrc": {
  15430. "description": "更新人来源 - 1:管理端 2:终端",
  15431. "type": "integer"
  15432. },
  15433. "wrstandardid": {
  15434. "description": "现货商品ID",
  15435. "type": "integer"
  15436. }
  15437. }
  15438. },
  15439. "models.ErmcpGoodsModel": {
  15440. "type": "object",
  15441. "properties": {
  15442. "areauserid": {
  15443. "description": "所属机构",
  15444. "type": "integer"
  15445. },
  15446. "convertfactor": {
  15447. "description": "标仓系数",
  15448. "type": "number"
  15449. },
  15450. "createtime": {
  15451. "description": "创建时间",
  15452. "type": "string"
  15453. },
  15454. "creatorid": {
  15455. "description": "创建人",
  15456. "type": "integer"
  15457. },
  15458. "creatorsrc": {
  15459. "description": "创建人来源 - 1:管理端 2:终端",
  15460. "type": "integer"
  15461. },
  15462. "deliverygoodsid": {
  15463. "description": "现货品种ID",
  15464. "type": "integer"
  15465. },
  15466. "isvalid": {
  15467. "description": "是否有效 - 0:无效 1:有效",
  15468. "type": "integer"
  15469. },
  15470. "modelid": {
  15471. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15472. "type": "integer"
  15473. },
  15474. "modelname": {
  15475. "description": "型号名称",
  15476. "type": "string"
  15477. },
  15478. "updatetime": {
  15479. "description": "更新时间",
  15480. "type": "string"
  15481. },
  15482. "updatorid": {
  15483. "description": "更新人",
  15484. "type": "integer"
  15485. },
  15486. "updatorsrc": {
  15487. "description": "更新人来源 - 1:管理端 2:终端",
  15488. "type": "integer"
  15489. },
  15490. "wrstandardid": {
  15491. "description": "现货商品ID",
  15492. "type": "integer"
  15493. }
  15494. }
  15495. },
  15496. "models.ErmcpHedgePosition": {
  15497. "type": "object",
  15498. "properties": {
  15499. "accountid": {
  15500. "description": "资金账号[外部母账户]",
  15501. "type": "integer"
  15502. },
  15503. "curbuyposition": {
  15504. "description": "期末买头寸",
  15505. "type": "integer"
  15506. },
  15507. "cursellposition": {
  15508. "description": "期末卖头寸",
  15509. "type": "integer"
  15510. },
  15511. "curtdbuyposition": {
  15512. "description": "期末今日买头寸",
  15513. "type": "integer"
  15514. },
  15515. "curtdsellposition": {
  15516. "description": "期末今日卖头寸",
  15517. "type": "integer"
  15518. },
  15519. "curydbuyposition": {
  15520. "description": "期末上日买头寸",
  15521. "type": "integer"
  15522. },
  15523. "curydsellposition": {
  15524. "description": "期末上日卖头寸",
  15525. "type": "integer"
  15526. },
  15527. "decreaseqty": {
  15528. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15529. "type": "integer"
  15530. },
  15531. "fretdbuyposition": {
  15532. "description": "冻结今日买头寸",
  15533. "type": "integer"
  15534. },
  15535. "fretdsellposition": {
  15536. "description": "冻结今日卖头寸",
  15537. "type": "integer"
  15538. },
  15539. "freydbuyposition": {
  15540. "description": "冻结上日买头寸",
  15541. "type": "integer"
  15542. },
  15543. "freydsellposition": {
  15544. "description": "冻结上日卖头寸",
  15545. "type": "integer"
  15546. },
  15547. "goodscode": {
  15548. "description": "商品代码",
  15549. "type": "string"
  15550. },
  15551. "goodsid": {
  15552. "description": "商品id",
  15553. "type": "integer"
  15554. },
  15555. "goodsname": {
  15556. "description": "商品名称",
  15557. "type": "string"
  15558. },
  15559. "hedgeaccountcode": {
  15560. "description": "对冲账号",
  15561. "type": "string"
  15562. },
  15563. "hedgegoodsid": {
  15564. "description": "对冲合约ID",
  15565. "type": "integer"
  15566. },
  15567. "increaseqty": {
  15568. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15569. "type": "integer"
  15570. },
  15571. "marketid": {
  15572. "description": "市场ID",
  15573. "type": "integer"
  15574. },
  15575. "relateduserid": {
  15576. "description": "关联用户id",
  15577. "type": "integer"
  15578. },
  15579. "totalcurqty": {
  15580. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15581. "type": "integer"
  15582. },
  15583. "totalydqty": {
  15584. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15585. "type": "integer"
  15586. },
  15587. "tradedate": {
  15588. "description": "交易日(yyyyMMdd)",
  15589. "type": "string"
  15590. },
  15591. "ydbuyposition": {
  15592. "description": "期初买头寸",
  15593. "type": "integer"
  15594. },
  15595. "ydsellposition": {
  15596. "description": "期初卖头寸",
  15597. "type": "integer"
  15598. }
  15599. }
  15600. },
  15601. "models.ErmcpHedgePositionDetail": {
  15602. "type": "object",
  15603. "properties": {
  15604. "buyorsell": {
  15605. "description": "买卖方向 0-买 1-卖",
  15606. "type": "integer"
  15607. },
  15608. "channelbuildtype": {
  15609. "description": "开平方向 1-建仓 2-平仓",
  15610. "type": "integer"
  15611. },
  15612. "goodscode": {
  15613. "description": "商品代码",
  15614. "type": "string"
  15615. },
  15616. "goodsname": {
  15617. "description": "商品名称",
  15618. "type": "string"
  15619. },
  15620. "hedgegoodsid": {
  15621. "description": "商品id",
  15622. "type": "integer"
  15623. },
  15624. "tradeqty": {
  15625. "description": "数量(成交数量)",
  15626. "type": "integer"
  15627. },
  15628. "tradetime": {
  15629. "description": "时间(成交时间)",
  15630. "type": "string"
  15631. }
  15632. }
  15633. },
  15634. "models.ErmcpHisExposure": {
  15635. "type": "object",
  15636. "properties": {
  15637. "needhedgeexposoure": {
  15638. "description": "应套保敞口",
  15639. "type": "number"
  15640. },
  15641. "reckondate": {
  15642. "description": "日照时期(yyyyMMdd)",
  15643. "type": "string"
  15644. },
  15645. "totalexposure": {
  15646. "description": "总敞口",
  15647. "type": "number"
  15648. }
  15649. }
  15650. },
  15651. "models.ErmcpHisExposureS": {
  15652. "type": "object",
  15653. "properties": {
  15654. "data": {
  15655. "description": "历史敞口",
  15656. "type": "array",
  15657. "items": {
  15658. "$ref": "#/definitions/models.ErmcpHisExposure"
  15659. }
  15660. },
  15661. "enumdicname": {
  15662. "description": "单位名称",
  15663. "type": "string"
  15664. },
  15665. "middlegoodscode": {
  15666. "description": "套保品种代码",
  15667. "type": "string"
  15668. },
  15669. "middlegoodsid": {
  15670. "description": "套保品种ID",
  15671. "type": "integer"
  15672. },
  15673. "middlegoodsname": {
  15674. "description": "套保品种名称",
  15675. "type": "string"
  15676. }
  15677. }
  15678. },
  15679. "models.ErmcpLoginTaAccount": {
  15680. "type": "object",
  15681. "properties": {
  15682. "accountid": {
  15683. "description": "账号id",
  15684. "type": "integer"
  15685. },
  15686. "accountname": {
  15687. "description": "账号名称",
  15688. "type": "string"
  15689. }
  15690. }
  15691. },
  15692. "models.ErmcpLoginUser": {
  15693. "type": "object",
  15694. "properties": {
  15695. "acclist": {
  15696. "description": "关联资金账号",
  15697. "type": "array",
  15698. "items": {
  15699. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  15700. }
  15701. },
  15702. "accountname": {
  15703. "description": "用户名称",
  15704. "type": "string"
  15705. },
  15706. "clientroleid": {
  15707. "description": "角色id(usertype=2)",
  15708. "type": "integer"
  15709. },
  15710. "createtime": {
  15711. "description": "创建时间",
  15712. "type": "string"
  15713. },
  15714. "logincode": {
  15715. "description": "登录代码",
  15716. "type": "string"
  15717. },
  15718. "loginid": {
  15719. "description": "登录id(LOGINID)",
  15720. "type": "integer"
  15721. },
  15722. "loginname": {
  15723. "description": "登录名称(loginaccount表中的accountname字段)",
  15724. "type": "string"
  15725. },
  15726. "loginstatus": {
  15727. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  15728. "type": "integer"
  15729. },
  15730. "memberuserid": {
  15731. "description": "所属会员id",
  15732. "type": "integer"
  15733. },
  15734. "mobile": {
  15735. "description": "手机号",
  15736. "type": "string"
  15737. },
  15738. "modifytime": {
  15739. "description": "修改时间",
  15740. "type": "string"
  15741. },
  15742. "password": {
  15743. "description": "密码(不可解密)",
  15744. "type": "string"
  15745. },
  15746. "rolename": {
  15747. "description": "角色名称",
  15748. "type": "string"
  15749. },
  15750. "rolestatus": {
  15751. "description": "角色状态 1-启用 2-停用",
  15752. "type": "integer"
  15753. },
  15754. "roletype": {
  15755. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  15756. "type": "string"
  15757. },
  15758. "userid": {
  15759. "description": "用户id",
  15760. "type": "integer"
  15761. },
  15762. "usertype": {
  15763. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  15764. "type": "integer"
  15765. }
  15766. }
  15767. },
  15768. "models.ErmcpLoginUserEx": {
  15769. "type": "object",
  15770. "properties": {
  15771. "accountstatus": {
  15772. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  15773. "type": "integer"
  15774. },
  15775. "mobile": {
  15776. "description": "手机号",
  15777. "type": "string"
  15778. },
  15779. "querytype": {
  15780. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  15781. "type": "integer"
  15782. },
  15783. "roleid": {
  15784. "description": "角色id(交易账户-\u003e用户id)",
  15785. "type": "integer"
  15786. },
  15787. "rolename": {
  15788. "description": "角色名称(交易账户-\u003e用户名称)",
  15789. "type": "string"
  15790. },
  15791. "userlist": {
  15792. "description": "用户列表",
  15793. "type": "array",
  15794. "items": {
  15795. "$ref": "#/definitions/models.ErmcpLoginUser"
  15796. }
  15797. },
  15798. "usertype": {
  15799. "description": "用户类型 2-机构 7-企业成员(云平台)",
  15800. "type": "integer"
  15801. }
  15802. }
  15803. },
  15804. "models.ErmcpMiddleGoodsChangeLog": {
  15805. "type": "object",
  15806. "properties": {
  15807. "aftervalue": {
  15808. "description": "变更后",
  15809. "type": "number"
  15810. },
  15811. "applyid": {
  15812. "description": "操作人",
  15813. "type": "integer"
  15814. },
  15815. "applyname": {
  15816. "description": "操作人名称",
  15817. "type": "string"
  15818. },
  15819. "applysrc": {
  15820. "description": "操作来源 - 1:管理端 2:终端",
  15821. "type": "integer"
  15822. },
  15823. "beforevalue": {
  15824. "description": "变更前",
  15825. "type": "number"
  15826. },
  15827. "changelogtype": {
  15828. "description": "变更流水类型 - 1:套保比率变更",
  15829. "type": "integer"
  15830. },
  15831. "handlestatus": {
  15832. "description": "处理状态",
  15833. "type": "integer"
  15834. },
  15835. "logdatetime": {
  15836. "description": "流水日期",
  15837. "type": "string"
  15838. },
  15839. "logid": {
  15840. "description": "流水ID",
  15841. "type": "integer"
  15842. },
  15843. "logremark": {
  15844. "description": "流水备注",
  15845. "type": "string"
  15846. },
  15847. "middlegoodsid": {
  15848. "description": "套保品种ID",
  15849. "type": "integer"
  15850. },
  15851. "tradedate": {
  15852. "description": "交易日(yyyyMMdd)",
  15853. "type": "string"
  15854. },
  15855. "updatetime": {
  15856. "description": "更新时间",
  15857. "type": "string"
  15858. }
  15859. }
  15860. },
  15861. "models.ErmcpMiddleGoodsDetail": {
  15862. "type": "object",
  15863. "properties": {
  15864. "cvList": {
  15865. "description": "期货品种折算列表",
  15866. "type": "array",
  15867. "items": {
  15868. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15869. }
  15870. },
  15871. "mg": {
  15872. "description": "套保品种基本信息",
  15873. "type": "object",
  15874. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15875. },
  15876. "wrcList": {
  15877. "description": "现货品种列表(现货商品折算配置)",
  15878. "type": "array",
  15879. "items": {
  15880. "$ref": "#/definitions/models.WRSConverTDetail"
  15881. }
  15882. }
  15883. }
  15884. },
  15885. "models.ErmcpMiddleGoodsModel": {
  15886. "type": "object",
  15887. "properties": {
  15888. "areauserid": {
  15889. "description": "机构用户ID",
  15890. "type": "integer"
  15891. },
  15892. "createtime": {
  15893. "description": "修改时间",
  15894. "type": "string"
  15895. },
  15896. "enumdicname": {
  15897. "description": "单位名称",
  15898. "type": "string"
  15899. },
  15900. "evaluateratio": {
  15901. "description": "估价系数",
  15902. "type": "number"
  15903. },
  15904. "goodsgroupid": {
  15905. "description": "关联期货品种ID",
  15906. "type": "integer"
  15907. },
  15908. "goodsunitid": {
  15909. "description": "单位ID",
  15910. "type": "integer"
  15911. },
  15912. "isvalid": {
  15913. "description": "状态 0-无效(停用) 1-有效(正常)",
  15914. "type": "integer"
  15915. },
  15916. "middlegoodscode": {
  15917. "description": "套保品种代码",
  15918. "type": "string"
  15919. },
  15920. "middlegoodsid": {
  15921. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15922. "type": "integer"
  15923. },
  15924. "middlegoodsname": {
  15925. "description": "套保品种名称",
  15926. "type": "string"
  15927. },
  15928. "modifytime": {
  15929. "description": "修改时间",
  15930. "type": "string"
  15931. },
  15932. "needhedgeratio": {
  15933. "description": "套保比率",
  15934. "type": "number"
  15935. },
  15936. "qtydecimalplace": {
  15937. "description": "数量小数位",
  15938. "type": "integer"
  15939. },
  15940. "relatedgoodsid": {
  15941. "description": "关联交易商品ID",
  15942. "type": "integer"
  15943. },
  15944. "relatedgoodstype": {
  15945. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15946. "type": "integer"
  15947. },
  15948. "remark": {
  15949. "description": "备注",
  15950. "type": "string"
  15951. }
  15952. }
  15953. },
  15954. "models.ErmcpOPLogModel": {
  15955. "type": "object",
  15956. "properties": {
  15957. "aftervalue": {
  15958. "description": "变更后",
  15959. "type": "number"
  15960. },
  15961. "applyid": {
  15962. "description": "操作人ID",
  15963. "type": "string"
  15964. },
  15965. "applyname": {
  15966. "description": "操作人名称",
  15967. "type": "string"
  15968. },
  15969. "beforevalue": {
  15970. "description": "变更前",
  15971. "type": "number"
  15972. },
  15973. "biztype": {
  15974. "description": "业务类型 - 1:套保计划 2:现货合同",
  15975. "type": "integer"
  15976. },
  15977. "contracttype": {
  15978. "description": "现货合同类型 - 1:采购 -1:销售",
  15979. "type": "integer"
  15980. },
  15981. "logvalue": {
  15982. "description": "数值",
  15983. "type": "number"
  15984. },
  15985. "operatelogtype": {
  15986. "description": "操作流水类型",
  15987. "type": "integer"
  15988. },
  15989. "operatelogtypedesc": {
  15990. "description": "操作流水类型名称",
  15991. "type": "string"
  15992. },
  15993. "relatedid": {
  15994. "description": "现货合同ID\\套保计划",
  15995. "type": "string"
  15996. },
  15997. "updatetime": {
  15998. "description": "更新时间",
  15999. "type": "string"
  16000. }
  16001. }
  16002. },
  16003. "models.ErmcpPendingAudit": {
  16004. "type": "object",
  16005. "properties": {
  16006. "areastockqty": {
  16007. "description": "待审核数量: 库存申请",
  16008. "type": "integer"
  16009. },
  16010. "businessdjqty": {
  16011. "description": "待审核数量: 点价",
  16012. "type": "integer"
  16013. },
  16014. "businessfpqty": {
  16015. "description": "待审核数量: 发票",
  16016. "type": "integer"
  16017. },
  16018. "businessjsqty": {
  16019. "description": "待审核数量: 结算",
  16020. "type": "integer"
  16021. },
  16022. "businesskxqty": {
  16023. "description": "待审核数量: 款项",
  16024. "type": "integer"
  16025. },
  16026. "hedgeplanqty": {
  16027. "description": "待审核数量: 套保计划",
  16028. "type": "integer"
  16029. },
  16030. "spotcontractqty": {
  16031. "description": "待审核数量: 现货合同",
  16032. "type": "integer"
  16033. },
  16034. "userqty": {
  16035. "description": "待审核数量: 用户",
  16036. "type": "integer"
  16037. }
  16038. }
  16039. },
  16040. "models.ErmcpRealExposureModel": {
  16041. "type": "object",
  16042. "properties": {
  16043. "AreaUserID": {
  16044. "description": "所属机构",
  16045. "type": "integer"
  16046. },
  16047. "BuyFutureQty": {
  16048. "description": "买入期货数量",
  16049. "type": "number"
  16050. },
  16051. "BuyPlanQty": {
  16052. "description": "采购计划数量",
  16053. "type": "number"
  16054. },
  16055. "BuyPricedQty": {
  16056. "description": "采购合同已定价数量",
  16057. "type": "number"
  16058. },
  16059. "MiddleGoodsCode": {
  16060. "description": "套保品种代码",
  16061. "type": "string"
  16062. },
  16063. "MiddleGoodsHedgeRatio": {
  16064. "description": "套保比例",
  16065. "type": "number"
  16066. },
  16067. "MiddleGoodsID": {
  16068. "description": "套保品种",
  16069. "type": "integer"
  16070. },
  16071. "MiddleGoodsName": {
  16072. "description": "套保品种名称",
  16073. "type": "string"
  16074. },
  16075. "NeedHedgeExposoure": {
  16076. "description": "应套保敞口(套保敞口)",
  16077. "type": "number"
  16078. },
  16079. "NeedHedgeRatio": {
  16080. "description": "应套保敞口比例",
  16081. "type": "number"
  16082. },
  16083. "OriBuyFutureQty": {
  16084. "description": "期初买入期货数量",
  16085. "type": "number"
  16086. },
  16087. "OriBuyPlanQty": {
  16088. "description": "期初采购计划数量",
  16089. "type": "number"
  16090. },
  16091. "OriBuyPricedQty": {
  16092. "description": "期初采购合同已定价数量",
  16093. "type": "number"
  16094. },
  16095. "OriSellFutureQty": {
  16096. "description": "期初卖出期货数量",
  16097. "type": "number"
  16098. },
  16099. "OriSellPlanQty": {
  16100. "description": "期初销售计划数量",
  16101. "type": "number"
  16102. },
  16103. "OriSellPricedQty": {
  16104. "description": "期初销售合同已定价数量",
  16105. "type": "number"
  16106. },
  16107. "SellFutureQty": {
  16108. "description": "卖出期货数量",
  16109. "type": "number"
  16110. },
  16111. "SellPlanQty": {
  16112. "description": "销售计划数量",
  16113. "type": "number"
  16114. },
  16115. "SellPricedQty": {
  16116. "description": "销售合同已定价数量",
  16117. "type": "number"
  16118. },
  16119. "TotalExposure": {
  16120. "description": "总敞口",
  16121. "type": "number"
  16122. },
  16123. "TotalFutureQty": {
  16124. "description": "期货总量",
  16125. "type": "number"
  16126. },
  16127. "TotalHedgeRatio": {
  16128. "description": "敞口比例",
  16129. "type": "number"
  16130. },
  16131. "TotalNeedHedgeQty": {
  16132. "description": "应套保总量(现货应套保总量)",
  16133. "type": "number"
  16134. },
  16135. "TotalSpotQty": {
  16136. "description": "现货总量",
  16137. "type": "number"
  16138. },
  16139. "arbitrageqty": {
  16140. "description": "套利量",
  16141. "type": "number"
  16142. },
  16143. "diffArbitrageQty": {
  16144. "description": "套利变动量",
  16145. "type": "number"
  16146. },
  16147. "diffExposoureQty": {
  16148. "description": "变动量(套保敞口)",
  16149. "type": "number"
  16150. },
  16151. "diffFutuQty": {
  16152. "description": "变动量(期货总量)",
  16153. "type": "number"
  16154. },
  16155. "diffHedgeQty": {
  16156. "description": "套保变动量",
  16157. "type": "number"
  16158. },
  16159. "diffQty": {
  16160. "description": "变动量(总敞口)",
  16161. "type": "number"
  16162. },
  16163. "diffSpotHedgeQty": {
  16164. "description": "变动量(现货应套保总量)",
  16165. "type": "number"
  16166. },
  16167. "diffSpotQty": {
  16168. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  16169. "type": "number"
  16170. },
  16171. "enumdicname": {
  16172. "description": "单位名称",
  16173. "type": "string"
  16174. },
  16175. "hedgeqty": {
  16176. "description": "套保量",
  16177. "type": "number"
  16178. },
  16179. "needarbitrageqty": {
  16180. "description": "应套利量",
  16181. "type": "number"
  16182. },
  16183. "needarbitrageratio": {
  16184. "description": "套利比例",
  16185. "type": "number"
  16186. },
  16187. "needhedgeqty": {
  16188. "description": "应套保量",
  16189. "type": "number"
  16190. },
  16191. "oriTotalFutuQty": {
  16192. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16193. "type": "number"
  16194. },
  16195. "oriTotalSpotQty": {
  16196. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16197. "type": "number"
  16198. },
  16199. "oriarbitrageqty": {
  16200. "description": "期初套利量",
  16201. "type": "number"
  16202. },
  16203. "orihedgeqty": {
  16204. "description": "期初套保量",
  16205. "type": "number"
  16206. },
  16207. "orineedhedgeexposoure": {
  16208. "description": "期初套保敞口",
  16209. "type": "number"
  16210. },
  16211. "oritotalexposure": {
  16212. "description": "期初总敞口",
  16213. "type": "number"
  16214. },
  16215. "oritotalfutureqty": {
  16216. "description": "期初期货总量",
  16217. "type": "number"
  16218. },
  16219. "oritotalneedhedgeqty": {
  16220. "description": "期初现货应套保量",
  16221. "type": "number"
  16222. }
  16223. }
  16224. },
  16225. "models.ErmcpRole": {
  16226. "type": "object",
  16227. "properties": {
  16228. "areauserid": {
  16229. "description": "所属机构",
  16230. "type": "integer"
  16231. },
  16232. "autoid": {
  16233. "description": "角色ID(自增ID)",
  16234. "type": "integer"
  16235. },
  16236. "modifierid": {
  16237. "description": "修改人(创建人)",
  16238. "type": "integer"
  16239. },
  16240. "modifiername": {
  16241. "description": "修改人名称",
  16242. "type": "string"
  16243. },
  16244. "modifytime": {
  16245. "description": "修改时间(创建时间)",
  16246. "type": "string"
  16247. },
  16248. "rolename": {
  16249. "description": "角色名称",
  16250. "type": "string"
  16251. },
  16252. "rolestatus": {
  16253. "description": "角色状态 - 1:启用 2:停用",
  16254. "type": "integer"
  16255. },
  16256. "roletype": {
  16257. "description": "角色类型 - 1- 管理端 2- 交易端",
  16258. "type": "integer"
  16259. }
  16260. }
  16261. },
  16262. "models.ErmcpRoleMenu": {
  16263. "type": "object",
  16264. "properties": {
  16265. "iconame": {
  16266. "description": "菜单图标",
  16267. "type": "string"
  16268. },
  16269. "ishadrole": {
  16270. "description": "是否有权限",
  16271. "type": "boolean"
  16272. },
  16273. "menutype": {
  16274. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16275. "type": "integer"
  16276. },
  16277. "parentcode": {
  16278. "description": "上级资源代码",
  16279. "type": "string"
  16280. },
  16281. "remark": {
  16282. "description": "菜单备注",
  16283. "type": "string"
  16284. },
  16285. "resourcecode": {
  16286. "description": "菜单代码",
  16287. "type": "string"
  16288. },
  16289. "resourcelevel": {
  16290. "description": "级别",
  16291. "type": "integer"
  16292. },
  16293. "resourcename": {
  16294. "description": "菜单名称",
  16295. "type": "string"
  16296. },
  16297. "roleid": {
  16298. "description": "角色id",
  16299. "type": "integer"
  16300. },
  16301. "sort": {
  16302. "description": "排序",
  16303. "type": "integer"
  16304. },
  16305. "url": {
  16306. "description": "URL",
  16307. "type": "string"
  16308. },
  16309. "userid": {
  16310. "description": "用户id",
  16311. "type": "integer"
  16312. }
  16313. }
  16314. },
  16315. "models.ErmcpRoleMenuEx": {
  16316. "type": "object",
  16317. "properties": {
  16318. "menu": {
  16319. "description": "父级菜单",
  16320. "type": "object",
  16321. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16322. },
  16323. "subMenu": {
  16324. "description": "子级菜单",
  16325. "type": "array",
  16326. "items": {
  16327. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16328. }
  16329. }
  16330. }
  16331. },
  16332. "models.ErmcpTaAccount": {
  16333. "type": "object",
  16334. "properties": {
  16335. "accountid": {
  16336. "description": "账户id",
  16337. "type": "integer"
  16338. },
  16339. "accountname": {
  16340. "description": "账户名称",
  16341. "type": "string"
  16342. },
  16343. "currencyid": {
  16344. "description": "币种id",
  16345. "type": "integer"
  16346. },
  16347. "hedgeaccountcode": {
  16348. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16349. "type": "string"
  16350. },
  16351. "ismain": {
  16352. "description": "是否主账户 0-否 1-是",
  16353. "type": "integer"
  16354. },
  16355. "parentaccountid": {
  16356. "description": "父账户id",
  16357. "type": "integer"
  16358. },
  16359. "relateduserid": {
  16360. "description": "关联userid",
  16361. "type": "integer"
  16362. },
  16363. "tradestatus": {
  16364. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16365. "type": "integer"
  16366. },
  16367. "userid": {
  16368. "description": "用户id",
  16369. "type": "integer"
  16370. }
  16371. }
  16372. },
  16373. "models.ErmcpTaAccountEx": {
  16374. "type": "object",
  16375. "properties": {
  16376. "mainAcc": {
  16377. "description": "主账号",
  16378. "type": "object",
  16379. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16380. },
  16381. "subacclist": {
  16382. "description": "子账号列表",
  16383. "type": "array",
  16384. "items": {
  16385. "$ref": "#/definitions/models.ErmcpTaAccount"
  16386. }
  16387. }
  16388. }
  16389. },
  16390. "models.ErmcpTaAccountInfo": {
  16391. "type": "object",
  16392. "properties": {
  16393. "accountid": {
  16394. "description": "资金账户ID",
  16395. "type": "integer"
  16396. },
  16397. "accountname": {
  16398. "description": "账户名称",
  16399. "type": "string"
  16400. },
  16401. "balance": {
  16402. "description": "期初余额",
  16403. "type": "number"
  16404. },
  16405. "capitalbalance": {
  16406. "description": "本金余额[外部子账户实际出入金余额]",
  16407. "type": "number"
  16408. },
  16409. "closepl": {
  16410. "description": "今日平仓盈亏",
  16411. "type": "number"
  16412. },
  16413. "creditdecrease": {
  16414. "description": "今日授信减少",
  16415. "type": "number"
  16416. },
  16417. "creditincrease": {
  16418. "description": "今日授信增加",
  16419. "type": "number"
  16420. },
  16421. "curdebt": {
  16422. "description": "期末欠款",
  16423. "type": "number"
  16424. },
  16425. "currencyid": {
  16426. "description": "货币ID",
  16427. "type": "integer"
  16428. },
  16429. "currentbalance": {
  16430. "description": "期末余额",
  16431. "type": "number"
  16432. },
  16433. "freezecharge": {
  16434. "description": "手续费冻结",
  16435. "type": "number"
  16436. },
  16437. "freezemargin": {
  16438. "description": "冻结保证金",
  16439. "type": "number"
  16440. },
  16441. "fromaccountid": {
  16442. "description": "所属上级账户",
  16443. "type": "integer"
  16444. },
  16445. "inamount": {
  16446. "description": "今日入金金额(包括三方入金)",
  16447. "type": "number"
  16448. },
  16449. "ismain": {
  16450. "description": "是否母账号 0:不是母账户 1:是母账户",
  16451. "type": "integer"
  16452. },
  16453. "mortgagecredit": {
  16454. "description": "授信金额",
  16455. "type": "number"
  16456. },
  16457. "oridebt": {
  16458. "description": "期初欠款",
  16459. "type": "number"
  16460. },
  16461. "orifreezecharge": {
  16462. "description": "期初手续费冻结",
  16463. "type": "number"
  16464. },
  16465. "orifreezemargin": {
  16466. "description": "期初冻结保证金",
  16467. "type": "number"
  16468. },
  16469. "orimortgagecredit": {
  16470. "description": "期初授信金额",
  16471. "type": "number"
  16472. },
  16473. "oriothercredit": {
  16474. "description": "期初其它授信金额",
  16475. "type": "number"
  16476. },
  16477. "oriotherfreezemargin": {
  16478. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16479. "type": "number"
  16480. },
  16481. "orioutamountfreeze": {
  16482. "description": "期初出金冻结",
  16483. "type": "number"
  16484. },
  16485. "oriusedmargin": {
  16486. "description": "期初占用保证金",
  16487. "type": "number"
  16488. },
  16489. "othercredit": {
  16490. "description": "其它授信金额",
  16491. "type": "number"
  16492. },
  16493. "othercreditdecrease": {
  16494. "description": "今日其它授信减少",
  16495. "type": "number"
  16496. },
  16497. "othercreditincrease": {
  16498. "description": "今日其它授信增加",
  16499. "type": "number"
  16500. },
  16501. "otherfreezemargin": {
  16502. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16503. "type": "number"
  16504. },
  16505. "outamount": {
  16506. "description": "今日出金金额(包括三方出金)",
  16507. "type": "number"
  16508. },
  16509. "outamountfreeze": {
  16510. "description": "出金冻结",
  16511. "type": "number"
  16512. },
  16513. "outthreshold": {
  16514. "description": "出金阈值",
  16515. "type": "number"
  16516. },
  16517. "parentaccountid": {
  16518. "description": "所属根账号",
  16519. "type": "integer"
  16520. },
  16521. "paycharge": {
  16522. "description": "今日手续费支出",
  16523. "type": "number"
  16524. },
  16525. "relateduserid": {
  16526. "description": "关联用户",
  16527. "type": "integer"
  16528. },
  16529. "signstatus": {
  16530. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16531. "type": "integer"
  16532. },
  16533. "sublevelpath": {
  16534. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16535. "type": "string"
  16536. },
  16537. "taaccounttype": {
  16538. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16539. "type": "integer"
  16540. },
  16541. "thirdinamount": {
  16542. "description": "今日三方入金",
  16543. "type": "number"
  16544. },
  16545. "thirdoutamount": {
  16546. "description": "今日三方出金",
  16547. "type": "number"
  16548. },
  16549. "tradestatus": {
  16550. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16551. "type": "integer"
  16552. },
  16553. "transferamount": {
  16554. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16555. "type": "number"
  16556. },
  16557. "usedmargin": {
  16558. "description": "占用保证金",
  16559. "type": "number"
  16560. },
  16561. "userid": {
  16562. "description": "用户ID",
  16563. "type": "integer"
  16564. }
  16565. }
  16566. },
  16567. "models.ErmcpTaAccountM": {
  16568. "type": "object",
  16569. "properties": {
  16570. "accountid": {
  16571. "description": "账户id",
  16572. "type": "integer"
  16573. },
  16574. "accountname": {
  16575. "description": "账户名称",
  16576. "type": "string"
  16577. },
  16578. "currencyid": {
  16579. "description": "币种id",
  16580. "type": "integer"
  16581. },
  16582. "fcid": {
  16583. "description": "期货公司id",
  16584. "type": "integer"
  16585. },
  16586. "fcname": {
  16587. "description": "期货公司代码",
  16588. "type": "string"
  16589. },
  16590. "hedgeaccountcode": {
  16591. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16592. "type": "string"
  16593. },
  16594. "ismain": {
  16595. "description": "是否主账户 0-否 1-是",
  16596. "type": "integer"
  16597. },
  16598. "parentaccountid": {
  16599. "description": "父账户id",
  16600. "type": "integer"
  16601. },
  16602. "relateduserid": {
  16603. "description": "关联userid",
  16604. "type": "integer"
  16605. },
  16606. "tradestatus": {
  16607. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16608. "type": "integer"
  16609. },
  16610. "userid": {
  16611. "description": "用户id",
  16612. "type": "integer"
  16613. }
  16614. }
  16615. },
  16616. "models.ErmcpTradeConfigTMP": {
  16617. "type": "object",
  16618. "properties": {
  16619. "areauserid": {
  16620. "description": "所属机构",
  16621. "type": "integer"
  16622. },
  16623. "basiccurrencyid": {
  16624. "description": "基本币种ID[汇率] - 目标币种",
  16625. "type": "integer"
  16626. },
  16627. "mainaccountid": {
  16628. "description": "主账户ID",
  16629. "type": "integer"
  16630. },
  16631. "modifierid": {
  16632. "description": "修改人",
  16633. "type": "integer"
  16634. },
  16635. "remark": {
  16636. "description": "备注",
  16637. "type": "string"
  16638. },
  16639. "tradeconfigtmpid": {
  16640. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  16641. "type": "integer"
  16642. },
  16643. "tradeconfigtmpname": {
  16644. "description": "交易配置模板名称",
  16645. "type": "string"
  16646. },
  16647. "tradeconfigtmptype": {
  16648. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  16649. "type": "integer"
  16650. },
  16651. "updatetime": {
  16652. "description": "更新时间",
  16653. "type": "string"
  16654. }
  16655. }
  16656. },
  16657. "models.ErmcpUserModel": {
  16658. "type": "object",
  16659. "properties": {
  16660. "address": {
  16661. "description": "通讯地址",
  16662. "type": "string"
  16663. },
  16664. "attachment1": {
  16665. "description": "附件1",
  16666. "type": "string"
  16667. },
  16668. "audittime": {
  16669. "description": "审核时间",
  16670. "type": "string"
  16671. },
  16672. "cardbackphotourl": {
  16673. "description": "证件反面图片地址",
  16674. "type": "string"
  16675. },
  16676. "cardfrontphotourl": {
  16677. "description": "证件正面图片地址",
  16678. "type": "string"
  16679. },
  16680. "cardnum": {
  16681. "description": "证件号码",
  16682. "type": "string"
  16683. },
  16684. "cardtype": {
  16685. "description": "证件类型",
  16686. "type": "integer"
  16687. },
  16688. "cardtypename": {
  16689. "description": "证件类型名称",
  16690. "type": "string"
  16691. },
  16692. "cityid": {
  16693. "description": "市",
  16694. "type": "integer"
  16695. },
  16696. "contactname": {
  16697. "description": "联系人",
  16698. "type": "string"
  16699. },
  16700. "countryid": {
  16701. "description": "国家",
  16702. "type": "integer"
  16703. },
  16704. "createtime": {
  16705. "description": "创建时间",
  16706. "type": "string"
  16707. },
  16708. "customername": {
  16709. "description": "企业名称",
  16710. "type": "string"
  16711. },
  16712. "districtid": {
  16713. "description": "区域",
  16714. "type": "integer"
  16715. },
  16716. "email": {
  16717. "description": "邮件",
  16718. "type": "string"
  16719. },
  16720. "legalpersonname": {
  16721. "description": "法人姓名(企业)",
  16722. "type": "string"
  16723. },
  16724. "memberuserid": {
  16725. "description": "所属机构ID",
  16726. "type": "integer"
  16727. },
  16728. "mobile": {
  16729. "description": "手机号码",
  16730. "type": "string"
  16731. },
  16732. "modifytime": {
  16733. "description": "修改时间",
  16734. "type": "string"
  16735. },
  16736. "nickname": {
  16737. "description": "昵称",
  16738. "type": "string"
  16739. },
  16740. "provinceid": {
  16741. "description": "省",
  16742. "type": "integer"
  16743. },
  16744. "remark": {
  16745. "description": "备注",
  16746. "type": "string"
  16747. },
  16748. "status": {
  16749. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16750. "type": "integer"
  16751. },
  16752. "statusdesc": {
  16753. "description": "账户状态中文描述",
  16754. "type": "string"
  16755. },
  16756. "taxpayernum": {
  16757. "description": "纳税人识别号",
  16758. "type": "string"
  16759. },
  16760. "telphone": {
  16761. "description": "联系电话",
  16762. "type": "string"
  16763. },
  16764. "userid": {
  16765. "description": "用户ID",
  16766. "type": "integer"
  16767. },
  16768. "userinfotype": {
  16769. "description": "客户类型",
  16770. "type": "string"
  16771. }
  16772. }
  16773. },
  16774. "models.ErmcpWareHouseInfo": {
  16775. "type": "object",
  16776. "properties": {
  16777. "address": {
  16778. "description": "详细地址",
  16779. "type": "string"
  16780. },
  16781. "areauserid": {
  16782. "description": "所属机构",
  16783. "type": "integer"
  16784. },
  16785. "autoid": {
  16786. "description": "自增ID(仓库ID)",
  16787. "type": "integer"
  16788. },
  16789. "cityid": {
  16790. "description": "市",
  16791. "type": "integer"
  16792. },
  16793. "contactname": {
  16794. "description": "联系人",
  16795. "type": "string"
  16796. },
  16797. "contactnum": {
  16798. "description": "联系电话",
  16799. "type": "string"
  16800. },
  16801. "countryid": {
  16802. "description": "国家",
  16803. "type": "integer"
  16804. },
  16805. "createtime": {
  16806. "description": "创建时间",
  16807. "type": "string"
  16808. },
  16809. "districtid": {
  16810. "description": "区",
  16811. "type": "integer"
  16812. },
  16813. "hasvideo": {
  16814. "description": "是否有视频 - 0:无 1:有",
  16815. "type": "integer"
  16816. },
  16817. "provinceid": {
  16818. "description": "省",
  16819. "type": "integer"
  16820. },
  16821. "remark": {
  16822. "description": "审核备注",
  16823. "type": "string"
  16824. },
  16825. "videourl": {
  16826. "description": "视频地址",
  16827. "type": "string"
  16828. },
  16829. "warehousecode": {
  16830. "description": "仓库代码",
  16831. "type": "string"
  16832. },
  16833. "warehousename": {
  16834. "description": "仓库名称",
  16835. "type": "string"
  16836. },
  16837. "warehousestatus": {
  16838. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16839. "type": "integer"
  16840. },
  16841. "warehousetype": {
  16842. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16843. "type": "integer"
  16844. }
  16845. }
  16846. },
  16847. "models.Externalexchange": {
  16848. "type": "object",
  16849. "required": [
  16850. "autoid"
  16851. ],
  16852. "properties": {
  16853. "autoid": {
  16854. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  16855. "type": "integer"
  16856. },
  16857. "exchangefullname": {
  16858. "description": "外部交易所全称",
  16859. "type": "string"
  16860. },
  16861. "exexchangecode": {
  16862. "description": "外部交易所代码",
  16863. "type": "string"
  16864. },
  16865. "exexchangename": {
  16866. "description": "外部交易所名称(简称)",
  16867. "type": "string"
  16868. },
  16869. "ismarketprice": {
  16870. "description": "是否支持市价 - 0:不支持 1:支持",
  16871. "type": "integer"
  16872. },
  16873. "quotegear": {
  16874. "description": "行情档位(1-10)",
  16875. "type": "integer"
  16876. },
  16877. "showbrokerflag": {
  16878. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  16879. "type": "integer"
  16880. },
  16881. "updatetime": {
  16882. "description": "更新时间",
  16883. "type": "string"
  16884. }
  16885. }
  16886. },
  16887. "models.Funcmenulist": {
  16888. "type": "object",
  16889. "required": [
  16890. "resourcecode"
  16891. ],
  16892. "properties": {
  16893. "iconame": {
  16894. "description": "菜单图标",
  16895. "type": "string"
  16896. },
  16897. "menutype": {
  16898. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  16899. "type": "integer"
  16900. },
  16901. "parentcode": {
  16902. "description": "上级资源代码",
  16903. "type": "string"
  16904. },
  16905. "remark": {
  16906. "description": "备注",
  16907. "type": "string"
  16908. },
  16909. "resourcecode": {
  16910. "description": "资源代码",
  16911. "type": "string"
  16912. },
  16913. "resourcelevel": {
  16914. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  16915. "type": "integer"
  16916. },
  16917. "resourcename": {
  16918. "description": "资源名",
  16919. "type": "string"
  16920. },
  16921. "sort": {
  16922. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  16923. "type": "integer"
  16924. },
  16925. "url": {
  16926. "description": "URL",
  16927. "type": "string"
  16928. }
  16929. }
  16930. },
  16931. "models.Goods": {
  16932. "type": "object",
  16933. "required": [
  16934. "goodscode",
  16935. "goodsid",
  16936. "goodsname",
  16937. "marketid"
  16938. ],
  16939. "properties": {
  16940. "agreeunit": {
  16941. "description": "合约单位",
  16942. "type": "number"
  16943. },
  16944. "auditaccountid": {
  16945. "description": "审核操作员账号",
  16946. "type": "integer"
  16947. },
  16948. "audittime": {
  16949. "description": "审核时间",
  16950. "type": "string"
  16951. },
  16952. "cancelaccountid": {
  16953. "description": "注销操作员账号",
  16954. "type": "integer"
  16955. },
  16956. "canceltime": {
  16957. "description": "注销时间",
  16958. "type": "string"
  16959. },
  16960. "closepricemode": {
  16961. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16962. "type": "integer"
  16963. },
  16964. "closepriceparam": {
  16965. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16966. "type": "number"
  16967. },
  16968. "createtime": {
  16969. "description": "创建时间",
  16970. "type": "string"
  16971. },
  16972. "creatorid": {
  16973. "description": "创建人",
  16974. "type": "integer"
  16975. },
  16976. "currencyid": {
  16977. "description": "报价货币ID",
  16978. "type": "integer"
  16979. },
  16980. "cutmode": {
  16981. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  16982. "type": "integer"
  16983. },
  16984. "decimalplace": {
  16985. "description": "报价小数位",
  16986. "type": "integer"
  16987. },
  16988. "delistingdate": {
  16989. "description": "商品退市时间(状态:退市) -- 已作废",
  16990. "type": "string"
  16991. },
  16992. "delistingmode": {
  16993. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  16994. "type": "integer"
  16995. },
  16996. "deliveryflag": {
  16997. "description": "交割标志 - 0:不可交割 1:可交割",
  16998. "type": "integer"
  16999. },
  17000. "forceclosemode": {
  17001. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17002. "type": "integer"
  17003. },
  17004. "forceclosevalue": {
  17005. "description": "定期强平参数 [收益权]",
  17006. "type": "integer"
  17007. },
  17008. "goodscode": {
  17009. "description": "商品代码(内部)",
  17010. "type": "string"
  17011. },
  17012. "goodscurrencyid": {
  17013. "description": "合约货币ID",
  17014. "type": "integer"
  17015. },
  17016. "goodsgroupid": {
  17017. "description": "所属商品组ID",
  17018. "type": "integer"
  17019. },
  17020. "goodsid": {
  17021. "description": "商品ID(自增ID SEQ_GOODS)",
  17022. "type": "integer"
  17023. },
  17024. "goodsname": {
  17025. "description": "商品名称",
  17026. "type": "string"
  17027. },
  17028. "goodsquotetype": {
  17029. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17030. "type": "integer"
  17031. },
  17032. "goodsstatus": {
  17033. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17034. "type": "integer"
  17035. },
  17036. "goodstradetype": {
  17037. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17038. "type": "integer"
  17039. },
  17040. "goodunitid": {
  17041. "description": "报价单位ID",
  17042. "type": "integer"
  17043. },
  17044. "hasquoter": {
  17045. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17046. "type": "integer"
  17047. },
  17048. "hqprotecttime": {
  17049. "description": "行情保护时间(秒)",
  17050. "type": "integer"
  17051. },
  17052. "innerdealmode": {
  17053. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17054. "type": "integer"
  17055. },
  17056. "isbuylimited": {
  17057. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17058. "type": "integer"
  17059. },
  17060. "lasttradedate": {
  17061. "description": "最后交易日期(状态:待退市)",
  17062. "type": "string"
  17063. },
  17064. "listingdate": {
  17065. "description": "交易开始日期",
  17066. "type": "string"
  17067. },
  17068. "marketid": {
  17069. "description": "所属市场ID",
  17070. "type": "integer"
  17071. },
  17072. "modifierid": {
  17073. "description": "修改人",
  17074. "type": "integer"
  17075. },
  17076. "modifystatus": {
  17077. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17078. "type": "integer"
  17079. },
  17080. "modifytime": {
  17081. "description": "修改时间",
  17082. "type": "string"
  17083. },
  17084. "outerdealmode": {
  17085. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17086. "type": "integer"
  17087. },
  17088. "outgoodscode": {
  17089. "description": "商品代码(外部)",
  17090. "type": "string"
  17091. },
  17092. "qtydecimalplace": {
  17093. "description": "成交量小数位",
  17094. "type": "integer"
  17095. },
  17096. "quotegear": {
  17097. "description": "行情档位(1-10)",
  17098. "type": "integer"
  17099. },
  17100. "quoteminunit": {
  17101. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17102. "type": "integer"
  17103. },
  17104. "quoteshowtype": {
  17105. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17106. "type": "integer"
  17107. },
  17108. "quoteshowtypeinterval": {
  17109. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17110. "type": "integer"
  17111. },
  17112. "remark": {
  17113. "description": "备注",
  17114. "type": "string"
  17115. }
  17116. }
  17117. },
  17118. "models.GoodsIDAndName": {
  17119. "type": "object",
  17120. "required": [
  17121. "goodscode",
  17122. "goodsid",
  17123. "goodsname",
  17124. "marketid"
  17125. ],
  17126. "properties": {
  17127. "goodscode": {
  17128. "description": "商品代码(内部)",
  17129. "type": "string"
  17130. },
  17131. "goodsid": {
  17132. "description": "商品ID(自增ID SEQ_GOODS)",
  17133. "type": "integer"
  17134. },
  17135. "goodsname": {
  17136. "description": "商品名称",
  17137. "type": "string"
  17138. },
  17139. "marketid": {
  17140. "description": "所属市场ID",
  17141. "type": "integer"
  17142. }
  17143. }
  17144. },
  17145. "models.Goodsgroup": {
  17146. "type": "object",
  17147. "required": [
  17148. "goodsgroupid",
  17149. "goodsgroupname",
  17150. "goodsgroupstatus",
  17151. "marketid"
  17152. ],
  17153. "properties": {
  17154. "agreeunit": {
  17155. "description": "合约单位",
  17156. "type": "number"
  17157. },
  17158. "canshort": {
  17159. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17160. "type": "integer"
  17161. },
  17162. "closepricemode": {
  17163. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17164. "type": "integer"
  17165. },
  17166. "closepriceparam": {
  17167. "description": "强平最新价浮动比例 - 方式为2时使用",
  17168. "type": "number"
  17169. },
  17170. "createtime": {
  17171. "description": "创建时间",
  17172. "type": "string"
  17173. },
  17174. "creatorid": {
  17175. "description": "创建人",
  17176. "type": "integer"
  17177. },
  17178. "currencyid": {
  17179. "description": "报价货币ID",
  17180. "type": "integer"
  17181. },
  17182. "decimalplace": {
  17183. "description": "报价小数位",
  17184. "type": "integer"
  17185. },
  17186. "exercisetype": {
  17187. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17188. "type": "integer"
  17189. },
  17190. "exexchangeid": {
  17191. "description": "外部交易所ID[通道交易]",
  17192. "type": "integer"
  17193. },
  17194. "goodsgroupid": {
  17195. "description": "商品组ID(自增ID)",
  17196. "type": "integer"
  17197. },
  17198. "goodsgroupname": {
  17199. "description": "商品组名称",
  17200. "type": "string"
  17201. },
  17202. "goodsgroupstatus": {
  17203. "description": "商品组状态 - 1:正常 2:注销",
  17204. "type": "integer"
  17205. },
  17206. "goodunitid": {
  17207. "description": "报价单位ID",
  17208. "type": "integer"
  17209. },
  17210. "innerdealmode": {
  17211. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17212. "type": "integer"
  17213. },
  17214. "isbuylimited": {
  17215. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17216. "type": "integer"
  17217. },
  17218. "marketid": {
  17219. "description": "所属市场ID",
  17220. "type": "integer"
  17221. },
  17222. "modifierid": {
  17223. "description": "修改人",
  17224. "type": "integer"
  17225. },
  17226. "modifytime": {
  17227. "description": "修改时间",
  17228. "type": "string"
  17229. },
  17230. "outerdealmode": {
  17231. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17232. "type": "integer"
  17233. },
  17234. "outergroupcode": {
  17235. "description": "外部商品组代码[通道交易]",
  17236. "type": "string"
  17237. },
  17238. "premiumdecimalplace": {
  17239. "description": "权利金小数位[场外期权]",
  17240. "type": "integer"
  17241. },
  17242. "premiumspreadalgorithm": {
  17243. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17244. "type": "integer"
  17245. },
  17246. "premiumspreadvalue": {
  17247. "description": "权利金点差值[场外期权]",
  17248. "type": "number"
  17249. },
  17250. "qtydecimalplace": {
  17251. "description": "成交量小数位",
  17252. "type": "integer"
  17253. },
  17254. "quotegear": {
  17255. "description": "行情档位(1-10)",
  17256. "type": "integer"
  17257. },
  17258. "quoteminunit": {
  17259. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17260. "type": "integer"
  17261. },
  17262. "quoterid": {
  17263. "description": "报价商ID[场外期权]",
  17264. "type": "integer"
  17265. },
  17266. "quotesourcegroupid": {
  17267. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17268. "type": "integer"
  17269. },
  17270. "syncgoodsqty": {
  17271. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17272. "type": "integer"
  17273. }
  17274. }
  17275. },
  17276. "models.Goodssortbypreposition": {
  17277. "type": "object",
  17278. "required": [
  17279. "goodscode",
  17280. "tradedate"
  17281. ],
  17282. "properties": {
  17283. "goodscode": {
  17284. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17285. "type": "string"
  17286. },
  17287. "goodsgroupcode": {
  17288. "description": "品种代码",
  17289. "type": "string"
  17290. },
  17291. "prepositionqty": {
  17292. "description": "昨持仓量",
  17293. "type": "integer"
  17294. },
  17295. "sortindex": {
  17296. "description": "排序",
  17297. "type": "integer"
  17298. },
  17299. "tradedate": {
  17300. "description": "交易日",
  17301. "type": "string"
  17302. },
  17303. "updatetime": {
  17304. "description": "更新时间",
  17305. "type": "string"
  17306. }
  17307. }
  17308. },
  17309. "models.Hedgeinnerholderdetail": {
  17310. "type": "object",
  17311. "required": [
  17312. "buyorsell",
  17313. "tradeid"
  17314. ],
  17315. "properties": {
  17316. "accountid": {
  17317. "description": "账号ID",
  17318. "type": "integer"
  17319. },
  17320. "buyorsell": {
  17321. "description": "方向 - 0:买 1:卖",
  17322. "type": "integer"
  17323. },
  17324. "freezeqty": {
  17325. "description": "冻结数量 - 按单平使用",
  17326. "type": "integer"
  17327. },
  17328. "goodsid": {
  17329. "description": "商品ID",
  17330. "type": "integer"
  17331. },
  17332. "holderamount": {
  17333. "description": "持仓金额 [商品币种]",
  17334. "type": "number"
  17335. },
  17336. "holderdays": {
  17337. "description": "剩余冻结天数",
  17338. "type": "integer"
  17339. },
  17340. "holderprice": {
  17341. "description": "持仓价格",
  17342. "type": "number"
  17343. },
  17344. "holderqty": {
  17345. "description": "持仓数量",
  17346. "type": "integer"
  17347. },
  17348. "marketid": {
  17349. "description": "市场ID",
  17350. "type": "integer"
  17351. },
  17352. "openprice": {
  17353. "description": "建仓价格",
  17354. "type": "number"
  17355. },
  17356. "openqty": {
  17357. "description": "建仓数量",
  17358. "type": "integer"
  17359. },
  17360. "parentaccountid": {
  17361. "description": "所属母账户",
  17362. "type": "integer"
  17363. },
  17364. "releaseamount": {
  17365. "description": "释放持仓金额[商品币种]",
  17366. "type": "number"
  17367. },
  17368. "tradeamount": {
  17369. "description": "成交金额[账户]",
  17370. "type": "number"
  17371. },
  17372. "tradedate": {
  17373. "description": "交易日(yyyyMMdd)",
  17374. "type": "string"
  17375. },
  17376. "tradeid": {
  17377. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17378. "type": "string"
  17379. },
  17380. "tradetime": {
  17381. "description": "交易时间",
  17382. "type": "string"
  17383. }
  17384. }
  17385. },
  17386. "models.Hedgemarketopenlog": {
  17387. "type": "object",
  17388. "required": [
  17389. "accountid"
  17390. ],
  17391. "properties": {
  17392. "accountid": {
  17393. "description": "资金账号[外部母账户]",
  17394. "type": "integer"
  17395. },
  17396. "fcname": {
  17397. "description": "期货公司名称",
  17398. "type": "string"
  17399. },
  17400. "handlestatus": {
  17401. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17402. "type": "integer"
  17403. },
  17404. "marketid": {
  17405. "description": "市场ID",
  17406. "type": "integer"
  17407. },
  17408. "status": {
  17409. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17410. "type": "integer"
  17411. },
  17412. "tradedate": {
  17413. "description": "交易日(yyyyMMdd)",
  17414. "type": "string"
  17415. },
  17416. "updatetime": {
  17417. "description": "更新时间",
  17418. "type": "string"
  17419. }
  17420. }
  17421. },
  17422. "models.HsbyBuyMyPayOrder": {
  17423. "type": "object",
  17424. "required": [
  17425. "goodscode",
  17426. "goodsname",
  17427. "tradeid",
  17428. "trademode"
  17429. ],
  17430. "properties": {
  17431. "agreeunit": {
  17432. "description": "合约单位",
  17433. "type": "number"
  17434. },
  17435. "buyaccountid": {
  17436. "description": "买方账号ID[报价币种]",
  17437. "type": "integer"
  17438. },
  17439. "buyorderid": {
  17440. "description": "买方委托单号",
  17441. "type": "string"
  17442. },
  17443. "createtime": {
  17444. "description": "创建时间",
  17445. "type": "string"
  17446. },
  17447. "currencysign": {
  17448. "description": "货币符号",
  17449. "type": "string"
  17450. },
  17451. "decimalplace": {
  17452. "description": "报价小数位",
  17453. "type": "integer"
  17454. },
  17455. "goodscode": {
  17456. "description": "商品代码(内部)",
  17457. "type": "string"
  17458. },
  17459. "goodsid": {
  17460. "description": "商品ID",
  17461. "type": "integer"
  17462. },
  17463. "goodsname": {
  17464. "description": "商品名称",
  17465. "type": "string"
  17466. },
  17467. "marketid": {
  17468. "description": "市场ID",
  17469. "type": "integer"
  17470. },
  17471. "offamount": {
  17472. "description": "优惠金额",
  17473. "type": "number"
  17474. },
  17475. "originalamount": {
  17476. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17477. "type": "number"
  17478. },
  17479. "payamount": {
  17480. "description": "支付金额 = TradeAmount + TradeCharge",
  17481. "type": "number"
  17482. },
  17483. "payflag": {
  17484. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17485. "type": "integer"
  17486. },
  17487. "paylimitedtime": {
  17488. "description": "支付期限",
  17489. "type": "string"
  17490. },
  17491. "paytime": {
  17492. "description": "付款时间",
  17493. "type": "string"
  17494. },
  17495. "picurls1": {
  17496. "description": "预售商品介绍图片[多张用逗号分隔]",
  17497. "type": "string"
  17498. },
  17499. "picurls2": {
  17500. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17501. "type": "string"
  17502. },
  17503. "sellaccountid": {
  17504. "description": "卖方账号ID[报价币种]",
  17505. "type": "integer"
  17506. },
  17507. "sellorderid": {
  17508. "description": "卖方委托单号",
  17509. "type": "string"
  17510. },
  17511. "tradeamount": {
  17512. "description": "成交金额",
  17513. "type": "number"
  17514. },
  17515. "tradecharge": {
  17516. "description": "成交手续费(买方)",
  17517. "type": "number"
  17518. },
  17519. "tradedate": {
  17520. "description": "交易日(yyyyMMdd)",
  17521. "type": "string"
  17522. },
  17523. "tradeid": {
  17524. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17525. "type": "string"
  17526. },
  17527. "trademode": {
  17528. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17529. "type": "integer"
  17530. },
  17531. "tradeprice": {
  17532. "description": "成交价格",
  17533. "type": "number"
  17534. },
  17535. "tradeqty": {
  17536. "description": "成交数量",
  17537. "type": "integer"
  17538. },
  17539. "vendorname1": {
  17540. "description": "预售商品供应商名称",
  17541. "type": "string"
  17542. },
  17543. "vendorname2": {
  17544. "description": "挂牌商品供应商名称",
  17545. "type": "string"
  17546. }
  17547. }
  17548. },
  17549. "models.HsbyBuyMyTradeDetail": {
  17550. "type": "object",
  17551. "required": [
  17552. "accountid",
  17553. "buyorsell",
  17554. "goodscode",
  17555. "goodsid",
  17556. "goodsname",
  17557. "marketid",
  17558. "orderid",
  17559. "qty",
  17560. "time",
  17561. "trademode"
  17562. ],
  17563. "properties": {
  17564. "accountid": {
  17565. "description": "账户ID[报价币种]",
  17566. "type": "integer"
  17567. },
  17568. "agreeunit": {
  17569. "description": "合约单位",
  17570. "type": "number"
  17571. },
  17572. "amount": {
  17573. "description": "金额 = 价格 * 数量 * 合约单位",
  17574. "type": "number"
  17575. },
  17576. "buyorsell": {
  17577. "description": "买卖 - 0:买 1:卖",
  17578. "type": "integer"
  17579. },
  17580. "currencysign": {
  17581. "description": "货币符号",
  17582. "type": "string"
  17583. },
  17584. "decimalplace": {
  17585. "description": "报价小数位",
  17586. "type": "integer"
  17587. },
  17588. "goodscode": {
  17589. "description": "商品代码(内部)",
  17590. "type": "string"
  17591. },
  17592. "goodsid": {
  17593. "description": "商品ID",
  17594. "type": "integer"
  17595. },
  17596. "goodsname": {
  17597. "description": "商品名称",
  17598. "type": "string"
  17599. },
  17600. "marketid": {
  17601. "description": "市场ID",
  17602. "type": "integer"
  17603. },
  17604. "orderamount": {
  17605. "description": "委托金额",
  17606. "type": "number"
  17607. },
  17608. "orderid": {
  17609. "description": "单号(成交单号)",
  17610. "type": "string"
  17611. },
  17612. "picurls1": {
  17613. "description": "预售商品介绍图片[多张用逗号分隔]",
  17614. "type": "string"
  17615. },
  17616. "picurls2": {
  17617. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17618. "type": "string"
  17619. },
  17620. "price": {
  17621. "description": "价格",
  17622. "type": "number"
  17623. },
  17624. "qty": {
  17625. "description": "数量",
  17626. "type": "integer"
  17627. },
  17628. "time": {
  17629. "description": "时间",
  17630. "type": "string"
  17631. },
  17632. "trademode": {
  17633. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17634. "type": "integer"
  17635. },
  17636. "vendorname1": {
  17637. "description": "预售商品供应商名称",
  17638. "type": "string"
  17639. },
  17640. "vendorname2": {
  17641. "description": "挂牌商品供应商名称",
  17642. "type": "string"
  17643. }
  17644. }
  17645. },
  17646. "models.HsbyGoodsOrderDetail": {
  17647. "type": "object",
  17648. "required": [
  17649. "buyorsell",
  17650. "orderid",
  17651. "ordertime"
  17652. ],
  17653. "properties": {
  17654. "buyorsell": {
  17655. "description": "买卖 - 0:买 1:卖",
  17656. "type": "integer"
  17657. },
  17658. "currencysign": {
  17659. "description": "货币符号",
  17660. "type": "string"
  17661. },
  17662. "customername": {
  17663. "description": "客户名称(企业名称),已脱敏",
  17664. "type": "string"
  17665. },
  17666. "enableqty": {
  17667. "description": "可用数量",
  17668. "type": "integer"
  17669. },
  17670. "goodunit": {
  17671. "description": "报价单位",
  17672. "type": "string"
  17673. },
  17674. "orderid": {
  17675. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17676. "type": "string"
  17677. },
  17678. "orderprice": {
  17679. "description": "委托价格",
  17680. "type": "number"
  17681. },
  17682. "ordertime": {
  17683. "description": "委托时间",
  17684. "type": "string"
  17685. }
  17686. }
  17687. },
  17688. "models.HsbyListingGoodsDetail": {
  17689. "type": "object",
  17690. "required": [
  17691. "goodscode",
  17692. "goodsid",
  17693. "goodsname",
  17694. "marketid",
  17695. "trademode"
  17696. ],
  17697. "properties": {
  17698. "agreeunit": {
  17699. "description": "合约单位",
  17700. "type": "number"
  17701. },
  17702. "buymaxqty": {
  17703. "description": "购买上限 [71] - 0为不限",
  17704. "type": "integer"
  17705. },
  17706. "currency": {
  17707. "description": "货币",
  17708. "type": "string"
  17709. },
  17710. "currencysign": {
  17711. "description": "货币符号",
  17712. "type": "string"
  17713. },
  17714. "decimalplace": {
  17715. "description": "报价小数位",
  17716. "type": "integer"
  17717. },
  17718. "desccityid": {
  17719. "description": "目的地(市)ID",
  17720. "type": "integer"
  17721. },
  17722. "descprovinceid": {
  17723. "description": "目的地(省)ID",
  17724. "type": "integer"
  17725. },
  17726. "goodscode": {
  17727. "description": "商品代码(内部)",
  17728. "type": "string"
  17729. },
  17730. "goodsdesc": {
  17731. "description": "商品详情",
  17732. "type": "string"
  17733. },
  17734. "goodsid": {
  17735. "description": "商品ID(自增ID SEQ_GOODS)",
  17736. "type": "integer"
  17737. },
  17738. "goodsname": {
  17739. "description": "商品名称",
  17740. "type": "string"
  17741. },
  17742. "goodsprice": {
  17743. "description": "商品价格",
  17744. "type": "number"
  17745. },
  17746. "hotindex": {
  17747. "description": "景点热度",
  17748. "type": "integer"
  17749. },
  17750. "last": {
  17751. "description": "现价",
  17752. "type": "number"
  17753. },
  17754. "limitdown": {
  17755. "description": "跌停价",
  17756. "type": "number"
  17757. },
  17758. "limitup": {
  17759. "description": "涨停价",
  17760. "type": "number"
  17761. },
  17762. "lotsize": {
  17763. "description": "手数最小变动单位",
  17764. "type": "integer"
  17765. },
  17766. "marketid": {
  17767. "description": "所属市场ID",
  17768. "type": "integer"
  17769. },
  17770. "picurls": {
  17771. "description": "介绍图片[多张用逗号分隔]",
  17772. "type": "string"
  17773. },
  17774. "quoteminunit": {
  17775. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17776. "type": "integer"
  17777. },
  17778. "stepvalue": {
  17779. "description": "价格最小变动单位",
  17780. "type": "number"
  17781. },
  17782. "trademode": {
  17783. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17784. "type": "integer"
  17785. },
  17786. "vendorattr": {
  17787. "description": "供应商附件(多张,逗号分隔)",
  17788. "type": "string"
  17789. },
  17790. "vendorname": {
  17791. "description": "供应商名称",
  17792. "type": "string"
  17793. },
  17794. "vendorphone": {
  17795. "description": "供应商客服电话",
  17796. "type": "string"
  17797. },
  17798. "videourls": {
  17799. "description": "介绍视频[多张用逗号分隔]",
  17800. "type": "string"
  17801. }
  17802. }
  17803. },
  17804. "models.HsbyMarketGoods": {
  17805. "type": "object",
  17806. "required": [
  17807. "accountid",
  17808. "buyorsell",
  17809. "goodscode",
  17810. "goodsid",
  17811. "goodsname",
  17812. "marketid",
  17813. "orderid",
  17814. "trademode"
  17815. ],
  17816. "properties": {
  17817. "accountid": {
  17818. "description": "账户ID[报价币种]",
  17819. "type": "integer"
  17820. },
  17821. "agreeunit": {
  17822. "description": "合约单位",
  17823. "type": "number"
  17824. },
  17825. "buyorsell": {
  17826. "description": "买卖 - 0:买 1:卖",
  17827. "type": "integer"
  17828. },
  17829. "categoryid": {
  17830. "description": "类别ID(WRCATEGORY)",
  17831. "type": "integer"
  17832. },
  17833. "currency": {
  17834. "description": "货币",
  17835. "type": "string"
  17836. },
  17837. "currencysign": {
  17838. "description": "货币符号",
  17839. "type": "string"
  17840. },
  17841. "customername": {
  17842. "description": "卖家名称",
  17843. "type": "string"
  17844. },
  17845. "decimalplace": {
  17846. "description": "报价小数位",
  17847. "type": "integer"
  17848. },
  17849. "goodscode": {
  17850. "description": "商品代码(内部)",
  17851. "type": "string"
  17852. },
  17853. "goodsid": {
  17854. "description": "商品ID",
  17855. "type": "integer"
  17856. },
  17857. "goodsname": {
  17858. "description": "商品名称",
  17859. "type": "string"
  17860. },
  17861. "goodsprice": {
  17862. "description": "商品价格",
  17863. "type": "number"
  17864. },
  17865. "hascoupon": {
  17866. "description": "是否可用优惠卷",
  17867. "type": "boolean"
  17868. },
  17869. "hotindex": {
  17870. "description": "景点热度",
  17871. "type": "integer"
  17872. },
  17873. "marketid": {
  17874. "description": "市场ID",
  17875. "type": "integer"
  17876. },
  17877. "orderid": {
  17878. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17879. "type": "string"
  17880. },
  17881. "orderprice": {
  17882. "description": "委托价格",
  17883. "type": "number"
  17884. },
  17885. "orderstatus": {
  17886. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17887. "type": "integer"
  17888. },
  17889. "picurls": {
  17890. "description": "介绍图片[多张用逗号分隔]",
  17891. "type": "string"
  17892. },
  17893. "quoteminunit": {
  17894. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17895. "type": "integer"
  17896. },
  17897. "sellUserID": {
  17898. "description": "卖方UserID",
  17899. "type": "integer"
  17900. },
  17901. "trademode": {
  17902. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17903. "type": "integer"
  17904. },
  17905. "videourls": {
  17906. "description": "介绍视频[多张用逗号分隔]",
  17907. "type": "string"
  17908. }
  17909. }
  17910. },
  17911. "models.HsbyMarketGoodsDetail": {
  17912. "type": "object",
  17913. "required": [
  17914. "accountid",
  17915. "buyorsell",
  17916. "goodscode",
  17917. "goodsid",
  17918. "goodsname",
  17919. "marketid",
  17920. "orderid",
  17921. "orderqty",
  17922. "trademode"
  17923. ],
  17924. "properties": {
  17925. "accountid": {
  17926. "description": "账户ID[报价币种]",
  17927. "type": "integer"
  17928. },
  17929. "agreeunit": {
  17930. "description": "合约单位",
  17931. "type": "number"
  17932. },
  17933. "buymaxqty": {
  17934. "description": "购买上限 [71] - 0为不限",
  17935. "type": "integer"
  17936. },
  17937. "buyorsell": {
  17938. "description": "买卖 - 0:买 1:卖",
  17939. "type": "integer"
  17940. },
  17941. "cancelqty": {
  17942. "description": "撤单数量",
  17943. "type": "integer"
  17944. },
  17945. "categoryid": {
  17946. "description": "类别ID(WRCATEGORY)",
  17947. "type": "integer"
  17948. },
  17949. "currency": {
  17950. "description": "货币",
  17951. "type": "string"
  17952. },
  17953. "currencysign": {
  17954. "description": "货币符号",
  17955. "type": "string"
  17956. },
  17957. "customername": {
  17958. "description": "卖家名称",
  17959. "type": "string"
  17960. },
  17961. "decimalplace": {
  17962. "description": "报价小数位",
  17963. "type": "integer"
  17964. },
  17965. "goodscode": {
  17966. "description": "商品代码(内部)",
  17967. "type": "string"
  17968. },
  17969. "goodsdesc": {
  17970. "description": "商品详情",
  17971. "type": "string"
  17972. },
  17973. "goodsid": {
  17974. "description": "商品ID",
  17975. "type": "integer"
  17976. },
  17977. "goodsname": {
  17978. "description": "商品名称",
  17979. "type": "string"
  17980. },
  17981. "goodsprice": {
  17982. "description": "商品价格",
  17983. "type": "number"
  17984. },
  17985. "hotindex": {
  17986. "description": "景点热度",
  17987. "type": "integer"
  17988. },
  17989. "lotsize": {
  17990. "description": "手数最小变动单位",
  17991. "type": "integer"
  17992. },
  17993. "marketid": {
  17994. "description": "市场ID",
  17995. "type": "integer"
  17996. },
  17997. "orderid": {
  17998. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17999. "type": "string"
  18000. },
  18001. "orderprice": {
  18002. "description": "委托价格",
  18003. "type": "number"
  18004. },
  18005. "orderqty": {
  18006. "description": "委托数量",
  18007. "type": "integer"
  18008. },
  18009. "orderstatus": {
  18010. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18011. "type": "integer"
  18012. },
  18013. "picurls": {
  18014. "description": "介绍图片[多张用逗号分隔]",
  18015. "type": "string"
  18016. },
  18017. "quoteminunit": {
  18018. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18019. "type": "integer"
  18020. },
  18021. "sellUserID": {
  18022. "description": "卖方UserID",
  18023. "type": "integer"
  18024. },
  18025. "trademode": {
  18026. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18027. "type": "integer"
  18028. },
  18029. "tradeqty": {
  18030. "description": "成交数量",
  18031. "type": "integer"
  18032. },
  18033. "vendorattr": {
  18034. "description": "供应商附件(多张,逗号分隔)",
  18035. "type": "string"
  18036. },
  18037. "vendorname": {
  18038. "description": "供应商名称",
  18039. "type": "string"
  18040. },
  18041. "vendorphone": {
  18042. "description": "供应商客服电话",
  18043. "type": "string"
  18044. },
  18045. "videourls": {
  18046. "description": "介绍视频[多张用逗号分隔]",
  18047. "type": "string"
  18048. }
  18049. }
  18050. },
  18051. "models.HsbyMarketInfo": {
  18052. "type": "object",
  18053. "required": [
  18054. "marketid",
  18055. "marketstatus",
  18056. "trademode"
  18057. ],
  18058. "properties": {
  18059. "marketid": {
  18060. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18061. "type": "integer"
  18062. },
  18063. "marketname": {
  18064. "description": "市场名称",
  18065. "type": "string"
  18066. },
  18067. "marketstatus": {
  18068. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18069. "type": "integer"
  18070. },
  18071. "trademode": {
  18072. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18073. "type": "integer"
  18074. }
  18075. }
  18076. },
  18077. "models.HsbyMyGoods": {
  18078. "type": "object",
  18079. "required": [
  18080. "accountid",
  18081. "goodscode",
  18082. "goodsid",
  18083. "goodsname",
  18084. "marketid",
  18085. "trademode"
  18086. ],
  18087. "properties": {
  18088. "accountid": {
  18089. "description": "账号Id",
  18090. "type": "integer"
  18091. },
  18092. "agreeunit": {
  18093. "description": "合约单位",
  18094. "type": "number"
  18095. },
  18096. "buyaverageprice": {
  18097. "description": "持仓均价",
  18098. "type": "number"
  18099. },
  18100. "buycurholderamount": {
  18101. "description": "买当前持仓总金额[商品币种]",
  18102. "type": "number"
  18103. },
  18104. "buycurpositionqty": {
  18105. "description": "买当前持仓总数量",
  18106. "type": "integer"
  18107. },
  18108. "buymaxqty": {
  18109. "description": "购买上限 [71] - 0为不限",
  18110. "type": "integer"
  18111. },
  18112. "currencysign": {
  18113. "description": "货币符号",
  18114. "type": "string"
  18115. },
  18116. "decimalplace": {
  18117. "description": "报价小数位",
  18118. "type": "integer"
  18119. },
  18120. "enableqty": {
  18121. "description": "可用数量",
  18122. "type": "integer"
  18123. },
  18124. "goodscode": {
  18125. "description": "商品代码(内部)",
  18126. "type": "string"
  18127. },
  18128. "goodsid": {
  18129. "description": "商品Id",
  18130. "type": "integer"
  18131. },
  18132. "goodsname": {
  18133. "description": "商品名称",
  18134. "type": "string"
  18135. },
  18136. "goodsprice": {
  18137. "description": "商品价格",
  18138. "type": "number"
  18139. },
  18140. "goodsstatus": {
  18141. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18142. "type": "integer"
  18143. },
  18144. "last": {
  18145. "description": "现价(仅使用于挂牌点选)",
  18146. "type": "number"
  18147. },
  18148. "limitdown": {
  18149. "description": "跌停价(仅使用于挂牌点选)",
  18150. "type": "number"
  18151. },
  18152. "limitup": {
  18153. "description": "涨停价(仅使用于挂牌点选)",
  18154. "type": "number"
  18155. },
  18156. "lotsize": {
  18157. "description": "手数最小变动单位",
  18158. "type": "integer"
  18159. },
  18160. "marketid": {
  18161. "description": "所属市场ID",
  18162. "type": "integer"
  18163. },
  18164. "picurls": {
  18165. "description": "介绍图片[多张用逗号分隔]",
  18166. "type": "string"
  18167. },
  18168. "quoteminunit": {
  18169. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18170. "type": "integer"
  18171. },
  18172. "stepvalue": {
  18173. "description": "价格最小变动单位",
  18174. "type": "number"
  18175. },
  18176. "trademode": {
  18177. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18178. "type": "integer"
  18179. }
  18180. }
  18181. },
  18182. "models.HsbyMyPackage": {
  18183. "type": "object",
  18184. "required": [
  18185. "goodscode",
  18186. "goodsname",
  18187. "takeorderid",
  18188. "trademode"
  18189. ],
  18190. "properties": {
  18191. "accountid": {
  18192. "description": "账户ID",
  18193. "type": "integer"
  18194. },
  18195. "address": {
  18196. "description": "提货人详细地址",
  18197. "type": "string"
  18198. },
  18199. "agreeunit": {
  18200. "description": "合约单位",
  18201. "type": "number"
  18202. },
  18203. "amount": {
  18204. "description": "提货金额",
  18205. "type": "number"
  18206. },
  18207. "auditer": {
  18208. "description": "审核人",
  18209. "type": "integer"
  18210. },
  18211. "audittime": {
  18212. "description": "审核时间",
  18213. "type": "string"
  18214. },
  18215. "averageprice": {
  18216. "description": "均价",
  18217. "type": "number"
  18218. },
  18219. "cardnum": {
  18220. "description": "提货人证件号码",
  18221. "type": "string"
  18222. },
  18223. "cardtypeid": {
  18224. "description": "提货人证件类型",
  18225. "type": "integer"
  18226. },
  18227. "checkremark": {
  18228. "description": "审核备注",
  18229. "type": "string"
  18230. },
  18231. "currencysign": {
  18232. "description": "货币符号",
  18233. "type": "string"
  18234. },
  18235. "decimalplace": {
  18236. "description": "报价小数位",
  18237. "type": "integer"
  18238. },
  18239. "goodscode": {
  18240. "description": "商品代码(内部)",
  18241. "type": "string"
  18242. },
  18243. "goodsid": {
  18244. "description": "商品ID",
  18245. "type": "integer"
  18246. },
  18247. "goodsname": {
  18248. "description": "商品名称",
  18249. "type": "string"
  18250. },
  18251. "handlestatus": {
  18252. "description": "处理状态",
  18253. "type": "integer"
  18254. },
  18255. "marketid": {
  18256. "description": "市场ID",
  18257. "type": "integer"
  18258. },
  18259. "phonenum": {
  18260. "description": "提货人联系方式",
  18261. "type": "string"
  18262. },
  18263. "picurls": {
  18264. "description": "介绍图片[多张用逗号分隔]",
  18265. "type": "string"
  18266. },
  18267. "qty": {
  18268. "description": "提货数量",
  18269. "type": "number"
  18270. },
  18271. "recivername": {
  18272. "description": "提货人姓名",
  18273. "type": "string"
  18274. },
  18275. "reqtime": {
  18276. "description": "更新时间",
  18277. "type": "string"
  18278. },
  18279. "takemode": {
  18280. "description": "提货方式 - 2:自提 3:配送",
  18281. "type": "integer"
  18282. },
  18283. "takeorderid": {
  18284. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18285. "type": "string"
  18286. },
  18287. "takeorderstatus": {
  18288. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18289. "type": "integer"
  18290. },
  18291. "takeremark": {
  18292. "description": "提货备注",
  18293. "type": "string"
  18294. },
  18295. "tradedate": {
  18296. "description": "交易日(yyyyMMdd)",
  18297. "type": "string"
  18298. },
  18299. "trademode": {
  18300. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18301. "type": "integer"
  18302. },
  18303. "userid": {
  18304. "description": "用户ID",
  18305. "type": "integer"
  18306. },
  18307. "vendorname": {
  18308. "description": "供应商名称",
  18309. "type": "string"
  18310. }
  18311. }
  18312. },
  18313. "models.HsbyPreGoods": {
  18314. "type": "object",
  18315. "required": [
  18316. "goodscode",
  18317. "goodsid",
  18318. "goodsname",
  18319. "marketid",
  18320. "trademode"
  18321. ],
  18322. "properties": {
  18323. "agreeunit": {
  18324. "description": "合约单位",
  18325. "type": "number"
  18326. },
  18327. "currency": {
  18328. "description": "货币",
  18329. "type": "string"
  18330. },
  18331. "currencysign": {
  18332. "description": "货币符号",
  18333. "type": "string"
  18334. },
  18335. "decimalplace": {
  18336. "description": "报价小数位",
  18337. "type": "integer"
  18338. },
  18339. "desccityid": {
  18340. "description": "目的地(市)",
  18341. "type": "integer"
  18342. },
  18343. "descprovinceid": {
  18344. "description": "目的地(省)",
  18345. "type": "integer"
  18346. },
  18347. "enableqty": {
  18348. "description": "剩余数量",
  18349. "type": "integer"
  18350. },
  18351. "goodscode": {
  18352. "description": "商品代码(内部)",
  18353. "type": "string"
  18354. },
  18355. "goodsid": {
  18356. "description": "商品ID(自增ID SEQ_GOODS)",
  18357. "type": "integer"
  18358. },
  18359. "goodsname": {
  18360. "description": "商品名称",
  18361. "type": "string"
  18362. },
  18363. "goodsstatus": {
  18364. "description": "商品状态- 2:未上市 3:上市",
  18365. "type": "integer"
  18366. },
  18367. "lasttradedate": {
  18368. "description": "最后交易日期(状态:待退市)",
  18369. "type": "string"
  18370. },
  18371. "listingdate": {
  18372. "description": "交易开始日期",
  18373. "type": "string"
  18374. },
  18375. "marketid": {
  18376. "description": "所属市场ID",
  18377. "type": "integer"
  18378. },
  18379. "picurls": {
  18380. "description": "介绍图片[多张用逗号分隔]",
  18381. "type": "string"
  18382. },
  18383. "presaledqty": {
  18384. "description": "已预售量(预售结束时更新)",
  18385. "type": "integer"
  18386. },
  18387. "presaleqty": {
  18388. "description": "预售数量",
  18389. "type": "integer"
  18390. },
  18391. "quoteminunit": {
  18392. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18393. "type": "integer"
  18394. },
  18395. "refprice": {
  18396. "description": "参考价格[一口价]",
  18397. "type": "number"
  18398. },
  18399. "relatedgoodsid": {
  18400. "description": "关联交易合约ID",
  18401. "type": "integer"
  18402. },
  18403. "trademode": {
  18404. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18405. "type": "integer"
  18406. },
  18407. "videourls": {
  18408. "description": "介绍视频[多张用逗号分隔]",
  18409. "type": "string"
  18410. }
  18411. }
  18412. },
  18413. "models.HsbyPreGoodsDetail": {
  18414. "type": "object",
  18415. "required": [
  18416. "goodscode",
  18417. "goodsid",
  18418. "goodsname",
  18419. "marketid",
  18420. "trademode"
  18421. ],
  18422. "properties": {
  18423. "agreeunit": {
  18424. "description": "合约单位",
  18425. "type": "number"
  18426. },
  18427. "buymaxqty": {
  18428. "description": "购买上限 [71] - 0为不限",
  18429. "type": "integer"
  18430. },
  18431. "currency": {
  18432. "description": "货币",
  18433. "type": "string"
  18434. },
  18435. "currencysign": {
  18436. "description": "货币符号",
  18437. "type": "string"
  18438. },
  18439. "customername": {
  18440. "description": "发行单位",
  18441. "type": "string"
  18442. },
  18443. "decimalplace": {
  18444. "description": "报价小数位",
  18445. "type": "integer"
  18446. },
  18447. "desccityid": {
  18448. "description": "目的地(市)ID",
  18449. "type": "integer"
  18450. },
  18451. "descprovinceid": {
  18452. "description": "目的地(省)ID",
  18453. "type": "integer"
  18454. },
  18455. "enableqty": {
  18456. "description": "剩余数量",
  18457. "type": "integer"
  18458. },
  18459. "goodscode": {
  18460. "description": "商品代码(内部)",
  18461. "type": "string"
  18462. },
  18463. "goodsdesc": {
  18464. "description": "商品详情",
  18465. "type": "string"
  18466. },
  18467. "goodsid": {
  18468. "description": "商品ID(自增ID SEQ_GOODS)",
  18469. "type": "integer"
  18470. },
  18471. "goodsname": {
  18472. "description": "商品名称",
  18473. "type": "string"
  18474. },
  18475. "goodsstatus": {
  18476. "description": "商品状态- 2:未上市 3:上市",
  18477. "type": "integer"
  18478. },
  18479. "goodunit": {
  18480. "description": "报价单位",
  18481. "type": "string"
  18482. },
  18483. "lasttradedate": {
  18484. "description": "最后交易日期(状态:待退市)",
  18485. "type": "string"
  18486. },
  18487. "listingdate": {
  18488. "description": "交易开始日期",
  18489. "type": "string"
  18490. },
  18491. "lotsize": {
  18492. "description": "手数最小变动单位",
  18493. "type": "integer"
  18494. },
  18495. "marketid": {
  18496. "description": "所属市场ID",
  18497. "type": "integer"
  18498. },
  18499. "picurls": {
  18500. "description": "介绍图片[多张用逗号分隔]",
  18501. "type": "string"
  18502. },
  18503. "presaledqty": {
  18504. "description": "已预售量(预售结束时更新)",
  18505. "type": "integer"
  18506. },
  18507. "presaleqty": {
  18508. "description": "预售数量",
  18509. "type": "integer"
  18510. },
  18511. "quoteminunit": {
  18512. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18513. "type": "integer"
  18514. },
  18515. "refprice": {
  18516. "description": "参考价格[一口价]",
  18517. "type": "number"
  18518. },
  18519. "relatedgoodsid": {
  18520. "description": "关联交易合约ID",
  18521. "type": "integer"
  18522. },
  18523. "stepvalue": {
  18524. "description": "价格最小变动单位",
  18525. "type": "number"
  18526. },
  18527. "trademode": {
  18528. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18529. "type": "integer"
  18530. },
  18531. "vendorattr": {
  18532. "description": "供应商附件(多张,逗号分隔)",
  18533. "type": "string"
  18534. },
  18535. "vendorname": {
  18536. "description": "供应商名称",
  18537. "type": "string"
  18538. },
  18539. "vendorphone": {
  18540. "description": "供应商客服电话",
  18541. "type": "string"
  18542. },
  18543. "videourls": {
  18544. "description": "介绍视频[多张用逗号分隔]",
  18545. "type": "string"
  18546. }
  18547. }
  18548. },
  18549. "models.HsbySellCollectionOrder": {
  18550. "type": "object",
  18551. "required": [
  18552. "goodscode",
  18553. "goodsname",
  18554. "tradeid",
  18555. "trademode"
  18556. ],
  18557. "properties": {
  18558. "agreeunit": {
  18559. "description": "合约单位",
  18560. "type": "number"
  18561. },
  18562. "buyaccountid": {
  18563. "description": "买方账号ID[报价币种]",
  18564. "type": "integer"
  18565. },
  18566. "buyorderid": {
  18567. "description": "买方委托单号",
  18568. "type": "string"
  18569. },
  18570. "createtime": {
  18571. "description": "创建时间",
  18572. "type": "string"
  18573. },
  18574. "currencysign": {
  18575. "description": "货币符号",
  18576. "type": "string"
  18577. },
  18578. "decimalplace": {
  18579. "description": "报价小数位",
  18580. "type": "integer"
  18581. },
  18582. "goodscode": {
  18583. "description": "商品代码(内部)",
  18584. "type": "string"
  18585. },
  18586. "goodsid": {
  18587. "description": "商品ID",
  18588. "type": "integer"
  18589. },
  18590. "goodsname": {
  18591. "description": "商品名称",
  18592. "type": "string"
  18593. },
  18594. "marketid": {
  18595. "description": "市场ID",
  18596. "type": "integer"
  18597. },
  18598. "offamount": {
  18599. "description": "优惠金额",
  18600. "type": "number"
  18601. },
  18602. "payamount": {
  18603. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  18604. "type": "number"
  18605. },
  18606. "payflag": {
  18607. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18608. "type": "integer"
  18609. },
  18610. "paylimitedtime": {
  18611. "description": "支付期限",
  18612. "type": "string"
  18613. },
  18614. "paytime": {
  18615. "description": "付款时间",
  18616. "type": "string"
  18617. },
  18618. "picurls": {
  18619. "description": "商品介绍图片[多张用逗号分隔]",
  18620. "type": "string"
  18621. },
  18622. "sellaccountid": {
  18623. "description": "卖方账号ID[报价币种]",
  18624. "type": "integer"
  18625. },
  18626. "sellorderid": {
  18627. "description": "卖方委托单号",
  18628. "type": "string"
  18629. },
  18630. "tradeamount": {
  18631. "description": "成交金额",
  18632. "type": "number"
  18633. },
  18634. "tradecharge": {
  18635. "description": "成交手续费(买方)",
  18636. "type": "number"
  18637. },
  18638. "tradedate": {
  18639. "description": "交易日(yyyyMMdd)",
  18640. "type": "string"
  18641. },
  18642. "tradeid": {
  18643. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18644. "type": "string"
  18645. },
  18646. "trademode": {
  18647. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18648. "type": "integer"
  18649. },
  18650. "tradeprice": {
  18651. "description": "成交价格",
  18652. "type": "number"
  18653. },
  18654. "tradeqty": {
  18655. "description": "成交数量",
  18656. "type": "integer"
  18657. }
  18658. }
  18659. },
  18660. "models.HsbySellMyDetail": {
  18661. "type": "object",
  18662. "required": [
  18663. "accountid",
  18664. "buyorsell",
  18665. "goodscode",
  18666. "goodsid",
  18667. "goodsname",
  18668. "marketid",
  18669. "orderid",
  18670. "time",
  18671. "trademode"
  18672. ],
  18673. "properties": {
  18674. "accountid": {
  18675. "description": "账户ID[报价币种]",
  18676. "type": "integer"
  18677. },
  18678. "agreeunit": {
  18679. "description": "合约单位",
  18680. "type": "number"
  18681. },
  18682. "buyorsell": {
  18683. "description": "买卖 - 0:买 1:卖",
  18684. "type": "integer"
  18685. },
  18686. "currencysign": {
  18687. "description": "货币符号",
  18688. "type": "string"
  18689. },
  18690. "decimalplace": {
  18691. "description": "报价小数位",
  18692. "type": "integer"
  18693. },
  18694. "goodscode": {
  18695. "description": "商品代码(内部)",
  18696. "type": "string"
  18697. },
  18698. "goodsid": {
  18699. "description": "商品ID",
  18700. "type": "integer"
  18701. },
  18702. "goodsname": {
  18703. "description": "商品名称",
  18704. "type": "string"
  18705. },
  18706. "marketid": {
  18707. "description": "市场ID",
  18708. "type": "integer"
  18709. },
  18710. "orderid": {
  18711. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  18712. "type": "string"
  18713. },
  18714. "ordertype": {
  18715. "description": "单据类型:0 - 发布中, 1 - 已完成",
  18716. "type": "integer"
  18717. },
  18718. "picurls": {
  18719. "description": "介绍图片[多张用逗号分隔]",
  18720. "type": "string"
  18721. },
  18722. "price": {
  18723. "description": "价格",
  18724. "type": "number"
  18725. },
  18726. "qty": {
  18727. "description": "数量",
  18728. "type": "integer"
  18729. },
  18730. "time": {
  18731. "description": "时间",
  18732. "type": "string"
  18733. },
  18734. "trademode": {
  18735. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18736. "type": "integer"
  18737. },
  18738. "vendorname": {
  18739. "description": "供应商名称",
  18740. "type": "string"
  18741. }
  18742. }
  18743. },
  18744. "models.HsbyTopGoods": {
  18745. "type": "object",
  18746. "required": [
  18747. "goodscode",
  18748. "goodsid",
  18749. "goodsname",
  18750. "marketid",
  18751. "trademode"
  18752. ],
  18753. "properties": {
  18754. "agreeunit": {
  18755. "description": "合约单位",
  18756. "type": "number"
  18757. },
  18758. "currency": {
  18759. "description": "货币",
  18760. "type": "string"
  18761. },
  18762. "currencysign": {
  18763. "description": "货币符号",
  18764. "type": "string"
  18765. },
  18766. "decimalplace": {
  18767. "description": "报价小数位",
  18768. "type": "integer"
  18769. },
  18770. "desccityid": {
  18771. "description": "目的地(市)",
  18772. "type": "integer"
  18773. },
  18774. "descprovinceid": {
  18775. "description": "目的地(省)",
  18776. "type": "integer"
  18777. },
  18778. "goodscode": {
  18779. "description": "商品代码(内部)",
  18780. "type": "string"
  18781. },
  18782. "goodsid": {
  18783. "description": "商品ID(自增ID SEQ_GOODS)",
  18784. "type": "integer"
  18785. },
  18786. "goodsname": {
  18787. "description": "商品名称",
  18788. "type": "string"
  18789. },
  18790. "hotindex": {
  18791. "description": "景点热度",
  18792. "type": "integer"
  18793. },
  18794. "last": {
  18795. "description": "现价",
  18796. "type": "number"
  18797. },
  18798. "marketid": {
  18799. "description": "所属市场ID",
  18800. "type": "integer"
  18801. },
  18802. "picurls": {
  18803. "description": "介绍图片[多张用逗号分隔]",
  18804. "type": "string"
  18805. },
  18806. "quoteminunit": {
  18807. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18808. "type": "integer"
  18809. },
  18810. "trademode": {
  18811. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18812. "type": "integer"
  18813. },
  18814. "videourls": {
  18815. "description": "介绍视频[多张用逗号分隔]",
  18816. "type": "string"
  18817. }
  18818. }
  18819. },
  18820. "models.HybsMyBuyOrderDetail": {
  18821. "type": "object",
  18822. "required": [
  18823. "accountid",
  18824. "buyorsell",
  18825. "goodscode",
  18826. "goodsid",
  18827. "goodsname",
  18828. "marketid",
  18829. "orderid",
  18830. "orderqty",
  18831. "ordertime",
  18832. "trademode"
  18833. ],
  18834. "properties": {
  18835. "accountid": {
  18836. "description": "账户ID[报价币种]",
  18837. "type": "integer"
  18838. },
  18839. "agreeunit": {
  18840. "description": "合约单位",
  18841. "type": "number"
  18842. },
  18843. "buyorsell": {
  18844. "description": "买卖 - 0:买 1:卖",
  18845. "type": "integer"
  18846. },
  18847. "cancelqty": {
  18848. "description": "撤单数量",
  18849. "type": "integer"
  18850. },
  18851. "currencysign": {
  18852. "description": "货币符号",
  18853. "type": "string"
  18854. },
  18855. "decimalplace": {
  18856. "description": "报价小数位",
  18857. "type": "integer"
  18858. },
  18859. "goodscode": {
  18860. "description": "商品代码(内部)",
  18861. "type": "string"
  18862. },
  18863. "goodsid": {
  18864. "description": "商品ID",
  18865. "type": "integer"
  18866. },
  18867. "goodsname": {
  18868. "description": "商品名称",
  18869. "type": "string"
  18870. },
  18871. "listingselecttype": {
  18872. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18873. "type": "integer"
  18874. },
  18875. "marketid": {
  18876. "description": "市场ID",
  18877. "type": "integer"
  18878. },
  18879. "mybuystatus": {
  18880. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  18881. "type": "integer"
  18882. },
  18883. "orderamount": {
  18884. "description": "委托金额",
  18885. "type": "number"
  18886. },
  18887. "orderid": {
  18888. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18889. "type": "string"
  18890. },
  18891. "orderprice": {
  18892. "description": "委托价格",
  18893. "type": "number"
  18894. },
  18895. "orderqty": {
  18896. "description": "委托数量",
  18897. "type": "integer"
  18898. },
  18899. "orderstatus": {
  18900. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18901. "type": "integer"
  18902. },
  18903. "ordertime": {
  18904. "description": "委托时间",
  18905. "type": "string"
  18906. },
  18907. "picurls1": {
  18908. "description": "预售商品介绍图片[多张用逗号分隔]",
  18909. "type": "string"
  18910. },
  18911. "picurls2": {
  18912. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18913. "type": "string"
  18914. },
  18915. "trademode": {
  18916. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18917. "type": "integer"
  18918. },
  18919. "tradeqty": {
  18920. "description": "成交数量",
  18921. "type": "integer"
  18922. },
  18923. "vendorname1": {
  18924. "description": "预售商品供应商名称",
  18925. "type": "string"
  18926. },
  18927. "vendorname2": {
  18928. "description": "挂牌商品供应商名称",
  18929. "type": "string"
  18930. }
  18931. }
  18932. },
  18933. "models.Loginaccount": {
  18934. "type": "object",
  18935. "required": [
  18936. "loginid"
  18937. ],
  18938. "properties": {
  18939. "canoutin": {
  18940. "description": "是否可出入金 - 0:不可 1:可",
  18941. "type": "integer"
  18942. },
  18943. "clientroleid": {
  18944. "description": "终端角色ID",
  18945. "type": "integer"
  18946. },
  18947. "haslogined": {
  18948. "description": "是否已登录 - 0:未登录 1:已登录",
  18949. "type": "integer"
  18950. },
  18951. "hasupdatedpwd": {
  18952. "description": "是否已更改密码 - 0:未修改 1:已修改",
  18953. "type": "integer"
  18954. },
  18955. "lastloginip": {
  18956. "description": "最新登录地址",
  18957. "type": "string"
  18958. },
  18959. "lastloginmode": {
  18960. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18961. "type": "integer"
  18962. },
  18963. "lastloginremark": {
  18964. "description": "最新登录描述",
  18965. "type": "string"
  18966. },
  18967. "lastlogintime": {
  18968. "description": "最新登录时间",
  18969. "type": "string"
  18970. },
  18971. "logincode": {
  18972. "description": "登录代码",
  18973. "type": "string"
  18974. },
  18975. "loginfailnum": {
  18976. "description": "连续登录失败次数(登录成功时清零)",
  18977. "type": "integer"
  18978. },
  18979. "loginid": {
  18980. "description": "登陆账号",
  18981. "type": "integer"
  18982. },
  18983. "loginport": {
  18984. "description": "最新登录端口",
  18985. "type": "integer"
  18986. },
  18987. "loginstatus": {
  18988. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  18989. "type": "integer"
  18990. },
  18991. "loginusertype": {
  18992. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  18993. "type": "integer"
  18994. },
  18995. "modifierid": {
  18996. "description": "修改人",
  18997. "type": "integer"
  18998. },
  18999. "modifytime": {
  19000. "description": "修改时间",
  19001. "type": "string"
  19002. },
  19003. "pwdwrongcount": {
  19004. "description": "密码错误次数",
  19005. "type": "integer"
  19006. },
  19007. "taaccountrighttype": {
  19008. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19009. "type": "integer"
  19010. },
  19011. "unfreezetime": {
  19012. "description": "账户解冻时间",
  19013. "type": "string"
  19014. },
  19015. "userid": {
  19016. "description": "用户ID",
  19017. "type": "integer"
  19018. }
  19019. }
  19020. },
  19021. "models.MainAccountInfo": {
  19022. "type": "object",
  19023. "properties": {
  19024. "accountid": {
  19025. "description": "账号id",
  19026. "type": "integer"
  19027. },
  19028. "accountname": {
  19029. "description": "账号名称(taaccount表中的名称)",
  19030. "type": "string"
  19031. },
  19032. "appid": {
  19033. "description": "AppID",
  19034. "type": "string"
  19035. },
  19036. "authcode": {
  19037. "description": "授权码",
  19038. "type": "string"
  19039. },
  19040. "brokerid": {
  19041. "description": "经纪商id",
  19042. "type": "string"
  19043. },
  19044. "fcid": {
  19045. "description": "期货公司id",
  19046. "type": "integer"
  19047. },
  19048. "fcname": {
  19049. "description": "期货公司代码",
  19050. "type": "string"
  19051. },
  19052. "hedgeaccountcode": {
  19053. "description": "外部账号代码(主账号登录代码)",
  19054. "type": "string"
  19055. },
  19056. "hedgeaccountpwd": {
  19057. "description": "密码",
  19058. "type": "string"
  19059. },
  19060. "ismain": {
  19061. "description": "是否主账号",
  19062. "type": "integer"
  19063. },
  19064. "relateduserid": {
  19065. "description": "关联用户id",
  19066. "type": "integer"
  19067. },
  19068. "userid": {
  19069. "description": "关联用户id",
  19070. "type": "integer"
  19071. }
  19072. }
  19073. },
  19074. "models.Market": {
  19075. "type": "object",
  19076. "required": [
  19077. "marketid",
  19078. "marketstatus",
  19079. "openmethod",
  19080. "reckonpricealgorithm",
  19081. "trademode",
  19082. "tradeproperty"
  19083. ],
  19084. "properties": {
  19085. "auctionwrtype": {
  19086. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19087. "type": "integer"
  19088. },
  19089. "canacceptquote": {
  19090. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19091. "type": "integer"
  19092. },
  19093. "cangoodsexercise": {
  19094. "description": "[期权]是否可现货行权- 0:否 1:是",
  19095. "type": "integer"
  19096. },
  19097. "cangoodsexercisetype": {
  19098. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19099. "type": "integer"
  19100. },
  19101. "canmanualquotestrike": {
  19102. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19103. "type": "integer"
  19104. },
  19105. "canmutistage": {
  19106. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19107. "type": "integer"
  19108. },
  19109. "canpreexercise": {
  19110. "description": "[期权]是否可预申报- 0:否 1:是",
  19111. "type": "integer"
  19112. },
  19113. "clearinterval": {
  19114. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19115. "type": "integer"
  19116. },
  19117. "contracttmp": {
  19118. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19119. "type": "string"
  19120. },
  19121. "exchareaid": {
  19122. "description": "所属交易所,可以没有",
  19123. "type": "integer"
  19124. },
  19125. "goodstype": {
  19126. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19127. "type": "integer"
  19128. },
  19129. "hasrebate": {
  19130. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19131. "type": "integer"
  19132. },
  19133. "hastradecredit": {
  19134. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19135. "type": "integer"
  19136. },
  19137. "haswr": {
  19138. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19139. "type": "integer"
  19140. },
  19141. "isdeductmargin": {
  19142. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19143. "type": "integer"
  19144. },
  19145. "isrecordsource": {
  19146. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19147. "type": "integer"
  19148. },
  19149. "isreleasemargin": {
  19150. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19151. "type": "integer"
  19152. },
  19153. "marginformula": {
  19154. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19155. "type": "integer"
  19156. },
  19157. "marginformula2": {
  19158. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19159. "type": "integer"
  19160. },
  19161. "marketid": {
  19162. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19163. "type": "integer"
  19164. },
  19165. "marketname": {
  19166. "description": "市场名称",
  19167. "type": "string"
  19168. },
  19169. "marketserviceid": {
  19170. "description": "市场服务ID",
  19171. "type": "integer"
  19172. },
  19173. "marketstatus": {
  19174. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19175. "type": "integer"
  19176. },
  19177. "markettype": {
  19178. "description": "市场类型- 1:非交易服务 2:交易服务",
  19179. "type": "integer"
  19180. },
  19181. "matchermode": {
  19182. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19183. "type": "integer"
  19184. },
  19185. "openmethod": {
  19186. "description": "开盘模式 - 0 自动 1手动",
  19187. "type": "integer"
  19188. },
  19189. "otcuserid": {
  19190. "description": "场外期权做市商[场外期权]",
  19191. "type": "integer"
  19192. },
  19193. "outersynctime": {
  19194. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19195. "type": "string"
  19196. },
  19197. "pendingflag": {
  19198. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19199. "type": "integer"
  19200. },
  19201. "pendingtime": {
  19202. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19203. "type": "string"
  19204. },
  19205. "performancetempid": {
  19206. "description": "履约计划模板ID - 作废",
  19207. "type": "integer"
  19208. },
  19209. "premiumquotemode": {
  19210. "description": "权利金报价方式 - 1:自动 2:手动",
  19211. "type": "integer"
  19212. },
  19213. "rebateratio": {
  19214. "description": "返利比率[竞价式]",
  19215. "type": "number"
  19216. },
  19217. "reckonorder": {
  19218. "description": "结算顺序",
  19219. "type": "integer"
  19220. },
  19221. "reckonpricealgorithm": {
  19222. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19223. "type": "integer"
  19224. },
  19225. "reckonpriceparam": {
  19226. "description": "结算价参数",
  19227. "type": "integer"
  19228. },
  19229. "reckontime": {
  19230. "description": "结算时间[通道交易-对冲](HH:mm)",
  19231. "type": "string"
  19232. },
  19233. "roleprioritytype": {
  19234. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19235. "type": "integer"
  19236. },
  19237. "selllistingauditflag": {
  19238. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19239. "type": "integer"
  19240. },
  19241. "trademarkettype": {
  19242. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19243. "type": "integer"
  19244. },
  19245. "trademode": {
  19246. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19247. "type": "integer"
  19248. },
  19249. "tradeproperty": {
  19250. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19251. "type": "integer"
  19252. },
  19253. "tradetype": {
  19254. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19255. "type": "integer"
  19256. }
  19257. }
  19258. },
  19259. "models.Marketrun": {
  19260. "type": "object",
  19261. "required": [
  19262. "marketid",
  19263. "nexttradedate",
  19264. "reckonflag",
  19265. "runstatus",
  19266. "tradedate",
  19267. "tradedate2"
  19268. ],
  19269. "properties": {
  19270. "afternexttradedate": {
  19271. "description": "下下交易日",
  19272. "type": "string"
  19273. },
  19274. "clearquoteflag": {
  19275. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19276. "type": "integer"
  19277. },
  19278. "lastreckondate": {
  19279. "description": "最新交易日(结算成功)",
  19280. "type": "string"
  19281. },
  19282. "machinedate": {
  19283. "description": "机器时间",
  19284. "type": "string"
  19285. },
  19286. "manualflag": {
  19287. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19288. "type": "integer"
  19289. },
  19290. "marketid": {
  19291. "description": "市场ID",
  19292. "type": "integer"
  19293. },
  19294. "nexttradedate": {
  19295. "description": "下一交易日",
  19296. "type": "string"
  19297. },
  19298. "pretradedate": {
  19299. "description": "上一交易日",
  19300. "type": "string"
  19301. },
  19302. "reckonflag": {
  19303. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19304. "type": "integer"
  19305. },
  19306. "runstatus": {
  19307. "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.今日免清算",
  19308. "type": "integer"
  19309. },
  19310. "sectionid": {
  19311. "description": "时间段号[多时段时用]",
  19312. "type": "integer"
  19313. },
  19314. "tradedate": {
  19315. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19316. "type": "string"
  19317. },
  19318. "tradedate2": {
  19319. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19320. "type": "string"
  19321. },
  19322. "updatetime": {
  19323. "description": "更新时间",
  19324. "type": "string"
  19325. }
  19326. }
  19327. },
  19328. "models.Messageboard": {
  19329. "type": "object",
  19330. "required": [
  19331. "messageboardid"
  19332. ],
  19333. "properties": {
  19334. "contactnum": {
  19335. "description": "联系电话",
  19336. "type": "string"
  19337. },
  19338. "createtime": {
  19339. "description": "创建时间",
  19340. "type": "string"
  19341. },
  19342. "message": {
  19343. "description": "留言信息",
  19344. "type": "string"
  19345. },
  19346. "messageboardid": {
  19347. "description": "留言簿ID(SEQ_MessageBoard)",
  19348. "type": "integer"
  19349. },
  19350. "userid": {
  19351. "description": "用户ID",
  19352. "type": "integer"
  19353. }
  19354. }
  19355. },
  19356. "models.MyCoupon": {
  19357. "type": "object",
  19358. "required": [
  19359. "accountid",
  19360. "coupontypeid"
  19361. ],
  19362. "properties": {
  19363. "accountid": {
  19364. "description": "资金账户ID",
  19365. "type": "integer"
  19366. },
  19367. "areauserid": {
  19368. "description": "所属机构",
  19369. "type": "integer"
  19370. },
  19371. "conditionvalue": {
  19372. "description": "条件阈值(可为0)",
  19373. "type": "number"
  19374. },
  19375. "couponcategroy": {
  19376. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19377. "type": "integer"
  19378. },
  19379. "couponname": {
  19380. "description": "优惠券名称",
  19381. "type": "string"
  19382. },
  19383. "coupontypeid": {
  19384. "description": "优惠券类型ID",
  19385. "type": "string"
  19386. },
  19387. "couponvalue": {
  19388. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19389. "type": "number"
  19390. },
  19391. "curfreezeqty": {
  19392. "description": "期末冻结数量",
  19393. "type": "integer"
  19394. },
  19395. "curqty": {
  19396. "description": "期末数量",
  19397. "type": "integer"
  19398. },
  19399. "isgeneral": {
  19400. "description": "是否通用券 - 0:否 1:是",
  19401. "type": "integer"
  19402. },
  19403. "isunusable": {
  19404. "description": "是否不可用",
  19405. "type": "boolean"
  19406. },
  19407. "limitedflag": {
  19408. "description": "是否指定商品 - 0:不限 1:限制",
  19409. "type": "integer"
  19410. },
  19411. "limitedgoodsids": {
  19412. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19413. "type": "string"
  19414. },
  19415. "orifreezeqty": {
  19416. "description": "期初冻结数量",
  19417. "type": "integer"
  19418. },
  19419. "oriqty": {
  19420. "description": "期初数量",
  19421. "type": "integer"
  19422. },
  19423. "reasontype": {
  19424. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19425. "type": "integer"
  19426. },
  19427. "todaydecrease": {
  19428. "description": "今日减少",
  19429. "type": "integer"
  19430. },
  19431. "todayincrease": {
  19432. "description": "今日增加",
  19433. "type": "integer"
  19434. },
  19435. "userid": {
  19436. "description": "用户ID",
  19437. "type": "integer"
  19438. },
  19439. "userscope": {
  19440. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19441. "type": "string"
  19442. }
  19443. }
  19444. },
  19445. "models.MyCouponHold": {
  19446. "type": "object",
  19447. "required": [
  19448. "couponholdid"
  19449. ],
  19450. "properties": {
  19451. "accountid": {
  19452. "description": "资金账户ID",
  19453. "type": "integer"
  19454. },
  19455. "conditionvalue": {
  19456. "description": "条件阈值(可为0)",
  19457. "type": "number"
  19458. },
  19459. "couponcategroy": {
  19460. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19461. "type": "integer"
  19462. },
  19463. "couponholdid": {
  19464. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19465. "type": "string"
  19466. },
  19467. "couponname": {
  19468. "description": "优惠券名称",
  19469. "type": "string"
  19470. },
  19471. "coupontypeid": {
  19472. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19473. "type": "string"
  19474. },
  19475. "couponvalue": {
  19476. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19477. "type": "number"
  19478. },
  19479. "createtime": {
  19480. "description": "创建时间",
  19481. "type": "string"
  19482. },
  19483. "enddate": {
  19484. "description": "结束日期",
  19485. "type": "string"
  19486. },
  19487. "giveapplyid": {
  19488. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19489. "type": "integer"
  19490. },
  19491. "holdstatus": {
  19492. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19493. "type": "integer"
  19494. },
  19495. "isgeneral": {
  19496. "description": "是否通用券 - 0:否 1:是",
  19497. "type": "integer"
  19498. },
  19499. "limitedflag": {
  19500. "description": "是否指定商品 - 0:不限 1:限制",
  19501. "type": "integer"
  19502. },
  19503. "limitedgoodsids": {
  19504. "description": "指定商品IDs[逗号分隔]",
  19505. "type": "string"
  19506. },
  19507. "qty": {
  19508. "description": "数量(按1平铺)",
  19509. "type": "integer"
  19510. },
  19511. "startdate": {
  19512. "description": "开始日期",
  19513. "type": "string"
  19514. },
  19515. "userid": {
  19516. "description": "用户ID",
  19517. "type": "integer"
  19518. },
  19519. "userscope": {
  19520. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19521. "type": "string"
  19522. }
  19523. }
  19524. },
  19525. "models.MyUsedCoupon": {
  19526. "type": "object",
  19527. "required": [
  19528. "coupontypeid",
  19529. "orderid"
  19530. ],
  19531. "properties": {
  19532. "accountid": {
  19533. "description": "资金账户ID(买方)",
  19534. "type": "integer"
  19535. },
  19536. "conditionvalue": {
  19537. "description": "条件阈值(可为0)",
  19538. "type": "number"
  19539. },
  19540. "couponcategroy": {
  19541. "description": "种类 - 1:现金券 2:折扣券",
  19542. "type": "integer"
  19543. },
  19544. "couponname": {
  19545. "description": "优惠券名称",
  19546. "type": "string"
  19547. },
  19548. "coupontypeid": {
  19549. "description": "优惠券类型ID(买方)",
  19550. "type": "string"
  19551. },
  19552. "couponvalue": {
  19553. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  19554. "type": "number"
  19555. },
  19556. "createtime": {
  19557. "description": "创建时间",
  19558. "type": "string"
  19559. },
  19560. "goodsid": {
  19561. "description": "商品ID",
  19562. "type": "integer"
  19563. },
  19564. "handlestatus": {
  19565. "description": "处理状态",
  19566. "type": "integer"
  19567. },
  19568. "marketid": {
  19569. "description": "市场ID",
  19570. "type": "integer"
  19571. },
  19572. "offamount": {
  19573. "description": "优惠金额",
  19574. "type": "number"
  19575. },
  19576. "orderid": {
  19577. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19578. "type": "string"
  19579. },
  19580. "sellaccountid": {
  19581. "description": "资金账户ID(卖方)",
  19582. "type": "integer"
  19583. },
  19584. "tradeamount": {
  19585. "description": "成交金额",
  19586. "type": "number"
  19587. },
  19588. "tradeid": {
  19589. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19590. "type": "string"
  19591. },
  19592. "usedqty": {
  19593. "description": "使用数量",
  19594. "type": "integer"
  19595. }
  19596. }
  19597. },
  19598. "models.OperationPrimaryMenu": {
  19599. "type": "object",
  19600. "properties": {
  19601. "Children": {
  19602. "description": "二级功能菜单",
  19603. "type": "array",
  19604. "items": {
  19605. "$ref": "#/definitions/models.OperationSecondaryMenu"
  19606. }
  19607. },
  19608. "Key": {
  19609. "description": "菜单KEY",
  19610. "type": "string"
  19611. },
  19612. "Label": {
  19613. "description": "菜单标题",
  19614. "type": "string"
  19615. }
  19616. }
  19617. },
  19618. "models.OperationSecondaryMenu": {
  19619. "type": "object",
  19620. "properties": {
  19621. "Key": {
  19622. "description": "菜单KEY",
  19623. "type": "string"
  19624. },
  19625. "Label": {
  19626. "description": "菜单标题",
  19627. "type": "string"
  19628. },
  19629. "TabList": {
  19630. "description": "三级功能菜单",
  19631. "type": "array",
  19632. "items": {
  19633. "$ref": "#/definitions/models.OperationTabMenu"
  19634. }
  19635. }
  19636. }
  19637. },
  19638. "models.OperationTabMenu": {
  19639. "type": "object",
  19640. "properties": {
  19641. "Key": {
  19642. "description": "菜单KEY",
  19643. "type": "string"
  19644. },
  19645. "Label": {
  19646. "description": "菜单标题",
  19647. "type": "string"
  19648. }
  19649. }
  19650. },
  19651. "models.PendingAuditBizModel": {
  19652. "type": "object",
  19653. "properties": {
  19654. "accountid": {
  19655. "description": "现货账户",
  19656. "type": "string"
  19657. },
  19658. "areaname": {
  19659. "description": "所属部门",
  19660. "type": "string"
  19661. },
  19662. "bizid": {
  19663. "description": "业务ID",
  19664. "type": "string"
  19665. },
  19666. "bizname": {
  19667. "description": "业务名称",
  19668. "type": "string"
  19669. },
  19670. "status": {
  19671. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19672. "type": "integer"
  19673. },
  19674. "type": {
  19675. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19676. "type": "integer"
  19677. }
  19678. }
  19679. },
  19680. "models.QueryErrorInfosRsp": {
  19681. "type": "object",
  19682. "required": [
  19683. "errorid"
  19684. ],
  19685. "properties": {
  19686. "description": {
  19687. "description": "异常描述",
  19688. "type": "string"
  19689. },
  19690. "errorcode": {
  19691. "description": "异常代码",
  19692. "type": "string"
  19693. },
  19694. "errorid": {
  19695. "description": "异常ID",
  19696. "type": "integer"
  19697. },
  19698. "modulecode": {
  19699. "description": "所属模块",
  19700. "type": "string"
  19701. },
  19702. "operatecode": {
  19703. "description": "所属操作",
  19704. "type": "string"
  19705. },
  19706. "rownumber": {
  19707. "description": "行号",
  19708. "type": "string"
  19709. }
  19710. }
  19711. },
  19712. "models.QueryHedgeOrderDetailRsp": {
  19713. "type": "object",
  19714. "properties": {
  19715. "accountid": {
  19716. "description": "账户ID",
  19717. "type": "integer"
  19718. },
  19719. "buyorsell": {
  19720. "description": "买卖 - 0:买 1:卖",
  19721. "type": "integer"
  19722. },
  19723. "cancellogincode": {
  19724. "description": "撤单人",
  19725. "type": "string"
  19726. },
  19727. "channelbuildtype": {
  19728. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  19729. "type": "integer"
  19730. },
  19731. "channelinnerorderstatus": {
  19732. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  19733. "type": "integer"
  19734. },
  19735. "channeloperatetype": {
  19736. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  19737. "type": "integer"
  19738. },
  19739. "closetype": {
  19740. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19741. "type": "integer"
  19742. },
  19743. "curexchangerate": {
  19744. "description": "当前汇率",
  19745. "type": "number"
  19746. },
  19747. "exchangefullname": {
  19748. "description": "外部交易所全称",
  19749. "type": "string"
  19750. },
  19751. "goodscode": {
  19752. "description": "商品代码(内部)",
  19753. "type": "string"
  19754. },
  19755. "goodsid": {
  19756. "description": "商品ID",
  19757. "type": "integer"
  19758. },
  19759. "goodsname": {
  19760. "description": "商品名称",
  19761. "type": "string"
  19762. },
  19763. "marketid": {
  19764. "description": "市场ID",
  19765. "type": "integer"
  19766. },
  19767. "openfreezemargin": {
  19768. "description": "冻结保证金(冻结交易金额)",
  19769. "type": "number"
  19770. },
  19771. "orderid": {
  19772. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19773. "type": "string"
  19774. },
  19775. "orderlogincode": {
  19776. "description": "委托人",
  19777. "type": "string"
  19778. },
  19779. "orderprice": {
  19780. "description": "委托价格(账户)",
  19781. "type": "number"
  19782. },
  19783. "orderqty": {
  19784. "description": "委托数量",
  19785. "type": "integer"
  19786. },
  19787. "ordertime": {
  19788. "description": "委托时间",
  19789. "type": "string"
  19790. },
  19791. "pricemode": {
  19792. "description": "取价方式 - 1:市价 2: 限价",
  19793. "type": "integer"
  19794. },
  19795. "tradedate": {
  19796. "description": "交易日(yyyyMMdd)",
  19797. "type": "string"
  19798. },
  19799. "tradeqty": {
  19800. "description": "成交数量",
  19801. "type": "integer"
  19802. }
  19803. }
  19804. },
  19805. "models.QueryHedgeTradeDetailRsp": {
  19806. "type": "object",
  19807. "properties": {
  19808. "accountid": {
  19809. "description": "账号ID",
  19810. "type": "integer"
  19811. },
  19812. "buyorsell": {
  19813. "description": "方向 - 0:买 1:卖",
  19814. "type": "integer"
  19815. },
  19816. "channelbuildtype": {
  19817. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19818. "type": "integer"
  19819. },
  19820. "closecharge": {
  19821. "description": "平仓手续费(账户)",
  19822. "type": "number"
  19823. },
  19824. "closecharge2": {
  19825. "description": "平仓手续费(商品)",
  19826. "type": "number"
  19827. },
  19828. "closepl": {
  19829. "description": "平仓盈亏(账户)",
  19830. "type": "number"
  19831. },
  19832. "closepl2": {
  19833. "description": "平仓盈亏(商品)",
  19834. "type": "number"
  19835. },
  19836. "closepl3": {
  19837. "description": "平仓盈亏(账户)(逐笔)",
  19838. "type": "number"
  19839. },
  19840. "closepl4": {
  19841. "description": "平仓盈亏(商品)(逐笔)",
  19842. "type": "number"
  19843. },
  19844. "closetype": {
  19845. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19846. "type": "integer"
  19847. },
  19848. "curexchangerate": {
  19849. "description": "当前汇率",
  19850. "type": "number"
  19851. },
  19852. "exchangefullname": {
  19853. "description": "外部交易所全称",
  19854. "type": "string"
  19855. },
  19856. "goodscode": {
  19857. "description": "商品代码(内部)",
  19858. "type": "string"
  19859. },
  19860. "goodsid": {
  19861. "description": "商品ID",
  19862. "type": "integer"
  19863. },
  19864. "goodsname": {
  19865. "description": "商品名称",
  19866. "type": "string"
  19867. },
  19868. "marketid": {
  19869. "description": "市场ID",
  19870. "type": "integer"
  19871. },
  19872. "opencharge": {
  19873. "description": "建仓手续费(账户)",
  19874. "type": "number"
  19875. },
  19876. "opencharge2": {
  19877. "description": "建仓手续费(商品)",
  19878. "type": "number"
  19879. },
  19880. "orderid": {
  19881. "description": "委托单号",
  19882. "type": "string"
  19883. },
  19884. "orderlogincode": {
  19885. "description": "委托人",
  19886. "type": "string"
  19887. },
  19888. "tradeamount": {
  19889. "description": "成交金额(账户)",
  19890. "type": "number"
  19891. },
  19892. "tradedate": {
  19893. "description": "交易日(yyyyMMdd)",
  19894. "type": "string"
  19895. },
  19896. "tradeid": {
  19897. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19898. "type": "string"
  19899. },
  19900. "tradeprice": {
  19901. "description": "成交价格",
  19902. "type": "number"
  19903. },
  19904. "tradeqty": {
  19905. "description": "成交数量",
  19906. "type": "integer"
  19907. },
  19908. "tradetime": {
  19909. "description": "成交时间",
  19910. "type": "string"
  19911. },
  19912. "tradetype": {
  19913. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  19914. "type": "integer"
  19915. }
  19916. }
  19917. },
  19918. "models.QuotePrimaryMenu": {
  19919. "type": "object",
  19920. "properties": {
  19921. "Index": {
  19922. "description": "序号",
  19923. "type": "integer"
  19924. },
  19925. "Key": {
  19926. "description": "键名",
  19927. "type": "string"
  19928. },
  19929. "Name": {
  19930. "description": "菜单名称",
  19931. "type": "string"
  19932. },
  19933. "SubMenus": {
  19934. "description": "子菜单",
  19935. "type": "array",
  19936. "items": {
  19937. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  19938. }
  19939. },
  19940. "SubTitleType": {
  19941. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  19942. "type": "integer"
  19943. },
  19944. "TradeModes": {
  19945. "description": "包含市场交易类型",
  19946. "type": "string"
  19947. }
  19948. }
  19949. },
  19950. "models.QuoteSecondaryMenu": {
  19951. "type": "object",
  19952. "properties": {
  19953. "ExExchangeCode": {
  19954. "description": "外部交易所代码",
  19955. "type": "string"
  19956. },
  19957. "ExExchangeID": {
  19958. "description": "外部交易所ID",
  19959. "type": "integer"
  19960. },
  19961. "GoodsGroupIDs": {
  19962. "description": "商品组ID列表",
  19963. "type": "array",
  19964. "items": {
  19965. "type": "integer"
  19966. }
  19967. },
  19968. "Index": {
  19969. "description": "序号",
  19970. "type": "integer"
  19971. },
  19972. "MarketID": {
  19973. "description": "市场ID",
  19974. "type": "integer"
  19975. },
  19976. "MenuTitle": {
  19977. "description": "菜单标题(市场名称或外部交易所名称)",
  19978. "type": "string"
  19979. },
  19980. "TradeMode": {
  19981. "description": "交易模式",
  19982. "type": "integer"
  19983. }
  19984. }
  19985. },
  19986. "models.SearchGoods": {
  19987. "type": "object",
  19988. "required": [
  19989. "goodscode",
  19990. "goodsid",
  19991. "goodsname",
  19992. "marketid",
  19993. "trademode"
  19994. ],
  19995. "properties": {
  19996. "goodscode": {
  19997. "description": "商品代码(内部)",
  19998. "type": "string"
  19999. },
  20000. "goodsid": {
  20001. "description": "商品ID(自增ID SEQ_GOODS)",
  20002. "type": "integer"
  20003. },
  20004. "goodsname": {
  20005. "description": "商品名称",
  20006. "type": "string"
  20007. },
  20008. "marketid": {
  20009. "description": "所属市场ID",
  20010. "type": "integer"
  20011. },
  20012. "marketname": {
  20013. "description": "市场名称",
  20014. "type": "string"
  20015. },
  20016. "trademode": {
  20017. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20018. "type": "integer"
  20019. }
  20020. }
  20021. },
  20022. "models.Systemparam": {
  20023. "type": "object",
  20024. "required": [
  20025. "paramcode"
  20026. ],
  20027. "properties": {
  20028. "loginid": {
  20029. "description": "更新用户账号,登录账号",
  20030. "type": "string"
  20031. },
  20032. "modifyflag": {
  20033. "description": "修改标志0 不允许修改 1 允许修改",
  20034. "type": "integer"
  20035. },
  20036. "paramcode": {
  20037. "description": "参数代码",
  20038. "type": "string"
  20039. },
  20040. "paramname": {
  20041. "description": "参数名",
  20042. "type": "string"
  20043. },
  20044. "paramtype": {
  20045. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  20046. "type": "integer"
  20047. },
  20048. "paramvalue": {
  20049. "description": "参数值",
  20050. "type": "string"
  20051. },
  20052. "paramvalue2": {
  20053. "description": "参数值(CLOB)",
  20054. "type": "string"
  20055. },
  20056. "regexpress": {
  20057. "description": "正则表达式",
  20058. "type": "string"
  20059. },
  20060. "remark": {
  20061. "description": "备注",
  20062. "type": "string"
  20063. },
  20064. "serverip": {
  20065. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  20066. "type": "string"
  20067. },
  20068. "showflag": {
  20069. "description": "是否显示0 不显示 1 显示",
  20070. "type": "integer"
  20071. },
  20072. "updatetime": {
  20073. "description": "更新时间",
  20074. "type": "string"
  20075. },
  20076. "userid": {
  20077. "description": "更新用户ID",
  20078. "type": "integer"
  20079. }
  20080. }
  20081. },
  20082. "models.Szdz3convertconfig": {
  20083. "type": "object",
  20084. "required": [
  20085. "converttype",
  20086. "innergoodsid",
  20087. "outergoodscode"
  20088. ],
  20089. "properties": {
  20090. "canin": {
  20091. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  20092. "type": "integer"
  20093. },
  20094. "canout": {
  20095. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  20096. "type": "integer"
  20097. },
  20098. "converttype": {
  20099. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  20100. "type": "integer"
  20101. },
  20102. "createtime": {
  20103. "description": "创建时间",
  20104. "type": "string"
  20105. },
  20106. "creatorid": {
  20107. "description": "创建人",
  20108. "type": "integer"
  20109. },
  20110. "daymaxvalue": {
  20111. "description": "当日最大转入限制",
  20112. "type": "number"
  20113. },
  20114. "freezedays": {
  20115. "description": "冻结天数 [5:花生米转交易]",
  20116. "type": "integer"
  20117. },
  20118. "innergoodsid": {
  20119. "description": "内部商品ID[交易]",
  20120. "type": "integer"
  20121. },
  20122. "inratio": {
  20123. "description": "目标值",
  20124. "type": "integer"
  20125. },
  20126. "modifierid": {
  20127. "description": "修改人",
  20128. "type": "integer"
  20129. },
  20130. "modifytime": {
  20131. "description": "修改时间",
  20132. "type": "string"
  20133. },
  20134. "outergoodscode": {
  20135. "description": "外部商品代码[JD\\PD]",
  20136. "type": "string"
  20137. },
  20138. "outratio": {
  20139. "description": "源值",
  20140. "type": "integer"
  20141. },
  20142. "pddecimalplace": {
  20143. "description": "PD小数位",
  20144. "type": "integer"
  20145. },
  20146. "timemaxvalue": {
  20147. "description": "单次最大转入限制",
  20148. "type": "number"
  20149. },
  20150. "timeminvalue": {
  20151. "description": "单次最小转入限制",
  20152. "type": "number"
  20153. }
  20154. }
  20155. },
  20156. "models.Szdz3searchwhitelist": {
  20157. "type": "object",
  20158. "required": [
  20159. "userid"
  20160. ],
  20161. "properties": {
  20162. "createtime": {
  20163. "description": "创建时间",
  20164. "type": "string"
  20165. },
  20166. "creatorid": {
  20167. "description": "创建人",
  20168. "type": "integer"
  20169. },
  20170. "modifierid": {
  20171. "description": "修改人",
  20172. "type": "integer"
  20173. },
  20174. "modifytime": {
  20175. "description": "修改时间",
  20176. "type": "string"
  20177. },
  20178. "userid": {
  20179. "description": "用户ID",
  20180. "type": "integer"
  20181. }
  20182. }
  20183. },
  20184. "models.Taaccount": {
  20185. "type": "object",
  20186. "required": [
  20187. "accountid",
  20188. "userid"
  20189. ],
  20190. "properties": {
  20191. "accountflag": {
  20192. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  20193. "type": "integer"
  20194. },
  20195. "accountid": {
  20196. "description": "资金账户ID",
  20197. "type": "integer"
  20198. },
  20199. "accountname": {
  20200. "description": "账户名称",
  20201. "type": "string"
  20202. },
  20203. "balance": {
  20204. "description": "期初余额",
  20205. "type": "number"
  20206. },
  20207. "capitalbalance": {
  20208. "description": "本金余额[外部子账户实际出入金余额]",
  20209. "type": "number"
  20210. },
  20211. "changeflag": {
  20212. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  20213. "type": "integer"
  20214. },
  20215. "changetime": {
  20216. "description": "账户状态变更时间",
  20217. "type": "string"
  20218. },
  20219. "closepl": {
  20220. "description": "今日平仓盈亏",
  20221. "type": "number"
  20222. },
  20223. "creditdecrease": {
  20224. "description": "今日授信减少",
  20225. "type": "number"
  20226. },
  20227. "creditincrease": {
  20228. "description": "今日授信增加",
  20229. "type": "number"
  20230. },
  20231. "currencyid": {
  20232. "description": "货币ID",
  20233. "type": "integer"
  20234. },
  20235. "currentbalance": {
  20236. "description": "期末余额",
  20237. "type": "number"
  20238. },
  20239. "freezecharge": {
  20240. "description": "手续费冻结",
  20241. "type": "number"
  20242. },
  20243. "freezemargin": {
  20244. "description": "冻结保证金",
  20245. "type": "number"
  20246. },
  20247. "fromaccountid": {
  20248. "description": "所属上级账户",
  20249. "type": "integer"
  20250. },
  20251. "inamount": {
  20252. "description": "今日入金金额(包括三方入金)",
  20253. "type": "number"
  20254. },
  20255. "ismain": {
  20256. "description": "是否母账号 0:不是母账户 1:是母账户",
  20257. "type": "integer"
  20258. },
  20259. "ismarketaccount": {
  20260. "description": "是否机构接单账号 0:不是 1:是",
  20261. "type": "integer"
  20262. },
  20263. "isreckonaccount": {
  20264. "description": "是否机构分润账号 0:不是 1:是",
  20265. "type": "integer"
  20266. },
  20267. "mortgagecredit": {
  20268. "description": "授信金额",
  20269. "type": "number"
  20270. },
  20271. "orifreezecharge": {
  20272. "description": "期初手续费冻结",
  20273. "type": "number"
  20274. },
  20275. "orifreezemargin": {
  20276. "description": "期初冻结保证金",
  20277. "type": "number"
  20278. },
  20279. "orimortgagecredit": {
  20280. "description": "期初授信金额",
  20281. "type": "number"
  20282. },
  20283. "oriothercredit": {
  20284. "description": "期初其它授信金额",
  20285. "type": "number"
  20286. },
  20287. "oriotherfreezemargin": {
  20288. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20289. "type": "number"
  20290. },
  20291. "orioutamountfreeze": {
  20292. "description": "期初出金冻结",
  20293. "type": "number"
  20294. },
  20295. "oriusedmargin": {
  20296. "description": "期初占用保证金",
  20297. "type": "number"
  20298. },
  20299. "othercredit": {
  20300. "description": "其它授信金额",
  20301. "type": "number"
  20302. },
  20303. "othercreditdecrease": {
  20304. "description": "今日其它授信减少",
  20305. "type": "number"
  20306. },
  20307. "othercreditincrease": {
  20308. "description": "今日其它授信增加",
  20309. "type": "number"
  20310. },
  20311. "otherfreezemargin": {
  20312. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20313. "type": "number"
  20314. },
  20315. "otherincome": {
  20316. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  20317. "type": "number"
  20318. },
  20319. "otherpay": {
  20320. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  20321. "type": "number"
  20322. },
  20323. "outamount": {
  20324. "description": "今日出金金额(包括三方出金)",
  20325. "type": "number"
  20326. },
  20327. "outamountfreeze": {
  20328. "description": "出金冻结",
  20329. "type": "number"
  20330. },
  20331. "outthreshold": {
  20332. "description": "出金阈值",
  20333. "type": "number"
  20334. },
  20335. "parentaccountid": {
  20336. "description": "所属根账号",
  20337. "type": "integer"
  20338. },
  20339. "paycharge": {
  20340. "description": "今日手续费支出",
  20341. "type": "number"
  20342. },
  20343. "relatedaccountstatus": {
  20344. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  20345. "type": "integer"
  20346. },
  20347. "relateduserid": {
  20348. "description": "关联用户",
  20349. "type": "integer"
  20350. },
  20351. "serivcegroup": {
  20352. "description": "服务分组",
  20353. "type": "integer"
  20354. },
  20355. "signstatus": {
  20356. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20357. "type": "integer"
  20358. },
  20359. "sublevelpath": {
  20360. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20361. "type": "string"
  20362. },
  20363. "taaccounttype": {
  20364. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20365. "type": "integer"
  20366. },
  20367. "thirdinamount": {
  20368. "description": "今日三方入金",
  20369. "type": "number"
  20370. },
  20371. "thirdoutamount": {
  20372. "description": "今日三方出金",
  20373. "type": "number"
  20374. },
  20375. "tradestatus": {
  20376. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20377. "type": "integer"
  20378. },
  20379. "tradestatuschangetime": {
  20380. "description": "激活时间",
  20381. "type": "string"
  20382. },
  20383. "transferamount": {
  20384. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20385. "type": "number"
  20386. },
  20387. "usedmargin": {
  20388. "description": "占用保证金",
  20389. "type": "number"
  20390. },
  20391. "userid": {
  20392. "description": "用户ID",
  20393. "type": "integer"
  20394. }
  20395. }
  20396. },
  20397. "models.Tablecolumnconfig": {
  20398. "type": "object",
  20399. "required": [
  20400. "autoid"
  20401. ],
  20402. "properties": {
  20403. "aligntype": {
  20404. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  20405. "type": "integer"
  20406. },
  20407. "autoid": {
  20408. "description": "AutoID",
  20409. "type": "integer"
  20410. },
  20411. "columnfield": {
  20412. "description": "列字段",
  20413. "type": "string"
  20414. },
  20415. "columntitle": {
  20416. "description": "列Title",
  20417. "type": "string"
  20418. },
  20419. "columnwidth": {
  20420. "description": "列宽",
  20421. "type": "string"
  20422. },
  20423. "formatterstring": {
  20424. "description": "格式化字符",
  20425. "type": "string"
  20426. },
  20427. "formattertype": {
  20428. "description": "格式化类型",
  20429. "type": "string"
  20430. },
  20431. "groupname": {
  20432. "description": "表头分组名称",
  20433. "type": "string"
  20434. },
  20435. "isshow": {
  20436. "description": "是否显示 - 0:不显示 1:显示",
  20437. "type": "integer"
  20438. },
  20439. "needsummary": {
  20440. "description": "是否需要汇总 - 0:不需要 1:需要",
  20441. "type": "integer"
  20442. },
  20443. "orderindex": {
  20444. "description": "顺序",
  20445. "type": "integer"
  20446. },
  20447. "remark": {
  20448. "description": "备注",
  20449. "type": "string"
  20450. },
  20451. "summarytype": {
  20452. "description": "汇总类型 - 1:加总 2:最后一个",
  20453. "type": "integer"
  20454. },
  20455. "tablekey": {
  20456. "description": "列表Key",
  20457. "type": "string"
  20458. }
  20459. }
  20460. },
  20461. "models.Useraccount": {
  20462. "type": "object",
  20463. "required": [
  20464. "userid"
  20465. ],
  20466. "properties": {
  20467. "accountname": {
  20468. "description": "账户名称(机构名称)",
  20469. "type": "string"
  20470. },
  20471. "accountstatus": {
  20472. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20473. "type": "integer"
  20474. },
  20475. "auditremark": {
  20476. "description": "审核备注",
  20477. "type": "string"
  20478. },
  20479. "audittime": {
  20480. "description": "审核时间",
  20481. "type": "string"
  20482. },
  20483. "audituserid": {
  20484. "description": "审核人",
  20485. "type": "integer"
  20486. },
  20487. "broker": {
  20488. "description": "所属经纪人ID",
  20489. "type": "integer"
  20490. },
  20491. "canceltime": {
  20492. "description": "销户时间",
  20493. "type": "string"
  20494. },
  20495. "canceluserid": {
  20496. "description": "销户人",
  20497. "type": "integer"
  20498. },
  20499. "createtime": {
  20500. "description": "创建时间",
  20501. "type": "string"
  20502. },
  20503. "creatorid": {
  20504. "description": "创建人",
  20505. "type": "integer"
  20506. },
  20507. "hasauth": {
  20508. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  20509. "type": "integer"
  20510. },
  20511. "isanonymous": {
  20512. "description": "是否匿名下单 - 0:否 1:是",
  20513. "type": "integer"
  20514. },
  20515. "maxinvestornum": {
  20516. "description": "最大用户数(经纪会员下投资者个数)",
  20517. "type": "integer"
  20518. },
  20519. "memberuserid": {
  20520. "description": "所属会员ID",
  20521. "type": "integer"
  20522. },
  20523. "modifierid": {
  20524. "description": "修改人",
  20525. "type": "integer"
  20526. },
  20527. "modifyremark": {
  20528. "description": "变更备注",
  20529. "type": "string"
  20530. },
  20531. "modifystatus": {
  20532. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  20533. "type": "integer"
  20534. },
  20535. "modifytime": {
  20536. "description": "修改时间",
  20537. "type": "string"
  20538. },
  20539. "parentuserid": {
  20540. "description": "所属机构ID",
  20541. "type": "integer"
  20542. },
  20543. "reckonaccountid": {
  20544. "description": "默认结算资金账号ID(机构分润使用) 作废",
  20545. "type": "integer"
  20546. },
  20547. "refercount": {
  20548. "description": "推荐总人数",
  20549. "type": "integer"
  20550. },
  20551. "refereeuserid": {
  20552. "description": "推荐人ID",
  20553. "type": "integer"
  20554. },
  20555. "refernum": {
  20556. "description": "推荐码",
  20557. "type": "string"
  20558. },
  20559. "subarealevelpath": {
  20560. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  20561. "type": "string"
  20562. },
  20563. "userid": {
  20564. "description": "用户ID",
  20565. "type": "integer"
  20566. },
  20567. "usertype": {
  20568. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20569. "type": "integer"
  20570. }
  20571. }
  20572. },
  20573. "models.Userfavoritegoods": {
  20574. "type": "object",
  20575. "required": [
  20576. "goodsid"
  20577. ],
  20578. "properties": {
  20579. "goodsid": {
  20580. "description": "商品ID",
  20581. "type": "integer"
  20582. }
  20583. }
  20584. },
  20585. "models.Userinfo": {
  20586. "type": "object",
  20587. "required": [
  20588. "userid"
  20589. ],
  20590. "properties": {
  20591. "address": {
  20592. "description": "地址",
  20593. "type": "string"
  20594. },
  20595. "attachment1": {
  20596. "description": "附件1",
  20597. "type": "string"
  20598. },
  20599. "attachment2": {
  20600. "description": "附件2",
  20601. "type": "string"
  20602. },
  20603. "bankaccount": {
  20604. "description": "银行帐号 (加密存储)",
  20605. "type": "string"
  20606. },
  20607. "bankaccountname": {
  20608. "description": "收款人名称",
  20609. "type": "string"
  20610. },
  20611. "bankcardfrontphotourl": {
  20612. "description": "银行卡正面照地址",
  20613. "type": "string"
  20614. },
  20615. "bankid": {
  20616. "description": "银行编码",
  20617. "type": "string"
  20618. },
  20619. "bankname": {
  20620. "description": "银行名称",
  20621. "type": "string"
  20622. },
  20623. "biznature": {
  20624. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20625. "type": "integer"
  20626. },
  20627. "bizscope": {
  20628. "description": "企业经营范围(企业)",
  20629. "type": "string"
  20630. },
  20631. "cardbackphotourl": {
  20632. "description": "证件背面图片地址",
  20633. "type": "string"
  20634. },
  20635. "cardfrontphotourl": {
  20636. "description": "证件正面图片地址",
  20637. "type": "string"
  20638. },
  20639. "cardnum": {
  20640. "description": "证件号码(加密存储)",
  20641. "type": "string"
  20642. },
  20643. "cardtypeid": {
  20644. "description": "证件类型ID",
  20645. "type": "integer"
  20646. },
  20647. "cityid": {
  20648. "description": "市",
  20649. "type": "integer"
  20650. },
  20651. "company": {
  20652. "description": "公司(个人)",
  20653. "type": "string"
  20654. },
  20655. "contactname": {
  20656. "description": "联系人",
  20657. "type": "string"
  20658. },
  20659. "countryid": {
  20660. "description": "国家",
  20661. "type": "integer"
  20662. },
  20663. "createtime": {
  20664. "description": "创建时间",
  20665. "type": "string"
  20666. },
  20667. "creatorid": {
  20668. "description": "创建人",
  20669. "type": "integer"
  20670. },
  20671. "customername": {
  20672. "description": "客户名称(企业名称)",
  20673. "type": "string"
  20674. },
  20675. "districtid": {
  20676. "description": "地区",
  20677. "type": "integer"
  20678. },
  20679. "email": {
  20680. "description": "邮件(加密存储)",
  20681. "type": "string"
  20682. },
  20683. "fax": {
  20684. "description": "传真(加密存储)",
  20685. "type": "string"
  20686. },
  20687. "halfbodyphotourl": {
  20688. "description": "半身照地址",
  20689. "type": "string"
  20690. },
  20691. "hasencrypt": {
  20692. "description": "数据是否已加密 - 0:未加密 1:已加密",
  20693. "type": "integer"
  20694. },
  20695. "headurl": {
  20696. "description": "头像地址",
  20697. "type": "string"
  20698. },
  20699. "legalcardbackphotourl": {
  20700. "description": "法人身份证背面照地址",
  20701. "type": "string"
  20702. },
  20703. "legalcardfrontphotourl": {
  20704. "description": "法人身份证正面照地址",
  20705. "type": "string"
  20706. },
  20707. "legalpersonname": {
  20708. "description": "法人姓名(企业)",
  20709. "type": "string"
  20710. },
  20711. "mobile": {
  20712. "description": "手机号码(加密存储)",
  20713. "type": "string"
  20714. },
  20715. "mobile2": {
  20716. "description": "手机号码[明文-尚志]",
  20717. "type": "string"
  20718. },
  20719. "modifierid": {
  20720. "description": "修改人",
  20721. "type": "integer"
  20722. },
  20723. "modifiertime": {
  20724. "description": "修改时间",
  20725. "type": "string"
  20726. },
  20727. "needinvoice": {
  20728. "description": "是否需要发票 - 0:不需要 1:需要",
  20729. "type": "integer"
  20730. },
  20731. "nickname": {
  20732. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  20733. "type": "string"
  20734. },
  20735. "openmode": {
  20736. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  20737. "type": "integer"
  20738. },
  20739. "otherurl": {
  20740. "description": "其它图片地址[使用分号分隔]",
  20741. "type": "string"
  20742. },
  20743. "postalcode": {
  20744. "description": "邮政编码",
  20745. "type": "string"
  20746. },
  20747. "provinceid": {
  20748. "description": "省",
  20749. "type": "integer"
  20750. },
  20751. "qq": {
  20752. "description": "QQ(加密存储",
  20753. "type": "string"
  20754. },
  20755. "remark": {
  20756. "description": "备注",
  20757. "type": "string"
  20758. },
  20759. "sex": {
  20760. "description": "用户性别 0: 女 1: 男",
  20761. "type": "integer"
  20762. },
  20763. "signpdfurl": {
  20764. "description": "签约pdf文件",
  20765. "type": "string"
  20766. },
  20767. "telphone": {
  20768. "description": "联系电话(加密存储)",
  20769. "type": "string"
  20770. },
  20771. "userid": {
  20772. "description": "用户ID",
  20773. "type": "integer"
  20774. },
  20775. "userinfotype": {
  20776. "description": "用户信息类型 - 1:个人 2:企业",
  20777. "type": "integer"
  20778. },
  20779. "userstatus": {
  20780. "description": "用户状态 - 1:正常 2:注销",
  20781. "type": "integer"
  20782. },
  20783. "usertype": {
  20784. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20785. "type": "integer"
  20786. },
  20787. "wechat": {
  20788. "description": "微信(加密存储)",
  20789. "type": "string"
  20790. },
  20791. "wskhinfo": {
  20792. "description": "开户申请信息(JSON)",
  20793. "type": "string"
  20794. }
  20795. }
  20796. },
  20797. "models.WRSConverTDetail": {
  20798. "type": "object",
  20799. "properties": {
  20800. "convertratio": {
  20801. "description": "套保系数",
  20802. "type": "number"
  20803. },
  20804. "deliverygoodscode": {
  20805. "description": "现货商品代码",
  20806. "type": "string"
  20807. },
  20808. "deliverygoodsid": {
  20809. "description": "现货品种ID",
  20810. "type": "integer"
  20811. },
  20812. "deliverygoodsname": {
  20813. "description": "现货商品名称",
  20814. "type": "string"
  20815. },
  20816. "enumdicname": {
  20817. "description": "单位名称",
  20818. "type": "string"
  20819. },
  20820. "goodsunitid": {
  20821. "description": "套保品种单位id",
  20822. "type": "integer"
  20823. },
  20824. "middlegoodscode": {
  20825. "description": "套保品种代码",
  20826. "type": "string"
  20827. },
  20828. "middlegoodsid": {
  20829. "description": "套保品种ID",
  20830. "type": "integer"
  20831. },
  20832. "middlegoodsname": {
  20833. "description": "套保品种名称",
  20834. "type": "string"
  20835. },
  20836. "modifytime": {
  20837. "description": "修改时间",
  20838. "type": "string"
  20839. },
  20840. "wrstandardid": {
  20841. "description": "品类ID",
  20842. "type": "integer"
  20843. }
  20844. }
  20845. },
  20846. "models.WRStandardInfo": {
  20847. "type": "object",
  20848. "required": [
  20849. "wrstandardid"
  20850. ],
  20851. "properties": {
  20852. "areauserid": {
  20853. "description": "所属机构",
  20854. "type": "integer"
  20855. },
  20856. "convertfactor": {
  20857. "description": "标仓系数",
  20858. "type": "number"
  20859. },
  20860. "createtime": {
  20861. "description": "创建时间",
  20862. "type": "string"
  20863. },
  20864. "creatorid": {
  20865. "description": "创建人",
  20866. "type": "integer"
  20867. },
  20868. "deliverygoodsid": {
  20869. "description": "品种ID",
  20870. "type": "integer"
  20871. },
  20872. "deliverygoodsname": {
  20873. "description": "交割商品名称",
  20874. "type": "string"
  20875. },
  20876. "factoryitemjson": {
  20877. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  20878. "type": "string"
  20879. },
  20880. "isvalid": {
  20881. "description": "是否有效 - 0:无效 1:有效",
  20882. "type": "integer"
  20883. },
  20884. "minivalue": {
  20885. "description": "最小变动值",
  20886. "type": "integer"
  20887. },
  20888. "minivaluedp": {
  20889. "description": "最小变动值小数位",
  20890. "type": "integer"
  20891. },
  20892. "realminivalue": {
  20893. "description": "实际最小变动值",
  20894. "type": "integer"
  20895. },
  20896. "realminivaluedp": {
  20897. "description": "实际最小变动值小数位",
  20898. "type": "integer"
  20899. },
  20900. "remark": {
  20901. "description": "备注",
  20902. "type": "string"
  20903. },
  20904. "unitid": {
  20905. "description": "单位ID",
  20906. "type": "integer"
  20907. },
  20908. "unitname": {
  20909. "description": "单位",
  20910. "type": "string"
  20911. },
  20912. "updatetime": {
  20913. "description": "更新时间",
  20914. "type": "string"
  20915. },
  20916. "updatorid": {
  20917. "description": "更新人",
  20918. "type": "integer"
  20919. },
  20920. "wrsstatus": {
  20921. "description": "状态 - 作废 - 0:未激活 1:正常",
  20922. "type": "integer"
  20923. },
  20924. "wrstandardcode": {
  20925. "description": "现货品类代码",
  20926. "type": "string"
  20927. },
  20928. "wrstandardid": {
  20929. "description": "现货品类ID(SEQ_WRSTANDARD)",
  20930. "type": "integer"
  20931. },
  20932. "wrstandardname": {
  20933. "description": "现货品类名称",
  20934. "type": "string"
  20935. }
  20936. }
  20937. },
  20938. "models.Warehouseinfo": {
  20939. "type": "object",
  20940. "required": [
  20941. "autoid",
  20942. "warehousecode"
  20943. ],
  20944. "properties": {
  20945. "address": {
  20946. "description": "详细地址",
  20947. "type": "string"
  20948. },
  20949. "areauserid": {
  20950. "description": "所属机构",
  20951. "type": "integer"
  20952. },
  20953. "autoid": {
  20954. "description": "自增ID",
  20955. "type": "integer"
  20956. },
  20957. "cityid": {
  20958. "description": "市",
  20959. "type": "integer"
  20960. },
  20961. "contactname": {
  20962. "description": "联系人",
  20963. "type": "string"
  20964. },
  20965. "contactnum": {
  20966. "description": "联系电话",
  20967. "type": "string"
  20968. },
  20969. "countryid": {
  20970. "description": "国家",
  20971. "type": "integer"
  20972. },
  20973. "createtime": {
  20974. "description": "创建时间",
  20975. "type": "string"
  20976. },
  20977. "districtid": {
  20978. "description": "区",
  20979. "type": "integer"
  20980. },
  20981. "hasvideo": {
  20982. "description": "是否有视频 - 0:无 1:有",
  20983. "type": "integer"
  20984. },
  20985. "provinceid": {
  20986. "description": "省",
  20987. "type": "integer"
  20988. },
  20989. "remark": {
  20990. "description": "审核备注",
  20991. "type": "string"
  20992. },
  20993. "videourl": {
  20994. "description": "视频地址",
  20995. "type": "string"
  20996. },
  20997. "warehousecode": {
  20998. "description": "仓库代码",
  20999. "type": "string"
  21000. },
  21001. "warehousename": {
  21002. "description": "仓库名称",
  21003. "type": "string"
  21004. },
  21005. "warehousestatus": {
  21006. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21007. "type": "integer"
  21008. },
  21009. "warehousetype": {
  21010. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21011. "type": "integer"
  21012. }
  21013. }
  21014. },
  21015. "order.QueryHisTradeDetailRsp": {
  21016. "type": "object",
  21017. "required": [
  21018. "accountid",
  21019. "buyorsell",
  21020. "goodsid",
  21021. "histradedate",
  21022. "marketid",
  21023. "memberuserid",
  21024. "orderid",
  21025. "tradeamount",
  21026. "tradedate",
  21027. "tradeid",
  21028. "tradeprice",
  21029. "tradeqty",
  21030. "tradetime"
  21031. ],
  21032. "properties": {
  21033. "accountid": {
  21034. "description": "账户ID[报价币种]",
  21035. "type": "integer"
  21036. },
  21037. "buildtype": {
  21038. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21039. "type": "integer"
  21040. },
  21041. "buyorsell": {
  21042. "description": "方向 - 0:买 1:卖",
  21043. "type": "integer"
  21044. },
  21045. "charge": {
  21046. "description": "手续费",
  21047. "type": "number"
  21048. },
  21049. "closecharge": {
  21050. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21051. "type": "number"
  21052. },
  21053. "closeexchagechargevalue": {
  21054. "description": "平仓交易所手续费设置值",
  21055. "type": "number"
  21056. },
  21057. "closefeealgorithm": {
  21058. "description": "平仓手续费收取方式 1:比率 2:固定",
  21059. "type": "integer"
  21060. },
  21061. "closememberchargevalue": {
  21062. "description": "平仓会员手续费设置值",
  21063. "type": "number"
  21064. },
  21065. "closepl": {
  21066. "description": "平仓盈亏",
  21067. "type": "number"
  21068. },
  21069. "closepl2": {
  21070. "description": "平仓盈亏[逐笔]",
  21071. "type": "number"
  21072. },
  21073. "closeqty": {
  21074. "description": "平仓数量(先建后平操作 需要记录)",
  21075. "type": "integer"
  21076. },
  21077. "creditamount": {
  21078. "description": "授信金额",
  21079. "type": "number"
  21080. },
  21081. "gcaccountid": {
  21082. "description": "账户ID[合约币种]",
  21083. "type": "integer"
  21084. },
  21085. "goodscode": {
  21086. "description": "商品代码",
  21087. "type": "string"
  21088. },
  21089. "goodsid": {
  21090. "description": "商品ID",
  21091. "type": "integer"
  21092. },
  21093. "goodsname": {
  21094. "description": "商品名称",
  21095. "type": "string"
  21096. },
  21097. "histradedate": {
  21098. "description": "历史交易日",
  21099. "type": "string"
  21100. },
  21101. "intclosepl": {
  21102. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21103. "type": "integer"
  21104. },
  21105. "isconfirmexercise": {
  21106. "description": "是否确认行权- 0:否 1:是",
  21107. "type": "integer"
  21108. },
  21109. "ismain": {
  21110. "description": "是否主单 - 0:不是 1:是",
  21111. "type": "integer"
  21112. },
  21113. "ispreexercise": {
  21114. "description": "是否预申报- 0:否 1:是",
  21115. "type": "integer"
  21116. },
  21117. "isreckoned": {
  21118. "description": "是否结算 - 0:未结算 1:已结算",
  21119. "type": "integer"
  21120. },
  21121. "isvaliddata": {
  21122. "description": "是否有效 - 0:无效 1:有效",
  21123. "type": "integer"
  21124. },
  21125. "listingselecttype": {
  21126. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21127. "type": "integer"
  21128. },
  21129. "marketid": {
  21130. "description": "市场ID",
  21131. "type": "integer"
  21132. },
  21133. "marketname": {
  21134. "description": "市场名称",
  21135. "type": "string"
  21136. },
  21137. "matchaccountid": {
  21138. "description": "对手账号id",
  21139. "type": "integer"
  21140. },
  21141. "memberuserid": {
  21142. "description": "会员id 个人投资者 需要填写",
  21143. "type": "integer"
  21144. },
  21145. "opencharge": {
  21146. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21147. "type": "number"
  21148. },
  21149. "openexchagechargevalue": {
  21150. "description": "建仓交易所手续费设置值",
  21151. "type": "number"
  21152. },
  21153. "openfeealgorithm": {
  21154. "description": "建仓手续费收取方式 1:比率 2:固定",
  21155. "type": "integer"
  21156. },
  21157. "openmemberchargevalue": {
  21158. "description": "建仓会员手续费设置值",
  21159. "type": "number"
  21160. },
  21161. "openqty": {
  21162. "description": "开仓数量(先建后平操作 需要记录)",
  21163. "type": "integer"
  21164. },
  21165. "optiontype": {
  21166. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21167. "type": "integer"
  21168. },
  21169. "orderid": {
  21170. "description": "委托单号",
  21171. "type": "string"
  21172. },
  21173. "performanceplanid": {
  21174. "description": "履约计划ID[期权]",
  21175. "type": "integer"
  21176. },
  21177. "performancestatus": {
  21178. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21179. "type": "integer"
  21180. },
  21181. "preexerciseprice": {
  21182. "description": "预申报价格",
  21183. "type": "number"
  21184. },
  21185. "premium": {
  21186. "description": "权利金 - [持仓单的权利金]",
  21187. "type": "number"
  21188. },
  21189. "relatedouttradeid": {
  21190. "description": "关联外部成交单ID",
  21191. "type": "integer"
  21192. },
  21193. "status": {
  21194. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21195. "type": "integer"
  21196. },
  21197. "tradeamount": {
  21198. "description": "成交金额[账户币种,用于所有权]",
  21199. "type": "number"
  21200. },
  21201. "tradedate": {
  21202. "description": "交易日(yyyyMMdd)",
  21203. "type": "string"
  21204. },
  21205. "tradeid": {
  21206. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21207. "type": "string"
  21208. },
  21209. "trademode": {
  21210. "description": "交易模式",
  21211. "type": "integer"
  21212. },
  21213. "tradeprice": {
  21214. "description": "成交价格",
  21215. "type": "number"
  21216. },
  21217. "tradeproperty": {
  21218. "description": "交易属性",
  21219. "type": "integer"
  21220. },
  21221. "tradeqty": {
  21222. "description": "成交数量",
  21223. "type": "integer"
  21224. },
  21225. "tradetime": {
  21226. "description": "成交时间",
  21227. "type": "string"
  21228. },
  21229. "tradetype": {
  21230. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21231. "type": "integer"
  21232. }
  21233. }
  21234. },
  21235. "order.QueryHisTradeOrderDetailRsp": {
  21236. "type": "object",
  21237. "required": [
  21238. "accountid",
  21239. "buildtype",
  21240. "buyorsell",
  21241. "goodsid",
  21242. "histradedate",
  21243. "marketid",
  21244. "memberuserid",
  21245. "operatetype",
  21246. "orderid",
  21247. "orderqty",
  21248. "ordertime",
  21249. "pricemode",
  21250. "tradedate",
  21251. "validtype"
  21252. ],
  21253. "properties": {
  21254. "accountid": {
  21255. "description": "账户ID[报价币种]",
  21256. "type": "integer"
  21257. },
  21258. "buildtype": {
  21259. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21260. "type": "integer"
  21261. },
  21262. "buyorsell": {
  21263. "description": "买卖 - 0:买 1:卖",
  21264. "type": "integer"
  21265. },
  21266. "cancelorderid": {
  21267. "description": "撤单单号(撤单时填写)",
  21268. "type": "string"
  21269. },
  21270. "cancelqty": {
  21271. "description": "撤单数量",
  21272. "type": "integer"
  21273. },
  21274. "clientordertime": {
  21275. "description": "客户端委托时间",
  21276. "type": "string"
  21277. },
  21278. "clientticket": {
  21279. "description": "客户端流水号",
  21280. "type": "string"
  21281. },
  21282. "clienttype": {
  21283. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21284. "type": "integer"
  21285. },
  21286. "closeexchagechargevalue": {
  21287. "description": "平仓交易所手续费设置值",
  21288. "type": "number"
  21289. },
  21290. "closefeealgorithm": {
  21291. "description": "平仓手续费收取方式 1:比率 2:固定",
  21292. "type": "integer"
  21293. },
  21294. "closefreezecharge": {
  21295. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21296. "type": "number"
  21297. },
  21298. "closememberchargevalue": {
  21299. "description": "平仓会员手续费设置值",
  21300. "type": "number"
  21301. },
  21302. "closeqty": {
  21303. "description": "平仓数量(先建后平操作 需要记录)",
  21304. "type": "integer"
  21305. },
  21306. "closetradeqty": {
  21307. "description": "平仓成交数量(先建后平操作,需要记录)",
  21308. "type": "integer"
  21309. },
  21310. "closeunfreezecharge": {
  21311. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21312. "type": "number"
  21313. },
  21314. "delistingtype": {
  21315. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21316. "type": "integer"
  21317. },
  21318. "freezecharge": {
  21319. "description": "冻结手续费",
  21320. "type": "number"
  21321. },
  21322. "freezemargin": {
  21323. "description": "冻结保证金(冻结交易金额)",
  21324. "type": "number"
  21325. },
  21326. "gcaccountid": {
  21327. "description": "账户ID[合约币种]",
  21328. "type": "integer"
  21329. },
  21330. "goodscode": {
  21331. "description": "商品代码",
  21332. "type": "string"
  21333. },
  21334. "goodsid": {
  21335. "description": "商品ID",
  21336. "type": "integer"
  21337. },
  21338. "goodsname": {
  21339. "description": "商品名称",
  21340. "type": "string"
  21341. },
  21342. "histradedate": {
  21343. "description": "历史交易日",
  21344. "type": "string"
  21345. },
  21346. "isconfirmexercise": {
  21347. "description": "是否确认行权- 0:否 1:是",
  21348. "type": "integer"
  21349. },
  21350. "ispreexercise": {
  21351. "description": "是否预申报- 0:否 1:是",
  21352. "type": "integer"
  21353. },
  21354. "isvaliddata": {
  21355. "description": "是否有效 - 0:无效 1:有效",
  21356. "type": "integer"
  21357. },
  21358. "listingselecttype": {
  21359. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21360. "type": "integer"
  21361. },
  21362. "marginalgorithm": {
  21363. "description": "保证金收取方式 1:比率 2:固定",
  21364. "type": "integer"
  21365. },
  21366. "marginvalue": {
  21367. "description": "即市保证金设置值",
  21368. "type": "number"
  21369. },
  21370. "marketid": {
  21371. "description": "市场ID",
  21372. "type": "integer"
  21373. },
  21374. "marketmaxsub": {
  21375. "description": "市价最大偏移范围",
  21376. "type": "number"
  21377. },
  21378. "marketname": {
  21379. "description": "市场名称",
  21380. "type": "string"
  21381. },
  21382. "memberuserid": {
  21383. "description": "所属会员UserID",
  21384. "type": "integer"
  21385. },
  21386. "openexchagechargevalue": {
  21387. "description": "建仓交易所手续费设置值",
  21388. "type": "number"
  21389. },
  21390. "openfeealgorithm": {
  21391. "description": "建仓手续费收取方式 1:比率 2:固定",
  21392. "type": "integer"
  21393. },
  21394. "openfreezecharge": {
  21395. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21396. "type": "number"
  21397. },
  21398. "openmemberchargevalue": {
  21399. "description": "建仓会员手续费设置值",
  21400. "type": "number"
  21401. },
  21402. "openqty": {
  21403. "description": "开仓数量(先建后平操作,需要记录)",
  21404. "type": "integer"
  21405. },
  21406. "opentradeqty": {
  21407. "description": "开仓成交数量(先建后平操作,需要记录)",
  21408. "type": "integer"
  21409. },
  21410. "openunfreezecharge": {
  21411. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21412. "type": "number"
  21413. },
  21414. "operatetype": {
  21415. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21416. "type": "integer"
  21417. },
  21418. "operatorid": {
  21419. "description": "登录账号(LoginID)",
  21420. "type": "integer"
  21421. },
  21422. "optiontype": {
  21423. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21424. "type": "integer"
  21425. },
  21426. "orderid": {
  21427. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21428. "type": "string"
  21429. },
  21430. "orderprice": {
  21431. "description": "委托价格",
  21432. "type": "number"
  21433. },
  21434. "orderqty": {
  21435. "description": "委托数量",
  21436. "type": "integer"
  21437. },
  21438. "ordersrc": {
  21439. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21440. "type": "integer"
  21441. },
  21442. "orderstatus": {
  21443. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21444. "type": "integer"
  21445. },
  21446. "ordertime": {
  21447. "description": "委托时间",
  21448. "type": "string"
  21449. },
  21450. "preexerciseprice": {
  21451. "description": "预申报价格",
  21452. "type": "number"
  21453. },
  21454. "premium": {
  21455. "description": "权利金",
  21456. "type": "number"
  21457. },
  21458. "preorderid": {
  21459. "description": "关联预埋单号(止盈止损单时填写)",
  21460. "type": "string"
  21461. },
  21462. "pricemode": {
  21463. "description": "取价方式 - 1:市价 2: 限价",
  21464. "type": "integer"
  21465. },
  21466. "quoteid": {
  21467. "description": "报价单ID",
  21468. "type": "integer"
  21469. },
  21470. "relatedid": {
  21471. "description": "关联单号(交割单)",
  21472. "type": "string"
  21473. },
  21474. "retcode": {
  21475. "description": "错误代码",
  21476. "type": "integer"
  21477. },
  21478. "sessionid": {
  21479. "description": "会话ID",
  21480. "type": "integer"
  21481. },
  21482. "tradedate": {
  21483. "description": "交易日(yyyyMMdd)",
  21484. "type": "string"
  21485. },
  21486. "trademode": {
  21487. "description": "交易模式",
  21488. "type": "integer"
  21489. },
  21490. "tradeproperty": {
  21491. "description": "交易属性",
  21492. "type": "integer"
  21493. },
  21494. "tradeqty": {
  21495. "description": "成交数量",
  21496. "type": "integer"
  21497. },
  21498. "unfreezecharge": {
  21499. "description": "解冻手续费",
  21500. "type": "number"
  21501. },
  21502. "unfreezemargin": {
  21503. "description": "解冻保证金",
  21504. "type": "number"
  21505. },
  21506. "updatetime": {
  21507. "description": "更新时间",
  21508. "type": "string"
  21509. },
  21510. "uuid": {
  21511. "description": "发起端唯一id",
  21512. "type": "string"
  21513. },
  21514. "validtime": {
  21515. "description": "有效期限",
  21516. "type": "string"
  21517. },
  21518. "validtype": {
  21519. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21520. "type": "integer"
  21521. },
  21522. "volumetype": {
  21523. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21524. "type": "integer"
  21525. }
  21526. }
  21527. },
  21528. "order.QueryTradeDetailRsp": {
  21529. "type": "object",
  21530. "required": [
  21531. "accountid",
  21532. "buyorsell",
  21533. "goodsid",
  21534. "marketid",
  21535. "memberuserid",
  21536. "orderid",
  21537. "tradeamount",
  21538. "tradedate",
  21539. "tradeid",
  21540. "tradeprice",
  21541. "tradeqty",
  21542. "tradetime"
  21543. ],
  21544. "properties": {
  21545. "accountid": {
  21546. "description": "账户ID[报价币种]",
  21547. "type": "integer"
  21548. },
  21549. "buildtype": {
  21550. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21551. "type": "integer"
  21552. },
  21553. "buyorsell": {
  21554. "description": "方向 - 0:买 1:卖",
  21555. "type": "integer"
  21556. },
  21557. "charge": {
  21558. "description": "手续费",
  21559. "type": "number"
  21560. },
  21561. "closecharge": {
  21562. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21563. "type": "number"
  21564. },
  21565. "closeexchagechargevalue": {
  21566. "description": "平仓交易所手续费设置值",
  21567. "type": "number"
  21568. },
  21569. "closefeealgorithm": {
  21570. "description": "平仓手续费收取方式 1:比率 2:固定",
  21571. "type": "integer"
  21572. },
  21573. "closememberchargevalue": {
  21574. "description": "平仓会员手续费设置值",
  21575. "type": "number"
  21576. },
  21577. "closepl": {
  21578. "description": "平仓盈亏",
  21579. "type": "number"
  21580. },
  21581. "closepl2": {
  21582. "description": "平仓盈亏[逐笔]",
  21583. "type": "number"
  21584. },
  21585. "closeqty": {
  21586. "description": "平仓数量(先建后平操作 需要记录)",
  21587. "type": "integer"
  21588. },
  21589. "creditamount": {
  21590. "description": "授信金额",
  21591. "type": "number"
  21592. },
  21593. "gcaccountid": {
  21594. "description": "账户ID[合约币种]",
  21595. "type": "integer"
  21596. },
  21597. "goodscode": {
  21598. "description": "商品代码",
  21599. "type": "string"
  21600. },
  21601. "goodsid": {
  21602. "description": "商品ID",
  21603. "type": "integer"
  21604. },
  21605. "goodsname": {
  21606. "description": "商品名称",
  21607. "type": "string"
  21608. },
  21609. "intclosepl": {
  21610. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21611. "type": "integer"
  21612. },
  21613. "isconfirmexercise": {
  21614. "description": "是否确认行权- 0:否 1:是",
  21615. "type": "integer"
  21616. },
  21617. "ismain": {
  21618. "description": "是否主单 - 0:不是 1:是",
  21619. "type": "integer"
  21620. },
  21621. "ispreexercise": {
  21622. "description": "是否预申报- 0:否 1:是",
  21623. "type": "integer"
  21624. },
  21625. "isreckoned": {
  21626. "description": "是否结算 - 0:未结算 1:已结算",
  21627. "type": "integer"
  21628. },
  21629. "listingselecttype": {
  21630. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21631. "type": "integer"
  21632. },
  21633. "marketid": {
  21634. "description": "市场ID",
  21635. "type": "integer"
  21636. },
  21637. "marketname": {
  21638. "description": "市场名称",
  21639. "type": "string"
  21640. },
  21641. "matchaccountid": {
  21642. "description": "对手账号id",
  21643. "type": "integer"
  21644. },
  21645. "memberuserid": {
  21646. "description": "会员id 个人投资者 需要填写",
  21647. "type": "integer"
  21648. },
  21649. "opencharge": {
  21650. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21651. "type": "number"
  21652. },
  21653. "openexchagechargevalue": {
  21654. "description": "建仓交易所手续费设置值",
  21655. "type": "number"
  21656. },
  21657. "openfeealgorithm": {
  21658. "description": "建仓手续费收取方式 1:比率 2:固定",
  21659. "type": "integer"
  21660. },
  21661. "openmemberchargevalue": {
  21662. "description": "建仓会员手续费设置值",
  21663. "type": "number"
  21664. },
  21665. "openqty": {
  21666. "description": "开仓数量(先建后平操作 需要记录)",
  21667. "type": "integer"
  21668. },
  21669. "optiontype": {
  21670. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21671. "type": "integer"
  21672. },
  21673. "orderid": {
  21674. "description": "委托单号",
  21675. "type": "string"
  21676. },
  21677. "performanceplanid": {
  21678. "description": "履约计划ID[期权]",
  21679. "type": "integer"
  21680. },
  21681. "performancestatus": {
  21682. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21683. "type": "integer"
  21684. },
  21685. "preexerciseprice": {
  21686. "description": "预申报价格",
  21687. "type": "number"
  21688. },
  21689. "premium": {
  21690. "description": "权利金 - [持仓单的权利金]",
  21691. "type": "number"
  21692. },
  21693. "relatedouttradeid": {
  21694. "description": "关联外部成交单ID",
  21695. "type": "integer"
  21696. },
  21697. "status": {
  21698. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21699. "type": "integer"
  21700. },
  21701. "tradeamount": {
  21702. "description": "成交金额[账户币种,用于所有权]",
  21703. "type": "number"
  21704. },
  21705. "tradedate": {
  21706. "description": "交易日(yyyyMMdd)",
  21707. "type": "string"
  21708. },
  21709. "tradeid": {
  21710. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21711. "type": "string"
  21712. },
  21713. "trademode": {
  21714. "description": "交易模式",
  21715. "type": "integer"
  21716. },
  21717. "tradeprice": {
  21718. "description": "成交价格",
  21719. "type": "number"
  21720. },
  21721. "tradeproperty": {
  21722. "description": "交易属性",
  21723. "type": "integer"
  21724. },
  21725. "tradeqty": {
  21726. "description": "成交数量",
  21727. "type": "integer"
  21728. },
  21729. "tradetime": {
  21730. "description": "成交时间",
  21731. "type": "string"
  21732. },
  21733. "tradetype": {
  21734. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21735. "type": "integer"
  21736. }
  21737. }
  21738. },
  21739. "order.QueryTradeOrderDetailRsp": {
  21740. "type": "object",
  21741. "required": [
  21742. "accountid",
  21743. "buildtype",
  21744. "buyorsell",
  21745. "goodsid",
  21746. "marketid",
  21747. "operatetype",
  21748. "orderqty",
  21749. "ordertime",
  21750. "pricemode",
  21751. "tradedate",
  21752. "validtype"
  21753. ],
  21754. "properties": {
  21755. "accountid": {
  21756. "description": "账户ID[报价币种]",
  21757. "type": "integer"
  21758. },
  21759. "buildtype": {
  21760. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21761. "type": "integer"
  21762. },
  21763. "buyorsell": {
  21764. "description": "买卖 - 0:买 1:卖",
  21765. "type": "integer"
  21766. },
  21767. "cancelorderid": {
  21768. "description": "撤单单号(撤单时填写)",
  21769. "type": "string"
  21770. },
  21771. "cancelqty": {
  21772. "description": "撤单数量",
  21773. "type": "integer"
  21774. },
  21775. "clienttype": {
  21776. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21777. "type": "integer"
  21778. },
  21779. "closefreezecharge": {
  21780. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21781. "type": "number"
  21782. },
  21783. "closeqty": {
  21784. "description": "平仓数量(先建后平操作 需要记录)",
  21785. "type": "integer"
  21786. },
  21787. "closetradeqty": {
  21788. "description": "平仓成交数量(先建后平操作,需要记录)",
  21789. "type": "integer"
  21790. },
  21791. "closeunfreezecharge": {
  21792. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21793. "type": "number"
  21794. },
  21795. "delistingtype": {
  21796. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21797. "type": "integer"
  21798. },
  21799. "enableqty": {
  21800. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  21801. "type": "integer"
  21802. },
  21803. "freezecharge": {
  21804. "description": "冻结手续费",
  21805. "type": "number"
  21806. },
  21807. "freezemargin": {
  21808. "description": "冻结保证金(冻结交易金额)",
  21809. "type": "number"
  21810. },
  21811. "goodscode": {
  21812. "description": "商品代码",
  21813. "type": "string"
  21814. },
  21815. "goodsid": {
  21816. "description": "商品ID",
  21817. "type": "integer"
  21818. },
  21819. "goodsname": {
  21820. "description": "商品名称",
  21821. "type": "string"
  21822. },
  21823. "listingselecttype": {
  21824. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21825. "type": "integer"
  21826. },
  21827. "marketid": {
  21828. "description": "市场ID",
  21829. "type": "integer"
  21830. },
  21831. "marketname": {
  21832. "description": "市场名称",
  21833. "type": "string"
  21834. },
  21835. "openfreezecharge": {
  21836. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21837. "type": "number"
  21838. },
  21839. "openqty": {
  21840. "description": "开仓数量(先建后平操作,需要记录)",
  21841. "type": "integer"
  21842. },
  21843. "opentradeqty": {
  21844. "description": "开仓成交数量(先建后平操作,需要记录)",
  21845. "type": "integer"
  21846. },
  21847. "openunfreezecharge": {
  21848. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21849. "type": "number"
  21850. },
  21851. "operatetype": {
  21852. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21853. "type": "integer"
  21854. },
  21855. "operatorid": {
  21856. "description": "登录账号(LoginID)",
  21857. "type": "integer"
  21858. },
  21859. "orderid": {
  21860. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21861. "type": "string"
  21862. },
  21863. "orderprice": {
  21864. "description": "委托价格",
  21865. "type": "number"
  21866. },
  21867. "orderqty": {
  21868. "description": "委托数量",
  21869. "type": "integer"
  21870. },
  21871. "ordersrc": {
  21872. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21873. "type": "integer"
  21874. },
  21875. "orderstatus": {
  21876. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21877. "type": "integer"
  21878. },
  21879. "ordertime": {
  21880. "description": "委托时间",
  21881. "type": "string"
  21882. },
  21883. "preorderid": {
  21884. "description": "关联预埋单号(止盈止损单时填写)",
  21885. "type": "string"
  21886. },
  21887. "pricemode": {
  21888. "description": "取价方式 - 1:市价 2: 限价",
  21889. "type": "integer"
  21890. },
  21891. "relatedid": {
  21892. "description": "关联单号(交割单)",
  21893. "type": "string"
  21894. },
  21895. "tradedate": {
  21896. "description": "交易日(yyyyMMdd)",
  21897. "type": "string"
  21898. },
  21899. "trademode": {
  21900. "description": "交易模式",
  21901. "type": "integer"
  21902. },
  21903. "tradeqty": {
  21904. "description": "成交数量",
  21905. "type": "integer"
  21906. },
  21907. "unfreezecharge": {
  21908. "description": "解冻手续费",
  21909. "type": "number"
  21910. },
  21911. "unfreezemargin": {
  21912. "description": "解冻保证金",
  21913. "type": "number"
  21914. },
  21915. "validtime": {
  21916. "description": "有效期限",
  21917. "type": "string"
  21918. },
  21919. "validtype": {
  21920. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21921. "type": "integer"
  21922. },
  21923. "volumetype": {
  21924. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21925. "type": "integer"
  21926. }
  21927. }
  21928. },
  21929. "order.QueryTradePositionRsp": {
  21930. "type": "object",
  21931. "required": [
  21932. "goodsid"
  21933. ],
  21934. "properties": {
  21935. "accountid": {
  21936. "description": "资金账户",
  21937. "type": "integer"
  21938. },
  21939. "agreeunit": {
  21940. "description": "合约单位",
  21941. "type": "number"
  21942. },
  21943. "averageprice": {
  21944. "description": "持仓均价",
  21945. "type": "number"
  21946. },
  21947. "buyorsell": {
  21948. "description": "方向 - 0:买 1:卖",
  21949. "type": "integer"
  21950. },
  21951. "closetotalqty": {
  21952. "description": "平仓总数量",
  21953. "type": "integer"
  21954. },
  21955. "curholderamount": {
  21956. "description": "当前持仓总金额[商品币种]",
  21957. "type": "number"
  21958. },
  21959. "curpositionqty": {
  21960. "description": "当前持仓总数量",
  21961. "type": "integer"
  21962. },
  21963. "currencyid": {
  21964. "description": "报价货币ID",
  21965. "type": "integer"
  21966. },
  21967. "curtdposition": {
  21968. "description": "期末今日头寸",
  21969. "type": "integer"
  21970. },
  21971. "decimalplace": {
  21972. "description": "报价小数位",
  21973. "type": "integer"
  21974. },
  21975. "enableqty": {
  21976. "description": "可用量",
  21977. "type": "integer"
  21978. },
  21979. "fretdposition": {
  21980. "description": "冻结今日头寸",
  21981. "type": "integer"
  21982. },
  21983. "frozenqty": {
  21984. "description": "持仓冻结数量",
  21985. "type": "integer"
  21986. },
  21987. "goodscode": {
  21988. "description": "商品代码",
  21989. "type": "string"
  21990. },
  21991. "goodsid": {
  21992. "description": "商品Id",
  21993. "type": "integer"
  21994. },
  21995. "goodsname": {
  21996. "description": "商品名称",
  21997. "type": "string"
  21998. },
  21999. "goodunit": {
  22000. "description": "报价单位",
  22001. "type": "string"
  22002. },
  22003. "goodunitid": {
  22004. "description": "报价单位ID",
  22005. "type": "integer"
  22006. },
  22007. "holderamount": {
  22008. "description": "期初持仓总金额[商品币种]",
  22009. "type": "number"
  22010. },
  22011. "marketid": {
  22012. "description": "所属市场ID",
  22013. "type": "integer"
  22014. },
  22015. "openreqqty": {
  22016. "description": "开仓申请数量(用于比较最大持仓数量)",
  22017. "type": "integer"
  22018. },
  22019. "opentotalqty": {
  22020. "description": "开仓总数量",
  22021. "type": "integer"
  22022. },
  22023. "otherfrozenqty": {
  22024. "description": "持仓其他冻结数量(交割冻结)",
  22025. "type": "integer"
  22026. },
  22027. "positionqty": {
  22028. "description": "期初持仓数量",
  22029. "type": "integer"
  22030. },
  22031. "tnqty": {
  22032. "description": "T+N冻结总量",
  22033. "type": "integer"
  22034. },
  22035. "tnusedqty": {
  22036. "description": "T+N使用量(可以使用T+N的冻结数量)",
  22037. "type": "integer"
  22038. },
  22039. "trademode": {
  22040. "description": "交易模式",
  22041. "type": "integer"
  22042. },
  22043. "usedmargin": {
  22044. "description": "占用保证金[商品币种]",
  22045. "type": "number"
  22046. }
  22047. }
  22048. },
  22049. "quote.HistoryData": {
  22050. "type": "object",
  22051. "properties": {
  22052. "c": {
  22053. "description": "收盘价",
  22054. "type": "number"
  22055. },
  22056. "f": {
  22057. "description": "是否补充数据",
  22058. "type": "boolean"
  22059. },
  22060. "h": {
  22061. "description": "最高价",
  22062. "type": "number"
  22063. },
  22064. "hv": {
  22065. "description": "持仓量",
  22066. "type": "integer"
  22067. },
  22068. "l": {
  22069. "description": "最低价",
  22070. "type": "number"
  22071. },
  22072. "o": {
  22073. "description": "开盘价",
  22074. "type": "number"
  22075. },
  22076. "s": {
  22077. "description": "结算价,日线周期(包括)以上才有",
  22078. "type": "number"
  22079. },
  22080. "ts": {
  22081. "description": "时间",
  22082. "type": "string"
  22083. },
  22084. "tt": {
  22085. "description": "总金额",
  22086. "type": "number"
  22087. },
  22088. "tv": {
  22089. "description": "总量",
  22090. "type": "integer"
  22091. }
  22092. }
  22093. },
  22094. "quote.HistoryTikData": {
  22095. "type": "object",
  22096. "properties": {
  22097. "AV": {
  22098. "description": "卖量",
  22099. "type": "integer"
  22100. },
  22101. "Ask": {
  22102. "description": "卖价",
  22103. "type": "number"
  22104. },
  22105. "BV": {
  22106. "description": "买量",
  22107. "type": "integer"
  22108. },
  22109. "Bid": {
  22110. "description": "买价",
  22111. "type": "number"
  22112. },
  22113. "HI": {
  22114. "description": "单笔持仓",
  22115. "type": "integer"
  22116. },
  22117. "HV": {
  22118. "description": "持仓量",
  22119. "type": "integer"
  22120. },
  22121. "PE": {
  22122. "description": "现价",
  22123. "type": "number"
  22124. },
  22125. "TDR": {
  22126. "description": "交易方向,0:买 1:卖",
  22127. "type": "integer"
  22128. },
  22129. "TK": {
  22130. "description": "交易类型",
  22131. "type": "integer"
  22132. },
  22133. "TS": {
  22134. "description": "行情时间文本",
  22135. "type": "string"
  22136. },
  22137. "TT": {
  22138. "description": "现金额",
  22139. "type": "number"
  22140. },
  22141. "Vol": {
  22142. "description": "现量",
  22143. "type": "integer"
  22144. }
  22145. }
  22146. },
  22147. "quote.QueryQuoteDayRsp": {
  22148. "type": "object",
  22149. "properties": {
  22150. "ask": {
  22151. "description": "卖1",
  22152. "type": "number"
  22153. },
  22154. "ask10": {
  22155. "description": "卖10",
  22156. "type": "number"
  22157. },
  22158. "ask2": {
  22159. "description": "卖2",
  22160. "type": "number"
  22161. },
  22162. "ask3": {
  22163. "description": "卖3",
  22164. "type": "number"
  22165. },
  22166. "ask4": {
  22167. "description": "卖4",
  22168. "type": "number"
  22169. },
  22170. "ask5": {
  22171. "description": "卖5",
  22172. "type": "number"
  22173. },
  22174. "ask6": {
  22175. "description": "卖6",
  22176. "type": "number"
  22177. },
  22178. "ask7": {
  22179. "description": "卖7",
  22180. "type": "number"
  22181. },
  22182. "ask8": {
  22183. "description": "卖8",
  22184. "type": "number"
  22185. },
  22186. "ask9": {
  22187. "description": "卖9",
  22188. "type": "number"
  22189. },
  22190. "askorderid": {
  22191. "description": "卖单号1",
  22192. "type": "integer"
  22193. },
  22194. "askorderid2": {
  22195. "description": "卖单号2",
  22196. "type": "integer"
  22197. },
  22198. "askorderid3": {
  22199. "description": "卖单号3",
  22200. "type": "integer"
  22201. },
  22202. "askorderid4": {
  22203. "description": "卖单号4",
  22204. "type": "integer"
  22205. },
  22206. "askorderid5": {
  22207. "description": "卖单号5",
  22208. "type": "integer"
  22209. },
  22210. "askordervolume": {
  22211. "description": "卖单量1",
  22212. "type": "integer"
  22213. },
  22214. "askordervolume10": {
  22215. "description": "卖单量10",
  22216. "type": "integer"
  22217. },
  22218. "askordervolume2": {
  22219. "description": "卖单量2",
  22220. "type": "integer"
  22221. },
  22222. "askordervolume3": {
  22223. "description": "卖单量3",
  22224. "type": "integer"
  22225. },
  22226. "askordervolume4": {
  22227. "description": "卖单量4",
  22228. "type": "integer"
  22229. },
  22230. "askordervolume5": {
  22231. "description": "卖单量5",
  22232. "type": "integer"
  22233. },
  22234. "askordervolume6": {
  22235. "description": "卖单量6",
  22236. "type": "integer"
  22237. },
  22238. "askordervolume7": {
  22239. "description": "卖单量7",
  22240. "type": "integer"
  22241. },
  22242. "askordervolume8": {
  22243. "description": "卖单量8",
  22244. "type": "integer"
  22245. },
  22246. "askordervolume9": {
  22247. "description": "卖单量9",
  22248. "type": "integer"
  22249. },
  22250. "askqueueinfo": {
  22251. "description": "大利市卖港股用",
  22252. "type": "string"
  22253. },
  22254. "askvolume": {
  22255. "description": "卖量1",
  22256. "type": "integer"
  22257. },
  22258. "askvolume10": {
  22259. "description": "卖量10",
  22260. "type": "integer"
  22261. },
  22262. "askvolume2": {
  22263. "description": "卖量2",
  22264. "type": "integer"
  22265. },
  22266. "askvolume3": {
  22267. "description": "卖量3",
  22268. "type": "integer"
  22269. },
  22270. "askvolume4": {
  22271. "description": "卖量4",
  22272. "type": "integer"
  22273. },
  22274. "askvolume5": {
  22275. "description": "卖量5",
  22276. "type": "integer"
  22277. },
  22278. "askvolume6": {
  22279. "description": "卖量6",
  22280. "type": "integer"
  22281. },
  22282. "askvolume7": {
  22283. "description": "卖量7",
  22284. "type": "integer"
  22285. },
  22286. "askvolume8": {
  22287. "description": "卖量8",
  22288. "type": "integer"
  22289. },
  22290. "askvolume9": {
  22291. "description": "卖量9",
  22292. "type": "integer"
  22293. },
  22294. "averageprice": {
  22295. "description": "均价",
  22296. "type": "number"
  22297. },
  22298. "bid": {
  22299. "description": "买1",
  22300. "type": "number"
  22301. },
  22302. "bid10": {
  22303. "description": "买10",
  22304. "type": "number"
  22305. },
  22306. "bid2": {
  22307. "description": "买2",
  22308. "type": "number"
  22309. },
  22310. "bid3": {
  22311. "description": "买3",
  22312. "type": "number"
  22313. },
  22314. "bid4": {
  22315. "description": "买4",
  22316. "type": "number"
  22317. },
  22318. "bid5": {
  22319. "description": "买5",
  22320. "type": "number"
  22321. },
  22322. "bid6": {
  22323. "description": "买6",
  22324. "type": "number"
  22325. },
  22326. "bid7": {
  22327. "description": "买7",
  22328. "type": "number"
  22329. },
  22330. "bid8": {
  22331. "description": "买8",
  22332. "type": "number"
  22333. },
  22334. "bid9": {
  22335. "description": "买9",
  22336. "type": "number"
  22337. },
  22338. "bidorderid": {
  22339. "description": "买单号1",
  22340. "type": "integer"
  22341. },
  22342. "bidorderid2": {
  22343. "description": "买单号2",
  22344. "type": "integer"
  22345. },
  22346. "bidorderid3": {
  22347. "description": "买单号3",
  22348. "type": "integer"
  22349. },
  22350. "bidorderid4": {
  22351. "description": "买单号4",
  22352. "type": "integer"
  22353. },
  22354. "bidorderid5": {
  22355. "description": "买单号5",
  22356. "type": "integer"
  22357. },
  22358. "bidordervolume": {
  22359. "description": "买单量1",
  22360. "type": "integer"
  22361. },
  22362. "bidordervolume10": {
  22363. "description": "买单量10",
  22364. "type": "integer"
  22365. },
  22366. "bidordervolume2": {
  22367. "description": "买单量2",
  22368. "type": "integer"
  22369. },
  22370. "bidordervolume3": {
  22371. "description": "买单量3",
  22372. "type": "integer"
  22373. },
  22374. "bidordervolume4": {
  22375. "description": "买单量4",
  22376. "type": "integer"
  22377. },
  22378. "bidordervolume5": {
  22379. "description": "买单量5",
  22380. "type": "integer"
  22381. },
  22382. "bidordervolume6": {
  22383. "description": "买单量6",
  22384. "type": "integer"
  22385. },
  22386. "bidordervolume7": {
  22387. "description": "买单量7",
  22388. "type": "integer"
  22389. },
  22390. "bidordervolume8": {
  22391. "description": "买单量8",
  22392. "type": "integer"
  22393. },
  22394. "bidordervolume9": {
  22395. "description": "买单量9",
  22396. "type": "integer"
  22397. },
  22398. "bidqueueinfo": {
  22399. "description": "大利市买港股用",
  22400. "type": "string"
  22401. },
  22402. "bidvolume": {
  22403. "description": "买量1",
  22404. "type": "integer"
  22405. },
  22406. "bidvolume10": {
  22407. "description": "买量10",
  22408. "type": "integer"
  22409. },
  22410. "bidvolume2": {
  22411. "description": "买量2",
  22412. "type": "integer"
  22413. },
  22414. "bidvolume3": {
  22415. "description": "买量3",
  22416. "type": "integer"
  22417. },
  22418. "bidvolume4": {
  22419. "description": "买量4",
  22420. "type": "integer"
  22421. },
  22422. "bidvolume5": {
  22423. "description": "买量5",
  22424. "type": "integer"
  22425. },
  22426. "bidvolume6": {
  22427. "description": "买量6",
  22428. "type": "integer"
  22429. },
  22430. "bidvolume7": {
  22431. "description": "买量7",
  22432. "type": "integer"
  22433. },
  22434. "bidvolume8": {
  22435. "description": "买量8",
  22436. "type": "integer"
  22437. },
  22438. "bidvolume9": {
  22439. "description": "买量9",
  22440. "type": "integer"
  22441. },
  22442. "calloptionpremiums": {
  22443. "description": "认购期权1",
  22444. "type": "integer"
  22445. },
  22446. "calloptionpremiums2": {
  22447. "description": "认购期权2",
  22448. "type": "integer"
  22449. },
  22450. "calloptionpremiums3": {
  22451. "description": "认购期权3",
  22452. "type": "integer"
  22453. },
  22454. "calloptionpremiums4": {
  22455. "description": "认购期权4",
  22456. "type": "integer"
  22457. },
  22458. "calloptionpremiums5": {
  22459. "description": "认购期权5",
  22460. "type": "integer"
  22461. },
  22462. "cleartime": {
  22463. "description": "清盘时间",
  22464. "type": "integer"
  22465. },
  22466. "exchangecode": {
  22467. "description": "交易所代码",
  22468. "type": "integer"
  22469. },
  22470. "exchangedate": {
  22471. "description": "交易日",
  22472. "type": "integer"
  22473. },
  22474. "goodscode": {
  22475. "description": "商品代码",
  22476. "type": "string"
  22477. },
  22478. "grepmarketprice": {
  22479. "description": "暗盘价 港股专用",
  22480. "type": "number"
  22481. },
  22482. "highest": {
  22483. "description": "最高价",
  22484. "type": "number"
  22485. },
  22486. "holdincrement": {
  22487. "description": "单笔持仓",
  22488. "type": "integer"
  22489. },
  22490. "holdvolume": {
  22491. "description": "持仓",
  22492. "type": "integer"
  22493. },
  22494. "iep": {
  22495. "description": "平衡价 港股专用",
  22496. "type": "number"
  22497. },
  22498. "iev": {
  22499. "description": "平衡量 港股专用",
  22500. "type": "number"
  22501. },
  22502. "inventory": {
  22503. "description": "库存",
  22504. "type": "integer"
  22505. },
  22506. "iscleared": {
  22507. "description": "是否清盘标志",
  22508. "type": "integer"
  22509. },
  22510. "issettled": {
  22511. "description": "是否结算标志",
  22512. "type": "integer"
  22513. },
  22514. "last": {
  22515. "description": "最新价",
  22516. "type": "number"
  22517. },
  22518. "lastlot": {
  22519. "description": "最新成交手数",
  22520. "type": "integer"
  22521. },
  22522. "lasttime": {
  22523. "description": "行情时间(只有现价变化行情时间才变化)",
  22524. "type": "string"
  22525. },
  22526. "lastturnover": {
  22527. "description": "最新成交金额",
  22528. "type": "number"
  22529. },
  22530. "lastvolume": {
  22531. "description": "最新成交量",
  22532. "type": "integer"
  22533. },
  22534. "limitdown": {
  22535. "description": "跌停价",
  22536. "type": "number"
  22537. },
  22538. "limitup": {
  22539. "description": "涨停价",
  22540. "type": "number"
  22541. },
  22542. "lowest": {
  22543. "description": "最低价",
  22544. "type": "number"
  22545. },
  22546. "nontotalholdervolume": {
  22547. "description": "非交易持仓量",
  22548. "type": "integer"
  22549. },
  22550. "nontotallot": {
  22551. "description": "非交易总手数",
  22552. "type": "integer"
  22553. },
  22554. "nontotalturnover": {
  22555. "description": "非交易总金额",
  22556. "type": "integer"
  22557. },
  22558. "nontotalvolume": {
  22559. "description": "非交易总量",
  22560. "type": "integer"
  22561. },
  22562. "opened": {
  22563. "description": "开盘价",
  22564. "type": "number"
  22565. },
  22566. "opentime": {
  22567. "description": "开盘时间",
  22568. "type": "string"
  22569. },
  22570. "orderid": {
  22571. "description": "序号",
  22572. "type": "integer"
  22573. },
  22574. "preclose": {
  22575. "description": "昨收",
  22576. "type": "number"
  22577. },
  22578. "preholdvolume": {
  22579. "description": "昨持仓",
  22580. "type": "integer"
  22581. },
  22582. "presettle": {
  22583. "description": "昨结价",
  22584. "type": "number"
  22585. },
  22586. "publictradetype": {
  22587. "description": "公共交易标志类型 港股专用",
  22588. "type": "string"
  22589. },
  22590. "putoptionpremiums": {
  22591. "description": "认沽期权1",
  22592. "type": "integer"
  22593. },
  22594. "putoptionpremiums2": {
  22595. "description": "认沽期权2",
  22596. "type": "integer"
  22597. },
  22598. "putoptionpremiums3": {
  22599. "description": "认沽期权3",
  22600. "type": "integer"
  22601. },
  22602. "putoptionpremiums4": {
  22603. "description": "认沽期权4",
  22604. "type": "integer"
  22605. },
  22606. "putoptionpremiums5": {
  22607. "description": "认沽期权5",
  22608. "type": "integer"
  22609. },
  22610. "settle": {
  22611. "description": "结算价",
  22612. "type": "number"
  22613. },
  22614. "strikeprice": {
  22615. "description": "发行价",
  22616. "type": "number"
  22617. },
  22618. "totalaskvolume": {
  22619. "description": "内盘",
  22620. "type": "integer"
  22621. },
  22622. "totalbidvolume": {
  22623. "description": "外盘",
  22624. "type": "integer"
  22625. },
  22626. "totallot": {
  22627. "description": "总手数",
  22628. "type": "integer"
  22629. },
  22630. "totalturnover": {
  22631. "description": "总金额",
  22632. "type": "number"
  22633. },
  22634. "totalvolume": {
  22635. "description": "总量",
  22636. "type": "integer"
  22637. },
  22638. "utclasttime": {
  22639. "description": "utc的行情时间",
  22640. "type": "string"
  22641. }
  22642. }
  22643. },
  22644. "quote.QueryTSDataRsp": {
  22645. "type": "object",
  22646. "properties": {
  22647. "Count": {
  22648. "description": "交易日应有数据个数",
  22649. "type": "integer"
  22650. },
  22651. "decimalPlace": {
  22652. "description": "小数位",
  22653. "type": "integer"
  22654. },
  22655. "endTime": {
  22656. "description": "结束时间",
  22657. "type": "string"
  22658. },
  22659. "goodsCode": {
  22660. "description": "商品代码",
  22661. "type": "string"
  22662. },
  22663. "historyDatas": {
  22664. "description": "历史数据",
  22665. "type": "array",
  22666. "items": {
  22667. "$ref": "#/definitions/quote.HistoryData"
  22668. }
  22669. },
  22670. "outGoodsCode": {
  22671. "description": "外部商品代码",
  22672. "type": "string"
  22673. },
  22674. "preSettle": {
  22675. "description": "昨结价",
  22676. "type": "number"
  22677. },
  22678. "runSteps": {
  22679. "description": "交易日开休市计划",
  22680. "type": "array",
  22681. "items": {
  22682. "$ref": "#/definitions/quote.TSDataRunStep"
  22683. }
  22684. },
  22685. "startTime": {
  22686. "description": "开始时间",
  22687. "type": "string"
  22688. },
  22689. "tradeDate": {
  22690. "description": "交易日",
  22691. "type": "string"
  22692. }
  22693. }
  22694. },
  22695. "quote.TSDataRunStep": {
  22696. "type": "object",
  22697. "properties": {
  22698. "end": {
  22699. "description": "真实结束时间",
  22700. "type": "string"
  22701. },
  22702. "endflag": {
  22703. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  22704. "type": "integer"
  22705. },
  22706. "endtime": {
  22707. "description": "结束时间(HH:mm)",
  22708. "type": "string"
  22709. },
  22710. "endweekday": {
  22711. "description": "结束周几",
  22712. "type": "integer"
  22713. },
  22714. "groupid": {
  22715. "description": "分组ID",
  22716. "type": "integer"
  22717. },
  22718. "runstep": {
  22719. "description": "运行阶段 - 2:连续交易",
  22720. "type": "integer"
  22721. },
  22722. "sectionid": {
  22723. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  22724. "type": "integer"
  22725. },
  22726. "start": {
  22727. "description": "真实开始时间",
  22728. "type": "string"
  22729. },
  22730. "startflag": {
  22731. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  22732. "type": "integer"
  22733. },
  22734. "starttime": {
  22735. "description": "起始时间(HH:mm)",
  22736. "type": "string"
  22737. },
  22738. "startweekday": {
  22739. "description": "起始周几",
  22740. "type": "integer"
  22741. },
  22742. "tradeweekday": {
  22743. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  22744. "type": "integer"
  22745. }
  22746. }
  22747. },
  22748. "szdz.QueryConvertLogRsp": {
  22749. "type": "object",
  22750. "required": [
  22751. "logid"
  22752. ],
  22753. "properties": {
  22754. "accountid": {
  22755. "description": "资金账户ID",
  22756. "type": "integer"
  22757. },
  22758. "clientticket": {
  22759. "description": "客户端流水号",
  22760. "type": "string"
  22761. },
  22762. "converttype": {
  22763. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  22764. "type": "integer"
  22765. },
  22766. "createtime": {
  22767. "description": "记账时间",
  22768. "type": "string"
  22769. },
  22770. "daymaxvalue": {
  22771. "description": "配置当日最大转入限制",
  22772. "type": "number"
  22773. },
  22774. "daymaxvalue2": {
  22775. "description": "配置当日最大转入限制(转入)",
  22776. "type": "number"
  22777. },
  22778. "goodscode": {
  22779. "description": "商品代码",
  22780. "type": "string"
  22781. },
  22782. "goodsname": {
  22783. "description": "商品名称",
  22784. "type": "string"
  22785. },
  22786. "handlestatus": {
  22787. "description": "处理状态",
  22788. "type": "integer"
  22789. },
  22790. "innergoodsid": {
  22791. "description": "内部商品ID",
  22792. "type": "integer"
  22793. },
  22794. "inratio": {
  22795. "description": "配置转入比值",
  22796. "type": "integer"
  22797. },
  22798. "invalue": {
  22799. "description": "目标值",
  22800. "type": "number"
  22801. },
  22802. "logid": {
  22803. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22804. "type": "integer"
  22805. },
  22806. "mobile": {
  22807. "description": "手机号码(加密存储)",
  22808. "type": "string"
  22809. },
  22810. "outergoodscode": {
  22811. "description": "外部商品代码[JD\\PD]",
  22812. "type": "string"
  22813. },
  22814. "outratio": {
  22815. "description": "配置转出比值",
  22816. "type": "integer"
  22817. },
  22818. "outvalue": {
  22819. "description": "源值",
  22820. "type": "number"
  22821. },
  22822. "pddecimalplace": {
  22823. "description": "PD小数位",
  22824. "type": "integer"
  22825. },
  22826. "qty": {
  22827. "description": "数量",
  22828. "type": "string"
  22829. },
  22830. "remark": {
  22831. "description": "备注",
  22832. "type": "string"
  22833. },
  22834. "sessionid": {
  22835. "description": "会话ID",
  22836. "type": "integer"
  22837. },
  22838. "timemaxvalue": {
  22839. "description": "配置单次最大转入限制",
  22840. "type": "number"
  22841. },
  22842. "timemaxvalue2": {
  22843. "description": "配置单次最大转入限制(转入)",
  22844. "type": "number"
  22845. },
  22846. "timeminvalue": {
  22847. "description": "配置单次最小数量限制",
  22848. "type": "number"
  22849. },
  22850. "timeminvalue2": {
  22851. "description": "配置单次最小数量限制(转入)",
  22852. "type": "number"
  22853. },
  22854. "tradedate": {
  22855. "description": "交易日(yyyyMMdd)",
  22856. "type": "string"
  22857. },
  22858. "userid": {
  22859. "description": "用户ID",
  22860. "type": "integer"
  22861. }
  22862. }
  22863. },
  22864. "szdz.QueryGoodsPickupRsp": {
  22865. "type": "object",
  22866. "required": [
  22867. "takeorderid"
  22868. ],
  22869. "properties": {
  22870. "accountid": {
  22871. "description": "账户ID",
  22872. "type": "integer"
  22873. },
  22874. "address": {
  22875. "description": "提货人详细地址",
  22876. "type": "string"
  22877. },
  22878. "auditer": {
  22879. "description": "审核人",
  22880. "type": "integer"
  22881. },
  22882. "audittime": {
  22883. "description": "审核时间",
  22884. "type": "string"
  22885. },
  22886. "cardnum": {
  22887. "description": "提货人证件号码",
  22888. "type": "string"
  22889. },
  22890. "cardtypeid": {
  22891. "description": "提货人证件类型",
  22892. "type": "integer"
  22893. },
  22894. "checkremark": {
  22895. "description": "审核备注",
  22896. "type": "string"
  22897. },
  22898. "goodscode": {
  22899. "description": "商品代码",
  22900. "type": "string"
  22901. },
  22902. "goodsid": {
  22903. "description": "商品ID",
  22904. "type": "integer"
  22905. },
  22906. "goodsname": {
  22907. "description": "商品名称",
  22908. "type": "string"
  22909. },
  22910. "handlestatus": {
  22911. "description": "处理状态",
  22912. "type": "integer"
  22913. },
  22914. "marketid": {
  22915. "description": "市场ID",
  22916. "type": "integer"
  22917. },
  22918. "phonenum": {
  22919. "description": "提货人联系方式",
  22920. "type": "string"
  22921. },
  22922. "qty": {
  22923. "description": "提货数量",
  22924. "type": "number"
  22925. },
  22926. "recivername": {
  22927. "description": "提货人姓名",
  22928. "type": "string"
  22929. },
  22930. "reqtime": {
  22931. "description": "更新时间",
  22932. "type": "string"
  22933. },
  22934. "takemode": {
  22935. "description": "提货方式 - 2:自提 3:配送",
  22936. "type": "integer"
  22937. },
  22938. "takeorderid": {
  22939. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22940. "type": "string"
  22941. },
  22942. "takeorderstatus": {
  22943. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22944. "type": "integer"
  22945. },
  22946. "takeremark": {
  22947. "description": "提货备注",
  22948. "type": "string"
  22949. },
  22950. "tradedate": {
  22951. "description": "交易日(yyyyMMdd)",
  22952. "type": "string"
  22953. },
  22954. "userid": {
  22955. "description": "用户ID",
  22956. "type": "integer"
  22957. }
  22958. }
  22959. },
  22960. "szdz.QueryRecieptOrderRsp": {
  22961. "type": "object",
  22962. "required": [
  22963. "ordertime"
  22964. ],
  22965. "properties": {
  22966. "accountName": {
  22967. "description": "所属账号名称(已脱敏)",
  22968. "type": "string"
  22969. },
  22970. "accountid": {
  22971. "description": "资金账号",
  22972. "type": "integer"
  22973. },
  22974. "buyorsell": {
  22975. "description": "方向 - 0:买 1:卖",
  22976. "type": "integer"
  22977. },
  22978. "enableqty": {
  22979. "description": "可摘数量",
  22980. "type": "integer"
  22981. },
  22982. "goodscode": {
  22983. "description": "商品代码",
  22984. "type": "string"
  22985. },
  22986. "goodsid": {
  22987. "description": "商品ID",
  22988. "type": "integer"
  22989. },
  22990. "goodsname": {
  22991. "description": "商品名称",
  22992. "type": "string"
  22993. },
  22994. "orderid": {
  22995. "description": "委托单号",
  22996. "type": "string"
  22997. },
  22998. "orderprice": {
  22999. "description": "委托价格",
  23000. "type": "number"
  23001. },
  23002. "ordertime": {
  23003. "description": "委托时间",
  23004. "type": "string"
  23005. },
  23006. "tradedate": {
  23007. "description": "交易日(yyyyMMdd)",
  23008. "type": "string"
  23009. }
  23010. }
  23011. },
  23012. "szdz.QuerySZDZTradePositionRsp": {
  23013. "type": "object",
  23014. "properties": {
  23015. "accountid": {
  23016. "description": "账号Id",
  23017. "type": "integer"
  23018. },
  23019. "agreeunit": {
  23020. "description": "合约单位",
  23021. "type": "number"
  23022. },
  23023. "averageprice": {
  23024. "description": "持仓均价",
  23025. "type": "number"
  23026. },
  23027. "buyorsell": {
  23028. "description": "方向 - 0:买 1:卖",
  23029. "type": "integer"
  23030. },
  23031. "closetotalqty": {
  23032. "description": "平仓总数量",
  23033. "type": "integer"
  23034. },
  23035. "curholderamount": {
  23036. "description": "当前持仓总金额",
  23037. "type": "number"
  23038. },
  23039. "curpositionqty": {
  23040. "description": "当前持仓总数量",
  23041. "type": "integer"
  23042. },
  23043. "currencyid": {
  23044. "description": "报价货币ID",
  23045. "type": "integer"
  23046. },
  23047. "curtdposition": {
  23048. "description": "期末今日头寸",
  23049. "type": "integer"
  23050. },
  23051. "decimalplace": {
  23052. "description": "报价小数位",
  23053. "type": "integer"
  23054. },
  23055. "enableqty": {
  23056. "description": "可用量",
  23057. "type": "integer"
  23058. },
  23059. "fretdposition": {
  23060. "description": "冻结今日头寸",
  23061. "type": "integer"
  23062. },
  23063. "frozenqty": {
  23064. "description": "持仓冻结数量",
  23065. "type": "integer"
  23066. },
  23067. "goodscode": {
  23068. "description": "商品代码(内部)",
  23069. "type": "string"
  23070. },
  23071. "goodsid": {
  23072. "description": "商品Id",
  23073. "type": "integer"
  23074. },
  23075. "goodsname": {
  23076. "description": "商品名称",
  23077. "type": "string"
  23078. },
  23079. "goodunit": {
  23080. "description": "报价单位",
  23081. "type": "string"
  23082. },
  23083. "goodunitid": {
  23084. "description": "报价单位ID",
  23085. "type": "integer"
  23086. },
  23087. "holderamount": {
  23088. "description": "期初持仓总金额",
  23089. "type": "number"
  23090. },
  23091. "marketid": {
  23092. "description": "市场ID",
  23093. "type": "integer"
  23094. },
  23095. "openreqqty": {
  23096. "description": "开仓申请数量",
  23097. "type": "integer"
  23098. },
  23099. "opentotalqty": {
  23100. "description": "开仓总数量",
  23101. "type": "integer"
  23102. },
  23103. "otherfrozenqty": {
  23104. "description": "持仓其他冻结数量(交割冻结)",
  23105. "type": "integer"
  23106. },
  23107. "positionqty": {
  23108. "description": "期初持仓数量",
  23109. "type": "integer"
  23110. },
  23111. "szdz3freezqty": {
  23112. "description": "尚志大宗转换冻结总数量",
  23113. "type": "integer"
  23114. },
  23115. "tnqty": {
  23116. "description": "T+N冻结总量",
  23117. "type": "integer"
  23118. },
  23119. "tnusedqty": {
  23120. "description": "T+N使用量",
  23121. "type": "integer"
  23122. },
  23123. "trademode": {
  23124. "description": "交易模式",
  23125. "type": "integer"
  23126. },
  23127. "usedmargin": {
  23128. "description": "占用保证金",
  23129. "type": "number"
  23130. }
  23131. }
  23132. },
  23133. "taaccount.QueryAmountLogRsp": {
  23134. "type": "object",
  23135. "required": [
  23136. "accountid",
  23137. "amount",
  23138. "amountadjusttype",
  23139. "autoid",
  23140. "balance",
  23141. "createtime",
  23142. "currentbalance",
  23143. "operatetype"
  23144. ],
  23145. "properties": {
  23146. "OPERATETYPENAME": {
  23147. "description": "资金操作类型名称",
  23148. "type": "string"
  23149. },
  23150. "accountid": {
  23151. "description": "资金账户ID",
  23152. "type": "integer"
  23153. },
  23154. "agoodscode": {
  23155. "description": "竞拍商品代码",
  23156. "type": "string"
  23157. },
  23158. "agoodsname": {
  23159. "description": "竞拍商品名称",
  23160. "type": "string"
  23161. },
  23162. "amount": {
  23163. "description": "资金金额",
  23164. "type": "number"
  23165. },
  23166. "amountadjusttype": {
  23167. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23168. "type": "integer"
  23169. },
  23170. "autoid": {
  23171. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23172. "type": "integer"
  23173. },
  23174. "balance": {
  23175. "description": "期初余额",
  23176. "type": "number"
  23177. },
  23178. "businesscode": {
  23179. "description": "业务编号",
  23180. "type": "integer"
  23181. },
  23182. "createtime": {
  23183. "description": "发生时间",
  23184. "type": "string"
  23185. },
  23186. "currencyid": {
  23187. "description": "币种ID",
  23188. "type": "integer"
  23189. },
  23190. "currentbalance": {
  23191. "description": "期末余额(变动后金额)",
  23192. "type": "number"
  23193. },
  23194. "dgoodscode": {
  23195. "description": "交割商品代码",
  23196. "type": "string"
  23197. },
  23198. "dgoodsname": {
  23199. "description": "交割商品名称",
  23200. "type": "string"
  23201. },
  23202. "goodscode": {
  23203. "description": "商品代码",
  23204. "type": "string"
  23205. },
  23206. "goodsid": {
  23207. "description": "商品ID",
  23208. "type": "integer"
  23209. },
  23210. "goodsname": {
  23211. "description": "商品名称",
  23212. "type": "string"
  23213. },
  23214. "marketid": {
  23215. "description": "市场ID",
  23216. "type": "integer"
  23217. },
  23218. "marketname": {
  23219. "description": "市场名称",
  23220. "type": "string"
  23221. },
  23222. "moneyticket": {
  23223. "description": "资金流水号:银行端流水号",
  23224. "type": "integer"
  23225. },
  23226. "operatetype": {
  23227. "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:营销收款",
  23228. "type": "integer"
  23229. },
  23230. "relationorderid": {
  23231. "description": "关联单号",
  23232. "type": "string"
  23233. },
  23234. "remark": {
  23235. "description": "备注",
  23236. "type": "string"
  23237. },
  23238. "trademode": {
  23239. "description": "交易模式",
  23240. "type": "integer"
  23241. }
  23242. }
  23243. },
  23244. "taaccount.QueryHisAmountLogRsp": {
  23245. "type": "object",
  23246. "required": [
  23247. "accountid",
  23248. "amount",
  23249. "amountadjusttype",
  23250. "autoid",
  23251. "balance",
  23252. "createtime",
  23253. "currentbalance",
  23254. "histradedate",
  23255. "operatetype"
  23256. ],
  23257. "properties": {
  23258. "OPERATETYPENAME": {
  23259. "description": "资金操作类型名称",
  23260. "type": "string"
  23261. },
  23262. "accountid": {
  23263. "description": "资金账户ID",
  23264. "type": "integer"
  23265. },
  23266. "agoodscode": {
  23267. "description": "竞拍商品代码",
  23268. "type": "string"
  23269. },
  23270. "agoodsname": {
  23271. "description": "竞拍商品名称",
  23272. "type": "string"
  23273. },
  23274. "amount": {
  23275. "description": "资金金额",
  23276. "type": "number"
  23277. },
  23278. "amountadjusttype": {
  23279. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23280. "type": "integer"
  23281. },
  23282. "autoid": {
  23283. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23284. "type": "integer"
  23285. },
  23286. "balance": {
  23287. "description": "期初余额",
  23288. "type": "number"
  23289. },
  23290. "businesscode": {
  23291. "description": "业务编号",
  23292. "type": "integer"
  23293. },
  23294. "createtime": {
  23295. "description": "发生时间",
  23296. "type": "string"
  23297. },
  23298. "currencyid": {
  23299. "description": "币种ID",
  23300. "type": "integer"
  23301. },
  23302. "currentbalance": {
  23303. "description": "期末余额(变动后金额)",
  23304. "type": "number"
  23305. },
  23306. "dgoodscode": {
  23307. "description": "交割商品代码",
  23308. "type": "string"
  23309. },
  23310. "dgoodsname": {
  23311. "description": "交割商品名称",
  23312. "type": "string"
  23313. },
  23314. "goodscode": {
  23315. "description": "商品代码",
  23316. "type": "string"
  23317. },
  23318. "goodsid": {
  23319. "description": "商品ID",
  23320. "type": "integer"
  23321. },
  23322. "goodsname": {
  23323. "description": "商品名称",
  23324. "type": "string"
  23325. },
  23326. "histradedate": {
  23327. "description": "历史交易日",
  23328. "type": "string"
  23329. },
  23330. "isvaliddata": {
  23331. "description": "是否有效 - 0:无效 1:有效",
  23332. "type": "integer"
  23333. },
  23334. "marketid": {
  23335. "description": "市场ID",
  23336. "type": "integer"
  23337. },
  23338. "marketname": {
  23339. "description": "市场名称",
  23340. "type": "string"
  23341. },
  23342. "moneyticket": {
  23343. "description": "资金流水号:银行端流水号",
  23344. "type": "integer"
  23345. },
  23346. "operatetype": {
  23347. "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:营销收款",
  23348. "type": "integer"
  23349. },
  23350. "relationorderid": {
  23351. "description": "关联单号",
  23352. "type": "string"
  23353. },
  23354. "remark": {
  23355. "description": "备注",
  23356. "type": "string"
  23357. },
  23358. "trademode": {
  23359. "description": "交易模式",
  23360. "type": "integer"
  23361. }
  23362. }
  23363. },
  23364. "trade.QueryRecieptOrderRsp": {
  23365. "type": "object",
  23366. "required": [
  23367. "ordertime"
  23368. ],
  23369. "properties": {
  23370. "accountName": {
  23371. "description": "所属账号名称(已脱敏)",
  23372. "type": "string"
  23373. },
  23374. "accountid": {
  23375. "description": "资金账号",
  23376. "type": "integer"
  23377. },
  23378. "buyorsell": {
  23379. "description": "方向 - 0:买 1:卖",
  23380. "type": "integer"
  23381. },
  23382. "enableqty": {
  23383. "description": "可摘数量",
  23384. "type": "integer"
  23385. },
  23386. "goodscode": {
  23387. "description": "商品代码",
  23388. "type": "string"
  23389. },
  23390. "goodsid": {
  23391. "description": "商品ID",
  23392. "type": "integer"
  23393. },
  23394. "goodsname": {
  23395. "description": "商品名称",
  23396. "type": "string"
  23397. },
  23398. "orderid": {
  23399. "description": "委托单号",
  23400. "type": "string"
  23401. },
  23402. "orderprice": {
  23403. "description": "委托价格",
  23404. "type": "number"
  23405. },
  23406. "ordertime": {
  23407. "description": "委托时间",
  23408. "type": "string"
  23409. },
  23410. "tradedate": {
  23411. "description": "交易日(yyyyMMdd)",
  23412. "type": "string"
  23413. }
  23414. }
  23415. },
  23416. "user.LoginQueryRsp": {
  23417. "type": "object",
  23418. "properties": {
  23419. "areaRoles": {
  23420. "description": "所属角色信息",
  23421. "type": "array",
  23422. "items": {
  23423. "$ref": "#/definitions/models.Arearole"
  23424. }
  23425. },
  23426. "externalExchanges": {
  23427. "description": "外部交易所",
  23428. "type": "array",
  23429. "items": {
  23430. "$ref": "#/definitions/models.Externalexchange"
  23431. }
  23432. },
  23433. "goodsgroups": {
  23434. "description": "商品组",
  23435. "type": "array",
  23436. "items": {
  23437. "$ref": "#/definitions/models.Goodsgroup"
  23438. }
  23439. },
  23440. "loginAccount": {
  23441. "description": "登录账号",
  23442. "type": "object",
  23443. "$ref": "#/definitions/models.Loginaccount"
  23444. },
  23445. "markets": {
  23446. "description": "市场",
  23447. "type": "array",
  23448. "items": {
  23449. "$ref": "#/definitions/models.Market"
  23450. }
  23451. },
  23452. "systemParams": {
  23453. "description": "系统参数",
  23454. "type": "array",
  23455. "items": {
  23456. "$ref": "#/definitions/models.Systemparam"
  23457. }
  23458. },
  23459. "userAccount": {
  23460. "description": "用户账号",
  23461. "type": "object",
  23462. "$ref": "#/definitions/models.Useraccount"
  23463. },
  23464. "userInfo": {
  23465. "description": "用户信息",
  23466. "type": "object",
  23467. "$ref": "#/definitions/models.Userinfo"
  23468. },
  23469. "username": {
  23470. "description": "用户姓名",
  23471. "type": "string"
  23472. }
  23473. }
  23474. }
  23475. },
  23476. "securityDefinitions": {
  23477. "ApiKeyAuth": {
  23478. "type": "apiKey",
  23479. "name": "Authorization",
  23480. "in": "header"
  23481. }
  23482. }
  23483. }`
  23484. type swaggerInfo struct {
  23485. Version string
  23486. Host string
  23487. BasePath string
  23488. Schemes []string
  23489. Title string
  23490. Description string
  23491. }
  23492. // SwaggerInfo holds exported Swagger Info so clients can modify it
  23493. var SwaggerInfo = swaggerInfo{
  23494. Version: "1.0",
  23495. Host: "",
  23496. BasePath: "/api",
  23497. Schemes: []string{},
  23498. Title: "MTP2.0 查询服务 API",
  23499. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  23500. }
  23501. type s struct{}
  23502. func (s *s) ReadDoc() string {
  23503. sInfo := SwaggerInfo
  23504. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  23505. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  23506. "marshal": func(v interface{}) string {
  23507. a, _ := json.Marshal(v)
  23508. return string(a)
  23509. },
  23510. }).Parse(doc)
  23511. if err != nil {
  23512. return doc
  23513. }
  23514. var tpl bytes.Buffer
  23515. if err := t.Execute(&tpl, sInfo); err != nil {
  23516. return doc
  23517. }
  23518. return tpl.String()
  23519. }
  23520. func init() {
  23521. swag.Register(swag.Name, &s{})
  23522. }