docs.go 1.0 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "用户id",
  593. "name": "userId",
  594. "in": "query"
  595. },
  596. {
  597. "type": "integer",
  598. "description": "类型 - 1:App首页轮播 2:我的",
  599. "name": "imageType",
  600. "in": "query"
  601. }
  602. ],
  603. "responses": {
  604. "200": {
  605. "description": "OK",
  606. "schema": {
  607. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  608. }
  609. },
  610. "500": {
  611. "description": "Internal Server Error",
  612. "schema": {
  613. "$ref": "#/definitions/app.Response"
  614. }
  615. }
  616. }
  617. }
  618. },
  619. "/Common/QueryNotice": {
  620. "get": {
  621. "security": [
  622. {
  623. "ApiKeyAuth": []
  624. }
  625. ],
  626. "produces": [
  627. "application/json"
  628. ],
  629. "tags": [
  630. "通用服务"
  631. ],
  632. "summary": "通知公告系统消息查询",
  633. "parameters": [
  634. {
  635. "type": "integer",
  636. "description": "页码",
  637. "name": "page",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "每页条数",
  643. "name": "pagesize",
  644. "in": "query"
  645. },
  646. {
  647. "type": "integer",
  648. "description": "登录账号",
  649. "name": "loginID",
  650. "in": "query",
  651. "required": true
  652. },
  653. {
  654. "type": "integer",
  655. "description": "消息类型 - 1:公告通知 2:系统消息",
  656. "name": "msgType",
  657. "in": "query"
  658. },
  659. {
  660. "type": "boolean",
  661. "description": "是否只获取未读信息",
  662. "name": "onlyUnRead",
  663. "in": "query"
  664. },
  665. {
  666. "type": "integer",
  667. "description": "自增ID,传入后会返回这个ID后面的记录",
  668. "name": "lastID",
  669. "in": "query"
  670. }
  671. ],
  672. "responses": {
  673. "200": {
  674. "description": "OK",
  675. "schema": {
  676. "$ref": "#/definitions/common.QueryNoticeRsp"
  677. }
  678. },
  679. "500": {
  680. "description": "Internal Server Error",
  681. "schema": {
  682. "$ref": "#/definitions/app.Response"
  683. }
  684. }
  685. }
  686. }
  687. },
  688. "/Common/QueryProvincesAndCities": {
  689. "get": {
  690. "produces": [
  691. "application/json"
  692. ],
  693. "tags": [
  694. "通用服务"
  695. ],
  696. "summary": "查询省市信息(不包括区)",
  697. "parameters": [
  698. {
  699. "type": "integer",
  700. "description": "省ID",
  701. "name": "provinceID",
  702. "in": "query"
  703. }
  704. ],
  705. "responses": {
  706. "200": {
  707. "description": "OK",
  708. "schema": {
  709. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  710. }
  711. },
  712. "500": {
  713. "description": "Internal Server Error",
  714. "schema": {
  715. "$ref": "#/definitions/app.Response"
  716. }
  717. }
  718. }
  719. }
  720. },
  721. "/Common/QueryTableDefine": {
  722. "get": {
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "通用服务"
  728. ],
  729. "summary": "查询交易端列表头信息",
  730. "parameters": [
  731. {
  732. "type": "string",
  733. "description": "表key",
  734. "name": "tableKey",
  735. "in": "query"
  736. },
  737. {
  738. "type": "integer",
  739. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  740. "name": "tableType",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "$ref": "#/definitions/common.QueryTableDefineRsp"
  749. }
  750. },
  751. "500": {
  752. "description": "Internal Server Error",
  753. "schema": {
  754. "$ref": "#/definitions/app.Response"
  755. }
  756. }
  757. }
  758. }
  759. },
  760. "/Common/QueryTraderMenu": {
  761. "get": {
  762. "produces": [
  763. "application/json"
  764. ],
  765. "tags": [
  766. "通用服务"
  767. ],
  768. "summary": "查询交易端菜单",
  769. "parameters": [
  770. {
  771. "type": "integer",
  772. "description": "登录账号",
  773. "name": "loginid",
  774. "in": "query",
  775. "required": true
  776. }
  777. ],
  778. "responses": {
  779. "200": {
  780. "description": "OK",
  781. "schema": {
  782. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  783. }
  784. },
  785. "500": {
  786. "description": "Internal Server Error",
  787. "schema": {
  788. "$ref": "#/definitions/app.Response"
  789. }
  790. }
  791. }
  792. }
  793. },
  794. "/Delivery/QueryDeliveryRelation": {
  795. "get": {
  796. "security": [
  797. {
  798. "ApiKeyAuth": []
  799. }
  800. ],
  801. "produces": [
  802. "application/json"
  803. ],
  804. "tags": [
  805. "交割服务"
  806. ],
  807. "summary": "查询商品交割关系表",
  808. "parameters": [
  809. {
  810. "type": "integer",
  811. "description": "商品ID",
  812. "name": "goodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "品种ID",
  818. "name": "deliverygoodsid",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "市场ID",
  824. "name": "marketid",
  825. "in": "query"
  826. }
  827. ],
  828. "responses": {
  829. "200": {
  830. "description": "OK",
  831. "schema": {
  832. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  833. }
  834. },
  835. "500": {
  836. "description": "Internal Server Error",
  837. "schema": {
  838. "$ref": "#/definitions/app.Response"
  839. }
  840. }
  841. }
  842. }
  843. },
  844. "/Ermcp/GetErmcpGoods": {
  845. "get": {
  846. "security": [
  847. {
  848. "ApiKeyAuth": []
  849. }
  850. ],
  851. "produces": [
  852. "application/json"
  853. ],
  854. "tags": [
  855. "企业风险管理(app)"
  856. ],
  857. "summary": "查询企业风管期货商品信息",
  858. "parameters": [
  859. {
  860. "type": "string",
  861. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  862. "name": "lastUpdateTime",
  863. "in": "query"
  864. }
  865. ],
  866. "responses": {
  867. "200": {
  868. "description": "OK",
  869. "schema": {
  870. "$ref": "#/definitions/models.ErmcpGoods"
  871. }
  872. },
  873. "500": {
  874. "description": "Internal Server Error",
  875. "schema": {
  876. "$ref": "#/definitions/app.Response"
  877. }
  878. }
  879. }
  880. }
  881. },
  882. "/Ermcp/GetErmcpGoodsSortByPosition": {
  883. "get": {
  884. "security": [
  885. {
  886. "ApiKeyAuth": []
  887. }
  888. ],
  889. "produces": [
  890. "application/json"
  891. ],
  892. "tags": [
  893. "企业风险管理(app)"
  894. ],
  895. "summary": "查询企业风管期货主力、次主力商品信息",
  896. "parameters": [
  897. {
  898. "type": "string",
  899. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  900. "name": "sortIndex",
  901. "in": "query"
  902. }
  903. ],
  904. "responses": {
  905. "200": {
  906. "description": "OK",
  907. "schema": {
  908. "$ref": "#/definitions/models.Goodssortbypreposition"
  909. }
  910. },
  911. "500": {
  912. "description": "Internal Server Error",
  913. "schema": {
  914. "$ref": "#/definitions/app.Response"
  915. }
  916. }
  917. }
  918. }
  919. },
  920. "/Ermcp/GetErmcpOutAccountStatus": {
  921. "get": {
  922. "security": [
  923. {
  924. "ApiKeyAuth": []
  925. }
  926. ],
  927. "produces": [
  928. "application/json"
  929. ],
  930. "tags": [
  931. "企业风险管理(app)"
  932. ],
  933. "summary": "获取目标登录账号当前对冲账号在线状态",
  934. "parameters": [
  935. {
  936. "type": "integer",
  937. "description": "登录账号",
  938. "name": "loginID",
  939. "in": "query",
  940. "required": true
  941. }
  942. ],
  943. "responses": {
  944. "200": {
  945. "description": "OK",
  946. "schema": {
  947. "$ref": "#/definitions/models.Hedgemarketopenlog"
  948. }
  949. },
  950. "500": {
  951. "description": "Internal Server Error",
  952. "schema": {
  953. "$ref": "#/definitions/app.Response"
  954. }
  955. }
  956. }
  957. }
  958. },
  959. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  960. "get": {
  961. "security": [
  962. {
  963. "ApiKeyAuth": []
  964. }
  965. ],
  966. "produces": [
  967. "application/json"
  968. ],
  969. "tags": [
  970. "企业风险管理(app)"
  971. ],
  972. "summary": "获取企业风管终端权限",
  973. "parameters": [
  974. {
  975. "type": "integer",
  976. "description": "登录账号",
  977. "name": "loginID",
  978. "in": "query",
  979. "required": true
  980. }
  981. ],
  982. "responses": {
  983. "200": {
  984. "description": "OK",
  985. "schema": {
  986. "$ref": "#/definitions/models.Funcmenulist"
  987. }
  988. },
  989. "500": {
  990. "description": "Internal Server Error",
  991. "schema": {
  992. "$ref": "#/definitions/app.Response"
  993. }
  994. }
  995. }
  996. }
  997. },
  998. "/Ermcp/QueryAccMgrBizGroupSet": {
  999. "get": {
  1000. "security": [
  1001. {
  1002. "ApiKeyAuth": []
  1003. }
  1004. ],
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "企业风险管理(app)"
  1010. ],
  1011. "summary": "查询业务类型分组(账户管理/账户设置)",
  1012. "parameters": [
  1013. {
  1014. "type": "integer",
  1015. "description": "用户ID",
  1016. "name": "userid",
  1017. "in": "query",
  1018. "required": true
  1019. },
  1020. {
  1021. "type": "integer",
  1022. "description": "现货商品id",
  1023. "name": "deliverygoodsid",
  1024. "in": "query"
  1025. }
  1026. ],
  1027. "responses": {
  1028. "200": {
  1029. "description": "OK",
  1030. "schema": {
  1031. "type": "array",
  1032. "items": {
  1033. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1034. }
  1035. }
  1036. },
  1037. "500": {
  1038. "description": "Internal Server Error",
  1039. "schema": {
  1040. "$ref": "#/definitions/app.Response"
  1041. }
  1042. }
  1043. }
  1044. }
  1045. },
  1046. "/Ermcp/QueryAccMgrLoginUser": {
  1047. "get": {
  1048. "security": [
  1049. {
  1050. "ApiKeyAuth": []
  1051. }
  1052. ],
  1053. "produces": [
  1054. "application/json"
  1055. ],
  1056. "tags": [
  1057. "企业风险管理(app)"
  1058. ],
  1059. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1060. "parameters": [
  1061. {
  1062. "type": "integer",
  1063. "description": "用户ID",
  1064. "name": "userid",
  1065. "in": "query",
  1066. "required": true
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "用户类型 2-机构 7-企业成员",
  1071. "name": "usertype",
  1072. "in": "query"
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1077. "name": "querytype",
  1078. "in": "query",
  1079. "required": true
  1080. }
  1081. ],
  1082. "responses": {
  1083. "200": {
  1084. "description": "OK",
  1085. "schema": {
  1086. "type": "array",
  1087. "items": {
  1088. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1089. }
  1090. }
  1091. },
  1092. "500": {
  1093. "description": "Internal Server Error",
  1094. "schema": {
  1095. "$ref": "#/definitions/app.Response"
  1096. }
  1097. }
  1098. }
  1099. }
  1100. },
  1101. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1102. "get": {
  1103. "security": [
  1104. {
  1105. "ApiKeyAuth": []
  1106. }
  1107. ],
  1108. "produces": [
  1109. "application/json"
  1110. ],
  1111. "tags": [
  1112. "企业风险管理(app)"
  1113. ],
  1114. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1115. "parameters": [
  1116. {
  1117. "type": "integer",
  1118. "description": "用户ID",
  1119. "name": "userid",
  1120. "in": "query"
  1121. },
  1122. {
  1123. "type": "integer",
  1124. "description": "主账号id",
  1125. "name": "accountid",
  1126. "in": "query"
  1127. }
  1128. ],
  1129. "responses": {
  1130. "200": {
  1131. "description": "OK",
  1132. "schema": {
  1133. "type": "array",
  1134. "items": {
  1135. "$ref": "#/definitions/models.MainAccountInfo"
  1136. }
  1137. }
  1138. },
  1139. "500": {
  1140. "description": "Internal Server Error",
  1141. "schema": {
  1142. "$ref": "#/definitions/app.Response"
  1143. }
  1144. }
  1145. }
  1146. }
  1147. },
  1148. "/Ermcp/QueryAccMgrRole": {
  1149. "get": {
  1150. "security": [
  1151. {
  1152. "ApiKeyAuth": []
  1153. }
  1154. ],
  1155. "produces": [
  1156. "application/json"
  1157. ],
  1158. "tags": [
  1159. "企业风险管理(app)"
  1160. ],
  1161. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1162. "parameters": [
  1163. {
  1164. "type": "integer",
  1165. "description": "用户ID",
  1166. "name": "userid",
  1167. "in": "query",
  1168. "required": true
  1169. }
  1170. ],
  1171. "responses": {
  1172. "200": {
  1173. "description": "OK",
  1174. "schema": {
  1175. "type": "array",
  1176. "items": {
  1177. "$ref": "#/definitions/models.ErmcpRole"
  1178. }
  1179. }
  1180. },
  1181. "500": {
  1182. "description": "Internal Server Error",
  1183. "schema": {
  1184. "$ref": "#/definitions/app.Response"
  1185. }
  1186. }
  1187. }
  1188. }
  1189. },
  1190. "/Ermcp/QueryAccMgrRoleMenu": {
  1191. "get": {
  1192. "security": [
  1193. {
  1194. "ApiKeyAuth": []
  1195. }
  1196. ],
  1197. "produces": [
  1198. "application/json"
  1199. ],
  1200. "tags": [
  1201. "企业风险管理(app)"
  1202. ],
  1203. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1204. "parameters": [
  1205. {
  1206. "type": "integer",
  1207. "description": "用户ID",
  1208. "name": "userid",
  1209. "in": "query",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "string",
  1214. "description": "角色id(可多个,逗号隔开)",
  1215. "name": "roleid",
  1216. "in": "query"
  1217. }
  1218. ],
  1219. "responses": {
  1220. "200": {
  1221. "description": "OK",
  1222. "schema": {
  1223. "type": "array",
  1224. "items": {
  1225. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1226. }
  1227. }
  1228. },
  1229. "500": {
  1230. "description": "Internal Server Error",
  1231. "schema": {
  1232. "$ref": "#/definitions/app.Response"
  1233. }
  1234. }
  1235. }
  1236. }
  1237. },
  1238. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1239. "get": {
  1240. "security": [
  1241. {
  1242. "ApiKeyAuth": []
  1243. }
  1244. ],
  1245. "produces": [
  1246. "application/json"
  1247. ],
  1248. "tags": [
  1249. "企业风险管理(app)"
  1250. ],
  1251. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1252. "parameters": [
  1253. {
  1254. "type": "integer",
  1255. "description": "用户ID",
  1256. "name": "userid",
  1257. "in": "query",
  1258. "required": true
  1259. },
  1260. {
  1261. "type": "integer",
  1262. "description": "账号id",
  1263. "name": "accountid",
  1264. "in": "query"
  1265. }
  1266. ],
  1267. "responses": {
  1268. "200": {
  1269. "description": "OK",
  1270. "schema": {
  1271. "type": "array",
  1272. "items": {
  1273. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1274. }
  1275. }
  1276. },
  1277. "500": {
  1278. "description": "Internal Server Error",
  1279. "schema": {
  1280. "$ref": "#/definitions/app.Response"
  1281. }
  1282. }
  1283. }
  1284. }
  1285. },
  1286. "/Ermcp/QueryAccMgrTaaccount": {
  1287. "get": {
  1288. "security": [
  1289. {
  1290. "ApiKeyAuth": []
  1291. }
  1292. ],
  1293. "produces": [
  1294. "application/json"
  1295. ],
  1296. "tags": [
  1297. "企业风险管理(app)"
  1298. ],
  1299. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1300. "parameters": [
  1301. {
  1302. "type": "integer",
  1303. "description": "用户ID",
  1304. "name": "userid",
  1305. "in": "query",
  1306. "required": true
  1307. }
  1308. ],
  1309. "responses": {
  1310. "200": {
  1311. "description": "OK",
  1312. "schema": {
  1313. "type": "array",
  1314. "items": {
  1315. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1316. }
  1317. }
  1318. },
  1319. "500": {
  1320. "description": "Internal Server Error",
  1321. "schema": {
  1322. "$ref": "#/definitions/app.Response"
  1323. }
  1324. }
  1325. }
  1326. }
  1327. },
  1328. "/Ermcp/QueryAvaildGoodsGroup": {
  1329. "get": {
  1330. "security": [
  1331. {
  1332. "ApiKeyAuth": []
  1333. }
  1334. ],
  1335. "produces": [
  1336. "application/json"
  1337. ],
  1338. "tags": [
  1339. "企业风险管理(app)"
  1340. ],
  1341. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1342. "parameters": [
  1343. {
  1344. "type": "integer",
  1345. "description": "所属机构ID",
  1346. "name": "userid",
  1347. "in": "query",
  1348. "required": true
  1349. }
  1350. ],
  1351. "responses": {
  1352. "200": {
  1353. "description": "OK",
  1354. "schema": {
  1355. "type": "array",
  1356. "items": {
  1357. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1358. }
  1359. }
  1360. },
  1361. "500": {
  1362. "description": "Internal Server Error",
  1363. "schema": {
  1364. "$ref": "#/definitions/app.Response"
  1365. }
  1366. }
  1367. }
  1368. }
  1369. },
  1370. "/Ermcp/QueryBusinessDj": {
  1371. "get": {
  1372. "security": [
  1373. {
  1374. "ApiKeyAuth": []
  1375. }
  1376. ],
  1377. "produces": [
  1378. "application/json"
  1379. ],
  1380. "tags": [
  1381. "企业风险管理(app)"
  1382. ],
  1383. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1384. "parameters": [
  1385. {
  1386. "type": "integer",
  1387. "description": "用户ID",
  1388. "name": "UserId",
  1389. "in": "query",
  1390. "required": true
  1391. },
  1392. {
  1393. "type": "integer",
  1394. "description": "用户类型 2-机构 7-企业成员",
  1395. "name": "usertype",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "现货合同ID, 不填则查所有",
  1401. "name": "relatedid",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "string",
  1406. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1407. "name": "applystatus",
  1408. "in": "query"
  1409. }
  1410. ],
  1411. "responses": {
  1412. "200": {
  1413. "description": "OK",
  1414. "schema": {
  1415. "type": "array",
  1416. "items": {
  1417. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1418. }
  1419. }
  1420. },
  1421. "500": {
  1422. "description": "Internal Server Error",
  1423. "schema": {
  1424. "$ref": "#/definitions/app.Response"
  1425. }
  1426. }
  1427. }
  1428. }
  1429. },
  1430. "/Ermcp/QueryBusinessFp": {
  1431. "get": {
  1432. "security": [
  1433. {
  1434. "ApiKeyAuth": []
  1435. }
  1436. ],
  1437. "produces": [
  1438. "application/json"
  1439. ],
  1440. "tags": [
  1441. "企业风险管理(app)"
  1442. ],
  1443. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1444. "parameters": [
  1445. {
  1446. "type": "integer",
  1447. "description": "用户ID",
  1448. "name": "UserId",
  1449. "in": "query",
  1450. "required": true
  1451. },
  1452. {
  1453. "type": "integer",
  1454. "description": "用户类型 2-机构 7-企业成员",
  1455. "name": "usertype",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "现货合同ID, 不填则查所有",
  1461. "name": "relatedid",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "string",
  1466. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1467. "name": "applystatus",
  1468. "in": "query"
  1469. }
  1470. ],
  1471. "responses": {
  1472. "200": {
  1473. "description": "OK",
  1474. "schema": {
  1475. "type": "array",
  1476. "items": {
  1477. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1478. }
  1479. }
  1480. },
  1481. "500": {
  1482. "description": "Internal Server Error",
  1483. "schema": {
  1484. "$ref": "#/definitions/app.Response"
  1485. }
  1486. }
  1487. }
  1488. }
  1489. },
  1490. "/Ermcp/QueryBusinessJs": {
  1491. "get": {
  1492. "security": [
  1493. {
  1494. "ApiKeyAuth": []
  1495. }
  1496. ],
  1497. "produces": [
  1498. "application/json"
  1499. ],
  1500. "tags": [
  1501. "企业风险管理(app)"
  1502. ],
  1503. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1504. "parameters": [
  1505. {
  1506. "type": "integer",
  1507. "description": "用户ID",
  1508. "name": "UserId",
  1509. "in": "query",
  1510. "required": true
  1511. },
  1512. {
  1513. "type": "integer",
  1514. "description": "用户类型 2-机构 7-企业成员",
  1515. "name": "usertype",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "现货合同ID, 不填则查所有",
  1521. "name": "relatedid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "操作申请id",
  1527. "name": "operateapplyid",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1533. "name": "applystatus",
  1534. "in": "query"
  1535. }
  1536. ],
  1537. "responses": {
  1538. "200": {
  1539. "description": "OK",
  1540. "schema": {
  1541. "type": "array",
  1542. "items": {
  1543. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1544. }
  1545. }
  1546. },
  1547. "500": {
  1548. "description": "Internal Server Error",
  1549. "schema": {
  1550. "$ref": "#/definitions/app.Response"
  1551. }
  1552. }
  1553. }
  1554. }
  1555. },
  1556. "/Ermcp/QueryBusinessJsEx": {
  1557. "get": {
  1558. "security": [
  1559. {
  1560. "ApiKeyAuth": []
  1561. }
  1562. ],
  1563. "produces": [
  1564. "application/json"
  1565. ],
  1566. "tags": [
  1567. "企业风险管理(app)"
  1568. ],
  1569. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1570. "parameters": [
  1571. {
  1572. "type": "integer",
  1573. "description": "用户ID",
  1574. "name": "UserId",
  1575. "in": "query",
  1576. "required": true
  1577. },
  1578. {
  1579. "type": "integer",
  1580. "description": "用户类型 2-机构 7-企业成员",
  1581. "name": "usertype",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "现货合同ID, 不填则查所有",
  1587. "name": "relatedid",
  1588. "in": "query"
  1589. },
  1590. {
  1591. "type": "string",
  1592. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1593. "name": "applystatus",
  1594. "in": "query"
  1595. }
  1596. ],
  1597. "responses": {
  1598. "200": {
  1599. "description": "OK",
  1600. "schema": {
  1601. "type": "array",
  1602. "items": {
  1603. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1604. }
  1605. }
  1606. },
  1607. "500": {
  1608. "description": "Internal Server Error",
  1609. "schema": {
  1610. "$ref": "#/definitions/app.Response"
  1611. }
  1612. }
  1613. }
  1614. }
  1615. },
  1616. "/Ermcp/QueryBusinessKx": {
  1617. "get": {
  1618. "security": [
  1619. {
  1620. "ApiKeyAuth": []
  1621. }
  1622. ],
  1623. "produces": [
  1624. "application/json"
  1625. ],
  1626. "tags": [
  1627. "企业风险管理(app)"
  1628. ],
  1629. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1630. "parameters": [
  1631. {
  1632. "type": "integer",
  1633. "description": "用户ID",
  1634. "name": "UserId",
  1635. "in": "query",
  1636. "required": true
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "用户类型 2-机构 7-企业成员",
  1641. "name": "usertype",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "现货合同ID, 不填则查所有",
  1647. "name": "relatedid",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "string",
  1652. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1653. "name": "applystatus",
  1654. "in": "query"
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "OK",
  1660. "schema": {
  1661. "type": "array",
  1662. "items": {
  1663. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1664. }
  1665. }
  1666. },
  1667. "500": {
  1668. "description": "Internal Server Error",
  1669. "schema": {
  1670. "$ref": "#/definitions/app.Response"
  1671. }
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "/Ermcp/QueryChangeLog": {
  1677. "get": {
  1678. "security": [
  1679. {
  1680. "ApiKeyAuth": []
  1681. }
  1682. ],
  1683. "produces": [
  1684. "application/json"
  1685. ],
  1686. "tags": [
  1687. "企业风险管理(app)"
  1688. ],
  1689. "summary": "查询变更记录",
  1690. "parameters": [
  1691. {
  1692. "type": "string",
  1693. "description": "合同ID",
  1694. "name": "RelatedId",
  1695. "in": "query",
  1696. "required": true
  1697. }
  1698. ],
  1699. "responses": {
  1700. "200": {
  1701. "description": "OK",
  1702. "schema": {
  1703. "type": "array",
  1704. "items": {
  1705. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1706. }
  1707. }
  1708. },
  1709. "500": {
  1710. "description": "Internal Server Error",
  1711. "schema": {
  1712. "$ref": "#/definitions/app.Response"
  1713. }
  1714. }
  1715. }
  1716. }
  1717. },
  1718. "/Ermcp/QueryErmcpHisOrderDetails": {
  1719. "get": {
  1720. "security": [
  1721. {
  1722. "ApiKeyAuth": []
  1723. }
  1724. ],
  1725. "produces": [
  1726. "application/json"
  1727. ],
  1728. "tags": [
  1729. "企业风险管理(app)"
  1730. ],
  1731. "summary": "获取企业风管期货历史委托单信息",
  1732. "parameters": [
  1733. {
  1734. "type": "integer",
  1735. "description": "资金账户ID",
  1736. "name": "accountID",
  1737. "in": "query",
  1738. "required": true
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "startDate",
  1744. "in": "query"
  1745. },
  1746. {
  1747. "type": "string",
  1748. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1749. "name": "endDate",
  1750. "in": "query"
  1751. }
  1752. ],
  1753. "responses": {
  1754. "200": {
  1755. "description": "OK",
  1756. "schema": {
  1757. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1758. }
  1759. },
  1760. "500": {
  1761. "description": "Internal Server Error",
  1762. "schema": {
  1763. "$ref": "#/definitions/app.Response"
  1764. }
  1765. }
  1766. }
  1767. }
  1768. },
  1769. "/Ermcp/QueryErmcpHisTradeDetails": {
  1770. "get": {
  1771. "security": [
  1772. {
  1773. "ApiKeyAuth": []
  1774. }
  1775. ],
  1776. "produces": [
  1777. "application/json"
  1778. ],
  1779. "tags": [
  1780. "企业风险管理(app)"
  1781. ],
  1782. "summary": "获取企业风管期货历史成交单信息",
  1783. "parameters": [
  1784. {
  1785. "type": "integer",
  1786. "description": "资金账户ID",
  1787. "name": "accountID",
  1788. "in": "query",
  1789. "required": true
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "商品ID",
  1794. "name": "goodsID",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "买卖方向,0:买 1:卖",
  1800. "name": "buyOrSell",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "关联委托单号",
  1806. "name": "orderID",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "startDate",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1818. "name": "endDate",
  1819. "in": "query"
  1820. }
  1821. ],
  1822. "responses": {
  1823. "200": {
  1824. "description": "OK",
  1825. "schema": {
  1826. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1827. }
  1828. },
  1829. "500": {
  1830. "description": "Internal Server Error",
  1831. "schema": {
  1832. "$ref": "#/definitions/app.Response"
  1833. }
  1834. }
  1835. }
  1836. }
  1837. },
  1838. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1839. "get": {
  1840. "security": [
  1841. {
  1842. "ApiKeyAuth": []
  1843. }
  1844. ],
  1845. "produces": [
  1846. "application/json"
  1847. ],
  1848. "tags": [
  1849. "企业风险管理(app)"
  1850. ],
  1851. "summary": "获取企业风管期货内部持仓单信息",
  1852. "parameters": [
  1853. {
  1854. "type": "integer",
  1855. "description": "资金账户ID",
  1856. "name": "accountID",
  1857. "in": "query",
  1858. "required": true
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "商品ID",
  1863. "name": "goodsID",
  1864. "in": "query"
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "买卖方向,0:买 1:卖",
  1869. "name": "buyOrSell",
  1870. "in": "query"
  1871. }
  1872. ],
  1873. "responses": {
  1874. "200": {
  1875. "description": "OK",
  1876. "schema": {
  1877. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Ermcp/QueryErmcpOrderDetails": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "企业风险管理(app)"
  1901. ],
  1902. "summary": "获取企业风管期货委托单信息",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "资金账户ID",
  1907. "name": "accountID",
  1908. "in": "query",
  1909. "required": true
  1910. }
  1911. ],
  1912. "responses": {
  1913. "200": {
  1914. "description": "OK",
  1915. "schema": {
  1916. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1917. }
  1918. },
  1919. "500": {
  1920. "description": "Internal Server Error",
  1921. "schema": {
  1922. "$ref": "#/definitions/app.Response"
  1923. }
  1924. }
  1925. }
  1926. }
  1927. },
  1928. "/Ermcp/QueryErmcpTradeDetails": {
  1929. "get": {
  1930. "security": [
  1931. {
  1932. "ApiKeyAuth": []
  1933. }
  1934. ],
  1935. "produces": [
  1936. "application/json"
  1937. ],
  1938. "tags": [
  1939. "企业风险管理(app)"
  1940. ],
  1941. "summary": "获取企业风管期货成交单信息",
  1942. "parameters": [
  1943. {
  1944. "type": "integer",
  1945. "description": "资金账户ID",
  1946. "name": "accountID",
  1947. "in": "query",
  1948. "required": true
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "商品ID",
  1953. "name": "goodsID",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "买卖方向,0:买 1:卖",
  1959. "name": "buyOrSell",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "关联委托单号",
  1965. "name": "orderID",
  1966. "in": "query"
  1967. }
  1968. ],
  1969. "responses": {
  1970. "200": {
  1971. "description": "OK",
  1972. "schema": {
  1973. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1974. }
  1975. },
  1976. "500": {
  1977. "description": "Internal Server Error",
  1978. "schema": {
  1979. "$ref": "#/definitions/app.Response"
  1980. }
  1981. }
  1982. }
  1983. }
  1984. },
  1985. "/Ermcp/QueryErmcpTradePosition": {
  1986. "get": {
  1987. "security": [
  1988. {
  1989. "ApiKeyAuth": []
  1990. }
  1991. ],
  1992. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1993. "produces": [
  1994. "application/json"
  1995. ],
  1996. "tags": [
  1997. "企业风险管理(app)"
  1998. ],
  1999. "summary": "获取企业风管期货持仓头寸信息",
  2000. "parameters": [
  2001. {
  2002. "type": "integer",
  2003. "description": "资金账户ID",
  2004. "name": "accountID",
  2005. "in": "query",
  2006. "required": true
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "所属市场ID",
  2011. "name": "marketID",
  2012. "in": "query"
  2013. }
  2014. ],
  2015. "responses": {
  2016. "200": {
  2017. "description": "OK",
  2018. "schema": {
  2019. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2020. }
  2021. },
  2022. "500": {
  2023. "description": "Internal Server Error",
  2024. "schema": {
  2025. "$ref": "#/definitions/app.Response"
  2026. }
  2027. }
  2028. }
  2029. }
  2030. },
  2031. "/Ermcp/QueryExposureDetail": {
  2032. "get": {
  2033. "security": [
  2034. {
  2035. "ApiKeyAuth": []
  2036. }
  2037. ],
  2038. "produces": [
  2039. "application/json"
  2040. ],
  2041. "tags": [
  2042. "企业风险管理(app)"
  2043. ],
  2044. "summary": "查询敞口现货明细",
  2045. "parameters": [
  2046. {
  2047. "type": "integer",
  2048. "description": "所属机构ID",
  2049. "name": "areaUserId",
  2050. "in": "query",
  2051. "required": true
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "套保商品",
  2056. "name": "middleGoodsId",
  2057. "in": "query",
  2058. "required": true
  2059. }
  2060. ],
  2061. "responses": {
  2062. "200": {
  2063. "description": "OK",
  2064. "schema": {
  2065. "type": "array",
  2066. "items": {
  2067. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2068. }
  2069. }
  2070. },
  2071. "500": {
  2072. "description": "Internal Server Error",
  2073. "schema": {
  2074. "$ref": "#/definitions/app.Response"
  2075. }
  2076. }
  2077. }
  2078. }
  2079. },
  2080. "/Ermcp/QueryExposureGoods": {
  2081. "get": {
  2082. "security": [
  2083. {
  2084. "ApiKeyAuth": []
  2085. }
  2086. ],
  2087. "produces": [
  2088. "application/json"
  2089. ],
  2090. "tags": [
  2091. "企业风险管理(app)"
  2092. ],
  2093. "summary": "查询敞口主力合约",
  2094. "parameters": [
  2095. {
  2096. "type": "integer",
  2097. "description": "套保商品id",
  2098. "name": "middlegoodsid",
  2099. "in": "query",
  2100. "required": true
  2101. }
  2102. ],
  2103. "responses": {
  2104. "200": {
  2105. "description": "OK",
  2106. "schema": {
  2107. "type": "array",
  2108. "items": {
  2109. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2110. }
  2111. }
  2112. },
  2113. "500": {
  2114. "description": "Internal Server Error",
  2115. "schema": {
  2116. "$ref": "#/definitions/app.Response"
  2117. }
  2118. }
  2119. }
  2120. }
  2121. },
  2122. "/Ermcp/QueryExposureHedgePosition": {
  2123. "get": {
  2124. "security": [
  2125. {
  2126. "ApiKeyAuth": []
  2127. }
  2128. ],
  2129. "produces": [
  2130. "application/json"
  2131. ],
  2132. "tags": [
  2133. "企业风险管理(app)"
  2134. ],
  2135. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2136. "parameters": [
  2137. {
  2138. "type": "integer",
  2139. "description": "用户id",
  2140. "name": "userid",
  2141. "in": "query",
  2142. "required": true
  2143. }
  2144. ],
  2145. "responses": {
  2146. "200": {
  2147. "description": "OK",
  2148. "schema": {
  2149. "type": "array",
  2150. "items": {
  2151. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2152. }
  2153. }
  2154. },
  2155. "500": {
  2156. "description": "Internal Server Error",
  2157. "schema": {
  2158. "$ref": "#/definitions/app.Response"
  2159. }
  2160. }
  2161. }
  2162. }
  2163. },
  2164. "/Ermcp/QueryExposureHedgePositionDetail": {
  2165. "get": {
  2166. "security": [
  2167. {
  2168. "ApiKeyAuth": []
  2169. }
  2170. ],
  2171. "produces": [
  2172. "application/json"
  2173. ],
  2174. "tags": [
  2175. "企业风险管理(app)"
  2176. ],
  2177. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2178. "parameters": [
  2179. {
  2180. "type": "integer",
  2181. "description": "所属机构ID",
  2182. "name": "userid",
  2183. "in": "query",
  2184. "required": true
  2185. },
  2186. {
  2187. "type": "integer",
  2188. "description": "商品id",
  2189. "name": "goodsId",
  2190. "in": "query",
  2191. "required": true
  2192. }
  2193. ],
  2194. "responses": {
  2195. "200": {
  2196. "description": "OK",
  2197. "schema": {
  2198. "type": "array",
  2199. "items": {
  2200. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2201. }
  2202. }
  2203. },
  2204. "500": {
  2205. "description": "Internal Server Error",
  2206. "schema": {
  2207. "$ref": "#/definitions/app.Response"
  2208. }
  2209. }
  2210. }
  2211. }
  2212. },
  2213. "/Ermcp/QueryExposureSpot": {
  2214. "get": {
  2215. "security": [
  2216. {
  2217. "ApiKeyAuth": []
  2218. }
  2219. ],
  2220. "produces": [
  2221. "application/json"
  2222. ],
  2223. "tags": [
  2224. "企业风险管理(app)"
  2225. ],
  2226. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2227. "parameters": [
  2228. {
  2229. "type": "integer",
  2230. "description": "所属机构ID",
  2231. "name": "areaUserId",
  2232. "in": "query",
  2233. "required": true
  2234. }
  2235. ],
  2236. "responses": {
  2237. "200": {
  2238. "description": "OK",
  2239. "schema": {
  2240. "type": "array",
  2241. "items": {
  2242. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2243. }
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Ermcp/QueryExposureSpotDetail": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "企业风险管理(app)"
  2267. ],
  2268. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2269. "parameters": [
  2270. {
  2271. "type": "integer",
  2272. "description": "所属机构ID",
  2273. "name": "areaUserId",
  2274. "in": "query",
  2275. "required": true
  2276. },
  2277. {
  2278. "type": "integer",
  2279. "description": "现货品种ID",
  2280. "name": "wrstandardId",
  2281. "in": "query",
  2282. "required": true
  2283. }
  2284. ],
  2285. "responses": {
  2286. "200": {
  2287. "description": "OK",
  2288. "schema": {
  2289. "type": "array",
  2290. "items": {
  2291. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2292. }
  2293. }
  2294. },
  2295. "500": {
  2296. "description": "Internal Server Error",
  2297. "schema": {
  2298. "$ref": "#/definitions/app.Response"
  2299. }
  2300. }
  2301. }
  2302. }
  2303. },
  2304. "/Ermcp/QueryFuturesCompany": {
  2305. "get": {
  2306. "security": [
  2307. {
  2308. "ApiKeyAuth": []
  2309. }
  2310. ],
  2311. "produces": [
  2312. "application/json"
  2313. ],
  2314. "tags": [
  2315. "企业风险管理(app)"
  2316. ],
  2317. "summary": "查询期货公司",
  2318. "responses": {
  2319. "200": {
  2320. "description": "OK",
  2321. "schema": {
  2322. "type": "array",
  2323. "items": {
  2324. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2325. }
  2326. }
  2327. },
  2328. "500": {
  2329. "description": "Internal Server Error",
  2330. "schema": {
  2331. "$ref": "#/definitions/app.Response"
  2332. }
  2333. }
  2334. }
  2335. }
  2336. },
  2337. "/Ermcp/QueryGGConvertConfig": {
  2338. "get": {
  2339. "security": [
  2340. {
  2341. "ApiKeyAuth": []
  2342. }
  2343. ],
  2344. "produces": [
  2345. "application/json"
  2346. ],
  2347. "tags": [
  2348. "企业风险管理(app)"
  2349. ],
  2350. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2351. "parameters": [
  2352. {
  2353. "type": "integer",
  2354. "description": "品种id(不填则查所有)",
  2355. "name": "goodsgroupid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsBrand": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品品牌",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. },
  2400. {
  2401. "type": "integer",
  2402. "description": "现货商品ID",
  2403. "name": "wrstandardid",
  2404. "in": "query"
  2405. }
  2406. ],
  2407. "responses": {
  2408. "200": {
  2409. "description": "OK",
  2410. "schema": {
  2411. "type": "array",
  2412. "items": {
  2413. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2414. }
  2415. }
  2416. },
  2417. "500": {
  2418. "description": "Internal Server Error",
  2419. "schema": {
  2420. "$ref": "#/definitions/app.Response"
  2421. }
  2422. }
  2423. }
  2424. }
  2425. },
  2426. "/Ermcp/QueryGoodsModel": {
  2427. "get": {
  2428. "security": [
  2429. {
  2430. "ApiKeyAuth": []
  2431. }
  2432. ],
  2433. "produces": [
  2434. "application/json"
  2435. ],
  2436. "tags": [
  2437. "企业风险管理(app)"
  2438. ],
  2439. "summary": "查询商品型号",
  2440. "parameters": [
  2441. {
  2442. "type": "integer",
  2443. "description": "用户ID",
  2444. "name": "userid",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryHisExposure": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "用户id",
  2486. "name": "userid",
  2487. "in": "query",
  2488. "required": true
  2489. },
  2490. {
  2491. "type": "integer",
  2492. "description": "每个品种记录数",
  2493. "name": "lastNum",
  2494. "in": "query",
  2495. "required": true
  2496. }
  2497. ],
  2498. "responses": {
  2499. "200": {
  2500. "description": "OK",
  2501. "schema": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryMiddleGoods": {
  2518. "get": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "企业风险管理(app)"
  2529. ],
  2530. "summary": "查询套保品种(菜单:套保品种)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "所属机构ID",
  2535. "name": "userid",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "integer",
  2541. "description": "状态 0-停用 1-正常",
  2542. "name": "status",
  2543. "in": "query",
  2544. "required": true
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "type": "array",
  2552. "items": {
  2553. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2554. }
  2555. }
  2556. },
  2557. "500": {
  2558. "description": "Internal Server Error",
  2559. "schema": {
  2560. "$ref": "#/definitions/app.Response"
  2561. }
  2562. }
  2563. }
  2564. }
  2565. },
  2566. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2567. "get": {
  2568. "security": [
  2569. {
  2570. "ApiKeyAuth": []
  2571. }
  2572. ],
  2573. "produces": [
  2574. "application/json"
  2575. ],
  2576. "tags": [
  2577. "企业风险管理(app)"
  2578. ],
  2579. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2580. "parameters": [
  2581. {
  2582. "type": "integer",
  2583. "description": "所属机构ID",
  2584. "name": "userid",
  2585. "in": "query",
  2586. "required": true
  2587. },
  2588. {
  2589. "type": "integer",
  2590. "description": "套保品种id",
  2591. "name": "middlegoodsid",
  2592. "in": "query",
  2593. "required": true
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryMiddleGoodsDetail": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "所属机构ID",
  2633. "name": "userid",
  2634. "in": "query",
  2635. "required": true
  2636. },
  2637. {
  2638. "type": "integer",
  2639. "description": "套保品种id",
  2640. "name": "middlegoodsid",
  2641. "in": "query"
  2642. }
  2643. ],
  2644. "responses": {
  2645. "200": {
  2646. "description": "OK",
  2647. "schema": {
  2648. "type": "array",
  2649. "items": {
  2650. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2651. }
  2652. }
  2653. },
  2654. "500": {
  2655. "description": "Internal Server Error",
  2656. "schema": {
  2657. "$ref": "#/definitions/app.Response"
  2658. }
  2659. }
  2660. }
  2661. }
  2662. },
  2663. "/Ermcp/QueryPendingAuditInfo": {
  2664. "get": {
  2665. "security": [
  2666. {
  2667. "ApiKeyAuth": []
  2668. }
  2669. ],
  2670. "produces": [
  2671. "application/json"
  2672. ],
  2673. "tags": [
  2674. "企业风险管理(app)"
  2675. ],
  2676. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2677. "parameters": [
  2678. {
  2679. "type": "integer",
  2680. "description": "用户ID",
  2681. "name": "UserId",
  2682. "in": "query",
  2683. "required": true
  2684. }
  2685. ],
  2686. "responses": {
  2687. "200": {
  2688. "description": "OK",
  2689. "schema": {
  2690. "type": "array",
  2691. "items": {
  2692. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2693. }
  2694. }
  2695. },
  2696. "500": {
  2697. "description": "Internal Server Error",
  2698. "schema": {
  2699. "$ref": "#/definitions/app.Response"
  2700. }
  2701. }
  2702. }
  2703. }
  2704. },
  2705. "/Ermcp/QueryRealtimeExposure": {
  2706. "get": {
  2707. "security": [
  2708. {
  2709. "ApiKeyAuth": []
  2710. }
  2711. ],
  2712. "produces": [
  2713. "application/json"
  2714. ],
  2715. "tags": [
  2716. "企业风险管理(app)"
  2717. ],
  2718. "summary": "查询实时敞口",
  2719. "parameters": [
  2720. {
  2721. "type": "integer",
  2722. "description": "所属机构ID",
  2723. "name": "userid",
  2724. "in": "query",
  2725. "required": true
  2726. }
  2727. ],
  2728. "responses": {
  2729. "200": {
  2730. "description": "OK",
  2731. "schema": {
  2732. "type": "array",
  2733. "items": {
  2734. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2735. }
  2736. }
  2737. },
  2738. "500": {
  2739. "description": "Internal Server Error",
  2740. "schema": {
  2741. "$ref": "#/definitions/app.Response"
  2742. }
  2743. }
  2744. }
  2745. }
  2746. },
  2747. "/Ermcp/QueryRealtimeExposurePosition": {
  2748. "get": {
  2749. "security": [
  2750. {
  2751. "ApiKeyAuth": []
  2752. }
  2753. ],
  2754. "produces": [
  2755. "application/json"
  2756. ],
  2757. "tags": [
  2758. "企业风险管理(app)"
  2759. ],
  2760. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2761. "parameters": [
  2762. {
  2763. "type": "integer",
  2764. "description": "用户id",
  2765. "name": "userid",
  2766. "in": "query",
  2767. "required": true
  2768. },
  2769. {
  2770. "type": "integer",
  2771. "description": "套保商品ID",
  2772. "name": "middleGoodsId",
  2773. "in": "query",
  2774. "required": true
  2775. }
  2776. ],
  2777. "responses": {
  2778. "200": {
  2779. "description": "OK",
  2780. "schema": {
  2781. "type": "array",
  2782. "items": {
  2783. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2784. }
  2785. }
  2786. },
  2787. "500": {
  2788. "description": "Internal Server Error",
  2789. "schema": {
  2790. "$ref": "#/definitions/app.Response"
  2791. }
  2792. }
  2793. }
  2794. }
  2795. },
  2796. "/Ermcp/QueryTradeConfigTMP": {
  2797. "get": {
  2798. "security": [
  2799. {
  2800. "ApiKeyAuth": []
  2801. }
  2802. ],
  2803. "produces": [
  2804. "application/json"
  2805. ],
  2806. "tags": [
  2807. "企业风险管理(app)"
  2808. ],
  2809. "summary": "查询交易模板配置",
  2810. "parameters": [
  2811. {
  2812. "type": "integer",
  2813. "description": "所属机构id",
  2814. "name": "areauserid",
  2815. "in": "query"
  2816. }
  2817. ],
  2818. "responses": {
  2819. "200": {
  2820. "description": "OK",
  2821. "schema": {
  2822. "type": "array",
  2823. "items": {
  2824. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2825. }
  2826. }
  2827. },
  2828. "500": {
  2829. "description": "Internal Server Error",
  2830. "schema": {
  2831. "$ref": "#/definitions/app.Response"
  2832. }
  2833. }
  2834. }
  2835. }
  2836. },
  2837. "/Ermcp/QueryUserInfo": {
  2838. "get": {
  2839. "security": [
  2840. {
  2841. "ApiKeyAuth": []
  2842. }
  2843. ],
  2844. "produces": [
  2845. "application/json"
  2846. ],
  2847. "tags": [
  2848. "企业风险管理(app)"
  2849. ],
  2850. "summary": "查询客户资料",
  2851. "parameters": [
  2852. {
  2853. "type": "integer",
  2854. "description": "所属机构用户ID",
  2855. "name": "MemberUserID",
  2856. "in": "query",
  2857. "required": true
  2858. },
  2859. {
  2860. "type": "integer",
  2861. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2862. "name": "queryType",
  2863. "in": "query",
  2864. "required": true
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp/QueryWarehouseInfo": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理(app)"
  2898. ],
  2899. "summary": "查询仓库信息",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "string",
  2910. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2911. "name": "status",
  2912. "in": "query"
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "OK",
  2918. "schema": {
  2919. "type": "array",
  2920. "items": {
  2921. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2922. }
  2923. }
  2924. },
  2925. "500": {
  2926. "description": "Internal Server Error",
  2927. "schema": {
  2928. "$ref": "#/definitions/app.Response"
  2929. }
  2930. }
  2931. }
  2932. }
  2933. },
  2934. "/Ermcp3/QryAreaExpourseContractDetail": {
  2935. "get": {
  2936. "security": [
  2937. {
  2938. "ApiKeyAuth": []
  2939. }
  2940. ],
  2941. "produces": [
  2942. "application/json"
  2943. ],
  2944. "tags": [
  2945. "企业风险管理v3(app)"
  2946. ],
  2947. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2948. "parameters": [
  2949. {
  2950. "type": "integer",
  2951. "description": "用户ID",
  2952. "name": "userid",
  2953. "in": "query",
  2954. "required": true
  2955. },
  2956. {
  2957. "type": "integer",
  2958. "description": "套保商品id",
  2959. "name": "middlegoodsid",
  2960. "in": "query",
  2961. "required": true
  2962. },
  2963. {
  2964. "type": "integer",
  2965. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2966. "name": "cycletype",
  2967. "in": "query",
  2968. "required": true
  2969. },
  2970. {
  2971. "type": "string",
  2972. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2973. "name": "cycletime",
  2974. "in": "query",
  2975. "required": true
  2976. }
  2977. ],
  2978. "responses": {
  2979. "200": {
  2980. "description": "OK",
  2981. "schema": {
  2982. "type": "array",
  2983. "items": {
  2984. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2985. }
  2986. }
  2987. },
  2988. "500": {
  2989. "description": "Internal Server Error",
  2990. "schema": {
  2991. "$ref": "#/definitions/app.Response"
  2992. }
  2993. }
  2994. }
  2995. }
  2996. },
  2997. "/Ermcp3/QryAreaExpourseFutuDetail": {
  2998. "get": {
  2999. "security": [
  3000. {
  3001. "ApiKeyAuth": []
  3002. }
  3003. ],
  3004. "produces": [
  3005. "application/json"
  3006. ],
  3007. "tags": [
  3008. "企业风险管理v3(app)"
  3009. ],
  3010. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3011. "parameters": [
  3012. {
  3013. "type": "integer",
  3014. "description": "用户ID",
  3015. "name": "userid",
  3016. "in": "query",
  3017. "required": true
  3018. },
  3019. {
  3020. "type": "integer",
  3021. "description": "套保商品id",
  3022. "name": "middlegoodsid",
  3023. "in": "query",
  3024. "required": true
  3025. },
  3026. {
  3027. "type": "integer",
  3028. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3029. "name": "cycletype",
  3030. "in": "query",
  3031. "required": true
  3032. },
  3033. {
  3034. "type": "string",
  3035. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3036. "name": "cycletime",
  3037. "in": "query",
  3038. "required": true
  3039. }
  3040. ],
  3041. "responses": {
  3042. "200": {
  3043. "description": "OK",
  3044. "schema": {
  3045. "type": "array",
  3046. "items": {
  3047. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3048. }
  3049. }
  3050. },
  3051. "500": {
  3052. "description": "Internal Server Error",
  3053. "schema": {
  3054. "$ref": "#/definitions/app.Response"
  3055. }
  3056. }
  3057. }
  3058. }
  3059. },
  3060. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3061. "get": {
  3062. "security": [
  3063. {
  3064. "ApiKeyAuth": []
  3065. }
  3066. ],
  3067. "produces": [
  3068. "application/json"
  3069. ],
  3070. "tags": [
  3071. "企业风险管理v3(app)"
  3072. ],
  3073. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3074. "parameters": [
  3075. {
  3076. "type": "integer",
  3077. "description": "用户ID",
  3078. "name": "userid",
  3079. "in": "query",
  3080. "required": true
  3081. },
  3082. {
  3083. "type": "integer",
  3084. "description": "套保商品id",
  3085. "name": "middlegoodsid",
  3086. "in": "query",
  3087. "required": true
  3088. },
  3089. {
  3090. "type": "integer",
  3091. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3092. "name": "cycletype",
  3093. "in": "query",
  3094. "required": true
  3095. },
  3096. {
  3097. "type": "string",
  3098. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3099. "name": "cycletime",
  3100. "in": "query",
  3101. "required": true
  3102. }
  3103. ],
  3104. "responses": {
  3105. "200": {
  3106. "description": "OK",
  3107. "schema": {
  3108. "type": "array",
  3109. "items": {
  3110. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3111. }
  3112. }
  3113. },
  3114. "500": {
  3115. "description": "Internal Server Error",
  3116. "schema": {
  3117. "$ref": "#/definitions/app.Response"
  3118. }
  3119. }
  3120. }
  3121. }
  3122. },
  3123. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3124. "get": {
  3125. "security": [
  3126. {
  3127. "ApiKeyAuth": []
  3128. }
  3129. ],
  3130. "produces": [
  3131. "application/json"
  3132. ],
  3133. "tags": [
  3134. "企业风险管理v3(app)"
  3135. ],
  3136. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3137. "parameters": [
  3138. {
  3139. "type": "integer",
  3140. "description": "用户ID",
  3141. "name": "userid",
  3142. "in": "query",
  3143. "required": true
  3144. },
  3145. {
  3146. "type": "integer",
  3147. "description": "套保商品id",
  3148. "name": "middlegoodsid",
  3149. "in": "query",
  3150. "required": true
  3151. },
  3152. {
  3153. "type": "integer",
  3154. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3155. "name": "cycletype",
  3156. "in": "query",
  3157. "required": true
  3158. },
  3159. {
  3160. "type": "string",
  3161. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3162. "name": "cycletime",
  3163. "in": "query",
  3164. "required": true
  3165. }
  3166. ],
  3167. "responses": {
  3168. "200": {
  3169. "description": "OK",
  3170. "schema": {
  3171. "type": "array",
  3172. "items": {
  3173. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3174. }
  3175. }
  3176. },
  3177. "500": {
  3178. "description": "Internal Server Error",
  3179. "schema": {
  3180. "$ref": "#/definitions/app.Response"
  3181. }
  3182. }
  3183. }
  3184. }
  3185. },
  3186. "/Ermcp3/QryAreaExpourseReport": {
  3187. "get": {
  3188. "security": [
  3189. {
  3190. "ApiKeyAuth": []
  3191. }
  3192. ],
  3193. "produces": [
  3194. "application/json"
  3195. ],
  3196. "tags": [
  3197. "企业风险管理v3(app)"
  3198. ],
  3199. "summary": "查询敞口报表",
  3200. "parameters": [
  3201. {
  3202. "type": "integer",
  3203. "description": "用户ID",
  3204. "name": "userid",
  3205. "in": "query",
  3206. "required": true
  3207. },
  3208. {
  3209. "type": "integer",
  3210. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3211. "name": "querytype",
  3212. "in": "query",
  3213. "required": true
  3214. },
  3215. {
  3216. "type": "integer",
  3217. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3218. "name": "cycletype",
  3219. "in": "query",
  3220. "required": true
  3221. },
  3222. {
  3223. "type": "string",
  3224. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3225. "name": "cycletime",
  3226. "in": "query",
  3227. "required": true
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp3/QryAreaSpotplReport": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理v3(app)"
  3261. ],
  3262. "summary": "查询现货报表",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "用户ID",
  3267. "name": "userid",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型 1-报表 2-报表明细",
  3274. "name": "querytype",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "integer",
  3280. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3281. "name": "cycletype",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "string",
  3287. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3288. "name": "cycletime",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "现货品种id(明细必填)",
  3295. "name": "deliverygoodsid",
  3296. "in": "query"
  3297. },
  3298. {
  3299. "type": "integer",
  3300. "description": "币种id(明细必填)",
  3301. "name": "currencyid",
  3302. "in": "query"
  3303. }
  3304. ],
  3305. "responses": {
  3306. "200": {
  3307. "description": "OK",
  3308. "schema": {
  3309. "type": "array",
  3310. "items": {
  3311. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3312. }
  3313. }
  3314. },
  3315. "500": {
  3316. "description": "Internal Server Error",
  3317. "schema": {
  3318. "$ref": "#/definitions/app.Response"
  3319. }
  3320. }
  3321. }
  3322. }
  3323. },
  3324. "/Ermcp3/QryAreaStockReport": {
  3325. "get": {
  3326. "security": [
  3327. {
  3328. "ApiKeyAuth": []
  3329. }
  3330. ],
  3331. "produces": [
  3332. "application/json"
  3333. ],
  3334. "tags": [
  3335. "企业风险管理v3(app)"
  3336. ],
  3337. "summary": "查询库存报表",
  3338. "parameters": [
  3339. {
  3340. "type": "integer",
  3341. "description": "用户ID",
  3342. "name": "userid",
  3343. "in": "query",
  3344. "required": true
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "查询类型 1-报表 2-报表明细",
  3349. "name": "querytype",
  3350. "in": "query",
  3351. "required": true
  3352. },
  3353. {
  3354. "type": "integer",
  3355. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3356. "name": "cycletype",
  3357. "in": "query",
  3358. "required": true
  3359. },
  3360. {
  3361. "type": "string",
  3362. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3363. "name": "cycletime",
  3364. "in": "query",
  3365. "required": true
  3366. },
  3367. {
  3368. "type": "string",
  3369. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3370. "name": "sumfields",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "品种ID",
  3376. "name": "deliverygoodsid",
  3377. "in": "query"
  3378. },
  3379. {
  3380. "type": "integer",
  3381. "description": "品类ID",
  3382. "name": "wrstandardid",
  3383. "in": "query"
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "品牌ID",
  3388. "name": "spotgoodsbrandid",
  3389. "in": "query"
  3390. },
  3391. {
  3392. "type": "integer",
  3393. "description": "仓库ID",
  3394. "name": "warehouseinfoid",
  3395. "in": "query"
  3396. }
  3397. ],
  3398. "responses": {
  3399. "200": {
  3400. "description": "OK",
  3401. "schema": {
  3402. "type": "array",
  3403. "items": {
  3404. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3405. }
  3406. }
  3407. },
  3408. "500": {
  3409. "description": "Internal Server Error",
  3410. "schema": {
  3411. "$ref": "#/definitions/app.Response"
  3412. }
  3413. }
  3414. }
  3415. }
  3416. },
  3417. "/Ermcp3/QryAreaSumPL": {
  3418. "get": {
  3419. "security": [
  3420. {
  3421. "ApiKeyAuth": []
  3422. }
  3423. ],
  3424. "produces": [
  3425. "application/json"
  3426. ],
  3427. "tags": [
  3428. "企业风险管理v3(app)"
  3429. ],
  3430. "summary": "查询汇总损益表",
  3431. "parameters": [
  3432. {
  3433. "type": "integer",
  3434. "description": "用户ID",
  3435. "name": "userid",
  3436. "in": "query",
  3437. "required": true
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "查询类型 1-报表 2-报表明细",
  3442. "name": "querytype",
  3443. "in": "query",
  3444. "required": true
  3445. },
  3446. {
  3447. "type": "integer",
  3448. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3449. "name": "cycletype",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "string",
  3455. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3456. "name": "cycletime",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "币种id(明细必填)",
  3463. "name": "currencyid",
  3464. "in": "query"
  3465. }
  3466. ],
  3467. "responses": {
  3468. "200": {
  3469. "description": "OK",
  3470. "schema": {
  3471. "type": "array",
  3472. "items": {
  3473. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3474. }
  3475. }
  3476. },
  3477. "500": {
  3478. "description": "Internal Server Error",
  3479. "schema": {
  3480. "$ref": "#/definitions/app.Response"
  3481. }
  3482. }
  3483. }
  3484. }
  3485. },
  3486. "/Ermcp3/QryFinanceReport": {
  3487. "get": {
  3488. "security": [
  3489. {
  3490. "ApiKeyAuth": []
  3491. }
  3492. ],
  3493. "produces": [
  3494. "application/json"
  3495. ],
  3496. "tags": [
  3497. "企业风险管理v3(app)"
  3498. ],
  3499. "summary": "查询财务报表",
  3500. "parameters": [
  3501. {
  3502. "type": "integer",
  3503. "description": "用户ID",
  3504. "name": "userid",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "integer",
  3510. "description": "查询类型 1-报表 2-报表明细",
  3511. "name": "querytype",
  3512. "in": "query",
  3513. "required": true
  3514. },
  3515. {
  3516. "type": "integer",
  3517. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3518. "name": "cycletype",
  3519. "in": "query",
  3520. "required": true
  3521. },
  3522. {
  3523. "type": "string",
  3524. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3525. "name": "cycletime",
  3526. "in": "query",
  3527. "required": true
  3528. },
  3529. {
  3530. "type": "integer",
  3531. "description": "币种id(报表明细必填)",
  3532. "name": "currencyid",
  3533. "in": "query"
  3534. },
  3535. {
  3536. "type": "string",
  3537. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3538. "name": "sumfields",
  3539. "in": "query"
  3540. }
  3541. ],
  3542. "responses": {
  3543. "200": {
  3544. "description": "OK",
  3545. "schema": {
  3546. "type": "array",
  3547. "items": {
  3548. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3549. }
  3550. }
  3551. },
  3552. "500": {
  3553. "description": "Internal Server Error",
  3554. "schema": {
  3555. "$ref": "#/definitions/app.Response"
  3556. }
  3557. }
  3558. }
  3559. }
  3560. },
  3561. "/Ermcp3/QryTaFutureDataReport": {
  3562. "get": {
  3563. "security": [
  3564. {
  3565. "ApiKeyAuth": []
  3566. }
  3567. ],
  3568. "produces": [
  3569. "application/json"
  3570. ],
  3571. "tags": [
  3572. "企业风险管理v3(app)"
  3573. ],
  3574. "summary": "查询期货报表",
  3575. "parameters": [
  3576. {
  3577. "type": "integer",
  3578. "description": "用户ID",
  3579. "name": "userid",
  3580. "in": "query",
  3581. "required": true
  3582. },
  3583. {
  3584. "type": "integer",
  3585. "description": "查询类型 1-报表 2-报表明细",
  3586. "name": "querytype",
  3587. "in": "query",
  3588. "required": true
  3589. },
  3590. {
  3591. "type": "integer",
  3592. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3593. "name": "cycletype",
  3594. "in": "query",
  3595. "required": true
  3596. },
  3597. {
  3598. "type": "string",
  3599. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3600. "name": "cycletime",
  3601. "in": "query",
  3602. "required": true
  3603. },
  3604. {
  3605. "type": "integer",
  3606. "description": "币种id(查明细必填)",
  3607. "name": "currencyid",
  3608. "in": "query"
  3609. },
  3610. {
  3611. "type": "integer",
  3612. "description": "品种id(查明细必填)",
  3613. "name": "goodsgroupid",
  3614. "in": "query"
  3615. },
  3616. {
  3617. "type": "integer",
  3618. "description": "商品id(查明细必填)",
  3619. "name": "goodsid",
  3620. "in": "query"
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "买卖方向(查明细必填)",
  3625. "name": "buyorsell",
  3626. "in": "query"
  3627. }
  3628. ],
  3629. "responses": {
  3630. "200": {
  3631. "description": "OK",
  3632. "schema": {
  3633. "type": "array",
  3634. "items": {
  3635. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3636. }
  3637. }
  3638. },
  3639. "500": {
  3640. "description": "Internal Server Error",
  3641. "schema": {
  3642. "$ref": "#/definitions/app.Response"
  3643. }
  3644. }
  3645. }
  3646. }
  3647. },
  3648. "/Ermcp3/QueryAreaStock": {
  3649. "get": {
  3650. "security": [
  3651. {
  3652. "ApiKeyAuth": []
  3653. }
  3654. ],
  3655. "produces": [
  3656. "application/json"
  3657. ],
  3658. "tags": [
  3659. "企业风险管理v3(app)"
  3660. ],
  3661. "summary": "查询机构库存(库存管理/当前库存)",
  3662. "parameters": [
  3663. {
  3664. "type": "integer",
  3665. "description": "用户ID",
  3666. "name": "userid",
  3667. "in": "query",
  3668. "required": true
  3669. }
  3670. ],
  3671. "responses": {
  3672. "200": {
  3673. "description": "OK",
  3674. "schema": {
  3675. "type": "array",
  3676. "items": {
  3677. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3678. }
  3679. }
  3680. },
  3681. "500": {
  3682. "description": "Internal Server Error",
  3683. "schema": {
  3684. "$ref": "#/definitions/app.Response"
  3685. }
  3686. }
  3687. }
  3688. }
  3689. },
  3690. "/Ermcp3/QueryAreaStockApply": {
  3691. "get": {
  3692. "security": [
  3693. {
  3694. "ApiKeyAuth": []
  3695. }
  3696. ],
  3697. "produces": [
  3698. "application/json"
  3699. ],
  3700. "tags": [
  3701. "企业风险管理v3(app)"
  3702. ],
  3703. "summary": "查询库存申请(出入库记录|库存审核)",
  3704. "parameters": [
  3705. {
  3706. "type": "integer",
  3707. "description": "用户ID",
  3708. "name": "userid",
  3709. "in": "query",
  3710. "required": true
  3711. },
  3712. {
  3713. "type": "integer",
  3714. "description": "用户类型 2-机构 7-企业成员",
  3715. "name": "usertype",
  3716. "in": "query"
  3717. },
  3718. {
  3719. "type": "integer",
  3720. "description": "现货商品ID",
  3721. "name": "deliverygoodsid",
  3722. "in": "query"
  3723. },
  3724. {
  3725. "type": "string",
  3726. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3727. "name": "inouttype",
  3728. "in": "query"
  3729. },
  3730. {
  3731. "type": "integer",
  3732. "description": "合同ID",
  3733. "name": "spotcontractid",
  3734. "in": "query"
  3735. },
  3736. {
  3737. "type": "integer",
  3738. "description": "品类ID",
  3739. "name": "wrstandardid",
  3740. "in": "query"
  3741. },
  3742. {
  3743. "type": "integer",
  3744. "description": "品牌ID",
  3745. "name": "spotgoodsbrandid",
  3746. "in": "query"
  3747. },
  3748. {
  3749. "type": "integer",
  3750. "description": "仓库ID",
  3751. "name": "warehouseinfoid",
  3752. "in": "query"
  3753. },
  3754. {
  3755. "type": "string",
  3756. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3757. "name": "applystatus",
  3758. "in": "query"
  3759. }
  3760. ],
  3761. "responses": {
  3762. "200": {
  3763. "description": "OK",
  3764. "schema": {
  3765. "type": "array",
  3766. "items": {
  3767. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3768. }
  3769. }
  3770. },
  3771. "500": {
  3772. "description": "Internal Server Error",
  3773. "schema": {
  3774. "$ref": "#/definitions/app.Response"
  3775. }
  3776. }
  3777. }
  3778. }
  3779. },
  3780. "/Ermcp3/QueryAreaStockApplySum": {
  3781. "get": {
  3782. "security": [
  3783. {
  3784. "ApiKeyAuth": []
  3785. }
  3786. ],
  3787. "produces": [
  3788. "application/json"
  3789. ],
  3790. "tags": [
  3791. "企业风险管理v3(app)"
  3792. ],
  3793. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3794. "parameters": [
  3795. {
  3796. "type": "integer",
  3797. "description": "合同ID",
  3798. "name": "spotcontractid",
  3799. "in": "query"
  3800. }
  3801. ],
  3802. "responses": {
  3803. "200": {
  3804. "description": "OK",
  3805. "schema": {
  3806. "type": "array",
  3807. "items": {
  3808. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3809. }
  3810. }
  3811. },
  3812. "500": {
  3813. "description": "Internal Server Error",
  3814. "schema": {
  3815. "$ref": "#/definitions/app.Response"
  3816. }
  3817. }
  3818. }
  3819. }
  3820. },
  3821. "/Ermcp3/QueryDGFactoryItem": {
  3822. "get": {
  3823. "security": [
  3824. {
  3825. "ApiKeyAuth": []
  3826. }
  3827. ],
  3828. "produces": [
  3829. "application/json"
  3830. ],
  3831. "tags": [
  3832. "企业风险管理v3(app)"
  3833. ],
  3834. "summary": "查询品种要素定义项",
  3835. "parameters": [
  3836. {
  3837. "type": "integer",
  3838. "description": "用户id",
  3839. "name": "userid",
  3840. "in": "query"
  3841. },
  3842. {
  3843. "type": "integer",
  3844. "description": "用户类型 2-机构 7-企业成员",
  3845. "name": "usertype",
  3846. "in": "query"
  3847. },
  3848. {
  3849. "type": "integer",
  3850. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3851. "name": "dgfactoryitemid",
  3852. "in": "query"
  3853. },
  3854. {
  3855. "type": "integer",
  3856. "description": "现货品种ID",
  3857. "name": "deliverygoodsid",
  3858. "in": "query"
  3859. },
  3860. {
  3861. "type": "integer",
  3862. "description": "要素项类型",
  3863. "name": "dgfactoryitemtypeid",
  3864. "in": "query"
  3865. },
  3866. {
  3867. "type": "integer",
  3868. "description": "顺序",
  3869. "name": "orderindex",
  3870. "in": "query"
  3871. }
  3872. ],
  3873. "responses": {
  3874. "200": {
  3875. "description": "OK",
  3876. "schema": {
  3877. "type": "array",
  3878. "items": {
  3879. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3880. }
  3881. }
  3882. },
  3883. "500": {
  3884. "description": "Internal Server Error",
  3885. "schema": {
  3886. "$ref": "#/definitions/app.Response"
  3887. }
  3888. }
  3889. }
  3890. }
  3891. },
  3892. "/Ermcp3/QueryDeliveryGoods": {
  3893. "get": {
  3894. "security": [
  3895. {
  3896. "ApiKeyAuth": []
  3897. }
  3898. ],
  3899. "produces": [
  3900. "application/json"
  3901. ],
  3902. "tags": [
  3903. "企业风险管理v3(app)"
  3904. ],
  3905. "summary": "查询现货商品",
  3906. "parameters": [
  3907. {
  3908. "type": "integer",
  3909. "description": "用户id",
  3910. "name": "userid",
  3911. "in": "query",
  3912. "required": true
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "用户类型 2-机构 7-企业成员",
  3917. "name": "usertype",
  3918. "in": "query"
  3919. },
  3920. {
  3921. "type": "integer",
  3922. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3923. "name": "excludecfg",
  3924. "in": "query"
  3925. }
  3926. ],
  3927. "responses": {
  3928. "200": {
  3929. "description": "OK",
  3930. "schema": {
  3931. "type": "array",
  3932. "items": {
  3933. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3934. }
  3935. }
  3936. },
  3937. "500": {
  3938. "description": "Internal Server Error",
  3939. "schema": {
  3940. "$ref": "#/definitions/app.Response"
  3941. }
  3942. }
  3943. }
  3944. }
  3945. },
  3946. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3947. "get": {
  3948. "security": [
  3949. {
  3950. "ApiKeyAuth": []
  3951. }
  3952. ],
  3953. "produces": [
  3954. "application/json"
  3955. ],
  3956. "tags": [
  3957. "企业风险管理v3(app)"
  3958. ],
  3959. "summary": "查询现货商品详情",
  3960. "parameters": [
  3961. {
  3962. "type": "integer",
  3963. "description": "用户id",
  3964. "name": "userid",
  3965. "in": "query",
  3966. "required": true
  3967. },
  3968. {
  3969. "type": "integer",
  3970. "description": "用户类型 2-机构 7-企业成员",
  3971. "name": "usertype",
  3972. "in": "query"
  3973. },
  3974. {
  3975. "type": "integer",
  3976. "description": "现货商品id",
  3977. "name": "deliverygoodsid",
  3978. "in": "query"
  3979. }
  3980. ],
  3981. "responses": {
  3982. "200": {
  3983. "description": "OK",
  3984. "schema": {
  3985. "type": "array",
  3986. "items": {
  3987. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3988. }
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/Ermcp3/QueryExposureDetail": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "produces": [
  4008. "application/json"
  4009. ],
  4010. "tags": [
  4011. "企业风险管理v3(app)"
  4012. ],
  4013. "summary": "查询敞口现货明细",
  4014. "parameters": [
  4015. {
  4016. "type": "integer",
  4017. "description": "用户id",
  4018. "name": "userid",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "用户类型 2-机构 7-企业成员",
  4025. "name": "usertype",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保商品",
  4031. "name": "middlegoodsid",
  4032. "in": "query",
  4033. "required": true
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "type": "array",
  4041. "items": {
  4042. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4043. }
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/Ermcp3/QueryExposureSpot": {
  4056. "get": {
  4057. "security": [
  4058. {
  4059. "ApiKeyAuth": []
  4060. }
  4061. ],
  4062. "produces": [
  4063. "application/json"
  4064. ],
  4065. "tags": [
  4066. "企业风险管理v3(app)"
  4067. ],
  4068. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4069. "parameters": [
  4070. {
  4071. "type": "integer",
  4072. "description": "用户id",
  4073. "name": "userid",
  4074. "in": "query",
  4075. "required": true
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "用户类型 2-机构 7-企业成员",
  4080. "name": "usertype",
  4081. "in": "query"
  4082. }
  4083. ],
  4084. "responses": {
  4085. "200": {
  4086. "description": "OK",
  4087. "schema": {
  4088. "type": "array",
  4089. "items": {
  4090. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4091. }
  4092. }
  4093. },
  4094. "500": {
  4095. "description": "Internal Server Error",
  4096. "schema": {
  4097. "$ref": "#/definitions/app.Response"
  4098. }
  4099. }
  4100. }
  4101. }
  4102. },
  4103. "/Ermcp3/QueryExposureSpotDetail": {
  4104. "get": {
  4105. "security": [
  4106. {
  4107. "ApiKeyAuth": []
  4108. }
  4109. ],
  4110. "produces": [
  4111. "application/json"
  4112. ],
  4113. "tags": [
  4114. "企业风险管理v3(app)"
  4115. ],
  4116. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4117. "parameters": [
  4118. {
  4119. "type": "integer",
  4120. "description": "用户id",
  4121. "name": "userid",
  4122. "in": "query",
  4123. "required": true
  4124. },
  4125. {
  4126. "type": "integer",
  4127. "description": "用户类型 2-机构 7-企业成员",
  4128. "name": "usertype",
  4129. "in": "query"
  4130. },
  4131. {
  4132. "type": "integer",
  4133. "description": "现货品种ID",
  4134. "name": "deliverygoodsid",
  4135. "in": "query",
  4136. "required": true
  4137. }
  4138. ],
  4139. "responses": {
  4140. "200": {
  4141. "description": "OK",
  4142. "schema": {
  4143. "type": "array",
  4144. "items": {
  4145. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4146. }
  4147. }
  4148. },
  4149. "500": {
  4150. "description": "Internal Server Error",
  4151. "schema": {
  4152. "$ref": "#/definitions/app.Response"
  4153. }
  4154. }
  4155. }
  4156. }
  4157. },
  4158. "/Ermcp3/QueryGoodsGroup": {
  4159. "get": {
  4160. "security": [
  4161. {
  4162. "ApiKeyAuth": []
  4163. }
  4164. ],
  4165. "produces": [
  4166. "application/json"
  4167. ],
  4168. "tags": [
  4169. "企业风险管理v3(app)"
  4170. ],
  4171. "summary": "查询期货商品组",
  4172. "parameters": [
  4173. {
  4174. "type": "integer",
  4175. "description": "用户id",
  4176. "name": "userid",
  4177. "in": "query",
  4178. "required": true
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "用户类型 2-机构 7-企业成员",
  4183. "name": "usertype",
  4184. "in": "query"
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "排除套保品中已关联的商品组 1-排除",
  4189. "name": "excludecfg",
  4190. "in": "query"
  4191. }
  4192. ],
  4193. "responses": {
  4194. "200": {
  4195. "description": "OK",
  4196. "schema": {
  4197. "type": "array",
  4198. "items": {
  4199. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4200. }
  4201. }
  4202. },
  4203. "500": {
  4204. "description": "Internal Server Error",
  4205. "schema": {
  4206. "$ref": "#/definitions/app.Response"
  4207. }
  4208. }
  4209. }
  4210. }
  4211. },
  4212. "/Ermcp3/QueryGoodsWrstandard": {
  4213. "get": {
  4214. "security": [
  4215. {
  4216. "ApiKeyAuth": []
  4217. }
  4218. ],
  4219. "produces": [
  4220. "application/json"
  4221. ],
  4222. "tags": [
  4223. "企业风险管理v3(app)"
  4224. ],
  4225. "summary": "查询商品品类",
  4226. "parameters": [
  4227. {
  4228. "type": "integer",
  4229. "description": "用户id",
  4230. "name": "userid",
  4231. "in": "query",
  4232. "required": true
  4233. },
  4234. {
  4235. "type": "integer",
  4236. "description": "用户类型 2-机构 7-企业成员",
  4237. "name": "usertype",
  4238. "in": "query"
  4239. },
  4240. {
  4241. "type": "integer",
  4242. "description": "现货商品id",
  4243. "name": "deliverygoodsid",
  4244. "in": "query"
  4245. }
  4246. ],
  4247. "responses": {
  4248. "200": {
  4249. "description": "OK",
  4250. "schema": {
  4251. "type": "array",
  4252. "items": {
  4253. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4254. }
  4255. }
  4256. },
  4257. "500": {
  4258. "description": "Internal Server Error",
  4259. "schema": {
  4260. "$ref": "#/definitions/app.Response"
  4261. }
  4262. }
  4263. }
  4264. }
  4265. },
  4266. "/Ermcp3/QueryGoodsbrand": {
  4267. "get": {
  4268. "security": [
  4269. {
  4270. "ApiKeyAuth": []
  4271. }
  4272. ],
  4273. "produces": [
  4274. "application/json"
  4275. ],
  4276. "tags": [
  4277. "企业风险管理v3(app)"
  4278. ],
  4279. "summary": "查询商品品牌",
  4280. "parameters": [
  4281. {
  4282. "type": "integer",
  4283. "description": "用户id",
  4284. "name": "userid",
  4285. "in": "query",
  4286. "required": true
  4287. },
  4288. {
  4289. "type": "integer",
  4290. "description": "用户类型 2-机构 7-企业成员",
  4291. "name": "usertype",
  4292. "in": "query"
  4293. }
  4294. ],
  4295. "responses": {
  4296. "200": {
  4297. "description": "OK",
  4298. "schema": {
  4299. "type": "array",
  4300. "items": {
  4301. "$ref": "#/definitions/models.Ermcp3Brand"
  4302. }
  4303. }
  4304. },
  4305. "500": {
  4306. "description": "Internal Server Error",
  4307. "schema": {
  4308. "$ref": "#/definitions/app.Response"
  4309. }
  4310. }
  4311. }
  4312. }
  4313. },
  4314. "/Ermcp3/QueryHedgePlan": {
  4315. "get": {
  4316. "security": [
  4317. {
  4318. "ApiKeyAuth": []
  4319. }
  4320. ],
  4321. "produces": [
  4322. "application/json"
  4323. ],
  4324. "tags": [
  4325. "企业风险管理v3(app)"
  4326. ],
  4327. "summary": "查询套保计划",
  4328. "parameters": [
  4329. {
  4330. "type": "integer",
  4331. "description": "用户ID",
  4332. "name": "userid",
  4333. "in": "query",
  4334. "required": true
  4335. },
  4336. {
  4337. "type": "integer",
  4338. "description": "用户类型 2-机构 7-企业成员",
  4339. "name": "usertype",
  4340. "in": "query"
  4341. },
  4342. {
  4343. "type": "string",
  4344. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4345. "name": "hedgeplanstatus",
  4346. "in": "query",
  4347. "required": true
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "type": "array",
  4355. "items": {
  4356. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4357. }
  4358. }
  4359. },
  4360. "500": {
  4361. "description": "Internal Server Error",
  4362. "schema": {
  4363. "$ref": "#/definitions/app.Response"
  4364. }
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "/Ermcp3/QueryMiddleGoodsDetail": {
  4370. "get": {
  4371. "security": [
  4372. {
  4373. "ApiKeyAuth": []
  4374. }
  4375. ],
  4376. "produces": [
  4377. "application/json"
  4378. ],
  4379. "tags": [
  4380. "企业风险管理v3(app)"
  4381. ],
  4382. "summary": "查询套保品种详情(套保品种/商品详情)",
  4383. "parameters": [
  4384. {
  4385. "type": "integer",
  4386. "description": "用户id",
  4387. "name": "userid",
  4388. "in": "query",
  4389. "required": true
  4390. },
  4391. {
  4392. "type": "integer",
  4393. "description": "用户类型 2-机构 7-企业成员",
  4394. "name": "usertype",
  4395. "in": "query"
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "套保品种id",
  4400. "name": "middlegoodsid",
  4401. "in": "query"
  4402. }
  4403. ],
  4404. "responses": {
  4405. "200": {
  4406. "description": "OK",
  4407. "schema": {
  4408. "type": "array",
  4409. "items": {
  4410. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4411. }
  4412. }
  4413. },
  4414. "500": {
  4415. "description": "Internal Server Error",
  4416. "schema": {
  4417. "$ref": "#/definitions/app.Response"
  4418. }
  4419. }
  4420. }
  4421. }
  4422. },
  4423. "/Ermcp3/QueryRootUserAccount": {
  4424. "get": {
  4425. "security": [
  4426. {
  4427. "ApiKeyAuth": []
  4428. }
  4429. ],
  4430. "produces": [
  4431. "application/json"
  4432. ],
  4433. "tags": [
  4434. "企业风险管理v3(app)"
  4435. ],
  4436. "summary": "查询顶级用户信息",
  4437. "parameters": [
  4438. {
  4439. "type": "integer",
  4440. "description": "用户ID",
  4441. "name": "userid",
  4442. "in": "query",
  4443. "required": true
  4444. }
  4445. ],
  4446. "responses": {
  4447. "200": {
  4448. "description": "OK",
  4449. "schema": {
  4450. "type": "array",
  4451. "items": {
  4452. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4453. }
  4454. }
  4455. },
  4456. "500": {
  4457. "description": "Internal Server Error",
  4458. "schema": {
  4459. "$ref": "#/definitions/app.Response"
  4460. }
  4461. }
  4462. }
  4463. }
  4464. },
  4465. "/Ermcp3/QuerySpotContract": {
  4466. "get": {
  4467. "security": [
  4468. {
  4469. "ApiKeyAuth": []
  4470. }
  4471. ],
  4472. "produces": [
  4473. "application/json"
  4474. ],
  4475. "tags": [
  4476. "企业风险管理v3(app)"
  4477. ],
  4478. "summary": "查询现货合同",
  4479. "parameters": [
  4480. {
  4481. "type": "integer",
  4482. "description": "用户id",
  4483. "name": "userid",
  4484. "in": "query",
  4485. "required": true
  4486. },
  4487. {
  4488. "type": "integer",
  4489. "description": "用户类型 2-机构 7-企业成员",
  4490. "name": "usertype",
  4491. "in": "query"
  4492. },
  4493. {
  4494. "type": "integer",
  4495. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4496. "name": "querytype",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "string",
  4502. "description": "合同ID(SpotContractId)",
  4503. "name": "contractid",
  4504. "in": "query"
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "type": "array",
  4512. "items": {
  4513. "$ref": "#/definitions/models.Ermcp3Contract"
  4514. }
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Ermcp3/QuerySpotContractBS": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "企业风险管理v3(app)"
  4538. ],
  4539. "summary": "查询合同(采购/销售)",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "用户id",
  4544. "name": "userid",
  4545. "in": "query",
  4546. "required": true
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "用户类型 2-机构 7-企业成员",
  4551. "name": "usertype",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "integer",
  4556. "description": "合同类型 1-采购, -1-销售",
  4557. "name": "contracttype",
  4558. "in": "query",
  4559. "required": true
  4560. },
  4561. {
  4562. "type": "integer",
  4563. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4564. "name": "querytype",
  4565. "in": "query",
  4566. "required": true
  4567. },
  4568. {
  4569. "type": "string",
  4570. "description": "合同ID(SpotContractId)",
  4571. "name": "contractid",
  4572. "in": "query"
  4573. }
  4574. ],
  4575. "responses": {
  4576. "200": {
  4577. "description": "OK",
  4578. "schema": {
  4579. "type": "array",
  4580. "items": {
  4581. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4582. }
  4583. }
  4584. },
  4585. "500": {
  4586. "description": "Internal Server Error",
  4587. "schema": {
  4588. "$ref": "#/definitions/app.Response"
  4589. }
  4590. }
  4591. }
  4592. }
  4593. },
  4594. "/Ermcp3/QuerySpotGoodsPrice": {
  4595. "get": {
  4596. "security": [
  4597. {
  4598. "ApiKeyAuth": []
  4599. }
  4600. ],
  4601. "produces": [
  4602. "application/json"
  4603. ],
  4604. "tags": [
  4605. "企业风险管理v3(app)"
  4606. ],
  4607. "summary": "查询现货市价(现货市价)",
  4608. "parameters": [
  4609. {
  4610. "type": "integer",
  4611. "description": "用户ID",
  4612. "name": "userid",
  4613. "in": "query",
  4614. "required": true
  4615. }
  4616. ],
  4617. "responses": {
  4618. "200": {
  4619. "description": "OK",
  4620. "schema": {
  4621. "type": "array",
  4622. "items": {
  4623. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4624. }
  4625. }
  4626. },
  4627. "500": {
  4628. "description": "Internal Server Error",
  4629. "schema": {
  4630. "$ref": "#/definitions/app.Response"
  4631. }
  4632. }
  4633. }
  4634. }
  4635. },
  4636. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4637. "get": {
  4638. "security": [
  4639. {
  4640. "ApiKeyAuth": []
  4641. }
  4642. ],
  4643. "produces": [
  4644. "application/json"
  4645. ],
  4646. "tags": [
  4647. "企业风险管理v3(app)"
  4648. ],
  4649. "summary": "查询现货市价详情(现货市价/详情)",
  4650. "parameters": [
  4651. {
  4652. "type": "integer",
  4653. "description": "用户ID",
  4654. "name": "userid",
  4655. "in": "query",
  4656. "required": true
  4657. },
  4658. {
  4659. "type": "integer",
  4660. "description": "现货商品ID",
  4661. "name": "deliverygoodsid",
  4662. "in": "query",
  4663. "required": true
  4664. },
  4665. {
  4666. "type": "integer",
  4667. "description": "品牌ID",
  4668. "name": "brandid",
  4669. "in": "query"
  4670. },
  4671. {
  4672. "type": "integer",
  4673. "description": "品类ID",
  4674. "name": "wrstandardid",
  4675. "in": "query"
  4676. }
  4677. ],
  4678. "responses": {
  4679. "200": {
  4680. "description": "OK",
  4681. "schema": {
  4682. "type": "array",
  4683. "items": {
  4684. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4685. }
  4686. }
  4687. },
  4688. "500": {
  4689. "description": "Internal Server Error",
  4690. "schema": {
  4691. "$ref": "#/definitions/app.Response"
  4692. }
  4693. }
  4694. }
  4695. }
  4696. },
  4697. "/Erms2/QueryArbitrageStrategy": {
  4698. "get": {
  4699. "security": [
  4700. {
  4701. "ApiKeyAuth": []
  4702. }
  4703. ],
  4704. "produces": [
  4705. "application/json"
  4706. ],
  4707. "tags": [
  4708. "风险管理"
  4709. ],
  4710. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4711. "parameters": [
  4712. {
  4713. "type": "integer",
  4714. "description": "账户ID",
  4715. "name": "userid",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "string",
  4721. "description": "商品组ID(品种ID)",
  4722. "name": "goodsgroupid",
  4723. "in": "query"
  4724. }
  4725. ],
  4726. "responses": {
  4727. "200": {
  4728. "description": "OK",
  4729. "schema": {
  4730. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4731. }
  4732. },
  4733. "500": {
  4734. "description": "Internal Server Error",
  4735. "schema": {
  4736. "$ref": "#/definitions/app.Response"
  4737. }
  4738. }
  4739. }
  4740. }
  4741. },
  4742. "/Erms2/QueryInnerTradeDetail": {
  4743. "get": {
  4744. "security": [
  4745. {
  4746. "ApiKeyAuth": []
  4747. }
  4748. ],
  4749. "produces": [
  4750. "application/json"
  4751. ],
  4752. "tags": [
  4753. "风险管理"
  4754. ],
  4755. "summary": "查询内部成交单信息",
  4756. "parameters": [
  4757. {
  4758. "type": "integer",
  4759. "description": "资金账户",
  4760. "name": "accountid",
  4761. "in": "query",
  4762. "required": true
  4763. }
  4764. ],
  4765. "responses": {
  4766. "200": {
  4767. "description": "OK",
  4768. "schema": {
  4769. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4770. }
  4771. },
  4772. "500": {
  4773. "description": "Internal Server Error",
  4774. "schema": {
  4775. "$ref": "#/definitions/app.Response"
  4776. }
  4777. }
  4778. }
  4779. }
  4780. },
  4781. "/Erms2/QuerySpotContract": {
  4782. "get": {
  4783. "security": [
  4784. {
  4785. "ApiKeyAuth": []
  4786. }
  4787. ],
  4788. "produces": [
  4789. "application/json"
  4790. ],
  4791. "tags": [
  4792. "风险管理"
  4793. ],
  4794. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4795. "parameters": [
  4796. {
  4797. "type": "integer",
  4798. "description": "策略申请ID",
  4799. "name": "asapplyid",
  4800. "in": "query",
  4801. "required": true
  4802. },
  4803. {
  4804. "type": "integer",
  4805. "description": "现货合同ID",
  4806. "name": "spotcontractid",
  4807. "in": "query"
  4808. }
  4809. ],
  4810. "responses": {
  4811. "200": {
  4812. "description": "OK",
  4813. "schema": {
  4814. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Erms3/AddErms2ASApply": {
  4827. "post": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "风险管理v3"
  4838. ],
  4839. "summary": "新增期现套利业务申请",
  4840. "parameters": [
  4841. {
  4842. "description": "申请参数",
  4843. "name": "jsonBody",
  4844. "in": "body",
  4845. "required": true,
  4846. "schema": {
  4847. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4848. }
  4849. }
  4850. ],
  4851. "responses": {
  4852. "200": {
  4853. "description": "OK",
  4854. "schema": {
  4855. "$ref": "#/definitions/app.Response"
  4856. }
  4857. },
  4858. "500": {
  4859. "description": "Internal Server Error",
  4860. "schema": {
  4861. "$ref": "#/definitions/app.Response"
  4862. }
  4863. }
  4864. }
  4865. }
  4866. },
  4867. "/Erms3/AddErms2SpotTradeApply": {
  4868. "post": {
  4869. "security": [
  4870. {
  4871. "ApiKeyAuth": []
  4872. }
  4873. ],
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "风险管理v3"
  4879. ],
  4880. "summary": "新增现货贸易业务申请",
  4881. "parameters": [
  4882. {
  4883. "description": "申请参数",
  4884. "name": "jsonBody",
  4885. "in": "body",
  4886. "required": true,
  4887. "schema": {
  4888. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4889. }
  4890. }
  4891. ],
  4892. "responses": {
  4893. "200": {
  4894. "description": "OK",
  4895. "schema": {
  4896. "$ref": "#/definitions/app.Response"
  4897. }
  4898. },
  4899. "500": {
  4900. "description": "Internal Server Error",
  4901. "schema": {
  4902. "$ref": "#/definitions/app.Response"
  4903. }
  4904. }
  4905. }
  4906. }
  4907. },
  4908. "/Erms3/AddSpotContractApply": {
  4909. "post": {
  4910. "security": [
  4911. {
  4912. "ApiKeyAuth": []
  4913. }
  4914. ],
  4915. "produces": [
  4916. "application/json"
  4917. ],
  4918. "tags": [
  4919. "风险管理v3"
  4920. ],
  4921. "summary": "新增现货合同申请",
  4922. "parameters": [
  4923. {
  4924. "description": "申请参数",
  4925. "name": "jsonBody",
  4926. "in": "body",
  4927. "required": true,
  4928. "schema": {
  4929. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4930. }
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4938. }
  4939. },
  4940. "500": {
  4941. "description": "Internal Server Error",
  4942. "schema": {
  4943. "$ref": "#/definitions/app.Response"
  4944. }
  4945. }
  4946. }
  4947. }
  4948. },
  4949. "/Erms3/AddUserInfoApply": {
  4950. "post": {
  4951. "security": [
  4952. {
  4953. "ApiKeyAuth": []
  4954. }
  4955. ],
  4956. "produces": [
  4957. "application/json"
  4958. ],
  4959. "tags": [
  4960. "风险管理v3"
  4961. ],
  4962. "summary": "新增客户申请",
  4963. "parameters": [
  4964. {
  4965. "description": "用户信息",
  4966. "name": "jsonBody",
  4967. "in": "body",
  4968. "required": true,
  4969. "schema": {
  4970. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4971. }
  4972. }
  4973. ],
  4974. "responses": {
  4975. "200": {
  4976. "description": "OK",
  4977. "schema": {
  4978. "$ref": "#/definitions/app.Response"
  4979. }
  4980. },
  4981. "500": {
  4982. "description": "Internal Server Error",
  4983. "schema": {
  4984. "$ref": "#/definitions/app.Response"
  4985. }
  4986. }
  4987. }
  4988. }
  4989. },
  4990. "/Erms3/DeleteUserInfoApply": {
  4991. "get": {
  4992. "security": [
  4993. {
  4994. "ApiKeyAuth": []
  4995. }
  4996. ],
  4997. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4998. "produces": [
  4999. "application/json"
  5000. ],
  5001. "tags": [
  5002. "风险管理v3"
  5003. ],
  5004. "summary": "删除客户申请",
  5005. "parameters": [
  5006. {
  5007. "type": "integer",
  5008. "description": "用户ID",
  5009. "name": "userID",
  5010. "in": "query",
  5011. "required": true
  5012. }
  5013. ],
  5014. "responses": {
  5015. "200": {
  5016. "description": "OK",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. },
  5021. "500": {
  5022. "description": "Internal Server Error",
  5023. "schema": {
  5024. "$ref": "#/definitions/app.Response"
  5025. }
  5026. }
  5027. }
  5028. }
  5029. },
  5030. "/Erms3/ModifyUserInfoApply": {
  5031. "post": {
  5032. "security": [
  5033. {
  5034. "ApiKeyAuth": []
  5035. }
  5036. ],
  5037. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5038. "produces": [
  5039. "application/json"
  5040. ],
  5041. "tags": [
  5042. "风险管理v3"
  5043. ],
  5044. "summary": "修改客户申请",
  5045. "parameters": [
  5046. {
  5047. "description": "用户信息",
  5048. "name": "jsonBody",
  5049. "in": "body",
  5050. "required": true,
  5051. "schema": {
  5052. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5053. }
  5054. }
  5055. ],
  5056. "responses": {
  5057. "200": {
  5058. "description": "OK",
  5059. "schema": {
  5060. "$ref": "#/definitions/app.Response"
  5061. }
  5062. },
  5063. "500": {
  5064. "description": "Internal Server Error",
  5065. "schema": {
  5066. "$ref": "#/definitions/app.Response"
  5067. }
  5068. }
  5069. }
  5070. }
  5071. },
  5072. "/Erms3/QueryBusinessInfo": {
  5073. "get": {
  5074. "security": [
  5075. {
  5076. "ApiKeyAuth": []
  5077. }
  5078. ],
  5079. "produces": [
  5080. "application/json"
  5081. ],
  5082. "tags": [
  5083. "风险管理v3"
  5084. ],
  5085. "summary": "查询业务表单数据",
  5086. "parameters": [
  5087. {
  5088. "type": "string",
  5089. "description": "资金账号ID列表,用逗号分隔",
  5090. "name": "accountids",
  5091. "in": "query",
  5092. "required": true
  5093. },
  5094. {
  5095. "type": "integer",
  5096. "description": "状态,0为未结束 1为已结束",
  5097. "name": "status",
  5098. "in": "query",
  5099. "required": true
  5100. }
  5101. ],
  5102. "responses": {
  5103. "200": {
  5104. "description": "OK",
  5105. "schema": {
  5106. "type": "array",
  5107. "items": {
  5108. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5109. }
  5110. }
  5111. },
  5112. "500": {
  5113. "description": "Internal Server Error",
  5114. "schema": {
  5115. "$ref": "#/definitions/app.Response"
  5116. }
  5117. }
  5118. }
  5119. }
  5120. },
  5121. "/Erms3/QueryPendingAuditContract": {
  5122. "get": {
  5123. "security": [
  5124. {
  5125. "ApiKeyAuth": []
  5126. }
  5127. ],
  5128. "produces": [
  5129. "application/json"
  5130. ],
  5131. "tags": [
  5132. "风险管理v3"
  5133. ],
  5134. "summary": "查询待审核合同",
  5135. "parameters": [
  5136. {
  5137. "type": "string",
  5138. "description": "资金账号ID列表,逗号隔开",
  5139. "name": "accountids",
  5140. "in": "query",
  5141. "required": true
  5142. },
  5143. {
  5144. "type": "integer",
  5145. "description": "合同类型 1-采购 -1-销售",
  5146. "name": "contracttype",
  5147. "in": "query",
  5148. "required": true
  5149. },
  5150. {
  5151. "type": "integer",
  5152. "description": "合同模式 1-普通 2-回购",
  5153. "name": "contractmode",
  5154. "in": "query",
  5155. "required": true
  5156. }
  5157. ],
  5158. "responses": {
  5159. "200": {
  5160. "description": "OK",
  5161. "schema": {
  5162. "type": "array",
  5163. "items": {
  5164. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5165. }
  5166. }
  5167. },
  5168. "500": {
  5169. "description": "Internal Server Error",
  5170. "schema": {
  5171. "$ref": "#/definitions/app.Response"
  5172. }
  5173. }
  5174. }
  5175. }
  5176. },
  5177. "/Erms3/QueryPendingBusiness": {
  5178. "get": {
  5179. "security": [
  5180. {
  5181. "ApiKeyAuth": []
  5182. }
  5183. ],
  5184. "produces": [
  5185. "application/json"
  5186. ],
  5187. "tags": [
  5188. "风险管理v3"
  5189. ],
  5190. "summary": "查询待审核基差贸易业务",
  5191. "parameters": [
  5192. {
  5193. "type": "string",
  5194. "description": "资金账号ID列表,逗号隔开",
  5195. "name": "accountids",
  5196. "in": "query",
  5197. "required": true
  5198. }
  5199. ],
  5200. "responses": {
  5201. "200": {
  5202. "description": "OK",
  5203. "schema": {
  5204. "type": "array",
  5205. "items": {
  5206. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5207. }
  5208. }
  5209. },
  5210. "500": {
  5211. "description": "Internal Server Error",
  5212. "schema": {
  5213. "$ref": "#/definitions/app.Response"
  5214. }
  5215. }
  5216. }
  5217. }
  5218. },
  5219. "/Erms3/QuerySpotContractAppleForm": {
  5220. "get": {
  5221. "security": [
  5222. {
  5223. "ApiKeyAuth": []
  5224. }
  5225. ],
  5226. "produces": [
  5227. "application/json"
  5228. ],
  5229. "tags": [
  5230. "风险管理v3"
  5231. ],
  5232. "summary": "查询合同申请表单数据",
  5233. "parameters": [
  5234. {
  5235. "type": "integer",
  5236. "description": "登录账号",
  5237. "name": "loginID",
  5238. "in": "query",
  5239. "required": true
  5240. }
  5241. ],
  5242. "responses": {
  5243. "200": {
  5244. "description": "OK",
  5245. "schema": {
  5246. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5247. }
  5248. },
  5249. "500": {
  5250. "description": "Internal Server Error",
  5251. "schema": {
  5252. "$ref": "#/definitions/app.Response"
  5253. }
  5254. }
  5255. }
  5256. }
  5257. },
  5258. "/Erms3/QuerySpotContractDetail": {
  5259. "get": {
  5260. "security": [
  5261. {
  5262. "ApiKeyAuth": []
  5263. }
  5264. ],
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "风险管理v3"
  5270. ],
  5271. "summary": "查询合同详细信息",
  5272. "parameters": [
  5273. {
  5274. "type": "string",
  5275. "description": "资金账号ID列表,用逗号分隔",
  5276. "name": "accountids",
  5277. "in": "query",
  5278. "required": true
  5279. },
  5280. {
  5281. "type": "integer",
  5282. "description": "合同类型,1为采购合同 -1为销售合同",
  5283. "name": "contracttype",
  5284. "in": "query",
  5285. "required": true
  5286. },
  5287. {
  5288. "type": "integer",
  5289. "description": "合同模式,1为普通合同 2为回购销售合同",
  5290. "name": "contractmode",
  5291. "in": "query",
  5292. "required": true
  5293. },
  5294. {
  5295. "type": "integer",
  5296. "description": "状态,0为履约中 1为已完成",
  5297. "name": "status",
  5298. "in": "query",
  5299. "required": true
  5300. }
  5301. ],
  5302. "responses": {
  5303. "200": {
  5304. "description": "OK",
  5305. "schema": {
  5306. "type": "array",
  5307. "items": {
  5308. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5309. }
  5310. }
  5311. },
  5312. "500": {
  5313. "description": "Internal Server Error",
  5314. "schema": {
  5315. "$ref": "#/definitions/app.Response"
  5316. }
  5317. }
  5318. }
  5319. }
  5320. },
  5321. "/Erms3/QueryUserInfoApplies": {
  5322. "get": {
  5323. "security": [
  5324. {
  5325. "ApiKeyAuth": []
  5326. }
  5327. ],
  5328. "produces": [
  5329. "application/json"
  5330. ],
  5331. "tags": [
  5332. "风险管理v3"
  5333. ],
  5334. "summary": "客户申请信息查询",
  5335. "parameters": [
  5336. {
  5337. "type": "integer",
  5338. "description": "页码",
  5339. "name": "page",
  5340. "in": "query"
  5341. },
  5342. {
  5343. "type": "integer",
  5344. "description": "每页条数",
  5345. "name": "pagesize",
  5346. "in": "query"
  5347. },
  5348. {
  5349. "type": "string",
  5350. "description": "客户名称,支持模糊查询",
  5351. "name": "userName",
  5352. "in": "query"
  5353. }
  5354. ],
  5355. "responses": {
  5356. "200": {
  5357. "description": "OK",
  5358. "schema": {
  5359. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5360. }
  5361. },
  5362. "500": {
  5363. "description": "Internal Server Error",
  5364. "schema": {
  5365. "$ref": "#/definitions/app.Response"
  5366. }
  5367. }
  5368. }
  5369. }
  5370. },
  5371. "/Erms3/QueryUserInfos": {
  5372. "get": {
  5373. "security": [
  5374. {
  5375. "ApiKeyAuth": []
  5376. }
  5377. ],
  5378. "produces": [
  5379. "application/json"
  5380. ],
  5381. "tags": [
  5382. "风险管理v3"
  5383. ],
  5384. "summary": "客户信息查询",
  5385. "parameters": [
  5386. {
  5387. "type": "integer",
  5388. "description": "页码",
  5389. "name": "page",
  5390. "in": "query"
  5391. },
  5392. {
  5393. "type": "integer",
  5394. "description": "每页条数",
  5395. "name": "pagesize",
  5396. "in": "query"
  5397. },
  5398. {
  5399. "type": "string",
  5400. "description": "客户名称,支持模糊查询",
  5401. "name": "userName",
  5402. "in": "query"
  5403. }
  5404. ],
  5405. "responses": {
  5406. "200": {
  5407. "description": "OK",
  5408. "schema": {
  5409. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5410. }
  5411. },
  5412. "500": {
  5413. "description": "Internal Server Error",
  5414. "schema": {
  5415. "$ref": "#/definitions/app.Response"
  5416. }
  5417. }
  5418. }
  5419. }
  5420. },
  5421. "/HSBY/GetHsbyMyCount": {
  5422. "get": {
  5423. "security": [
  5424. {
  5425. "ApiKeyAuth": []
  5426. }
  5427. ],
  5428. "description": "说明: 不包括已完成的数量。",
  5429. "produces": [
  5430. "application/json"
  5431. ],
  5432. "tags": [
  5433. "定制【海商报业】"
  5434. ],
  5435. "summary": "获取我的订单与包裹数量",
  5436. "parameters": [
  5437. {
  5438. "type": "string",
  5439. "description": "资金账户列表,格式:1,2,3",
  5440. "name": "accountIDs",
  5441. "in": "query",
  5442. "required": true
  5443. }
  5444. ],
  5445. "responses": {
  5446. "200": {
  5447. "description": "OK",
  5448. "schema": {
  5449. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5450. }
  5451. },
  5452. "500": {
  5453. "description": "Internal Server Error",
  5454. "schema": {
  5455. "$ref": "#/definitions/app.Response"
  5456. }
  5457. }
  5458. }
  5459. }
  5460. },
  5461. "/HSBY/QueryClientFixedADConfigs": {
  5462. "get": {
  5463. "security": [
  5464. {
  5465. "ApiKeyAuth": []
  5466. }
  5467. ],
  5468. "produces": [
  5469. "application/json"
  5470. ],
  5471. "tags": [
  5472. "定制【海商报业】"
  5473. ],
  5474. "summary": "获取终端固定广告配置",
  5475. "responses": {
  5476. "200": {
  5477. "description": "OK",
  5478. "schema": {
  5479. "$ref": "#/definitions/models.Clientfixedadconfig"
  5480. }
  5481. },
  5482. "500": {
  5483. "description": "Internal Server Error",
  5484. "schema": {
  5485. "$ref": "#/definitions/app.Response"
  5486. }
  5487. }
  5488. }
  5489. }
  5490. },
  5491. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5492. "get": {
  5493. "security": [
  5494. {
  5495. "ApiKeyAuth": []
  5496. }
  5497. ],
  5498. "produces": [
  5499. "application/json"
  5500. ],
  5501. "tags": [
  5502. "定制【海商报业】"
  5503. ],
  5504. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5505. "parameters": [
  5506. {
  5507. "type": "integer",
  5508. "description": "页码",
  5509. "name": "page",
  5510. "in": "query"
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": "每页条数",
  5515. "name": "pagesize",
  5516. "in": "query"
  5517. },
  5518. {
  5519. "type": "string",
  5520. "description": "资金账户列表,格式:1,2,3",
  5521. "name": "accountIDs",
  5522. "in": "query",
  5523. "required": true
  5524. }
  5525. ],
  5526. "responses": {
  5527. "200": {
  5528. "description": "OK",
  5529. "schema": {
  5530. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5531. }
  5532. },
  5533. "500": {
  5534. "description": "Internal Server Error",
  5535. "schema": {
  5536. "$ref": "#/definitions/app.Response"
  5537. }
  5538. }
  5539. }
  5540. }
  5541. },
  5542. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5543. "get": {
  5544. "security": [
  5545. {
  5546. "ApiKeyAuth": []
  5547. }
  5548. ],
  5549. "description": "说明:查询结果已按委托价格和委托时间排序",
  5550. "produces": [
  5551. "application/json"
  5552. ],
  5553. "tags": [
  5554. "定制【海商报业】"
  5555. ],
  5556. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5557. "parameters": [
  5558. {
  5559. "type": "integer",
  5560. "description": "商品ID",
  5561. "name": "goodsID",
  5562. "in": "query",
  5563. "required": true
  5564. },
  5565. {
  5566. "type": "string",
  5567. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5568. "name": "accountIDs",
  5569. "in": "query"
  5570. },
  5571. {
  5572. "type": "integer",
  5573. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5574. "name": "buyOrSell",
  5575. "in": "query"
  5576. },
  5577. {
  5578. "type": "number",
  5579. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5580. "name": "price",
  5581. "in": "query"
  5582. },
  5583. {
  5584. "type": "integer",
  5585. "description": "档位,不传则默认为3档",
  5586. "name": "speed",
  5587. "in": "query"
  5588. }
  5589. ],
  5590. "responses": {
  5591. "200": {
  5592. "description": "OK",
  5593. "schema": {
  5594. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5595. }
  5596. },
  5597. "500": {
  5598. "description": "Internal Server Error",
  5599. "schema": {
  5600. "$ref": "#/definitions/app.Response"
  5601. }
  5602. }
  5603. }
  5604. }
  5605. },
  5606. "/HSBY/QueryHsbyListingGoodsDetail": {
  5607. "get": {
  5608. "security": [
  5609. {
  5610. "ApiKeyAuth": []
  5611. }
  5612. ],
  5613. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5614. "produces": [
  5615. "application/json"
  5616. ],
  5617. "tags": [
  5618. "定制【海商报业】"
  5619. ],
  5620. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5621. "parameters": [
  5622. {
  5623. "type": "integer",
  5624. "description": "商品ID",
  5625. "name": "goodsID",
  5626. "in": "query",
  5627. "required": true
  5628. },
  5629. {
  5630. "type": "integer",
  5631. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5632. "name": "accountID",
  5633. "in": "query"
  5634. }
  5635. ],
  5636. "responses": {
  5637. "200": {
  5638. "description": "OK",
  5639. "schema": {
  5640. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5641. }
  5642. },
  5643. "500": {
  5644. "description": "Internal Server Error",
  5645. "schema": {
  5646. "$ref": "#/definitions/app.Response"
  5647. }
  5648. }
  5649. }
  5650. }
  5651. },
  5652. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5653. "get": {
  5654. "security": [
  5655. {
  5656. "ApiKeyAuth": []
  5657. }
  5658. ],
  5659. "produces": [
  5660. "application/json"
  5661. ],
  5662. "tags": [
  5663. "定制【海商报业】"
  5664. ],
  5665. "summary": "查询三级市场(商城)商品信息详情",
  5666. "parameters": [
  5667. {
  5668. "type": "integer",
  5669. "description": "委托单号",
  5670. "name": "orderID",
  5671. "in": "query",
  5672. "required": true
  5673. },
  5674. {
  5675. "type": "integer",
  5676. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5677. "name": "accountID",
  5678. "in": "query"
  5679. }
  5680. ],
  5681. "responses": {
  5682. "200": {
  5683. "description": "OK",
  5684. "schema": {
  5685. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5686. }
  5687. },
  5688. "500": {
  5689. "description": "Internal Server Error",
  5690. "schema": {
  5691. "$ref": "#/definitions/app.Response"
  5692. }
  5693. }
  5694. }
  5695. }
  5696. },
  5697. "/HSBY/QueryHsbyMarketGoodses": {
  5698. "get": {
  5699. "security": [
  5700. {
  5701. "ApiKeyAuth": []
  5702. }
  5703. ],
  5704. "produces": [
  5705. "application/json"
  5706. ],
  5707. "tags": [
  5708. "定制【海商报业】"
  5709. ],
  5710. "summary": "查询特卖商品列表(三级商城)",
  5711. "parameters": [
  5712. {
  5713. "type": "integer",
  5714. "description": "页码",
  5715. "name": "page",
  5716. "in": "query"
  5717. },
  5718. {
  5719. "type": "integer",
  5720. "description": "每页条数",
  5721. "name": "pagesize",
  5722. "in": "query"
  5723. },
  5724. {
  5725. "type": "string",
  5726. "description": "市场ID列表,格式:1,2,3",
  5727. "name": "marketIDs",
  5728. "in": "query",
  5729. "required": true
  5730. },
  5731. {
  5732. "type": "integer",
  5733. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5734. "name": "accountID",
  5735. "in": "query",
  5736. "required": true
  5737. },
  5738. {
  5739. "type": "integer",
  5740. "description": "类别ID",
  5741. "name": "categoryID",
  5742. "in": "query"
  5743. },
  5744. {
  5745. "type": "string",
  5746. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5747. "name": "goodsIDs",
  5748. "in": "query"
  5749. },
  5750. {
  5751. "type": "integer",
  5752. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5753. "name": "couponTypeID",
  5754. "in": "query"
  5755. }
  5756. ],
  5757. "responses": {
  5758. "200": {
  5759. "description": "OK",
  5760. "schema": {
  5761. "$ref": "#/definitions/models.HsbyMarketGoods"
  5762. }
  5763. },
  5764. "500": {
  5765. "description": "Internal Server Error",
  5766. "schema": {
  5767. "$ref": "#/definitions/app.Response"
  5768. }
  5769. }
  5770. }
  5771. }
  5772. },
  5773. "/HSBY/QueryHsbyMarkets": {
  5774. "get": {
  5775. "security": [
  5776. {
  5777. "ApiKeyAuth": []
  5778. }
  5779. ],
  5780. "produces": [
  5781. "application/json"
  5782. ],
  5783. "tags": [
  5784. "定制【海商报业】"
  5785. ],
  5786. "summary": "查询海商报业相关市场信息",
  5787. "responses": {
  5788. "200": {
  5789. "description": "OK",
  5790. "schema": {
  5791. "$ref": "#/definitions/models.HsbyMarketInfo"
  5792. }
  5793. },
  5794. "500": {
  5795. "description": "Internal Server Error",
  5796. "schema": {
  5797. "$ref": "#/definitions/app.Response"
  5798. }
  5799. }
  5800. }
  5801. }
  5802. },
  5803. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5804. "get": {
  5805. "security": [
  5806. {
  5807. "ApiKeyAuth": []
  5808. }
  5809. ],
  5810. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5811. "produces": [
  5812. "application/json"
  5813. ],
  5814. "tags": [
  5815. "定制【海商报业】"
  5816. ],
  5817. "summary": "查询“我的订单”信息",
  5818. "parameters": [
  5819. {
  5820. "type": "string",
  5821. "description": "资金账户列表,格式:1,2,3",
  5822. "name": "accountIDs",
  5823. "in": "query",
  5824. "required": true
  5825. }
  5826. ],
  5827. "responses": {
  5828. "200": {
  5829. "description": "OK",
  5830. "schema": {
  5831. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5832. }
  5833. },
  5834. "500": {
  5835. "description": "Internal Server Error",
  5836. "schema": {
  5837. "$ref": "#/definitions/app.Response"
  5838. }
  5839. }
  5840. }
  5841. }
  5842. },
  5843. "/HSBY/QueryHsbyMyGoods": {
  5844. "get": {
  5845. "security": [
  5846. {
  5847. "ApiKeyAuth": []
  5848. }
  5849. ],
  5850. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5851. "produces": [
  5852. "application/json"
  5853. ],
  5854. "tags": [
  5855. "定制【海商报业】"
  5856. ],
  5857. "summary": "查询“我的商品”信息",
  5858. "parameters": [
  5859. {
  5860. "type": "string",
  5861. "description": "资金账户列表,格式:1,2,3",
  5862. "name": "accountIDs",
  5863. "in": "query",
  5864. "required": true
  5865. }
  5866. ],
  5867. "responses": {
  5868. "200": {
  5869. "description": "OK",
  5870. "schema": {
  5871. "$ref": "#/definitions/models.HsbyMyGoods"
  5872. }
  5873. },
  5874. "500": {
  5875. "description": "Internal Server Error",
  5876. "schema": {
  5877. "$ref": "#/definitions/app.Response"
  5878. }
  5879. }
  5880. }
  5881. }
  5882. },
  5883. "/HSBY/QueryHsbyMyPackages": {
  5884. "get": {
  5885. "security": [
  5886. {
  5887. "ApiKeyAuth": []
  5888. }
  5889. ],
  5890. "produces": [
  5891. "application/json"
  5892. ],
  5893. "tags": [
  5894. "定制【海商报业】"
  5895. ],
  5896. "summary": "查询我的包裹信息",
  5897. "parameters": [
  5898. {
  5899. "type": "string",
  5900. "description": "资金账户列表,格式:1,2,3",
  5901. "name": "accountIDs",
  5902. "in": "query",
  5903. "required": true
  5904. },
  5905. {
  5906. "type": "integer",
  5907. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5908. "name": "takeOrderStatus",
  5909. "in": "query"
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "$ref": "#/definitions/models.HsbyMyPackage"
  5917. }
  5918. },
  5919. "500": {
  5920. "description": "Internal Server Error",
  5921. "schema": {
  5922. "$ref": "#/definitions/app.Response"
  5923. }
  5924. }
  5925. }
  5926. }
  5927. },
  5928. "/HSBY/QueryHsbyPreGoodsDetail": {
  5929. "get": {
  5930. "security": [
  5931. {
  5932. "ApiKeyAuth": []
  5933. }
  5934. ],
  5935. "produces": [
  5936. "application/json"
  5937. ],
  5938. "tags": [
  5939. "定制【海商报业】"
  5940. ],
  5941. "summary": "查询一级市场(预售)商品信息详情",
  5942. "parameters": [
  5943. {
  5944. "type": "integer",
  5945. "description": "商品ID",
  5946. "name": "goodsID",
  5947. "in": "query",
  5948. "required": true
  5949. },
  5950. {
  5951. "type": "integer",
  5952. "description": "资金账户,主要用于获取预售商品购买上限",
  5953. "name": "accountID",
  5954. "in": "query"
  5955. }
  5956. ],
  5957. "responses": {
  5958. "200": {
  5959. "description": "OK",
  5960. "schema": {
  5961. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/HSBY/QueryHsbyPreGoodses": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5981. "produces": [
  5982. "application/json"
  5983. ],
  5984. "tags": [
  5985. "定制【海商报业】"
  5986. ],
  5987. "summary": "查询新品上市商品列表(一级市场预售)",
  5988. "parameters": [
  5989. {
  5990. "type": "integer",
  5991. "description": "页码",
  5992. "name": "page",
  5993. "in": "query"
  5994. },
  5995. {
  5996. "type": "integer",
  5997. "description": "每页条数",
  5998. "name": "pagesize",
  5999. "in": "query"
  6000. },
  6001. {
  6002. "type": "string",
  6003. "description": "市场ID列表,格式:1,2,3",
  6004. "name": "marketIDs",
  6005. "in": "query",
  6006. "required": true
  6007. },
  6008. {
  6009. "type": "integer",
  6010. "description": "目的地(省)ID",
  6011. "name": "descProvinceID",
  6012. "in": "query"
  6013. },
  6014. {
  6015. "type": "integer",
  6016. "description": "目的地(市)ID",
  6017. "name": "descCityID",
  6018. "in": "query"
  6019. }
  6020. ],
  6021. "responses": {
  6022. "200": {
  6023. "description": "OK",
  6024. "schema": {
  6025. "$ref": "#/definitions/models.HsbyPreGoods"
  6026. }
  6027. },
  6028. "500": {
  6029. "description": "Internal Server Error",
  6030. "schema": {
  6031. "$ref": "#/definitions/app.Response"
  6032. }
  6033. }
  6034. }
  6035. }
  6036. },
  6037. "/HSBY/QueryHsbySellMyDetails": {
  6038. "get": {
  6039. "security": [
  6040. {
  6041. "ApiKeyAuth": []
  6042. }
  6043. ],
  6044. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6045. "produces": [
  6046. "application/json"
  6047. ],
  6048. "tags": [
  6049. "定制【海商报业】"
  6050. ],
  6051. "summary": "查询\"我的闲置\"单据信息",
  6052. "parameters": [
  6053. {
  6054. "type": "integer",
  6055. "description": "页码",
  6056. "name": "page",
  6057. "in": "query"
  6058. },
  6059. {
  6060. "type": "integer",
  6061. "description": "每页条数",
  6062. "name": "pagesize",
  6063. "in": "query"
  6064. },
  6065. {
  6066. "type": "string",
  6067. "description": "资金账户列表,格式:1,2,3",
  6068. "name": "accountIDs",
  6069. "in": "query",
  6070. "required": true
  6071. },
  6072. {
  6073. "type": "integer",
  6074. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6075. "name": "orderType",
  6076. "in": "query"
  6077. }
  6078. ],
  6079. "responses": {
  6080. "200": {
  6081. "description": "OK",
  6082. "schema": {
  6083. "$ref": "#/definitions/models.HsbySellMyDetail"
  6084. }
  6085. },
  6086. "500": {
  6087. "description": "Internal Server Error",
  6088. "schema": {
  6089. "$ref": "#/definitions/app.Response"
  6090. }
  6091. }
  6092. }
  6093. }
  6094. },
  6095. "/HSBY/QueryHsbyTopGoodses": {
  6096. "get": {
  6097. "security": [
  6098. {
  6099. "ApiKeyAuth": []
  6100. }
  6101. ],
  6102. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6103. "produces": [
  6104. "application/json"
  6105. ],
  6106. "tags": [
  6107. "定制【海商报业】"
  6108. ],
  6109. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6110. "parameters": [
  6111. {
  6112. "type": "integer",
  6113. "description": "页码",
  6114. "name": "page",
  6115. "in": "query"
  6116. },
  6117. {
  6118. "type": "integer",
  6119. "description": "每页条数",
  6120. "name": "pagesize",
  6121. "in": "query"
  6122. },
  6123. {
  6124. "type": "string",
  6125. "description": "市场ID列表,格式:1,2,3",
  6126. "name": "marketIDs",
  6127. "in": "query",
  6128. "required": true
  6129. },
  6130. {
  6131. "type": "integer",
  6132. "description": "目的地(省)ID",
  6133. "name": "descProvinceID",
  6134. "in": "query"
  6135. },
  6136. {
  6137. "type": "integer",
  6138. "description": "目的地(市)ID",
  6139. "name": "descCityID",
  6140. "in": "query"
  6141. }
  6142. ],
  6143. "responses": {
  6144. "200": {
  6145. "description": "OK",
  6146. "schema": {
  6147. "$ref": "#/definitions/models.HsbyTopGoods"
  6148. }
  6149. },
  6150. "500": {
  6151. "description": "Internal Server Error",
  6152. "schema": {
  6153. "$ref": "#/definitions/app.Response"
  6154. }
  6155. }
  6156. }
  6157. }
  6158. },
  6159. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6160. "get": {
  6161. "security": [
  6162. {
  6163. "ApiKeyAuth": []
  6164. }
  6165. ],
  6166. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6167. "produces": [
  6168. "application/json"
  6169. ],
  6170. "tags": [
  6171. "定制【海商报业】"
  6172. ],
  6173. "summary": "查询游客三级市场(商城)商品信息详情",
  6174. "parameters": [
  6175. {
  6176. "type": "integer",
  6177. "description": "商品ID",
  6178. "name": "goodsID",
  6179. "in": "query",
  6180. "required": true
  6181. }
  6182. ],
  6183. "responses": {
  6184. "200": {
  6185. "description": "OK",
  6186. "schema": {
  6187. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6188. }
  6189. },
  6190. "500": {
  6191. "description": "Internal Server Error",
  6192. "schema": {
  6193. "$ref": "#/definitions/app.Response"
  6194. }
  6195. }
  6196. }
  6197. }
  6198. },
  6199. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6200. "get": {
  6201. "security": [
  6202. {
  6203. "ApiKeyAuth": []
  6204. }
  6205. ],
  6206. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6207. "produces": [
  6208. "application/json"
  6209. ],
  6210. "tags": [
  6211. "定制【海商报业】"
  6212. ],
  6213. "summary": "查询游客特卖商品列表(三级商城)",
  6214. "parameters": [
  6215. {
  6216. "type": "integer",
  6217. "description": "页码",
  6218. "name": "page",
  6219. "in": "query"
  6220. },
  6221. {
  6222. "type": "integer",
  6223. "description": "每页条数",
  6224. "name": "pagesize",
  6225. "in": "query"
  6226. },
  6227. {
  6228. "type": "string",
  6229. "description": "市场ID列表,格式:1,2,3",
  6230. "name": "marketIDs",
  6231. "in": "query",
  6232. "required": true
  6233. },
  6234. {
  6235. "type": "integer",
  6236. "description": "类别ID",
  6237. "name": "categoryID",
  6238. "in": "query"
  6239. },
  6240. {
  6241. "type": "string",
  6242. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6243. "name": "goodsIDs",
  6244. "in": "query"
  6245. }
  6246. ],
  6247. "responses": {
  6248. "200": {
  6249. "description": "OK",
  6250. "schema": {
  6251. "$ref": "#/definitions/models.HsbyMarketGoods"
  6252. }
  6253. },
  6254. "500": {
  6255. "description": "Internal Server Error",
  6256. "schema": {
  6257. "$ref": "#/definitions/app.Response"
  6258. }
  6259. }
  6260. }
  6261. }
  6262. },
  6263. "/HSBY/QueryMyCollectionOrders": {
  6264. "get": {
  6265. "security": [
  6266. {
  6267. "ApiKeyAuth": []
  6268. }
  6269. ],
  6270. "produces": [
  6271. "application/json"
  6272. ],
  6273. "tags": [
  6274. "定制【海商报业】"
  6275. ],
  6276. "summary": "我的闲置中收款信息查询",
  6277. "parameters": [
  6278. {
  6279. "type": "integer",
  6280. "description": "页码",
  6281. "name": "page",
  6282. "in": "query"
  6283. },
  6284. {
  6285. "type": "integer",
  6286. "description": "每页条数",
  6287. "name": "pagesize",
  6288. "in": "query"
  6289. },
  6290. {
  6291. "type": "string",
  6292. "description": "资金账户,格式:1,2,3",
  6293. "name": "accountIDs",
  6294. "in": "query",
  6295. "required": true
  6296. }
  6297. ],
  6298. "responses": {
  6299. "200": {
  6300. "description": "OK",
  6301. "schema": {
  6302. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6303. }
  6304. },
  6305. "500": {
  6306. "description": "Internal Server Error",
  6307. "schema": {
  6308. "$ref": "#/definitions/app.Response"
  6309. }
  6310. }
  6311. }
  6312. }
  6313. },
  6314. "/HSBY/QueryMyCouponHolds": {
  6315. "get": {
  6316. "security": [
  6317. {
  6318. "ApiKeyAuth": []
  6319. }
  6320. ],
  6321. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6322. "produces": [
  6323. "application/json"
  6324. ],
  6325. "tags": [
  6326. "定制【海商报业】"
  6327. ],
  6328. "summary": "我的优惠卷持仓查询",
  6329. "parameters": [
  6330. {
  6331. "type": "string",
  6332. "description": "资金账户列表,格式:1,2,3",
  6333. "name": "accountIDs",
  6334. "in": "query",
  6335. "required": true
  6336. },
  6337. {
  6338. "type": "string",
  6339. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6340. "name": "holdStatus",
  6341. "in": "query"
  6342. }
  6343. ],
  6344. "responses": {
  6345. "200": {
  6346. "description": "OK",
  6347. "schema": {
  6348. "$ref": "#/definitions/models.MyCouponHold"
  6349. }
  6350. },
  6351. "500": {
  6352. "description": "Internal Server Error",
  6353. "schema": {
  6354. "$ref": "#/definitions/app.Response"
  6355. }
  6356. }
  6357. }
  6358. }
  6359. },
  6360. "/HSBY/QueryMyCoupons": {
  6361. "get": {
  6362. "security": [
  6363. {
  6364. "ApiKeyAuth": []
  6365. }
  6366. ],
  6367. "produces": [
  6368. "application/json"
  6369. ],
  6370. "tags": [
  6371. "定制【海商报业】"
  6372. ],
  6373. "summary": "我的优惠卷查询",
  6374. "parameters": [
  6375. {
  6376. "type": "string",
  6377. "description": "资金账户列表,格式:1,2,3",
  6378. "name": "accountIDs",
  6379. "in": "query",
  6380. "required": true
  6381. },
  6382. {
  6383. "type": "integer",
  6384. "description": "商品ID, 一般与sellUserID配套传入",
  6385. "name": "goodsID",
  6386. "in": "query"
  6387. },
  6388. {
  6389. "type": "integer",
  6390. "description": "卖方UserID",
  6391. "name": "sellUserID",
  6392. "in": "query"
  6393. }
  6394. ],
  6395. "responses": {
  6396. "200": {
  6397. "description": "OK",
  6398. "schema": {
  6399. "$ref": "#/definitions/models.MyCoupon"
  6400. }
  6401. },
  6402. "500": {
  6403. "description": "Internal Server Error",
  6404. "schema": {
  6405. "$ref": "#/definitions/app.Response"
  6406. }
  6407. }
  6408. }
  6409. }
  6410. },
  6411. "/HSBY/QueryMyPayOrders": {
  6412. "get": {
  6413. "security": [
  6414. {
  6415. "ApiKeyAuth": []
  6416. }
  6417. ],
  6418. "produces": [
  6419. "application/json"
  6420. ],
  6421. "tags": [
  6422. "定制【海商报业】"
  6423. ],
  6424. "summary": "获取我的订单中待付款信息",
  6425. "parameters": [
  6426. {
  6427. "type": "integer",
  6428. "description": "页码",
  6429. "name": "page",
  6430. "in": "query"
  6431. },
  6432. {
  6433. "type": "integer",
  6434. "description": "每页条数",
  6435. "name": "pagesize",
  6436. "in": "query"
  6437. },
  6438. {
  6439. "type": "string",
  6440. "description": "资金账户列表,格式:1,2,3",
  6441. "name": "accountIDs",
  6442. "in": "query",
  6443. "required": true
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "买方委托单号",
  6448. "name": "buyOrderID",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "integer",
  6453. "description": "卖方委托单号",
  6454. "name": "sellOrderID",
  6455. "in": "query"
  6456. }
  6457. ],
  6458. "responses": {
  6459. "200": {
  6460. "description": "OK",
  6461. "schema": {
  6462. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6463. }
  6464. },
  6465. "500": {
  6466. "description": "Internal Server Error",
  6467. "schema": {
  6468. "$ref": "#/definitions/app.Response"
  6469. }
  6470. }
  6471. }
  6472. }
  6473. },
  6474. "/HSBY/QueryMyUsedCoupon": {
  6475. "get": {
  6476. "security": [
  6477. {
  6478. "ApiKeyAuth": []
  6479. }
  6480. ],
  6481. "produces": [
  6482. "application/json"
  6483. ],
  6484. "tags": [
  6485. "定制【海商报业】"
  6486. ],
  6487. "summary": "已使用优惠卷查询",
  6488. "parameters": [
  6489. {
  6490. "type": "string",
  6491. "description": "资金账户列表,格式:1,2,3",
  6492. "name": "accountIDs",
  6493. "in": "query",
  6494. "required": true
  6495. }
  6496. ],
  6497. "responses": {
  6498. "200": {
  6499. "description": "OK",
  6500. "schema": {
  6501. "$ref": "#/definitions/models.MyUsedCoupon"
  6502. }
  6503. },
  6504. "500": {
  6505. "description": "Internal Server Error",
  6506. "schema": {
  6507. "$ref": "#/definitions/app.Response"
  6508. }
  6509. }
  6510. }
  6511. }
  6512. },
  6513. "/HSBY/QueryProvincesAndCities": {
  6514. "get": {
  6515. "security": [
  6516. {
  6517. "ApiKeyAuth": []
  6518. }
  6519. ],
  6520. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6521. "produces": [
  6522. "application/json"
  6523. ],
  6524. "tags": [
  6525. "定制【海商报业】"
  6526. ],
  6527. "summary": "查询省市信息(不包括区)",
  6528. "parameters": [
  6529. {
  6530. "type": "integer",
  6531. "description": "省ID",
  6532. "name": "provinceID",
  6533. "in": "query"
  6534. }
  6535. ],
  6536. "responses": {
  6537. "200": {
  6538. "description": "OK",
  6539. "schema": {
  6540. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6541. }
  6542. },
  6543. "500": {
  6544. "description": "Internal Server Error",
  6545. "schema": {
  6546. "$ref": "#/definitions/app.Response"
  6547. }
  6548. }
  6549. }
  6550. }
  6551. },
  6552. "/HSBY/SetHsbyMyPackagesStatus": {
  6553. "post": {
  6554. "security": [
  6555. {
  6556. "ApiKeyAuth": []
  6557. }
  6558. ],
  6559. "produces": [
  6560. "application/json"
  6561. ],
  6562. "tags": [
  6563. "定制【海商报业】"
  6564. ],
  6565. "summary": "设置我的包裹已收货状态",
  6566. "parameters": [
  6567. {
  6568. "type": "string",
  6569. "description": "提货单号",
  6570. "name": "takeOrderID",
  6571. "in": "query",
  6572. "required": true
  6573. },
  6574. {
  6575. "type": "integer",
  6576. "description": "资金账号",
  6577. "name": "accountID",
  6578. "in": "query",
  6579. "required": true
  6580. }
  6581. ],
  6582. "responses": {
  6583. "200": {
  6584. "description": "OK",
  6585. "schema": {
  6586. "$ref": "#/definitions/app.Response"
  6587. }
  6588. },
  6589. "500": {
  6590. "description": "Internal Server Error",
  6591. "schema": {
  6592. "$ref": "#/definitions/app.Response"
  6593. }
  6594. }
  6595. }
  6596. }
  6597. },
  6598. "/Market/QueryGoodsesByLoginID": {
  6599. "get": {
  6600. "security": [
  6601. {
  6602. "ApiKeyAuth": []
  6603. }
  6604. ],
  6605. "produces": [
  6606. "application/json"
  6607. ],
  6608. "tags": [
  6609. "通用市场"
  6610. ],
  6611. "summary": "获取登录账号有权限的商品信息",
  6612. "parameters": [
  6613. {
  6614. "type": "integer",
  6615. "description": "登录账号",
  6616. "name": "loginID",
  6617. "in": "query",
  6618. "required": true
  6619. },
  6620. {
  6621. "type": "string",
  6622. "description": "市场ID列表,格式:1,2,3",
  6623. "name": "marketIDs",
  6624. "in": "query"
  6625. }
  6626. ],
  6627. "responses": {
  6628. "200": {
  6629. "description": "OK",
  6630. "schema": {
  6631. "$ref": "#/definitions/models.Goods"
  6632. }
  6633. },
  6634. "500": {
  6635. "description": "Internal Server Error",
  6636. "schema": {
  6637. "$ref": "#/definitions/app.Response"
  6638. }
  6639. }
  6640. }
  6641. }
  6642. },
  6643. "/Market/QueryMarketRun": {
  6644. "get": {
  6645. "security": [
  6646. {
  6647. "ApiKeyAuth": []
  6648. }
  6649. ],
  6650. "produces": [
  6651. "application/json"
  6652. ],
  6653. "tags": [
  6654. "通用市场"
  6655. ],
  6656. "summary": "查询市场运行信息",
  6657. "parameters": [
  6658. {
  6659. "type": "integer",
  6660. "description": "市场ID,不传返回所有",
  6661. "name": "marketID",
  6662. "in": "query"
  6663. }
  6664. ],
  6665. "responses": {
  6666. "200": {
  6667. "description": "OK",
  6668. "schema": {
  6669. "$ref": "#/definitions/models.Marketrun"
  6670. }
  6671. },
  6672. "500": {
  6673. "description": "Internal Server Error",
  6674. "schema": {
  6675. "$ref": "#/definitions/app.Response"
  6676. }
  6677. }
  6678. }
  6679. }
  6680. },
  6681. "/Market/QueryMarketsByLoginID": {
  6682. "get": {
  6683. "security": [
  6684. {
  6685. "ApiKeyAuth": []
  6686. }
  6687. ],
  6688. "produces": [
  6689. "application/json"
  6690. ],
  6691. "tags": [
  6692. "通用市场"
  6693. ],
  6694. "summary": "获取登录账号有权限的市场信息",
  6695. "parameters": [
  6696. {
  6697. "type": "integer",
  6698. "description": "登录账号",
  6699. "name": "loginID",
  6700. "in": "query",
  6701. "required": true
  6702. }
  6703. ],
  6704. "responses": {
  6705. "200": {
  6706. "description": "OK",
  6707. "schema": {
  6708. "$ref": "#/definitions/models.Market"
  6709. }
  6710. },
  6711. "500": {
  6712. "description": "Internal Server Error",
  6713. "schema": {
  6714. "$ref": "#/definitions/app.Response"
  6715. }
  6716. }
  6717. }
  6718. }
  6719. },
  6720. "/Order/QueryHisTradeDetail": {
  6721. "get": {
  6722. "security": [
  6723. {
  6724. "ApiKeyAuth": []
  6725. }
  6726. ],
  6727. "produces": [
  6728. "application/json"
  6729. ],
  6730. "tags": [
  6731. "通用单据"
  6732. ],
  6733. "summary": "历史成交单查询(合约市场)",
  6734. "parameters": [
  6735. {
  6736. "type": "string",
  6737. "description": "资金账户 - 格式:1,2,3",
  6738. "name": "accountID",
  6739. "in": "query",
  6740. "required": true
  6741. },
  6742. {
  6743. "type": "integer",
  6744. "description": "成交单号",
  6745. "name": "tradeID",
  6746. "in": "query"
  6747. },
  6748. {
  6749. "type": "integer",
  6750. "description": "委托单号",
  6751. "name": "orderID",
  6752. "in": "query"
  6753. },
  6754. {
  6755. "type": "integer",
  6756. "description": "商品ID",
  6757. "name": "goodsID",
  6758. "in": "query"
  6759. },
  6760. {
  6761. "type": "string",
  6762. "description": "交易模式 - 格式:1,2,3",
  6763. "name": "tradeMode",
  6764. "in": "query"
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "委托单据类型",
  6769. "name": "buildType",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "string",
  6774. "description": "成交类别 - 格式:1,2,3",
  6775. "name": "tradeType",
  6776. "in": "query"
  6777. },
  6778. {
  6779. "type": "string",
  6780. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6781. "name": "startDate",
  6782. "in": "query"
  6783. },
  6784. {
  6785. "type": "string",
  6786. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6787. "name": "endDate",
  6788. "in": "query"
  6789. }
  6790. ],
  6791. "responses": {
  6792. "200": {
  6793. "description": "OK",
  6794. "schema": {
  6795. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6796. }
  6797. },
  6798. "500": {
  6799. "description": "Internal Server Error",
  6800. "schema": {
  6801. "$ref": "#/definitions/app.Response"
  6802. }
  6803. }
  6804. }
  6805. }
  6806. },
  6807. "/Order/QueryHisTradeOrderDetail": {
  6808. "get": {
  6809. "security": [
  6810. {
  6811. "ApiKeyAuth": []
  6812. }
  6813. ],
  6814. "produces": [
  6815. "application/json"
  6816. ],
  6817. "tags": [
  6818. "通用单据"
  6819. ],
  6820. "summary": "历史委托单查询请求(合约市场)",
  6821. "parameters": [
  6822. {
  6823. "type": "string",
  6824. "description": "资金账户 - 格式:1,2,3",
  6825. "name": "accountID",
  6826. "in": "query",
  6827. "required": true
  6828. },
  6829. {
  6830. "type": "string",
  6831. "description": "交易模式 - 格式:1,2,3",
  6832. "name": "tradeMode",
  6833. "in": "query"
  6834. },
  6835. {
  6836. "type": "string",
  6837. "description": "委托状态 - 格式:1,2,3",
  6838. "name": "orderStatus",
  6839. "in": "query"
  6840. },
  6841. {
  6842. "type": "integer",
  6843. "description": "委托单号",
  6844. "name": "orderID",
  6845. "in": "query"
  6846. },
  6847. {
  6848. "type": "string",
  6849. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6850. "name": "startDate",
  6851. "in": "query"
  6852. },
  6853. {
  6854. "type": "string",
  6855. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6856. "name": "endDate",
  6857. "in": "query"
  6858. }
  6859. ],
  6860. "responses": {
  6861. "200": {
  6862. "description": "OK",
  6863. "schema": {
  6864. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6865. }
  6866. },
  6867. "500": {
  6868. "description": "Internal Server Error",
  6869. "schema": {
  6870. "$ref": "#/definitions/app.Response"
  6871. }
  6872. }
  6873. }
  6874. }
  6875. },
  6876. "/Order/QueryTradeDetail": {
  6877. "get": {
  6878. "security": [
  6879. {
  6880. "ApiKeyAuth": []
  6881. }
  6882. ],
  6883. "produces": [
  6884. "application/json"
  6885. ],
  6886. "tags": [
  6887. "通用单据"
  6888. ],
  6889. "summary": "成交单查询(合约市场)",
  6890. "parameters": [
  6891. {
  6892. "type": "string",
  6893. "description": "资金账户 - 格式:1,2,3",
  6894. "name": "accountID",
  6895. "in": "query",
  6896. "required": true
  6897. },
  6898. {
  6899. "type": "integer",
  6900. "description": "成交单号",
  6901. "name": "tradeID",
  6902. "in": "query"
  6903. },
  6904. {
  6905. "type": "integer",
  6906. "description": "委托单号",
  6907. "name": "orderID",
  6908. "in": "query"
  6909. },
  6910. {
  6911. "type": "string",
  6912. "description": "交易模式 - 格式:1,2,3",
  6913. "name": "tradeMode",
  6914. "in": "query"
  6915. },
  6916. {
  6917. "type": "integer",
  6918. "description": "委托单据类型",
  6919. "name": "buildType",
  6920. "in": "query"
  6921. },
  6922. {
  6923. "type": "string",
  6924. "description": "成交类别 - 格式:1,2,3",
  6925. "name": "tradeType",
  6926. "in": "query"
  6927. },
  6928. {
  6929. "type": "integer",
  6930. "description": "商品ID",
  6931. "name": "goodsID",
  6932. "in": "query"
  6933. }
  6934. ],
  6935. "responses": {
  6936. "200": {
  6937. "description": "OK",
  6938. "schema": {
  6939. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6940. }
  6941. },
  6942. "500": {
  6943. "description": "Internal Server Error",
  6944. "schema": {
  6945. "$ref": "#/definitions/app.Response"
  6946. }
  6947. }
  6948. }
  6949. }
  6950. },
  6951. "/Order/QueryTradeOrderDetail": {
  6952. "get": {
  6953. "security": [
  6954. {
  6955. "ApiKeyAuth": []
  6956. }
  6957. ],
  6958. "produces": [
  6959. "application/json"
  6960. ],
  6961. "tags": [
  6962. "通用单据"
  6963. ],
  6964. "summary": "委托单查询请求(合约市场)",
  6965. "parameters": [
  6966. {
  6967. "type": "string",
  6968. "description": "资金账户 - 格式:1,2,3",
  6969. "name": "accountID",
  6970. "in": "query",
  6971. "required": true
  6972. },
  6973. {
  6974. "type": "string",
  6975. "description": "交易模式 - 格式:1,2,3",
  6976. "name": "tradeMode",
  6977. "in": "query"
  6978. },
  6979. {
  6980. "type": "string",
  6981. "description": "委托状态 - 格式:1,2,3",
  6982. "name": "orderStatus",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "integer",
  6987. "description": "委托单号",
  6988. "name": "orderID",
  6989. "in": "query"
  6990. }
  6991. ],
  6992. "responses": {
  6993. "200": {
  6994. "description": "OK",
  6995. "schema": {
  6996. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6997. }
  6998. },
  6999. "500": {
  7000. "description": "Internal Server Error",
  7001. "schema": {
  7002. "$ref": "#/definitions/app.Response"
  7003. }
  7004. }
  7005. }
  7006. }
  7007. },
  7008. "/Order/QueryTradePosition": {
  7009. "get": {
  7010. "security": [
  7011. {
  7012. "ApiKeyAuth": []
  7013. }
  7014. ],
  7015. "produces": [
  7016. "application/json"
  7017. ],
  7018. "tags": [
  7019. "通用单据"
  7020. ],
  7021. "summary": "持仓汇总查询(合约市场)",
  7022. "parameters": [
  7023. {
  7024. "type": "string",
  7025. "description": "资金账户 - 格式:1,2,3",
  7026. "name": "accountID",
  7027. "in": "query",
  7028. "required": true
  7029. },
  7030. {
  7031. "type": "string",
  7032. "description": "交易模式 - 格式:1,2,3",
  7033. "name": "tradeMode",
  7034. "in": "query"
  7035. }
  7036. ],
  7037. "responses": {
  7038. "200": {
  7039. "description": "OK",
  7040. "schema": {
  7041. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7042. }
  7043. },
  7044. "500": {
  7045. "description": "Internal Server Error",
  7046. "schema": {
  7047. "$ref": "#/definitions/app.Response"
  7048. }
  7049. }
  7050. }
  7051. }
  7052. },
  7053. "/Qhj/QueryAccountInOutApply": {
  7054. "get": {
  7055. "security": [
  7056. {
  7057. "ApiKeyAuth": []
  7058. }
  7059. ],
  7060. "produces": [
  7061. "application/json"
  7062. ],
  7063. "tags": [
  7064. "大连千海金"
  7065. ],
  7066. "summary": "查询充值提现",
  7067. "parameters": [
  7068. {
  7069. "type": "integer",
  7070. "description": "用户ID",
  7071. "name": "userid",
  7072. "in": "query",
  7073. "required": true
  7074. },
  7075. {
  7076. "type": "string",
  7077. "description": "申请起始日期(格式yyyymmdd)",
  7078. "name": "begindate",
  7079. "in": "query"
  7080. },
  7081. {
  7082. "type": "string",
  7083. "description": "申请截止日期(格式yyyymmdd)",
  7084. "name": "enddate",
  7085. "in": "query"
  7086. },
  7087. {
  7088. "type": "string",
  7089. "description": "模糊搜索名称",
  7090. "name": "likename",
  7091. "in": "query"
  7092. }
  7093. ],
  7094. "responses": {
  7095. "200": {
  7096. "description": "OK",
  7097. "schema": {
  7098. "type": "array",
  7099. "items": {
  7100. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7101. }
  7102. }
  7103. },
  7104. "500": {
  7105. "description": "Internal Server Error",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. }
  7110. }
  7111. }
  7112. },
  7113. "/Qhj/QueryBankAccountSign": {
  7114. "get": {
  7115. "security": [
  7116. {
  7117. "ApiKeyAuth": []
  7118. }
  7119. ],
  7120. "produces": [
  7121. "application/json"
  7122. ],
  7123. "tags": [
  7124. "大连千海金"
  7125. ],
  7126. "summary": "查询签约银行信息(提现账户管理)",
  7127. "parameters": [
  7128. {
  7129. "type": "integer",
  7130. "description": "用户ID",
  7131. "name": "userid",
  7132. "in": "query",
  7133. "required": true
  7134. }
  7135. ],
  7136. "responses": {
  7137. "200": {
  7138. "description": "OK",
  7139. "schema": {
  7140. "type": "array",
  7141. "items": {
  7142. "$ref": "#/definitions/models.QhjBankAccountSign"
  7143. }
  7144. }
  7145. },
  7146. "500": {
  7147. "description": "Internal Server Error",
  7148. "schema": {
  7149. "$ref": "#/definitions/app.Response"
  7150. }
  7151. }
  7152. }
  7153. }
  7154. },
  7155. "/Qhj/QueryBankInfo": {
  7156. "get": {
  7157. "security": [
  7158. {
  7159. "ApiKeyAuth": []
  7160. }
  7161. ],
  7162. "produces": [
  7163. "application/json"
  7164. ],
  7165. "tags": [
  7166. "大连千海金"
  7167. ],
  7168. "summary": "查询开户行",
  7169. "responses": {
  7170. "200": {
  7171. "description": "OK",
  7172. "schema": {
  7173. "type": "array",
  7174. "items": {
  7175. "$ref": "#/definitions/models.QhjBankInfo"
  7176. }
  7177. }
  7178. },
  7179. "500": {
  7180. "description": "Internal Server Error",
  7181. "schema": {
  7182. "$ref": "#/definitions/app.Response"
  7183. }
  7184. }
  7185. }
  7186. }
  7187. },
  7188. "/Qhj/QueryContract": {
  7189. "get": {
  7190. "security": [
  7191. {
  7192. "ApiKeyAuth": []
  7193. }
  7194. ],
  7195. "produces": [
  7196. "application/json"
  7197. ],
  7198. "tags": [
  7199. "大连千海金"
  7200. ],
  7201. "summary": "查询融资明细(合同)",
  7202. "parameters": [
  7203. {
  7204. "type": "integer",
  7205. "description": "用户ID",
  7206. "name": "userid",
  7207. "in": "query"
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "scf合同id",
  7212. "name": "scfcontractid",
  7213. "in": "query"
  7214. }
  7215. ],
  7216. "responses": {
  7217. "200": {
  7218. "description": "OK",
  7219. "schema": {
  7220. "type": "array",
  7221. "items": {
  7222. "$ref": "#/definitions/models.QhjContract"
  7223. }
  7224. }
  7225. },
  7226. "500": {
  7227. "description": "Internal Server Error",
  7228. "schema": {
  7229. "$ref": "#/definitions/app.Response"
  7230. }
  7231. }
  7232. }
  7233. }
  7234. },
  7235. "/Qhj/QueryContractLog": {
  7236. "get": {
  7237. "security": [
  7238. {
  7239. "ApiKeyAuth": []
  7240. }
  7241. ],
  7242. "produces": [
  7243. "application/json"
  7244. ],
  7245. "tags": [
  7246. "大连千海金"
  7247. ],
  7248. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7249. "parameters": [
  7250. {
  7251. "type": "integer",
  7252. "description": "scf合同id",
  7253. "name": "scfcontractid",
  7254. "in": "query",
  7255. "required": true
  7256. },
  7257. {
  7258. "type": "string",
  7259. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7260. "name": "amounttype",
  7261. "in": "query"
  7262. }
  7263. ],
  7264. "responses": {
  7265. "200": {
  7266. "description": "OK",
  7267. "schema": {
  7268. "type": "array",
  7269. "items": {
  7270. "$ref": "#/definitions/models.QhjContractLog"
  7271. }
  7272. }
  7273. },
  7274. "500": {
  7275. "description": "Internal Server Error",
  7276. "schema": {
  7277. "$ref": "#/definitions/app.Response"
  7278. }
  7279. }
  7280. }
  7281. }
  7282. },
  7283. "/Qhj/QueryCusBankSignBank": {
  7284. "get": {
  7285. "security": [
  7286. {
  7287. "ApiKeyAuth": []
  7288. }
  7289. ],
  7290. "produces": [
  7291. "application/json"
  7292. ],
  7293. "tags": [
  7294. "大连千海金"
  7295. ],
  7296. "summary": "查询托管银行",
  7297. "responses": {
  7298. "200": {
  7299. "description": "OK",
  7300. "schema": {
  7301. "type": "array",
  7302. "items": {
  7303. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7304. }
  7305. }
  7306. },
  7307. "500": {
  7308. "description": "Internal Server Error",
  7309. "schema": {
  7310. "$ref": "#/definitions/app.Response"
  7311. }
  7312. }
  7313. }
  7314. }
  7315. },
  7316. "/Qhj/QueryCustomerInfo": {
  7317. "get": {
  7318. "security": [
  7319. {
  7320. "ApiKeyAuth": []
  7321. }
  7322. ],
  7323. "produces": [
  7324. "application/json"
  7325. ],
  7326. "tags": [
  7327. "大连千海金"
  7328. ],
  7329. "summary": "查询客户资料",
  7330. "parameters": [
  7331. {
  7332. "type": "integer",
  7333. "description": "用户ID",
  7334. "name": "userid",
  7335. "in": "query",
  7336. "required": true
  7337. },
  7338. {
  7339. "type": "integer",
  7340. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7341. "name": "querytype",
  7342. "in": "query",
  7343. "required": true
  7344. },
  7345. {
  7346. "type": "integer",
  7347. "description": "客户类型 1-个人 2-企业",
  7348. "name": "userinfotype",
  7349. "in": "query"
  7350. },
  7351. {
  7352. "type": "string",
  7353. "description": "客户名称(模糊匹配)",
  7354. "name": "customername",
  7355. "in": "query"
  7356. },
  7357. {
  7358. "type": "string",
  7359. "description": "昵称(模糊匹配)",
  7360. "name": "nickname",
  7361. "in": "query"
  7362. },
  7363. {
  7364. "type": "integer",
  7365. "description": "是否包含子级 1-包含",
  7366. "name": "includesub",
  7367. "in": "query"
  7368. }
  7369. ],
  7370. "responses": {
  7371. "200": {
  7372. "description": "OK",
  7373. "schema": {
  7374. "type": "array",
  7375. "items": {
  7376. "$ref": "#/definitions/models.QhjCustomer"
  7377. }
  7378. }
  7379. },
  7380. "500": {
  7381. "description": "Internal Server Error",
  7382. "schema": {
  7383. "$ref": "#/definitions/app.Response"
  7384. }
  7385. }
  7386. }
  7387. }
  7388. },
  7389. "/Qhj/QueryGoodsEx": {
  7390. "get": {
  7391. "security": [
  7392. {
  7393. "ApiKeyAuth": []
  7394. }
  7395. ],
  7396. "produces": [
  7397. "application/json"
  7398. ],
  7399. "tags": [
  7400. "大连千海金"
  7401. ],
  7402. "summary": "交易商品扩展表",
  7403. "parameters": [
  7404. {
  7405. "type": "integer",
  7406. "description": "商品id",
  7407. "name": "goodsid",
  7408. "in": "query"
  7409. }
  7410. ],
  7411. "responses": {
  7412. "200": {
  7413. "description": "OK",
  7414. "schema": {
  7415. "type": "array",
  7416. "items": {
  7417. "$ref": "#/definitions/models.Qhjgoodsex"
  7418. }
  7419. }
  7420. },
  7421. "500": {
  7422. "description": "Internal Server Error",
  7423. "schema": {
  7424. "$ref": "#/definitions/app.Response"
  7425. }
  7426. }
  7427. }
  7428. }
  7429. },
  7430. "/Qhj/QueryParentAreaList": {
  7431. "get": {
  7432. "security": [
  7433. {
  7434. "ApiKeyAuth": []
  7435. }
  7436. ],
  7437. "produces": [
  7438. "application/json"
  7439. ],
  7440. "tags": [
  7441. "大连千海金"
  7442. ],
  7443. "summary": "查询所属机构列表",
  7444. "parameters": [
  7445. {
  7446. "type": "integer",
  7447. "description": "用户ID",
  7448. "name": "userid",
  7449. "in": "query",
  7450. "required": true
  7451. }
  7452. ],
  7453. "responses": {
  7454. "200": {
  7455. "description": "OK",
  7456. "schema": {
  7457. "type": "array",
  7458. "items": {
  7459. "$ref": "#/definitions/models.QhjParentAreaList"
  7460. }
  7461. }
  7462. },
  7463. "500": {
  7464. "description": "Internal Server Error",
  7465. "schema": {
  7466. "$ref": "#/definitions/app.Response"
  7467. }
  7468. }
  7469. }
  7470. }
  7471. },
  7472. "/Qhj/QueryPayOrder": {
  7473. "get": {
  7474. "security": [
  7475. {
  7476. "ApiKeyAuth": []
  7477. }
  7478. ],
  7479. "produces": [
  7480. "application/json"
  7481. ],
  7482. "tags": [
  7483. "大连千海金"
  7484. ],
  7485. "summary": "查询待付款单据",
  7486. "parameters": [
  7487. {
  7488. "type": "integer",
  7489. "description": "资金账号id",
  7490. "name": "accountid",
  7491. "in": "query",
  7492. "required": true
  7493. },
  7494. {
  7495. "type": "integer",
  7496. "description": "成交单号",
  7497. "name": "tradeid",
  7498. "in": "query"
  7499. },
  7500. {
  7501. "type": "integer",
  7502. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7503. "name": "payflag",
  7504. "in": "query"
  7505. }
  7506. ],
  7507. "responses": {
  7508. "200": {
  7509. "description": "OK",
  7510. "schema": {
  7511. "type": "array",
  7512. "items": {
  7513. "$ref": "#/definitions/models.QhjPayOrder"
  7514. }
  7515. }
  7516. },
  7517. "500": {
  7518. "description": "Internal Server Error",
  7519. "schema": {
  7520. "$ref": "#/definitions/app.Response"
  7521. }
  7522. }
  7523. }
  7524. }
  7525. },
  7526. "/Qhj/QueryPickArea": {
  7527. "get": {
  7528. "security": [
  7529. {
  7530. "ApiKeyAuth": []
  7531. }
  7532. ],
  7533. "produces": [
  7534. "application/json"
  7535. ],
  7536. "tags": [
  7537. "大连千海金"
  7538. ],
  7539. "summary": "查询提货门店",
  7540. "parameters": [
  7541. {
  7542. "type": "integer",
  7543. "description": "用户ID",
  7544. "name": "userid",
  7545. "in": "query"
  7546. }
  7547. ],
  7548. "responses": {
  7549. "200": {
  7550. "description": "OK",
  7551. "schema": {
  7552. "type": "array",
  7553. "items": {
  7554. "$ref": "#/definitions/models.QhjPickArea"
  7555. }
  7556. }
  7557. },
  7558. "500": {
  7559. "description": "Internal Server Error",
  7560. "schema": {
  7561. "$ref": "#/definitions/app.Response"
  7562. }
  7563. }
  7564. }
  7565. }
  7566. },
  7567. "/Qhj/QueryPickGoods": {
  7568. "get": {
  7569. "security": [
  7570. {
  7571. "ApiKeyAuth": []
  7572. }
  7573. ],
  7574. "produces": [
  7575. "application/json"
  7576. ],
  7577. "tags": [
  7578. "大连千海金"
  7579. ],
  7580. "summary": "查询提货商品",
  7581. "parameters": [
  7582. {
  7583. "type": "integer",
  7584. "description": "交易商品id",
  7585. "name": "goodsid",
  7586. "in": "query",
  7587. "required": true
  7588. },
  7589. {
  7590. "type": "string",
  7591. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7592. "name": "status",
  7593. "in": "query"
  7594. }
  7595. ],
  7596. "responses": {
  7597. "200": {
  7598. "description": "OK",
  7599. "schema": {
  7600. "type": "array",
  7601. "items": {
  7602. "$ref": "#/definitions/models.QhjPickGoods"
  7603. }
  7604. }
  7605. },
  7606. "500": {
  7607. "description": "Internal Server Error",
  7608. "schema": {
  7609. "$ref": "#/definitions/app.Response"
  7610. }
  7611. }
  7612. }
  7613. }
  7614. },
  7615. "/Qhj/QueryRSTriggerLog": {
  7616. "get": {
  7617. "security": [
  7618. {
  7619. "ApiKeyAuth": []
  7620. }
  7621. ],
  7622. "produces": [
  7623. "application/json"
  7624. ],
  7625. "tags": [
  7626. "大连千海金"
  7627. ],
  7628. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7629. "parameters": [
  7630. {
  7631. "type": "integer",
  7632. "description": "用户ID",
  7633. "name": "userid",
  7634. "in": "query"
  7635. },
  7636. {
  7637. "type": "integer",
  7638. "description": "定投策略id",
  7639. "name": "regularlystrategyid",
  7640. "in": "query"
  7641. }
  7642. ],
  7643. "responses": {
  7644. "200": {
  7645. "description": "OK",
  7646. "schema": {
  7647. "type": "array",
  7648. "items": {
  7649. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7650. }
  7651. }
  7652. },
  7653. "500": {
  7654. "description": "Internal Server Error",
  7655. "schema": {
  7656. "$ref": "#/definitions/app.Response"
  7657. }
  7658. }
  7659. }
  7660. }
  7661. },
  7662. "/Qhj/QueryRStrategy": {
  7663. "get": {
  7664. "security": [
  7665. {
  7666. "ApiKeyAuth": []
  7667. }
  7668. ],
  7669. "produces": [
  7670. "application/json"
  7671. ],
  7672. "tags": [
  7673. "大连千海金"
  7674. ],
  7675. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7676. "parameters": [
  7677. {
  7678. "type": "integer",
  7679. "description": "用户ID",
  7680. "name": "userid",
  7681. "in": "query"
  7682. },
  7683. {
  7684. "type": "string",
  7685. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7686. "name": "status",
  7687. "in": "query"
  7688. }
  7689. ],
  7690. "responses": {
  7691. "200": {
  7692. "description": "OK",
  7693. "schema": {
  7694. "type": "array",
  7695. "items": {
  7696. "$ref": "#/definitions/models.QhjRStrategy"
  7697. }
  7698. }
  7699. },
  7700. "500": {
  7701. "description": "Internal Server Error",
  7702. "schema": {
  7703. "$ref": "#/definitions/app.Response"
  7704. }
  7705. }
  7706. }
  7707. }
  7708. },
  7709. "/Qhj/QueryReckonPriceLog": {
  7710. "get": {
  7711. "security": [
  7712. {
  7713. "ApiKeyAuth": []
  7714. }
  7715. ],
  7716. "produces": [
  7717. "application/json"
  7718. ],
  7719. "tags": [
  7720. "大连千海金"
  7721. ],
  7722. "summary": "查询定投价(结算价)",
  7723. "parameters": [
  7724. {
  7725. "type": "integer",
  7726. "description": "商品ID",
  7727. "name": "goodsid",
  7728. "in": "query"
  7729. },
  7730. {
  7731. "type": "string",
  7732. "description": "交易日 格式(yyyymmdd)",
  7733. "name": "tradedate",
  7734. "in": "query"
  7735. }
  7736. ],
  7737. "responses": {
  7738. "200": {
  7739. "description": "OK",
  7740. "schema": {
  7741. "type": "array",
  7742. "items": {
  7743. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7744. }
  7745. }
  7746. },
  7747. "500": {
  7748. "description": "Internal Server Error",
  7749. "schema": {
  7750. "$ref": "#/definitions/app.Response"
  7751. }
  7752. }
  7753. }
  7754. }
  7755. },
  7756. "/Qhj/QuerySiteColumnDetail": {
  7757. "get": {
  7758. "security": [
  7759. {
  7760. "ApiKeyAuth": []
  7761. }
  7762. ],
  7763. "produces": [
  7764. "application/json"
  7765. ],
  7766. "tags": [
  7767. "大连千海金"
  7768. ],
  7769. "summary": "查询资讯",
  7770. "parameters": [
  7771. {
  7772. "type": "integer",
  7773. "description": "用户ID",
  7774. "name": "userid",
  7775. "in": "query",
  7776. "required": true
  7777. }
  7778. ],
  7779. "responses": {
  7780. "200": {
  7781. "description": "OK",
  7782. "schema": {
  7783. "type": "array",
  7784. "items": {
  7785. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7786. }
  7787. }
  7788. },
  7789. "500": {
  7790. "description": "Internal Server Error",
  7791. "schema": {
  7792. "$ref": "#/definitions/app.Response"
  7793. }
  7794. }
  7795. }
  7796. }
  7797. },
  7798. "/Qhj/QueryTradeGoodsPickup": {
  7799. "get": {
  7800. "security": [
  7801. {
  7802. "ApiKeyAuth": []
  7803. }
  7804. ],
  7805. "produces": [
  7806. "application/json"
  7807. ],
  7808. "tags": [
  7809. "大连千海金"
  7810. ],
  7811. "summary": "查询提货",
  7812. "parameters": [
  7813. {
  7814. "type": "integer",
  7815. "description": "用户ID",
  7816. "name": "userid",
  7817. "in": "query",
  7818. "required": true
  7819. },
  7820. {
  7821. "type": "integer",
  7822. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  7823. "name": "takeorderstatus",
  7824. "in": "query"
  7825. }
  7826. ],
  7827. "responses": {
  7828. "200": {
  7829. "description": "OK",
  7830. "schema": {
  7831. "type": "array",
  7832. "items": {
  7833. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7834. }
  7835. }
  7836. },
  7837. "500": {
  7838. "description": "Internal Server Error",
  7839. "schema": {
  7840. "$ref": "#/definitions/app.Response"
  7841. }
  7842. }
  7843. }
  7844. }
  7845. },
  7846. "/Qhj/QueryUserCollectConfig": {
  7847. "get": {
  7848. "security": [
  7849. {
  7850. "ApiKeyAuth": []
  7851. }
  7852. ],
  7853. "produces": [
  7854. "application/json"
  7855. ],
  7856. "tags": [
  7857. "大连千海金"
  7858. ],
  7859. "summary": "查询提现账户设置",
  7860. "parameters": [
  7861. {
  7862. "type": "integer",
  7863. "description": "用户ID",
  7864. "name": "userid",
  7865. "in": "query",
  7866. "required": true
  7867. }
  7868. ],
  7869. "responses": {
  7870. "200": {
  7871. "description": "OK",
  7872. "schema": {
  7873. "type": "array",
  7874. "items": {
  7875. "$ref": "#/definitions/models.UserCollectConfig"
  7876. }
  7877. }
  7878. },
  7879. "500": {
  7880. "description": "Internal Server Error",
  7881. "schema": {
  7882. "$ref": "#/definitions/app.Response"
  7883. }
  7884. }
  7885. }
  7886. }
  7887. },
  7888. "/Qhj/QueryUserReceiveInfo": {
  7889. "get": {
  7890. "security": [
  7891. {
  7892. "ApiKeyAuth": []
  7893. }
  7894. ],
  7895. "produces": [
  7896. "application/json"
  7897. ],
  7898. "tags": [
  7899. "大连千海金"
  7900. ],
  7901. "summary": "查询收货地址信息",
  7902. "parameters": [
  7903. {
  7904. "type": "integer",
  7905. "description": "用户ID",
  7906. "name": "userid",
  7907. "in": "query",
  7908. "required": true
  7909. }
  7910. ],
  7911. "responses": {
  7912. "200": {
  7913. "description": "OK",
  7914. "schema": {
  7915. "type": "array",
  7916. "items": {
  7917. "$ref": "#/definitions/models.UserReceiveInfo"
  7918. }
  7919. }
  7920. },
  7921. "500": {
  7922. "description": "Internal Server Error",
  7923. "schema": {
  7924. "$ref": "#/definitions/app.Response"
  7925. }
  7926. }
  7927. }
  7928. }
  7929. },
  7930. "/QhjMgr/QueryAccountInOutApply": {
  7931. "get": {
  7932. "security": [
  7933. {
  7934. "ApiKeyAuth": []
  7935. }
  7936. ],
  7937. "produces": [
  7938. "application/json"
  7939. ],
  7940. "tags": [
  7941. "大连千海金(PCWeb)"
  7942. ],
  7943. "summary": "查询充值提现",
  7944. "parameters": [
  7945. {
  7946. "type": "integer",
  7947. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  7948. "name": "querytype",
  7949. "in": "query",
  7950. "required": true
  7951. },
  7952. {
  7953. "type": "integer",
  7954. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  7955. "name": "applystatus",
  7956. "in": "query"
  7957. },
  7958. {
  7959. "type": "string",
  7960. "description": "申请起始日期(格式yyyymmdd)",
  7961. "name": "begindate",
  7962. "in": "query"
  7963. },
  7964. {
  7965. "type": "string",
  7966. "description": "申请截止日期(格式yyyymmdd)",
  7967. "name": "enddate",
  7968. "in": "query"
  7969. },
  7970. {
  7971. "type": "string",
  7972. "description": "模糊搜索名称",
  7973. "name": "likename",
  7974. "in": "query"
  7975. }
  7976. ],
  7977. "responses": {
  7978. "200": {
  7979. "description": "OK",
  7980. "schema": {
  7981. "type": "array",
  7982. "items": {
  7983. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7984. }
  7985. }
  7986. },
  7987. "500": {
  7988. "description": "Internal Server Error",
  7989. "schema": {
  7990. "$ref": "#/definitions/app.Response"
  7991. }
  7992. }
  7993. }
  7994. }
  7995. },
  7996. "/QhjMgr/QueryContract": {
  7997. "get": {
  7998. "security": [
  7999. {
  8000. "ApiKeyAuth": []
  8001. }
  8002. ],
  8003. "produces": [
  8004. "application/json"
  8005. ],
  8006. "tags": [
  8007. "大连千海金(PCWeb)"
  8008. ],
  8009. "summary": "查询融资信息(合同)",
  8010. "parameters": [
  8011. {
  8012. "type": "integer",
  8013. "description": "用户ID",
  8014. "name": "userid",
  8015. "in": "query",
  8016. "required": true
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "商品id",
  8021. "name": "goodsid",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "string",
  8026. "description": "名称(模糊搜索账户)",
  8027. "name": "filtername",
  8028. "in": "query"
  8029. },
  8030. {
  8031. "type": "string",
  8032. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8033. "name": "risklevel",
  8034. "in": "query"
  8035. },
  8036. {
  8037. "type": "string",
  8038. "description": "开始交易日(yyyymmdd)",
  8039. "name": "begindate",
  8040. "in": "query"
  8041. },
  8042. {
  8043. "type": "string",
  8044. "description": "结束交易日(yyyymmdd)",
  8045. "name": "enddate",
  8046. "in": "query"
  8047. }
  8048. ],
  8049. "responses": {
  8050. "200": {
  8051. "description": "OK",
  8052. "schema": {
  8053. "type": "array",
  8054. "items": {
  8055. "$ref": "#/definitions/models.QhjMgrContract"
  8056. }
  8057. }
  8058. },
  8059. "500": {
  8060. "description": "Internal Server Error",
  8061. "schema": {
  8062. "$ref": "#/definitions/app.Response"
  8063. }
  8064. }
  8065. }
  8066. }
  8067. },
  8068. "/QhjMgr/QueryCustomerInfo": {
  8069. "get": {
  8070. "security": [
  8071. {
  8072. "ApiKeyAuth": []
  8073. }
  8074. ],
  8075. "produces": [
  8076. "application/json"
  8077. ],
  8078. "tags": [
  8079. "大连千海金(PCWeb)"
  8080. ],
  8081. "summary": "查询客户资料",
  8082. "parameters": [
  8083. {
  8084. "type": "integer",
  8085. "description": "用户ID",
  8086. "name": "userid",
  8087. "in": "query",
  8088. "required": true
  8089. },
  8090. {
  8091. "type": "integer",
  8092. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8093. "name": "querytype",
  8094. "in": "query",
  8095. "required": true
  8096. },
  8097. {
  8098. "type": "integer",
  8099. "description": "客户类型 1-个人 2-企业",
  8100. "name": "userinfotype",
  8101. "in": "query"
  8102. },
  8103. {
  8104. "type": "string",
  8105. "description": "客户名称(模糊匹配)",
  8106. "name": "customername",
  8107. "in": "query"
  8108. },
  8109. {
  8110. "type": "string",
  8111. "description": "昵称(模糊匹配)",
  8112. "name": "nickname",
  8113. "in": "query"
  8114. },
  8115. {
  8116. "type": "integer",
  8117. "description": "是否包含子级 1-包含",
  8118. "name": "includesub",
  8119. "in": "query"
  8120. }
  8121. ],
  8122. "responses": {
  8123. "200": {
  8124. "description": "OK",
  8125. "schema": {
  8126. "type": "array",
  8127. "items": {
  8128. "$ref": "#/definitions/models.QhjCustomer"
  8129. }
  8130. }
  8131. },
  8132. "500": {
  8133. "description": "Internal Server Error",
  8134. "schema": {
  8135. "$ref": "#/definitions/app.Response"
  8136. }
  8137. }
  8138. }
  8139. }
  8140. },
  8141. "/QhjMgr/QuerySubArea": {
  8142. "get": {
  8143. "security": [
  8144. {
  8145. "ApiKeyAuth": []
  8146. }
  8147. ],
  8148. "produces": [
  8149. "application/json"
  8150. ],
  8151. "tags": [
  8152. "大连千海金(PCWeb)"
  8153. ],
  8154. "summary": "查询子机构列表",
  8155. "parameters": [
  8156. {
  8157. "type": "integer",
  8158. "description": "用户ID",
  8159. "name": "userid",
  8160. "in": "query",
  8161. "required": true
  8162. }
  8163. ],
  8164. "responses": {
  8165. "200": {
  8166. "description": "OK",
  8167. "schema": {
  8168. "type": "array",
  8169. "items": {
  8170. "$ref": "#/definitions/models.QhjMgrSubArea"
  8171. }
  8172. }
  8173. },
  8174. "500": {
  8175. "description": "Internal Server Error",
  8176. "schema": {
  8177. "$ref": "#/definitions/app.Response"
  8178. }
  8179. }
  8180. }
  8181. }
  8182. },
  8183. "/QhjMgr/QueryTradeDetail": {
  8184. "get": {
  8185. "security": [
  8186. {
  8187. "ApiKeyAuth": []
  8188. }
  8189. ],
  8190. "produces": [
  8191. "application/json"
  8192. ],
  8193. "tags": [
  8194. "大连千海金(PCWeb)"
  8195. ],
  8196. "summary": "查询成交明细",
  8197. "parameters": [
  8198. {
  8199. "type": "integer",
  8200. "description": "用户ID",
  8201. "name": "userid",
  8202. "in": "query",
  8203. "required": true
  8204. },
  8205. {
  8206. "type": "integer",
  8207. "description": "用户类型 1-个人 2-企业",
  8208. "name": "userinfotype",
  8209. "in": "query"
  8210. },
  8211. {
  8212. "type": "integer",
  8213. "description": "交易模式",
  8214. "name": "trademode",
  8215. "in": "query"
  8216. },
  8217. {
  8218. "type": "integer",
  8219. "description": "商品id",
  8220. "name": "goodsid",
  8221. "in": "query"
  8222. },
  8223. {
  8224. "type": "string",
  8225. "description": "名称(模糊搜索账户)",
  8226. "name": "filtername",
  8227. "in": "query"
  8228. },
  8229. {
  8230. "type": "string",
  8231. "description": "开始交易日(yyyymmdd)",
  8232. "name": "begindate",
  8233. "in": "query"
  8234. },
  8235. {
  8236. "type": "string",
  8237. "description": "结束交易日(yyyymmdd)",
  8238. "name": "enddate",
  8239. "in": "query"
  8240. },
  8241. {
  8242. "type": "integer",
  8243. "description": "是否包含子级 1-包含",
  8244. "name": "includesub",
  8245. "in": "query"
  8246. }
  8247. ],
  8248. "responses": {
  8249. "200": {
  8250. "description": "OK",
  8251. "schema": {
  8252. "type": "array",
  8253. "items": {
  8254. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8255. }
  8256. }
  8257. },
  8258. "500": {
  8259. "description": "Internal Server Error",
  8260. "schema": {
  8261. "$ref": "#/definitions/app.Response"
  8262. }
  8263. }
  8264. }
  8265. }
  8266. },
  8267. "/QhjMgr/QueryTradeOrderDetail": {
  8268. "get": {
  8269. "security": [
  8270. {
  8271. "ApiKeyAuth": []
  8272. }
  8273. ],
  8274. "produces": [
  8275. "application/json"
  8276. ],
  8277. "tags": [
  8278. "大连千海金(PCWeb)"
  8279. ],
  8280. "summary": "查询委托明细",
  8281. "parameters": [
  8282. {
  8283. "type": "integer",
  8284. "description": "用户ID",
  8285. "name": "userid",
  8286. "in": "query",
  8287. "required": true
  8288. },
  8289. {
  8290. "type": "integer",
  8291. "description": "用户类型 1-个人 2-企业",
  8292. "name": "userinfotype",
  8293. "in": "query"
  8294. },
  8295. {
  8296. "type": "integer",
  8297. "description": "交易模式",
  8298. "name": "trademode",
  8299. "in": "query"
  8300. },
  8301. {
  8302. "type": "integer",
  8303. "description": "商品id",
  8304. "name": "goodsid",
  8305. "in": "query"
  8306. },
  8307. {
  8308. "type": "string",
  8309. "description": "名称(模糊搜索账户)",
  8310. "name": "filtername",
  8311. "in": "query"
  8312. },
  8313. {
  8314. "type": "string",
  8315. "description": "开始交易日(yyyymmdd)",
  8316. "name": "begindate",
  8317. "in": "query"
  8318. },
  8319. {
  8320. "type": "string",
  8321. "description": "结束交易日(yyyymmdd)",
  8322. "name": "enddate",
  8323. "in": "query"
  8324. },
  8325. {
  8326. "type": "integer",
  8327. "description": "是否包含子级 1-包含",
  8328. "name": "includesub",
  8329. "in": "query"
  8330. }
  8331. ],
  8332. "responses": {
  8333. "200": {
  8334. "description": "OK",
  8335. "schema": {
  8336. "type": "array",
  8337. "items": {
  8338. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8339. }
  8340. }
  8341. },
  8342. "500": {
  8343. "description": "Internal Server Error",
  8344. "schema": {
  8345. "$ref": "#/definitions/app.Response"
  8346. }
  8347. }
  8348. }
  8349. }
  8350. },
  8351. "/QhjMgr/QueryTradePayOrder": {
  8352. "get": {
  8353. "security": [
  8354. {
  8355. "ApiKeyAuth": []
  8356. }
  8357. ],
  8358. "produces": [
  8359. "application/json"
  8360. ],
  8361. "tags": [
  8362. "大连千海金(PCWeb)"
  8363. ],
  8364. "summary": "查询待付款单",
  8365. "parameters": [
  8366. {
  8367. "type": "integer",
  8368. "description": "用户ID",
  8369. "name": "userid",
  8370. "in": "query",
  8371. "required": true
  8372. },
  8373. {
  8374. "type": "string",
  8375. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8376. "name": "payflag",
  8377. "in": "query"
  8378. },
  8379. {
  8380. "type": "integer",
  8381. "description": "用户类型 1-个人 2-企业",
  8382. "name": "userinfotype",
  8383. "in": "query"
  8384. },
  8385. {
  8386. "type": "integer",
  8387. "description": "交易模式",
  8388. "name": "trademode",
  8389. "in": "query"
  8390. },
  8391. {
  8392. "type": "integer",
  8393. "description": "商品id",
  8394. "name": "goodsid",
  8395. "in": "query"
  8396. },
  8397. {
  8398. "type": "string",
  8399. "description": "名称(模糊搜索账户)",
  8400. "name": "filtername",
  8401. "in": "query"
  8402. },
  8403. {
  8404. "type": "string",
  8405. "description": "开始交易日(yyyymmdd)",
  8406. "name": "begindate",
  8407. "in": "query"
  8408. },
  8409. {
  8410. "type": "string",
  8411. "description": "结束交易日(yyyymmdd)",
  8412. "name": "enddate",
  8413. "in": "query"
  8414. },
  8415. {
  8416. "type": "integer",
  8417. "description": "是否包含子级 1-包含",
  8418. "name": "includesub",
  8419. "in": "query"
  8420. }
  8421. ],
  8422. "responses": {
  8423. "200": {
  8424. "description": "OK",
  8425. "schema": {
  8426. "type": "array",
  8427. "items": {
  8428. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8429. }
  8430. }
  8431. },
  8432. "500": {
  8433. "description": "Internal Server Error",
  8434. "schema": {
  8435. "$ref": "#/definitions/app.Response"
  8436. }
  8437. }
  8438. }
  8439. }
  8440. },
  8441. "/QhjMgr/QueryTradePosition": {
  8442. "get": {
  8443. "security": [
  8444. {
  8445. "ApiKeyAuth": []
  8446. }
  8447. ],
  8448. "produces": [
  8449. "application/json"
  8450. ],
  8451. "tags": [
  8452. "大连千海金(PCWeb)"
  8453. ],
  8454. "summary": "查询持仓汇总",
  8455. "parameters": [
  8456. {
  8457. "type": "integer",
  8458. "description": "用户ID",
  8459. "name": "userid",
  8460. "in": "query",
  8461. "required": true
  8462. },
  8463. {
  8464. "type": "integer",
  8465. "description": "用户类型 1-个人 2-企业",
  8466. "name": "userinfotype",
  8467. "in": "query"
  8468. },
  8469. {
  8470. "type": "integer",
  8471. "description": "交易模式",
  8472. "name": "trademode",
  8473. "in": "query"
  8474. },
  8475. {
  8476. "type": "integer",
  8477. "description": "商品id",
  8478. "name": "goodsid",
  8479. "in": "query"
  8480. },
  8481. {
  8482. "type": "string",
  8483. "description": "名称(模糊搜索账户)",
  8484. "name": "filtername",
  8485. "in": "query"
  8486. },
  8487. {
  8488. "type": "integer",
  8489. "description": "是否包含子级 1-包含",
  8490. "name": "includesub",
  8491. "in": "query"
  8492. }
  8493. ],
  8494. "responses": {
  8495. "200": {
  8496. "description": "OK",
  8497. "schema": {
  8498. "type": "array",
  8499. "items": {
  8500. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  8501. }
  8502. }
  8503. },
  8504. "500": {
  8505. "description": "Internal Server Error",
  8506. "schema": {
  8507. "$ref": "#/definitions/app.Response"
  8508. }
  8509. }
  8510. }
  8511. }
  8512. },
  8513. "/Quote/QueryHistoryDatas": {
  8514. "get": {
  8515. "security": [
  8516. {
  8517. "ApiKeyAuth": []
  8518. }
  8519. ],
  8520. "produces": [
  8521. "application/json"
  8522. ],
  8523. "tags": [
  8524. "行情服务"
  8525. ],
  8526. "summary": "查询行情历史数据",
  8527. "parameters": [
  8528. {
  8529. "type": "integer",
  8530. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  8531. "name": "cycleType",
  8532. "in": "query",
  8533. "required": true
  8534. },
  8535. {
  8536. "type": "string",
  8537. "description": "商品代码",
  8538. "name": "goodsCode",
  8539. "in": "query",
  8540. "required": true
  8541. },
  8542. {
  8543. "type": "string",
  8544. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8545. "name": "startTime",
  8546. "in": "query"
  8547. },
  8548. {
  8549. "type": "string",
  8550. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8551. "name": "endTime",
  8552. "in": "query"
  8553. },
  8554. {
  8555. "type": "integer",
  8556. "description": "条数",
  8557. "name": "count",
  8558. "in": "query"
  8559. },
  8560. {
  8561. "type": "boolean",
  8562. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8563. "name": "isAsc",
  8564. "in": "query"
  8565. }
  8566. ],
  8567. "responses": {
  8568. "200": {
  8569. "description": "OK",
  8570. "schema": {
  8571. "$ref": "#/definitions/quote.HistoryData"
  8572. }
  8573. },
  8574. "500": {
  8575. "description": "Internal Server Error",
  8576. "schema": {
  8577. "$ref": "#/definitions/app.Response"
  8578. }
  8579. }
  8580. }
  8581. }
  8582. },
  8583. "/Quote/QueryHistoryTikDatas": {
  8584. "get": {
  8585. "security": [
  8586. {
  8587. "ApiKeyAuth": []
  8588. }
  8589. ],
  8590. "produces": [
  8591. "application/json"
  8592. ],
  8593. "tags": [
  8594. "行情服务"
  8595. ],
  8596. "summary": "查询行情Tik数据",
  8597. "parameters": [
  8598. {
  8599. "type": "string",
  8600. "description": "商品代码",
  8601. "name": "goodsCode",
  8602. "in": "query",
  8603. "required": true
  8604. },
  8605. {
  8606. "type": "string",
  8607. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8608. "name": "startTime",
  8609. "in": "query"
  8610. },
  8611. {
  8612. "type": "string",
  8613. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8614. "name": "endTime",
  8615. "in": "query"
  8616. },
  8617. {
  8618. "type": "integer",
  8619. "description": "条数",
  8620. "name": "count",
  8621. "in": "query"
  8622. },
  8623. {
  8624. "type": "boolean",
  8625. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8626. "name": "isAsc",
  8627. "in": "query"
  8628. }
  8629. ],
  8630. "responses": {
  8631. "200": {
  8632. "description": "OK",
  8633. "schema": {
  8634. "$ref": "#/definitions/quote.HistoryTikData"
  8635. }
  8636. },
  8637. "500": {
  8638. "description": "Internal Server Error",
  8639. "schema": {
  8640. "$ref": "#/definitions/app.Response"
  8641. }
  8642. }
  8643. }
  8644. }
  8645. },
  8646. "/Quote/QueryQuoteDay": {
  8647. "get": {
  8648. "security": [
  8649. {
  8650. "ApiKeyAuth": []
  8651. }
  8652. ],
  8653. "produces": [
  8654. "application/json"
  8655. ],
  8656. "tags": [
  8657. "行情服务"
  8658. ],
  8659. "summary": "获取商品盘面信息",
  8660. "parameters": [
  8661. {
  8662. "type": "string",
  8663. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8664. "name": "goodsCodes",
  8665. "in": "query",
  8666. "required": true
  8667. }
  8668. ],
  8669. "responses": {
  8670. "200": {
  8671. "description": "OK",
  8672. "schema": {
  8673. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8674. }
  8675. },
  8676. "500": {
  8677. "description": "Internal Server Error",
  8678. "schema": {
  8679. "$ref": "#/definitions/app.Response"
  8680. }
  8681. }
  8682. }
  8683. }
  8684. },
  8685. "/Quote/QueryTSData": {
  8686. "get": {
  8687. "security": [
  8688. {
  8689. "ApiKeyAuth": []
  8690. }
  8691. ],
  8692. "produces": [
  8693. "application/json"
  8694. ],
  8695. "tags": [
  8696. "行情服务"
  8697. ],
  8698. "summary": "分时图数据查询",
  8699. "parameters": [
  8700. {
  8701. "type": "string",
  8702. "description": "商品代码",
  8703. "name": "goodsCode",
  8704. "in": "query",
  8705. "required": true
  8706. }
  8707. ],
  8708. "responses": {
  8709. "200": {
  8710. "description": "OK",
  8711. "schema": {
  8712. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8713. }
  8714. },
  8715. "500": {
  8716. "description": "Internal Server Error",
  8717. "schema": {
  8718. "$ref": "#/definitions/app.Response"
  8719. }
  8720. }
  8721. }
  8722. }
  8723. },
  8724. "/SZDZ/QueryConvertConfig": {
  8725. "get": {
  8726. "security": [
  8727. {
  8728. "ApiKeyAuth": []
  8729. }
  8730. ],
  8731. "produces": [
  8732. "application/json"
  8733. ],
  8734. "tags": [
  8735. "定制【尚志大宗】"
  8736. ],
  8737. "summary": "查询交易系统转换设置",
  8738. "parameters": [
  8739. {
  8740. "type": "integer",
  8741. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8742. "name": "convertType",
  8743. "in": "query"
  8744. },
  8745. {
  8746. "type": "string",
  8747. "description": "外部商品代码[JD\\PD]",
  8748. "name": "outerGoodsCode",
  8749. "in": "query"
  8750. },
  8751. {
  8752. "type": "string",
  8753. "description": "内部商品ID列表[交易],格式:1,2,3",
  8754. "name": "innerGoodsIDs",
  8755. "in": "query"
  8756. }
  8757. ],
  8758. "responses": {
  8759. "200": {
  8760. "description": "OK",
  8761. "schema": {
  8762. "$ref": "#/definitions/models.Szdz3convertconfig"
  8763. }
  8764. },
  8765. "500": {
  8766. "description": "Internal Server Error",
  8767. "schema": {
  8768. "$ref": "#/definitions/app.Response"
  8769. }
  8770. }
  8771. }
  8772. }
  8773. },
  8774. "/SZDZ/QueryConvertLog": {
  8775. "get": {
  8776. "security": [
  8777. {
  8778. "ApiKeyAuth": []
  8779. }
  8780. ],
  8781. "produces": [
  8782. "application/json"
  8783. ],
  8784. "tags": [
  8785. "定制【尚志大宗】"
  8786. ],
  8787. "summary": "交易系统转换流水查询",
  8788. "parameters": [
  8789. {
  8790. "type": "string",
  8791. "description": "资金账户 - 格式:1,2,3",
  8792. "name": "accountID",
  8793. "in": "query",
  8794. "required": true
  8795. },
  8796. {
  8797. "type": "string",
  8798. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8799. "name": "startDate",
  8800. "in": "query"
  8801. },
  8802. {
  8803. "type": "string",
  8804. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8805. "name": "endDate",
  8806. "in": "query"
  8807. }
  8808. ],
  8809. "responses": {
  8810. "200": {
  8811. "description": "OK",
  8812. "schema": {
  8813. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8814. }
  8815. },
  8816. "500": {
  8817. "description": "Internal Server Error",
  8818. "schema": {
  8819. "$ref": "#/definitions/app.Response"
  8820. }
  8821. }
  8822. }
  8823. }
  8824. },
  8825. "/SZDZ/QueryGoodsPickup": {
  8826. "get": {
  8827. "security": [
  8828. {
  8829. "ApiKeyAuth": []
  8830. }
  8831. ],
  8832. "produces": [
  8833. "application/json"
  8834. ],
  8835. "tags": [
  8836. "定制【尚志大宗】"
  8837. ],
  8838. "summary": "商品提货单查询",
  8839. "parameters": [
  8840. {
  8841. "type": "string",
  8842. "description": "资金账户 - 格式:1,2,3",
  8843. "name": "accountID",
  8844. "in": "query",
  8845. "required": true
  8846. },
  8847. {
  8848. "type": "integer",
  8849. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8850. "name": "takeOrderStatus",
  8851. "in": "query"
  8852. }
  8853. ],
  8854. "responses": {
  8855. "200": {
  8856. "description": "OK",
  8857. "schema": {
  8858. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8859. }
  8860. },
  8861. "500": {
  8862. "description": "Internal Server Error",
  8863. "schema": {
  8864. "$ref": "#/definitions/app.Response"
  8865. }
  8866. }
  8867. }
  8868. }
  8869. },
  8870. "/SZDZ/QueryRecieptOrder": {
  8871. "get": {
  8872. "security": [
  8873. {
  8874. "ApiKeyAuth": []
  8875. }
  8876. ],
  8877. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8878. "produces": [
  8879. "application/json"
  8880. ],
  8881. "tags": [
  8882. "定制【尚志大宗】"
  8883. ],
  8884. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8885. "parameters": [
  8886. {
  8887. "type": "integer",
  8888. "description": "页码",
  8889. "name": "page",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "integer",
  8894. "description": "每页条数",
  8895. "name": "pagesize",
  8896. "in": "query"
  8897. },
  8898. {
  8899. "type": "integer",
  8900. "description": "商品ID",
  8901. "name": "goodsID",
  8902. "in": "query",
  8903. "required": true
  8904. },
  8905. {
  8906. "type": "string",
  8907. "description": "所属账户名称",
  8908. "name": "accountName",
  8909. "in": "query"
  8910. },
  8911. {
  8912. "type": "integer",
  8913. "description": "市场ID",
  8914. "name": "marketID",
  8915. "in": "query"
  8916. },
  8917. {
  8918. "type": "integer",
  8919. "description": "方向 - 0:买 1:卖",
  8920. "name": "buyorsell",
  8921. "in": "query",
  8922. "required": true
  8923. }
  8924. ],
  8925. "responses": {
  8926. "200": {
  8927. "description": "OK",
  8928. "schema": {
  8929. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8930. }
  8931. },
  8932. "500": {
  8933. "description": "Internal Server Error",
  8934. "schema": {
  8935. "$ref": "#/definitions/app.Response"
  8936. }
  8937. }
  8938. }
  8939. }
  8940. },
  8941. "/SZDZ/QuerySZDZTradePosition": {
  8942. "get": {
  8943. "security": [
  8944. {
  8945. "ApiKeyAuth": []
  8946. }
  8947. ],
  8948. "produces": [
  8949. "application/json"
  8950. ],
  8951. "tags": [
  8952. "定制【尚志大宗】"
  8953. ],
  8954. "summary": "持仓汇总查询(尚志大宗)",
  8955. "parameters": [
  8956. {
  8957. "type": "integer",
  8958. "description": "资金账户",
  8959. "name": "accountID",
  8960. "in": "query",
  8961. "required": true
  8962. }
  8963. ],
  8964. "responses": {
  8965. "200": {
  8966. "description": "OK",
  8967. "schema": {
  8968. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8969. }
  8970. },
  8971. "500": {
  8972. "description": "Internal Server Error",
  8973. "schema": {
  8974. "$ref": "#/definitions/app.Response"
  8975. }
  8976. }
  8977. }
  8978. }
  8979. },
  8980. "/SZDZ/SearchWhite": {
  8981. "get": {
  8982. "security": [
  8983. {
  8984. "ApiKeyAuth": []
  8985. }
  8986. ],
  8987. "produces": [
  8988. "application/json"
  8989. ],
  8990. "tags": [
  8991. "定制【尚志大宗】"
  8992. ],
  8993. "summary": "搜索白名单",
  8994. "parameters": [
  8995. {
  8996. "type": "integer",
  8997. "description": "用户ID",
  8998. "name": "userID",
  8999. "in": "query",
  9000. "required": true
  9001. }
  9002. ],
  9003. "responses": {
  9004. "200": {
  9005. "description": "OK",
  9006. "schema": {
  9007. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9008. }
  9009. },
  9010. "500": {
  9011. "description": "Internal Server Error",
  9012. "schema": {
  9013. "$ref": "#/definitions/app.Response"
  9014. }
  9015. }
  9016. }
  9017. }
  9018. },
  9019. "/Search/SearchGoodses": {
  9020. "get": {
  9021. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9022. "produces": [
  9023. "application/json"
  9024. ],
  9025. "tags": [
  9026. "检索服务"
  9027. ],
  9028. "summary": "检索商品信息",
  9029. "parameters": [
  9030. {
  9031. "type": "string",
  9032. "description": "检索内容",
  9033. "name": "content",
  9034. "in": "query",
  9035. "required": true
  9036. },
  9037. {
  9038. "type": "string",
  9039. "description": "交易模式,格式:1,2,3",
  9040. "name": "tradeModes",
  9041. "in": "query"
  9042. }
  9043. ],
  9044. "responses": {
  9045. "200": {
  9046. "description": "OK",
  9047. "schema": {
  9048. "$ref": "#/definitions/models.SearchGoods"
  9049. }
  9050. },
  9051. "500": {
  9052. "description": "Internal Server Error",
  9053. "schema": {
  9054. "$ref": "#/definitions/app.Response"
  9055. }
  9056. }
  9057. }
  9058. }
  9059. },
  9060. "/TaAccount/GetTaAccounts": {
  9061. "get": {
  9062. "security": [
  9063. {
  9064. "ApiKeyAuth": []
  9065. }
  9066. ],
  9067. "produces": [
  9068. "application/json"
  9069. ],
  9070. "tags": [
  9071. "资金账户"
  9072. ],
  9073. "summary": "获取资金账户信息",
  9074. "parameters": [
  9075. {
  9076. "type": "integer",
  9077. "description": "登录账户",
  9078. "name": "loginID",
  9079. "in": "query",
  9080. "required": true
  9081. },
  9082. {
  9083. "type": "integer",
  9084. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9085. "name": "taAccountType",
  9086. "in": "query"
  9087. }
  9088. ],
  9089. "responses": {
  9090. "200": {
  9091. "description": "OK",
  9092. "schema": {
  9093. "$ref": "#/definitions/models.Taaccount"
  9094. }
  9095. },
  9096. "500": {
  9097. "description": "Internal Server Error",
  9098. "schema": {
  9099. "$ref": "#/definitions/app.Response"
  9100. }
  9101. }
  9102. }
  9103. }
  9104. },
  9105. "/TaAccount/QueryAmountLog": {
  9106. "get": {
  9107. "security": [
  9108. {
  9109. "ApiKeyAuth": []
  9110. }
  9111. ],
  9112. "produces": [
  9113. "application/json"
  9114. ],
  9115. "tags": [
  9116. "资金账户"
  9117. ],
  9118. "summary": "资金流水查询(当前)",
  9119. "parameters": [
  9120. {
  9121. "type": "integer",
  9122. "description": "页码",
  9123. "name": "page",
  9124. "in": "query"
  9125. },
  9126. {
  9127. "type": "integer",
  9128. "description": "每页条数",
  9129. "name": "pagesize",
  9130. "in": "query"
  9131. },
  9132. {
  9133. "type": "string",
  9134. "description": "资金账户 - 格式:1,2,3",
  9135. "name": "accountID",
  9136. "in": "query",
  9137. "required": true
  9138. },
  9139. {
  9140. "type": "string",
  9141. "description": "资金操作类型 - 格式:1,2,3",
  9142. "name": "OperateType",
  9143. "in": "query"
  9144. }
  9145. ],
  9146. "responses": {
  9147. "200": {
  9148. "description": "OK",
  9149. "schema": {
  9150. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9151. }
  9152. },
  9153. "500": {
  9154. "description": "Internal Server Error",
  9155. "schema": {
  9156. "$ref": "#/definitions/app.Response"
  9157. }
  9158. }
  9159. }
  9160. }
  9161. },
  9162. "/TaAccount/QueryHisAmountLog": {
  9163. "get": {
  9164. "security": [
  9165. {
  9166. "ApiKeyAuth": []
  9167. }
  9168. ],
  9169. "produces": [
  9170. "application/json"
  9171. ],
  9172. "tags": [
  9173. "资金账户"
  9174. ],
  9175. "summary": "资金流水查询(历史)",
  9176. "parameters": [
  9177. {
  9178. "type": "integer",
  9179. "description": "页码",
  9180. "name": "page",
  9181. "in": "query"
  9182. },
  9183. {
  9184. "type": "integer",
  9185. "description": "每页条数",
  9186. "name": "pagesize",
  9187. "in": "query"
  9188. },
  9189. {
  9190. "type": "string",
  9191. "description": "资金账户 - 格式:1,2,3",
  9192. "name": "accountID",
  9193. "in": "query",
  9194. "required": true
  9195. },
  9196. {
  9197. "type": "string",
  9198. "description": "资金操作类型 - 格式:1,2,3",
  9199. "name": "OperateType",
  9200. "in": "query"
  9201. },
  9202. {
  9203. "type": "string",
  9204. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9205. "name": "startDate",
  9206. "in": "query"
  9207. },
  9208. {
  9209. "type": "string",
  9210. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9211. "name": "endDate",
  9212. "in": "query"
  9213. }
  9214. ],
  9215. "responses": {
  9216. "200": {
  9217. "description": "OK",
  9218. "schema": {
  9219. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9220. }
  9221. },
  9222. "500": {
  9223. "description": "Internal Server Error",
  9224. "schema": {
  9225. "$ref": "#/definitions/app.Response"
  9226. }
  9227. }
  9228. }
  9229. }
  9230. },
  9231. "/Trade/QueryRecieptOrder": {
  9232. "get": {
  9233. "security": [
  9234. {
  9235. "ApiKeyAuth": []
  9236. }
  9237. ],
  9238. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9239. "produces": [
  9240. "application/json"
  9241. ],
  9242. "tags": [
  9243. "通用交易"
  9244. ],
  9245. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  9246. "parameters": [
  9247. {
  9248. "type": "integer",
  9249. "description": "页码",
  9250. "name": "page",
  9251. "in": "query"
  9252. },
  9253. {
  9254. "type": "integer",
  9255. "description": "每页条数",
  9256. "name": "pagesize",
  9257. "in": "query"
  9258. },
  9259. {
  9260. "type": "integer",
  9261. "description": "商品ID",
  9262. "name": "goodsID",
  9263. "in": "query",
  9264. "required": true
  9265. },
  9266. {
  9267. "type": "string",
  9268. "description": "所属账户名称",
  9269. "name": "accountName",
  9270. "in": "query"
  9271. },
  9272. {
  9273. "type": "integer",
  9274. "description": "市场ID",
  9275. "name": "marketID",
  9276. "in": "query"
  9277. },
  9278. {
  9279. "type": "integer",
  9280. "description": "方向 - 0:买 1:卖",
  9281. "name": "buyorsell",
  9282. "in": "query",
  9283. "required": true
  9284. }
  9285. ],
  9286. "responses": {
  9287. "200": {
  9288. "description": "OK",
  9289. "schema": {
  9290. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  9291. }
  9292. },
  9293. "500": {
  9294. "description": "Internal Server Error",
  9295. "schema": {
  9296. "$ref": "#/definitions/app.Response"
  9297. }
  9298. }
  9299. }
  9300. }
  9301. },
  9302. "/User/AddMessageBoard": {
  9303. "post": {
  9304. "security": [
  9305. {
  9306. "ApiKeyAuth": []
  9307. }
  9308. ],
  9309. "produces": [
  9310. "application/json"
  9311. ],
  9312. "tags": [
  9313. "用户信息"
  9314. ],
  9315. "summary": "添加用户留言板信息",
  9316. "parameters": [
  9317. {
  9318. "type": "integer",
  9319. "description": "用户ID",
  9320. "name": "userID",
  9321. "in": "query",
  9322. "required": true
  9323. },
  9324. {
  9325. "type": "string",
  9326. "description": "留言信息",
  9327. "name": "message",
  9328. "in": "query",
  9329. "required": true
  9330. },
  9331. {
  9332. "type": "string",
  9333. "description": "联系电话",
  9334. "name": "contactNum",
  9335. "in": "query",
  9336. "required": true
  9337. }
  9338. ],
  9339. "responses": {
  9340. "200": {
  9341. "description": "OK",
  9342. "schema": {
  9343. "$ref": "#/definitions/app.Response"
  9344. }
  9345. },
  9346. "500": {
  9347. "description": "Internal Server Error",
  9348. "schema": {
  9349. "$ref": "#/definitions/app.Response"
  9350. }
  9351. }
  9352. }
  9353. }
  9354. },
  9355. "/User/AddUserFavoriteGoods": {
  9356. "post": {
  9357. "security": [
  9358. {
  9359. "ApiKeyAuth": []
  9360. }
  9361. ],
  9362. "produces": [
  9363. "application/json"
  9364. ],
  9365. "tags": [
  9366. "用户信息"
  9367. ],
  9368. "summary": "添加用户商品收藏信息",
  9369. "parameters": [
  9370. {
  9371. "type": "integer",
  9372. "description": "用户ID",
  9373. "name": "userID",
  9374. "in": "query",
  9375. "required": true
  9376. },
  9377. {
  9378. "type": "integer",
  9379. "description": "商品ID",
  9380. "name": "goodsID",
  9381. "in": "query",
  9382. "required": true
  9383. }
  9384. ],
  9385. "responses": {
  9386. "200": {
  9387. "description": "OK",
  9388. "schema": {
  9389. "$ref": "#/definitions/app.Response"
  9390. }
  9391. },
  9392. "500": {
  9393. "description": "Internal Server Error",
  9394. "schema": {
  9395. "$ref": "#/definitions/app.Response"
  9396. }
  9397. }
  9398. }
  9399. }
  9400. },
  9401. "/User/GetLoginID": {
  9402. "get": {
  9403. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  9404. "produces": [
  9405. "application/json"
  9406. ],
  9407. "tags": [
  9408. "用户信息"
  9409. ],
  9410. "summary": "获取登录ID",
  9411. "parameters": [
  9412. {
  9413. "type": "string",
  9414. "description": "登录代码",
  9415. "name": "username",
  9416. "in": "query",
  9417. "required": true
  9418. }
  9419. ],
  9420. "responses": {
  9421. "200": {
  9422. "description": "OK",
  9423. "schema": {
  9424. "$ref": "#/definitions/app.Response"
  9425. }
  9426. },
  9427. "500": {
  9428. "description": "Internal Server Error",
  9429. "schema": {
  9430. "$ref": "#/definitions/app.Response"
  9431. }
  9432. }
  9433. }
  9434. }
  9435. },
  9436. "/User/GetUserAccount": {
  9437. "get": {
  9438. "security": [
  9439. {
  9440. "ApiKeyAuth": []
  9441. }
  9442. ],
  9443. "produces": [
  9444. "application/json"
  9445. ],
  9446. "tags": [
  9447. "用户信息"
  9448. ],
  9449. "summary": "获取用户账号信息",
  9450. "parameters": [
  9451. {
  9452. "type": "integer",
  9453. "description": "用户ID",
  9454. "name": "userID",
  9455. "in": "query",
  9456. "required": true
  9457. }
  9458. ],
  9459. "responses": {
  9460. "200": {
  9461. "description": "OK",
  9462. "schema": {
  9463. "$ref": "#/definitions/models.Useraccount"
  9464. }
  9465. },
  9466. "500": {
  9467. "description": "Internal Server Error",
  9468. "schema": {
  9469. "$ref": "#/definitions/app.Response"
  9470. }
  9471. }
  9472. }
  9473. }
  9474. },
  9475. "/User/GetUserAuthStatus": {
  9476. "get": {
  9477. "security": [
  9478. {
  9479. "ApiKeyAuth": []
  9480. }
  9481. ],
  9482. "produces": [
  9483. "application/json"
  9484. ],
  9485. "tags": [
  9486. "用户信息"
  9487. ],
  9488. "summary": "获取用户实名认证状态",
  9489. "parameters": [
  9490. {
  9491. "type": "integer",
  9492. "description": "用户ID",
  9493. "name": "userID",
  9494. "in": "query",
  9495. "required": true
  9496. }
  9497. ],
  9498. "responses": {
  9499. "200": {
  9500. "description": "OK",
  9501. "schema": {
  9502. "$ref": "#/definitions/app.Response"
  9503. }
  9504. },
  9505. "500": {
  9506. "description": "Internal Server Error",
  9507. "schema": {
  9508. "$ref": "#/definitions/app.Response"
  9509. }
  9510. }
  9511. }
  9512. }
  9513. },
  9514. "/User/LoginQuery": {
  9515. "get": {
  9516. "security": [
  9517. {
  9518. "ApiKeyAuth": []
  9519. }
  9520. ],
  9521. "produces": [
  9522. "application/json"
  9523. ],
  9524. "tags": [
  9525. "用户信息"
  9526. ],
  9527. "summary": "账户登录后信息查询",
  9528. "parameters": [
  9529. {
  9530. "type": "integer",
  9531. "description": "登录账号",
  9532. "name": "loginID",
  9533. "in": "query",
  9534. "required": true
  9535. }
  9536. ],
  9537. "responses": {
  9538. "200": {
  9539. "description": "OK",
  9540. "schema": {
  9541. "$ref": "#/definitions/user.LoginQueryRsp"
  9542. }
  9543. },
  9544. "500": {
  9545. "description": "Internal Server Error",
  9546. "schema": {
  9547. "$ref": "#/definitions/app.Response"
  9548. }
  9549. }
  9550. }
  9551. }
  9552. },
  9553. "/User/QueryMessageBoard": {
  9554. "get": {
  9555. "security": [
  9556. {
  9557. "ApiKeyAuth": []
  9558. }
  9559. ],
  9560. "produces": [
  9561. "application/json"
  9562. ],
  9563. "tags": [
  9564. "用户信息"
  9565. ],
  9566. "summary": "获取用户留言板信息",
  9567. "parameters": [
  9568. {
  9569. "type": "integer",
  9570. "description": "用户ID",
  9571. "name": "userID",
  9572. "in": "query",
  9573. "required": true
  9574. }
  9575. ],
  9576. "responses": {
  9577. "200": {
  9578. "description": "OK",
  9579. "schema": {
  9580. "$ref": "#/definitions/models.Messageboard"
  9581. }
  9582. },
  9583. "500": {
  9584. "description": "Internal Server Error",
  9585. "schema": {
  9586. "$ref": "#/definitions/app.Response"
  9587. }
  9588. }
  9589. }
  9590. }
  9591. },
  9592. "/User/QueryUserFavoriteGoodses": {
  9593. "get": {
  9594. "security": [
  9595. {
  9596. "ApiKeyAuth": []
  9597. }
  9598. ],
  9599. "produces": [
  9600. "application/json"
  9601. ],
  9602. "tags": [
  9603. "用户信息"
  9604. ],
  9605. "summary": "获取用户商品收藏信息",
  9606. "parameters": [
  9607. {
  9608. "type": "integer",
  9609. "description": "用户ID",
  9610. "name": "userID",
  9611. "in": "query",
  9612. "required": true
  9613. }
  9614. ],
  9615. "responses": {
  9616. "200": {
  9617. "description": "OK",
  9618. "schema": {
  9619. "$ref": "#/definitions/models.Userfavoritegoods"
  9620. }
  9621. },
  9622. "500": {
  9623. "description": "Internal Server Error",
  9624. "schema": {
  9625. "$ref": "#/definitions/app.Response"
  9626. }
  9627. }
  9628. }
  9629. }
  9630. },
  9631. "/User/QueryUserInfo": {
  9632. "get": {
  9633. "security": [
  9634. {
  9635. "ApiKeyAuth": []
  9636. }
  9637. ],
  9638. "produces": [
  9639. "application/json"
  9640. ],
  9641. "tags": [
  9642. "用户信息"
  9643. ],
  9644. "summary": "获取用户信息",
  9645. "parameters": [
  9646. {
  9647. "type": "integer",
  9648. "description": "用户ID",
  9649. "name": "userID",
  9650. "in": "query",
  9651. "required": true
  9652. },
  9653. {
  9654. "type": "boolean",
  9655. "description": "是否解密",
  9656. "name": "isDecrypt",
  9657. "in": "query"
  9658. }
  9659. ],
  9660. "responses": {
  9661. "200": {
  9662. "description": "OK",
  9663. "schema": {
  9664. "$ref": "#/definitions/models.Userinfo"
  9665. }
  9666. },
  9667. "500": {
  9668. "description": "Internal Server Error",
  9669. "schema": {
  9670. "$ref": "#/definitions/app.Response"
  9671. }
  9672. }
  9673. }
  9674. }
  9675. },
  9676. "/User/QueryUserReferNum": {
  9677. "get": {
  9678. "produces": [
  9679. "application/json"
  9680. ],
  9681. "tags": [
  9682. "用户信息"
  9683. ],
  9684. "summary": "获取用户邀请码",
  9685. "parameters": [
  9686. {
  9687. "type": "integer",
  9688. "description": "用户ID",
  9689. "name": "userID",
  9690. "in": "query",
  9691. "required": true
  9692. }
  9693. ],
  9694. "responses": {
  9695. "200": {
  9696. "description": "OK",
  9697. "schema": {
  9698. "$ref": "#/definitions/app.Response"
  9699. }
  9700. },
  9701. "500": {
  9702. "description": "Internal Server Error",
  9703. "schema": {
  9704. "$ref": "#/definitions/app.Response"
  9705. }
  9706. }
  9707. }
  9708. }
  9709. },
  9710. "/User/RemoveUserFavoriteGoods": {
  9711. "post": {
  9712. "security": [
  9713. {
  9714. "ApiKeyAuth": []
  9715. }
  9716. ],
  9717. "produces": [
  9718. "application/json"
  9719. ],
  9720. "tags": [
  9721. "用户信息"
  9722. ],
  9723. "summary": "移除用户商品收藏信息",
  9724. "parameters": [
  9725. {
  9726. "type": "integer",
  9727. "description": "用户ID",
  9728. "name": "userID",
  9729. "in": "query",
  9730. "required": true
  9731. },
  9732. {
  9733. "type": "integer",
  9734. "description": "商品ID",
  9735. "name": "goodsID",
  9736. "in": "query",
  9737. "required": true
  9738. }
  9739. ],
  9740. "responses": {
  9741. "200": {
  9742. "description": "OK",
  9743. "schema": {
  9744. "$ref": "#/definitions/app.Response"
  9745. }
  9746. },
  9747. "500": {
  9748. "description": "Internal Server Error",
  9749. "schema": {
  9750. "$ref": "#/definitions/app.Response"
  9751. }
  9752. }
  9753. }
  9754. }
  9755. },
  9756. "/User/UpdateUserAccountStatus": {
  9757. "post": {
  9758. "security": [
  9759. {
  9760. "ApiKeyAuth": []
  9761. }
  9762. ],
  9763. "produces": [
  9764. "application/json"
  9765. ],
  9766. "tags": [
  9767. "用户信息"
  9768. ],
  9769. "summary": "更新用户状态",
  9770. "parameters": [
  9771. {
  9772. "type": "integer",
  9773. "description": "用户ID",
  9774. "name": "userID",
  9775. "in": "query",
  9776. "required": true
  9777. },
  9778. {
  9779. "type": "integer",
  9780. "description": "账户状态 - 4:正常 6:注销(停用)",
  9781. "name": "accountStatus",
  9782. "in": "query",
  9783. "required": true
  9784. }
  9785. ],
  9786. "responses": {
  9787. "200": {
  9788. "description": "OK",
  9789. "schema": {
  9790. "$ref": "#/definitions/app.Response"
  9791. }
  9792. },
  9793. "500": {
  9794. "description": "Internal Server Error",
  9795. "schema": {
  9796. "$ref": "#/definitions/app.Response"
  9797. }
  9798. }
  9799. }
  9800. }
  9801. },
  9802. "/WRTrade/GetAllDeliveryGoods": {
  9803. "get": {
  9804. "security": [
  9805. {
  9806. "ApiKeyAuth": []
  9807. },
  9808. {
  9809. "ApiKeyAuth": []
  9810. }
  9811. ],
  9812. "produces": [
  9813. "application/json",
  9814. "application/json"
  9815. ],
  9816. "tags": [
  9817. "仓单贸易",
  9818. "仓单贸易"
  9819. ],
  9820. "summary": "获取带仓单分类的种类信息",
  9821. "responses": {
  9822. "200": {
  9823. "description": "OK",
  9824. "schema": {
  9825. "$ref": "#/definitions/app.Response"
  9826. }
  9827. },
  9828. "500": {
  9829. "description": "Internal Server Error",
  9830. "schema": {
  9831. "$ref": "#/definitions/app.Response"
  9832. }
  9833. }
  9834. }
  9835. }
  9836. }
  9837. },
  9838. "definitions": {
  9839. "app.Response": {
  9840. "type": "object",
  9841. "properties": {
  9842. "code": {
  9843. "type": "integer"
  9844. },
  9845. "data": {
  9846. "type": "object"
  9847. },
  9848. "msg": {
  9849. "type": "string"
  9850. },
  9851. "page": {
  9852. "description": "页码",
  9853. "type": "integer"
  9854. },
  9855. "pagesize": {
  9856. "description": "每页条数",
  9857. "type": "integer"
  9858. },
  9859. "total": {
  9860. "description": "总条数",
  9861. "type": "integer"
  9862. }
  9863. }
  9864. },
  9865. "common.ClientMenu": {
  9866. "type": "object",
  9867. "properties": {
  9868. "children": {
  9869. "description": "子菜单列表",
  9870. "type": "array",
  9871. "items": {
  9872. "$ref": "#/definitions/common.ClientMenu"
  9873. }
  9874. },
  9875. "code": {
  9876. "description": "ID",
  9877. "type": "string"
  9878. },
  9879. "isshow": {
  9880. "description": "是否显示",
  9881. "type": "boolean"
  9882. },
  9883. "rulekey": {
  9884. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9885. "type": "string"
  9886. },
  9887. "sort": {
  9888. "description": "排序",
  9889. "type": "integer"
  9890. },
  9891. "title": {
  9892. "description": "标题",
  9893. "type": "string"
  9894. },
  9895. "type": {
  9896. "description": "类型,1:菜单 2:按钮",
  9897. "type": "integer"
  9898. }
  9899. }
  9900. },
  9901. "common.QueryImageConfigsRsp": {
  9902. "type": "object",
  9903. "required": [
  9904. "configid"
  9905. ],
  9906. "properties": {
  9907. "areauserid": {
  9908. "description": "所属机构ID",
  9909. "type": "integer"
  9910. },
  9911. "configid": {
  9912. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9913. "type": "integer"
  9914. },
  9915. "createdate": {
  9916. "description": "创建时间",
  9917. "type": "string"
  9918. },
  9919. "creatorid": {
  9920. "description": "创建人",
  9921. "type": "integer"
  9922. },
  9923. "imagepath": {
  9924. "description": "图片",
  9925. "type": "string"
  9926. },
  9927. "imagetype": {
  9928. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9929. "type": "integer"
  9930. },
  9931. "isshow": {
  9932. "description": "是否展示 - 0:不展示 1:展示",
  9933. "type": "integer"
  9934. },
  9935. "marketid": {
  9936. "description": "市场ID",
  9937. "type": "integer"
  9938. },
  9939. "modifierid": {
  9940. "description": "操作人",
  9941. "type": "integer"
  9942. },
  9943. "sort": {
  9944. "description": "排序",
  9945. "type": "integer"
  9946. },
  9947. "title": {
  9948. "description": "标题",
  9949. "type": "string"
  9950. },
  9951. "trademode": {
  9952. "description": "交易模式",
  9953. "type": "integer"
  9954. },
  9955. "updatedate": {
  9956. "description": "修改时间",
  9957. "type": "string"
  9958. },
  9959. "url": {
  9960. "description": "链接(地址或商品ID)",
  9961. "type": "string"
  9962. },
  9963. "urltype": {
  9964. "description": "链接类型 - 1:直接地址 2:商品ID",
  9965. "type": "integer"
  9966. }
  9967. }
  9968. },
  9969. "common.QueryNoticeRsp": {
  9970. "type": "object",
  9971. "required": [
  9972. "autoid"
  9973. ],
  9974. "properties": {
  9975. "auditoruserid": {
  9976. "description": "审核人",
  9977. "type": "integer"
  9978. },
  9979. "auditremark": {
  9980. "description": "审核备注",
  9981. "type": "string"
  9982. },
  9983. "audittime": {
  9984. "description": "审核日期",
  9985. "type": "string"
  9986. },
  9987. "autoid": {
  9988. "description": "自增ID",
  9989. "type": "integer"
  9990. },
  9991. "content": {
  9992. "description": "内容",
  9993. "type": "string"
  9994. },
  9995. "createtime": {
  9996. "description": "创建时间",
  9997. "type": "string"
  9998. },
  9999. "creatorid": {
  10000. "description": "建仓人",
  10001. "type": "integer"
  10002. },
  10003. "endtime": {
  10004. "description": "结束时间",
  10005. "type": "string"
  10006. },
  10007. "istop": {
  10008. "description": "是否置顶 - 0:不置顶 1:置顶",
  10009. "type": "integer"
  10010. },
  10011. "msgiconurl": {
  10012. "description": "消息图标Url",
  10013. "type": "string"
  10014. },
  10015. "msgtype": {
  10016. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  10017. "type": "integer"
  10018. },
  10019. "publisher": {
  10020. "description": "消息发布者",
  10021. "type": "string"
  10022. },
  10023. "readed": {
  10024. "description": "是否已读",
  10025. "type": "boolean"
  10026. },
  10027. "scheduletime": {
  10028. "description": "计划发送时间",
  10029. "type": "string"
  10030. },
  10031. "sendtype": {
  10032. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  10033. "type": "integer"
  10034. },
  10035. "sentstatus": {
  10036. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  10037. "type": "integer"
  10038. },
  10039. "title": {
  10040. "description": "标题",
  10041. "type": "string"
  10042. },
  10043. "userid": {
  10044. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  10045. "type": "integer"
  10046. }
  10047. }
  10048. },
  10049. "common.QueryProvincesAndCitiesRsp": {
  10050. "type": "object",
  10051. "properties": {
  10052. "cities": {
  10053. "description": "市",
  10054. "type": "array",
  10055. "items": {
  10056. "$ref": "#/definitions/models.Division"
  10057. }
  10058. },
  10059. "province": {
  10060. "description": "省",
  10061. "type": "object",
  10062. "$ref": "#/definitions/models.Division"
  10063. }
  10064. }
  10065. },
  10066. "common.QueryTableDefineRsp": {
  10067. "type": "object",
  10068. "required": [
  10069. "tablekey"
  10070. ],
  10071. "properties": {
  10072. "columns": {
  10073. "description": "列头信息数组",
  10074. "type": "array",
  10075. "items": {
  10076. "$ref": "#/definitions/models.Tablecolumnconfig"
  10077. }
  10078. },
  10079. "remark": {
  10080. "description": "Remark",
  10081. "type": "string"
  10082. },
  10083. "tabelmenu": {
  10084. "description": "列表菜单",
  10085. "type": "string"
  10086. },
  10087. "tablekey": {
  10088. "description": "列表Key",
  10089. "type": "string"
  10090. },
  10091. "tablename": {
  10092. "description": "列表名称",
  10093. "type": "string"
  10094. },
  10095. "tabletype": {
  10096. "description": "列表类型 - 1:管理端 2:终端",
  10097. "type": "integer"
  10098. }
  10099. }
  10100. },
  10101. "common.QueryTraderMenuRsp": {
  10102. "type": "object",
  10103. "properties": {
  10104. "OperationMenu": {
  10105. "description": "功能菜单",
  10106. "type": "array",
  10107. "items": {
  10108. "$ref": "#/definitions/models.OperationPrimaryMenu"
  10109. }
  10110. },
  10111. "QuoteMenu": {
  10112. "description": "报价牌分类菜单",
  10113. "type": "array",
  10114. "items": {
  10115. "$ref": "#/definitions/models.QuotePrimaryMenu"
  10116. }
  10117. }
  10118. }
  10119. },
  10120. "cptrade.Cptradepositioncancel": {
  10121. "type": "object",
  10122. "required": [
  10123. "cancelid"
  10124. ],
  10125. "properties": {
  10126. "accountid": {
  10127. "description": "申请人账户ID",
  10128. "type": "integer"
  10129. },
  10130. "applystatus": {
  10131. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10132. "type": "integer"
  10133. },
  10134. "applytime": {
  10135. "description": "申请时间",
  10136. "type": "string"
  10137. },
  10138. "cancelid": {
  10139. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  10140. "type": "integer"
  10141. },
  10142. "cancelqty": {
  10143. "description": "注销数量",
  10144. "type": "integer"
  10145. },
  10146. "createtime": {
  10147. "description": "创建时间",
  10148. "type": "string"
  10149. },
  10150. "creatorid": {
  10151. "description": "创建人ID",
  10152. "type": "integer"
  10153. },
  10154. "creatorname": {
  10155. "description": "创建人",
  10156. "type": "string"
  10157. },
  10158. "goodscode": {
  10159. "description": "订单商品代码",
  10160. "type": "string"
  10161. },
  10162. "goodsid": {
  10163. "description": "商品ID",
  10164. "type": "integer"
  10165. },
  10166. "goodsname": {
  10167. "description": "订单商品名称",
  10168. "type": "string"
  10169. },
  10170. "goodunit": {
  10171. "description": "报价单位",
  10172. "type": "string"
  10173. },
  10174. "handlestatus": {
  10175. "description": "处理状态",
  10176. "type": "integer"
  10177. },
  10178. "marketid": {
  10179. "description": "市场ID",
  10180. "type": "integer"
  10181. },
  10182. "marketname": {
  10183. "description": "市场名称",
  10184. "type": "string"
  10185. },
  10186. "tradedate": {
  10187. "description": "交易日(yyyyMMdd)",
  10188. "type": "string"
  10189. },
  10190. "userid": {
  10191. "description": "申请人ID",
  10192. "type": "integer"
  10193. }
  10194. }
  10195. },
  10196. "cptrade.Cptradepresaleapply": {
  10197. "type": "object",
  10198. "required": [
  10199. "applyid"
  10200. ],
  10201. "properties": {
  10202. "accountid": {
  10203. "description": "申请人账户ID",
  10204. "type": "integer"
  10205. },
  10206. "applyid": {
  10207. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  10208. "type": "integer"
  10209. },
  10210. "applyremark": {
  10211. "description": "申请备注",
  10212. "type": "string"
  10213. },
  10214. "applystatus": {
  10215. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10216. "type": "integer"
  10217. },
  10218. "applytime": {
  10219. "description": "申请时间",
  10220. "type": "string"
  10221. },
  10222. "attachmenturl": {
  10223. "description": "附件地址",
  10224. "type": "string"
  10225. },
  10226. "endtime": {
  10227. "description": "预售结束时间",
  10228. "type": "string"
  10229. },
  10230. "goodscode": {
  10231. "description": "商品代码",
  10232. "type": "string"
  10233. },
  10234. "goodsid": {
  10235. "description": "商品ID",
  10236. "type": "integer"
  10237. },
  10238. "goodsname": {
  10239. "description": "商品名称",
  10240. "type": "string"
  10241. },
  10242. "goodunit": {
  10243. "description": "报价单位",
  10244. "type": "string"
  10245. },
  10246. "handlestatus": {
  10247. "description": "处理状态",
  10248. "type": "integer"
  10249. },
  10250. "marketid": {
  10251. "description": "预售市场ID",
  10252. "type": "integer"
  10253. },
  10254. "marketname": {
  10255. "description": "预售市场名称",
  10256. "type": "string"
  10257. },
  10258. "presaleqty": {
  10259. "description": "预售数量",
  10260. "type": "integer"
  10261. },
  10262. "relatedgoodscode": {
  10263. "description": "关联交易合约代码",
  10264. "type": "string"
  10265. },
  10266. "relatedgoodsid": {
  10267. "description": "关联交易合约ID",
  10268. "type": "integer"
  10269. },
  10270. "relatedgoodsname": {
  10271. "description": "关联交易合约名称",
  10272. "type": "string"
  10273. },
  10274. "starttime": {
  10275. "description": "预售开始时间",
  10276. "type": "string"
  10277. },
  10278. "tradedate": {
  10279. "description": "交易日(yyyyMMdd)",
  10280. "type": "string"
  10281. },
  10282. "trademode": {
  10283. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  10284. "type": "integer"
  10285. },
  10286. "userid": {
  10287. "description": "申请人ID",
  10288. "type": "integer"
  10289. }
  10290. }
  10291. },
  10292. "cptrade.Cptradeusergoodsdata": {
  10293. "type": "object",
  10294. "required": [
  10295. "accountid",
  10296. "goodsid"
  10297. ],
  10298. "properties": {
  10299. "EnabledQty": {
  10300. "description": "可用量",
  10301. "type": "integer"
  10302. },
  10303. "GoodsCode": {
  10304. "description": "订单商品代码",
  10305. "type": "string"
  10306. },
  10307. "GoodsName": {
  10308. "description": "订单商品名称",
  10309. "type": "string"
  10310. },
  10311. "WRStandardCode": {
  10312. "description": "仓单标准代码",
  10313. "type": "string"
  10314. },
  10315. "WRStandardName": {
  10316. "description": "仓单标准名称",
  10317. "type": "string"
  10318. },
  10319. "accountid": {
  10320. "description": "账户ID",
  10321. "type": "integer"
  10322. },
  10323. "cancelqty": {
  10324. "description": "注销量",
  10325. "type": "integer"
  10326. },
  10327. "curpresaleqty": {
  10328. "description": "当前预售量",
  10329. "type": "integer"
  10330. },
  10331. "deliveryqty": {
  10332. "description": "交割量",
  10333. "type": "integer"
  10334. },
  10335. "freezeamount": {
  10336. "description": "冻结金额",
  10337. "type": "number"
  10338. },
  10339. "goodsid": {
  10340. "description": "商品ID",
  10341. "type": "integer"
  10342. },
  10343. "goodunit": {
  10344. "description": "报价单位",
  10345. "type": "string"
  10346. },
  10347. "hasspotfreeze": {
  10348. "description": "是否有现货冻结 - 0:否 1:有",
  10349. "type": "integer"
  10350. },
  10351. "inqty": {
  10352. "description": "转入量(总数量)",
  10353. "type": "integer"
  10354. },
  10355. "marketid": {
  10356. "description": "市场ID",
  10357. "type": "integer"
  10358. },
  10359. "presaledamount": {
  10360. "description": "已预售总金额",
  10361. "type": "integer"
  10362. },
  10363. "presaledqty": {
  10364. "description": "已预售量",
  10365. "type": "integer"
  10366. },
  10367. "userid": {
  10368. "description": "用户ID",
  10369. "type": "integer"
  10370. },
  10371. "wrstandardid": {
  10372. "description": "仓单标准ID",
  10373. "type": "integer"
  10374. }
  10375. }
  10376. },
  10377. "cptrade.QueryCPTradeMyBidRsp": {
  10378. "type": "object",
  10379. "required": [
  10380. "accountid",
  10381. "goodsid",
  10382. "marketid",
  10383. "orderid",
  10384. "orderqty",
  10385. "ordertime",
  10386. "tradeprice",
  10387. "tradeqty"
  10388. ],
  10389. "properties": {
  10390. "accountid": {
  10391. "description": "账户ID[报价币种]",
  10392. "type": "integer"
  10393. },
  10394. "goodsid": {
  10395. "description": "商品ID",
  10396. "type": "integer"
  10397. },
  10398. "goodunit": {
  10399. "description": "报价单位",
  10400. "type": "string"
  10401. },
  10402. "marketid": {
  10403. "description": "市场ID",
  10404. "type": "integer"
  10405. },
  10406. "orderid": {
  10407. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10408. "type": "integer"
  10409. },
  10410. "orderprice": {
  10411. "description": "委托价格",
  10412. "type": "number"
  10413. },
  10414. "orderqty": {
  10415. "description": "委托数量",
  10416. "type": "integer"
  10417. },
  10418. "ordertime": {
  10419. "description": "委托时间",
  10420. "type": "string"
  10421. },
  10422. "ordertotalprice": {
  10423. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  10424. "type": "number"
  10425. },
  10426. "ordertotalweight": {
  10427. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  10428. "type": "integer"
  10429. },
  10430. "totaltotalprice": {
  10431. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  10432. "type": "number"
  10433. },
  10434. "tradeprice": {
  10435. "description": "成交价格",
  10436. "type": "number"
  10437. },
  10438. "tradeqty": {
  10439. "description": "成交数量",
  10440. "type": "integer"
  10441. }
  10442. }
  10443. },
  10444. "cptrade.QueryCPTradeOrderDetailRsq": {
  10445. "type": "object",
  10446. "required": [
  10447. "accountid",
  10448. "buildtype",
  10449. "buyorsell",
  10450. "goodsid",
  10451. "marketid",
  10452. "memberuserid",
  10453. "operatetype",
  10454. "orderqty",
  10455. "ordertime",
  10456. "pricemode",
  10457. "strorderid",
  10458. "tradedate",
  10459. "validtype"
  10460. ],
  10461. "properties": {
  10462. "accountid": {
  10463. "description": "账户ID[报价币种]",
  10464. "type": "integer"
  10465. },
  10466. "buildtype": {
  10467. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10468. "type": "integer"
  10469. },
  10470. "buyorsell": {
  10471. "description": "买卖 - 0:买 1:卖",
  10472. "type": "integer"
  10473. },
  10474. "cancelorderid": {
  10475. "description": "撤单单号(撤单时填写)",
  10476. "type": "integer"
  10477. },
  10478. "cancelqty": {
  10479. "description": "撤单数量",
  10480. "type": "integer"
  10481. },
  10482. "clientordertime": {
  10483. "description": "客户端委托时间",
  10484. "type": "string"
  10485. },
  10486. "clientticket": {
  10487. "description": "客户端流水号",
  10488. "type": "string"
  10489. },
  10490. "clienttype": {
  10491. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10492. "type": "integer"
  10493. },
  10494. "closeexchagechargevalue": {
  10495. "description": "平仓交易所手续费设置值",
  10496. "type": "number"
  10497. },
  10498. "closefeealgorithm": {
  10499. "description": "平仓手续费收取方式 1:比率 2:固定",
  10500. "type": "integer"
  10501. },
  10502. "closefreezecharge": {
  10503. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10504. "type": "number"
  10505. },
  10506. "closememberchargevalue": {
  10507. "description": "平仓会员手续费设置值",
  10508. "type": "number"
  10509. },
  10510. "closeqty": {
  10511. "description": "平仓数量(先建后平操作 需要记录)",
  10512. "type": "integer"
  10513. },
  10514. "closetradeqty": {
  10515. "description": "平仓成交数量(先建后平操作,需要记录)",
  10516. "type": "integer"
  10517. },
  10518. "closeunfreezecharge": {
  10519. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10520. "type": "number"
  10521. },
  10522. "delistingtype": {
  10523. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10524. "type": "integer"
  10525. },
  10526. "freezecharge": {
  10527. "description": "冻结手续费",
  10528. "type": "number"
  10529. },
  10530. "freezemargin": {
  10531. "description": "冻结保证金(冻结交易金额)",
  10532. "type": "number"
  10533. },
  10534. "gcaccountid": {
  10535. "description": "账户ID[合约币种]",
  10536. "type": "integer"
  10537. },
  10538. "goodsid": {
  10539. "description": "商品ID",
  10540. "type": "integer"
  10541. },
  10542. "isconfirmexercise": {
  10543. "description": "是否确认行权- 0:否 1:是",
  10544. "type": "integer"
  10545. },
  10546. "ispreexercise": {
  10547. "description": "是否预申报- 0:否 1:是",
  10548. "type": "integer"
  10549. },
  10550. "listingselecttype": {
  10551. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10552. "type": "integer"
  10553. },
  10554. "marginalgorithm": {
  10555. "description": "保证金收取方式 1:比率 2:固定",
  10556. "type": "integer"
  10557. },
  10558. "marginvalue": {
  10559. "description": "即市保证金设置值",
  10560. "type": "number"
  10561. },
  10562. "marketid": {
  10563. "description": "市场ID",
  10564. "type": "integer"
  10565. },
  10566. "marketmaxsub": {
  10567. "description": "市价最大偏移范围",
  10568. "type": "number"
  10569. },
  10570. "memberuserid": {
  10571. "description": "所属会员UserID",
  10572. "type": "integer"
  10573. },
  10574. "openexchagechargevalue": {
  10575. "description": "建仓交易所手续费设置值",
  10576. "type": "number"
  10577. },
  10578. "openfeealgorithm": {
  10579. "description": "建仓手续费收取方式 1:比率 2:固定",
  10580. "type": "integer"
  10581. },
  10582. "openfreezecharge": {
  10583. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10584. "type": "number"
  10585. },
  10586. "openmemberchargevalue": {
  10587. "description": "建仓会员手续费设置值",
  10588. "type": "number"
  10589. },
  10590. "openqty": {
  10591. "description": "开仓数量(先建后平操作,需要记录)",
  10592. "type": "integer"
  10593. },
  10594. "opentradeqty": {
  10595. "description": "开仓成交数量(先建后平操作,需要记录)",
  10596. "type": "integer"
  10597. },
  10598. "openunfreezecharge": {
  10599. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10600. "type": "number"
  10601. },
  10602. "operatetype": {
  10603. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10604. "type": "integer"
  10605. },
  10606. "operatorid": {
  10607. "description": "登录账号(LoginID)",
  10608. "type": "integer"
  10609. },
  10610. "optiontype": {
  10611. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10612. "type": "integer"
  10613. },
  10614. "orderprice": {
  10615. "description": "委托价格",
  10616. "type": "number"
  10617. },
  10618. "orderqty": {
  10619. "description": "委托数量",
  10620. "type": "integer"
  10621. },
  10622. "ordersrc": {
  10623. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10624. "type": "integer"
  10625. },
  10626. "orderstatus": {
  10627. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10628. "type": "integer"
  10629. },
  10630. "ordertime": {
  10631. "description": "委托时间",
  10632. "type": "string"
  10633. },
  10634. "preexerciseprice": {
  10635. "description": "预申报价格",
  10636. "type": "number"
  10637. },
  10638. "premium": {
  10639. "description": "权利金",
  10640. "type": "number"
  10641. },
  10642. "preorderid": {
  10643. "description": "关联预埋单号(止盈止损单时填写)",
  10644. "type": "integer"
  10645. },
  10646. "pricemode": {
  10647. "description": "取价方式 - 1:市价 2: 限价",
  10648. "type": "integer"
  10649. },
  10650. "quoteid": {
  10651. "description": "报价单ID",
  10652. "type": "integer"
  10653. },
  10654. "relatedid": {
  10655. "description": "关联单号(交割单)",
  10656. "type": "integer"
  10657. },
  10658. "retcode": {
  10659. "description": "错误代码",
  10660. "type": "integer"
  10661. },
  10662. "sessionid": {
  10663. "description": "会话ID",
  10664. "type": "integer"
  10665. },
  10666. "strorderid": {
  10667. "description": "委托单号",
  10668. "type": "string"
  10669. },
  10670. "tradedate": {
  10671. "description": "交易日(yyyyMMdd)",
  10672. "type": "string"
  10673. },
  10674. "tradeproperty": {
  10675. "description": "交易属性",
  10676. "type": "integer"
  10677. },
  10678. "tradeqty": {
  10679. "description": "成交数量",
  10680. "type": "integer"
  10681. },
  10682. "unfreezecharge": {
  10683. "description": "解冻手续费",
  10684. "type": "number"
  10685. },
  10686. "unfreezemargin": {
  10687. "description": "解冻保证金",
  10688. "type": "number"
  10689. },
  10690. "updatetime": {
  10691. "description": "更新时间",
  10692. "type": "string"
  10693. },
  10694. "uuid": {
  10695. "description": "发起端唯一id",
  10696. "type": "string"
  10697. },
  10698. "validtime": {
  10699. "description": "有效期限",
  10700. "type": "string"
  10701. },
  10702. "validtype": {
  10703. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10704. "type": "integer"
  10705. },
  10706. "volumetype": {
  10707. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10708. "type": "integer"
  10709. }
  10710. }
  10711. },
  10712. "cptrade.QueryMyCPTradeGoodsRsp": {
  10713. "type": "object",
  10714. "required": [
  10715. "goodscode",
  10716. "goodsid",
  10717. "goodsname",
  10718. "marketid",
  10719. "relatedgoodscode",
  10720. "relatedgoodsname"
  10721. ],
  10722. "properties": {
  10723. "accountid": {
  10724. "description": "卖方账户ID",
  10725. "type": "integer"
  10726. },
  10727. "agreeunit": {
  10728. "description": "合约单位",
  10729. "type": "number"
  10730. },
  10731. "applyid": {
  10732. "description": "关联申请ID",
  10733. "type": "integer"
  10734. },
  10735. "attachmenturl": {
  10736. "description": "附件地址",
  10737. "type": "string"
  10738. },
  10739. "createtime": {
  10740. "description": "创建时间",
  10741. "type": "string"
  10742. },
  10743. "currencyid": {
  10744. "description": "报价货币ID",
  10745. "type": "integer"
  10746. },
  10747. "decimalplace": {
  10748. "description": "报价小数位",
  10749. "type": "integer"
  10750. },
  10751. "endtime": {
  10752. "description": "预售结束时间",
  10753. "type": "string"
  10754. },
  10755. "floorprice": {
  10756. "description": "底价[大宗式竞拍]",
  10757. "type": "number"
  10758. },
  10759. "goodscode": {
  10760. "description": "商品代码(预售)",
  10761. "type": "string"
  10762. },
  10763. "goodsdetail": {
  10764. "description": "详情[大宗]",
  10765. "type": "string"
  10766. },
  10767. "goodsid": {
  10768. "description": "商品ID(自增ID SEQ_GOODS)",
  10769. "type": "integer"
  10770. },
  10771. "goodsname": {
  10772. "description": "商品名称(预售)",
  10773. "type": "string"
  10774. },
  10775. "goodunit": {
  10776. "description": "报价单位",
  10777. "type": "string"
  10778. },
  10779. "goodunitid": {
  10780. "description": "报价单位ID",
  10781. "type": "integer"
  10782. },
  10783. "marketid": {
  10784. "description": "所属市场ID",
  10785. "type": "integer"
  10786. },
  10787. "marketname": {
  10788. "description": "预售市场名称",
  10789. "type": "string"
  10790. },
  10791. "presaledamount": {
  10792. "description": "已预售总金额(预售结束时更新)",
  10793. "type": "number"
  10794. },
  10795. "presaledqty": {
  10796. "description": "已预售量(预售结束时更新)",
  10797. "type": "integer"
  10798. },
  10799. "presalemode": {
  10800. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10801. "type": "integer"
  10802. },
  10803. "presaleqty": {
  10804. "description": "预售数量",
  10805. "type": "integer"
  10806. },
  10807. "refprice": {
  10808. "description": "参考价格[一口价]",
  10809. "type": "number"
  10810. },
  10811. "relatedgoodscode": {
  10812. "description": "商品代码(订单)",
  10813. "type": "string"
  10814. },
  10815. "relatedgoodsid": {
  10816. "description": "关联交易合约ID",
  10817. "type": "integer"
  10818. },
  10819. "relatedgoodsname": {
  10820. "description": "商品名称(订单)",
  10821. "type": "string"
  10822. },
  10823. "relatedmarketid": {
  10824. "description": "关联交易合约市场ID",
  10825. "type": "integer"
  10826. },
  10827. "sellstatus": {
  10828. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10829. "type": "integer"
  10830. },
  10831. "startprice": {
  10832. "description": "起拍价[大宗式竞拍]",
  10833. "type": "number"
  10834. },
  10835. "starttime": {
  10836. "description": "预售开始时间",
  10837. "type": "string"
  10838. },
  10839. "tradedate": {
  10840. "description": "交易日(yyyyMMdd)",
  10841. "type": "string"
  10842. },
  10843. "tradeprice": {
  10844. "description": "成交价[大宗]",
  10845. "type": "number"
  10846. },
  10847. "userid": {
  10848. "description": "卖方用户ID",
  10849. "type": "integer"
  10850. }
  10851. }
  10852. },
  10853. "cptrade.QueryPresaleGoodsExRsp": {
  10854. "type": "object",
  10855. "required": [
  10856. "goodsid"
  10857. ],
  10858. "properties": {
  10859. "attachmenturl": {
  10860. "description": "附件地址",
  10861. "type": "string"
  10862. },
  10863. "createtime": {
  10864. "description": "创建时间",
  10865. "type": "string"
  10866. },
  10867. "endtime": {
  10868. "description": "预售结束时间",
  10869. "type": "string"
  10870. },
  10871. "floorprice": {
  10872. "description": "底价[大宗式竞拍]",
  10873. "type": "number"
  10874. },
  10875. "goodsdetail": {
  10876. "description": "详情[大宗]",
  10877. "type": "string"
  10878. },
  10879. "goodsid": {
  10880. "description": "商品ID(预售)",
  10881. "type": "integer"
  10882. },
  10883. "goodunit": {
  10884. "description": "报价单位",
  10885. "type": "string"
  10886. },
  10887. "marketid": {
  10888. "description": "预售市场ID - 根据预售模式选择市场",
  10889. "type": "integer"
  10890. },
  10891. "presaledamount": {
  10892. "description": "已预售总金额(预售结束时更新)",
  10893. "type": "number"
  10894. },
  10895. "presaledqty": {
  10896. "description": "已预售量(预售结束时更新)",
  10897. "type": "integer"
  10898. },
  10899. "presalemode": {
  10900. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10901. "type": "integer"
  10902. },
  10903. "presaleqty": {
  10904. "description": "预售数量",
  10905. "type": "integer"
  10906. },
  10907. "refprice": {
  10908. "description": "参考价格[一口价]",
  10909. "type": "number"
  10910. },
  10911. "relatedgoodsid": {
  10912. "description": "关联交易合约ID",
  10913. "type": "integer"
  10914. },
  10915. "relatedmarketid": {
  10916. "description": "关联交易合约市场ID",
  10917. "type": "integer"
  10918. },
  10919. "sellstatus": {
  10920. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10921. "type": "integer"
  10922. },
  10923. "startprice": {
  10924. "description": "起拍价[大宗式竞拍]",
  10925. "type": "number"
  10926. },
  10927. "starttime": {
  10928. "description": "预售开始时间",
  10929. "type": "string"
  10930. },
  10931. "tradedate": {
  10932. "description": "交易日(yyyyMMdd)",
  10933. "type": "string"
  10934. },
  10935. "tradeprice": {
  10936. "description": "成交价[大宗]",
  10937. "type": "number"
  10938. }
  10939. }
  10940. },
  10941. "delivery.QueryDeliveryRelationRsp": {
  10942. "type": "object",
  10943. "required": [
  10944. "begindate",
  10945. "enddate",
  10946. "goodsid",
  10947. "mindeliveryqty",
  10948. "xdeliveryratio"
  10949. ],
  10950. "properties": {
  10951. "begindate": {
  10952. "description": "起始日期(yyyyMMdd)",
  10953. "type": "string"
  10954. },
  10955. "buytemplateid": {
  10956. "description": "买履约计划模板ID",
  10957. "type": "integer"
  10958. },
  10959. "deliverygoodscode": {
  10960. "description": "品种代码",
  10961. "type": "string"
  10962. },
  10963. "deliverygoodsid": {
  10964. "description": "交割商品",
  10965. "type": "integer"
  10966. },
  10967. "deliverygoodsname": {
  10968. "description": "品种名称",
  10969. "type": "string"
  10970. },
  10971. "deliverymode": {
  10972. "description": "交割方式 - 1:点选式 2:申报式",
  10973. "type": "integer"
  10974. },
  10975. "deliverypricerule": {
  10976. "description": "交割价规则- 1:行情价 2:建仓价",
  10977. "type": "integer"
  10978. },
  10979. "deliverytype": {
  10980. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10981. "type": "integer"
  10982. },
  10983. "enddate": {
  10984. "description": "结束日期(yyyyMMdd)",
  10985. "type": "string"
  10986. },
  10987. "goodscode": {
  10988. "description": "商品代码",
  10989. "type": "string"
  10990. },
  10991. "goodsid": {
  10992. "description": "交易合约ID",
  10993. "type": "integer"
  10994. },
  10995. "goodsname": {
  10996. "description": "商品名称",
  10997. "type": "string"
  10998. },
  10999. "marketid": {
  11000. "description": "市场ID",
  11001. "type": "integer"
  11002. },
  11003. "mindeliveryqty": {
  11004. "description": "最小交割系数(K)",
  11005. "type": "integer"
  11006. },
  11007. "p2deliveryprice": {
  11008. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  11009. "type": "number"
  11010. },
  11011. "p2deliveryratio": {
  11012. "description": "P2合约系数(p)",
  11013. "type": "integer"
  11014. },
  11015. "p2goodsid": {
  11016. "description": "P2合约ID",
  11017. "type": "integer"
  11018. },
  11019. "p2pricemode": {
  11020. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  11021. "type": "integer"
  11022. },
  11023. "pdeliveryprice": {
  11024. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  11025. "type": "number"
  11026. },
  11027. "pdeliveryratio": {
  11028. "description": "P合约系数(n)",
  11029. "type": "integer"
  11030. },
  11031. "pgoodsid": {
  11032. "description": "P合约ID",
  11033. "type": "integer"
  11034. },
  11035. "ppricemode": {
  11036. "description": "P合约价格方式 - 1:商品价 2:固定值",
  11037. "type": "integer"
  11038. },
  11039. "rratio": {
  11040. "description": "兑换系数(R)",
  11041. "type": "integer"
  11042. },
  11043. "rratio1": {
  11044. "description": "兑换系数(交易合约)(R1)",
  11045. "type": "integer"
  11046. },
  11047. "rratio2": {
  11048. "description": "兑换系数(仓单标准)(R2)",
  11049. "type": "integer"
  11050. },
  11051. "selltemplateid": {
  11052. "description": "卖履约计划模板ID",
  11053. "type": "integer"
  11054. },
  11055. "wrstandardid": {
  11056. "description": "仓单标准ID",
  11057. "type": "integer"
  11058. },
  11059. "xdeliveryratio": {
  11060. "description": "交易合约系数(m)",
  11061. "type": "integer"
  11062. }
  11063. }
  11064. },
  11065. "ermcp.ExposureDetailRsp": {
  11066. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  11067. },
  11068. "ermcp.ExposureHedgePosDetailRsp": {
  11069. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  11070. },
  11071. "ermcp.ExposureHedgePositionRsp": {
  11072. "$ref": "#/definitions/models.ErmcpHedgePosition"
  11073. },
  11074. "ermcp.ExposureSpotDetailRsp": {
  11075. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  11076. },
  11077. "ermcp.ExposureSpotRsp": {
  11078. "$ref": "#/definitions/models.AreaSpotModel"
  11079. },
  11080. "ermcp.HisExposureRsp": {
  11081. "$ref": "#/definitions/models.ErmcpHisExposureS"
  11082. },
  11083. "ermcp.PendingAuditCntRsp": {
  11084. "$ref": "#/definitions/models.ErmcpPendingAudit"
  11085. },
  11086. "ermcp.QryAvalidGPRsp": {
  11087. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  11088. },
  11089. "ermcp.QryBusinessDjRsp": {
  11090. "type": "object",
  11091. "properties": {
  11092. "amount": {
  11093. "description": "点价金额=(点价价格+升贴水)*点价数量",
  11094. "type": "number"
  11095. },
  11096. "applyid": {
  11097. "description": "申请人",
  11098. "type": "string"
  11099. },
  11100. "applyname": {
  11101. "description": "申请人名称",
  11102. "type": "string"
  11103. },
  11104. "applystatus": {
  11105. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11106. "type": "integer"
  11107. },
  11108. "applytime": {
  11109. "description": "申请时间",
  11110. "type": "string"
  11111. },
  11112. "attachurl": {
  11113. "description": "附件",
  11114. "type": "string"
  11115. },
  11116. "auditid": {
  11117. "description": "审核人ID",
  11118. "type": "string"
  11119. },
  11120. "auditname": {
  11121. "description": "审核人名称",
  11122. "type": "string"
  11123. },
  11124. "audittime": {
  11125. "description": "审核时间",
  11126. "type": "string"
  11127. },
  11128. "buyusername": {
  11129. "description": "采购方名称",
  11130. "type": "string"
  11131. },
  11132. "contractno": {
  11133. "description": "合同编号",
  11134. "type": "string"
  11135. },
  11136. "contractstatus": {
  11137. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11138. "type": "integer"
  11139. },
  11140. "contracttype": {
  11141. "description": "现货合同类型 - 1:采购 -1:销售",
  11142. "type": "integer"
  11143. },
  11144. "deliverygoodscode": {
  11145. "description": "现货品种代码",
  11146. "type": "string"
  11147. },
  11148. "deliverygoodsid": {
  11149. "description": "现货商品ID",
  11150. "type": "integer"
  11151. },
  11152. "deliverygoodsname": {
  11153. "description": "现货品种名称",
  11154. "type": "string"
  11155. },
  11156. "enumdicname": {
  11157. "description": "单位名称",
  11158. "type": "string"
  11159. },
  11160. "goodscode": {
  11161. "description": "点价合约",
  11162. "type": "string"
  11163. },
  11164. "goodsname": {
  11165. "description": "商品名称",
  11166. "type": "string"
  11167. },
  11168. "operateapplyid": {
  11169. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11170. "type": "string"
  11171. },
  11172. "operateapplytype": {
  11173. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11174. "type": "integer"
  11175. },
  11176. "pricedPrice": {
  11177. "description": "点价价格(非必填)",
  11178. "type": "number"
  11179. },
  11180. "pricedQty": {
  11181. "description": "点价数量(非必填)",
  11182. "type": "number"
  11183. },
  11184. "pricemove": {
  11185. "description": "升贴水",
  11186. "type": "number"
  11187. },
  11188. "pricetype": {
  11189. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11190. "type": "integer"
  11191. },
  11192. "relatedid": {
  11193. "description": "现货合同ID",
  11194. "type": "string"
  11195. },
  11196. "sellusername": {
  11197. "description": "销售方名字",
  11198. "type": "string"
  11199. },
  11200. "userid": {
  11201. "description": "用户ID",
  11202. "type": "integer"
  11203. },
  11204. "wrstandardcode": {
  11205. "description": "品类代码",
  11206. "type": "string"
  11207. },
  11208. "wrstandardid": {
  11209. "description": "品类id",
  11210. "type": "integer"
  11211. },
  11212. "wrstandardname": {
  11213. "description": "品类名称",
  11214. "type": "string"
  11215. }
  11216. }
  11217. },
  11218. "ermcp.QryBussinessFpRsp": {
  11219. "type": "object",
  11220. "properties": {
  11221. "applyid": {
  11222. "description": "申请人",
  11223. "type": "string"
  11224. },
  11225. "applyname": {
  11226. "description": "申请人名称",
  11227. "type": "string"
  11228. },
  11229. "applystatus": {
  11230. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11231. "type": "integer"
  11232. },
  11233. "applytime": {
  11234. "description": "申请时间",
  11235. "type": "string"
  11236. },
  11237. "attachurl": {
  11238. "description": "附件",
  11239. "type": "string"
  11240. },
  11241. "auditid": {
  11242. "description": "审核人ID",
  11243. "type": "string"
  11244. },
  11245. "auditname": {
  11246. "description": "审核人名称",
  11247. "type": "string"
  11248. },
  11249. "audittime": {
  11250. "description": "审核时间",
  11251. "type": "string"
  11252. },
  11253. "buyusername": {
  11254. "description": "采购方名称",
  11255. "type": "string"
  11256. },
  11257. "contractno": {
  11258. "description": "合同编号",
  11259. "type": "string"
  11260. },
  11261. "contractstatus": {
  11262. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11263. "type": "integer"
  11264. },
  11265. "contracttype": {
  11266. "description": "现货合同类型 - 1:采购 -1:销售",
  11267. "type": "integer"
  11268. },
  11269. "deliverygoodscode": {
  11270. "description": "现货品种代码",
  11271. "type": "string"
  11272. },
  11273. "deliverygoodsid": {
  11274. "description": "现货商品ID",
  11275. "type": "integer"
  11276. },
  11277. "deliverygoodsname": {
  11278. "description": "现货品种名称",
  11279. "type": "string"
  11280. },
  11281. "enumdicname": {
  11282. "description": "单位名称",
  11283. "type": "string"
  11284. },
  11285. "goodscode": {
  11286. "description": "点价合约",
  11287. "type": "string"
  11288. },
  11289. "goodsname": {
  11290. "description": "商品名称",
  11291. "type": "string"
  11292. },
  11293. "invoiceAmount": {
  11294. "description": "已开收票金额(销售为开票,采购为收票)",
  11295. "type": "number"
  11296. },
  11297. "operateapplyid": {
  11298. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11299. "type": "string"
  11300. },
  11301. "operateapplytype": {
  11302. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11303. "type": "integer"
  11304. },
  11305. "pricemove": {
  11306. "description": "升贴水",
  11307. "type": "number"
  11308. },
  11309. "pricetype": {
  11310. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11311. "type": "integer"
  11312. },
  11313. "relatedid": {
  11314. "description": "现货合同ID",
  11315. "type": "string"
  11316. },
  11317. "sellusername": {
  11318. "description": "销售方名字",
  11319. "type": "string"
  11320. },
  11321. "userid": {
  11322. "description": "用户ID",
  11323. "type": "integer"
  11324. },
  11325. "wrstandardcode": {
  11326. "description": "品类代码",
  11327. "type": "string"
  11328. },
  11329. "wrstandardid": {
  11330. "description": "品类id",
  11331. "type": "integer"
  11332. },
  11333. "wrstandardname": {
  11334. "description": "品类名称",
  11335. "type": "string"
  11336. }
  11337. }
  11338. },
  11339. "ermcp.QryBussinessJsExRsp": {
  11340. "type": "object",
  11341. "properties": {
  11342. "applyid": {
  11343. "description": "申请人",
  11344. "type": "string"
  11345. },
  11346. "applyname": {
  11347. "description": "申请人名称",
  11348. "type": "string"
  11349. },
  11350. "applystatus": {
  11351. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11352. "type": "integer"
  11353. },
  11354. "applytime": {
  11355. "description": "申请时间",
  11356. "type": "string"
  11357. },
  11358. "attachurl": {
  11359. "description": "附件",
  11360. "type": "string"
  11361. },
  11362. "auditid": {
  11363. "description": "审核人ID",
  11364. "type": "string"
  11365. },
  11366. "auditname": {
  11367. "description": "审核人名称",
  11368. "type": "string"
  11369. },
  11370. "audittime": {
  11371. "description": "审核时间",
  11372. "type": "string"
  11373. },
  11374. "buyusername": {
  11375. "description": "采购方名称",
  11376. "type": "string"
  11377. },
  11378. "contractno": {
  11379. "description": "合同编号",
  11380. "type": "string"
  11381. },
  11382. "contractstatus": {
  11383. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11384. "type": "integer"
  11385. },
  11386. "contracttype": {
  11387. "description": "现货合同类型 - 1:采购 -1:销售",
  11388. "type": "integer"
  11389. },
  11390. "deliverygoodscode": {
  11391. "description": "现货品种代码",
  11392. "type": "string"
  11393. },
  11394. "deliverygoodsid": {
  11395. "description": "现货商品ID",
  11396. "type": "integer"
  11397. },
  11398. "deliverygoodsname": {
  11399. "description": "现货品种名称",
  11400. "type": "string"
  11401. },
  11402. "enumdicname": {
  11403. "description": "单位名称",
  11404. "type": "string"
  11405. },
  11406. "goodscode": {
  11407. "description": "点价合约",
  11408. "type": "string"
  11409. },
  11410. "goodsname": {
  11411. "description": "商品名称",
  11412. "type": "string"
  11413. },
  11414. "operateapplyid": {
  11415. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11416. "type": "string"
  11417. },
  11418. "operateapplytype": {
  11419. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11420. "type": "integer"
  11421. },
  11422. "pricemove": {
  11423. "description": "升贴水",
  11424. "type": "number"
  11425. },
  11426. "pricetype": {
  11427. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11428. "type": "integer"
  11429. },
  11430. "reckontype": {
  11431. "description": "结算类型",
  11432. "type": "string"
  11433. },
  11434. "reckonvalue": {
  11435. "description": "值",
  11436. "type": "number"
  11437. },
  11438. "relatedid": {
  11439. "description": "现货合同ID",
  11440. "type": "string"
  11441. },
  11442. "sellusername": {
  11443. "description": "销售方名字",
  11444. "type": "string"
  11445. },
  11446. "userid": {
  11447. "description": "用户ID",
  11448. "type": "integer"
  11449. },
  11450. "wrstandardcode": {
  11451. "description": "品类代码",
  11452. "type": "string"
  11453. },
  11454. "wrstandardid": {
  11455. "description": "品类id",
  11456. "type": "integer"
  11457. },
  11458. "wrstandardname": {
  11459. "description": "品类名称",
  11460. "type": "string"
  11461. }
  11462. }
  11463. },
  11464. "ermcp.QryBussinessJsRsp": {
  11465. "type": "object",
  11466. "properties": {
  11467. "addmargin": {
  11468. "description": "追加保证金(非必填)",
  11469. "type": "number"
  11470. },
  11471. "applyid": {
  11472. "description": "申请人",
  11473. "type": "string"
  11474. },
  11475. "applyname": {
  11476. "description": "申请人名称",
  11477. "type": "string"
  11478. },
  11479. "applystatus": {
  11480. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11481. "type": "integer"
  11482. },
  11483. "applytime": {
  11484. "description": "申请时间",
  11485. "type": "string"
  11486. },
  11487. "attachurl": {
  11488. "description": "附件",
  11489. "type": "string"
  11490. },
  11491. "auditid": {
  11492. "description": "审核人ID",
  11493. "type": "string"
  11494. },
  11495. "auditname": {
  11496. "description": "审核人名称",
  11497. "type": "string"
  11498. },
  11499. "audittime": {
  11500. "description": "审核时间",
  11501. "type": "string"
  11502. },
  11503. "buyusername": {
  11504. "description": "采购方名称",
  11505. "type": "string"
  11506. },
  11507. "contractno": {
  11508. "description": "合同编号",
  11509. "type": "string"
  11510. },
  11511. "contractstatus": {
  11512. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11513. "type": "integer"
  11514. },
  11515. "contracttype": {
  11516. "description": "现货合同类型 - 1:采购 -1:销售",
  11517. "type": "integer"
  11518. },
  11519. "decmargin": {
  11520. "description": "减少保证金(非必填)",
  11521. "type": "number"
  11522. },
  11523. "deliverygoodscode": {
  11524. "description": "现货品种代码",
  11525. "type": "string"
  11526. },
  11527. "deliverygoodsid": {
  11528. "description": "现货商品ID",
  11529. "type": "integer"
  11530. },
  11531. "deliverygoodsname": {
  11532. "description": "现货品种名称",
  11533. "type": "string"
  11534. },
  11535. "enumdicname": {
  11536. "description": "单位名称",
  11537. "type": "string"
  11538. },
  11539. "goodscode": {
  11540. "description": "点价合约",
  11541. "type": "string"
  11542. },
  11543. "goodsname": {
  11544. "description": "商品名称",
  11545. "type": "string"
  11546. },
  11547. "operateapplyid": {
  11548. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11549. "type": "string"
  11550. },
  11551. "operateapplytype": {
  11552. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11553. "type": "integer"
  11554. },
  11555. "pricemove": {
  11556. "description": "升贴水",
  11557. "type": "number"
  11558. },
  11559. "pricetype": {
  11560. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11561. "type": "integer"
  11562. },
  11563. "reckonadjustamount": {
  11564. "description": "结算调整金额(非必填)",
  11565. "type": "number"
  11566. },
  11567. "reckonosamount": {
  11568. "description": "结算溢短金额(非必填)",
  11569. "type": "number"
  11570. },
  11571. "reckonotheramount": {
  11572. "description": "结算其他费用(非必填)",
  11573. "type": "number"
  11574. },
  11575. "reckonrealqty": {
  11576. "description": "结算实际数量(非必填)",
  11577. "type": "number"
  11578. },
  11579. "relatedid": {
  11580. "description": "现货合同ID",
  11581. "type": "string"
  11582. },
  11583. "sellusername": {
  11584. "description": "销售方名字",
  11585. "type": "string"
  11586. },
  11587. "userid": {
  11588. "description": "用户ID",
  11589. "type": "integer"
  11590. },
  11591. "wrstandardcode": {
  11592. "description": "品类代码",
  11593. "type": "string"
  11594. },
  11595. "wrstandardid": {
  11596. "description": "品类id",
  11597. "type": "integer"
  11598. },
  11599. "wrstandardname": {
  11600. "description": "品类名称",
  11601. "type": "string"
  11602. }
  11603. }
  11604. },
  11605. "ermcp.QryBussinessKxRsp": {
  11606. "type": "object",
  11607. "properties": {
  11608. "applyid": {
  11609. "description": "申请人",
  11610. "type": "string"
  11611. },
  11612. "applyname": {
  11613. "description": "申请人名称",
  11614. "type": "string"
  11615. },
  11616. "applystatus": {
  11617. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11618. "type": "integer"
  11619. },
  11620. "applytime": {
  11621. "description": "申请时间",
  11622. "type": "string"
  11623. },
  11624. "attachurl": {
  11625. "description": "附件",
  11626. "type": "string"
  11627. },
  11628. "auditid": {
  11629. "description": "审核人ID",
  11630. "type": "string"
  11631. },
  11632. "auditname": {
  11633. "description": "审核人名称",
  11634. "type": "string"
  11635. },
  11636. "audittime": {
  11637. "description": "审核时间",
  11638. "type": "string"
  11639. },
  11640. "buyusername": {
  11641. "description": "采购方名称",
  11642. "type": "string"
  11643. },
  11644. "contractno": {
  11645. "description": "合同编号",
  11646. "type": "string"
  11647. },
  11648. "contractstatus": {
  11649. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11650. "type": "integer"
  11651. },
  11652. "contracttype": {
  11653. "description": "现货合同类型 - 1:采购 -1:销售",
  11654. "type": "integer"
  11655. },
  11656. "deductamount": {
  11657. "description": "退款(非必填)",
  11658. "type": "number"
  11659. },
  11660. "deliverygoodscode": {
  11661. "description": "现货品种代码",
  11662. "type": "string"
  11663. },
  11664. "deliverygoodsid": {
  11665. "description": "现货商品ID",
  11666. "type": "integer"
  11667. },
  11668. "deliverygoodsname": {
  11669. "description": "现货品种名称",
  11670. "type": "string"
  11671. },
  11672. "enumdicname": {
  11673. "description": "单位名称",
  11674. "type": "string"
  11675. },
  11676. "goodscode": {
  11677. "description": "点价合约",
  11678. "type": "string"
  11679. },
  11680. "goodsname": {
  11681. "description": "商品名称",
  11682. "type": "string"
  11683. },
  11684. "kxtype": {
  11685. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11686. "type": "integer"
  11687. },
  11688. "operateapplyid": {
  11689. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11690. "type": "string"
  11691. },
  11692. "operateapplytype": {
  11693. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11694. "type": "integer"
  11695. },
  11696. "payamount": {
  11697. "description": "收付款(非必填)",
  11698. "type": "number"
  11699. },
  11700. "pricemove": {
  11701. "description": "升贴水",
  11702. "type": "number"
  11703. },
  11704. "pricetype": {
  11705. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11706. "type": "integer"
  11707. },
  11708. "relatedid": {
  11709. "description": "现货合同ID",
  11710. "type": "string"
  11711. },
  11712. "sellusername": {
  11713. "description": "销售方名字",
  11714. "type": "string"
  11715. },
  11716. "userid": {
  11717. "description": "用户ID",
  11718. "type": "integer"
  11719. },
  11720. "wrstandardcode": {
  11721. "description": "品类代码",
  11722. "type": "string"
  11723. },
  11724. "wrstandardid": {
  11725. "description": "品类id",
  11726. "type": "integer"
  11727. },
  11728. "wrstandardname": {
  11729. "description": "品类名称",
  11730. "type": "string"
  11731. }
  11732. }
  11733. },
  11734. "ermcp.QryGGCovertCfgRsp": {
  11735. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11736. },
  11737. "ermcp.QryMGChangeLogRsp": {
  11738. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11739. },
  11740. "ermcp.QryMiddleGoodsDetailRsp": {
  11741. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11742. },
  11743. "ermcp.QryMiddleGoodsRsp": {
  11744. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11745. },
  11746. "ermcp.QryOPLogRsp": {
  11747. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11748. },
  11749. "ermcp.QryUserInfoRsp": {
  11750. "$ref": "#/definitions/models.ErmcpUserModel"
  11751. },
  11752. "ermcp.QryWarehouseRsp": {
  11753. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11754. },
  11755. "ermcp.QueryErmcpTradePositionRsp": {
  11756. "type": "object",
  11757. "properties": {
  11758. "agreeunit": {
  11759. "description": "合约单位",
  11760. "type": "number"
  11761. },
  11762. "buyorsell": {
  11763. "description": "方向 - 0:买 1:卖",
  11764. "type": "integer"
  11765. },
  11766. "curpositionqty": {
  11767. "description": "持仓(总仓数量, 期末头寸)",
  11768. "type": "integer"
  11769. },
  11770. "curtdposition": {
  11771. "description": "今仓数量(期末今日头寸)",
  11772. "type": "integer"
  11773. },
  11774. "curtdpositionenabled": {
  11775. "description": "今仓可用",
  11776. "type": "integer"
  11777. },
  11778. "decimalplace": {
  11779. "description": "报价小数位",
  11780. "type": "integer"
  11781. },
  11782. "enableqty": {
  11783. "description": "可用(总仓可用)",
  11784. "type": "integer"
  11785. },
  11786. "exexchangename": {
  11787. "description": "外部交易所名称",
  11788. "type": "string"
  11789. },
  11790. "goodscode": {
  11791. "description": "商品代码(内部)",
  11792. "type": "string"
  11793. },
  11794. "goodsid": {
  11795. "description": "商品ID(自增ID SEQ_GOODS)",
  11796. "type": "integer"
  11797. },
  11798. "goodsname": {
  11799. "description": "商品名称",
  11800. "type": "string"
  11801. },
  11802. "last": {
  11803. "description": "现价",
  11804. "type": "number"
  11805. },
  11806. "marketid": {
  11807. "description": "所属市场ID",
  11808. "type": "integer"
  11809. },
  11810. "openaverageprice": {
  11811. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11812. "type": "number"
  11813. },
  11814. "opencost": {
  11815. "description": "开仓成本",
  11816. "type": "number"
  11817. },
  11818. "openpl": {
  11819. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11820. "type": "number"
  11821. },
  11822. "outgoodscode": {
  11823. "description": "商品代码(外部)",
  11824. "type": "string"
  11825. },
  11826. "positionaverageprice": {
  11827. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11828. "type": "number"
  11829. },
  11830. "positioncost": {
  11831. "description": "持仓成本",
  11832. "type": "number"
  11833. },
  11834. "positionpl": {
  11835. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11836. "type": "number"
  11837. },
  11838. "positionplrate": {
  11839. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11840. "type": "number"
  11841. },
  11842. "usedmargin": {
  11843. "description": "占用保证金",
  11844. "type": "number"
  11845. }
  11846. }
  11847. },
  11848. "ermcp.RealtimeExposurePositionRsp": {
  11849. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11850. },
  11851. "ermcp.RealtimeExposureRsp": {
  11852. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11853. },
  11854. "erms2.QueryArbitrageStrategyRsp": {
  11855. "type": "object",
  11856. "required": [
  11857. "asapplyid"
  11858. ],
  11859. "properties": {
  11860. "applybasis": {
  11861. "description": "申请基差",
  11862. "type": "number"
  11863. },
  11864. "asapplyid": {
  11865. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11866. "type": "string"
  11867. },
  11868. "asname": {
  11869. "description": "策略名称",
  11870. "type": "string"
  11871. },
  11872. "asno": {
  11873. "description": "策略编号",
  11874. "type": "string"
  11875. },
  11876. "basischangepl": {
  11877. "description": "基差变动损益[结算更新]",
  11878. "type": "number"
  11879. },
  11880. "biztype": {
  11881. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11882. "type": "integer"
  11883. },
  11884. "closetradedate": {
  11885. "description": "完结交易日(yyyyMMdd)",
  11886. "type": "string"
  11887. },
  11888. "curbasis": {
  11889. "description": "当前基差[结算更新]",
  11890. "type": "number"
  11891. },
  11892. "deliverygoodsid": {
  11893. "description": "现货品种ID",
  11894. "type": "integer"
  11895. },
  11896. "futureavgprice": {
  11897. "description": "期货建仓均价",
  11898. "type": "number"
  11899. },
  11900. "futurecloseamount": {
  11901. "description": "期货平仓金额",
  11902. "type": "number"
  11903. },
  11904. "futurecloseqty": {
  11905. "description": "期货平仓数量",
  11906. "type": "number"
  11907. },
  11908. "futureopenamount": {
  11909. "description": "期货开仓金额",
  11910. "type": "number"
  11911. },
  11912. "futureopenqty": {
  11913. "description": "期货开仓数量",
  11914. "type": "number"
  11915. },
  11916. "futurepl": {
  11917. "description": "期货总盈亏[结算更新]",
  11918. "type": "number"
  11919. },
  11920. "futureqty": {
  11921. "description": "期货持仓数量",
  11922. "type": "number"
  11923. },
  11924. "futurequote": {
  11925. "description": "期货额度",
  11926. "type": "number"
  11927. },
  11928. "goodsgroupid": {
  11929. "description": "期货品种ID",
  11930. "type": "integer"
  11931. },
  11932. "marketid": {
  11933. "description": "市场ID",
  11934. "type": "integer"
  11935. },
  11936. "netexposure": {
  11937. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11938. "type": "number"
  11939. },
  11940. "netexposurepl": {
  11941. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11942. "type": "number"
  11943. },
  11944. "netexposurerate": {
  11945. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11946. "type": "number"
  11947. },
  11948. "openbasis": {
  11949. "description": "建仓基差",
  11950. "type": "number"
  11951. },
  11952. "pricedspotqty": {
  11953. "description": "已定价现货数量",
  11954. "type": "number"
  11955. },
  11956. "pricedspotqtynotax": {
  11957. "description": "已定价现货不含税数量",
  11958. "type": "number"
  11959. },
  11960. "remark": {
  11961. "description": "备注",
  11962. "type": "string"
  11963. },
  11964. "spotavgprice": {
  11965. "description": "现货均价",
  11966. "type": "number"
  11967. },
  11968. "spotbuyamount": {
  11969. "description": "现货采购金额",
  11970. "type": "number"
  11971. },
  11972. "spotbuyqty": {
  11973. "description": "现货采购数量",
  11974. "type": "number"
  11975. },
  11976. "spotpl": {
  11977. "description": "现货总盈亏[结算更新]",
  11978. "type": "number"
  11979. },
  11980. "spotquota": {
  11981. "description": "现货额度",
  11982. "type": "number"
  11983. },
  11984. "spotsellamount": {
  11985. "description": "现货销售金额",
  11986. "type": "number"
  11987. },
  11988. "spotsellqty": {
  11989. "description": "现货销售数量",
  11990. "type": "number"
  11991. },
  11992. "spotusedquota": {
  11993. "description": "现货占用资金",
  11994. "type": "number"
  11995. },
  11996. "strategystatus": {
  11997. "description": "策略状态 - 0:未结束 1:已结束",
  11998. "type": "integer"
  11999. },
  12000. "totalpl": {
  12001. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12002. "type": "number"
  12003. },
  12004. "tradedate": {
  12005. "description": "交易日(yyyyMMdd)",
  12006. "type": "string"
  12007. },
  12008. "updatetime": {
  12009. "description": "更新时间",
  12010. "type": "string"
  12011. },
  12012. "usedquota": {
  12013. "description": "已占用资金",
  12014. "type": "number"
  12015. },
  12016. "userid": {
  12017. "description": "所属机构",
  12018. "type": "integer"
  12019. }
  12020. }
  12021. },
  12022. "erms2.QueryInnerTradeDetailRsp": {
  12023. "type": "object",
  12024. "required": [
  12025. "asapplyid",
  12026. "buyorsell",
  12027. "goodscode",
  12028. "goodsgroupid",
  12029. "goodsgroupname",
  12030. "goodsname",
  12031. "tradeid"
  12032. ],
  12033. "properties": {
  12034. "accountid": {
  12035. "description": "账号ID",
  12036. "type": "integer"
  12037. },
  12038. "agreeunit": {
  12039. "description": "合约单位",
  12040. "type": "number"
  12041. },
  12042. "asapplyid": {
  12043. "description": "策略申请ID",
  12044. "type": "integer"
  12045. },
  12046. "asname": {
  12047. "description": "策略名称",
  12048. "type": "string"
  12049. },
  12050. "asno": {
  12051. "description": "策略编号",
  12052. "type": "string"
  12053. },
  12054. "buyorsell": {
  12055. "description": "方向 - 0:买 1:卖",
  12056. "type": "integer"
  12057. },
  12058. "channelbuildtype": {
  12059. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  12060. "type": "integer"
  12061. },
  12062. "closetype": {
  12063. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  12064. "type": "integer"
  12065. },
  12066. "decimalplace": {
  12067. "description": "报价小数位",
  12068. "type": "integer"
  12069. },
  12070. "detailtype": {
  12071. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  12072. "type": "integer"
  12073. },
  12074. "exexchangecode": {
  12075. "description": "外部交易所代码",
  12076. "type": "string"
  12077. },
  12078. "exexchangename": {
  12079. "description": "外部交易所名称",
  12080. "type": "string"
  12081. },
  12082. "goodscode": {
  12083. "description": "商品代码(合约)",
  12084. "type": "string"
  12085. },
  12086. "goodsgroupid": {
  12087. "description": "商品组ID(品种ID)",
  12088. "type": "integer"
  12089. },
  12090. "goodsgroupname": {
  12091. "description": "商品组名称(品种)",
  12092. "type": "string"
  12093. },
  12094. "goodsid": {
  12095. "description": "商品ID",
  12096. "type": "integer"
  12097. },
  12098. "goodsname": {
  12099. "description": "商品名称(合约)",
  12100. "type": "string"
  12101. },
  12102. "goodunit": {
  12103. "description": "报价单位",
  12104. "type": "string"
  12105. },
  12106. "marketid": {
  12107. "description": "市场ID",
  12108. "type": "integer"
  12109. },
  12110. "orderid": {
  12111. "description": "委托单号",
  12112. "type": "string"
  12113. },
  12114. "outgoodscode": {
  12115. "description": "商品代码(外部)",
  12116. "type": "string"
  12117. },
  12118. "relatedouttradeid": {
  12119. "description": "关联外部成交单ID",
  12120. "type": "string"
  12121. },
  12122. "remark": {
  12123. "description": "备注",
  12124. "type": "string"
  12125. },
  12126. "spotcontractid": {
  12127. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12128. "type": "integer"
  12129. },
  12130. "spotcontractno": {
  12131. "description": "现货合同编号",
  12132. "type": "string"
  12133. },
  12134. "tradeid": {
  12135. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12136. "type": "string"
  12137. },
  12138. "tradeprice": {
  12139. "description": "成交价格",
  12140. "type": "number"
  12141. },
  12142. "tradeqty": {
  12143. "description": "成交数量",
  12144. "type": "integer"
  12145. },
  12146. "tradetime": {
  12147. "description": "成交时间",
  12148. "type": "string"
  12149. },
  12150. "updatetime": {
  12151. "description": "更新时间",
  12152. "type": "string"
  12153. }
  12154. }
  12155. },
  12156. "erms2.QuerySpotContractRsp": {
  12157. "type": "object",
  12158. "required": [
  12159. "spotcontractid"
  12160. ],
  12161. "properties": {
  12162. "accountid": {
  12163. "description": "资金账户ID",
  12164. "type": "integer"
  12165. },
  12166. "areauserid": {
  12167. "description": "所属机构",
  12168. "type": "integer"
  12169. },
  12170. "closedate": {
  12171. "description": "终止日期",
  12172. "type": "string"
  12173. },
  12174. "closeremark": {
  12175. "description": "结束备注",
  12176. "type": "string"
  12177. },
  12178. "closetradedate": {
  12179. "description": "完结交易日(yyyyMMdd)",
  12180. "type": "string"
  12181. },
  12182. "closetype": {
  12183. "description": "终止类型 - 1:违约 2:提前终止",
  12184. "type": "integer"
  12185. },
  12186. "contractamount": {
  12187. "description": "合同金额",
  12188. "type": "number"
  12189. },
  12190. "contractattachment": {
  12191. "description": "合同附件",
  12192. "type": "string"
  12193. },
  12194. "contractno": {
  12195. "description": "现货合同编号",
  12196. "type": "string"
  12197. },
  12198. "contractqty": {
  12199. "description": "合同数量(数值) (用于计算)",
  12200. "type": "number"
  12201. },
  12202. "contractqtychar": {
  12203. "description": "合同数量\\已订价数量 (用于显示)",
  12204. "type": "string"
  12205. },
  12206. "contractstatus": {
  12207. "description": "合同状态 - 0:未结束 1:已结束",
  12208. "type": "integer"
  12209. },
  12210. "contracttype": {
  12211. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  12212. "type": "integer"
  12213. },
  12214. "customeraccountid": {
  12215. "description": "客户资金账户ID",
  12216. "type": "integer"
  12217. },
  12218. "customeruserid": {
  12219. "description": "客户ID",
  12220. "type": "integer"
  12221. },
  12222. "deliverygoodsdesc": {
  12223. "description": "品种说明",
  12224. "type": "string"
  12225. },
  12226. "deliverygoodsid": {
  12227. "description": "现货品种ID",
  12228. "type": "integer"
  12229. },
  12230. "handlestatus": {
  12231. "description": "处理状态",
  12232. "type": "integer"
  12233. },
  12234. "invoiceatt": {
  12235. "description": "发票附件",
  12236. "type": "string"
  12237. },
  12238. "invoicedatetime": {
  12239. "description": "开收票更新时间",
  12240. "type": "string"
  12241. },
  12242. "invoiceopentime": {
  12243. "description": "开票时间",
  12244. "type": "string"
  12245. },
  12246. "invoiceremark": {
  12247. "description": "发票备注",
  12248. "type": "string"
  12249. },
  12250. "invoicestatus": {
  12251. "description": "开收票状态 - 0:未开票 1:已开票",
  12252. "type": "integer"
  12253. },
  12254. "lastdate": {
  12255. "description": "交货时间",
  12256. "type": "string"
  12257. },
  12258. "marketid": {
  12259. "description": "市场ID",
  12260. "type": "integer"
  12261. },
  12262. "paydatetime": {
  12263. "description": "收付款更新时间",
  12264. "type": "string"
  12265. },
  12266. "payremark": {
  12267. "description": "收付款备注",
  12268. "type": "string"
  12269. },
  12270. "paystatus": {
  12271. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  12272. "type": "integer"
  12273. },
  12274. "positionqty": {
  12275. "description": "头寸数量 - 合同数量去小数部分",
  12276. "type": "integer"
  12277. },
  12278. "producttype": {
  12279. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12280. "type": "integer"
  12281. },
  12282. "relatedqty": {
  12283. "description": "已关联数量",
  12284. "type": "number"
  12285. },
  12286. "relatedstatus": {
  12287. "description": "关联完结状态 - 0:未结束 1:已结束",
  12288. "type": "integer"
  12289. },
  12290. "remark": {
  12291. "description": "备注",
  12292. "type": "string"
  12293. },
  12294. "signdate": {
  12295. "description": "签订日期",
  12296. "type": "string"
  12297. },
  12298. "spotcontractid": {
  12299. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  12300. "type": "string"
  12301. },
  12302. "spotdatetime": {
  12303. "description": "收发货更新时间",
  12304. "type": "string"
  12305. },
  12306. "spotprice": {
  12307. "description": "价格",
  12308. "type": "number"
  12309. },
  12310. "spotremark": {
  12311. "description": "收发货备注",
  12312. "type": "string"
  12313. },
  12314. "spotstatus": {
  12315. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  12316. "type": "integer"
  12317. },
  12318. "tradedate": {
  12319. "description": "交易日(yyyyMMdd)",
  12320. "type": "string"
  12321. },
  12322. "userid": {
  12323. "description": "业务员用户ID",
  12324. "type": "integer"
  12325. },
  12326. "warehouseid": {
  12327. "description": "仓库ID",
  12328. "type": "integer"
  12329. },
  12330. "wrfactortypeid": {
  12331. "description": "仓单要素类型ID",
  12332. "type": "integer"
  12333. },
  12334. "wrstandardid": {
  12335. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12336. "type": "integer"
  12337. }
  12338. }
  12339. },
  12340. "erms3.AddErms2ASApplyReq": {
  12341. "type": "object",
  12342. "required": [
  12343. "asapplyid"
  12344. ],
  12345. "properties": {
  12346. "applybasis": {
  12347. "description": "申请基差",
  12348. "type": "number"
  12349. },
  12350. "applystatus": {
  12351. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12352. "type": "integer"
  12353. },
  12354. "asapplyid": {
  12355. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12356. "type": "integer"
  12357. },
  12358. "asname": {
  12359. "description": "策略名称",
  12360. "type": "string"
  12361. },
  12362. "asno": {
  12363. "description": "策略编号",
  12364. "type": "string"
  12365. },
  12366. "auditid": {
  12367. "description": "审核人",
  12368. "type": "integer"
  12369. },
  12370. "auditremark": {
  12371. "description": "审核备注",
  12372. "type": "string"
  12373. },
  12374. "audittime": {
  12375. "description": "审核时间",
  12376. "type": "string"
  12377. },
  12378. "biztype": {
  12379. "description": "业务类型 - 1:正向套利 2:反向套利",
  12380. "type": "integer"
  12381. },
  12382. "createtime": {
  12383. "description": "创建时间",
  12384. "type": "string"
  12385. },
  12386. "creatorid": {
  12387. "description": "创建人",
  12388. "type": "integer"
  12389. },
  12390. "deliverygoodsid": {
  12391. "description": "现货品种ID",
  12392. "type": "integer"
  12393. },
  12394. "futurequote": {
  12395. "description": "期货额度",
  12396. "type": "number"
  12397. },
  12398. "goodsgroupid": {
  12399. "description": "期货品种ID",
  12400. "type": "integer"
  12401. },
  12402. "marketid": {
  12403. "description": "市场ID",
  12404. "type": "integer"
  12405. },
  12406. "remark": {
  12407. "description": "备注",
  12408. "type": "string"
  12409. },
  12410. "spotquota": {
  12411. "description": "现货额度",
  12412. "type": "number"
  12413. },
  12414. "tradedate": {
  12415. "description": "交易日(yyyyMMdd)",
  12416. "type": "string"
  12417. },
  12418. "userid": {
  12419. "description": "所属机构",
  12420. "type": "integer"
  12421. }
  12422. }
  12423. },
  12424. "erms3.AddErms2SpotTradeApplyReq": {
  12425. "type": "object",
  12426. "required": [
  12427. "spottradeid"
  12428. ],
  12429. "properties": {
  12430. "applyjsondetail": {
  12431. "description": "申请明细(JSON)",
  12432. "type": "string"
  12433. },
  12434. "applystatus": {
  12435. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12436. "type": "integer"
  12437. },
  12438. "areauserid": {
  12439. "description": "所属机构",
  12440. "type": "integer"
  12441. },
  12442. "auditid": {
  12443. "description": "审核人",
  12444. "type": "integer"
  12445. },
  12446. "auditremark": {
  12447. "description": "审核备注",
  12448. "type": "string"
  12449. },
  12450. "audittime": {
  12451. "description": "审核时间",
  12452. "type": "string"
  12453. },
  12454. "createtime": {
  12455. "description": "创建时间",
  12456. "type": "string"
  12457. },
  12458. "creatorid": {
  12459. "description": "创建人",
  12460. "type": "integer"
  12461. },
  12462. "deliverygoodsid": {
  12463. "description": "现货品种ID",
  12464. "type": "integer"
  12465. },
  12466. "futureaccountid": {
  12467. "description": "期货资金账户",
  12468. "type": "integer"
  12469. },
  12470. "goodsgroupid": {
  12471. "description": "期货品种",
  12472. "type": "integer"
  12473. },
  12474. "marketid": {
  12475. "description": "市场ID",
  12476. "type": "integer"
  12477. },
  12478. "remark": {
  12479. "description": "备注",
  12480. "type": "string"
  12481. },
  12482. "spotaccountid": {
  12483. "description": "现货资金账户",
  12484. "type": "integer"
  12485. },
  12486. "spottradeid": {
  12487. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  12488. "type": "integer"
  12489. },
  12490. "spottradename": {
  12491. "description": "业务名称",
  12492. "type": "string"
  12493. },
  12494. "spottradeno": {
  12495. "description": "业务编号",
  12496. "type": "string"
  12497. },
  12498. "tradedate": {
  12499. "description": "交易日(yyyyMMdd)",
  12500. "type": "string"
  12501. },
  12502. "wrstandardid": {
  12503. "description": "仓单标准ID",
  12504. "type": "integer"
  12505. }
  12506. }
  12507. },
  12508. "erms3.AddSpotContractApplyReq": {
  12509. "type": "object",
  12510. "required": [
  12511. "accountid",
  12512. "areauserid",
  12513. "contractno",
  12514. "contracttype",
  12515. "customeraccountid",
  12516. "customeruserid",
  12517. "details",
  12518. "orimargin",
  12519. "signdate"
  12520. ],
  12521. "properties": {
  12522. "accountid": {
  12523. "description": "资金账户ID",
  12524. "type": "integer"
  12525. },
  12526. "areauserid": {
  12527. "description": "所属机构",
  12528. "type": "integer"
  12529. },
  12530. "contractattachment": {
  12531. "description": "合同附件",
  12532. "type": "string"
  12533. },
  12534. "contractno": {
  12535. "description": "现货合同编号",
  12536. "type": "string"
  12537. },
  12538. "contracttype": {
  12539. "description": "现货合同类型 - 1:采购 -1:销售",
  12540. "type": "integer"
  12541. },
  12542. "creatorid": {
  12543. "description": "申请人",
  12544. "type": "integer"
  12545. },
  12546. "customeraccountid": {
  12547. "description": "客户资金账户ID",
  12548. "type": "integer"
  12549. },
  12550. "customeruserid": {
  12551. "description": "客户ID",
  12552. "type": "integer"
  12553. },
  12554. "details": {
  12555. "description": "明细",
  12556. "type": "array",
  12557. "items": {
  12558. "$ref": "#/definitions/erms3.SoptContractDetail"
  12559. }
  12560. },
  12561. "orimargin": {
  12562. "description": "初始保证金",
  12563. "type": "number"
  12564. },
  12565. "remark": {
  12566. "description": "备注",
  12567. "type": "string"
  12568. },
  12569. "signdate": {
  12570. "description": "签订日期",
  12571. "type": "string"
  12572. }
  12573. }
  12574. },
  12575. "erms3.AddSpotContractApplyRsp": {
  12576. "type": "object",
  12577. "required": [
  12578. "contractno"
  12579. ],
  12580. "properties": {
  12581. "contractno": {
  12582. "description": "现货合同编号",
  12583. "type": "string"
  12584. },
  12585. "spotcontractid": {
  12586. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12587. "type": "integer"
  12588. }
  12589. }
  12590. },
  12591. "erms3.AddUserInfoApplyReq": {
  12592. "type": "object",
  12593. "required": [
  12594. "userid"
  12595. ],
  12596. "properties": {
  12597. "accountid": {
  12598. "description": "交易系统帐号Id (加密存储)",
  12599. "type": "integer"
  12600. },
  12601. "areacode": {
  12602. "description": "机构代码",
  12603. "type": "string"
  12604. },
  12605. "areaid": {
  12606. "description": "机构Id",
  12607. "type": "integer"
  12608. },
  12609. "attachment1": {
  12610. "description": "附件1",
  12611. "type": "string"
  12612. },
  12613. "attachment2": {
  12614. "description": "附件2",
  12615. "type": "string"
  12616. },
  12617. "attachment3": {
  12618. "description": "附件3",
  12619. "type": "string"
  12620. },
  12621. "attachment4": {
  12622. "description": "附件4",
  12623. "type": "string"
  12624. },
  12625. "attachment5": {
  12626. "description": "附件5",
  12627. "type": "string"
  12628. },
  12629. "auditedby": {
  12630. "description": "审核人",
  12631. "type": "string"
  12632. },
  12633. "auditime": {
  12634. "description": "审核时间",
  12635. "type": "string"
  12636. },
  12637. "auditsrc": {
  12638. "description": "审核来源 - 1:管理端 2:终端",
  12639. "type": "integer"
  12640. },
  12641. "bankaccount": {
  12642. "description": "银行帐号 (加密存储)",
  12643. "type": "string"
  12644. },
  12645. "bankaccountname": {
  12646. "description": "收款人名称",
  12647. "type": "string"
  12648. },
  12649. "bankcardbackphotourl": {
  12650. "description": "银行卡背面照地址",
  12651. "type": "string"
  12652. },
  12653. "bankcardfrontphotourl": {
  12654. "description": "银行卡正面照地址",
  12655. "type": "string"
  12656. },
  12657. "bankid": {
  12658. "description": "银行编码",
  12659. "type": "string"
  12660. },
  12661. "bankname": {
  12662. "description": "银行名称",
  12663. "type": "string"
  12664. },
  12665. "bankpictureurl": {
  12666. "description": "银行卡正面地址",
  12667. "type": "string"
  12668. },
  12669. "biznature": {
  12670. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12671. "type": "integer"
  12672. },
  12673. "bizscope": {
  12674. "description": "企业经营范围(企业)",
  12675. "type": "string"
  12676. },
  12677. "biztype": {
  12678. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12679. "type": "integer"
  12680. },
  12681. "brokerid": {
  12682. "description": "经纪人ID(加密存储)",
  12683. "type": "string"
  12684. },
  12685. "cardaddress": {
  12686. "description": "证件地址 (加密存储)",
  12687. "type": "string"
  12688. },
  12689. "cardbackphotourl": {
  12690. "description": "背面证件照地址",
  12691. "type": "string"
  12692. },
  12693. "cardfrontphotourl": {
  12694. "description": "正面证件照地址",
  12695. "type": "string"
  12696. },
  12697. "cardnum": {
  12698. "description": "证件号码 (加密存储)",
  12699. "type": "string"
  12700. },
  12701. "cardtype": {
  12702. "description": "证件类型",
  12703. "type": "integer"
  12704. },
  12705. "cityid": {
  12706. "description": "市",
  12707. "type": "integer"
  12708. },
  12709. "company": {
  12710. "description": "公司(个人)",
  12711. "type": "string"
  12712. },
  12713. "contactcardbackphotourl": {
  12714. "description": "联系人证件背面图片地址",
  12715. "type": "string"
  12716. },
  12717. "contactcardfrontphotourl": {
  12718. "description": "联系人证件正面图片地址",
  12719. "type": "string"
  12720. },
  12721. "contactname": {
  12722. "description": "联系人",
  12723. "type": "string"
  12724. },
  12725. "countryid": {
  12726. "description": "国家",
  12727. "type": "integer"
  12728. },
  12729. "createtime": {
  12730. "description": "开户申请时间",
  12731. "type": "string"
  12732. },
  12733. "cusbankid": {
  12734. "description": "签约类型",
  12735. "type": "string"
  12736. },
  12737. "cusbankname": {
  12738. "description": "签约类型名称",
  12739. "type": "string"
  12740. },
  12741. "customername": {
  12742. "description": "客户名称(企业名称)",
  12743. "type": "string"
  12744. },
  12745. "districtid": {
  12746. "description": "地区",
  12747. "type": "integer"
  12748. },
  12749. "email": {
  12750. "description": "Email地址(加密存储)",
  12751. "type": "string"
  12752. },
  12753. "halfbodyphotourl": {
  12754. "description": "半身照地址",
  12755. "type": "string"
  12756. },
  12757. "headurl": {
  12758. "description": "头像地址",
  12759. "type": "string"
  12760. },
  12761. "ipaddress": {
  12762. "description": "IP地址",
  12763. "type": "string"
  12764. },
  12765. "isvalidate": {
  12766. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12767. "type": "string"
  12768. },
  12769. "legalcardbackphotourl": {
  12770. "description": "法人身份证背面照地址",
  12771. "type": "string"
  12772. },
  12773. "legalcardfrontphotourl": {
  12774. "description": "法人身份证正面照地址",
  12775. "type": "string"
  12776. },
  12777. "legalpersonname": {
  12778. "description": "法人姓名(企业)",
  12779. "type": "string"
  12780. },
  12781. "logincode": {
  12782. "description": "登录帐号 (加密存储)",
  12783. "type": "string"
  12784. },
  12785. "memberareaid": {
  12786. "description": "所属会员ID",
  12787. "type": "integer"
  12788. },
  12789. "mobile2": {
  12790. "description": "手机号码[明文-尚志]",
  12791. "type": "string"
  12792. },
  12793. "mobilephone": {
  12794. "description": "手机号码 (加密存储)",
  12795. "type": "string"
  12796. },
  12797. "modifiedby": {
  12798. "description": "修改人帐号",
  12799. "type": "integer"
  12800. },
  12801. "modifiedtime": {
  12802. "description": "修改时间",
  12803. "type": "string"
  12804. },
  12805. "nickname": {
  12806. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12807. "type": "string"
  12808. },
  12809. "openmode": {
  12810. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12811. "type": "integer"
  12812. },
  12813. "otherurl": {
  12814. "description": "其它图片地址[使用分号分隔]",
  12815. "type": "string"
  12816. },
  12817. "postalcode": {
  12818. "description": "邮政编码",
  12819. "type": "string"
  12820. },
  12821. "provinceid": {
  12822. "description": "省",
  12823. "type": "integer"
  12824. },
  12825. "proxystatementurl": {
  12826. "description": "授权委托书",
  12827. "type": "string"
  12828. },
  12829. "qq": {
  12830. "description": "QQ(加密存储",
  12831. "type": "string"
  12832. },
  12833. "referral": {
  12834. "description": "推荐人编码",
  12835. "type": "string"
  12836. },
  12837. "remark": {
  12838. "description": "备注",
  12839. "type": "string"
  12840. },
  12841. "removebeforestatus": {
  12842. "description": "REMOVEBEFORESTATUS",
  12843. "type": "integer"
  12844. },
  12845. "sex": {
  12846. "description": "性别 - 0:女 1:男",
  12847. "type": "integer"
  12848. },
  12849. "signedstatus": {
  12850. "description": "账户一号签签约状态",
  12851. "type": "integer"
  12852. },
  12853. "signpdfurl": {
  12854. "description": "签约pdf文件",
  12855. "type": "string"
  12856. },
  12857. "subbranch": {
  12858. "description": "开户支行",
  12859. "type": "string"
  12860. },
  12861. "taxpayernum": {
  12862. "description": "纳税人识别号",
  12863. "type": "string"
  12864. },
  12865. "telphone": {
  12866. "description": "联系电话(加密存储)",
  12867. "type": "string"
  12868. },
  12869. "userid": {
  12870. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12871. "type": "integer"
  12872. },
  12873. "userinfotype": {
  12874. "description": "用户信息类型 - 1:个人 2:企业",
  12875. "type": "integer"
  12876. },
  12877. "username": {
  12878. "description": "用户姓名",
  12879. "type": "string"
  12880. },
  12881. "userstate": {
  12882. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12883. "type": "integer"
  12884. },
  12885. "usertype": {
  12886. "description": "用户类型 - 1:投资者 2:机构",
  12887. "type": "integer"
  12888. },
  12889. "videourl": {
  12890. "description": "视频地址",
  12891. "type": "string"
  12892. },
  12893. "wechat": {
  12894. "description": "微信号 (加密存储)",
  12895. "type": "string"
  12896. }
  12897. }
  12898. },
  12899. "erms3.CustomerInfo": {
  12900. "type": "object",
  12901. "required": [
  12902. "userid"
  12903. ],
  12904. "properties": {
  12905. "accountids": {
  12906. "description": "资金账户ID列表",
  12907. "type": "array",
  12908. "items": {
  12909. "type": "integer"
  12910. }
  12911. },
  12912. "customername": {
  12913. "description": "名称(企业名称)",
  12914. "type": "string"
  12915. },
  12916. "mobile": {
  12917. "description": "手机号码",
  12918. "type": "string"
  12919. },
  12920. "userid": {
  12921. "description": "用户ID",
  12922. "type": "integer"
  12923. }
  12924. }
  12925. },
  12926. "erms3.ModifyUserInfoApplyReq": {
  12927. "type": "object",
  12928. "required": [
  12929. "userid"
  12930. ],
  12931. "properties": {
  12932. "accountid": {
  12933. "description": "交易系统帐号Id (加密存储)",
  12934. "type": "integer"
  12935. },
  12936. "areacode": {
  12937. "description": "机构代码",
  12938. "type": "string"
  12939. },
  12940. "areaid": {
  12941. "description": "机构Id",
  12942. "type": "integer"
  12943. },
  12944. "attachment1": {
  12945. "description": "附件1",
  12946. "type": "string"
  12947. },
  12948. "attachment2": {
  12949. "description": "附件2",
  12950. "type": "string"
  12951. },
  12952. "attachment3": {
  12953. "description": "附件3",
  12954. "type": "string"
  12955. },
  12956. "attachment4": {
  12957. "description": "附件4",
  12958. "type": "string"
  12959. },
  12960. "attachment5": {
  12961. "description": "附件5",
  12962. "type": "string"
  12963. },
  12964. "auditedby": {
  12965. "description": "审核人",
  12966. "type": "string"
  12967. },
  12968. "auditime": {
  12969. "description": "审核时间",
  12970. "type": "string"
  12971. },
  12972. "auditsrc": {
  12973. "description": "审核来源 - 1:管理端 2:终端",
  12974. "type": "integer"
  12975. },
  12976. "bankaccount": {
  12977. "description": "银行帐号 (加密存储)",
  12978. "type": "string"
  12979. },
  12980. "bankaccountname": {
  12981. "description": "收款人名称",
  12982. "type": "string"
  12983. },
  12984. "bankcardbackphotourl": {
  12985. "description": "银行卡背面照地址",
  12986. "type": "string"
  12987. },
  12988. "bankcardfrontphotourl": {
  12989. "description": "银行卡正面照地址",
  12990. "type": "string"
  12991. },
  12992. "bankid": {
  12993. "description": "银行编码",
  12994. "type": "string"
  12995. },
  12996. "bankname": {
  12997. "description": "银行名称",
  12998. "type": "string"
  12999. },
  13000. "bankpictureurl": {
  13001. "description": "银行卡正面地址",
  13002. "type": "string"
  13003. },
  13004. "biznature": {
  13005. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13006. "type": "integer"
  13007. },
  13008. "bizscope": {
  13009. "description": "企业经营范围(企业)",
  13010. "type": "string"
  13011. },
  13012. "biztype": {
  13013. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13014. "type": "integer"
  13015. },
  13016. "brokerid": {
  13017. "description": "经纪人ID(加密存储)",
  13018. "type": "string"
  13019. },
  13020. "cardaddress": {
  13021. "description": "证件地址 (加密存储)",
  13022. "type": "string"
  13023. },
  13024. "cardbackphotourl": {
  13025. "description": "背面证件照地址",
  13026. "type": "string"
  13027. },
  13028. "cardfrontphotourl": {
  13029. "description": "正面证件照地址",
  13030. "type": "string"
  13031. },
  13032. "cardnum": {
  13033. "description": "证件号码 (加密存储)",
  13034. "type": "string"
  13035. },
  13036. "cardtype": {
  13037. "description": "证件类型",
  13038. "type": "integer"
  13039. },
  13040. "cityid": {
  13041. "description": "市",
  13042. "type": "integer"
  13043. },
  13044. "company": {
  13045. "description": "公司(个人)",
  13046. "type": "string"
  13047. },
  13048. "contactcardbackphotourl": {
  13049. "description": "联系人证件背面图片地址",
  13050. "type": "string"
  13051. },
  13052. "contactcardfrontphotourl": {
  13053. "description": "联系人证件正面图片地址",
  13054. "type": "string"
  13055. },
  13056. "contactname": {
  13057. "description": "联系人",
  13058. "type": "string"
  13059. },
  13060. "countryid": {
  13061. "description": "国家",
  13062. "type": "integer"
  13063. },
  13064. "createtime": {
  13065. "description": "开户申请时间",
  13066. "type": "string"
  13067. },
  13068. "cusbankid": {
  13069. "description": "签约类型",
  13070. "type": "string"
  13071. },
  13072. "cusbankname": {
  13073. "description": "签约类型名称",
  13074. "type": "string"
  13075. },
  13076. "customername": {
  13077. "description": "客户名称(企业名称)",
  13078. "type": "string"
  13079. },
  13080. "districtid": {
  13081. "description": "地区",
  13082. "type": "integer"
  13083. },
  13084. "email": {
  13085. "description": "Email地址(加密存储)",
  13086. "type": "string"
  13087. },
  13088. "halfbodyphotourl": {
  13089. "description": "半身照地址",
  13090. "type": "string"
  13091. },
  13092. "headurl": {
  13093. "description": "头像地址",
  13094. "type": "string"
  13095. },
  13096. "ipaddress": {
  13097. "description": "IP地址",
  13098. "type": "string"
  13099. },
  13100. "isvalidate": {
  13101. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13102. "type": "string"
  13103. },
  13104. "legalcardbackphotourl": {
  13105. "description": "法人身份证背面照地址",
  13106. "type": "string"
  13107. },
  13108. "legalcardfrontphotourl": {
  13109. "description": "法人身份证正面照地址",
  13110. "type": "string"
  13111. },
  13112. "legalpersonname": {
  13113. "description": "法人姓名(企业)",
  13114. "type": "string"
  13115. },
  13116. "logincode": {
  13117. "description": "登录帐号 (加密存储)",
  13118. "type": "string"
  13119. },
  13120. "memberareaid": {
  13121. "description": "所属会员ID",
  13122. "type": "integer"
  13123. },
  13124. "mobile2": {
  13125. "description": "手机号码[明文-尚志]",
  13126. "type": "string"
  13127. },
  13128. "mobilephone": {
  13129. "description": "手机号码 (加密存储)",
  13130. "type": "string"
  13131. },
  13132. "modifiedby": {
  13133. "description": "修改人帐号",
  13134. "type": "integer"
  13135. },
  13136. "modifiedtime": {
  13137. "description": "修改时间",
  13138. "type": "string"
  13139. },
  13140. "nickname": {
  13141. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13142. "type": "string"
  13143. },
  13144. "openmode": {
  13145. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13146. "type": "integer"
  13147. },
  13148. "otherurl": {
  13149. "description": "其它图片地址[使用分号分隔]",
  13150. "type": "string"
  13151. },
  13152. "postalcode": {
  13153. "description": "邮政编码",
  13154. "type": "string"
  13155. },
  13156. "provinceid": {
  13157. "description": "省",
  13158. "type": "integer"
  13159. },
  13160. "proxystatementurl": {
  13161. "description": "授权委托书",
  13162. "type": "string"
  13163. },
  13164. "qq": {
  13165. "description": "QQ(加密存储",
  13166. "type": "string"
  13167. },
  13168. "referral": {
  13169. "description": "推荐人编码",
  13170. "type": "string"
  13171. },
  13172. "remark": {
  13173. "description": "备注",
  13174. "type": "string"
  13175. },
  13176. "removebeforestatus": {
  13177. "description": "REMOVEBEFORESTATUS",
  13178. "type": "integer"
  13179. },
  13180. "sex": {
  13181. "description": "性别 - 0:女 1:男",
  13182. "type": "integer"
  13183. },
  13184. "signedstatus": {
  13185. "description": "账户一号签签约状态",
  13186. "type": "integer"
  13187. },
  13188. "signpdfurl": {
  13189. "description": "签约pdf文件",
  13190. "type": "string"
  13191. },
  13192. "subbranch": {
  13193. "description": "开户支行",
  13194. "type": "string"
  13195. },
  13196. "taxpayernum": {
  13197. "description": "纳税人识别号",
  13198. "type": "string"
  13199. },
  13200. "telphone": {
  13201. "description": "联系电话(加密存储)",
  13202. "type": "string"
  13203. },
  13204. "userid": {
  13205. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13206. "type": "integer"
  13207. },
  13208. "userinfotype": {
  13209. "description": "用户信息类型 - 1:个人 2:企业",
  13210. "type": "integer"
  13211. },
  13212. "username": {
  13213. "description": "用户姓名",
  13214. "type": "string"
  13215. },
  13216. "userstate": {
  13217. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13218. "type": "integer"
  13219. },
  13220. "usertype": {
  13221. "description": "用户类型 - 1:投资者 2:机构",
  13222. "type": "integer"
  13223. },
  13224. "videourl": {
  13225. "description": "视频地址",
  13226. "type": "string"
  13227. },
  13228. "wechat": {
  13229. "description": "微信号 (加密存储)",
  13230. "type": "string"
  13231. }
  13232. }
  13233. },
  13234. "erms3.QryAuditContractRsp": {
  13235. "type": "object",
  13236. "required": [
  13237. "matchcustomername",
  13238. "spotcontractid"
  13239. ],
  13240. "properties": {
  13241. "accountid": {
  13242. "description": "交易员ID",
  13243. "type": "string"
  13244. },
  13245. "applystatus": {
  13246. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13247. "type": "integer"
  13248. },
  13249. "curdeliveryqty": {
  13250. "description": "未交收量",
  13251. "type": "integer"
  13252. },
  13253. "customername": {
  13254. "description": "采购方ID",
  13255. "type": "string"
  13256. },
  13257. "deliverygoodsid": {
  13258. "description": "品种ID",
  13259. "type": "string"
  13260. },
  13261. "deliveryqty": {
  13262. "description": "交收量",
  13263. "type": "integer"
  13264. },
  13265. "enumdicname": {
  13266. "description": "单位名称",
  13267. "type": "string"
  13268. },
  13269. "matchaccountid": {
  13270. "description": "业务员ID",
  13271. "type": "string"
  13272. },
  13273. "matchcustomername": {
  13274. "description": "销售方ID",
  13275. "type": "string"
  13276. },
  13277. "pricedqty": {
  13278. "description": "定价量",
  13279. "type": "number"
  13280. },
  13281. "signdate": {
  13282. "description": "签订日期",
  13283. "type": "string"
  13284. },
  13285. "spotcontractid": {
  13286. "description": "合同ID",
  13287. "type": "string"
  13288. },
  13289. "totaldqty": {
  13290. "description": "合同量",
  13291. "type": "number"
  13292. },
  13293. "unpricedqty": {
  13294. "description": "未定价量",
  13295. "type": "number"
  13296. },
  13297. "wrstandardname": {
  13298. "description": "商品名称",
  13299. "type": "string"
  13300. }
  13301. }
  13302. },
  13303. "erms3.QryPendingBizRsp": {
  13304. "$ref": "#/definitions/models.PendingAuditBizModel"
  13305. },
  13306. "erms3.QueryBusinessInfoRsp": {
  13307. "type": "object",
  13308. "properties": {
  13309. "businessid": {
  13310. "description": "业务ID.",
  13311. "type": "integer"
  13312. },
  13313. "buyamount": {
  13314. "description": "采购额.",
  13315. "type": "number"
  13316. },
  13317. "buyqty": {
  13318. "description": "采购量.",
  13319. "type": "string"
  13320. },
  13321. "futurepl": {
  13322. "description": "期货盈亏.",
  13323. "type": "number"
  13324. },
  13325. "futureqty": {
  13326. "description": "期货敞口.",
  13327. "type": "string"
  13328. },
  13329. "goodsid": {
  13330. "description": "商品名称/商品代码.",
  13331. "type": "string"
  13332. },
  13333. "hedgingqty": {
  13334. "description": "套保量.",
  13335. "type": "string"
  13336. },
  13337. "sellamount": {
  13338. "description": "销售额.",
  13339. "type": "number"
  13340. },
  13341. "sellqty": {
  13342. "description": "销售量.",
  13343. "type": "string"
  13344. },
  13345. "spotmarketvalue": {
  13346. "description": "现货市值.",
  13347. "type": "number"
  13348. },
  13349. "spotpl": {
  13350. "description": "浮动权益.",
  13351. "type": "number"
  13352. },
  13353. "spotqty": {
  13354. "description": "现货量.",
  13355. "type": "string"
  13356. },
  13357. "statu": {
  13358. "description": "状态,0-未结束 1-已结束.",
  13359. "type": "integer"
  13360. },
  13361. "totalpl": {
  13362. "description": "总盈亏.",
  13363. "type": "number"
  13364. },
  13365. "totalqty": {
  13366. "description": "总敞口.",
  13367. "type": "string"
  13368. },
  13369. "type": {
  13370. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  13371. "type": "integer"
  13372. }
  13373. }
  13374. },
  13375. "erms3.QuerySpotContractAppleFormRsp": {
  13376. "type": "object",
  13377. "properties": {
  13378. "goodses": {
  13379. "description": "合约列表",
  13380. "type": "array",
  13381. "items": {
  13382. "$ref": "#/definitions/models.GoodsIDAndName"
  13383. }
  13384. },
  13385. "oppositeusers": {
  13386. "description": "对方账号列表",
  13387. "type": "array",
  13388. "items": {
  13389. "$ref": "#/definitions/erms3.CustomerInfo"
  13390. }
  13391. },
  13392. "ouruser": {
  13393. "description": "我方账号",
  13394. "type": "object",
  13395. "$ref": "#/definitions/erms3.CustomerInfo"
  13396. },
  13397. "warehouseinfos": {
  13398. "description": "仓库信息列表",
  13399. "type": "array",
  13400. "items": {
  13401. "$ref": "#/definitions/models.Warehouseinfo"
  13402. }
  13403. },
  13404. "wrstandards": {
  13405. "description": "仓单标准列表",
  13406. "type": "array",
  13407. "items": {
  13408. "$ref": "#/definitions/models.WRStandardInfo"
  13409. }
  13410. }
  13411. }
  13412. },
  13413. "erms3.QuerySpotContractInfoRsp": {
  13414. "type": "object",
  13415. "properties": {
  13416. "accountid": {
  13417. "description": "表示交易员ID.",
  13418. "type": "integer"
  13419. },
  13420. "curdeliveryqty": {
  13421. "description": "表示未交收量.",
  13422. "type": "number"
  13423. },
  13424. "customername": {
  13425. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  13426. "type": "string"
  13427. },
  13428. "deliverygoodsid": {
  13429. "description": "表示品种ID.",
  13430. "type": "string"
  13431. },
  13432. "deliveryqty": {
  13433. "description": "表示交收量.",
  13434. "type": "number"
  13435. },
  13436. "matchaccountid": {
  13437. "description": "表示业务员ID.",
  13438. "type": "integer"
  13439. },
  13440. "matchcustomername": {
  13441. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  13442. "type": "string"
  13443. },
  13444. "priceqty": {
  13445. "description": "表示定价量.",
  13446. "type": "number"
  13447. },
  13448. "relatedbizid": {
  13449. "description": "表示业务ID.",
  13450. "type": "string"
  13451. },
  13452. "signdate": {
  13453. "description": "表示签订日期.",
  13454. "type": "string"
  13455. },
  13456. "spotcontractid": {
  13457. "description": "合同ID",
  13458. "type": "string"
  13459. },
  13460. "status": {
  13461. "description": "表示状态,0-履约中 1-已完成.",
  13462. "type": "integer"
  13463. },
  13464. "totalqty": {
  13465. "description": "表示合同量.",
  13466. "type": "number"
  13467. },
  13468. "unpricedqty": {
  13469. "description": "表示未定价量.",
  13470. "type": "number"
  13471. },
  13472. "wrstandardname": {
  13473. "description": "表示商品ID.",
  13474. "type": "string"
  13475. }
  13476. }
  13477. },
  13478. "erms3.QueryUserInfoAppliesRsp": {
  13479. "type": "object",
  13480. "required": [
  13481. "userid"
  13482. ],
  13483. "properties": {
  13484. "biznature": {
  13485. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13486. "type": "integer"
  13487. },
  13488. "contactname": {
  13489. "description": "联系人",
  13490. "type": "string"
  13491. },
  13492. "createtime": {
  13493. "description": "开户申请时间",
  13494. "type": "string"
  13495. },
  13496. "userid": {
  13497. "description": "用户ID(自增ID)",
  13498. "type": "integer"
  13499. },
  13500. "userinfotype": {
  13501. "description": "用户信息类型 - 1:个人 2:企业",
  13502. "type": "integer"
  13503. },
  13504. "username": {
  13505. "description": "用户姓名",
  13506. "type": "string"
  13507. },
  13508. "userstate": {
  13509. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13510. "type": "integer"
  13511. }
  13512. }
  13513. },
  13514. "erms3.QueryUserInfosRsp": {
  13515. "type": "object",
  13516. "required": [
  13517. "userid"
  13518. ],
  13519. "properties": {
  13520. "biznature": {
  13521. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13522. "type": "integer"
  13523. },
  13524. "contactname": {
  13525. "description": "联系人",
  13526. "type": "string"
  13527. },
  13528. "customername": {
  13529. "description": "客户名称(企业名称)",
  13530. "type": "string"
  13531. },
  13532. "userid": {
  13533. "description": "用户ID",
  13534. "type": "integer"
  13535. },
  13536. "userinfotype": {
  13537. "description": "用户信息类型 - 1:个人 2:企业",
  13538. "type": "integer"
  13539. },
  13540. "userstatus": {
  13541. "description": "用户状态 - 1:正常 2:注销",
  13542. "type": "integer"
  13543. }
  13544. }
  13545. },
  13546. "erms3.SoptContractDetail": {
  13547. "type": "object",
  13548. "required": [
  13549. "deliverygoodsid",
  13550. "producttype",
  13551. "unitname",
  13552. "warehouseid",
  13553. "wrstandardid",
  13554. "wrstandardname"
  13555. ],
  13556. "properties": {
  13557. "deliverygoodsdesc": {
  13558. "description": "现货品种说明",
  13559. "type": "string"
  13560. },
  13561. "deliverygoodsid": {
  13562. "description": "现货品种ID",
  13563. "type": "integer"
  13564. },
  13565. "deliverygoodsname": {
  13566. "description": "现货品种名称",
  13567. "type": "string"
  13568. },
  13569. "pointdesc": {
  13570. "description": "点价描述",
  13571. "type": "string"
  13572. },
  13573. "producttype": {
  13574. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13575. "type": "integer"
  13576. },
  13577. "producttypename": {
  13578. "description": "产品类型名称",
  13579. "type": "string"
  13580. },
  13581. "spotPointOrderVoList": {
  13582. "description": "点价列表",
  13583. "type": "array",
  13584. "items": {
  13585. "$ref": "#/definitions/erms3.SpotPointOrder"
  13586. }
  13587. },
  13588. "spotPriceOrderList": {
  13589. "description": "定价列表",
  13590. "type": "array",
  13591. "items": {
  13592. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13593. }
  13594. },
  13595. "unitname": {
  13596. "description": "单位名称",
  13597. "type": "string"
  13598. },
  13599. "warehouseid": {
  13600. "description": "仓库ID",
  13601. "type": "integer"
  13602. },
  13603. "warehousename": {
  13604. "description": "仓库名称",
  13605. "type": "string"
  13606. },
  13607. "wrstandardid": {
  13608. "description": "交易标的ID",
  13609. "type": "integer"
  13610. },
  13611. "wrstandardname": {
  13612. "description": "交易标的名称",
  13613. "type": "string"
  13614. }
  13615. }
  13616. },
  13617. "erms3.SpotPointOrder": {
  13618. "type": "object",
  13619. "required": [
  13620. "basic",
  13621. "goodsid",
  13622. "qty"
  13623. ],
  13624. "properties": {
  13625. "basic": {
  13626. "description": "基差",
  13627. "type": "number"
  13628. },
  13629. "deliveryenddate": {
  13630. "description": "交收结束日期",
  13631. "type": "string"
  13632. },
  13633. "deliverystartdate": {
  13634. "description": "交收开始日期",
  13635. "type": "string"
  13636. },
  13637. "enddate": {
  13638. "description": "点价结束日期",
  13639. "type": "string"
  13640. },
  13641. "goodsid": {
  13642. "description": "商品ID",
  13643. "type": "integer"
  13644. },
  13645. "goodsname": {
  13646. "description": "商品名称",
  13647. "type": "string"
  13648. },
  13649. "qty": {
  13650. "description": "数量",
  13651. "type": "number"
  13652. },
  13653. "startdate": {
  13654. "description": "点价开始日期",
  13655. "type": "string"
  13656. }
  13657. }
  13658. },
  13659. "erms3.SpotPriceOrder": {
  13660. "type": "object",
  13661. "required": [
  13662. "amount",
  13663. "price",
  13664. "qty"
  13665. ],
  13666. "properties": {
  13667. "amount": {
  13668. "description": "金额",
  13669. "type": "number"
  13670. },
  13671. "deliveryenddate": {
  13672. "description": "交收结束日期",
  13673. "type": "string"
  13674. },
  13675. "deliverystartdate": {
  13676. "description": "交收开始日期",
  13677. "type": "string"
  13678. },
  13679. "price": {
  13680. "description": "价格",
  13681. "type": "number"
  13682. },
  13683. "qty": {
  13684. "description": "数量",
  13685. "type": "number"
  13686. }
  13687. }
  13688. },
  13689. "hsby.GetHsbyMyCountRsp": {
  13690. "type": "object",
  13691. "properties": {
  13692. "myCouponCount": {
  13693. "description": "我的优惠卷数量",
  13694. "type": "integer"
  13695. },
  13696. "myOrderDetailListingCount": {
  13697. "description": "我的订单求购中数量",
  13698. "type": "integer"
  13699. },
  13700. "myOrderDetailPreCount": {
  13701. "description": "我的订单抢购中数量",
  13702. "type": "integer"
  13703. },
  13704. "myPackageUnReceiveCount": {
  13705. "description": "我的包裹待收货数量",
  13706. "type": "integer"
  13707. },
  13708. "myPackageUnSendCount": {
  13709. "description": "我的包裹待发货数量",
  13710. "type": "integer"
  13711. },
  13712. "myPayOrderCount": {
  13713. "description": "我的订单待付款数量",
  13714. "type": "integer"
  13715. }
  13716. }
  13717. },
  13718. "hsby.QueryProvincesAndCitiesRsp": {
  13719. "type": "object",
  13720. "properties": {
  13721. "cities": {
  13722. "description": "市",
  13723. "type": "array",
  13724. "items": {
  13725. "$ref": "#/definitions/models.Division"
  13726. }
  13727. },
  13728. "province": {
  13729. "description": "省",
  13730. "type": "object",
  13731. "$ref": "#/definitions/models.Division"
  13732. }
  13733. }
  13734. },
  13735. "models.AreaSpotModel": {
  13736. "type": "object",
  13737. "properties": {
  13738. "areauserid": {
  13739. "description": "所属机构",
  13740. "type": "integer"
  13741. },
  13742. "decreaseqty": {
  13743. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13744. "type": "number"
  13745. },
  13746. "increaseqty": {
  13747. "description": "增加数量=销售计划数量+采购已定价数量",
  13748. "type": "number"
  13749. },
  13750. "oritoalspotqty": {
  13751. "description": "昨日数量",
  13752. "type": "number"
  13753. },
  13754. "totalspotqty": {
  13755. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13756. "type": "number"
  13757. },
  13758. "updatetime": {
  13759. "description": "更新时间",
  13760. "type": "string"
  13761. },
  13762. "wrstandardcode": {
  13763. "description": "现货品种代码",
  13764. "type": "string"
  13765. },
  13766. "wrstandardid": {
  13767. "description": "现货商品ID",
  13768. "type": "integer"
  13769. },
  13770. "wrstandardname": {
  13771. "description": "现货品种",
  13772. "type": "string"
  13773. }
  13774. }
  13775. },
  13776. "models.Arearole": {
  13777. "type": "object",
  13778. "required": [
  13779. "roletype",
  13780. "userid"
  13781. ],
  13782. "properties": {
  13783. "createtime": {
  13784. "description": "创建时间",
  13785. "type": "string"
  13786. },
  13787. "creatorid": {
  13788. "description": "创建人ID",
  13789. "type": "integer"
  13790. },
  13791. "fromuserid": {
  13792. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  13793. "type": "integer"
  13794. },
  13795. "isreturnscore": {
  13796. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13797. "type": "integer"
  13798. },
  13799. "modifierid": {
  13800. "description": "修改人ID",
  13801. "type": "integer"
  13802. },
  13803. "modifytime": {
  13804. "description": "修改时间",
  13805. "type": "string"
  13806. },
  13807. "orgtype": {
  13808. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  13809. "type": "integer"
  13810. },
  13811. "outuserid": {
  13812. "description": "外部账户[场外期权做市商]",
  13813. "type": "string"
  13814. },
  13815. "parentuserid": {
  13816. "description": "上级组织机构(组织机构)",
  13817. "type": "integer"
  13818. },
  13819. "roletype": {
  13820. "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:交易员 25:客户 98:代理 99:门店",
  13821. "type": "integer"
  13822. },
  13823. "rootuserid": {
  13824. "description": "顶级组织机构用户ID(组织机构)",
  13825. "type": "integer"
  13826. },
  13827. "shoppassword": {
  13828. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13829. "type": "string"
  13830. },
  13831. "sublevelpath": {
  13832. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13833. "type": "string"
  13834. },
  13835. "suborgtype": {
  13836. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  13837. "type": "integer"
  13838. },
  13839. "tradeaccountid": {
  13840. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13841. "type": "integer"
  13842. },
  13843. "transurl": {
  13844. "description": "物流地址(物流机构)",
  13845. "type": "string"
  13846. },
  13847. "userid": {
  13848. "description": "机构用户ID其他做市关系,都设置为 1",
  13849. "type": "integer"
  13850. }
  13851. }
  13852. },
  13853. "models.Clientfixedadconfig": {
  13854. "type": "object",
  13855. "required": [
  13856. "adsort",
  13857. "adtype"
  13858. ],
  13859. "properties": {
  13860. "adsort": {
  13861. "description": "排序",
  13862. "type": "integer"
  13863. },
  13864. "adtype": {
  13865. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13866. "type": "integer"
  13867. },
  13868. "areauserid": {
  13869. "description": "所属机构ID",
  13870. "type": "integer"
  13871. },
  13872. "createdate": {
  13873. "description": "创建时间",
  13874. "type": "string"
  13875. },
  13876. "creatorid": {
  13877. "description": "创建人",
  13878. "type": "integer"
  13879. },
  13880. "imagepath": {
  13881. "description": "图片",
  13882. "type": "string"
  13883. },
  13884. "isshow": {
  13885. "description": "是否展示 - 0:不展示 1:展示",
  13886. "type": "integer"
  13887. },
  13888. "modifierid": {
  13889. "description": "操作人",
  13890. "type": "integer"
  13891. },
  13892. "recsize": {
  13893. "description": "推荐尺寸",
  13894. "type": "string"
  13895. },
  13896. "title": {
  13897. "description": "标题",
  13898. "type": "string"
  13899. },
  13900. "updatedate": {
  13901. "description": "更新时间",
  13902. "type": "string"
  13903. },
  13904. "urlcontent": {
  13905. "description": "链接(地址或商品ID)",
  13906. "type": "string"
  13907. },
  13908. "urltype": {
  13909. "description": "链接类型 - 1:直接地址 2:商品ID",
  13910. "type": "integer"
  13911. }
  13912. }
  13913. },
  13914. "models.Division": {
  13915. "type": "object",
  13916. "required": [
  13917. "autoid",
  13918. "divisioncode"
  13919. ],
  13920. "properties": {
  13921. "autoid": {
  13922. "description": "自增ID",
  13923. "type": "integer"
  13924. },
  13925. "divisioncode": {
  13926. "description": "行政代码",
  13927. "type": "string"
  13928. },
  13929. "divisionlevel": {
  13930. "description": "行政级别",
  13931. "type": "string"
  13932. },
  13933. "divisionname": {
  13934. "description": "行政名称",
  13935. "type": "string"
  13936. },
  13937. "modifierid": {
  13938. "description": "修改人",
  13939. "type": "integer"
  13940. },
  13941. "modifytime": {
  13942. "description": "修改时间",
  13943. "type": "string"
  13944. },
  13945. "parentcode": {
  13946. "description": "上级行政代码",
  13947. "type": "string"
  13948. },
  13949. "pathname": {
  13950. "description": "路径名称",
  13951. "type": "string"
  13952. },
  13953. "postcode": {
  13954. "description": "邮政编码",
  13955. "type": "string"
  13956. },
  13957. "separablename": {
  13958. "description": "可拆分的全称",
  13959. "type": "string"
  13960. },
  13961. "shortcode": {
  13962. "description": "地区简码",
  13963. "type": "string"
  13964. }
  13965. }
  13966. },
  13967. "models.Enumdicitem": {
  13968. "type": "object",
  13969. "required": [
  13970. "autoid",
  13971. "enumdiccode",
  13972. "enumdicid",
  13973. "enumitemname"
  13974. ],
  13975. "properties": {
  13976. "autoid": {
  13977. "description": "自增ID",
  13978. "type": "integer"
  13979. },
  13980. "bankmappedvalue": {
  13981. "description": "银行服务对应值",
  13982. "type": "string"
  13983. },
  13984. "enumdiccode": {
  13985. "description": "所属枚举代码",
  13986. "type": "string"
  13987. },
  13988. "enumdicid": {
  13989. "description": "所属枚举ID",
  13990. "type": "integer"
  13991. },
  13992. "enumdicname": {
  13993. "description": "枚举项名称",
  13994. "type": "string"
  13995. },
  13996. "enumitemname": {
  13997. "description": "枚举项值",
  13998. "type": "integer"
  13999. },
  14000. "enumitemstatus": {
  14001. "description": "枚举项状态 - 1.启用 2.不启用",
  14002. "type": "integer"
  14003. },
  14004. "enumitemvalue": {
  14005. "description": "通用值 - [币种通用简写]",
  14006. "type": "string"
  14007. },
  14008. "param1": {
  14009. "description": "参数1[币种:币种小数位]",
  14010. "type": "string"
  14011. },
  14012. "param2": {
  14013. "description": "参数1[币种:币种显示单位]",
  14014. "type": "string"
  14015. },
  14016. "remark": {
  14017. "description": "备注",
  14018. "type": "string"
  14019. }
  14020. }
  14021. },
  14022. "models.Ermcp3AreaSpot": {
  14023. "type": "object",
  14024. "properties": {
  14025. "areauserid": {
  14026. "description": "所属机构",
  14027. "type": "integer"
  14028. },
  14029. "decreaseqty": {
  14030. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14031. "type": "number"
  14032. },
  14033. "deliverygoodscode": {
  14034. "description": "现货品种代码",
  14035. "type": "string"
  14036. },
  14037. "deliverygoodsid": {
  14038. "description": "现货品种id",
  14039. "type": "integer"
  14040. },
  14041. "deliverygoodsname": {
  14042. "description": "现货品种名称",
  14043. "type": "string"
  14044. },
  14045. "enumdicname": {
  14046. "description": "单位名称",
  14047. "type": "string"
  14048. },
  14049. "goodsunitid": {
  14050. "description": "现货品种单位id",
  14051. "type": "integer"
  14052. },
  14053. "increaseqty": {
  14054. "description": "增加数量=销售计划数量+采购已定价数量",
  14055. "type": "number"
  14056. },
  14057. "oritoalspotqty": {
  14058. "description": "昨日数量",
  14059. "type": "number"
  14060. },
  14061. "totalspotqty": {
  14062. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14063. "type": "number"
  14064. },
  14065. "updatetime": {
  14066. "description": "更新时间",
  14067. "type": "string"
  14068. }
  14069. }
  14070. },
  14071. "models.Ermcp3AreaSpotDetail": {
  14072. "type": "object",
  14073. "properties": {
  14074. "contracttype": {
  14075. "description": "合同类型 1-采购 -1-销售",
  14076. "type": "integer"
  14077. },
  14078. "createtime": {
  14079. "description": "创建时间",
  14080. "type": "string"
  14081. },
  14082. "deliverygoodscode": {
  14083. "description": "现货品种代码",
  14084. "type": "string"
  14085. },
  14086. "deliverygoodsid": {
  14087. "description": "现货品种id",
  14088. "type": "integer"
  14089. },
  14090. "deliverygoodsname": {
  14091. "description": "现货品种名称",
  14092. "type": "string"
  14093. },
  14094. "enumdicname": {
  14095. "description": "现货商品单位名称",
  14096. "type": "string"
  14097. },
  14098. "logtype": {
  14099. "description": "记录类型 1-套保 2-现货合同",
  14100. "type": "integer"
  14101. },
  14102. "qty": {
  14103. "description": "数量",
  14104. "type": "number"
  14105. },
  14106. "recordname": {
  14107. "description": "类型名称",
  14108. "type": "string"
  14109. },
  14110. "relatedid": {
  14111. "description": "套保计划ID/现货合同ID",
  14112. "type": "string"
  14113. },
  14114. "relatedno": {
  14115. "description": "编号",
  14116. "type": "string"
  14117. },
  14118. "strtime": {
  14119. "description": "时间",
  14120. "type": "string"
  14121. }
  14122. }
  14123. },
  14124. "models.Ermcp3AreaSpotPLReport": {
  14125. "type": "object",
  14126. "properties": {
  14127. "accountid": {
  14128. "description": "期货账户ID (作废, 默认为0)",
  14129. "type": "integer"
  14130. },
  14131. "accountname": {
  14132. "description": "机构名称",
  14133. "type": "string"
  14134. },
  14135. "actualpl": {
  14136. "description": "现货损益",
  14137. "type": "number"
  14138. },
  14139. "areauserid": {
  14140. "description": "所属机构\\交易用户ID",
  14141. "type": "integer"
  14142. },
  14143. "begindate": {
  14144. "description": "开始交易日",
  14145. "type": "string"
  14146. },
  14147. "biztype": {
  14148. "description": "业务类型 - 1:套保 2:套利",
  14149. "type": "integer"
  14150. },
  14151. "brandname": {
  14152. "description": "品牌名称",
  14153. "type": "string"
  14154. },
  14155. "curamount": {
  14156. "description": "期末额",
  14157. "type": "number"
  14158. },
  14159. "curaverageprice": {
  14160. "description": "期末均价",
  14161. "type": "number"
  14162. },
  14163. "curbuyamount": {
  14164. "description": "期末采购总额",
  14165. "type": "number"
  14166. },
  14167. "curbuyqty": {
  14168. "description": "期末采购总量",
  14169. "type": "number"
  14170. },
  14171. "curmarketvalue": {
  14172. "description": "参考市值(期末市值)",
  14173. "type": "number"
  14174. },
  14175. "curqty": {
  14176. "description": "期末量",
  14177. "type": "number"
  14178. },
  14179. "currencyid": {
  14180. "description": "结算币种ID【原值】",
  14181. "type": "integer"
  14182. },
  14183. "currencyname": {
  14184. "description": "币种名称",
  14185. "type": "string"
  14186. },
  14187. "cursellamount": {
  14188. "description": "期末销售总额",
  14189. "type": "number"
  14190. },
  14191. "cursellqty": {
  14192. "description": "期末销售总量",
  14193. "type": "number"
  14194. },
  14195. "curspotprice": {
  14196. "description": "参考市价(最新价)",
  14197. "type": "number"
  14198. },
  14199. "cycletime": {
  14200. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14201. "type": "string"
  14202. },
  14203. "cycletype": {
  14204. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14205. "type": "integer"
  14206. },
  14207. "deliverygoodscode": {
  14208. "description": "现货商品代码",
  14209. "type": "string"
  14210. },
  14211. "deliverygoodsid": {
  14212. "description": "现货品种ID",
  14213. "type": "integer"
  14214. },
  14215. "deliverygoodsname": {
  14216. "description": "现货商品名称",
  14217. "type": "string"
  14218. },
  14219. "enddate": {
  14220. "description": "结束交易日",
  14221. "type": "string"
  14222. },
  14223. "enumdicname": {
  14224. "description": "现货商品单位名称",
  14225. "type": "string"
  14226. },
  14227. "floatpl": {
  14228. "description": "浮动损益",
  14229. "type": "number"
  14230. },
  14231. "goodsunitid": {
  14232. "description": "现货商品单位id",
  14233. "type": "integer"
  14234. },
  14235. "oriamount": {
  14236. "description": "期初额",
  14237. "type": "number"
  14238. },
  14239. "oriaverageprice": {
  14240. "description": "期初均价",
  14241. "type": "number"
  14242. },
  14243. "oribuyamount": {
  14244. "description": "期初采购总额",
  14245. "type": "number"
  14246. },
  14247. "oribuyqty": {
  14248. "description": "期初采购总量",
  14249. "type": "number"
  14250. },
  14251. "oriqty": {
  14252. "description": "期初量",
  14253. "type": "number"
  14254. },
  14255. "orisellamount": {
  14256. "description": "期初销售总额",
  14257. "type": "number"
  14258. },
  14259. "orisellqty": {
  14260. "description": "期初销售总量",
  14261. "type": "number"
  14262. },
  14263. "reckondate": {
  14264. "description": "日照时期(yyyyMMdd)",
  14265. "type": "string"
  14266. },
  14267. "spotgoodsbrandid": {
  14268. "description": "现货品牌ID",
  14269. "type": "integer"
  14270. },
  14271. "todaybuyamount": {
  14272. "description": "今日采购额(今采购额)",
  14273. "type": "number"
  14274. },
  14275. "todaybuyaverageprice": {
  14276. "description": "今日采购均价",
  14277. "type": "number"
  14278. },
  14279. "todaybuyqty": {
  14280. "description": "今日采购量(今采购量)",
  14281. "type": "number"
  14282. },
  14283. "todayinqty": {
  14284. "description": "今日入库量(今入库量)",
  14285. "type": "number"
  14286. },
  14287. "todayoutqty": {
  14288. "description": "今日出库量(今出库量)",
  14289. "type": "number"
  14290. },
  14291. "todaysellamount": {
  14292. "description": "今日销售额(今销售额)",
  14293. "type": "number"
  14294. },
  14295. "todaysellaverageprice": {
  14296. "description": "今日销售均价",
  14297. "type": "number"
  14298. },
  14299. "todaysellqty": {
  14300. "description": "今日销售量(今销售量)",
  14301. "type": "number"
  14302. },
  14303. "unitid": {
  14304. "description": "品类单位id",
  14305. "type": "integer"
  14306. },
  14307. "unitidname": {
  14308. "description": "品类单位名称",
  14309. "type": "string"
  14310. },
  14311. "updatetime": {
  14312. "description": "更新时间",
  14313. "type": "string"
  14314. },
  14315. "wrfactortypeid": {
  14316. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14317. "type": "integer"
  14318. },
  14319. "wrstandardcode": {
  14320. "description": "品类代码",
  14321. "type": "string"
  14322. },
  14323. "wrstandardid": {
  14324. "description": "现货品类ID",
  14325. "type": "integer"
  14326. },
  14327. "wrstandardname": {
  14328. "description": "品类名称",
  14329. "type": "string"
  14330. }
  14331. }
  14332. },
  14333. "models.Ermcp3AreaStock": {
  14334. "type": "object",
  14335. "required": [
  14336. "userid"
  14337. ],
  14338. "properties": {
  14339. "brandname": {
  14340. "description": "品牌名称",
  14341. "type": "string"
  14342. },
  14343. "curstock": {
  14344. "description": "期末库存量(今日量)",
  14345. "type": "number"
  14346. },
  14347. "deliverygoodscode": {
  14348. "description": "现货品种代码",
  14349. "type": "string"
  14350. },
  14351. "deliverygoodsid": {
  14352. "description": "现货品种id",
  14353. "type": "integer"
  14354. },
  14355. "deliverygoodsname": {
  14356. "description": "现货品种名称",
  14357. "type": "string"
  14358. },
  14359. "enumdicname": {
  14360. "description": "单位名称",
  14361. "type": "string"
  14362. },
  14363. "goodsunitid": {
  14364. "description": "现货商品单位id",
  14365. "type": "integer"
  14366. },
  14367. "oristock": {
  14368. "description": "期初库存量(昨日量)",
  14369. "type": "number"
  14370. },
  14371. "spotgoodsbrandid": {
  14372. "description": "现货品牌ID",
  14373. "type": "integer"
  14374. },
  14375. "todaybuyinqty": {
  14376. "description": "今日采购入库量",
  14377. "type": "number"
  14378. },
  14379. "todayproduceinqty": {
  14380. "description": "今日生产入库量",
  14381. "type": "number"
  14382. },
  14383. "todayproduceoutqty": {
  14384. "description": "今日生产出库量",
  14385. "type": "number"
  14386. },
  14387. "todayselloutqty": {
  14388. "description": "今日销售出库量",
  14389. "type": "number"
  14390. },
  14391. "unitid": {
  14392. "description": "单位id",
  14393. "type": "integer"
  14394. },
  14395. "updatetime": {
  14396. "description": "更新时间",
  14397. "type": "string"
  14398. },
  14399. "userid": {
  14400. "description": "机构ID",
  14401. "type": "integer"
  14402. },
  14403. "username": {
  14404. "description": "机构名称",
  14405. "type": "string"
  14406. },
  14407. "warehousecode": {
  14408. "description": "仓库代码",
  14409. "type": "string"
  14410. },
  14411. "warehouseinfoid": {
  14412. "description": "仓库ID",
  14413. "type": "string"
  14414. },
  14415. "warehousename": {
  14416. "description": "仓库名称",
  14417. "type": "string"
  14418. },
  14419. "warehousetype": {
  14420. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14421. "type": "integer"
  14422. },
  14423. "wrstandardcode": {
  14424. "description": "品类代码",
  14425. "type": "string"
  14426. },
  14427. "wrstandardid": {
  14428. "description": "品类ID",
  14429. "type": "string"
  14430. },
  14431. "wrstandardname": {
  14432. "description": "品类名称",
  14433. "type": "string"
  14434. }
  14435. }
  14436. },
  14437. "models.Ermcp3AreaStockApply": {
  14438. "type": "object",
  14439. "properties": {
  14440. "applyid": {
  14441. "description": "申请人",
  14442. "type": "integer"
  14443. },
  14444. "applyname": {
  14445. "description": "申请人名称",
  14446. "type": "string"
  14447. },
  14448. "applyremark": {
  14449. "description": "申请备注",
  14450. "type": "string"
  14451. },
  14452. "applysrc": {
  14453. "description": "申请来源 - 1:管理端 2:终端",
  14454. "type": "integer"
  14455. },
  14456. "applystatus": {
  14457. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14458. "type": "integer"
  14459. },
  14460. "applytime": {
  14461. "description": "申请时间",
  14462. "type": "string"
  14463. },
  14464. "auditid": {
  14465. "description": "审核人",
  14466. "type": "integer"
  14467. },
  14468. "auditname": {
  14469. "description": "审核人名称",
  14470. "type": "string"
  14471. },
  14472. "auditremark": {
  14473. "description": "审核备注",
  14474. "type": "string"
  14475. },
  14476. "auditsrc": {
  14477. "description": "审核来源 - 1:管理端 2:终端",
  14478. "type": "integer"
  14479. },
  14480. "audittime": {
  14481. "description": "审核时间",
  14482. "type": "string"
  14483. },
  14484. "audittradedate": {
  14485. "description": "审核交易日(yyyyMMdd)",
  14486. "type": "string"
  14487. },
  14488. "brandname": {
  14489. "description": "品牌名称",
  14490. "type": "string"
  14491. },
  14492. "buynickname": {
  14493. "description": "采购方昵称",
  14494. "type": "string"
  14495. },
  14496. "buyuserid": {
  14497. "description": "采购方userid",
  14498. "type": "integer"
  14499. },
  14500. "buyusername": {
  14501. "description": "采购方名称",
  14502. "type": "string"
  14503. },
  14504. "contractno": {
  14505. "description": "合同编号",
  14506. "type": "string"
  14507. },
  14508. "contractqty": {
  14509. "description": "合同量",
  14510. "type": "number"
  14511. },
  14512. "contracttype": {
  14513. "description": "现货合同类型 - 1:采购 -1:销售",
  14514. "type": "integer"
  14515. },
  14516. "deliverygoodscode": {
  14517. "description": "现货品种代码",
  14518. "type": "string"
  14519. },
  14520. "deliverygoodsid": {
  14521. "description": "现货品种id",
  14522. "type": "integer"
  14523. },
  14524. "deliverygoodsname": {
  14525. "description": "现货品种名称",
  14526. "type": "string"
  14527. },
  14528. "detailjson": {
  14529. "description": "明细数据",
  14530. "type": "string"
  14531. },
  14532. "enumdicname": {
  14533. "description": "现货商品单位名称",
  14534. "type": "string"
  14535. },
  14536. "inoutapplyid": {
  14537. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14538. "type": "string"
  14539. },
  14540. "inouttype": {
  14541. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  14542. "type": "integer"
  14543. },
  14544. "pricetype": {
  14545. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14546. "type": "integer"
  14547. },
  14548. "qty": {
  14549. "description": "数量",
  14550. "type": "number"
  14551. },
  14552. "sellnickname": {
  14553. "description": "销售方昵称",
  14554. "type": "string"
  14555. },
  14556. "selluserid": {
  14557. "description": "销售方userid",
  14558. "type": "integer"
  14559. },
  14560. "sellusername": {
  14561. "description": "销售方名称",
  14562. "type": "string"
  14563. },
  14564. "spotcontractid": {
  14565. "description": "关联现货合同ID",
  14566. "type": "string"
  14567. },
  14568. "spotgoodsbrandid": {
  14569. "description": "现货品牌ID",
  14570. "type": "integer"
  14571. },
  14572. "unitid": {
  14573. "description": "单位id",
  14574. "type": "integer"
  14575. },
  14576. "userid": {
  14577. "description": "机构ID",
  14578. "type": "integer"
  14579. },
  14580. "warehousecode": {
  14581. "description": "仓库代码",
  14582. "type": "string"
  14583. },
  14584. "warehouseinfoid": {
  14585. "description": "现货仓库ID",
  14586. "type": "string"
  14587. },
  14588. "warehousename": {
  14589. "description": "仓库名称",
  14590. "type": "string"
  14591. },
  14592. "warehousetype": {
  14593. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14594. "type": "integer"
  14595. },
  14596. "wrstandardcode": {
  14597. "description": "品类代码",
  14598. "type": "string"
  14599. },
  14600. "wrstandardid": {
  14601. "description": "品类ID",
  14602. "type": "integer"
  14603. },
  14604. "wrstandardname": {
  14605. "description": "品类名称",
  14606. "type": "string"
  14607. }
  14608. }
  14609. },
  14610. "models.Ermcp3AreaStockApplySum": {
  14611. "type": "object",
  14612. "properties": {
  14613. "brandname": {
  14614. "description": "品牌名称",
  14615. "type": "string"
  14616. },
  14617. "inouttype": {
  14618. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14619. "type": "integer"
  14620. },
  14621. "spotcontractid": {
  14622. "description": "关联现货合同ID",
  14623. "type": "string"
  14624. },
  14625. "spotgoodsbrandid": {
  14626. "description": "品牌id",
  14627. "type": "integer"
  14628. },
  14629. "totalqty": {
  14630. "description": "总数量",
  14631. "type": "number"
  14632. },
  14633. "wrstandardid": {
  14634. "description": "品类id",
  14635. "type": "integer"
  14636. },
  14637. "wrstandardname": {
  14638. "description": "品类名称",
  14639. "type": "string"
  14640. }
  14641. }
  14642. },
  14643. "models.Ermcp3AreaStockReportEx": {
  14644. "type": "object",
  14645. "properties": {
  14646. "begindate": {
  14647. "description": "开始交易日",
  14648. "type": "string"
  14649. },
  14650. "brandname": {
  14651. "description": "品牌名称",
  14652. "type": "string"
  14653. },
  14654. "curstock": {
  14655. "description": "期末库存量",
  14656. "type": "number"
  14657. },
  14658. "cycletime": {
  14659. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14660. "type": "string"
  14661. },
  14662. "cycletype": {
  14663. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14664. "type": "integer"
  14665. },
  14666. "deliverygoodscode": {
  14667. "description": "现货品种代码",
  14668. "type": "string"
  14669. },
  14670. "deliverygoodsid": {
  14671. "description": "现货品种id",
  14672. "type": "integer"
  14673. },
  14674. "deliverygoodsname": {
  14675. "description": "现货品种名称",
  14676. "type": "string"
  14677. },
  14678. "diffqty": {
  14679. "description": "库存变化量 = 期末 - 期初",
  14680. "type": "number"
  14681. },
  14682. "enddate": {
  14683. "description": "结束交易日",
  14684. "type": "string"
  14685. },
  14686. "enumdicname": {
  14687. "description": "单位名称",
  14688. "type": "string"
  14689. },
  14690. "goodsunitid": {
  14691. "description": "现货单位id",
  14692. "type": "integer"
  14693. },
  14694. "oristock": {
  14695. "description": "期初库存量",
  14696. "type": "number"
  14697. },
  14698. "reckondate": {
  14699. "description": "日照时期(yyyyMMdd)",
  14700. "type": "string"
  14701. },
  14702. "spotgoodsbrandid": {
  14703. "description": "现货品牌ID",
  14704. "type": "integer"
  14705. },
  14706. "todaybuyinqty": {
  14707. "description": "今采购入库量",
  14708. "type": "number"
  14709. },
  14710. "todayproduceinqty": {
  14711. "description": "今内部入库量",
  14712. "type": "number"
  14713. },
  14714. "todayproduceoutqty": {
  14715. "description": "今内部出库量",
  14716. "type": "number"
  14717. },
  14718. "todayselloutqty": {
  14719. "description": "今销售出库量",
  14720. "type": "number"
  14721. },
  14722. "unbuyinqty": {
  14723. "description": "采购未入库量(数据库未找到相关字段?)",
  14724. "type": "number"
  14725. },
  14726. "unitid": {
  14727. "description": "品类单位id",
  14728. "type": "integer"
  14729. },
  14730. "unselloutqty": {
  14731. "description": "销售未出库量(数据库未找到相关字段?)",
  14732. "type": "number"
  14733. },
  14734. "updatetime": {
  14735. "description": "更新时间",
  14736. "type": "string"
  14737. },
  14738. "userid": {
  14739. "description": "机构ID",
  14740. "type": "integer"
  14741. },
  14742. "username": {
  14743. "description": "机构名称",
  14744. "type": "string"
  14745. },
  14746. "warehousecode": {
  14747. "description": "仓库代码",
  14748. "type": "string"
  14749. },
  14750. "warehouseinfoid": {
  14751. "description": "仓库ID",
  14752. "type": "string"
  14753. },
  14754. "warehousename": {
  14755. "description": "仓库名称",
  14756. "type": "string"
  14757. },
  14758. "warehousetype": {
  14759. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14760. "type": "integer"
  14761. },
  14762. "wrstandardcode": {
  14763. "description": "品类代码",
  14764. "type": "string"
  14765. },
  14766. "wrstandardid": {
  14767. "description": "品类ID",
  14768. "type": "integer"
  14769. },
  14770. "wrstandardname": {
  14771. "description": "品类名称",
  14772. "type": "string"
  14773. }
  14774. }
  14775. },
  14776. "models.Ermcp3ArealSumPL": {
  14777. "type": "object",
  14778. "properties": {
  14779. "accountname": {
  14780. "description": "机构名称",
  14781. "type": "string"
  14782. },
  14783. "areauserid": {
  14784. "description": "所属机构\\交易用户ID",
  14785. "type": "integer"
  14786. },
  14787. "begindate": {
  14788. "description": "开始交易日",
  14789. "type": "string"
  14790. },
  14791. "currencyid": {
  14792. "description": "结算币种ID",
  14793. "type": "integer"
  14794. },
  14795. "currencyname": {
  14796. "description": "币种名称",
  14797. "type": "string"
  14798. },
  14799. "cycletime": {
  14800. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14801. "type": "string"
  14802. },
  14803. "cycletype": {
  14804. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14805. "type": "integer"
  14806. },
  14807. "enddate": {
  14808. "description": "结束交易日",
  14809. "type": "string"
  14810. },
  14811. "enumdicname": {
  14812. "description": "单位名称(套保品种)",
  14813. "type": "string"
  14814. },
  14815. "futureactualpl": {
  14816. "description": "期货损益",
  14817. "type": "number"
  14818. },
  14819. "futurefloatpl": {
  14820. "description": "期货浮动损益",
  14821. "type": "number"
  14822. },
  14823. "goodsunitid": {
  14824. "description": "套保品种单位id",
  14825. "type": "integer"
  14826. },
  14827. "middlegoodscode": {
  14828. "description": "套保品种代码",
  14829. "type": "string"
  14830. },
  14831. "middlegoodsid": {
  14832. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14833. "type": "integer"
  14834. },
  14835. "middlegoodsname": {
  14836. "description": "套保品种名称",
  14837. "type": "string"
  14838. },
  14839. "reckondate": {
  14840. "description": "日照时期(yyyyMMdd)",
  14841. "type": "string"
  14842. },
  14843. "spotactualpl": {
  14844. "description": "现货损益",
  14845. "type": "number"
  14846. },
  14847. "spotfloatpl": {
  14848. "description": "现货浮动损益",
  14849. "type": "number"
  14850. },
  14851. "sumactualpl": {
  14852. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14853. "type": "number"
  14854. },
  14855. "sumpl": {
  14856. "description": "汇总损益",
  14857. "type": "number"
  14858. },
  14859. "updatetime": {
  14860. "description": "更新时间",
  14861. "type": "string"
  14862. }
  14863. }
  14864. },
  14865. "models.Ermcp3Brand": {
  14866. "type": "object",
  14867. "properties": {
  14868. "areauserid": {
  14869. "description": "用户id",
  14870. "type": "integer"
  14871. },
  14872. "brandid": {
  14873. "description": "品牌id",
  14874. "type": "integer"
  14875. },
  14876. "brandname": {
  14877. "description": "品牌名称",
  14878. "type": "string"
  14879. },
  14880. "deliverygoodsid": {
  14881. "description": "品种ID",
  14882. "type": "integer"
  14883. }
  14884. }
  14885. },
  14886. "models.Ermcp3Contract": {
  14887. "type": "object",
  14888. "properties": {
  14889. "accountid": {
  14890. "description": "期货账户id",
  14891. "type": "string"
  14892. },
  14893. "amount": {
  14894. "description": "金额 [1:一口价、3:暂定价]",
  14895. "type": "number"
  14896. },
  14897. "attachment": {
  14898. "description": "附件",
  14899. "type": "string"
  14900. },
  14901. "auditremark": {
  14902. "description": "审核意见",
  14903. "type": "string"
  14904. },
  14905. "audittime": {
  14906. "description": "审核时间",
  14907. "type": "string"
  14908. },
  14909. "biztype": {
  14910. "description": "业务类型 1-套保 2-套利",
  14911. "type": "integer"
  14912. },
  14913. "brandname": {
  14914. "description": "品牌名称",
  14915. "type": "string"
  14916. },
  14917. "buynickname": {
  14918. "description": "销售方昵称",
  14919. "type": "string"
  14920. },
  14921. "buyuserid": {
  14922. "description": "采购方ID",
  14923. "type": "integer"
  14924. },
  14925. "buyusername": {
  14926. "description": "采购方名称",
  14927. "type": "string"
  14928. },
  14929. "contracctstatus": {
  14930. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14931. "type": "integer"
  14932. },
  14933. "contractmargin": {
  14934. "description": "合同保证金",
  14935. "type": "number"
  14936. },
  14937. "contractno": {
  14938. "description": "现货合同编号",
  14939. "type": "string"
  14940. },
  14941. "contracttype": {
  14942. "description": "现货合同类型 - 1:采购 -1:销售",
  14943. "type": "integer"
  14944. },
  14945. "convertfactor": {
  14946. "description": "标仓系数(品类)",
  14947. "type": "number"
  14948. },
  14949. "createtime": {
  14950. "description": "创建时间",
  14951. "type": "string"
  14952. },
  14953. "currencyid": {
  14954. "description": "币种id",
  14955. "type": "integer"
  14956. },
  14957. "currencyname": {
  14958. "description": "币种名称",
  14959. "type": "string"
  14960. },
  14961. "deliveryenddate": {
  14962. "description": "交收期(结束)",
  14963. "type": "string"
  14964. },
  14965. "deliverygoodscode": {
  14966. "description": "现货品种代码",
  14967. "type": "string"
  14968. },
  14969. "deliverygoodsid": {
  14970. "description": "现货品种ID",
  14971. "type": "integer"
  14972. },
  14973. "deliverygoodsname": {
  14974. "description": "现货品种名称",
  14975. "type": "string"
  14976. },
  14977. "deliverystartdate": {
  14978. "description": "交收期(开始)",
  14979. "type": "string"
  14980. },
  14981. "enddate": {
  14982. "description": "点价结束日期 [2:点价 3:暂定价]",
  14983. "type": "string"
  14984. },
  14985. "enumdicname": {
  14986. "description": "单位名称",
  14987. "type": "string"
  14988. },
  14989. "goodscode": {
  14990. "description": "点价合约代码",
  14991. "type": "string"
  14992. },
  14993. "goodsid": {
  14994. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14995. "type": "integer"
  14996. },
  14997. "goodsname": {
  14998. "description": "点价商品名称",
  14999. "type": "string"
  15000. },
  15001. "margin": {
  15002. "description": "当前保证金",
  15003. "type": "number"
  15004. },
  15005. "meruserid": {
  15006. "description": "跟单员id",
  15007. "type": "integer"
  15008. },
  15009. "meruserlogincode": {
  15010. "description": "跟单员登录代码",
  15011. "type": "string"
  15012. },
  15013. "price": {
  15014. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15015. "type": "number"
  15016. },
  15017. "pricemove": {
  15018. "description": "升贴水 [2:点价 3:暂定价]",
  15019. "type": "number"
  15020. },
  15021. "pricetype": {
  15022. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15023. "type": "integer"
  15024. },
  15025. "producttype": {
  15026. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15027. "type": "integer"
  15028. },
  15029. "qty": {
  15030. "description": "数量",
  15031. "type": "number"
  15032. },
  15033. "remark": {
  15034. "description": "备注",
  15035. "type": "string"
  15036. },
  15037. "saleuserid": {
  15038. "description": "业务员id",
  15039. "type": "integer"
  15040. },
  15041. "saleuserlogincode": {
  15042. "description": "业务员登录代码",
  15043. "type": "string"
  15044. },
  15045. "sellnickname": {
  15046. "description": "采购方昵称",
  15047. "type": "string"
  15048. },
  15049. "selluserid": {
  15050. "description": "销售方ID",
  15051. "type": "integer"
  15052. },
  15053. "sellusername": {
  15054. "description": "销售方名称",
  15055. "type": "string"
  15056. },
  15057. "spotcontractid": {
  15058. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15059. "type": "string"
  15060. },
  15061. "spotgoodsbrandid": {
  15062. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15063. "type": "integer"
  15064. },
  15065. "spotgoodsdesc": {
  15066. "description": "商品型号",
  15067. "type": "string"
  15068. },
  15069. "startdate": {
  15070. "description": "点价开始日期 [2:点价 3:暂定价]",
  15071. "type": "string"
  15072. },
  15073. "tradeuserid": {
  15074. "description": "交易员id",
  15075. "type": "integer"
  15076. },
  15077. "tradeuserlogincode": {
  15078. "description": "交易员登录代码",
  15079. "type": "string"
  15080. },
  15081. "tradeusername": {
  15082. "description": "交易员名称",
  15083. "type": "string"
  15084. },
  15085. "unitid": {
  15086. "description": "单位id(取品类上的单位id)",
  15087. "type": "integer"
  15088. },
  15089. "updatetime": {
  15090. "description": "更新时间",
  15091. "type": "string"
  15092. },
  15093. "userid": {
  15094. "description": "所属机构ID",
  15095. "type": "integer"
  15096. },
  15097. "wrstandardcode": {
  15098. "description": "品类代码",
  15099. "type": "string"
  15100. },
  15101. "wrstandardid": {
  15102. "description": "品类ID",
  15103. "type": "integer"
  15104. },
  15105. "wrstandardname": {
  15106. "description": "品类名称",
  15107. "type": "string"
  15108. }
  15109. }
  15110. },
  15111. "models.Ermcp3ExposureContractDetail": {
  15112. "type": "object",
  15113. "properties": {
  15114. "biztype": {
  15115. "description": "业务类型 1-套保 2-套利",
  15116. "type": "integer"
  15117. },
  15118. "brandname": {
  15119. "description": "品牌名称",
  15120. "type": "string"
  15121. },
  15122. "buyuserid": {
  15123. "description": "采购方id",
  15124. "type": "integer"
  15125. },
  15126. "buyusername": {
  15127. "description": "采购方名称",
  15128. "type": "string"
  15129. },
  15130. "contractno": {
  15131. "description": "合同编号",
  15132. "type": "string"
  15133. },
  15134. "contracttype": {
  15135. "description": "现货合同类型 - 1:采购 -1:销售",
  15136. "type": "integer"
  15137. },
  15138. "convertfactor": {
  15139. "description": "标仓系数",
  15140. "type": "number"
  15141. },
  15142. "convertratio": {
  15143. "description": "折算系数(套保品种)",
  15144. "type": "number"
  15145. },
  15146. "curqty": {
  15147. "description": "今定价量",
  15148. "type": "number"
  15149. },
  15150. "deliverygoodscode": {
  15151. "description": "现货商品代码",
  15152. "type": "string"
  15153. },
  15154. "deliverygoodsid": {
  15155. "description": "现货商品id",
  15156. "type": "integer"
  15157. },
  15158. "deliverygoodsname": {
  15159. "description": "现货商品名称",
  15160. "type": "string"
  15161. },
  15162. "diffhedgeqty": {
  15163. "description": "套保变动量",
  15164. "type": "number"
  15165. },
  15166. "diffneedhedgeqty": {
  15167. "description": "应套保变动量",
  15168. "type": "number"
  15169. },
  15170. "diffqty": {
  15171. "description": "套保品种今变动量",
  15172. "type": "number"
  15173. },
  15174. "enumdicname": {
  15175. "description": "单位名称",
  15176. "type": "string"
  15177. },
  15178. "middlegoodscode": {
  15179. "description": "套保品种代码",
  15180. "type": "string"
  15181. },
  15182. "middlegoodsid": {
  15183. "description": "套保品种id",
  15184. "type": "integer"
  15185. },
  15186. "middlegoodsname": {
  15187. "description": "套保品种名称",
  15188. "type": "string"
  15189. },
  15190. "needarbitrageratio": {
  15191. "description": "应套利比例",
  15192. "type": "number"
  15193. },
  15194. "needhedgeratio": {
  15195. "description": "应套保比例",
  15196. "type": "number"
  15197. },
  15198. "pricedqty": {
  15199. "description": "已定价量",
  15200. "type": "number"
  15201. },
  15202. "qty": {
  15203. "description": "合同量",
  15204. "type": "number"
  15205. },
  15206. "selluserid": {
  15207. "description": "销售方id",
  15208. "type": "integer"
  15209. },
  15210. "sellusername": {
  15211. "description": "销售方名称",
  15212. "type": "string"
  15213. },
  15214. "spotcontractid": {
  15215. "description": "合同id",
  15216. "type": "string"
  15217. },
  15218. "todaypricedqty": {
  15219. "description": "今定价量",
  15220. "type": "number"
  15221. },
  15222. "tradedate": {
  15223. "description": "交易日",
  15224. "type": "string"
  15225. },
  15226. "unitid": {
  15227. "description": "品类单位id",
  15228. "type": "integer"
  15229. },
  15230. "userid": {
  15231. "description": "机构id",
  15232. "type": "integer"
  15233. },
  15234. "wrstandardcode": {
  15235. "description": "品类代码",
  15236. "type": "string"
  15237. },
  15238. "wrstandardid": {
  15239. "description": "品类id",
  15240. "type": "integer"
  15241. },
  15242. "wrstandardname": {
  15243. "description": "品类名称",
  15244. "type": "string"
  15245. }
  15246. }
  15247. },
  15248. "models.Ermcp3ExposureDetail": {
  15249. "type": "object",
  15250. "properties": {
  15251. "areauserid": {
  15252. "description": "机构ID",
  15253. "type": "integer"
  15254. },
  15255. "changeQty": {
  15256. "description": "套保变动量",
  15257. "type": "number"
  15258. },
  15259. "contracttype": {
  15260. "description": "现货合同类型 - 1:采购 -1:销售",
  15261. "type": "integer"
  15262. },
  15263. "convertfactor": {
  15264. "description": "标仓系数",
  15265. "type": "number"
  15266. },
  15267. "convertratio": {
  15268. "description": "套保系数",
  15269. "type": "number"
  15270. },
  15271. "createtime": {
  15272. "description": "时间",
  15273. "type": "string"
  15274. },
  15275. "deliverygoodscode": {
  15276. "description": "现货品种代码",
  15277. "type": "string"
  15278. },
  15279. "deliverygoodsid": {
  15280. "description": "现货品种id",
  15281. "type": "integer"
  15282. },
  15283. "deliverygoodsname": {
  15284. "description": "现货品种名称",
  15285. "type": "string"
  15286. },
  15287. "enumdicname": {
  15288. "description": "现货商品单位名称",
  15289. "type": "string"
  15290. },
  15291. "logtype": {
  15292. "description": "类型 - 1:套保计划 2:现货合同",
  15293. "type": "integer"
  15294. },
  15295. "mgunitid": {
  15296. "description": "套保品种单位id",
  15297. "type": "integer"
  15298. },
  15299. "mgunitidname": {
  15300. "description": "套保品种单位名称",
  15301. "type": "string"
  15302. },
  15303. "middlegoodsId": {
  15304. "description": "套保商品id",
  15305. "type": "integer"
  15306. },
  15307. "middlegoodscode": {
  15308. "description": "套保商品代码",
  15309. "type": "string"
  15310. },
  15311. "middlegoodsname": {
  15312. "description": "套保商品名称",
  15313. "type": "string"
  15314. },
  15315. "qty": {
  15316. "description": "数量",
  15317. "type": "number"
  15318. },
  15319. "relateNo": {
  15320. "description": "现货合同/套保计划编号",
  15321. "type": "string"
  15322. }
  15323. }
  15324. },
  15325. "models.Ermcp3ExposureFutuDetail": {
  15326. "type": "object",
  15327. "properties": {
  15328. "accountid": {
  15329. "description": "交易账户id",
  15330. "type": "integer"
  15331. },
  15332. "accountname": {
  15333. "description": "交易账户",
  15334. "type": "string"
  15335. },
  15336. "begindate": {
  15337. "description": "开始交易日",
  15338. "type": "string"
  15339. },
  15340. "buyorsell": {
  15341. "description": "方向 0-买 1-卖",
  15342. "type": "integer"
  15343. },
  15344. "diffmgqty": {
  15345. "description": "套保品种今变化量",
  15346. "type": "number"
  15347. },
  15348. "diffneedqty": {
  15349. "description": "应套保总量变化量",
  15350. "type": "number"
  15351. },
  15352. "difftradeqty": {
  15353. "description": "交易品种今变化量",
  15354. "type": "number"
  15355. },
  15356. "enddate": {
  15357. "description": "结束交易日",
  15358. "type": "string"
  15359. },
  15360. "enumdicname": {
  15361. "description": "单位名称",
  15362. "type": "string"
  15363. },
  15364. "goodscode": {
  15365. "description": "商品代码",
  15366. "type": "string"
  15367. },
  15368. "goodsid": {
  15369. "description": "商品id",
  15370. "type": "integer"
  15371. },
  15372. "goodsname": {
  15373. "description": "商品名称",
  15374. "type": "string"
  15375. },
  15376. "holdqty": {
  15377. "description": "期末持仓量",
  15378. "type": "number"
  15379. },
  15380. "middlegoodscode": {
  15381. "description": "套保商品代码",
  15382. "type": "string"
  15383. },
  15384. "middlegoodsid": {
  15385. "description": "套保商品id",
  15386. "type": "integer"
  15387. },
  15388. "middlegoodsname": {
  15389. "description": "套保商品名称",
  15390. "type": "string"
  15391. },
  15392. "oriholdqty": {
  15393. "description": "期初持仓量",
  15394. "type": "number"
  15395. },
  15396. "todaycloseqty": {
  15397. "description": "今平仓量",
  15398. "type": "number"
  15399. },
  15400. "todayopenqty": {
  15401. "description": "今开仓量",
  15402. "type": "number"
  15403. },
  15404. "tradedate": {
  15405. "description": "交易日",
  15406. "type": "string"
  15407. }
  15408. }
  15409. },
  15410. "models.Ermcp3ExposureHedgeplanDetail": {
  15411. "type": "object",
  15412. "properties": {
  15413. "biztype": {
  15414. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  15415. "type": "integer"
  15416. },
  15417. "changqty": {
  15418. "description": "应套保总量变化量",
  15419. "type": "number"
  15420. },
  15421. "contracttype": {
  15422. "description": "计划类型 - 1:采购 -1:销售",
  15423. "type": "integer"
  15424. },
  15425. "convertratio": {
  15426. "description": "折算系数(套保品种)",
  15427. "type": "number"
  15428. },
  15429. "deliverygoodscode": {
  15430. "description": "现货商品代码",
  15431. "type": "string"
  15432. },
  15433. "deliverygoodsid": {
  15434. "description": "现货商品id",
  15435. "type": "integer"
  15436. },
  15437. "deliverygoodsname": {
  15438. "description": "现货商吕名称",
  15439. "type": "string"
  15440. },
  15441. "dgunitid": {
  15442. "description": "现货商品单位id",
  15443. "type": "integer"
  15444. },
  15445. "dgunitidname": {
  15446. "description": "单位名称(现货商品)",
  15447. "type": "string"
  15448. },
  15449. "diffqty": {
  15450. "description": "套保品种今变动量",
  15451. "type": "number"
  15452. },
  15453. "enumdicname": {
  15454. "description": "单位名称(品类)",
  15455. "type": "string"
  15456. },
  15457. "hedgeplanid": {
  15458. "description": "套保计划id",
  15459. "type": "string"
  15460. },
  15461. "hedgeplanno": {
  15462. "description": "套保计划名称",
  15463. "type": "string"
  15464. },
  15465. "hedgeplanstatus": {
  15466. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15467. "type": "integer"
  15468. },
  15469. "mgunitidname": {
  15470. "description": "单位名称(套保商品)",
  15471. "type": "string"
  15472. },
  15473. "middlegoodscode": {
  15474. "description": "套保品种代码",
  15475. "type": "string"
  15476. },
  15477. "middlegoodsid": {
  15478. "description": "套保品种id",
  15479. "type": "integer"
  15480. },
  15481. "middlegoodsname": {
  15482. "description": "套保品种名称",
  15483. "type": "string"
  15484. },
  15485. "needarbitrageratio": {
  15486. "description": "应套利比例",
  15487. "type": "number"
  15488. },
  15489. "needhedgeratio": {
  15490. "description": "应套保比例",
  15491. "type": "number"
  15492. },
  15493. "pricedqty": {
  15494. "description": "已定价量",
  15495. "type": "number"
  15496. },
  15497. "qty": {
  15498. "description": "合同量",
  15499. "type": "number"
  15500. },
  15501. "tradedate": {
  15502. "description": "交易日(登记日)",
  15503. "type": "string"
  15504. },
  15505. "unitid": {
  15506. "description": "品类单位id",
  15507. "type": "integer"
  15508. },
  15509. "userid": {
  15510. "description": "机构id",
  15511. "type": "integer"
  15512. },
  15513. "wrstandardcode": {
  15514. "description": "品类代码",
  15515. "type": "string"
  15516. },
  15517. "wrstandardid": {
  15518. "description": "品类id",
  15519. "type": "integer"
  15520. },
  15521. "wrstandardname": {
  15522. "description": "品类名称",
  15523. "type": "string"
  15524. }
  15525. }
  15526. },
  15527. "models.Ermcp3ExpourseReport": {
  15528. "type": "object",
  15529. "properties": {
  15530. "accountid": {
  15531. "description": "期货账户ID (作废, 默认为0)",
  15532. "type": "integer"
  15533. },
  15534. "accountname": {
  15535. "description": "机构名称",
  15536. "type": "string"
  15537. },
  15538. "arbitrageqty": {
  15539. "description": "套利量",
  15540. "type": "number"
  15541. },
  15542. "areauserid": {
  15543. "description": "所属机构\\交易用户ID",
  15544. "type": "integer"
  15545. },
  15546. "begindate": {
  15547. "description": "开始交易日",
  15548. "type": "string"
  15549. },
  15550. "buyfutureqty": {
  15551. "description": "买入期货数量",
  15552. "type": "number"
  15553. },
  15554. "buyplanqty": {
  15555. "description": "采购计划数量",
  15556. "type": "number"
  15557. },
  15558. "buypricedqty": {
  15559. "description": "采购合同已定价数量",
  15560. "type": "number"
  15561. },
  15562. "cycletime": {
  15563. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15564. "type": "string"
  15565. },
  15566. "cycletype": {
  15567. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15568. "type": "integer"
  15569. },
  15570. "diffexposure": {
  15571. "description": "变动量(套保敞口)",
  15572. "type": "number"
  15573. },
  15574. "difffutuqty": {
  15575. "description": "变动量(期货)",
  15576. "type": "number"
  15577. },
  15578. "diffhedgeqty": {
  15579. "description": "变动量(现货应套保总量)",
  15580. "type": "number"
  15581. },
  15582. "diffmgqtya": {
  15583. "description": "套保变动量",
  15584. "type": "number"
  15585. },
  15586. "diffmgqtyb": {
  15587. "description": "套利变动量",
  15588. "type": "number"
  15589. },
  15590. "diffqty": {
  15591. "description": "变动量(总敞口)",
  15592. "type": "number"
  15593. },
  15594. "diffspotqty": {
  15595. "description": "变动量(现货)",
  15596. "type": "number"
  15597. },
  15598. "enddate": {
  15599. "description": "结束交易日",
  15600. "type": "string"
  15601. },
  15602. "enumdicname": {
  15603. "description": "单位名称",
  15604. "type": "string"
  15605. },
  15606. "hedgeqty": {
  15607. "description": "套保量",
  15608. "type": "number"
  15609. },
  15610. "mgneedhedgeratio": {
  15611. "description": "套保比例(套保品的)",
  15612. "type": "number"
  15613. },
  15614. "middlegoodsid": {
  15615. "description": "套保品种ID",
  15616. "type": "integer"
  15617. },
  15618. "middlegoodsname": {
  15619. "description": "套保商品名称",
  15620. "type": "string"
  15621. },
  15622. "middlgoodscode": {
  15623. "description": "套保商品代码",
  15624. "type": "string"
  15625. },
  15626. "needarbitrageqty": {
  15627. "description": "应套利量",
  15628. "type": "number"
  15629. },
  15630. "needarbitrageratio": {
  15631. "description": "套利比例(套保品的)",
  15632. "type": "number"
  15633. },
  15634. "needhedgeexposoure": {
  15635. "description": "应套保敞口(套保敞口)",
  15636. "type": "number"
  15637. },
  15638. "needhedgeqty": {
  15639. "description": "应套保量",
  15640. "type": "number"
  15641. },
  15642. "needhedgeratio": {
  15643. "description": "应套保敞口比例",
  15644. "type": "number"
  15645. },
  15646. "oriarbitrageqty": {
  15647. "description": "期初套利量",
  15648. "type": "number"
  15649. },
  15650. "oribuyfutureqty": {
  15651. "description": "期初买入期货数量",
  15652. "type": "number"
  15653. },
  15654. "oribuyplanqty": {
  15655. "description": "期初采购计划数量",
  15656. "type": "number"
  15657. },
  15658. "oribuypricedqty": {
  15659. "description": "期初采购合同已定价数量",
  15660. "type": "number"
  15661. },
  15662. "orihedgeqty": {
  15663. "description": "期初套保量",
  15664. "type": "number"
  15665. },
  15666. "orineedarbitrageqty": {
  15667. "description": "期初应套利量",
  15668. "type": "number"
  15669. },
  15670. "orineedhedgeexposoure": {
  15671. "description": "期初应套保敞口",
  15672. "type": "number"
  15673. },
  15674. "orineedhedgeqty": {
  15675. "description": "期初应套保量",
  15676. "type": "number"
  15677. },
  15678. "orisellfutureqty": {
  15679. "description": "期初卖出期货数量",
  15680. "type": "number"
  15681. },
  15682. "orisellplanqty": {
  15683. "description": "期初销售计划数量",
  15684. "type": "number"
  15685. },
  15686. "orisellpricedqty": {
  15687. "description": "期初销售合同已定价数量",
  15688. "type": "number"
  15689. },
  15690. "oritotalexposure": {
  15691. "description": "期初实时总敞口",
  15692. "type": "number"
  15693. },
  15694. "oritotalfutureqty": {
  15695. "description": "期初期货头寸总量",
  15696. "type": "number"
  15697. },
  15698. "oritotalneedhedgeqty": {
  15699. "description": "期初应套保总量",
  15700. "type": "number"
  15701. },
  15702. "oritotalspotqty": {
  15703. "description": "期初现货头寸总量",
  15704. "type": "number"
  15705. },
  15706. "reckondate": {
  15707. "description": "日照时期(yyyyMMdd)",
  15708. "type": "string"
  15709. },
  15710. "sellfutureqty": {
  15711. "description": "卖出期货数量",
  15712. "type": "number"
  15713. },
  15714. "sellplanqty": {
  15715. "description": "销售计划数量",
  15716. "type": "number"
  15717. },
  15718. "sellpricedqty": {
  15719. "description": "销售合同已定价数量",
  15720. "type": "number"
  15721. },
  15722. "totalexposure": {
  15723. "description": "实时总敞口(总敞口)",
  15724. "type": "number"
  15725. },
  15726. "totalfutureqty": {
  15727. "description": "期货头寸总量(期货总量)",
  15728. "type": "number"
  15729. },
  15730. "totalhedgeratio": {
  15731. "description": "敞口比例",
  15732. "type": "number"
  15733. },
  15734. "totalneedhedgeqty": {
  15735. "description": "应套保总量(现货应套保总量)",
  15736. "type": "number"
  15737. },
  15738. "totalspotqty": {
  15739. "description": "现货头寸总量",
  15740. "type": "number"
  15741. },
  15742. "unitid": {
  15743. "description": "单位id",
  15744. "type": "integer"
  15745. },
  15746. "updatetime": {
  15747. "description": "更新时间",
  15748. "type": "string"
  15749. }
  15750. }
  15751. },
  15752. "models.Ermcp3FinanceReport": {
  15753. "type": "object",
  15754. "properties": {
  15755. "accountname": {
  15756. "description": "机构名称",
  15757. "type": "string"
  15758. },
  15759. "areauserid": {
  15760. "description": "所属机构\\交易用户ID",
  15761. "type": "integer"
  15762. },
  15763. "begindate": {
  15764. "description": "开始交易日",
  15765. "type": "string"
  15766. },
  15767. "biztype": {
  15768. "description": "业务类型 - 1:套保 2:套利",
  15769. "type": "integer"
  15770. },
  15771. "brandname": {
  15772. "description": "品牌名称",
  15773. "type": "string"
  15774. },
  15775. "buypreinvoicedamount": {
  15776. "description": "采购预收票额(预收票额)",
  15777. "type": "number"
  15778. },
  15779. "buyprepaidamount": {
  15780. "description": "采购预付款额(预付货款额)",
  15781. "type": "number"
  15782. },
  15783. "buytodayinvoiceamount": {
  15784. "description": "采购今收票额(今收票额)",
  15785. "type": "number"
  15786. },
  15787. "buytodayrefundamount": {
  15788. "description": "采购今收退款额(今收退款额)",
  15789. "type": "number"
  15790. },
  15791. "buytodaysettleamount": {
  15792. "description": "采购今付款额(今付货款额)",
  15793. "type": "number"
  15794. },
  15795. "buyuninvoicedamount": {
  15796. "description": "采购应收票额(应收票额)",
  15797. "type": "number"
  15798. },
  15799. "buyunpaidamount": {
  15800. "description": "采购应付款额(应付货款额)",
  15801. "type": "number"
  15802. },
  15803. "currencyid": {
  15804. "description": "结算币种ID",
  15805. "type": "integer"
  15806. },
  15807. "currencyname": {
  15808. "description": "币种名称",
  15809. "type": "string"
  15810. },
  15811. "cycletime": {
  15812. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15813. "type": "string"
  15814. },
  15815. "cycletype": {
  15816. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15817. "type": "integer"
  15818. },
  15819. "deliverygoodscode": {
  15820. "description": "现货品种代码",
  15821. "type": "string"
  15822. },
  15823. "deliverygoodsid": {
  15824. "description": "现货品种ID",
  15825. "type": "integer"
  15826. },
  15827. "deliverygoodsname": {
  15828. "description": "现货品种名称",
  15829. "type": "string"
  15830. },
  15831. "enddate": {
  15832. "description": "结束交易日",
  15833. "type": "string"
  15834. },
  15835. "reckondate": {
  15836. "description": "日照时期(yyyyMMdd)",
  15837. "type": "string"
  15838. },
  15839. "sellpreinvoicedamount": {
  15840. "description": "销售预开票额(预开票额)",
  15841. "type": "number"
  15842. },
  15843. "sellprepaidamount": {
  15844. "description": "销售预收款额(预收货款额)",
  15845. "type": "number"
  15846. },
  15847. "selltodayinvoiceamount": {
  15848. "description": "销售今开票额(今开票额)",
  15849. "type": "number"
  15850. },
  15851. "selltodayrefundamount": {
  15852. "description": "销售今付退款额(今付退款额)",
  15853. "type": "number"
  15854. },
  15855. "selltodaysettleamount": {
  15856. "description": "销售今收款额(今收货款额)",
  15857. "type": "number"
  15858. },
  15859. "selluninvoicedamount": {
  15860. "description": "销售应开票额(应开票额)",
  15861. "type": "number"
  15862. },
  15863. "sellunpaidamount": {
  15864. "description": "销售应收款额(应收货款额)",
  15865. "type": "number"
  15866. },
  15867. "spotgoodsbrandid": {
  15868. "description": "现货品牌ID",
  15869. "type": "integer"
  15870. },
  15871. "todaypaysum": {
  15872. "description": "今付款合计",
  15873. "type": "number"
  15874. },
  15875. "todayreceivesum": {
  15876. "description": "今收款合计",
  15877. "type": "number"
  15878. },
  15879. "updatetime": {
  15880. "description": "更新时间",
  15881. "type": "string"
  15882. },
  15883. "wrfactortypeid": {
  15884. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15885. "type": "integer"
  15886. },
  15887. "wrstandardcode": {
  15888. "description": "品类代码",
  15889. "type": "string"
  15890. },
  15891. "wrstandardid": {
  15892. "description": "现货商品ID",
  15893. "type": "integer"
  15894. },
  15895. "wrstandardname": {
  15896. "description": "品类名称",
  15897. "type": "string"
  15898. }
  15899. }
  15900. },
  15901. "models.Ermcp3Goods": {
  15902. "type": "object",
  15903. "properties": {
  15904. "agreeunit": {
  15905. "description": "合约单位(合约乘数)",
  15906. "type": "number"
  15907. },
  15908. "enumdicname": {
  15909. "description": "单位名称",
  15910. "type": "string"
  15911. },
  15912. "exexchangecode": {
  15913. "description": "交易所代码",
  15914. "type": "string"
  15915. },
  15916. "goodscode": {
  15917. "description": "期货商品代码",
  15918. "type": "string"
  15919. },
  15920. "goodsid": {
  15921. "description": "期货商品id",
  15922. "type": "integer"
  15923. },
  15924. "goodsname": {
  15925. "description": "期货商品名称",
  15926. "type": "string"
  15927. }
  15928. }
  15929. },
  15930. "models.Ermcp3GoodsGroup": {
  15931. "type": "object",
  15932. "required": [
  15933. "areauserid"
  15934. ],
  15935. "properties": {
  15936. "agreeunit": {
  15937. "description": "合约单位",
  15938. "type": "number"
  15939. },
  15940. "areauserid": {
  15941. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15942. "type": "integer"
  15943. },
  15944. "canshort": {
  15945. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15946. "type": "integer"
  15947. },
  15948. "closepricemode": {
  15949. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15950. "type": "integer"
  15951. },
  15952. "createtime": {
  15953. "description": "创建时间",
  15954. "type": "string"
  15955. },
  15956. "creatorid": {
  15957. "description": "创建人",
  15958. "type": "integer"
  15959. },
  15960. "currencyid": {
  15961. "description": "报价货币ID",
  15962. "type": "integer"
  15963. },
  15964. "decimalplace": {
  15965. "description": "报价小数位",
  15966. "type": "integer"
  15967. },
  15968. "enumdicname": {
  15969. "description": "单位名称",
  15970. "type": "string"
  15971. },
  15972. "exchangefullname": {
  15973. "description": "交易所全称",
  15974. "type": "string"
  15975. },
  15976. "excludecfg": {
  15977. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  15978. "type": "integer"
  15979. },
  15980. "exexchangecode": {
  15981. "description": "交易所代码",
  15982. "type": "string"
  15983. },
  15984. "exexchangeid": {
  15985. "description": "外部交易所ID[通道交易]",
  15986. "type": "integer"
  15987. },
  15988. "exexchangename": {
  15989. "description": "交易所名称",
  15990. "type": "string"
  15991. },
  15992. "goodsgroupid": {
  15993. "description": "商品组ID(自增ID)",
  15994. "type": "integer"
  15995. },
  15996. "goodsgroupname": {
  15997. "description": "商品组名称",
  15998. "type": "string"
  15999. },
  16000. "goodsgroupstatus": {
  16001. "description": "商品组状态 - 1:正常 2:注销",
  16002. "type": "integer"
  16003. },
  16004. "goodunitid": {
  16005. "description": "报价单位ID",
  16006. "type": "integer"
  16007. },
  16008. "groupcategroyid": {
  16009. "description": "品种分类ID",
  16010. "type": "integer"
  16011. },
  16012. "innerdealmode": {
  16013. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16014. "type": "integer"
  16015. },
  16016. "marketid": {
  16017. "description": "所属市场ID",
  16018. "type": "integer"
  16019. },
  16020. "modifierid": {
  16021. "description": "修改人",
  16022. "type": "integer"
  16023. },
  16024. "modifytime": {
  16025. "description": "修改时间",
  16026. "type": "string"
  16027. },
  16028. "outerdealmode": {
  16029. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16030. "type": "integer"
  16031. },
  16032. "outergroupcode": {
  16033. "description": "外部商品组代码[通道交易]",
  16034. "type": "string"
  16035. },
  16036. "quoteminunit": {
  16037. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16038. "type": "integer"
  16039. },
  16040. "quotesourcegroupid": {
  16041. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16042. "type": "integer"
  16043. },
  16044. "syncgoodsqty": {
  16045. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16046. "type": "integer"
  16047. }
  16048. }
  16049. },
  16050. "models.Ermcp3GoodsGroupEx": {
  16051. "type": "object",
  16052. "properties": {
  16053. "convertratio": {
  16054. "description": "折算系数(品种系数)",
  16055. "type": "number"
  16056. },
  16057. "enumdicname": {
  16058. "description": "单位名称",
  16059. "type": "string"
  16060. },
  16061. "exexchangecode": {
  16062. "description": "交易所代码",
  16063. "type": "string"
  16064. },
  16065. "glist": {
  16066. "description": "合约列表",
  16067. "type": "array",
  16068. "items": {
  16069. "$ref": "#/definitions/models.Ermcp3Goods"
  16070. }
  16071. },
  16072. "goodsgroupid": {
  16073. "description": "商品组id",
  16074. "type": "integer"
  16075. },
  16076. "goodsgroupname": {
  16077. "description": "商品组名称",
  16078. "type": "string"
  16079. },
  16080. "goodsunitid": {
  16081. "description": "单位id",
  16082. "type": "integer"
  16083. },
  16084. "middlegoodsid": {
  16085. "description": "套保商品id",
  16086. "type": "integer"
  16087. }
  16088. }
  16089. },
  16090. "models.Ermcp3HedgePlan": {
  16091. "type": "object",
  16092. "properties": {
  16093. "accountid": {
  16094. "description": "资金账号",
  16095. "type": "integer"
  16096. },
  16097. "areauserid": {
  16098. "description": "用户ID",
  16099. "type": "integer"
  16100. },
  16101. "audittime": {
  16102. "description": "审核时间",
  16103. "type": "string"
  16104. },
  16105. "contracttype": {
  16106. "description": "计划类型 - 1:采购 -1:销售",
  16107. "type": "integer"
  16108. },
  16109. "convertfactor": {
  16110. "description": "标仓系数",
  16111. "type": "number"
  16112. },
  16113. "createtime": {
  16114. "description": "创建时间",
  16115. "type": "string"
  16116. },
  16117. "currencyid": {
  16118. "description": "币种id",
  16119. "type": "integer"
  16120. },
  16121. "currencyname": {
  16122. "description": "币种名称",
  16123. "type": "string"
  16124. },
  16125. "deliverygoodscode": {
  16126. "description": "现货品种代码",
  16127. "type": "string"
  16128. },
  16129. "deliverygoodsid": {
  16130. "description": "现货品种ID",
  16131. "type": "integer"
  16132. },
  16133. "deliverygoodsname": {
  16134. "description": "现货品种名称",
  16135. "type": "string"
  16136. },
  16137. "enumdicname": {
  16138. "description": "单位名称(现货商品)",
  16139. "type": "string"
  16140. },
  16141. "hedgeplanid": {
  16142. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16143. "type": "string"
  16144. },
  16145. "hedgeplanno": {
  16146. "description": "套保计划编号(名称)",
  16147. "type": "string"
  16148. },
  16149. "hedgeplanstatus": {
  16150. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16151. "type": "integer"
  16152. },
  16153. "planqty": {
  16154. "description": "计划数量",
  16155. "type": "number"
  16156. },
  16157. "plantime": {
  16158. "description": "计划时间",
  16159. "type": "string"
  16160. },
  16161. "producttype": {
  16162. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16163. "type": "integer"
  16164. },
  16165. "remark": {
  16166. "description": "备注",
  16167. "type": "string"
  16168. },
  16169. "spotgoodsdesc": {
  16170. "description": "商品型号",
  16171. "type": "string"
  16172. },
  16173. "taaccountname": {
  16174. "description": "资金账号名称",
  16175. "type": "string"
  16176. },
  16177. "tradeuserid": {
  16178. "description": "交易用户id",
  16179. "type": "integer"
  16180. },
  16181. "tradeusername": {
  16182. "description": "交易用户名称",
  16183. "type": "string"
  16184. },
  16185. "unitid": {
  16186. "description": "单位id(现货商品)",
  16187. "type": "integer"
  16188. },
  16189. "updatetime": {
  16190. "description": "更新时间",
  16191. "type": "string"
  16192. },
  16193. "wrstandardcode": {
  16194. "description": "品类代码",
  16195. "type": "string"
  16196. },
  16197. "wrstandardid": {
  16198. "description": "品类id",
  16199. "type": "integer"
  16200. },
  16201. "wrstandardname": {
  16202. "description": "品类名称",
  16203. "type": "string"
  16204. },
  16205. "wrunitid": {
  16206. "description": "品类单位id",
  16207. "type": "integer"
  16208. },
  16209. "wrunitidame": {
  16210. "description": "品类单位名称",
  16211. "type": "string"
  16212. }
  16213. }
  16214. },
  16215. "models.Ermcp3MiddleGoodsDetail2": {
  16216. "type": "object",
  16217. "properties": {
  16218. "convertratio": {
  16219. "description": "套保系数(折算系数)",
  16220. "type": "number"
  16221. },
  16222. "gplist": {
  16223. "description": "关联商品组列表",
  16224. "type": "array",
  16225. "items": {
  16226. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16227. }
  16228. },
  16229. "mg": {
  16230. "description": "套保商品信息",
  16231. "type": "object",
  16232. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16233. }
  16234. }
  16235. },
  16236. "models.Ermcp3MiddleGoodsDetailEx": {
  16237. "type": "object",
  16238. "properties": {
  16239. "dglist": {
  16240. "description": "关联的现货品种列表",
  16241. "type": "array",
  16242. "items": {
  16243. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  16244. }
  16245. },
  16246. "gplist": {
  16247. "description": "关联商品组列表",
  16248. "type": "array",
  16249. "items": {
  16250. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16251. }
  16252. },
  16253. "mg": {
  16254. "description": "套保商品信息",
  16255. "type": "object",
  16256. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16257. }
  16258. }
  16259. },
  16260. "models.Ermcp3RootUserAccount": {
  16261. "type": "object",
  16262. "properties": {
  16263. "accountname": {
  16264. "description": "账户名称(机构名称)",
  16265. "type": "string"
  16266. },
  16267. "accountstatus": {
  16268. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16269. "type": "integer"
  16270. },
  16271. "applysrc": {
  16272. "description": "申请来源 - 1:管理端 2:终端",
  16273. "type": "integer"
  16274. },
  16275. "auditremark": {
  16276. "description": "审核备注",
  16277. "type": "string"
  16278. },
  16279. "auditsrc": {
  16280. "description": "审核来源 - 1:管理端 2:终端",
  16281. "type": "integer"
  16282. },
  16283. "audittime": {
  16284. "description": "审核时间",
  16285. "type": "string"
  16286. },
  16287. "audituserid": {
  16288. "description": "审核人",
  16289. "type": "integer"
  16290. },
  16291. "broker": {
  16292. "description": "所属经纪人ID",
  16293. "type": "integer"
  16294. },
  16295. "canceltime": {
  16296. "description": "销户时间",
  16297. "type": "string"
  16298. },
  16299. "canceluserid": {
  16300. "description": "销户人",
  16301. "type": "integer"
  16302. },
  16303. "canrecommend": {
  16304. "description": "是否可推荐 - 0:不可 1;可",
  16305. "type": "integer"
  16306. },
  16307. "createtime": {
  16308. "description": "创建时间",
  16309. "type": "string"
  16310. },
  16311. "creatorid": {
  16312. "description": "创建人",
  16313. "type": "integer"
  16314. },
  16315. "hasauth": {
  16316. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16317. "type": "integer"
  16318. },
  16319. "isanonymous": {
  16320. "description": "是否匿名下单 - 0:否 1:是",
  16321. "type": "integer"
  16322. },
  16323. "maxinvestornum": {
  16324. "description": "最大用户数(经纪会员下投资者个数)",
  16325. "type": "integer"
  16326. },
  16327. "memberuserid": {
  16328. "description": "所属会员ID",
  16329. "type": "integer"
  16330. },
  16331. "modifierid": {
  16332. "description": "修改人",
  16333. "type": "integer"
  16334. },
  16335. "modifyremark": {
  16336. "description": "变更备注",
  16337. "type": "string"
  16338. },
  16339. "modifystatus": {
  16340. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16341. "type": "integer"
  16342. },
  16343. "modifytime": {
  16344. "description": "修改时间",
  16345. "type": "string"
  16346. },
  16347. "parenttopuser": {
  16348. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  16349. "type": "string"
  16350. },
  16351. "parentuserid": {
  16352. "description": "所属机构ID",
  16353. "type": "integer"
  16354. },
  16355. "reckonaccountid": {
  16356. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16357. "type": "integer"
  16358. },
  16359. "refercount": {
  16360. "description": "推荐总人数",
  16361. "type": "integer"
  16362. },
  16363. "refereeuserid": {
  16364. "description": "推荐人ID",
  16365. "type": "integer"
  16366. },
  16367. "refernum": {
  16368. "description": "推荐码",
  16369. "type": "string"
  16370. },
  16371. "rootuserid": {
  16372. "description": "根用户ID",
  16373. "type": "integer"
  16374. },
  16375. "subaccountlevel": {
  16376. "description": "子账户层数",
  16377. "type": "integer"
  16378. },
  16379. "subarealevelpath": {
  16380. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16381. "type": "string"
  16382. },
  16383. "userid": {
  16384. "description": "用户ID",
  16385. "type": "integer"
  16386. },
  16387. "usertype": {
  16388. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16389. "type": "integer"
  16390. }
  16391. }
  16392. },
  16393. "models.Ermcp3SellBuyContract": {
  16394. "type": "object",
  16395. "properties": {
  16396. "accountid": {
  16397. "description": "期货账户id",
  16398. "type": "string"
  16399. },
  16400. "accountname": {
  16401. "description": "账户名称",
  16402. "type": "string"
  16403. },
  16404. "attachment": {
  16405. "description": "附件",
  16406. "type": "string"
  16407. },
  16408. "audittime": {
  16409. "description": "审核时间",
  16410. "type": "string"
  16411. },
  16412. "biztype": {
  16413. "description": "业务类型 1-套保 2-套利",
  16414. "type": "integer"
  16415. },
  16416. "brandname": {
  16417. "description": "品牌名称",
  16418. "type": "string"
  16419. },
  16420. "contracctstatus": {
  16421. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16422. "type": "integer"
  16423. },
  16424. "contractmargin": {
  16425. "description": "合同保证金",
  16426. "type": "number"
  16427. },
  16428. "contractno": {
  16429. "description": "合同编号",
  16430. "type": "string"
  16431. },
  16432. "contracttype": {
  16433. "description": "合同类型 1-采购, -1-销售",
  16434. "type": "integer"
  16435. },
  16436. "convertfactor": {
  16437. "description": "标仓系数(品类)",
  16438. "type": "number"
  16439. },
  16440. "createtime": {
  16441. "description": "创建时间",
  16442. "type": "string"
  16443. },
  16444. "currencyid": {
  16445. "description": "币种id",
  16446. "type": "integer"
  16447. },
  16448. "currencyname": {
  16449. "description": "币种名称",
  16450. "type": "string"
  16451. },
  16452. "daikaiamount": {
  16453. "description": "应收(开)票额",
  16454. "type": "number"
  16455. },
  16456. "deliveryenddate": {
  16457. "description": "交割结束日",
  16458. "type": "string"
  16459. },
  16460. "deliverygoodscode": {
  16461. "description": "现货品种代码",
  16462. "type": "string"
  16463. },
  16464. "deliverygoodsid": {
  16465. "description": "现货商品ID",
  16466. "type": "integer"
  16467. },
  16468. "deliverygoodsname": {
  16469. "description": "现货品种名称",
  16470. "type": "string"
  16471. },
  16472. "deliverystartdate": {
  16473. "description": "交割开始日",
  16474. "type": "string"
  16475. },
  16476. "enddate": {
  16477. "description": "点价结束日",
  16478. "type": "string"
  16479. },
  16480. "enumdicname": {
  16481. "description": "单位名称",
  16482. "type": "string"
  16483. },
  16484. "goodscode": {
  16485. "description": "点价商品代码",
  16486. "type": "string"
  16487. },
  16488. "goodsid": {
  16489. "description": "点价商品ID",
  16490. "type": "integer"
  16491. },
  16492. "goodsname": {
  16493. "description": "点价商品名称",
  16494. "type": "string"
  16495. },
  16496. "invoiceamount": {
  16497. "description": "已开票额",
  16498. "type": "number"
  16499. },
  16500. "loanamount": {
  16501. "description": "贷款总额=已定价额+调整金额",
  16502. "type": "number"
  16503. },
  16504. "margin": {
  16505. "description": "保证金",
  16506. "type": "number"
  16507. },
  16508. "meruserid": {
  16509. "description": "跟单员id",
  16510. "type": "integer"
  16511. },
  16512. "meruserlogincode": {
  16513. "description": "跟单员登录代码",
  16514. "type": "string"
  16515. },
  16516. "nickname": {
  16517. "description": "账户昵称",
  16518. "type": "string"
  16519. },
  16520. "payamount": {
  16521. "description": "已收付额(收款或付款)",
  16522. "type": "number"
  16523. },
  16524. "preinvoiceamount": {
  16525. "description": "预收(开)票额",
  16526. "type": "number"
  16527. },
  16528. "prepayamount": {
  16529. "description": "预收付额",
  16530. "type": "number"
  16531. },
  16532. "price": {
  16533. "description": "价格",
  16534. "type": "number"
  16535. },
  16536. "pricedamount": {
  16537. "description": "已定价额",
  16538. "type": "number"
  16539. },
  16540. "pricedavg": {
  16541. "description": "已点均价",
  16542. "type": "number"
  16543. },
  16544. "pricedqty": {
  16545. "description": "已定价量",
  16546. "type": "number"
  16547. },
  16548. "pricemove": {
  16549. "description": "升贴水",
  16550. "type": "number"
  16551. },
  16552. "pricetype": {
  16553. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16554. "type": "integer"
  16555. },
  16556. "producttype": {
  16557. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16558. "type": "integer"
  16559. },
  16560. "qty": {
  16561. "description": "合同量",
  16562. "type": "number"
  16563. },
  16564. "reckonadjustamount": {
  16565. "description": "调整金额",
  16566. "type": "number"
  16567. },
  16568. "reckonedamount": {
  16569. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16570. "type": "number"
  16571. },
  16572. "reckonotheramount": {
  16573. "description": "其它费用",
  16574. "type": "number"
  16575. },
  16576. "reckonrealqty": {
  16577. "description": "已确定量",
  16578. "type": "number"
  16579. },
  16580. "remark": {
  16581. "description": "备注",
  16582. "type": "string"
  16583. },
  16584. "saleuserid": {
  16585. "description": "业务员id",
  16586. "type": "integer"
  16587. },
  16588. "saleuserlogincode": {
  16589. "description": "业务员登录代码",
  16590. "type": "string"
  16591. },
  16592. "spotcontractid": {
  16593. "description": "合同ID",
  16594. "type": "string"
  16595. },
  16596. "spotgoodsbrandid": {
  16597. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16598. "type": "integer"
  16599. },
  16600. "spotgoodsdesc": {
  16601. "description": "商品型号(商品规格)",
  16602. "type": "string"
  16603. },
  16604. "startdate": {
  16605. "description": "点价开始日",
  16606. "type": "string"
  16607. },
  16608. "totalamount": {
  16609. "description": "合计总额",
  16610. "type": "number"
  16611. },
  16612. "tradeuserid": {
  16613. "description": "交易员id",
  16614. "type": "integer"
  16615. },
  16616. "tradeuserlogincode": {
  16617. "description": "交易员登录代码",
  16618. "type": "string"
  16619. },
  16620. "tradeusername": {
  16621. "description": "交易员名称",
  16622. "type": "string"
  16623. },
  16624. "unpayamount": {
  16625. "description": "应收付款额(应支付或应收款)",
  16626. "type": "number"
  16627. },
  16628. "unpricedqty": {
  16629. "description": "未定价量",
  16630. "type": "number"
  16631. },
  16632. "unsureqty": {
  16633. "description": "未确定量",
  16634. "type": "number"
  16635. },
  16636. "userid": {
  16637. "description": "机构ID",
  16638. "type": "integer"
  16639. },
  16640. "wrstandardcode": {
  16641. "description": "品类代码",
  16642. "type": "string"
  16643. },
  16644. "wrstandardid": {
  16645. "description": "品类ID",
  16646. "type": "integer"
  16647. },
  16648. "wrstandardname": {
  16649. "description": "品类名称",
  16650. "type": "string"
  16651. }
  16652. }
  16653. },
  16654. "models.Ermcp3SpotGoodsPrice": {
  16655. "type": "object",
  16656. "properties": {
  16657. "areauserid": {
  16658. "description": "所属机构id",
  16659. "type": "integer"
  16660. },
  16661. "brandname": {
  16662. "description": "品牌名称",
  16663. "type": "string"
  16664. },
  16665. "currencyid": {
  16666. "description": "报价货币ID",
  16667. "type": "integer"
  16668. },
  16669. "currencyname": {
  16670. "description": "币种名称",
  16671. "type": "string"
  16672. },
  16673. "deliverygoodscode": {
  16674. "description": "现货商品代码",
  16675. "type": "string"
  16676. },
  16677. "deliverygoodsid": {
  16678. "description": "现货商品id",
  16679. "type": "integer"
  16680. },
  16681. "deliverygoodsname": {
  16682. "description": "现货商品名称",
  16683. "type": "string"
  16684. },
  16685. "enumdicname": {
  16686. "description": "现货商品单位名称",
  16687. "type": "string"
  16688. },
  16689. "gbenumdicname": {
  16690. "description": "品类单位名称",
  16691. "type": "string"
  16692. },
  16693. "gmunitid": {
  16694. "description": "品类单位id",
  16695. "type": "integer"
  16696. },
  16697. "isvalid": {
  16698. "description": "是否有效 - 0:无效 1:有效",
  16699. "type": "integer"
  16700. },
  16701. "operateid": {
  16702. "description": "最后操作人",
  16703. "type": "integer"
  16704. },
  16705. "operatesrc": {
  16706. "description": "最后操作来源 - 1:管理端 2:终端",
  16707. "type": "integer"
  16708. },
  16709. "operatetime": {
  16710. "description": "最后操作时间",
  16711. "type": "string"
  16712. },
  16713. "operatorname": {
  16714. "description": "操作人名称",
  16715. "type": "string"
  16716. },
  16717. "spotgoodsbrandid": {
  16718. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16719. "type": "integer"
  16720. },
  16721. "spotgoodsprice": {
  16722. "description": "现货价格",
  16723. "type": "number"
  16724. },
  16725. "tradedate": {
  16726. "description": "交易日(yyyyMMdd)",
  16727. "type": "string"
  16728. },
  16729. "unitid": {
  16730. "description": "现货商品单位id",
  16731. "type": "integer"
  16732. },
  16733. "wrstandardcode": {
  16734. "description": "品类代码",
  16735. "type": "string"
  16736. },
  16737. "wrstandardid": {
  16738. "description": "现货品类ID(通用则为0)",
  16739. "type": "integer"
  16740. },
  16741. "wrstandardname": {
  16742. "description": "品类名称",
  16743. "type": "string"
  16744. }
  16745. }
  16746. },
  16747. "models.Ermcp3SpotGoodsPriceLog": {
  16748. "type": "object",
  16749. "properties": {
  16750. "areauserid": {
  16751. "description": "所属机构id",
  16752. "type": "integer"
  16753. },
  16754. "brandname": {
  16755. "description": "品牌名称",
  16756. "type": "string"
  16757. },
  16758. "currencyid": {
  16759. "description": "报价货币ID",
  16760. "type": "integer"
  16761. },
  16762. "deliverygoodscode": {
  16763. "description": "现货商品代码",
  16764. "type": "string"
  16765. },
  16766. "deliverygoodsid": {
  16767. "description": "现货商品id",
  16768. "type": "integer"
  16769. },
  16770. "deliverygoodsname": {
  16771. "description": "现货商品名称",
  16772. "type": "string"
  16773. },
  16774. "enumdicname": {
  16775. "description": "现货商品单位名称",
  16776. "type": "string"
  16777. },
  16778. "gbenumdicname": {
  16779. "description": "品类单位名称",
  16780. "type": "string"
  16781. },
  16782. "gmunitid": {
  16783. "description": "品类单位id",
  16784. "type": "integer"
  16785. },
  16786. "logid": {
  16787. "description": "日志id",
  16788. "type": "integer"
  16789. },
  16790. "operateid": {
  16791. "description": "最后操作人",
  16792. "type": "integer"
  16793. },
  16794. "operatesrc": {
  16795. "description": "最后操作来源 - 1:管理端 2:终端",
  16796. "type": "integer"
  16797. },
  16798. "operatetime": {
  16799. "description": "最后操作时间",
  16800. "type": "string"
  16801. },
  16802. "operatorname": {
  16803. "description": "操作人名称",
  16804. "type": "string"
  16805. },
  16806. "spotgoodsbrandid": {
  16807. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16808. "type": "integer"
  16809. },
  16810. "spotgoodsprice": {
  16811. "description": "现货价格",
  16812. "type": "number"
  16813. },
  16814. "tradedate": {
  16815. "description": "交易日(yyyyMMdd)",
  16816. "type": "string"
  16817. },
  16818. "unitid": {
  16819. "description": "现货商品单位id",
  16820. "type": "integer"
  16821. },
  16822. "wrstandardcode": {
  16823. "description": "品类代码",
  16824. "type": "string"
  16825. },
  16826. "wrstandardid": {
  16827. "description": "现货品类ID(通用则为0)",
  16828. "type": "integer"
  16829. },
  16830. "wrstandardname": {
  16831. "description": "品类名称",
  16832. "type": "string"
  16833. }
  16834. }
  16835. },
  16836. "models.Ermcp3TaFutuReDataReport": {
  16837. "type": "object",
  16838. "properties": {
  16839. "accountid": {
  16840. "description": "交易账户",
  16841. "type": "integer"
  16842. },
  16843. "accountname": {
  16844. "description": "交易账号名称",
  16845. "type": "string"
  16846. },
  16847. "begindate": {
  16848. "description": "开始交易日",
  16849. "type": "string"
  16850. },
  16851. "buyorsell": {
  16852. "description": "持仓方向",
  16853. "type": "integer"
  16854. },
  16855. "charge": {
  16856. "description": "手续费",
  16857. "type": "number"
  16858. },
  16859. "closeavgprice": {
  16860. "description": "平仓均价",
  16861. "type": "number"
  16862. },
  16863. "closepl": {
  16864. "description": "平仓损益",
  16865. "type": "number"
  16866. },
  16867. "currencyid": {
  16868. "description": "结算币种ID",
  16869. "type": "integer"
  16870. },
  16871. "cycletime": {
  16872. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16873. "type": "string"
  16874. },
  16875. "cycletype": {
  16876. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16877. "type": "integer"
  16878. },
  16879. "enddate": {
  16880. "description": "结束交易日",
  16881. "type": "string"
  16882. },
  16883. "enumdicname": {
  16884. "description": "单位名称(现货商品)",
  16885. "type": "string"
  16886. },
  16887. "floatpl": {
  16888. "description": "浮动损益",
  16889. "type": "number"
  16890. },
  16891. "goodscode": {
  16892. "description": "交易合约代码",
  16893. "type": "string"
  16894. },
  16895. "goodsgroupid": {
  16896. "description": "交易品种",
  16897. "type": "integer"
  16898. },
  16899. "goodsgroupname": {
  16900. "description": "交易品种名称",
  16901. "type": "string"
  16902. },
  16903. "goodsgroupspotqty": {
  16904. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  16905. "type": "number"
  16906. },
  16907. "goodsid": {
  16908. "description": "交易合约",
  16909. "type": "integer"
  16910. },
  16911. "goodsname": {
  16912. "description": "交易合约名称",
  16913. "type": "string"
  16914. },
  16915. "goodunitid": {
  16916. "description": "交易合约单位id",
  16917. "type": "integer"
  16918. },
  16919. "holdamount": {
  16920. "description": "期末持仓额",
  16921. "type": "number"
  16922. },
  16923. "holdqty": {
  16924. "description": "期末持仓量",
  16925. "type": "number"
  16926. },
  16927. "lastholdamount": {
  16928. "description": "当前持仓额",
  16929. "type": "number"
  16930. },
  16931. "lastprice": {
  16932. "description": "最新价",
  16933. "type": "number"
  16934. },
  16935. "middlegoodsqty": {
  16936. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  16937. "type": "number"
  16938. },
  16939. "openamount": {
  16940. "description": "期末开仓额",
  16941. "type": "number"
  16942. },
  16943. "openavgprice": {
  16944. "description": "开仓均价",
  16945. "type": "number"
  16946. },
  16947. "oriholdamount": {
  16948. "description": "期初持仓额",
  16949. "type": "number"
  16950. },
  16951. "oriholdqty": {
  16952. "description": "期初持仓量",
  16953. "type": "number"
  16954. },
  16955. "oriopenamount": {
  16956. "description": "期初开仓额",
  16957. "type": "number"
  16958. },
  16959. "outergroupcode": {
  16960. "description": "交易品种代码",
  16961. "type": "string"
  16962. },
  16963. "reckondate": {
  16964. "description": "日照时期(yyyyMMdd)",
  16965. "type": "string"
  16966. },
  16967. "reckonholdamount": {
  16968. "description": "结算持仓额",
  16969. "type": "number"
  16970. },
  16971. "reckonpl": {
  16972. "description": "结算损益",
  16973. "type": "number"
  16974. },
  16975. "reckonpl2": {
  16976. "description": "结算逐笔盈亏",
  16977. "type": "number"
  16978. },
  16979. "reckonprice": {
  16980. "description": "结算价",
  16981. "type": "number"
  16982. },
  16983. "relateduserid": {
  16984. "description": "账户关联用户ID",
  16985. "type": "integer"
  16986. },
  16987. "todaycloseamount": {
  16988. "description": "今平仓额",
  16989. "type": "number"
  16990. },
  16991. "todaycloseqty": {
  16992. "description": "今平仓量",
  16993. "type": "number"
  16994. },
  16995. "todaygoodsgroupspotqty": {
  16996. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  16997. "type": "number"
  16998. },
  16999. "todaymiddlegoodsqty": {
  17000. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  17001. "type": "number"
  17002. },
  17003. "todayopenamount": {
  17004. "description": "今开仓额",
  17005. "type": "number"
  17006. },
  17007. "todayopenqty": {
  17008. "description": "今开仓量",
  17009. "type": "number"
  17010. },
  17011. "userid": {
  17012. "description": "账户所属用户ID",
  17013. "type": "integer"
  17014. }
  17015. }
  17016. },
  17017. "models.Ermcp3Wrstandard": {
  17018. "type": "object",
  17019. "properties": {
  17020. "areauserid": {
  17021. "description": "所属机构",
  17022. "type": "integer"
  17023. },
  17024. "convertfactor": {
  17025. "description": "标仓系数",
  17026. "type": "number"
  17027. },
  17028. "createtime": {
  17029. "description": "创建时间",
  17030. "type": "string"
  17031. },
  17032. "creatorid": {
  17033. "description": "创建人",
  17034. "type": "integer"
  17035. },
  17036. "deliverygoodsid": {
  17037. "description": "现货品种ID",
  17038. "type": "integer"
  17039. },
  17040. "enumdicname": {
  17041. "description": "品类单位名称",
  17042. "type": "string"
  17043. },
  17044. "isvalid": {
  17045. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  17046. "type": "integer"
  17047. },
  17048. "minivalue": {
  17049. "description": "最小变动值",
  17050. "type": "integer"
  17051. },
  17052. "minivaluedp": {
  17053. "description": "最小变动值小数位",
  17054. "type": "integer"
  17055. },
  17056. "realminivalue": {
  17057. "description": "实际最小变动值",
  17058. "type": "integer"
  17059. },
  17060. "realminivaluedp": {
  17061. "description": "实际最小变动值小数位",
  17062. "type": "integer"
  17063. },
  17064. "remark": {
  17065. "description": "备注",
  17066. "type": "string"
  17067. },
  17068. "unitid": {
  17069. "description": "品类单位ID",
  17070. "type": "integer"
  17071. },
  17072. "updatetime": {
  17073. "description": "更新时间",
  17074. "type": "string"
  17075. },
  17076. "wrstandardcode": {
  17077. "description": "品类代码",
  17078. "type": "string"
  17079. },
  17080. "wrstandardid": {
  17081. "description": "品类ID(SEQ_WRSTANDARD)",
  17082. "type": "integer"
  17083. },
  17084. "wrstandardname": {
  17085. "description": "品类名称",
  17086. "type": "string"
  17087. }
  17088. }
  17089. },
  17090. "models.ErmcpAreaSpotDetailModel": {
  17091. "type": "object",
  17092. "properties": {
  17093. "contracttype": {
  17094. "description": "合同类型 1-采购 -1-销售",
  17095. "type": "integer"
  17096. },
  17097. "createtime": {
  17098. "description": "创建时间",
  17099. "type": "string"
  17100. },
  17101. "enumdicname": {
  17102. "description": "现货商品单位名称",
  17103. "type": "string"
  17104. },
  17105. "logtype": {
  17106. "description": "记录类型 1-套保 2-现货合同",
  17107. "type": "integer"
  17108. },
  17109. "qty": {
  17110. "description": "数量",
  17111. "type": "number"
  17112. },
  17113. "recordname": {
  17114. "description": "类型名称",
  17115. "type": "string"
  17116. },
  17117. "relatedid": {
  17118. "description": "套保计划ID/现货合同ID",
  17119. "type": "string"
  17120. },
  17121. "relatedno": {
  17122. "description": "编号",
  17123. "type": "string"
  17124. },
  17125. "strtime": {
  17126. "description": "时间",
  17127. "type": "string"
  17128. },
  17129. "wrstandardcode": {
  17130. "description": "现货商品代码",
  17131. "type": "string"
  17132. },
  17133. "wrstandardname": {
  17134. "description": "现货商品名称",
  17135. "type": "string"
  17136. }
  17137. }
  17138. },
  17139. "models.ErmcpAvalidGoodsGroupModel": {
  17140. "type": "object",
  17141. "properties": {
  17142. "goodsgroupid": {
  17143. "description": "期货品种id",
  17144. "type": "integer"
  17145. },
  17146. "goodsgroupname": {
  17147. "description": "期货品种名称",
  17148. "type": "string"
  17149. },
  17150. "goodunitid": {
  17151. "description": "品种单位id",
  17152. "type": "integer"
  17153. },
  17154. "goodunitname": {
  17155. "description": "品种单位名称",
  17156. "type": "string"
  17157. },
  17158. "outergroupcode": {
  17159. "description": "期货品种代码",
  17160. "type": "string"
  17161. }
  17162. }
  17163. },
  17164. "models.ErmcpBizGroupEx": {
  17165. "type": "object",
  17166. "properties": {
  17167. "acclist": {
  17168. "description": "账号列表",
  17169. "type": "array",
  17170. "items": {
  17171. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  17172. }
  17173. },
  17174. "bizgroupid": {
  17175. "description": "业务分组id",
  17176. "type": "integer"
  17177. },
  17178. "biztype": {
  17179. "description": "业务类型 1-套保 2-套利",
  17180. "type": "integer"
  17181. },
  17182. "wrlist": {
  17183. "description": "现货商品表",
  17184. "type": "array",
  17185. "items": {
  17186. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  17187. }
  17188. }
  17189. }
  17190. },
  17191. "models.ErmcpBizGroupSpotGoods": {
  17192. "type": "object",
  17193. "properties": {
  17194. "areauserid": {
  17195. "description": "所属机构id",
  17196. "type": "integer"
  17197. },
  17198. "bizgroupid": {
  17199. "description": "分组id",
  17200. "type": "integer"
  17201. },
  17202. "biztype": {
  17203. "description": "业务类型 1-套保 2-套利",
  17204. "type": "integer"
  17205. },
  17206. "deliverygoodscode": {
  17207. "description": "现货商品代码",
  17208. "type": "string"
  17209. },
  17210. "deliverygoodsid": {
  17211. "description": "现货商品id",
  17212. "type": "integer"
  17213. },
  17214. "deliverygoodsname": {
  17215. "description": "现货商品名称",
  17216. "type": "string"
  17217. },
  17218. "unitid": {
  17219. "description": "现货商品单位id",
  17220. "type": "integer"
  17221. }
  17222. }
  17223. },
  17224. "models.ErmcpBizGroupTaAccount": {
  17225. "type": "object",
  17226. "properties": {
  17227. "accountid": {
  17228. "description": "账号id",
  17229. "type": "integer"
  17230. },
  17231. "accountname": {
  17232. "description": "账号名称",
  17233. "type": "string"
  17234. },
  17235. "areauserid": {
  17236. "description": "所属机构id",
  17237. "type": "integer"
  17238. },
  17239. "bizgroupid": {
  17240. "description": "业务分组id",
  17241. "type": "integer"
  17242. },
  17243. "ismain": {
  17244. "description": "是否主账号 1-是 0-否",
  17245. "type": "integer"
  17246. }
  17247. }
  17248. },
  17249. "models.ErmcpDGFactoryItem": {
  17250. "type": "object",
  17251. "properties": {
  17252. "areauserid": {
  17253. "description": "用户id",
  17254. "type": "integer"
  17255. },
  17256. "deliverygoodsid": {
  17257. "description": "现货品种ID",
  17258. "type": "integer"
  17259. },
  17260. "dgfactoryitemid": {
  17261. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  17262. "type": "integer"
  17263. },
  17264. "dgfactoryitemtypeid": {
  17265. "description": "要素项类型",
  17266. "type": "integer"
  17267. },
  17268. "dgfactoryitemvalue": {
  17269. "description": "要素项值(类型为仓库时填写仓库名称)",
  17270. "type": "string"
  17271. },
  17272. "isvalid": {
  17273. "description": "是否有效 - 0:无效 1:有效",
  17274. "type": "integer"
  17275. },
  17276. "orderindex": {
  17277. "description": "顺序",
  17278. "type": "integer"
  17279. },
  17280. "warehouseid": {
  17281. "description": "仓库ID(类型为仓库时填写)",
  17282. "type": "integer"
  17283. }
  17284. }
  17285. },
  17286. "models.ErmcpDeliveryGoods": {
  17287. "type": "object",
  17288. "properties": {
  17289. "agreeunit": {
  17290. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  17291. "type": "integer"
  17292. },
  17293. "areauserid": {
  17294. "description": "所属机构",
  17295. "type": "integer"
  17296. },
  17297. "auditflag": {
  17298. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  17299. "type": "integer"
  17300. },
  17301. "categoryid": {
  17302. "description": "类别ID(SEQ_WRCATEGORY)",
  17303. "type": "integer"
  17304. },
  17305. "deliverygoodscode": {
  17306. "description": "现货品种代码",
  17307. "type": "string"
  17308. },
  17309. "deliverygoodsid": {
  17310. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  17311. "type": "integer"
  17312. },
  17313. "deliverygoodsname": {
  17314. "description": "现货品种名称",
  17315. "type": "string"
  17316. },
  17317. "deliverygoodstype": {
  17318. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  17319. "type": "integer"
  17320. },
  17321. "dgstatus": {
  17322. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  17323. "type": "integer"
  17324. },
  17325. "enumdicname": {
  17326. "description": "现货品种单位名称",
  17327. "type": "string"
  17328. },
  17329. "goodsunitid": {
  17330. "description": "现货品种单位ID",
  17331. "type": "integer"
  17332. },
  17333. "isvalid": {
  17334. "description": "是否有效 - 0:无效 1:有效",
  17335. "type": "integer"
  17336. },
  17337. "qtydecimalplace": {
  17338. "description": "成交量小数位",
  17339. "type": "integer"
  17340. },
  17341. "remark": {
  17342. "description": "备注",
  17343. "type": "string"
  17344. },
  17345. "standardqty": {
  17346. "description": "标准数量(库位数量) [标准品特有]",
  17347. "type": "integer"
  17348. },
  17349. "standardqtyrange": {
  17350. "description": "标准数量偏差范围 [标准品特有]",
  17351. "type": "integer"
  17352. }
  17353. }
  17354. },
  17355. "models.ErmcpDeliveryGoodsDetail2": {
  17356. "type": "object",
  17357. "properties": {
  17358. "convertratio": {
  17359. "description": "套保系数(折算系数)",
  17360. "type": "number"
  17361. },
  17362. "data": {
  17363. "description": "现货商品基本信息(交割品种)",
  17364. "type": "object",
  17365. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17366. },
  17367. "gblist": {
  17368. "description": "品牌列表",
  17369. "type": "array",
  17370. "items": {
  17371. "$ref": "#/definitions/models.Ermcp3Brand"
  17372. }
  17373. },
  17374. "gmlist": {
  17375. "description": "品类列表(仓单标准)",
  17376. "type": "array",
  17377. "items": {
  17378. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17379. }
  17380. }
  17381. }
  17382. },
  17383. "models.ErmcpDeliveryGoodsDetailEx": {
  17384. "type": "object",
  17385. "properties": {
  17386. "data": {
  17387. "description": "现货商品基本信息(交割品种)",
  17388. "type": "object",
  17389. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17390. },
  17391. "gblist": {
  17392. "description": "品牌列表",
  17393. "type": "array",
  17394. "items": {
  17395. "$ref": "#/definitions/models.Ermcp3Brand"
  17396. }
  17397. },
  17398. "gmlist": {
  17399. "description": "品类列表(仓单标准)",
  17400. "type": "array",
  17401. "items": {
  17402. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17403. }
  17404. },
  17405. "mgList": {
  17406. "description": "套保列表",
  17407. "type": "array",
  17408. "items": {
  17409. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  17410. }
  17411. }
  17412. }
  17413. },
  17414. "models.ErmcpExposureDetailModel": {
  17415. "type": "object",
  17416. "properties": {
  17417. "areauserid": {
  17418. "description": "机构ID",
  17419. "type": "integer"
  17420. },
  17421. "changeQty": {
  17422. "description": "套保变动量",
  17423. "type": "number"
  17424. },
  17425. "contracttype": {
  17426. "description": "现货合同类型 - 1:采购 -1:销售",
  17427. "type": "integer"
  17428. },
  17429. "convertfactor": {
  17430. "description": "标仓系数",
  17431. "type": "number"
  17432. },
  17433. "convertratio": {
  17434. "description": "套保系数",
  17435. "type": "number"
  17436. },
  17437. "createtime": {
  17438. "description": "时间",
  17439. "type": "string"
  17440. },
  17441. "enumdicname": {
  17442. "description": "现货商品单位名称",
  17443. "type": "string"
  17444. },
  17445. "logtype": {
  17446. "description": "类型 - 1:套保计划 2:现货合同",
  17447. "type": "integer"
  17448. },
  17449. "middlegoodsId": {
  17450. "description": "套保商品id",
  17451. "type": "integer"
  17452. },
  17453. "middlegoodscode": {
  17454. "description": "套保商品代码",
  17455. "type": "string"
  17456. },
  17457. "middlegoodsname": {
  17458. "description": "套保商品名称",
  17459. "type": "string"
  17460. },
  17461. "qty": {
  17462. "description": "数量",
  17463. "type": "number"
  17464. },
  17465. "relateNo": {
  17466. "description": "现货合同/套保计划编号",
  17467. "type": "string"
  17468. },
  17469. "wrstandardcode": {
  17470. "description": "现货商品代码",
  17471. "type": "string"
  17472. },
  17473. "wrstandardid": {
  17474. "description": "现货商品ID",
  17475. "type": "integer"
  17476. },
  17477. "wrstandardname": {
  17478. "description": "现货商品名称",
  17479. "type": "string"
  17480. }
  17481. }
  17482. },
  17483. "models.ErmcpExposurePostion": {
  17484. "type": "object",
  17485. "properties": {
  17486. "agreeunit": {
  17487. "description": "合约单位",
  17488. "type": "string"
  17489. },
  17490. "areauserid": {
  17491. "description": "所属机构id",
  17492. "type": "integer"
  17493. },
  17494. "convertratio": {
  17495. "description": "期货品种系数(折算系数)",
  17496. "type": "number"
  17497. },
  17498. "curqty": {
  17499. "description": "当前持仓",
  17500. "type": "integer"
  17501. },
  17502. "diffhedgeqty": {
  17503. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17504. "type": "number"
  17505. },
  17506. "diffqty": {
  17507. "description": "持仓变动量=当前持仓-昨日持仓",
  17508. "type": "integer"
  17509. },
  17510. "goodscode": {
  17511. "description": "商品代码",
  17512. "type": "string"
  17513. },
  17514. "goodsid": {
  17515. "description": "商品id",
  17516. "type": "integer"
  17517. },
  17518. "goodsname": {
  17519. "description": "商品名称",
  17520. "type": "string"
  17521. },
  17522. "middlegoodsid": {
  17523. "description": "套保商品id",
  17524. "type": "integer"
  17525. },
  17526. "ydqty": {
  17527. "description": "昨日持仓",
  17528. "type": "integer"
  17529. }
  17530. }
  17531. },
  17532. "models.ErmcpFuturesCompany": {
  17533. "type": "object",
  17534. "properties": {
  17535. "brokerid": {
  17536. "description": "经纪公司代码",
  17537. "type": "string"
  17538. },
  17539. "channeladdress": {
  17540. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  17541. "type": "string"
  17542. },
  17543. "channelid": {
  17544. "description": "对冲渠道ID",
  17545. "type": "string"
  17546. },
  17547. "createtime": {
  17548. "description": "创建时间",
  17549. "type": "string"
  17550. },
  17551. "creatorid": {
  17552. "description": "创建人",
  17553. "type": "string"
  17554. },
  17555. "fcid": {
  17556. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  17557. "type": "integer"
  17558. },
  17559. "fcname": {
  17560. "description": "期货公司名称",
  17561. "type": "string"
  17562. },
  17563. "isvalid": {
  17564. "description": "是否有效 - 0:无效 1:有效",
  17565. "type": "integer"
  17566. },
  17567. "mhpaddress": {
  17568. "description": "MHP服务地址(IP:Port)",
  17569. "type": "string"
  17570. },
  17571. "riskrulegroupid": {
  17572. "description": "风控规则组ID",
  17573. "type": "string"
  17574. },
  17575. "tradefeetmpid": {
  17576. "description": "手续费模板ID[TradeConfigTmpType为2]",
  17577. "type": "string"
  17578. },
  17579. "trademargintmpid": {
  17580. "description": "保证金模板ID [TradeConfigTmpType为1]",
  17581. "type": "string"
  17582. },
  17583. "traderatetmpid": {
  17584. "description": "汇率模板ID[TradeConfigTmpType为3]",
  17585. "type": "string"
  17586. },
  17587. "updatetime": {
  17588. "description": "更新时间",
  17589. "type": "string"
  17590. },
  17591. "updatorid": {
  17592. "description": "更新人",
  17593. "type": "string"
  17594. }
  17595. }
  17596. },
  17597. "models.ErmcpGGConvertCfg": {
  17598. "type": "object",
  17599. "properties": {
  17600. "convertratio": {
  17601. "description": "折算系数",
  17602. "type": "number"
  17603. },
  17604. "destgoodsgroupid": {
  17605. "description": "目标品种ID",
  17606. "type": "integer"
  17607. },
  17608. "dstcode": {
  17609. "description": "目录品种代码",
  17610. "type": "string"
  17611. },
  17612. "dstexchangecode": {
  17613. "description": "目标期货交易所",
  17614. "type": "string"
  17615. },
  17616. "dstname": {
  17617. "description": "目标品种名称",
  17618. "type": "string"
  17619. },
  17620. "dstunitid": {
  17621. "description": "目标品种单位ID",
  17622. "type": "integer"
  17623. },
  17624. "dstunitidname": {
  17625. "description": "目标品种单位名称",
  17626. "type": "string"
  17627. },
  17628. "modifytime": {
  17629. "description": "修改时间",
  17630. "type": "string"
  17631. },
  17632. "srccode": {
  17633. "description": "源品种代码",
  17634. "type": "string"
  17635. },
  17636. "srcexchangecode": {
  17637. "description": "源期货交易所",
  17638. "type": "string"
  17639. },
  17640. "srcgoodsgroupid": {
  17641. "description": "源品种ID",
  17642. "type": "integer"
  17643. },
  17644. "srcname": {
  17645. "description": "源品种名称",
  17646. "type": "string"
  17647. },
  17648. "srcunitid": {
  17649. "description": "源品种单位ID",
  17650. "type": "integer"
  17651. },
  17652. "srcunitidname": {
  17653. "description": "源品种单位名称",
  17654. "type": "string"
  17655. }
  17656. }
  17657. },
  17658. "models.ErmcpGoods": {
  17659. "type": "object",
  17660. "required": [
  17661. "goodscode",
  17662. "goodsid",
  17663. "goodsname",
  17664. "marketid"
  17665. ],
  17666. "properties": {
  17667. "agreeunit": {
  17668. "description": "合约单位",
  17669. "type": "number"
  17670. },
  17671. "areauserid": {
  17672. "description": "所属机构",
  17673. "type": "integer"
  17674. },
  17675. "auditaccountid": {
  17676. "description": "审核操作员账号",
  17677. "type": "integer"
  17678. },
  17679. "audittime": {
  17680. "description": "审核时间",
  17681. "type": "string"
  17682. },
  17683. "cancelaccountid": {
  17684. "description": "注销操作员账号",
  17685. "type": "integer"
  17686. },
  17687. "canceltime": {
  17688. "description": "注销时间",
  17689. "type": "string"
  17690. },
  17691. "closepricemode": {
  17692. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17693. "type": "integer"
  17694. },
  17695. "closepriceparam": {
  17696. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17697. "type": "number"
  17698. },
  17699. "createtime": {
  17700. "description": "创建时间",
  17701. "type": "string"
  17702. },
  17703. "creatorid": {
  17704. "description": "创建人",
  17705. "type": "integer"
  17706. },
  17707. "currencyid": {
  17708. "description": "报价货币ID",
  17709. "type": "integer"
  17710. },
  17711. "cutmode": {
  17712. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17713. "type": "integer"
  17714. },
  17715. "decimalplace": {
  17716. "description": "报价小数位",
  17717. "type": "integer"
  17718. },
  17719. "delistingdate": {
  17720. "description": "商品退市时间(状态:退市) -- 已作废",
  17721. "type": "string"
  17722. },
  17723. "delistingmode": {
  17724. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17725. "type": "integer"
  17726. },
  17727. "deliveryflag": {
  17728. "description": "交割标志 - 0:不可交割 1:可交割",
  17729. "type": "integer"
  17730. },
  17731. "enumdicname": {
  17732. "description": "单位名称",
  17733. "type": "string"
  17734. },
  17735. "forceclosemode": {
  17736. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17737. "type": "integer"
  17738. },
  17739. "forceclosevalue": {
  17740. "description": "定期强平参数 [收益权]",
  17741. "type": "integer"
  17742. },
  17743. "goodscode": {
  17744. "description": "商品代码(内部)",
  17745. "type": "string"
  17746. },
  17747. "goodscurrencyid": {
  17748. "description": "合约货币ID",
  17749. "type": "integer"
  17750. },
  17751. "goodsgroupid": {
  17752. "description": "所属商品组ID",
  17753. "type": "integer"
  17754. },
  17755. "goodsid": {
  17756. "description": "商品ID(自增ID SEQ_GOODS)",
  17757. "type": "integer"
  17758. },
  17759. "goodsname": {
  17760. "description": "商品名称",
  17761. "type": "string"
  17762. },
  17763. "goodsquotetype": {
  17764. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17765. "type": "integer"
  17766. },
  17767. "goodsstatus": {
  17768. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17769. "type": "integer"
  17770. },
  17771. "goodstradetype": {
  17772. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17773. "type": "integer"
  17774. },
  17775. "goodunitid": {
  17776. "description": "报价单位ID",
  17777. "type": "integer"
  17778. },
  17779. "hasquoter": {
  17780. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17781. "type": "integer"
  17782. },
  17783. "hqprotecttime": {
  17784. "description": "行情保护时间(秒)",
  17785. "type": "integer"
  17786. },
  17787. "innerdealmode": {
  17788. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17789. "type": "integer"
  17790. },
  17791. "isbuylimited": {
  17792. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17793. "type": "integer"
  17794. },
  17795. "isvisible": {
  17796. "description": "游客是否可见 - 0:不可见 1:可见",
  17797. "type": "integer"
  17798. },
  17799. "lasttradedate": {
  17800. "description": "最后交易日期(状态:待退市)",
  17801. "type": "string"
  17802. },
  17803. "listingdate": {
  17804. "description": "交易开始日期",
  17805. "type": "string"
  17806. },
  17807. "marketid": {
  17808. "description": "所属市场ID",
  17809. "type": "integer"
  17810. },
  17811. "modifierid": {
  17812. "description": "修改人",
  17813. "type": "integer"
  17814. },
  17815. "modifystatus": {
  17816. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17817. "type": "integer"
  17818. },
  17819. "modifytime": {
  17820. "description": "修改时间",
  17821. "type": "string"
  17822. },
  17823. "outerdealmode": {
  17824. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17825. "type": "integer"
  17826. },
  17827. "outgoodscode": {
  17828. "description": "商品代码(外部)",
  17829. "type": "string"
  17830. },
  17831. "pictureurl": {
  17832. "description": "商品图片",
  17833. "type": "string"
  17834. },
  17835. "qtydecimalplace": {
  17836. "description": "成交量小数位",
  17837. "type": "integer"
  17838. },
  17839. "quotegear": {
  17840. "description": "行情档位(1-10)",
  17841. "type": "integer"
  17842. },
  17843. "quoteminunit": {
  17844. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17845. "type": "integer"
  17846. },
  17847. "quoteshowtype": {
  17848. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17849. "type": "integer"
  17850. },
  17851. "quoteshowtypeinterval": {
  17852. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17853. "type": "integer"
  17854. },
  17855. "relatedgoodsid": {
  17856. "description": "关联参考商品ID",
  17857. "type": "integer"
  17858. },
  17859. "remark": {
  17860. "description": "备注",
  17861. "type": "string"
  17862. },
  17863. "trademode": {
  17864. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17865. "type": "integer"
  17866. }
  17867. }
  17868. },
  17869. "models.ErmcpGoodsBrand": {
  17870. "type": "object",
  17871. "properties": {
  17872. "areauserid": {
  17873. "description": "所属机构",
  17874. "type": "integer"
  17875. },
  17876. "brandid": {
  17877. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  17878. "type": "integer"
  17879. },
  17880. "brandname": {
  17881. "description": "品牌名称",
  17882. "type": "string"
  17883. },
  17884. "createtime": {
  17885. "description": "创建时间",
  17886. "type": "string"
  17887. },
  17888. "creatorid": {
  17889. "description": "创建人",
  17890. "type": "integer"
  17891. },
  17892. "creatorsrc": {
  17893. "description": "创建人来源 - 1:管理端 2:终端",
  17894. "type": "integer"
  17895. },
  17896. "deliverygoodsid": {
  17897. "description": "现货品种ID",
  17898. "type": "integer"
  17899. },
  17900. "isvalid": {
  17901. "description": "是否有效 - 0:无效 1:有效",
  17902. "type": "integer"
  17903. },
  17904. "updatetime": {
  17905. "description": "更新时间",
  17906. "type": "string"
  17907. },
  17908. "updatorid": {
  17909. "description": "更新人",
  17910. "type": "integer"
  17911. },
  17912. "updatorsrc": {
  17913. "description": "更新人来源 - 1:管理端 2:终端",
  17914. "type": "integer"
  17915. },
  17916. "wrstandardid": {
  17917. "description": "现货商品ID",
  17918. "type": "integer"
  17919. }
  17920. }
  17921. },
  17922. "models.ErmcpGoodsModel": {
  17923. "type": "object",
  17924. "properties": {
  17925. "areauserid": {
  17926. "description": "所属机构",
  17927. "type": "integer"
  17928. },
  17929. "convertfactor": {
  17930. "description": "标仓系数",
  17931. "type": "number"
  17932. },
  17933. "createtime": {
  17934. "description": "创建时间",
  17935. "type": "string"
  17936. },
  17937. "creatorid": {
  17938. "description": "创建人",
  17939. "type": "integer"
  17940. },
  17941. "creatorsrc": {
  17942. "description": "创建人来源 - 1:管理端 2:终端",
  17943. "type": "integer"
  17944. },
  17945. "deliverygoodsid": {
  17946. "description": "现货品种ID",
  17947. "type": "integer"
  17948. },
  17949. "isvalid": {
  17950. "description": "是否有效 - 0:无效 1:有效",
  17951. "type": "integer"
  17952. },
  17953. "modelid": {
  17954. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17955. "type": "integer"
  17956. },
  17957. "modelname": {
  17958. "description": "型号名称",
  17959. "type": "string"
  17960. },
  17961. "updatetime": {
  17962. "description": "更新时间",
  17963. "type": "string"
  17964. },
  17965. "updatorid": {
  17966. "description": "更新人",
  17967. "type": "integer"
  17968. },
  17969. "updatorsrc": {
  17970. "description": "更新人来源 - 1:管理端 2:终端",
  17971. "type": "integer"
  17972. },
  17973. "wrstandardid": {
  17974. "description": "现货商品ID",
  17975. "type": "integer"
  17976. }
  17977. }
  17978. },
  17979. "models.ErmcpHedgePosition": {
  17980. "type": "object",
  17981. "properties": {
  17982. "accountid": {
  17983. "description": "资金账号[外部母账户]",
  17984. "type": "integer"
  17985. },
  17986. "curbuyposition": {
  17987. "description": "期末买头寸",
  17988. "type": "integer"
  17989. },
  17990. "cursellposition": {
  17991. "description": "期末卖头寸",
  17992. "type": "integer"
  17993. },
  17994. "curtdbuyposition": {
  17995. "description": "期末今日买头寸",
  17996. "type": "integer"
  17997. },
  17998. "curtdsellposition": {
  17999. "description": "期末今日卖头寸",
  18000. "type": "integer"
  18001. },
  18002. "curydbuyposition": {
  18003. "description": "期末上日买头寸",
  18004. "type": "integer"
  18005. },
  18006. "curydsellposition": {
  18007. "description": "期末上日卖头寸",
  18008. "type": "integer"
  18009. },
  18010. "decreaseqty": {
  18011. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18012. "type": "integer"
  18013. },
  18014. "fretdbuyposition": {
  18015. "description": "冻结今日买头寸",
  18016. "type": "integer"
  18017. },
  18018. "fretdsellposition": {
  18019. "description": "冻结今日卖头寸",
  18020. "type": "integer"
  18021. },
  18022. "freydbuyposition": {
  18023. "description": "冻结上日买头寸",
  18024. "type": "integer"
  18025. },
  18026. "freydsellposition": {
  18027. "description": "冻结上日卖头寸",
  18028. "type": "integer"
  18029. },
  18030. "goodscode": {
  18031. "description": "商品代码",
  18032. "type": "string"
  18033. },
  18034. "goodsid": {
  18035. "description": "商品id",
  18036. "type": "integer"
  18037. },
  18038. "goodsname": {
  18039. "description": "商品名称",
  18040. "type": "string"
  18041. },
  18042. "hedgeaccountcode": {
  18043. "description": "对冲账号",
  18044. "type": "string"
  18045. },
  18046. "hedgegoodsid": {
  18047. "description": "对冲合约ID",
  18048. "type": "integer"
  18049. },
  18050. "increaseqty": {
  18051. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18052. "type": "integer"
  18053. },
  18054. "marketid": {
  18055. "description": "市场ID",
  18056. "type": "integer"
  18057. },
  18058. "relateduserid": {
  18059. "description": "关联用户id",
  18060. "type": "integer"
  18061. },
  18062. "totalcurqty": {
  18063. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18064. "type": "integer"
  18065. },
  18066. "totalydqty": {
  18067. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18068. "type": "integer"
  18069. },
  18070. "tradedate": {
  18071. "description": "交易日(yyyyMMdd)",
  18072. "type": "string"
  18073. },
  18074. "ydbuyposition": {
  18075. "description": "期初买头寸",
  18076. "type": "integer"
  18077. },
  18078. "ydsellposition": {
  18079. "description": "期初卖头寸",
  18080. "type": "integer"
  18081. }
  18082. }
  18083. },
  18084. "models.ErmcpHedgePositionDetail": {
  18085. "type": "object",
  18086. "properties": {
  18087. "buyorsell": {
  18088. "description": "买卖方向 0-买 1-卖",
  18089. "type": "integer"
  18090. },
  18091. "channelbuildtype": {
  18092. "description": "开平方向 1-建仓 2-平仓",
  18093. "type": "integer"
  18094. },
  18095. "goodscode": {
  18096. "description": "商品代码",
  18097. "type": "string"
  18098. },
  18099. "goodsname": {
  18100. "description": "商品名称",
  18101. "type": "string"
  18102. },
  18103. "hedgegoodsid": {
  18104. "description": "商品id",
  18105. "type": "integer"
  18106. },
  18107. "tradeqty": {
  18108. "description": "数量(成交数量)",
  18109. "type": "integer"
  18110. },
  18111. "tradetime": {
  18112. "description": "时间(成交时间)",
  18113. "type": "string"
  18114. }
  18115. }
  18116. },
  18117. "models.ErmcpHisExposure": {
  18118. "type": "object",
  18119. "properties": {
  18120. "needhedgeexposoure": {
  18121. "description": "应套保敞口",
  18122. "type": "number"
  18123. },
  18124. "reckondate": {
  18125. "description": "日照时期(yyyyMMdd)",
  18126. "type": "string"
  18127. },
  18128. "totalexposure": {
  18129. "description": "总敞口",
  18130. "type": "number"
  18131. }
  18132. }
  18133. },
  18134. "models.ErmcpHisExposureS": {
  18135. "type": "object",
  18136. "properties": {
  18137. "data": {
  18138. "description": "历史敞口",
  18139. "type": "array",
  18140. "items": {
  18141. "$ref": "#/definitions/models.ErmcpHisExposure"
  18142. }
  18143. },
  18144. "enumdicname": {
  18145. "description": "单位名称",
  18146. "type": "string"
  18147. },
  18148. "middlegoodscode": {
  18149. "description": "套保品种代码",
  18150. "type": "string"
  18151. },
  18152. "middlegoodsid": {
  18153. "description": "套保品种ID",
  18154. "type": "integer"
  18155. },
  18156. "middlegoodsname": {
  18157. "description": "套保品种名称",
  18158. "type": "string"
  18159. }
  18160. }
  18161. },
  18162. "models.ErmcpLoginTaAccount": {
  18163. "type": "object",
  18164. "properties": {
  18165. "accountid": {
  18166. "description": "账号id",
  18167. "type": "integer"
  18168. },
  18169. "accountname": {
  18170. "description": "账号名称",
  18171. "type": "string"
  18172. }
  18173. }
  18174. },
  18175. "models.ErmcpLoginUser": {
  18176. "type": "object",
  18177. "properties": {
  18178. "acclist": {
  18179. "description": "关联资金账号",
  18180. "type": "array",
  18181. "items": {
  18182. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  18183. }
  18184. },
  18185. "accountname": {
  18186. "description": "用户名称",
  18187. "type": "string"
  18188. },
  18189. "clientroleid": {
  18190. "description": "角色id(usertype=2)",
  18191. "type": "integer"
  18192. },
  18193. "createtime": {
  18194. "description": "创建时间",
  18195. "type": "string"
  18196. },
  18197. "logincode": {
  18198. "description": "登录代码",
  18199. "type": "string"
  18200. },
  18201. "loginid": {
  18202. "description": "登录id(LOGINID)",
  18203. "type": "integer"
  18204. },
  18205. "loginname": {
  18206. "description": "登录名称(loginaccount表中的accountname字段)",
  18207. "type": "string"
  18208. },
  18209. "loginstatus": {
  18210. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  18211. "type": "integer"
  18212. },
  18213. "memberuserid": {
  18214. "description": "所属会员id",
  18215. "type": "integer"
  18216. },
  18217. "mobile": {
  18218. "description": "手机号",
  18219. "type": "string"
  18220. },
  18221. "modifytime": {
  18222. "description": "修改时间",
  18223. "type": "string"
  18224. },
  18225. "password": {
  18226. "description": "密码(不可解密)",
  18227. "type": "string"
  18228. },
  18229. "rolename": {
  18230. "description": "角色名称",
  18231. "type": "string"
  18232. },
  18233. "rolestatus": {
  18234. "description": "角色状态 1-启用 2-停用",
  18235. "type": "integer"
  18236. },
  18237. "roletype": {
  18238. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  18239. "type": "string"
  18240. },
  18241. "userid": {
  18242. "description": "用户id",
  18243. "type": "integer"
  18244. },
  18245. "usertype": {
  18246. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18247. "type": "integer"
  18248. }
  18249. }
  18250. },
  18251. "models.ErmcpLoginUserEx": {
  18252. "type": "object",
  18253. "properties": {
  18254. "accountstatus": {
  18255. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18256. "type": "integer"
  18257. },
  18258. "mobile": {
  18259. "description": "手机号",
  18260. "type": "string"
  18261. },
  18262. "querytype": {
  18263. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  18264. "type": "integer"
  18265. },
  18266. "roleid": {
  18267. "description": "角色id(交易账户-\u003e用户id)",
  18268. "type": "integer"
  18269. },
  18270. "rolename": {
  18271. "description": "角色名称(交易账户-\u003e用户名称)",
  18272. "type": "string"
  18273. },
  18274. "userlist": {
  18275. "description": "用户列表",
  18276. "type": "array",
  18277. "items": {
  18278. "$ref": "#/definitions/models.ErmcpLoginUser"
  18279. }
  18280. },
  18281. "usertype": {
  18282. "description": "用户类型 2-机构 7-企业成员(云平台)",
  18283. "type": "integer"
  18284. }
  18285. }
  18286. },
  18287. "models.ErmcpMiddleGoodsChangeLog": {
  18288. "type": "object",
  18289. "properties": {
  18290. "aftervalue": {
  18291. "description": "变更后",
  18292. "type": "number"
  18293. },
  18294. "applyid": {
  18295. "description": "操作人",
  18296. "type": "integer"
  18297. },
  18298. "applyname": {
  18299. "description": "操作人名称",
  18300. "type": "string"
  18301. },
  18302. "applysrc": {
  18303. "description": "操作来源 - 1:管理端 2:终端",
  18304. "type": "integer"
  18305. },
  18306. "beforevalue": {
  18307. "description": "变更前",
  18308. "type": "number"
  18309. },
  18310. "changelogtype": {
  18311. "description": "变更流水类型 - 1:套保比率变更",
  18312. "type": "integer"
  18313. },
  18314. "handlestatus": {
  18315. "description": "处理状态",
  18316. "type": "integer"
  18317. },
  18318. "logdatetime": {
  18319. "description": "流水日期",
  18320. "type": "string"
  18321. },
  18322. "logid": {
  18323. "description": "流水ID",
  18324. "type": "integer"
  18325. },
  18326. "logremark": {
  18327. "description": "流水备注",
  18328. "type": "string"
  18329. },
  18330. "middlegoodsid": {
  18331. "description": "套保品种ID",
  18332. "type": "integer"
  18333. },
  18334. "tradedate": {
  18335. "description": "交易日(yyyyMMdd)",
  18336. "type": "string"
  18337. },
  18338. "updatetime": {
  18339. "description": "更新时间",
  18340. "type": "string"
  18341. }
  18342. }
  18343. },
  18344. "models.ErmcpMiddleGoodsDetail": {
  18345. "type": "object",
  18346. "properties": {
  18347. "cvList": {
  18348. "description": "期货品种折算列表",
  18349. "type": "array",
  18350. "items": {
  18351. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18352. }
  18353. },
  18354. "mg": {
  18355. "description": "套保品种基本信息",
  18356. "type": "object",
  18357. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18358. },
  18359. "wrcList": {
  18360. "description": "现货品种列表(现货商品折算配置)",
  18361. "type": "array",
  18362. "items": {
  18363. "$ref": "#/definitions/models.WRSConverTDetail"
  18364. }
  18365. }
  18366. }
  18367. },
  18368. "models.ErmcpMiddleGoodsModel": {
  18369. "type": "object",
  18370. "properties": {
  18371. "areauserid": {
  18372. "description": "机构用户ID",
  18373. "type": "integer"
  18374. },
  18375. "createtime": {
  18376. "description": "修改时间",
  18377. "type": "string"
  18378. },
  18379. "enumdicname": {
  18380. "description": "单位名称",
  18381. "type": "string"
  18382. },
  18383. "evaluateratio": {
  18384. "description": "估价系数",
  18385. "type": "number"
  18386. },
  18387. "goodsgroupid": {
  18388. "description": "关联期货品种ID",
  18389. "type": "integer"
  18390. },
  18391. "goodsunitid": {
  18392. "description": "单位ID",
  18393. "type": "integer"
  18394. },
  18395. "isvalid": {
  18396. "description": "状态 0-无效(停用) 1-有效(正常)",
  18397. "type": "integer"
  18398. },
  18399. "middlegoodscode": {
  18400. "description": "套保品种代码",
  18401. "type": "string"
  18402. },
  18403. "middlegoodsid": {
  18404. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18405. "type": "integer"
  18406. },
  18407. "middlegoodsname": {
  18408. "description": "套保品种名称",
  18409. "type": "string"
  18410. },
  18411. "modifytime": {
  18412. "description": "修改时间",
  18413. "type": "string"
  18414. },
  18415. "needarbitrageratio": {
  18416. "description": "套利比例",
  18417. "type": "number"
  18418. },
  18419. "needhedgeratio": {
  18420. "description": "套保比率",
  18421. "type": "number"
  18422. },
  18423. "qtydecimalplace": {
  18424. "description": "数量小数位",
  18425. "type": "integer"
  18426. },
  18427. "relatedgoodsid": {
  18428. "description": "关联交易商品ID",
  18429. "type": "integer"
  18430. },
  18431. "relatedgoodstype": {
  18432. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18433. "type": "integer"
  18434. },
  18435. "remark": {
  18436. "description": "备注",
  18437. "type": "string"
  18438. }
  18439. }
  18440. },
  18441. "models.ErmcpMiddlegoodsRelateGoods": {
  18442. "type": "object",
  18443. "properties": {
  18444. "agreeunit": {
  18445. "description": "合约乘数",
  18446. "type": "number"
  18447. },
  18448. "convertratio": {
  18449. "description": "折算系数",
  18450. "type": "number"
  18451. },
  18452. "enumdicname": {
  18453. "description": "单位名称(交易商品)",
  18454. "type": "string"
  18455. },
  18456. "goodscode": {
  18457. "description": "交易商品代码",
  18458. "type": "string"
  18459. },
  18460. "goodsgroupid": {
  18461. "description": "交易品种id",
  18462. "type": "integer"
  18463. },
  18464. "goodsid": {
  18465. "description": "商品Id",
  18466. "type": "integer"
  18467. },
  18468. "goodsname": {
  18469. "description": "交易商品名称",
  18470. "type": "string"
  18471. },
  18472. "goodunitid": {
  18473. "description": "交易商品单位id",
  18474. "type": "integer"
  18475. },
  18476. "middlegoodsid": {
  18477. "description": "套保商品id",
  18478. "type": "integer"
  18479. },
  18480. "middlegoodsname": {
  18481. "description": "套保商品名称",
  18482. "type": "string"
  18483. },
  18484. "middlegoodsswcode": {
  18485. "description": "套保商品代码",
  18486. "type": "string"
  18487. },
  18488. "needarbitrageratio": {
  18489. "description": "应套利比例",
  18490. "type": "number"
  18491. },
  18492. "needhedgeratio": {
  18493. "description": "应套保比例",
  18494. "type": "number"
  18495. }
  18496. }
  18497. },
  18498. "models.ErmcpOPLogModel": {
  18499. "type": "object",
  18500. "properties": {
  18501. "aftervalue": {
  18502. "description": "变更后",
  18503. "type": "number"
  18504. },
  18505. "applyid": {
  18506. "description": "操作人ID",
  18507. "type": "string"
  18508. },
  18509. "applyname": {
  18510. "description": "操作人名称",
  18511. "type": "string"
  18512. },
  18513. "beforevalue": {
  18514. "description": "变更前",
  18515. "type": "number"
  18516. },
  18517. "biztype": {
  18518. "description": "业务类型 - 1:套保计划 2:现货合同",
  18519. "type": "integer"
  18520. },
  18521. "contracttype": {
  18522. "description": "现货合同类型 - 1:采购 -1:销售",
  18523. "type": "integer"
  18524. },
  18525. "logvalue": {
  18526. "description": "数值",
  18527. "type": "number"
  18528. },
  18529. "operatelogtype": {
  18530. "description": "操作流水类型",
  18531. "type": "integer"
  18532. },
  18533. "operatelogtypedesc": {
  18534. "description": "操作流水类型名称",
  18535. "type": "string"
  18536. },
  18537. "relatedid": {
  18538. "description": "现货合同ID\\套保计划",
  18539. "type": "string"
  18540. },
  18541. "updatetime": {
  18542. "description": "更新时间",
  18543. "type": "string"
  18544. }
  18545. }
  18546. },
  18547. "models.ErmcpPendingAudit": {
  18548. "type": "object",
  18549. "properties": {
  18550. "areastockqty": {
  18551. "description": "待审核数量: 库存申请",
  18552. "type": "integer"
  18553. },
  18554. "businessdjqty": {
  18555. "description": "待审核数量: 点价",
  18556. "type": "integer"
  18557. },
  18558. "businessfpqty": {
  18559. "description": "待审核数量: 发票",
  18560. "type": "integer"
  18561. },
  18562. "businessjsqty": {
  18563. "description": "待审核数量: 结算",
  18564. "type": "integer"
  18565. },
  18566. "businesskxqty": {
  18567. "description": "待审核数量: 款项",
  18568. "type": "integer"
  18569. },
  18570. "hedgeplanqty": {
  18571. "description": "待审核数量: 套保计划",
  18572. "type": "integer"
  18573. },
  18574. "spotcontractqty": {
  18575. "description": "待审核数量: 现货合同",
  18576. "type": "integer"
  18577. },
  18578. "userqty": {
  18579. "description": "待审核数量: 用户",
  18580. "type": "integer"
  18581. }
  18582. }
  18583. },
  18584. "models.ErmcpRealExposureModel": {
  18585. "type": "object",
  18586. "properties": {
  18587. "AreaUserID": {
  18588. "description": "所属机构",
  18589. "type": "integer"
  18590. },
  18591. "BuyFutureQty": {
  18592. "description": "买入期货数量",
  18593. "type": "number"
  18594. },
  18595. "BuyPlanQty": {
  18596. "description": "采购计划数量",
  18597. "type": "number"
  18598. },
  18599. "BuyPricedQty": {
  18600. "description": "采购合同已定价数量",
  18601. "type": "number"
  18602. },
  18603. "MiddleGoodsCode": {
  18604. "description": "套保品种代码",
  18605. "type": "string"
  18606. },
  18607. "MiddleGoodsHedgeRatio": {
  18608. "description": "套保比例",
  18609. "type": "number"
  18610. },
  18611. "MiddleGoodsID": {
  18612. "description": "套保品种",
  18613. "type": "integer"
  18614. },
  18615. "MiddleGoodsName": {
  18616. "description": "套保品种名称",
  18617. "type": "string"
  18618. },
  18619. "NeedHedgeExposoure": {
  18620. "description": "应套保敞口(套保敞口)",
  18621. "type": "number"
  18622. },
  18623. "NeedHedgeRatio": {
  18624. "description": "应套保敞口比例",
  18625. "type": "number"
  18626. },
  18627. "OriBuyFutureQty": {
  18628. "description": "期初买入期货数量",
  18629. "type": "number"
  18630. },
  18631. "OriBuyPlanQty": {
  18632. "description": "期初采购计划数量",
  18633. "type": "number"
  18634. },
  18635. "OriBuyPricedQty": {
  18636. "description": "期初采购合同已定价数量",
  18637. "type": "number"
  18638. },
  18639. "OriSellFutureQty": {
  18640. "description": "期初卖出期货数量",
  18641. "type": "number"
  18642. },
  18643. "OriSellPlanQty": {
  18644. "description": "期初销售计划数量",
  18645. "type": "number"
  18646. },
  18647. "OriSellPricedQty": {
  18648. "description": "期初销售合同已定价数量",
  18649. "type": "number"
  18650. },
  18651. "SellFutureQty": {
  18652. "description": "卖出期货数量",
  18653. "type": "number"
  18654. },
  18655. "SellPlanQty": {
  18656. "description": "销售计划数量",
  18657. "type": "number"
  18658. },
  18659. "SellPricedQty": {
  18660. "description": "销售合同已定价数量",
  18661. "type": "number"
  18662. },
  18663. "TotalExposure": {
  18664. "description": "总敞口",
  18665. "type": "number"
  18666. },
  18667. "TotalFutureQty": {
  18668. "description": "期货总量",
  18669. "type": "number"
  18670. },
  18671. "TotalHedgeRatio": {
  18672. "description": "敞口比例",
  18673. "type": "number"
  18674. },
  18675. "TotalNeedHedgeQty": {
  18676. "description": "应套保总量(现货应套保总量)",
  18677. "type": "number"
  18678. },
  18679. "TotalSpotQty": {
  18680. "description": "现货总量",
  18681. "type": "number"
  18682. },
  18683. "arbitrageqty": {
  18684. "description": "套利量",
  18685. "type": "number"
  18686. },
  18687. "diffArbitrageQty": {
  18688. "description": "套利变动量",
  18689. "type": "number"
  18690. },
  18691. "diffExposoureQty": {
  18692. "description": "变动量(套保敞口)",
  18693. "type": "number"
  18694. },
  18695. "diffFutuQty": {
  18696. "description": "变动量(期货总量)",
  18697. "type": "number"
  18698. },
  18699. "diffHedgeQty": {
  18700. "description": "套保变动量",
  18701. "type": "number"
  18702. },
  18703. "diffQty": {
  18704. "description": "变动量(总敞口)",
  18705. "type": "number"
  18706. },
  18707. "diffSpotHedgeQty": {
  18708. "description": "变动量(现货应套保总量)",
  18709. "type": "number"
  18710. },
  18711. "diffSpotQty": {
  18712. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  18713. "type": "number"
  18714. },
  18715. "enumdicname": {
  18716. "description": "单位名称",
  18717. "type": "string"
  18718. },
  18719. "hedgeqty": {
  18720. "description": "套保量",
  18721. "type": "number"
  18722. },
  18723. "needarbitrageqty": {
  18724. "description": "应套利量",
  18725. "type": "number"
  18726. },
  18727. "needarbitrageratio": {
  18728. "description": "套利比例",
  18729. "type": "number"
  18730. },
  18731. "needhedgeqty": {
  18732. "description": "应套保量",
  18733. "type": "number"
  18734. },
  18735. "oriTotalFutuQty": {
  18736. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  18737. "type": "number"
  18738. },
  18739. "oriTotalSpotQty": {
  18740. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  18741. "type": "number"
  18742. },
  18743. "oriarbitrageqty": {
  18744. "description": "期初套利量",
  18745. "type": "number"
  18746. },
  18747. "orihedgeqty": {
  18748. "description": "期初套保量",
  18749. "type": "number"
  18750. },
  18751. "orineedhedgeexposoure": {
  18752. "description": "期初套保敞口",
  18753. "type": "number"
  18754. },
  18755. "oritotalexposure": {
  18756. "description": "期初总敞口",
  18757. "type": "number"
  18758. },
  18759. "oritotalfutureqty": {
  18760. "description": "期初期货总量",
  18761. "type": "number"
  18762. },
  18763. "oritotalneedhedgeqty": {
  18764. "description": "期初现货应套保量",
  18765. "type": "number"
  18766. }
  18767. }
  18768. },
  18769. "models.ErmcpRole": {
  18770. "type": "object",
  18771. "properties": {
  18772. "areauserid": {
  18773. "description": "所属机构",
  18774. "type": "integer"
  18775. },
  18776. "autoid": {
  18777. "description": "角色ID(自增ID)",
  18778. "type": "integer"
  18779. },
  18780. "modifierid": {
  18781. "description": "修改人(创建人)",
  18782. "type": "integer"
  18783. },
  18784. "modifiername": {
  18785. "description": "修改人名称",
  18786. "type": "string"
  18787. },
  18788. "modifytime": {
  18789. "description": "修改时间(创建时间)",
  18790. "type": "string"
  18791. },
  18792. "rolename": {
  18793. "description": "角色名称",
  18794. "type": "string"
  18795. },
  18796. "rolestatus": {
  18797. "description": "角色状态 - 1:启用 2:停用",
  18798. "type": "integer"
  18799. },
  18800. "roletype": {
  18801. "description": "角色类型 - 1- 管理端 2- 交易端",
  18802. "type": "integer"
  18803. }
  18804. }
  18805. },
  18806. "models.ErmcpRoleMenu": {
  18807. "type": "object",
  18808. "properties": {
  18809. "iconame": {
  18810. "description": "菜单图标",
  18811. "type": "string"
  18812. },
  18813. "ishadrole": {
  18814. "description": "是否有权限",
  18815. "type": "boolean"
  18816. },
  18817. "menutype": {
  18818. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18819. "type": "integer"
  18820. },
  18821. "parentcode": {
  18822. "description": "上级资源代码",
  18823. "type": "string"
  18824. },
  18825. "remark": {
  18826. "description": "菜单备注",
  18827. "type": "string"
  18828. },
  18829. "resourcecode": {
  18830. "description": "菜单代码",
  18831. "type": "string"
  18832. },
  18833. "resourcelevel": {
  18834. "description": "级别",
  18835. "type": "integer"
  18836. },
  18837. "resourcename": {
  18838. "description": "菜单名称",
  18839. "type": "string"
  18840. },
  18841. "roleid": {
  18842. "description": "角色id",
  18843. "type": "integer"
  18844. },
  18845. "sort": {
  18846. "description": "排序",
  18847. "type": "integer"
  18848. },
  18849. "url": {
  18850. "description": "URL",
  18851. "type": "string"
  18852. },
  18853. "userid": {
  18854. "description": "用户id",
  18855. "type": "integer"
  18856. }
  18857. }
  18858. },
  18859. "models.ErmcpRoleMenuEx": {
  18860. "type": "object",
  18861. "properties": {
  18862. "menu": {
  18863. "description": "父级菜单",
  18864. "type": "object",
  18865. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18866. },
  18867. "subMenu": {
  18868. "description": "子级菜单",
  18869. "type": "array",
  18870. "items": {
  18871. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  18872. }
  18873. }
  18874. }
  18875. },
  18876. "models.ErmcpTaAccount": {
  18877. "type": "object",
  18878. "properties": {
  18879. "accountid": {
  18880. "description": "账户id",
  18881. "type": "integer"
  18882. },
  18883. "accountname": {
  18884. "description": "账户名称",
  18885. "type": "string"
  18886. },
  18887. "currencyid": {
  18888. "description": "币种id",
  18889. "type": "integer"
  18890. },
  18891. "hedgeaccountcode": {
  18892. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18893. "type": "string"
  18894. },
  18895. "ismain": {
  18896. "description": "是否主账户 0-否 1-是",
  18897. "type": "integer"
  18898. },
  18899. "parentaccountid": {
  18900. "description": "父账户id",
  18901. "type": "integer"
  18902. },
  18903. "relateduserid": {
  18904. "description": "关联userid",
  18905. "type": "integer"
  18906. },
  18907. "tradefeetmpid": {
  18908. "description": "手续费模板id",
  18909. "type": "integer"
  18910. },
  18911. "tradefeetmpname": {
  18912. "description": "手续费模板名称",
  18913. "type": "string"
  18914. },
  18915. "trademargintmpid": {
  18916. "description": "保证金模板id",
  18917. "type": "integer"
  18918. },
  18919. "trademargintmpname": {
  18920. "description": "保证金模板名称",
  18921. "type": "string"
  18922. },
  18923. "traderatetmpid": {
  18924. "description": "汇率模板id",
  18925. "type": "integer"
  18926. },
  18927. "traderatetmpname": {
  18928. "description": "汇率模板名称",
  18929. "type": "string"
  18930. },
  18931. "tradestatus": {
  18932. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18933. "type": "integer"
  18934. },
  18935. "userid": {
  18936. "description": "用户id",
  18937. "type": "integer"
  18938. }
  18939. }
  18940. },
  18941. "models.ErmcpTaAccountEx": {
  18942. "type": "object",
  18943. "properties": {
  18944. "mainAcc": {
  18945. "description": "主账号",
  18946. "type": "object",
  18947. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18948. },
  18949. "subacclist": {
  18950. "description": "子账号列表",
  18951. "type": "array",
  18952. "items": {
  18953. "$ref": "#/definitions/models.ErmcpTaAccount"
  18954. }
  18955. }
  18956. }
  18957. },
  18958. "models.ErmcpTaAccountInfo": {
  18959. "type": "object",
  18960. "properties": {
  18961. "accountid": {
  18962. "description": "资金账户ID",
  18963. "type": "integer"
  18964. },
  18965. "accountname": {
  18966. "description": "账户名称",
  18967. "type": "string"
  18968. },
  18969. "balance": {
  18970. "description": "期初余额",
  18971. "type": "number"
  18972. },
  18973. "capitalbalance": {
  18974. "description": "本金余额[外部子账户实际出入金余额]",
  18975. "type": "number"
  18976. },
  18977. "closepl": {
  18978. "description": "今日平仓盈亏",
  18979. "type": "number"
  18980. },
  18981. "creditdecrease": {
  18982. "description": "今日授信减少",
  18983. "type": "number"
  18984. },
  18985. "creditincrease": {
  18986. "description": "今日授信增加",
  18987. "type": "number"
  18988. },
  18989. "curdebt": {
  18990. "description": "期末欠款",
  18991. "type": "number"
  18992. },
  18993. "currencyid": {
  18994. "description": "货币ID",
  18995. "type": "integer"
  18996. },
  18997. "currentbalance": {
  18998. "description": "期末余额",
  18999. "type": "number"
  19000. },
  19001. "freezecharge": {
  19002. "description": "手续费冻结",
  19003. "type": "number"
  19004. },
  19005. "freezemargin": {
  19006. "description": "冻结保证金",
  19007. "type": "number"
  19008. },
  19009. "fromaccountid": {
  19010. "description": "所属上级账户",
  19011. "type": "integer"
  19012. },
  19013. "inamount": {
  19014. "description": "今日入金金额(包括三方入金)",
  19015. "type": "number"
  19016. },
  19017. "ismain": {
  19018. "description": "是否母账号 0:不是母账户 1:是母账户",
  19019. "type": "integer"
  19020. },
  19021. "mortgagecredit": {
  19022. "description": "授信金额",
  19023. "type": "number"
  19024. },
  19025. "oridebt": {
  19026. "description": "期初欠款",
  19027. "type": "number"
  19028. },
  19029. "orifreezecharge": {
  19030. "description": "期初手续费冻结",
  19031. "type": "number"
  19032. },
  19033. "orifreezemargin": {
  19034. "description": "期初冻结保证金",
  19035. "type": "number"
  19036. },
  19037. "orimortgagecredit": {
  19038. "description": "期初授信金额",
  19039. "type": "number"
  19040. },
  19041. "oriothercredit": {
  19042. "description": "期初其它授信金额",
  19043. "type": "number"
  19044. },
  19045. "oriotherfreezemargin": {
  19046. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19047. "type": "number"
  19048. },
  19049. "orioutamountfreeze": {
  19050. "description": "期初出金冻结",
  19051. "type": "number"
  19052. },
  19053. "oriusedmargin": {
  19054. "description": "期初占用保证金",
  19055. "type": "number"
  19056. },
  19057. "othercredit": {
  19058. "description": "其它授信金额",
  19059. "type": "number"
  19060. },
  19061. "othercreditdecrease": {
  19062. "description": "今日其它授信减少",
  19063. "type": "number"
  19064. },
  19065. "othercreditincrease": {
  19066. "description": "今日其它授信增加",
  19067. "type": "number"
  19068. },
  19069. "otherfreezemargin": {
  19070. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19071. "type": "number"
  19072. },
  19073. "outamount": {
  19074. "description": "今日出金金额(包括三方出金)",
  19075. "type": "number"
  19076. },
  19077. "outamountfreeze": {
  19078. "description": "出金冻结",
  19079. "type": "number"
  19080. },
  19081. "outthreshold": {
  19082. "description": "出金阈值",
  19083. "type": "number"
  19084. },
  19085. "parentaccountid": {
  19086. "description": "所属根账号",
  19087. "type": "integer"
  19088. },
  19089. "paycharge": {
  19090. "description": "今日手续费支出",
  19091. "type": "number"
  19092. },
  19093. "relateduserid": {
  19094. "description": "关联用户",
  19095. "type": "integer"
  19096. },
  19097. "signstatus": {
  19098. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19099. "type": "integer"
  19100. },
  19101. "sublevelpath": {
  19102. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19103. "type": "string"
  19104. },
  19105. "taaccounttype": {
  19106. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19107. "type": "integer"
  19108. },
  19109. "thirdinamount": {
  19110. "description": "今日三方入金",
  19111. "type": "number"
  19112. },
  19113. "thirdoutamount": {
  19114. "description": "今日三方出金",
  19115. "type": "number"
  19116. },
  19117. "tradestatus": {
  19118. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19119. "type": "integer"
  19120. },
  19121. "transferamount": {
  19122. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19123. "type": "number"
  19124. },
  19125. "usedmargin": {
  19126. "description": "占用保证金",
  19127. "type": "number"
  19128. },
  19129. "userid": {
  19130. "description": "用户ID",
  19131. "type": "integer"
  19132. }
  19133. }
  19134. },
  19135. "models.ErmcpTaAccountM": {
  19136. "type": "object",
  19137. "properties": {
  19138. "accountid": {
  19139. "description": "账户id",
  19140. "type": "integer"
  19141. },
  19142. "accountname": {
  19143. "description": "账户名称",
  19144. "type": "string"
  19145. },
  19146. "currencyid": {
  19147. "description": "币种id",
  19148. "type": "integer"
  19149. },
  19150. "fcid": {
  19151. "description": "期货公司id",
  19152. "type": "integer"
  19153. },
  19154. "fcname": {
  19155. "description": "期货公司代码",
  19156. "type": "string"
  19157. },
  19158. "hedgeaccountcode": {
  19159. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19160. "type": "string"
  19161. },
  19162. "ismain": {
  19163. "description": "是否主账户 0-否 1-是",
  19164. "type": "integer"
  19165. },
  19166. "parentaccountid": {
  19167. "description": "父账户id",
  19168. "type": "integer"
  19169. },
  19170. "relateduserid": {
  19171. "description": "关联userid",
  19172. "type": "integer"
  19173. },
  19174. "tradefeetmpid": {
  19175. "description": "手续费模板id",
  19176. "type": "integer"
  19177. },
  19178. "tradefeetmpname": {
  19179. "description": "手续费模板名称",
  19180. "type": "string"
  19181. },
  19182. "trademargintmpid": {
  19183. "description": "保证金模板id",
  19184. "type": "integer"
  19185. },
  19186. "trademargintmpname": {
  19187. "description": "保证金模板名称",
  19188. "type": "string"
  19189. },
  19190. "traderatetmpid": {
  19191. "description": "汇率模板id",
  19192. "type": "integer"
  19193. },
  19194. "traderatetmpname": {
  19195. "description": "汇率模板名称",
  19196. "type": "string"
  19197. },
  19198. "tradestatus": {
  19199. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19200. "type": "integer"
  19201. },
  19202. "userid": {
  19203. "description": "用户id",
  19204. "type": "integer"
  19205. }
  19206. }
  19207. },
  19208. "models.ErmcpTradeConfigTMP": {
  19209. "type": "object",
  19210. "properties": {
  19211. "areauserid": {
  19212. "description": "所属机构",
  19213. "type": "integer"
  19214. },
  19215. "basiccurrencyid": {
  19216. "description": "基本币种ID[汇率] - 目标币种",
  19217. "type": "integer"
  19218. },
  19219. "mainaccountid": {
  19220. "description": "主账户ID",
  19221. "type": "integer"
  19222. },
  19223. "modifierid": {
  19224. "description": "修改人",
  19225. "type": "integer"
  19226. },
  19227. "remark": {
  19228. "description": "备注",
  19229. "type": "string"
  19230. },
  19231. "tradeconfigtmpid": {
  19232. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19233. "type": "integer"
  19234. },
  19235. "tradeconfigtmpname": {
  19236. "description": "交易配置模板名称",
  19237. "type": "string"
  19238. },
  19239. "tradeconfigtmptype": {
  19240. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19241. "type": "integer"
  19242. },
  19243. "updatetime": {
  19244. "description": "更新时间",
  19245. "type": "string"
  19246. }
  19247. }
  19248. },
  19249. "models.ErmcpUserModel": {
  19250. "type": "object",
  19251. "properties": {
  19252. "address": {
  19253. "description": "通讯地址",
  19254. "type": "string"
  19255. },
  19256. "attachment1": {
  19257. "description": "附件1",
  19258. "type": "string"
  19259. },
  19260. "audittime": {
  19261. "description": "审核时间",
  19262. "type": "string"
  19263. },
  19264. "cardbackphotourl": {
  19265. "description": "证件反面图片地址",
  19266. "type": "string"
  19267. },
  19268. "cardfrontphotourl": {
  19269. "description": "证件正面图片地址",
  19270. "type": "string"
  19271. },
  19272. "cardnum": {
  19273. "description": "证件号码",
  19274. "type": "string"
  19275. },
  19276. "cardtype": {
  19277. "description": "证件类型",
  19278. "type": "integer"
  19279. },
  19280. "cardtypename": {
  19281. "description": "证件类型名称",
  19282. "type": "string"
  19283. },
  19284. "cityid": {
  19285. "description": "市",
  19286. "type": "integer"
  19287. },
  19288. "contactname": {
  19289. "description": "联系人",
  19290. "type": "string"
  19291. },
  19292. "countryid": {
  19293. "description": "国家",
  19294. "type": "integer"
  19295. },
  19296. "createtime": {
  19297. "description": "创建时间",
  19298. "type": "string"
  19299. },
  19300. "customername": {
  19301. "description": "企业名称",
  19302. "type": "string"
  19303. },
  19304. "districtid": {
  19305. "description": "区域",
  19306. "type": "integer"
  19307. },
  19308. "email": {
  19309. "description": "邮件",
  19310. "type": "string"
  19311. },
  19312. "legalpersonname": {
  19313. "description": "法人姓名(企业)",
  19314. "type": "string"
  19315. },
  19316. "memberuserid": {
  19317. "description": "所属机构ID",
  19318. "type": "integer"
  19319. },
  19320. "mobile": {
  19321. "description": "手机号码",
  19322. "type": "string"
  19323. },
  19324. "modifytime": {
  19325. "description": "修改时间",
  19326. "type": "string"
  19327. },
  19328. "nickname": {
  19329. "description": "昵称",
  19330. "type": "string"
  19331. },
  19332. "provinceid": {
  19333. "description": "省",
  19334. "type": "integer"
  19335. },
  19336. "remark": {
  19337. "description": "备注",
  19338. "type": "string"
  19339. },
  19340. "status": {
  19341. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19342. "type": "integer"
  19343. },
  19344. "statusdesc": {
  19345. "description": "账户状态中文描述",
  19346. "type": "string"
  19347. },
  19348. "taxpayernum": {
  19349. "description": "纳税人识别号",
  19350. "type": "string"
  19351. },
  19352. "telphone": {
  19353. "description": "联系电话",
  19354. "type": "string"
  19355. },
  19356. "userid": {
  19357. "description": "用户ID",
  19358. "type": "integer"
  19359. },
  19360. "userinfotype": {
  19361. "description": "客户类型",
  19362. "type": "string"
  19363. }
  19364. }
  19365. },
  19366. "models.ErmcpWareHouseInfo": {
  19367. "type": "object",
  19368. "properties": {
  19369. "address": {
  19370. "description": "详细地址",
  19371. "type": "string"
  19372. },
  19373. "areauserid": {
  19374. "description": "所属机构",
  19375. "type": "integer"
  19376. },
  19377. "autoid": {
  19378. "description": "自增ID(仓库ID)",
  19379. "type": "integer"
  19380. },
  19381. "cityid": {
  19382. "description": "市",
  19383. "type": "integer"
  19384. },
  19385. "contactname": {
  19386. "description": "联系人",
  19387. "type": "string"
  19388. },
  19389. "contactnum": {
  19390. "description": "联系电话",
  19391. "type": "string"
  19392. },
  19393. "countryid": {
  19394. "description": "国家",
  19395. "type": "integer"
  19396. },
  19397. "createtime": {
  19398. "description": "创建时间",
  19399. "type": "string"
  19400. },
  19401. "districtid": {
  19402. "description": "区",
  19403. "type": "integer"
  19404. },
  19405. "hasvideo": {
  19406. "description": "是否有视频 - 0:无 1:有",
  19407. "type": "integer"
  19408. },
  19409. "provinceid": {
  19410. "description": "省",
  19411. "type": "integer"
  19412. },
  19413. "remark": {
  19414. "description": "审核备注",
  19415. "type": "string"
  19416. },
  19417. "videourl": {
  19418. "description": "视频地址",
  19419. "type": "string"
  19420. },
  19421. "warehousecode": {
  19422. "description": "仓库代码",
  19423. "type": "string"
  19424. },
  19425. "warehousename": {
  19426. "description": "仓库名称",
  19427. "type": "string"
  19428. },
  19429. "warehousestatus": {
  19430. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19431. "type": "integer"
  19432. },
  19433. "warehousetype": {
  19434. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19435. "type": "integer"
  19436. }
  19437. }
  19438. },
  19439. "models.Externalexchange": {
  19440. "type": "object",
  19441. "required": [
  19442. "autoid"
  19443. ],
  19444. "properties": {
  19445. "autoid": {
  19446. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19447. "type": "integer"
  19448. },
  19449. "exchangefullname": {
  19450. "description": "外部交易所全称",
  19451. "type": "string"
  19452. },
  19453. "exexchangecode": {
  19454. "description": "外部交易所代码",
  19455. "type": "string"
  19456. },
  19457. "exexchangename": {
  19458. "description": "外部交易所名称(简称)",
  19459. "type": "string"
  19460. },
  19461. "ismarketprice": {
  19462. "description": "是否支持市价 - 0:不支持 1:支持",
  19463. "type": "integer"
  19464. },
  19465. "quotegear": {
  19466. "description": "行情档位(1-10)",
  19467. "type": "integer"
  19468. },
  19469. "showbrokerflag": {
  19470. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19471. "type": "integer"
  19472. },
  19473. "updatetime": {
  19474. "description": "更新时间",
  19475. "type": "string"
  19476. }
  19477. }
  19478. },
  19479. "models.Funcmenulist": {
  19480. "type": "object",
  19481. "required": [
  19482. "resourcecode"
  19483. ],
  19484. "properties": {
  19485. "iconame": {
  19486. "description": "菜单图标",
  19487. "type": "string"
  19488. },
  19489. "menutype": {
  19490. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  19491. "type": "integer"
  19492. },
  19493. "parentcode": {
  19494. "description": "上级资源代码",
  19495. "type": "string"
  19496. },
  19497. "remark": {
  19498. "description": "备注",
  19499. "type": "string"
  19500. },
  19501. "resourcecode": {
  19502. "description": "资源代码",
  19503. "type": "string"
  19504. },
  19505. "resourcelevel": {
  19506. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  19507. "type": "integer"
  19508. },
  19509. "resourcename": {
  19510. "description": "资源名",
  19511. "type": "string"
  19512. },
  19513. "sort": {
  19514. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  19515. "type": "integer"
  19516. },
  19517. "url": {
  19518. "description": "URL",
  19519. "type": "string"
  19520. }
  19521. }
  19522. },
  19523. "models.Goods": {
  19524. "type": "object",
  19525. "required": [
  19526. "goodscode",
  19527. "goodsid",
  19528. "goodsname",
  19529. "marketid"
  19530. ],
  19531. "properties": {
  19532. "agreeunit": {
  19533. "description": "合约单位",
  19534. "type": "number"
  19535. },
  19536. "areauserid": {
  19537. "description": "所属机构",
  19538. "type": "integer"
  19539. },
  19540. "auditaccountid": {
  19541. "description": "审核操作员账号",
  19542. "type": "integer"
  19543. },
  19544. "audittime": {
  19545. "description": "审核时间",
  19546. "type": "string"
  19547. },
  19548. "cancelaccountid": {
  19549. "description": "注销操作员账号",
  19550. "type": "integer"
  19551. },
  19552. "canceltime": {
  19553. "description": "注销时间",
  19554. "type": "string"
  19555. },
  19556. "closepricemode": {
  19557. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19558. "type": "integer"
  19559. },
  19560. "closepriceparam": {
  19561. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19562. "type": "number"
  19563. },
  19564. "createtime": {
  19565. "description": "创建时间",
  19566. "type": "string"
  19567. },
  19568. "creatorid": {
  19569. "description": "创建人",
  19570. "type": "integer"
  19571. },
  19572. "currencyid": {
  19573. "description": "报价货币ID",
  19574. "type": "integer"
  19575. },
  19576. "cutmode": {
  19577. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19578. "type": "integer"
  19579. },
  19580. "decimalplace": {
  19581. "description": "报价小数位",
  19582. "type": "integer"
  19583. },
  19584. "delistingdate": {
  19585. "description": "商品退市时间(状态:退市) -- 已作废",
  19586. "type": "string"
  19587. },
  19588. "delistingmode": {
  19589. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19590. "type": "integer"
  19591. },
  19592. "deliveryflag": {
  19593. "description": "交割标志 - 0:不可交割 1:可交割",
  19594. "type": "integer"
  19595. },
  19596. "forceclosemode": {
  19597. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19598. "type": "integer"
  19599. },
  19600. "forceclosevalue": {
  19601. "description": "定期强平参数 [收益权]",
  19602. "type": "integer"
  19603. },
  19604. "goodscode": {
  19605. "description": "商品代码(内部)",
  19606. "type": "string"
  19607. },
  19608. "goodscurrencyid": {
  19609. "description": "合约货币ID",
  19610. "type": "integer"
  19611. },
  19612. "goodsgroupid": {
  19613. "description": "所属商品组ID",
  19614. "type": "integer"
  19615. },
  19616. "goodsid": {
  19617. "description": "商品ID(自增ID SEQ_GOODS)",
  19618. "type": "integer"
  19619. },
  19620. "goodsname": {
  19621. "description": "商品名称",
  19622. "type": "string"
  19623. },
  19624. "goodsquotetype": {
  19625. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19626. "type": "integer"
  19627. },
  19628. "goodsstatus": {
  19629. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19630. "type": "integer"
  19631. },
  19632. "goodstradetype": {
  19633. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19634. "type": "integer"
  19635. },
  19636. "goodunitid": {
  19637. "description": "报价单位ID",
  19638. "type": "integer"
  19639. },
  19640. "hasquoter": {
  19641. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19642. "type": "integer"
  19643. },
  19644. "hqprotecttime": {
  19645. "description": "行情保护时间(秒)",
  19646. "type": "integer"
  19647. },
  19648. "innerdealmode": {
  19649. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19650. "type": "integer"
  19651. },
  19652. "isbuylimited": {
  19653. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19654. "type": "integer"
  19655. },
  19656. "isvisible": {
  19657. "description": "游客是否可见 - 0:不可见 1:可见",
  19658. "type": "integer"
  19659. },
  19660. "lasttradedate": {
  19661. "description": "最后交易日期(状态:待退市)",
  19662. "type": "string"
  19663. },
  19664. "listingdate": {
  19665. "description": "交易开始日期",
  19666. "type": "string"
  19667. },
  19668. "marketid": {
  19669. "description": "所属市场ID",
  19670. "type": "integer"
  19671. },
  19672. "modifierid": {
  19673. "description": "修改人",
  19674. "type": "integer"
  19675. },
  19676. "modifystatus": {
  19677. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19678. "type": "integer"
  19679. },
  19680. "modifytime": {
  19681. "description": "修改时间",
  19682. "type": "string"
  19683. },
  19684. "outerdealmode": {
  19685. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19686. "type": "integer"
  19687. },
  19688. "outgoodscode": {
  19689. "description": "商品代码(外部)",
  19690. "type": "string"
  19691. },
  19692. "pictureurl": {
  19693. "description": "商品图片",
  19694. "type": "string"
  19695. },
  19696. "qtydecimalplace": {
  19697. "description": "成交量小数位",
  19698. "type": "integer"
  19699. },
  19700. "quotegear": {
  19701. "description": "行情档位(1-10)",
  19702. "type": "integer"
  19703. },
  19704. "quoteminunit": {
  19705. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19706. "type": "integer"
  19707. },
  19708. "quoteshowtype": {
  19709. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19710. "type": "integer"
  19711. },
  19712. "quoteshowtypeinterval": {
  19713. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19714. "type": "integer"
  19715. },
  19716. "remark": {
  19717. "description": "备注",
  19718. "type": "string"
  19719. }
  19720. }
  19721. },
  19722. "models.GoodsIDAndName": {
  19723. "type": "object",
  19724. "required": [
  19725. "goodscode",
  19726. "goodsid",
  19727. "goodsname",
  19728. "marketid"
  19729. ],
  19730. "properties": {
  19731. "goodscode": {
  19732. "description": "商品代码(内部)",
  19733. "type": "string"
  19734. },
  19735. "goodsid": {
  19736. "description": "商品ID(自增ID SEQ_GOODS)",
  19737. "type": "integer"
  19738. },
  19739. "goodsname": {
  19740. "description": "商品名称",
  19741. "type": "string"
  19742. },
  19743. "marketid": {
  19744. "description": "所属市场ID",
  19745. "type": "integer"
  19746. }
  19747. }
  19748. },
  19749. "models.Goodsgroup": {
  19750. "type": "object",
  19751. "required": [
  19752. "goodsgroupid",
  19753. "goodsgroupname",
  19754. "goodsgroupstatus",
  19755. "marketid"
  19756. ],
  19757. "properties": {
  19758. "agreeunit": {
  19759. "description": "合约单位",
  19760. "type": "number"
  19761. },
  19762. "canshort": {
  19763. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19764. "type": "integer"
  19765. },
  19766. "closepricemode": {
  19767. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19768. "type": "integer"
  19769. },
  19770. "closepriceparam": {
  19771. "description": "强平最新价浮动比例 - 方式为2时使用",
  19772. "type": "number"
  19773. },
  19774. "createtime": {
  19775. "description": "创建时间",
  19776. "type": "string"
  19777. },
  19778. "creatorid": {
  19779. "description": "创建人",
  19780. "type": "integer"
  19781. },
  19782. "currencyid": {
  19783. "description": "报价货币ID",
  19784. "type": "integer"
  19785. },
  19786. "decimalplace": {
  19787. "description": "报价小数位",
  19788. "type": "integer"
  19789. },
  19790. "exercisetype": {
  19791. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19792. "type": "integer"
  19793. },
  19794. "exexchangeid": {
  19795. "description": "外部交易所ID[通道交易]",
  19796. "type": "integer"
  19797. },
  19798. "goodsgroupid": {
  19799. "description": "商品组ID(自增ID)",
  19800. "type": "integer"
  19801. },
  19802. "goodsgroupname": {
  19803. "description": "商品组名称",
  19804. "type": "string"
  19805. },
  19806. "goodsgroupstatus": {
  19807. "description": "商品组状态 - 1:正常 2:注销",
  19808. "type": "integer"
  19809. },
  19810. "goodunitid": {
  19811. "description": "报价单位ID",
  19812. "type": "integer"
  19813. },
  19814. "innerdealmode": {
  19815. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19816. "type": "integer"
  19817. },
  19818. "isbuylimited": {
  19819. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19820. "type": "integer"
  19821. },
  19822. "marketid": {
  19823. "description": "所属市场ID",
  19824. "type": "integer"
  19825. },
  19826. "modifierid": {
  19827. "description": "修改人",
  19828. "type": "integer"
  19829. },
  19830. "modifytime": {
  19831. "description": "修改时间",
  19832. "type": "string"
  19833. },
  19834. "outerdealmode": {
  19835. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19836. "type": "integer"
  19837. },
  19838. "outergroupcode": {
  19839. "description": "外部商品组代码[通道交易]",
  19840. "type": "string"
  19841. },
  19842. "premiumdecimalplace": {
  19843. "description": "权利金小数位[场外期权]",
  19844. "type": "integer"
  19845. },
  19846. "premiumspreadalgorithm": {
  19847. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19848. "type": "integer"
  19849. },
  19850. "premiumspreadvalue": {
  19851. "description": "权利金点差值[场外期权]",
  19852. "type": "number"
  19853. },
  19854. "qtydecimalplace": {
  19855. "description": "成交量小数位",
  19856. "type": "integer"
  19857. },
  19858. "quotegear": {
  19859. "description": "行情档位(1-10)",
  19860. "type": "integer"
  19861. },
  19862. "quoteminunit": {
  19863. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19864. "type": "integer"
  19865. },
  19866. "quoterid": {
  19867. "description": "报价商ID[场外期权]",
  19868. "type": "integer"
  19869. },
  19870. "quotesourcegroupid": {
  19871. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19872. "type": "integer"
  19873. },
  19874. "syncgoodsqty": {
  19875. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19876. "type": "integer"
  19877. }
  19878. }
  19879. },
  19880. "models.Goodssortbypreposition": {
  19881. "type": "object",
  19882. "required": [
  19883. "goodscode",
  19884. "tradedate"
  19885. ],
  19886. "properties": {
  19887. "goodscode": {
  19888. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19889. "type": "string"
  19890. },
  19891. "goodsgroupcode": {
  19892. "description": "品种代码",
  19893. "type": "string"
  19894. },
  19895. "prepositionqty": {
  19896. "description": "昨持仓量",
  19897. "type": "integer"
  19898. },
  19899. "sortindex": {
  19900. "description": "排序",
  19901. "type": "integer"
  19902. },
  19903. "tradedate": {
  19904. "description": "交易日",
  19905. "type": "string"
  19906. },
  19907. "updatetime": {
  19908. "description": "更新时间",
  19909. "type": "string"
  19910. }
  19911. }
  19912. },
  19913. "models.Hedgeinnerholderdetail": {
  19914. "type": "object",
  19915. "required": [
  19916. "buyorsell",
  19917. "tradeid"
  19918. ],
  19919. "properties": {
  19920. "accountid": {
  19921. "description": "账号ID",
  19922. "type": "integer"
  19923. },
  19924. "buyorsell": {
  19925. "description": "方向 - 0:买 1:卖",
  19926. "type": "integer"
  19927. },
  19928. "freezeqty": {
  19929. "description": "冻结数量 - 按单平使用",
  19930. "type": "integer"
  19931. },
  19932. "goodsid": {
  19933. "description": "商品ID",
  19934. "type": "integer"
  19935. },
  19936. "holderamount": {
  19937. "description": "持仓金额 [商品币种]",
  19938. "type": "number"
  19939. },
  19940. "holderdays": {
  19941. "description": "剩余冻结天数",
  19942. "type": "integer"
  19943. },
  19944. "holderprice": {
  19945. "description": "持仓价格",
  19946. "type": "number"
  19947. },
  19948. "holderqty": {
  19949. "description": "持仓数量",
  19950. "type": "integer"
  19951. },
  19952. "marketid": {
  19953. "description": "市场ID",
  19954. "type": "integer"
  19955. },
  19956. "openprice": {
  19957. "description": "建仓价格",
  19958. "type": "number"
  19959. },
  19960. "openqty": {
  19961. "description": "建仓数量",
  19962. "type": "integer"
  19963. },
  19964. "parentaccountid": {
  19965. "description": "所属母账户",
  19966. "type": "integer"
  19967. },
  19968. "releaseamount": {
  19969. "description": "释放持仓金额[商品币种]",
  19970. "type": "number"
  19971. },
  19972. "tradeamount": {
  19973. "description": "成交金额[账户]",
  19974. "type": "number"
  19975. },
  19976. "tradedate": {
  19977. "description": "交易日(yyyyMMdd)",
  19978. "type": "string"
  19979. },
  19980. "tradeid": {
  19981. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19982. "type": "string"
  19983. },
  19984. "tradetime": {
  19985. "description": "交易时间",
  19986. "type": "string"
  19987. }
  19988. }
  19989. },
  19990. "models.Hedgemarketopenlog": {
  19991. "type": "object",
  19992. "required": [
  19993. "accountid"
  19994. ],
  19995. "properties": {
  19996. "accountid": {
  19997. "description": "资金账号[外部母账户]",
  19998. "type": "integer"
  19999. },
  20000. "fcname": {
  20001. "description": "期货公司名称",
  20002. "type": "string"
  20003. },
  20004. "handlestatus": {
  20005. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  20006. "type": "integer"
  20007. },
  20008. "marketid": {
  20009. "description": "市场ID",
  20010. "type": "integer"
  20011. },
  20012. "status": {
  20013. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  20014. "type": "integer"
  20015. },
  20016. "tradedate": {
  20017. "description": "交易日(yyyyMMdd)",
  20018. "type": "string"
  20019. },
  20020. "updatetime": {
  20021. "description": "更新时间",
  20022. "type": "string"
  20023. }
  20024. }
  20025. },
  20026. "models.HsbyBuyMyPayOrder": {
  20027. "type": "object",
  20028. "required": [
  20029. "goodscode",
  20030. "goodsname",
  20031. "tradeid",
  20032. "trademode"
  20033. ],
  20034. "properties": {
  20035. "agreeunit": {
  20036. "description": "合约单位",
  20037. "type": "number"
  20038. },
  20039. "buyaccountid": {
  20040. "description": "买方账号ID[报价币种]",
  20041. "type": "integer"
  20042. },
  20043. "buyorderid": {
  20044. "description": "买方委托单号",
  20045. "type": "string"
  20046. },
  20047. "createtime": {
  20048. "description": "创建时间",
  20049. "type": "string"
  20050. },
  20051. "currencysign": {
  20052. "description": "货币符号",
  20053. "type": "string"
  20054. },
  20055. "decimalplace": {
  20056. "description": "报价小数位",
  20057. "type": "integer"
  20058. },
  20059. "goodscode": {
  20060. "description": "商品代码(内部)",
  20061. "type": "string"
  20062. },
  20063. "goodsid": {
  20064. "description": "商品ID",
  20065. "type": "integer"
  20066. },
  20067. "goodsname": {
  20068. "description": "商品名称",
  20069. "type": "string"
  20070. },
  20071. "marketid": {
  20072. "description": "市场ID",
  20073. "type": "integer"
  20074. },
  20075. "offamount": {
  20076. "description": "优惠金额",
  20077. "type": "number"
  20078. },
  20079. "originalamount": {
  20080. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20081. "type": "number"
  20082. },
  20083. "payamount": {
  20084. "description": "支付金额 = TradeAmount + TradeCharge",
  20085. "type": "number"
  20086. },
  20087. "payflag": {
  20088. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20089. "type": "integer"
  20090. },
  20091. "paylimitedtime": {
  20092. "description": "支付期限",
  20093. "type": "string"
  20094. },
  20095. "paytime": {
  20096. "description": "付款时间",
  20097. "type": "string"
  20098. },
  20099. "picurls1": {
  20100. "description": "预售商品介绍图片[多张用逗号分隔]",
  20101. "type": "string"
  20102. },
  20103. "picurls2": {
  20104. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20105. "type": "string"
  20106. },
  20107. "sellaccountid": {
  20108. "description": "卖方账号ID[报价币种]",
  20109. "type": "integer"
  20110. },
  20111. "sellorderid": {
  20112. "description": "卖方委托单号",
  20113. "type": "string"
  20114. },
  20115. "tradeamount": {
  20116. "description": "成交金额",
  20117. "type": "number"
  20118. },
  20119. "tradecharge": {
  20120. "description": "成交手续费(买方)",
  20121. "type": "number"
  20122. },
  20123. "tradedate": {
  20124. "description": "交易日(yyyyMMdd)",
  20125. "type": "string"
  20126. },
  20127. "tradeid": {
  20128. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20129. "type": "string"
  20130. },
  20131. "trademode": {
  20132. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20133. "type": "integer"
  20134. },
  20135. "tradeprice": {
  20136. "description": "成交价格",
  20137. "type": "number"
  20138. },
  20139. "tradeqty": {
  20140. "description": "成交数量",
  20141. "type": "integer"
  20142. },
  20143. "vendorname1": {
  20144. "description": "预售商品供应商名称",
  20145. "type": "string"
  20146. },
  20147. "vendorname2": {
  20148. "description": "挂牌商品供应商名称",
  20149. "type": "string"
  20150. }
  20151. }
  20152. },
  20153. "models.HsbyBuyMyTradeDetail": {
  20154. "type": "object",
  20155. "required": [
  20156. "accountid",
  20157. "buyorsell",
  20158. "goodscode",
  20159. "goodsid",
  20160. "goodsname",
  20161. "marketid",
  20162. "orderid",
  20163. "qty",
  20164. "time",
  20165. "trademode"
  20166. ],
  20167. "properties": {
  20168. "accountid": {
  20169. "description": "账户ID[报价币种]",
  20170. "type": "integer"
  20171. },
  20172. "agreeunit": {
  20173. "description": "合约单位",
  20174. "type": "number"
  20175. },
  20176. "amount": {
  20177. "description": "金额 = 价格 * 数量 * 合约单位",
  20178. "type": "number"
  20179. },
  20180. "buyorsell": {
  20181. "description": "买卖 - 0:买 1:卖",
  20182. "type": "integer"
  20183. },
  20184. "currencysign": {
  20185. "description": "货币符号",
  20186. "type": "string"
  20187. },
  20188. "decimalplace": {
  20189. "description": "报价小数位",
  20190. "type": "integer"
  20191. },
  20192. "goodscode": {
  20193. "description": "商品代码(内部)",
  20194. "type": "string"
  20195. },
  20196. "goodsid": {
  20197. "description": "商品ID",
  20198. "type": "integer"
  20199. },
  20200. "goodsname": {
  20201. "description": "商品名称",
  20202. "type": "string"
  20203. },
  20204. "marketid": {
  20205. "description": "市场ID",
  20206. "type": "integer"
  20207. },
  20208. "orderamount": {
  20209. "description": "委托金额",
  20210. "type": "number"
  20211. },
  20212. "orderid": {
  20213. "description": "单号(成交单号)",
  20214. "type": "string"
  20215. },
  20216. "picurls1": {
  20217. "description": "预售商品介绍图片[多张用逗号分隔]",
  20218. "type": "string"
  20219. },
  20220. "picurls2": {
  20221. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20222. "type": "string"
  20223. },
  20224. "price": {
  20225. "description": "价格",
  20226. "type": "number"
  20227. },
  20228. "qty": {
  20229. "description": "数量",
  20230. "type": "integer"
  20231. },
  20232. "time": {
  20233. "description": "时间",
  20234. "type": "string"
  20235. },
  20236. "trademode": {
  20237. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20238. "type": "integer"
  20239. },
  20240. "vendorname1": {
  20241. "description": "预售商品供应商名称",
  20242. "type": "string"
  20243. },
  20244. "vendorname2": {
  20245. "description": "挂牌商品供应商名称",
  20246. "type": "string"
  20247. }
  20248. }
  20249. },
  20250. "models.HsbyGoodsOrderDetail": {
  20251. "type": "object",
  20252. "required": [
  20253. "buyorsell",
  20254. "orderid",
  20255. "ordertime"
  20256. ],
  20257. "properties": {
  20258. "buyorsell": {
  20259. "description": "买卖 - 0:买 1:卖",
  20260. "type": "integer"
  20261. },
  20262. "currencysign": {
  20263. "description": "货币符号",
  20264. "type": "string"
  20265. },
  20266. "customername": {
  20267. "description": "客户名称(企业名称),已脱敏",
  20268. "type": "string"
  20269. },
  20270. "enableqty": {
  20271. "description": "可用数量",
  20272. "type": "integer"
  20273. },
  20274. "goodunit": {
  20275. "description": "报价单位",
  20276. "type": "string"
  20277. },
  20278. "orderid": {
  20279. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20280. "type": "string"
  20281. },
  20282. "orderprice": {
  20283. "description": "委托价格",
  20284. "type": "number"
  20285. },
  20286. "ordertime": {
  20287. "description": "委托时间",
  20288. "type": "string"
  20289. }
  20290. }
  20291. },
  20292. "models.HsbyListingGoodsDetail": {
  20293. "type": "object",
  20294. "required": [
  20295. "goodscode",
  20296. "goodsid",
  20297. "goodsname",
  20298. "marketid",
  20299. "trademode"
  20300. ],
  20301. "properties": {
  20302. "agreeunit": {
  20303. "description": "合约单位",
  20304. "type": "number"
  20305. },
  20306. "buymaxqty": {
  20307. "description": "购买上限 [71] - 0为不限",
  20308. "type": "integer"
  20309. },
  20310. "currency": {
  20311. "description": "货币",
  20312. "type": "string"
  20313. },
  20314. "currencysign": {
  20315. "description": "货币符号",
  20316. "type": "string"
  20317. },
  20318. "decimalplace": {
  20319. "description": "报价小数位",
  20320. "type": "integer"
  20321. },
  20322. "desccityid": {
  20323. "description": "目的地(市)ID",
  20324. "type": "integer"
  20325. },
  20326. "descprovinceid": {
  20327. "description": "目的地(省)ID",
  20328. "type": "integer"
  20329. },
  20330. "goodscode": {
  20331. "description": "商品代码(内部)",
  20332. "type": "string"
  20333. },
  20334. "goodsdesc": {
  20335. "description": "商品详情",
  20336. "type": "string"
  20337. },
  20338. "goodsid": {
  20339. "description": "商品ID(自增ID SEQ_GOODS)",
  20340. "type": "integer"
  20341. },
  20342. "goodsname": {
  20343. "description": "商品名称",
  20344. "type": "string"
  20345. },
  20346. "goodsprice": {
  20347. "description": "商品价格",
  20348. "type": "number"
  20349. },
  20350. "hotindex": {
  20351. "description": "景点热度",
  20352. "type": "integer"
  20353. },
  20354. "last": {
  20355. "description": "现价",
  20356. "type": "number"
  20357. },
  20358. "limitdown": {
  20359. "description": "跌停价",
  20360. "type": "number"
  20361. },
  20362. "limitup": {
  20363. "description": "涨停价",
  20364. "type": "number"
  20365. },
  20366. "lotsize": {
  20367. "description": "手数最小变动单位",
  20368. "type": "integer"
  20369. },
  20370. "marketid": {
  20371. "description": "所属市场ID",
  20372. "type": "integer"
  20373. },
  20374. "picurls": {
  20375. "description": "介绍图片[多张用逗号分隔]",
  20376. "type": "string"
  20377. },
  20378. "quoteminunit": {
  20379. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20380. "type": "integer"
  20381. },
  20382. "stepvalue": {
  20383. "description": "价格最小变动单位",
  20384. "type": "number"
  20385. },
  20386. "trademode": {
  20387. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20388. "type": "integer"
  20389. },
  20390. "vendorattr": {
  20391. "description": "供应商附件(多张,逗号分隔)",
  20392. "type": "string"
  20393. },
  20394. "vendorname": {
  20395. "description": "供应商名称",
  20396. "type": "string"
  20397. },
  20398. "vendorphone": {
  20399. "description": "供应商客服电话",
  20400. "type": "string"
  20401. },
  20402. "videourls": {
  20403. "description": "介绍视频[多张用逗号分隔]",
  20404. "type": "string"
  20405. }
  20406. }
  20407. },
  20408. "models.HsbyMarketGoods": {
  20409. "type": "object",
  20410. "required": [
  20411. "accountid",
  20412. "buyorsell",
  20413. "goodscode",
  20414. "goodsid",
  20415. "goodsname",
  20416. "marketid",
  20417. "orderid",
  20418. "trademode"
  20419. ],
  20420. "properties": {
  20421. "accountid": {
  20422. "description": "账户ID[报价币种]",
  20423. "type": "integer"
  20424. },
  20425. "agreeunit": {
  20426. "description": "合约单位",
  20427. "type": "number"
  20428. },
  20429. "buyorsell": {
  20430. "description": "买卖 - 0:买 1:卖",
  20431. "type": "integer"
  20432. },
  20433. "categoryid": {
  20434. "description": "类别ID(WRCATEGORY)",
  20435. "type": "integer"
  20436. },
  20437. "currency": {
  20438. "description": "货币",
  20439. "type": "string"
  20440. },
  20441. "currencysign": {
  20442. "description": "货币符号",
  20443. "type": "string"
  20444. },
  20445. "customername": {
  20446. "description": "卖家名称",
  20447. "type": "string"
  20448. },
  20449. "decimalplace": {
  20450. "description": "报价小数位",
  20451. "type": "integer"
  20452. },
  20453. "goodscode": {
  20454. "description": "商品代码(内部)",
  20455. "type": "string"
  20456. },
  20457. "goodsid": {
  20458. "description": "商品ID",
  20459. "type": "integer"
  20460. },
  20461. "goodsname": {
  20462. "description": "商品名称",
  20463. "type": "string"
  20464. },
  20465. "goodsprice": {
  20466. "description": "商品价格",
  20467. "type": "number"
  20468. },
  20469. "hascoupon": {
  20470. "description": "是否可用优惠卷",
  20471. "type": "boolean"
  20472. },
  20473. "hotindex": {
  20474. "description": "景点热度",
  20475. "type": "integer"
  20476. },
  20477. "marketid": {
  20478. "description": "市场ID",
  20479. "type": "integer"
  20480. },
  20481. "orderid": {
  20482. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20483. "type": "string"
  20484. },
  20485. "orderprice": {
  20486. "description": "委托价格",
  20487. "type": "number"
  20488. },
  20489. "orderstatus": {
  20490. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20491. "type": "integer"
  20492. },
  20493. "picurls": {
  20494. "description": "介绍图片[多张用逗号分隔]",
  20495. "type": "string"
  20496. },
  20497. "quoteminunit": {
  20498. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20499. "type": "integer"
  20500. },
  20501. "sellUserID": {
  20502. "description": "卖方UserID",
  20503. "type": "integer"
  20504. },
  20505. "trademode": {
  20506. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20507. "type": "integer"
  20508. },
  20509. "videourls": {
  20510. "description": "介绍视频[多张用逗号分隔]",
  20511. "type": "string"
  20512. }
  20513. }
  20514. },
  20515. "models.HsbyMarketGoodsDetail": {
  20516. "type": "object",
  20517. "required": [
  20518. "accountid",
  20519. "buyorsell",
  20520. "goodscode",
  20521. "goodsid",
  20522. "goodsname",
  20523. "marketid",
  20524. "orderid",
  20525. "orderqty",
  20526. "trademode"
  20527. ],
  20528. "properties": {
  20529. "accountid": {
  20530. "description": "账户ID[报价币种]",
  20531. "type": "integer"
  20532. },
  20533. "agreeunit": {
  20534. "description": "合约单位",
  20535. "type": "number"
  20536. },
  20537. "buymaxqty": {
  20538. "description": "购买上限 [71] - 0为不限",
  20539. "type": "integer"
  20540. },
  20541. "buyorsell": {
  20542. "description": "买卖 - 0:买 1:卖",
  20543. "type": "integer"
  20544. },
  20545. "cancelqty": {
  20546. "description": "撤单数量",
  20547. "type": "integer"
  20548. },
  20549. "categoryid": {
  20550. "description": "类别ID(WRCATEGORY)",
  20551. "type": "integer"
  20552. },
  20553. "currency": {
  20554. "description": "货币",
  20555. "type": "string"
  20556. },
  20557. "currencysign": {
  20558. "description": "货币符号",
  20559. "type": "string"
  20560. },
  20561. "customername": {
  20562. "description": "卖家名称",
  20563. "type": "string"
  20564. },
  20565. "decimalplace": {
  20566. "description": "报价小数位",
  20567. "type": "integer"
  20568. },
  20569. "goodscode": {
  20570. "description": "商品代码(内部)",
  20571. "type": "string"
  20572. },
  20573. "goodsdesc": {
  20574. "description": "商品详情",
  20575. "type": "string"
  20576. },
  20577. "goodsid": {
  20578. "description": "商品ID",
  20579. "type": "integer"
  20580. },
  20581. "goodsname": {
  20582. "description": "商品名称",
  20583. "type": "string"
  20584. },
  20585. "goodsprice": {
  20586. "description": "商品价格",
  20587. "type": "number"
  20588. },
  20589. "hotindex": {
  20590. "description": "景点热度",
  20591. "type": "integer"
  20592. },
  20593. "lotsize": {
  20594. "description": "手数最小变动单位",
  20595. "type": "integer"
  20596. },
  20597. "marketid": {
  20598. "description": "市场ID",
  20599. "type": "integer"
  20600. },
  20601. "orderid": {
  20602. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20603. "type": "string"
  20604. },
  20605. "orderprice": {
  20606. "description": "委托价格",
  20607. "type": "number"
  20608. },
  20609. "orderqty": {
  20610. "description": "委托数量",
  20611. "type": "integer"
  20612. },
  20613. "orderstatus": {
  20614. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20615. "type": "integer"
  20616. },
  20617. "picurls": {
  20618. "description": "介绍图片[多张用逗号分隔]",
  20619. "type": "string"
  20620. },
  20621. "quoteminunit": {
  20622. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20623. "type": "integer"
  20624. },
  20625. "sellUserID": {
  20626. "description": "卖方UserID",
  20627. "type": "integer"
  20628. },
  20629. "trademode": {
  20630. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20631. "type": "integer"
  20632. },
  20633. "tradeqty": {
  20634. "description": "成交数量",
  20635. "type": "integer"
  20636. },
  20637. "vendorattr": {
  20638. "description": "供应商附件(多张,逗号分隔)",
  20639. "type": "string"
  20640. },
  20641. "vendorname": {
  20642. "description": "供应商名称",
  20643. "type": "string"
  20644. },
  20645. "vendorphone": {
  20646. "description": "供应商客服电话",
  20647. "type": "string"
  20648. },
  20649. "videourls": {
  20650. "description": "介绍视频[多张用逗号分隔]",
  20651. "type": "string"
  20652. }
  20653. }
  20654. },
  20655. "models.HsbyMarketInfo": {
  20656. "type": "object",
  20657. "required": [
  20658. "marketid",
  20659. "marketstatus",
  20660. "trademode"
  20661. ],
  20662. "properties": {
  20663. "marketid": {
  20664. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20665. "type": "integer"
  20666. },
  20667. "marketname": {
  20668. "description": "市场名称",
  20669. "type": "string"
  20670. },
  20671. "marketstatus": {
  20672. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20673. "type": "integer"
  20674. },
  20675. "trademode": {
  20676. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20677. "type": "integer"
  20678. }
  20679. }
  20680. },
  20681. "models.HsbyMyGoods": {
  20682. "type": "object",
  20683. "required": [
  20684. "accountid",
  20685. "goodscode",
  20686. "goodsid",
  20687. "goodsname",
  20688. "marketid",
  20689. "trademode"
  20690. ],
  20691. "properties": {
  20692. "accountid": {
  20693. "description": "账号Id",
  20694. "type": "integer"
  20695. },
  20696. "agreeunit": {
  20697. "description": "合约单位",
  20698. "type": "number"
  20699. },
  20700. "buyaverageprice": {
  20701. "description": "持仓均价",
  20702. "type": "number"
  20703. },
  20704. "buycurholderamount": {
  20705. "description": "买当前持仓总金额[商品币种]",
  20706. "type": "number"
  20707. },
  20708. "buycurpositionqty": {
  20709. "description": "买当前持仓总数量",
  20710. "type": "integer"
  20711. },
  20712. "buymaxqty": {
  20713. "description": "购买上限 [71] - 0为不限",
  20714. "type": "integer"
  20715. },
  20716. "currencysign": {
  20717. "description": "货币符号",
  20718. "type": "string"
  20719. },
  20720. "decimalplace": {
  20721. "description": "报价小数位",
  20722. "type": "integer"
  20723. },
  20724. "enableqty": {
  20725. "description": "可用数量",
  20726. "type": "integer"
  20727. },
  20728. "goodscode": {
  20729. "description": "商品代码(内部)",
  20730. "type": "string"
  20731. },
  20732. "goodsid": {
  20733. "description": "商品Id",
  20734. "type": "integer"
  20735. },
  20736. "goodsname": {
  20737. "description": "商品名称",
  20738. "type": "string"
  20739. },
  20740. "goodsprice": {
  20741. "description": "商品价格",
  20742. "type": "number"
  20743. },
  20744. "goodsstatus": {
  20745. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20746. "type": "integer"
  20747. },
  20748. "last": {
  20749. "description": "现价(仅使用于挂牌点选)",
  20750. "type": "number"
  20751. },
  20752. "limitdown": {
  20753. "description": "跌停价(仅使用于挂牌点选)",
  20754. "type": "number"
  20755. },
  20756. "limitup": {
  20757. "description": "涨停价(仅使用于挂牌点选)",
  20758. "type": "number"
  20759. },
  20760. "lotsize": {
  20761. "description": "手数最小变动单位",
  20762. "type": "integer"
  20763. },
  20764. "marketid": {
  20765. "description": "所属市场ID",
  20766. "type": "integer"
  20767. },
  20768. "picurls": {
  20769. "description": "介绍图片[多张用逗号分隔]",
  20770. "type": "string"
  20771. },
  20772. "quoteminunit": {
  20773. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20774. "type": "integer"
  20775. },
  20776. "stepvalue": {
  20777. "description": "价格最小变动单位",
  20778. "type": "number"
  20779. },
  20780. "trademode": {
  20781. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20782. "type": "integer"
  20783. }
  20784. }
  20785. },
  20786. "models.HsbyMyPackage": {
  20787. "type": "object",
  20788. "required": [
  20789. "goodscode",
  20790. "goodsname",
  20791. "takeorderid",
  20792. "trademode"
  20793. ],
  20794. "properties": {
  20795. "accountid": {
  20796. "description": "账户ID",
  20797. "type": "integer"
  20798. },
  20799. "address": {
  20800. "description": "提货人详细地址",
  20801. "type": "string"
  20802. },
  20803. "agreeunit": {
  20804. "description": "合约单位",
  20805. "type": "number"
  20806. },
  20807. "amount": {
  20808. "description": "提货金额",
  20809. "type": "number"
  20810. },
  20811. "auditer": {
  20812. "description": "审核人",
  20813. "type": "integer"
  20814. },
  20815. "audittime": {
  20816. "description": "审核时间",
  20817. "type": "string"
  20818. },
  20819. "averageprice": {
  20820. "description": "均价",
  20821. "type": "number"
  20822. },
  20823. "cardnum": {
  20824. "description": "提货人证件号码",
  20825. "type": "string"
  20826. },
  20827. "cardtypeid": {
  20828. "description": "提货人证件类型",
  20829. "type": "integer"
  20830. },
  20831. "checkremark": {
  20832. "description": "审核备注",
  20833. "type": "string"
  20834. },
  20835. "currencysign": {
  20836. "description": "货币符号",
  20837. "type": "string"
  20838. },
  20839. "decimalplace": {
  20840. "description": "报价小数位",
  20841. "type": "integer"
  20842. },
  20843. "goodscode": {
  20844. "description": "商品代码(内部)",
  20845. "type": "string"
  20846. },
  20847. "goodsid": {
  20848. "description": "商品ID",
  20849. "type": "integer"
  20850. },
  20851. "goodsname": {
  20852. "description": "商品名称",
  20853. "type": "string"
  20854. },
  20855. "handlestatus": {
  20856. "description": "处理状态",
  20857. "type": "integer"
  20858. },
  20859. "marketid": {
  20860. "description": "市场ID",
  20861. "type": "integer"
  20862. },
  20863. "phonenum": {
  20864. "description": "提货人联系方式",
  20865. "type": "string"
  20866. },
  20867. "picurls": {
  20868. "description": "介绍图片[多张用逗号分隔]",
  20869. "type": "string"
  20870. },
  20871. "qty": {
  20872. "description": "提货数量",
  20873. "type": "number"
  20874. },
  20875. "recivername": {
  20876. "description": "提货人姓名",
  20877. "type": "string"
  20878. },
  20879. "reqtime": {
  20880. "description": "更新时间",
  20881. "type": "string"
  20882. },
  20883. "takemode": {
  20884. "description": "提货方式 - 2:自提 3:配送",
  20885. "type": "integer"
  20886. },
  20887. "takeorderid": {
  20888. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20889. "type": "string"
  20890. },
  20891. "takeorderstatus": {
  20892. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20893. "type": "integer"
  20894. },
  20895. "takeremark": {
  20896. "description": "提货备注",
  20897. "type": "string"
  20898. },
  20899. "tradedate": {
  20900. "description": "交易日(yyyyMMdd)",
  20901. "type": "string"
  20902. },
  20903. "trademode": {
  20904. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20905. "type": "integer"
  20906. },
  20907. "userid": {
  20908. "description": "用户ID",
  20909. "type": "integer"
  20910. },
  20911. "vendorname": {
  20912. "description": "供应商名称",
  20913. "type": "string"
  20914. }
  20915. }
  20916. },
  20917. "models.HsbyPreGoods": {
  20918. "type": "object",
  20919. "required": [
  20920. "goodscode",
  20921. "goodsid",
  20922. "goodsname",
  20923. "marketid",
  20924. "trademode"
  20925. ],
  20926. "properties": {
  20927. "agreeunit": {
  20928. "description": "合约单位",
  20929. "type": "number"
  20930. },
  20931. "currency": {
  20932. "description": "货币",
  20933. "type": "string"
  20934. },
  20935. "currencysign": {
  20936. "description": "货币符号",
  20937. "type": "string"
  20938. },
  20939. "decimalplace": {
  20940. "description": "报价小数位",
  20941. "type": "integer"
  20942. },
  20943. "desccityid": {
  20944. "description": "目的地(市)",
  20945. "type": "integer"
  20946. },
  20947. "descprovinceid": {
  20948. "description": "目的地(省)",
  20949. "type": "integer"
  20950. },
  20951. "enableqty": {
  20952. "description": "剩余数量",
  20953. "type": "integer"
  20954. },
  20955. "goodscode": {
  20956. "description": "商品代码(内部)",
  20957. "type": "string"
  20958. },
  20959. "goodsid": {
  20960. "description": "商品ID(自增ID SEQ_GOODS)",
  20961. "type": "integer"
  20962. },
  20963. "goodsname": {
  20964. "description": "商品名称",
  20965. "type": "string"
  20966. },
  20967. "goodsstatus": {
  20968. "description": "商品状态- 2:未上市 3:上市",
  20969. "type": "integer"
  20970. },
  20971. "lasttradedate": {
  20972. "description": "最后交易日期(状态:待退市)",
  20973. "type": "string"
  20974. },
  20975. "listingdate": {
  20976. "description": "交易开始日期",
  20977. "type": "string"
  20978. },
  20979. "marketid": {
  20980. "description": "所属市场ID",
  20981. "type": "integer"
  20982. },
  20983. "picurls": {
  20984. "description": "介绍图片[多张用逗号分隔]",
  20985. "type": "string"
  20986. },
  20987. "presaledqty": {
  20988. "description": "已预售量(预售结束时更新)",
  20989. "type": "integer"
  20990. },
  20991. "presaleqty": {
  20992. "description": "预售数量",
  20993. "type": "integer"
  20994. },
  20995. "quoteminunit": {
  20996. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20997. "type": "integer"
  20998. },
  20999. "refprice": {
  21000. "description": "参考价格[一口价]",
  21001. "type": "number"
  21002. },
  21003. "relatedgoodsid": {
  21004. "description": "关联交易合约ID",
  21005. "type": "integer"
  21006. },
  21007. "trademode": {
  21008. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21009. "type": "integer"
  21010. },
  21011. "videourls": {
  21012. "description": "介绍视频[多张用逗号分隔]",
  21013. "type": "string"
  21014. }
  21015. }
  21016. },
  21017. "models.HsbyPreGoodsDetail": {
  21018. "type": "object",
  21019. "required": [
  21020. "goodscode",
  21021. "goodsid",
  21022. "goodsname",
  21023. "marketid",
  21024. "trademode"
  21025. ],
  21026. "properties": {
  21027. "agreeunit": {
  21028. "description": "合约单位",
  21029. "type": "number"
  21030. },
  21031. "buymaxqty": {
  21032. "description": "购买上限 [71] - 0为不限",
  21033. "type": "integer"
  21034. },
  21035. "currency": {
  21036. "description": "货币",
  21037. "type": "string"
  21038. },
  21039. "currencysign": {
  21040. "description": "货币符号",
  21041. "type": "string"
  21042. },
  21043. "customername": {
  21044. "description": "发行单位",
  21045. "type": "string"
  21046. },
  21047. "decimalplace": {
  21048. "description": "报价小数位",
  21049. "type": "integer"
  21050. },
  21051. "desccityid": {
  21052. "description": "目的地(市)ID",
  21053. "type": "integer"
  21054. },
  21055. "descprovinceid": {
  21056. "description": "目的地(省)ID",
  21057. "type": "integer"
  21058. },
  21059. "enableqty": {
  21060. "description": "剩余数量",
  21061. "type": "integer"
  21062. },
  21063. "goodscode": {
  21064. "description": "商品代码(内部)",
  21065. "type": "string"
  21066. },
  21067. "goodsdesc": {
  21068. "description": "商品详情",
  21069. "type": "string"
  21070. },
  21071. "goodsid": {
  21072. "description": "商品ID(自增ID SEQ_GOODS)",
  21073. "type": "integer"
  21074. },
  21075. "goodsname": {
  21076. "description": "商品名称",
  21077. "type": "string"
  21078. },
  21079. "goodsstatus": {
  21080. "description": "商品状态- 2:未上市 3:上市",
  21081. "type": "integer"
  21082. },
  21083. "goodunit": {
  21084. "description": "报价单位",
  21085. "type": "string"
  21086. },
  21087. "lasttradedate": {
  21088. "description": "最后交易日期(状态:待退市)",
  21089. "type": "string"
  21090. },
  21091. "listingdate": {
  21092. "description": "交易开始日期",
  21093. "type": "string"
  21094. },
  21095. "lotsize": {
  21096. "description": "手数最小变动单位",
  21097. "type": "integer"
  21098. },
  21099. "marketid": {
  21100. "description": "所属市场ID",
  21101. "type": "integer"
  21102. },
  21103. "picurls": {
  21104. "description": "介绍图片[多张用逗号分隔]",
  21105. "type": "string"
  21106. },
  21107. "presaledqty": {
  21108. "description": "已预售量(预售结束时更新)",
  21109. "type": "integer"
  21110. },
  21111. "presaleqty": {
  21112. "description": "预售数量",
  21113. "type": "integer"
  21114. },
  21115. "quoteminunit": {
  21116. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21117. "type": "integer"
  21118. },
  21119. "refprice": {
  21120. "description": "参考价格[一口价]",
  21121. "type": "number"
  21122. },
  21123. "relatedgoodsid": {
  21124. "description": "关联交易合约ID",
  21125. "type": "integer"
  21126. },
  21127. "stepvalue": {
  21128. "description": "价格最小变动单位",
  21129. "type": "number"
  21130. },
  21131. "trademode": {
  21132. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21133. "type": "integer"
  21134. },
  21135. "vendorattr": {
  21136. "description": "供应商附件(多张,逗号分隔)",
  21137. "type": "string"
  21138. },
  21139. "vendorname": {
  21140. "description": "供应商名称",
  21141. "type": "string"
  21142. },
  21143. "vendorphone": {
  21144. "description": "供应商客服电话",
  21145. "type": "string"
  21146. },
  21147. "videourls": {
  21148. "description": "介绍视频[多张用逗号分隔]",
  21149. "type": "string"
  21150. }
  21151. }
  21152. },
  21153. "models.HsbySellCollectionOrder": {
  21154. "type": "object",
  21155. "required": [
  21156. "goodscode",
  21157. "goodsname",
  21158. "tradeid",
  21159. "trademode"
  21160. ],
  21161. "properties": {
  21162. "agreeunit": {
  21163. "description": "合约单位",
  21164. "type": "number"
  21165. },
  21166. "buyaccountid": {
  21167. "description": "买方账号ID[报价币种]",
  21168. "type": "integer"
  21169. },
  21170. "buyorderid": {
  21171. "description": "买方委托单号",
  21172. "type": "string"
  21173. },
  21174. "createtime": {
  21175. "description": "创建时间",
  21176. "type": "string"
  21177. },
  21178. "currencysign": {
  21179. "description": "货币符号",
  21180. "type": "string"
  21181. },
  21182. "decimalplace": {
  21183. "description": "报价小数位",
  21184. "type": "integer"
  21185. },
  21186. "goodscode": {
  21187. "description": "商品代码(内部)",
  21188. "type": "string"
  21189. },
  21190. "goodsid": {
  21191. "description": "商品ID",
  21192. "type": "integer"
  21193. },
  21194. "goodsname": {
  21195. "description": "商品名称",
  21196. "type": "string"
  21197. },
  21198. "marketid": {
  21199. "description": "市场ID",
  21200. "type": "integer"
  21201. },
  21202. "offamount": {
  21203. "description": "优惠金额",
  21204. "type": "number"
  21205. },
  21206. "payamount": {
  21207. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21208. "type": "number"
  21209. },
  21210. "payflag": {
  21211. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21212. "type": "integer"
  21213. },
  21214. "paylimitedtime": {
  21215. "description": "支付期限",
  21216. "type": "string"
  21217. },
  21218. "paytime": {
  21219. "description": "付款时间",
  21220. "type": "string"
  21221. },
  21222. "picurls": {
  21223. "description": "商品介绍图片[多张用逗号分隔]",
  21224. "type": "string"
  21225. },
  21226. "sellaccountid": {
  21227. "description": "卖方账号ID[报价币种]",
  21228. "type": "integer"
  21229. },
  21230. "sellorderid": {
  21231. "description": "卖方委托单号",
  21232. "type": "string"
  21233. },
  21234. "tradeamount": {
  21235. "description": "成交金额",
  21236. "type": "number"
  21237. },
  21238. "tradecharge": {
  21239. "description": "成交手续费(买方)",
  21240. "type": "number"
  21241. },
  21242. "tradedate": {
  21243. "description": "交易日(yyyyMMdd)",
  21244. "type": "string"
  21245. },
  21246. "tradeid": {
  21247. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21248. "type": "string"
  21249. },
  21250. "trademode": {
  21251. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21252. "type": "integer"
  21253. },
  21254. "tradeprice": {
  21255. "description": "成交价格",
  21256. "type": "number"
  21257. },
  21258. "tradeqty": {
  21259. "description": "成交数量",
  21260. "type": "integer"
  21261. }
  21262. }
  21263. },
  21264. "models.HsbySellMyDetail": {
  21265. "type": "object",
  21266. "required": [
  21267. "accountid",
  21268. "buyorsell",
  21269. "goodscode",
  21270. "goodsid",
  21271. "goodsname",
  21272. "marketid",
  21273. "orderid",
  21274. "time",
  21275. "trademode"
  21276. ],
  21277. "properties": {
  21278. "accountid": {
  21279. "description": "账户ID[报价币种]",
  21280. "type": "integer"
  21281. },
  21282. "agreeunit": {
  21283. "description": "合约单位",
  21284. "type": "number"
  21285. },
  21286. "buyorsell": {
  21287. "description": "买卖 - 0:买 1:卖",
  21288. "type": "integer"
  21289. },
  21290. "currencysign": {
  21291. "description": "货币符号",
  21292. "type": "string"
  21293. },
  21294. "decimalplace": {
  21295. "description": "报价小数位",
  21296. "type": "integer"
  21297. },
  21298. "goodscode": {
  21299. "description": "商品代码(内部)",
  21300. "type": "string"
  21301. },
  21302. "goodsid": {
  21303. "description": "商品ID",
  21304. "type": "integer"
  21305. },
  21306. "goodsname": {
  21307. "description": "商品名称",
  21308. "type": "string"
  21309. },
  21310. "marketid": {
  21311. "description": "市场ID",
  21312. "type": "integer"
  21313. },
  21314. "orderid": {
  21315. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21316. "type": "string"
  21317. },
  21318. "ordertype": {
  21319. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21320. "type": "integer"
  21321. },
  21322. "picurls": {
  21323. "description": "介绍图片[多张用逗号分隔]",
  21324. "type": "string"
  21325. },
  21326. "price": {
  21327. "description": "价格",
  21328. "type": "number"
  21329. },
  21330. "qty": {
  21331. "description": "数量",
  21332. "type": "integer"
  21333. },
  21334. "time": {
  21335. "description": "时间",
  21336. "type": "string"
  21337. },
  21338. "trademode": {
  21339. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21340. "type": "integer"
  21341. },
  21342. "vendorname": {
  21343. "description": "供应商名称",
  21344. "type": "string"
  21345. }
  21346. }
  21347. },
  21348. "models.HsbyTopGoods": {
  21349. "type": "object",
  21350. "required": [
  21351. "goodscode",
  21352. "goodsid",
  21353. "goodsname",
  21354. "marketid",
  21355. "trademode"
  21356. ],
  21357. "properties": {
  21358. "agreeunit": {
  21359. "description": "合约单位",
  21360. "type": "number"
  21361. },
  21362. "currency": {
  21363. "description": "货币",
  21364. "type": "string"
  21365. },
  21366. "currencysign": {
  21367. "description": "货币符号",
  21368. "type": "string"
  21369. },
  21370. "decimalplace": {
  21371. "description": "报价小数位",
  21372. "type": "integer"
  21373. },
  21374. "desccityid": {
  21375. "description": "目的地(市)",
  21376. "type": "integer"
  21377. },
  21378. "descprovinceid": {
  21379. "description": "目的地(省)",
  21380. "type": "integer"
  21381. },
  21382. "goodscode": {
  21383. "description": "商品代码(内部)",
  21384. "type": "string"
  21385. },
  21386. "goodsid": {
  21387. "description": "商品ID(自增ID SEQ_GOODS)",
  21388. "type": "integer"
  21389. },
  21390. "goodsname": {
  21391. "description": "商品名称",
  21392. "type": "string"
  21393. },
  21394. "hotindex": {
  21395. "description": "景点热度",
  21396. "type": "integer"
  21397. },
  21398. "last": {
  21399. "description": "现价",
  21400. "type": "number"
  21401. },
  21402. "marketid": {
  21403. "description": "所属市场ID",
  21404. "type": "integer"
  21405. },
  21406. "picurls": {
  21407. "description": "介绍图片[多张用逗号分隔]",
  21408. "type": "string"
  21409. },
  21410. "quoteminunit": {
  21411. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21412. "type": "integer"
  21413. },
  21414. "trademode": {
  21415. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21416. "type": "integer"
  21417. },
  21418. "videourls": {
  21419. "description": "介绍视频[多张用逗号分隔]",
  21420. "type": "string"
  21421. }
  21422. }
  21423. },
  21424. "models.HybsMyBuyOrderDetail": {
  21425. "type": "object",
  21426. "required": [
  21427. "accountid",
  21428. "buyorsell",
  21429. "goodscode",
  21430. "goodsid",
  21431. "goodsname",
  21432. "marketid",
  21433. "orderid",
  21434. "orderqty",
  21435. "ordertime",
  21436. "trademode"
  21437. ],
  21438. "properties": {
  21439. "accountid": {
  21440. "description": "账户ID[报价币种]",
  21441. "type": "integer"
  21442. },
  21443. "agreeunit": {
  21444. "description": "合约单位",
  21445. "type": "number"
  21446. },
  21447. "buyorsell": {
  21448. "description": "买卖 - 0:买 1:卖",
  21449. "type": "integer"
  21450. },
  21451. "cancelqty": {
  21452. "description": "撤单数量",
  21453. "type": "integer"
  21454. },
  21455. "currencysign": {
  21456. "description": "货币符号",
  21457. "type": "string"
  21458. },
  21459. "decimalplace": {
  21460. "description": "报价小数位",
  21461. "type": "integer"
  21462. },
  21463. "goodscode": {
  21464. "description": "商品代码(内部)",
  21465. "type": "string"
  21466. },
  21467. "goodsid": {
  21468. "description": "商品ID",
  21469. "type": "integer"
  21470. },
  21471. "goodsname": {
  21472. "description": "商品名称",
  21473. "type": "string"
  21474. },
  21475. "listingselecttype": {
  21476. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21477. "type": "integer"
  21478. },
  21479. "marketid": {
  21480. "description": "市场ID",
  21481. "type": "integer"
  21482. },
  21483. "mybuystatus": {
  21484. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  21485. "type": "integer"
  21486. },
  21487. "orderamount": {
  21488. "description": "委托金额",
  21489. "type": "number"
  21490. },
  21491. "orderid": {
  21492. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21493. "type": "string"
  21494. },
  21495. "orderprice": {
  21496. "description": "委托价格",
  21497. "type": "number"
  21498. },
  21499. "orderqty": {
  21500. "description": "委托数量",
  21501. "type": "integer"
  21502. },
  21503. "orderstatus": {
  21504. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21505. "type": "integer"
  21506. },
  21507. "ordertime": {
  21508. "description": "委托时间",
  21509. "type": "string"
  21510. },
  21511. "picurls1": {
  21512. "description": "预售商品介绍图片[多张用逗号分隔]",
  21513. "type": "string"
  21514. },
  21515. "picurls2": {
  21516. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21517. "type": "string"
  21518. },
  21519. "trademode": {
  21520. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21521. "type": "integer"
  21522. },
  21523. "tradeqty": {
  21524. "description": "成交数量",
  21525. "type": "integer"
  21526. },
  21527. "vendorname1": {
  21528. "description": "预售商品供应商名称",
  21529. "type": "string"
  21530. },
  21531. "vendorname2": {
  21532. "description": "挂牌商品供应商名称",
  21533. "type": "string"
  21534. }
  21535. }
  21536. },
  21537. "models.Loginaccount": {
  21538. "type": "object",
  21539. "required": [
  21540. "loginid"
  21541. ],
  21542. "properties": {
  21543. "canoutin": {
  21544. "description": "是否可出入金 - 0:不可 1:可",
  21545. "type": "integer"
  21546. },
  21547. "clientroleid": {
  21548. "description": "终端角色ID",
  21549. "type": "integer"
  21550. },
  21551. "haslogined": {
  21552. "description": "是否已登录 - 0:未登录 1:已登录",
  21553. "type": "integer"
  21554. },
  21555. "hasupdatedpwd": {
  21556. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21557. "type": "integer"
  21558. },
  21559. "lastloginip": {
  21560. "description": "最新登录地址",
  21561. "type": "string"
  21562. },
  21563. "lastloginmode": {
  21564. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21565. "type": "integer"
  21566. },
  21567. "lastloginremark": {
  21568. "description": "最新登录描述",
  21569. "type": "string"
  21570. },
  21571. "lastlogintime": {
  21572. "description": "最新登录时间",
  21573. "type": "string"
  21574. },
  21575. "logincode": {
  21576. "description": "登录代码",
  21577. "type": "string"
  21578. },
  21579. "loginfailnum": {
  21580. "description": "连续登录失败次数(登录成功时清零)",
  21581. "type": "integer"
  21582. },
  21583. "loginid": {
  21584. "description": "登陆账号",
  21585. "type": "integer"
  21586. },
  21587. "loginport": {
  21588. "description": "最新登录端口",
  21589. "type": "integer"
  21590. },
  21591. "loginstatus": {
  21592. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21593. "type": "integer"
  21594. },
  21595. "loginusertype": {
  21596. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21597. "type": "integer"
  21598. },
  21599. "modifierid": {
  21600. "description": "修改人",
  21601. "type": "integer"
  21602. },
  21603. "modifytime": {
  21604. "description": "修改时间",
  21605. "type": "string"
  21606. },
  21607. "pwdwrongcount": {
  21608. "description": "密码错误次数",
  21609. "type": "integer"
  21610. },
  21611. "taaccountrighttype": {
  21612. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21613. "type": "integer"
  21614. },
  21615. "unfreezetime": {
  21616. "description": "账户解冻时间",
  21617. "type": "string"
  21618. },
  21619. "userid": {
  21620. "description": "用户ID",
  21621. "type": "integer"
  21622. }
  21623. }
  21624. },
  21625. "models.MainAccountInfo": {
  21626. "type": "object",
  21627. "properties": {
  21628. "accountid": {
  21629. "description": "账号id",
  21630. "type": "integer"
  21631. },
  21632. "accountname": {
  21633. "description": "账号名称(taaccount表中的名称)",
  21634. "type": "string"
  21635. },
  21636. "appid": {
  21637. "description": "AppID",
  21638. "type": "string"
  21639. },
  21640. "authcode": {
  21641. "description": "授权码",
  21642. "type": "string"
  21643. },
  21644. "brokerid": {
  21645. "description": "经纪商id",
  21646. "type": "string"
  21647. },
  21648. "fcid": {
  21649. "description": "期货公司id",
  21650. "type": "integer"
  21651. },
  21652. "fcname": {
  21653. "description": "期货公司代码",
  21654. "type": "string"
  21655. },
  21656. "hedgeaccountcode": {
  21657. "description": "外部账号代码(主账号登录代码)",
  21658. "type": "string"
  21659. },
  21660. "hedgeaccountpwd": {
  21661. "description": "密码",
  21662. "type": "string"
  21663. },
  21664. "ismain": {
  21665. "description": "是否主账号",
  21666. "type": "integer"
  21667. },
  21668. "relateduserid": {
  21669. "description": "关联用户id",
  21670. "type": "integer"
  21671. },
  21672. "userid": {
  21673. "description": "关联用户id",
  21674. "type": "integer"
  21675. }
  21676. }
  21677. },
  21678. "models.Market": {
  21679. "type": "object",
  21680. "required": [
  21681. "marketid",
  21682. "marketstatus",
  21683. "openmethod",
  21684. "reckonpricealgorithm",
  21685. "trademode",
  21686. "tradeproperty"
  21687. ],
  21688. "properties": {
  21689. "auctionwrtype": {
  21690. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21691. "type": "integer"
  21692. },
  21693. "canacceptquote": {
  21694. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21695. "type": "integer"
  21696. },
  21697. "cangoodsexercise": {
  21698. "description": "[期权]是否可现货行权- 0:否 1:是",
  21699. "type": "integer"
  21700. },
  21701. "cangoodsexercisetype": {
  21702. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21703. "type": "integer"
  21704. },
  21705. "canmanualquotestrike": {
  21706. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21707. "type": "integer"
  21708. },
  21709. "canmutistage": {
  21710. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21711. "type": "integer"
  21712. },
  21713. "canpreexercise": {
  21714. "description": "[期权]是否可预申报- 0:否 1:是",
  21715. "type": "integer"
  21716. },
  21717. "clearinterval": {
  21718. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21719. "type": "integer"
  21720. },
  21721. "contracttmp": {
  21722. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21723. "type": "string"
  21724. },
  21725. "exchareaid": {
  21726. "description": "所属交易所,可以没有",
  21727. "type": "integer"
  21728. },
  21729. "goodstype": {
  21730. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21731. "type": "integer"
  21732. },
  21733. "hasrebate": {
  21734. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21735. "type": "integer"
  21736. },
  21737. "hastradecredit": {
  21738. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21739. "type": "integer"
  21740. },
  21741. "haswr": {
  21742. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21743. "type": "integer"
  21744. },
  21745. "isdeductmargin": {
  21746. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21747. "type": "integer"
  21748. },
  21749. "isrecordsource": {
  21750. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21751. "type": "integer"
  21752. },
  21753. "isreleasemargin": {
  21754. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21755. "type": "integer"
  21756. },
  21757. "marginformula": {
  21758. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21759. "type": "integer"
  21760. },
  21761. "marginformula2": {
  21762. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21763. "type": "integer"
  21764. },
  21765. "marketid": {
  21766. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21767. "type": "integer"
  21768. },
  21769. "marketname": {
  21770. "description": "市场名称",
  21771. "type": "string"
  21772. },
  21773. "marketserviceid": {
  21774. "description": "市场服务ID",
  21775. "type": "integer"
  21776. },
  21777. "marketstatus": {
  21778. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21779. "type": "integer"
  21780. },
  21781. "markettype": {
  21782. "description": "市场类型- 1:非交易服务 2:交易服务",
  21783. "type": "integer"
  21784. },
  21785. "matchermode": {
  21786. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21787. "type": "integer"
  21788. },
  21789. "openmethod": {
  21790. "description": "开盘模式 - 0 自动 1手动",
  21791. "type": "integer"
  21792. },
  21793. "otcuserid": {
  21794. "description": "场外期权做市商[场外期权]",
  21795. "type": "integer"
  21796. },
  21797. "outersynctime": {
  21798. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21799. "type": "string"
  21800. },
  21801. "pendingflag": {
  21802. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21803. "type": "integer"
  21804. },
  21805. "pendingtime": {
  21806. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21807. "type": "string"
  21808. },
  21809. "performancetempid": {
  21810. "description": "履约计划模板ID - 作废",
  21811. "type": "integer"
  21812. },
  21813. "premiumquotemode": {
  21814. "description": "权利金报价方式 - 1:自动 2:手动",
  21815. "type": "integer"
  21816. },
  21817. "rebateratio": {
  21818. "description": "返利比率[竞价式]",
  21819. "type": "number"
  21820. },
  21821. "reckonorder": {
  21822. "description": "结算顺序",
  21823. "type": "integer"
  21824. },
  21825. "reckonpricealgorithm": {
  21826. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21827. "type": "integer"
  21828. },
  21829. "reckonpriceparam": {
  21830. "description": "结算价参数",
  21831. "type": "integer"
  21832. },
  21833. "reckontime": {
  21834. "description": "结算时间[通道交易-对冲](HH:mm)",
  21835. "type": "string"
  21836. },
  21837. "roleprioritytype": {
  21838. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21839. "type": "integer"
  21840. },
  21841. "selllistingauditflag": {
  21842. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21843. "type": "integer"
  21844. },
  21845. "trademarkettype": {
  21846. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21847. "type": "integer"
  21848. },
  21849. "trademode": {
  21850. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21851. "type": "integer"
  21852. },
  21853. "tradeproperty": {
  21854. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21855. "type": "integer"
  21856. },
  21857. "tradetype": {
  21858. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21859. "type": "integer"
  21860. }
  21861. }
  21862. },
  21863. "models.Marketrun": {
  21864. "type": "object",
  21865. "required": [
  21866. "marketid",
  21867. "nexttradedate",
  21868. "reckonflag",
  21869. "runstatus",
  21870. "tradedate",
  21871. "tradedate2"
  21872. ],
  21873. "properties": {
  21874. "afternexttradedate": {
  21875. "description": "下下交易日",
  21876. "type": "string"
  21877. },
  21878. "clearquoteflag": {
  21879. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21880. "type": "integer"
  21881. },
  21882. "lastreckondate": {
  21883. "description": "最新交易日(结算成功)",
  21884. "type": "string"
  21885. },
  21886. "machinedate": {
  21887. "description": "机器时间",
  21888. "type": "string"
  21889. },
  21890. "manualflag": {
  21891. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21892. "type": "integer"
  21893. },
  21894. "marketid": {
  21895. "description": "市场ID",
  21896. "type": "integer"
  21897. },
  21898. "nexttradedate": {
  21899. "description": "下一交易日",
  21900. "type": "string"
  21901. },
  21902. "pretradedate": {
  21903. "description": "上一交易日",
  21904. "type": "string"
  21905. },
  21906. "reckonflag": {
  21907. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21908. "type": "integer"
  21909. },
  21910. "runstatus": {
  21911. "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.今日免清算",
  21912. "type": "integer"
  21913. },
  21914. "sectionid": {
  21915. "description": "时间段号[多时段时用]",
  21916. "type": "integer"
  21917. },
  21918. "tradedate": {
  21919. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21920. "type": "string"
  21921. },
  21922. "tradedate2": {
  21923. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21924. "type": "string"
  21925. },
  21926. "updatetime": {
  21927. "description": "更新时间",
  21928. "type": "string"
  21929. }
  21930. }
  21931. },
  21932. "models.Messageboard": {
  21933. "type": "object",
  21934. "required": [
  21935. "messageboardid"
  21936. ],
  21937. "properties": {
  21938. "contactnum": {
  21939. "description": "联系电话",
  21940. "type": "string"
  21941. },
  21942. "createtime": {
  21943. "description": "创建时间",
  21944. "type": "string"
  21945. },
  21946. "message": {
  21947. "description": "留言信息",
  21948. "type": "string"
  21949. },
  21950. "messageboardid": {
  21951. "description": "留言簿ID(SEQ_MessageBoard)",
  21952. "type": "integer"
  21953. },
  21954. "userid": {
  21955. "description": "用户ID",
  21956. "type": "integer"
  21957. }
  21958. }
  21959. },
  21960. "models.MyCoupon": {
  21961. "type": "object",
  21962. "required": [
  21963. "accountid",
  21964. "coupontypeid"
  21965. ],
  21966. "properties": {
  21967. "accountid": {
  21968. "description": "资金账户ID",
  21969. "type": "integer"
  21970. },
  21971. "areauserid": {
  21972. "description": "所属机构",
  21973. "type": "integer"
  21974. },
  21975. "conditionvalue": {
  21976. "description": "条件阈值(可为0)",
  21977. "type": "number"
  21978. },
  21979. "couponcategroy": {
  21980. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21981. "type": "integer"
  21982. },
  21983. "couponname": {
  21984. "description": "优惠券名称",
  21985. "type": "string"
  21986. },
  21987. "coupontypeid": {
  21988. "description": "优惠券类型ID",
  21989. "type": "string"
  21990. },
  21991. "couponvalue": {
  21992. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21993. "type": "number"
  21994. },
  21995. "curfreezeqty": {
  21996. "description": "期末冻结数量",
  21997. "type": "integer"
  21998. },
  21999. "curqty": {
  22000. "description": "期末数量",
  22001. "type": "integer"
  22002. },
  22003. "isgeneral": {
  22004. "description": "是否通用券 - 0:否 1:是",
  22005. "type": "integer"
  22006. },
  22007. "isunusable": {
  22008. "description": "是否不可用",
  22009. "type": "boolean"
  22010. },
  22011. "limitedflag": {
  22012. "description": "是否指定商品 - 0:不限 1:限制",
  22013. "type": "integer"
  22014. },
  22015. "limitedgoodsids": {
  22016. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  22017. "type": "string"
  22018. },
  22019. "orifreezeqty": {
  22020. "description": "期初冻结数量",
  22021. "type": "integer"
  22022. },
  22023. "oriqty": {
  22024. "description": "期初数量",
  22025. "type": "integer"
  22026. },
  22027. "reasontype": {
  22028. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  22029. "type": "integer"
  22030. },
  22031. "todaydecrease": {
  22032. "description": "今日减少",
  22033. "type": "integer"
  22034. },
  22035. "todayincrease": {
  22036. "description": "今日增加",
  22037. "type": "integer"
  22038. },
  22039. "userid": {
  22040. "description": "用户ID",
  22041. "type": "integer"
  22042. },
  22043. "userscope": {
  22044. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  22045. "type": "string"
  22046. }
  22047. }
  22048. },
  22049. "models.MyCouponHold": {
  22050. "type": "object",
  22051. "required": [
  22052. "couponholdid"
  22053. ],
  22054. "properties": {
  22055. "accountid": {
  22056. "description": "资金账户ID",
  22057. "type": "integer"
  22058. },
  22059. "conditionvalue": {
  22060. "description": "条件阈值(可为0)",
  22061. "type": "number"
  22062. },
  22063. "couponcategroy": {
  22064. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  22065. "type": "integer"
  22066. },
  22067. "couponholdid": {
  22068. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  22069. "type": "string"
  22070. },
  22071. "couponname": {
  22072. "description": "优惠券名称",
  22073. "type": "string"
  22074. },
  22075. "coupontypeid": {
  22076. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22077. "type": "string"
  22078. },
  22079. "couponvalue": {
  22080. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22081. "type": "number"
  22082. },
  22083. "createtime": {
  22084. "description": "创建时间",
  22085. "type": "string"
  22086. },
  22087. "enddate": {
  22088. "description": "结束日期",
  22089. "type": "string"
  22090. },
  22091. "giveapplyid": {
  22092. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22093. "type": "integer"
  22094. },
  22095. "holdstatus": {
  22096. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22097. "type": "integer"
  22098. },
  22099. "isgeneral": {
  22100. "description": "是否通用券 - 0:否 1:是",
  22101. "type": "integer"
  22102. },
  22103. "limitedflag": {
  22104. "description": "是否指定商品 - 0:不限 1:限制",
  22105. "type": "integer"
  22106. },
  22107. "limitedgoodsids": {
  22108. "description": "指定商品IDs[逗号分隔]",
  22109. "type": "string"
  22110. },
  22111. "qty": {
  22112. "description": "数量(按1平铺)",
  22113. "type": "integer"
  22114. },
  22115. "startdate": {
  22116. "description": "开始日期",
  22117. "type": "string"
  22118. },
  22119. "userid": {
  22120. "description": "用户ID",
  22121. "type": "integer"
  22122. },
  22123. "userscope": {
  22124. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22125. "type": "string"
  22126. }
  22127. }
  22128. },
  22129. "models.MyUsedCoupon": {
  22130. "type": "object",
  22131. "required": [
  22132. "coupontypeid",
  22133. "orderid"
  22134. ],
  22135. "properties": {
  22136. "accountid": {
  22137. "description": "资金账户ID(买方)",
  22138. "type": "integer"
  22139. },
  22140. "conditionvalue": {
  22141. "description": "条件阈值(可为0)",
  22142. "type": "number"
  22143. },
  22144. "couponcategroy": {
  22145. "description": "种类 - 1:现金券 2:折扣券",
  22146. "type": "integer"
  22147. },
  22148. "couponname": {
  22149. "description": "优惠券名称",
  22150. "type": "string"
  22151. },
  22152. "coupontypeid": {
  22153. "description": "优惠券类型ID(买方)",
  22154. "type": "string"
  22155. },
  22156. "couponvalue": {
  22157. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22158. "type": "number"
  22159. },
  22160. "createtime": {
  22161. "description": "创建时间",
  22162. "type": "string"
  22163. },
  22164. "goodsid": {
  22165. "description": "商品ID",
  22166. "type": "integer"
  22167. },
  22168. "handlestatus": {
  22169. "description": "处理状态",
  22170. "type": "integer"
  22171. },
  22172. "marketid": {
  22173. "description": "市场ID",
  22174. "type": "integer"
  22175. },
  22176. "offamount": {
  22177. "description": "优惠金额",
  22178. "type": "number"
  22179. },
  22180. "orderid": {
  22181. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22182. "type": "string"
  22183. },
  22184. "sellaccountid": {
  22185. "description": "资金账户ID(卖方)",
  22186. "type": "integer"
  22187. },
  22188. "tradeamount": {
  22189. "description": "成交金额",
  22190. "type": "number"
  22191. },
  22192. "tradeid": {
  22193. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22194. "type": "string"
  22195. },
  22196. "usedqty": {
  22197. "description": "使用数量",
  22198. "type": "integer"
  22199. }
  22200. }
  22201. },
  22202. "models.OperationPrimaryMenu": {
  22203. "type": "object",
  22204. "properties": {
  22205. "Children": {
  22206. "description": "二级功能菜单",
  22207. "type": "array",
  22208. "items": {
  22209. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22210. }
  22211. },
  22212. "Key": {
  22213. "description": "菜单KEY",
  22214. "type": "string"
  22215. },
  22216. "Label": {
  22217. "description": "菜单标题",
  22218. "type": "string"
  22219. }
  22220. }
  22221. },
  22222. "models.OperationSecondaryMenu": {
  22223. "type": "object",
  22224. "properties": {
  22225. "Key": {
  22226. "description": "菜单KEY",
  22227. "type": "string"
  22228. },
  22229. "Label": {
  22230. "description": "菜单标题",
  22231. "type": "string"
  22232. },
  22233. "TabList": {
  22234. "description": "三级功能菜单",
  22235. "type": "array",
  22236. "items": {
  22237. "$ref": "#/definitions/models.OperationTabMenu"
  22238. }
  22239. }
  22240. }
  22241. },
  22242. "models.OperationTabMenu": {
  22243. "type": "object",
  22244. "properties": {
  22245. "Key": {
  22246. "description": "菜单KEY",
  22247. "type": "string"
  22248. },
  22249. "Label": {
  22250. "description": "菜单标题",
  22251. "type": "string"
  22252. }
  22253. }
  22254. },
  22255. "models.PendingAuditBizModel": {
  22256. "type": "object",
  22257. "properties": {
  22258. "accountid": {
  22259. "description": "现货账户",
  22260. "type": "string"
  22261. },
  22262. "areaname": {
  22263. "description": "所属部门",
  22264. "type": "string"
  22265. },
  22266. "bizid": {
  22267. "description": "业务ID",
  22268. "type": "string"
  22269. },
  22270. "bizname": {
  22271. "description": "业务名称",
  22272. "type": "string"
  22273. },
  22274. "status": {
  22275. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22276. "type": "integer"
  22277. },
  22278. "type": {
  22279. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22280. "type": "integer"
  22281. }
  22282. }
  22283. },
  22284. "models.QhjAccountOutInApply": {
  22285. "type": "object",
  22286. "properties": {
  22287. "accountcode": {
  22288. "description": "资金账号",
  22289. "type": "string"
  22290. },
  22291. "accountname": {
  22292. "description": "用户名称(名称)",
  22293. "type": "string"
  22294. },
  22295. "accountpwd": {
  22296. "description": "资金密码",
  22297. "type": "string"
  22298. },
  22299. "accountticket": {
  22300. "description": "最新账户服务流水号",
  22301. "type": "string"
  22302. },
  22303. "amount": {
  22304. "description": "金额",
  22305. "type": "number"
  22306. },
  22307. "applyremark": {
  22308. "description": "申请备注",
  22309. "type": "string"
  22310. },
  22311. "applystatus": {
  22312. "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: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  22313. "type": "integer"
  22314. },
  22315. "auditid": {
  22316. "description": "审核人",
  22317. "type": "integer"
  22318. },
  22319. "audittime": {
  22320. "description": "审核时间",
  22321. "type": "string"
  22322. },
  22323. "bank_apply_ticket": {
  22324. "description": "银行申请流水",
  22325. "type": "string"
  22326. },
  22327. "bankaccountname": {
  22328. "description": "银行账户名",
  22329. "type": "string"
  22330. },
  22331. "bankaccountno": {
  22332. "description": "银行卡号",
  22333. "type": "string"
  22334. },
  22335. "bankid": {
  22336. "description": "银行编号",
  22337. "type": "string"
  22338. },
  22339. "bankticket": {
  22340. "description": "银行流水",
  22341. "type": "string"
  22342. },
  22343. "branchbankid": {
  22344. "description": "银行支行号",
  22345. "type": "string"
  22346. },
  22347. "branchbankname": {
  22348. "description": "银行支行名称",
  22349. "type": "string"
  22350. },
  22351. "capamountout": {
  22352. "description": "出金(劣后本金) - 外部子账户",
  22353. "type": "number"
  22354. },
  22355. "certificatephotourl": {
  22356. "description": "凭证地址",
  22357. "type": "string"
  22358. },
  22359. "charge": {
  22360. "description": "手续费",
  22361. "type": "number"
  22362. },
  22363. "checkerrorflag": {
  22364. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  22365. "type": "integer"
  22366. },
  22367. "currency": {
  22368. "description": "币种",
  22369. "type": "string"
  22370. },
  22371. "cusbankid": {
  22372. "description": "托管银行编号",
  22373. "type": "string"
  22374. },
  22375. "exchticket": {
  22376. "description": "银行服务流水号",
  22377. "type": "string"
  22378. },
  22379. "executetype": {
  22380. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  22381. "type": "integer"
  22382. },
  22383. "extendinfo": {
  22384. "description": "扩展信息",
  22385. "type": "string"
  22386. },
  22387. "extoperateid": {
  22388. "description": "交易服务流水号",
  22389. "type": "integer"
  22390. },
  22391. "infamount": {
  22392. "description": "劣后金额(自有)",
  22393. "type": "number"
  22394. },
  22395. "logincode": {
  22396. "description": "登录账号(账号)",
  22397. "type": "string"
  22398. },
  22399. "netaddr": {
  22400. "description": "调转网址",
  22401. "type": "string"
  22402. },
  22403. "priamount": {
  22404. "description": "优先金额(授信)",
  22405. "type": "number"
  22406. },
  22407. "reauditid": {
  22408. "description": "复审人",
  22409. "type": "integer"
  22410. },
  22411. "reauditremark": {
  22412. "description": "复审备注",
  22413. "type": "string"
  22414. },
  22415. "reaudittime": {
  22416. "description": "复审时间",
  22417. "type": "string"
  22418. },
  22419. "relatedorderid": {
  22420. "description": "三方关联ID",
  22421. "type": "string"
  22422. },
  22423. "remark": {
  22424. "description": "备注",
  22425. "type": "string"
  22426. },
  22427. "remark2": {
  22428. "description": "备注(失败原因)",
  22429. "type": "string"
  22430. },
  22431. "soucreamount": {
  22432. "description": "原始出入金金额",
  22433. "type": "number"
  22434. },
  22435. "soucrecurrencyid": {
  22436. "description": "原始出入金币种",
  22437. "type": "integer"
  22438. },
  22439. "tradedate": {
  22440. "description": "交易日(yyyyMMdd)",
  22441. "type": "string"
  22442. },
  22443. "updatetime": {
  22444. "description": "更新时间(申请时间)",
  22445. "type": "string"
  22446. },
  22447. "userid": {
  22448. "description": "用户id",
  22449. "type": "integer"
  22450. },
  22451. "userinfotype": {
  22452. "description": "账户类型 1-个人 2-企业",
  22453. "type": "integer"
  22454. }
  22455. }
  22456. },
  22457. "models.QhjBankAccountSign": {
  22458. "type": "object",
  22459. "properties": {
  22460. "accountcode": {
  22461. "description": "资金账号",
  22462. "type": "string"
  22463. },
  22464. "accountname": {
  22465. "description": "资金账号对应的账号名(UserName)",
  22466. "type": "string"
  22467. },
  22468. "accountname2": {
  22469. "description": "资金账号对应的账号名(UserName) - 密文",
  22470. "type": "string"
  22471. },
  22472. "accounttype": {
  22473. "description": "账户类型(UserType)",
  22474. "type": "integer"
  22475. },
  22476. "applicationtime": {
  22477. "description": "最后一次更新的时间",
  22478. "type": "string"
  22479. },
  22480. "applyexchticket": {
  22481. "description": "申请流水",
  22482. "type": "string"
  22483. },
  22484. "auditid": {
  22485. "description": "审核人",
  22486. "type": "integer"
  22487. },
  22488. "audittime": {
  22489. "description": "审核时间",
  22490. "type": "string"
  22491. },
  22492. "bankaccountname": {
  22493. "description": "签约银行卡账号名",
  22494. "type": "string"
  22495. },
  22496. "bankaccountname2": {
  22497. "description": "签约银行卡账号名 - 密文",
  22498. "type": "string"
  22499. },
  22500. "bankaccountno": {
  22501. "description": "银行卡号",
  22502. "type": "string"
  22503. },
  22504. "bankaccountno2": {
  22505. "description": "银行卡号 - 密文",
  22506. "type": "string"
  22507. },
  22508. "bankaccounttype": {
  22509. "description": "银行账户类型 - 1-对私; 2-对公",
  22510. "type": "integer"
  22511. },
  22512. "bankcardtype": {
  22513. "description": "银行卡类型",
  22514. "type": "integer"
  22515. },
  22516. "bankchildaccount": {
  22517. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  22518. "type": "string"
  22519. },
  22520. "bankcity": {
  22521. "description": "开户行城市",
  22522. "type": "string"
  22523. },
  22524. "bankid": {
  22525. "description": "签约银行ID",
  22526. "type": "string"
  22527. },
  22528. "bankname": {
  22529. "description": "签约银行名称",
  22530. "type": "string"
  22531. },
  22532. "bankprovince": {
  22533. "description": "开户行省份",
  22534. "type": "string"
  22535. },
  22536. "branchbankid": {
  22537. "description": "签约银行支行号",
  22538. "type": "string"
  22539. },
  22540. "branchbankname": {
  22541. "description": "签约银行支行名称",
  22542. "type": "string"
  22543. },
  22544. "cardno": {
  22545. "description": "证件号码",
  22546. "type": "string"
  22547. },
  22548. "cardno2": {
  22549. "description": "证件号码 - 密文",
  22550. "type": "string"
  22551. },
  22552. "cardtype": {
  22553. "description": "证件类型",
  22554. "type": "string"
  22555. },
  22556. "currency": {
  22557. "description": "币种",
  22558. "type": "string"
  22559. },
  22560. "cusbankid": {
  22561. "description": "托管银行编号",
  22562. "type": "string"
  22563. },
  22564. "direct": {
  22565. "description": "方向(可以判断那方先发起的签约)",
  22566. "type": "integer"
  22567. },
  22568. "exchticket": {
  22569. "description": "最后一次签约成功的流水号",
  22570. "type": "string"
  22571. },
  22572. "extendinfo": {
  22573. "description": "扩展信息(JSON字符串)",
  22574. "type": "string"
  22575. },
  22576. "mobilephone": {
  22577. "description": "手机号",
  22578. "type": "string"
  22579. },
  22580. "mobilephone2": {
  22581. "description": "手机号 - 密文",
  22582. "type": "string"
  22583. },
  22584. "netaddr": {
  22585. "description": "调转网址",
  22586. "type": "string"
  22587. },
  22588. "relateduserid": {
  22589. "description": "关联使用者userid",
  22590. "type": "integer"
  22591. },
  22592. "signstatus": {
  22593. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  22594. "type": "integer"
  22595. },
  22596. "updatetime": {
  22597. "description": "更新时间(签解约更新时间)",
  22598. "type": "string"
  22599. }
  22600. }
  22601. },
  22602. "models.QhjBankInfo": {
  22603. "type": "object",
  22604. "properties": {
  22605. "bankid": {
  22606. "description": "银行ID",
  22607. "type": "string"
  22608. },
  22609. "bankname": {
  22610. "description": "银行名称",
  22611. "type": "string"
  22612. },
  22613. "clearbankno": {
  22614. "description": "清算系统银行编号",
  22615. "type": "string"
  22616. },
  22617. "orderindex": {
  22618. "description": "排序顺序",
  22619. "type": "integer"
  22620. },
  22621. "status": {
  22622. "description": "状态 - 0:正常 1:注销",
  22623. "type": "integer"
  22624. }
  22625. }
  22626. },
  22627. "models.QhjContract": {
  22628. "type": "object",
  22629. "properties": {
  22630. "contractconfirmtime": {
  22631. "description": "合同确认时间(时间)",
  22632. "type": "string"
  22633. },
  22634. "currisklevel": {
  22635. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  22636. "type": "integer"
  22637. },
  22638. "decimalplace": {
  22639. "description": "商品报价小数位",
  22640. "type": "integer"
  22641. },
  22642. "enumdicname": {
  22643. "description": "单位名称",
  22644. "type": "string"
  22645. },
  22646. "goodscode": {
  22647. "description": "商品代码",
  22648. "type": "string"
  22649. },
  22650. "goodsid": {
  22651. "description": "商品ID [5:融资单]",
  22652. "type": "integer"
  22653. },
  22654. "goodsname": {
  22655. "description": "商品名称",
  22656. "type": "string"
  22657. },
  22658. "goodunitid": {
  22659. "description": "商品单位id",
  22660. "type": "integer"
  22661. },
  22662. "initmargin": {
  22663. "description": "初始保证金(首付款)",
  22664. "type": "number"
  22665. },
  22666. "lenderamount": {
  22667. "description": "贷款金额(总额|订单总额)",
  22668. "type": "number"
  22669. },
  22670. "marginratio": {
  22671. "description": "保证金比率(首付比例)",
  22672. "type": "number"
  22673. },
  22674. "payamount": {
  22675. "description": "已付(已付货款)",
  22676. "type": "number"
  22677. },
  22678. "reckonrecovermargin": {
  22679. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  22680. "type": "number"
  22681. },
  22682. "recoveredmargin": {
  22683. "description": "已追缴保证金",
  22684. "type": "number"
  22685. },
  22686. "remainamount": {
  22687. "description": "合同剩余金额(融资额)",
  22688. "type": "number"
  22689. },
  22690. "scfcontractid": {
  22691. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22692. "type": "string"
  22693. },
  22694. "scfcontractstatus": {
  22695. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  22696. "type": "integer"
  22697. },
  22698. "scfcontracttype": {
  22699. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  22700. "type": "integer"
  22701. },
  22702. "totalinterest": {
  22703. "description": "已计总利息(利息)",
  22704. "type": "number"
  22705. },
  22706. "tradeprice": {
  22707. "description": "成交价格(成本价格)",
  22708. "type": "number"
  22709. },
  22710. "userid": {
  22711. "description": "用户ID",
  22712. "type": "integer"
  22713. },
  22714. "username": {
  22715. "description": "用户名称",
  22716. "type": "string"
  22717. },
  22718. "wrqty": {
  22719. "description": "仓单数量(数量)",
  22720. "type": "number"
  22721. }
  22722. }
  22723. },
  22724. "models.QhjContractLog": {
  22725. "type": "object",
  22726. "properties": {
  22727. "amount": {
  22728. "description": "支付金额",
  22729. "type": "number"
  22730. },
  22731. "amounttype": {
  22732. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  22733. "type": "integer"
  22734. },
  22735. "logid": {
  22736. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22737. "type": "string"
  22738. },
  22739. "remainamount": {
  22740. "description": "剩余货款",
  22741. "type": "number"
  22742. },
  22743. "scfcontractid": {
  22744. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22745. "type": "integer"
  22746. },
  22747. "updatetime": {
  22748. "description": "更新时间",
  22749. "type": "string"
  22750. }
  22751. }
  22752. },
  22753. "models.QhjCusBankSignBankEx": {
  22754. "type": "object",
  22755. "properties": {
  22756. "banklst": {
  22757. "description": "银行列表",
  22758. "type": "array",
  22759. "items": {
  22760. "$ref": "#/definitions/models.QhjBankInfo"
  22761. }
  22762. },
  22763. "canallot": {
  22764. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  22765. "type": "integer"
  22766. },
  22767. "canallotquery": {
  22768. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  22769. "type": "integer"
  22770. },
  22771. "canbindcard": {
  22772. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  22773. "type": "integer"
  22774. },
  22775. "caninamount": {
  22776. "description": "是否可入金 - 0:不可 1:可以",
  22777. "type": "integer"
  22778. },
  22779. "caninamount2": {
  22780. "description": "是否可入金(网银端) - 0:不可 1:可以",
  22781. "type": "integer"
  22782. },
  22783. "canmodifybankcard": {
  22784. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  22785. "type": "integer"
  22786. },
  22787. "canmodifyphone": {
  22788. "description": "是否可修改手机号 - 0:不可 1:可以",
  22789. "type": "integer"
  22790. },
  22791. "canmodifysigninfo": {
  22792. "description": "是否可修改签约信息 - 0:不可 1:可以",
  22793. "type": "integer"
  22794. },
  22795. "canoutamount": {
  22796. "description": "是否可出金 - 0:不可 1:可以",
  22797. "type": "integer"
  22798. },
  22799. "canoutamount2": {
  22800. "description": "是否可出金(网银端) - 0:不可 1:可以",
  22801. "type": "integer"
  22802. },
  22803. "canrelease": {
  22804. "description": "是否可解约 - 0:不可 1:可以",
  22805. "type": "integer"
  22806. },
  22807. "canrelease2": {
  22808. "description": "是否可解约(网银端) - 0:不可 1:可以",
  22809. "type": "integer"
  22810. },
  22811. "cansign": {
  22812. "description": "是否可签约 - 0:不可 1:可以",
  22813. "type": "integer"
  22814. },
  22815. "cansign2": {
  22816. "description": "是否可签约(网银端) - 0:不可 1:可以",
  22817. "type": "integer"
  22818. },
  22819. "currency": {
  22820. "description": "币种",
  22821. "type": "string"
  22822. },
  22823. "cusbankid": {
  22824. "description": "托管银行编号(对应清算中心TRAN_NO)",
  22825. "type": "string"
  22826. },
  22827. "cusbankname": {
  22828. "description": "银行业务名称",
  22829. "type": "string"
  22830. },
  22831. "cusbankshortname": {
  22832. "description": "银行业务简称",
  22833. "type": "string"
  22834. },
  22835. "exchbankid": {
  22836. "description": "交易所开户银行ID",
  22837. "type": "string"
  22838. },
  22839. "exchpaybankaccname": {
  22840. "description": "交易所支出结算账户户名",
  22841. "type": "string"
  22842. },
  22843. "exchpaybankaccno": {
  22844. "description": "交易所支出结算账户",
  22845. "type": "string"
  22846. },
  22847. "isneedcheck": {
  22848. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  22849. "type": "integer"
  22850. },
  22851. "isneedclear": {
  22852. "description": "是否需要清算 - 0:不需要 1:需要",
  22853. "type": "integer"
  22854. },
  22855. "lastcheckstatus": {
  22856. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  22857. "type": "integer"
  22858. },
  22859. "lastchecktime": {
  22860. "description": "最后对账时间",
  22861. "type": "string"
  22862. },
  22863. "lastclearstatus": {
  22864. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  22865. "type": "integer"
  22866. },
  22867. "lastcleartime": {
  22868. "description": "最后清算时间",
  22869. "type": "string"
  22870. },
  22871. "lastsignintime": {
  22872. "description": "最后签到时间",
  22873. "type": "string"
  22874. },
  22875. "lastsignouttime": {
  22876. "description": "最后签退时间",
  22877. "type": "string"
  22878. },
  22879. "riskinfo": {
  22880. "description": "签约风险提示书",
  22881. "type": "string"
  22882. },
  22883. "signstatus": {
  22884. "description": "当前签到/签退状态 - 1:签到 2:签退",
  22885. "type": "integer"
  22886. },
  22887. "tradedate": {
  22888. "description": "交易日(yyyyMMdd)",
  22889. "type": "string"
  22890. },
  22891. "updatetime": {
  22892. "description": "当前签到/签退更新时间",
  22893. "type": "string"
  22894. }
  22895. }
  22896. },
  22897. "models.QhjCustomer": {
  22898. "type": "object",
  22899. "properties": {
  22900. "address": {
  22901. "description": "通讯地址",
  22902. "type": "string"
  22903. },
  22904. "attachment1": {
  22905. "description": "附件1",
  22906. "type": "string"
  22907. },
  22908. "audittime": {
  22909. "description": "审核时间",
  22910. "type": "string"
  22911. },
  22912. "cardbackphotourl": {
  22913. "description": "证件反面图片地址",
  22914. "type": "string"
  22915. },
  22916. "cardfrontphotourl": {
  22917. "description": "证件正面图片地址",
  22918. "type": "string"
  22919. },
  22920. "cardnum": {
  22921. "description": "证件号码",
  22922. "type": "string"
  22923. },
  22924. "cardtype": {
  22925. "description": "证件类型",
  22926. "type": "integer"
  22927. },
  22928. "cardtypename": {
  22929. "description": "证件类型名称",
  22930. "type": "string"
  22931. },
  22932. "cityid": {
  22933. "description": "市",
  22934. "type": "integer"
  22935. },
  22936. "cityname": {
  22937. "description": "城市名称",
  22938. "type": "string"
  22939. },
  22940. "contactname": {
  22941. "description": "联系人",
  22942. "type": "string"
  22943. },
  22944. "countryid": {
  22945. "description": "国家",
  22946. "type": "integer"
  22947. },
  22948. "countryname": {
  22949. "description": "国家名称",
  22950. "type": "string"
  22951. },
  22952. "createtime": {
  22953. "description": "创建时间",
  22954. "type": "string"
  22955. },
  22956. "customername": {
  22957. "description": "客户名称",
  22958. "type": "string"
  22959. },
  22960. "districtid": {
  22961. "description": "区域",
  22962. "type": "integer"
  22963. },
  22964. "districtname": {
  22965. "description": "地区名称",
  22966. "type": "string"
  22967. },
  22968. "email": {
  22969. "description": "邮件",
  22970. "type": "string"
  22971. },
  22972. "legalpersonname": {
  22973. "description": "法人姓名(企业)",
  22974. "type": "string"
  22975. },
  22976. "logincode": {
  22977. "description": "登录账号(代码)",
  22978. "type": "string"
  22979. },
  22980. "memberuserid": {
  22981. "description": "所属机构ID(所属会员)",
  22982. "type": "integer"
  22983. },
  22984. "memberusername": {
  22985. "description": "所属会员名称",
  22986. "type": "string"
  22987. },
  22988. "mobile": {
  22989. "description": "手机号码",
  22990. "type": "string"
  22991. },
  22992. "modifytime": {
  22993. "description": "修改时间",
  22994. "type": "string"
  22995. },
  22996. "nickname": {
  22997. "description": "昵称",
  22998. "type": "string"
  22999. },
  23000. "parentuserid": {
  23001. "description": "上级机构(所属机构)",
  23002. "type": "integer"
  23003. },
  23004. "parentusername": {
  23005. "description": "所属机构名称",
  23006. "type": "string"
  23007. },
  23008. "provinceid": {
  23009. "description": "省",
  23010. "type": "integer"
  23011. },
  23012. "provincename": {
  23013. "description": "省名称",
  23014. "type": "string"
  23015. },
  23016. "remark": {
  23017. "description": "备注",
  23018. "type": "string"
  23019. },
  23020. "status": {
  23021. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  23022. "type": "integer"
  23023. },
  23024. "statusdesc": {
  23025. "description": "账户状态中文描述",
  23026. "type": "string"
  23027. },
  23028. "taxpayernum": {
  23029. "description": "纳税人识别号",
  23030. "type": "string"
  23031. },
  23032. "telphone": {
  23033. "description": "联系电话",
  23034. "type": "string"
  23035. },
  23036. "userid": {
  23037. "description": "用户ID",
  23038. "type": "integer"
  23039. },
  23040. "userinfotype": {
  23041. "description": "客户类型 1-个人 2-企业",
  23042. "type": "integer"
  23043. },
  23044. "username": {
  23045. "description": "用户名称",
  23046. "type": "string"
  23047. }
  23048. }
  23049. },
  23050. "models.QhjMgrContract": {
  23051. "type": "object",
  23052. "properties": {
  23053. "contractconfirmtime": {
  23054. "description": "合同确认时间(时间)",
  23055. "type": "string"
  23056. },
  23057. "currisklevel": {
  23058. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  23059. "type": "integer"
  23060. },
  23061. "decimalplace": {
  23062. "description": "商品报价小数位",
  23063. "type": "integer"
  23064. },
  23065. "enumdicname": {
  23066. "description": "单位名称",
  23067. "type": "string"
  23068. },
  23069. "goodscode": {
  23070. "description": "商品代码",
  23071. "type": "string"
  23072. },
  23073. "goodsid": {
  23074. "description": "商品ID [5:融资单]",
  23075. "type": "integer"
  23076. },
  23077. "goodsname": {
  23078. "description": "商品名称",
  23079. "type": "string"
  23080. },
  23081. "goodunitid": {
  23082. "description": "商品单位id",
  23083. "type": "integer"
  23084. },
  23085. "initmargin": {
  23086. "description": "初始保证金(首付款)",
  23087. "type": "number"
  23088. },
  23089. "lenderamount": {
  23090. "description": "贷款金额(总额|订单总额)",
  23091. "type": "number"
  23092. },
  23093. "logincode": {
  23094. "description": "账号(登录代码)",
  23095. "type": "string"
  23096. },
  23097. "marginratio": {
  23098. "description": "保证金比率(首付比例)",
  23099. "type": "number"
  23100. },
  23101. "mobile": {
  23102. "description": "电话号码(用户资料里的电话)",
  23103. "type": "string"
  23104. },
  23105. "payamount": {
  23106. "description": "已付(已付货款)",
  23107. "type": "number"
  23108. },
  23109. "reckonrecovermargin": {
  23110. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  23111. "type": "number"
  23112. },
  23113. "recoveredmargin": {
  23114. "description": "已追缴保证金",
  23115. "type": "number"
  23116. },
  23117. "remainamount": {
  23118. "description": "合同剩余金额(融资额)",
  23119. "type": "number"
  23120. },
  23121. "scfcontractid": {
  23122. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23123. "type": "string"
  23124. },
  23125. "scfcontractstatus": {
  23126. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  23127. "type": "integer"
  23128. },
  23129. "scfcontracttype": {
  23130. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  23131. "type": "integer"
  23132. },
  23133. "totalinterest": {
  23134. "description": "已计总利息(利息)",
  23135. "type": "number"
  23136. },
  23137. "tradedate": {
  23138. "description": "交易日",
  23139. "type": "string"
  23140. },
  23141. "tradeprice": {
  23142. "description": "成交价格(成本价格)",
  23143. "type": "number"
  23144. },
  23145. "userid": {
  23146. "description": "用户ID",
  23147. "type": "integer"
  23148. },
  23149. "userinfotype": {
  23150. "description": "用户类型 1-个人 2-企业",
  23151. "type": "integer"
  23152. },
  23153. "username": {
  23154. "description": "用户名称",
  23155. "type": "string"
  23156. },
  23157. "wrqty": {
  23158. "description": "仓单数量(数量)",
  23159. "type": "number"
  23160. }
  23161. }
  23162. },
  23163. "models.QhjMgrPositionRsp": {
  23164. "type": "object",
  23165. "properties": {
  23166. "accountid": {
  23167. "description": "账号Id",
  23168. "type": "integer"
  23169. },
  23170. "accountname": {
  23171. "description": "用户名称",
  23172. "type": "string"
  23173. },
  23174. "agreeunit": {
  23175. "description": "合约乘数",
  23176. "type": "number"
  23177. },
  23178. "averageprice": {
  23179. "description": "均价",
  23180. "type": "number"
  23181. },
  23182. "avialqty": {
  23183. "description": "可用数量",
  23184. "type": "number"
  23185. },
  23186. "decimalplace": {
  23187. "description": "报价小数位",
  23188. "type": "integer"
  23189. },
  23190. "enumdicname": {
  23191. "description": "单位名称(商品)",
  23192. "type": "string"
  23193. },
  23194. "frozenqty": {
  23195. "description": "冻结数量",
  23196. "type": "number"
  23197. },
  23198. "goodscode": {
  23199. "description": "商品代码(内部)",
  23200. "type": "string"
  23201. },
  23202. "goodsid": {
  23203. "description": "商品Id",
  23204. "type": "integer"
  23205. },
  23206. "goodsname": {
  23207. "description": "商品名称",
  23208. "type": "string"
  23209. },
  23210. "goodunitid": {
  23211. "description": "报价单位ID",
  23212. "type": "integer"
  23213. },
  23214. "holderamount": {
  23215. "description": "金额",
  23216. "type": "number"
  23217. },
  23218. "holderqty": {
  23219. "description": "持有数量",
  23220. "type": "number"
  23221. },
  23222. "holdertype": {
  23223. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  23224. "type": "integer"
  23225. },
  23226. "logincode": {
  23227. "description": "登录代码(账户)",
  23228. "type": "string"
  23229. },
  23230. "marketid": {
  23231. "description": "市场id",
  23232. "type": "integer"
  23233. },
  23234. "qtydecimalplace": {
  23235. "description": "成交量小数位",
  23236. "type": "integer"
  23237. },
  23238. "trademode": {
  23239. "description": "交易模式",
  23240. "type": "integer"
  23241. },
  23242. "userid": {
  23243. "description": "用户id",
  23244. "type": "integer"
  23245. },
  23246. "userinfotype": {
  23247. "description": "账户类型 1-个人 2-企业",
  23248. "type": "integer"
  23249. }
  23250. }
  23251. },
  23252. "models.QhjMgrSubArea": {
  23253. "type": "object",
  23254. "properties": {
  23255. "accountname": {
  23256. "description": "账户名称(机构名称)",
  23257. "type": "string"
  23258. },
  23259. "memberuserid": {
  23260. "description": "所属会员ID",
  23261. "type": "integer"
  23262. },
  23263. "parenttopuser": {
  23264. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23265. "type": "string"
  23266. },
  23267. "parentuserid": {
  23268. "description": "所属机构ID",
  23269. "type": "integer"
  23270. },
  23271. "rootuserid": {
  23272. "description": "根用户ID",
  23273. "type": "string"
  23274. },
  23275. "subaccountlevel": {
  23276. "description": "子账户层数",
  23277. "type": "integer"
  23278. },
  23279. "subarealevelpath": {
  23280. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23281. "type": "string"
  23282. },
  23283. "userid": {
  23284. "description": "用户ID",
  23285. "type": "integer"
  23286. },
  23287. "usertype": {
  23288. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23289. "type": "integer"
  23290. }
  23291. }
  23292. },
  23293. "models.QhjMgrTradeDetailRsp": {
  23294. "type": "object",
  23295. "properties": {
  23296. "accountid": {
  23297. "description": "资金账号",
  23298. "type": "integer"
  23299. },
  23300. "accountname": {
  23301. "description": "用户名称",
  23302. "type": "string"
  23303. },
  23304. "agreeunit": {
  23305. "description": "合约乘数",
  23306. "type": "number"
  23307. },
  23308. "buyorsell": {
  23309. "description": "成交类型(方向) 0:买 1:卖",
  23310. "type": "integer"
  23311. },
  23312. "decimalplace": {
  23313. "description": "报价小数位",
  23314. "type": "integer"
  23315. },
  23316. "enumdicname": {
  23317. "description": "单位名称(商品)",
  23318. "type": "string"
  23319. },
  23320. "goodscode": {
  23321. "description": "商品代码(内部)",
  23322. "type": "string"
  23323. },
  23324. "goodsid": {
  23325. "description": "商品id",
  23326. "type": "integer"
  23327. },
  23328. "goodsname": {
  23329. "description": "商品名称",
  23330. "type": "string"
  23331. },
  23332. "goodunitid": {
  23333. "description": "报价单位ID",
  23334. "type": "integer"
  23335. },
  23336. "logincode": {
  23337. "description": "登录代码(账户)",
  23338. "type": "string"
  23339. },
  23340. "marketid": {
  23341. "description": "市场id",
  23342. "type": "integer"
  23343. },
  23344. "orderid": {
  23345. "description": "关联委托单号",
  23346. "type": "string"
  23347. },
  23348. "qtydecimalplace": {
  23349. "description": "成交量小数位",
  23350. "type": "integer"
  23351. },
  23352. "tradeamount": {
  23353. "description": "金额",
  23354. "type": "number"
  23355. },
  23356. "tradedate": {
  23357. "description": "交易日",
  23358. "type": "string"
  23359. },
  23360. "tradeid": {
  23361. "description": "成交单号",
  23362. "type": "string"
  23363. },
  23364. "trademode": {
  23365. "description": "交易模式",
  23366. "type": "integer"
  23367. },
  23368. "tradeprice": {
  23369. "description": "价格",
  23370. "type": "number"
  23371. },
  23372. "tradeqty": {
  23373. "description": "数量",
  23374. "type": "number"
  23375. },
  23376. "tradetime": {
  23377. "description": "成交时间",
  23378. "type": "string"
  23379. },
  23380. "userid": {
  23381. "description": "用户id",
  23382. "type": "integer"
  23383. },
  23384. "userinfotype": {
  23385. "description": "账户类型 1-个人 2-企业",
  23386. "type": "integer"
  23387. }
  23388. }
  23389. },
  23390. "models.QhjMgrTradeOrderDetailRsp": {
  23391. "type": "object",
  23392. "properties": {
  23393. "accountid": {
  23394. "description": "资金账号",
  23395. "type": "integer"
  23396. },
  23397. "accountname": {
  23398. "description": "用户名称",
  23399. "type": "string"
  23400. },
  23401. "agreeunit": {
  23402. "description": "合约乘数",
  23403. "type": "number"
  23404. },
  23405. "amount": {
  23406. "description": "金额",
  23407. "type": "number"
  23408. },
  23409. "decimalplace": {
  23410. "description": "报价小数位",
  23411. "type": "integer"
  23412. },
  23413. "enumdicname": {
  23414. "description": "单位名称(商品)",
  23415. "type": "string"
  23416. },
  23417. "goodscode": {
  23418. "description": "商品代码(内部)",
  23419. "type": "string"
  23420. },
  23421. "goodsid": {
  23422. "description": "商品id",
  23423. "type": "integer"
  23424. },
  23425. "goodsname": {
  23426. "description": "商品名称",
  23427. "type": "string"
  23428. },
  23429. "goodunitid": {
  23430. "description": "报价单位ID",
  23431. "type": "integer"
  23432. },
  23433. "logincode": {
  23434. "description": "登录代码(账户)",
  23435. "type": "string"
  23436. },
  23437. "marketid": {
  23438. "description": "市场id",
  23439. "type": "integer"
  23440. },
  23441. "orderid": {
  23442. "description": "关联委托单号",
  23443. "type": "string"
  23444. },
  23445. "orderprice": {
  23446. "description": "价格",
  23447. "type": "number"
  23448. },
  23449. "orderqty": {
  23450. "description": "数量",
  23451. "type": "number"
  23452. },
  23453. "ordertime": {
  23454. "description": "委托时间",
  23455. "type": "string"
  23456. },
  23457. "qtydecimalplace": {
  23458. "description": "成交量小数位",
  23459. "type": "integer"
  23460. },
  23461. "tradedate": {
  23462. "description": "交易日",
  23463. "type": "string"
  23464. },
  23465. "trademode": {
  23466. "description": "交易模式",
  23467. "type": "integer"
  23468. },
  23469. "userid": {
  23470. "description": "用户id",
  23471. "type": "integer"
  23472. },
  23473. "userinfotype": {
  23474. "description": "账户类型 1-个人 2-企业",
  23475. "type": "integer"
  23476. }
  23477. }
  23478. },
  23479. "models.QhjMgrTradePayOrder": {
  23480. "type": "object",
  23481. "properties": {
  23482. "accountname": {
  23483. "description": "用户名称",
  23484. "type": "string"
  23485. },
  23486. "advanceratio": {
  23487. "description": "首付比率",
  23488. "type": "number"
  23489. },
  23490. "agreeunit": {
  23491. "description": "合约乘数",
  23492. "type": "number"
  23493. },
  23494. "buyaccountid": {
  23495. "description": "买方账号ID[报价币种]",
  23496. "type": "integer"
  23497. },
  23498. "buyorderid": {
  23499. "description": "买方委托单号(关联单号)",
  23500. "type": "string"
  23501. },
  23502. "createtime": {
  23503. "description": "创建时间",
  23504. "type": "string"
  23505. },
  23506. "decimalplace": {
  23507. "description": "报价小数位",
  23508. "type": "integer"
  23509. },
  23510. "enumdicname": {
  23511. "description": "单位名称(商品)",
  23512. "type": "string"
  23513. },
  23514. "goodscode": {
  23515. "description": "商品代码(内部)",
  23516. "type": "string"
  23517. },
  23518. "goodsid": {
  23519. "description": "商品ID",
  23520. "type": "integer"
  23521. },
  23522. "goodsname": {
  23523. "description": "商品名称",
  23524. "type": "string"
  23525. },
  23526. "goodunitid": {
  23527. "description": "报价单位ID",
  23528. "type": "integer"
  23529. },
  23530. "logincode": {
  23531. "description": "登录代码(账户)",
  23532. "type": "string"
  23533. },
  23534. "marketid": {
  23535. "description": "市场id",
  23536. "type": "integer"
  23537. },
  23538. "offamount": {
  23539. "description": "优惠金额",
  23540. "type": "number"
  23541. },
  23542. "operatetype": {
  23543. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  23544. "type": "integer"
  23545. },
  23546. "payamount": {
  23547. "description": "支付金额(金额)",
  23548. "type": "number"
  23549. },
  23550. "payflag": {
  23551. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23552. "type": "integer"
  23553. },
  23554. "paylimitedtime": {
  23555. "description": "支付期限",
  23556. "type": "string"
  23557. },
  23558. "paytime": {
  23559. "description": "付款时间",
  23560. "type": "string"
  23561. },
  23562. "qtydecimalplace": {
  23563. "description": "成交量小数位",
  23564. "type": "integer"
  23565. },
  23566. "sellaccountid": {
  23567. "description": "卖方账号ID[报价币种]",
  23568. "type": "integer"
  23569. },
  23570. "sellorderid": {
  23571. "description": "卖方委托单号",
  23572. "type": "string"
  23573. },
  23574. "tradeamount": {
  23575. "description": "成交金额(优惠后金额)",
  23576. "type": "number"
  23577. },
  23578. "tradecharge": {
  23579. "description": "成交手续费(买方)",
  23580. "type": "number"
  23581. },
  23582. "tradedate": {
  23583. "description": "交易日(yyyyMMdd)",
  23584. "type": "string"
  23585. },
  23586. "tradeid": {
  23587. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23588. "type": "string"
  23589. },
  23590. "trademode": {
  23591. "description": "交易模式",
  23592. "type": "integer"
  23593. },
  23594. "tradeprice": {
  23595. "description": "成交价格(价格)",
  23596. "type": "number"
  23597. },
  23598. "tradeqty": {
  23599. "description": "成交数量(数量)",
  23600. "type": "number"
  23601. },
  23602. "tradetime": {
  23603. "description": "成交时间",
  23604. "type": "string"
  23605. },
  23606. "userid": {
  23607. "description": "用户id",
  23608. "type": "integer"
  23609. },
  23610. "userinfotype": {
  23611. "description": "账户类型 1-个人 2-企业",
  23612. "type": "integer"
  23613. }
  23614. }
  23615. },
  23616. "models.QhjParentAreaList": {
  23617. "type": "object",
  23618. "properties": {
  23619. "accountname": {
  23620. "description": "账户名称(机构名称)",
  23621. "type": "string"
  23622. },
  23623. "userid": {
  23624. "description": "用户ID",
  23625. "type": "integer"
  23626. },
  23627. "usertype": {
  23628. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23629. "type": "integer"
  23630. }
  23631. }
  23632. },
  23633. "models.QhjPayOrder": {
  23634. "type": "object",
  23635. "properties": {
  23636. "advanceratio": {
  23637. "description": "首付比率",
  23638. "type": "number"
  23639. },
  23640. "buyaccountid": {
  23641. "description": "买方账号ID[报价币种]",
  23642. "type": "integer"
  23643. },
  23644. "buyorderid": {
  23645. "description": "买方委托单号",
  23646. "type": "string"
  23647. },
  23648. "createtime": {
  23649. "description": "创建时间",
  23650. "type": "string"
  23651. },
  23652. "decimalplace": {
  23653. "description": "商品报价小数位",
  23654. "type": "integer"
  23655. },
  23656. "enumdicname": {
  23657. "description": "单位名称",
  23658. "type": "string"
  23659. },
  23660. "goodscode": {
  23661. "description": "商品代码",
  23662. "type": "string"
  23663. },
  23664. "goodsid": {
  23665. "description": "商品ID",
  23666. "type": "integer"
  23667. },
  23668. "goodsname": {
  23669. "description": "商品名称",
  23670. "type": "string"
  23671. },
  23672. "goodunitid": {
  23673. "description": "商品单位id",
  23674. "type": "integer"
  23675. },
  23676. "marketid": {
  23677. "description": "市场ID",
  23678. "type": "integer"
  23679. },
  23680. "offamount": {
  23681. "description": "优惠金额",
  23682. "type": "number"
  23683. },
  23684. "operatetype": {
  23685. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  23686. "type": "integer"
  23687. },
  23688. "payamount": {
  23689. "description": "支付金额",
  23690. "type": "number"
  23691. },
  23692. "payflag": {
  23693. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23694. "type": "integer"
  23695. },
  23696. "paylimitedtime": {
  23697. "description": "支付期限",
  23698. "type": "string"
  23699. },
  23700. "paytime": {
  23701. "description": "付款时间",
  23702. "type": "string"
  23703. },
  23704. "qtydecimalplace": {
  23705. "description": "成交量小数位",
  23706. "type": "integer"
  23707. },
  23708. "sellaccountid": {
  23709. "description": "卖方账号ID[报价币种]",
  23710. "type": "integer"
  23711. },
  23712. "sellorderid": {
  23713. "description": "卖方委托单号",
  23714. "type": "string"
  23715. },
  23716. "tradeamount": {
  23717. "description": "成交金额(优惠后金额)",
  23718. "type": "number"
  23719. },
  23720. "tradecharge": {
  23721. "description": "成交手续费(买方)",
  23722. "type": "number"
  23723. },
  23724. "tradedate": {
  23725. "description": "交易日(yyyyMMdd)",
  23726. "type": "string"
  23727. },
  23728. "tradeid": {
  23729. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23730. "type": "string"
  23731. },
  23732. "tradeprice": {
  23733. "description": "成交价格",
  23734. "type": "number"
  23735. },
  23736. "tradeqty": {
  23737. "description": "成交数量",
  23738. "type": "number"
  23739. }
  23740. }
  23741. },
  23742. "models.QhjPickArea": {
  23743. "type": "object",
  23744. "properties": {
  23745. "address": {
  23746. "description": "详细地址",
  23747. "type": "string"
  23748. },
  23749. "cityid": {
  23750. "description": "市",
  23751. "type": "integer"
  23752. },
  23753. "cityname": {
  23754. "description": "城市名称",
  23755. "type": "string"
  23756. },
  23757. "countryid": {
  23758. "description": "国家",
  23759. "type": "integer"
  23760. },
  23761. "countryname": {
  23762. "description": "国家名称",
  23763. "type": "string"
  23764. },
  23765. "districtid": {
  23766. "description": "地区",
  23767. "type": "integer"
  23768. },
  23769. "districtname": {
  23770. "description": "地区名称",
  23771. "type": "string"
  23772. },
  23773. "fromuserid": {
  23774. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  23775. "type": "integer"
  23776. },
  23777. "fromusername": {
  23778. "description": "所属机构名称",
  23779. "type": "string"
  23780. },
  23781. "provinceid": {
  23782. "description": "省",
  23783. "type": "integer"
  23784. },
  23785. "provincename": {
  23786. "description": "省名称",
  23787. "type": "string"
  23788. },
  23789. "suborgtype": {
  23790. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  23791. "type": "integer"
  23792. },
  23793. "userid": {
  23794. "description": "机构用户ID 其他做市关系,都设置为 1",
  23795. "type": "integer"
  23796. },
  23797. "username": {
  23798. "description": "机构用户名称(门店门称)",
  23799. "type": "string"
  23800. }
  23801. }
  23802. },
  23803. "models.QhjPickGoods": {
  23804. "type": "object",
  23805. "properties": {
  23806. "enumdicname": {
  23807. "description": "单位名称(提货商品)",
  23808. "type": "string"
  23809. },
  23810. "goodsid": {
  23811. "description": "商品id",
  23812. "type": "integer"
  23813. },
  23814. "imageaddress": {
  23815. "description": "图片",
  23816. "type": "string"
  23817. },
  23818. "modifierid": {
  23819. "description": "修改人",
  23820. "type": "integer"
  23821. },
  23822. "modifiername": {
  23823. "description": "修改人名称",
  23824. "type": "string"
  23825. },
  23826. "modifysrc": {
  23827. "description": "修改来源 - 1:管理端 2:终端",
  23828. "type": "integer"
  23829. },
  23830. "pickupgoodsagreeunit": {
  23831. "description": "合约乘数",
  23832. "type": "number"
  23833. },
  23834. "pickupgoodsdesc": {
  23835. "description": "描述",
  23836. "type": "string"
  23837. },
  23838. "pickupgoodsid": {
  23839. "description": "提货商品ID",
  23840. "type": "string"
  23841. },
  23842. "pickupgoodsname": {
  23843. "description": "提货商品名称",
  23844. "type": "string"
  23845. },
  23846. "pickupgoodsstatus": {
  23847. "description": "状态 - 1:正常 2:停用 3:注销",
  23848. "type": "integer"
  23849. },
  23850. "pickupgoodsunitid": {
  23851. "description": "单位ID",
  23852. "type": "integer"
  23853. },
  23854. "pickupratio": {
  23855. "description": "提货系数",
  23856. "type": "number"
  23857. },
  23858. "preparedays": {
  23859. "description": "备货期(天)",
  23860. "type": "integer"
  23861. },
  23862. "remark": {
  23863. "description": "备注",
  23864. "type": "string"
  23865. },
  23866. "updatetime": {
  23867. "description": "更新时间",
  23868. "type": "string"
  23869. }
  23870. }
  23871. },
  23872. "models.QhjRSTriggerLog": {
  23873. "type": "object",
  23874. "properties": {
  23875. "accountid": {
  23876. "description": "用户资金账户",
  23877. "type": "integer"
  23878. },
  23879. "accountname": {
  23880. "description": "账号名称(ACCOUNTID对应的名称)",
  23881. "type": "string"
  23882. },
  23883. "currencyid": {
  23884. "description": "币种id",
  23885. "type": "integer"
  23886. },
  23887. "currencyname": {
  23888. "description": "币种名称",
  23889. "type": "string"
  23890. },
  23891. "decimalplace": {
  23892. "description": "商品报价小数位",
  23893. "type": "integer"
  23894. },
  23895. "enumdicname": {
  23896. "description": "单位名称",
  23897. "type": "string"
  23898. },
  23899. "goodscode": {
  23900. "description": "定投商品代码",
  23901. "type": "string"
  23902. },
  23903. "goodsid": {
  23904. "description": "定投商品ID",
  23905. "type": "string"
  23906. },
  23907. "goodsname": {
  23908. "description": "定投商品名称",
  23909. "type": "string"
  23910. },
  23911. "goodunitid": {
  23912. "description": "定投商品单位id",
  23913. "type": "integer"
  23914. },
  23915. "logid": {
  23916. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  23917. "type": "string"
  23918. },
  23919. "qtydecimalplace": {
  23920. "description": "成交量小数位",
  23921. "type": "integer"
  23922. },
  23923. "regularlycycle": {
  23924. "description": "定投频率 - 1:每周 2:每月",
  23925. "type": "integer"
  23926. },
  23927. "regularlycyclevalue": {
  23928. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  23929. "type": "string"
  23930. },
  23931. "regularlymode": {
  23932. "description": "定投方式 - 1:按数量 2:按金额",
  23933. "type": "integer"
  23934. },
  23935. "regularlymodevalue": {
  23936. "description": "定投方式值 - 数量或金额",
  23937. "type": "number"
  23938. },
  23939. "regularlystrategyid": {
  23940. "description": "定投策略ID",
  23941. "type": "integer"
  23942. },
  23943. "retcode": {
  23944. "description": "错误码",
  23945. "type": "string"
  23946. },
  23947. "tradeid": {
  23948. "description": "成交单ID",
  23949. "type": "string"
  23950. },
  23951. "triggeramount": {
  23952. "description": "触发金额",
  23953. "type": "number"
  23954. },
  23955. "triggerqty": {
  23956. "description": "触发数量",
  23957. "type": "number"
  23958. },
  23959. "triggerstatus": {
  23960. "description": "触发状态 - 1:成功 2:失败",
  23961. "type": "integer"
  23962. },
  23963. "triggertime": {
  23964. "description": "触发时间",
  23965. "type": "string"
  23966. },
  23967. "triggertradedate": {
  23968. "description": "触发交易日",
  23969. "type": "string"
  23970. },
  23971. "userid": {
  23972. "description": "所属用户ID",
  23973. "type": "integer"
  23974. },
  23975. "username": {
  23976. "description": "用户名称(userid对应的名称)",
  23977. "type": "string"
  23978. }
  23979. }
  23980. },
  23981. "models.QhjRStrategy": {
  23982. "type": "object",
  23983. "properties": {
  23984. "accountid": {
  23985. "description": "用户资金账户",
  23986. "type": "integer"
  23987. },
  23988. "accountname": {
  23989. "description": "账号名称(ACCOUNTID对应的名称)",
  23990. "type": "string"
  23991. },
  23992. "currencyid": {
  23993. "description": "币种id",
  23994. "type": "integer"
  23995. },
  23996. "currencyname": {
  23997. "description": "币种名称",
  23998. "type": "string"
  23999. },
  24000. "decimalplace": {
  24001. "description": "商品报价小数位",
  24002. "type": "integer"
  24003. },
  24004. "enumdicname": {
  24005. "description": "单位名称",
  24006. "type": "string"
  24007. },
  24008. "goodscode": {
  24009. "description": "定投商品代码",
  24010. "type": "string"
  24011. },
  24012. "goodsid": {
  24013. "description": "定投商品ID",
  24014. "type": "string"
  24015. },
  24016. "goodsname": {
  24017. "description": "定投商品名称",
  24018. "type": "string"
  24019. },
  24020. "goodunitid": {
  24021. "description": "定投商品单位id",
  24022. "type": "integer"
  24023. },
  24024. "lasteffecttradedate": {
  24025. "description": "最新生效交易日",
  24026. "type": "string"
  24027. },
  24028. "laststoptradedate": {
  24029. "description": "最新暂停交易日",
  24030. "type": "string"
  24031. },
  24032. "lasttriggertradedate": {
  24033. "description": "最新触发交易日",
  24034. "type": "string"
  24035. },
  24036. "logincode": {
  24037. "description": "账号(登录代码)",
  24038. "type": "string"
  24039. },
  24040. "nexttriggeramount": {
  24041. "description": "下次触发金额",
  24042. "type": "number"
  24043. },
  24044. "nexttriggerdate": {
  24045. "description": "下次触发日期",
  24046. "type": "string"
  24047. },
  24048. "nexttriggerqty": {
  24049. "description": "下次触发数量 [按小数位放大值]",
  24050. "type": "number"
  24051. },
  24052. "qtydecimalplace": {
  24053. "description": "成交量小数位",
  24054. "type": "integer"
  24055. },
  24056. "regularlycycle": {
  24057. "description": "定投频率 - 1:每周 2:每月",
  24058. "type": "integer"
  24059. },
  24060. "regularlycyclevalue": {
  24061. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  24062. "type": "string"
  24063. },
  24064. "regularlymode": {
  24065. "description": "定投方式 - 1:按数量 2:按金额",
  24066. "type": "integer"
  24067. },
  24068. "regularlymodevalue": {
  24069. "description": "定投方式值 - 数量或金额",
  24070. "type": "number"
  24071. },
  24072. "regularlystrategyid": {
  24073. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  24074. "type": "integer"
  24075. },
  24076. "regularlystrategystatus": {
  24077. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  24078. "type": "integer"
  24079. },
  24080. "remark": {
  24081. "description": "备注",
  24082. "type": "string"
  24083. },
  24084. "triggersuccesstimes": {
  24085. "description": "累计定投成功次数",
  24086. "type": "string"
  24087. },
  24088. "triggertotalamount": {
  24089. "description": "累计定投金额(成功)",
  24090. "type": "number"
  24091. },
  24092. "triggertotalqty": {
  24093. "description": "累计定投数量(成功) [按小数位放大值]",
  24094. "type": "number"
  24095. },
  24096. "triggertotaltimes": {
  24097. "description": "累计定投总次数",
  24098. "type": "string"
  24099. },
  24100. "updatesrc": {
  24101. "description": "更新来源 - 1:管理端 2:终端",
  24102. "type": "integer"
  24103. },
  24104. "updatetime": {
  24105. "description": "更新时间",
  24106. "type": "string"
  24107. },
  24108. "updatorid": {
  24109. "description": "更新人",
  24110. "type": "string"
  24111. },
  24112. "userid": {
  24113. "description": "所属用户ID",
  24114. "type": "integer"
  24115. },
  24116. "userinfotype": {
  24117. "description": "用户类型 1-个人 2-企业",
  24118. "type": "integer"
  24119. },
  24120. "username": {
  24121. "description": "用户名称(userid对应的名称)",
  24122. "type": "string"
  24123. }
  24124. }
  24125. },
  24126. "models.QhjReckonPriceLog": {
  24127. "type": "object",
  24128. "properties": {
  24129. "decimalplace": {
  24130. "description": "商品报价小数位",
  24131. "type": "integer"
  24132. },
  24133. "goodscode": {
  24134. "description": "商品代码",
  24135. "type": "string"
  24136. },
  24137. "goodsid": {
  24138. "description": "商品ID",
  24139. "type": "integer"
  24140. },
  24141. "goodsname": {
  24142. "description": "商品名称",
  24143. "type": "string"
  24144. },
  24145. "lastreckonprice": {
  24146. "description": "上日结算价",
  24147. "type": "number"
  24148. },
  24149. "nextdnlimitprice": {
  24150. "description": "下个交易日跌停价",
  24151. "type": "number"
  24152. },
  24153. "nexttrade": {
  24154. "description": "下个交易日",
  24155. "type": "string"
  24156. },
  24157. "nextuplimitprice": {
  24158. "description": "下个交易日涨停价",
  24159. "type": "number"
  24160. },
  24161. "reckonprice": {
  24162. "description": "今日结算价(定投价)",
  24163. "type": "number"
  24164. },
  24165. "reckontime": {
  24166. "description": "结算时间",
  24167. "type": "string"
  24168. },
  24169. "totalholderqty": {
  24170. "description": "总持仓数",
  24171. "type": "integer"
  24172. },
  24173. "totalstock": {
  24174. "description": "总库存",
  24175. "type": "integer"
  24176. },
  24177. "tradedate": {
  24178. "description": "交易日",
  24179. "type": "string"
  24180. },
  24181. "updowncount": {
  24182. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  24183. "type": "integer"
  24184. },
  24185. "updownflag": {
  24186. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  24187. "type": "integer"
  24188. },
  24189. "updownrate": {
  24190. "description": "今日涨跌幅",
  24191. "type": "number"
  24192. },
  24193. "updownrate_2d": {
  24194. "description": "连续两日涨跌幅",
  24195. "type": "number"
  24196. },
  24197. "updownrate_3d": {
  24198. "description": "连续三日涨跌幅",
  24199. "type": "number"
  24200. }
  24201. }
  24202. },
  24203. "models.QhjSiteColumnDetail": {
  24204. "type": "object",
  24205. "properties": {
  24206. "author": {
  24207. "description": "作者",
  24208. "type": "string"
  24209. },
  24210. "brief": {
  24211. "description": "简介",
  24212. "type": "string"
  24213. },
  24214. "columnid": {
  24215. "description": "所属栏目",
  24216. "type": "integer"
  24217. },
  24218. "context": {
  24219. "description": "内容",
  24220. "type": "string"
  24221. },
  24222. "coverimage": {
  24223. "description": "封面图片",
  24224. "type": "string"
  24225. },
  24226. "creaedate": {
  24227. "description": "创建时间",
  24228. "type": "string"
  24229. },
  24230. "creatorid": {
  24231. "description": "创建人",
  24232. "type": "integer"
  24233. },
  24234. "hits": {
  24235. "description": "点击数",
  24236. "type": "integer"
  24237. },
  24238. "id": {
  24239. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  24240. "type": "integer"
  24241. },
  24242. "isshow": {
  24243. "description": "是否展示 - 0:不展示 1:展示",
  24244. "type": "integer"
  24245. },
  24246. "istop": {
  24247. "description": "是否置顶 - 0:不置 1:置顶",
  24248. "type": "integer"
  24249. },
  24250. "modifierid": {
  24251. "description": "操作人",
  24252. "type": "integer"
  24253. },
  24254. "publishdate": {
  24255. "description": "发布日期",
  24256. "type": "string"
  24257. },
  24258. "status": {
  24259. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  24260. "type": "integer"
  24261. },
  24262. "title": {
  24263. "description": "标题",
  24264. "type": "string"
  24265. },
  24266. "updatedate": {
  24267. "description": "修改时间",
  24268. "type": "string"
  24269. },
  24270. "userid": {
  24271. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  24272. "type": "integer"
  24273. },
  24274. "username": {
  24275. "description": "用户名称",
  24276. "type": "string"
  24277. }
  24278. }
  24279. },
  24280. "models.QhjTradeGoodsPickup": {
  24281. "type": "object",
  24282. "properties": {
  24283. "accountid": {
  24284. "description": "账户ID",
  24285. "type": "integer"
  24286. },
  24287. "address": {
  24288. "description": "提货人详细地址",
  24289. "type": "string"
  24290. },
  24291. "amount": {
  24292. "description": "提货金额",
  24293. "type": "number"
  24294. },
  24295. "artradedate": {
  24296. "description": "自动收货交易日(yyyyMMdd)",
  24297. "type": "string"
  24298. },
  24299. "auditer": {
  24300. "description": "审核人",
  24301. "type": "integer"
  24302. },
  24303. "auditsrc": {
  24304. "description": "更新来源 - 1:管理端 2:终端",
  24305. "type": "integer"
  24306. },
  24307. "audittime": {
  24308. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  24309. "type": "string"
  24310. },
  24311. "audittradedate": {
  24312. "description": "审核交易日(yyyyMMdd)",
  24313. "type": "string"
  24314. },
  24315. "cardnum": {
  24316. "description": "提货人证件号码",
  24317. "type": "string"
  24318. },
  24319. "cardtypeid": {
  24320. "description": "提货人证件类型",
  24321. "type": "integer"
  24322. },
  24323. "checkremark": {
  24324. "description": "审核备注",
  24325. "type": "string"
  24326. },
  24327. "cityid": {
  24328. "description": "市",
  24329. "type": "integer"
  24330. },
  24331. "cityname": {
  24332. "description": "城市名称",
  24333. "type": "string"
  24334. },
  24335. "confirmtime": {
  24336. "description": "取货时间 或 收货时间",
  24337. "type": "string"
  24338. },
  24339. "countryid": {
  24340. "description": "国家",
  24341. "type": "integer"
  24342. },
  24343. "countryname": {
  24344. "description": "国家名称",
  24345. "type": "string"
  24346. },
  24347. "decimalplace": {
  24348. "description": "商品报价小数位",
  24349. "type": "integer"
  24350. },
  24351. "districtid": {
  24352. "description": "地区",
  24353. "type": "integer"
  24354. },
  24355. "districtname": {
  24356. "description": "地区名称",
  24357. "type": "string"
  24358. },
  24359. "enumdicname": {
  24360. "description": "单位名称(提货商品)",
  24361. "type": "string"
  24362. },
  24363. "expresscompany": {
  24364. "description": "物流公司",
  24365. "type": "string"
  24366. },
  24367. "expressnum": {
  24368. "description": "物流单号",
  24369. "type": "string"
  24370. },
  24371. "goodsagreeunit": {
  24372. "description": "交易商品乘数",
  24373. "type": "number"
  24374. },
  24375. "goodscode": {
  24376. "description": "商品代码",
  24377. "type": "string"
  24378. },
  24379. "goodsid": {
  24380. "description": "商品ID",
  24381. "type": "integer"
  24382. },
  24383. "goodsname": {
  24384. "description": "商品名称",
  24385. "type": "string"
  24386. },
  24387. "goodsqty": {
  24388. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  24389. "type": "number"
  24390. },
  24391. "handlestatus": {
  24392. "description": "处理状态",
  24393. "type": "integer"
  24394. },
  24395. "logincode": {
  24396. "description": "账号(登录代码, 有可能为空)",
  24397. "type": "string"
  24398. },
  24399. "marketid": {
  24400. "description": "市场ID",
  24401. "type": "integer"
  24402. },
  24403. "phonenum": {
  24404. "description": "提货人联系方式",
  24405. "type": "string"
  24406. },
  24407. "pickupgoodsagreeunit": {
  24408. "description": "提货商品合约乘数",
  24409. "type": "number"
  24410. },
  24411. "pickupgoodsid": {
  24412. "description": "提货商品ID",
  24413. "type": "string"
  24414. },
  24415. "pickupgoodsname": {
  24416. "description": "提货商品名称",
  24417. "type": "string"
  24418. },
  24419. "pickupgoodsqty": {
  24420. "description": "提货商品手数(数量)",
  24421. "type": "number"
  24422. },
  24423. "pickupgoodsunitid": {
  24424. "description": "单位ID(提货商品)",
  24425. "type": "integer"
  24426. },
  24427. "pickupratio": {
  24428. "description": "提货系数",
  24429. "type": "number"
  24430. },
  24431. "preparedays": {
  24432. "description": "备货期(天)-提货单明细表",
  24433. "type": "integer"
  24434. },
  24435. "provinceid": {
  24436. "description": "省",
  24437. "type": "integer"
  24438. },
  24439. "provincename": {
  24440. "description": "省名称",
  24441. "type": "string"
  24442. },
  24443. "qty": {
  24444. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  24445. "type": "number"
  24446. },
  24447. "qtydecimalplace": {
  24448. "description": "商品数量小数位",
  24449. "type": "integer"
  24450. },
  24451. "recivername": {
  24452. "description": "提货人姓名",
  24453. "type": "string"
  24454. },
  24455. "reqtime": {
  24456. "description": "提货申请时间",
  24457. "type": "string"
  24458. },
  24459. "storeuserid": {
  24460. "description": "门店用户ID (千海金)",
  24461. "type": "integer"
  24462. },
  24463. "storeusername": {
  24464. "description": "门店用户名称",
  24465. "type": "string"
  24466. },
  24467. "takemode": {
  24468. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  24469. "type": "integer"
  24470. },
  24471. "takeorderid": {
  24472. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24473. "type": "string"
  24474. },
  24475. "takeorderstatus": {
  24476. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  24477. "type": "integer"
  24478. },
  24479. "takeremark": {
  24480. "description": "提货备注",
  24481. "type": "string"
  24482. },
  24483. "tradedate": {
  24484. "description": "交易日(yyyyMMdd)",
  24485. "type": "string"
  24486. },
  24487. "updatetime": {
  24488. "description": "更新时间",
  24489. "type": "string"
  24490. },
  24491. "userid": {
  24492. "description": "用户ID",
  24493. "type": "integer"
  24494. },
  24495. "userinfotype": {
  24496. "description": "客户类型 1-个人 2-企业",
  24497. "type": "integer"
  24498. },
  24499. "username": {
  24500. "description": "用户名称",
  24501. "type": "string"
  24502. }
  24503. }
  24504. },
  24505. "models.Qhjgoodsex": {
  24506. "type": "object",
  24507. "properties": {
  24508. "canfinance": {
  24509. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  24510. "type": "integer"
  24511. },
  24512. "canregularlybuy": {
  24513. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  24514. "type": "integer"
  24515. },
  24516. "defaulttradeuserid": {
  24517. "description": "默认交易用户ID",
  24518. "type": "integer"
  24519. },
  24520. "deliverygoodsid": {
  24521. "description": "现货品种ID",
  24522. "type": "integer"
  24523. },
  24524. "goodsid": {
  24525. "description": "商品ID(自增ID SEQ_GOODS)",
  24526. "type": "integer"
  24527. },
  24528. "minamount": {
  24529. "description": "最小购买金额",
  24530. "type": "number"
  24531. },
  24532. "regularlybuyminamount": {
  24533. "description": "定投最小金额",
  24534. "type": "number"
  24535. },
  24536. "regularlybuyminqty": {
  24537. "description": "定投最小数量",
  24538. "type": "number"
  24539. },
  24540. "spotgoodsbrandid": {
  24541. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  24542. "type": "integer"
  24543. },
  24544. "wrstandardid": {
  24545. "description": "现货商品ID",
  24546. "type": "integer"
  24547. }
  24548. }
  24549. },
  24550. "models.QueryErrorInfosRsp": {
  24551. "type": "object",
  24552. "required": [
  24553. "errorid"
  24554. ],
  24555. "properties": {
  24556. "description": {
  24557. "description": "异常描述",
  24558. "type": "string"
  24559. },
  24560. "errorcode": {
  24561. "description": "异常代码",
  24562. "type": "string"
  24563. },
  24564. "errorid": {
  24565. "description": "异常ID",
  24566. "type": "integer"
  24567. },
  24568. "modulecode": {
  24569. "description": "所属模块",
  24570. "type": "string"
  24571. },
  24572. "operatecode": {
  24573. "description": "所属操作",
  24574. "type": "string"
  24575. },
  24576. "rownumber": {
  24577. "description": "行号",
  24578. "type": "string"
  24579. }
  24580. }
  24581. },
  24582. "models.QueryHedgeOrderDetailRsp": {
  24583. "type": "object",
  24584. "properties": {
  24585. "accountid": {
  24586. "description": "账户ID",
  24587. "type": "integer"
  24588. },
  24589. "buyorsell": {
  24590. "description": "买卖 - 0:买 1:卖",
  24591. "type": "integer"
  24592. },
  24593. "cancellogincode": {
  24594. "description": "撤单人",
  24595. "type": "string"
  24596. },
  24597. "channelbuildtype": {
  24598. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  24599. "type": "integer"
  24600. },
  24601. "channelinnerorderstatus": {
  24602. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  24603. "type": "integer"
  24604. },
  24605. "channeloperatetype": {
  24606. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  24607. "type": "integer"
  24608. },
  24609. "closetype": {
  24610. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24611. "type": "integer"
  24612. },
  24613. "curexchangerate": {
  24614. "description": "当前汇率",
  24615. "type": "number"
  24616. },
  24617. "exchangefullname": {
  24618. "description": "外部交易所全称",
  24619. "type": "string"
  24620. },
  24621. "goodscode": {
  24622. "description": "商品代码(内部)",
  24623. "type": "string"
  24624. },
  24625. "goodsid": {
  24626. "description": "商品ID",
  24627. "type": "integer"
  24628. },
  24629. "goodsname": {
  24630. "description": "商品名称",
  24631. "type": "string"
  24632. },
  24633. "marketid": {
  24634. "description": "市场ID",
  24635. "type": "integer"
  24636. },
  24637. "openfreezemargin": {
  24638. "description": "冻结保证金(冻结交易金额)",
  24639. "type": "number"
  24640. },
  24641. "orderid": {
  24642. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24643. "type": "string"
  24644. },
  24645. "orderlogincode": {
  24646. "description": "委托人",
  24647. "type": "string"
  24648. },
  24649. "orderprice": {
  24650. "description": "委托价格(账户)",
  24651. "type": "number"
  24652. },
  24653. "orderqty": {
  24654. "description": "委托数量",
  24655. "type": "integer"
  24656. },
  24657. "ordertime": {
  24658. "description": "委托时间",
  24659. "type": "string"
  24660. },
  24661. "pricemode": {
  24662. "description": "取价方式 - 1:市价 2: 限价",
  24663. "type": "integer"
  24664. },
  24665. "tradedate": {
  24666. "description": "交易日(yyyyMMdd)",
  24667. "type": "string"
  24668. },
  24669. "tradeqty": {
  24670. "description": "成交数量",
  24671. "type": "integer"
  24672. }
  24673. }
  24674. },
  24675. "models.QueryHedgeTradeDetailRsp": {
  24676. "type": "object",
  24677. "properties": {
  24678. "accountid": {
  24679. "description": "账号ID",
  24680. "type": "integer"
  24681. },
  24682. "buyorsell": {
  24683. "description": "方向 - 0:买 1:卖",
  24684. "type": "integer"
  24685. },
  24686. "channelbuildtype": {
  24687. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24688. "type": "integer"
  24689. },
  24690. "closecharge": {
  24691. "description": "平仓手续费(账户)",
  24692. "type": "number"
  24693. },
  24694. "closecharge2": {
  24695. "description": "平仓手续费(商品)",
  24696. "type": "number"
  24697. },
  24698. "closepl": {
  24699. "description": "平仓盈亏(账户)",
  24700. "type": "number"
  24701. },
  24702. "closepl2": {
  24703. "description": "平仓盈亏(商品)",
  24704. "type": "number"
  24705. },
  24706. "closepl3": {
  24707. "description": "平仓盈亏(账户)(逐笔)",
  24708. "type": "number"
  24709. },
  24710. "closepl4": {
  24711. "description": "平仓盈亏(商品)(逐笔)",
  24712. "type": "number"
  24713. },
  24714. "closetype": {
  24715. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24716. "type": "integer"
  24717. },
  24718. "curexchangerate": {
  24719. "description": "当前汇率",
  24720. "type": "number"
  24721. },
  24722. "exchangefullname": {
  24723. "description": "外部交易所全称",
  24724. "type": "string"
  24725. },
  24726. "goodscode": {
  24727. "description": "商品代码(内部)",
  24728. "type": "string"
  24729. },
  24730. "goodsid": {
  24731. "description": "商品ID",
  24732. "type": "integer"
  24733. },
  24734. "goodsname": {
  24735. "description": "商品名称",
  24736. "type": "string"
  24737. },
  24738. "marketid": {
  24739. "description": "市场ID",
  24740. "type": "integer"
  24741. },
  24742. "opencharge": {
  24743. "description": "建仓手续费(账户)",
  24744. "type": "number"
  24745. },
  24746. "opencharge2": {
  24747. "description": "建仓手续费(商品)",
  24748. "type": "number"
  24749. },
  24750. "orderid": {
  24751. "description": "委托单号",
  24752. "type": "string"
  24753. },
  24754. "orderlogincode": {
  24755. "description": "委托人",
  24756. "type": "string"
  24757. },
  24758. "tradeamount": {
  24759. "description": "成交金额(账户)",
  24760. "type": "number"
  24761. },
  24762. "tradedate": {
  24763. "description": "交易日(yyyyMMdd)",
  24764. "type": "string"
  24765. },
  24766. "tradeid": {
  24767. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24768. "type": "string"
  24769. },
  24770. "tradeprice": {
  24771. "description": "成交价格",
  24772. "type": "number"
  24773. },
  24774. "tradeqty": {
  24775. "description": "成交数量",
  24776. "type": "integer"
  24777. },
  24778. "tradetime": {
  24779. "description": "成交时间",
  24780. "type": "string"
  24781. },
  24782. "tradetype": {
  24783. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24784. "type": "integer"
  24785. }
  24786. }
  24787. },
  24788. "models.QuotePrimaryMenu": {
  24789. "type": "object",
  24790. "properties": {
  24791. "Index": {
  24792. "description": "序号",
  24793. "type": "integer"
  24794. },
  24795. "Key": {
  24796. "description": "键名",
  24797. "type": "string"
  24798. },
  24799. "Name": {
  24800. "description": "菜单名称",
  24801. "type": "string"
  24802. },
  24803. "SubMenus": {
  24804. "description": "子菜单",
  24805. "type": "array",
  24806. "items": {
  24807. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  24808. }
  24809. },
  24810. "SubTitleType": {
  24811. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  24812. "type": "integer"
  24813. },
  24814. "TradeModes": {
  24815. "description": "包含市场交易类型",
  24816. "type": "string"
  24817. }
  24818. }
  24819. },
  24820. "models.QuoteSecondaryMenu": {
  24821. "type": "object",
  24822. "properties": {
  24823. "ExExchangeCode": {
  24824. "description": "外部交易所代码",
  24825. "type": "string"
  24826. },
  24827. "ExExchangeID": {
  24828. "description": "外部交易所ID",
  24829. "type": "integer"
  24830. },
  24831. "GoodsGroupIDs": {
  24832. "description": "商品组ID列表",
  24833. "type": "array",
  24834. "items": {
  24835. "type": "integer"
  24836. }
  24837. },
  24838. "Index": {
  24839. "description": "序号",
  24840. "type": "integer"
  24841. },
  24842. "MarketID": {
  24843. "description": "市场ID",
  24844. "type": "integer"
  24845. },
  24846. "MenuTitle": {
  24847. "description": "菜单标题(市场名称或外部交易所名称)",
  24848. "type": "string"
  24849. },
  24850. "TradeMode": {
  24851. "description": "交易模式",
  24852. "type": "integer"
  24853. }
  24854. }
  24855. },
  24856. "models.SearchGoods": {
  24857. "type": "object",
  24858. "required": [
  24859. "goodscode",
  24860. "goodsid",
  24861. "goodsname",
  24862. "marketid",
  24863. "trademode"
  24864. ],
  24865. "properties": {
  24866. "goodscode": {
  24867. "description": "商品代码(内部)",
  24868. "type": "string"
  24869. },
  24870. "goodsid": {
  24871. "description": "商品ID(自增ID SEQ_GOODS)",
  24872. "type": "integer"
  24873. },
  24874. "goodsname": {
  24875. "description": "商品名称",
  24876. "type": "string"
  24877. },
  24878. "marketid": {
  24879. "description": "所属市场ID",
  24880. "type": "integer"
  24881. },
  24882. "marketname": {
  24883. "description": "市场名称",
  24884. "type": "string"
  24885. },
  24886. "trademode": {
  24887. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24888. "type": "integer"
  24889. }
  24890. }
  24891. },
  24892. "models.Systemparam": {
  24893. "type": "object",
  24894. "required": [
  24895. "paramcode"
  24896. ],
  24897. "properties": {
  24898. "loginid": {
  24899. "description": "更新用户账号,登录账号",
  24900. "type": "string"
  24901. },
  24902. "modifyflag": {
  24903. "description": "修改标志0 不允许修改 1 允许修改",
  24904. "type": "integer"
  24905. },
  24906. "paramcode": {
  24907. "description": "参数代码",
  24908. "type": "string"
  24909. },
  24910. "paramname": {
  24911. "description": "参数名",
  24912. "type": "string"
  24913. },
  24914. "paramtype": {
  24915. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  24916. "type": "integer"
  24917. },
  24918. "paramvalue": {
  24919. "description": "参数值",
  24920. "type": "string"
  24921. },
  24922. "paramvalue2": {
  24923. "description": "参数值(CLOB)",
  24924. "type": "string"
  24925. },
  24926. "regexpress": {
  24927. "description": "正则表达式",
  24928. "type": "string"
  24929. },
  24930. "remark": {
  24931. "description": "备注",
  24932. "type": "string"
  24933. },
  24934. "serverip": {
  24935. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  24936. "type": "string"
  24937. },
  24938. "showflag": {
  24939. "description": "是否显示0 不显示 1 显示",
  24940. "type": "integer"
  24941. },
  24942. "updatetime": {
  24943. "description": "更新时间",
  24944. "type": "string"
  24945. },
  24946. "userid": {
  24947. "description": "更新用户ID",
  24948. "type": "integer"
  24949. }
  24950. }
  24951. },
  24952. "models.Szdz3convertconfig": {
  24953. "type": "object",
  24954. "required": [
  24955. "converttype",
  24956. "innergoodsid",
  24957. "outergoodscode"
  24958. ],
  24959. "properties": {
  24960. "canin": {
  24961. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  24962. "type": "integer"
  24963. },
  24964. "canout": {
  24965. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  24966. "type": "integer"
  24967. },
  24968. "converttype": {
  24969. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  24970. "type": "integer"
  24971. },
  24972. "createtime": {
  24973. "description": "创建时间",
  24974. "type": "string"
  24975. },
  24976. "creatorid": {
  24977. "description": "创建人",
  24978. "type": "integer"
  24979. },
  24980. "daymaxvalue": {
  24981. "description": "当日最大转入限制",
  24982. "type": "number"
  24983. },
  24984. "freezedays": {
  24985. "description": "冻结天数 [5:花生米转交易]",
  24986. "type": "integer"
  24987. },
  24988. "innergoodsid": {
  24989. "description": "内部商品ID[交易]",
  24990. "type": "integer"
  24991. },
  24992. "inratio": {
  24993. "description": "目标值",
  24994. "type": "integer"
  24995. },
  24996. "modifierid": {
  24997. "description": "修改人",
  24998. "type": "integer"
  24999. },
  25000. "modifytime": {
  25001. "description": "修改时间",
  25002. "type": "string"
  25003. },
  25004. "outergoodscode": {
  25005. "description": "外部商品代码[JD\\PD]",
  25006. "type": "string"
  25007. },
  25008. "outratio": {
  25009. "description": "源值",
  25010. "type": "integer"
  25011. },
  25012. "pddecimalplace": {
  25013. "description": "PD小数位",
  25014. "type": "integer"
  25015. },
  25016. "timemaxvalue": {
  25017. "description": "单次最大转入限制",
  25018. "type": "number"
  25019. },
  25020. "timeminvalue": {
  25021. "description": "单次最小转入限制",
  25022. "type": "number"
  25023. }
  25024. }
  25025. },
  25026. "models.Szdz3searchwhitelist": {
  25027. "type": "object",
  25028. "required": [
  25029. "userid"
  25030. ],
  25031. "properties": {
  25032. "createtime": {
  25033. "description": "创建时间",
  25034. "type": "string"
  25035. },
  25036. "creatorid": {
  25037. "description": "创建人",
  25038. "type": "integer"
  25039. },
  25040. "modifierid": {
  25041. "description": "修改人",
  25042. "type": "integer"
  25043. },
  25044. "modifytime": {
  25045. "description": "修改时间",
  25046. "type": "string"
  25047. },
  25048. "userid": {
  25049. "description": "用户ID",
  25050. "type": "integer"
  25051. }
  25052. }
  25053. },
  25054. "models.Taaccount": {
  25055. "type": "object",
  25056. "required": [
  25057. "accountid",
  25058. "userid"
  25059. ],
  25060. "properties": {
  25061. "accountflag": {
  25062. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  25063. "type": "integer"
  25064. },
  25065. "accountid": {
  25066. "description": "资金账户ID",
  25067. "type": "integer"
  25068. },
  25069. "accountname": {
  25070. "description": "账户名称",
  25071. "type": "string"
  25072. },
  25073. "balance": {
  25074. "description": "期初余额",
  25075. "type": "number"
  25076. },
  25077. "capitalbalance": {
  25078. "description": "本金余额[外部子账户实际出入金余额]",
  25079. "type": "number"
  25080. },
  25081. "changeflag": {
  25082. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  25083. "type": "integer"
  25084. },
  25085. "changetime": {
  25086. "description": "账户状态变更时间",
  25087. "type": "string"
  25088. },
  25089. "closepl": {
  25090. "description": "今日平仓盈亏",
  25091. "type": "number"
  25092. },
  25093. "creditdecrease": {
  25094. "description": "今日授信减少",
  25095. "type": "number"
  25096. },
  25097. "creditincrease": {
  25098. "description": "今日授信增加",
  25099. "type": "number"
  25100. },
  25101. "currencyid": {
  25102. "description": "货币ID",
  25103. "type": "integer"
  25104. },
  25105. "currentbalance": {
  25106. "description": "期末余额",
  25107. "type": "number"
  25108. },
  25109. "freezecharge": {
  25110. "description": "手续费冻结",
  25111. "type": "number"
  25112. },
  25113. "freezemargin": {
  25114. "description": "冻结保证金",
  25115. "type": "number"
  25116. },
  25117. "fromaccountid": {
  25118. "description": "所属上级账户",
  25119. "type": "integer"
  25120. },
  25121. "inamount": {
  25122. "description": "今日入金金额(包括三方入金)",
  25123. "type": "number"
  25124. },
  25125. "ismain": {
  25126. "description": "是否母账号 0:不是母账户 1:是母账户",
  25127. "type": "integer"
  25128. },
  25129. "ismarketaccount": {
  25130. "description": "是否机构接单账号 0:不是 1:是",
  25131. "type": "integer"
  25132. },
  25133. "isreckonaccount": {
  25134. "description": "是否机构分润账号 0:不是 1:是",
  25135. "type": "integer"
  25136. },
  25137. "mortgagecredit": {
  25138. "description": "授信金额",
  25139. "type": "number"
  25140. },
  25141. "orifreezecharge": {
  25142. "description": "期初手续费冻结",
  25143. "type": "number"
  25144. },
  25145. "orifreezemargin": {
  25146. "description": "期初冻结保证金",
  25147. "type": "number"
  25148. },
  25149. "orimortgagecredit": {
  25150. "description": "期初授信金额",
  25151. "type": "number"
  25152. },
  25153. "oriothercredit": {
  25154. "description": "期初其它授信金额",
  25155. "type": "number"
  25156. },
  25157. "oriotherfreezemargin": {
  25158. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25159. "type": "number"
  25160. },
  25161. "orioutamountfreeze": {
  25162. "description": "期初出金冻结",
  25163. "type": "number"
  25164. },
  25165. "oriusedmargin": {
  25166. "description": "期初占用保证金",
  25167. "type": "number"
  25168. },
  25169. "othercredit": {
  25170. "description": "其它授信金额",
  25171. "type": "number"
  25172. },
  25173. "othercreditdecrease": {
  25174. "description": "今日其它授信减少",
  25175. "type": "number"
  25176. },
  25177. "othercreditincrease": {
  25178. "description": "今日其它授信增加",
  25179. "type": "number"
  25180. },
  25181. "otherfreezemargin": {
  25182. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25183. "type": "number"
  25184. },
  25185. "otherincome": {
  25186. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  25187. "type": "number"
  25188. },
  25189. "otherpay": {
  25190. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  25191. "type": "number"
  25192. },
  25193. "outamount": {
  25194. "description": "今日出金金额(包括三方出金)",
  25195. "type": "number"
  25196. },
  25197. "outamountfreeze": {
  25198. "description": "出金冻结",
  25199. "type": "number"
  25200. },
  25201. "outthreshold": {
  25202. "description": "出金阈值",
  25203. "type": "number"
  25204. },
  25205. "parentaccountid": {
  25206. "description": "所属根账号",
  25207. "type": "integer"
  25208. },
  25209. "paycharge": {
  25210. "description": "今日手续费支出",
  25211. "type": "number"
  25212. },
  25213. "relatedaccountstatus": {
  25214. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  25215. "type": "integer"
  25216. },
  25217. "relateduserid": {
  25218. "description": "关联用户",
  25219. "type": "integer"
  25220. },
  25221. "serivcegroup": {
  25222. "description": "服务分组",
  25223. "type": "integer"
  25224. },
  25225. "signstatus": {
  25226. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25227. "type": "integer"
  25228. },
  25229. "sublevelpath": {
  25230. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25231. "type": "string"
  25232. },
  25233. "taaccounttype": {
  25234. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25235. "type": "integer"
  25236. },
  25237. "thirdinamount": {
  25238. "description": "今日三方入金",
  25239. "type": "number"
  25240. },
  25241. "thirdoutamount": {
  25242. "description": "今日三方出金",
  25243. "type": "number"
  25244. },
  25245. "tradestatus": {
  25246. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25247. "type": "integer"
  25248. },
  25249. "tradestatuschangetime": {
  25250. "description": "激活时间",
  25251. "type": "string"
  25252. },
  25253. "transferamount": {
  25254. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25255. "type": "number"
  25256. },
  25257. "usedmargin": {
  25258. "description": "占用保证金",
  25259. "type": "number"
  25260. },
  25261. "userid": {
  25262. "description": "用户ID",
  25263. "type": "integer"
  25264. }
  25265. }
  25266. },
  25267. "models.Tablecolumnconfig": {
  25268. "type": "object",
  25269. "required": [
  25270. "autoid"
  25271. ],
  25272. "properties": {
  25273. "aligntype": {
  25274. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  25275. "type": "integer"
  25276. },
  25277. "autoid": {
  25278. "description": "AutoID",
  25279. "type": "integer"
  25280. },
  25281. "columnfield": {
  25282. "description": "列字段",
  25283. "type": "string"
  25284. },
  25285. "columntitle": {
  25286. "description": "列Title",
  25287. "type": "string"
  25288. },
  25289. "columnwidth": {
  25290. "description": "列宽",
  25291. "type": "string"
  25292. },
  25293. "formatterstring": {
  25294. "description": "格式化字符",
  25295. "type": "string"
  25296. },
  25297. "formattertype": {
  25298. "description": "格式化类型",
  25299. "type": "string"
  25300. },
  25301. "groupname": {
  25302. "description": "表头分组名称",
  25303. "type": "string"
  25304. },
  25305. "isshow": {
  25306. "description": "是否显示 - 0:不显示 1:显示",
  25307. "type": "integer"
  25308. },
  25309. "needsummary": {
  25310. "description": "是否需要汇总 - 0:不需要 1:需要",
  25311. "type": "integer"
  25312. },
  25313. "orderindex": {
  25314. "description": "顺序",
  25315. "type": "integer"
  25316. },
  25317. "remark": {
  25318. "description": "备注",
  25319. "type": "string"
  25320. },
  25321. "summarytype": {
  25322. "description": "汇总类型 - 1:加总 2:最后一个",
  25323. "type": "integer"
  25324. },
  25325. "tablekey": {
  25326. "description": "列表Key",
  25327. "type": "string"
  25328. }
  25329. }
  25330. },
  25331. "models.UserCollectConfig": {
  25332. "type": "object",
  25333. "properties": {
  25334. "accountstatus": {
  25335. "description": "账户状态 - 1:正常 2:停用 3:注销",
  25336. "type": "integer"
  25337. },
  25338. "collectaccountname": {
  25339. "description": "收款人账户名称",
  25340. "type": "string"
  25341. },
  25342. "collectaccountno": {
  25343. "description": "收款人账户",
  25344. "type": "string"
  25345. },
  25346. "collectbankname": {
  25347. "description": "收款人开户行",
  25348. "type": "string"
  25349. },
  25350. "collectbranchbankname": {
  25351. "description": "收款人开户支行",
  25352. "type": "string"
  25353. },
  25354. "collectconfigid": {
  25355. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  25356. "type": "string"
  25357. },
  25358. "remark": {
  25359. "description": "备注",
  25360. "type": "string"
  25361. },
  25362. "userid": {
  25363. "description": "收款人用户ID",
  25364. "type": "integer"
  25365. }
  25366. }
  25367. },
  25368. "models.UserReceiveInfo": {
  25369. "type": "object",
  25370. "properties": {
  25371. "address": {
  25372. "description": "提货人详细地址",
  25373. "type": "string"
  25374. },
  25375. "autoid": {
  25376. "description": "AutoID",
  25377. "type": "integer"
  25378. },
  25379. "cardnum": {
  25380. "description": "证件号码(加密存储)",
  25381. "type": "string"
  25382. },
  25383. "cardtypeid": {
  25384. "description": "证件类型",
  25385. "type": "integer"
  25386. },
  25387. "cityid": {
  25388. "description": "市",
  25389. "type": "integer"
  25390. },
  25391. "cityname": {
  25392. "description": "城市名称",
  25393. "type": "string"
  25394. },
  25395. "countryid": {
  25396. "description": "国家",
  25397. "type": "integer"
  25398. },
  25399. "countryname": {
  25400. "description": "国家名称",
  25401. "type": "string"
  25402. },
  25403. "districtid": {
  25404. "description": "地区",
  25405. "type": "integer"
  25406. },
  25407. "districtname": {
  25408. "description": "地区名称",
  25409. "type": "string"
  25410. },
  25411. "hasencrypt": {
  25412. "description": "数据是否已加密 - 0:未加密 1:已加密",
  25413. "type": "integer"
  25414. },
  25415. "isdefault": {
  25416. "description": "是否默认地址 - 0:否 1:是",
  25417. "type": "integer"
  25418. },
  25419. "phonenum": {
  25420. "description": "提货人联系方式(加密存储)",
  25421. "type": "string"
  25422. },
  25423. "provinceid": {
  25424. "description": "省",
  25425. "type": "integer"
  25426. },
  25427. "provincename": {
  25428. "description": "省名称",
  25429. "type": "string"
  25430. },
  25431. "receivername": {
  25432. "description": "提货人姓名",
  25433. "type": "string"
  25434. },
  25435. "takeremark": {
  25436. "description": "提货备注",
  25437. "type": "string"
  25438. },
  25439. "userid": {
  25440. "description": "用户ID",
  25441. "type": "integer"
  25442. }
  25443. }
  25444. },
  25445. "models.Useraccount": {
  25446. "type": "object",
  25447. "required": [
  25448. "userid"
  25449. ],
  25450. "properties": {
  25451. "accountname": {
  25452. "description": "账户名称(机构名称)",
  25453. "type": "string"
  25454. },
  25455. "accountstatus": {
  25456. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25457. "type": "integer"
  25458. },
  25459. "applysrc": {
  25460. "description": "申请来源 - 1:管理端 2:终端",
  25461. "type": "integer"
  25462. },
  25463. "auditremark": {
  25464. "description": "审核备注",
  25465. "type": "string"
  25466. },
  25467. "auditsrc": {
  25468. "description": "审核来源 - 1:管理端 2:终端",
  25469. "type": "integer"
  25470. },
  25471. "audittime": {
  25472. "description": "审核时间",
  25473. "type": "string"
  25474. },
  25475. "audituserid": {
  25476. "description": "审核人",
  25477. "type": "integer"
  25478. },
  25479. "broker": {
  25480. "description": "所属经纪人ID",
  25481. "type": "integer"
  25482. },
  25483. "canceltime": {
  25484. "description": "销户时间",
  25485. "type": "string"
  25486. },
  25487. "canceluserid": {
  25488. "description": "销户人",
  25489. "type": "integer"
  25490. },
  25491. "canrecommend": {
  25492. "description": "是否可推荐 - 0:不可 1;可",
  25493. "type": "integer"
  25494. },
  25495. "createtime": {
  25496. "description": "创建时间",
  25497. "type": "string"
  25498. },
  25499. "creatorid": {
  25500. "description": "创建人",
  25501. "type": "integer"
  25502. },
  25503. "hasauth": {
  25504. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25505. "type": "integer"
  25506. },
  25507. "isanonymous": {
  25508. "description": "是否匿名下单 - 0:否 1:是",
  25509. "type": "integer"
  25510. },
  25511. "maxinvestornum": {
  25512. "description": "最大用户数(经纪会员下投资者个数)",
  25513. "type": "integer"
  25514. },
  25515. "memberuserid": {
  25516. "description": "所属会员ID",
  25517. "type": "integer"
  25518. },
  25519. "modifierid": {
  25520. "description": "修改人",
  25521. "type": "integer"
  25522. },
  25523. "modifyremark": {
  25524. "description": "变更备注",
  25525. "type": "string"
  25526. },
  25527. "modifystatus": {
  25528. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25529. "type": "integer"
  25530. },
  25531. "modifytime": {
  25532. "description": "修改时间",
  25533. "type": "string"
  25534. },
  25535. "parenttopuser": {
  25536. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25537. "type": "string"
  25538. },
  25539. "parentuserid": {
  25540. "description": "所属机构ID",
  25541. "type": "integer"
  25542. },
  25543. "reckonaccountid": {
  25544. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25545. "type": "integer"
  25546. },
  25547. "refercount": {
  25548. "description": "推荐总人数",
  25549. "type": "integer"
  25550. },
  25551. "refereeuserid": {
  25552. "description": "推荐人ID",
  25553. "type": "integer"
  25554. },
  25555. "refernum": {
  25556. "description": "推荐码",
  25557. "type": "string"
  25558. },
  25559. "rootuserid": {
  25560. "description": "根用户ID",
  25561. "type": "integer"
  25562. },
  25563. "subaccountlevel": {
  25564. "description": "子账户层数",
  25565. "type": "integer"
  25566. },
  25567. "subarealevelpath": {
  25568. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25569. "type": "string"
  25570. },
  25571. "userid": {
  25572. "description": "用户ID",
  25573. "type": "integer"
  25574. },
  25575. "usertype": {
  25576. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25577. "type": "integer"
  25578. }
  25579. }
  25580. },
  25581. "models.Userfavoritegoods": {
  25582. "type": "object",
  25583. "required": [
  25584. "goodsid"
  25585. ],
  25586. "properties": {
  25587. "goodsid": {
  25588. "description": "商品ID",
  25589. "type": "integer"
  25590. }
  25591. }
  25592. },
  25593. "models.Userinfo": {
  25594. "type": "object",
  25595. "required": [
  25596. "userid"
  25597. ],
  25598. "properties": {
  25599. "address": {
  25600. "description": "地址",
  25601. "type": "string"
  25602. },
  25603. "attachment1": {
  25604. "description": "附件1",
  25605. "type": "string"
  25606. },
  25607. "attachment2": {
  25608. "description": "附件2",
  25609. "type": "string"
  25610. },
  25611. "bankaccount": {
  25612. "description": "银行帐号 (加密存储)",
  25613. "type": "string"
  25614. },
  25615. "bankaccountname": {
  25616. "description": "收款人名称",
  25617. "type": "string"
  25618. },
  25619. "bankcardfrontphotourl": {
  25620. "description": "银行卡正面照地址",
  25621. "type": "string"
  25622. },
  25623. "bankid": {
  25624. "description": "银行编码",
  25625. "type": "string"
  25626. },
  25627. "bankname": {
  25628. "description": "银行名称",
  25629. "type": "string"
  25630. },
  25631. "biznature": {
  25632. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  25633. "type": "integer"
  25634. },
  25635. "bizscope": {
  25636. "description": "企业经营范围(企业)",
  25637. "type": "string"
  25638. },
  25639. "cardbackphotourl": {
  25640. "description": "证件背面图片地址",
  25641. "type": "string"
  25642. },
  25643. "cardfrontphotourl": {
  25644. "description": "证件正面图片地址",
  25645. "type": "string"
  25646. },
  25647. "cardnum": {
  25648. "description": "证件号码(加密存储)",
  25649. "type": "string"
  25650. },
  25651. "cardtypeid": {
  25652. "description": "证件类型ID",
  25653. "type": "integer"
  25654. },
  25655. "cityid": {
  25656. "description": "市",
  25657. "type": "integer"
  25658. },
  25659. "company": {
  25660. "description": "公司(个人)",
  25661. "type": "string"
  25662. },
  25663. "contactname": {
  25664. "description": "联系人",
  25665. "type": "string"
  25666. },
  25667. "countryid": {
  25668. "description": "国家",
  25669. "type": "integer"
  25670. },
  25671. "createtime": {
  25672. "description": "创建时间",
  25673. "type": "string"
  25674. },
  25675. "creatorid": {
  25676. "description": "创建人",
  25677. "type": "integer"
  25678. },
  25679. "customername": {
  25680. "description": "客户名称(企业名称)",
  25681. "type": "string"
  25682. },
  25683. "districtid": {
  25684. "description": "地区",
  25685. "type": "integer"
  25686. },
  25687. "email": {
  25688. "description": "邮件(加密存储)",
  25689. "type": "string"
  25690. },
  25691. "fax": {
  25692. "description": "传真(加密存储)",
  25693. "type": "string"
  25694. },
  25695. "halfbodyphotourl": {
  25696. "description": "半身照地址",
  25697. "type": "string"
  25698. },
  25699. "hasencrypt": {
  25700. "description": "数据是否已加密 - 0:未加密 1:已加密",
  25701. "type": "integer"
  25702. },
  25703. "headurl": {
  25704. "description": "头像地址",
  25705. "type": "string"
  25706. },
  25707. "legalcardbackphotourl": {
  25708. "description": "法人身份证背面照地址",
  25709. "type": "string"
  25710. },
  25711. "legalcardfrontphotourl": {
  25712. "description": "法人身份证正面照地址",
  25713. "type": "string"
  25714. },
  25715. "legalpersonname": {
  25716. "description": "法人姓名(企业)",
  25717. "type": "string"
  25718. },
  25719. "mobile": {
  25720. "description": "手机号码(加密存储)",
  25721. "type": "string"
  25722. },
  25723. "mobile2": {
  25724. "description": "手机号码[明文-尚志]",
  25725. "type": "string"
  25726. },
  25727. "modifierid": {
  25728. "description": "修改人",
  25729. "type": "integer"
  25730. },
  25731. "modifiertime": {
  25732. "description": "修改时间",
  25733. "type": "string"
  25734. },
  25735. "needinvoice": {
  25736. "description": "是否需要发票 - 0:不需要 1:需要",
  25737. "type": "integer"
  25738. },
  25739. "nickname": {
  25740. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  25741. "type": "string"
  25742. },
  25743. "openmode": {
  25744. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  25745. "type": "integer"
  25746. },
  25747. "otherurl": {
  25748. "description": "其它图片地址[使用分号分隔]",
  25749. "type": "string"
  25750. },
  25751. "postalcode": {
  25752. "description": "邮政编码",
  25753. "type": "string"
  25754. },
  25755. "provinceid": {
  25756. "description": "省",
  25757. "type": "integer"
  25758. },
  25759. "qq": {
  25760. "description": "QQ(加密存储",
  25761. "type": "string"
  25762. },
  25763. "remark": {
  25764. "description": "备注",
  25765. "type": "string"
  25766. },
  25767. "sex": {
  25768. "description": "用户性别 0: 女 1: 男",
  25769. "type": "integer"
  25770. },
  25771. "signpdfurl": {
  25772. "description": "签约pdf文件",
  25773. "type": "string"
  25774. },
  25775. "telphone": {
  25776. "description": "联系电话(加密存储)",
  25777. "type": "string"
  25778. },
  25779. "userid": {
  25780. "description": "用户ID",
  25781. "type": "integer"
  25782. },
  25783. "userinfotype": {
  25784. "description": "用户信息类型 - 1:个人 2:企业",
  25785. "type": "integer"
  25786. },
  25787. "userstatus": {
  25788. "description": "用户状态 - 1:正常 2:注销",
  25789. "type": "integer"
  25790. },
  25791. "usertype": {
  25792. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  25793. "type": "integer"
  25794. },
  25795. "wechat": {
  25796. "description": "微信(加密存储)",
  25797. "type": "string"
  25798. },
  25799. "wskhinfo": {
  25800. "description": "开户申请信息(JSON)",
  25801. "type": "string"
  25802. }
  25803. }
  25804. },
  25805. "models.WRSConverTDetail": {
  25806. "type": "object",
  25807. "properties": {
  25808. "convertratio": {
  25809. "description": "套保系数",
  25810. "type": "number"
  25811. },
  25812. "deliverygoodscode": {
  25813. "description": "现货商品代码",
  25814. "type": "string"
  25815. },
  25816. "deliverygoodsid": {
  25817. "description": "现货品种ID",
  25818. "type": "integer"
  25819. },
  25820. "deliverygoodsname": {
  25821. "description": "现货商品名称",
  25822. "type": "string"
  25823. },
  25824. "enumdicname": {
  25825. "description": "单位名称",
  25826. "type": "string"
  25827. },
  25828. "goodsunitid": {
  25829. "description": "套保品种单位id",
  25830. "type": "integer"
  25831. },
  25832. "middlegoodscode": {
  25833. "description": "套保品种代码",
  25834. "type": "string"
  25835. },
  25836. "middlegoodsid": {
  25837. "description": "套保品种ID",
  25838. "type": "integer"
  25839. },
  25840. "middlegoodsname": {
  25841. "description": "套保品种名称",
  25842. "type": "string"
  25843. },
  25844. "modifytime": {
  25845. "description": "修改时间",
  25846. "type": "string"
  25847. },
  25848. "wrstandardid": {
  25849. "description": "品类ID",
  25850. "type": "integer"
  25851. }
  25852. }
  25853. },
  25854. "models.WRStandardInfo": {
  25855. "type": "object",
  25856. "required": [
  25857. "wrstandardid"
  25858. ],
  25859. "properties": {
  25860. "areauserid": {
  25861. "description": "所属机构",
  25862. "type": "integer"
  25863. },
  25864. "convertfactor": {
  25865. "description": "标仓系数",
  25866. "type": "number"
  25867. },
  25868. "createtime": {
  25869. "description": "创建时间",
  25870. "type": "string"
  25871. },
  25872. "creatorid": {
  25873. "description": "创建人",
  25874. "type": "integer"
  25875. },
  25876. "deliverygoodsid": {
  25877. "description": "品种ID",
  25878. "type": "integer"
  25879. },
  25880. "deliverygoodsname": {
  25881. "description": "交割商品名称",
  25882. "type": "string"
  25883. },
  25884. "factoryitemjson": {
  25885. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  25886. "type": "string"
  25887. },
  25888. "isvalid": {
  25889. "description": "是否有效 - 0:无效 1:有效",
  25890. "type": "integer"
  25891. },
  25892. "minivalue": {
  25893. "description": "最小变动值",
  25894. "type": "integer"
  25895. },
  25896. "minivaluedp": {
  25897. "description": "最小变动值小数位",
  25898. "type": "integer"
  25899. },
  25900. "realminivalue": {
  25901. "description": "实际最小变动值",
  25902. "type": "integer"
  25903. },
  25904. "realminivaluedp": {
  25905. "description": "实际最小变动值小数位",
  25906. "type": "integer"
  25907. },
  25908. "remark": {
  25909. "description": "备注",
  25910. "type": "string"
  25911. },
  25912. "unitid": {
  25913. "description": "单位ID",
  25914. "type": "integer"
  25915. },
  25916. "unitname": {
  25917. "description": "单位",
  25918. "type": "string"
  25919. },
  25920. "updatetime": {
  25921. "description": "更新时间",
  25922. "type": "string"
  25923. },
  25924. "updatorid": {
  25925. "description": "更新人",
  25926. "type": "integer"
  25927. },
  25928. "wrsstatus": {
  25929. "description": "状态 - 作废 - 0:未激活 1:正常",
  25930. "type": "integer"
  25931. },
  25932. "wrstandardcode": {
  25933. "description": "现货品类代码",
  25934. "type": "string"
  25935. },
  25936. "wrstandardid": {
  25937. "description": "现货品类ID(SEQ_WRSTANDARD)",
  25938. "type": "integer"
  25939. },
  25940. "wrstandardname": {
  25941. "description": "现货品类名称",
  25942. "type": "string"
  25943. }
  25944. }
  25945. },
  25946. "models.Warehouseinfo": {
  25947. "type": "object",
  25948. "required": [
  25949. "autoid",
  25950. "warehousecode"
  25951. ],
  25952. "properties": {
  25953. "address": {
  25954. "description": "详细地址",
  25955. "type": "string"
  25956. },
  25957. "areauserid": {
  25958. "description": "所属机构",
  25959. "type": "integer"
  25960. },
  25961. "autoid": {
  25962. "description": "自增ID",
  25963. "type": "integer"
  25964. },
  25965. "cityid": {
  25966. "description": "市",
  25967. "type": "integer"
  25968. },
  25969. "contactname": {
  25970. "description": "联系人",
  25971. "type": "string"
  25972. },
  25973. "contactnum": {
  25974. "description": "联系电话",
  25975. "type": "string"
  25976. },
  25977. "countryid": {
  25978. "description": "国家",
  25979. "type": "integer"
  25980. },
  25981. "createtime": {
  25982. "description": "创建时间",
  25983. "type": "string"
  25984. },
  25985. "districtid": {
  25986. "description": "区",
  25987. "type": "integer"
  25988. },
  25989. "hasvideo": {
  25990. "description": "是否有视频 - 0:无 1:有",
  25991. "type": "integer"
  25992. },
  25993. "provinceid": {
  25994. "description": "省",
  25995. "type": "integer"
  25996. },
  25997. "remark": {
  25998. "description": "审核备注",
  25999. "type": "string"
  26000. },
  26001. "videourl": {
  26002. "description": "视频地址",
  26003. "type": "string"
  26004. },
  26005. "warehousecode": {
  26006. "description": "仓库代码",
  26007. "type": "string"
  26008. },
  26009. "warehousename": {
  26010. "description": "仓库名称",
  26011. "type": "string"
  26012. },
  26013. "warehousestatus": {
  26014. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  26015. "type": "integer"
  26016. },
  26017. "warehousetype": {
  26018. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26019. "type": "integer"
  26020. }
  26021. }
  26022. },
  26023. "order.QueryHisTradeDetailRsp": {
  26024. "type": "object",
  26025. "required": [
  26026. "accountid",
  26027. "buyorsell",
  26028. "goodsid",
  26029. "histradedate",
  26030. "marketid",
  26031. "memberuserid",
  26032. "orderid",
  26033. "tradeamount",
  26034. "tradedate",
  26035. "tradeid",
  26036. "tradeprice",
  26037. "tradeqty",
  26038. "tradetime"
  26039. ],
  26040. "properties": {
  26041. "accountid": {
  26042. "description": "账户ID[报价币种]",
  26043. "type": "integer"
  26044. },
  26045. "advanceratio": {
  26046. "description": "首付比率",
  26047. "type": "number"
  26048. },
  26049. "buildtype": {
  26050. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  26051. "type": "integer"
  26052. },
  26053. "buyorsell": {
  26054. "description": "方向 - 0:买 1:卖",
  26055. "type": "integer"
  26056. },
  26057. "charge": {
  26058. "description": "手续费",
  26059. "type": "number"
  26060. },
  26061. "closecharge": {
  26062. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26063. "type": "number"
  26064. },
  26065. "closeexchagechargevalue": {
  26066. "description": "平仓交易所手续费设置值",
  26067. "type": "number"
  26068. },
  26069. "closefeealgorithm": {
  26070. "description": "平仓手续费收取方式 1:比率 2:固定",
  26071. "type": "integer"
  26072. },
  26073. "closememberchargevalue": {
  26074. "description": "平仓会员手续费设置值",
  26075. "type": "number"
  26076. },
  26077. "closepl": {
  26078. "description": "平仓盈亏",
  26079. "type": "number"
  26080. },
  26081. "closepl2": {
  26082. "description": "平仓盈亏[逐笔]",
  26083. "type": "number"
  26084. },
  26085. "closeqty": {
  26086. "description": "平仓数量(先建后平操作 需要记录)",
  26087. "type": "number"
  26088. },
  26089. "creditamount": {
  26090. "description": "授信金额",
  26091. "type": "number"
  26092. },
  26093. "decimalplace": {
  26094. "description": "商品报价小数位",
  26095. "type": "integer"
  26096. },
  26097. "enumdicname": {
  26098. "description": "单位名称",
  26099. "type": "string"
  26100. },
  26101. "gcaccountid": {
  26102. "description": "账户ID[合约币种]",
  26103. "type": "integer"
  26104. },
  26105. "goodscode": {
  26106. "description": "商品代码",
  26107. "type": "string"
  26108. },
  26109. "goodsid": {
  26110. "description": "商品ID",
  26111. "type": "integer"
  26112. },
  26113. "goodsname": {
  26114. "description": "商品名称",
  26115. "type": "string"
  26116. },
  26117. "goodunitid": {
  26118. "description": "商品单位id",
  26119. "type": "integer"
  26120. },
  26121. "histradedate": {
  26122. "description": "历史交易日",
  26123. "type": "string"
  26124. },
  26125. "intclosepl": {
  26126. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  26127. "type": "integer"
  26128. },
  26129. "isconfirmexercise": {
  26130. "description": "是否确认行权- 0:否 1:是",
  26131. "type": "integer"
  26132. },
  26133. "ismain": {
  26134. "description": "是否主单 - 0:不是 1:是",
  26135. "type": "integer"
  26136. },
  26137. "ispreexercise": {
  26138. "description": "是否预申报- 0:否 1:是",
  26139. "type": "integer"
  26140. },
  26141. "isreckoned": {
  26142. "description": "是否结算 - 0:未结算 1:已结算",
  26143. "type": "integer"
  26144. },
  26145. "isvaliddata": {
  26146. "description": "是否有效 - 0:无效 1:有效",
  26147. "type": "integer"
  26148. },
  26149. "listingselecttype": {
  26150. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26151. "type": "integer"
  26152. },
  26153. "marketid": {
  26154. "description": "市场ID",
  26155. "type": "integer"
  26156. },
  26157. "marketname": {
  26158. "description": "市场名称",
  26159. "type": "string"
  26160. },
  26161. "matchaccountid": {
  26162. "description": "对手账号id",
  26163. "type": "integer"
  26164. },
  26165. "memberuserid": {
  26166. "description": "会员id 个人投资者 需要填写",
  26167. "type": "integer"
  26168. },
  26169. "opencharge": {
  26170. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26171. "type": "number"
  26172. },
  26173. "openexchagechargevalue": {
  26174. "description": "建仓交易所手续费设置值",
  26175. "type": "number"
  26176. },
  26177. "openfeealgorithm": {
  26178. "description": "建仓手续费收取方式 1:比率 2:固定",
  26179. "type": "integer"
  26180. },
  26181. "openmemberchargevalue": {
  26182. "description": "建仓会员手续费设置值",
  26183. "type": "number"
  26184. },
  26185. "openqty": {
  26186. "description": "开仓数量(先建后平操作 需要记录)",
  26187. "type": "number"
  26188. },
  26189. "optiontype": {
  26190. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26191. "type": "integer"
  26192. },
  26193. "orderid": {
  26194. "description": "委托单号",
  26195. "type": "string"
  26196. },
  26197. "payamount": {
  26198. "description": "支付金额(付款金额)",
  26199. "type": "number"
  26200. },
  26201. "performanceplanid": {
  26202. "description": "履约计划ID[期权]",
  26203. "type": "integer"
  26204. },
  26205. "performancestatus": {
  26206. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  26207. "type": "integer"
  26208. },
  26209. "preexerciseprice": {
  26210. "description": "预申报价格",
  26211. "type": "number"
  26212. },
  26213. "premium": {
  26214. "description": "权利金 - [持仓单的权利金]",
  26215. "type": "number"
  26216. },
  26217. "qtydecimalplace": {
  26218. "description": "商品报价小数位",
  26219. "type": "integer"
  26220. },
  26221. "recvamount": {
  26222. "description": "到账金额 = 成交金额 - 手续费",
  26223. "type": "number"
  26224. },
  26225. "relatedouttradeid": {
  26226. "description": "关联外部成交单ID",
  26227. "type": "integer"
  26228. },
  26229. "status": {
  26230. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  26231. "type": "integer"
  26232. },
  26233. "totalamount": {
  26234. "description": "订单总额 = 成交金额 + 手续费",
  26235. "type": "number"
  26236. },
  26237. "tradeamount": {
  26238. "description": "成交金额[账户币种,用于所有权]",
  26239. "type": "number"
  26240. },
  26241. "tradedate": {
  26242. "description": "交易日(yyyyMMdd)",
  26243. "type": "string"
  26244. },
  26245. "tradeid": {
  26246. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26247. "type": "string"
  26248. },
  26249. "trademode": {
  26250. "description": "交易模式",
  26251. "type": "integer"
  26252. },
  26253. "tradeprice": {
  26254. "description": "成交价格",
  26255. "type": "number"
  26256. },
  26257. "tradeproperty": {
  26258. "description": "交易属性",
  26259. "type": "integer"
  26260. },
  26261. "tradeqty": {
  26262. "description": "成交数量",
  26263. "type": "number"
  26264. },
  26265. "tradetime": {
  26266. "description": "成交时间",
  26267. "type": "string"
  26268. },
  26269. "tradetype": {
  26270. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  26271. "type": "integer"
  26272. }
  26273. }
  26274. },
  26275. "order.QueryHisTradeOrderDetailRsp": {
  26276. "type": "object",
  26277. "required": [
  26278. "accountid",
  26279. "buildtype",
  26280. "buyorsell",
  26281. "goodsid",
  26282. "histradedate",
  26283. "marketid",
  26284. "memberuserid",
  26285. "operatetype",
  26286. "orderid",
  26287. "orderqty",
  26288. "ordertime",
  26289. "pricemode",
  26290. "tradedate",
  26291. "validtype"
  26292. ],
  26293. "properties": {
  26294. "accountid": {
  26295. "description": "账户ID[报价币种]",
  26296. "type": "integer"
  26297. },
  26298. "buildtype": {
  26299. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  26300. "type": "integer"
  26301. },
  26302. "buyorsell": {
  26303. "description": "买卖 - 0:买 1:卖",
  26304. "type": "integer"
  26305. },
  26306. "cancelorderid": {
  26307. "description": "撤单单号(撤单时填写)",
  26308. "type": "string"
  26309. },
  26310. "cancelqty": {
  26311. "description": "撤单数量",
  26312. "type": "number"
  26313. },
  26314. "clientordertime": {
  26315. "description": "客户端委托时间",
  26316. "type": "string"
  26317. },
  26318. "clientticket": {
  26319. "description": "客户端流水号",
  26320. "type": "string"
  26321. },
  26322. "clienttype": {
  26323. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26324. "type": "integer"
  26325. },
  26326. "closeexchagechargevalue": {
  26327. "description": "平仓交易所手续费设置值",
  26328. "type": "number"
  26329. },
  26330. "closefeealgorithm": {
  26331. "description": "平仓手续费收取方式 1:比率 2:固定",
  26332. "type": "integer"
  26333. },
  26334. "closefreezecharge": {
  26335. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  26336. "type": "number"
  26337. },
  26338. "closememberchargevalue": {
  26339. "description": "平仓会员手续费设置值",
  26340. "type": "number"
  26341. },
  26342. "closeqty": {
  26343. "description": "平仓数量(先建后平操作 需要记录)",
  26344. "type": "number"
  26345. },
  26346. "closetradeqty": {
  26347. "description": "平仓成交数量(先建后平操作,需要记录)",
  26348. "type": "number"
  26349. },
  26350. "closeunfreezecharge": {
  26351. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  26352. "type": "number"
  26353. },
  26354. "decimalplace": {
  26355. "description": "商品报价小数位",
  26356. "type": "integer"
  26357. },
  26358. "delistingtype": {
  26359. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  26360. "type": "integer"
  26361. },
  26362. "enumdicname": {
  26363. "description": "单位名称",
  26364. "type": "string"
  26365. },
  26366. "freezecharge": {
  26367. "description": "冻结手续费",
  26368. "type": "number"
  26369. },
  26370. "freezemargin": {
  26371. "description": "冻结保证金(冻结交易金额)",
  26372. "type": "number"
  26373. },
  26374. "gcaccountid": {
  26375. "description": "账户ID[合约币种]",
  26376. "type": "integer"
  26377. },
  26378. "goodscode": {
  26379. "description": "商品代码",
  26380. "type": "string"
  26381. },
  26382. "goodsid": {
  26383. "description": "商品ID",
  26384. "type": "integer"
  26385. },
  26386. "goodsname": {
  26387. "description": "商品名称",
  26388. "type": "string"
  26389. },
  26390. "goodunitid": {
  26391. "description": "商品单位id",
  26392. "type": "integer"
  26393. },
  26394. "histradedate": {
  26395. "description": "历史交易日",
  26396. "type": "string"
  26397. },
  26398. "isconfirmexercise": {
  26399. "description": "是否确认行权- 0:否 1:是",
  26400. "type": "integer"
  26401. },
  26402. "ispreexercise": {
  26403. "description": "是否预申报- 0:否 1:是",
  26404. "type": "integer"
  26405. },
  26406. "isvaliddata": {
  26407. "description": "是否有效 - 0:无效 1:有效",
  26408. "type": "integer"
  26409. },
  26410. "listingselecttype": {
  26411. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26412. "type": "integer"
  26413. },
  26414. "marginalgorithm": {
  26415. "description": "保证金收取方式 1:比率 2:固定",
  26416. "type": "integer"
  26417. },
  26418. "marginvalue": {
  26419. "description": "即市保证金设置值",
  26420. "type": "number"
  26421. },
  26422. "marketid": {
  26423. "description": "市场ID",
  26424. "type": "integer"
  26425. },
  26426. "marketmaxsub": {
  26427. "description": "市价最大偏移范围",
  26428. "type": "number"
  26429. },
  26430. "marketname": {
  26431. "description": "市场名称",
  26432. "type": "string"
  26433. },
  26434. "memberuserid": {
  26435. "description": "所属会员UserID",
  26436. "type": "integer"
  26437. },
  26438. "openexchagechargevalue": {
  26439. "description": "建仓交易所手续费设置值",
  26440. "type": "number"
  26441. },
  26442. "openfeealgorithm": {
  26443. "description": "建仓手续费收取方式 1:比率 2:固定",
  26444. "type": "integer"
  26445. },
  26446. "openfreezecharge": {
  26447. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  26448. "type": "number"
  26449. },
  26450. "openmemberchargevalue": {
  26451. "description": "建仓会员手续费设置值",
  26452. "type": "number"
  26453. },
  26454. "openqty": {
  26455. "description": "开仓数量(先建后平操作,需要记录)",
  26456. "type": "number"
  26457. },
  26458. "opentradeqty": {
  26459. "description": "开仓成交数量(先建后平操作,需要记录)",
  26460. "type": "number"
  26461. },
  26462. "openunfreezecharge": {
  26463. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  26464. "type": "number"
  26465. },
  26466. "operatetype": {
  26467. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  26468. "type": "integer"
  26469. },
  26470. "operatorid": {
  26471. "description": "登录账号(LoginID)",
  26472. "type": "integer"
  26473. },
  26474. "optiontype": {
  26475. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26476. "type": "integer"
  26477. },
  26478. "orderid": {
  26479. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26480. "type": "string"
  26481. },
  26482. "orderprice": {
  26483. "description": "委托价格",
  26484. "type": "number"
  26485. },
  26486. "orderqty": {
  26487. "description": "委托数量",
  26488. "type": "number"
  26489. },
  26490. "ordersrc": {
  26491. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  26492. "type": "integer"
  26493. },
  26494. "orderstatus": {
  26495. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26496. "type": "integer"
  26497. },
  26498. "ordertime": {
  26499. "description": "委托时间",
  26500. "type": "string"
  26501. },
  26502. "preexerciseprice": {
  26503. "description": "预申报价格",
  26504. "type": "number"
  26505. },
  26506. "premium": {
  26507. "description": "权利金",
  26508. "type": "number"
  26509. },
  26510. "preorderid": {
  26511. "description": "关联预埋单号(止盈止损单时填写)",
  26512. "type": "string"
  26513. },
  26514. "pricemode": {
  26515. "description": "取价方式 - 1:市价 2: 限价",
  26516. "type": "integer"
  26517. },
  26518. "qtydecimalplace": {
  26519. "description": "成交量小数位",
  26520. "type": "integer"
  26521. },
  26522. "quoteid": {
  26523. "description": "报价单ID",
  26524. "type": "integer"
  26525. },
  26526. "relatedid": {
  26527. "description": "关联单号(交割单)",
  26528. "type": "string"
  26529. },
  26530. "retcode": {
  26531. "description": "错误代码",
  26532. "type": "integer"
  26533. },
  26534. "sessionid": {
  26535. "description": "会话ID",
  26536. "type": "integer"
  26537. },
  26538. "tradedate": {
  26539. "description": "交易日(yyyyMMdd)",
  26540. "type": "string"
  26541. },
  26542. "trademode": {
  26543. "description": "交易模式",
  26544. "type": "integer"
  26545. },
  26546. "tradeproperty": {
  26547. "description": "交易属性",
  26548. "type": "integer"
  26549. },
  26550. "tradeqty": {
  26551. "description": "成交数量",
  26552. "type": "number"
  26553. },
  26554. "unfreezecharge": {
  26555. "description": "解冻手续费",
  26556. "type": "number"
  26557. },
  26558. "unfreezemargin": {
  26559. "description": "解冻保证金",
  26560. "type": "number"
  26561. },
  26562. "updatetime": {
  26563. "description": "更新时间",
  26564. "type": "string"
  26565. },
  26566. "uuid": {
  26567. "description": "发起端唯一id",
  26568. "type": "string"
  26569. },
  26570. "validtime": {
  26571. "description": "有效期限",
  26572. "type": "string"
  26573. },
  26574. "validtype": {
  26575. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  26576. "type": "integer"
  26577. },
  26578. "volumetype": {
  26579. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  26580. "type": "integer"
  26581. }
  26582. }
  26583. },
  26584. "order.QueryTradeDetailRsp": {
  26585. "type": "object",
  26586. "required": [
  26587. "accountid",
  26588. "buyorsell",
  26589. "goodsid",
  26590. "marketid",
  26591. "memberuserid",
  26592. "orderid",
  26593. "tradeamount",
  26594. "tradedate",
  26595. "tradeid",
  26596. "tradeprice",
  26597. "tradeqty",
  26598. "tradetime"
  26599. ],
  26600. "properties": {
  26601. "accountid": {
  26602. "description": "账户ID[报价币种]",
  26603. "type": "integer"
  26604. },
  26605. "advanceratio": {
  26606. "description": "首付比率",
  26607. "type": "number"
  26608. },
  26609. "buildtype": {
  26610. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  26611. "type": "integer"
  26612. },
  26613. "buyorsell": {
  26614. "description": "方向 - 0:买 1:卖",
  26615. "type": "integer"
  26616. },
  26617. "charge": {
  26618. "description": "手续费",
  26619. "type": "number"
  26620. },
  26621. "closecharge": {
  26622. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26623. "type": "number"
  26624. },
  26625. "closeexchagechargevalue": {
  26626. "description": "平仓交易所手续费设置值",
  26627. "type": "number"
  26628. },
  26629. "closefeealgorithm": {
  26630. "description": "平仓手续费收取方式 1:比率 2:固定",
  26631. "type": "integer"
  26632. },
  26633. "closememberchargevalue": {
  26634. "description": "平仓会员手续费设置值",
  26635. "type": "number"
  26636. },
  26637. "closepl": {
  26638. "description": "平仓盈亏",
  26639. "type": "number"
  26640. },
  26641. "closepl2": {
  26642. "description": "平仓盈亏[逐笔]",
  26643. "type": "number"
  26644. },
  26645. "closeqty": {
  26646. "description": "平仓数量(先建后平操作 需要记录)",
  26647. "type": "number"
  26648. },
  26649. "creditamount": {
  26650. "description": "授信金额",
  26651. "type": "number"
  26652. },
  26653. "decimalplace": {
  26654. "description": "商品报价小数位",
  26655. "type": "integer"
  26656. },
  26657. "enumdicname": {
  26658. "description": "单位名称",
  26659. "type": "string"
  26660. },
  26661. "gcaccountid": {
  26662. "description": "账户ID[合约币种]",
  26663. "type": "integer"
  26664. },
  26665. "goodscode": {
  26666. "description": "商品代码",
  26667. "type": "string"
  26668. },
  26669. "goodsid": {
  26670. "description": "商品ID",
  26671. "type": "integer"
  26672. },
  26673. "goodsname": {
  26674. "description": "商品名称",
  26675. "type": "string"
  26676. },
  26677. "goodunitid": {
  26678. "description": "商品单位id",
  26679. "type": "integer"
  26680. },
  26681. "intclosepl": {
  26682. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  26683. "type": "integer"
  26684. },
  26685. "isconfirmexercise": {
  26686. "description": "是否确认行权- 0:否 1:是",
  26687. "type": "integer"
  26688. },
  26689. "ismain": {
  26690. "description": "是否主单 - 0:不是 1:是",
  26691. "type": "integer"
  26692. },
  26693. "ispreexercise": {
  26694. "description": "是否预申报- 0:否 1:是",
  26695. "type": "integer"
  26696. },
  26697. "isreckoned": {
  26698. "description": "是否结算 - 0:未结算 1:已结算",
  26699. "type": "integer"
  26700. },
  26701. "listingselecttype": {
  26702. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26703. "type": "integer"
  26704. },
  26705. "marketid": {
  26706. "description": "市场ID",
  26707. "type": "integer"
  26708. },
  26709. "marketname": {
  26710. "description": "市场名称",
  26711. "type": "string"
  26712. },
  26713. "matchaccountid": {
  26714. "description": "对手账号id",
  26715. "type": "integer"
  26716. },
  26717. "memberuserid": {
  26718. "description": "会员id 个人投资者 需要填写",
  26719. "type": "integer"
  26720. },
  26721. "opencharge": {
  26722. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26723. "type": "number"
  26724. },
  26725. "openexchagechargevalue": {
  26726. "description": "建仓交易所手续费设置值",
  26727. "type": "number"
  26728. },
  26729. "openfeealgorithm": {
  26730. "description": "建仓手续费收取方式 1:比率 2:固定",
  26731. "type": "integer"
  26732. },
  26733. "openmemberchargevalue": {
  26734. "description": "建仓会员手续费设置值",
  26735. "type": "number"
  26736. },
  26737. "openqty": {
  26738. "description": "开仓数量(先建后平操作 需要记录)",
  26739. "type": "number"
  26740. },
  26741. "optiontype": {
  26742. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26743. "type": "integer"
  26744. },
  26745. "orderid": {
  26746. "description": "委托单号",
  26747. "type": "string"
  26748. },
  26749. "payamount": {
  26750. "description": "支付金额(付款金额)",
  26751. "type": "number"
  26752. },
  26753. "performanceplanid": {
  26754. "description": "履约计划ID[期权]",
  26755. "type": "integer"
  26756. },
  26757. "performancestatus": {
  26758. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  26759. "type": "integer"
  26760. },
  26761. "preexerciseprice": {
  26762. "description": "预申报价格",
  26763. "type": "number"
  26764. },
  26765. "premium": {
  26766. "description": "权利金 - [持仓单的权利金]",
  26767. "type": "number"
  26768. },
  26769. "qtydecimalplace": {
  26770. "description": "商品报价小数位",
  26771. "type": "integer"
  26772. },
  26773. "recvamount": {
  26774. "description": "到账金额 = 成交金额 - 手续费",
  26775. "type": "number"
  26776. },
  26777. "relatedouttradeid": {
  26778. "description": "关联外部成交单ID",
  26779. "type": "integer"
  26780. },
  26781. "status": {
  26782. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  26783. "type": "integer"
  26784. },
  26785. "totalamount": {
  26786. "description": "订单总额 = 成交金额 + 手续费",
  26787. "type": "number"
  26788. },
  26789. "tradeamount": {
  26790. "description": "成交金额[账户币种,用于所有权]",
  26791. "type": "number"
  26792. },
  26793. "tradedate": {
  26794. "description": "交易日(yyyyMMdd)",
  26795. "type": "string"
  26796. },
  26797. "tradeid": {
  26798. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26799. "type": "string"
  26800. },
  26801. "trademode": {
  26802. "description": "交易模式",
  26803. "type": "integer"
  26804. },
  26805. "tradeprice": {
  26806. "description": "成交价格",
  26807. "type": "number"
  26808. },
  26809. "tradeproperty": {
  26810. "description": "交易属性",
  26811. "type": "integer"
  26812. },
  26813. "tradeqty": {
  26814. "description": "成交数量",
  26815. "type": "number"
  26816. },
  26817. "tradetime": {
  26818. "description": "成交时间",
  26819. "type": "string"
  26820. },
  26821. "tradetype": {
  26822. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  26823. "type": "integer"
  26824. }
  26825. }
  26826. },
  26827. "order.QueryTradeOrderDetailRsp": {
  26828. "type": "object",
  26829. "required": [
  26830. "accountid",
  26831. "buildtype",
  26832. "buyorsell",
  26833. "goodsid",
  26834. "marketid",
  26835. "operatetype",
  26836. "orderqty",
  26837. "ordertime",
  26838. "pricemode",
  26839. "tradedate",
  26840. "validtype"
  26841. ],
  26842. "properties": {
  26843. "accountid": {
  26844. "description": "账户ID[报价币种]",
  26845. "type": "integer"
  26846. },
  26847. "buildtype": {
  26848. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  26849. "type": "integer"
  26850. },
  26851. "buyorsell": {
  26852. "description": "买卖 - 0:买 1:卖",
  26853. "type": "integer"
  26854. },
  26855. "cancelorderid": {
  26856. "description": "撤单单号(撤单时填写)",
  26857. "type": "string"
  26858. },
  26859. "cancelqty": {
  26860. "description": "撤单数量",
  26861. "type": "number"
  26862. },
  26863. "clienttype": {
  26864. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26865. "type": "integer"
  26866. },
  26867. "closefreezecharge": {
  26868. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  26869. "type": "number"
  26870. },
  26871. "closeqty": {
  26872. "description": "平仓数量(先建后平操作 需要记录)",
  26873. "type": "number"
  26874. },
  26875. "closetradeqty": {
  26876. "description": "平仓成交数量(先建后平操作,需要记录)",
  26877. "type": "number"
  26878. },
  26879. "closeunfreezecharge": {
  26880. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  26881. "type": "number"
  26882. },
  26883. "decimalplace": {
  26884. "description": "商品报价小数位",
  26885. "type": "integer"
  26886. },
  26887. "delistingtype": {
  26888. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  26889. "type": "integer"
  26890. },
  26891. "enableqty": {
  26892. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  26893. "type": "number"
  26894. },
  26895. "enumdicname": {
  26896. "description": "单位名称",
  26897. "type": "string"
  26898. },
  26899. "freezecharge": {
  26900. "description": "冻结手续费",
  26901. "type": "number"
  26902. },
  26903. "freezemargin": {
  26904. "description": "冻结保证金(冻结交易金额)",
  26905. "type": "number"
  26906. },
  26907. "goodscode": {
  26908. "description": "商品代码",
  26909. "type": "string"
  26910. },
  26911. "goodsid": {
  26912. "description": "商品ID",
  26913. "type": "integer"
  26914. },
  26915. "goodsname": {
  26916. "description": "商品名称",
  26917. "type": "string"
  26918. },
  26919. "goodunitid": {
  26920. "description": "商品单位id",
  26921. "type": "integer"
  26922. },
  26923. "listingselecttype": {
  26924. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26925. "type": "integer"
  26926. },
  26927. "marketid": {
  26928. "description": "市场ID",
  26929. "type": "integer"
  26930. },
  26931. "marketname": {
  26932. "description": "市场名称",
  26933. "type": "string"
  26934. },
  26935. "openfreezecharge": {
  26936. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  26937. "type": "number"
  26938. },
  26939. "openqty": {
  26940. "description": "开仓数量(先建后平操作,需要记录)",
  26941. "type": "number"
  26942. },
  26943. "opentradeqty": {
  26944. "description": "开仓成交数量(先建后平操作,需要记录)",
  26945. "type": "number"
  26946. },
  26947. "openunfreezecharge": {
  26948. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  26949. "type": "number"
  26950. },
  26951. "operatetype": {
  26952. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  26953. "type": "integer"
  26954. },
  26955. "operatorid": {
  26956. "description": "登录账号(LoginID)",
  26957. "type": "integer"
  26958. },
  26959. "orderid": {
  26960. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26961. "type": "string"
  26962. },
  26963. "orderprice": {
  26964. "description": "委托价格",
  26965. "type": "number"
  26966. },
  26967. "orderqty": {
  26968. "description": "委托数量",
  26969. "type": "number"
  26970. },
  26971. "ordersrc": {
  26972. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  26973. "type": "integer"
  26974. },
  26975. "orderstatus": {
  26976. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26977. "type": "integer"
  26978. },
  26979. "ordertime": {
  26980. "description": "委托时间",
  26981. "type": "string"
  26982. },
  26983. "preorderid": {
  26984. "description": "关联预埋单号(止盈止损单时填写)",
  26985. "type": "string"
  26986. },
  26987. "pricemode": {
  26988. "description": "取价方式 - 1:市价 2: 限价",
  26989. "type": "integer"
  26990. },
  26991. "qtydecimalplace": {
  26992. "description": "商品报价小数位",
  26993. "type": "integer"
  26994. },
  26995. "relatedid": {
  26996. "description": "关联单号(交割单)",
  26997. "type": "string"
  26998. },
  26999. "tradedate": {
  27000. "description": "交易日(yyyyMMdd)",
  27001. "type": "string"
  27002. },
  27003. "trademode": {
  27004. "description": "交易模式",
  27005. "type": "integer"
  27006. },
  27007. "tradeqty": {
  27008. "description": "成交数量",
  27009. "type": "number"
  27010. },
  27011. "unfreezecharge": {
  27012. "description": "解冻手续费",
  27013. "type": "number"
  27014. },
  27015. "unfreezemargin": {
  27016. "description": "解冻保证金",
  27017. "type": "number"
  27018. },
  27019. "validtime": {
  27020. "description": "有效期限",
  27021. "type": "string"
  27022. },
  27023. "validtype": {
  27024. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  27025. "type": "integer"
  27026. },
  27027. "volumetype": {
  27028. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  27029. "type": "integer"
  27030. }
  27031. }
  27032. },
  27033. "order.QueryTradePositionRsp": {
  27034. "type": "object",
  27035. "required": [
  27036. "goodsid"
  27037. ],
  27038. "properties": {
  27039. "accountid": {
  27040. "description": "资金账户",
  27041. "type": "integer"
  27042. },
  27043. "agreeunit": {
  27044. "description": "合约单位",
  27045. "type": "number"
  27046. },
  27047. "averageprice": {
  27048. "description": "持仓均价",
  27049. "type": "number"
  27050. },
  27051. "buyorsell": {
  27052. "description": "方向 - 0:买 1:卖",
  27053. "type": "integer"
  27054. },
  27055. "closetotalqty": {
  27056. "description": "平仓总数量",
  27057. "type": "number"
  27058. },
  27059. "curholderamount": {
  27060. "description": "当前持仓总金额[商品币种]",
  27061. "type": "number"
  27062. },
  27063. "curpositionqty": {
  27064. "description": "当前持仓总数量",
  27065. "type": "number"
  27066. },
  27067. "currencyid": {
  27068. "description": "报价货币ID",
  27069. "type": "integer"
  27070. },
  27071. "curtdposition": {
  27072. "description": "期末今日头寸",
  27073. "type": "number"
  27074. },
  27075. "decimalplace": {
  27076. "description": "报价小数位",
  27077. "type": "integer"
  27078. },
  27079. "enableqty": {
  27080. "description": "可用量",
  27081. "type": "number"
  27082. },
  27083. "fretdposition": {
  27084. "description": "冻结今日头寸",
  27085. "type": "number"
  27086. },
  27087. "frozenqty": {
  27088. "description": "持仓冻结数量",
  27089. "type": "number"
  27090. },
  27091. "goodscode": {
  27092. "description": "商品代码",
  27093. "type": "string"
  27094. },
  27095. "goodsid": {
  27096. "description": "商品Id",
  27097. "type": "integer"
  27098. },
  27099. "goodsname": {
  27100. "description": "商品名称",
  27101. "type": "string"
  27102. },
  27103. "goodunit": {
  27104. "description": "报价单位",
  27105. "type": "string"
  27106. },
  27107. "goodunitid": {
  27108. "description": "报价单位ID",
  27109. "type": "integer"
  27110. },
  27111. "holderamount": {
  27112. "description": "期初持仓总金额[商品币种]",
  27113. "type": "number"
  27114. },
  27115. "marketid": {
  27116. "description": "所属市场ID",
  27117. "type": "integer"
  27118. },
  27119. "openreqqty": {
  27120. "description": "开仓申请数量(用于比较最大持仓数量)",
  27121. "type": "number"
  27122. },
  27123. "opentotalqty": {
  27124. "description": "开仓总数量",
  27125. "type": "number"
  27126. },
  27127. "otherfrozenqty": {
  27128. "description": "持仓其他冻结数量(交割冻结)",
  27129. "type": "number"
  27130. },
  27131. "positionqty": {
  27132. "description": "期初持仓数量",
  27133. "type": "number"
  27134. },
  27135. "qtydecimalplace": {
  27136. "description": "成交量小数位",
  27137. "type": "integer"
  27138. },
  27139. "tnqty": {
  27140. "description": "T+N冻结总量",
  27141. "type": "number"
  27142. },
  27143. "tnusedqty": {
  27144. "description": "T+N使用量(可以使用T+N的冻结数量)",
  27145. "type": "number"
  27146. },
  27147. "trademode": {
  27148. "description": "交易模式",
  27149. "type": "integer"
  27150. },
  27151. "usedmargin": {
  27152. "description": "占用保证金[商品币种]",
  27153. "type": "number"
  27154. }
  27155. }
  27156. },
  27157. "quote.HistoryData": {
  27158. "type": "object",
  27159. "properties": {
  27160. "c": {
  27161. "description": "收盘价",
  27162. "type": "number"
  27163. },
  27164. "f": {
  27165. "description": "是否补充数据",
  27166. "type": "boolean"
  27167. },
  27168. "h": {
  27169. "description": "最高价",
  27170. "type": "number"
  27171. },
  27172. "hv": {
  27173. "description": "持仓量",
  27174. "type": "integer"
  27175. },
  27176. "l": {
  27177. "description": "最低价",
  27178. "type": "number"
  27179. },
  27180. "o": {
  27181. "description": "开盘价",
  27182. "type": "number"
  27183. },
  27184. "s": {
  27185. "description": "结算价,日线周期(包括)以上才有",
  27186. "type": "number"
  27187. },
  27188. "ts": {
  27189. "description": "时间",
  27190. "type": "string"
  27191. },
  27192. "tt": {
  27193. "description": "总金额",
  27194. "type": "number"
  27195. },
  27196. "tv": {
  27197. "description": "总量",
  27198. "type": "integer"
  27199. }
  27200. }
  27201. },
  27202. "quote.HistoryTikData": {
  27203. "type": "object",
  27204. "properties": {
  27205. "AV": {
  27206. "description": "卖量",
  27207. "type": "integer"
  27208. },
  27209. "Ask": {
  27210. "description": "卖价",
  27211. "type": "number"
  27212. },
  27213. "BV": {
  27214. "description": "买量",
  27215. "type": "integer"
  27216. },
  27217. "Bid": {
  27218. "description": "买价",
  27219. "type": "number"
  27220. },
  27221. "HI": {
  27222. "description": "单笔持仓",
  27223. "type": "integer"
  27224. },
  27225. "HV": {
  27226. "description": "持仓量",
  27227. "type": "integer"
  27228. },
  27229. "PE": {
  27230. "description": "现价",
  27231. "type": "number"
  27232. },
  27233. "TDR": {
  27234. "description": "交易方向,0:买 1:卖",
  27235. "type": "integer"
  27236. },
  27237. "TK": {
  27238. "description": "交易类型",
  27239. "type": "integer"
  27240. },
  27241. "TS": {
  27242. "description": "行情时间文本",
  27243. "type": "string"
  27244. },
  27245. "TT": {
  27246. "description": "现金额",
  27247. "type": "number"
  27248. },
  27249. "Vol": {
  27250. "description": "现量",
  27251. "type": "integer"
  27252. }
  27253. }
  27254. },
  27255. "quote.QueryQuoteDayRsp": {
  27256. "type": "object",
  27257. "properties": {
  27258. "ask": {
  27259. "description": "卖1",
  27260. "type": "number"
  27261. },
  27262. "ask10": {
  27263. "description": "卖10",
  27264. "type": "number"
  27265. },
  27266. "ask2": {
  27267. "description": "卖2",
  27268. "type": "number"
  27269. },
  27270. "ask3": {
  27271. "description": "卖3",
  27272. "type": "number"
  27273. },
  27274. "ask4": {
  27275. "description": "卖4",
  27276. "type": "number"
  27277. },
  27278. "ask5": {
  27279. "description": "卖5",
  27280. "type": "number"
  27281. },
  27282. "ask6": {
  27283. "description": "卖6",
  27284. "type": "number"
  27285. },
  27286. "ask7": {
  27287. "description": "卖7",
  27288. "type": "number"
  27289. },
  27290. "ask8": {
  27291. "description": "卖8",
  27292. "type": "number"
  27293. },
  27294. "ask9": {
  27295. "description": "卖9",
  27296. "type": "number"
  27297. },
  27298. "askorderid": {
  27299. "description": "卖单号1",
  27300. "type": "integer"
  27301. },
  27302. "askorderid2": {
  27303. "description": "卖单号2",
  27304. "type": "integer"
  27305. },
  27306. "askorderid3": {
  27307. "description": "卖单号3",
  27308. "type": "integer"
  27309. },
  27310. "askorderid4": {
  27311. "description": "卖单号4",
  27312. "type": "integer"
  27313. },
  27314. "askorderid5": {
  27315. "description": "卖单号5",
  27316. "type": "integer"
  27317. },
  27318. "askordervolume": {
  27319. "description": "卖单量1",
  27320. "type": "integer"
  27321. },
  27322. "askordervolume10": {
  27323. "description": "卖单量10",
  27324. "type": "integer"
  27325. },
  27326. "askordervolume2": {
  27327. "description": "卖单量2",
  27328. "type": "integer"
  27329. },
  27330. "askordervolume3": {
  27331. "description": "卖单量3",
  27332. "type": "integer"
  27333. },
  27334. "askordervolume4": {
  27335. "description": "卖单量4",
  27336. "type": "integer"
  27337. },
  27338. "askordervolume5": {
  27339. "description": "卖单量5",
  27340. "type": "integer"
  27341. },
  27342. "askordervolume6": {
  27343. "description": "卖单量6",
  27344. "type": "integer"
  27345. },
  27346. "askordervolume7": {
  27347. "description": "卖单量7",
  27348. "type": "integer"
  27349. },
  27350. "askordervolume8": {
  27351. "description": "卖单量8",
  27352. "type": "integer"
  27353. },
  27354. "askordervolume9": {
  27355. "description": "卖单量9",
  27356. "type": "integer"
  27357. },
  27358. "askqueueinfo": {
  27359. "description": "大利市卖港股用",
  27360. "type": "string"
  27361. },
  27362. "askvolume": {
  27363. "description": "卖量1",
  27364. "type": "integer"
  27365. },
  27366. "askvolume10": {
  27367. "description": "卖量10",
  27368. "type": "integer"
  27369. },
  27370. "askvolume2": {
  27371. "description": "卖量2",
  27372. "type": "integer"
  27373. },
  27374. "askvolume3": {
  27375. "description": "卖量3",
  27376. "type": "integer"
  27377. },
  27378. "askvolume4": {
  27379. "description": "卖量4",
  27380. "type": "integer"
  27381. },
  27382. "askvolume5": {
  27383. "description": "卖量5",
  27384. "type": "integer"
  27385. },
  27386. "askvolume6": {
  27387. "description": "卖量6",
  27388. "type": "integer"
  27389. },
  27390. "askvolume7": {
  27391. "description": "卖量7",
  27392. "type": "integer"
  27393. },
  27394. "askvolume8": {
  27395. "description": "卖量8",
  27396. "type": "integer"
  27397. },
  27398. "askvolume9": {
  27399. "description": "卖量9",
  27400. "type": "integer"
  27401. },
  27402. "averageprice": {
  27403. "description": "均价",
  27404. "type": "number"
  27405. },
  27406. "bid": {
  27407. "description": "买1",
  27408. "type": "number"
  27409. },
  27410. "bid10": {
  27411. "description": "买10",
  27412. "type": "number"
  27413. },
  27414. "bid2": {
  27415. "description": "买2",
  27416. "type": "number"
  27417. },
  27418. "bid3": {
  27419. "description": "买3",
  27420. "type": "number"
  27421. },
  27422. "bid4": {
  27423. "description": "买4",
  27424. "type": "number"
  27425. },
  27426. "bid5": {
  27427. "description": "买5",
  27428. "type": "number"
  27429. },
  27430. "bid6": {
  27431. "description": "买6",
  27432. "type": "number"
  27433. },
  27434. "bid7": {
  27435. "description": "买7",
  27436. "type": "number"
  27437. },
  27438. "bid8": {
  27439. "description": "买8",
  27440. "type": "number"
  27441. },
  27442. "bid9": {
  27443. "description": "买9",
  27444. "type": "number"
  27445. },
  27446. "bidorderid": {
  27447. "description": "买单号1",
  27448. "type": "integer"
  27449. },
  27450. "bidorderid2": {
  27451. "description": "买单号2",
  27452. "type": "integer"
  27453. },
  27454. "bidorderid3": {
  27455. "description": "买单号3",
  27456. "type": "integer"
  27457. },
  27458. "bidorderid4": {
  27459. "description": "买单号4",
  27460. "type": "integer"
  27461. },
  27462. "bidorderid5": {
  27463. "description": "买单号5",
  27464. "type": "integer"
  27465. },
  27466. "bidordervolume": {
  27467. "description": "买单量1",
  27468. "type": "integer"
  27469. },
  27470. "bidordervolume10": {
  27471. "description": "买单量10",
  27472. "type": "integer"
  27473. },
  27474. "bidordervolume2": {
  27475. "description": "买单量2",
  27476. "type": "integer"
  27477. },
  27478. "bidordervolume3": {
  27479. "description": "买单量3",
  27480. "type": "integer"
  27481. },
  27482. "bidordervolume4": {
  27483. "description": "买单量4",
  27484. "type": "integer"
  27485. },
  27486. "bidordervolume5": {
  27487. "description": "买单量5",
  27488. "type": "integer"
  27489. },
  27490. "bidordervolume6": {
  27491. "description": "买单量6",
  27492. "type": "integer"
  27493. },
  27494. "bidordervolume7": {
  27495. "description": "买单量7",
  27496. "type": "integer"
  27497. },
  27498. "bidordervolume8": {
  27499. "description": "买单量8",
  27500. "type": "integer"
  27501. },
  27502. "bidordervolume9": {
  27503. "description": "买单量9",
  27504. "type": "integer"
  27505. },
  27506. "bidqueueinfo": {
  27507. "description": "大利市买港股用",
  27508. "type": "string"
  27509. },
  27510. "bidvolume": {
  27511. "description": "买量1",
  27512. "type": "integer"
  27513. },
  27514. "bidvolume10": {
  27515. "description": "买量10",
  27516. "type": "integer"
  27517. },
  27518. "bidvolume2": {
  27519. "description": "买量2",
  27520. "type": "integer"
  27521. },
  27522. "bidvolume3": {
  27523. "description": "买量3",
  27524. "type": "integer"
  27525. },
  27526. "bidvolume4": {
  27527. "description": "买量4",
  27528. "type": "integer"
  27529. },
  27530. "bidvolume5": {
  27531. "description": "买量5",
  27532. "type": "integer"
  27533. },
  27534. "bidvolume6": {
  27535. "description": "买量6",
  27536. "type": "integer"
  27537. },
  27538. "bidvolume7": {
  27539. "description": "买量7",
  27540. "type": "integer"
  27541. },
  27542. "bidvolume8": {
  27543. "description": "买量8",
  27544. "type": "integer"
  27545. },
  27546. "bidvolume9": {
  27547. "description": "买量9",
  27548. "type": "integer"
  27549. },
  27550. "calloptionpremiums": {
  27551. "description": "认购期权1",
  27552. "type": "integer"
  27553. },
  27554. "calloptionpremiums2": {
  27555. "description": "认购期权2",
  27556. "type": "integer"
  27557. },
  27558. "calloptionpremiums3": {
  27559. "description": "认购期权3",
  27560. "type": "integer"
  27561. },
  27562. "calloptionpremiums4": {
  27563. "description": "认购期权4",
  27564. "type": "integer"
  27565. },
  27566. "calloptionpremiums5": {
  27567. "description": "认购期权5",
  27568. "type": "integer"
  27569. },
  27570. "cleartime": {
  27571. "description": "清盘时间",
  27572. "type": "integer"
  27573. },
  27574. "exchangecode": {
  27575. "description": "交易所代码",
  27576. "type": "integer"
  27577. },
  27578. "exchangedate": {
  27579. "description": "交易日",
  27580. "type": "integer"
  27581. },
  27582. "goodscode": {
  27583. "description": "商品代码",
  27584. "type": "string"
  27585. },
  27586. "grepmarketprice": {
  27587. "description": "暗盘价 港股专用",
  27588. "type": "number"
  27589. },
  27590. "highest": {
  27591. "description": "最高价",
  27592. "type": "number"
  27593. },
  27594. "holdincrement": {
  27595. "description": "单笔持仓",
  27596. "type": "integer"
  27597. },
  27598. "holdvolume": {
  27599. "description": "持仓",
  27600. "type": "integer"
  27601. },
  27602. "iep": {
  27603. "description": "平衡价 港股专用",
  27604. "type": "number"
  27605. },
  27606. "iev": {
  27607. "description": "平衡量 港股专用",
  27608. "type": "number"
  27609. },
  27610. "inventory": {
  27611. "description": "库存",
  27612. "type": "integer"
  27613. },
  27614. "iscleared": {
  27615. "description": "是否清盘标志",
  27616. "type": "integer"
  27617. },
  27618. "issettled": {
  27619. "description": "是否结算标志",
  27620. "type": "integer"
  27621. },
  27622. "last": {
  27623. "description": "最新价",
  27624. "type": "number"
  27625. },
  27626. "lastlot": {
  27627. "description": "最新成交手数",
  27628. "type": "integer"
  27629. },
  27630. "lasttime": {
  27631. "description": "行情时间(只有现价变化行情时间才变化)",
  27632. "type": "string"
  27633. },
  27634. "lastturnover": {
  27635. "description": "最新成交金额",
  27636. "type": "number"
  27637. },
  27638. "lastvolume": {
  27639. "description": "最新成交量",
  27640. "type": "integer"
  27641. },
  27642. "limitdown": {
  27643. "description": "跌停价",
  27644. "type": "number"
  27645. },
  27646. "limitup": {
  27647. "description": "涨停价",
  27648. "type": "number"
  27649. },
  27650. "lowest": {
  27651. "description": "最低价",
  27652. "type": "number"
  27653. },
  27654. "nontotalholdervolume": {
  27655. "description": "非交易持仓量",
  27656. "type": "integer"
  27657. },
  27658. "nontotallot": {
  27659. "description": "非交易总手数",
  27660. "type": "integer"
  27661. },
  27662. "nontotalturnover": {
  27663. "description": "非交易总金额",
  27664. "type": "integer"
  27665. },
  27666. "nontotalvolume": {
  27667. "description": "非交易总量",
  27668. "type": "integer"
  27669. },
  27670. "opened": {
  27671. "description": "开盘价",
  27672. "type": "number"
  27673. },
  27674. "opentime": {
  27675. "description": "开盘时间",
  27676. "type": "string"
  27677. },
  27678. "orderid": {
  27679. "description": "序号",
  27680. "type": "integer"
  27681. },
  27682. "preclose": {
  27683. "description": "昨收",
  27684. "type": "number"
  27685. },
  27686. "preholdvolume": {
  27687. "description": "昨持仓",
  27688. "type": "integer"
  27689. },
  27690. "presettle": {
  27691. "description": "昨结价",
  27692. "type": "number"
  27693. },
  27694. "publictradetype": {
  27695. "description": "公共交易标志类型 港股专用",
  27696. "type": "string"
  27697. },
  27698. "putoptionpremiums": {
  27699. "description": "认沽期权1",
  27700. "type": "integer"
  27701. },
  27702. "putoptionpremiums2": {
  27703. "description": "认沽期权2",
  27704. "type": "integer"
  27705. },
  27706. "putoptionpremiums3": {
  27707. "description": "认沽期权3",
  27708. "type": "integer"
  27709. },
  27710. "putoptionpremiums4": {
  27711. "description": "认沽期权4",
  27712. "type": "integer"
  27713. },
  27714. "putoptionpremiums5": {
  27715. "description": "认沽期权5",
  27716. "type": "integer"
  27717. },
  27718. "settle": {
  27719. "description": "结算价",
  27720. "type": "number"
  27721. },
  27722. "strikeprice": {
  27723. "description": "发行价",
  27724. "type": "number"
  27725. },
  27726. "totalaskvolume": {
  27727. "description": "内盘",
  27728. "type": "integer"
  27729. },
  27730. "totalbidvolume": {
  27731. "description": "外盘",
  27732. "type": "integer"
  27733. },
  27734. "totallot": {
  27735. "description": "总手数",
  27736. "type": "integer"
  27737. },
  27738. "totalturnover": {
  27739. "description": "总金额",
  27740. "type": "number"
  27741. },
  27742. "totalvolume": {
  27743. "description": "总量",
  27744. "type": "integer"
  27745. },
  27746. "utclasttime": {
  27747. "description": "utc的行情时间",
  27748. "type": "string"
  27749. }
  27750. }
  27751. },
  27752. "quote.QueryTSDataRsp": {
  27753. "type": "object",
  27754. "properties": {
  27755. "Count": {
  27756. "description": "交易日应有数据个数",
  27757. "type": "integer"
  27758. },
  27759. "decimalPlace": {
  27760. "description": "小数位",
  27761. "type": "integer"
  27762. },
  27763. "endTime": {
  27764. "description": "结束时间",
  27765. "type": "string"
  27766. },
  27767. "goodsCode": {
  27768. "description": "商品代码",
  27769. "type": "string"
  27770. },
  27771. "historyDatas": {
  27772. "description": "历史数据",
  27773. "type": "array",
  27774. "items": {
  27775. "$ref": "#/definitions/quote.HistoryData"
  27776. }
  27777. },
  27778. "outGoodsCode": {
  27779. "description": "外部商品代码",
  27780. "type": "string"
  27781. },
  27782. "preSettle": {
  27783. "description": "昨结价",
  27784. "type": "number"
  27785. },
  27786. "runSteps": {
  27787. "description": "交易日开休市计划",
  27788. "type": "array",
  27789. "items": {
  27790. "$ref": "#/definitions/quote.TSDataRunStep"
  27791. }
  27792. },
  27793. "startTime": {
  27794. "description": "开始时间",
  27795. "type": "string"
  27796. },
  27797. "tradeDate": {
  27798. "description": "交易日",
  27799. "type": "string"
  27800. }
  27801. }
  27802. },
  27803. "quote.TSDataRunStep": {
  27804. "type": "object",
  27805. "properties": {
  27806. "end": {
  27807. "description": "真实结束时间",
  27808. "type": "string"
  27809. },
  27810. "endflag": {
  27811. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  27812. "type": "integer"
  27813. },
  27814. "endtime": {
  27815. "description": "结束时间(HH:mm)",
  27816. "type": "string"
  27817. },
  27818. "endweekday": {
  27819. "description": "结束周几",
  27820. "type": "integer"
  27821. },
  27822. "groupid": {
  27823. "description": "分组ID",
  27824. "type": "integer"
  27825. },
  27826. "runstep": {
  27827. "description": "运行阶段 - 2:连续交易",
  27828. "type": "integer"
  27829. },
  27830. "sectionid": {
  27831. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  27832. "type": "integer"
  27833. },
  27834. "start": {
  27835. "description": "真实开始时间",
  27836. "type": "string"
  27837. },
  27838. "startflag": {
  27839. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  27840. "type": "integer"
  27841. },
  27842. "starttime": {
  27843. "description": "起始时间(HH:mm)",
  27844. "type": "string"
  27845. },
  27846. "startweekday": {
  27847. "description": "起始周几",
  27848. "type": "integer"
  27849. },
  27850. "tradeweekday": {
  27851. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  27852. "type": "integer"
  27853. }
  27854. }
  27855. },
  27856. "szdz.QueryConvertLogRsp": {
  27857. "type": "object",
  27858. "required": [
  27859. "logid"
  27860. ],
  27861. "properties": {
  27862. "accountid": {
  27863. "description": "资金账户ID",
  27864. "type": "integer"
  27865. },
  27866. "clientticket": {
  27867. "description": "客户端流水号",
  27868. "type": "string"
  27869. },
  27870. "converttype": {
  27871. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  27872. "type": "integer"
  27873. },
  27874. "createtime": {
  27875. "description": "记账时间",
  27876. "type": "string"
  27877. },
  27878. "daymaxvalue": {
  27879. "description": "配置当日最大转入限制",
  27880. "type": "number"
  27881. },
  27882. "daymaxvalue2": {
  27883. "description": "配置当日最大转入限制(转入)",
  27884. "type": "number"
  27885. },
  27886. "goodscode": {
  27887. "description": "商品代码",
  27888. "type": "string"
  27889. },
  27890. "goodsname": {
  27891. "description": "商品名称",
  27892. "type": "string"
  27893. },
  27894. "handlestatus": {
  27895. "description": "处理状态",
  27896. "type": "integer"
  27897. },
  27898. "innergoodsid": {
  27899. "description": "内部商品ID",
  27900. "type": "integer"
  27901. },
  27902. "inratio": {
  27903. "description": "配置转入比值",
  27904. "type": "integer"
  27905. },
  27906. "invalue": {
  27907. "description": "目标值",
  27908. "type": "number"
  27909. },
  27910. "logid": {
  27911. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27912. "type": "integer"
  27913. },
  27914. "mobile": {
  27915. "description": "手机号码(加密存储)",
  27916. "type": "string"
  27917. },
  27918. "outergoodscode": {
  27919. "description": "外部商品代码[JD\\PD]",
  27920. "type": "string"
  27921. },
  27922. "outratio": {
  27923. "description": "配置转出比值",
  27924. "type": "integer"
  27925. },
  27926. "outvalue": {
  27927. "description": "源值",
  27928. "type": "number"
  27929. },
  27930. "pddecimalplace": {
  27931. "description": "PD小数位",
  27932. "type": "integer"
  27933. },
  27934. "qty": {
  27935. "description": "数量",
  27936. "type": "string"
  27937. },
  27938. "remark": {
  27939. "description": "备注",
  27940. "type": "string"
  27941. },
  27942. "sessionid": {
  27943. "description": "会话ID",
  27944. "type": "integer"
  27945. },
  27946. "timemaxvalue": {
  27947. "description": "配置单次最大转入限制",
  27948. "type": "number"
  27949. },
  27950. "timemaxvalue2": {
  27951. "description": "配置单次最大转入限制(转入)",
  27952. "type": "number"
  27953. },
  27954. "timeminvalue": {
  27955. "description": "配置单次最小数量限制",
  27956. "type": "number"
  27957. },
  27958. "timeminvalue2": {
  27959. "description": "配置单次最小数量限制(转入)",
  27960. "type": "number"
  27961. },
  27962. "tradedate": {
  27963. "description": "交易日(yyyyMMdd)",
  27964. "type": "string"
  27965. },
  27966. "userid": {
  27967. "description": "用户ID",
  27968. "type": "integer"
  27969. }
  27970. }
  27971. },
  27972. "szdz.QueryGoodsPickupRsp": {
  27973. "type": "object",
  27974. "required": [
  27975. "takeorderid"
  27976. ],
  27977. "properties": {
  27978. "accountid": {
  27979. "description": "账户ID",
  27980. "type": "integer"
  27981. },
  27982. "address": {
  27983. "description": "提货人详细地址",
  27984. "type": "string"
  27985. },
  27986. "auditer": {
  27987. "description": "审核人",
  27988. "type": "integer"
  27989. },
  27990. "audittime": {
  27991. "description": "审核时间",
  27992. "type": "string"
  27993. },
  27994. "cardnum": {
  27995. "description": "提货人证件号码",
  27996. "type": "string"
  27997. },
  27998. "cardtypeid": {
  27999. "description": "提货人证件类型",
  28000. "type": "integer"
  28001. },
  28002. "checkremark": {
  28003. "description": "审核备注",
  28004. "type": "string"
  28005. },
  28006. "goodscode": {
  28007. "description": "商品代码",
  28008. "type": "string"
  28009. },
  28010. "goodsid": {
  28011. "description": "商品ID",
  28012. "type": "integer"
  28013. },
  28014. "goodsname": {
  28015. "description": "商品名称",
  28016. "type": "string"
  28017. },
  28018. "handlestatus": {
  28019. "description": "处理状态",
  28020. "type": "integer"
  28021. },
  28022. "marketid": {
  28023. "description": "市场ID",
  28024. "type": "integer"
  28025. },
  28026. "phonenum": {
  28027. "description": "提货人联系方式",
  28028. "type": "string"
  28029. },
  28030. "qty": {
  28031. "description": "提货数量",
  28032. "type": "number"
  28033. },
  28034. "recivername": {
  28035. "description": "提货人姓名",
  28036. "type": "string"
  28037. },
  28038. "reqtime": {
  28039. "description": "更新时间",
  28040. "type": "string"
  28041. },
  28042. "takemode": {
  28043. "description": "提货方式 - 2:自提 3:配送",
  28044. "type": "integer"
  28045. },
  28046. "takeorderid": {
  28047. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28048. "type": "string"
  28049. },
  28050. "takeorderstatus": {
  28051. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  28052. "type": "integer"
  28053. },
  28054. "takeremark": {
  28055. "description": "提货备注",
  28056. "type": "string"
  28057. },
  28058. "tradedate": {
  28059. "description": "交易日(yyyyMMdd)",
  28060. "type": "string"
  28061. },
  28062. "userid": {
  28063. "description": "用户ID",
  28064. "type": "integer"
  28065. }
  28066. }
  28067. },
  28068. "szdz.QueryRecieptOrderRsp": {
  28069. "type": "object",
  28070. "required": [
  28071. "ordertime"
  28072. ],
  28073. "properties": {
  28074. "accountName": {
  28075. "description": "所属账号名称(已脱敏)",
  28076. "type": "string"
  28077. },
  28078. "accountid": {
  28079. "description": "资金账号",
  28080. "type": "integer"
  28081. },
  28082. "buyorsell": {
  28083. "description": "方向 - 0:买 1:卖",
  28084. "type": "integer"
  28085. },
  28086. "enableqty": {
  28087. "description": "可摘数量",
  28088. "type": "integer"
  28089. },
  28090. "goodscode": {
  28091. "description": "商品代码",
  28092. "type": "string"
  28093. },
  28094. "goodsid": {
  28095. "description": "商品ID",
  28096. "type": "integer"
  28097. },
  28098. "goodsname": {
  28099. "description": "商品名称",
  28100. "type": "string"
  28101. },
  28102. "orderid": {
  28103. "description": "委托单号",
  28104. "type": "string"
  28105. },
  28106. "orderprice": {
  28107. "description": "委托价格",
  28108. "type": "number"
  28109. },
  28110. "ordertime": {
  28111. "description": "委托时间",
  28112. "type": "string"
  28113. },
  28114. "tradedate": {
  28115. "description": "交易日(yyyyMMdd)",
  28116. "type": "string"
  28117. }
  28118. }
  28119. },
  28120. "szdz.QuerySZDZTradePositionRsp": {
  28121. "type": "object",
  28122. "properties": {
  28123. "accountid": {
  28124. "description": "账号Id",
  28125. "type": "integer"
  28126. },
  28127. "agreeunit": {
  28128. "description": "合约单位",
  28129. "type": "number"
  28130. },
  28131. "averageprice": {
  28132. "description": "持仓均价",
  28133. "type": "number"
  28134. },
  28135. "buyorsell": {
  28136. "description": "方向 - 0:买 1:卖",
  28137. "type": "integer"
  28138. },
  28139. "closetotalqty": {
  28140. "description": "平仓总数量",
  28141. "type": "integer"
  28142. },
  28143. "curholderamount": {
  28144. "description": "当前持仓总金额",
  28145. "type": "number"
  28146. },
  28147. "curpositionqty": {
  28148. "description": "当前持仓总数量",
  28149. "type": "integer"
  28150. },
  28151. "currencyid": {
  28152. "description": "报价货币ID",
  28153. "type": "integer"
  28154. },
  28155. "curtdposition": {
  28156. "description": "期末今日头寸",
  28157. "type": "integer"
  28158. },
  28159. "decimalplace": {
  28160. "description": "报价小数位",
  28161. "type": "integer"
  28162. },
  28163. "enableqty": {
  28164. "description": "可用量",
  28165. "type": "integer"
  28166. },
  28167. "fretdposition": {
  28168. "description": "冻结今日头寸",
  28169. "type": "integer"
  28170. },
  28171. "frozenqty": {
  28172. "description": "持仓冻结数量",
  28173. "type": "integer"
  28174. },
  28175. "goodscode": {
  28176. "description": "商品代码(内部)",
  28177. "type": "string"
  28178. },
  28179. "goodsid": {
  28180. "description": "商品Id",
  28181. "type": "integer"
  28182. },
  28183. "goodsname": {
  28184. "description": "商品名称",
  28185. "type": "string"
  28186. },
  28187. "goodunit": {
  28188. "description": "报价单位",
  28189. "type": "string"
  28190. },
  28191. "goodunitid": {
  28192. "description": "报价单位ID",
  28193. "type": "integer"
  28194. },
  28195. "holderamount": {
  28196. "description": "期初持仓总金额",
  28197. "type": "number"
  28198. },
  28199. "marketid": {
  28200. "description": "市场ID",
  28201. "type": "integer"
  28202. },
  28203. "openreqqty": {
  28204. "description": "开仓申请数量",
  28205. "type": "integer"
  28206. },
  28207. "opentotalqty": {
  28208. "description": "开仓总数量",
  28209. "type": "integer"
  28210. },
  28211. "otherfrozenqty": {
  28212. "description": "持仓其他冻结数量(交割冻结)",
  28213. "type": "integer"
  28214. },
  28215. "positionqty": {
  28216. "description": "期初持仓数量",
  28217. "type": "integer"
  28218. },
  28219. "szdz3freezqty": {
  28220. "description": "尚志大宗转换冻结总数量",
  28221. "type": "integer"
  28222. },
  28223. "tnqty": {
  28224. "description": "T+N冻结总量",
  28225. "type": "integer"
  28226. },
  28227. "tnusedqty": {
  28228. "description": "T+N使用量",
  28229. "type": "integer"
  28230. },
  28231. "trademode": {
  28232. "description": "交易模式",
  28233. "type": "integer"
  28234. },
  28235. "usedmargin": {
  28236. "description": "占用保证金",
  28237. "type": "number"
  28238. }
  28239. }
  28240. },
  28241. "taaccount.QueryAmountLogRsp": {
  28242. "type": "object",
  28243. "required": [
  28244. "accountid",
  28245. "amount",
  28246. "amountadjusttype",
  28247. "autoid",
  28248. "balance",
  28249. "createtime",
  28250. "currentbalance",
  28251. "operatetype"
  28252. ],
  28253. "properties": {
  28254. "OPERATETYPENAME": {
  28255. "description": "资金操作类型名称",
  28256. "type": "string"
  28257. },
  28258. "accountid": {
  28259. "description": "资金账户ID",
  28260. "type": "integer"
  28261. },
  28262. "agoodscode": {
  28263. "description": "竞拍商品代码",
  28264. "type": "string"
  28265. },
  28266. "agoodsname": {
  28267. "description": "竞拍商品名称",
  28268. "type": "string"
  28269. },
  28270. "amount": {
  28271. "description": "资金金额",
  28272. "type": "number"
  28273. },
  28274. "amountadjusttype": {
  28275. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  28276. "type": "integer"
  28277. },
  28278. "autoid": {
  28279. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  28280. "type": "integer"
  28281. },
  28282. "balance": {
  28283. "description": "期初余额",
  28284. "type": "number"
  28285. },
  28286. "businesscode": {
  28287. "description": "业务编号",
  28288. "type": "integer"
  28289. },
  28290. "createtime": {
  28291. "description": "发生时间",
  28292. "type": "string"
  28293. },
  28294. "currencyid": {
  28295. "description": "币种ID",
  28296. "type": "integer"
  28297. },
  28298. "currentbalance": {
  28299. "description": "期末余额(变动后金额)",
  28300. "type": "number"
  28301. },
  28302. "dgoodscode": {
  28303. "description": "交割商品代码",
  28304. "type": "string"
  28305. },
  28306. "dgoodsname": {
  28307. "description": "交割商品名称",
  28308. "type": "string"
  28309. },
  28310. "goodscode": {
  28311. "description": "商品代码",
  28312. "type": "string"
  28313. },
  28314. "goodsid": {
  28315. "description": "商品ID",
  28316. "type": "integer"
  28317. },
  28318. "goodsname": {
  28319. "description": "商品名称",
  28320. "type": "string"
  28321. },
  28322. "marketid": {
  28323. "description": "市场ID",
  28324. "type": "integer"
  28325. },
  28326. "marketname": {
  28327. "description": "市场名称",
  28328. "type": "string"
  28329. },
  28330. "moneyticket": {
  28331. "description": "资金流水号:银行端流水号",
  28332. "type": "integer"
  28333. },
  28334. "operatetype": {
  28335. "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:营销收款",
  28336. "type": "integer"
  28337. },
  28338. "relationorderid": {
  28339. "description": "关联单号",
  28340. "type": "string"
  28341. },
  28342. "remark": {
  28343. "description": "备注",
  28344. "type": "string"
  28345. },
  28346. "trademode": {
  28347. "description": "交易模式",
  28348. "type": "integer"
  28349. }
  28350. }
  28351. },
  28352. "taaccount.QueryHisAmountLogRsp": {
  28353. "type": "object",
  28354. "required": [
  28355. "accountid",
  28356. "amount",
  28357. "amountadjusttype",
  28358. "autoid",
  28359. "balance",
  28360. "createtime",
  28361. "currentbalance",
  28362. "histradedate",
  28363. "operatetype"
  28364. ],
  28365. "properties": {
  28366. "OPERATETYPENAME": {
  28367. "description": "资金操作类型名称",
  28368. "type": "string"
  28369. },
  28370. "accountid": {
  28371. "description": "资金账户ID",
  28372. "type": "integer"
  28373. },
  28374. "agoodscode": {
  28375. "description": "竞拍商品代码",
  28376. "type": "string"
  28377. },
  28378. "agoodsname": {
  28379. "description": "竞拍商品名称",
  28380. "type": "string"
  28381. },
  28382. "amount": {
  28383. "description": "资金金额",
  28384. "type": "number"
  28385. },
  28386. "amountadjusttype": {
  28387. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  28388. "type": "integer"
  28389. },
  28390. "autoid": {
  28391. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  28392. "type": "integer"
  28393. },
  28394. "balance": {
  28395. "description": "期初余额",
  28396. "type": "number"
  28397. },
  28398. "businesscode": {
  28399. "description": "业务编号",
  28400. "type": "integer"
  28401. },
  28402. "createtime": {
  28403. "description": "发生时间",
  28404. "type": "string"
  28405. },
  28406. "currencyid": {
  28407. "description": "币种ID",
  28408. "type": "integer"
  28409. },
  28410. "currentbalance": {
  28411. "description": "期末余额(变动后金额)",
  28412. "type": "number"
  28413. },
  28414. "dgoodscode": {
  28415. "description": "交割商品代码",
  28416. "type": "string"
  28417. },
  28418. "dgoodsname": {
  28419. "description": "交割商品名称",
  28420. "type": "string"
  28421. },
  28422. "goodscode": {
  28423. "description": "商品代码",
  28424. "type": "string"
  28425. },
  28426. "goodsid": {
  28427. "description": "商品ID",
  28428. "type": "integer"
  28429. },
  28430. "goodsname": {
  28431. "description": "商品名称",
  28432. "type": "string"
  28433. },
  28434. "histradedate": {
  28435. "description": "历史交易日",
  28436. "type": "string"
  28437. },
  28438. "isvaliddata": {
  28439. "description": "是否有效 - 0:无效 1:有效",
  28440. "type": "integer"
  28441. },
  28442. "marketid": {
  28443. "description": "市场ID",
  28444. "type": "integer"
  28445. },
  28446. "marketname": {
  28447. "description": "市场名称",
  28448. "type": "string"
  28449. },
  28450. "moneyticket": {
  28451. "description": "资金流水号:银行端流水号",
  28452. "type": "integer"
  28453. },
  28454. "operatetype": {
  28455. "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:营销收款",
  28456. "type": "integer"
  28457. },
  28458. "relationorderid": {
  28459. "description": "关联单号",
  28460. "type": "string"
  28461. },
  28462. "remark": {
  28463. "description": "备注",
  28464. "type": "string"
  28465. },
  28466. "trademode": {
  28467. "description": "交易模式",
  28468. "type": "integer"
  28469. }
  28470. }
  28471. },
  28472. "trade.QueryRecieptOrderRsp": {
  28473. "type": "object",
  28474. "required": [
  28475. "ordertime"
  28476. ],
  28477. "properties": {
  28478. "accountName": {
  28479. "description": "所属账号名称(已脱敏)",
  28480. "type": "string"
  28481. },
  28482. "accountid": {
  28483. "description": "资金账号",
  28484. "type": "integer"
  28485. },
  28486. "buyorsell": {
  28487. "description": "方向 - 0:买 1:卖",
  28488. "type": "integer"
  28489. },
  28490. "enableqty": {
  28491. "description": "可摘数量",
  28492. "type": "integer"
  28493. },
  28494. "goodscode": {
  28495. "description": "商品代码",
  28496. "type": "string"
  28497. },
  28498. "goodsid": {
  28499. "description": "商品ID",
  28500. "type": "integer"
  28501. },
  28502. "goodsname": {
  28503. "description": "商品名称",
  28504. "type": "string"
  28505. },
  28506. "orderid": {
  28507. "description": "委托单号",
  28508. "type": "string"
  28509. },
  28510. "orderprice": {
  28511. "description": "委托价格",
  28512. "type": "number"
  28513. },
  28514. "ordertime": {
  28515. "description": "委托时间",
  28516. "type": "string"
  28517. },
  28518. "tradedate": {
  28519. "description": "交易日(yyyyMMdd)",
  28520. "type": "string"
  28521. }
  28522. }
  28523. },
  28524. "user.LoginQueryRsp": {
  28525. "type": "object",
  28526. "properties": {
  28527. "areaRoles": {
  28528. "description": "所属角色信息",
  28529. "type": "array",
  28530. "items": {
  28531. "$ref": "#/definitions/models.Arearole"
  28532. }
  28533. },
  28534. "externalExchanges": {
  28535. "description": "外部交易所",
  28536. "type": "array",
  28537. "items": {
  28538. "$ref": "#/definitions/models.Externalexchange"
  28539. }
  28540. },
  28541. "goodsgroups": {
  28542. "description": "商品组",
  28543. "type": "array",
  28544. "items": {
  28545. "$ref": "#/definitions/models.Goodsgroup"
  28546. }
  28547. },
  28548. "loginAccount": {
  28549. "description": "登录账号",
  28550. "type": "object",
  28551. "$ref": "#/definitions/models.Loginaccount"
  28552. },
  28553. "markets": {
  28554. "description": "市场",
  28555. "type": "array",
  28556. "items": {
  28557. "$ref": "#/definitions/models.Market"
  28558. }
  28559. },
  28560. "systemParams": {
  28561. "description": "系统参数",
  28562. "type": "array",
  28563. "items": {
  28564. "$ref": "#/definitions/models.Systemparam"
  28565. }
  28566. },
  28567. "userAccount": {
  28568. "description": "用户账号",
  28569. "type": "object",
  28570. "$ref": "#/definitions/models.Useraccount"
  28571. },
  28572. "userInfo": {
  28573. "description": "用户信息",
  28574. "type": "object",
  28575. "$ref": "#/definitions/models.Userinfo"
  28576. },
  28577. "username": {
  28578. "description": "用户姓名",
  28579. "type": "string"
  28580. }
  28581. }
  28582. }
  28583. },
  28584. "securityDefinitions": {
  28585. "ApiKeyAuth": {
  28586. "type": "apiKey",
  28587. "name": "Authorization",
  28588. "in": "header"
  28589. }
  28590. }
  28591. }`
  28592. type swaggerInfo struct {
  28593. Version string
  28594. Host string
  28595. BasePath string
  28596. Schemes []string
  28597. Title string
  28598. Description string
  28599. }
  28600. // SwaggerInfo holds exported Swagger Info so clients can modify it
  28601. var SwaggerInfo = swaggerInfo{
  28602. Version: "1.0",
  28603. Host: "",
  28604. BasePath: "/api",
  28605. Schemes: []string{},
  28606. Title: "MTP2.0 查询服务 API",
  28607. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  28608. }
  28609. type s struct{}
  28610. func (s *s) ReadDoc() string {
  28611. sInfo := SwaggerInfo
  28612. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  28613. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  28614. "marshal": func(v interface{}) string {
  28615. a, _ := json.Marshal(v)
  28616. return string(a)
  28617. },
  28618. }).Parse(doc)
  28619. if err != nil {
  28620. return doc
  28621. }
  28622. var tpl bytes.Buffer
  28623. if err := t.Execute(&tpl, sInfo); err != nil {
  28624. return doc
  28625. }
  28626. return tpl.String()
  28627. }
  28628. func init() {
  28629. swag.Register(swag.Name, &s{})
  28630. }