docs.go 1.0 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641
  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. },
  8017. {
  8018. "type": "integer",
  8019. "description": "商品id",
  8020. "name": "goodsid",
  8021. "in": "query"
  8022. },
  8023. {
  8024. "type": "string",
  8025. "description": "名称(模糊搜索账户)",
  8026. "name": "filtername",
  8027. "in": "query"
  8028. },
  8029. {
  8030. "type": "string",
  8031. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8032. "name": "risklevel",
  8033. "in": "query"
  8034. },
  8035. {
  8036. "type": "string",
  8037. "description": "开始交易日(yyyymmdd)",
  8038. "name": "begindate",
  8039. "in": "query"
  8040. },
  8041. {
  8042. "type": "string",
  8043. "description": "结束交易日(yyyymmdd)",
  8044. "name": "enddate",
  8045. "in": "query"
  8046. }
  8047. ],
  8048. "responses": {
  8049. "200": {
  8050. "description": "OK",
  8051. "schema": {
  8052. "type": "array",
  8053. "items": {
  8054. "$ref": "#/definitions/models.QhjMgrContract"
  8055. }
  8056. }
  8057. },
  8058. "500": {
  8059. "description": "Internal Server Error",
  8060. "schema": {
  8061. "$ref": "#/definitions/app.Response"
  8062. }
  8063. }
  8064. }
  8065. }
  8066. },
  8067. "/QhjMgr/QueryCustomerInfo": {
  8068. "get": {
  8069. "security": [
  8070. {
  8071. "ApiKeyAuth": []
  8072. }
  8073. ],
  8074. "produces": [
  8075. "application/json"
  8076. ],
  8077. "tags": [
  8078. "大连千海金(PCWeb)"
  8079. ],
  8080. "summary": "查询客户资料",
  8081. "parameters": [
  8082. {
  8083. "type": "integer",
  8084. "description": "用户ID",
  8085. "name": "userid",
  8086. "in": "query",
  8087. "required": true
  8088. },
  8089. {
  8090. "type": "integer",
  8091. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8092. "name": "querytype",
  8093. "in": "query",
  8094. "required": true
  8095. },
  8096. {
  8097. "type": "integer",
  8098. "description": "客户类型 1-个人 2-企业",
  8099. "name": "userinfotype",
  8100. "in": "query"
  8101. },
  8102. {
  8103. "type": "string",
  8104. "description": "客户名称(模糊匹配)",
  8105. "name": "customername",
  8106. "in": "query"
  8107. },
  8108. {
  8109. "type": "string",
  8110. "description": "昵称(模糊匹配)",
  8111. "name": "nickname",
  8112. "in": "query"
  8113. },
  8114. {
  8115. "type": "integer",
  8116. "description": "是否包含子级 1-包含",
  8117. "name": "includesub",
  8118. "in": "query"
  8119. }
  8120. ],
  8121. "responses": {
  8122. "200": {
  8123. "description": "OK",
  8124. "schema": {
  8125. "type": "array",
  8126. "items": {
  8127. "$ref": "#/definitions/models.QhjCustomer"
  8128. }
  8129. }
  8130. },
  8131. "500": {
  8132. "description": "Internal Server Error",
  8133. "schema": {
  8134. "$ref": "#/definitions/app.Response"
  8135. }
  8136. }
  8137. }
  8138. }
  8139. },
  8140. "/QhjMgr/QuerySubArea": {
  8141. "get": {
  8142. "security": [
  8143. {
  8144. "ApiKeyAuth": []
  8145. }
  8146. ],
  8147. "produces": [
  8148. "application/json"
  8149. ],
  8150. "tags": [
  8151. "大连千海金(PCWeb)"
  8152. ],
  8153. "summary": "查询子机构列表",
  8154. "parameters": [
  8155. {
  8156. "type": "integer",
  8157. "description": "用户ID",
  8158. "name": "userid",
  8159. "in": "query",
  8160. "required": true
  8161. }
  8162. ],
  8163. "responses": {
  8164. "200": {
  8165. "description": "OK",
  8166. "schema": {
  8167. "type": "array",
  8168. "items": {
  8169. "$ref": "#/definitions/models.QhjMgrSubArea"
  8170. }
  8171. }
  8172. },
  8173. "500": {
  8174. "description": "Internal Server Error",
  8175. "schema": {
  8176. "$ref": "#/definitions/app.Response"
  8177. }
  8178. }
  8179. }
  8180. }
  8181. },
  8182. "/QhjMgr/QueryTradeDetail": {
  8183. "get": {
  8184. "security": [
  8185. {
  8186. "ApiKeyAuth": []
  8187. }
  8188. ],
  8189. "produces": [
  8190. "application/json"
  8191. ],
  8192. "tags": [
  8193. "大连千海金(PCWeb)"
  8194. ],
  8195. "summary": "查询成交明细",
  8196. "parameters": [
  8197. {
  8198. "type": "integer",
  8199. "description": "用户ID",
  8200. "name": "userid",
  8201. "in": "query",
  8202. "required": true
  8203. },
  8204. {
  8205. "type": "integer",
  8206. "description": "用户类型 1-个人 2-企业",
  8207. "name": "userinfotype",
  8208. "in": "query"
  8209. },
  8210. {
  8211. "type": "integer",
  8212. "description": "交易模式",
  8213. "name": "trademode",
  8214. "in": "query"
  8215. },
  8216. {
  8217. "type": "integer",
  8218. "description": "商品id",
  8219. "name": "goodsid",
  8220. "in": "query"
  8221. },
  8222. {
  8223. "type": "string",
  8224. "description": "名称(模糊搜索账户)",
  8225. "name": "filtername",
  8226. "in": "query"
  8227. },
  8228. {
  8229. "type": "string",
  8230. "description": "开始交易日(yyyymmdd)",
  8231. "name": "begindate",
  8232. "in": "query"
  8233. },
  8234. {
  8235. "type": "string",
  8236. "description": "结束交易日(yyyymmdd)",
  8237. "name": "enddate",
  8238. "in": "query"
  8239. },
  8240. {
  8241. "type": "integer",
  8242. "description": "是否包含子级 1-包含",
  8243. "name": "includesub",
  8244. "in": "query"
  8245. }
  8246. ],
  8247. "responses": {
  8248. "200": {
  8249. "description": "OK",
  8250. "schema": {
  8251. "type": "array",
  8252. "items": {
  8253. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8254. }
  8255. }
  8256. },
  8257. "500": {
  8258. "description": "Internal Server Error",
  8259. "schema": {
  8260. "$ref": "#/definitions/app.Response"
  8261. }
  8262. }
  8263. }
  8264. }
  8265. },
  8266. "/QhjMgr/QueryTradeOrderDetail": {
  8267. "get": {
  8268. "security": [
  8269. {
  8270. "ApiKeyAuth": []
  8271. }
  8272. ],
  8273. "produces": [
  8274. "application/json"
  8275. ],
  8276. "tags": [
  8277. "大连千海金(PCWeb)"
  8278. ],
  8279. "summary": "查询委托明细",
  8280. "parameters": [
  8281. {
  8282. "type": "integer",
  8283. "description": "用户ID",
  8284. "name": "userid",
  8285. "in": "query",
  8286. "required": true
  8287. },
  8288. {
  8289. "type": "integer",
  8290. "description": "用户类型 1-个人 2-企业",
  8291. "name": "userinfotype",
  8292. "in": "query"
  8293. },
  8294. {
  8295. "type": "integer",
  8296. "description": "交易模式",
  8297. "name": "trademode",
  8298. "in": "query"
  8299. },
  8300. {
  8301. "type": "integer",
  8302. "description": "商品id",
  8303. "name": "goodsid",
  8304. "in": "query"
  8305. },
  8306. {
  8307. "type": "string",
  8308. "description": "名称(模糊搜索账户)",
  8309. "name": "filtername",
  8310. "in": "query"
  8311. },
  8312. {
  8313. "type": "string",
  8314. "description": "开始交易日(yyyymmdd)",
  8315. "name": "begindate",
  8316. "in": "query"
  8317. },
  8318. {
  8319. "type": "string",
  8320. "description": "结束交易日(yyyymmdd)",
  8321. "name": "enddate",
  8322. "in": "query"
  8323. },
  8324. {
  8325. "type": "integer",
  8326. "description": "是否包含子级 1-包含",
  8327. "name": "includesub",
  8328. "in": "query"
  8329. }
  8330. ],
  8331. "responses": {
  8332. "200": {
  8333. "description": "OK",
  8334. "schema": {
  8335. "type": "array",
  8336. "items": {
  8337. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8338. }
  8339. }
  8340. },
  8341. "500": {
  8342. "description": "Internal Server Error",
  8343. "schema": {
  8344. "$ref": "#/definitions/app.Response"
  8345. }
  8346. }
  8347. }
  8348. }
  8349. },
  8350. "/QhjMgr/QueryTradePayOrder": {
  8351. "get": {
  8352. "security": [
  8353. {
  8354. "ApiKeyAuth": []
  8355. }
  8356. ],
  8357. "produces": [
  8358. "application/json"
  8359. ],
  8360. "tags": [
  8361. "大连千海金(PCWeb)"
  8362. ],
  8363. "summary": "查询待付款单",
  8364. "parameters": [
  8365. {
  8366. "type": "integer",
  8367. "description": "用户ID",
  8368. "name": "userid",
  8369. "in": "query",
  8370. "required": true
  8371. },
  8372. {
  8373. "type": "string",
  8374. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8375. "name": "payflag",
  8376. "in": "query"
  8377. },
  8378. {
  8379. "type": "integer",
  8380. "description": "用户类型 1-个人 2-企业",
  8381. "name": "userinfotype",
  8382. "in": "query"
  8383. },
  8384. {
  8385. "type": "integer",
  8386. "description": "交易模式",
  8387. "name": "trademode",
  8388. "in": "query"
  8389. },
  8390. {
  8391. "type": "integer",
  8392. "description": "商品id",
  8393. "name": "goodsid",
  8394. "in": "query"
  8395. },
  8396. {
  8397. "type": "string",
  8398. "description": "名称(模糊搜索账户)",
  8399. "name": "filtername",
  8400. "in": "query"
  8401. },
  8402. {
  8403. "type": "string",
  8404. "description": "开始交易日(yyyymmdd)",
  8405. "name": "begindate",
  8406. "in": "query"
  8407. },
  8408. {
  8409. "type": "string",
  8410. "description": "结束交易日(yyyymmdd)",
  8411. "name": "enddate",
  8412. "in": "query"
  8413. },
  8414. {
  8415. "type": "integer",
  8416. "description": "是否包含子级 1-包含",
  8417. "name": "includesub",
  8418. "in": "query"
  8419. }
  8420. ],
  8421. "responses": {
  8422. "200": {
  8423. "description": "OK",
  8424. "schema": {
  8425. "type": "array",
  8426. "items": {
  8427. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8428. }
  8429. }
  8430. },
  8431. "500": {
  8432. "description": "Internal Server Error",
  8433. "schema": {
  8434. "$ref": "#/definitions/app.Response"
  8435. }
  8436. }
  8437. }
  8438. }
  8439. },
  8440. "/QhjMgr/QueryTradePosition": {
  8441. "get": {
  8442. "security": [
  8443. {
  8444. "ApiKeyAuth": []
  8445. }
  8446. ],
  8447. "produces": [
  8448. "application/json"
  8449. ],
  8450. "tags": [
  8451. "大连千海金(PCWeb)"
  8452. ],
  8453. "summary": "查询持仓汇总",
  8454. "parameters": [
  8455. {
  8456. "type": "integer",
  8457. "description": "用户ID",
  8458. "name": "userid",
  8459. "in": "query",
  8460. "required": true
  8461. },
  8462. {
  8463. "type": "integer",
  8464. "description": "用户类型 1-个人 2-企业",
  8465. "name": "userinfotype",
  8466. "in": "query"
  8467. },
  8468. {
  8469. "type": "integer",
  8470. "description": "交易模式",
  8471. "name": "trademode",
  8472. "in": "query"
  8473. },
  8474. {
  8475. "type": "integer",
  8476. "description": "商品id",
  8477. "name": "goodsid",
  8478. "in": "query"
  8479. },
  8480. {
  8481. "type": "string",
  8482. "description": "名称(模糊搜索账户)",
  8483. "name": "filtername",
  8484. "in": "query"
  8485. },
  8486. {
  8487. "type": "integer",
  8488. "description": "是否包含子级 1-包含",
  8489. "name": "includesub",
  8490. "in": "query"
  8491. }
  8492. ],
  8493. "responses": {
  8494. "200": {
  8495. "description": "OK",
  8496. "schema": {
  8497. "type": "array",
  8498. "items": {
  8499. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  8500. }
  8501. }
  8502. },
  8503. "500": {
  8504. "description": "Internal Server Error",
  8505. "schema": {
  8506. "$ref": "#/definitions/app.Response"
  8507. }
  8508. }
  8509. }
  8510. }
  8511. },
  8512. "/Quote/QueryHistoryDatas": {
  8513. "get": {
  8514. "security": [
  8515. {
  8516. "ApiKeyAuth": []
  8517. }
  8518. ],
  8519. "produces": [
  8520. "application/json"
  8521. ],
  8522. "tags": [
  8523. "行情服务"
  8524. ],
  8525. "summary": "查询行情历史数据",
  8526. "parameters": [
  8527. {
  8528. "type": "integer",
  8529. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  8530. "name": "cycleType",
  8531. "in": "query",
  8532. "required": true
  8533. },
  8534. {
  8535. "type": "string",
  8536. "description": "商品代码",
  8537. "name": "goodsCode",
  8538. "in": "query",
  8539. "required": true
  8540. },
  8541. {
  8542. "type": "string",
  8543. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8544. "name": "startTime",
  8545. "in": "query"
  8546. },
  8547. {
  8548. "type": "string",
  8549. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8550. "name": "endTime",
  8551. "in": "query"
  8552. },
  8553. {
  8554. "type": "integer",
  8555. "description": "条数",
  8556. "name": "count",
  8557. "in": "query"
  8558. },
  8559. {
  8560. "type": "boolean",
  8561. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8562. "name": "isAsc",
  8563. "in": "query"
  8564. }
  8565. ],
  8566. "responses": {
  8567. "200": {
  8568. "description": "OK",
  8569. "schema": {
  8570. "$ref": "#/definitions/quote.HistoryData"
  8571. }
  8572. },
  8573. "500": {
  8574. "description": "Internal Server Error",
  8575. "schema": {
  8576. "$ref": "#/definitions/app.Response"
  8577. }
  8578. }
  8579. }
  8580. }
  8581. },
  8582. "/Quote/QueryHistoryTikDatas": {
  8583. "get": {
  8584. "security": [
  8585. {
  8586. "ApiKeyAuth": []
  8587. }
  8588. ],
  8589. "produces": [
  8590. "application/json"
  8591. ],
  8592. "tags": [
  8593. "行情服务"
  8594. ],
  8595. "summary": "查询行情Tik数据",
  8596. "parameters": [
  8597. {
  8598. "type": "string",
  8599. "description": "商品代码",
  8600. "name": "goodsCode",
  8601. "in": "query",
  8602. "required": true
  8603. },
  8604. {
  8605. "type": "string",
  8606. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8607. "name": "startTime",
  8608. "in": "query"
  8609. },
  8610. {
  8611. "type": "string",
  8612. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8613. "name": "endTime",
  8614. "in": "query"
  8615. },
  8616. {
  8617. "type": "integer",
  8618. "description": "条数",
  8619. "name": "count",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "boolean",
  8624. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8625. "name": "isAsc",
  8626. "in": "query"
  8627. }
  8628. ],
  8629. "responses": {
  8630. "200": {
  8631. "description": "OK",
  8632. "schema": {
  8633. "$ref": "#/definitions/quote.HistoryTikData"
  8634. }
  8635. },
  8636. "500": {
  8637. "description": "Internal Server Error",
  8638. "schema": {
  8639. "$ref": "#/definitions/app.Response"
  8640. }
  8641. }
  8642. }
  8643. }
  8644. },
  8645. "/Quote/QueryQuoteDay": {
  8646. "get": {
  8647. "security": [
  8648. {
  8649. "ApiKeyAuth": []
  8650. }
  8651. ],
  8652. "produces": [
  8653. "application/json"
  8654. ],
  8655. "tags": [
  8656. "行情服务"
  8657. ],
  8658. "summary": "获取商品盘面信息",
  8659. "parameters": [
  8660. {
  8661. "type": "string",
  8662. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8663. "name": "goodsCodes",
  8664. "in": "query",
  8665. "required": true
  8666. }
  8667. ],
  8668. "responses": {
  8669. "200": {
  8670. "description": "OK",
  8671. "schema": {
  8672. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8673. }
  8674. },
  8675. "500": {
  8676. "description": "Internal Server Error",
  8677. "schema": {
  8678. "$ref": "#/definitions/app.Response"
  8679. }
  8680. }
  8681. }
  8682. }
  8683. },
  8684. "/Quote/QueryTSData": {
  8685. "get": {
  8686. "security": [
  8687. {
  8688. "ApiKeyAuth": []
  8689. }
  8690. ],
  8691. "produces": [
  8692. "application/json"
  8693. ],
  8694. "tags": [
  8695. "行情服务"
  8696. ],
  8697. "summary": "分时图数据查询",
  8698. "parameters": [
  8699. {
  8700. "type": "string",
  8701. "description": "商品代码",
  8702. "name": "goodsCode",
  8703. "in": "query",
  8704. "required": true
  8705. }
  8706. ],
  8707. "responses": {
  8708. "200": {
  8709. "description": "OK",
  8710. "schema": {
  8711. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8712. }
  8713. },
  8714. "500": {
  8715. "description": "Internal Server Error",
  8716. "schema": {
  8717. "$ref": "#/definitions/app.Response"
  8718. }
  8719. }
  8720. }
  8721. }
  8722. },
  8723. "/SZDZ/QueryConvertConfig": {
  8724. "get": {
  8725. "security": [
  8726. {
  8727. "ApiKeyAuth": []
  8728. }
  8729. ],
  8730. "produces": [
  8731. "application/json"
  8732. ],
  8733. "tags": [
  8734. "定制【尚志大宗】"
  8735. ],
  8736. "summary": "查询交易系统转换设置",
  8737. "parameters": [
  8738. {
  8739. "type": "integer",
  8740. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8741. "name": "convertType",
  8742. "in": "query"
  8743. },
  8744. {
  8745. "type": "string",
  8746. "description": "外部商品代码[JD\\PD]",
  8747. "name": "outerGoodsCode",
  8748. "in": "query"
  8749. },
  8750. {
  8751. "type": "string",
  8752. "description": "内部商品ID列表[交易],格式:1,2,3",
  8753. "name": "innerGoodsIDs",
  8754. "in": "query"
  8755. }
  8756. ],
  8757. "responses": {
  8758. "200": {
  8759. "description": "OK",
  8760. "schema": {
  8761. "$ref": "#/definitions/models.Szdz3convertconfig"
  8762. }
  8763. },
  8764. "500": {
  8765. "description": "Internal Server Error",
  8766. "schema": {
  8767. "$ref": "#/definitions/app.Response"
  8768. }
  8769. }
  8770. }
  8771. }
  8772. },
  8773. "/SZDZ/QueryConvertLog": {
  8774. "get": {
  8775. "security": [
  8776. {
  8777. "ApiKeyAuth": []
  8778. }
  8779. ],
  8780. "produces": [
  8781. "application/json"
  8782. ],
  8783. "tags": [
  8784. "定制【尚志大宗】"
  8785. ],
  8786. "summary": "交易系统转换流水查询",
  8787. "parameters": [
  8788. {
  8789. "type": "string",
  8790. "description": "资金账户 - 格式:1,2,3",
  8791. "name": "accountID",
  8792. "in": "query",
  8793. "required": true
  8794. },
  8795. {
  8796. "type": "string",
  8797. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8798. "name": "startDate",
  8799. "in": "query"
  8800. },
  8801. {
  8802. "type": "string",
  8803. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8804. "name": "endDate",
  8805. "in": "query"
  8806. }
  8807. ],
  8808. "responses": {
  8809. "200": {
  8810. "description": "OK",
  8811. "schema": {
  8812. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8813. }
  8814. },
  8815. "500": {
  8816. "description": "Internal Server Error",
  8817. "schema": {
  8818. "$ref": "#/definitions/app.Response"
  8819. }
  8820. }
  8821. }
  8822. }
  8823. },
  8824. "/SZDZ/QueryGoodsPickup": {
  8825. "get": {
  8826. "security": [
  8827. {
  8828. "ApiKeyAuth": []
  8829. }
  8830. ],
  8831. "produces": [
  8832. "application/json"
  8833. ],
  8834. "tags": [
  8835. "定制【尚志大宗】"
  8836. ],
  8837. "summary": "商品提货单查询",
  8838. "parameters": [
  8839. {
  8840. "type": "string",
  8841. "description": "资金账户 - 格式:1,2,3",
  8842. "name": "accountID",
  8843. "in": "query",
  8844. "required": true
  8845. },
  8846. {
  8847. "type": "integer",
  8848. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8849. "name": "takeOrderStatus",
  8850. "in": "query"
  8851. }
  8852. ],
  8853. "responses": {
  8854. "200": {
  8855. "description": "OK",
  8856. "schema": {
  8857. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8858. }
  8859. },
  8860. "500": {
  8861. "description": "Internal Server Error",
  8862. "schema": {
  8863. "$ref": "#/definitions/app.Response"
  8864. }
  8865. }
  8866. }
  8867. }
  8868. },
  8869. "/SZDZ/QueryRecieptOrder": {
  8870. "get": {
  8871. "security": [
  8872. {
  8873. "ApiKeyAuth": []
  8874. }
  8875. ],
  8876. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8877. "produces": [
  8878. "application/json"
  8879. ],
  8880. "tags": [
  8881. "定制【尚志大宗】"
  8882. ],
  8883. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8884. "parameters": [
  8885. {
  8886. "type": "integer",
  8887. "description": "页码",
  8888. "name": "page",
  8889. "in": "query"
  8890. },
  8891. {
  8892. "type": "integer",
  8893. "description": "每页条数",
  8894. "name": "pagesize",
  8895. "in": "query"
  8896. },
  8897. {
  8898. "type": "integer",
  8899. "description": "商品ID",
  8900. "name": "goodsID",
  8901. "in": "query",
  8902. "required": true
  8903. },
  8904. {
  8905. "type": "string",
  8906. "description": "所属账户名称",
  8907. "name": "accountName",
  8908. "in": "query"
  8909. },
  8910. {
  8911. "type": "integer",
  8912. "description": "市场ID",
  8913. "name": "marketID",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "integer",
  8918. "description": "方向 - 0:买 1:卖",
  8919. "name": "buyorsell",
  8920. "in": "query",
  8921. "required": true
  8922. }
  8923. ],
  8924. "responses": {
  8925. "200": {
  8926. "description": "OK",
  8927. "schema": {
  8928. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8929. }
  8930. },
  8931. "500": {
  8932. "description": "Internal Server Error",
  8933. "schema": {
  8934. "$ref": "#/definitions/app.Response"
  8935. }
  8936. }
  8937. }
  8938. }
  8939. },
  8940. "/SZDZ/QuerySZDZTradePosition": {
  8941. "get": {
  8942. "security": [
  8943. {
  8944. "ApiKeyAuth": []
  8945. }
  8946. ],
  8947. "produces": [
  8948. "application/json"
  8949. ],
  8950. "tags": [
  8951. "定制【尚志大宗】"
  8952. ],
  8953. "summary": "持仓汇总查询(尚志大宗)",
  8954. "parameters": [
  8955. {
  8956. "type": "integer",
  8957. "description": "资金账户",
  8958. "name": "accountID",
  8959. "in": "query",
  8960. "required": true
  8961. }
  8962. ],
  8963. "responses": {
  8964. "200": {
  8965. "description": "OK",
  8966. "schema": {
  8967. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8968. }
  8969. },
  8970. "500": {
  8971. "description": "Internal Server Error",
  8972. "schema": {
  8973. "$ref": "#/definitions/app.Response"
  8974. }
  8975. }
  8976. }
  8977. }
  8978. },
  8979. "/SZDZ/SearchWhite": {
  8980. "get": {
  8981. "security": [
  8982. {
  8983. "ApiKeyAuth": []
  8984. }
  8985. ],
  8986. "produces": [
  8987. "application/json"
  8988. ],
  8989. "tags": [
  8990. "定制【尚志大宗】"
  8991. ],
  8992. "summary": "搜索白名单",
  8993. "parameters": [
  8994. {
  8995. "type": "integer",
  8996. "description": "用户ID",
  8997. "name": "userID",
  8998. "in": "query",
  8999. "required": true
  9000. }
  9001. ],
  9002. "responses": {
  9003. "200": {
  9004. "description": "OK",
  9005. "schema": {
  9006. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9007. }
  9008. },
  9009. "500": {
  9010. "description": "Internal Server Error",
  9011. "schema": {
  9012. "$ref": "#/definitions/app.Response"
  9013. }
  9014. }
  9015. }
  9016. }
  9017. },
  9018. "/Search/SearchGoodses": {
  9019. "get": {
  9020. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9021. "produces": [
  9022. "application/json"
  9023. ],
  9024. "tags": [
  9025. "检索服务"
  9026. ],
  9027. "summary": "检索商品信息",
  9028. "parameters": [
  9029. {
  9030. "type": "string",
  9031. "description": "检索内容",
  9032. "name": "content",
  9033. "in": "query",
  9034. "required": true
  9035. },
  9036. {
  9037. "type": "string",
  9038. "description": "交易模式,格式:1,2,3",
  9039. "name": "tradeModes",
  9040. "in": "query"
  9041. }
  9042. ],
  9043. "responses": {
  9044. "200": {
  9045. "description": "OK",
  9046. "schema": {
  9047. "$ref": "#/definitions/models.SearchGoods"
  9048. }
  9049. },
  9050. "500": {
  9051. "description": "Internal Server Error",
  9052. "schema": {
  9053. "$ref": "#/definitions/app.Response"
  9054. }
  9055. }
  9056. }
  9057. }
  9058. },
  9059. "/TaAccount/GetTaAccounts": {
  9060. "get": {
  9061. "security": [
  9062. {
  9063. "ApiKeyAuth": []
  9064. }
  9065. ],
  9066. "produces": [
  9067. "application/json"
  9068. ],
  9069. "tags": [
  9070. "资金账户"
  9071. ],
  9072. "summary": "获取资金账户信息",
  9073. "parameters": [
  9074. {
  9075. "type": "integer",
  9076. "description": "登录账户",
  9077. "name": "loginID",
  9078. "in": "query",
  9079. "required": true
  9080. },
  9081. {
  9082. "type": "integer",
  9083. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9084. "name": "taAccountType",
  9085. "in": "query"
  9086. }
  9087. ],
  9088. "responses": {
  9089. "200": {
  9090. "description": "OK",
  9091. "schema": {
  9092. "$ref": "#/definitions/models.Taaccount"
  9093. }
  9094. },
  9095. "500": {
  9096. "description": "Internal Server Error",
  9097. "schema": {
  9098. "$ref": "#/definitions/app.Response"
  9099. }
  9100. }
  9101. }
  9102. }
  9103. },
  9104. "/TaAccount/QueryAmountLog": {
  9105. "get": {
  9106. "security": [
  9107. {
  9108. "ApiKeyAuth": []
  9109. }
  9110. ],
  9111. "produces": [
  9112. "application/json"
  9113. ],
  9114. "tags": [
  9115. "资金账户"
  9116. ],
  9117. "summary": "资金流水查询(当前)",
  9118. "parameters": [
  9119. {
  9120. "type": "integer",
  9121. "description": "页码",
  9122. "name": "page",
  9123. "in": "query"
  9124. },
  9125. {
  9126. "type": "integer",
  9127. "description": "每页条数",
  9128. "name": "pagesize",
  9129. "in": "query"
  9130. },
  9131. {
  9132. "type": "string",
  9133. "description": "资金账户 - 格式:1,2,3",
  9134. "name": "accountID",
  9135. "in": "query",
  9136. "required": true
  9137. },
  9138. {
  9139. "type": "string",
  9140. "description": "资金操作类型 - 格式:1,2,3",
  9141. "name": "OperateType",
  9142. "in": "query"
  9143. }
  9144. ],
  9145. "responses": {
  9146. "200": {
  9147. "description": "OK",
  9148. "schema": {
  9149. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9150. }
  9151. },
  9152. "500": {
  9153. "description": "Internal Server Error",
  9154. "schema": {
  9155. "$ref": "#/definitions/app.Response"
  9156. }
  9157. }
  9158. }
  9159. }
  9160. },
  9161. "/TaAccount/QueryHisAmountLog": {
  9162. "get": {
  9163. "security": [
  9164. {
  9165. "ApiKeyAuth": []
  9166. }
  9167. ],
  9168. "produces": [
  9169. "application/json"
  9170. ],
  9171. "tags": [
  9172. "资金账户"
  9173. ],
  9174. "summary": "资金流水查询(历史)",
  9175. "parameters": [
  9176. {
  9177. "type": "integer",
  9178. "description": "页码",
  9179. "name": "page",
  9180. "in": "query"
  9181. },
  9182. {
  9183. "type": "integer",
  9184. "description": "每页条数",
  9185. "name": "pagesize",
  9186. "in": "query"
  9187. },
  9188. {
  9189. "type": "string",
  9190. "description": "资金账户 - 格式:1,2,3",
  9191. "name": "accountID",
  9192. "in": "query",
  9193. "required": true
  9194. },
  9195. {
  9196. "type": "string",
  9197. "description": "资金操作类型 - 格式:1,2,3",
  9198. "name": "OperateType",
  9199. "in": "query"
  9200. },
  9201. {
  9202. "type": "string",
  9203. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9204. "name": "startDate",
  9205. "in": "query"
  9206. },
  9207. {
  9208. "type": "string",
  9209. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9210. "name": "endDate",
  9211. "in": "query"
  9212. }
  9213. ],
  9214. "responses": {
  9215. "200": {
  9216. "description": "OK",
  9217. "schema": {
  9218. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9219. }
  9220. },
  9221. "500": {
  9222. "description": "Internal Server Error",
  9223. "schema": {
  9224. "$ref": "#/definitions/app.Response"
  9225. }
  9226. }
  9227. }
  9228. }
  9229. },
  9230. "/Trade/QueryRecieptOrder": {
  9231. "get": {
  9232. "security": [
  9233. {
  9234. "ApiKeyAuth": []
  9235. }
  9236. ],
  9237. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9238. "produces": [
  9239. "application/json"
  9240. ],
  9241. "tags": [
  9242. "通用交易"
  9243. ],
  9244. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  9245. "parameters": [
  9246. {
  9247. "type": "integer",
  9248. "description": "页码",
  9249. "name": "page",
  9250. "in": "query"
  9251. },
  9252. {
  9253. "type": "integer",
  9254. "description": "每页条数",
  9255. "name": "pagesize",
  9256. "in": "query"
  9257. },
  9258. {
  9259. "type": "integer",
  9260. "description": "商品ID",
  9261. "name": "goodsID",
  9262. "in": "query",
  9263. "required": true
  9264. },
  9265. {
  9266. "type": "string",
  9267. "description": "所属账户名称",
  9268. "name": "accountName",
  9269. "in": "query"
  9270. },
  9271. {
  9272. "type": "integer",
  9273. "description": "市场ID",
  9274. "name": "marketID",
  9275. "in": "query"
  9276. },
  9277. {
  9278. "type": "integer",
  9279. "description": "方向 - 0:买 1:卖",
  9280. "name": "buyorsell",
  9281. "in": "query",
  9282. "required": true
  9283. }
  9284. ],
  9285. "responses": {
  9286. "200": {
  9287. "description": "OK",
  9288. "schema": {
  9289. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  9290. }
  9291. },
  9292. "500": {
  9293. "description": "Internal Server Error",
  9294. "schema": {
  9295. "$ref": "#/definitions/app.Response"
  9296. }
  9297. }
  9298. }
  9299. }
  9300. },
  9301. "/User/AddMessageBoard": {
  9302. "post": {
  9303. "security": [
  9304. {
  9305. "ApiKeyAuth": []
  9306. }
  9307. ],
  9308. "produces": [
  9309. "application/json"
  9310. ],
  9311. "tags": [
  9312. "用户信息"
  9313. ],
  9314. "summary": "添加用户留言板信息",
  9315. "parameters": [
  9316. {
  9317. "type": "integer",
  9318. "description": "用户ID",
  9319. "name": "userID",
  9320. "in": "query",
  9321. "required": true
  9322. },
  9323. {
  9324. "type": "string",
  9325. "description": "留言信息",
  9326. "name": "message",
  9327. "in": "query",
  9328. "required": true
  9329. },
  9330. {
  9331. "type": "string",
  9332. "description": "联系电话",
  9333. "name": "contactNum",
  9334. "in": "query",
  9335. "required": true
  9336. }
  9337. ],
  9338. "responses": {
  9339. "200": {
  9340. "description": "OK",
  9341. "schema": {
  9342. "$ref": "#/definitions/app.Response"
  9343. }
  9344. },
  9345. "500": {
  9346. "description": "Internal Server Error",
  9347. "schema": {
  9348. "$ref": "#/definitions/app.Response"
  9349. }
  9350. }
  9351. }
  9352. }
  9353. },
  9354. "/User/AddUserFavoriteGoods": {
  9355. "post": {
  9356. "security": [
  9357. {
  9358. "ApiKeyAuth": []
  9359. }
  9360. ],
  9361. "produces": [
  9362. "application/json"
  9363. ],
  9364. "tags": [
  9365. "用户信息"
  9366. ],
  9367. "summary": "添加用户商品收藏信息",
  9368. "parameters": [
  9369. {
  9370. "type": "integer",
  9371. "description": "用户ID",
  9372. "name": "userID",
  9373. "in": "query",
  9374. "required": true
  9375. },
  9376. {
  9377. "type": "integer",
  9378. "description": "商品ID",
  9379. "name": "goodsID",
  9380. "in": "query",
  9381. "required": true
  9382. }
  9383. ],
  9384. "responses": {
  9385. "200": {
  9386. "description": "OK",
  9387. "schema": {
  9388. "$ref": "#/definitions/app.Response"
  9389. }
  9390. },
  9391. "500": {
  9392. "description": "Internal Server Error",
  9393. "schema": {
  9394. "$ref": "#/definitions/app.Response"
  9395. }
  9396. }
  9397. }
  9398. }
  9399. },
  9400. "/User/GetLoginID": {
  9401. "get": {
  9402. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  9403. "produces": [
  9404. "application/json"
  9405. ],
  9406. "tags": [
  9407. "用户信息"
  9408. ],
  9409. "summary": "获取登录ID",
  9410. "parameters": [
  9411. {
  9412. "type": "string",
  9413. "description": "登录代码",
  9414. "name": "username",
  9415. "in": "query",
  9416. "required": true
  9417. }
  9418. ],
  9419. "responses": {
  9420. "200": {
  9421. "description": "OK",
  9422. "schema": {
  9423. "$ref": "#/definitions/app.Response"
  9424. }
  9425. },
  9426. "500": {
  9427. "description": "Internal Server Error",
  9428. "schema": {
  9429. "$ref": "#/definitions/app.Response"
  9430. }
  9431. }
  9432. }
  9433. }
  9434. },
  9435. "/User/GetUserAccount": {
  9436. "get": {
  9437. "security": [
  9438. {
  9439. "ApiKeyAuth": []
  9440. }
  9441. ],
  9442. "produces": [
  9443. "application/json"
  9444. ],
  9445. "tags": [
  9446. "用户信息"
  9447. ],
  9448. "summary": "获取用户账号信息",
  9449. "parameters": [
  9450. {
  9451. "type": "integer",
  9452. "description": "用户ID",
  9453. "name": "userID",
  9454. "in": "query",
  9455. "required": true
  9456. }
  9457. ],
  9458. "responses": {
  9459. "200": {
  9460. "description": "OK",
  9461. "schema": {
  9462. "$ref": "#/definitions/models.Useraccount"
  9463. }
  9464. },
  9465. "500": {
  9466. "description": "Internal Server Error",
  9467. "schema": {
  9468. "$ref": "#/definitions/app.Response"
  9469. }
  9470. }
  9471. }
  9472. }
  9473. },
  9474. "/User/GetUserAuthStatus": {
  9475. "get": {
  9476. "security": [
  9477. {
  9478. "ApiKeyAuth": []
  9479. }
  9480. ],
  9481. "produces": [
  9482. "application/json"
  9483. ],
  9484. "tags": [
  9485. "用户信息"
  9486. ],
  9487. "summary": "获取用户实名认证状态",
  9488. "parameters": [
  9489. {
  9490. "type": "integer",
  9491. "description": "用户ID",
  9492. "name": "userID",
  9493. "in": "query",
  9494. "required": true
  9495. }
  9496. ],
  9497. "responses": {
  9498. "200": {
  9499. "description": "OK",
  9500. "schema": {
  9501. "$ref": "#/definitions/app.Response"
  9502. }
  9503. },
  9504. "500": {
  9505. "description": "Internal Server Error",
  9506. "schema": {
  9507. "$ref": "#/definitions/app.Response"
  9508. }
  9509. }
  9510. }
  9511. }
  9512. },
  9513. "/User/LoginQuery": {
  9514. "get": {
  9515. "security": [
  9516. {
  9517. "ApiKeyAuth": []
  9518. }
  9519. ],
  9520. "produces": [
  9521. "application/json"
  9522. ],
  9523. "tags": [
  9524. "用户信息"
  9525. ],
  9526. "summary": "账户登录后信息查询",
  9527. "parameters": [
  9528. {
  9529. "type": "integer",
  9530. "description": "登录账号",
  9531. "name": "loginID",
  9532. "in": "query",
  9533. "required": true
  9534. }
  9535. ],
  9536. "responses": {
  9537. "200": {
  9538. "description": "OK",
  9539. "schema": {
  9540. "$ref": "#/definitions/user.LoginQueryRsp"
  9541. }
  9542. },
  9543. "500": {
  9544. "description": "Internal Server Error",
  9545. "schema": {
  9546. "$ref": "#/definitions/app.Response"
  9547. }
  9548. }
  9549. }
  9550. }
  9551. },
  9552. "/User/QueryMessageBoard": {
  9553. "get": {
  9554. "security": [
  9555. {
  9556. "ApiKeyAuth": []
  9557. }
  9558. ],
  9559. "produces": [
  9560. "application/json"
  9561. ],
  9562. "tags": [
  9563. "用户信息"
  9564. ],
  9565. "summary": "获取用户留言板信息",
  9566. "parameters": [
  9567. {
  9568. "type": "integer",
  9569. "description": "用户ID",
  9570. "name": "userID",
  9571. "in": "query",
  9572. "required": true
  9573. }
  9574. ],
  9575. "responses": {
  9576. "200": {
  9577. "description": "OK",
  9578. "schema": {
  9579. "$ref": "#/definitions/models.Messageboard"
  9580. }
  9581. },
  9582. "500": {
  9583. "description": "Internal Server Error",
  9584. "schema": {
  9585. "$ref": "#/definitions/app.Response"
  9586. }
  9587. }
  9588. }
  9589. }
  9590. },
  9591. "/User/QueryUserFavoriteGoodses": {
  9592. "get": {
  9593. "security": [
  9594. {
  9595. "ApiKeyAuth": []
  9596. }
  9597. ],
  9598. "produces": [
  9599. "application/json"
  9600. ],
  9601. "tags": [
  9602. "用户信息"
  9603. ],
  9604. "summary": "获取用户商品收藏信息",
  9605. "parameters": [
  9606. {
  9607. "type": "integer",
  9608. "description": "用户ID",
  9609. "name": "userID",
  9610. "in": "query",
  9611. "required": true
  9612. }
  9613. ],
  9614. "responses": {
  9615. "200": {
  9616. "description": "OK",
  9617. "schema": {
  9618. "$ref": "#/definitions/models.Userfavoritegoods"
  9619. }
  9620. },
  9621. "500": {
  9622. "description": "Internal Server Error",
  9623. "schema": {
  9624. "$ref": "#/definitions/app.Response"
  9625. }
  9626. }
  9627. }
  9628. }
  9629. },
  9630. "/User/QueryUserInfo": {
  9631. "get": {
  9632. "security": [
  9633. {
  9634. "ApiKeyAuth": []
  9635. }
  9636. ],
  9637. "produces": [
  9638. "application/json"
  9639. ],
  9640. "tags": [
  9641. "用户信息"
  9642. ],
  9643. "summary": "获取用户信息",
  9644. "parameters": [
  9645. {
  9646. "type": "integer",
  9647. "description": "用户ID",
  9648. "name": "userID",
  9649. "in": "query",
  9650. "required": true
  9651. },
  9652. {
  9653. "type": "boolean",
  9654. "description": "是否解密",
  9655. "name": "isDecrypt",
  9656. "in": "query"
  9657. }
  9658. ],
  9659. "responses": {
  9660. "200": {
  9661. "description": "OK",
  9662. "schema": {
  9663. "$ref": "#/definitions/models.Userinfo"
  9664. }
  9665. },
  9666. "500": {
  9667. "description": "Internal Server Error",
  9668. "schema": {
  9669. "$ref": "#/definitions/app.Response"
  9670. }
  9671. }
  9672. }
  9673. }
  9674. },
  9675. "/User/QueryUserReferNum": {
  9676. "get": {
  9677. "produces": [
  9678. "application/json"
  9679. ],
  9680. "tags": [
  9681. "用户信息"
  9682. ],
  9683. "summary": "获取用户邀请码",
  9684. "parameters": [
  9685. {
  9686. "type": "integer",
  9687. "description": "用户ID",
  9688. "name": "userID",
  9689. "in": "query",
  9690. "required": true
  9691. }
  9692. ],
  9693. "responses": {
  9694. "200": {
  9695. "description": "OK",
  9696. "schema": {
  9697. "$ref": "#/definitions/app.Response"
  9698. }
  9699. },
  9700. "500": {
  9701. "description": "Internal Server Error",
  9702. "schema": {
  9703. "$ref": "#/definitions/app.Response"
  9704. }
  9705. }
  9706. }
  9707. }
  9708. },
  9709. "/User/RemoveUserFavoriteGoods": {
  9710. "post": {
  9711. "security": [
  9712. {
  9713. "ApiKeyAuth": []
  9714. }
  9715. ],
  9716. "produces": [
  9717. "application/json"
  9718. ],
  9719. "tags": [
  9720. "用户信息"
  9721. ],
  9722. "summary": "移除用户商品收藏信息",
  9723. "parameters": [
  9724. {
  9725. "type": "integer",
  9726. "description": "用户ID",
  9727. "name": "userID",
  9728. "in": "query",
  9729. "required": true
  9730. },
  9731. {
  9732. "type": "integer",
  9733. "description": "商品ID",
  9734. "name": "goodsID",
  9735. "in": "query",
  9736. "required": true
  9737. }
  9738. ],
  9739. "responses": {
  9740. "200": {
  9741. "description": "OK",
  9742. "schema": {
  9743. "$ref": "#/definitions/app.Response"
  9744. }
  9745. },
  9746. "500": {
  9747. "description": "Internal Server Error",
  9748. "schema": {
  9749. "$ref": "#/definitions/app.Response"
  9750. }
  9751. }
  9752. }
  9753. }
  9754. },
  9755. "/User/UpdateUserAccountStatus": {
  9756. "post": {
  9757. "security": [
  9758. {
  9759. "ApiKeyAuth": []
  9760. }
  9761. ],
  9762. "produces": [
  9763. "application/json"
  9764. ],
  9765. "tags": [
  9766. "用户信息"
  9767. ],
  9768. "summary": "更新用户状态",
  9769. "parameters": [
  9770. {
  9771. "type": "integer",
  9772. "description": "用户ID",
  9773. "name": "userID",
  9774. "in": "query",
  9775. "required": true
  9776. },
  9777. {
  9778. "type": "integer",
  9779. "description": "账户状态 - 4:正常 6:注销(停用)",
  9780. "name": "accountStatus",
  9781. "in": "query",
  9782. "required": true
  9783. }
  9784. ],
  9785. "responses": {
  9786. "200": {
  9787. "description": "OK",
  9788. "schema": {
  9789. "$ref": "#/definitions/app.Response"
  9790. }
  9791. },
  9792. "500": {
  9793. "description": "Internal Server Error",
  9794. "schema": {
  9795. "$ref": "#/definitions/app.Response"
  9796. }
  9797. }
  9798. }
  9799. }
  9800. },
  9801. "/WRTrade/GetAllDeliveryGoods": {
  9802. "get": {
  9803. "security": [
  9804. {
  9805. "ApiKeyAuth": []
  9806. },
  9807. {
  9808. "ApiKeyAuth": []
  9809. }
  9810. ],
  9811. "produces": [
  9812. "application/json",
  9813. "application/json"
  9814. ],
  9815. "tags": [
  9816. "仓单贸易",
  9817. "仓单贸易"
  9818. ],
  9819. "summary": "获取带仓单分类的种类信息",
  9820. "responses": {
  9821. "200": {
  9822. "description": "OK",
  9823. "schema": {
  9824. "$ref": "#/definitions/app.Response"
  9825. }
  9826. },
  9827. "500": {
  9828. "description": "Internal Server Error",
  9829. "schema": {
  9830. "$ref": "#/definitions/app.Response"
  9831. }
  9832. }
  9833. }
  9834. }
  9835. }
  9836. },
  9837. "definitions": {
  9838. "app.Response": {
  9839. "type": "object",
  9840. "properties": {
  9841. "code": {
  9842. "type": "integer"
  9843. },
  9844. "data": {
  9845. "type": "object"
  9846. },
  9847. "msg": {
  9848. "type": "string"
  9849. },
  9850. "page": {
  9851. "description": "页码",
  9852. "type": "integer"
  9853. },
  9854. "pagesize": {
  9855. "description": "每页条数",
  9856. "type": "integer"
  9857. },
  9858. "total": {
  9859. "description": "总条数",
  9860. "type": "integer"
  9861. }
  9862. }
  9863. },
  9864. "common.ClientMenu": {
  9865. "type": "object",
  9866. "properties": {
  9867. "children": {
  9868. "description": "子菜单列表",
  9869. "type": "array",
  9870. "items": {
  9871. "$ref": "#/definitions/common.ClientMenu"
  9872. }
  9873. },
  9874. "code": {
  9875. "description": "ID",
  9876. "type": "string"
  9877. },
  9878. "isshow": {
  9879. "description": "是否显示",
  9880. "type": "boolean"
  9881. },
  9882. "rulekey": {
  9883. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9884. "type": "string"
  9885. },
  9886. "sort": {
  9887. "description": "排序",
  9888. "type": "integer"
  9889. },
  9890. "title": {
  9891. "description": "标题",
  9892. "type": "string"
  9893. },
  9894. "type": {
  9895. "description": "类型,1:菜单 2:按钮",
  9896. "type": "integer"
  9897. }
  9898. }
  9899. },
  9900. "common.QueryImageConfigsRsp": {
  9901. "type": "object",
  9902. "required": [
  9903. "configid"
  9904. ],
  9905. "properties": {
  9906. "areauserid": {
  9907. "description": "所属机构ID",
  9908. "type": "integer"
  9909. },
  9910. "configid": {
  9911. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9912. "type": "integer"
  9913. },
  9914. "createdate": {
  9915. "description": "创建时间",
  9916. "type": "string"
  9917. },
  9918. "creatorid": {
  9919. "description": "创建人",
  9920. "type": "integer"
  9921. },
  9922. "imagepath": {
  9923. "description": "图片",
  9924. "type": "string"
  9925. },
  9926. "imagetype": {
  9927. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9928. "type": "integer"
  9929. },
  9930. "isshow": {
  9931. "description": "是否展示 - 0:不展示 1:展示",
  9932. "type": "integer"
  9933. },
  9934. "marketid": {
  9935. "description": "市场ID",
  9936. "type": "integer"
  9937. },
  9938. "modifierid": {
  9939. "description": "操作人",
  9940. "type": "integer"
  9941. },
  9942. "sort": {
  9943. "description": "排序",
  9944. "type": "integer"
  9945. },
  9946. "title": {
  9947. "description": "标题",
  9948. "type": "string"
  9949. },
  9950. "trademode": {
  9951. "description": "交易模式",
  9952. "type": "integer"
  9953. },
  9954. "updatedate": {
  9955. "description": "修改时间",
  9956. "type": "string"
  9957. },
  9958. "url": {
  9959. "description": "链接(地址或商品ID)",
  9960. "type": "string"
  9961. },
  9962. "urltype": {
  9963. "description": "链接类型 - 1:直接地址 2:商品ID",
  9964. "type": "integer"
  9965. }
  9966. }
  9967. },
  9968. "common.QueryNoticeRsp": {
  9969. "type": "object",
  9970. "required": [
  9971. "autoid"
  9972. ],
  9973. "properties": {
  9974. "auditoruserid": {
  9975. "description": "审核人",
  9976. "type": "integer"
  9977. },
  9978. "auditremark": {
  9979. "description": "审核备注",
  9980. "type": "string"
  9981. },
  9982. "audittime": {
  9983. "description": "审核日期",
  9984. "type": "string"
  9985. },
  9986. "autoid": {
  9987. "description": "自增ID",
  9988. "type": "integer"
  9989. },
  9990. "content": {
  9991. "description": "内容",
  9992. "type": "string"
  9993. },
  9994. "createtime": {
  9995. "description": "创建时间",
  9996. "type": "string"
  9997. },
  9998. "creatorid": {
  9999. "description": "建仓人",
  10000. "type": "integer"
  10001. },
  10002. "endtime": {
  10003. "description": "结束时间",
  10004. "type": "string"
  10005. },
  10006. "istop": {
  10007. "description": "是否置顶 - 0:不置顶 1:置顶",
  10008. "type": "integer"
  10009. },
  10010. "msgiconurl": {
  10011. "description": "消息图标Url",
  10012. "type": "string"
  10013. },
  10014. "msgtype": {
  10015. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  10016. "type": "integer"
  10017. },
  10018. "publisher": {
  10019. "description": "消息发布者",
  10020. "type": "string"
  10021. },
  10022. "readed": {
  10023. "description": "是否已读",
  10024. "type": "boolean"
  10025. },
  10026. "scheduletime": {
  10027. "description": "计划发送时间",
  10028. "type": "string"
  10029. },
  10030. "sendtype": {
  10031. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  10032. "type": "integer"
  10033. },
  10034. "sentstatus": {
  10035. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  10036. "type": "integer"
  10037. },
  10038. "title": {
  10039. "description": "标题",
  10040. "type": "string"
  10041. },
  10042. "userid": {
  10043. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  10044. "type": "integer"
  10045. }
  10046. }
  10047. },
  10048. "common.QueryProvincesAndCitiesRsp": {
  10049. "type": "object",
  10050. "properties": {
  10051. "cities": {
  10052. "description": "市",
  10053. "type": "array",
  10054. "items": {
  10055. "$ref": "#/definitions/models.Division"
  10056. }
  10057. },
  10058. "province": {
  10059. "description": "省",
  10060. "type": "object",
  10061. "$ref": "#/definitions/models.Division"
  10062. }
  10063. }
  10064. },
  10065. "common.QueryTableDefineRsp": {
  10066. "type": "object",
  10067. "required": [
  10068. "tablekey"
  10069. ],
  10070. "properties": {
  10071. "columns": {
  10072. "description": "列头信息数组",
  10073. "type": "array",
  10074. "items": {
  10075. "$ref": "#/definitions/models.Tablecolumnconfig"
  10076. }
  10077. },
  10078. "remark": {
  10079. "description": "Remark",
  10080. "type": "string"
  10081. },
  10082. "tabelmenu": {
  10083. "description": "列表菜单",
  10084. "type": "string"
  10085. },
  10086. "tablekey": {
  10087. "description": "列表Key",
  10088. "type": "string"
  10089. },
  10090. "tablename": {
  10091. "description": "列表名称",
  10092. "type": "string"
  10093. },
  10094. "tabletype": {
  10095. "description": "列表类型 - 1:管理端 2:终端",
  10096. "type": "integer"
  10097. }
  10098. }
  10099. },
  10100. "common.QueryTraderMenuRsp": {
  10101. "type": "object",
  10102. "properties": {
  10103. "OperationMenu": {
  10104. "description": "功能菜单",
  10105. "type": "array",
  10106. "items": {
  10107. "$ref": "#/definitions/models.OperationPrimaryMenu"
  10108. }
  10109. },
  10110. "QuoteMenu": {
  10111. "description": "报价牌分类菜单",
  10112. "type": "array",
  10113. "items": {
  10114. "$ref": "#/definitions/models.QuotePrimaryMenu"
  10115. }
  10116. }
  10117. }
  10118. },
  10119. "cptrade.Cptradepositioncancel": {
  10120. "type": "object",
  10121. "required": [
  10122. "cancelid"
  10123. ],
  10124. "properties": {
  10125. "accountid": {
  10126. "description": "申请人账户ID",
  10127. "type": "integer"
  10128. },
  10129. "applystatus": {
  10130. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10131. "type": "integer"
  10132. },
  10133. "applytime": {
  10134. "description": "申请时间",
  10135. "type": "string"
  10136. },
  10137. "cancelid": {
  10138. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  10139. "type": "integer"
  10140. },
  10141. "cancelqty": {
  10142. "description": "注销数量",
  10143. "type": "integer"
  10144. },
  10145. "createtime": {
  10146. "description": "创建时间",
  10147. "type": "string"
  10148. },
  10149. "creatorid": {
  10150. "description": "创建人ID",
  10151. "type": "integer"
  10152. },
  10153. "creatorname": {
  10154. "description": "创建人",
  10155. "type": "string"
  10156. },
  10157. "goodscode": {
  10158. "description": "订单商品代码",
  10159. "type": "string"
  10160. },
  10161. "goodsid": {
  10162. "description": "商品ID",
  10163. "type": "integer"
  10164. },
  10165. "goodsname": {
  10166. "description": "订单商品名称",
  10167. "type": "string"
  10168. },
  10169. "goodunit": {
  10170. "description": "报价单位",
  10171. "type": "string"
  10172. },
  10173. "handlestatus": {
  10174. "description": "处理状态",
  10175. "type": "integer"
  10176. },
  10177. "marketid": {
  10178. "description": "市场ID",
  10179. "type": "integer"
  10180. },
  10181. "marketname": {
  10182. "description": "市场名称",
  10183. "type": "string"
  10184. },
  10185. "tradedate": {
  10186. "description": "交易日(yyyyMMdd)",
  10187. "type": "string"
  10188. },
  10189. "userid": {
  10190. "description": "申请人ID",
  10191. "type": "integer"
  10192. }
  10193. }
  10194. },
  10195. "cptrade.Cptradepresaleapply": {
  10196. "type": "object",
  10197. "required": [
  10198. "applyid"
  10199. ],
  10200. "properties": {
  10201. "accountid": {
  10202. "description": "申请人账户ID",
  10203. "type": "integer"
  10204. },
  10205. "applyid": {
  10206. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  10207. "type": "integer"
  10208. },
  10209. "applyremark": {
  10210. "description": "申请备注",
  10211. "type": "string"
  10212. },
  10213. "applystatus": {
  10214. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10215. "type": "integer"
  10216. },
  10217. "applytime": {
  10218. "description": "申请时间",
  10219. "type": "string"
  10220. },
  10221. "attachmenturl": {
  10222. "description": "附件地址",
  10223. "type": "string"
  10224. },
  10225. "endtime": {
  10226. "description": "预售结束时间",
  10227. "type": "string"
  10228. },
  10229. "goodscode": {
  10230. "description": "商品代码",
  10231. "type": "string"
  10232. },
  10233. "goodsid": {
  10234. "description": "商品ID",
  10235. "type": "integer"
  10236. },
  10237. "goodsname": {
  10238. "description": "商品名称",
  10239. "type": "string"
  10240. },
  10241. "goodunit": {
  10242. "description": "报价单位",
  10243. "type": "string"
  10244. },
  10245. "handlestatus": {
  10246. "description": "处理状态",
  10247. "type": "integer"
  10248. },
  10249. "marketid": {
  10250. "description": "预售市场ID",
  10251. "type": "integer"
  10252. },
  10253. "marketname": {
  10254. "description": "预售市场名称",
  10255. "type": "string"
  10256. },
  10257. "presaleqty": {
  10258. "description": "预售数量",
  10259. "type": "integer"
  10260. },
  10261. "relatedgoodscode": {
  10262. "description": "关联交易合约代码",
  10263. "type": "string"
  10264. },
  10265. "relatedgoodsid": {
  10266. "description": "关联交易合约ID",
  10267. "type": "integer"
  10268. },
  10269. "relatedgoodsname": {
  10270. "description": "关联交易合约名称",
  10271. "type": "string"
  10272. },
  10273. "starttime": {
  10274. "description": "预售开始时间",
  10275. "type": "string"
  10276. },
  10277. "tradedate": {
  10278. "description": "交易日(yyyyMMdd)",
  10279. "type": "string"
  10280. },
  10281. "trademode": {
  10282. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  10283. "type": "integer"
  10284. },
  10285. "userid": {
  10286. "description": "申请人ID",
  10287. "type": "integer"
  10288. }
  10289. }
  10290. },
  10291. "cptrade.Cptradeusergoodsdata": {
  10292. "type": "object",
  10293. "required": [
  10294. "accountid",
  10295. "goodsid"
  10296. ],
  10297. "properties": {
  10298. "EnabledQty": {
  10299. "description": "可用量",
  10300. "type": "integer"
  10301. },
  10302. "GoodsCode": {
  10303. "description": "订单商品代码",
  10304. "type": "string"
  10305. },
  10306. "GoodsName": {
  10307. "description": "订单商品名称",
  10308. "type": "string"
  10309. },
  10310. "WRStandardCode": {
  10311. "description": "仓单标准代码",
  10312. "type": "string"
  10313. },
  10314. "WRStandardName": {
  10315. "description": "仓单标准名称",
  10316. "type": "string"
  10317. },
  10318. "accountid": {
  10319. "description": "账户ID",
  10320. "type": "integer"
  10321. },
  10322. "cancelqty": {
  10323. "description": "注销量",
  10324. "type": "integer"
  10325. },
  10326. "curpresaleqty": {
  10327. "description": "当前预售量",
  10328. "type": "integer"
  10329. },
  10330. "deliveryqty": {
  10331. "description": "交割量",
  10332. "type": "integer"
  10333. },
  10334. "freezeamount": {
  10335. "description": "冻结金额",
  10336. "type": "number"
  10337. },
  10338. "goodsid": {
  10339. "description": "商品ID",
  10340. "type": "integer"
  10341. },
  10342. "goodunit": {
  10343. "description": "报价单位",
  10344. "type": "string"
  10345. },
  10346. "hasspotfreeze": {
  10347. "description": "是否有现货冻结 - 0:否 1:有",
  10348. "type": "integer"
  10349. },
  10350. "inqty": {
  10351. "description": "转入量(总数量)",
  10352. "type": "integer"
  10353. },
  10354. "marketid": {
  10355. "description": "市场ID",
  10356. "type": "integer"
  10357. },
  10358. "presaledamount": {
  10359. "description": "已预售总金额",
  10360. "type": "integer"
  10361. },
  10362. "presaledqty": {
  10363. "description": "已预售量",
  10364. "type": "integer"
  10365. },
  10366. "userid": {
  10367. "description": "用户ID",
  10368. "type": "integer"
  10369. },
  10370. "wrstandardid": {
  10371. "description": "仓单标准ID",
  10372. "type": "integer"
  10373. }
  10374. }
  10375. },
  10376. "cptrade.QueryCPTradeMyBidRsp": {
  10377. "type": "object",
  10378. "required": [
  10379. "accountid",
  10380. "goodsid",
  10381. "marketid",
  10382. "orderid",
  10383. "orderqty",
  10384. "ordertime",
  10385. "tradeprice",
  10386. "tradeqty"
  10387. ],
  10388. "properties": {
  10389. "accountid": {
  10390. "description": "账户ID[报价币种]",
  10391. "type": "integer"
  10392. },
  10393. "goodsid": {
  10394. "description": "商品ID",
  10395. "type": "integer"
  10396. },
  10397. "goodunit": {
  10398. "description": "报价单位",
  10399. "type": "string"
  10400. },
  10401. "marketid": {
  10402. "description": "市场ID",
  10403. "type": "integer"
  10404. },
  10405. "orderid": {
  10406. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10407. "type": "integer"
  10408. },
  10409. "orderprice": {
  10410. "description": "委托价格",
  10411. "type": "number"
  10412. },
  10413. "orderqty": {
  10414. "description": "委托数量",
  10415. "type": "integer"
  10416. },
  10417. "ordertime": {
  10418. "description": "委托时间",
  10419. "type": "string"
  10420. },
  10421. "ordertotalprice": {
  10422. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  10423. "type": "number"
  10424. },
  10425. "ordertotalweight": {
  10426. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  10427. "type": "integer"
  10428. },
  10429. "totaltotalprice": {
  10430. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  10431. "type": "number"
  10432. },
  10433. "tradeprice": {
  10434. "description": "成交价格",
  10435. "type": "number"
  10436. },
  10437. "tradeqty": {
  10438. "description": "成交数量",
  10439. "type": "integer"
  10440. }
  10441. }
  10442. },
  10443. "cptrade.QueryCPTradeOrderDetailRsq": {
  10444. "type": "object",
  10445. "required": [
  10446. "accountid",
  10447. "buildtype",
  10448. "buyorsell",
  10449. "goodsid",
  10450. "marketid",
  10451. "memberuserid",
  10452. "operatetype",
  10453. "orderqty",
  10454. "ordertime",
  10455. "pricemode",
  10456. "strorderid",
  10457. "tradedate",
  10458. "validtype"
  10459. ],
  10460. "properties": {
  10461. "accountid": {
  10462. "description": "账户ID[报价币种]",
  10463. "type": "integer"
  10464. },
  10465. "buildtype": {
  10466. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10467. "type": "integer"
  10468. },
  10469. "buyorsell": {
  10470. "description": "买卖 - 0:买 1:卖",
  10471. "type": "integer"
  10472. },
  10473. "cancelorderid": {
  10474. "description": "撤单单号(撤单时填写)",
  10475. "type": "integer"
  10476. },
  10477. "cancelqty": {
  10478. "description": "撤单数量",
  10479. "type": "integer"
  10480. },
  10481. "clientordertime": {
  10482. "description": "客户端委托时间",
  10483. "type": "string"
  10484. },
  10485. "clientticket": {
  10486. "description": "客户端流水号",
  10487. "type": "string"
  10488. },
  10489. "clienttype": {
  10490. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10491. "type": "integer"
  10492. },
  10493. "closeexchagechargevalue": {
  10494. "description": "平仓交易所手续费设置值",
  10495. "type": "number"
  10496. },
  10497. "closefeealgorithm": {
  10498. "description": "平仓手续费收取方式 1:比率 2:固定",
  10499. "type": "integer"
  10500. },
  10501. "closefreezecharge": {
  10502. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10503. "type": "number"
  10504. },
  10505. "closememberchargevalue": {
  10506. "description": "平仓会员手续费设置值",
  10507. "type": "number"
  10508. },
  10509. "closeqty": {
  10510. "description": "平仓数量(先建后平操作 需要记录)",
  10511. "type": "integer"
  10512. },
  10513. "closetradeqty": {
  10514. "description": "平仓成交数量(先建后平操作,需要记录)",
  10515. "type": "integer"
  10516. },
  10517. "closeunfreezecharge": {
  10518. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10519. "type": "number"
  10520. },
  10521. "delistingtype": {
  10522. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10523. "type": "integer"
  10524. },
  10525. "freezecharge": {
  10526. "description": "冻结手续费",
  10527. "type": "number"
  10528. },
  10529. "freezemargin": {
  10530. "description": "冻结保证金(冻结交易金额)",
  10531. "type": "number"
  10532. },
  10533. "gcaccountid": {
  10534. "description": "账户ID[合约币种]",
  10535. "type": "integer"
  10536. },
  10537. "goodsid": {
  10538. "description": "商品ID",
  10539. "type": "integer"
  10540. },
  10541. "isconfirmexercise": {
  10542. "description": "是否确认行权- 0:否 1:是",
  10543. "type": "integer"
  10544. },
  10545. "ispreexercise": {
  10546. "description": "是否预申报- 0:否 1:是",
  10547. "type": "integer"
  10548. },
  10549. "listingselecttype": {
  10550. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10551. "type": "integer"
  10552. },
  10553. "marginalgorithm": {
  10554. "description": "保证金收取方式 1:比率 2:固定",
  10555. "type": "integer"
  10556. },
  10557. "marginvalue": {
  10558. "description": "即市保证金设置值",
  10559. "type": "number"
  10560. },
  10561. "marketid": {
  10562. "description": "市场ID",
  10563. "type": "integer"
  10564. },
  10565. "marketmaxsub": {
  10566. "description": "市价最大偏移范围",
  10567. "type": "number"
  10568. },
  10569. "memberuserid": {
  10570. "description": "所属会员UserID",
  10571. "type": "integer"
  10572. },
  10573. "openexchagechargevalue": {
  10574. "description": "建仓交易所手续费设置值",
  10575. "type": "number"
  10576. },
  10577. "openfeealgorithm": {
  10578. "description": "建仓手续费收取方式 1:比率 2:固定",
  10579. "type": "integer"
  10580. },
  10581. "openfreezecharge": {
  10582. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10583. "type": "number"
  10584. },
  10585. "openmemberchargevalue": {
  10586. "description": "建仓会员手续费设置值",
  10587. "type": "number"
  10588. },
  10589. "openqty": {
  10590. "description": "开仓数量(先建后平操作,需要记录)",
  10591. "type": "integer"
  10592. },
  10593. "opentradeqty": {
  10594. "description": "开仓成交数量(先建后平操作,需要记录)",
  10595. "type": "integer"
  10596. },
  10597. "openunfreezecharge": {
  10598. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10599. "type": "number"
  10600. },
  10601. "operatetype": {
  10602. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10603. "type": "integer"
  10604. },
  10605. "operatorid": {
  10606. "description": "登录账号(LoginID)",
  10607. "type": "integer"
  10608. },
  10609. "optiontype": {
  10610. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10611. "type": "integer"
  10612. },
  10613. "orderprice": {
  10614. "description": "委托价格",
  10615. "type": "number"
  10616. },
  10617. "orderqty": {
  10618. "description": "委托数量",
  10619. "type": "integer"
  10620. },
  10621. "ordersrc": {
  10622. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10623. "type": "integer"
  10624. },
  10625. "orderstatus": {
  10626. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10627. "type": "integer"
  10628. },
  10629. "ordertime": {
  10630. "description": "委托时间",
  10631. "type": "string"
  10632. },
  10633. "preexerciseprice": {
  10634. "description": "预申报价格",
  10635. "type": "number"
  10636. },
  10637. "premium": {
  10638. "description": "权利金",
  10639. "type": "number"
  10640. },
  10641. "preorderid": {
  10642. "description": "关联预埋单号(止盈止损单时填写)",
  10643. "type": "integer"
  10644. },
  10645. "pricemode": {
  10646. "description": "取价方式 - 1:市价 2: 限价",
  10647. "type": "integer"
  10648. },
  10649. "quoteid": {
  10650. "description": "报价单ID",
  10651. "type": "integer"
  10652. },
  10653. "relatedid": {
  10654. "description": "关联单号(交割单)",
  10655. "type": "integer"
  10656. },
  10657. "retcode": {
  10658. "description": "错误代码",
  10659. "type": "integer"
  10660. },
  10661. "sessionid": {
  10662. "description": "会话ID",
  10663. "type": "integer"
  10664. },
  10665. "strorderid": {
  10666. "description": "委托单号",
  10667. "type": "string"
  10668. },
  10669. "tradedate": {
  10670. "description": "交易日(yyyyMMdd)",
  10671. "type": "string"
  10672. },
  10673. "tradeproperty": {
  10674. "description": "交易属性",
  10675. "type": "integer"
  10676. },
  10677. "tradeqty": {
  10678. "description": "成交数量",
  10679. "type": "integer"
  10680. },
  10681. "unfreezecharge": {
  10682. "description": "解冻手续费",
  10683. "type": "number"
  10684. },
  10685. "unfreezemargin": {
  10686. "description": "解冻保证金",
  10687. "type": "number"
  10688. },
  10689. "updatetime": {
  10690. "description": "更新时间",
  10691. "type": "string"
  10692. },
  10693. "uuid": {
  10694. "description": "发起端唯一id",
  10695. "type": "string"
  10696. },
  10697. "validtime": {
  10698. "description": "有效期限",
  10699. "type": "string"
  10700. },
  10701. "validtype": {
  10702. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10703. "type": "integer"
  10704. },
  10705. "volumetype": {
  10706. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10707. "type": "integer"
  10708. }
  10709. }
  10710. },
  10711. "cptrade.QueryMyCPTradeGoodsRsp": {
  10712. "type": "object",
  10713. "required": [
  10714. "goodscode",
  10715. "goodsid",
  10716. "goodsname",
  10717. "marketid",
  10718. "relatedgoodscode",
  10719. "relatedgoodsname"
  10720. ],
  10721. "properties": {
  10722. "accountid": {
  10723. "description": "卖方账户ID",
  10724. "type": "integer"
  10725. },
  10726. "agreeunit": {
  10727. "description": "合约单位",
  10728. "type": "number"
  10729. },
  10730. "applyid": {
  10731. "description": "关联申请ID",
  10732. "type": "integer"
  10733. },
  10734. "attachmenturl": {
  10735. "description": "附件地址",
  10736. "type": "string"
  10737. },
  10738. "createtime": {
  10739. "description": "创建时间",
  10740. "type": "string"
  10741. },
  10742. "currencyid": {
  10743. "description": "报价货币ID",
  10744. "type": "integer"
  10745. },
  10746. "decimalplace": {
  10747. "description": "报价小数位",
  10748. "type": "integer"
  10749. },
  10750. "endtime": {
  10751. "description": "预售结束时间",
  10752. "type": "string"
  10753. },
  10754. "floorprice": {
  10755. "description": "底价[大宗式竞拍]",
  10756. "type": "number"
  10757. },
  10758. "goodscode": {
  10759. "description": "商品代码(预售)",
  10760. "type": "string"
  10761. },
  10762. "goodsdetail": {
  10763. "description": "详情[大宗]",
  10764. "type": "string"
  10765. },
  10766. "goodsid": {
  10767. "description": "商品ID(自增ID SEQ_GOODS)",
  10768. "type": "integer"
  10769. },
  10770. "goodsname": {
  10771. "description": "商品名称(预售)",
  10772. "type": "string"
  10773. },
  10774. "goodunit": {
  10775. "description": "报价单位",
  10776. "type": "string"
  10777. },
  10778. "goodunitid": {
  10779. "description": "报价单位ID",
  10780. "type": "integer"
  10781. },
  10782. "marketid": {
  10783. "description": "所属市场ID",
  10784. "type": "integer"
  10785. },
  10786. "marketname": {
  10787. "description": "预售市场名称",
  10788. "type": "string"
  10789. },
  10790. "presaledamount": {
  10791. "description": "已预售总金额(预售结束时更新)",
  10792. "type": "number"
  10793. },
  10794. "presaledqty": {
  10795. "description": "已预售量(预售结束时更新)",
  10796. "type": "integer"
  10797. },
  10798. "presalemode": {
  10799. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10800. "type": "integer"
  10801. },
  10802. "presaleqty": {
  10803. "description": "预售数量",
  10804. "type": "integer"
  10805. },
  10806. "refprice": {
  10807. "description": "参考价格[一口价]",
  10808. "type": "number"
  10809. },
  10810. "relatedgoodscode": {
  10811. "description": "商品代码(订单)",
  10812. "type": "string"
  10813. },
  10814. "relatedgoodsid": {
  10815. "description": "关联交易合约ID",
  10816. "type": "integer"
  10817. },
  10818. "relatedgoodsname": {
  10819. "description": "商品名称(订单)",
  10820. "type": "string"
  10821. },
  10822. "relatedmarketid": {
  10823. "description": "关联交易合约市场ID",
  10824. "type": "integer"
  10825. },
  10826. "sellstatus": {
  10827. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10828. "type": "integer"
  10829. },
  10830. "startprice": {
  10831. "description": "起拍价[大宗式竞拍]",
  10832. "type": "number"
  10833. },
  10834. "starttime": {
  10835. "description": "预售开始时间",
  10836. "type": "string"
  10837. },
  10838. "tradedate": {
  10839. "description": "交易日(yyyyMMdd)",
  10840. "type": "string"
  10841. },
  10842. "tradeprice": {
  10843. "description": "成交价[大宗]",
  10844. "type": "number"
  10845. },
  10846. "userid": {
  10847. "description": "卖方用户ID",
  10848. "type": "integer"
  10849. }
  10850. }
  10851. },
  10852. "cptrade.QueryPresaleGoodsExRsp": {
  10853. "type": "object",
  10854. "required": [
  10855. "goodsid"
  10856. ],
  10857. "properties": {
  10858. "attachmenturl": {
  10859. "description": "附件地址",
  10860. "type": "string"
  10861. },
  10862. "createtime": {
  10863. "description": "创建时间",
  10864. "type": "string"
  10865. },
  10866. "endtime": {
  10867. "description": "预售结束时间",
  10868. "type": "string"
  10869. },
  10870. "floorprice": {
  10871. "description": "底价[大宗式竞拍]",
  10872. "type": "number"
  10873. },
  10874. "goodsdetail": {
  10875. "description": "详情[大宗]",
  10876. "type": "string"
  10877. },
  10878. "goodsid": {
  10879. "description": "商品ID(预售)",
  10880. "type": "integer"
  10881. },
  10882. "goodunit": {
  10883. "description": "报价单位",
  10884. "type": "string"
  10885. },
  10886. "marketid": {
  10887. "description": "预售市场ID - 根据预售模式选择市场",
  10888. "type": "integer"
  10889. },
  10890. "presaledamount": {
  10891. "description": "已预售总金额(预售结束时更新)",
  10892. "type": "number"
  10893. },
  10894. "presaledqty": {
  10895. "description": "已预售量(预售结束时更新)",
  10896. "type": "integer"
  10897. },
  10898. "presalemode": {
  10899. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10900. "type": "integer"
  10901. },
  10902. "presaleqty": {
  10903. "description": "预售数量",
  10904. "type": "integer"
  10905. },
  10906. "refprice": {
  10907. "description": "参考价格[一口价]",
  10908. "type": "number"
  10909. },
  10910. "relatedgoodsid": {
  10911. "description": "关联交易合约ID",
  10912. "type": "integer"
  10913. },
  10914. "relatedmarketid": {
  10915. "description": "关联交易合约市场ID",
  10916. "type": "integer"
  10917. },
  10918. "sellstatus": {
  10919. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10920. "type": "integer"
  10921. },
  10922. "startprice": {
  10923. "description": "起拍价[大宗式竞拍]",
  10924. "type": "number"
  10925. },
  10926. "starttime": {
  10927. "description": "预售开始时间",
  10928. "type": "string"
  10929. },
  10930. "tradedate": {
  10931. "description": "交易日(yyyyMMdd)",
  10932. "type": "string"
  10933. },
  10934. "tradeprice": {
  10935. "description": "成交价[大宗]",
  10936. "type": "number"
  10937. }
  10938. }
  10939. },
  10940. "delivery.QueryDeliveryRelationRsp": {
  10941. "type": "object",
  10942. "required": [
  10943. "begindate",
  10944. "enddate",
  10945. "goodsid",
  10946. "mindeliveryqty",
  10947. "xdeliveryratio"
  10948. ],
  10949. "properties": {
  10950. "begindate": {
  10951. "description": "起始日期(yyyyMMdd)",
  10952. "type": "string"
  10953. },
  10954. "buytemplateid": {
  10955. "description": "买履约计划模板ID",
  10956. "type": "integer"
  10957. },
  10958. "deliverygoodscode": {
  10959. "description": "品种代码",
  10960. "type": "string"
  10961. },
  10962. "deliverygoodsid": {
  10963. "description": "交割商品",
  10964. "type": "integer"
  10965. },
  10966. "deliverygoodsname": {
  10967. "description": "品种名称",
  10968. "type": "string"
  10969. },
  10970. "deliverymode": {
  10971. "description": "交割方式 - 1:点选式 2:申报式",
  10972. "type": "integer"
  10973. },
  10974. "deliverypricerule": {
  10975. "description": "交割价规则- 1:行情价 2:建仓价",
  10976. "type": "integer"
  10977. },
  10978. "deliverytype": {
  10979. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10980. "type": "integer"
  10981. },
  10982. "enddate": {
  10983. "description": "结束日期(yyyyMMdd)",
  10984. "type": "string"
  10985. },
  10986. "goodscode": {
  10987. "description": "商品代码",
  10988. "type": "string"
  10989. },
  10990. "goodsid": {
  10991. "description": "交易合约ID",
  10992. "type": "integer"
  10993. },
  10994. "goodsname": {
  10995. "description": "商品名称",
  10996. "type": "string"
  10997. },
  10998. "marketid": {
  10999. "description": "市场ID",
  11000. "type": "integer"
  11001. },
  11002. "mindeliveryqty": {
  11003. "description": "最小交割系数(K)",
  11004. "type": "integer"
  11005. },
  11006. "p2deliveryprice": {
  11007. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  11008. "type": "number"
  11009. },
  11010. "p2deliveryratio": {
  11011. "description": "P2合约系数(p)",
  11012. "type": "integer"
  11013. },
  11014. "p2goodsid": {
  11015. "description": "P2合约ID",
  11016. "type": "integer"
  11017. },
  11018. "p2pricemode": {
  11019. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  11020. "type": "integer"
  11021. },
  11022. "pdeliveryprice": {
  11023. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  11024. "type": "number"
  11025. },
  11026. "pdeliveryratio": {
  11027. "description": "P合约系数(n)",
  11028. "type": "integer"
  11029. },
  11030. "pgoodsid": {
  11031. "description": "P合约ID",
  11032. "type": "integer"
  11033. },
  11034. "ppricemode": {
  11035. "description": "P合约价格方式 - 1:商品价 2:固定值",
  11036. "type": "integer"
  11037. },
  11038. "rratio": {
  11039. "description": "兑换系数(R)",
  11040. "type": "integer"
  11041. },
  11042. "rratio1": {
  11043. "description": "兑换系数(交易合约)(R1)",
  11044. "type": "integer"
  11045. },
  11046. "rratio2": {
  11047. "description": "兑换系数(仓单标准)(R2)",
  11048. "type": "integer"
  11049. },
  11050. "selltemplateid": {
  11051. "description": "卖履约计划模板ID",
  11052. "type": "integer"
  11053. },
  11054. "wrstandardid": {
  11055. "description": "仓单标准ID",
  11056. "type": "integer"
  11057. },
  11058. "xdeliveryratio": {
  11059. "description": "交易合约系数(m)",
  11060. "type": "integer"
  11061. }
  11062. }
  11063. },
  11064. "ermcp.ExposureDetailRsp": {
  11065. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  11066. },
  11067. "ermcp.ExposureHedgePosDetailRsp": {
  11068. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  11069. },
  11070. "ermcp.ExposureHedgePositionRsp": {
  11071. "$ref": "#/definitions/models.ErmcpHedgePosition"
  11072. },
  11073. "ermcp.ExposureSpotDetailRsp": {
  11074. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  11075. },
  11076. "ermcp.ExposureSpotRsp": {
  11077. "$ref": "#/definitions/models.AreaSpotModel"
  11078. },
  11079. "ermcp.HisExposureRsp": {
  11080. "$ref": "#/definitions/models.ErmcpHisExposureS"
  11081. },
  11082. "ermcp.PendingAuditCntRsp": {
  11083. "$ref": "#/definitions/models.ErmcpPendingAudit"
  11084. },
  11085. "ermcp.QryAvalidGPRsp": {
  11086. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  11087. },
  11088. "ermcp.QryBusinessDjRsp": {
  11089. "type": "object",
  11090. "properties": {
  11091. "amount": {
  11092. "description": "点价金额=(点价价格+升贴水)*点价数量",
  11093. "type": "number"
  11094. },
  11095. "applyid": {
  11096. "description": "申请人",
  11097. "type": "string"
  11098. },
  11099. "applyname": {
  11100. "description": "申请人名称",
  11101. "type": "string"
  11102. },
  11103. "applystatus": {
  11104. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11105. "type": "integer"
  11106. },
  11107. "applytime": {
  11108. "description": "申请时间",
  11109. "type": "string"
  11110. },
  11111. "attachurl": {
  11112. "description": "附件",
  11113. "type": "string"
  11114. },
  11115. "auditid": {
  11116. "description": "审核人ID",
  11117. "type": "string"
  11118. },
  11119. "auditname": {
  11120. "description": "审核人名称",
  11121. "type": "string"
  11122. },
  11123. "audittime": {
  11124. "description": "审核时间",
  11125. "type": "string"
  11126. },
  11127. "buyusername": {
  11128. "description": "采购方名称",
  11129. "type": "string"
  11130. },
  11131. "contractno": {
  11132. "description": "合同编号",
  11133. "type": "string"
  11134. },
  11135. "contractstatus": {
  11136. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11137. "type": "integer"
  11138. },
  11139. "contracttype": {
  11140. "description": "现货合同类型 - 1:采购 -1:销售",
  11141. "type": "integer"
  11142. },
  11143. "deliverygoodscode": {
  11144. "description": "现货品种代码",
  11145. "type": "string"
  11146. },
  11147. "deliverygoodsid": {
  11148. "description": "现货商品ID",
  11149. "type": "integer"
  11150. },
  11151. "deliverygoodsname": {
  11152. "description": "现货品种名称",
  11153. "type": "string"
  11154. },
  11155. "enumdicname": {
  11156. "description": "单位名称",
  11157. "type": "string"
  11158. },
  11159. "goodscode": {
  11160. "description": "点价合约",
  11161. "type": "string"
  11162. },
  11163. "goodsname": {
  11164. "description": "商品名称",
  11165. "type": "string"
  11166. },
  11167. "operateapplyid": {
  11168. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11169. "type": "string"
  11170. },
  11171. "operateapplytype": {
  11172. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11173. "type": "integer"
  11174. },
  11175. "pricedPrice": {
  11176. "description": "点价价格(非必填)",
  11177. "type": "number"
  11178. },
  11179. "pricedQty": {
  11180. "description": "点价数量(非必填)",
  11181. "type": "number"
  11182. },
  11183. "pricemove": {
  11184. "description": "升贴水",
  11185. "type": "number"
  11186. },
  11187. "pricetype": {
  11188. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11189. "type": "integer"
  11190. },
  11191. "relatedid": {
  11192. "description": "现货合同ID",
  11193. "type": "string"
  11194. },
  11195. "sellusername": {
  11196. "description": "销售方名字",
  11197. "type": "string"
  11198. },
  11199. "userid": {
  11200. "description": "用户ID",
  11201. "type": "integer"
  11202. },
  11203. "wrstandardcode": {
  11204. "description": "品类代码",
  11205. "type": "string"
  11206. },
  11207. "wrstandardid": {
  11208. "description": "品类id",
  11209. "type": "integer"
  11210. },
  11211. "wrstandardname": {
  11212. "description": "品类名称",
  11213. "type": "string"
  11214. }
  11215. }
  11216. },
  11217. "ermcp.QryBussinessFpRsp": {
  11218. "type": "object",
  11219. "properties": {
  11220. "applyid": {
  11221. "description": "申请人",
  11222. "type": "string"
  11223. },
  11224. "applyname": {
  11225. "description": "申请人名称",
  11226. "type": "string"
  11227. },
  11228. "applystatus": {
  11229. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11230. "type": "integer"
  11231. },
  11232. "applytime": {
  11233. "description": "申请时间",
  11234. "type": "string"
  11235. },
  11236. "attachurl": {
  11237. "description": "附件",
  11238. "type": "string"
  11239. },
  11240. "auditid": {
  11241. "description": "审核人ID",
  11242. "type": "string"
  11243. },
  11244. "auditname": {
  11245. "description": "审核人名称",
  11246. "type": "string"
  11247. },
  11248. "audittime": {
  11249. "description": "审核时间",
  11250. "type": "string"
  11251. },
  11252. "buyusername": {
  11253. "description": "采购方名称",
  11254. "type": "string"
  11255. },
  11256. "contractno": {
  11257. "description": "合同编号",
  11258. "type": "string"
  11259. },
  11260. "contractstatus": {
  11261. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11262. "type": "integer"
  11263. },
  11264. "contracttype": {
  11265. "description": "现货合同类型 - 1:采购 -1:销售",
  11266. "type": "integer"
  11267. },
  11268. "deliverygoodscode": {
  11269. "description": "现货品种代码",
  11270. "type": "string"
  11271. },
  11272. "deliverygoodsid": {
  11273. "description": "现货商品ID",
  11274. "type": "integer"
  11275. },
  11276. "deliverygoodsname": {
  11277. "description": "现货品种名称",
  11278. "type": "string"
  11279. },
  11280. "enumdicname": {
  11281. "description": "单位名称",
  11282. "type": "string"
  11283. },
  11284. "goodscode": {
  11285. "description": "点价合约",
  11286. "type": "string"
  11287. },
  11288. "goodsname": {
  11289. "description": "商品名称",
  11290. "type": "string"
  11291. },
  11292. "invoiceAmount": {
  11293. "description": "已开收票金额(销售为开票,采购为收票)",
  11294. "type": "number"
  11295. },
  11296. "operateapplyid": {
  11297. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11298. "type": "string"
  11299. },
  11300. "operateapplytype": {
  11301. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11302. "type": "integer"
  11303. },
  11304. "pricemove": {
  11305. "description": "升贴水",
  11306. "type": "number"
  11307. },
  11308. "pricetype": {
  11309. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11310. "type": "integer"
  11311. },
  11312. "relatedid": {
  11313. "description": "现货合同ID",
  11314. "type": "string"
  11315. },
  11316. "sellusername": {
  11317. "description": "销售方名字",
  11318. "type": "string"
  11319. },
  11320. "userid": {
  11321. "description": "用户ID",
  11322. "type": "integer"
  11323. },
  11324. "wrstandardcode": {
  11325. "description": "品类代码",
  11326. "type": "string"
  11327. },
  11328. "wrstandardid": {
  11329. "description": "品类id",
  11330. "type": "integer"
  11331. },
  11332. "wrstandardname": {
  11333. "description": "品类名称",
  11334. "type": "string"
  11335. }
  11336. }
  11337. },
  11338. "ermcp.QryBussinessJsExRsp": {
  11339. "type": "object",
  11340. "properties": {
  11341. "applyid": {
  11342. "description": "申请人",
  11343. "type": "string"
  11344. },
  11345. "applyname": {
  11346. "description": "申请人名称",
  11347. "type": "string"
  11348. },
  11349. "applystatus": {
  11350. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11351. "type": "integer"
  11352. },
  11353. "applytime": {
  11354. "description": "申请时间",
  11355. "type": "string"
  11356. },
  11357. "attachurl": {
  11358. "description": "附件",
  11359. "type": "string"
  11360. },
  11361. "auditid": {
  11362. "description": "审核人ID",
  11363. "type": "string"
  11364. },
  11365. "auditname": {
  11366. "description": "审核人名称",
  11367. "type": "string"
  11368. },
  11369. "audittime": {
  11370. "description": "审核时间",
  11371. "type": "string"
  11372. },
  11373. "buyusername": {
  11374. "description": "采购方名称",
  11375. "type": "string"
  11376. },
  11377. "contractno": {
  11378. "description": "合同编号",
  11379. "type": "string"
  11380. },
  11381. "contractstatus": {
  11382. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11383. "type": "integer"
  11384. },
  11385. "contracttype": {
  11386. "description": "现货合同类型 - 1:采购 -1:销售",
  11387. "type": "integer"
  11388. },
  11389. "deliverygoodscode": {
  11390. "description": "现货品种代码",
  11391. "type": "string"
  11392. },
  11393. "deliverygoodsid": {
  11394. "description": "现货商品ID",
  11395. "type": "integer"
  11396. },
  11397. "deliverygoodsname": {
  11398. "description": "现货品种名称",
  11399. "type": "string"
  11400. },
  11401. "enumdicname": {
  11402. "description": "单位名称",
  11403. "type": "string"
  11404. },
  11405. "goodscode": {
  11406. "description": "点价合约",
  11407. "type": "string"
  11408. },
  11409. "goodsname": {
  11410. "description": "商品名称",
  11411. "type": "string"
  11412. },
  11413. "operateapplyid": {
  11414. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11415. "type": "string"
  11416. },
  11417. "operateapplytype": {
  11418. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11419. "type": "integer"
  11420. },
  11421. "pricemove": {
  11422. "description": "升贴水",
  11423. "type": "number"
  11424. },
  11425. "pricetype": {
  11426. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11427. "type": "integer"
  11428. },
  11429. "reckontype": {
  11430. "description": "结算类型",
  11431. "type": "string"
  11432. },
  11433. "reckonvalue": {
  11434. "description": "值",
  11435. "type": "number"
  11436. },
  11437. "relatedid": {
  11438. "description": "现货合同ID",
  11439. "type": "string"
  11440. },
  11441. "sellusername": {
  11442. "description": "销售方名字",
  11443. "type": "string"
  11444. },
  11445. "userid": {
  11446. "description": "用户ID",
  11447. "type": "integer"
  11448. },
  11449. "wrstandardcode": {
  11450. "description": "品类代码",
  11451. "type": "string"
  11452. },
  11453. "wrstandardid": {
  11454. "description": "品类id",
  11455. "type": "integer"
  11456. },
  11457. "wrstandardname": {
  11458. "description": "品类名称",
  11459. "type": "string"
  11460. }
  11461. }
  11462. },
  11463. "ermcp.QryBussinessJsRsp": {
  11464. "type": "object",
  11465. "properties": {
  11466. "addmargin": {
  11467. "description": "追加保证金(非必填)",
  11468. "type": "number"
  11469. },
  11470. "applyid": {
  11471. "description": "申请人",
  11472. "type": "string"
  11473. },
  11474. "applyname": {
  11475. "description": "申请人名称",
  11476. "type": "string"
  11477. },
  11478. "applystatus": {
  11479. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11480. "type": "integer"
  11481. },
  11482. "applytime": {
  11483. "description": "申请时间",
  11484. "type": "string"
  11485. },
  11486. "attachurl": {
  11487. "description": "附件",
  11488. "type": "string"
  11489. },
  11490. "auditid": {
  11491. "description": "审核人ID",
  11492. "type": "string"
  11493. },
  11494. "auditname": {
  11495. "description": "审核人名称",
  11496. "type": "string"
  11497. },
  11498. "audittime": {
  11499. "description": "审核时间",
  11500. "type": "string"
  11501. },
  11502. "buyusername": {
  11503. "description": "采购方名称",
  11504. "type": "string"
  11505. },
  11506. "contractno": {
  11507. "description": "合同编号",
  11508. "type": "string"
  11509. },
  11510. "contractstatus": {
  11511. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11512. "type": "integer"
  11513. },
  11514. "contracttype": {
  11515. "description": "现货合同类型 - 1:采购 -1:销售",
  11516. "type": "integer"
  11517. },
  11518. "decmargin": {
  11519. "description": "减少保证金(非必填)",
  11520. "type": "number"
  11521. },
  11522. "deliverygoodscode": {
  11523. "description": "现货品种代码",
  11524. "type": "string"
  11525. },
  11526. "deliverygoodsid": {
  11527. "description": "现货商品ID",
  11528. "type": "integer"
  11529. },
  11530. "deliverygoodsname": {
  11531. "description": "现货品种名称",
  11532. "type": "string"
  11533. },
  11534. "enumdicname": {
  11535. "description": "单位名称",
  11536. "type": "string"
  11537. },
  11538. "goodscode": {
  11539. "description": "点价合约",
  11540. "type": "string"
  11541. },
  11542. "goodsname": {
  11543. "description": "商品名称",
  11544. "type": "string"
  11545. },
  11546. "operateapplyid": {
  11547. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11548. "type": "string"
  11549. },
  11550. "operateapplytype": {
  11551. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11552. "type": "integer"
  11553. },
  11554. "pricemove": {
  11555. "description": "升贴水",
  11556. "type": "number"
  11557. },
  11558. "pricetype": {
  11559. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11560. "type": "integer"
  11561. },
  11562. "reckonadjustamount": {
  11563. "description": "结算调整金额(非必填)",
  11564. "type": "number"
  11565. },
  11566. "reckonosamount": {
  11567. "description": "结算溢短金额(非必填)",
  11568. "type": "number"
  11569. },
  11570. "reckonotheramount": {
  11571. "description": "结算其他费用(非必填)",
  11572. "type": "number"
  11573. },
  11574. "reckonrealqty": {
  11575. "description": "结算实际数量(非必填)",
  11576. "type": "number"
  11577. },
  11578. "relatedid": {
  11579. "description": "现货合同ID",
  11580. "type": "string"
  11581. },
  11582. "sellusername": {
  11583. "description": "销售方名字",
  11584. "type": "string"
  11585. },
  11586. "userid": {
  11587. "description": "用户ID",
  11588. "type": "integer"
  11589. },
  11590. "wrstandardcode": {
  11591. "description": "品类代码",
  11592. "type": "string"
  11593. },
  11594. "wrstandardid": {
  11595. "description": "品类id",
  11596. "type": "integer"
  11597. },
  11598. "wrstandardname": {
  11599. "description": "品类名称",
  11600. "type": "string"
  11601. }
  11602. }
  11603. },
  11604. "ermcp.QryBussinessKxRsp": {
  11605. "type": "object",
  11606. "properties": {
  11607. "applyid": {
  11608. "description": "申请人",
  11609. "type": "string"
  11610. },
  11611. "applyname": {
  11612. "description": "申请人名称",
  11613. "type": "string"
  11614. },
  11615. "applystatus": {
  11616. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11617. "type": "integer"
  11618. },
  11619. "applytime": {
  11620. "description": "申请时间",
  11621. "type": "string"
  11622. },
  11623. "attachurl": {
  11624. "description": "附件",
  11625. "type": "string"
  11626. },
  11627. "auditid": {
  11628. "description": "审核人ID",
  11629. "type": "string"
  11630. },
  11631. "auditname": {
  11632. "description": "审核人名称",
  11633. "type": "string"
  11634. },
  11635. "audittime": {
  11636. "description": "审核时间",
  11637. "type": "string"
  11638. },
  11639. "buyusername": {
  11640. "description": "采购方名称",
  11641. "type": "string"
  11642. },
  11643. "contractno": {
  11644. "description": "合同编号",
  11645. "type": "string"
  11646. },
  11647. "contractstatus": {
  11648. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11649. "type": "integer"
  11650. },
  11651. "contracttype": {
  11652. "description": "现货合同类型 - 1:采购 -1:销售",
  11653. "type": "integer"
  11654. },
  11655. "deductamount": {
  11656. "description": "退款(非必填)",
  11657. "type": "number"
  11658. },
  11659. "deliverygoodscode": {
  11660. "description": "现货品种代码",
  11661. "type": "string"
  11662. },
  11663. "deliverygoodsid": {
  11664. "description": "现货商品ID",
  11665. "type": "integer"
  11666. },
  11667. "deliverygoodsname": {
  11668. "description": "现货品种名称",
  11669. "type": "string"
  11670. },
  11671. "enumdicname": {
  11672. "description": "单位名称",
  11673. "type": "string"
  11674. },
  11675. "goodscode": {
  11676. "description": "点价合约",
  11677. "type": "string"
  11678. },
  11679. "goodsname": {
  11680. "description": "商品名称",
  11681. "type": "string"
  11682. },
  11683. "kxtype": {
  11684. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11685. "type": "integer"
  11686. },
  11687. "operateapplyid": {
  11688. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11689. "type": "string"
  11690. },
  11691. "operateapplytype": {
  11692. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11693. "type": "integer"
  11694. },
  11695. "payamount": {
  11696. "description": "收付款(非必填)",
  11697. "type": "number"
  11698. },
  11699. "pricemove": {
  11700. "description": "升贴水",
  11701. "type": "number"
  11702. },
  11703. "pricetype": {
  11704. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11705. "type": "integer"
  11706. },
  11707. "relatedid": {
  11708. "description": "现货合同ID",
  11709. "type": "string"
  11710. },
  11711. "sellusername": {
  11712. "description": "销售方名字",
  11713. "type": "string"
  11714. },
  11715. "userid": {
  11716. "description": "用户ID",
  11717. "type": "integer"
  11718. },
  11719. "wrstandardcode": {
  11720. "description": "品类代码",
  11721. "type": "string"
  11722. },
  11723. "wrstandardid": {
  11724. "description": "品类id",
  11725. "type": "integer"
  11726. },
  11727. "wrstandardname": {
  11728. "description": "品类名称",
  11729. "type": "string"
  11730. }
  11731. }
  11732. },
  11733. "ermcp.QryGGCovertCfgRsp": {
  11734. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11735. },
  11736. "ermcp.QryMGChangeLogRsp": {
  11737. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11738. },
  11739. "ermcp.QryMiddleGoodsDetailRsp": {
  11740. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11741. },
  11742. "ermcp.QryMiddleGoodsRsp": {
  11743. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11744. },
  11745. "ermcp.QryOPLogRsp": {
  11746. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11747. },
  11748. "ermcp.QryUserInfoRsp": {
  11749. "$ref": "#/definitions/models.ErmcpUserModel"
  11750. },
  11751. "ermcp.QryWarehouseRsp": {
  11752. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11753. },
  11754. "ermcp.QueryErmcpTradePositionRsp": {
  11755. "type": "object",
  11756. "properties": {
  11757. "agreeunit": {
  11758. "description": "合约单位",
  11759. "type": "number"
  11760. },
  11761. "buyorsell": {
  11762. "description": "方向 - 0:买 1:卖",
  11763. "type": "integer"
  11764. },
  11765. "curpositionqty": {
  11766. "description": "持仓(总仓数量, 期末头寸)",
  11767. "type": "integer"
  11768. },
  11769. "curtdposition": {
  11770. "description": "今仓数量(期末今日头寸)",
  11771. "type": "integer"
  11772. },
  11773. "curtdpositionenabled": {
  11774. "description": "今仓可用",
  11775. "type": "integer"
  11776. },
  11777. "decimalplace": {
  11778. "description": "报价小数位",
  11779. "type": "integer"
  11780. },
  11781. "enableqty": {
  11782. "description": "可用(总仓可用)",
  11783. "type": "integer"
  11784. },
  11785. "exexchangename": {
  11786. "description": "外部交易所名称",
  11787. "type": "string"
  11788. },
  11789. "goodscode": {
  11790. "description": "商品代码(内部)",
  11791. "type": "string"
  11792. },
  11793. "goodsid": {
  11794. "description": "商品ID(自增ID SEQ_GOODS)",
  11795. "type": "integer"
  11796. },
  11797. "goodsname": {
  11798. "description": "商品名称",
  11799. "type": "string"
  11800. },
  11801. "last": {
  11802. "description": "现价",
  11803. "type": "number"
  11804. },
  11805. "marketid": {
  11806. "description": "所属市场ID",
  11807. "type": "integer"
  11808. },
  11809. "openaverageprice": {
  11810. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11811. "type": "number"
  11812. },
  11813. "opencost": {
  11814. "description": "开仓成本",
  11815. "type": "number"
  11816. },
  11817. "openpl": {
  11818. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11819. "type": "number"
  11820. },
  11821. "outgoodscode": {
  11822. "description": "商品代码(外部)",
  11823. "type": "string"
  11824. },
  11825. "positionaverageprice": {
  11826. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11827. "type": "number"
  11828. },
  11829. "positioncost": {
  11830. "description": "持仓成本",
  11831. "type": "number"
  11832. },
  11833. "positionpl": {
  11834. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11835. "type": "number"
  11836. },
  11837. "positionplrate": {
  11838. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11839. "type": "number"
  11840. },
  11841. "usedmargin": {
  11842. "description": "占用保证金",
  11843. "type": "number"
  11844. }
  11845. }
  11846. },
  11847. "ermcp.RealtimeExposurePositionRsp": {
  11848. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11849. },
  11850. "ermcp.RealtimeExposureRsp": {
  11851. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11852. },
  11853. "erms2.QueryArbitrageStrategyRsp": {
  11854. "type": "object",
  11855. "required": [
  11856. "asapplyid"
  11857. ],
  11858. "properties": {
  11859. "applybasis": {
  11860. "description": "申请基差",
  11861. "type": "number"
  11862. },
  11863. "asapplyid": {
  11864. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11865. "type": "string"
  11866. },
  11867. "asname": {
  11868. "description": "策略名称",
  11869. "type": "string"
  11870. },
  11871. "asno": {
  11872. "description": "策略编号",
  11873. "type": "string"
  11874. },
  11875. "basischangepl": {
  11876. "description": "基差变动损益[结算更新]",
  11877. "type": "number"
  11878. },
  11879. "biztype": {
  11880. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11881. "type": "integer"
  11882. },
  11883. "closetradedate": {
  11884. "description": "完结交易日(yyyyMMdd)",
  11885. "type": "string"
  11886. },
  11887. "curbasis": {
  11888. "description": "当前基差[结算更新]",
  11889. "type": "number"
  11890. },
  11891. "deliverygoodsid": {
  11892. "description": "现货品种ID",
  11893. "type": "integer"
  11894. },
  11895. "futureavgprice": {
  11896. "description": "期货建仓均价",
  11897. "type": "number"
  11898. },
  11899. "futurecloseamount": {
  11900. "description": "期货平仓金额",
  11901. "type": "number"
  11902. },
  11903. "futurecloseqty": {
  11904. "description": "期货平仓数量",
  11905. "type": "number"
  11906. },
  11907. "futureopenamount": {
  11908. "description": "期货开仓金额",
  11909. "type": "number"
  11910. },
  11911. "futureopenqty": {
  11912. "description": "期货开仓数量",
  11913. "type": "number"
  11914. },
  11915. "futurepl": {
  11916. "description": "期货总盈亏[结算更新]",
  11917. "type": "number"
  11918. },
  11919. "futureqty": {
  11920. "description": "期货持仓数量",
  11921. "type": "number"
  11922. },
  11923. "futurequote": {
  11924. "description": "期货额度",
  11925. "type": "number"
  11926. },
  11927. "goodsgroupid": {
  11928. "description": "期货品种ID",
  11929. "type": "integer"
  11930. },
  11931. "marketid": {
  11932. "description": "市场ID",
  11933. "type": "integer"
  11934. },
  11935. "netexposure": {
  11936. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11937. "type": "number"
  11938. },
  11939. "netexposurepl": {
  11940. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11941. "type": "number"
  11942. },
  11943. "netexposurerate": {
  11944. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11945. "type": "number"
  11946. },
  11947. "openbasis": {
  11948. "description": "建仓基差",
  11949. "type": "number"
  11950. },
  11951. "pricedspotqty": {
  11952. "description": "已定价现货数量",
  11953. "type": "number"
  11954. },
  11955. "pricedspotqtynotax": {
  11956. "description": "已定价现货不含税数量",
  11957. "type": "number"
  11958. },
  11959. "remark": {
  11960. "description": "备注",
  11961. "type": "string"
  11962. },
  11963. "spotavgprice": {
  11964. "description": "现货均价",
  11965. "type": "number"
  11966. },
  11967. "spotbuyamount": {
  11968. "description": "现货采购金额",
  11969. "type": "number"
  11970. },
  11971. "spotbuyqty": {
  11972. "description": "现货采购数量",
  11973. "type": "number"
  11974. },
  11975. "spotpl": {
  11976. "description": "现货总盈亏[结算更新]",
  11977. "type": "number"
  11978. },
  11979. "spotquota": {
  11980. "description": "现货额度",
  11981. "type": "number"
  11982. },
  11983. "spotsellamount": {
  11984. "description": "现货销售金额",
  11985. "type": "number"
  11986. },
  11987. "spotsellqty": {
  11988. "description": "现货销售数量",
  11989. "type": "number"
  11990. },
  11991. "spotusedquota": {
  11992. "description": "现货占用资金",
  11993. "type": "number"
  11994. },
  11995. "strategystatus": {
  11996. "description": "策略状态 - 0:未结束 1:已结束",
  11997. "type": "integer"
  11998. },
  11999. "totalpl": {
  12000. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12001. "type": "number"
  12002. },
  12003. "tradedate": {
  12004. "description": "交易日(yyyyMMdd)",
  12005. "type": "string"
  12006. },
  12007. "updatetime": {
  12008. "description": "更新时间",
  12009. "type": "string"
  12010. },
  12011. "usedquota": {
  12012. "description": "已占用资金",
  12013. "type": "number"
  12014. },
  12015. "userid": {
  12016. "description": "所属机构",
  12017. "type": "integer"
  12018. }
  12019. }
  12020. },
  12021. "erms2.QueryInnerTradeDetailRsp": {
  12022. "type": "object",
  12023. "required": [
  12024. "asapplyid",
  12025. "buyorsell",
  12026. "goodscode",
  12027. "goodsgroupid",
  12028. "goodsgroupname",
  12029. "goodsname",
  12030. "tradeid"
  12031. ],
  12032. "properties": {
  12033. "accountid": {
  12034. "description": "账号ID",
  12035. "type": "integer"
  12036. },
  12037. "agreeunit": {
  12038. "description": "合约单位",
  12039. "type": "number"
  12040. },
  12041. "asapplyid": {
  12042. "description": "策略申请ID",
  12043. "type": "integer"
  12044. },
  12045. "asname": {
  12046. "description": "策略名称",
  12047. "type": "string"
  12048. },
  12049. "asno": {
  12050. "description": "策略编号",
  12051. "type": "string"
  12052. },
  12053. "buyorsell": {
  12054. "description": "方向 - 0:买 1:卖",
  12055. "type": "integer"
  12056. },
  12057. "channelbuildtype": {
  12058. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  12059. "type": "integer"
  12060. },
  12061. "closetype": {
  12062. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  12063. "type": "integer"
  12064. },
  12065. "decimalplace": {
  12066. "description": "报价小数位",
  12067. "type": "integer"
  12068. },
  12069. "detailtype": {
  12070. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  12071. "type": "integer"
  12072. },
  12073. "exexchangecode": {
  12074. "description": "外部交易所代码",
  12075. "type": "string"
  12076. },
  12077. "exexchangename": {
  12078. "description": "外部交易所名称",
  12079. "type": "string"
  12080. },
  12081. "goodscode": {
  12082. "description": "商品代码(合约)",
  12083. "type": "string"
  12084. },
  12085. "goodsgroupid": {
  12086. "description": "商品组ID(品种ID)",
  12087. "type": "integer"
  12088. },
  12089. "goodsgroupname": {
  12090. "description": "商品组名称(品种)",
  12091. "type": "string"
  12092. },
  12093. "goodsid": {
  12094. "description": "商品ID",
  12095. "type": "integer"
  12096. },
  12097. "goodsname": {
  12098. "description": "商品名称(合约)",
  12099. "type": "string"
  12100. },
  12101. "goodunit": {
  12102. "description": "报价单位",
  12103. "type": "string"
  12104. },
  12105. "marketid": {
  12106. "description": "市场ID",
  12107. "type": "integer"
  12108. },
  12109. "orderid": {
  12110. "description": "委托单号",
  12111. "type": "string"
  12112. },
  12113. "outgoodscode": {
  12114. "description": "商品代码(外部)",
  12115. "type": "string"
  12116. },
  12117. "relatedouttradeid": {
  12118. "description": "关联外部成交单ID",
  12119. "type": "string"
  12120. },
  12121. "remark": {
  12122. "description": "备注",
  12123. "type": "string"
  12124. },
  12125. "spotcontractid": {
  12126. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12127. "type": "integer"
  12128. },
  12129. "spotcontractno": {
  12130. "description": "现货合同编号",
  12131. "type": "string"
  12132. },
  12133. "tradeid": {
  12134. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12135. "type": "string"
  12136. },
  12137. "tradeprice": {
  12138. "description": "成交价格",
  12139. "type": "number"
  12140. },
  12141. "tradeqty": {
  12142. "description": "成交数量",
  12143. "type": "integer"
  12144. },
  12145. "tradetime": {
  12146. "description": "成交时间",
  12147. "type": "string"
  12148. },
  12149. "updatetime": {
  12150. "description": "更新时间",
  12151. "type": "string"
  12152. }
  12153. }
  12154. },
  12155. "erms2.QuerySpotContractRsp": {
  12156. "type": "object",
  12157. "required": [
  12158. "spotcontractid"
  12159. ],
  12160. "properties": {
  12161. "accountid": {
  12162. "description": "资金账户ID",
  12163. "type": "integer"
  12164. },
  12165. "areauserid": {
  12166. "description": "所属机构",
  12167. "type": "integer"
  12168. },
  12169. "closedate": {
  12170. "description": "终止日期",
  12171. "type": "string"
  12172. },
  12173. "closeremark": {
  12174. "description": "结束备注",
  12175. "type": "string"
  12176. },
  12177. "closetradedate": {
  12178. "description": "完结交易日(yyyyMMdd)",
  12179. "type": "string"
  12180. },
  12181. "closetype": {
  12182. "description": "终止类型 - 1:违约 2:提前终止",
  12183. "type": "integer"
  12184. },
  12185. "contractamount": {
  12186. "description": "合同金额",
  12187. "type": "number"
  12188. },
  12189. "contractattachment": {
  12190. "description": "合同附件",
  12191. "type": "string"
  12192. },
  12193. "contractno": {
  12194. "description": "现货合同编号",
  12195. "type": "string"
  12196. },
  12197. "contractqty": {
  12198. "description": "合同数量(数值) (用于计算)",
  12199. "type": "number"
  12200. },
  12201. "contractqtychar": {
  12202. "description": "合同数量\\已订价数量 (用于显示)",
  12203. "type": "string"
  12204. },
  12205. "contractstatus": {
  12206. "description": "合同状态 - 0:未结束 1:已结束",
  12207. "type": "integer"
  12208. },
  12209. "contracttype": {
  12210. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  12211. "type": "integer"
  12212. },
  12213. "customeraccountid": {
  12214. "description": "客户资金账户ID",
  12215. "type": "integer"
  12216. },
  12217. "customeruserid": {
  12218. "description": "客户ID",
  12219. "type": "integer"
  12220. },
  12221. "deliverygoodsdesc": {
  12222. "description": "品种说明",
  12223. "type": "string"
  12224. },
  12225. "deliverygoodsid": {
  12226. "description": "现货品种ID",
  12227. "type": "integer"
  12228. },
  12229. "handlestatus": {
  12230. "description": "处理状态",
  12231. "type": "integer"
  12232. },
  12233. "invoiceatt": {
  12234. "description": "发票附件",
  12235. "type": "string"
  12236. },
  12237. "invoicedatetime": {
  12238. "description": "开收票更新时间",
  12239. "type": "string"
  12240. },
  12241. "invoiceopentime": {
  12242. "description": "开票时间",
  12243. "type": "string"
  12244. },
  12245. "invoiceremark": {
  12246. "description": "发票备注",
  12247. "type": "string"
  12248. },
  12249. "invoicestatus": {
  12250. "description": "开收票状态 - 0:未开票 1:已开票",
  12251. "type": "integer"
  12252. },
  12253. "lastdate": {
  12254. "description": "交货时间",
  12255. "type": "string"
  12256. },
  12257. "marketid": {
  12258. "description": "市场ID",
  12259. "type": "integer"
  12260. },
  12261. "paydatetime": {
  12262. "description": "收付款更新时间",
  12263. "type": "string"
  12264. },
  12265. "payremark": {
  12266. "description": "收付款备注",
  12267. "type": "string"
  12268. },
  12269. "paystatus": {
  12270. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  12271. "type": "integer"
  12272. },
  12273. "positionqty": {
  12274. "description": "头寸数量 - 合同数量去小数部分",
  12275. "type": "integer"
  12276. },
  12277. "producttype": {
  12278. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12279. "type": "integer"
  12280. },
  12281. "relatedqty": {
  12282. "description": "已关联数量",
  12283. "type": "number"
  12284. },
  12285. "relatedstatus": {
  12286. "description": "关联完结状态 - 0:未结束 1:已结束",
  12287. "type": "integer"
  12288. },
  12289. "remark": {
  12290. "description": "备注",
  12291. "type": "string"
  12292. },
  12293. "signdate": {
  12294. "description": "签订日期",
  12295. "type": "string"
  12296. },
  12297. "spotcontractid": {
  12298. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  12299. "type": "string"
  12300. },
  12301. "spotdatetime": {
  12302. "description": "收发货更新时间",
  12303. "type": "string"
  12304. },
  12305. "spotprice": {
  12306. "description": "价格",
  12307. "type": "number"
  12308. },
  12309. "spotremark": {
  12310. "description": "收发货备注",
  12311. "type": "string"
  12312. },
  12313. "spotstatus": {
  12314. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  12315. "type": "integer"
  12316. },
  12317. "tradedate": {
  12318. "description": "交易日(yyyyMMdd)",
  12319. "type": "string"
  12320. },
  12321. "userid": {
  12322. "description": "业务员用户ID",
  12323. "type": "integer"
  12324. },
  12325. "warehouseid": {
  12326. "description": "仓库ID",
  12327. "type": "integer"
  12328. },
  12329. "wrfactortypeid": {
  12330. "description": "仓单要素类型ID",
  12331. "type": "integer"
  12332. },
  12333. "wrstandardid": {
  12334. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12335. "type": "integer"
  12336. }
  12337. }
  12338. },
  12339. "erms3.AddErms2ASApplyReq": {
  12340. "type": "object",
  12341. "required": [
  12342. "asapplyid"
  12343. ],
  12344. "properties": {
  12345. "applybasis": {
  12346. "description": "申请基差",
  12347. "type": "number"
  12348. },
  12349. "applystatus": {
  12350. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12351. "type": "integer"
  12352. },
  12353. "asapplyid": {
  12354. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12355. "type": "integer"
  12356. },
  12357. "asname": {
  12358. "description": "策略名称",
  12359. "type": "string"
  12360. },
  12361. "asno": {
  12362. "description": "策略编号",
  12363. "type": "string"
  12364. },
  12365. "auditid": {
  12366. "description": "审核人",
  12367. "type": "integer"
  12368. },
  12369. "auditremark": {
  12370. "description": "审核备注",
  12371. "type": "string"
  12372. },
  12373. "audittime": {
  12374. "description": "审核时间",
  12375. "type": "string"
  12376. },
  12377. "biztype": {
  12378. "description": "业务类型 - 1:正向套利 2:反向套利",
  12379. "type": "integer"
  12380. },
  12381. "createtime": {
  12382. "description": "创建时间",
  12383. "type": "string"
  12384. },
  12385. "creatorid": {
  12386. "description": "创建人",
  12387. "type": "integer"
  12388. },
  12389. "deliverygoodsid": {
  12390. "description": "现货品种ID",
  12391. "type": "integer"
  12392. },
  12393. "futurequote": {
  12394. "description": "期货额度",
  12395. "type": "number"
  12396. },
  12397. "goodsgroupid": {
  12398. "description": "期货品种ID",
  12399. "type": "integer"
  12400. },
  12401. "marketid": {
  12402. "description": "市场ID",
  12403. "type": "integer"
  12404. },
  12405. "remark": {
  12406. "description": "备注",
  12407. "type": "string"
  12408. },
  12409. "spotquota": {
  12410. "description": "现货额度",
  12411. "type": "number"
  12412. },
  12413. "tradedate": {
  12414. "description": "交易日(yyyyMMdd)",
  12415. "type": "string"
  12416. },
  12417. "userid": {
  12418. "description": "所属机构",
  12419. "type": "integer"
  12420. }
  12421. }
  12422. },
  12423. "erms3.AddErms2SpotTradeApplyReq": {
  12424. "type": "object",
  12425. "required": [
  12426. "spottradeid"
  12427. ],
  12428. "properties": {
  12429. "applyjsondetail": {
  12430. "description": "申请明细(JSON)",
  12431. "type": "string"
  12432. },
  12433. "applystatus": {
  12434. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12435. "type": "integer"
  12436. },
  12437. "areauserid": {
  12438. "description": "所属机构",
  12439. "type": "integer"
  12440. },
  12441. "auditid": {
  12442. "description": "审核人",
  12443. "type": "integer"
  12444. },
  12445. "auditremark": {
  12446. "description": "审核备注",
  12447. "type": "string"
  12448. },
  12449. "audittime": {
  12450. "description": "审核时间",
  12451. "type": "string"
  12452. },
  12453. "createtime": {
  12454. "description": "创建时间",
  12455. "type": "string"
  12456. },
  12457. "creatorid": {
  12458. "description": "创建人",
  12459. "type": "integer"
  12460. },
  12461. "deliverygoodsid": {
  12462. "description": "现货品种ID",
  12463. "type": "integer"
  12464. },
  12465. "futureaccountid": {
  12466. "description": "期货资金账户",
  12467. "type": "integer"
  12468. },
  12469. "goodsgroupid": {
  12470. "description": "期货品种",
  12471. "type": "integer"
  12472. },
  12473. "marketid": {
  12474. "description": "市场ID",
  12475. "type": "integer"
  12476. },
  12477. "remark": {
  12478. "description": "备注",
  12479. "type": "string"
  12480. },
  12481. "spotaccountid": {
  12482. "description": "现货资金账户",
  12483. "type": "integer"
  12484. },
  12485. "spottradeid": {
  12486. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  12487. "type": "integer"
  12488. },
  12489. "spottradename": {
  12490. "description": "业务名称",
  12491. "type": "string"
  12492. },
  12493. "spottradeno": {
  12494. "description": "业务编号",
  12495. "type": "string"
  12496. },
  12497. "tradedate": {
  12498. "description": "交易日(yyyyMMdd)",
  12499. "type": "string"
  12500. },
  12501. "wrstandardid": {
  12502. "description": "仓单标准ID",
  12503. "type": "integer"
  12504. }
  12505. }
  12506. },
  12507. "erms3.AddSpotContractApplyReq": {
  12508. "type": "object",
  12509. "required": [
  12510. "accountid",
  12511. "areauserid",
  12512. "contractno",
  12513. "contracttype",
  12514. "customeraccountid",
  12515. "customeruserid",
  12516. "details",
  12517. "orimargin",
  12518. "signdate"
  12519. ],
  12520. "properties": {
  12521. "accountid": {
  12522. "description": "资金账户ID",
  12523. "type": "integer"
  12524. },
  12525. "areauserid": {
  12526. "description": "所属机构",
  12527. "type": "integer"
  12528. },
  12529. "contractattachment": {
  12530. "description": "合同附件",
  12531. "type": "string"
  12532. },
  12533. "contractno": {
  12534. "description": "现货合同编号",
  12535. "type": "string"
  12536. },
  12537. "contracttype": {
  12538. "description": "现货合同类型 - 1:采购 -1:销售",
  12539. "type": "integer"
  12540. },
  12541. "creatorid": {
  12542. "description": "申请人",
  12543. "type": "integer"
  12544. },
  12545. "customeraccountid": {
  12546. "description": "客户资金账户ID",
  12547. "type": "integer"
  12548. },
  12549. "customeruserid": {
  12550. "description": "客户ID",
  12551. "type": "integer"
  12552. },
  12553. "details": {
  12554. "description": "明细",
  12555. "type": "array",
  12556. "items": {
  12557. "$ref": "#/definitions/erms3.SoptContractDetail"
  12558. }
  12559. },
  12560. "orimargin": {
  12561. "description": "初始保证金",
  12562. "type": "number"
  12563. },
  12564. "remark": {
  12565. "description": "备注",
  12566. "type": "string"
  12567. },
  12568. "signdate": {
  12569. "description": "签订日期",
  12570. "type": "string"
  12571. }
  12572. }
  12573. },
  12574. "erms3.AddSpotContractApplyRsp": {
  12575. "type": "object",
  12576. "required": [
  12577. "contractno"
  12578. ],
  12579. "properties": {
  12580. "contractno": {
  12581. "description": "现货合同编号",
  12582. "type": "string"
  12583. },
  12584. "spotcontractid": {
  12585. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12586. "type": "integer"
  12587. }
  12588. }
  12589. },
  12590. "erms3.AddUserInfoApplyReq": {
  12591. "type": "object",
  12592. "required": [
  12593. "userid"
  12594. ],
  12595. "properties": {
  12596. "accountid": {
  12597. "description": "交易系统帐号Id (加密存储)",
  12598. "type": "integer"
  12599. },
  12600. "areacode": {
  12601. "description": "机构代码",
  12602. "type": "string"
  12603. },
  12604. "areaid": {
  12605. "description": "机构Id",
  12606. "type": "integer"
  12607. },
  12608. "attachment1": {
  12609. "description": "附件1",
  12610. "type": "string"
  12611. },
  12612. "attachment2": {
  12613. "description": "附件2",
  12614. "type": "string"
  12615. },
  12616. "attachment3": {
  12617. "description": "附件3",
  12618. "type": "string"
  12619. },
  12620. "attachment4": {
  12621. "description": "附件4",
  12622. "type": "string"
  12623. },
  12624. "attachment5": {
  12625. "description": "附件5",
  12626. "type": "string"
  12627. },
  12628. "auditedby": {
  12629. "description": "审核人",
  12630. "type": "string"
  12631. },
  12632. "auditime": {
  12633. "description": "审核时间",
  12634. "type": "string"
  12635. },
  12636. "auditsrc": {
  12637. "description": "审核来源 - 1:管理端 2:终端",
  12638. "type": "integer"
  12639. },
  12640. "bankaccount": {
  12641. "description": "银行帐号 (加密存储)",
  12642. "type": "string"
  12643. },
  12644. "bankaccountname": {
  12645. "description": "收款人名称",
  12646. "type": "string"
  12647. },
  12648. "bankcardbackphotourl": {
  12649. "description": "银行卡背面照地址",
  12650. "type": "string"
  12651. },
  12652. "bankcardfrontphotourl": {
  12653. "description": "银行卡正面照地址",
  12654. "type": "string"
  12655. },
  12656. "bankid": {
  12657. "description": "银行编码",
  12658. "type": "string"
  12659. },
  12660. "bankname": {
  12661. "description": "银行名称",
  12662. "type": "string"
  12663. },
  12664. "bankpictureurl": {
  12665. "description": "银行卡正面地址",
  12666. "type": "string"
  12667. },
  12668. "biznature": {
  12669. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12670. "type": "integer"
  12671. },
  12672. "bizscope": {
  12673. "description": "企业经营范围(企业)",
  12674. "type": "string"
  12675. },
  12676. "biztype": {
  12677. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12678. "type": "integer"
  12679. },
  12680. "brokerid": {
  12681. "description": "经纪人ID(加密存储)",
  12682. "type": "string"
  12683. },
  12684. "cardaddress": {
  12685. "description": "证件地址 (加密存储)",
  12686. "type": "string"
  12687. },
  12688. "cardbackphotourl": {
  12689. "description": "背面证件照地址",
  12690. "type": "string"
  12691. },
  12692. "cardfrontphotourl": {
  12693. "description": "正面证件照地址",
  12694. "type": "string"
  12695. },
  12696. "cardnum": {
  12697. "description": "证件号码 (加密存储)",
  12698. "type": "string"
  12699. },
  12700. "cardtype": {
  12701. "description": "证件类型",
  12702. "type": "integer"
  12703. },
  12704. "cityid": {
  12705. "description": "市",
  12706. "type": "integer"
  12707. },
  12708. "company": {
  12709. "description": "公司(个人)",
  12710. "type": "string"
  12711. },
  12712. "contactcardbackphotourl": {
  12713. "description": "联系人证件背面图片地址",
  12714. "type": "string"
  12715. },
  12716. "contactcardfrontphotourl": {
  12717. "description": "联系人证件正面图片地址",
  12718. "type": "string"
  12719. },
  12720. "contactname": {
  12721. "description": "联系人",
  12722. "type": "string"
  12723. },
  12724. "countryid": {
  12725. "description": "国家",
  12726. "type": "integer"
  12727. },
  12728. "createtime": {
  12729. "description": "开户申请时间",
  12730. "type": "string"
  12731. },
  12732. "cusbankid": {
  12733. "description": "签约类型",
  12734. "type": "string"
  12735. },
  12736. "cusbankname": {
  12737. "description": "签约类型名称",
  12738. "type": "string"
  12739. },
  12740. "customername": {
  12741. "description": "客户名称(企业名称)",
  12742. "type": "string"
  12743. },
  12744. "districtid": {
  12745. "description": "地区",
  12746. "type": "integer"
  12747. },
  12748. "email": {
  12749. "description": "Email地址(加密存储)",
  12750. "type": "string"
  12751. },
  12752. "halfbodyphotourl": {
  12753. "description": "半身照地址",
  12754. "type": "string"
  12755. },
  12756. "headurl": {
  12757. "description": "头像地址",
  12758. "type": "string"
  12759. },
  12760. "ipaddress": {
  12761. "description": "IP地址",
  12762. "type": "string"
  12763. },
  12764. "isvalidate": {
  12765. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12766. "type": "string"
  12767. },
  12768. "legalcardbackphotourl": {
  12769. "description": "法人身份证背面照地址",
  12770. "type": "string"
  12771. },
  12772. "legalcardfrontphotourl": {
  12773. "description": "法人身份证正面照地址",
  12774. "type": "string"
  12775. },
  12776. "legalpersonname": {
  12777. "description": "法人姓名(企业)",
  12778. "type": "string"
  12779. },
  12780. "logincode": {
  12781. "description": "登录帐号 (加密存储)",
  12782. "type": "string"
  12783. },
  12784. "memberareaid": {
  12785. "description": "所属会员ID",
  12786. "type": "integer"
  12787. },
  12788. "mobile2": {
  12789. "description": "手机号码[明文-尚志]",
  12790. "type": "string"
  12791. },
  12792. "mobilephone": {
  12793. "description": "手机号码 (加密存储)",
  12794. "type": "string"
  12795. },
  12796. "modifiedby": {
  12797. "description": "修改人帐号",
  12798. "type": "integer"
  12799. },
  12800. "modifiedtime": {
  12801. "description": "修改时间",
  12802. "type": "string"
  12803. },
  12804. "nickname": {
  12805. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12806. "type": "string"
  12807. },
  12808. "openmode": {
  12809. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12810. "type": "integer"
  12811. },
  12812. "otherurl": {
  12813. "description": "其它图片地址[使用分号分隔]",
  12814. "type": "string"
  12815. },
  12816. "postalcode": {
  12817. "description": "邮政编码",
  12818. "type": "string"
  12819. },
  12820. "provinceid": {
  12821. "description": "省",
  12822. "type": "integer"
  12823. },
  12824. "proxystatementurl": {
  12825. "description": "授权委托书",
  12826. "type": "string"
  12827. },
  12828. "qq": {
  12829. "description": "QQ(加密存储",
  12830. "type": "string"
  12831. },
  12832. "referral": {
  12833. "description": "推荐人编码",
  12834. "type": "string"
  12835. },
  12836. "remark": {
  12837. "description": "备注",
  12838. "type": "string"
  12839. },
  12840. "removebeforestatus": {
  12841. "description": "REMOVEBEFORESTATUS",
  12842. "type": "integer"
  12843. },
  12844. "sex": {
  12845. "description": "性别 - 0:女 1:男",
  12846. "type": "integer"
  12847. },
  12848. "signedstatus": {
  12849. "description": "账户一号签签约状态",
  12850. "type": "integer"
  12851. },
  12852. "signpdfurl": {
  12853. "description": "签约pdf文件",
  12854. "type": "string"
  12855. },
  12856. "subbranch": {
  12857. "description": "开户支行",
  12858. "type": "string"
  12859. },
  12860. "taxpayernum": {
  12861. "description": "纳税人识别号",
  12862. "type": "string"
  12863. },
  12864. "telphone": {
  12865. "description": "联系电话(加密存储)",
  12866. "type": "string"
  12867. },
  12868. "userid": {
  12869. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12870. "type": "integer"
  12871. },
  12872. "userinfotype": {
  12873. "description": "用户信息类型 - 1:个人 2:企业",
  12874. "type": "integer"
  12875. },
  12876. "username": {
  12877. "description": "用户姓名",
  12878. "type": "string"
  12879. },
  12880. "userstate": {
  12881. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12882. "type": "integer"
  12883. },
  12884. "usertype": {
  12885. "description": "用户类型 - 1:投资者 2:机构",
  12886. "type": "integer"
  12887. },
  12888. "videourl": {
  12889. "description": "视频地址",
  12890. "type": "string"
  12891. },
  12892. "wechat": {
  12893. "description": "微信号 (加密存储)",
  12894. "type": "string"
  12895. }
  12896. }
  12897. },
  12898. "erms3.CustomerInfo": {
  12899. "type": "object",
  12900. "required": [
  12901. "userid"
  12902. ],
  12903. "properties": {
  12904. "accountids": {
  12905. "description": "资金账户ID列表",
  12906. "type": "array",
  12907. "items": {
  12908. "type": "integer"
  12909. }
  12910. },
  12911. "customername": {
  12912. "description": "名称(企业名称)",
  12913. "type": "string"
  12914. },
  12915. "mobile": {
  12916. "description": "手机号码",
  12917. "type": "string"
  12918. },
  12919. "userid": {
  12920. "description": "用户ID",
  12921. "type": "integer"
  12922. }
  12923. }
  12924. },
  12925. "erms3.ModifyUserInfoApplyReq": {
  12926. "type": "object",
  12927. "required": [
  12928. "userid"
  12929. ],
  12930. "properties": {
  12931. "accountid": {
  12932. "description": "交易系统帐号Id (加密存储)",
  12933. "type": "integer"
  12934. },
  12935. "areacode": {
  12936. "description": "机构代码",
  12937. "type": "string"
  12938. },
  12939. "areaid": {
  12940. "description": "机构Id",
  12941. "type": "integer"
  12942. },
  12943. "attachment1": {
  12944. "description": "附件1",
  12945. "type": "string"
  12946. },
  12947. "attachment2": {
  12948. "description": "附件2",
  12949. "type": "string"
  12950. },
  12951. "attachment3": {
  12952. "description": "附件3",
  12953. "type": "string"
  12954. },
  12955. "attachment4": {
  12956. "description": "附件4",
  12957. "type": "string"
  12958. },
  12959. "attachment5": {
  12960. "description": "附件5",
  12961. "type": "string"
  12962. },
  12963. "auditedby": {
  12964. "description": "审核人",
  12965. "type": "string"
  12966. },
  12967. "auditime": {
  12968. "description": "审核时间",
  12969. "type": "string"
  12970. },
  12971. "auditsrc": {
  12972. "description": "审核来源 - 1:管理端 2:终端",
  12973. "type": "integer"
  12974. },
  12975. "bankaccount": {
  12976. "description": "银行帐号 (加密存储)",
  12977. "type": "string"
  12978. },
  12979. "bankaccountname": {
  12980. "description": "收款人名称",
  12981. "type": "string"
  12982. },
  12983. "bankcardbackphotourl": {
  12984. "description": "银行卡背面照地址",
  12985. "type": "string"
  12986. },
  12987. "bankcardfrontphotourl": {
  12988. "description": "银行卡正面照地址",
  12989. "type": "string"
  12990. },
  12991. "bankid": {
  12992. "description": "银行编码",
  12993. "type": "string"
  12994. },
  12995. "bankname": {
  12996. "description": "银行名称",
  12997. "type": "string"
  12998. },
  12999. "bankpictureurl": {
  13000. "description": "银行卡正面地址",
  13001. "type": "string"
  13002. },
  13003. "biznature": {
  13004. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13005. "type": "integer"
  13006. },
  13007. "bizscope": {
  13008. "description": "企业经营范围(企业)",
  13009. "type": "string"
  13010. },
  13011. "biztype": {
  13012. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13013. "type": "integer"
  13014. },
  13015. "brokerid": {
  13016. "description": "经纪人ID(加密存储)",
  13017. "type": "string"
  13018. },
  13019. "cardaddress": {
  13020. "description": "证件地址 (加密存储)",
  13021. "type": "string"
  13022. },
  13023. "cardbackphotourl": {
  13024. "description": "背面证件照地址",
  13025. "type": "string"
  13026. },
  13027. "cardfrontphotourl": {
  13028. "description": "正面证件照地址",
  13029. "type": "string"
  13030. },
  13031. "cardnum": {
  13032. "description": "证件号码 (加密存储)",
  13033. "type": "string"
  13034. },
  13035. "cardtype": {
  13036. "description": "证件类型",
  13037. "type": "integer"
  13038. },
  13039. "cityid": {
  13040. "description": "市",
  13041. "type": "integer"
  13042. },
  13043. "company": {
  13044. "description": "公司(个人)",
  13045. "type": "string"
  13046. },
  13047. "contactcardbackphotourl": {
  13048. "description": "联系人证件背面图片地址",
  13049. "type": "string"
  13050. },
  13051. "contactcardfrontphotourl": {
  13052. "description": "联系人证件正面图片地址",
  13053. "type": "string"
  13054. },
  13055. "contactname": {
  13056. "description": "联系人",
  13057. "type": "string"
  13058. },
  13059. "countryid": {
  13060. "description": "国家",
  13061. "type": "integer"
  13062. },
  13063. "createtime": {
  13064. "description": "开户申请时间",
  13065. "type": "string"
  13066. },
  13067. "cusbankid": {
  13068. "description": "签约类型",
  13069. "type": "string"
  13070. },
  13071. "cusbankname": {
  13072. "description": "签约类型名称",
  13073. "type": "string"
  13074. },
  13075. "customername": {
  13076. "description": "客户名称(企业名称)",
  13077. "type": "string"
  13078. },
  13079. "districtid": {
  13080. "description": "地区",
  13081. "type": "integer"
  13082. },
  13083. "email": {
  13084. "description": "Email地址(加密存储)",
  13085. "type": "string"
  13086. },
  13087. "halfbodyphotourl": {
  13088. "description": "半身照地址",
  13089. "type": "string"
  13090. },
  13091. "headurl": {
  13092. "description": "头像地址",
  13093. "type": "string"
  13094. },
  13095. "ipaddress": {
  13096. "description": "IP地址",
  13097. "type": "string"
  13098. },
  13099. "isvalidate": {
  13100. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13101. "type": "string"
  13102. },
  13103. "legalcardbackphotourl": {
  13104. "description": "法人身份证背面照地址",
  13105. "type": "string"
  13106. },
  13107. "legalcardfrontphotourl": {
  13108. "description": "法人身份证正面照地址",
  13109. "type": "string"
  13110. },
  13111. "legalpersonname": {
  13112. "description": "法人姓名(企业)",
  13113. "type": "string"
  13114. },
  13115. "logincode": {
  13116. "description": "登录帐号 (加密存储)",
  13117. "type": "string"
  13118. },
  13119. "memberareaid": {
  13120. "description": "所属会员ID",
  13121. "type": "integer"
  13122. },
  13123. "mobile2": {
  13124. "description": "手机号码[明文-尚志]",
  13125. "type": "string"
  13126. },
  13127. "mobilephone": {
  13128. "description": "手机号码 (加密存储)",
  13129. "type": "string"
  13130. },
  13131. "modifiedby": {
  13132. "description": "修改人帐号",
  13133. "type": "integer"
  13134. },
  13135. "modifiedtime": {
  13136. "description": "修改时间",
  13137. "type": "string"
  13138. },
  13139. "nickname": {
  13140. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13141. "type": "string"
  13142. },
  13143. "openmode": {
  13144. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13145. "type": "integer"
  13146. },
  13147. "otherurl": {
  13148. "description": "其它图片地址[使用分号分隔]",
  13149. "type": "string"
  13150. },
  13151. "postalcode": {
  13152. "description": "邮政编码",
  13153. "type": "string"
  13154. },
  13155. "provinceid": {
  13156. "description": "省",
  13157. "type": "integer"
  13158. },
  13159. "proxystatementurl": {
  13160. "description": "授权委托书",
  13161. "type": "string"
  13162. },
  13163. "qq": {
  13164. "description": "QQ(加密存储",
  13165. "type": "string"
  13166. },
  13167. "referral": {
  13168. "description": "推荐人编码",
  13169. "type": "string"
  13170. },
  13171. "remark": {
  13172. "description": "备注",
  13173. "type": "string"
  13174. },
  13175. "removebeforestatus": {
  13176. "description": "REMOVEBEFORESTATUS",
  13177. "type": "integer"
  13178. },
  13179. "sex": {
  13180. "description": "性别 - 0:女 1:男",
  13181. "type": "integer"
  13182. },
  13183. "signedstatus": {
  13184. "description": "账户一号签签约状态",
  13185. "type": "integer"
  13186. },
  13187. "signpdfurl": {
  13188. "description": "签约pdf文件",
  13189. "type": "string"
  13190. },
  13191. "subbranch": {
  13192. "description": "开户支行",
  13193. "type": "string"
  13194. },
  13195. "taxpayernum": {
  13196. "description": "纳税人识别号",
  13197. "type": "string"
  13198. },
  13199. "telphone": {
  13200. "description": "联系电话(加密存储)",
  13201. "type": "string"
  13202. },
  13203. "userid": {
  13204. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13205. "type": "integer"
  13206. },
  13207. "userinfotype": {
  13208. "description": "用户信息类型 - 1:个人 2:企业",
  13209. "type": "integer"
  13210. },
  13211. "username": {
  13212. "description": "用户姓名",
  13213. "type": "string"
  13214. },
  13215. "userstate": {
  13216. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13217. "type": "integer"
  13218. },
  13219. "usertype": {
  13220. "description": "用户类型 - 1:投资者 2:机构",
  13221. "type": "integer"
  13222. },
  13223. "videourl": {
  13224. "description": "视频地址",
  13225. "type": "string"
  13226. },
  13227. "wechat": {
  13228. "description": "微信号 (加密存储)",
  13229. "type": "string"
  13230. }
  13231. }
  13232. },
  13233. "erms3.QryAuditContractRsp": {
  13234. "type": "object",
  13235. "required": [
  13236. "matchcustomername",
  13237. "spotcontractid"
  13238. ],
  13239. "properties": {
  13240. "accountid": {
  13241. "description": "交易员ID",
  13242. "type": "string"
  13243. },
  13244. "applystatus": {
  13245. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13246. "type": "integer"
  13247. },
  13248. "curdeliveryqty": {
  13249. "description": "未交收量",
  13250. "type": "integer"
  13251. },
  13252. "customername": {
  13253. "description": "采购方ID",
  13254. "type": "string"
  13255. },
  13256. "deliverygoodsid": {
  13257. "description": "品种ID",
  13258. "type": "string"
  13259. },
  13260. "deliveryqty": {
  13261. "description": "交收量",
  13262. "type": "integer"
  13263. },
  13264. "enumdicname": {
  13265. "description": "单位名称",
  13266. "type": "string"
  13267. },
  13268. "matchaccountid": {
  13269. "description": "业务员ID",
  13270. "type": "string"
  13271. },
  13272. "matchcustomername": {
  13273. "description": "销售方ID",
  13274. "type": "string"
  13275. },
  13276. "pricedqty": {
  13277. "description": "定价量",
  13278. "type": "number"
  13279. },
  13280. "signdate": {
  13281. "description": "签订日期",
  13282. "type": "string"
  13283. },
  13284. "spotcontractid": {
  13285. "description": "合同ID",
  13286. "type": "string"
  13287. },
  13288. "totaldqty": {
  13289. "description": "合同量",
  13290. "type": "number"
  13291. },
  13292. "unpricedqty": {
  13293. "description": "未定价量",
  13294. "type": "number"
  13295. },
  13296. "wrstandardname": {
  13297. "description": "商品名称",
  13298. "type": "string"
  13299. }
  13300. }
  13301. },
  13302. "erms3.QryPendingBizRsp": {
  13303. "$ref": "#/definitions/models.PendingAuditBizModel"
  13304. },
  13305. "erms3.QueryBusinessInfoRsp": {
  13306. "type": "object",
  13307. "properties": {
  13308. "businessid": {
  13309. "description": "业务ID.",
  13310. "type": "integer"
  13311. },
  13312. "buyamount": {
  13313. "description": "采购额.",
  13314. "type": "number"
  13315. },
  13316. "buyqty": {
  13317. "description": "采购量.",
  13318. "type": "string"
  13319. },
  13320. "futurepl": {
  13321. "description": "期货盈亏.",
  13322. "type": "number"
  13323. },
  13324. "futureqty": {
  13325. "description": "期货敞口.",
  13326. "type": "string"
  13327. },
  13328. "goodsid": {
  13329. "description": "商品名称/商品代码.",
  13330. "type": "string"
  13331. },
  13332. "hedgingqty": {
  13333. "description": "套保量.",
  13334. "type": "string"
  13335. },
  13336. "sellamount": {
  13337. "description": "销售额.",
  13338. "type": "number"
  13339. },
  13340. "sellqty": {
  13341. "description": "销售量.",
  13342. "type": "string"
  13343. },
  13344. "spotmarketvalue": {
  13345. "description": "现货市值.",
  13346. "type": "number"
  13347. },
  13348. "spotpl": {
  13349. "description": "浮动权益.",
  13350. "type": "number"
  13351. },
  13352. "spotqty": {
  13353. "description": "现货量.",
  13354. "type": "string"
  13355. },
  13356. "statu": {
  13357. "description": "状态,0-未结束 1-已结束.",
  13358. "type": "integer"
  13359. },
  13360. "totalpl": {
  13361. "description": "总盈亏.",
  13362. "type": "number"
  13363. },
  13364. "totalqty": {
  13365. "description": "总敞口.",
  13366. "type": "string"
  13367. },
  13368. "type": {
  13369. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  13370. "type": "integer"
  13371. }
  13372. }
  13373. },
  13374. "erms3.QuerySpotContractAppleFormRsp": {
  13375. "type": "object",
  13376. "properties": {
  13377. "goodses": {
  13378. "description": "合约列表",
  13379. "type": "array",
  13380. "items": {
  13381. "$ref": "#/definitions/models.GoodsIDAndName"
  13382. }
  13383. },
  13384. "oppositeusers": {
  13385. "description": "对方账号列表",
  13386. "type": "array",
  13387. "items": {
  13388. "$ref": "#/definitions/erms3.CustomerInfo"
  13389. }
  13390. },
  13391. "ouruser": {
  13392. "description": "我方账号",
  13393. "type": "object",
  13394. "$ref": "#/definitions/erms3.CustomerInfo"
  13395. },
  13396. "warehouseinfos": {
  13397. "description": "仓库信息列表",
  13398. "type": "array",
  13399. "items": {
  13400. "$ref": "#/definitions/models.Warehouseinfo"
  13401. }
  13402. },
  13403. "wrstandards": {
  13404. "description": "仓单标准列表",
  13405. "type": "array",
  13406. "items": {
  13407. "$ref": "#/definitions/models.WRStandardInfo"
  13408. }
  13409. }
  13410. }
  13411. },
  13412. "erms3.QuerySpotContractInfoRsp": {
  13413. "type": "object",
  13414. "properties": {
  13415. "accountid": {
  13416. "description": "表示交易员ID.",
  13417. "type": "integer"
  13418. },
  13419. "curdeliveryqty": {
  13420. "description": "表示未交收量.",
  13421. "type": "number"
  13422. },
  13423. "customername": {
  13424. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  13425. "type": "string"
  13426. },
  13427. "deliverygoodsid": {
  13428. "description": "表示品种ID.",
  13429. "type": "string"
  13430. },
  13431. "deliveryqty": {
  13432. "description": "表示交收量.",
  13433. "type": "number"
  13434. },
  13435. "matchaccountid": {
  13436. "description": "表示业务员ID.",
  13437. "type": "integer"
  13438. },
  13439. "matchcustomername": {
  13440. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  13441. "type": "string"
  13442. },
  13443. "priceqty": {
  13444. "description": "表示定价量.",
  13445. "type": "number"
  13446. },
  13447. "relatedbizid": {
  13448. "description": "表示业务ID.",
  13449. "type": "string"
  13450. },
  13451. "signdate": {
  13452. "description": "表示签订日期.",
  13453. "type": "string"
  13454. },
  13455. "spotcontractid": {
  13456. "description": "合同ID",
  13457. "type": "string"
  13458. },
  13459. "status": {
  13460. "description": "表示状态,0-履约中 1-已完成.",
  13461. "type": "integer"
  13462. },
  13463. "totalqty": {
  13464. "description": "表示合同量.",
  13465. "type": "number"
  13466. },
  13467. "unpricedqty": {
  13468. "description": "表示未定价量.",
  13469. "type": "number"
  13470. },
  13471. "wrstandardname": {
  13472. "description": "表示商品ID.",
  13473. "type": "string"
  13474. }
  13475. }
  13476. },
  13477. "erms3.QueryUserInfoAppliesRsp": {
  13478. "type": "object",
  13479. "required": [
  13480. "userid"
  13481. ],
  13482. "properties": {
  13483. "biznature": {
  13484. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13485. "type": "integer"
  13486. },
  13487. "contactname": {
  13488. "description": "联系人",
  13489. "type": "string"
  13490. },
  13491. "createtime": {
  13492. "description": "开户申请时间",
  13493. "type": "string"
  13494. },
  13495. "userid": {
  13496. "description": "用户ID(自增ID)",
  13497. "type": "integer"
  13498. },
  13499. "userinfotype": {
  13500. "description": "用户信息类型 - 1:个人 2:企业",
  13501. "type": "integer"
  13502. },
  13503. "username": {
  13504. "description": "用户姓名",
  13505. "type": "string"
  13506. },
  13507. "userstate": {
  13508. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13509. "type": "integer"
  13510. }
  13511. }
  13512. },
  13513. "erms3.QueryUserInfosRsp": {
  13514. "type": "object",
  13515. "required": [
  13516. "userid"
  13517. ],
  13518. "properties": {
  13519. "biznature": {
  13520. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13521. "type": "integer"
  13522. },
  13523. "contactname": {
  13524. "description": "联系人",
  13525. "type": "string"
  13526. },
  13527. "customername": {
  13528. "description": "客户名称(企业名称)",
  13529. "type": "string"
  13530. },
  13531. "userid": {
  13532. "description": "用户ID",
  13533. "type": "integer"
  13534. },
  13535. "userinfotype": {
  13536. "description": "用户信息类型 - 1:个人 2:企业",
  13537. "type": "integer"
  13538. },
  13539. "userstatus": {
  13540. "description": "用户状态 - 1:正常 2:注销",
  13541. "type": "integer"
  13542. }
  13543. }
  13544. },
  13545. "erms3.SoptContractDetail": {
  13546. "type": "object",
  13547. "required": [
  13548. "deliverygoodsid",
  13549. "producttype",
  13550. "unitname",
  13551. "warehouseid",
  13552. "wrstandardid",
  13553. "wrstandardname"
  13554. ],
  13555. "properties": {
  13556. "deliverygoodsdesc": {
  13557. "description": "现货品种说明",
  13558. "type": "string"
  13559. },
  13560. "deliverygoodsid": {
  13561. "description": "现货品种ID",
  13562. "type": "integer"
  13563. },
  13564. "deliverygoodsname": {
  13565. "description": "现货品种名称",
  13566. "type": "string"
  13567. },
  13568. "pointdesc": {
  13569. "description": "点价描述",
  13570. "type": "string"
  13571. },
  13572. "producttype": {
  13573. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13574. "type": "integer"
  13575. },
  13576. "producttypename": {
  13577. "description": "产品类型名称",
  13578. "type": "string"
  13579. },
  13580. "spotPointOrderVoList": {
  13581. "description": "点价列表",
  13582. "type": "array",
  13583. "items": {
  13584. "$ref": "#/definitions/erms3.SpotPointOrder"
  13585. }
  13586. },
  13587. "spotPriceOrderList": {
  13588. "description": "定价列表",
  13589. "type": "array",
  13590. "items": {
  13591. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13592. }
  13593. },
  13594. "unitname": {
  13595. "description": "单位名称",
  13596. "type": "string"
  13597. },
  13598. "warehouseid": {
  13599. "description": "仓库ID",
  13600. "type": "integer"
  13601. },
  13602. "warehousename": {
  13603. "description": "仓库名称",
  13604. "type": "string"
  13605. },
  13606. "wrstandardid": {
  13607. "description": "交易标的ID",
  13608. "type": "integer"
  13609. },
  13610. "wrstandardname": {
  13611. "description": "交易标的名称",
  13612. "type": "string"
  13613. }
  13614. }
  13615. },
  13616. "erms3.SpotPointOrder": {
  13617. "type": "object",
  13618. "required": [
  13619. "basic",
  13620. "goodsid",
  13621. "qty"
  13622. ],
  13623. "properties": {
  13624. "basic": {
  13625. "description": "基差",
  13626. "type": "number"
  13627. },
  13628. "deliveryenddate": {
  13629. "description": "交收结束日期",
  13630. "type": "string"
  13631. },
  13632. "deliverystartdate": {
  13633. "description": "交收开始日期",
  13634. "type": "string"
  13635. },
  13636. "enddate": {
  13637. "description": "点价结束日期",
  13638. "type": "string"
  13639. },
  13640. "goodsid": {
  13641. "description": "商品ID",
  13642. "type": "integer"
  13643. },
  13644. "goodsname": {
  13645. "description": "商品名称",
  13646. "type": "string"
  13647. },
  13648. "qty": {
  13649. "description": "数量",
  13650. "type": "number"
  13651. },
  13652. "startdate": {
  13653. "description": "点价开始日期",
  13654. "type": "string"
  13655. }
  13656. }
  13657. },
  13658. "erms3.SpotPriceOrder": {
  13659. "type": "object",
  13660. "required": [
  13661. "amount",
  13662. "price",
  13663. "qty"
  13664. ],
  13665. "properties": {
  13666. "amount": {
  13667. "description": "金额",
  13668. "type": "number"
  13669. },
  13670. "deliveryenddate": {
  13671. "description": "交收结束日期",
  13672. "type": "string"
  13673. },
  13674. "deliverystartdate": {
  13675. "description": "交收开始日期",
  13676. "type": "string"
  13677. },
  13678. "price": {
  13679. "description": "价格",
  13680. "type": "number"
  13681. },
  13682. "qty": {
  13683. "description": "数量",
  13684. "type": "number"
  13685. }
  13686. }
  13687. },
  13688. "hsby.GetHsbyMyCountRsp": {
  13689. "type": "object",
  13690. "properties": {
  13691. "myCouponCount": {
  13692. "description": "我的优惠卷数量",
  13693. "type": "integer"
  13694. },
  13695. "myOrderDetailListingCount": {
  13696. "description": "我的订单求购中数量",
  13697. "type": "integer"
  13698. },
  13699. "myOrderDetailPreCount": {
  13700. "description": "我的订单抢购中数量",
  13701. "type": "integer"
  13702. },
  13703. "myPackageUnReceiveCount": {
  13704. "description": "我的包裹待收货数量",
  13705. "type": "integer"
  13706. },
  13707. "myPackageUnSendCount": {
  13708. "description": "我的包裹待发货数量",
  13709. "type": "integer"
  13710. },
  13711. "myPayOrderCount": {
  13712. "description": "我的订单待付款数量",
  13713. "type": "integer"
  13714. }
  13715. }
  13716. },
  13717. "hsby.QueryProvincesAndCitiesRsp": {
  13718. "type": "object",
  13719. "properties": {
  13720. "cities": {
  13721. "description": "市",
  13722. "type": "array",
  13723. "items": {
  13724. "$ref": "#/definitions/models.Division"
  13725. }
  13726. },
  13727. "province": {
  13728. "description": "省",
  13729. "type": "object",
  13730. "$ref": "#/definitions/models.Division"
  13731. }
  13732. }
  13733. },
  13734. "models.AreaSpotModel": {
  13735. "type": "object",
  13736. "properties": {
  13737. "areauserid": {
  13738. "description": "所属机构",
  13739. "type": "integer"
  13740. },
  13741. "decreaseqty": {
  13742. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13743. "type": "number"
  13744. },
  13745. "increaseqty": {
  13746. "description": "增加数量=销售计划数量+采购已定价数量",
  13747. "type": "number"
  13748. },
  13749. "oritoalspotqty": {
  13750. "description": "昨日数量",
  13751. "type": "number"
  13752. },
  13753. "totalspotqty": {
  13754. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13755. "type": "number"
  13756. },
  13757. "updatetime": {
  13758. "description": "更新时间",
  13759. "type": "string"
  13760. },
  13761. "wrstandardcode": {
  13762. "description": "现货品种代码",
  13763. "type": "string"
  13764. },
  13765. "wrstandardid": {
  13766. "description": "现货商品ID",
  13767. "type": "integer"
  13768. },
  13769. "wrstandardname": {
  13770. "description": "现货品种",
  13771. "type": "string"
  13772. }
  13773. }
  13774. },
  13775. "models.Arearole": {
  13776. "type": "object",
  13777. "required": [
  13778. "roletype",
  13779. "userid"
  13780. ],
  13781. "properties": {
  13782. "createtime": {
  13783. "description": "创建时间",
  13784. "type": "string"
  13785. },
  13786. "creatorid": {
  13787. "description": "创建人ID",
  13788. "type": "integer"
  13789. },
  13790. "fromuserid": {
  13791. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  13792. "type": "integer"
  13793. },
  13794. "isreturnscore": {
  13795. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13796. "type": "integer"
  13797. },
  13798. "modifierid": {
  13799. "description": "修改人ID",
  13800. "type": "integer"
  13801. },
  13802. "modifytime": {
  13803. "description": "修改时间",
  13804. "type": "string"
  13805. },
  13806. "orgtype": {
  13807. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  13808. "type": "integer"
  13809. },
  13810. "outuserid": {
  13811. "description": "外部账户[场外期权做市商]",
  13812. "type": "string"
  13813. },
  13814. "parentuserid": {
  13815. "description": "上级组织机构(组织机构)",
  13816. "type": "integer"
  13817. },
  13818. "roletype": {
  13819. "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:门店",
  13820. "type": "integer"
  13821. },
  13822. "rootuserid": {
  13823. "description": "顶级组织机构用户ID(组织机构)",
  13824. "type": "integer"
  13825. },
  13826. "shoppassword": {
  13827. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13828. "type": "string"
  13829. },
  13830. "sublevelpath": {
  13831. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13832. "type": "string"
  13833. },
  13834. "suborgtype": {
  13835. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  13836. "type": "integer"
  13837. },
  13838. "tradeaccountid": {
  13839. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13840. "type": "integer"
  13841. },
  13842. "transurl": {
  13843. "description": "物流地址(物流机构)",
  13844. "type": "string"
  13845. },
  13846. "userid": {
  13847. "description": "机构用户ID其他做市关系,都设置为 1",
  13848. "type": "integer"
  13849. }
  13850. }
  13851. },
  13852. "models.Clientfixedadconfig": {
  13853. "type": "object",
  13854. "required": [
  13855. "adsort",
  13856. "adtype"
  13857. ],
  13858. "properties": {
  13859. "adsort": {
  13860. "description": "排序",
  13861. "type": "integer"
  13862. },
  13863. "adtype": {
  13864. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13865. "type": "integer"
  13866. },
  13867. "areauserid": {
  13868. "description": "所属机构ID",
  13869. "type": "integer"
  13870. },
  13871. "createdate": {
  13872. "description": "创建时间",
  13873. "type": "string"
  13874. },
  13875. "creatorid": {
  13876. "description": "创建人",
  13877. "type": "integer"
  13878. },
  13879. "imagepath": {
  13880. "description": "图片",
  13881. "type": "string"
  13882. },
  13883. "isshow": {
  13884. "description": "是否展示 - 0:不展示 1:展示",
  13885. "type": "integer"
  13886. },
  13887. "modifierid": {
  13888. "description": "操作人",
  13889. "type": "integer"
  13890. },
  13891. "recsize": {
  13892. "description": "推荐尺寸",
  13893. "type": "string"
  13894. },
  13895. "title": {
  13896. "description": "标题",
  13897. "type": "string"
  13898. },
  13899. "updatedate": {
  13900. "description": "更新时间",
  13901. "type": "string"
  13902. },
  13903. "urlcontent": {
  13904. "description": "链接(地址或商品ID)",
  13905. "type": "string"
  13906. },
  13907. "urltype": {
  13908. "description": "链接类型 - 1:直接地址 2:商品ID",
  13909. "type": "integer"
  13910. }
  13911. }
  13912. },
  13913. "models.Division": {
  13914. "type": "object",
  13915. "required": [
  13916. "autoid",
  13917. "divisioncode"
  13918. ],
  13919. "properties": {
  13920. "autoid": {
  13921. "description": "自增ID",
  13922. "type": "integer"
  13923. },
  13924. "divisioncode": {
  13925. "description": "行政代码",
  13926. "type": "string"
  13927. },
  13928. "divisionlevel": {
  13929. "description": "行政级别",
  13930. "type": "string"
  13931. },
  13932. "divisionname": {
  13933. "description": "行政名称",
  13934. "type": "string"
  13935. },
  13936. "modifierid": {
  13937. "description": "修改人",
  13938. "type": "integer"
  13939. },
  13940. "modifytime": {
  13941. "description": "修改时间",
  13942. "type": "string"
  13943. },
  13944. "parentcode": {
  13945. "description": "上级行政代码",
  13946. "type": "string"
  13947. },
  13948. "pathname": {
  13949. "description": "路径名称",
  13950. "type": "string"
  13951. },
  13952. "postcode": {
  13953. "description": "邮政编码",
  13954. "type": "string"
  13955. },
  13956. "separablename": {
  13957. "description": "可拆分的全称",
  13958. "type": "string"
  13959. },
  13960. "shortcode": {
  13961. "description": "地区简码",
  13962. "type": "string"
  13963. }
  13964. }
  13965. },
  13966. "models.Enumdicitem": {
  13967. "type": "object",
  13968. "required": [
  13969. "autoid",
  13970. "enumdiccode",
  13971. "enumdicid",
  13972. "enumitemname"
  13973. ],
  13974. "properties": {
  13975. "autoid": {
  13976. "description": "自增ID",
  13977. "type": "integer"
  13978. },
  13979. "bankmappedvalue": {
  13980. "description": "银行服务对应值",
  13981. "type": "string"
  13982. },
  13983. "enumdiccode": {
  13984. "description": "所属枚举代码",
  13985. "type": "string"
  13986. },
  13987. "enumdicid": {
  13988. "description": "所属枚举ID",
  13989. "type": "integer"
  13990. },
  13991. "enumdicname": {
  13992. "description": "枚举项名称",
  13993. "type": "string"
  13994. },
  13995. "enumitemname": {
  13996. "description": "枚举项值",
  13997. "type": "integer"
  13998. },
  13999. "enumitemstatus": {
  14000. "description": "枚举项状态 - 1.启用 2.不启用",
  14001. "type": "integer"
  14002. },
  14003. "enumitemvalue": {
  14004. "description": "通用值 - [币种通用简写]",
  14005. "type": "string"
  14006. },
  14007. "param1": {
  14008. "description": "参数1[币种:币种小数位]",
  14009. "type": "string"
  14010. },
  14011. "param2": {
  14012. "description": "参数1[币种:币种显示单位]",
  14013. "type": "string"
  14014. },
  14015. "remark": {
  14016. "description": "备注",
  14017. "type": "string"
  14018. }
  14019. }
  14020. },
  14021. "models.Ermcp3AreaSpot": {
  14022. "type": "object",
  14023. "properties": {
  14024. "areauserid": {
  14025. "description": "所属机构",
  14026. "type": "integer"
  14027. },
  14028. "decreaseqty": {
  14029. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14030. "type": "number"
  14031. },
  14032. "deliverygoodscode": {
  14033. "description": "现货品种代码",
  14034. "type": "string"
  14035. },
  14036. "deliverygoodsid": {
  14037. "description": "现货品种id",
  14038. "type": "integer"
  14039. },
  14040. "deliverygoodsname": {
  14041. "description": "现货品种名称",
  14042. "type": "string"
  14043. },
  14044. "enumdicname": {
  14045. "description": "单位名称",
  14046. "type": "string"
  14047. },
  14048. "goodsunitid": {
  14049. "description": "现货品种单位id",
  14050. "type": "integer"
  14051. },
  14052. "increaseqty": {
  14053. "description": "增加数量=销售计划数量+采购已定价数量",
  14054. "type": "number"
  14055. },
  14056. "oritoalspotqty": {
  14057. "description": "昨日数量",
  14058. "type": "number"
  14059. },
  14060. "totalspotqty": {
  14061. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14062. "type": "number"
  14063. },
  14064. "updatetime": {
  14065. "description": "更新时间",
  14066. "type": "string"
  14067. }
  14068. }
  14069. },
  14070. "models.Ermcp3AreaSpotDetail": {
  14071. "type": "object",
  14072. "properties": {
  14073. "contracttype": {
  14074. "description": "合同类型 1-采购 -1-销售",
  14075. "type": "integer"
  14076. },
  14077. "createtime": {
  14078. "description": "创建时间",
  14079. "type": "string"
  14080. },
  14081. "deliverygoodscode": {
  14082. "description": "现货品种代码",
  14083. "type": "string"
  14084. },
  14085. "deliverygoodsid": {
  14086. "description": "现货品种id",
  14087. "type": "integer"
  14088. },
  14089. "deliverygoodsname": {
  14090. "description": "现货品种名称",
  14091. "type": "string"
  14092. },
  14093. "enumdicname": {
  14094. "description": "现货商品单位名称",
  14095. "type": "string"
  14096. },
  14097. "logtype": {
  14098. "description": "记录类型 1-套保 2-现货合同",
  14099. "type": "integer"
  14100. },
  14101. "qty": {
  14102. "description": "数量",
  14103. "type": "number"
  14104. },
  14105. "recordname": {
  14106. "description": "类型名称",
  14107. "type": "string"
  14108. },
  14109. "relatedid": {
  14110. "description": "套保计划ID/现货合同ID",
  14111. "type": "string"
  14112. },
  14113. "relatedno": {
  14114. "description": "编号",
  14115. "type": "string"
  14116. },
  14117. "strtime": {
  14118. "description": "时间",
  14119. "type": "string"
  14120. }
  14121. }
  14122. },
  14123. "models.Ermcp3AreaSpotPLReport": {
  14124. "type": "object",
  14125. "properties": {
  14126. "accountid": {
  14127. "description": "期货账户ID (作废, 默认为0)",
  14128. "type": "integer"
  14129. },
  14130. "accountname": {
  14131. "description": "机构名称",
  14132. "type": "string"
  14133. },
  14134. "actualpl": {
  14135. "description": "现货损益",
  14136. "type": "number"
  14137. },
  14138. "areauserid": {
  14139. "description": "所属机构\\交易用户ID",
  14140. "type": "integer"
  14141. },
  14142. "begindate": {
  14143. "description": "开始交易日",
  14144. "type": "string"
  14145. },
  14146. "biztype": {
  14147. "description": "业务类型 - 1:套保 2:套利",
  14148. "type": "integer"
  14149. },
  14150. "brandname": {
  14151. "description": "品牌名称",
  14152. "type": "string"
  14153. },
  14154. "curamount": {
  14155. "description": "期末额",
  14156. "type": "number"
  14157. },
  14158. "curaverageprice": {
  14159. "description": "期末均价",
  14160. "type": "number"
  14161. },
  14162. "curbuyamount": {
  14163. "description": "期末采购总额",
  14164. "type": "number"
  14165. },
  14166. "curbuyqty": {
  14167. "description": "期末采购总量",
  14168. "type": "number"
  14169. },
  14170. "curmarketvalue": {
  14171. "description": "参考市值(期末市值)",
  14172. "type": "number"
  14173. },
  14174. "curqty": {
  14175. "description": "期末量",
  14176. "type": "number"
  14177. },
  14178. "currencyid": {
  14179. "description": "结算币种ID【原值】",
  14180. "type": "integer"
  14181. },
  14182. "currencyname": {
  14183. "description": "币种名称",
  14184. "type": "string"
  14185. },
  14186. "cursellamount": {
  14187. "description": "期末销售总额",
  14188. "type": "number"
  14189. },
  14190. "cursellqty": {
  14191. "description": "期末销售总量",
  14192. "type": "number"
  14193. },
  14194. "curspotprice": {
  14195. "description": "参考市价(最新价)",
  14196. "type": "number"
  14197. },
  14198. "cycletime": {
  14199. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14200. "type": "string"
  14201. },
  14202. "cycletype": {
  14203. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14204. "type": "integer"
  14205. },
  14206. "deliverygoodscode": {
  14207. "description": "现货商品代码",
  14208. "type": "string"
  14209. },
  14210. "deliverygoodsid": {
  14211. "description": "现货品种ID",
  14212. "type": "integer"
  14213. },
  14214. "deliverygoodsname": {
  14215. "description": "现货商品名称",
  14216. "type": "string"
  14217. },
  14218. "enddate": {
  14219. "description": "结束交易日",
  14220. "type": "string"
  14221. },
  14222. "enumdicname": {
  14223. "description": "现货商品单位名称",
  14224. "type": "string"
  14225. },
  14226. "floatpl": {
  14227. "description": "浮动损益",
  14228. "type": "number"
  14229. },
  14230. "goodsunitid": {
  14231. "description": "现货商品单位id",
  14232. "type": "integer"
  14233. },
  14234. "oriamount": {
  14235. "description": "期初额",
  14236. "type": "number"
  14237. },
  14238. "oriaverageprice": {
  14239. "description": "期初均价",
  14240. "type": "number"
  14241. },
  14242. "oribuyamount": {
  14243. "description": "期初采购总额",
  14244. "type": "number"
  14245. },
  14246. "oribuyqty": {
  14247. "description": "期初采购总量",
  14248. "type": "number"
  14249. },
  14250. "oriqty": {
  14251. "description": "期初量",
  14252. "type": "number"
  14253. },
  14254. "orisellamount": {
  14255. "description": "期初销售总额",
  14256. "type": "number"
  14257. },
  14258. "orisellqty": {
  14259. "description": "期初销售总量",
  14260. "type": "number"
  14261. },
  14262. "reckondate": {
  14263. "description": "日照时期(yyyyMMdd)",
  14264. "type": "string"
  14265. },
  14266. "spotgoodsbrandid": {
  14267. "description": "现货品牌ID",
  14268. "type": "integer"
  14269. },
  14270. "todaybuyamount": {
  14271. "description": "今日采购额(今采购额)",
  14272. "type": "number"
  14273. },
  14274. "todaybuyaverageprice": {
  14275. "description": "今日采购均价",
  14276. "type": "number"
  14277. },
  14278. "todaybuyqty": {
  14279. "description": "今日采购量(今采购量)",
  14280. "type": "number"
  14281. },
  14282. "todayinqty": {
  14283. "description": "今日入库量(今入库量)",
  14284. "type": "number"
  14285. },
  14286. "todayoutqty": {
  14287. "description": "今日出库量(今出库量)",
  14288. "type": "number"
  14289. },
  14290. "todaysellamount": {
  14291. "description": "今日销售额(今销售额)",
  14292. "type": "number"
  14293. },
  14294. "todaysellaverageprice": {
  14295. "description": "今日销售均价",
  14296. "type": "number"
  14297. },
  14298. "todaysellqty": {
  14299. "description": "今日销售量(今销售量)",
  14300. "type": "number"
  14301. },
  14302. "unitid": {
  14303. "description": "品类单位id",
  14304. "type": "integer"
  14305. },
  14306. "unitidname": {
  14307. "description": "品类单位名称",
  14308. "type": "string"
  14309. },
  14310. "updatetime": {
  14311. "description": "更新时间",
  14312. "type": "string"
  14313. },
  14314. "wrfactortypeid": {
  14315. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14316. "type": "integer"
  14317. },
  14318. "wrstandardcode": {
  14319. "description": "品类代码",
  14320. "type": "string"
  14321. },
  14322. "wrstandardid": {
  14323. "description": "现货品类ID",
  14324. "type": "integer"
  14325. },
  14326. "wrstandardname": {
  14327. "description": "品类名称",
  14328. "type": "string"
  14329. }
  14330. }
  14331. },
  14332. "models.Ermcp3AreaStock": {
  14333. "type": "object",
  14334. "required": [
  14335. "userid"
  14336. ],
  14337. "properties": {
  14338. "brandname": {
  14339. "description": "品牌名称",
  14340. "type": "string"
  14341. },
  14342. "curstock": {
  14343. "description": "期末库存量(今日量)",
  14344. "type": "number"
  14345. },
  14346. "deliverygoodscode": {
  14347. "description": "现货品种代码",
  14348. "type": "string"
  14349. },
  14350. "deliverygoodsid": {
  14351. "description": "现货品种id",
  14352. "type": "integer"
  14353. },
  14354. "deliverygoodsname": {
  14355. "description": "现货品种名称",
  14356. "type": "string"
  14357. },
  14358. "enumdicname": {
  14359. "description": "单位名称",
  14360. "type": "string"
  14361. },
  14362. "goodsunitid": {
  14363. "description": "现货商品单位id",
  14364. "type": "integer"
  14365. },
  14366. "oristock": {
  14367. "description": "期初库存量(昨日量)",
  14368. "type": "number"
  14369. },
  14370. "spotgoodsbrandid": {
  14371. "description": "现货品牌ID",
  14372. "type": "integer"
  14373. },
  14374. "todaybuyinqty": {
  14375. "description": "今日采购入库量",
  14376. "type": "number"
  14377. },
  14378. "todayproduceinqty": {
  14379. "description": "今日生产入库量",
  14380. "type": "number"
  14381. },
  14382. "todayproduceoutqty": {
  14383. "description": "今日生产出库量",
  14384. "type": "number"
  14385. },
  14386. "todayselloutqty": {
  14387. "description": "今日销售出库量",
  14388. "type": "number"
  14389. },
  14390. "unitid": {
  14391. "description": "单位id",
  14392. "type": "integer"
  14393. },
  14394. "updatetime": {
  14395. "description": "更新时间",
  14396. "type": "string"
  14397. },
  14398. "userid": {
  14399. "description": "机构ID",
  14400. "type": "integer"
  14401. },
  14402. "username": {
  14403. "description": "机构名称",
  14404. "type": "string"
  14405. },
  14406. "warehousecode": {
  14407. "description": "仓库代码",
  14408. "type": "string"
  14409. },
  14410. "warehouseinfoid": {
  14411. "description": "仓库ID",
  14412. "type": "string"
  14413. },
  14414. "warehousename": {
  14415. "description": "仓库名称",
  14416. "type": "string"
  14417. },
  14418. "warehousetype": {
  14419. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14420. "type": "integer"
  14421. },
  14422. "wrstandardcode": {
  14423. "description": "品类代码",
  14424. "type": "string"
  14425. },
  14426. "wrstandardid": {
  14427. "description": "品类ID",
  14428. "type": "string"
  14429. },
  14430. "wrstandardname": {
  14431. "description": "品类名称",
  14432. "type": "string"
  14433. }
  14434. }
  14435. },
  14436. "models.Ermcp3AreaStockApply": {
  14437. "type": "object",
  14438. "properties": {
  14439. "applyid": {
  14440. "description": "申请人",
  14441. "type": "integer"
  14442. },
  14443. "applyname": {
  14444. "description": "申请人名称",
  14445. "type": "string"
  14446. },
  14447. "applyremark": {
  14448. "description": "申请备注",
  14449. "type": "string"
  14450. },
  14451. "applysrc": {
  14452. "description": "申请来源 - 1:管理端 2:终端",
  14453. "type": "integer"
  14454. },
  14455. "applystatus": {
  14456. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14457. "type": "integer"
  14458. },
  14459. "applytime": {
  14460. "description": "申请时间",
  14461. "type": "string"
  14462. },
  14463. "auditid": {
  14464. "description": "审核人",
  14465. "type": "integer"
  14466. },
  14467. "auditname": {
  14468. "description": "审核人名称",
  14469. "type": "string"
  14470. },
  14471. "auditremark": {
  14472. "description": "审核备注",
  14473. "type": "string"
  14474. },
  14475. "auditsrc": {
  14476. "description": "审核来源 - 1:管理端 2:终端",
  14477. "type": "integer"
  14478. },
  14479. "audittime": {
  14480. "description": "审核时间",
  14481. "type": "string"
  14482. },
  14483. "audittradedate": {
  14484. "description": "审核交易日(yyyyMMdd)",
  14485. "type": "string"
  14486. },
  14487. "brandname": {
  14488. "description": "品牌名称",
  14489. "type": "string"
  14490. },
  14491. "buynickname": {
  14492. "description": "采购方昵称",
  14493. "type": "string"
  14494. },
  14495. "buyuserid": {
  14496. "description": "采购方userid",
  14497. "type": "integer"
  14498. },
  14499. "buyusername": {
  14500. "description": "采购方名称",
  14501. "type": "string"
  14502. },
  14503. "contractno": {
  14504. "description": "合同编号",
  14505. "type": "string"
  14506. },
  14507. "contractqty": {
  14508. "description": "合同量",
  14509. "type": "number"
  14510. },
  14511. "contracttype": {
  14512. "description": "现货合同类型 - 1:采购 -1:销售",
  14513. "type": "integer"
  14514. },
  14515. "deliverygoodscode": {
  14516. "description": "现货品种代码",
  14517. "type": "string"
  14518. },
  14519. "deliverygoodsid": {
  14520. "description": "现货品种id",
  14521. "type": "integer"
  14522. },
  14523. "deliverygoodsname": {
  14524. "description": "现货品种名称",
  14525. "type": "string"
  14526. },
  14527. "detailjson": {
  14528. "description": "明细数据",
  14529. "type": "string"
  14530. },
  14531. "enumdicname": {
  14532. "description": "现货商品单位名称",
  14533. "type": "string"
  14534. },
  14535. "inoutapplyid": {
  14536. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14537. "type": "string"
  14538. },
  14539. "inouttype": {
  14540. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  14541. "type": "integer"
  14542. },
  14543. "pricetype": {
  14544. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14545. "type": "integer"
  14546. },
  14547. "qty": {
  14548. "description": "数量",
  14549. "type": "number"
  14550. },
  14551. "sellnickname": {
  14552. "description": "销售方昵称",
  14553. "type": "string"
  14554. },
  14555. "selluserid": {
  14556. "description": "销售方userid",
  14557. "type": "integer"
  14558. },
  14559. "sellusername": {
  14560. "description": "销售方名称",
  14561. "type": "string"
  14562. },
  14563. "spotcontractid": {
  14564. "description": "关联现货合同ID",
  14565. "type": "string"
  14566. },
  14567. "spotgoodsbrandid": {
  14568. "description": "现货品牌ID",
  14569. "type": "integer"
  14570. },
  14571. "unitid": {
  14572. "description": "单位id",
  14573. "type": "integer"
  14574. },
  14575. "userid": {
  14576. "description": "机构ID",
  14577. "type": "integer"
  14578. },
  14579. "warehousecode": {
  14580. "description": "仓库代码",
  14581. "type": "string"
  14582. },
  14583. "warehouseinfoid": {
  14584. "description": "现货仓库ID",
  14585. "type": "string"
  14586. },
  14587. "warehousename": {
  14588. "description": "仓库名称",
  14589. "type": "string"
  14590. },
  14591. "warehousetype": {
  14592. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14593. "type": "integer"
  14594. },
  14595. "wrstandardcode": {
  14596. "description": "品类代码",
  14597. "type": "string"
  14598. },
  14599. "wrstandardid": {
  14600. "description": "品类ID",
  14601. "type": "integer"
  14602. },
  14603. "wrstandardname": {
  14604. "description": "品类名称",
  14605. "type": "string"
  14606. }
  14607. }
  14608. },
  14609. "models.Ermcp3AreaStockApplySum": {
  14610. "type": "object",
  14611. "properties": {
  14612. "brandname": {
  14613. "description": "品牌名称",
  14614. "type": "string"
  14615. },
  14616. "inouttype": {
  14617. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14618. "type": "integer"
  14619. },
  14620. "spotcontractid": {
  14621. "description": "关联现货合同ID",
  14622. "type": "string"
  14623. },
  14624. "spotgoodsbrandid": {
  14625. "description": "品牌id",
  14626. "type": "integer"
  14627. },
  14628. "totalqty": {
  14629. "description": "总数量",
  14630. "type": "number"
  14631. },
  14632. "wrstandardid": {
  14633. "description": "品类id",
  14634. "type": "integer"
  14635. },
  14636. "wrstandardname": {
  14637. "description": "品类名称",
  14638. "type": "string"
  14639. }
  14640. }
  14641. },
  14642. "models.Ermcp3AreaStockReportEx": {
  14643. "type": "object",
  14644. "properties": {
  14645. "begindate": {
  14646. "description": "开始交易日",
  14647. "type": "string"
  14648. },
  14649. "brandname": {
  14650. "description": "品牌名称",
  14651. "type": "string"
  14652. },
  14653. "curstock": {
  14654. "description": "期末库存量",
  14655. "type": "number"
  14656. },
  14657. "cycletime": {
  14658. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14659. "type": "string"
  14660. },
  14661. "cycletype": {
  14662. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14663. "type": "integer"
  14664. },
  14665. "deliverygoodscode": {
  14666. "description": "现货品种代码",
  14667. "type": "string"
  14668. },
  14669. "deliverygoodsid": {
  14670. "description": "现货品种id",
  14671. "type": "integer"
  14672. },
  14673. "deliverygoodsname": {
  14674. "description": "现货品种名称",
  14675. "type": "string"
  14676. },
  14677. "diffqty": {
  14678. "description": "库存变化量 = 期末 - 期初",
  14679. "type": "number"
  14680. },
  14681. "enddate": {
  14682. "description": "结束交易日",
  14683. "type": "string"
  14684. },
  14685. "enumdicname": {
  14686. "description": "单位名称",
  14687. "type": "string"
  14688. },
  14689. "goodsunitid": {
  14690. "description": "现货单位id",
  14691. "type": "integer"
  14692. },
  14693. "oristock": {
  14694. "description": "期初库存量",
  14695. "type": "number"
  14696. },
  14697. "reckondate": {
  14698. "description": "日照时期(yyyyMMdd)",
  14699. "type": "string"
  14700. },
  14701. "spotgoodsbrandid": {
  14702. "description": "现货品牌ID",
  14703. "type": "integer"
  14704. },
  14705. "todaybuyinqty": {
  14706. "description": "今采购入库量",
  14707. "type": "number"
  14708. },
  14709. "todayproduceinqty": {
  14710. "description": "今内部入库量",
  14711. "type": "number"
  14712. },
  14713. "todayproduceoutqty": {
  14714. "description": "今内部出库量",
  14715. "type": "number"
  14716. },
  14717. "todayselloutqty": {
  14718. "description": "今销售出库量",
  14719. "type": "number"
  14720. },
  14721. "unbuyinqty": {
  14722. "description": "采购未入库量(数据库未找到相关字段?)",
  14723. "type": "number"
  14724. },
  14725. "unitid": {
  14726. "description": "品类单位id",
  14727. "type": "integer"
  14728. },
  14729. "unselloutqty": {
  14730. "description": "销售未出库量(数据库未找到相关字段?)",
  14731. "type": "number"
  14732. },
  14733. "updatetime": {
  14734. "description": "更新时间",
  14735. "type": "string"
  14736. },
  14737. "userid": {
  14738. "description": "机构ID",
  14739. "type": "integer"
  14740. },
  14741. "username": {
  14742. "description": "机构名称",
  14743. "type": "string"
  14744. },
  14745. "warehousecode": {
  14746. "description": "仓库代码",
  14747. "type": "string"
  14748. },
  14749. "warehouseinfoid": {
  14750. "description": "仓库ID",
  14751. "type": "string"
  14752. },
  14753. "warehousename": {
  14754. "description": "仓库名称",
  14755. "type": "string"
  14756. },
  14757. "warehousetype": {
  14758. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14759. "type": "integer"
  14760. },
  14761. "wrstandardcode": {
  14762. "description": "品类代码",
  14763. "type": "string"
  14764. },
  14765. "wrstandardid": {
  14766. "description": "品类ID",
  14767. "type": "integer"
  14768. },
  14769. "wrstandardname": {
  14770. "description": "品类名称",
  14771. "type": "string"
  14772. }
  14773. }
  14774. },
  14775. "models.Ermcp3ArealSumPL": {
  14776. "type": "object",
  14777. "properties": {
  14778. "accountname": {
  14779. "description": "机构名称",
  14780. "type": "string"
  14781. },
  14782. "areauserid": {
  14783. "description": "所属机构\\交易用户ID",
  14784. "type": "integer"
  14785. },
  14786. "begindate": {
  14787. "description": "开始交易日",
  14788. "type": "string"
  14789. },
  14790. "currencyid": {
  14791. "description": "结算币种ID",
  14792. "type": "integer"
  14793. },
  14794. "currencyname": {
  14795. "description": "币种名称",
  14796. "type": "string"
  14797. },
  14798. "cycletime": {
  14799. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14800. "type": "string"
  14801. },
  14802. "cycletype": {
  14803. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14804. "type": "integer"
  14805. },
  14806. "enddate": {
  14807. "description": "结束交易日",
  14808. "type": "string"
  14809. },
  14810. "enumdicname": {
  14811. "description": "单位名称(套保品种)",
  14812. "type": "string"
  14813. },
  14814. "futureactualpl": {
  14815. "description": "期货损益",
  14816. "type": "number"
  14817. },
  14818. "futurefloatpl": {
  14819. "description": "期货浮动损益",
  14820. "type": "number"
  14821. },
  14822. "goodsunitid": {
  14823. "description": "套保品种单位id",
  14824. "type": "integer"
  14825. },
  14826. "middlegoodscode": {
  14827. "description": "套保品种代码",
  14828. "type": "string"
  14829. },
  14830. "middlegoodsid": {
  14831. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14832. "type": "integer"
  14833. },
  14834. "middlegoodsname": {
  14835. "description": "套保品种名称",
  14836. "type": "string"
  14837. },
  14838. "reckondate": {
  14839. "description": "日照时期(yyyyMMdd)",
  14840. "type": "string"
  14841. },
  14842. "spotactualpl": {
  14843. "description": "现货损益",
  14844. "type": "number"
  14845. },
  14846. "spotfloatpl": {
  14847. "description": "现货浮动损益",
  14848. "type": "number"
  14849. },
  14850. "sumactualpl": {
  14851. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14852. "type": "number"
  14853. },
  14854. "sumpl": {
  14855. "description": "汇总损益",
  14856. "type": "number"
  14857. },
  14858. "updatetime": {
  14859. "description": "更新时间",
  14860. "type": "string"
  14861. }
  14862. }
  14863. },
  14864. "models.Ermcp3Brand": {
  14865. "type": "object",
  14866. "properties": {
  14867. "areauserid": {
  14868. "description": "用户id",
  14869. "type": "integer"
  14870. },
  14871. "brandid": {
  14872. "description": "品牌id",
  14873. "type": "integer"
  14874. },
  14875. "brandname": {
  14876. "description": "品牌名称",
  14877. "type": "string"
  14878. },
  14879. "deliverygoodsid": {
  14880. "description": "品种ID",
  14881. "type": "integer"
  14882. }
  14883. }
  14884. },
  14885. "models.Ermcp3Contract": {
  14886. "type": "object",
  14887. "properties": {
  14888. "accountid": {
  14889. "description": "期货账户id",
  14890. "type": "string"
  14891. },
  14892. "amount": {
  14893. "description": "金额 [1:一口价、3:暂定价]",
  14894. "type": "number"
  14895. },
  14896. "attachment": {
  14897. "description": "附件",
  14898. "type": "string"
  14899. },
  14900. "auditremark": {
  14901. "description": "审核意见",
  14902. "type": "string"
  14903. },
  14904. "audittime": {
  14905. "description": "审核时间",
  14906. "type": "string"
  14907. },
  14908. "biztype": {
  14909. "description": "业务类型 1-套保 2-套利",
  14910. "type": "integer"
  14911. },
  14912. "brandname": {
  14913. "description": "品牌名称",
  14914. "type": "string"
  14915. },
  14916. "buynickname": {
  14917. "description": "销售方昵称",
  14918. "type": "string"
  14919. },
  14920. "buyuserid": {
  14921. "description": "采购方ID",
  14922. "type": "integer"
  14923. },
  14924. "buyusername": {
  14925. "description": "采购方名称",
  14926. "type": "string"
  14927. },
  14928. "contracctstatus": {
  14929. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14930. "type": "integer"
  14931. },
  14932. "contractmargin": {
  14933. "description": "合同保证金",
  14934. "type": "number"
  14935. },
  14936. "contractno": {
  14937. "description": "现货合同编号",
  14938. "type": "string"
  14939. },
  14940. "contracttype": {
  14941. "description": "现货合同类型 - 1:采购 -1:销售",
  14942. "type": "integer"
  14943. },
  14944. "convertfactor": {
  14945. "description": "标仓系数(品类)",
  14946. "type": "number"
  14947. },
  14948. "createtime": {
  14949. "description": "创建时间",
  14950. "type": "string"
  14951. },
  14952. "currencyid": {
  14953. "description": "币种id",
  14954. "type": "integer"
  14955. },
  14956. "currencyname": {
  14957. "description": "币种名称",
  14958. "type": "string"
  14959. },
  14960. "deliveryenddate": {
  14961. "description": "交收期(结束)",
  14962. "type": "string"
  14963. },
  14964. "deliverygoodscode": {
  14965. "description": "现货品种代码",
  14966. "type": "string"
  14967. },
  14968. "deliverygoodsid": {
  14969. "description": "现货品种ID",
  14970. "type": "integer"
  14971. },
  14972. "deliverygoodsname": {
  14973. "description": "现货品种名称",
  14974. "type": "string"
  14975. },
  14976. "deliverystartdate": {
  14977. "description": "交收期(开始)",
  14978. "type": "string"
  14979. },
  14980. "enddate": {
  14981. "description": "点价结束日期 [2:点价 3:暂定价]",
  14982. "type": "string"
  14983. },
  14984. "enumdicname": {
  14985. "description": "单位名称",
  14986. "type": "string"
  14987. },
  14988. "goodscode": {
  14989. "description": "点价合约代码",
  14990. "type": "string"
  14991. },
  14992. "goodsid": {
  14993. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14994. "type": "integer"
  14995. },
  14996. "goodsname": {
  14997. "description": "点价商品名称",
  14998. "type": "string"
  14999. },
  15000. "margin": {
  15001. "description": "当前保证金",
  15002. "type": "number"
  15003. },
  15004. "meruserid": {
  15005. "description": "跟单员id",
  15006. "type": "integer"
  15007. },
  15008. "meruserlogincode": {
  15009. "description": "跟单员登录代码",
  15010. "type": "string"
  15011. },
  15012. "price": {
  15013. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15014. "type": "number"
  15015. },
  15016. "pricemove": {
  15017. "description": "升贴水 [2:点价 3:暂定价]",
  15018. "type": "number"
  15019. },
  15020. "pricetype": {
  15021. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15022. "type": "integer"
  15023. },
  15024. "producttype": {
  15025. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15026. "type": "integer"
  15027. },
  15028. "qty": {
  15029. "description": "数量",
  15030. "type": "number"
  15031. },
  15032. "remark": {
  15033. "description": "备注",
  15034. "type": "string"
  15035. },
  15036. "saleuserid": {
  15037. "description": "业务员id",
  15038. "type": "integer"
  15039. },
  15040. "saleuserlogincode": {
  15041. "description": "业务员登录代码",
  15042. "type": "string"
  15043. },
  15044. "sellnickname": {
  15045. "description": "采购方昵称",
  15046. "type": "string"
  15047. },
  15048. "selluserid": {
  15049. "description": "销售方ID",
  15050. "type": "integer"
  15051. },
  15052. "sellusername": {
  15053. "description": "销售方名称",
  15054. "type": "string"
  15055. },
  15056. "spotcontractid": {
  15057. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15058. "type": "string"
  15059. },
  15060. "spotgoodsbrandid": {
  15061. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15062. "type": "integer"
  15063. },
  15064. "spotgoodsdesc": {
  15065. "description": "商品型号",
  15066. "type": "string"
  15067. },
  15068. "startdate": {
  15069. "description": "点价开始日期 [2:点价 3:暂定价]",
  15070. "type": "string"
  15071. },
  15072. "tradeuserid": {
  15073. "description": "交易员id",
  15074. "type": "integer"
  15075. },
  15076. "tradeuserlogincode": {
  15077. "description": "交易员登录代码",
  15078. "type": "string"
  15079. },
  15080. "tradeusername": {
  15081. "description": "交易员名称",
  15082. "type": "string"
  15083. },
  15084. "unitid": {
  15085. "description": "单位id(取品类上的单位id)",
  15086. "type": "integer"
  15087. },
  15088. "updatetime": {
  15089. "description": "更新时间",
  15090. "type": "string"
  15091. },
  15092. "userid": {
  15093. "description": "所属机构ID",
  15094. "type": "integer"
  15095. },
  15096. "wrstandardcode": {
  15097. "description": "品类代码",
  15098. "type": "string"
  15099. },
  15100. "wrstandardid": {
  15101. "description": "品类ID",
  15102. "type": "integer"
  15103. },
  15104. "wrstandardname": {
  15105. "description": "品类名称",
  15106. "type": "string"
  15107. }
  15108. }
  15109. },
  15110. "models.Ermcp3ExposureContractDetail": {
  15111. "type": "object",
  15112. "properties": {
  15113. "biztype": {
  15114. "description": "业务类型 1-套保 2-套利",
  15115. "type": "integer"
  15116. },
  15117. "brandname": {
  15118. "description": "品牌名称",
  15119. "type": "string"
  15120. },
  15121. "buyuserid": {
  15122. "description": "采购方id",
  15123. "type": "integer"
  15124. },
  15125. "buyusername": {
  15126. "description": "采购方名称",
  15127. "type": "string"
  15128. },
  15129. "contractno": {
  15130. "description": "合同编号",
  15131. "type": "string"
  15132. },
  15133. "contracttype": {
  15134. "description": "现货合同类型 - 1:采购 -1:销售",
  15135. "type": "integer"
  15136. },
  15137. "convertfactor": {
  15138. "description": "标仓系数",
  15139. "type": "number"
  15140. },
  15141. "convertratio": {
  15142. "description": "折算系数(套保品种)",
  15143. "type": "number"
  15144. },
  15145. "curqty": {
  15146. "description": "今定价量",
  15147. "type": "number"
  15148. },
  15149. "deliverygoodscode": {
  15150. "description": "现货商品代码",
  15151. "type": "string"
  15152. },
  15153. "deliverygoodsid": {
  15154. "description": "现货商品id",
  15155. "type": "integer"
  15156. },
  15157. "deliverygoodsname": {
  15158. "description": "现货商品名称",
  15159. "type": "string"
  15160. },
  15161. "diffhedgeqty": {
  15162. "description": "套保变动量",
  15163. "type": "number"
  15164. },
  15165. "diffneedhedgeqty": {
  15166. "description": "应套保变动量",
  15167. "type": "number"
  15168. },
  15169. "diffqty": {
  15170. "description": "套保品种今变动量",
  15171. "type": "number"
  15172. },
  15173. "enumdicname": {
  15174. "description": "单位名称",
  15175. "type": "string"
  15176. },
  15177. "middlegoodscode": {
  15178. "description": "套保品种代码",
  15179. "type": "string"
  15180. },
  15181. "middlegoodsid": {
  15182. "description": "套保品种id",
  15183. "type": "integer"
  15184. },
  15185. "middlegoodsname": {
  15186. "description": "套保品种名称",
  15187. "type": "string"
  15188. },
  15189. "needarbitrageratio": {
  15190. "description": "应套利比例",
  15191. "type": "number"
  15192. },
  15193. "needhedgeratio": {
  15194. "description": "应套保比例",
  15195. "type": "number"
  15196. },
  15197. "pricedqty": {
  15198. "description": "已定价量",
  15199. "type": "number"
  15200. },
  15201. "qty": {
  15202. "description": "合同量",
  15203. "type": "number"
  15204. },
  15205. "selluserid": {
  15206. "description": "销售方id",
  15207. "type": "integer"
  15208. },
  15209. "sellusername": {
  15210. "description": "销售方名称",
  15211. "type": "string"
  15212. },
  15213. "spotcontractid": {
  15214. "description": "合同id",
  15215. "type": "string"
  15216. },
  15217. "todaypricedqty": {
  15218. "description": "今定价量",
  15219. "type": "number"
  15220. },
  15221. "tradedate": {
  15222. "description": "交易日",
  15223. "type": "string"
  15224. },
  15225. "unitid": {
  15226. "description": "品类单位id",
  15227. "type": "integer"
  15228. },
  15229. "userid": {
  15230. "description": "机构id",
  15231. "type": "integer"
  15232. },
  15233. "wrstandardcode": {
  15234. "description": "品类代码",
  15235. "type": "string"
  15236. },
  15237. "wrstandardid": {
  15238. "description": "品类id",
  15239. "type": "integer"
  15240. },
  15241. "wrstandardname": {
  15242. "description": "品类名称",
  15243. "type": "string"
  15244. }
  15245. }
  15246. },
  15247. "models.Ermcp3ExposureDetail": {
  15248. "type": "object",
  15249. "properties": {
  15250. "areauserid": {
  15251. "description": "机构ID",
  15252. "type": "integer"
  15253. },
  15254. "changeQty": {
  15255. "description": "套保变动量",
  15256. "type": "number"
  15257. },
  15258. "contracttype": {
  15259. "description": "现货合同类型 - 1:采购 -1:销售",
  15260. "type": "integer"
  15261. },
  15262. "convertfactor": {
  15263. "description": "标仓系数",
  15264. "type": "number"
  15265. },
  15266. "convertratio": {
  15267. "description": "套保系数",
  15268. "type": "number"
  15269. },
  15270. "createtime": {
  15271. "description": "时间",
  15272. "type": "string"
  15273. },
  15274. "deliverygoodscode": {
  15275. "description": "现货品种代码",
  15276. "type": "string"
  15277. },
  15278. "deliverygoodsid": {
  15279. "description": "现货品种id",
  15280. "type": "integer"
  15281. },
  15282. "deliverygoodsname": {
  15283. "description": "现货品种名称",
  15284. "type": "string"
  15285. },
  15286. "enumdicname": {
  15287. "description": "现货商品单位名称",
  15288. "type": "string"
  15289. },
  15290. "logtype": {
  15291. "description": "类型 - 1:套保计划 2:现货合同",
  15292. "type": "integer"
  15293. },
  15294. "mgunitid": {
  15295. "description": "套保品种单位id",
  15296. "type": "integer"
  15297. },
  15298. "mgunitidname": {
  15299. "description": "套保品种单位名称",
  15300. "type": "string"
  15301. },
  15302. "middlegoodsId": {
  15303. "description": "套保商品id",
  15304. "type": "integer"
  15305. },
  15306. "middlegoodscode": {
  15307. "description": "套保商品代码",
  15308. "type": "string"
  15309. },
  15310. "middlegoodsname": {
  15311. "description": "套保商品名称",
  15312. "type": "string"
  15313. },
  15314. "qty": {
  15315. "description": "数量",
  15316. "type": "number"
  15317. },
  15318. "relateNo": {
  15319. "description": "现货合同/套保计划编号",
  15320. "type": "string"
  15321. }
  15322. }
  15323. },
  15324. "models.Ermcp3ExposureFutuDetail": {
  15325. "type": "object",
  15326. "properties": {
  15327. "accountid": {
  15328. "description": "交易账户id",
  15329. "type": "integer"
  15330. },
  15331. "accountname": {
  15332. "description": "交易账户",
  15333. "type": "string"
  15334. },
  15335. "begindate": {
  15336. "description": "开始交易日",
  15337. "type": "string"
  15338. },
  15339. "buyorsell": {
  15340. "description": "方向 0-买 1-卖",
  15341. "type": "integer"
  15342. },
  15343. "diffmgqty": {
  15344. "description": "套保品种今变化量",
  15345. "type": "number"
  15346. },
  15347. "diffneedqty": {
  15348. "description": "应套保总量变化量",
  15349. "type": "number"
  15350. },
  15351. "difftradeqty": {
  15352. "description": "交易品种今变化量",
  15353. "type": "number"
  15354. },
  15355. "enddate": {
  15356. "description": "结束交易日",
  15357. "type": "string"
  15358. },
  15359. "enumdicname": {
  15360. "description": "单位名称",
  15361. "type": "string"
  15362. },
  15363. "goodscode": {
  15364. "description": "商品代码",
  15365. "type": "string"
  15366. },
  15367. "goodsid": {
  15368. "description": "商品id",
  15369. "type": "integer"
  15370. },
  15371. "goodsname": {
  15372. "description": "商品名称",
  15373. "type": "string"
  15374. },
  15375. "holdqty": {
  15376. "description": "期末持仓量",
  15377. "type": "number"
  15378. },
  15379. "middlegoodscode": {
  15380. "description": "套保商品代码",
  15381. "type": "string"
  15382. },
  15383. "middlegoodsid": {
  15384. "description": "套保商品id",
  15385. "type": "integer"
  15386. },
  15387. "middlegoodsname": {
  15388. "description": "套保商品名称",
  15389. "type": "string"
  15390. },
  15391. "oriholdqty": {
  15392. "description": "期初持仓量",
  15393. "type": "number"
  15394. },
  15395. "todaycloseqty": {
  15396. "description": "今平仓量",
  15397. "type": "number"
  15398. },
  15399. "todayopenqty": {
  15400. "description": "今开仓量",
  15401. "type": "number"
  15402. },
  15403. "tradedate": {
  15404. "description": "交易日",
  15405. "type": "string"
  15406. }
  15407. }
  15408. },
  15409. "models.Ermcp3ExposureHedgeplanDetail": {
  15410. "type": "object",
  15411. "properties": {
  15412. "biztype": {
  15413. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  15414. "type": "integer"
  15415. },
  15416. "changqty": {
  15417. "description": "应套保总量变化量",
  15418. "type": "number"
  15419. },
  15420. "contracttype": {
  15421. "description": "计划类型 - 1:采购 -1:销售",
  15422. "type": "integer"
  15423. },
  15424. "convertratio": {
  15425. "description": "折算系数(套保品种)",
  15426. "type": "number"
  15427. },
  15428. "deliverygoodscode": {
  15429. "description": "现货商品代码",
  15430. "type": "string"
  15431. },
  15432. "deliverygoodsid": {
  15433. "description": "现货商品id",
  15434. "type": "integer"
  15435. },
  15436. "deliverygoodsname": {
  15437. "description": "现货商吕名称",
  15438. "type": "string"
  15439. },
  15440. "dgunitid": {
  15441. "description": "现货商品单位id",
  15442. "type": "integer"
  15443. },
  15444. "dgunitidname": {
  15445. "description": "单位名称(现货商品)",
  15446. "type": "string"
  15447. },
  15448. "diffqty": {
  15449. "description": "套保品种今变动量",
  15450. "type": "number"
  15451. },
  15452. "enumdicname": {
  15453. "description": "单位名称(品类)",
  15454. "type": "string"
  15455. },
  15456. "hedgeplanid": {
  15457. "description": "套保计划id",
  15458. "type": "string"
  15459. },
  15460. "hedgeplanno": {
  15461. "description": "套保计划名称",
  15462. "type": "string"
  15463. },
  15464. "hedgeplanstatus": {
  15465. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15466. "type": "integer"
  15467. },
  15468. "mgunitidname": {
  15469. "description": "单位名称(套保商品)",
  15470. "type": "string"
  15471. },
  15472. "middlegoodscode": {
  15473. "description": "套保品种代码",
  15474. "type": "string"
  15475. },
  15476. "middlegoodsid": {
  15477. "description": "套保品种id",
  15478. "type": "integer"
  15479. },
  15480. "middlegoodsname": {
  15481. "description": "套保品种名称",
  15482. "type": "string"
  15483. },
  15484. "needarbitrageratio": {
  15485. "description": "应套利比例",
  15486. "type": "number"
  15487. },
  15488. "needhedgeratio": {
  15489. "description": "应套保比例",
  15490. "type": "number"
  15491. },
  15492. "pricedqty": {
  15493. "description": "已定价量",
  15494. "type": "number"
  15495. },
  15496. "qty": {
  15497. "description": "合同量",
  15498. "type": "number"
  15499. },
  15500. "tradedate": {
  15501. "description": "交易日(登记日)",
  15502. "type": "string"
  15503. },
  15504. "unitid": {
  15505. "description": "品类单位id",
  15506. "type": "integer"
  15507. },
  15508. "userid": {
  15509. "description": "机构id",
  15510. "type": "integer"
  15511. },
  15512. "wrstandardcode": {
  15513. "description": "品类代码",
  15514. "type": "string"
  15515. },
  15516. "wrstandardid": {
  15517. "description": "品类id",
  15518. "type": "integer"
  15519. },
  15520. "wrstandardname": {
  15521. "description": "品类名称",
  15522. "type": "string"
  15523. }
  15524. }
  15525. },
  15526. "models.Ermcp3ExpourseReport": {
  15527. "type": "object",
  15528. "properties": {
  15529. "accountid": {
  15530. "description": "期货账户ID (作废, 默认为0)",
  15531. "type": "integer"
  15532. },
  15533. "accountname": {
  15534. "description": "机构名称",
  15535. "type": "string"
  15536. },
  15537. "arbitrageqty": {
  15538. "description": "套利量",
  15539. "type": "number"
  15540. },
  15541. "areauserid": {
  15542. "description": "所属机构\\交易用户ID",
  15543. "type": "integer"
  15544. },
  15545. "begindate": {
  15546. "description": "开始交易日",
  15547. "type": "string"
  15548. },
  15549. "buyfutureqty": {
  15550. "description": "买入期货数量",
  15551. "type": "number"
  15552. },
  15553. "buyplanqty": {
  15554. "description": "采购计划数量",
  15555. "type": "number"
  15556. },
  15557. "buypricedqty": {
  15558. "description": "采购合同已定价数量",
  15559. "type": "number"
  15560. },
  15561. "cycletime": {
  15562. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15563. "type": "string"
  15564. },
  15565. "cycletype": {
  15566. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15567. "type": "integer"
  15568. },
  15569. "diffexposure": {
  15570. "description": "变动量(套保敞口)",
  15571. "type": "number"
  15572. },
  15573. "difffutuqty": {
  15574. "description": "变动量(期货)",
  15575. "type": "number"
  15576. },
  15577. "diffhedgeqty": {
  15578. "description": "变动量(现货应套保总量)",
  15579. "type": "number"
  15580. },
  15581. "diffmgqtya": {
  15582. "description": "套保变动量",
  15583. "type": "number"
  15584. },
  15585. "diffmgqtyb": {
  15586. "description": "套利变动量",
  15587. "type": "number"
  15588. },
  15589. "diffqty": {
  15590. "description": "变动量(总敞口)",
  15591. "type": "number"
  15592. },
  15593. "diffspotqty": {
  15594. "description": "变动量(现货)",
  15595. "type": "number"
  15596. },
  15597. "enddate": {
  15598. "description": "结束交易日",
  15599. "type": "string"
  15600. },
  15601. "enumdicname": {
  15602. "description": "单位名称",
  15603. "type": "string"
  15604. },
  15605. "hedgeqty": {
  15606. "description": "套保量",
  15607. "type": "number"
  15608. },
  15609. "mgneedhedgeratio": {
  15610. "description": "套保比例(套保品的)",
  15611. "type": "number"
  15612. },
  15613. "middlegoodsid": {
  15614. "description": "套保品种ID",
  15615. "type": "integer"
  15616. },
  15617. "middlegoodsname": {
  15618. "description": "套保商品名称",
  15619. "type": "string"
  15620. },
  15621. "middlgoodscode": {
  15622. "description": "套保商品代码",
  15623. "type": "string"
  15624. },
  15625. "needarbitrageqty": {
  15626. "description": "应套利量",
  15627. "type": "number"
  15628. },
  15629. "needarbitrageratio": {
  15630. "description": "套利比例(套保品的)",
  15631. "type": "number"
  15632. },
  15633. "needhedgeexposoure": {
  15634. "description": "应套保敞口(套保敞口)",
  15635. "type": "number"
  15636. },
  15637. "needhedgeqty": {
  15638. "description": "应套保量",
  15639. "type": "number"
  15640. },
  15641. "needhedgeratio": {
  15642. "description": "应套保敞口比例",
  15643. "type": "number"
  15644. },
  15645. "oriarbitrageqty": {
  15646. "description": "期初套利量",
  15647. "type": "number"
  15648. },
  15649. "oribuyfutureqty": {
  15650. "description": "期初买入期货数量",
  15651. "type": "number"
  15652. },
  15653. "oribuyplanqty": {
  15654. "description": "期初采购计划数量",
  15655. "type": "number"
  15656. },
  15657. "oribuypricedqty": {
  15658. "description": "期初采购合同已定价数量",
  15659. "type": "number"
  15660. },
  15661. "orihedgeqty": {
  15662. "description": "期初套保量",
  15663. "type": "number"
  15664. },
  15665. "orineedarbitrageqty": {
  15666. "description": "期初应套利量",
  15667. "type": "number"
  15668. },
  15669. "orineedhedgeexposoure": {
  15670. "description": "期初应套保敞口",
  15671. "type": "number"
  15672. },
  15673. "orineedhedgeqty": {
  15674. "description": "期初应套保量",
  15675. "type": "number"
  15676. },
  15677. "orisellfutureqty": {
  15678. "description": "期初卖出期货数量",
  15679. "type": "number"
  15680. },
  15681. "orisellplanqty": {
  15682. "description": "期初销售计划数量",
  15683. "type": "number"
  15684. },
  15685. "orisellpricedqty": {
  15686. "description": "期初销售合同已定价数量",
  15687. "type": "number"
  15688. },
  15689. "oritotalexposure": {
  15690. "description": "期初实时总敞口",
  15691. "type": "number"
  15692. },
  15693. "oritotalfutureqty": {
  15694. "description": "期初期货头寸总量",
  15695. "type": "number"
  15696. },
  15697. "oritotalneedhedgeqty": {
  15698. "description": "期初应套保总量",
  15699. "type": "number"
  15700. },
  15701. "oritotalspotqty": {
  15702. "description": "期初现货头寸总量",
  15703. "type": "number"
  15704. },
  15705. "reckondate": {
  15706. "description": "日照时期(yyyyMMdd)",
  15707. "type": "string"
  15708. },
  15709. "sellfutureqty": {
  15710. "description": "卖出期货数量",
  15711. "type": "number"
  15712. },
  15713. "sellplanqty": {
  15714. "description": "销售计划数量",
  15715. "type": "number"
  15716. },
  15717. "sellpricedqty": {
  15718. "description": "销售合同已定价数量",
  15719. "type": "number"
  15720. },
  15721. "totalexposure": {
  15722. "description": "实时总敞口(总敞口)",
  15723. "type": "number"
  15724. },
  15725. "totalfutureqty": {
  15726. "description": "期货头寸总量(期货总量)",
  15727. "type": "number"
  15728. },
  15729. "totalhedgeratio": {
  15730. "description": "敞口比例",
  15731. "type": "number"
  15732. },
  15733. "totalneedhedgeqty": {
  15734. "description": "应套保总量(现货应套保总量)",
  15735. "type": "number"
  15736. },
  15737. "totalspotqty": {
  15738. "description": "现货头寸总量",
  15739. "type": "number"
  15740. },
  15741. "unitid": {
  15742. "description": "单位id",
  15743. "type": "integer"
  15744. },
  15745. "updatetime": {
  15746. "description": "更新时间",
  15747. "type": "string"
  15748. }
  15749. }
  15750. },
  15751. "models.Ermcp3FinanceReport": {
  15752. "type": "object",
  15753. "properties": {
  15754. "accountname": {
  15755. "description": "机构名称",
  15756. "type": "string"
  15757. },
  15758. "areauserid": {
  15759. "description": "所属机构\\交易用户ID",
  15760. "type": "integer"
  15761. },
  15762. "begindate": {
  15763. "description": "开始交易日",
  15764. "type": "string"
  15765. },
  15766. "biztype": {
  15767. "description": "业务类型 - 1:套保 2:套利",
  15768. "type": "integer"
  15769. },
  15770. "brandname": {
  15771. "description": "品牌名称",
  15772. "type": "string"
  15773. },
  15774. "buypreinvoicedamount": {
  15775. "description": "采购预收票额(预收票额)",
  15776. "type": "number"
  15777. },
  15778. "buyprepaidamount": {
  15779. "description": "采购预付款额(预付货款额)",
  15780. "type": "number"
  15781. },
  15782. "buytodayinvoiceamount": {
  15783. "description": "采购今收票额(今收票额)",
  15784. "type": "number"
  15785. },
  15786. "buytodayrefundamount": {
  15787. "description": "采购今收退款额(今收退款额)",
  15788. "type": "number"
  15789. },
  15790. "buytodaysettleamount": {
  15791. "description": "采购今付款额(今付货款额)",
  15792. "type": "number"
  15793. },
  15794. "buyuninvoicedamount": {
  15795. "description": "采购应收票额(应收票额)",
  15796. "type": "number"
  15797. },
  15798. "buyunpaidamount": {
  15799. "description": "采购应付款额(应付货款额)",
  15800. "type": "number"
  15801. },
  15802. "currencyid": {
  15803. "description": "结算币种ID",
  15804. "type": "integer"
  15805. },
  15806. "currencyname": {
  15807. "description": "币种名称",
  15808. "type": "string"
  15809. },
  15810. "cycletime": {
  15811. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15812. "type": "string"
  15813. },
  15814. "cycletype": {
  15815. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15816. "type": "integer"
  15817. },
  15818. "deliverygoodscode": {
  15819. "description": "现货品种代码",
  15820. "type": "string"
  15821. },
  15822. "deliverygoodsid": {
  15823. "description": "现货品种ID",
  15824. "type": "integer"
  15825. },
  15826. "deliverygoodsname": {
  15827. "description": "现货品种名称",
  15828. "type": "string"
  15829. },
  15830. "enddate": {
  15831. "description": "结束交易日",
  15832. "type": "string"
  15833. },
  15834. "reckondate": {
  15835. "description": "日照时期(yyyyMMdd)",
  15836. "type": "string"
  15837. },
  15838. "sellpreinvoicedamount": {
  15839. "description": "销售预开票额(预开票额)",
  15840. "type": "number"
  15841. },
  15842. "sellprepaidamount": {
  15843. "description": "销售预收款额(预收货款额)",
  15844. "type": "number"
  15845. },
  15846. "selltodayinvoiceamount": {
  15847. "description": "销售今开票额(今开票额)",
  15848. "type": "number"
  15849. },
  15850. "selltodayrefundamount": {
  15851. "description": "销售今付退款额(今付退款额)",
  15852. "type": "number"
  15853. },
  15854. "selltodaysettleamount": {
  15855. "description": "销售今收款额(今收货款额)",
  15856. "type": "number"
  15857. },
  15858. "selluninvoicedamount": {
  15859. "description": "销售应开票额(应开票额)",
  15860. "type": "number"
  15861. },
  15862. "sellunpaidamount": {
  15863. "description": "销售应收款额(应收货款额)",
  15864. "type": "number"
  15865. },
  15866. "spotgoodsbrandid": {
  15867. "description": "现货品牌ID",
  15868. "type": "integer"
  15869. },
  15870. "todaypaysum": {
  15871. "description": "今付款合计",
  15872. "type": "number"
  15873. },
  15874. "todayreceivesum": {
  15875. "description": "今收款合计",
  15876. "type": "number"
  15877. },
  15878. "updatetime": {
  15879. "description": "更新时间",
  15880. "type": "string"
  15881. },
  15882. "wrfactortypeid": {
  15883. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15884. "type": "integer"
  15885. },
  15886. "wrstandardcode": {
  15887. "description": "品类代码",
  15888. "type": "string"
  15889. },
  15890. "wrstandardid": {
  15891. "description": "现货商品ID",
  15892. "type": "integer"
  15893. },
  15894. "wrstandardname": {
  15895. "description": "品类名称",
  15896. "type": "string"
  15897. }
  15898. }
  15899. },
  15900. "models.Ermcp3Goods": {
  15901. "type": "object",
  15902. "properties": {
  15903. "agreeunit": {
  15904. "description": "合约单位(合约乘数)",
  15905. "type": "number"
  15906. },
  15907. "enumdicname": {
  15908. "description": "单位名称",
  15909. "type": "string"
  15910. },
  15911. "exexchangecode": {
  15912. "description": "交易所代码",
  15913. "type": "string"
  15914. },
  15915. "goodscode": {
  15916. "description": "期货商品代码",
  15917. "type": "string"
  15918. },
  15919. "goodsid": {
  15920. "description": "期货商品id",
  15921. "type": "integer"
  15922. },
  15923. "goodsname": {
  15924. "description": "期货商品名称",
  15925. "type": "string"
  15926. }
  15927. }
  15928. },
  15929. "models.Ermcp3GoodsGroup": {
  15930. "type": "object",
  15931. "required": [
  15932. "areauserid"
  15933. ],
  15934. "properties": {
  15935. "agreeunit": {
  15936. "description": "合约单位",
  15937. "type": "number"
  15938. },
  15939. "areauserid": {
  15940. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15941. "type": "integer"
  15942. },
  15943. "canshort": {
  15944. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15945. "type": "integer"
  15946. },
  15947. "closepricemode": {
  15948. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15949. "type": "integer"
  15950. },
  15951. "createtime": {
  15952. "description": "创建时间",
  15953. "type": "string"
  15954. },
  15955. "creatorid": {
  15956. "description": "创建人",
  15957. "type": "integer"
  15958. },
  15959. "currencyid": {
  15960. "description": "报价货币ID",
  15961. "type": "integer"
  15962. },
  15963. "decimalplace": {
  15964. "description": "报价小数位",
  15965. "type": "integer"
  15966. },
  15967. "enumdicname": {
  15968. "description": "单位名称",
  15969. "type": "string"
  15970. },
  15971. "exchangefullname": {
  15972. "description": "交易所全称",
  15973. "type": "string"
  15974. },
  15975. "excludecfg": {
  15976. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  15977. "type": "integer"
  15978. },
  15979. "exexchangecode": {
  15980. "description": "交易所代码",
  15981. "type": "string"
  15982. },
  15983. "exexchangeid": {
  15984. "description": "外部交易所ID[通道交易]",
  15985. "type": "integer"
  15986. },
  15987. "exexchangename": {
  15988. "description": "交易所名称",
  15989. "type": "string"
  15990. },
  15991. "goodsgroupid": {
  15992. "description": "商品组ID(自增ID)",
  15993. "type": "integer"
  15994. },
  15995. "goodsgroupname": {
  15996. "description": "商品组名称",
  15997. "type": "string"
  15998. },
  15999. "goodsgroupstatus": {
  16000. "description": "商品组状态 - 1:正常 2:注销",
  16001. "type": "integer"
  16002. },
  16003. "goodunitid": {
  16004. "description": "报价单位ID",
  16005. "type": "integer"
  16006. },
  16007. "groupcategroyid": {
  16008. "description": "品种分类ID",
  16009. "type": "integer"
  16010. },
  16011. "innerdealmode": {
  16012. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16013. "type": "integer"
  16014. },
  16015. "marketid": {
  16016. "description": "所属市场ID",
  16017. "type": "integer"
  16018. },
  16019. "modifierid": {
  16020. "description": "修改人",
  16021. "type": "integer"
  16022. },
  16023. "modifytime": {
  16024. "description": "修改时间",
  16025. "type": "string"
  16026. },
  16027. "outerdealmode": {
  16028. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16029. "type": "integer"
  16030. },
  16031. "outergroupcode": {
  16032. "description": "外部商品组代码[通道交易]",
  16033. "type": "string"
  16034. },
  16035. "quoteminunit": {
  16036. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16037. "type": "integer"
  16038. },
  16039. "quotesourcegroupid": {
  16040. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16041. "type": "integer"
  16042. },
  16043. "syncgoodsqty": {
  16044. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16045. "type": "integer"
  16046. }
  16047. }
  16048. },
  16049. "models.Ermcp3GoodsGroupEx": {
  16050. "type": "object",
  16051. "properties": {
  16052. "convertratio": {
  16053. "description": "折算系数(品种系数)",
  16054. "type": "number"
  16055. },
  16056. "enumdicname": {
  16057. "description": "单位名称",
  16058. "type": "string"
  16059. },
  16060. "exexchangecode": {
  16061. "description": "交易所代码",
  16062. "type": "string"
  16063. },
  16064. "glist": {
  16065. "description": "合约列表",
  16066. "type": "array",
  16067. "items": {
  16068. "$ref": "#/definitions/models.Ermcp3Goods"
  16069. }
  16070. },
  16071. "goodsgroupid": {
  16072. "description": "商品组id",
  16073. "type": "integer"
  16074. },
  16075. "goodsgroupname": {
  16076. "description": "商品组名称",
  16077. "type": "string"
  16078. },
  16079. "goodsunitid": {
  16080. "description": "单位id",
  16081. "type": "integer"
  16082. },
  16083. "middlegoodsid": {
  16084. "description": "套保商品id",
  16085. "type": "integer"
  16086. }
  16087. }
  16088. },
  16089. "models.Ermcp3HedgePlan": {
  16090. "type": "object",
  16091. "properties": {
  16092. "accountid": {
  16093. "description": "资金账号",
  16094. "type": "integer"
  16095. },
  16096. "areauserid": {
  16097. "description": "用户ID",
  16098. "type": "integer"
  16099. },
  16100. "audittime": {
  16101. "description": "审核时间",
  16102. "type": "string"
  16103. },
  16104. "contracttype": {
  16105. "description": "计划类型 - 1:采购 -1:销售",
  16106. "type": "integer"
  16107. },
  16108. "convertfactor": {
  16109. "description": "标仓系数",
  16110. "type": "number"
  16111. },
  16112. "createtime": {
  16113. "description": "创建时间",
  16114. "type": "string"
  16115. },
  16116. "currencyid": {
  16117. "description": "币种id",
  16118. "type": "integer"
  16119. },
  16120. "currencyname": {
  16121. "description": "币种名称",
  16122. "type": "string"
  16123. },
  16124. "deliverygoodscode": {
  16125. "description": "现货品种代码",
  16126. "type": "string"
  16127. },
  16128. "deliverygoodsid": {
  16129. "description": "现货品种ID",
  16130. "type": "integer"
  16131. },
  16132. "deliverygoodsname": {
  16133. "description": "现货品种名称",
  16134. "type": "string"
  16135. },
  16136. "enumdicname": {
  16137. "description": "单位名称(现货商品)",
  16138. "type": "string"
  16139. },
  16140. "hedgeplanid": {
  16141. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16142. "type": "string"
  16143. },
  16144. "hedgeplanno": {
  16145. "description": "套保计划编号(名称)",
  16146. "type": "string"
  16147. },
  16148. "hedgeplanstatus": {
  16149. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16150. "type": "integer"
  16151. },
  16152. "planqty": {
  16153. "description": "计划数量",
  16154. "type": "number"
  16155. },
  16156. "plantime": {
  16157. "description": "计划时间",
  16158. "type": "string"
  16159. },
  16160. "producttype": {
  16161. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16162. "type": "integer"
  16163. },
  16164. "remark": {
  16165. "description": "备注",
  16166. "type": "string"
  16167. },
  16168. "spotgoodsdesc": {
  16169. "description": "商品型号",
  16170. "type": "string"
  16171. },
  16172. "taaccountname": {
  16173. "description": "资金账号名称",
  16174. "type": "string"
  16175. },
  16176. "tradeuserid": {
  16177. "description": "交易用户id",
  16178. "type": "integer"
  16179. },
  16180. "tradeusername": {
  16181. "description": "交易用户名称",
  16182. "type": "string"
  16183. },
  16184. "unitid": {
  16185. "description": "单位id(现货商品)",
  16186. "type": "integer"
  16187. },
  16188. "updatetime": {
  16189. "description": "更新时间",
  16190. "type": "string"
  16191. },
  16192. "wrstandardcode": {
  16193. "description": "品类代码",
  16194. "type": "string"
  16195. },
  16196. "wrstandardid": {
  16197. "description": "品类id",
  16198. "type": "integer"
  16199. },
  16200. "wrstandardname": {
  16201. "description": "品类名称",
  16202. "type": "string"
  16203. },
  16204. "wrunitid": {
  16205. "description": "品类单位id",
  16206. "type": "integer"
  16207. },
  16208. "wrunitidame": {
  16209. "description": "品类单位名称",
  16210. "type": "string"
  16211. }
  16212. }
  16213. },
  16214. "models.Ermcp3MiddleGoodsDetail2": {
  16215. "type": "object",
  16216. "properties": {
  16217. "convertratio": {
  16218. "description": "套保系数(折算系数)",
  16219. "type": "number"
  16220. },
  16221. "gplist": {
  16222. "description": "关联商品组列表",
  16223. "type": "array",
  16224. "items": {
  16225. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16226. }
  16227. },
  16228. "mg": {
  16229. "description": "套保商品信息",
  16230. "type": "object",
  16231. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16232. }
  16233. }
  16234. },
  16235. "models.Ermcp3MiddleGoodsDetailEx": {
  16236. "type": "object",
  16237. "properties": {
  16238. "dglist": {
  16239. "description": "关联的现货品种列表",
  16240. "type": "array",
  16241. "items": {
  16242. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  16243. }
  16244. },
  16245. "gplist": {
  16246. "description": "关联商品组列表",
  16247. "type": "array",
  16248. "items": {
  16249. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16250. }
  16251. },
  16252. "mg": {
  16253. "description": "套保商品信息",
  16254. "type": "object",
  16255. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16256. }
  16257. }
  16258. },
  16259. "models.Ermcp3RootUserAccount": {
  16260. "type": "object",
  16261. "properties": {
  16262. "accountname": {
  16263. "description": "账户名称(机构名称)",
  16264. "type": "string"
  16265. },
  16266. "accountstatus": {
  16267. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16268. "type": "integer"
  16269. },
  16270. "applysrc": {
  16271. "description": "申请来源 - 1:管理端 2:终端",
  16272. "type": "integer"
  16273. },
  16274. "auditremark": {
  16275. "description": "审核备注",
  16276. "type": "string"
  16277. },
  16278. "auditsrc": {
  16279. "description": "审核来源 - 1:管理端 2:终端",
  16280. "type": "integer"
  16281. },
  16282. "audittime": {
  16283. "description": "审核时间",
  16284. "type": "string"
  16285. },
  16286. "audituserid": {
  16287. "description": "审核人",
  16288. "type": "integer"
  16289. },
  16290. "broker": {
  16291. "description": "所属经纪人ID",
  16292. "type": "integer"
  16293. },
  16294. "canceltime": {
  16295. "description": "销户时间",
  16296. "type": "string"
  16297. },
  16298. "canceluserid": {
  16299. "description": "销户人",
  16300. "type": "integer"
  16301. },
  16302. "canrecommend": {
  16303. "description": "是否可推荐 - 0:不可 1;可",
  16304. "type": "integer"
  16305. },
  16306. "createtime": {
  16307. "description": "创建时间",
  16308. "type": "string"
  16309. },
  16310. "creatorid": {
  16311. "description": "创建人",
  16312. "type": "integer"
  16313. },
  16314. "hasauth": {
  16315. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16316. "type": "integer"
  16317. },
  16318. "isanonymous": {
  16319. "description": "是否匿名下单 - 0:否 1:是",
  16320. "type": "integer"
  16321. },
  16322. "maxinvestornum": {
  16323. "description": "最大用户数(经纪会员下投资者个数)",
  16324. "type": "integer"
  16325. },
  16326. "memberuserid": {
  16327. "description": "所属会员ID",
  16328. "type": "integer"
  16329. },
  16330. "modifierid": {
  16331. "description": "修改人",
  16332. "type": "integer"
  16333. },
  16334. "modifyremark": {
  16335. "description": "变更备注",
  16336. "type": "string"
  16337. },
  16338. "modifystatus": {
  16339. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16340. "type": "integer"
  16341. },
  16342. "modifytime": {
  16343. "description": "修改时间",
  16344. "type": "string"
  16345. },
  16346. "parenttopuser": {
  16347. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  16348. "type": "string"
  16349. },
  16350. "parentuserid": {
  16351. "description": "所属机构ID",
  16352. "type": "integer"
  16353. },
  16354. "reckonaccountid": {
  16355. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16356. "type": "integer"
  16357. },
  16358. "refercount": {
  16359. "description": "推荐总人数",
  16360. "type": "integer"
  16361. },
  16362. "refereeuserid": {
  16363. "description": "推荐人ID",
  16364. "type": "integer"
  16365. },
  16366. "refernum": {
  16367. "description": "推荐码",
  16368. "type": "string"
  16369. },
  16370. "rootuserid": {
  16371. "description": "根用户ID",
  16372. "type": "integer"
  16373. },
  16374. "subaccountlevel": {
  16375. "description": "子账户层数",
  16376. "type": "integer"
  16377. },
  16378. "subarealevelpath": {
  16379. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16380. "type": "string"
  16381. },
  16382. "userid": {
  16383. "description": "用户ID",
  16384. "type": "integer"
  16385. },
  16386. "usertype": {
  16387. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16388. "type": "integer"
  16389. }
  16390. }
  16391. },
  16392. "models.Ermcp3SellBuyContract": {
  16393. "type": "object",
  16394. "properties": {
  16395. "accountid": {
  16396. "description": "期货账户id",
  16397. "type": "string"
  16398. },
  16399. "accountname": {
  16400. "description": "账户名称",
  16401. "type": "string"
  16402. },
  16403. "attachment": {
  16404. "description": "附件",
  16405. "type": "string"
  16406. },
  16407. "audittime": {
  16408. "description": "审核时间",
  16409. "type": "string"
  16410. },
  16411. "biztype": {
  16412. "description": "业务类型 1-套保 2-套利",
  16413. "type": "integer"
  16414. },
  16415. "brandname": {
  16416. "description": "品牌名称",
  16417. "type": "string"
  16418. },
  16419. "contracctstatus": {
  16420. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16421. "type": "integer"
  16422. },
  16423. "contractmargin": {
  16424. "description": "合同保证金",
  16425. "type": "number"
  16426. },
  16427. "contractno": {
  16428. "description": "合同编号",
  16429. "type": "string"
  16430. },
  16431. "contracttype": {
  16432. "description": "合同类型 1-采购, -1-销售",
  16433. "type": "integer"
  16434. },
  16435. "convertfactor": {
  16436. "description": "标仓系数(品类)",
  16437. "type": "number"
  16438. },
  16439. "createtime": {
  16440. "description": "创建时间",
  16441. "type": "string"
  16442. },
  16443. "currencyid": {
  16444. "description": "币种id",
  16445. "type": "integer"
  16446. },
  16447. "currencyname": {
  16448. "description": "币种名称",
  16449. "type": "string"
  16450. },
  16451. "daikaiamount": {
  16452. "description": "应收(开)票额",
  16453. "type": "number"
  16454. },
  16455. "deliveryenddate": {
  16456. "description": "交割结束日",
  16457. "type": "string"
  16458. },
  16459. "deliverygoodscode": {
  16460. "description": "现货品种代码",
  16461. "type": "string"
  16462. },
  16463. "deliverygoodsid": {
  16464. "description": "现货商品ID",
  16465. "type": "integer"
  16466. },
  16467. "deliverygoodsname": {
  16468. "description": "现货品种名称",
  16469. "type": "string"
  16470. },
  16471. "deliverystartdate": {
  16472. "description": "交割开始日",
  16473. "type": "string"
  16474. },
  16475. "enddate": {
  16476. "description": "点价结束日",
  16477. "type": "string"
  16478. },
  16479. "enumdicname": {
  16480. "description": "单位名称",
  16481. "type": "string"
  16482. },
  16483. "goodscode": {
  16484. "description": "点价商品代码",
  16485. "type": "string"
  16486. },
  16487. "goodsid": {
  16488. "description": "点价商品ID",
  16489. "type": "integer"
  16490. },
  16491. "goodsname": {
  16492. "description": "点价商品名称",
  16493. "type": "string"
  16494. },
  16495. "invoiceamount": {
  16496. "description": "已开票额",
  16497. "type": "number"
  16498. },
  16499. "loanamount": {
  16500. "description": "贷款总额=已定价额+调整金额",
  16501. "type": "number"
  16502. },
  16503. "margin": {
  16504. "description": "保证金",
  16505. "type": "number"
  16506. },
  16507. "meruserid": {
  16508. "description": "跟单员id",
  16509. "type": "integer"
  16510. },
  16511. "meruserlogincode": {
  16512. "description": "跟单员登录代码",
  16513. "type": "string"
  16514. },
  16515. "nickname": {
  16516. "description": "账户昵称",
  16517. "type": "string"
  16518. },
  16519. "payamount": {
  16520. "description": "已收付额(收款或付款)",
  16521. "type": "number"
  16522. },
  16523. "preinvoiceamount": {
  16524. "description": "预收(开)票额",
  16525. "type": "number"
  16526. },
  16527. "prepayamount": {
  16528. "description": "预收付额",
  16529. "type": "number"
  16530. },
  16531. "price": {
  16532. "description": "价格",
  16533. "type": "number"
  16534. },
  16535. "pricedamount": {
  16536. "description": "已定价额",
  16537. "type": "number"
  16538. },
  16539. "pricedavg": {
  16540. "description": "已点均价",
  16541. "type": "number"
  16542. },
  16543. "pricedqty": {
  16544. "description": "已定价量",
  16545. "type": "number"
  16546. },
  16547. "pricemove": {
  16548. "description": "升贴水",
  16549. "type": "number"
  16550. },
  16551. "pricetype": {
  16552. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16553. "type": "integer"
  16554. },
  16555. "producttype": {
  16556. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16557. "type": "integer"
  16558. },
  16559. "qty": {
  16560. "description": "合同量",
  16561. "type": "number"
  16562. },
  16563. "reckonadjustamount": {
  16564. "description": "调整金额",
  16565. "type": "number"
  16566. },
  16567. "reckonedamount": {
  16568. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16569. "type": "number"
  16570. },
  16571. "reckonotheramount": {
  16572. "description": "其它费用",
  16573. "type": "number"
  16574. },
  16575. "reckonrealqty": {
  16576. "description": "已确定量",
  16577. "type": "number"
  16578. },
  16579. "remark": {
  16580. "description": "备注",
  16581. "type": "string"
  16582. },
  16583. "saleuserid": {
  16584. "description": "业务员id",
  16585. "type": "integer"
  16586. },
  16587. "saleuserlogincode": {
  16588. "description": "业务员登录代码",
  16589. "type": "string"
  16590. },
  16591. "spotcontractid": {
  16592. "description": "合同ID",
  16593. "type": "string"
  16594. },
  16595. "spotgoodsbrandid": {
  16596. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16597. "type": "integer"
  16598. },
  16599. "spotgoodsdesc": {
  16600. "description": "商品型号(商品规格)",
  16601. "type": "string"
  16602. },
  16603. "startdate": {
  16604. "description": "点价开始日",
  16605. "type": "string"
  16606. },
  16607. "totalamount": {
  16608. "description": "合计总额",
  16609. "type": "number"
  16610. },
  16611. "tradeuserid": {
  16612. "description": "交易员id",
  16613. "type": "integer"
  16614. },
  16615. "tradeuserlogincode": {
  16616. "description": "交易员登录代码",
  16617. "type": "string"
  16618. },
  16619. "tradeusername": {
  16620. "description": "交易员名称",
  16621. "type": "string"
  16622. },
  16623. "unpayamount": {
  16624. "description": "应收付款额(应支付或应收款)",
  16625. "type": "number"
  16626. },
  16627. "unpricedqty": {
  16628. "description": "未定价量",
  16629. "type": "number"
  16630. },
  16631. "unsureqty": {
  16632. "description": "未确定量",
  16633. "type": "number"
  16634. },
  16635. "userid": {
  16636. "description": "机构ID",
  16637. "type": "integer"
  16638. },
  16639. "wrstandardcode": {
  16640. "description": "品类代码",
  16641. "type": "string"
  16642. },
  16643. "wrstandardid": {
  16644. "description": "品类ID",
  16645. "type": "integer"
  16646. },
  16647. "wrstandardname": {
  16648. "description": "品类名称",
  16649. "type": "string"
  16650. }
  16651. }
  16652. },
  16653. "models.Ermcp3SpotGoodsPrice": {
  16654. "type": "object",
  16655. "properties": {
  16656. "areauserid": {
  16657. "description": "所属机构id",
  16658. "type": "integer"
  16659. },
  16660. "brandname": {
  16661. "description": "品牌名称",
  16662. "type": "string"
  16663. },
  16664. "currencyid": {
  16665. "description": "报价货币ID",
  16666. "type": "integer"
  16667. },
  16668. "currencyname": {
  16669. "description": "币种名称",
  16670. "type": "string"
  16671. },
  16672. "deliverygoodscode": {
  16673. "description": "现货商品代码",
  16674. "type": "string"
  16675. },
  16676. "deliverygoodsid": {
  16677. "description": "现货商品id",
  16678. "type": "integer"
  16679. },
  16680. "deliverygoodsname": {
  16681. "description": "现货商品名称",
  16682. "type": "string"
  16683. },
  16684. "enumdicname": {
  16685. "description": "现货商品单位名称",
  16686. "type": "string"
  16687. },
  16688. "gbenumdicname": {
  16689. "description": "品类单位名称",
  16690. "type": "string"
  16691. },
  16692. "gmunitid": {
  16693. "description": "品类单位id",
  16694. "type": "integer"
  16695. },
  16696. "isvalid": {
  16697. "description": "是否有效 - 0:无效 1:有效",
  16698. "type": "integer"
  16699. },
  16700. "operateid": {
  16701. "description": "最后操作人",
  16702. "type": "integer"
  16703. },
  16704. "operatesrc": {
  16705. "description": "最后操作来源 - 1:管理端 2:终端",
  16706. "type": "integer"
  16707. },
  16708. "operatetime": {
  16709. "description": "最后操作时间",
  16710. "type": "string"
  16711. },
  16712. "operatorname": {
  16713. "description": "操作人名称",
  16714. "type": "string"
  16715. },
  16716. "spotgoodsbrandid": {
  16717. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16718. "type": "integer"
  16719. },
  16720. "spotgoodsprice": {
  16721. "description": "现货价格",
  16722. "type": "number"
  16723. },
  16724. "tradedate": {
  16725. "description": "交易日(yyyyMMdd)",
  16726. "type": "string"
  16727. },
  16728. "unitid": {
  16729. "description": "现货商品单位id",
  16730. "type": "integer"
  16731. },
  16732. "wrstandardcode": {
  16733. "description": "品类代码",
  16734. "type": "string"
  16735. },
  16736. "wrstandardid": {
  16737. "description": "现货品类ID(通用则为0)",
  16738. "type": "integer"
  16739. },
  16740. "wrstandardname": {
  16741. "description": "品类名称",
  16742. "type": "string"
  16743. }
  16744. }
  16745. },
  16746. "models.Ermcp3SpotGoodsPriceLog": {
  16747. "type": "object",
  16748. "properties": {
  16749. "areauserid": {
  16750. "description": "所属机构id",
  16751. "type": "integer"
  16752. },
  16753. "brandname": {
  16754. "description": "品牌名称",
  16755. "type": "string"
  16756. },
  16757. "currencyid": {
  16758. "description": "报价货币ID",
  16759. "type": "integer"
  16760. },
  16761. "deliverygoodscode": {
  16762. "description": "现货商品代码",
  16763. "type": "string"
  16764. },
  16765. "deliverygoodsid": {
  16766. "description": "现货商品id",
  16767. "type": "integer"
  16768. },
  16769. "deliverygoodsname": {
  16770. "description": "现货商品名称",
  16771. "type": "string"
  16772. },
  16773. "enumdicname": {
  16774. "description": "现货商品单位名称",
  16775. "type": "string"
  16776. },
  16777. "gbenumdicname": {
  16778. "description": "品类单位名称",
  16779. "type": "string"
  16780. },
  16781. "gmunitid": {
  16782. "description": "品类单位id",
  16783. "type": "integer"
  16784. },
  16785. "logid": {
  16786. "description": "日志id",
  16787. "type": "integer"
  16788. },
  16789. "operateid": {
  16790. "description": "最后操作人",
  16791. "type": "integer"
  16792. },
  16793. "operatesrc": {
  16794. "description": "最后操作来源 - 1:管理端 2:终端",
  16795. "type": "integer"
  16796. },
  16797. "operatetime": {
  16798. "description": "最后操作时间",
  16799. "type": "string"
  16800. },
  16801. "operatorname": {
  16802. "description": "操作人名称",
  16803. "type": "string"
  16804. },
  16805. "spotgoodsbrandid": {
  16806. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16807. "type": "integer"
  16808. },
  16809. "spotgoodsprice": {
  16810. "description": "现货价格",
  16811. "type": "number"
  16812. },
  16813. "tradedate": {
  16814. "description": "交易日(yyyyMMdd)",
  16815. "type": "string"
  16816. },
  16817. "unitid": {
  16818. "description": "现货商品单位id",
  16819. "type": "integer"
  16820. },
  16821. "wrstandardcode": {
  16822. "description": "品类代码",
  16823. "type": "string"
  16824. },
  16825. "wrstandardid": {
  16826. "description": "现货品类ID(通用则为0)",
  16827. "type": "integer"
  16828. },
  16829. "wrstandardname": {
  16830. "description": "品类名称",
  16831. "type": "string"
  16832. }
  16833. }
  16834. },
  16835. "models.Ermcp3TaFutuReDataReport": {
  16836. "type": "object",
  16837. "properties": {
  16838. "accountid": {
  16839. "description": "交易账户",
  16840. "type": "integer"
  16841. },
  16842. "accountname": {
  16843. "description": "交易账号名称",
  16844. "type": "string"
  16845. },
  16846. "begindate": {
  16847. "description": "开始交易日",
  16848. "type": "string"
  16849. },
  16850. "buyorsell": {
  16851. "description": "持仓方向",
  16852. "type": "integer"
  16853. },
  16854. "charge": {
  16855. "description": "手续费",
  16856. "type": "number"
  16857. },
  16858. "closeavgprice": {
  16859. "description": "平仓均价",
  16860. "type": "number"
  16861. },
  16862. "closepl": {
  16863. "description": "平仓损益",
  16864. "type": "number"
  16865. },
  16866. "currencyid": {
  16867. "description": "结算币种ID",
  16868. "type": "integer"
  16869. },
  16870. "cycletime": {
  16871. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16872. "type": "string"
  16873. },
  16874. "cycletype": {
  16875. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16876. "type": "integer"
  16877. },
  16878. "enddate": {
  16879. "description": "结束交易日",
  16880. "type": "string"
  16881. },
  16882. "enumdicname": {
  16883. "description": "单位名称(现货商品)",
  16884. "type": "string"
  16885. },
  16886. "floatpl": {
  16887. "description": "浮动损益",
  16888. "type": "number"
  16889. },
  16890. "goodscode": {
  16891. "description": "交易合约代码",
  16892. "type": "string"
  16893. },
  16894. "goodsgroupid": {
  16895. "description": "交易品种",
  16896. "type": "integer"
  16897. },
  16898. "goodsgroupname": {
  16899. "description": "交易品种名称",
  16900. "type": "string"
  16901. },
  16902. "goodsgroupspotqty": {
  16903. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  16904. "type": "number"
  16905. },
  16906. "goodsid": {
  16907. "description": "交易合约",
  16908. "type": "integer"
  16909. },
  16910. "goodsname": {
  16911. "description": "交易合约名称",
  16912. "type": "string"
  16913. },
  16914. "goodunitid": {
  16915. "description": "交易合约单位id",
  16916. "type": "integer"
  16917. },
  16918. "holdamount": {
  16919. "description": "期末持仓额",
  16920. "type": "number"
  16921. },
  16922. "holdqty": {
  16923. "description": "期末持仓量",
  16924. "type": "number"
  16925. },
  16926. "lastholdamount": {
  16927. "description": "当前持仓额",
  16928. "type": "number"
  16929. },
  16930. "lastprice": {
  16931. "description": "最新价",
  16932. "type": "number"
  16933. },
  16934. "middlegoodsqty": {
  16935. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  16936. "type": "number"
  16937. },
  16938. "openamount": {
  16939. "description": "期末开仓额",
  16940. "type": "number"
  16941. },
  16942. "openavgprice": {
  16943. "description": "开仓均价",
  16944. "type": "number"
  16945. },
  16946. "oriholdamount": {
  16947. "description": "期初持仓额",
  16948. "type": "number"
  16949. },
  16950. "oriholdqty": {
  16951. "description": "期初持仓量",
  16952. "type": "number"
  16953. },
  16954. "oriopenamount": {
  16955. "description": "期初开仓额",
  16956. "type": "number"
  16957. },
  16958. "outergroupcode": {
  16959. "description": "交易品种代码",
  16960. "type": "string"
  16961. },
  16962. "reckondate": {
  16963. "description": "日照时期(yyyyMMdd)",
  16964. "type": "string"
  16965. },
  16966. "reckonholdamount": {
  16967. "description": "结算持仓额",
  16968. "type": "number"
  16969. },
  16970. "reckonpl": {
  16971. "description": "结算损益",
  16972. "type": "number"
  16973. },
  16974. "reckonpl2": {
  16975. "description": "结算逐笔盈亏",
  16976. "type": "number"
  16977. },
  16978. "reckonprice": {
  16979. "description": "结算价",
  16980. "type": "number"
  16981. },
  16982. "relateduserid": {
  16983. "description": "账户关联用户ID",
  16984. "type": "integer"
  16985. },
  16986. "todaycloseamount": {
  16987. "description": "今平仓额",
  16988. "type": "number"
  16989. },
  16990. "todaycloseqty": {
  16991. "description": "今平仓量",
  16992. "type": "number"
  16993. },
  16994. "todaygoodsgroupspotqty": {
  16995. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  16996. "type": "number"
  16997. },
  16998. "todaymiddlegoodsqty": {
  16999. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  17000. "type": "number"
  17001. },
  17002. "todayopenamount": {
  17003. "description": "今开仓额",
  17004. "type": "number"
  17005. },
  17006. "todayopenqty": {
  17007. "description": "今开仓量",
  17008. "type": "number"
  17009. },
  17010. "userid": {
  17011. "description": "账户所属用户ID",
  17012. "type": "integer"
  17013. }
  17014. }
  17015. },
  17016. "models.Ermcp3Wrstandard": {
  17017. "type": "object",
  17018. "properties": {
  17019. "areauserid": {
  17020. "description": "所属机构",
  17021. "type": "integer"
  17022. },
  17023. "convertfactor": {
  17024. "description": "标仓系数",
  17025. "type": "number"
  17026. },
  17027. "createtime": {
  17028. "description": "创建时间",
  17029. "type": "string"
  17030. },
  17031. "creatorid": {
  17032. "description": "创建人",
  17033. "type": "integer"
  17034. },
  17035. "deliverygoodsid": {
  17036. "description": "现货品种ID",
  17037. "type": "integer"
  17038. },
  17039. "enumdicname": {
  17040. "description": "品类单位名称",
  17041. "type": "string"
  17042. },
  17043. "isvalid": {
  17044. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  17045. "type": "integer"
  17046. },
  17047. "minivalue": {
  17048. "description": "最小变动值",
  17049. "type": "integer"
  17050. },
  17051. "minivaluedp": {
  17052. "description": "最小变动值小数位",
  17053. "type": "integer"
  17054. },
  17055. "realminivalue": {
  17056. "description": "实际最小变动值",
  17057. "type": "integer"
  17058. },
  17059. "realminivaluedp": {
  17060. "description": "实际最小变动值小数位",
  17061. "type": "integer"
  17062. },
  17063. "remark": {
  17064. "description": "备注",
  17065. "type": "string"
  17066. },
  17067. "unitid": {
  17068. "description": "品类单位ID",
  17069. "type": "integer"
  17070. },
  17071. "updatetime": {
  17072. "description": "更新时间",
  17073. "type": "string"
  17074. },
  17075. "wrstandardcode": {
  17076. "description": "品类代码",
  17077. "type": "string"
  17078. },
  17079. "wrstandardid": {
  17080. "description": "品类ID(SEQ_WRSTANDARD)",
  17081. "type": "integer"
  17082. },
  17083. "wrstandardname": {
  17084. "description": "品类名称",
  17085. "type": "string"
  17086. }
  17087. }
  17088. },
  17089. "models.ErmcpAreaSpotDetailModel": {
  17090. "type": "object",
  17091. "properties": {
  17092. "contracttype": {
  17093. "description": "合同类型 1-采购 -1-销售",
  17094. "type": "integer"
  17095. },
  17096. "createtime": {
  17097. "description": "创建时间",
  17098. "type": "string"
  17099. },
  17100. "enumdicname": {
  17101. "description": "现货商品单位名称",
  17102. "type": "string"
  17103. },
  17104. "logtype": {
  17105. "description": "记录类型 1-套保 2-现货合同",
  17106. "type": "integer"
  17107. },
  17108. "qty": {
  17109. "description": "数量",
  17110. "type": "number"
  17111. },
  17112. "recordname": {
  17113. "description": "类型名称",
  17114. "type": "string"
  17115. },
  17116. "relatedid": {
  17117. "description": "套保计划ID/现货合同ID",
  17118. "type": "string"
  17119. },
  17120. "relatedno": {
  17121. "description": "编号",
  17122. "type": "string"
  17123. },
  17124. "strtime": {
  17125. "description": "时间",
  17126. "type": "string"
  17127. },
  17128. "wrstandardcode": {
  17129. "description": "现货商品代码",
  17130. "type": "string"
  17131. },
  17132. "wrstandardname": {
  17133. "description": "现货商品名称",
  17134. "type": "string"
  17135. }
  17136. }
  17137. },
  17138. "models.ErmcpAvalidGoodsGroupModel": {
  17139. "type": "object",
  17140. "properties": {
  17141. "goodsgroupid": {
  17142. "description": "期货品种id",
  17143. "type": "integer"
  17144. },
  17145. "goodsgroupname": {
  17146. "description": "期货品种名称",
  17147. "type": "string"
  17148. },
  17149. "goodunitid": {
  17150. "description": "品种单位id",
  17151. "type": "integer"
  17152. },
  17153. "goodunitname": {
  17154. "description": "品种单位名称",
  17155. "type": "string"
  17156. },
  17157. "outergroupcode": {
  17158. "description": "期货品种代码",
  17159. "type": "string"
  17160. }
  17161. }
  17162. },
  17163. "models.ErmcpBizGroupEx": {
  17164. "type": "object",
  17165. "properties": {
  17166. "acclist": {
  17167. "description": "账号列表",
  17168. "type": "array",
  17169. "items": {
  17170. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  17171. }
  17172. },
  17173. "bizgroupid": {
  17174. "description": "业务分组id",
  17175. "type": "integer"
  17176. },
  17177. "biztype": {
  17178. "description": "业务类型 1-套保 2-套利",
  17179. "type": "integer"
  17180. },
  17181. "wrlist": {
  17182. "description": "现货商品表",
  17183. "type": "array",
  17184. "items": {
  17185. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  17186. }
  17187. }
  17188. }
  17189. },
  17190. "models.ErmcpBizGroupSpotGoods": {
  17191. "type": "object",
  17192. "properties": {
  17193. "areauserid": {
  17194. "description": "所属机构id",
  17195. "type": "integer"
  17196. },
  17197. "bizgroupid": {
  17198. "description": "分组id",
  17199. "type": "integer"
  17200. },
  17201. "biztype": {
  17202. "description": "业务类型 1-套保 2-套利",
  17203. "type": "integer"
  17204. },
  17205. "deliverygoodscode": {
  17206. "description": "现货商品代码",
  17207. "type": "string"
  17208. },
  17209. "deliverygoodsid": {
  17210. "description": "现货商品id",
  17211. "type": "integer"
  17212. },
  17213. "deliverygoodsname": {
  17214. "description": "现货商品名称",
  17215. "type": "string"
  17216. },
  17217. "unitid": {
  17218. "description": "现货商品单位id",
  17219. "type": "integer"
  17220. }
  17221. }
  17222. },
  17223. "models.ErmcpBizGroupTaAccount": {
  17224. "type": "object",
  17225. "properties": {
  17226. "accountid": {
  17227. "description": "账号id",
  17228. "type": "integer"
  17229. },
  17230. "accountname": {
  17231. "description": "账号名称",
  17232. "type": "string"
  17233. },
  17234. "areauserid": {
  17235. "description": "所属机构id",
  17236. "type": "integer"
  17237. },
  17238. "bizgroupid": {
  17239. "description": "业务分组id",
  17240. "type": "integer"
  17241. },
  17242. "ismain": {
  17243. "description": "是否主账号 1-是 0-否",
  17244. "type": "integer"
  17245. }
  17246. }
  17247. },
  17248. "models.ErmcpDGFactoryItem": {
  17249. "type": "object",
  17250. "properties": {
  17251. "areauserid": {
  17252. "description": "用户id",
  17253. "type": "integer"
  17254. },
  17255. "deliverygoodsid": {
  17256. "description": "现货品种ID",
  17257. "type": "integer"
  17258. },
  17259. "dgfactoryitemid": {
  17260. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  17261. "type": "integer"
  17262. },
  17263. "dgfactoryitemtypeid": {
  17264. "description": "要素项类型",
  17265. "type": "integer"
  17266. },
  17267. "dgfactoryitemvalue": {
  17268. "description": "要素项值(类型为仓库时填写仓库名称)",
  17269. "type": "string"
  17270. },
  17271. "isvalid": {
  17272. "description": "是否有效 - 0:无效 1:有效",
  17273. "type": "integer"
  17274. },
  17275. "orderindex": {
  17276. "description": "顺序",
  17277. "type": "integer"
  17278. },
  17279. "warehouseid": {
  17280. "description": "仓库ID(类型为仓库时填写)",
  17281. "type": "integer"
  17282. }
  17283. }
  17284. },
  17285. "models.ErmcpDeliveryGoods": {
  17286. "type": "object",
  17287. "properties": {
  17288. "agreeunit": {
  17289. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  17290. "type": "integer"
  17291. },
  17292. "areauserid": {
  17293. "description": "所属机构",
  17294. "type": "integer"
  17295. },
  17296. "auditflag": {
  17297. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  17298. "type": "integer"
  17299. },
  17300. "categoryid": {
  17301. "description": "类别ID(SEQ_WRCATEGORY)",
  17302. "type": "integer"
  17303. },
  17304. "deliverygoodscode": {
  17305. "description": "现货品种代码",
  17306. "type": "string"
  17307. },
  17308. "deliverygoodsid": {
  17309. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  17310. "type": "integer"
  17311. },
  17312. "deliverygoodsname": {
  17313. "description": "现货品种名称",
  17314. "type": "string"
  17315. },
  17316. "deliverygoodstype": {
  17317. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  17318. "type": "integer"
  17319. },
  17320. "dgstatus": {
  17321. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  17322. "type": "integer"
  17323. },
  17324. "enumdicname": {
  17325. "description": "现货品种单位名称",
  17326. "type": "string"
  17327. },
  17328. "goodsunitid": {
  17329. "description": "现货品种单位ID",
  17330. "type": "integer"
  17331. },
  17332. "isvalid": {
  17333. "description": "是否有效 - 0:无效 1:有效",
  17334. "type": "integer"
  17335. },
  17336. "qtydecimalplace": {
  17337. "description": "成交量小数位",
  17338. "type": "integer"
  17339. },
  17340. "remark": {
  17341. "description": "备注",
  17342. "type": "string"
  17343. },
  17344. "standardqty": {
  17345. "description": "标准数量(库位数量) [标准品特有]",
  17346. "type": "integer"
  17347. },
  17348. "standardqtyrange": {
  17349. "description": "标准数量偏差范围 [标准品特有]",
  17350. "type": "integer"
  17351. }
  17352. }
  17353. },
  17354. "models.ErmcpDeliveryGoodsDetail2": {
  17355. "type": "object",
  17356. "properties": {
  17357. "convertratio": {
  17358. "description": "套保系数(折算系数)",
  17359. "type": "number"
  17360. },
  17361. "data": {
  17362. "description": "现货商品基本信息(交割品种)",
  17363. "type": "object",
  17364. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17365. },
  17366. "gblist": {
  17367. "description": "品牌列表",
  17368. "type": "array",
  17369. "items": {
  17370. "$ref": "#/definitions/models.Ermcp3Brand"
  17371. }
  17372. },
  17373. "gmlist": {
  17374. "description": "品类列表(仓单标准)",
  17375. "type": "array",
  17376. "items": {
  17377. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17378. }
  17379. }
  17380. }
  17381. },
  17382. "models.ErmcpDeliveryGoodsDetailEx": {
  17383. "type": "object",
  17384. "properties": {
  17385. "data": {
  17386. "description": "现货商品基本信息(交割品种)",
  17387. "type": "object",
  17388. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17389. },
  17390. "gblist": {
  17391. "description": "品牌列表",
  17392. "type": "array",
  17393. "items": {
  17394. "$ref": "#/definitions/models.Ermcp3Brand"
  17395. }
  17396. },
  17397. "gmlist": {
  17398. "description": "品类列表(仓单标准)",
  17399. "type": "array",
  17400. "items": {
  17401. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17402. }
  17403. },
  17404. "mgList": {
  17405. "description": "套保列表",
  17406. "type": "array",
  17407. "items": {
  17408. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  17409. }
  17410. }
  17411. }
  17412. },
  17413. "models.ErmcpExposureDetailModel": {
  17414. "type": "object",
  17415. "properties": {
  17416. "areauserid": {
  17417. "description": "机构ID",
  17418. "type": "integer"
  17419. },
  17420. "changeQty": {
  17421. "description": "套保变动量",
  17422. "type": "number"
  17423. },
  17424. "contracttype": {
  17425. "description": "现货合同类型 - 1:采购 -1:销售",
  17426. "type": "integer"
  17427. },
  17428. "convertfactor": {
  17429. "description": "标仓系数",
  17430. "type": "number"
  17431. },
  17432. "convertratio": {
  17433. "description": "套保系数",
  17434. "type": "number"
  17435. },
  17436. "createtime": {
  17437. "description": "时间",
  17438. "type": "string"
  17439. },
  17440. "enumdicname": {
  17441. "description": "现货商品单位名称",
  17442. "type": "string"
  17443. },
  17444. "logtype": {
  17445. "description": "类型 - 1:套保计划 2:现货合同",
  17446. "type": "integer"
  17447. },
  17448. "middlegoodsId": {
  17449. "description": "套保商品id",
  17450. "type": "integer"
  17451. },
  17452. "middlegoodscode": {
  17453. "description": "套保商品代码",
  17454. "type": "string"
  17455. },
  17456. "middlegoodsname": {
  17457. "description": "套保商品名称",
  17458. "type": "string"
  17459. },
  17460. "qty": {
  17461. "description": "数量",
  17462. "type": "number"
  17463. },
  17464. "relateNo": {
  17465. "description": "现货合同/套保计划编号",
  17466. "type": "string"
  17467. },
  17468. "wrstandardcode": {
  17469. "description": "现货商品代码",
  17470. "type": "string"
  17471. },
  17472. "wrstandardid": {
  17473. "description": "现货商品ID",
  17474. "type": "integer"
  17475. },
  17476. "wrstandardname": {
  17477. "description": "现货商品名称",
  17478. "type": "string"
  17479. }
  17480. }
  17481. },
  17482. "models.ErmcpExposurePostion": {
  17483. "type": "object",
  17484. "properties": {
  17485. "agreeunit": {
  17486. "description": "合约单位",
  17487. "type": "string"
  17488. },
  17489. "areauserid": {
  17490. "description": "所属机构id",
  17491. "type": "integer"
  17492. },
  17493. "convertratio": {
  17494. "description": "期货品种系数(折算系数)",
  17495. "type": "number"
  17496. },
  17497. "curqty": {
  17498. "description": "当前持仓",
  17499. "type": "integer"
  17500. },
  17501. "diffhedgeqty": {
  17502. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17503. "type": "number"
  17504. },
  17505. "diffqty": {
  17506. "description": "持仓变动量=当前持仓-昨日持仓",
  17507. "type": "integer"
  17508. },
  17509. "goodscode": {
  17510. "description": "商品代码",
  17511. "type": "string"
  17512. },
  17513. "goodsid": {
  17514. "description": "商品id",
  17515. "type": "integer"
  17516. },
  17517. "goodsname": {
  17518. "description": "商品名称",
  17519. "type": "string"
  17520. },
  17521. "middlegoodsid": {
  17522. "description": "套保商品id",
  17523. "type": "integer"
  17524. },
  17525. "ydqty": {
  17526. "description": "昨日持仓",
  17527. "type": "integer"
  17528. }
  17529. }
  17530. },
  17531. "models.ErmcpFuturesCompany": {
  17532. "type": "object",
  17533. "properties": {
  17534. "brokerid": {
  17535. "description": "经纪公司代码",
  17536. "type": "string"
  17537. },
  17538. "channeladdress": {
  17539. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  17540. "type": "string"
  17541. },
  17542. "channelid": {
  17543. "description": "对冲渠道ID",
  17544. "type": "string"
  17545. },
  17546. "createtime": {
  17547. "description": "创建时间",
  17548. "type": "string"
  17549. },
  17550. "creatorid": {
  17551. "description": "创建人",
  17552. "type": "string"
  17553. },
  17554. "fcid": {
  17555. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  17556. "type": "integer"
  17557. },
  17558. "fcname": {
  17559. "description": "期货公司名称",
  17560. "type": "string"
  17561. },
  17562. "isvalid": {
  17563. "description": "是否有效 - 0:无效 1:有效",
  17564. "type": "integer"
  17565. },
  17566. "mhpaddress": {
  17567. "description": "MHP服务地址(IP:Port)",
  17568. "type": "string"
  17569. },
  17570. "riskrulegroupid": {
  17571. "description": "风控规则组ID",
  17572. "type": "string"
  17573. },
  17574. "tradefeetmpid": {
  17575. "description": "手续费模板ID[TradeConfigTmpType为2]",
  17576. "type": "string"
  17577. },
  17578. "trademargintmpid": {
  17579. "description": "保证金模板ID [TradeConfigTmpType为1]",
  17580. "type": "string"
  17581. },
  17582. "traderatetmpid": {
  17583. "description": "汇率模板ID[TradeConfigTmpType为3]",
  17584. "type": "string"
  17585. },
  17586. "updatetime": {
  17587. "description": "更新时间",
  17588. "type": "string"
  17589. },
  17590. "updatorid": {
  17591. "description": "更新人",
  17592. "type": "string"
  17593. }
  17594. }
  17595. },
  17596. "models.ErmcpGGConvertCfg": {
  17597. "type": "object",
  17598. "properties": {
  17599. "convertratio": {
  17600. "description": "折算系数",
  17601. "type": "number"
  17602. },
  17603. "destgoodsgroupid": {
  17604. "description": "目标品种ID",
  17605. "type": "integer"
  17606. },
  17607. "dstcode": {
  17608. "description": "目录品种代码",
  17609. "type": "string"
  17610. },
  17611. "dstexchangecode": {
  17612. "description": "目标期货交易所",
  17613. "type": "string"
  17614. },
  17615. "dstname": {
  17616. "description": "目标品种名称",
  17617. "type": "string"
  17618. },
  17619. "dstunitid": {
  17620. "description": "目标品种单位ID",
  17621. "type": "integer"
  17622. },
  17623. "dstunitidname": {
  17624. "description": "目标品种单位名称",
  17625. "type": "string"
  17626. },
  17627. "modifytime": {
  17628. "description": "修改时间",
  17629. "type": "string"
  17630. },
  17631. "srccode": {
  17632. "description": "源品种代码",
  17633. "type": "string"
  17634. },
  17635. "srcexchangecode": {
  17636. "description": "源期货交易所",
  17637. "type": "string"
  17638. },
  17639. "srcgoodsgroupid": {
  17640. "description": "源品种ID",
  17641. "type": "integer"
  17642. },
  17643. "srcname": {
  17644. "description": "源品种名称",
  17645. "type": "string"
  17646. },
  17647. "srcunitid": {
  17648. "description": "源品种单位ID",
  17649. "type": "integer"
  17650. },
  17651. "srcunitidname": {
  17652. "description": "源品种单位名称",
  17653. "type": "string"
  17654. }
  17655. }
  17656. },
  17657. "models.ErmcpGoods": {
  17658. "type": "object",
  17659. "required": [
  17660. "goodscode",
  17661. "goodsid",
  17662. "goodsname",
  17663. "marketid"
  17664. ],
  17665. "properties": {
  17666. "agreeunit": {
  17667. "description": "合约单位",
  17668. "type": "number"
  17669. },
  17670. "areauserid": {
  17671. "description": "所属机构",
  17672. "type": "integer"
  17673. },
  17674. "auditaccountid": {
  17675. "description": "审核操作员账号",
  17676. "type": "integer"
  17677. },
  17678. "audittime": {
  17679. "description": "审核时间",
  17680. "type": "string"
  17681. },
  17682. "cancelaccountid": {
  17683. "description": "注销操作员账号",
  17684. "type": "integer"
  17685. },
  17686. "canceltime": {
  17687. "description": "注销时间",
  17688. "type": "string"
  17689. },
  17690. "closepricemode": {
  17691. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17692. "type": "integer"
  17693. },
  17694. "closepriceparam": {
  17695. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17696. "type": "number"
  17697. },
  17698. "createtime": {
  17699. "description": "创建时间",
  17700. "type": "string"
  17701. },
  17702. "creatorid": {
  17703. "description": "创建人",
  17704. "type": "integer"
  17705. },
  17706. "currencyid": {
  17707. "description": "报价货币ID",
  17708. "type": "integer"
  17709. },
  17710. "cutmode": {
  17711. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17712. "type": "integer"
  17713. },
  17714. "decimalplace": {
  17715. "description": "报价小数位",
  17716. "type": "integer"
  17717. },
  17718. "delistingdate": {
  17719. "description": "商品退市时间(状态:退市) -- 已作废",
  17720. "type": "string"
  17721. },
  17722. "delistingmode": {
  17723. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17724. "type": "integer"
  17725. },
  17726. "deliveryflag": {
  17727. "description": "交割标志 - 0:不可交割 1:可交割",
  17728. "type": "integer"
  17729. },
  17730. "enumdicname": {
  17731. "description": "单位名称",
  17732. "type": "string"
  17733. },
  17734. "forceclosemode": {
  17735. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17736. "type": "integer"
  17737. },
  17738. "forceclosevalue": {
  17739. "description": "定期强平参数 [收益权]",
  17740. "type": "integer"
  17741. },
  17742. "goodscode": {
  17743. "description": "商品代码(内部)",
  17744. "type": "string"
  17745. },
  17746. "goodscurrencyid": {
  17747. "description": "合约货币ID",
  17748. "type": "integer"
  17749. },
  17750. "goodsgroupid": {
  17751. "description": "所属商品组ID",
  17752. "type": "integer"
  17753. },
  17754. "goodsid": {
  17755. "description": "商品ID(自增ID SEQ_GOODS)",
  17756. "type": "integer"
  17757. },
  17758. "goodsname": {
  17759. "description": "商品名称",
  17760. "type": "string"
  17761. },
  17762. "goodsquotetype": {
  17763. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17764. "type": "integer"
  17765. },
  17766. "goodsstatus": {
  17767. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17768. "type": "integer"
  17769. },
  17770. "goodstradetype": {
  17771. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17772. "type": "integer"
  17773. },
  17774. "goodunitid": {
  17775. "description": "报价单位ID",
  17776. "type": "integer"
  17777. },
  17778. "hasquoter": {
  17779. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17780. "type": "integer"
  17781. },
  17782. "hqprotecttime": {
  17783. "description": "行情保护时间(秒)",
  17784. "type": "integer"
  17785. },
  17786. "innerdealmode": {
  17787. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17788. "type": "integer"
  17789. },
  17790. "isbuylimited": {
  17791. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17792. "type": "integer"
  17793. },
  17794. "isvisible": {
  17795. "description": "游客是否可见 - 0:不可见 1:可见",
  17796. "type": "integer"
  17797. },
  17798. "lasttradedate": {
  17799. "description": "最后交易日期(状态:待退市)",
  17800. "type": "string"
  17801. },
  17802. "listingdate": {
  17803. "description": "交易开始日期",
  17804. "type": "string"
  17805. },
  17806. "marketid": {
  17807. "description": "所属市场ID",
  17808. "type": "integer"
  17809. },
  17810. "modifierid": {
  17811. "description": "修改人",
  17812. "type": "integer"
  17813. },
  17814. "modifystatus": {
  17815. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17816. "type": "integer"
  17817. },
  17818. "modifytime": {
  17819. "description": "修改时间",
  17820. "type": "string"
  17821. },
  17822. "outerdealmode": {
  17823. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17824. "type": "integer"
  17825. },
  17826. "outgoodscode": {
  17827. "description": "商品代码(外部)",
  17828. "type": "string"
  17829. },
  17830. "pictureurl": {
  17831. "description": "商品图片",
  17832. "type": "string"
  17833. },
  17834. "qtydecimalplace": {
  17835. "description": "成交量小数位",
  17836. "type": "integer"
  17837. },
  17838. "quotegear": {
  17839. "description": "行情档位(1-10)",
  17840. "type": "integer"
  17841. },
  17842. "quoteminunit": {
  17843. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17844. "type": "integer"
  17845. },
  17846. "quoteshowtype": {
  17847. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17848. "type": "integer"
  17849. },
  17850. "quoteshowtypeinterval": {
  17851. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17852. "type": "integer"
  17853. },
  17854. "relatedgoodsid": {
  17855. "description": "关联参考商品ID",
  17856. "type": "integer"
  17857. },
  17858. "remark": {
  17859. "description": "备注",
  17860. "type": "string"
  17861. },
  17862. "trademode": {
  17863. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17864. "type": "integer"
  17865. }
  17866. }
  17867. },
  17868. "models.ErmcpGoodsBrand": {
  17869. "type": "object",
  17870. "properties": {
  17871. "areauserid": {
  17872. "description": "所属机构",
  17873. "type": "integer"
  17874. },
  17875. "brandid": {
  17876. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  17877. "type": "integer"
  17878. },
  17879. "brandname": {
  17880. "description": "品牌名称",
  17881. "type": "string"
  17882. },
  17883. "createtime": {
  17884. "description": "创建时间",
  17885. "type": "string"
  17886. },
  17887. "creatorid": {
  17888. "description": "创建人",
  17889. "type": "integer"
  17890. },
  17891. "creatorsrc": {
  17892. "description": "创建人来源 - 1:管理端 2:终端",
  17893. "type": "integer"
  17894. },
  17895. "deliverygoodsid": {
  17896. "description": "现货品种ID",
  17897. "type": "integer"
  17898. },
  17899. "isvalid": {
  17900. "description": "是否有效 - 0:无效 1:有效",
  17901. "type": "integer"
  17902. },
  17903. "updatetime": {
  17904. "description": "更新时间",
  17905. "type": "string"
  17906. },
  17907. "updatorid": {
  17908. "description": "更新人",
  17909. "type": "integer"
  17910. },
  17911. "updatorsrc": {
  17912. "description": "更新人来源 - 1:管理端 2:终端",
  17913. "type": "integer"
  17914. },
  17915. "wrstandardid": {
  17916. "description": "现货商品ID",
  17917. "type": "integer"
  17918. }
  17919. }
  17920. },
  17921. "models.ErmcpGoodsModel": {
  17922. "type": "object",
  17923. "properties": {
  17924. "areauserid": {
  17925. "description": "所属机构",
  17926. "type": "integer"
  17927. },
  17928. "convertfactor": {
  17929. "description": "标仓系数",
  17930. "type": "number"
  17931. },
  17932. "createtime": {
  17933. "description": "创建时间",
  17934. "type": "string"
  17935. },
  17936. "creatorid": {
  17937. "description": "创建人",
  17938. "type": "integer"
  17939. },
  17940. "creatorsrc": {
  17941. "description": "创建人来源 - 1:管理端 2:终端",
  17942. "type": "integer"
  17943. },
  17944. "deliverygoodsid": {
  17945. "description": "现货品种ID",
  17946. "type": "integer"
  17947. },
  17948. "isvalid": {
  17949. "description": "是否有效 - 0:无效 1:有效",
  17950. "type": "integer"
  17951. },
  17952. "modelid": {
  17953. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17954. "type": "integer"
  17955. },
  17956. "modelname": {
  17957. "description": "型号名称",
  17958. "type": "string"
  17959. },
  17960. "updatetime": {
  17961. "description": "更新时间",
  17962. "type": "string"
  17963. },
  17964. "updatorid": {
  17965. "description": "更新人",
  17966. "type": "integer"
  17967. },
  17968. "updatorsrc": {
  17969. "description": "更新人来源 - 1:管理端 2:终端",
  17970. "type": "integer"
  17971. },
  17972. "wrstandardid": {
  17973. "description": "现货商品ID",
  17974. "type": "integer"
  17975. }
  17976. }
  17977. },
  17978. "models.ErmcpHedgePosition": {
  17979. "type": "object",
  17980. "properties": {
  17981. "accountid": {
  17982. "description": "资金账号[外部母账户]",
  17983. "type": "integer"
  17984. },
  17985. "curbuyposition": {
  17986. "description": "期末买头寸",
  17987. "type": "integer"
  17988. },
  17989. "cursellposition": {
  17990. "description": "期末卖头寸",
  17991. "type": "integer"
  17992. },
  17993. "curtdbuyposition": {
  17994. "description": "期末今日买头寸",
  17995. "type": "integer"
  17996. },
  17997. "curtdsellposition": {
  17998. "description": "期末今日卖头寸",
  17999. "type": "integer"
  18000. },
  18001. "curydbuyposition": {
  18002. "description": "期末上日买头寸",
  18003. "type": "integer"
  18004. },
  18005. "curydsellposition": {
  18006. "description": "期末上日卖头寸",
  18007. "type": "integer"
  18008. },
  18009. "decreaseqty": {
  18010. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18011. "type": "integer"
  18012. },
  18013. "fretdbuyposition": {
  18014. "description": "冻结今日买头寸",
  18015. "type": "integer"
  18016. },
  18017. "fretdsellposition": {
  18018. "description": "冻结今日卖头寸",
  18019. "type": "integer"
  18020. },
  18021. "freydbuyposition": {
  18022. "description": "冻结上日买头寸",
  18023. "type": "integer"
  18024. },
  18025. "freydsellposition": {
  18026. "description": "冻结上日卖头寸",
  18027. "type": "integer"
  18028. },
  18029. "goodscode": {
  18030. "description": "商品代码",
  18031. "type": "string"
  18032. },
  18033. "goodsid": {
  18034. "description": "商品id",
  18035. "type": "integer"
  18036. },
  18037. "goodsname": {
  18038. "description": "商品名称",
  18039. "type": "string"
  18040. },
  18041. "hedgeaccountcode": {
  18042. "description": "对冲账号",
  18043. "type": "string"
  18044. },
  18045. "hedgegoodsid": {
  18046. "description": "对冲合约ID",
  18047. "type": "integer"
  18048. },
  18049. "increaseqty": {
  18050. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18051. "type": "integer"
  18052. },
  18053. "marketid": {
  18054. "description": "市场ID",
  18055. "type": "integer"
  18056. },
  18057. "relateduserid": {
  18058. "description": "关联用户id",
  18059. "type": "integer"
  18060. },
  18061. "totalcurqty": {
  18062. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18063. "type": "integer"
  18064. },
  18065. "totalydqty": {
  18066. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18067. "type": "integer"
  18068. },
  18069. "tradedate": {
  18070. "description": "交易日(yyyyMMdd)",
  18071. "type": "string"
  18072. },
  18073. "ydbuyposition": {
  18074. "description": "期初买头寸",
  18075. "type": "integer"
  18076. },
  18077. "ydsellposition": {
  18078. "description": "期初卖头寸",
  18079. "type": "integer"
  18080. }
  18081. }
  18082. },
  18083. "models.ErmcpHedgePositionDetail": {
  18084. "type": "object",
  18085. "properties": {
  18086. "buyorsell": {
  18087. "description": "买卖方向 0-买 1-卖",
  18088. "type": "integer"
  18089. },
  18090. "channelbuildtype": {
  18091. "description": "开平方向 1-建仓 2-平仓",
  18092. "type": "integer"
  18093. },
  18094. "goodscode": {
  18095. "description": "商品代码",
  18096. "type": "string"
  18097. },
  18098. "goodsname": {
  18099. "description": "商品名称",
  18100. "type": "string"
  18101. },
  18102. "hedgegoodsid": {
  18103. "description": "商品id",
  18104. "type": "integer"
  18105. },
  18106. "tradeqty": {
  18107. "description": "数量(成交数量)",
  18108. "type": "integer"
  18109. },
  18110. "tradetime": {
  18111. "description": "时间(成交时间)",
  18112. "type": "string"
  18113. }
  18114. }
  18115. },
  18116. "models.ErmcpHisExposure": {
  18117. "type": "object",
  18118. "properties": {
  18119. "needhedgeexposoure": {
  18120. "description": "应套保敞口",
  18121. "type": "number"
  18122. },
  18123. "reckondate": {
  18124. "description": "日照时期(yyyyMMdd)",
  18125. "type": "string"
  18126. },
  18127. "totalexposure": {
  18128. "description": "总敞口",
  18129. "type": "number"
  18130. }
  18131. }
  18132. },
  18133. "models.ErmcpHisExposureS": {
  18134. "type": "object",
  18135. "properties": {
  18136. "data": {
  18137. "description": "历史敞口",
  18138. "type": "array",
  18139. "items": {
  18140. "$ref": "#/definitions/models.ErmcpHisExposure"
  18141. }
  18142. },
  18143. "enumdicname": {
  18144. "description": "单位名称",
  18145. "type": "string"
  18146. },
  18147. "middlegoodscode": {
  18148. "description": "套保品种代码",
  18149. "type": "string"
  18150. },
  18151. "middlegoodsid": {
  18152. "description": "套保品种ID",
  18153. "type": "integer"
  18154. },
  18155. "middlegoodsname": {
  18156. "description": "套保品种名称",
  18157. "type": "string"
  18158. }
  18159. }
  18160. },
  18161. "models.ErmcpLoginTaAccount": {
  18162. "type": "object",
  18163. "properties": {
  18164. "accountid": {
  18165. "description": "账号id",
  18166. "type": "integer"
  18167. },
  18168. "accountname": {
  18169. "description": "账号名称",
  18170. "type": "string"
  18171. }
  18172. }
  18173. },
  18174. "models.ErmcpLoginUser": {
  18175. "type": "object",
  18176. "properties": {
  18177. "acclist": {
  18178. "description": "关联资金账号",
  18179. "type": "array",
  18180. "items": {
  18181. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  18182. }
  18183. },
  18184. "accountname": {
  18185. "description": "用户名称",
  18186. "type": "string"
  18187. },
  18188. "clientroleid": {
  18189. "description": "角色id(usertype=2)",
  18190. "type": "integer"
  18191. },
  18192. "createtime": {
  18193. "description": "创建时间",
  18194. "type": "string"
  18195. },
  18196. "logincode": {
  18197. "description": "登录代码",
  18198. "type": "string"
  18199. },
  18200. "loginid": {
  18201. "description": "登录id(LOGINID)",
  18202. "type": "integer"
  18203. },
  18204. "loginname": {
  18205. "description": "登录名称(loginaccount表中的accountname字段)",
  18206. "type": "string"
  18207. },
  18208. "loginstatus": {
  18209. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  18210. "type": "integer"
  18211. },
  18212. "memberuserid": {
  18213. "description": "所属会员id",
  18214. "type": "integer"
  18215. },
  18216. "mobile": {
  18217. "description": "手机号",
  18218. "type": "string"
  18219. },
  18220. "modifytime": {
  18221. "description": "修改时间",
  18222. "type": "string"
  18223. },
  18224. "password": {
  18225. "description": "密码(不可解密)",
  18226. "type": "string"
  18227. },
  18228. "rolename": {
  18229. "description": "角色名称",
  18230. "type": "string"
  18231. },
  18232. "rolestatus": {
  18233. "description": "角色状态 1-启用 2-停用",
  18234. "type": "integer"
  18235. },
  18236. "roletype": {
  18237. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  18238. "type": "string"
  18239. },
  18240. "userid": {
  18241. "description": "用户id",
  18242. "type": "integer"
  18243. },
  18244. "usertype": {
  18245. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18246. "type": "integer"
  18247. }
  18248. }
  18249. },
  18250. "models.ErmcpLoginUserEx": {
  18251. "type": "object",
  18252. "properties": {
  18253. "accountstatus": {
  18254. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18255. "type": "integer"
  18256. },
  18257. "mobile": {
  18258. "description": "手机号",
  18259. "type": "string"
  18260. },
  18261. "querytype": {
  18262. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  18263. "type": "integer"
  18264. },
  18265. "roleid": {
  18266. "description": "角色id(交易账户-\u003e用户id)",
  18267. "type": "integer"
  18268. },
  18269. "rolename": {
  18270. "description": "角色名称(交易账户-\u003e用户名称)",
  18271. "type": "string"
  18272. },
  18273. "userlist": {
  18274. "description": "用户列表",
  18275. "type": "array",
  18276. "items": {
  18277. "$ref": "#/definitions/models.ErmcpLoginUser"
  18278. }
  18279. },
  18280. "usertype": {
  18281. "description": "用户类型 2-机构 7-企业成员(云平台)",
  18282. "type": "integer"
  18283. }
  18284. }
  18285. },
  18286. "models.ErmcpMiddleGoodsChangeLog": {
  18287. "type": "object",
  18288. "properties": {
  18289. "aftervalue": {
  18290. "description": "变更后",
  18291. "type": "number"
  18292. },
  18293. "applyid": {
  18294. "description": "操作人",
  18295. "type": "integer"
  18296. },
  18297. "applyname": {
  18298. "description": "操作人名称",
  18299. "type": "string"
  18300. },
  18301. "applysrc": {
  18302. "description": "操作来源 - 1:管理端 2:终端",
  18303. "type": "integer"
  18304. },
  18305. "beforevalue": {
  18306. "description": "变更前",
  18307. "type": "number"
  18308. },
  18309. "changelogtype": {
  18310. "description": "变更流水类型 - 1:套保比率变更",
  18311. "type": "integer"
  18312. },
  18313. "handlestatus": {
  18314. "description": "处理状态",
  18315. "type": "integer"
  18316. },
  18317. "logdatetime": {
  18318. "description": "流水日期",
  18319. "type": "string"
  18320. },
  18321. "logid": {
  18322. "description": "流水ID",
  18323. "type": "integer"
  18324. },
  18325. "logremark": {
  18326. "description": "流水备注",
  18327. "type": "string"
  18328. },
  18329. "middlegoodsid": {
  18330. "description": "套保品种ID",
  18331. "type": "integer"
  18332. },
  18333. "tradedate": {
  18334. "description": "交易日(yyyyMMdd)",
  18335. "type": "string"
  18336. },
  18337. "updatetime": {
  18338. "description": "更新时间",
  18339. "type": "string"
  18340. }
  18341. }
  18342. },
  18343. "models.ErmcpMiddleGoodsDetail": {
  18344. "type": "object",
  18345. "properties": {
  18346. "cvList": {
  18347. "description": "期货品种折算列表",
  18348. "type": "array",
  18349. "items": {
  18350. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18351. }
  18352. },
  18353. "mg": {
  18354. "description": "套保品种基本信息",
  18355. "type": "object",
  18356. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18357. },
  18358. "wrcList": {
  18359. "description": "现货品种列表(现货商品折算配置)",
  18360. "type": "array",
  18361. "items": {
  18362. "$ref": "#/definitions/models.WRSConverTDetail"
  18363. }
  18364. }
  18365. }
  18366. },
  18367. "models.ErmcpMiddleGoodsModel": {
  18368. "type": "object",
  18369. "properties": {
  18370. "areauserid": {
  18371. "description": "机构用户ID",
  18372. "type": "integer"
  18373. },
  18374. "createtime": {
  18375. "description": "修改时间",
  18376. "type": "string"
  18377. },
  18378. "enumdicname": {
  18379. "description": "单位名称",
  18380. "type": "string"
  18381. },
  18382. "evaluateratio": {
  18383. "description": "估价系数",
  18384. "type": "number"
  18385. },
  18386. "goodsgroupid": {
  18387. "description": "关联期货品种ID",
  18388. "type": "integer"
  18389. },
  18390. "goodsunitid": {
  18391. "description": "单位ID",
  18392. "type": "integer"
  18393. },
  18394. "isvalid": {
  18395. "description": "状态 0-无效(停用) 1-有效(正常)",
  18396. "type": "integer"
  18397. },
  18398. "middlegoodscode": {
  18399. "description": "套保品种代码",
  18400. "type": "string"
  18401. },
  18402. "middlegoodsid": {
  18403. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18404. "type": "integer"
  18405. },
  18406. "middlegoodsname": {
  18407. "description": "套保品种名称",
  18408. "type": "string"
  18409. },
  18410. "modifytime": {
  18411. "description": "修改时间",
  18412. "type": "string"
  18413. },
  18414. "needarbitrageratio": {
  18415. "description": "套利比例",
  18416. "type": "number"
  18417. },
  18418. "needhedgeratio": {
  18419. "description": "套保比率",
  18420. "type": "number"
  18421. },
  18422. "qtydecimalplace": {
  18423. "description": "数量小数位",
  18424. "type": "integer"
  18425. },
  18426. "relatedgoodsid": {
  18427. "description": "关联交易商品ID",
  18428. "type": "integer"
  18429. },
  18430. "relatedgoodstype": {
  18431. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18432. "type": "integer"
  18433. },
  18434. "remark": {
  18435. "description": "备注",
  18436. "type": "string"
  18437. }
  18438. }
  18439. },
  18440. "models.ErmcpMiddlegoodsRelateGoods": {
  18441. "type": "object",
  18442. "properties": {
  18443. "agreeunit": {
  18444. "description": "合约乘数",
  18445. "type": "number"
  18446. },
  18447. "convertratio": {
  18448. "description": "折算系数",
  18449. "type": "number"
  18450. },
  18451. "enumdicname": {
  18452. "description": "单位名称(交易商品)",
  18453. "type": "string"
  18454. },
  18455. "goodscode": {
  18456. "description": "交易商品代码",
  18457. "type": "string"
  18458. },
  18459. "goodsgroupid": {
  18460. "description": "交易品种id",
  18461. "type": "integer"
  18462. },
  18463. "goodsid": {
  18464. "description": "商品Id",
  18465. "type": "integer"
  18466. },
  18467. "goodsname": {
  18468. "description": "交易商品名称",
  18469. "type": "string"
  18470. },
  18471. "goodunitid": {
  18472. "description": "交易商品单位id",
  18473. "type": "integer"
  18474. },
  18475. "middlegoodsid": {
  18476. "description": "套保商品id",
  18477. "type": "integer"
  18478. },
  18479. "middlegoodsname": {
  18480. "description": "套保商品名称",
  18481. "type": "string"
  18482. },
  18483. "middlegoodsswcode": {
  18484. "description": "套保商品代码",
  18485. "type": "string"
  18486. },
  18487. "needarbitrageratio": {
  18488. "description": "应套利比例",
  18489. "type": "number"
  18490. },
  18491. "needhedgeratio": {
  18492. "description": "应套保比例",
  18493. "type": "number"
  18494. }
  18495. }
  18496. },
  18497. "models.ErmcpOPLogModel": {
  18498. "type": "object",
  18499. "properties": {
  18500. "aftervalue": {
  18501. "description": "变更后",
  18502. "type": "number"
  18503. },
  18504. "applyid": {
  18505. "description": "操作人ID",
  18506. "type": "string"
  18507. },
  18508. "applyname": {
  18509. "description": "操作人名称",
  18510. "type": "string"
  18511. },
  18512. "beforevalue": {
  18513. "description": "变更前",
  18514. "type": "number"
  18515. },
  18516. "biztype": {
  18517. "description": "业务类型 - 1:套保计划 2:现货合同",
  18518. "type": "integer"
  18519. },
  18520. "contracttype": {
  18521. "description": "现货合同类型 - 1:采购 -1:销售",
  18522. "type": "integer"
  18523. },
  18524. "logvalue": {
  18525. "description": "数值",
  18526. "type": "number"
  18527. },
  18528. "operatelogtype": {
  18529. "description": "操作流水类型",
  18530. "type": "integer"
  18531. },
  18532. "operatelogtypedesc": {
  18533. "description": "操作流水类型名称",
  18534. "type": "string"
  18535. },
  18536. "relatedid": {
  18537. "description": "现货合同ID\\套保计划",
  18538. "type": "string"
  18539. },
  18540. "updatetime": {
  18541. "description": "更新时间",
  18542. "type": "string"
  18543. }
  18544. }
  18545. },
  18546. "models.ErmcpPendingAudit": {
  18547. "type": "object",
  18548. "properties": {
  18549. "areastockqty": {
  18550. "description": "待审核数量: 库存申请",
  18551. "type": "integer"
  18552. },
  18553. "businessdjqty": {
  18554. "description": "待审核数量: 点价",
  18555. "type": "integer"
  18556. },
  18557. "businessfpqty": {
  18558. "description": "待审核数量: 发票",
  18559. "type": "integer"
  18560. },
  18561. "businessjsqty": {
  18562. "description": "待审核数量: 结算",
  18563. "type": "integer"
  18564. },
  18565. "businesskxqty": {
  18566. "description": "待审核数量: 款项",
  18567. "type": "integer"
  18568. },
  18569. "hedgeplanqty": {
  18570. "description": "待审核数量: 套保计划",
  18571. "type": "integer"
  18572. },
  18573. "spotcontractqty": {
  18574. "description": "待审核数量: 现货合同",
  18575. "type": "integer"
  18576. },
  18577. "userqty": {
  18578. "description": "待审核数量: 用户",
  18579. "type": "integer"
  18580. }
  18581. }
  18582. },
  18583. "models.ErmcpRealExposureModel": {
  18584. "type": "object",
  18585. "properties": {
  18586. "AreaUserID": {
  18587. "description": "所属机构",
  18588. "type": "integer"
  18589. },
  18590. "BuyFutureQty": {
  18591. "description": "买入期货数量",
  18592. "type": "number"
  18593. },
  18594. "BuyPlanQty": {
  18595. "description": "采购计划数量",
  18596. "type": "number"
  18597. },
  18598. "BuyPricedQty": {
  18599. "description": "采购合同已定价数量",
  18600. "type": "number"
  18601. },
  18602. "MiddleGoodsCode": {
  18603. "description": "套保品种代码",
  18604. "type": "string"
  18605. },
  18606. "MiddleGoodsHedgeRatio": {
  18607. "description": "套保比例",
  18608. "type": "number"
  18609. },
  18610. "MiddleGoodsID": {
  18611. "description": "套保品种",
  18612. "type": "integer"
  18613. },
  18614. "MiddleGoodsName": {
  18615. "description": "套保品种名称",
  18616. "type": "string"
  18617. },
  18618. "NeedHedgeExposoure": {
  18619. "description": "应套保敞口(套保敞口)",
  18620. "type": "number"
  18621. },
  18622. "NeedHedgeRatio": {
  18623. "description": "应套保敞口比例",
  18624. "type": "number"
  18625. },
  18626. "OriBuyFutureQty": {
  18627. "description": "期初买入期货数量",
  18628. "type": "number"
  18629. },
  18630. "OriBuyPlanQty": {
  18631. "description": "期初采购计划数量",
  18632. "type": "number"
  18633. },
  18634. "OriBuyPricedQty": {
  18635. "description": "期初采购合同已定价数量",
  18636. "type": "number"
  18637. },
  18638. "OriSellFutureQty": {
  18639. "description": "期初卖出期货数量",
  18640. "type": "number"
  18641. },
  18642. "OriSellPlanQty": {
  18643. "description": "期初销售计划数量",
  18644. "type": "number"
  18645. },
  18646. "OriSellPricedQty": {
  18647. "description": "期初销售合同已定价数量",
  18648. "type": "number"
  18649. },
  18650. "SellFutureQty": {
  18651. "description": "卖出期货数量",
  18652. "type": "number"
  18653. },
  18654. "SellPlanQty": {
  18655. "description": "销售计划数量",
  18656. "type": "number"
  18657. },
  18658. "SellPricedQty": {
  18659. "description": "销售合同已定价数量",
  18660. "type": "number"
  18661. },
  18662. "TotalExposure": {
  18663. "description": "总敞口",
  18664. "type": "number"
  18665. },
  18666. "TotalFutureQty": {
  18667. "description": "期货总量",
  18668. "type": "number"
  18669. },
  18670. "TotalHedgeRatio": {
  18671. "description": "敞口比例",
  18672. "type": "number"
  18673. },
  18674. "TotalNeedHedgeQty": {
  18675. "description": "应套保总量(现货应套保总量)",
  18676. "type": "number"
  18677. },
  18678. "TotalSpotQty": {
  18679. "description": "现货总量",
  18680. "type": "number"
  18681. },
  18682. "arbitrageqty": {
  18683. "description": "套利量",
  18684. "type": "number"
  18685. },
  18686. "diffArbitrageQty": {
  18687. "description": "套利变动量",
  18688. "type": "number"
  18689. },
  18690. "diffExposoureQty": {
  18691. "description": "变动量(套保敞口)",
  18692. "type": "number"
  18693. },
  18694. "diffFutuQty": {
  18695. "description": "变动量(期货总量)",
  18696. "type": "number"
  18697. },
  18698. "diffHedgeQty": {
  18699. "description": "套保变动量",
  18700. "type": "number"
  18701. },
  18702. "diffQty": {
  18703. "description": "变动量(总敞口)",
  18704. "type": "number"
  18705. },
  18706. "diffSpotHedgeQty": {
  18707. "description": "变动量(现货应套保总量)",
  18708. "type": "number"
  18709. },
  18710. "diffSpotQty": {
  18711. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  18712. "type": "number"
  18713. },
  18714. "enumdicname": {
  18715. "description": "单位名称",
  18716. "type": "string"
  18717. },
  18718. "hedgeqty": {
  18719. "description": "套保量",
  18720. "type": "number"
  18721. },
  18722. "needarbitrageqty": {
  18723. "description": "应套利量",
  18724. "type": "number"
  18725. },
  18726. "needarbitrageratio": {
  18727. "description": "套利比例",
  18728. "type": "number"
  18729. },
  18730. "needhedgeqty": {
  18731. "description": "应套保量",
  18732. "type": "number"
  18733. },
  18734. "oriTotalFutuQty": {
  18735. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  18736. "type": "number"
  18737. },
  18738. "oriTotalSpotQty": {
  18739. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  18740. "type": "number"
  18741. },
  18742. "oriarbitrageqty": {
  18743. "description": "期初套利量",
  18744. "type": "number"
  18745. },
  18746. "orihedgeqty": {
  18747. "description": "期初套保量",
  18748. "type": "number"
  18749. },
  18750. "orineedhedgeexposoure": {
  18751. "description": "期初套保敞口",
  18752. "type": "number"
  18753. },
  18754. "oritotalexposure": {
  18755. "description": "期初总敞口",
  18756. "type": "number"
  18757. },
  18758. "oritotalfutureqty": {
  18759. "description": "期初期货总量",
  18760. "type": "number"
  18761. },
  18762. "oritotalneedhedgeqty": {
  18763. "description": "期初现货应套保量",
  18764. "type": "number"
  18765. }
  18766. }
  18767. },
  18768. "models.ErmcpRole": {
  18769. "type": "object",
  18770. "properties": {
  18771. "areauserid": {
  18772. "description": "所属机构",
  18773. "type": "integer"
  18774. },
  18775. "autoid": {
  18776. "description": "角色ID(自增ID)",
  18777. "type": "integer"
  18778. },
  18779. "modifierid": {
  18780. "description": "修改人(创建人)",
  18781. "type": "integer"
  18782. },
  18783. "modifiername": {
  18784. "description": "修改人名称",
  18785. "type": "string"
  18786. },
  18787. "modifytime": {
  18788. "description": "修改时间(创建时间)",
  18789. "type": "string"
  18790. },
  18791. "rolename": {
  18792. "description": "角色名称",
  18793. "type": "string"
  18794. },
  18795. "rolestatus": {
  18796. "description": "角色状态 - 1:启用 2:停用",
  18797. "type": "integer"
  18798. },
  18799. "roletype": {
  18800. "description": "角色类型 - 1- 管理端 2- 交易端",
  18801. "type": "integer"
  18802. }
  18803. }
  18804. },
  18805. "models.ErmcpRoleMenu": {
  18806. "type": "object",
  18807. "properties": {
  18808. "iconame": {
  18809. "description": "菜单图标",
  18810. "type": "string"
  18811. },
  18812. "ishadrole": {
  18813. "description": "是否有权限",
  18814. "type": "boolean"
  18815. },
  18816. "menutype": {
  18817. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18818. "type": "integer"
  18819. },
  18820. "parentcode": {
  18821. "description": "上级资源代码",
  18822. "type": "string"
  18823. },
  18824. "remark": {
  18825. "description": "菜单备注",
  18826. "type": "string"
  18827. },
  18828. "resourcecode": {
  18829. "description": "菜单代码",
  18830. "type": "string"
  18831. },
  18832. "resourcelevel": {
  18833. "description": "级别",
  18834. "type": "integer"
  18835. },
  18836. "resourcename": {
  18837. "description": "菜单名称",
  18838. "type": "string"
  18839. },
  18840. "roleid": {
  18841. "description": "角色id",
  18842. "type": "integer"
  18843. },
  18844. "sort": {
  18845. "description": "排序",
  18846. "type": "integer"
  18847. },
  18848. "url": {
  18849. "description": "URL",
  18850. "type": "string"
  18851. },
  18852. "userid": {
  18853. "description": "用户id",
  18854. "type": "integer"
  18855. }
  18856. }
  18857. },
  18858. "models.ErmcpRoleMenuEx": {
  18859. "type": "object",
  18860. "properties": {
  18861. "menu": {
  18862. "description": "父级菜单",
  18863. "type": "object",
  18864. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18865. },
  18866. "subMenu": {
  18867. "description": "子级菜单",
  18868. "type": "array",
  18869. "items": {
  18870. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  18871. }
  18872. }
  18873. }
  18874. },
  18875. "models.ErmcpTaAccount": {
  18876. "type": "object",
  18877. "properties": {
  18878. "accountid": {
  18879. "description": "账户id",
  18880. "type": "integer"
  18881. },
  18882. "accountname": {
  18883. "description": "账户名称",
  18884. "type": "string"
  18885. },
  18886. "currencyid": {
  18887. "description": "币种id",
  18888. "type": "integer"
  18889. },
  18890. "hedgeaccountcode": {
  18891. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18892. "type": "string"
  18893. },
  18894. "ismain": {
  18895. "description": "是否主账户 0-否 1-是",
  18896. "type": "integer"
  18897. },
  18898. "parentaccountid": {
  18899. "description": "父账户id",
  18900. "type": "integer"
  18901. },
  18902. "relateduserid": {
  18903. "description": "关联userid",
  18904. "type": "integer"
  18905. },
  18906. "tradefeetmpid": {
  18907. "description": "手续费模板id",
  18908. "type": "integer"
  18909. },
  18910. "tradefeetmpname": {
  18911. "description": "手续费模板名称",
  18912. "type": "string"
  18913. },
  18914. "trademargintmpid": {
  18915. "description": "保证金模板id",
  18916. "type": "integer"
  18917. },
  18918. "trademargintmpname": {
  18919. "description": "保证金模板名称",
  18920. "type": "string"
  18921. },
  18922. "traderatetmpid": {
  18923. "description": "汇率模板id",
  18924. "type": "integer"
  18925. },
  18926. "traderatetmpname": {
  18927. "description": "汇率模板名称",
  18928. "type": "string"
  18929. },
  18930. "tradestatus": {
  18931. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18932. "type": "integer"
  18933. },
  18934. "userid": {
  18935. "description": "用户id",
  18936. "type": "integer"
  18937. }
  18938. }
  18939. },
  18940. "models.ErmcpTaAccountEx": {
  18941. "type": "object",
  18942. "properties": {
  18943. "mainAcc": {
  18944. "description": "主账号",
  18945. "type": "object",
  18946. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18947. },
  18948. "subacclist": {
  18949. "description": "子账号列表",
  18950. "type": "array",
  18951. "items": {
  18952. "$ref": "#/definitions/models.ErmcpTaAccount"
  18953. }
  18954. }
  18955. }
  18956. },
  18957. "models.ErmcpTaAccountInfo": {
  18958. "type": "object",
  18959. "properties": {
  18960. "accountid": {
  18961. "description": "资金账户ID",
  18962. "type": "integer"
  18963. },
  18964. "accountname": {
  18965. "description": "账户名称",
  18966. "type": "string"
  18967. },
  18968. "balance": {
  18969. "description": "期初余额",
  18970. "type": "number"
  18971. },
  18972. "capitalbalance": {
  18973. "description": "本金余额[外部子账户实际出入金余额]",
  18974. "type": "number"
  18975. },
  18976. "closepl": {
  18977. "description": "今日平仓盈亏",
  18978. "type": "number"
  18979. },
  18980. "creditdecrease": {
  18981. "description": "今日授信减少",
  18982. "type": "number"
  18983. },
  18984. "creditincrease": {
  18985. "description": "今日授信增加",
  18986. "type": "number"
  18987. },
  18988. "curdebt": {
  18989. "description": "期末欠款",
  18990. "type": "number"
  18991. },
  18992. "currencyid": {
  18993. "description": "货币ID",
  18994. "type": "integer"
  18995. },
  18996. "currentbalance": {
  18997. "description": "期末余额",
  18998. "type": "number"
  18999. },
  19000. "freezecharge": {
  19001. "description": "手续费冻结",
  19002. "type": "number"
  19003. },
  19004. "freezemargin": {
  19005. "description": "冻结保证金",
  19006. "type": "number"
  19007. },
  19008. "fromaccountid": {
  19009. "description": "所属上级账户",
  19010. "type": "integer"
  19011. },
  19012. "inamount": {
  19013. "description": "今日入金金额(包括三方入金)",
  19014. "type": "number"
  19015. },
  19016. "ismain": {
  19017. "description": "是否母账号 0:不是母账户 1:是母账户",
  19018. "type": "integer"
  19019. },
  19020. "mortgagecredit": {
  19021. "description": "授信金额",
  19022. "type": "number"
  19023. },
  19024. "oridebt": {
  19025. "description": "期初欠款",
  19026. "type": "number"
  19027. },
  19028. "orifreezecharge": {
  19029. "description": "期初手续费冻结",
  19030. "type": "number"
  19031. },
  19032. "orifreezemargin": {
  19033. "description": "期初冻结保证金",
  19034. "type": "number"
  19035. },
  19036. "orimortgagecredit": {
  19037. "description": "期初授信金额",
  19038. "type": "number"
  19039. },
  19040. "oriothercredit": {
  19041. "description": "期初其它授信金额",
  19042. "type": "number"
  19043. },
  19044. "oriotherfreezemargin": {
  19045. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19046. "type": "number"
  19047. },
  19048. "orioutamountfreeze": {
  19049. "description": "期初出金冻结",
  19050. "type": "number"
  19051. },
  19052. "oriusedmargin": {
  19053. "description": "期初占用保证金",
  19054. "type": "number"
  19055. },
  19056. "othercredit": {
  19057. "description": "其它授信金额",
  19058. "type": "number"
  19059. },
  19060. "othercreditdecrease": {
  19061. "description": "今日其它授信减少",
  19062. "type": "number"
  19063. },
  19064. "othercreditincrease": {
  19065. "description": "今日其它授信增加",
  19066. "type": "number"
  19067. },
  19068. "otherfreezemargin": {
  19069. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19070. "type": "number"
  19071. },
  19072. "outamount": {
  19073. "description": "今日出金金额(包括三方出金)",
  19074. "type": "number"
  19075. },
  19076. "outamountfreeze": {
  19077. "description": "出金冻结",
  19078. "type": "number"
  19079. },
  19080. "outthreshold": {
  19081. "description": "出金阈值",
  19082. "type": "number"
  19083. },
  19084. "parentaccountid": {
  19085. "description": "所属根账号",
  19086. "type": "integer"
  19087. },
  19088. "paycharge": {
  19089. "description": "今日手续费支出",
  19090. "type": "number"
  19091. },
  19092. "relateduserid": {
  19093. "description": "关联用户",
  19094. "type": "integer"
  19095. },
  19096. "signstatus": {
  19097. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19098. "type": "integer"
  19099. },
  19100. "sublevelpath": {
  19101. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19102. "type": "string"
  19103. },
  19104. "taaccounttype": {
  19105. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19106. "type": "integer"
  19107. },
  19108. "thirdinamount": {
  19109. "description": "今日三方入金",
  19110. "type": "number"
  19111. },
  19112. "thirdoutamount": {
  19113. "description": "今日三方出金",
  19114. "type": "number"
  19115. },
  19116. "tradestatus": {
  19117. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19118. "type": "integer"
  19119. },
  19120. "transferamount": {
  19121. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19122. "type": "number"
  19123. },
  19124. "usedmargin": {
  19125. "description": "占用保证金",
  19126. "type": "number"
  19127. },
  19128. "userid": {
  19129. "description": "用户ID",
  19130. "type": "integer"
  19131. }
  19132. }
  19133. },
  19134. "models.ErmcpTaAccountM": {
  19135. "type": "object",
  19136. "properties": {
  19137. "accountid": {
  19138. "description": "账户id",
  19139. "type": "integer"
  19140. },
  19141. "accountname": {
  19142. "description": "账户名称",
  19143. "type": "string"
  19144. },
  19145. "currencyid": {
  19146. "description": "币种id",
  19147. "type": "integer"
  19148. },
  19149. "fcid": {
  19150. "description": "期货公司id",
  19151. "type": "integer"
  19152. },
  19153. "fcname": {
  19154. "description": "期货公司代码",
  19155. "type": "string"
  19156. },
  19157. "hedgeaccountcode": {
  19158. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19159. "type": "string"
  19160. },
  19161. "ismain": {
  19162. "description": "是否主账户 0-否 1-是",
  19163. "type": "integer"
  19164. },
  19165. "parentaccountid": {
  19166. "description": "父账户id",
  19167. "type": "integer"
  19168. },
  19169. "relateduserid": {
  19170. "description": "关联userid",
  19171. "type": "integer"
  19172. },
  19173. "tradefeetmpid": {
  19174. "description": "手续费模板id",
  19175. "type": "integer"
  19176. },
  19177. "tradefeetmpname": {
  19178. "description": "手续费模板名称",
  19179. "type": "string"
  19180. },
  19181. "trademargintmpid": {
  19182. "description": "保证金模板id",
  19183. "type": "integer"
  19184. },
  19185. "trademargintmpname": {
  19186. "description": "保证金模板名称",
  19187. "type": "string"
  19188. },
  19189. "traderatetmpid": {
  19190. "description": "汇率模板id",
  19191. "type": "integer"
  19192. },
  19193. "traderatetmpname": {
  19194. "description": "汇率模板名称",
  19195. "type": "string"
  19196. },
  19197. "tradestatus": {
  19198. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19199. "type": "integer"
  19200. },
  19201. "userid": {
  19202. "description": "用户id",
  19203. "type": "integer"
  19204. }
  19205. }
  19206. },
  19207. "models.ErmcpTradeConfigTMP": {
  19208. "type": "object",
  19209. "properties": {
  19210. "areauserid": {
  19211. "description": "所属机构",
  19212. "type": "integer"
  19213. },
  19214. "basiccurrencyid": {
  19215. "description": "基本币种ID[汇率] - 目标币种",
  19216. "type": "integer"
  19217. },
  19218. "mainaccountid": {
  19219. "description": "主账户ID",
  19220. "type": "integer"
  19221. },
  19222. "modifierid": {
  19223. "description": "修改人",
  19224. "type": "integer"
  19225. },
  19226. "remark": {
  19227. "description": "备注",
  19228. "type": "string"
  19229. },
  19230. "tradeconfigtmpid": {
  19231. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19232. "type": "integer"
  19233. },
  19234. "tradeconfigtmpname": {
  19235. "description": "交易配置模板名称",
  19236. "type": "string"
  19237. },
  19238. "tradeconfigtmptype": {
  19239. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19240. "type": "integer"
  19241. },
  19242. "updatetime": {
  19243. "description": "更新时间",
  19244. "type": "string"
  19245. }
  19246. }
  19247. },
  19248. "models.ErmcpUserModel": {
  19249. "type": "object",
  19250. "properties": {
  19251. "address": {
  19252. "description": "通讯地址",
  19253. "type": "string"
  19254. },
  19255. "attachment1": {
  19256. "description": "附件1",
  19257. "type": "string"
  19258. },
  19259. "audittime": {
  19260. "description": "审核时间",
  19261. "type": "string"
  19262. },
  19263. "cardbackphotourl": {
  19264. "description": "证件反面图片地址",
  19265. "type": "string"
  19266. },
  19267. "cardfrontphotourl": {
  19268. "description": "证件正面图片地址",
  19269. "type": "string"
  19270. },
  19271. "cardnum": {
  19272. "description": "证件号码",
  19273. "type": "string"
  19274. },
  19275. "cardtype": {
  19276. "description": "证件类型",
  19277. "type": "integer"
  19278. },
  19279. "cardtypename": {
  19280. "description": "证件类型名称",
  19281. "type": "string"
  19282. },
  19283. "cityid": {
  19284. "description": "市",
  19285. "type": "integer"
  19286. },
  19287. "contactname": {
  19288. "description": "联系人",
  19289. "type": "string"
  19290. },
  19291. "countryid": {
  19292. "description": "国家",
  19293. "type": "integer"
  19294. },
  19295. "createtime": {
  19296. "description": "创建时间",
  19297. "type": "string"
  19298. },
  19299. "customername": {
  19300. "description": "企业名称",
  19301. "type": "string"
  19302. },
  19303. "districtid": {
  19304. "description": "区域",
  19305. "type": "integer"
  19306. },
  19307. "email": {
  19308. "description": "邮件",
  19309. "type": "string"
  19310. },
  19311. "legalpersonname": {
  19312. "description": "法人姓名(企业)",
  19313. "type": "string"
  19314. },
  19315. "memberuserid": {
  19316. "description": "所属机构ID",
  19317. "type": "integer"
  19318. },
  19319. "mobile": {
  19320. "description": "手机号码",
  19321. "type": "string"
  19322. },
  19323. "modifytime": {
  19324. "description": "修改时间",
  19325. "type": "string"
  19326. },
  19327. "nickname": {
  19328. "description": "昵称",
  19329. "type": "string"
  19330. },
  19331. "provinceid": {
  19332. "description": "省",
  19333. "type": "integer"
  19334. },
  19335. "remark": {
  19336. "description": "备注",
  19337. "type": "string"
  19338. },
  19339. "status": {
  19340. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19341. "type": "integer"
  19342. },
  19343. "statusdesc": {
  19344. "description": "账户状态中文描述",
  19345. "type": "string"
  19346. },
  19347. "taxpayernum": {
  19348. "description": "纳税人识别号",
  19349. "type": "string"
  19350. },
  19351. "telphone": {
  19352. "description": "联系电话",
  19353. "type": "string"
  19354. },
  19355. "userid": {
  19356. "description": "用户ID",
  19357. "type": "integer"
  19358. },
  19359. "userinfotype": {
  19360. "description": "客户类型",
  19361. "type": "string"
  19362. }
  19363. }
  19364. },
  19365. "models.ErmcpWareHouseInfo": {
  19366. "type": "object",
  19367. "properties": {
  19368. "address": {
  19369. "description": "详细地址",
  19370. "type": "string"
  19371. },
  19372. "areauserid": {
  19373. "description": "所属机构",
  19374. "type": "integer"
  19375. },
  19376. "autoid": {
  19377. "description": "自增ID(仓库ID)",
  19378. "type": "integer"
  19379. },
  19380. "cityid": {
  19381. "description": "市",
  19382. "type": "integer"
  19383. },
  19384. "contactname": {
  19385. "description": "联系人",
  19386. "type": "string"
  19387. },
  19388. "contactnum": {
  19389. "description": "联系电话",
  19390. "type": "string"
  19391. },
  19392. "countryid": {
  19393. "description": "国家",
  19394. "type": "integer"
  19395. },
  19396. "createtime": {
  19397. "description": "创建时间",
  19398. "type": "string"
  19399. },
  19400. "districtid": {
  19401. "description": "区",
  19402. "type": "integer"
  19403. },
  19404. "hasvideo": {
  19405. "description": "是否有视频 - 0:无 1:有",
  19406. "type": "integer"
  19407. },
  19408. "provinceid": {
  19409. "description": "省",
  19410. "type": "integer"
  19411. },
  19412. "remark": {
  19413. "description": "审核备注",
  19414. "type": "string"
  19415. },
  19416. "videourl": {
  19417. "description": "视频地址",
  19418. "type": "string"
  19419. },
  19420. "warehousecode": {
  19421. "description": "仓库代码",
  19422. "type": "string"
  19423. },
  19424. "warehousename": {
  19425. "description": "仓库名称",
  19426. "type": "string"
  19427. },
  19428. "warehousestatus": {
  19429. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19430. "type": "integer"
  19431. },
  19432. "warehousetype": {
  19433. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19434. "type": "integer"
  19435. }
  19436. }
  19437. },
  19438. "models.Externalexchange": {
  19439. "type": "object",
  19440. "required": [
  19441. "autoid"
  19442. ],
  19443. "properties": {
  19444. "autoid": {
  19445. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19446. "type": "integer"
  19447. },
  19448. "exchangefullname": {
  19449. "description": "外部交易所全称",
  19450. "type": "string"
  19451. },
  19452. "exexchangecode": {
  19453. "description": "外部交易所代码",
  19454. "type": "string"
  19455. },
  19456. "exexchangename": {
  19457. "description": "外部交易所名称(简称)",
  19458. "type": "string"
  19459. },
  19460. "ismarketprice": {
  19461. "description": "是否支持市价 - 0:不支持 1:支持",
  19462. "type": "integer"
  19463. },
  19464. "quotegear": {
  19465. "description": "行情档位(1-10)",
  19466. "type": "integer"
  19467. },
  19468. "showbrokerflag": {
  19469. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19470. "type": "integer"
  19471. },
  19472. "updatetime": {
  19473. "description": "更新时间",
  19474. "type": "string"
  19475. }
  19476. }
  19477. },
  19478. "models.Funcmenulist": {
  19479. "type": "object",
  19480. "required": [
  19481. "resourcecode"
  19482. ],
  19483. "properties": {
  19484. "iconame": {
  19485. "description": "菜单图标",
  19486. "type": "string"
  19487. },
  19488. "menutype": {
  19489. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  19490. "type": "integer"
  19491. },
  19492. "parentcode": {
  19493. "description": "上级资源代码",
  19494. "type": "string"
  19495. },
  19496. "remark": {
  19497. "description": "备注",
  19498. "type": "string"
  19499. },
  19500. "resourcecode": {
  19501. "description": "资源代码",
  19502. "type": "string"
  19503. },
  19504. "resourcelevel": {
  19505. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  19506. "type": "integer"
  19507. },
  19508. "resourcename": {
  19509. "description": "资源名",
  19510. "type": "string"
  19511. },
  19512. "sort": {
  19513. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  19514. "type": "integer"
  19515. },
  19516. "url": {
  19517. "description": "URL",
  19518. "type": "string"
  19519. }
  19520. }
  19521. },
  19522. "models.Goods": {
  19523. "type": "object",
  19524. "required": [
  19525. "goodscode",
  19526. "goodsid",
  19527. "goodsname",
  19528. "marketid"
  19529. ],
  19530. "properties": {
  19531. "agreeunit": {
  19532. "description": "合约单位",
  19533. "type": "number"
  19534. },
  19535. "areauserid": {
  19536. "description": "所属机构",
  19537. "type": "integer"
  19538. },
  19539. "auditaccountid": {
  19540. "description": "审核操作员账号",
  19541. "type": "integer"
  19542. },
  19543. "audittime": {
  19544. "description": "审核时间",
  19545. "type": "string"
  19546. },
  19547. "cancelaccountid": {
  19548. "description": "注销操作员账号",
  19549. "type": "integer"
  19550. },
  19551. "canceltime": {
  19552. "description": "注销时间",
  19553. "type": "string"
  19554. },
  19555. "closepricemode": {
  19556. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19557. "type": "integer"
  19558. },
  19559. "closepriceparam": {
  19560. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19561. "type": "number"
  19562. },
  19563. "createtime": {
  19564. "description": "创建时间",
  19565. "type": "string"
  19566. },
  19567. "creatorid": {
  19568. "description": "创建人",
  19569. "type": "integer"
  19570. },
  19571. "currencyid": {
  19572. "description": "报价货币ID",
  19573. "type": "integer"
  19574. },
  19575. "cutmode": {
  19576. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19577. "type": "integer"
  19578. },
  19579. "decimalplace": {
  19580. "description": "报价小数位",
  19581. "type": "integer"
  19582. },
  19583. "delistingdate": {
  19584. "description": "商品退市时间(状态:退市) -- 已作废",
  19585. "type": "string"
  19586. },
  19587. "delistingmode": {
  19588. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19589. "type": "integer"
  19590. },
  19591. "deliveryflag": {
  19592. "description": "交割标志 - 0:不可交割 1:可交割",
  19593. "type": "integer"
  19594. },
  19595. "forceclosemode": {
  19596. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19597. "type": "integer"
  19598. },
  19599. "forceclosevalue": {
  19600. "description": "定期强平参数 [收益权]",
  19601. "type": "integer"
  19602. },
  19603. "goodscode": {
  19604. "description": "商品代码(内部)",
  19605. "type": "string"
  19606. },
  19607. "goodscurrencyid": {
  19608. "description": "合约货币ID",
  19609. "type": "integer"
  19610. },
  19611. "goodsgroupid": {
  19612. "description": "所属商品组ID",
  19613. "type": "integer"
  19614. },
  19615. "goodsid": {
  19616. "description": "商品ID(自增ID SEQ_GOODS)",
  19617. "type": "integer"
  19618. },
  19619. "goodsname": {
  19620. "description": "商品名称",
  19621. "type": "string"
  19622. },
  19623. "goodsquotetype": {
  19624. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19625. "type": "integer"
  19626. },
  19627. "goodsstatus": {
  19628. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19629. "type": "integer"
  19630. },
  19631. "goodstradetype": {
  19632. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19633. "type": "integer"
  19634. },
  19635. "goodunitid": {
  19636. "description": "报价单位ID",
  19637. "type": "integer"
  19638. },
  19639. "hasquoter": {
  19640. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19641. "type": "integer"
  19642. },
  19643. "hqprotecttime": {
  19644. "description": "行情保护时间(秒)",
  19645. "type": "integer"
  19646. },
  19647. "innerdealmode": {
  19648. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19649. "type": "integer"
  19650. },
  19651. "isbuylimited": {
  19652. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19653. "type": "integer"
  19654. },
  19655. "isvisible": {
  19656. "description": "游客是否可见 - 0:不可见 1:可见",
  19657. "type": "integer"
  19658. },
  19659. "lasttradedate": {
  19660. "description": "最后交易日期(状态:待退市)",
  19661. "type": "string"
  19662. },
  19663. "listingdate": {
  19664. "description": "交易开始日期",
  19665. "type": "string"
  19666. },
  19667. "marketid": {
  19668. "description": "所属市场ID",
  19669. "type": "integer"
  19670. },
  19671. "modifierid": {
  19672. "description": "修改人",
  19673. "type": "integer"
  19674. },
  19675. "modifystatus": {
  19676. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19677. "type": "integer"
  19678. },
  19679. "modifytime": {
  19680. "description": "修改时间",
  19681. "type": "string"
  19682. },
  19683. "outerdealmode": {
  19684. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19685. "type": "integer"
  19686. },
  19687. "outgoodscode": {
  19688. "description": "商品代码(外部)",
  19689. "type": "string"
  19690. },
  19691. "pictureurl": {
  19692. "description": "商品图片",
  19693. "type": "string"
  19694. },
  19695. "qtydecimalplace": {
  19696. "description": "成交量小数位",
  19697. "type": "integer"
  19698. },
  19699. "quotegear": {
  19700. "description": "行情档位(1-10)",
  19701. "type": "integer"
  19702. },
  19703. "quoteminunit": {
  19704. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19705. "type": "integer"
  19706. },
  19707. "quoteshowtype": {
  19708. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19709. "type": "integer"
  19710. },
  19711. "quoteshowtypeinterval": {
  19712. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19713. "type": "integer"
  19714. },
  19715. "remark": {
  19716. "description": "备注",
  19717. "type": "string"
  19718. }
  19719. }
  19720. },
  19721. "models.GoodsIDAndName": {
  19722. "type": "object",
  19723. "required": [
  19724. "goodscode",
  19725. "goodsid",
  19726. "goodsname",
  19727. "marketid"
  19728. ],
  19729. "properties": {
  19730. "goodscode": {
  19731. "description": "商品代码(内部)",
  19732. "type": "string"
  19733. },
  19734. "goodsid": {
  19735. "description": "商品ID(自增ID SEQ_GOODS)",
  19736. "type": "integer"
  19737. },
  19738. "goodsname": {
  19739. "description": "商品名称",
  19740. "type": "string"
  19741. },
  19742. "marketid": {
  19743. "description": "所属市场ID",
  19744. "type": "integer"
  19745. }
  19746. }
  19747. },
  19748. "models.Goodsgroup": {
  19749. "type": "object",
  19750. "required": [
  19751. "goodsgroupid",
  19752. "goodsgroupname",
  19753. "goodsgroupstatus",
  19754. "marketid"
  19755. ],
  19756. "properties": {
  19757. "agreeunit": {
  19758. "description": "合约单位",
  19759. "type": "number"
  19760. },
  19761. "canshort": {
  19762. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19763. "type": "integer"
  19764. },
  19765. "closepricemode": {
  19766. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19767. "type": "integer"
  19768. },
  19769. "closepriceparam": {
  19770. "description": "强平最新价浮动比例 - 方式为2时使用",
  19771. "type": "number"
  19772. },
  19773. "createtime": {
  19774. "description": "创建时间",
  19775. "type": "string"
  19776. },
  19777. "creatorid": {
  19778. "description": "创建人",
  19779. "type": "integer"
  19780. },
  19781. "currencyid": {
  19782. "description": "报价货币ID",
  19783. "type": "integer"
  19784. },
  19785. "decimalplace": {
  19786. "description": "报价小数位",
  19787. "type": "integer"
  19788. },
  19789. "exercisetype": {
  19790. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19791. "type": "integer"
  19792. },
  19793. "exexchangeid": {
  19794. "description": "外部交易所ID[通道交易]",
  19795. "type": "integer"
  19796. },
  19797. "goodsgroupid": {
  19798. "description": "商品组ID(自增ID)",
  19799. "type": "integer"
  19800. },
  19801. "goodsgroupname": {
  19802. "description": "商品组名称",
  19803. "type": "string"
  19804. },
  19805. "goodsgroupstatus": {
  19806. "description": "商品组状态 - 1:正常 2:注销",
  19807. "type": "integer"
  19808. },
  19809. "goodunitid": {
  19810. "description": "报价单位ID",
  19811. "type": "integer"
  19812. },
  19813. "innerdealmode": {
  19814. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19815. "type": "integer"
  19816. },
  19817. "isbuylimited": {
  19818. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19819. "type": "integer"
  19820. },
  19821. "marketid": {
  19822. "description": "所属市场ID",
  19823. "type": "integer"
  19824. },
  19825. "modifierid": {
  19826. "description": "修改人",
  19827. "type": "integer"
  19828. },
  19829. "modifytime": {
  19830. "description": "修改时间",
  19831. "type": "string"
  19832. },
  19833. "outerdealmode": {
  19834. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19835. "type": "integer"
  19836. },
  19837. "outergroupcode": {
  19838. "description": "外部商品组代码[通道交易]",
  19839. "type": "string"
  19840. },
  19841. "premiumdecimalplace": {
  19842. "description": "权利金小数位[场外期权]",
  19843. "type": "integer"
  19844. },
  19845. "premiumspreadalgorithm": {
  19846. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19847. "type": "integer"
  19848. },
  19849. "premiumspreadvalue": {
  19850. "description": "权利金点差值[场外期权]",
  19851. "type": "number"
  19852. },
  19853. "qtydecimalplace": {
  19854. "description": "成交量小数位",
  19855. "type": "integer"
  19856. },
  19857. "quotegear": {
  19858. "description": "行情档位(1-10)",
  19859. "type": "integer"
  19860. },
  19861. "quoteminunit": {
  19862. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19863. "type": "integer"
  19864. },
  19865. "quoterid": {
  19866. "description": "报价商ID[场外期权]",
  19867. "type": "integer"
  19868. },
  19869. "quotesourcegroupid": {
  19870. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19871. "type": "integer"
  19872. },
  19873. "syncgoodsqty": {
  19874. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19875. "type": "integer"
  19876. }
  19877. }
  19878. },
  19879. "models.Goodssortbypreposition": {
  19880. "type": "object",
  19881. "required": [
  19882. "goodscode",
  19883. "tradedate"
  19884. ],
  19885. "properties": {
  19886. "goodscode": {
  19887. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19888. "type": "string"
  19889. },
  19890. "goodsgroupcode": {
  19891. "description": "品种代码",
  19892. "type": "string"
  19893. },
  19894. "prepositionqty": {
  19895. "description": "昨持仓量",
  19896. "type": "integer"
  19897. },
  19898. "sortindex": {
  19899. "description": "排序",
  19900. "type": "integer"
  19901. },
  19902. "tradedate": {
  19903. "description": "交易日",
  19904. "type": "string"
  19905. },
  19906. "updatetime": {
  19907. "description": "更新时间",
  19908. "type": "string"
  19909. }
  19910. }
  19911. },
  19912. "models.Hedgeinnerholderdetail": {
  19913. "type": "object",
  19914. "required": [
  19915. "buyorsell",
  19916. "tradeid"
  19917. ],
  19918. "properties": {
  19919. "accountid": {
  19920. "description": "账号ID",
  19921. "type": "integer"
  19922. },
  19923. "buyorsell": {
  19924. "description": "方向 - 0:买 1:卖",
  19925. "type": "integer"
  19926. },
  19927. "freezeqty": {
  19928. "description": "冻结数量 - 按单平使用",
  19929. "type": "integer"
  19930. },
  19931. "goodsid": {
  19932. "description": "商品ID",
  19933. "type": "integer"
  19934. },
  19935. "holderamount": {
  19936. "description": "持仓金额 [商品币种]",
  19937. "type": "number"
  19938. },
  19939. "holderdays": {
  19940. "description": "剩余冻结天数",
  19941. "type": "integer"
  19942. },
  19943. "holderprice": {
  19944. "description": "持仓价格",
  19945. "type": "number"
  19946. },
  19947. "holderqty": {
  19948. "description": "持仓数量",
  19949. "type": "integer"
  19950. },
  19951. "marketid": {
  19952. "description": "市场ID",
  19953. "type": "integer"
  19954. },
  19955. "openprice": {
  19956. "description": "建仓价格",
  19957. "type": "number"
  19958. },
  19959. "openqty": {
  19960. "description": "建仓数量",
  19961. "type": "integer"
  19962. },
  19963. "parentaccountid": {
  19964. "description": "所属母账户",
  19965. "type": "integer"
  19966. },
  19967. "releaseamount": {
  19968. "description": "释放持仓金额[商品币种]",
  19969. "type": "number"
  19970. },
  19971. "tradeamount": {
  19972. "description": "成交金额[账户]",
  19973. "type": "number"
  19974. },
  19975. "tradedate": {
  19976. "description": "交易日(yyyyMMdd)",
  19977. "type": "string"
  19978. },
  19979. "tradeid": {
  19980. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19981. "type": "string"
  19982. },
  19983. "tradetime": {
  19984. "description": "交易时间",
  19985. "type": "string"
  19986. }
  19987. }
  19988. },
  19989. "models.Hedgemarketopenlog": {
  19990. "type": "object",
  19991. "required": [
  19992. "accountid"
  19993. ],
  19994. "properties": {
  19995. "accountid": {
  19996. "description": "资金账号[外部母账户]",
  19997. "type": "integer"
  19998. },
  19999. "fcname": {
  20000. "description": "期货公司名称",
  20001. "type": "string"
  20002. },
  20003. "handlestatus": {
  20004. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  20005. "type": "integer"
  20006. },
  20007. "marketid": {
  20008. "description": "市场ID",
  20009. "type": "integer"
  20010. },
  20011. "status": {
  20012. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  20013. "type": "integer"
  20014. },
  20015. "tradedate": {
  20016. "description": "交易日(yyyyMMdd)",
  20017. "type": "string"
  20018. },
  20019. "updatetime": {
  20020. "description": "更新时间",
  20021. "type": "string"
  20022. }
  20023. }
  20024. },
  20025. "models.HsbyBuyMyPayOrder": {
  20026. "type": "object",
  20027. "required": [
  20028. "goodscode",
  20029. "goodsname",
  20030. "tradeid",
  20031. "trademode"
  20032. ],
  20033. "properties": {
  20034. "agreeunit": {
  20035. "description": "合约单位",
  20036. "type": "number"
  20037. },
  20038. "buyaccountid": {
  20039. "description": "买方账号ID[报价币种]",
  20040. "type": "integer"
  20041. },
  20042. "buyorderid": {
  20043. "description": "买方委托单号",
  20044. "type": "string"
  20045. },
  20046. "createtime": {
  20047. "description": "创建时间",
  20048. "type": "string"
  20049. },
  20050. "currencysign": {
  20051. "description": "货币符号",
  20052. "type": "string"
  20053. },
  20054. "decimalplace": {
  20055. "description": "报价小数位",
  20056. "type": "integer"
  20057. },
  20058. "goodscode": {
  20059. "description": "商品代码(内部)",
  20060. "type": "string"
  20061. },
  20062. "goodsid": {
  20063. "description": "商品ID",
  20064. "type": "integer"
  20065. },
  20066. "goodsname": {
  20067. "description": "商品名称",
  20068. "type": "string"
  20069. },
  20070. "marketid": {
  20071. "description": "市场ID",
  20072. "type": "integer"
  20073. },
  20074. "offamount": {
  20075. "description": "优惠金额",
  20076. "type": "number"
  20077. },
  20078. "originalamount": {
  20079. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20080. "type": "number"
  20081. },
  20082. "payamount": {
  20083. "description": "支付金额 = TradeAmount + TradeCharge",
  20084. "type": "number"
  20085. },
  20086. "payflag": {
  20087. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20088. "type": "integer"
  20089. },
  20090. "paylimitedtime": {
  20091. "description": "支付期限",
  20092. "type": "string"
  20093. },
  20094. "paytime": {
  20095. "description": "付款时间",
  20096. "type": "string"
  20097. },
  20098. "picurls1": {
  20099. "description": "预售商品介绍图片[多张用逗号分隔]",
  20100. "type": "string"
  20101. },
  20102. "picurls2": {
  20103. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20104. "type": "string"
  20105. },
  20106. "sellaccountid": {
  20107. "description": "卖方账号ID[报价币种]",
  20108. "type": "integer"
  20109. },
  20110. "sellorderid": {
  20111. "description": "卖方委托单号",
  20112. "type": "string"
  20113. },
  20114. "tradeamount": {
  20115. "description": "成交金额",
  20116. "type": "number"
  20117. },
  20118. "tradecharge": {
  20119. "description": "成交手续费(买方)",
  20120. "type": "number"
  20121. },
  20122. "tradedate": {
  20123. "description": "交易日(yyyyMMdd)",
  20124. "type": "string"
  20125. },
  20126. "tradeid": {
  20127. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20128. "type": "string"
  20129. },
  20130. "trademode": {
  20131. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20132. "type": "integer"
  20133. },
  20134. "tradeprice": {
  20135. "description": "成交价格",
  20136. "type": "number"
  20137. },
  20138. "tradeqty": {
  20139. "description": "成交数量",
  20140. "type": "integer"
  20141. },
  20142. "vendorname1": {
  20143. "description": "预售商品供应商名称",
  20144. "type": "string"
  20145. },
  20146. "vendorname2": {
  20147. "description": "挂牌商品供应商名称",
  20148. "type": "string"
  20149. }
  20150. }
  20151. },
  20152. "models.HsbyBuyMyTradeDetail": {
  20153. "type": "object",
  20154. "required": [
  20155. "accountid",
  20156. "buyorsell",
  20157. "goodscode",
  20158. "goodsid",
  20159. "goodsname",
  20160. "marketid",
  20161. "orderid",
  20162. "qty",
  20163. "time",
  20164. "trademode"
  20165. ],
  20166. "properties": {
  20167. "accountid": {
  20168. "description": "账户ID[报价币种]",
  20169. "type": "integer"
  20170. },
  20171. "agreeunit": {
  20172. "description": "合约单位",
  20173. "type": "number"
  20174. },
  20175. "amount": {
  20176. "description": "金额 = 价格 * 数量 * 合约单位",
  20177. "type": "number"
  20178. },
  20179. "buyorsell": {
  20180. "description": "买卖 - 0:买 1:卖",
  20181. "type": "integer"
  20182. },
  20183. "currencysign": {
  20184. "description": "货币符号",
  20185. "type": "string"
  20186. },
  20187. "decimalplace": {
  20188. "description": "报价小数位",
  20189. "type": "integer"
  20190. },
  20191. "goodscode": {
  20192. "description": "商品代码(内部)",
  20193. "type": "string"
  20194. },
  20195. "goodsid": {
  20196. "description": "商品ID",
  20197. "type": "integer"
  20198. },
  20199. "goodsname": {
  20200. "description": "商品名称",
  20201. "type": "string"
  20202. },
  20203. "marketid": {
  20204. "description": "市场ID",
  20205. "type": "integer"
  20206. },
  20207. "orderamount": {
  20208. "description": "委托金额",
  20209. "type": "number"
  20210. },
  20211. "orderid": {
  20212. "description": "单号(成交单号)",
  20213. "type": "string"
  20214. },
  20215. "picurls1": {
  20216. "description": "预售商品介绍图片[多张用逗号分隔]",
  20217. "type": "string"
  20218. },
  20219. "picurls2": {
  20220. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20221. "type": "string"
  20222. },
  20223. "price": {
  20224. "description": "价格",
  20225. "type": "number"
  20226. },
  20227. "qty": {
  20228. "description": "数量",
  20229. "type": "integer"
  20230. },
  20231. "time": {
  20232. "description": "时间",
  20233. "type": "string"
  20234. },
  20235. "trademode": {
  20236. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20237. "type": "integer"
  20238. },
  20239. "vendorname1": {
  20240. "description": "预售商品供应商名称",
  20241. "type": "string"
  20242. },
  20243. "vendorname2": {
  20244. "description": "挂牌商品供应商名称",
  20245. "type": "string"
  20246. }
  20247. }
  20248. },
  20249. "models.HsbyGoodsOrderDetail": {
  20250. "type": "object",
  20251. "required": [
  20252. "buyorsell",
  20253. "orderid",
  20254. "ordertime"
  20255. ],
  20256. "properties": {
  20257. "buyorsell": {
  20258. "description": "买卖 - 0:买 1:卖",
  20259. "type": "integer"
  20260. },
  20261. "currencysign": {
  20262. "description": "货币符号",
  20263. "type": "string"
  20264. },
  20265. "customername": {
  20266. "description": "客户名称(企业名称),已脱敏",
  20267. "type": "string"
  20268. },
  20269. "enableqty": {
  20270. "description": "可用数量",
  20271. "type": "integer"
  20272. },
  20273. "goodunit": {
  20274. "description": "报价单位",
  20275. "type": "string"
  20276. },
  20277. "orderid": {
  20278. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20279. "type": "string"
  20280. },
  20281. "orderprice": {
  20282. "description": "委托价格",
  20283. "type": "number"
  20284. },
  20285. "ordertime": {
  20286. "description": "委托时间",
  20287. "type": "string"
  20288. }
  20289. }
  20290. },
  20291. "models.HsbyListingGoodsDetail": {
  20292. "type": "object",
  20293. "required": [
  20294. "goodscode",
  20295. "goodsid",
  20296. "goodsname",
  20297. "marketid",
  20298. "trademode"
  20299. ],
  20300. "properties": {
  20301. "agreeunit": {
  20302. "description": "合约单位",
  20303. "type": "number"
  20304. },
  20305. "buymaxqty": {
  20306. "description": "购买上限 [71] - 0为不限",
  20307. "type": "integer"
  20308. },
  20309. "currency": {
  20310. "description": "货币",
  20311. "type": "string"
  20312. },
  20313. "currencysign": {
  20314. "description": "货币符号",
  20315. "type": "string"
  20316. },
  20317. "decimalplace": {
  20318. "description": "报价小数位",
  20319. "type": "integer"
  20320. },
  20321. "desccityid": {
  20322. "description": "目的地(市)ID",
  20323. "type": "integer"
  20324. },
  20325. "descprovinceid": {
  20326. "description": "目的地(省)ID",
  20327. "type": "integer"
  20328. },
  20329. "goodscode": {
  20330. "description": "商品代码(内部)",
  20331. "type": "string"
  20332. },
  20333. "goodsdesc": {
  20334. "description": "商品详情",
  20335. "type": "string"
  20336. },
  20337. "goodsid": {
  20338. "description": "商品ID(自增ID SEQ_GOODS)",
  20339. "type": "integer"
  20340. },
  20341. "goodsname": {
  20342. "description": "商品名称",
  20343. "type": "string"
  20344. },
  20345. "goodsprice": {
  20346. "description": "商品价格",
  20347. "type": "number"
  20348. },
  20349. "hotindex": {
  20350. "description": "景点热度",
  20351. "type": "integer"
  20352. },
  20353. "last": {
  20354. "description": "现价",
  20355. "type": "number"
  20356. },
  20357. "limitdown": {
  20358. "description": "跌停价",
  20359. "type": "number"
  20360. },
  20361. "limitup": {
  20362. "description": "涨停价",
  20363. "type": "number"
  20364. },
  20365. "lotsize": {
  20366. "description": "手数最小变动单位",
  20367. "type": "integer"
  20368. },
  20369. "marketid": {
  20370. "description": "所属市场ID",
  20371. "type": "integer"
  20372. },
  20373. "picurls": {
  20374. "description": "介绍图片[多张用逗号分隔]",
  20375. "type": "string"
  20376. },
  20377. "quoteminunit": {
  20378. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20379. "type": "integer"
  20380. },
  20381. "stepvalue": {
  20382. "description": "价格最小变动单位",
  20383. "type": "number"
  20384. },
  20385. "trademode": {
  20386. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20387. "type": "integer"
  20388. },
  20389. "vendorattr": {
  20390. "description": "供应商附件(多张,逗号分隔)",
  20391. "type": "string"
  20392. },
  20393. "vendorname": {
  20394. "description": "供应商名称",
  20395. "type": "string"
  20396. },
  20397. "vendorphone": {
  20398. "description": "供应商客服电话",
  20399. "type": "string"
  20400. },
  20401. "videourls": {
  20402. "description": "介绍视频[多张用逗号分隔]",
  20403. "type": "string"
  20404. }
  20405. }
  20406. },
  20407. "models.HsbyMarketGoods": {
  20408. "type": "object",
  20409. "required": [
  20410. "accountid",
  20411. "buyorsell",
  20412. "goodscode",
  20413. "goodsid",
  20414. "goodsname",
  20415. "marketid",
  20416. "orderid",
  20417. "trademode"
  20418. ],
  20419. "properties": {
  20420. "accountid": {
  20421. "description": "账户ID[报价币种]",
  20422. "type": "integer"
  20423. },
  20424. "agreeunit": {
  20425. "description": "合约单位",
  20426. "type": "number"
  20427. },
  20428. "buyorsell": {
  20429. "description": "买卖 - 0:买 1:卖",
  20430. "type": "integer"
  20431. },
  20432. "categoryid": {
  20433. "description": "类别ID(WRCATEGORY)",
  20434. "type": "integer"
  20435. },
  20436. "currency": {
  20437. "description": "货币",
  20438. "type": "string"
  20439. },
  20440. "currencysign": {
  20441. "description": "货币符号",
  20442. "type": "string"
  20443. },
  20444. "customername": {
  20445. "description": "卖家名称",
  20446. "type": "string"
  20447. },
  20448. "decimalplace": {
  20449. "description": "报价小数位",
  20450. "type": "integer"
  20451. },
  20452. "goodscode": {
  20453. "description": "商品代码(内部)",
  20454. "type": "string"
  20455. },
  20456. "goodsid": {
  20457. "description": "商品ID",
  20458. "type": "integer"
  20459. },
  20460. "goodsname": {
  20461. "description": "商品名称",
  20462. "type": "string"
  20463. },
  20464. "goodsprice": {
  20465. "description": "商品价格",
  20466. "type": "number"
  20467. },
  20468. "hascoupon": {
  20469. "description": "是否可用优惠卷",
  20470. "type": "boolean"
  20471. },
  20472. "hotindex": {
  20473. "description": "景点热度",
  20474. "type": "integer"
  20475. },
  20476. "marketid": {
  20477. "description": "市场ID",
  20478. "type": "integer"
  20479. },
  20480. "orderid": {
  20481. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20482. "type": "string"
  20483. },
  20484. "orderprice": {
  20485. "description": "委托价格",
  20486. "type": "number"
  20487. },
  20488. "orderstatus": {
  20489. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20490. "type": "integer"
  20491. },
  20492. "picurls": {
  20493. "description": "介绍图片[多张用逗号分隔]",
  20494. "type": "string"
  20495. },
  20496. "quoteminunit": {
  20497. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20498. "type": "integer"
  20499. },
  20500. "sellUserID": {
  20501. "description": "卖方UserID",
  20502. "type": "integer"
  20503. },
  20504. "trademode": {
  20505. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20506. "type": "integer"
  20507. },
  20508. "videourls": {
  20509. "description": "介绍视频[多张用逗号分隔]",
  20510. "type": "string"
  20511. }
  20512. }
  20513. },
  20514. "models.HsbyMarketGoodsDetail": {
  20515. "type": "object",
  20516. "required": [
  20517. "accountid",
  20518. "buyorsell",
  20519. "goodscode",
  20520. "goodsid",
  20521. "goodsname",
  20522. "marketid",
  20523. "orderid",
  20524. "orderqty",
  20525. "trademode"
  20526. ],
  20527. "properties": {
  20528. "accountid": {
  20529. "description": "账户ID[报价币种]",
  20530. "type": "integer"
  20531. },
  20532. "agreeunit": {
  20533. "description": "合约单位",
  20534. "type": "number"
  20535. },
  20536. "buymaxqty": {
  20537. "description": "购买上限 [71] - 0为不限",
  20538. "type": "integer"
  20539. },
  20540. "buyorsell": {
  20541. "description": "买卖 - 0:买 1:卖",
  20542. "type": "integer"
  20543. },
  20544. "cancelqty": {
  20545. "description": "撤单数量",
  20546. "type": "integer"
  20547. },
  20548. "categoryid": {
  20549. "description": "类别ID(WRCATEGORY)",
  20550. "type": "integer"
  20551. },
  20552. "currency": {
  20553. "description": "货币",
  20554. "type": "string"
  20555. },
  20556. "currencysign": {
  20557. "description": "货币符号",
  20558. "type": "string"
  20559. },
  20560. "customername": {
  20561. "description": "卖家名称",
  20562. "type": "string"
  20563. },
  20564. "decimalplace": {
  20565. "description": "报价小数位",
  20566. "type": "integer"
  20567. },
  20568. "goodscode": {
  20569. "description": "商品代码(内部)",
  20570. "type": "string"
  20571. },
  20572. "goodsdesc": {
  20573. "description": "商品详情",
  20574. "type": "string"
  20575. },
  20576. "goodsid": {
  20577. "description": "商品ID",
  20578. "type": "integer"
  20579. },
  20580. "goodsname": {
  20581. "description": "商品名称",
  20582. "type": "string"
  20583. },
  20584. "goodsprice": {
  20585. "description": "商品价格",
  20586. "type": "number"
  20587. },
  20588. "hotindex": {
  20589. "description": "景点热度",
  20590. "type": "integer"
  20591. },
  20592. "lotsize": {
  20593. "description": "手数最小变动单位",
  20594. "type": "integer"
  20595. },
  20596. "marketid": {
  20597. "description": "市场ID",
  20598. "type": "integer"
  20599. },
  20600. "orderid": {
  20601. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20602. "type": "string"
  20603. },
  20604. "orderprice": {
  20605. "description": "委托价格",
  20606. "type": "number"
  20607. },
  20608. "orderqty": {
  20609. "description": "委托数量",
  20610. "type": "integer"
  20611. },
  20612. "orderstatus": {
  20613. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20614. "type": "integer"
  20615. },
  20616. "picurls": {
  20617. "description": "介绍图片[多张用逗号分隔]",
  20618. "type": "string"
  20619. },
  20620. "quoteminunit": {
  20621. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20622. "type": "integer"
  20623. },
  20624. "sellUserID": {
  20625. "description": "卖方UserID",
  20626. "type": "integer"
  20627. },
  20628. "trademode": {
  20629. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20630. "type": "integer"
  20631. },
  20632. "tradeqty": {
  20633. "description": "成交数量",
  20634. "type": "integer"
  20635. },
  20636. "vendorattr": {
  20637. "description": "供应商附件(多张,逗号分隔)",
  20638. "type": "string"
  20639. },
  20640. "vendorname": {
  20641. "description": "供应商名称",
  20642. "type": "string"
  20643. },
  20644. "vendorphone": {
  20645. "description": "供应商客服电话",
  20646. "type": "string"
  20647. },
  20648. "videourls": {
  20649. "description": "介绍视频[多张用逗号分隔]",
  20650. "type": "string"
  20651. }
  20652. }
  20653. },
  20654. "models.HsbyMarketInfo": {
  20655. "type": "object",
  20656. "required": [
  20657. "marketid",
  20658. "marketstatus",
  20659. "trademode"
  20660. ],
  20661. "properties": {
  20662. "marketid": {
  20663. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20664. "type": "integer"
  20665. },
  20666. "marketname": {
  20667. "description": "市场名称",
  20668. "type": "string"
  20669. },
  20670. "marketstatus": {
  20671. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20672. "type": "integer"
  20673. },
  20674. "trademode": {
  20675. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20676. "type": "integer"
  20677. }
  20678. }
  20679. },
  20680. "models.HsbyMyGoods": {
  20681. "type": "object",
  20682. "required": [
  20683. "accountid",
  20684. "goodscode",
  20685. "goodsid",
  20686. "goodsname",
  20687. "marketid",
  20688. "trademode"
  20689. ],
  20690. "properties": {
  20691. "accountid": {
  20692. "description": "账号Id",
  20693. "type": "integer"
  20694. },
  20695. "agreeunit": {
  20696. "description": "合约单位",
  20697. "type": "number"
  20698. },
  20699. "buyaverageprice": {
  20700. "description": "持仓均价",
  20701. "type": "number"
  20702. },
  20703. "buycurholderamount": {
  20704. "description": "买当前持仓总金额[商品币种]",
  20705. "type": "number"
  20706. },
  20707. "buycurpositionqty": {
  20708. "description": "买当前持仓总数量",
  20709. "type": "integer"
  20710. },
  20711. "buymaxqty": {
  20712. "description": "购买上限 [71] - 0为不限",
  20713. "type": "integer"
  20714. },
  20715. "currencysign": {
  20716. "description": "货币符号",
  20717. "type": "string"
  20718. },
  20719. "decimalplace": {
  20720. "description": "报价小数位",
  20721. "type": "integer"
  20722. },
  20723. "enableqty": {
  20724. "description": "可用数量",
  20725. "type": "integer"
  20726. },
  20727. "goodscode": {
  20728. "description": "商品代码(内部)",
  20729. "type": "string"
  20730. },
  20731. "goodsid": {
  20732. "description": "商品Id",
  20733. "type": "integer"
  20734. },
  20735. "goodsname": {
  20736. "description": "商品名称",
  20737. "type": "string"
  20738. },
  20739. "goodsprice": {
  20740. "description": "商品价格",
  20741. "type": "number"
  20742. },
  20743. "goodsstatus": {
  20744. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20745. "type": "integer"
  20746. },
  20747. "last": {
  20748. "description": "现价(仅使用于挂牌点选)",
  20749. "type": "number"
  20750. },
  20751. "limitdown": {
  20752. "description": "跌停价(仅使用于挂牌点选)",
  20753. "type": "number"
  20754. },
  20755. "limitup": {
  20756. "description": "涨停价(仅使用于挂牌点选)",
  20757. "type": "number"
  20758. },
  20759. "lotsize": {
  20760. "description": "手数最小变动单位",
  20761. "type": "integer"
  20762. },
  20763. "marketid": {
  20764. "description": "所属市场ID",
  20765. "type": "integer"
  20766. },
  20767. "picurls": {
  20768. "description": "介绍图片[多张用逗号分隔]",
  20769. "type": "string"
  20770. },
  20771. "quoteminunit": {
  20772. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20773. "type": "integer"
  20774. },
  20775. "stepvalue": {
  20776. "description": "价格最小变动单位",
  20777. "type": "number"
  20778. },
  20779. "trademode": {
  20780. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20781. "type": "integer"
  20782. }
  20783. }
  20784. },
  20785. "models.HsbyMyPackage": {
  20786. "type": "object",
  20787. "required": [
  20788. "goodscode",
  20789. "goodsname",
  20790. "takeorderid",
  20791. "trademode"
  20792. ],
  20793. "properties": {
  20794. "accountid": {
  20795. "description": "账户ID",
  20796. "type": "integer"
  20797. },
  20798. "address": {
  20799. "description": "提货人详细地址",
  20800. "type": "string"
  20801. },
  20802. "agreeunit": {
  20803. "description": "合约单位",
  20804. "type": "number"
  20805. },
  20806. "amount": {
  20807. "description": "提货金额",
  20808. "type": "number"
  20809. },
  20810. "auditer": {
  20811. "description": "审核人",
  20812. "type": "integer"
  20813. },
  20814. "audittime": {
  20815. "description": "审核时间",
  20816. "type": "string"
  20817. },
  20818. "averageprice": {
  20819. "description": "均价",
  20820. "type": "number"
  20821. },
  20822. "cardnum": {
  20823. "description": "提货人证件号码",
  20824. "type": "string"
  20825. },
  20826. "cardtypeid": {
  20827. "description": "提货人证件类型",
  20828. "type": "integer"
  20829. },
  20830. "checkremark": {
  20831. "description": "审核备注",
  20832. "type": "string"
  20833. },
  20834. "currencysign": {
  20835. "description": "货币符号",
  20836. "type": "string"
  20837. },
  20838. "decimalplace": {
  20839. "description": "报价小数位",
  20840. "type": "integer"
  20841. },
  20842. "goodscode": {
  20843. "description": "商品代码(内部)",
  20844. "type": "string"
  20845. },
  20846. "goodsid": {
  20847. "description": "商品ID",
  20848. "type": "integer"
  20849. },
  20850. "goodsname": {
  20851. "description": "商品名称",
  20852. "type": "string"
  20853. },
  20854. "handlestatus": {
  20855. "description": "处理状态",
  20856. "type": "integer"
  20857. },
  20858. "marketid": {
  20859. "description": "市场ID",
  20860. "type": "integer"
  20861. },
  20862. "phonenum": {
  20863. "description": "提货人联系方式",
  20864. "type": "string"
  20865. },
  20866. "picurls": {
  20867. "description": "介绍图片[多张用逗号分隔]",
  20868. "type": "string"
  20869. },
  20870. "qty": {
  20871. "description": "提货数量",
  20872. "type": "number"
  20873. },
  20874. "recivername": {
  20875. "description": "提货人姓名",
  20876. "type": "string"
  20877. },
  20878. "reqtime": {
  20879. "description": "更新时间",
  20880. "type": "string"
  20881. },
  20882. "takemode": {
  20883. "description": "提货方式 - 2:自提 3:配送",
  20884. "type": "integer"
  20885. },
  20886. "takeorderid": {
  20887. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20888. "type": "string"
  20889. },
  20890. "takeorderstatus": {
  20891. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20892. "type": "integer"
  20893. },
  20894. "takeremark": {
  20895. "description": "提货备注",
  20896. "type": "string"
  20897. },
  20898. "tradedate": {
  20899. "description": "交易日(yyyyMMdd)",
  20900. "type": "string"
  20901. },
  20902. "trademode": {
  20903. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20904. "type": "integer"
  20905. },
  20906. "userid": {
  20907. "description": "用户ID",
  20908. "type": "integer"
  20909. },
  20910. "vendorname": {
  20911. "description": "供应商名称",
  20912. "type": "string"
  20913. }
  20914. }
  20915. },
  20916. "models.HsbyPreGoods": {
  20917. "type": "object",
  20918. "required": [
  20919. "goodscode",
  20920. "goodsid",
  20921. "goodsname",
  20922. "marketid",
  20923. "trademode"
  20924. ],
  20925. "properties": {
  20926. "agreeunit": {
  20927. "description": "合约单位",
  20928. "type": "number"
  20929. },
  20930. "currency": {
  20931. "description": "货币",
  20932. "type": "string"
  20933. },
  20934. "currencysign": {
  20935. "description": "货币符号",
  20936. "type": "string"
  20937. },
  20938. "decimalplace": {
  20939. "description": "报价小数位",
  20940. "type": "integer"
  20941. },
  20942. "desccityid": {
  20943. "description": "目的地(市)",
  20944. "type": "integer"
  20945. },
  20946. "descprovinceid": {
  20947. "description": "目的地(省)",
  20948. "type": "integer"
  20949. },
  20950. "enableqty": {
  20951. "description": "剩余数量",
  20952. "type": "integer"
  20953. },
  20954. "goodscode": {
  20955. "description": "商品代码(内部)",
  20956. "type": "string"
  20957. },
  20958. "goodsid": {
  20959. "description": "商品ID(自增ID SEQ_GOODS)",
  20960. "type": "integer"
  20961. },
  20962. "goodsname": {
  20963. "description": "商品名称",
  20964. "type": "string"
  20965. },
  20966. "goodsstatus": {
  20967. "description": "商品状态- 2:未上市 3:上市",
  20968. "type": "integer"
  20969. },
  20970. "lasttradedate": {
  20971. "description": "最后交易日期(状态:待退市)",
  20972. "type": "string"
  20973. },
  20974. "listingdate": {
  20975. "description": "交易开始日期",
  20976. "type": "string"
  20977. },
  20978. "marketid": {
  20979. "description": "所属市场ID",
  20980. "type": "integer"
  20981. },
  20982. "picurls": {
  20983. "description": "介绍图片[多张用逗号分隔]",
  20984. "type": "string"
  20985. },
  20986. "presaledqty": {
  20987. "description": "已预售量(预售结束时更新)",
  20988. "type": "integer"
  20989. },
  20990. "presaleqty": {
  20991. "description": "预售数量",
  20992. "type": "integer"
  20993. },
  20994. "quoteminunit": {
  20995. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20996. "type": "integer"
  20997. },
  20998. "refprice": {
  20999. "description": "参考价格[一口价]",
  21000. "type": "number"
  21001. },
  21002. "relatedgoodsid": {
  21003. "description": "关联交易合约ID",
  21004. "type": "integer"
  21005. },
  21006. "trademode": {
  21007. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21008. "type": "integer"
  21009. },
  21010. "videourls": {
  21011. "description": "介绍视频[多张用逗号分隔]",
  21012. "type": "string"
  21013. }
  21014. }
  21015. },
  21016. "models.HsbyPreGoodsDetail": {
  21017. "type": "object",
  21018. "required": [
  21019. "goodscode",
  21020. "goodsid",
  21021. "goodsname",
  21022. "marketid",
  21023. "trademode"
  21024. ],
  21025. "properties": {
  21026. "agreeunit": {
  21027. "description": "合约单位",
  21028. "type": "number"
  21029. },
  21030. "buymaxqty": {
  21031. "description": "购买上限 [71] - 0为不限",
  21032. "type": "integer"
  21033. },
  21034. "currency": {
  21035. "description": "货币",
  21036. "type": "string"
  21037. },
  21038. "currencysign": {
  21039. "description": "货币符号",
  21040. "type": "string"
  21041. },
  21042. "customername": {
  21043. "description": "发行单位",
  21044. "type": "string"
  21045. },
  21046. "decimalplace": {
  21047. "description": "报价小数位",
  21048. "type": "integer"
  21049. },
  21050. "desccityid": {
  21051. "description": "目的地(市)ID",
  21052. "type": "integer"
  21053. },
  21054. "descprovinceid": {
  21055. "description": "目的地(省)ID",
  21056. "type": "integer"
  21057. },
  21058. "enableqty": {
  21059. "description": "剩余数量",
  21060. "type": "integer"
  21061. },
  21062. "goodscode": {
  21063. "description": "商品代码(内部)",
  21064. "type": "string"
  21065. },
  21066. "goodsdesc": {
  21067. "description": "商品详情",
  21068. "type": "string"
  21069. },
  21070. "goodsid": {
  21071. "description": "商品ID(自增ID SEQ_GOODS)",
  21072. "type": "integer"
  21073. },
  21074. "goodsname": {
  21075. "description": "商品名称",
  21076. "type": "string"
  21077. },
  21078. "goodsstatus": {
  21079. "description": "商品状态- 2:未上市 3:上市",
  21080. "type": "integer"
  21081. },
  21082. "goodunit": {
  21083. "description": "报价单位",
  21084. "type": "string"
  21085. },
  21086. "lasttradedate": {
  21087. "description": "最后交易日期(状态:待退市)",
  21088. "type": "string"
  21089. },
  21090. "listingdate": {
  21091. "description": "交易开始日期",
  21092. "type": "string"
  21093. },
  21094. "lotsize": {
  21095. "description": "手数最小变动单位",
  21096. "type": "integer"
  21097. },
  21098. "marketid": {
  21099. "description": "所属市场ID",
  21100. "type": "integer"
  21101. },
  21102. "picurls": {
  21103. "description": "介绍图片[多张用逗号分隔]",
  21104. "type": "string"
  21105. },
  21106. "presaledqty": {
  21107. "description": "已预售量(预售结束时更新)",
  21108. "type": "integer"
  21109. },
  21110. "presaleqty": {
  21111. "description": "预售数量",
  21112. "type": "integer"
  21113. },
  21114. "quoteminunit": {
  21115. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21116. "type": "integer"
  21117. },
  21118. "refprice": {
  21119. "description": "参考价格[一口价]",
  21120. "type": "number"
  21121. },
  21122. "relatedgoodsid": {
  21123. "description": "关联交易合约ID",
  21124. "type": "integer"
  21125. },
  21126. "stepvalue": {
  21127. "description": "价格最小变动单位",
  21128. "type": "number"
  21129. },
  21130. "trademode": {
  21131. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21132. "type": "integer"
  21133. },
  21134. "vendorattr": {
  21135. "description": "供应商附件(多张,逗号分隔)",
  21136. "type": "string"
  21137. },
  21138. "vendorname": {
  21139. "description": "供应商名称",
  21140. "type": "string"
  21141. },
  21142. "vendorphone": {
  21143. "description": "供应商客服电话",
  21144. "type": "string"
  21145. },
  21146. "videourls": {
  21147. "description": "介绍视频[多张用逗号分隔]",
  21148. "type": "string"
  21149. }
  21150. }
  21151. },
  21152. "models.HsbySellCollectionOrder": {
  21153. "type": "object",
  21154. "required": [
  21155. "goodscode",
  21156. "goodsname",
  21157. "tradeid",
  21158. "trademode"
  21159. ],
  21160. "properties": {
  21161. "agreeunit": {
  21162. "description": "合约单位",
  21163. "type": "number"
  21164. },
  21165. "buyaccountid": {
  21166. "description": "买方账号ID[报价币种]",
  21167. "type": "integer"
  21168. },
  21169. "buyorderid": {
  21170. "description": "买方委托单号",
  21171. "type": "string"
  21172. },
  21173. "createtime": {
  21174. "description": "创建时间",
  21175. "type": "string"
  21176. },
  21177. "currencysign": {
  21178. "description": "货币符号",
  21179. "type": "string"
  21180. },
  21181. "decimalplace": {
  21182. "description": "报价小数位",
  21183. "type": "integer"
  21184. },
  21185. "goodscode": {
  21186. "description": "商品代码(内部)",
  21187. "type": "string"
  21188. },
  21189. "goodsid": {
  21190. "description": "商品ID",
  21191. "type": "integer"
  21192. },
  21193. "goodsname": {
  21194. "description": "商品名称",
  21195. "type": "string"
  21196. },
  21197. "marketid": {
  21198. "description": "市场ID",
  21199. "type": "integer"
  21200. },
  21201. "offamount": {
  21202. "description": "优惠金额",
  21203. "type": "number"
  21204. },
  21205. "payamount": {
  21206. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21207. "type": "number"
  21208. },
  21209. "payflag": {
  21210. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21211. "type": "integer"
  21212. },
  21213. "paylimitedtime": {
  21214. "description": "支付期限",
  21215. "type": "string"
  21216. },
  21217. "paytime": {
  21218. "description": "付款时间",
  21219. "type": "string"
  21220. },
  21221. "picurls": {
  21222. "description": "商品介绍图片[多张用逗号分隔]",
  21223. "type": "string"
  21224. },
  21225. "sellaccountid": {
  21226. "description": "卖方账号ID[报价币种]",
  21227. "type": "integer"
  21228. },
  21229. "sellorderid": {
  21230. "description": "卖方委托单号",
  21231. "type": "string"
  21232. },
  21233. "tradeamount": {
  21234. "description": "成交金额",
  21235. "type": "number"
  21236. },
  21237. "tradecharge": {
  21238. "description": "成交手续费(买方)",
  21239. "type": "number"
  21240. },
  21241. "tradedate": {
  21242. "description": "交易日(yyyyMMdd)",
  21243. "type": "string"
  21244. },
  21245. "tradeid": {
  21246. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21247. "type": "string"
  21248. },
  21249. "trademode": {
  21250. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21251. "type": "integer"
  21252. },
  21253. "tradeprice": {
  21254. "description": "成交价格",
  21255. "type": "number"
  21256. },
  21257. "tradeqty": {
  21258. "description": "成交数量",
  21259. "type": "integer"
  21260. }
  21261. }
  21262. },
  21263. "models.HsbySellMyDetail": {
  21264. "type": "object",
  21265. "required": [
  21266. "accountid",
  21267. "buyorsell",
  21268. "goodscode",
  21269. "goodsid",
  21270. "goodsname",
  21271. "marketid",
  21272. "orderid",
  21273. "time",
  21274. "trademode"
  21275. ],
  21276. "properties": {
  21277. "accountid": {
  21278. "description": "账户ID[报价币种]",
  21279. "type": "integer"
  21280. },
  21281. "agreeunit": {
  21282. "description": "合约单位",
  21283. "type": "number"
  21284. },
  21285. "buyorsell": {
  21286. "description": "买卖 - 0:买 1:卖",
  21287. "type": "integer"
  21288. },
  21289. "currencysign": {
  21290. "description": "货币符号",
  21291. "type": "string"
  21292. },
  21293. "decimalplace": {
  21294. "description": "报价小数位",
  21295. "type": "integer"
  21296. },
  21297. "goodscode": {
  21298. "description": "商品代码(内部)",
  21299. "type": "string"
  21300. },
  21301. "goodsid": {
  21302. "description": "商品ID",
  21303. "type": "integer"
  21304. },
  21305. "goodsname": {
  21306. "description": "商品名称",
  21307. "type": "string"
  21308. },
  21309. "marketid": {
  21310. "description": "市场ID",
  21311. "type": "integer"
  21312. },
  21313. "orderid": {
  21314. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21315. "type": "string"
  21316. },
  21317. "ordertype": {
  21318. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21319. "type": "integer"
  21320. },
  21321. "picurls": {
  21322. "description": "介绍图片[多张用逗号分隔]",
  21323. "type": "string"
  21324. },
  21325. "price": {
  21326. "description": "价格",
  21327. "type": "number"
  21328. },
  21329. "qty": {
  21330. "description": "数量",
  21331. "type": "integer"
  21332. },
  21333. "time": {
  21334. "description": "时间",
  21335. "type": "string"
  21336. },
  21337. "trademode": {
  21338. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21339. "type": "integer"
  21340. },
  21341. "vendorname": {
  21342. "description": "供应商名称",
  21343. "type": "string"
  21344. }
  21345. }
  21346. },
  21347. "models.HsbyTopGoods": {
  21348. "type": "object",
  21349. "required": [
  21350. "goodscode",
  21351. "goodsid",
  21352. "goodsname",
  21353. "marketid",
  21354. "trademode"
  21355. ],
  21356. "properties": {
  21357. "agreeunit": {
  21358. "description": "合约单位",
  21359. "type": "number"
  21360. },
  21361. "currency": {
  21362. "description": "货币",
  21363. "type": "string"
  21364. },
  21365. "currencysign": {
  21366. "description": "货币符号",
  21367. "type": "string"
  21368. },
  21369. "decimalplace": {
  21370. "description": "报价小数位",
  21371. "type": "integer"
  21372. },
  21373. "desccityid": {
  21374. "description": "目的地(市)",
  21375. "type": "integer"
  21376. },
  21377. "descprovinceid": {
  21378. "description": "目的地(省)",
  21379. "type": "integer"
  21380. },
  21381. "goodscode": {
  21382. "description": "商品代码(内部)",
  21383. "type": "string"
  21384. },
  21385. "goodsid": {
  21386. "description": "商品ID(自增ID SEQ_GOODS)",
  21387. "type": "integer"
  21388. },
  21389. "goodsname": {
  21390. "description": "商品名称",
  21391. "type": "string"
  21392. },
  21393. "hotindex": {
  21394. "description": "景点热度",
  21395. "type": "integer"
  21396. },
  21397. "last": {
  21398. "description": "现价",
  21399. "type": "number"
  21400. },
  21401. "marketid": {
  21402. "description": "所属市场ID",
  21403. "type": "integer"
  21404. },
  21405. "picurls": {
  21406. "description": "介绍图片[多张用逗号分隔]",
  21407. "type": "string"
  21408. },
  21409. "quoteminunit": {
  21410. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21411. "type": "integer"
  21412. },
  21413. "trademode": {
  21414. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21415. "type": "integer"
  21416. },
  21417. "videourls": {
  21418. "description": "介绍视频[多张用逗号分隔]",
  21419. "type": "string"
  21420. }
  21421. }
  21422. },
  21423. "models.HybsMyBuyOrderDetail": {
  21424. "type": "object",
  21425. "required": [
  21426. "accountid",
  21427. "buyorsell",
  21428. "goodscode",
  21429. "goodsid",
  21430. "goodsname",
  21431. "marketid",
  21432. "orderid",
  21433. "orderqty",
  21434. "ordertime",
  21435. "trademode"
  21436. ],
  21437. "properties": {
  21438. "accountid": {
  21439. "description": "账户ID[报价币种]",
  21440. "type": "integer"
  21441. },
  21442. "agreeunit": {
  21443. "description": "合约单位",
  21444. "type": "number"
  21445. },
  21446. "buyorsell": {
  21447. "description": "买卖 - 0:买 1:卖",
  21448. "type": "integer"
  21449. },
  21450. "cancelqty": {
  21451. "description": "撤单数量",
  21452. "type": "integer"
  21453. },
  21454. "currencysign": {
  21455. "description": "货币符号",
  21456. "type": "string"
  21457. },
  21458. "decimalplace": {
  21459. "description": "报价小数位",
  21460. "type": "integer"
  21461. },
  21462. "goodscode": {
  21463. "description": "商品代码(内部)",
  21464. "type": "string"
  21465. },
  21466. "goodsid": {
  21467. "description": "商品ID",
  21468. "type": "integer"
  21469. },
  21470. "goodsname": {
  21471. "description": "商品名称",
  21472. "type": "string"
  21473. },
  21474. "listingselecttype": {
  21475. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21476. "type": "integer"
  21477. },
  21478. "marketid": {
  21479. "description": "市场ID",
  21480. "type": "integer"
  21481. },
  21482. "mybuystatus": {
  21483. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  21484. "type": "integer"
  21485. },
  21486. "orderamount": {
  21487. "description": "委托金额",
  21488. "type": "number"
  21489. },
  21490. "orderid": {
  21491. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21492. "type": "string"
  21493. },
  21494. "orderprice": {
  21495. "description": "委托价格",
  21496. "type": "number"
  21497. },
  21498. "orderqty": {
  21499. "description": "委托数量",
  21500. "type": "integer"
  21501. },
  21502. "orderstatus": {
  21503. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21504. "type": "integer"
  21505. },
  21506. "ordertime": {
  21507. "description": "委托时间",
  21508. "type": "string"
  21509. },
  21510. "picurls1": {
  21511. "description": "预售商品介绍图片[多张用逗号分隔]",
  21512. "type": "string"
  21513. },
  21514. "picurls2": {
  21515. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21516. "type": "string"
  21517. },
  21518. "trademode": {
  21519. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21520. "type": "integer"
  21521. },
  21522. "tradeqty": {
  21523. "description": "成交数量",
  21524. "type": "integer"
  21525. },
  21526. "vendorname1": {
  21527. "description": "预售商品供应商名称",
  21528. "type": "string"
  21529. },
  21530. "vendorname2": {
  21531. "description": "挂牌商品供应商名称",
  21532. "type": "string"
  21533. }
  21534. }
  21535. },
  21536. "models.Loginaccount": {
  21537. "type": "object",
  21538. "required": [
  21539. "loginid"
  21540. ],
  21541. "properties": {
  21542. "canoutin": {
  21543. "description": "是否可出入金 - 0:不可 1:可",
  21544. "type": "integer"
  21545. },
  21546. "clientroleid": {
  21547. "description": "终端角色ID",
  21548. "type": "integer"
  21549. },
  21550. "haslogined": {
  21551. "description": "是否已登录 - 0:未登录 1:已登录",
  21552. "type": "integer"
  21553. },
  21554. "hasupdatedpwd": {
  21555. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21556. "type": "integer"
  21557. },
  21558. "lastloginip": {
  21559. "description": "最新登录地址",
  21560. "type": "string"
  21561. },
  21562. "lastloginmode": {
  21563. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21564. "type": "integer"
  21565. },
  21566. "lastloginremark": {
  21567. "description": "最新登录描述",
  21568. "type": "string"
  21569. },
  21570. "lastlogintime": {
  21571. "description": "最新登录时间",
  21572. "type": "string"
  21573. },
  21574. "logincode": {
  21575. "description": "登录代码",
  21576. "type": "string"
  21577. },
  21578. "loginfailnum": {
  21579. "description": "连续登录失败次数(登录成功时清零)",
  21580. "type": "integer"
  21581. },
  21582. "loginid": {
  21583. "description": "登陆账号",
  21584. "type": "integer"
  21585. },
  21586. "loginport": {
  21587. "description": "最新登录端口",
  21588. "type": "integer"
  21589. },
  21590. "loginstatus": {
  21591. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21592. "type": "integer"
  21593. },
  21594. "loginusertype": {
  21595. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21596. "type": "integer"
  21597. },
  21598. "modifierid": {
  21599. "description": "修改人",
  21600. "type": "integer"
  21601. },
  21602. "modifytime": {
  21603. "description": "修改时间",
  21604. "type": "string"
  21605. },
  21606. "pwdwrongcount": {
  21607. "description": "密码错误次数",
  21608. "type": "integer"
  21609. },
  21610. "taaccountrighttype": {
  21611. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21612. "type": "integer"
  21613. },
  21614. "unfreezetime": {
  21615. "description": "账户解冻时间",
  21616. "type": "string"
  21617. },
  21618. "userid": {
  21619. "description": "用户ID",
  21620. "type": "integer"
  21621. }
  21622. }
  21623. },
  21624. "models.MainAccountInfo": {
  21625. "type": "object",
  21626. "properties": {
  21627. "accountid": {
  21628. "description": "账号id",
  21629. "type": "integer"
  21630. },
  21631. "accountname": {
  21632. "description": "账号名称(taaccount表中的名称)",
  21633. "type": "string"
  21634. },
  21635. "appid": {
  21636. "description": "AppID",
  21637. "type": "string"
  21638. },
  21639. "authcode": {
  21640. "description": "授权码",
  21641. "type": "string"
  21642. },
  21643. "brokerid": {
  21644. "description": "经纪商id",
  21645. "type": "string"
  21646. },
  21647. "fcid": {
  21648. "description": "期货公司id",
  21649. "type": "integer"
  21650. },
  21651. "fcname": {
  21652. "description": "期货公司代码",
  21653. "type": "string"
  21654. },
  21655. "hedgeaccountcode": {
  21656. "description": "外部账号代码(主账号登录代码)",
  21657. "type": "string"
  21658. },
  21659. "hedgeaccountpwd": {
  21660. "description": "密码",
  21661. "type": "string"
  21662. },
  21663. "ismain": {
  21664. "description": "是否主账号",
  21665. "type": "integer"
  21666. },
  21667. "relateduserid": {
  21668. "description": "关联用户id",
  21669. "type": "integer"
  21670. },
  21671. "userid": {
  21672. "description": "关联用户id",
  21673. "type": "integer"
  21674. }
  21675. }
  21676. },
  21677. "models.Market": {
  21678. "type": "object",
  21679. "required": [
  21680. "marketid",
  21681. "marketstatus",
  21682. "openmethod",
  21683. "reckonpricealgorithm",
  21684. "trademode",
  21685. "tradeproperty"
  21686. ],
  21687. "properties": {
  21688. "auctionwrtype": {
  21689. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21690. "type": "integer"
  21691. },
  21692. "canacceptquote": {
  21693. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21694. "type": "integer"
  21695. },
  21696. "cangoodsexercise": {
  21697. "description": "[期权]是否可现货行权- 0:否 1:是",
  21698. "type": "integer"
  21699. },
  21700. "cangoodsexercisetype": {
  21701. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21702. "type": "integer"
  21703. },
  21704. "canmanualquotestrike": {
  21705. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21706. "type": "integer"
  21707. },
  21708. "canmutistage": {
  21709. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21710. "type": "integer"
  21711. },
  21712. "canpreexercise": {
  21713. "description": "[期权]是否可预申报- 0:否 1:是",
  21714. "type": "integer"
  21715. },
  21716. "clearinterval": {
  21717. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21718. "type": "integer"
  21719. },
  21720. "contracttmp": {
  21721. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21722. "type": "string"
  21723. },
  21724. "exchareaid": {
  21725. "description": "所属交易所,可以没有",
  21726. "type": "integer"
  21727. },
  21728. "goodstype": {
  21729. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21730. "type": "integer"
  21731. },
  21732. "hasrebate": {
  21733. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21734. "type": "integer"
  21735. },
  21736. "hastradecredit": {
  21737. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21738. "type": "integer"
  21739. },
  21740. "haswr": {
  21741. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21742. "type": "integer"
  21743. },
  21744. "isdeductmargin": {
  21745. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21746. "type": "integer"
  21747. },
  21748. "isrecordsource": {
  21749. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21750. "type": "integer"
  21751. },
  21752. "isreleasemargin": {
  21753. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21754. "type": "integer"
  21755. },
  21756. "marginformula": {
  21757. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21758. "type": "integer"
  21759. },
  21760. "marginformula2": {
  21761. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21762. "type": "integer"
  21763. },
  21764. "marketid": {
  21765. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21766. "type": "integer"
  21767. },
  21768. "marketname": {
  21769. "description": "市场名称",
  21770. "type": "string"
  21771. },
  21772. "marketserviceid": {
  21773. "description": "市场服务ID",
  21774. "type": "integer"
  21775. },
  21776. "marketstatus": {
  21777. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21778. "type": "integer"
  21779. },
  21780. "markettype": {
  21781. "description": "市场类型- 1:非交易服务 2:交易服务",
  21782. "type": "integer"
  21783. },
  21784. "matchermode": {
  21785. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21786. "type": "integer"
  21787. },
  21788. "openmethod": {
  21789. "description": "开盘模式 - 0 自动 1手动",
  21790. "type": "integer"
  21791. },
  21792. "otcuserid": {
  21793. "description": "场外期权做市商[场外期权]",
  21794. "type": "integer"
  21795. },
  21796. "outersynctime": {
  21797. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21798. "type": "string"
  21799. },
  21800. "pendingflag": {
  21801. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21802. "type": "integer"
  21803. },
  21804. "pendingtime": {
  21805. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21806. "type": "string"
  21807. },
  21808. "performancetempid": {
  21809. "description": "履约计划模板ID - 作废",
  21810. "type": "integer"
  21811. },
  21812. "premiumquotemode": {
  21813. "description": "权利金报价方式 - 1:自动 2:手动",
  21814. "type": "integer"
  21815. },
  21816. "rebateratio": {
  21817. "description": "返利比率[竞价式]",
  21818. "type": "number"
  21819. },
  21820. "reckonorder": {
  21821. "description": "结算顺序",
  21822. "type": "integer"
  21823. },
  21824. "reckonpricealgorithm": {
  21825. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21826. "type": "integer"
  21827. },
  21828. "reckonpriceparam": {
  21829. "description": "结算价参数",
  21830. "type": "integer"
  21831. },
  21832. "reckontime": {
  21833. "description": "结算时间[通道交易-对冲](HH:mm)",
  21834. "type": "string"
  21835. },
  21836. "roleprioritytype": {
  21837. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21838. "type": "integer"
  21839. },
  21840. "selllistingauditflag": {
  21841. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21842. "type": "integer"
  21843. },
  21844. "trademarkettype": {
  21845. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21846. "type": "integer"
  21847. },
  21848. "trademode": {
  21849. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21850. "type": "integer"
  21851. },
  21852. "tradeproperty": {
  21853. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21854. "type": "integer"
  21855. },
  21856. "tradetype": {
  21857. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21858. "type": "integer"
  21859. }
  21860. }
  21861. },
  21862. "models.Marketrun": {
  21863. "type": "object",
  21864. "required": [
  21865. "marketid",
  21866. "nexttradedate",
  21867. "reckonflag",
  21868. "runstatus",
  21869. "tradedate",
  21870. "tradedate2"
  21871. ],
  21872. "properties": {
  21873. "afternexttradedate": {
  21874. "description": "下下交易日",
  21875. "type": "string"
  21876. },
  21877. "clearquoteflag": {
  21878. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21879. "type": "integer"
  21880. },
  21881. "lastreckondate": {
  21882. "description": "最新交易日(结算成功)",
  21883. "type": "string"
  21884. },
  21885. "machinedate": {
  21886. "description": "机器时间",
  21887. "type": "string"
  21888. },
  21889. "manualflag": {
  21890. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21891. "type": "integer"
  21892. },
  21893. "marketid": {
  21894. "description": "市场ID",
  21895. "type": "integer"
  21896. },
  21897. "nexttradedate": {
  21898. "description": "下一交易日",
  21899. "type": "string"
  21900. },
  21901. "pretradedate": {
  21902. "description": "上一交易日",
  21903. "type": "string"
  21904. },
  21905. "reckonflag": {
  21906. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21907. "type": "integer"
  21908. },
  21909. "runstatus": {
  21910. "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.今日免清算",
  21911. "type": "integer"
  21912. },
  21913. "sectionid": {
  21914. "description": "时间段号[多时段时用]",
  21915. "type": "integer"
  21916. },
  21917. "tradedate": {
  21918. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21919. "type": "string"
  21920. },
  21921. "tradedate2": {
  21922. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21923. "type": "string"
  21924. },
  21925. "updatetime": {
  21926. "description": "更新时间",
  21927. "type": "string"
  21928. }
  21929. }
  21930. },
  21931. "models.Messageboard": {
  21932. "type": "object",
  21933. "required": [
  21934. "messageboardid"
  21935. ],
  21936. "properties": {
  21937. "contactnum": {
  21938. "description": "联系电话",
  21939. "type": "string"
  21940. },
  21941. "createtime": {
  21942. "description": "创建时间",
  21943. "type": "string"
  21944. },
  21945. "message": {
  21946. "description": "留言信息",
  21947. "type": "string"
  21948. },
  21949. "messageboardid": {
  21950. "description": "留言簿ID(SEQ_MessageBoard)",
  21951. "type": "integer"
  21952. },
  21953. "userid": {
  21954. "description": "用户ID",
  21955. "type": "integer"
  21956. }
  21957. }
  21958. },
  21959. "models.MyCoupon": {
  21960. "type": "object",
  21961. "required": [
  21962. "accountid",
  21963. "coupontypeid"
  21964. ],
  21965. "properties": {
  21966. "accountid": {
  21967. "description": "资金账户ID",
  21968. "type": "integer"
  21969. },
  21970. "areauserid": {
  21971. "description": "所属机构",
  21972. "type": "integer"
  21973. },
  21974. "conditionvalue": {
  21975. "description": "条件阈值(可为0)",
  21976. "type": "number"
  21977. },
  21978. "couponcategroy": {
  21979. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21980. "type": "integer"
  21981. },
  21982. "couponname": {
  21983. "description": "优惠券名称",
  21984. "type": "string"
  21985. },
  21986. "coupontypeid": {
  21987. "description": "优惠券类型ID",
  21988. "type": "string"
  21989. },
  21990. "couponvalue": {
  21991. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21992. "type": "number"
  21993. },
  21994. "curfreezeqty": {
  21995. "description": "期末冻结数量",
  21996. "type": "integer"
  21997. },
  21998. "curqty": {
  21999. "description": "期末数量",
  22000. "type": "integer"
  22001. },
  22002. "isgeneral": {
  22003. "description": "是否通用券 - 0:否 1:是",
  22004. "type": "integer"
  22005. },
  22006. "isunusable": {
  22007. "description": "是否不可用",
  22008. "type": "boolean"
  22009. },
  22010. "limitedflag": {
  22011. "description": "是否指定商品 - 0:不限 1:限制",
  22012. "type": "integer"
  22013. },
  22014. "limitedgoodsids": {
  22015. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  22016. "type": "string"
  22017. },
  22018. "orifreezeqty": {
  22019. "description": "期初冻结数量",
  22020. "type": "integer"
  22021. },
  22022. "oriqty": {
  22023. "description": "期初数量",
  22024. "type": "integer"
  22025. },
  22026. "reasontype": {
  22027. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  22028. "type": "integer"
  22029. },
  22030. "todaydecrease": {
  22031. "description": "今日减少",
  22032. "type": "integer"
  22033. },
  22034. "todayincrease": {
  22035. "description": "今日增加",
  22036. "type": "integer"
  22037. },
  22038. "userid": {
  22039. "description": "用户ID",
  22040. "type": "integer"
  22041. },
  22042. "userscope": {
  22043. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  22044. "type": "string"
  22045. }
  22046. }
  22047. },
  22048. "models.MyCouponHold": {
  22049. "type": "object",
  22050. "required": [
  22051. "couponholdid"
  22052. ],
  22053. "properties": {
  22054. "accountid": {
  22055. "description": "资金账户ID",
  22056. "type": "integer"
  22057. },
  22058. "conditionvalue": {
  22059. "description": "条件阈值(可为0)",
  22060. "type": "number"
  22061. },
  22062. "couponcategroy": {
  22063. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  22064. "type": "integer"
  22065. },
  22066. "couponholdid": {
  22067. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  22068. "type": "string"
  22069. },
  22070. "couponname": {
  22071. "description": "优惠券名称",
  22072. "type": "string"
  22073. },
  22074. "coupontypeid": {
  22075. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22076. "type": "string"
  22077. },
  22078. "couponvalue": {
  22079. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22080. "type": "number"
  22081. },
  22082. "createtime": {
  22083. "description": "创建时间",
  22084. "type": "string"
  22085. },
  22086. "enddate": {
  22087. "description": "结束日期",
  22088. "type": "string"
  22089. },
  22090. "giveapplyid": {
  22091. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22092. "type": "integer"
  22093. },
  22094. "holdstatus": {
  22095. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22096. "type": "integer"
  22097. },
  22098. "isgeneral": {
  22099. "description": "是否通用券 - 0:否 1:是",
  22100. "type": "integer"
  22101. },
  22102. "limitedflag": {
  22103. "description": "是否指定商品 - 0:不限 1:限制",
  22104. "type": "integer"
  22105. },
  22106. "limitedgoodsids": {
  22107. "description": "指定商品IDs[逗号分隔]",
  22108. "type": "string"
  22109. },
  22110. "qty": {
  22111. "description": "数量(按1平铺)",
  22112. "type": "integer"
  22113. },
  22114. "startdate": {
  22115. "description": "开始日期",
  22116. "type": "string"
  22117. },
  22118. "userid": {
  22119. "description": "用户ID",
  22120. "type": "integer"
  22121. },
  22122. "userscope": {
  22123. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22124. "type": "string"
  22125. }
  22126. }
  22127. },
  22128. "models.MyUsedCoupon": {
  22129. "type": "object",
  22130. "required": [
  22131. "coupontypeid",
  22132. "orderid"
  22133. ],
  22134. "properties": {
  22135. "accountid": {
  22136. "description": "资金账户ID(买方)",
  22137. "type": "integer"
  22138. },
  22139. "conditionvalue": {
  22140. "description": "条件阈值(可为0)",
  22141. "type": "number"
  22142. },
  22143. "couponcategroy": {
  22144. "description": "种类 - 1:现金券 2:折扣券",
  22145. "type": "integer"
  22146. },
  22147. "couponname": {
  22148. "description": "优惠券名称",
  22149. "type": "string"
  22150. },
  22151. "coupontypeid": {
  22152. "description": "优惠券类型ID(买方)",
  22153. "type": "string"
  22154. },
  22155. "couponvalue": {
  22156. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22157. "type": "number"
  22158. },
  22159. "createtime": {
  22160. "description": "创建时间",
  22161. "type": "string"
  22162. },
  22163. "goodsid": {
  22164. "description": "商品ID",
  22165. "type": "integer"
  22166. },
  22167. "handlestatus": {
  22168. "description": "处理状态",
  22169. "type": "integer"
  22170. },
  22171. "marketid": {
  22172. "description": "市场ID",
  22173. "type": "integer"
  22174. },
  22175. "offamount": {
  22176. "description": "优惠金额",
  22177. "type": "number"
  22178. },
  22179. "orderid": {
  22180. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22181. "type": "string"
  22182. },
  22183. "sellaccountid": {
  22184. "description": "资金账户ID(卖方)",
  22185. "type": "integer"
  22186. },
  22187. "tradeamount": {
  22188. "description": "成交金额",
  22189. "type": "number"
  22190. },
  22191. "tradeid": {
  22192. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22193. "type": "string"
  22194. },
  22195. "usedqty": {
  22196. "description": "使用数量",
  22197. "type": "integer"
  22198. }
  22199. }
  22200. },
  22201. "models.OperationPrimaryMenu": {
  22202. "type": "object",
  22203. "properties": {
  22204. "Children": {
  22205. "description": "二级功能菜单",
  22206. "type": "array",
  22207. "items": {
  22208. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22209. }
  22210. },
  22211. "Key": {
  22212. "description": "菜单KEY",
  22213. "type": "string"
  22214. },
  22215. "Label": {
  22216. "description": "菜单标题",
  22217. "type": "string"
  22218. }
  22219. }
  22220. },
  22221. "models.OperationSecondaryMenu": {
  22222. "type": "object",
  22223. "properties": {
  22224. "Key": {
  22225. "description": "菜单KEY",
  22226. "type": "string"
  22227. },
  22228. "Label": {
  22229. "description": "菜单标题",
  22230. "type": "string"
  22231. },
  22232. "TabList": {
  22233. "description": "三级功能菜单",
  22234. "type": "array",
  22235. "items": {
  22236. "$ref": "#/definitions/models.OperationTabMenu"
  22237. }
  22238. }
  22239. }
  22240. },
  22241. "models.OperationTabMenu": {
  22242. "type": "object",
  22243. "properties": {
  22244. "Key": {
  22245. "description": "菜单KEY",
  22246. "type": "string"
  22247. },
  22248. "Label": {
  22249. "description": "菜单标题",
  22250. "type": "string"
  22251. }
  22252. }
  22253. },
  22254. "models.PendingAuditBizModel": {
  22255. "type": "object",
  22256. "properties": {
  22257. "accountid": {
  22258. "description": "现货账户",
  22259. "type": "string"
  22260. },
  22261. "areaname": {
  22262. "description": "所属部门",
  22263. "type": "string"
  22264. },
  22265. "bizid": {
  22266. "description": "业务ID",
  22267. "type": "string"
  22268. },
  22269. "bizname": {
  22270. "description": "业务名称",
  22271. "type": "string"
  22272. },
  22273. "status": {
  22274. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22275. "type": "integer"
  22276. },
  22277. "type": {
  22278. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22279. "type": "integer"
  22280. }
  22281. }
  22282. },
  22283. "models.QhjAccountOutInApply": {
  22284. "type": "object",
  22285. "properties": {
  22286. "accountcode": {
  22287. "description": "资金账号",
  22288. "type": "string"
  22289. },
  22290. "accountname": {
  22291. "description": "用户名称(名称)",
  22292. "type": "string"
  22293. },
  22294. "accountpwd": {
  22295. "description": "资金密码",
  22296. "type": "string"
  22297. },
  22298. "accountticket": {
  22299. "description": "最新账户服务流水号",
  22300. "type": "string"
  22301. },
  22302. "amount": {
  22303. "description": "金额",
  22304. "type": "number"
  22305. },
  22306. "applyremark": {
  22307. "description": "申请备注",
  22308. "type": "string"
  22309. },
  22310. "applystatus": {
  22311. "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: 复审通过,账户冻结金额检查中;",
  22312. "type": "integer"
  22313. },
  22314. "auditid": {
  22315. "description": "审核人",
  22316. "type": "integer"
  22317. },
  22318. "audittime": {
  22319. "description": "审核时间",
  22320. "type": "string"
  22321. },
  22322. "bank_apply_ticket": {
  22323. "description": "银行申请流水",
  22324. "type": "string"
  22325. },
  22326. "bankaccountname": {
  22327. "description": "银行账户名",
  22328. "type": "string"
  22329. },
  22330. "bankaccountno": {
  22331. "description": "银行卡号",
  22332. "type": "string"
  22333. },
  22334. "bankid": {
  22335. "description": "银行编号",
  22336. "type": "string"
  22337. },
  22338. "bankticket": {
  22339. "description": "银行流水",
  22340. "type": "string"
  22341. },
  22342. "branchbankid": {
  22343. "description": "银行支行号",
  22344. "type": "string"
  22345. },
  22346. "branchbankname": {
  22347. "description": "银行支行名称",
  22348. "type": "string"
  22349. },
  22350. "capamountout": {
  22351. "description": "出金(劣后本金) - 外部子账户",
  22352. "type": "number"
  22353. },
  22354. "certificatephotourl": {
  22355. "description": "凭证地址",
  22356. "type": "string"
  22357. },
  22358. "charge": {
  22359. "description": "手续费",
  22360. "type": "number"
  22361. },
  22362. "checkerrorflag": {
  22363. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  22364. "type": "integer"
  22365. },
  22366. "currency": {
  22367. "description": "币种",
  22368. "type": "string"
  22369. },
  22370. "cusbankid": {
  22371. "description": "托管银行编号",
  22372. "type": "string"
  22373. },
  22374. "exchticket": {
  22375. "description": "银行服务流水号",
  22376. "type": "string"
  22377. },
  22378. "executetype": {
  22379. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  22380. "type": "integer"
  22381. },
  22382. "extendinfo": {
  22383. "description": "扩展信息",
  22384. "type": "string"
  22385. },
  22386. "extoperateid": {
  22387. "description": "交易服务流水号",
  22388. "type": "integer"
  22389. },
  22390. "infamount": {
  22391. "description": "劣后金额(自有)",
  22392. "type": "number"
  22393. },
  22394. "logincode": {
  22395. "description": "登录账号(账号)",
  22396. "type": "string"
  22397. },
  22398. "netaddr": {
  22399. "description": "调转网址",
  22400. "type": "string"
  22401. },
  22402. "priamount": {
  22403. "description": "优先金额(授信)",
  22404. "type": "number"
  22405. },
  22406. "reauditid": {
  22407. "description": "复审人",
  22408. "type": "integer"
  22409. },
  22410. "reauditremark": {
  22411. "description": "复审备注",
  22412. "type": "string"
  22413. },
  22414. "reaudittime": {
  22415. "description": "复审时间",
  22416. "type": "string"
  22417. },
  22418. "relatedorderid": {
  22419. "description": "三方关联ID",
  22420. "type": "string"
  22421. },
  22422. "remark": {
  22423. "description": "备注",
  22424. "type": "string"
  22425. },
  22426. "remark2": {
  22427. "description": "备注(失败原因)",
  22428. "type": "string"
  22429. },
  22430. "soucreamount": {
  22431. "description": "原始出入金金额",
  22432. "type": "number"
  22433. },
  22434. "soucrecurrencyid": {
  22435. "description": "原始出入金币种",
  22436. "type": "integer"
  22437. },
  22438. "tradedate": {
  22439. "description": "交易日(yyyyMMdd)",
  22440. "type": "string"
  22441. },
  22442. "updatetime": {
  22443. "description": "更新时间(申请时间)",
  22444. "type": "string"
  22445. },
  22446. "userid": {
  22447. "description": "用户id",
  22448. "type": "integer"
  22449. },
  22450. "userinfotype": {
  22451. "description": "账户类型 1-个人 2-企业",
  22452. "type": "integer"
  22453. }
  22454. }
  22455. },
  22456. "models.QhjBankAccountSign": {
  22457. "type": "object",
  22458. "properties": {
  22459. "accountcode": {
  22460. "description": "资金账号",
  22461. "type": "string"
  22462. },
  22463. "accountname": {
  22464. "description": "资金账号对应的账号名(UserName)",
  22465. "type": "string"
  22466. },
  22467. "accountname2": {
  22468. "description": "资金账号对应的账号名(UserName) - 密文",
  22469. "type": "string"
  22470. },
  22471. "accounttype": {
  22472. "description": "账户类型(UserType)",
  22473. "type": "integer"
  22474. },
  22475. "applicationtime": {
  22476. "description": "最后一次更新的时间",
  22477. "type": "string"
  22478. },
  22479. "applyexchticket": {
  22480. "description": "申请流水",
  22481. "type": "string"
  22482. },
  22483. "auditid": {
  22484. "description": "审核人",
  22485. "type": "integer"
  22486. },
  22487. "audittime": {
  22488. "description": "审核时间",
  22489. "type": "string"
  22490. },
  22491. "bankaccountname": {
  22492. "description": "签约银行卡账号名",
  22493. "type": "string"
  22494. },
  22495. "bankaccountname2": {
  22496. "description": "签约银行卡账号名 - 密文",
  22497. "type": "string"
  22498. },
  22499. "bankaccountno": {
  22500. "description": "银行卡号",
  22501. "type": "string"
  22502. },
  22503. "bankaccountno2": {
  22504. "description": "银行卡号 - 密文",
  22505. "type": "string"
  22506. },
  22507. "bankaccounttype": {
  22508. "description": "银行账户类型 - 1-对私; 2-对公",
  22509. "type": "integer"
  22510. },
  22511. "bankcardtype": {
  22512. "description": "银行卡类型",
  22513. "type": "integer"
  22514. },
  22515. "bankchildaccount": {
  22516. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  22517. "type": "string"
  22518. },
  22519. "bankcity": {
  22520. "description": "开户行城市",
  22521. "type": "string"
  22522. },
  22523. "bankid": {
  22524. "description": "签约银行ID",
  22525. "type": "string"
  22526. },
  22527. "bankname": {
  22528. "description": "签约银行名称",
  22529. "type": "string"
  22530. },
  22531. "bankprovince": {
  22532. "description": "开户行省份",
  22533. "type": "string"
  22534. },
  22535. "branchbankid": {
  22536. "description": "签约银行支行号",
  22537. "type": "string"
  22538. },
  22539. "branchbankname": {
  22540. "description": "签约银行支行名称",
  22541. "type": "string"
  22542. },
  22543. "cardno": {
  22544. "description": "证件号码",
  22545. "type": "string"
  22546. },
  22547. "cardno2": {
  22548. "description": "证件号码 - 密文",
  22549. "type": "string"
  22550. },
  22551. "cardtype": {
  22552. "description": "证件类型",
  22553. "type": "string"
  22554. },
  22555. "currency": {
  22556. "description": "币种",
  22557. "type": "string"
  22558. },
  22559. "cusbankid": {
  22560. "description": "托管银行编号",
  22561. "type": "string"
  22562. },
  22563. "direct": {
  22564. "description": "方向(可以判断那方先发起的签约)",
  22565. "type": "integer"
  22566. },
  22567. "exchticket": {
  22568. "description": "最后一次签约成功的流水号",
  22569. "type": "string"
  22570. },
  22571. "extendinfo": {
  22572. "description": "扩展信息(JSON字符串)",
  22573. "type": "string"
  22574. },
  22575. "mobilephone": {
  22576. "description": "手机号",
  22577. "type": "string"
  22578. },
  22579. "mobilephone2": {
  22580. "description": "手机号 - 密文",
  22581. "type": "string"
  22582. },
  22583. "netaddr": {
  22584. "description": "调转网址",
  22585. "type": "string"
  22586. },
  22587. "relateduserid": {
  22588. "description": "关联使用者userid",
  22589. "type": "integer"
  22590. },
  22591. "signstatus": {
  22592. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  22593. "type": "integer"
  22594. },
  22595. "updatetime": {
  22596. "description": "更新时间(签解约更新时间)",
  22597. "type": "string"
  22598. }
  22599. }
  22600. },
  22601. "models.QhjBankInfo": {
  22602. "type": "object",
  22603. "properties": {
  22604. "bankid": {
  22605. "description": "银行ID",
  22606. "type": "string"
  22607. },
  22608. "bankname": {
  22609. "description": "银行名称",
  22610. "type": "string"
  22611. },
  22612. "clearbankno": {
  22613. "description": "清算系统银行编号",
  22614. "type": "string"
  22615. },
  22616. "orderindex": {
  22617. "description": "排序顺序",
  22618. "type": "integer"
  22619. },
  22620. "status": {
  22621. "description": "状态 - 0:正常 1:注销",
  22622. "type": "integer"
  22623. }
  22624. }
  22625. },
  22626. "models.QhjContract": {
  22627. "type": "object",
  22628. "properties": {
  22629. "contractconfirmtime": {
  22630. "description": "合同确认时间(时间)",
  22631. "type": "string"
  22632. },
  22633. "currisklevel": {
  22634. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  22635. "type": "integer"
  22636. },
  22637. "decimalplace": {
  22638. "description": "商品报价小数位",
  22639. "type": "integer"
  22640. },
  22641. "enumdicname": {
  22642. "description": "单位名称",
  22643. "type": "string"
  22644. },
  22645. "goodscode": {
  22646. "description": "商品代码",
  22647. "type": "string"
  22648. },
  22649. "goodsid": {
  22650. "description": "商品ID [5:融资单]",
  22651. "type": "integer"
  22652. },
  22653. "goodsname": {
  22654. "description": "商品名称",
  22655. "type": "string"
  22656. },
  22657. "goodunitid": {
  22658. "description": "商品单位id",
  22659. "type": "integer"
  22660. },
  22661. "initmargin": {
  22662. "description": "初始保证金(首付款)",
  22663. "type": "number"
  22664. },
  22665. "lenderamount": {
  22666. "description": "贷款金额(总额|订单总额)",
  22667. "type": "number"
  22668. },
  22669. "marginratio": {
  22670. "description": "保证金比率(首付比例)",
  22671. "type": "number"
  22672. },
  22673. "payamount": {
  22674. "description": "已付(已付货款)",
  22675. "type": "number"
  22676. },
  22677. "reckonrecovermargin": {
  22678. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  22679. "type": "number"
  22680. },
  22681. "recoveredmargin": {
  22682. "description": "已追缴保证金",
  22683. "type": "number"
  22684. },
  22685. "remainamount": {
  22686. "description": "合同剩余金额(融资额)",
  22687. "type": "number"
  22688. },
  22689. "scfcontractid": {
  22690. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22691. "type": "string"
  22692. },
  22693. "scfcontractstatus": {
  22694. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  22695. "type": "integer"
  22696. },
  22697. "scfcontracttype": {
  22698. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  22699. "type": "integer"
  22700. },
  22701. "totalinterest": {
  22702. "description": "已计总利息(利息)",
  22703. "type": "number"
  22704. },
  22705. "tradeprice": {
  22706. "description": "成交价格(成本价格)",
  22707. "type": "number"
  22708. },
  22709. "userid": {
  22710. "description": "用户ID",
  22711. "type": "integer"
  22712. },
  22713. "username": {
  22714. "description": "用户名称",
  22715. "type": "string"
  22716. },
  22717. "wrqty": {
  22718. "description": "仓单数量(数量)",
  22719. "type": "number"
  22720. }
  22721. }
  22722. },
  22723. "models.QhjContractLog": {
  22724. "type": "object",
  22725. "properties": {
  22726. "amount": {
  22727. "description": "支付金额",
  22728. "type": "number"
  22729. },
  22730. "amounttype": {
  22731. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  22732. "type": "integer"
  22733. },
  22734. "logid": {
  22735. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22736. "type": "string"
  22737. },
  22738. "remainamount": {
  22739. "description": "剩余货款",
  22740. "type": "number"
  22741. },
  22742. "scfcontractid": {
  22743. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22744. "type": "integer"
  22745. },
  22746. "updatetime": {
  22747. "description": "更新时间",
  22748. "type": "string"
  22749. }
  22750. }
  22751. },
  22752. "models.QhjCusBankSignBankEx": {
  22753. "type": "object",
  22754. "properties": {
  22755. "banklst": {
  22756. "description": "银行列表",
  22757. "type": "array",
  22758. "items": {
  22759. "$ref": "#/definitions/models.QhjBankInfo"
  22760. }
  22761. },
  22762. "canallot": {
  22763. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  22764. "type": "integer"
  22765. },
  22766. "canallotquery": {
  22767. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  22768. "type": "integer"
  22769. },
  22770. "canbindcard": {
  22771. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  22772. "type": "integer"
  22773. },
  22774. "caninamount": {
  22775. "description": "是否可入金 - 0:不可 1:可以",
  22776. "type": "integer"
  22777. },
  22778. "caninamount2": {
  22779. "description": "是否可入金(网银端) - 0:不可 1:可以",
  22780. "type": "integer"
  22781. },
  22782. "canmodifybankcard": {
  22783. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  22784. "type": "integer"
  22785. },
  22786. "canmodifyphone": {
  22787. "description": "是否可修改手机号 - 0:不可 1:可以",
  22788. "type": "integer"
  22789. },
  22790. "canmodifysigninfo": {
  22791. "description": "是否可修改签约信息 - 0:不可 1:可以",
  22792. "type": "integer"
  22793. },
  22794. "canoutamount": {
  22795. "description": "是否可出金 - 0:不可 1:可以",
  22796. "type": "integer"
  22797. },
  22798. "canoutamount2": {
  22799. "description": "是否可出金(网银端) - 0:不可 1:可以",
  22800. "type": "integer"
  22801. },
  22802. "canrelease": {
  22803. "description": "是否可解约 - 0:不可 1:可以",
  22804. "type": "integer"
  22805. },
  22806. "canrelease2": {
  22807. "description": "是否可解约(网银端) - 0:不可 1:可以",
  22808. "type": "integer"
  22809. },
  22810. "cansign": {
  22811. "description": "是否可签约 - 0:不可 1:可以",
  22812. "type": "integer"
  22813. },
  22814. "cansign2": {
  22815. "description": "是否可签约(网银端) - 0:不可 1:可以",
  22816. "type": "integer"
  22817. },
  22818. "currency": {
  22819. "description": "币种",
  22820. "type": "string"
  22821. },
  22822. "cusbankid": {
  22823. "description": "托管银行编号(对应清算中心TRAN_NO)",
  22824. "type": "string"
  22825. },
  22826. "cusbankname": {
  22827. "description": "银行业务名称",
  22828. "type": "string"
  22829. },
  22830. "cusbankshortname": {
  22831. "description": "银行业务简称",
  22832. "type": "string"
  22833. },
  22834. "exchbankid": {
  22835. "description": "交易所开户银行ID",
  22836. "type": "string"
  22837. },
  22838. "exchpaybankaccname": {
  22839. "description": "交易所支出结算账户户名",
  22840. "type": "string"
  22841. },
  22842. "exchpaybankaccno": {
  22843. "description": "交易所支出结算账户",
  22844. "type": "string"
  22845. },
  22846. "isneedcheck": {
  22847. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  22848. "type": "integer"
  22849. },
  22850. "isneedclear": {
  22851. "description": "是否需要清算 - 0:不需要 1:需要",
  22852. "type": "integer"
  22853. },
  22854. "lastcheckstatus": {
  22855. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  22856. "type": "integer"
  22857. },
  22858. "lastchecktime": {
  22859. "description": "最后对账时间",
  22860. "type": "string"
  22861. },
  22862. "lastclearstatus": {
  22863. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  22864. "type": "integer"
  22865. },
  22866. "lastcleartime": {
  22867. "description": "最后清算时间",
  22868. "type": "string"
  22869. },
  22870. "lastsignintime": {
  22871. "description": "最后签到时间",
  22872. "type": "string"
  22873. },
  22874. "lastsignouttime": {
  22875. "description": "最后签退时间",
  22876. "type": "string"
  22877. },
  22878. "riskinfo": {
  22879. "description": "签约风险提示书",
  22880. "type": "string"
  22881. },
  22882. "signstatus": {
  22883. "description": "当前签到/签退状态 - 1:签到 2:签退",
  22884. "type": "integer"
  22885. },
  22886. "tradedate": {
  22887. "description": "交易日(yyyyMMdd)",
  22888. "type": "string"
  22889. },
  22890. "updatetime": {
  22891. "description": "当前签到/签退更新时间",
  22892. "type": "string"
  22893. }
  22894. }
  22895. },
  22896. "models.QhjCustomer": {
  22897. "type": "object",
  22898. "properties": {
  22899. "address": {
  22900. "description": "通讯地址",
  22901. "type": "string"
  22902. },
  22903. "attachment1": {
  22904. "description": "附件1",
  22905. "type": "string"
  22906. },
  22907. "audittime": {
  22908. "description": "审核时间",
  22909. "type": "string"
  22910. },
  22911. "cardbackphotourl": {
  22912. "description": "证件反面图片地址",
  22913. "type": "string"
  22914. },
  22915. "cardfrontphotourl": {
  22916. "description": "证件正面图片地址",
  22917. "type": "string"
  22918. },
  22919. "cardnum": {
  22920. "description": "证件号码",
  22921. "type": "string"
  22922. },
  22923. "cardtype": {
  22924. "description": "证件类型",
  22925. "type": "integer"
  22926. },
  22927. "cardtypename": {
  22928. "description": "证件类型名称",
  22929. "type": "string"
  22930. },
  22931. "cityid": {
  22932. "description": "市",
  22933. "type": "integer"
  22934. },
  22935. "cityname": {
  22936. "description": "城市名称",
  22937. "type": "string"
  22938. },
  22939. "contactname": {
  22940. "description": "联系人",
  22941. "type": "string"
  22942. },
  22943. "countryid": {
  22944. "description": "国家",
  22945. "type": "integer"
  22946. },
  22947. "countryname": {
  22948. "description": "国家名称",
  22949. "type": "string"
  22950. },
  22951. "createtime": {
  22952. "description": "创建时间",
  22953. "type": "string"
  22954. },
  22955. "customername": {
  22956. "description": "客户名称",
  22957. "type": "string"
  22958. },
  22959. "districtid": {
  22960. "description": "区域",
  22961. "type": "integer"
  22962. },
  22963. "districtname": {
  22964. "description": "地区名称",
  22965. "type": "string"
  22966. },
  22967. "email": {
  22968. "description": "邮件",
  22969. "type": "string"
  22970. },
  22971. "legalpersonname": {
  22972. "description": "法人姓名(企业)",
  22973. "type": "string"
  22974. },
  22975. "logincode": {
  22976. "description": "登录账号(代码)",
  22977. "type": "string"
  22978. },
  22979. "memberuserid": {
  22980. "description": "所属机构ID(所属会员)",
  22981. "type": "integer"
  22982. },
  22983. "memberusername": {
  22984. "description": "所属会员名称",
  22985. "type": "string"
  22986. },
  22987. "mobile": {
  22988. "description": "手机号码",
  22989. "type": "string"
  22990. },
  22991. "modifytime": {
  22992. "description": "修改时间",
  22993. "type": "string"
  22994. },
  22995. "nickname": {
  22996. "description": "昵称",
  22997. "type": "string"
  22998. },
  22999. "parentuserid": {
  23000. "description": "上级机构(所属机构)",
  23001. "type": "integer"
  23002. },
  23003. "parentusername": {
  23004. "description": "所属机构名称",
  23005. "type": "string"
  23006. },
  23007. "provinceid": {
  23008. "description": "省",
  23009. "type": "integer"
  23010. },
  23011. "provincename": {
  23012. "description": "省名称",
  23013. "type": "string"
  23014. },
  23015. "remark": {
  23016. "description": "备注",
  23017. "type": "string"
  23018. },
  23019. "status": {
  23020. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  23021. "type": "integer"
  23022. },
  23023. "statusdesc": {
  23024. "description": "账户状态中文描述",
  23025. "type": "string"
  23026. },
  23027. "taxpayernum": {
  23028. "description": "纳税人识别号",
  23029. "type": "string"
  23030. },
  23031. "telphone": {
  23032. "description": "联系电话",
  23033. "type": "string"
  23034. },
  23035. "userid": {
  23036. "description": "用户ID",
  23037. "type": "integer"
  23038. },
  23039. "userinfotype": {
  23040. "description": "客户类型 1-个人 2-企业",
  23041. "type": "integer"
  23042. },
  23043. "username": {
  23044. "description": "用户名称",
  23045. "type": "string"
  23046. }
  23047. }
  23048. },
  23049. "models.QhjMgrContract": {
  23050. "type": "object",
  23051. "properties": {
  23052. "contractconfirmtime": {
  23053. "description": "合同确认时间(时间)",
  23054. "type": "string"
  23055. },
  23056. "currisklevel": {
  23057. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  23058. "type": "integer"
  23059. },
  23060. "decimalplace": {
  23061. "description": "商品报价小数位",
  23062. "type": "integer"
  23063. },
  23064. "enumdicname": {
  23065. "description": "单位名称",
  23066. "type": "string"
  23067. },
  23068. "goodscode": {
  23069. "description": "商品代码",
  23070. "type": "string"
  23071. },
  23072. "goodsid": {
  23073. "description": "商品ID [5:融资单]",
  23074. "type": "integer"
  23075. },
  23076. "goodsname": {
  23077. "description": "商品名称",
  23078. "type": "string"
  23079. },
  23080. "goodunitid": {
  23081. "description": "商品单位id",
  23082. "type": "integer"
  23083. },
  23084. "initmargin": {
  23085. "description": "初始保证金(首付款)",
  23086. "type": "number"
  23087. },
  23088. "lenderamount": {
  23089. "description": "贷款金额(总额|订单总额)",
  23090. "type": "number"
  23091. },
  23092. "logincode": {
  23093. "description": "账号(登录代码)",
  23094. "type": "string"
  23095. },
  23096. "marginratio": {
  23097. "description": "保证金比率(首付比例)",
  23098. "type": "number"
  23099. },
  23100. "mobile": {
  23101. "description": "电话号码(用户资料里的电话)",
  23102. "type": "string"
  23103. },
  23104. "payamount": {
  23105. "description": "已付(已付货款)",
  23106. "type": "number"
  23107. },
  23108. "reckonrecovermargin": {
  23109. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  23110. "type": "number"
  23111. },
  23112. "recoveredmargin": {
  23113. "description": "已追缴保证金",
  23114. "type": "number"
  23115. },
  23116. "remainamount": {
  23117. "description": "合同剩余金额(融资额)",
  23118. "type": "number"
  23119. },
  23120. "scfcontractid": {
  23121. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23122. "type": "string"
  23123. },
  23124. "scfcontractstatus": {
  23125. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  23126. "type": "integer"
  23127. },
  23128. "scfcontracttype": {
  23129. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  23130. "type": "integer"
  23131. },
  23132. "totalinterest": {
  23133. "description": "已计总利息(利息)",
  23134. "type": "number"
  23135. },
  23136. "tradedate": {
  23137. "description": "交易日",
  23138. "type": "string"
  23139. },
  23140. "tradeprice": {
  23141. "description": "成交价格(成本价格)",
  23142. "type": "number"
  23143. },
  23144. "userid": {
  23145. "description": "用户ID",
  23146. "type": "integer"
  23147. },
  23148. "userinfotype": {
  23149. "description": "用户类型 1-个人 2-企业",
  23150. "type": "integer"
  23151. },
  23152. "username": {
  23153. "description": "用户名称",
  23154. "type": "string"
  23155. },
  23156. "wrqty": {
  23157. "description": "仓单数量(数量)",
  23158. "type": "number"
  23159. }
  23160. }
  23161. },
  23162. "models.QhjMgrPositionRsp": {
  23163. "type": "object",
  23164. "properties": {
  23165. "accountid": {
  23166. "description": "账号Id",
  23167. "type": "integer"
  23168. },
  23169. "accountname": {
  23170. "description": "用户名称",
  23171. "type": "string"
  23172. },
  23173. "agreeunit": {
  23174. "description": "合约乘数",
  23175. "type": "number"
  23176. },
  23177. "averageprice": {
  23178. "description": "均价",
  23179. "type": "number"
  23180. },
  23181. "avialqty": {
  23182. "description": "可用数量",
  23183. "type": "number"
  23184. },
  23185. "decimalplace": {
  23186. "description": "报价小数位",
  23187. "type": "integer"
  23188. },
  23189. "enumdicname": {
  23190. "description": "单位名称(商品)",
  23191. "type": "string"
  23192. },
  23193. "frozenqty": {
  23194. "description": "冻结数量",
  23195. "type": "number"
  23196. },
  23197. "goodscode": {
  23198. "description": "商品代码(内部)",
  23199. "type": "string"
  23200. },
  23201. "goodsid": {
  23202. "description": "商品Id",
  23203. "type": "integer"
  23204. },
  23205. "goodsname": {
  23206. "description": "商品名称",
  23207. "type": "string"
  23208. },
  23209. "goodunitid": {
  23210. "description": "报价单位ID",
  23211. "type": "integer"
  23212. },
  23213. "holderamount": {
  23214. "description": "金额",
  23215. "type": "number"
  23216. },
  23217. "holderqty": {
  23218. "description": "持有数量",
  23219. "type": "number"
  23220. },
  23221. "holdertype": {
  23222. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  23223. "type": "integer"
  23224. },
  23225. "logincode": {
  23226. "description": "登录代码(账户)",
  23227. "type": "string"
  23228. },
  23229. "marketid": {
  23230. "description": "市场id",
  23231. "type": "integer"
  23232. },
  23233. "qtydecimalplace": {
  23234. "description": "成交量小数位",
  23235. "type": "integer"
  23236. },
  23237. "trademode": {
  23238. "description": "交易模式",
  23239. "type": "integer"
  23240. },
  23241. "userid": {
  23242. "description": "用户id",
  23243. "type": "integer"
  23244. },
  23245. "userinfotype": {
  23246. "description": "账户类型 1-个人 2-企业",
  23247. "type": "integer"
  23248. }
  23249. }
  23250. },
  23251. "models.QhjMgrSubArea": {
  23252. "type": "object",
  23253. "properties": {
  23254. "accountname": {
  23255. "description": "账户名称(机构名称)",
  23256. "type": "string"
  23257. },
  23258. "memberuserid": {
  23259. "description": "所属会员ID",
  23260. "type": "integer"
  23261. },
  23262. "parenttopuser": {
  23263. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23264. "type": "string"
  23265. },
  23266. "parentuserid": {
  23267. "description": "所属机构ID",
  23268. "type": "integer"
  23269. },
  23270. "rootuserid": {
  23271. "description": "根用户ID",
  23272. "type": "string"
  23273. },
  23274. "subaccountlevel": {
  23275. "description": "子账户层数",
  23276. "type": "integer"
  23277. },
  23278. "subarealevelpath": {
  23279. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23280. "type": "string"
  23281. },
  23282. "userid": {
  23283. "description": "用户ID",
  23284. "type": "integer"
  23285. },
  23286. "usertype": {
  23287. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23288. "type": "integer"
  23289. }
  23290. }
  23291. },
  23292. "models.QhjMgrTradeDetailRsp": {
  23293. "type": "object",
  23294. "properties": {
  23295. "accountid": {
  23296. "description": "资金账号",
  23297. "type": "integer"
  23298. },
  23299. "accountname": {
  23300. "description": "用户名称",
  23301. "type": "string"
  23302. },
  23303. "agreeunit": {
  23304. "description": "合约乘数",
  23305. "type": "number"
  23306. },
  23307. "buyorsell": {
  23308. "description": "成交类型(方向) 0:买 1:卖",
  23309. "type": "integer"
  23310. },
  23311. "decimalplace": {
  23312. "description": "报价小数位",
  23313. "type": "integer"
  23314. },
  23315. "enumdicname": {
  23316. "description": "单位名称(商品)",
  23317. "type": "string"
  23318. },
  23319. "goodscode": {
  23320. "description": "商品代码(内部)",
  23321. "type": "string"
  23322. },
  23323. "goodsid": {
  23324. "description": "商品id",
  23325. "type": "integer"
  23326. },
  23327. "goodsname": {
  23328. "description": "商品名称",
  23329. "type": "string"
  23330. },
  23331. "goodunitid": {
  23332. "description": "报价单位ID",
  23333. "type": "integer"
  23334. },
  23335. "logincode": {
  23336. "description": "登录代码(账户)",
  23337. "type": "string"
  23338. },
  23339. "marketid": {
  23340. "description": "市场id",
  23341. "type": "integer"
  23342. },
  23343. "orderid": {
  23344. "description": "关联委托单号",
  23345. "type": "string"
  23346. },
  23347. "qtydecimalplace": {
  23348. "description": "成交量小数位",
  23349. "type": "integer"
  23350. },
  23351. "tradeamount": {
  23352. "description": "金额",
  23353. "type": "number"
  23354. },
  23355. "tradedate": {
  23356. "description": "交易日",
  23357. "type": "string"
  23358. },
  23359. "tradeid": {
  23360. "description": "成交单号",
  23361. "type": "string"
  23362. },
  23363. "trademode": {
  23364. "description": "交易模式",
  23365. "type": "integer"
  23366. },
  23367. "tradeprice": {
  23368. "description": "价格",
  23369. "type": "number"
  23370. },
  23371. "tradeqty": {
  23372. "description": "数量",
  23373. "type": "number"
  23374. },
  23375. "tradetime": {
  23376. "description": "成交时间",
  23377. "type": "string"
  23378. },
  23379. "userid": {
  23380. "description": "用户id",
  23381. "type": "integer"
  23382. },
  23383. "userinfotype": {
  23384. "description": "账户类型 1-个人 2-企业",
  23385. "type": "integer"
  23386. }
  23387. }
  23388. },
  23389. "models.QhjMgrTradeOrderDetailRsp": {
  23390. "type": "object",
  23391. "properties": {
  23392. "accountid": {
  23393. "description": "资金账号",
  23394. "type": "integer"
  23395. },
  23396. "accountname": {
  23397. "description": "用户名称",
  23398. "type": "string"
  23399. },
  23400. "agreeunit": {
  23401. "description": "合约乘数",
  23402. "type": "number"
  23403. },
  23404. "amount": {
  23405. "description": "金额",
  23406. "type": "number"
  23407. },
  23408. "decimalplace": {
  23409. "description": "报价小数位",
  23410. "type": "integer"
  23411. },
  23412. "enumdicname": {
  23413. "description": "单位名称(商品)",
  23414. "type": "string"
  23415. },
  23416. "goodscode": {
  23417. "description": "商品代码(内部)",
  23418. "type": "string"
  23419. },
  23420. "goodsid": {
  23421. "description": "商品id",
  23422. "type": "integer"
  23423. },
  23424. "goodsname": {
  23425. "description": "商品名称",
  23426. "type": "string"
  23427. },
  23428. "goodunitid": {
  23429. "description": "报价单位ID",
  23430. "type": "integer"
  23431. },
  23432. "logincode": {
  23433. "description": "登录代码(账户)",
  23434. "type": "string"
  23435. },
  23436. "marketid": {
  23437. "description": "市场id",
  23438. "type": "integer"
  23439. },
  23440. "orderid": {
  23441. "description": "关联委托单号",
  23442. "type": "string"
  23443. },
  23444. "orderprice": {
  23445. "description": "价格",
  23446. "type": "number"
  23447. },
  23448. "orderqty": {
  23449. "description": "数量",
  23450. "type": "number"
  23451. },
  23452. "ordertime": {
  23453. "description": "委托时间",
  23454. "type": "string"
  23455. },
  23456. "qtydecimalplace": {
  23457. "description": "成交量小数位",
  23458. "type": "integer"
  23459. },
  23460. "tradedate": {
  23461. "description": "交易日",
  23462. "type": "string"
  23463. },
  23464. "trademode": {
  23465. "description": "交易模式",
  23466. "type": "integer"
  23467. },
  23468. "userid": {
  23469. "description": "用户id",
  23470. "type": "integer"
  23471. },
  23472. "userinfotype": {
  23473. "description": "账户类型 1-个人 2-企业",
  23474. "type": "integer"
  23475. }
  23476. }
  23477. },
  23478. "models.QhjMgrTradePayOrder": {
  23479. "type": "object",
  23480. "properties": {
  23481. "accountname": {
  23482. "description": "用户名称",
  23483. "type": "string"
  23484. },
  23485. "advanceratio": {
  23486. "description": "首付比率",
  23487. "type": "number"
  23488. },
  23489. "agreeunit": {
  23490. "description": "合约乘数",
  23491. "type": "number"
  23492. },
  23493. "buyaccountid": {
  23494. "description": "买方账号ID[报价币种]",
  23495. "type": "integer"
  23496. },
  23497. "buyorderid": {
  23498. "description": "买方委托单号(关联单号)",
  23499. "type": "string"
  23500. },
  23501. "createtime": {
  23502. "description": "创建时间",
  23503. "type": "string"
  23504. },
  23505. "decimalplace": {
  23506. "description": "报价小数位",
  23507. "type": "integer"
  23508. },
  23509. "enumdicname": {
  23510. "description": "单位名称(商品)",
  23511. "type": "string"
  23512. },
  23513. "goodscode": {
  23514. "description": "商品代码(内部)",
  23515. "type": "string"
  23516. },
  23517. "goodsid": {
  23518. "description": "商品ID",
  23519. "type": "integer"
  23520. },
  23521. "goodsname": {
  23522. "description": "商品名称",
  23523. "type": "string"
  23524. },
  23525. "goodunitid": {
  23526. "description": "报价单位ID",
  23527. "type": "integer"
  23528. },
  23529. "logincode": {
  23530. "description": "登录代码(账户)",
  23531. "type": "string"
  23532. },
  23533. "marketid": {
  23534. "description": "市场id",
  23535. "type": "integer"
  23536. },
  23537. "offamount": {
  23538. "description": "优惠金额",
  23539. "type": "number"
  23540. },
  23541. "operatetype": {
  23542. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  23543. "type": "integer"
  23544. },
  23545. "payamount": {
  23546. "description": "支付金额(金额)",
  23547. "type": "number"
  23548. },
  23549. "payflag": {
  23550. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23551. "type": "integer"
  23552. },
  23553. "paylimitedtime": {
  23554. "description": "支付期限",
  23555. "type": "string"
  23556. },
  23557. "paytime": {
  23558. "description": "付款时间",
  23559. "type": "string"
  23560. },
  23561. "qtydecimalplace": {
  23562. "description": "成交量小数位",
  23563. "type": "integer"
  23564. },
  23565. "sellaccountid": {
  23566. "description": "卖方账号ID[报价币种]",
  23567. "type": "integer"
  23568. },
  23569. "sellorderid": {
  23570. "description": "卖方委托单号",
  23571. "type": "string"
  23572. },
  23573. "tradeamount": {
  23574. "description": "成交金额(优惠后金额)",
  23575. "type": "number"
  23576. },
  23577. "tradecharge": {
  23578. "description": "成交手续费(买方)",
  23579. "type": "number"
  23580. },
  23581. "tradedate": {
  23582. "description": "交易日(yyyyMMdd)",
  23583. "type": "string"
  23584. },
  23585. "tradeid": {
  23586. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23587. "type": "string"
  23588. },
  23589. "trademode": {
  23590. "description": "交易模式",
  23591. "type": "integer"
  23592. },
  23593. "tradeprice": {
  23594. "description": "成交价格(价格)",
  23595. "type": "number"
  23596. },
  23597. "tradeqty": {
  23598. "description": "成交数量(数量)",
  23599. "type": "number"
  23600. },
  23601. "tradetime": {
  23602. "description": "成交时间",
  23603. "type": "string"
  23604. },
  23605. "userid": {
  23606. "description": "用户id",
  23607. "type": "integer"
  23608. },
  23609. "userinfotype": {
  23610. "description": "账户类型 1-个人 2-企业",
  23611. "type": "integer"
  23612. }
  23613. }
  23614. },
  23615. "models.QhjParentAreaList": {
  23616. "type": "object",
  23617. "properties": {
  23618. "accountname": {
  23619. "description": "账户名称(机构名称)",
  23620. "type": "string"
  23621. },
  23622. "userid": {
  23623. "description": "用户ID",
  23624. "type": "integer"
  23625. },
  23626. "usertype": {
  23627. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23628. "type": "integer"
  23629. }
  23630. }
  23631. },
  23632. "models.QhjPayOrder": {
  23633. "type": "object",
  23634. "properties": {
  23635. "advanceratio": {
  23636. "description": "首付比率",
  23637. "type": "number"
  23638. },
  23639. "buyaccountid": {
  23640. "description": "买方账号ID[报价币种]",
  23641. "type": "integer"
  23642. },
  23643. "buyorderid": {
  23644. "description": "买方委托单号",
  23645. "type": "string"
  23646. },
  23647. "createtime": {
  23648. "description": "创建时间",
  23649. "type": "string"
  23650. },
  23651. "decimalplace": {
  23652. "description": "商品报价小数位",
  23653. "type": "integer"
  23654. },
  23655. "enumdicname": {
  23656. "description": "单位名称",
  23657. "type": "string"
  23658. },
  23659. "goodscode": {
  23660. "description": "商品代码",
  23661. "type": "string"
  23662. },
  23663. "goodsid": {
  23664. "description": "商品ID",
  23665. "type": "integer"
  23666. },
  23667. "goodsname": {
  23668. "description": "商品名称",
  23669. "type": "string"
  23670. },
  23671. "goodunitid": {
  23672. "description": "商品单位id",
  23673. "type": "integer"
  23674. },
  23675. "marketid": {
  23676. "description": "市场ID",
  23677. "type": "integer"
  23678. },
  23679. "offamount": {
  23680. "description": "优惠金额",
  23681. "type": "number"
  23682. },
  23683. "operatetype": {
  23684. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  23685. "type": "integer"
  23686. },
  23687. "payamount": {
  23688. "description": "支付金额",
  23689. "type": "number"
  23690. },
  23691. "payflag": {
  23692. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23693. "type": "integer"
  23694. },
  23695. "paylimitedtime": {
  23696. "description": "支付期限",
  23697. "type": "string"
  23698. },
  23699. "paytime": {
  23700. "description": "付款时间",
  23701. "type": "string"
  23702. },
  23703. "qtydecimalplace": {
  23704. "description": "成交量小数位",
  23705. "type": "integer"
  23706. },
  23707. "sellaccountid": {
  23708. "description": "卖方账号ID[报价币种]",
  23709. "type": "integer"
  23710. },
  23711. "sellorderid": {
  23712. "description": "卖方委托单号",
  23713. "type": "string"
  23714. },
  23715. "tradeamount": {
  23716. "description": "成交金额(优惠后金额)",
  23717. "type": "number"
  23718. },
  23719. "tradecharge": {
  23720. "description": "成交手续费(买方)",
  23721. "type": "number"
  23722. },
  23723. "tradedate": {
  23724. "description": "交易日(yyyyMMdd)",
  23725. "type": "string"
  23726. },
  23727. "tradeid": {
  23728. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23729. "type": "string"
  23730. },
  23731. "tradeprice": {
  23732. "description": "成交价格",
  23733. "type": "number"
  23734. },
  23735. "tradeqty": {
  23736. "description": "成交数量",
  23737. "type": "number"
  23738. }
  23739. }
  23740. },
  23741. "models.QhjPickArea": {
  23742. "type": "object",
  23743. "properties": {
  23744. "address": {
  23745. "description": "详细地址",
  23746. "type": "string"
  23747. },
  23748. "cityid": {
  23749. "description": "市",
  23750. "type": "integer"
  23751. },
  23752. "cityname": {
  23753. "description": "城市名称",
  23754. "type": "string"
  23755. },
  23756. "countryid": {
  23757. "description": "国家",
  23758. "type": "integer"
  23759. },
  23760. "countryname": {
  23761. "description": "国家名称",
  23762. "type": "string"
  23763. },
  23764. "districtid": {
  23765. "description": "地区",
  23766. "type": "integer"
  23767. },
  23768. "districtname": {
  23769. "description": "地区名称",
  23770. "type": "string"
  23771. },
  23772. "fromuserid": {
  23773. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  23774. "type": "integer"
  23775. },
  23776. "fromusername": {
  23777. "description": "所属机构名称",
  23778. "type": "string"
  23779. },
  23780. "provinceid": {
  23781. "description": "省",
  23782. "type": "integer"
  23783. },
  23784. "provincename": {
  23785. "description": "省名称",
  23786. "type": "string"
  23787. },
  23788. "suborgtype": {
  23789. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  23790. "type": "integer"
  23791. },
  23792. "userid": {
  23793. "description": "机构用户ID 其他做市关系,都设置为 1",
  23794. "type": "integer"
  23795. },
  23796. "username": {
  23797. "description": "机构用户名称(门店门称)",
  23798. "type": "string"
  23799. }
  23800. }
  23801. },
  23802. "models.QhjPickGoods": {
  23803. "type": "object",
  23804. "properties": {
  23805. "enumdicname": {
  23806. "description": "单位名称(提货商品)",
  23807. "type": "string"
  23808. },
  23809. "goodsid": {
  23810. "description": "商品id",
  23811. "type": "integer"
  23812. },
  23813. "imageaddress": {
  23814. "description": "图片",
  23815. "type": "string"
  23816. },
  23817. "modifierid": {
  23818. "description": "修改人",
  23819. "type": "integer"
  23820. },
  23821. "modifiername": {
  23822. "description": "修改人名称",
  23823. "type": "string"
  23824. },
  23825. "modifysrc": {
  23826. "description": "修改来源 - 1:管理端 2:终端",
  23827. "type": "integer"
  23828. },
  23829. "pickupgoodsagreeunit": {
  23830. "description": "合约乘数",
  23831. "type": "number"
  23832. },
  23833. "pickupgoodsdesc": {
  23834. "description": "描述",
  23835. "type": "string"
  23836. },
  23837. "pickupgoodsid": {
  23838. "description": "提货商品ID",
  23839. "type": "string"
  23840. },
  23841. "pickupgoodsname": {
  23842. "description": "提货商品名称",
  23843. "type": "string"
  23844. },
  23845. "pickupgoodsstatus": {
  23846. "description": "状态 - 1:正常 2:停用 3:注销",
  23847. "type": "integer"
  23848. },
  23849. "pickupgoodsunitid": {
  23850. "description": "单位ID",
  23851. "type": "integer"
  23852. },
  23853. "pickupratio": {
  23854. "description": "提货系数",
  23855. "type": "number"
  23856. },
  23857. "preparedays": {
  23858. "description": "备货期(天)",
  23859. "type": "integer"
  23860. },
  23861. "remark": {
  23862. "description": "备注",
  23863. "type": "string"
  23864. },
  23865. "updatetime": {
  23866. "description": "更新时间",
  23867. "type": "string"
  23868. }
  23869. }
  23870. },
  23871. "models.QhjRSTriggerLog": {
  23872. "type": "object",
  23873. "properties": {
  23874. "accountid": {
  23875. "description": "用户资金账户",
  23876. "type": "integer"
  23877. },
  23878. "accountname": {
  23879. "description": "账号名称(ACCOUNTID对应的名称)",
  23880. "type": "string"
  23881. },
  23882. "currencyid": {
  23883. "description": "币种id",
  23884. "type": "integer"
  23885. },
  23886. "currencyname": {
  23887. "description": "币种名称",
  23888. "type": "string"
  23889. },
  23890. "decimalplace": {
  23891. "description": "商品报价小数位",
  23892. "type": "integer"
  23893. },
  23894. "enumdicname": {
  23895. "description": "单位名称",
  23896. "type": "string"
  23897. },
  23898. "goodscode": {
  23899. "description": "定投商品代码",
  23900. "type": "string"
  23901. },
  23902. "goodsid": {
  23903. "description": "定投商品ID",
  23904. "type": "string"
  23905. },
  23906. "goodsname": {
  23907. "description": "定投商品名称",
  23908. "type": "string"
  23909. },
  23910. "goodunitid": {
  23911. "description": "定投商品单位id",
  23912. "type": "integer"
  23913. },
  23914. "logid": {
  23915. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  23916. "type": "string"
  23917. },
  23918. "qtydecimalplace": {
  23919. "description": "成交量小数位",
  23920. "type": "integer"
  23921. },
  23922. "regularlycycle": {
  23923. "description": "定投频率 - 1:每周 2:每月",
  23924. "type": "integer"
  23925. },
  23926. "regularlycyclevalue": {
  23927. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  23928. "type": "string"
  23929. },
  23930. "regularlymode": {
  23931. "description": "定投方式 - 1:按数量 2:按金额",
  23932. "type": "integer"
  23933. },
  23934. "regularlymodevalue": {
  23935. "description": "定投方式值 - 数量或金额",
  23936. "type": "number"
  23937. },
  23938. "regularlystrategyid": {
  23939. "description": "定投策略ID",
  23940. "type": "integer"
  23941. },
  23942. "retcode": {
  23943. "description": "错误码",
  23944. "type": "string"
  23945. },
  23946. "tradeid": {
  23947. "description": "成交单ID",
  23948. "type": "string"
  23949. },
  23950. "triggeramount": {
  23951. "description": "触发金额",
  23952. "type": "number"
  23953. },
  23954. "triggerqty": {
  23955. "description": "触发数量",
  23956. "type": "number"
  23957. },
  23958. "triggerstatus": {
  23959. "description": "触发状态 - 1:成功 2:失败",
  23960. "type": "integer"
  23961. },
  23962. "triggertime": {
  23963. "description": "触发时间",
  23964. "type": "string"
  23965. },
  23966. "triggertradedate": {
  23967. "description": "触发交易日",
  23968. "type": "string"
  23969. },
  23970. "userid": {
  23971. "description": "所属用户ID",
  23972. "type": "integer"
  23973. },
  23974. "username": {
  23975. "description": "用户名称(userid对应的名称)",
  23976. "type": "string"
  23977. }
  23978. }
  23979. },
  23980. "models.QhjRStrategy": {
  23981. "type": "object",
  23982. "properties": {
  23983. "accountid": {
  23984. "description": "用户资金账户",
  23985. "type": "integer"
  23986. },
  23987. "accountname": {
  23988. "description": "账号名称(ACCOUNTID对应的名称)",
  23989. "type": "string"
  23990. },
  23991. "currencyid": {
  23992. "description": "币种id",
  23993. "type": "integer"
  23994. },
  23995. "currencyname": {
  23996. "description": "币种名称",
  23997. "type": "string"
  23998. },
  23999. "decimalplace": {
  24000. "description": "商品报价小数位",
  24001. "type": "integer"
  24002. },
  24003. "enumdicname": {
  24004. "description": "单位名称",
  24005. "type": "string"
  24006. },
  24007. "goodscode": {
  24008. "description": "定投商品代码",
  24009. "type": "string"
  24010. },
  24011. "goodsid": {
  24012. "description": "定投商品ID",
  24013. "type": "string"
  24014. },
  24015. "goodsname": {
  24016. "description": "定投商品名称",
  24017. "type": "string"
  24018. },
  24019. "goodunitid": {
  24020. "description": "定投商品单位id",
  24021. "type": "integer"
  24022. },
  24023. "lasteffecttradedate": {
  24024. "description": "最新生效交易日",
  24025. "type": "string"
  24026. },
  24027. "laststoptradedate": {
  24028. "description": "最新暂停交易日",
  24029. "type": "string"
  24030. },
  24031. "lasttriggertradedate": {
  24032. "description": "最新触发交易日",
  24033. "type": "string"
  24034. },
  24035. "logincode": {
  24036. "description": "账号(登录代码)",
  24037. "type": "string"
  24038. },
  24039. "nexttriggeramount": {
  24040. "description": "下次触发金额",
  24041. "type": "number"
  24042. },
  24043. "nexttriggerdate": {
  24044. "description": "下次触发日期",
  24045. "type": "string"
  24046. },
  24047. "nexttriggerqty": {
  24048. "description": "下次触发数量 [按小数位放大值]",
  24049. "type": "number"
  24050. },
  24051. "qtydecimalplace": {
  24052. "description": "成交量小数位",
  24053. "type": "integer"
  24054. },
  24055. "regularlycycle": {
  24056. "description": "定投频率 - 1:每周 2:每月",
  24057. "type": "integer"
  24058. },
  24059. "regularlycyclevalue": {
  24060. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  24061. "type": "string"
  24062. },
  24063. "regularlymode": {
  24064. "description": "定投方式 - 1:按数量 2:按金额",
  24065. "type": "integer"
  24066. },
  24067. "regularlymodevalue": {
  24068. "description": "定投方式值 - 数量或金额",
  24069. "type": "number"
  24070. },
  24071. "regularlystrategyid": {
  24072. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  24073. "type": "integer"
  24074. },
  24075. "regularlystrategystatus": {
  24076. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  24077. "type": "integer"
  24078. },
  24079. "remark": {
  24080. "description": "备注",
  24081. "type": "string"
  24082. },
  24083. "triggersuccesstimes": {
  24084. "description": "累计定投成功次数",
  24085. "type": "string"
  24086. },
  24087. "triggertotalamount": {
  24088. "description": "累计定投金额(成功)",
  24089. "type": "number"
  24090. },
  24091. "triggertotalqty": {
  24092. "description": "累计定投数量(成功) [按小数位放大值]",
  24093. "type": "number"
  24094. },
  24095. "triggertotaltimes": {
  24096. "description": "累计定投总次数",
  24097. "type": "string"
  24098. },
  24099. "updatesrc": {
  24100. "description": "更新来源 - 1:管理端 2:终端",
  24101. "type": "integer"
  24102. },
  24103. "updatetime": {
  24104. "description": "更新时间",
  24105. "type": "string"
  24106. },
  24107. "updatorid": {
  24108. "description": "更新人",
  24109. "type": "string"
  24110. },
  24111. "userid": {
  24112. "description": "所属用户ID",
  24113. "type": "integer"
  24114. },
  24115. "userinfotype": {
  24116. "description": "用户类型 1-个人 2-企业",
  24117. "type": "integer"
  24118. },
  24119. "username": {
  24120. "description": "用户名称(userid对应的名称)",
  24121. "type": "string"
  24122. }
  24123. }
  24124. },
  24125. "models.QhjReckonPriceLog": {
  24126. "type": "object",
  24127. "properties": {
  24128. "decimalplace": {
  24129. "description": "商品报价小数位",
  24130. "type": "integer"
  24131. },
  24132. "goodscode": {
  24133. "description": "商品代码",
  24134. "type": "string"
  24135. },
  24136. "goodsid": {
  24137. "description": "商品ID",
  24138. "type": "integer"
  24139. },
  24140. "goodsname": {
  24141. "description": "商品名称",
  24142. "type": "string"
  24143. },
  24144. "lastreckonprice": {
  24145. "description": "上日结算价",
  24146. "type": "number"
  24147. },
  24148. "nextdnlimitprice": {
  24149. "description": "下个交易日跌停价",
  24150. "type": "number"
  24151. },
  24152. "nexttrade": {
  24153. "description": "下个交易日",
  24154. "type": "string"
  24155. },
  24156. "nextuplimitprice": {
  24157. "description": "下个交易日涨停价",
  24158. "type": "number"
  24159. },
  24160. "reckonprice": {
  24161. "description": "今日结算价(定投价)",
  24162. "type": "number"
  24163. },
  24164. "reckontime": {
  24165. "description": "结算时间",
  24166. "type": "string"
  24167. },
  24168. "totalholderqty": {
  24169. "description": "总持仓数",
  24170. "type": "integer"
  24171. },
  24172. "totalstock": {
  24173. "description": "总库存",
  24174. "type": "integer"
  24175. },
  24176. "tradedate": {
  24177. "description": "交易日",
  24178. "type": "string"
  24179. },
  24180. "updowncount": {
  24181. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  24182. "type": "integer"
  24183. },
  24184. "updownflag": {
  24185. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  24186. "type": "integer"
  24187. },
  24188. "updownrate": {
  24189. "description": "今日涨跌幅",
  24190. "type": "number"
  24191. },
  24192. "updownrate_2d": {
  24193. "description": "连续两日涨跌幅",
  24194. "type": "number"
  24195. },
  24196. "updownrate_3d": {
  24197. "description": "连续三日涨跌幅",
  24198. "type": "number"
  24199. }
  24200. }
  24201. },
  24202. "models.QhjSiteColumnDetail": {
  24203. "type": "object",
  24204. "properties": {
  24205. "author": {
  24206. "description": "作者",
  24207. "type": "string"
  24208. },
  24209. "brief": {
  24210. "description": "简介",
  24211. "type": "string"
  24212. },
  24213. "columnid": {
  24214. "description": "所属栏目",
  24215. "type": "integer"
  24216. },
  24217. "context": {
  24218. "description": "内容",
  24219. "type": "string"
  24220. },
  24221. "coverimage": {
  24222. "description": "封面图片",
  24223. "type": "string"
  24224. },
  24225. "creaedate": {
  24226. "description": "创建时间",
  24227. "type": "string"
  24228. },
  24229. "creatorid": {
  24230. "description": "创建人",
  24231. "type": "integer"
  24232. },
  24233. "hits": {
  24234. "description": "点击数",
  24235. "type": "integer"
  24236. },
  24237. "id": {
  24238. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  24239. "type": "integer"
  24240. },
  24241. "isshow": {
  24242. "description": "是否展示 - 0:不展示 1:展示",
  24243. "type": "integer"
  24244. },
  24245. "istop": {
  24246. "description": "是否置顶 - 0:不置 1:置顶",
  24247. "type": "integer"
  24248. },
  24249. "modifierid": {
  24250. "description": "操作人",
  24251. "type": "integer"
  24252. },
  24253. "publishdate": {
  24254. "description": "发布日期",
  24255. "type": "string"
  24256. },
  24257. "status": {
  24258. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  24259. "type": "integer"
  24260. },
  24261. "title": {
  24262. "description": "标题",
  24263. "type": "string"
  24264. },
  24265. "updatedate": {
  24266. "description": "修改时间",
  24267. "type": "string"
  24268. },
  24269. "userid": {
  24270. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  24271. "type": "integer"
  24272. },
  24273. "username": {
  24274. "description": "用户名称",
  24275. "type": "string"
  24276. }
  24277. }
  24278. },
  24279. "models.QhjTradeGoodsPickup": {
  24280. "type": "object",
  24281. "properties": {
  24282. "accountid": {
  24283. "description": "账户ID",
  24284. "type": "integer"
  24285. },
  24286. "address": {
  24287. "description": "提货人详细地址",
  24288. "type": "string"
  24289. },
  24290. "amount": {
  24291. "description": "提货金额",
  24292. "type": "number"
  24293. },
  24294. "artradedate": {
  24295. "description": "自动收货交易日(yyyyMMdd)",
  24296. "type": "string"
  24297. },
  24298. "auditer": {
  24299. "description": "审核人",
  24300. "type": "integer"
  24301. },
  24302. "auditsrc": {
  24303. "description": "更新来源 - 1:管理端 2:终端",
  24304. "type": "integer"
  24305. },
  24306. "audittime": {
  24307. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  24308. "type": "string"
  24309. },
  24310. "audittradedate": {
  24311. "description": "审核交易日(yyyyMMdd)",
  24312. "type": "string"
  24313. },
  24314. "cardnum": {
  24315. "description": "提货人证件号码",
  24316. "type": "string"
  24317. },
  24318. "cardtypeid": {
  24319. "description": "提货人证件类型",
  24320. "type": "integer"
  24321. },
  24322. "checkremark": {
  24323. "description": "审核备注",
  24324. "type": "string"
  24325. },
  24326. "cityid": {
  24327. "description": "市",
  24328. "type": "integer"
  24329. },
  24330. "cityname": {
  24331. "description": "城市名称",
  24332. "type": "string"
  24333. },
  24334. "confirmtime": {
  24335. "description": "取货时间 或 收货时间",
  24336. "type": "string"
  24337. },
  24338. "countryid": {
  24339. "description": "国家",
  24340. "type": "integer"
  24341. },
  24342. "countryname": {
  24343. "description": "国家名称",
  24344. "type": "string"
  24345. },
  24346. "decimalplace": {
  24347. "description": "商品报价小数位",
  24348. "type": "integer"
  24349. },
  24350. "districtid": {
  24351. "description": "地区",
  24352. "type": "integer"
  24353. },
  24354. "districtname": {
  24355. "description": "地区名称",
  24356. "type": "string"
  24357. },
  24358. "enumdicname": {
  24359. "description": "单位名称(提货商品)",
  24360. "type": "string"
  24361. },
  24362. "expresscompany": {
  24363. "description": "物流公司",
  24364. "type": "string"
  24365. },
  24366. "expressnum": {
  24367. "description": "物流单号",
  24368. "type": "string"
  24369. },
  24370. "goodsagreeunit": {
  24371. "description": "交易商品乘数",
  24372. "type": "number"
  24373. },
  24374. "goodscode": {
  24375. "description": "商品代码",
  24376. "type": "string"
  24377. },
  24378. "goodsid": {
  24379. "description": "商品ID",
  24380. "type": "integer"
  24381. },
  24382. "goodsname": {
  24383. "description": "商品名称",
  24384. "type": "string"
  24385. },
  24386. "goodsqty": {
  24387. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  24388. "type": "number"
  24389. },
  24390. "handlestatus": {
  24391. "description": "处理状态",
  24392. "type": "integer"
  24393. },
  24394. "logincode": {
  24395. "description": "账号(登录代码, 有可能为空)",
  24396. "type": "string"
  24397. },
  24398. "marketid": {
  24399. "description": "市场ID",
  24400. "type": "integer"
  24401. },
  24402. "phonenum": {
  24403. "description": "提货人联系方式",
  24404. "type": "string"
  24405. },
  24406. "pickupgoodsagreeunit": {
  24407. "description": "提货商品合约乘数",
  24408. "type": "number"
  24409. },
  24410. "pickupgoodsid": {
  24411. "description": "提货商品ID",
  24412. "type": "string"
  24413. },
  24414. "pickupgoodsname": {
  24415. "description": "提货商品名称",
  24416. "type": "string"
  24417. },
  24418. "pickupgoodsqty": {
  24419. "description": "提货商品手数(数量)",
  24420. "type": "number"
  24421. },
  24422. "pickupgoodsunitid": {
  24423. "description": "单位ID(提货商品)",
  24424. "type": "integer"
  24425. },
  24426. "pickupratio": {
  24427. "description": "提货系数",
  24428. "type": "number"
  24429. },
  24430. "preparedays": {
  24431. "description": "备货期(天)-提货单明细表",
  24432. "type": "integer"
  24433. },
  24434. "provinceid": {
  24435. "description": "省",
  24436. "type": "integer"
  24437. },
  24438. "provincename": {
  24439. "description": "省名称",
  24440. "type": "string"
  24441. },
  24442. "qty": {
  24443. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  24444. "type": "number"
  24445. },
  24446. "qtydecimalplace": {
  24447. "description": "商品数量小数位",
  24448. "type": "integer"
  24449. },
  24450. "recivername": {
  24451. "description": "提货人姓名",
  24452. "type": "string"
  24453. },
  24454. "reqtime": {
  24455. "description": "提货申请时间",
  24456. "type": "string"
  24457. },
  24458. "storeuserid": {
  24459. "description": "门店用户ID (千海金)",
  24460. "type": "integer"
  24461. },
  24462. "storeusername": {
  24463. "description": "门店用户名称",
  24464. "type": "string"
  24465. },
  24466. "takemode": {
  24467. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  24468. "type": "integer"
  24469. },
  24470. "takeorderid": {
  24471. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24472. "type": "string"
  24473. },
  24474. "takeorderstatus": {
  24475. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  24476. "type": "integer"
  24477. },
  24478. "takeremark": {
  24479. "description": "提货备注",
  24480. "type": "string"
  24481. },
  24482. "tradedate": {
  24483. "description": "交易日(yyyyMMdd)",
  24484. "type": "string"
  24485. },
  24486. "updatetime": {
  24487. "description": "更新时间",
  24488. "type": "string"
  24489. },
  24490. "userid": {
  24491. "description": "用户ID",
  24492. "type": "integer"
  24493. },
  24494. "userinfotype": {
  24495. "description": "客户类型 1-个人 2-企业",
  24496. "type": "integer"
  24497. },
  24498. "username": {
  24499. "description": "用户名称",
  24500. "type": "string"
  24501. }
  24502. }
  24503. },
  24504. "models.Qhjgoodsex": {
  24505. "type": "object",
  24506. "properties": {
  24507. "canfinance": {
  24508. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  24509. "type": "integer"
  24510. },
  24511. "canregularlybuy": {
  24512. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  24513. "type": "integer"
  24514. },
  24515. "defaulttradeuserid": {
  24516. "description": "默认交易用户ID",
  24517. "type": "integer"
  24518. },
  24519. "deliverygoodsid": {
  24520. "description": "现货品种ID",
  24521. "type": "integer"
  24522. },
  24523. "goodsid": {
  24524. "description": "商品ID(自增ID SEQ_GOODS)",
  24525. "type": "integer"
  24526. },
  24527. "minamount": {
  24528. "description": "最小购买金额",
  24529. "type": "number"
  24530. },
  24531. "regularlybuyminamount": {
  24532. "description": "定投最小金额",
  24533. "type": "number"
  24534. },
  24535. "regularlybuyminqty": {
  24536. "description": "定投最小数量",
  24537. "type": "number"
  24538. },
  24539. "spotgoodsbrandid": {
  24540. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  24541. "type": "integer"
  24542. },
  24543. "wrstandardid": {
  24544. "description": "现货商品ID",
  24545. "type": "integer"
  24546. }
  24547. }
  24548. },
  24549. "models.QueryErrorInfosRsp": {
  24550. "type": "object",
  24551. "required": [
  24552. "errorid"
  24553. ],
  24554. "properties": {
  24555. "description": {
  24556. "description": "异常描述",
  24557. "type": "string"
  24558. },
  24559. "errorcode": {
  24560. "description": "异常代码",
  24561. "type": "string"
  24562. },
  24563. "errorid": {
  24564. "description": "异常ID",
  24565. "type": "integer"
  24566. },
  24567. "modulecode": {
  24568. "description": "所属模块",
  24569. "type": "string"
  24570. },
  24571. "operatecode": {
  24572. "description": "所属操作",
  24573. "type": "string"
  24574. },
  24575. "rownumber": {
  24576. "description": "行号",
  24577. "type": "string"
  24578. }
  24579. }
  24580. },
  24581. "models.QueryHedgeOrderDetailRsp": {
  24582. "type": "object",
  24583. "properties": {
  24584. "accountid": {
  24585. "description": "账户ID",
  24586. "type": "integer"
  24587. },
  24588. "buyorsell": {
  24589. "description": "买卖 - 0:买 1:卖",
  24590. "type": "integer"
  24591. },
  24592. "cancellogincode": {
  24593. "description": "撤单人",
  24594. "type": "string"
  24595. },
  24596. "channelbuildtype": {
  24597. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  24598. "type": "integer"
  24599. },
  24600. "channelinnerorderstatus": {
  24601. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  24602. "type": "integer"
  24603. },
  24604. "channeloperatetype": {
  24605. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  24606. "type": "integer"
  24607. },
  24608. "closetype": {
  24609. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24610. "type": "integer"
  24611. },
  24612. "curexchangerate": {
  24613. "description": "当前汇率",
  24614. "type": "number"
  24615. },
  24616. "exchangefullname": {
  24617. "description": "外部交易所全称",
  24618. "type": "string"
  24619. },
  24620. "goodscode": {
  24621. "description": "商品代码(内部)",
  24622. "type": "string"
  24623. },
  24624. "goodsid": {
  24625. "description": "商品ID",
  24626. "type": "integer"
  24627. },
  24628. "goodsname": {
  24629. "description": "商品名称",
  24630. "type": "string"
  24631. },
  24632. "marketid": {
  24633. "description": "市场ID",
  24634. "type": "integer"
  24635. },
  24636. "openfreezemargin": {
  24637. "description": "冻结保证金(冻结交易金额)",
  24638. "type": "number"
  24639. },
  24640. "orderid": {
  24641. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24642. "type": "string"
  24643. },
  24644. "orderlogincode": {
  24645. "description": "委托人",
  24646. "type": "string"
  24647. },
  24648. "orderprice": {
  24649. "description": "委托价格(账户)",
  24650. "type": "number"
  24651. },
  24652. "orderqty": {
  24653. "description": "委托数量",
  24654. "type": "integer"
  24655. },
  24656. "ordertime": {
  24657. "description": "委托时间",
  24658. "type": "string"
  24659. },
  24660. "pricemode": {
  24661. "description": "取价方式 - 1:市价 2: 限价",
  24662. "type": "integer"
  24663. },
  24664. "tradedate": {
  24665. "description": "交易日(yyyyMMdd)",
  24666. "type": "string"
  24667. },
  24668. "tradeqty": {
  24669. "description": "成交数量",
  24670. "type": "integer"
  24671. }
  24672. }
  24673. },
  24674. "models.QueryHedgeTradeDetailRsp": {
  24675. "type": "object",
  24676. "properties": {
  24677. "accountid": {
  24678. "description": "账号ID",
  24679. "type": "integer"
  24680. },
  24681. "buyorsell": {
  24682. "description": "方向 - 0:买 1:卖",
  24683. "type": "integer"
  24684. },
  24685. "channelbuildtype": {
  24686. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24687. "type": "integer"
  24688. },
  24689. "closecharge": {
  24690. "description": "平仓手续费(账户)",
  24691. "type": "number"
  24692. },
  24693. "closecharge2": {
  24694. "description": "平仓手续费(商品)",
  24695. "type": "number"
  24696. },
  24697. "closepl": {
  24698. "description": "平仓盈亏(账户)",
  24699. "type": "number"
  24700. },
  24701. "closepl2": {
  24702. "description": "平仓盈亏(商品)",
  24703. "type": "number"
  24704. },
  24705. "closepl3": {
  24706. "description": "平仓盈亏(账户)(逐笔)",
  24707. "type": "number"
  24708. },
  24709. "closepl4": {
  24710. "description": "平仓盈亏(商品)(逐笔)",
  24711. "type": "number"
  24712. },
  24713. "closetype": {
  24714. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24715. "type": "integer"
  24716. },
  24717. "curexchangerate": {
  24718. "description": "当前汇率",
  24719. "type": "number"
  24720. },
  24721. "exchangefullname": {
  24722. "description": "外部交易所全称",
  24723. "type": "string"
  24724. },
  24725. "goodscode": {
  24726. "description": "商品代码(内部)",
  24727. "type": "string"
  24728. },
  24729. "goodsid": {
  24730. "description": "商品ID",
  24731. "type": "integer"
  24732. },
  24733. "goodsname": {
  24734. "description": "商品名称",
  24735. "type": "string"
  24736. },
  24737. "marketid": {
  24738. "description": "市场ID",
  24739. "type": "integer"
  24740. },
  24741. "opencharge": {
  24742. "description": "建仓手续费(账户)",
  24743. "type": "number"
  24744. },
  24745. "opencharge2": {
  24746. "description": "建仓手续费(商品)",
  24747. "type": "number"
  24748. },
  24749. "orderid": {
  24750. "description": "委托单号",
  24751. "type": "string"
  24752. },
  24753. "orderlogincode": {
  24754. "description": "委托人",
  24755. "type": "string"
  24756. },
  24757. "tradeamount": {
  24758. "description": "成交金额(账户)",
  24759. "type": "number"
  24760. },
  24761. "tradedate": {
  24762. "description": "交易日(yyyyMMdd)",
  24763. "type": "string"
  24764. },
  24765. "tradeid": {
  24766. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24767. "type": "string"
  24768. },
  24769. "tradeprice": {
  24770. "description": "成交价格",
  24771. "type": "number"
  24772. },
  24773. "tradeqty": {
  24774. "description": "成交数量",
  24775. "type": "integer"
  24776. },
  24777. "tradetime": {
  24778. "description": "成交时间",
  24779. "type": "string"
  24780. },
  24781. "tradetype": {
  24782. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24783. "type": "integer"
  24784. }
  24785. }
  24786. },
  24787. "models.QuotePrimaryMenu": {
  24788. "type": "object",
  24789. "properties": {
  24790. "Index": {
  24791. "description": "序号",
  24792. "type": "integer"
  24793. },
  24794. "Key": {
  24795. "description": "键名",
  24796. "type": "string"
  24797. },
  24798. "Name": {
  24799. "description": "菜单名称",
  24800. "type": "string"
  24801. },
  24802. "SubMenus": {
  24803. "description": "子菜单",
  24804. "type": "array",
  24805. "items": {
  24806. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  24807. }
  24808. },
  24809. "SubTitleType": {
  24810. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  24811. "type": "integer"
  24812. },
  24813. "TradeModes": {
  24814. "description": "包含市场交易类型",
  24815. "type": "string"
  24816. }
  24817. }
  24818. },
  24819. "models.QuoteSecondaryMenu": {
  24820. "type": "object",
  24821. "properties": {
  24822. "ExExchangeCode": {
  24823. "description": "外部交易所代码",
  24824. "type": "string"
  24825. },
  24826. "ExExchangeID": {
  24827. "description": "外部交易所ID",
  24828. "type": "integer"
  24829. },
  24830. "GoodsGroupIDs": {
  24831. "description": "商品组ID列表",
  24832. "type": "array",
  24833. "items": {
  24834. "type": "integer"
  24835. }
  24836. },
  24837. "Index": {
  24838. "description": "序号",
  24839. "type": "integer"
  24840. },
  24841. "MarketID": {
  24842. "description": "市场ID",
  24843. "type": "integer"
  24844. },
  24845. "MenuTitle": {
  24846. "description": "菜单标题(市场名称或外部交易所名称)",
  24847. "type": "string"
  24848. },
  24849. "TradeMode": {
  24850. "description": "交易模式",
  24851. "type": "integer"
  24852. }
  24853. }
  24854. },
  24855. "models.SearchGoods": {
  24856. "type": "object",
  24857. "required": [
  24858. "goodscode",
  24859. "goodsid",
  24860. "goodsname",
  24861. "marketid",
  24862. "trademode"
  24863. ],
  24864. "properties": {
  24865. "goodscode": {
  24866. "description": "商品代码(内部)",
  24867. "type": "string"
  24868. },
  24869. "goodsid": {
  24870. "description": "商品ID(自增ID SEQ_GOODS)",
  24871. "type": "integer"
  24872. },
  24873. "goodsname": {
  24874. "description": "商品名称",
  24875. "type": "string"
  24876. },
  24877. "marketid": {
  24878. "description": "所属市场ID",
  24879. "type": "integer"
  24880. },
  24881. "marketname": {
  24882. "description": "市场名称",
  24883. "type": "string"
  24884. },
  24885. "trademode": {
  24886. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24887. "type": "integer"
  24888. }
  24889. }
  24890. },
  24891. "models.Systemparam": {
  24892. "type": "object",
  24893. "required": [
  24894. "paramcode"
  24895. ],
  24896. "properties": {
  24897. "loginid": {
  24898. "description": "更新用户账号,登录账号",
  24899. "type": "string"
  24900. },
  24901. "modifyflag": {
  24902. "description": "修改标志0 不允许修改 1 允许修改",
  24903. "type": "integer"
  24904. },
  24905. "paramcode": {
  24906. "description": "参数代码",
  24907. "type": "string"
  24908. },
  24909. "paramname": {
  24910. "description": "参数名",
  24911. "type": "string"
  24912. },
  24913. "paramtype": {
  24914. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  24915. "type": "integer"
  24916. },
  24917. "paramvalue": {
  24918. "description": "参数值",
  24919. "type": "string"
  24920. },
  24921. "paramvalue2": {
  24922. "description": "参数值(CLOB)",
  24923. "type": "string"
  24924. },
  24925. "regexpress": {
  24926. "description": "正则表达式",
  24927. "type": "string"
  24928. },
  24929. "remark": {
  24930. "description": "备注",
  24931. "type": "string"
  24932. },
  24933. "serverip": {
  24934. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  24935. "type": "string"
  24936. },
  24937. "showflag": {
  24938. "description": "是否显示0 不显示 1 显示",
  24939. "type": "integer"
  24940. },
  24941. "updatetime": {
  24942. "description": "更新时间",
  24943. "type": "string"
  24944. },
  24945. "userid": {
  24946. "description": "更新用户ID",
  24947. "type": "integer"
  24948. }
  24949. }
  24950. },
  24951. "models.Szdz3convertconfig": {
  24952. "type": "object",
  24953. "required": [
  24954. "converttype",
  24955. "innergoodsid",
  24956. "outergoodscode"
  24957. ],
  24958. "properties": {
  24959. "canin": {
  24960. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  24961. "type": "integer"
  24962. },
  24963. "canout": {
  24964. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  24965. "type": "integer"
  24966. },
  24967. "converttype": {
  24968. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  24969. "type": "integer"
  24970. },
  24971. "createtime": {
  24972. "description": "创建时间",
  24973. "type": "string"
  24974. },
  24975. "creatorid": {
  24976. "description": "创建人",
  24977. "type": "integer"
  24978. },
  24979. "daymaxvalue": {
  24980. "description": "当日最大转入限制",
  24981. "type": "number"
  24982. },
  24983. "freezedays": {
  24984. "description": "冻结天数 [5:花生米转交易]",
  24985. "type": "integer"
  24986. },
  24987. "innergoodsid": {
  24988. "description": "内部商品ID[交易]",
  24989. "type": "integer"
  24990. },
  24991. "inratio": {
  24992. "description": "目标值",
  24993. "type": "integer"
  24994. },
  24995. "modifierid": {
  24996. "description": "修改人",
  24997. "type": "integer"
  24998. },
  24999. "modifytime": {
  25000. "description": "修改时间",
  25001. "type": "string"
  25002. },
  25003. "outergoodscode": {
  25004. "description": "外部商品代码[JD\\PD]",
  25005. "type": "string"
  25006. },
  25007. "outratio": {
  25008. "description": "源值",
  25009. "type": "integer"
  25010. },
  25011. "pddecimalplace": {
  25012. "description": "PD小数位",
  25013. "type": "integer"
  25014. },
  25015. "timemaxvalue": {
  25016. "description": "单次最大转入限制",
  25017. "type": "number"
  25018. },
  25019. "timeminvalue": {
  25020. "description": "单次最小转入限制",
  25021. "type": "number"
  25022. }
  25023. }
  25024. },
  25025. "models.Szdz3searchwhitelist": {
  25026. "type": "object",
  25027. "required": [
  25028. "userid"
  25029. ],
  25030. "properties": {
  25031. "createtime": {
  25032. "description": "创建时间",
  25033. "type": "string"
  25034. },
  25035. "creatorid": {
  25036. "description": "创建人",
  25037. "type": "integer"
  25038. },
  25039. "modifierid": {
  25040. "description": "修改人",
  25041. "type": "integer"
  25042. },
  25043. "modifytime": {
  25044. "description": "修改时间",
  25045. "type": "string"
  25046. },
  25047. "userid": {
  25048. "description": "用户ID",
  25049. "type": "integer"
  25050. }
  25051. }
  25052. },
  25053. "models.Taaccount": {
  25054. "type": "object",
  25055. "required": [
  25056. "accountid",
  25057. "userid"
  25058. ],
  25059. "properties": {
  25060. "accountflag": {
  25061. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  25062. "type": "integer"
  25063. },
  25064. "accountid": {
  25065. "description": "资金账户ID",
  25066. "type": "integer"
  25067. },
  25068. "accountname": {
  25069. "description": "账户名称",
  25070. "type": "string"
  25071. },
  25072. "balance": {
  25073. "description": "期初余额",
  25074. "type": "number"
  25075. },
  25076. "capitalbalance": {
  25077. "description": "本金余额[外部子账户实际出入金余额]",
  25078. "type": "number"
  25079. },
  25080. "changeflag": {
  25081. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  25082. "type": "integer"
  25083. },
  25084. "changetime": {
  25085. "description": "账户状态变更时间",
  25086. "type": "string"
  25087. },
  25088. "closepl": {
  25089. "description": "今日平仓盈亏",
  25090. "type": "number"
  25091. },
  25092. "creditdecrease": {
  25093. "description": "今日授信减少",
  25094. "type": "number"
  25095. },
  25096. "creditincrease": {
  25097. "description": "今日授信增加",
  25098. "type": "number"
  25099. },
  25100. "currencyid": {
  25101. "description": "货币ID",
  25102. "type": "integer"
  25103. },
  25104. "currentbalance": {
  25105. "description": "期末余额",
  25106. "type": "number"
  25107. },
  25108. "freezecharge": {
  25109. "description": "手续费冻结",
  25110. "type": "number"
  25111. },
  25112. "freezemargin": {
  25113. "description": "冻结保证金",
  25114. "type": "number"
  25115. },
  25116. "fromaccountid": {
  25117. "description": "所属上级账户",
  25118. "type": "integer"
  25119. },
  25120. "inamount": {
  25121. "description": "今日入金金额(包括三方入金)",
  25122. "type": "number"
  25123. },
  25124. "ismain": {
  25125. "description": "是否母账号 0:不是母账户 1:是母账户",
  25126. "type": "integer"
  25127. },
  25128. "ismarketaccount": {
  25129. "description": "是否机构接单账号 0:不是 1:是",
  25130. "type": "integer"
  25131. },
  25132. "isreckonaccount": {
  25133. "description": "是否机构分润账号 0:不是 1:是",
  25134. "type": "integer"
  25135. },
  25136. "mortgagecredit": {
  25137. "description": "授信金额",
  25138. "type": "number"
  25139. },
  25140. "orifreezecharge": {
  25141. "description": "期初手续费冻结",
  25142. "type": "number"
  25143. },
  25144. "orifreezemargin": {
  25145. "description": "期初冻结保证金",
  25146. "type": "number"
  25147. },
  25148. "orimortgagecredit": {
  25149. "description": "期初授信金额",
  25150. "type": "number"
  25151. },
  25152. "oriothercredit": {
  25153. "description": "期初其它授信金额",
  25154. "type": "number"
  25155. },
  25156. "oriotherfreezemargin": {
  25157. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25158. "type": "number"
  25159. },
  25160. "orioutamountfreeze": {
  25161. "description": "期初出金冻结",
  25162. "type": "number"
  25163. },
  25164. "oriusedmargin": {
  25165. "description": "期初占用保证金",
  25166. "type": "number"
  25167. },
  25168. "othercredit": {
  25169. "description": "其它授信金额",
  25170. "type": "number"
  25171. },
  25172. "othercreditdecrease": {
  25173. "description": "今日其它授信减少",
  25174. "type": "number"
  25175. },
  25176. "othercreditincrease": {
  25177. "description": "今日其它授信增加",
  25178. "type": "number"
  25179. },
  25180. "otherfreezemargin": {
  25181. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25182. "type": "number"
  25183. },
  25184. "otherincome": {
  25185. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  25186. "type": "number"
  25187. },
  25188. "otherpay": {
  25189. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  25190. "type": "number"
  25191. },
  25192. "outamount": {
  25193. "description": "今日出金金额(包括三方出金)",
  25194. "type": "number"
  25195. },
  25196. "outamountfreeze": {
  25197. "description": "出金冻结",
  25198. "type": "number"
  25199. },
  25200. "outthreshold": {
  25201. "description": "出金阈值",
  25202. "type": "number"
  25203. },
  25204. "parentaccountid": {
  25205. "description": "所属根账号",
  25206. "type": "integer"
  25207. },
  25208. "paycharge": {
  25209. "description": "今日手续费支出",
  25210. "type": "number"
  25211. },
  25212. "relatedaccountstatus": {
  25213. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  25214. "type": "integer"
  25215. },
  25216. "relateduserid": {
  25217. "description": "关联用户",
  25218. "type": "integer"
  25219. },
  25220. "serivcegroup": {
  25221. "description": "服务分组",
  25222. "type": "integer"
  25223. },
  25224. "signstatus": {
  25225. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25226. "type": "integer"
  25227. },
  25228. "sublevelpath": {
  25229. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25230. "type": "string"
  25231. },
  25232. "taaccounttype": {
  25233. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25234. "type": "integer"
  25235. },
  25236. "thirdinamount": {
  25237. "description": "今日三方入金",
  25238. "type": "number"
  25239. },
  25240. "thirdoutamount": {
  25241. "description": "今日三方出金",
  25242. "type": "number"
  25243. },
  25244. "tradestatus": {
  25245. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25246. "type": "integer"
  25247. },
  25248. "tradestatuschangetime": {
  25249. "description": "激活时间",
  25250. "type": "string"
  25251. },
  25252. "transferamount": {
  25253. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25254. "type": "number"
  25255. },
  25256. "usedmargin": {
  25257. "description": "占用保证金",
  25258. "type": "number"
  25259. },
  25260. "userid": {
  25261. "description": "用户ID",
  25262. "type": "integer"
  25263. }
  25264. }
  25265. },
  25266. "models.Tablecolumnconfig": {
  25267. "type": "object",
  25268. "required": [
  25269. "autoid"
  25270. ],
  25271. "properties": {
  25272. "aligntype": {
  25273. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  25274. "type": "integer"
  25275. },
  25276. "autoid": {
  25277. "description": "AutoID",
  25278. "type": "integer"
  25279. },
  25280. "columnfield": {
  25281. "description": "列字段",
  25282. "type": "string"
  25283. },
  25284. "columntitle": {
  25285. "description": "列Title",
  25286. "type": "string"
  25287. },
  25288. "columnwidth": {
  25289. "description": "列宽",
  25290. "type": "string"
  25291. },
  25292. "formatterstring": {
  25293. "description": "格式化字符",
  25294. "type": "string"
  25295. },
  25296. "formattertype": {
  25297. "description": "格式化类型",
  25298. "type": "string"
  25299. },
  25300. "groupname": {
  25301. "description": "表头分组名称",
  25302. "type": "string"
  25303. },
  25304. "isshow": {
  25305. "description": "是否显示 - 0:不显示 1:显示",
  25306. "type": "integer"
  25307. },
  25308. "needsummary": {
  25309. "description": "是否需要汇总 - 0:不需要 1:需要",
  25310. "type": "integer"
  25311. },
  25312. "orderindex": {
  25313. "description": "顺序",
  25314. "type": "integer"
  25315. },
  25316. "remark": {
  25317. "description": "备注",
  25318. "type": "string"
  25319. },
  25320. "summarytype": {
  25321. "description": "汇总类型 - 1:加总 2:最后一个",
  25322. "type": "integer"
  25323. },
  25324. "tablekey": {
  25325. "description": "列表Key",
  25326. "type": "string"
  25327. }
  25328. }
  25329. },
  25330. "models.UserCollectConfig": {
  25331. "type": "object",
  25332. "properties": {
  25333. "accountstatus": {
  25334. "description": "账户状态 - 1:正常 2:停用 3:注销",
  25335. "type": "integer"
  25336. },
  25337. "collectaccountname": {
  25338. "description": "收款人账户名称",
  25339. "type": "string"
  25340. },
  25341. "collectaccountno": {
  25342. "description": "收款人账户",
  25343. "type": "string"
  25344. },
  25345. "collectbankname": {
  25346. "description": "收款人开户行",
  25347. "type": "string"
  25348. },
  25349. "collectbranchbankname": {
  25350. "description": "收款人开户支行",
  25351. "type": "string"
  25352. },
  25353. "collectconfigid": {
  25354. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  25355. "type": "string"
  25356. },
  25357. "remark": {
  25358. "description": "备注",
  25359. "type": "string"
  25360. },
  25361. "userid": {
  25362. "description": "收款人用户ID",
  25363. "type": "integer"
  25364. }
  25365. }
  25366. },
  25367. "models.UserReceiveInfo": {
  25368. "type": "object",
  25369. "properties": {
  25370. "address": {
  25371. "description": "提货人详细地址",
  25372. "type": "string"
  25373. },
  25374. "autoid": {
  25375. "description": "AutoID",
  25376. "type": "integer"
  25377. },
  25378. "cardnum": {
  25379. "description": "证件号码(加密存储)",
  25380. "type": "string"
  25381. },
  25382. "cardtypeid": {
  25383. "description": "证件类型",
  25384. "type": "integer"
  25385. },
  25386. "cityid": {
  25387. "description": "市",
  25388. "type": "integer"
  25389. },
  25390. "cityname": {
  25391. "description": "城市名称",
  25392. "type": "string"
  25393. },
  25394. "countryid": {
  25395. "description": "国家",
  25396. "type": "integer"
  25397. },
  25398. "countryname": {
  25399. "description": "国家名称",
  25400. "type": "string"
  25401. },
  25402. "districtid": {
  25403. "description": "地区",
  25404. "type": "integer"
  25405. },
  25406. "districtname": {
  25407. "description": "地区名称",
  25408. "type": "string"
  25409. },
  25410. "hasencrypt": {
  25411. "description": "数据是否已加密 - 0:未加密 1:已加密",
  25412. "type": "integer"
  25413. },
  25414. "isdefault": {
  25415. "description": "是否默认地址 - 0:否 1:是",
  25416. "type": "integer"
  25417. },
  25418. "phonenum": {
  25419. "description": "提货人联系方式(加密存储)",
  25420. "type": "string"
  25421. },
  25422. "provinceid": {
  25423. "description": "省",
  25424. "type": "integer"
  25425. },
  25426. "provincename": {
  25427. "description": "省名称",
  25428. "type": "string"
  25429. },
  25430. "receivername": {
  25431. "description": "提货人姓名",
  25432. "type": "string"
  25433. },
  25434. "takeremark": {
  25435. "description": "提货备注",
  25436. "type": "string"
  25437. },
  25438. "userid": {
  25439. "description": "用户ID",
  25440. "type": "integer"
  25441. }
  25442. }
  25443. },
  25444. "models.Useraccount": {
  25445. "type": "object",
  25446. "required": [
  25447. "userid"
  25448. ],
  25449. "properties": {
  25450. "accountname": {
  25451. "description": "账户名称(机构名称)",
  25452. "type": "string"
  25453. },
  25454. "accountstatus": {
  25455. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25456. "type": "integer"
  25457. },
  25458. "applysrc": {
  25459. "description": "申请来源 - 1:管理端 2:终端",
  25460. "type": "integer"
  25461. },
  25462. "auditremark": {
  25463. "description": "审核备注",
  25464. "type": "string"
  25465. },
  25466. "auditsrc": {
  25467. "description": "审核来源 - 1:管理端 2:终端",
  25468. "type": "integer"
  25469. },
  25470. "audittime": {
  25471. "description": "审核时间",
  25472. "type": "string"
  25473. },
  25474. "audituserid": {
  25475. "description": "审核人",
  25476. "type": "integer"
  25477. },
  25478. "broker": {
  25479. "description": "所属经纪人ID",
  25480. "type": "integer"
  25481. },
  25482. "canceltime": {
  25483. "description": "销户时间",
  25484. "type": "string"
  25485. },
  25486. "canceluserid": {
  25487. "description": "销户人",
  25488. "type": "integer"
  25489. },
  25490. "canrecommend": {
  25491. "description": "是否可推荐 - 0:不可 1;可",
  25492. "type": "integer"
  25493. },
  25494. "createtime": {
  25495. "description": "创建时间",
  25496. "type": "string"
  25497. },
  25498. "creatorid": {
  25499. "description": "创建人",
  25500. "type": "integer"
  25501. },
  25502. "hasauth": {
  25503. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25504. "type": "integer"
  25505. },
  25506. "isanonymous": {
  25507. "description": "是否匿名下单 - 0:否 1:是",
  25508. "type": "integer"
  25509. },
  25510. "maxinvestornum": {
  25511. "description": "最大用户数(经纪会员下投资者个数)",
  25512. "type": "integer"
  25513. },
  25514. "memberuserid": {
  25515. "description": "所属会员ID",
  25516. "type": "integer"
  25517. },
  25518. "modifierid": {
  25519. "description": "修改人",
  25520. "type": "integer"
  25521. },
  25522. "modifyremark": {
  25523. "description": "变更备注",
  25524. "type": "string"
  25525. },
  25526. "modifystatus": {
  25527. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25528. "type": "integer"
  25529. },
  25530. "modifytime": {
  25531. "description": "修改时间",
  25532. "type": "string"
  25533. },
  25534. "parenttopuser": {
  25535. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25536. "type": "string"
  25537. },
  25538. "parentuserid": {
  25539. "description": "所属机构ID",
  25540. "type": "integer"
  25541. },
  25542. "reckonaccountid": {
  25543. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25544. "type": "integer"
  25545. },
  25546. "refercount": {
  25547. "description": "推荐总人数",
  25548. "type": "integer"
  25549. },
  25550. "refereeuserid": {
  25551. "description": "推荐人ID",
  25552. "type": "integer"
  25553. },
  25554. "refernum": {
  25555. "description": "推荐码",
  25556. "type": "string"
  25557. },
  25558. "rootuserid": {
  25559. "description": "根用户ID",
  25560. "type": "integer"
  25561. },
  25562. "subaccountlevel": {
  25563. "description": "子账户层数",
  25564. "type": "integer"
  25565. },
  25566. "subarealevelpath": {
  25567. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25568. "type": "string"
  25569. },
  25570. "userid": {
  25571. "description": "用户ID",
  25572. "type": "integer"
  25573. },
  25574. "usertype": {
  25575. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25576. "type": "integer"
  25577. }
  25578. }
  25579. },
  25580. "models.Userfavoritegoods": {
  25581. "type": "object",
  25582. "required": [
  25583. "goodsid"
  25584. ],
  25585. "properties": {
  25586. "goodsid": {
  25587. "description": "商品ID",
  25588. "type": "integer"
  25589. }
  25590. }
  25591. },
  25592. "models.Userinfo": {
  25593. "type": "object",
  25594. "required": [
  25595. "userid"
  25596. ],
  25597. "properties": {
  25598. "address": {
  25599. "description": "地址",
  25600. "type": "string"
  25601. },
  25602. "attachment1": {
  25603. "description": "附件1",
  25604. "type": "string"
  25605. },
  25606. "attachment2": {
  25607. "description": "附件2",
  25608. "type": "string"
  25609. },
  25610. "bankaccount": {
  25611. "description": "银行帐号 (加密存储)",
  25612. "type": "string"
  25613. },
  25614. "bankaccountname": {
  25615. "description": "收款人名称",
  25616. "type": "string"
  25617. },
  25618. "bankcardfrontphotourl": {
  25619. "description": "银行卡正面照地址",
  25620. "type": "string"
  25621. },
  25622. "bankid": {
  25623. "description": "银行编码",
  25624. "type": "string"
  25625. },
  25626. "bankname": {
  25627. "description": "银行名称",
  25628. "type": "string"
  25629. },
  25630. "biznature": {
  25631. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  25632. "type": "integer"
  25633. },
  25634. "bizscope": {
  25635. "description": "企业经营范围(企业)",
  25636. "type": "string"
  25637. },
  25638. "cardbackphotourl": {
  25639. "description": "证件背面图片地址",
  25640. "type": "string"
  25641. },
  25642. "cardfrontphotourl": {
  25643. "description": "证件正面图片地址",
  25644. "type": "string"
  25645. },
  25646. "cardnum": {
  25647. "description": "证件号码(加密存储)",
  25648. "type": "string"
  25649. },
  25650. "cardtypeid": {
  25651. "description": "证件类型ID",
  25652. "type": "integer"
  25653. },
  25654. "cityid": {
  25655. "description": "市",
  25656. "type": "integer"
  25657. },
  25658. "company": {
  25659. "description": "公司(个人)",
  25660. "type": "string"
  25661. },
  25662. "contactname": {
  25663. "description": "联系人",
  25664. "type": "string"
  25665. },
  25666. "countryid": {
  25667. "description": "国家",
  25668. "type": "integer"
  25669. },
  25670. "createtime": {
  25671. "description": "创建时间",
  25672. "type": "string"
  25673. },
  25674. "creatorid": {
  25675. "description": "创建人",
  25676. "type": "integer"
  25677. },
  25678. "customername": {
  25679. "description": "客户名称(企业名称)",
  25680. "type": "string"
  25681. },
  25682. "districtid": {
  25683. "description": "地区",
  25684. "type": "integer"
  25685. },
  25686. "email": {
  25687. "description": "邮件(加密存储)",
  25688. "type": "string"
  25689. },
  25690. "fax": {
  25691. "description": "传真(加密存储)",
  25692. "type": "string"
  25693. },
  25694. "halfbodyphotourl": {
  25695. "description": "半身照地址",
  25696. "type": "string"
  25697. },
  25698. "hasencrypt": {
  25699. "description": "数据是否已加密 - 0:未加密 1:已加密",
  25700. "type": "integer"
  25701. },
  25702. "headurl": {
  25703. "description": "头像地址",
  25704. "type": "string"
  25705. },
  25706. "legalcardbackphotourl": {
  25707. "description": "法人身份证背面照地址",
  25708. "type": "string"
  25709. },
  25710. "legalcardfrontphotourl": {
  25711. "description": "法人身份证正面照地址",
  25712. "type": "string"
  25713. },
  25714. "legalpersonname": {
  25715. "description": "法人姓名(企业)",
  25716. "type": "string"
  25717. },
  25718. "mobile": {
  25719. "description": "手机号码(加密存储)",
  25720. "type": "string"
  25721. },
  25722. "mobile2": {
  25723. "description": "手机号码[明文-尚志]",
  25724. "type": "string"
  25725. },
  25726. "modifierid": {
  25727. "description": "修改人",
  25728. "type": "integer"
  25729. },
  25730. "modifiertime": {
  25731. "description": "修改时间",
  25732. "type": "string"
  25733. },
  25734. "needinvoice": {
  25735. "description": "是否需要发票 - 0:不需要 1:需要",
  25736. "type": "integer"
  25737. },
  25738. "nickname": {
  25739. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  25740. "type": "string"
  25741. },
  25742. "openmode": {
  25743. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  25744. "type": "integer"
  25745. },
  25746. "otherurl": {
  25747. "description": "其它图片地址[使用分号分隔]",
  25748. "type": "string"
  25749. },
  25750. "postalcode": {
  25751. "description": "邮政编码",
  25752. "type": "string"
  25753. },
  25754. "provinceid": {
  25755. "description": "省",
  25756. "type": "integer"
  25757. },
  25758. "qq": {
  25759. "description": "QQ(加密存储",
  25760. "type": "string"
  25761. },
  25762. "remark": {
  25763. "description": "备注",
  25764. "type": "string"
  25765. },
  25766. "sex": {
  25767. "description": "用户性别 0: 女 1: 男",
  25768. "type": "integer"
  25769. },
  25770. "signpdfurl": {
  25771. "description": "签约pdf文件",
  25772. "type": "string"
  25773. },
  25774. "telphone": {
  25775. "description": "联系电话(加密存储)",
  25776. "type": "string"
  25777. },
  25778. "userid": {
  25779. "description": "用户ID",
  25780. "type": "integer"
  25781. },
  25782. "userinfotype": {
  25783. "description": "用户信息类型 - 1:个人 2:企业",
  25784. "type": "integer"
  25785. },
  25786. "userstatus": {
  25787. "description": "用户状态 - 1:正常 2:注销",
  25788. "type": "integer"
  25789. },
  25790. "usertype": {
  25791. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  25792. "type": "integer"
  25793. },
  25794. "wechat": {
  25795. "description": "微信(加密存储)",
  25796. "type": "string"
  25797. },
  25798. "wskhinfo": {
  25799. "description": "开户申请信息(JSON)",
  25800. "type": "string"
  25801. }
  25802. }
  25803. },
  25804. "models.WRSConverTDetail": {
  25805. "type": "object",
  25806. "properties": {
  25807. "convertratio": {
  25808. "description": "套保系数",
  25809. "type": "number"
  25810. },
  25811. "deliverygoodscode": {
  25812. "description": "现货商品代码",
  25813. "type": "string"
  25814. },
  25815. "deliverygoodsid": {
  25816. "description": "现货品种ID",
  25817. "type": "integer"
  25818. },
  25819. "deliverygoodsname": {
  25820. "description": "现货商品名称",
  25821. "type": "string"
  25822. },
  25823. "enumdicname": {
  25824. "description": "单位名称",
  25825. "type": "string"
  25826. },
  25827. "goodsunitid": {
  25828. "description": "套保品种单位id",
  25829. "type": "integer"
  25830. },
  25831. "middlegoodscode": {
  25832. "description": "套保品种代码",
  25833. "type": "string"
  25834. },
  25835. "middlegoodsid": {
  25836. "description": "套保品种ID",
  25837. "type": "integer"
  25838. },
  25839. "middlegoodsname": {
  25840. "description": "套保品种名称",
  25841. "type": "string"
  25842. },
  25843. "modifytime": {
  25844. "description": "修改时间",
  25845. "type": "string"
  25846. },
  25847. "wrstandardid": {
  25848. "description": "品类ID",
  25849. "type": "integer"
  25850. }
  25851. }
  25852. },
  25853. "models.WRStandardInfo": {
  25854. "type": "object",
  25855. "required": [
  25856. "wrstandardid"
  25857. ],
  25858. "properties": {
  25859. "areauserid": {
  25860. "description": "所属机构",
  25861. "type": "integer"
  25862. },
  25863. "convertfactor": {
  25864. "description": "标仓系数",
  25865. "type": "number"
  25866. },
  25867. "createtime": {
  25868. "description": "创建时间",
  25869. "type": "string"
  25870. },
  25871. "creatorid": {
  25872. "description": "创建人",
  25873. "type": "integer"
  25874. },
  25875. "deliverygoodsid": {
  25876. "description": "品种ID",
  25877. "type": "integer"
  25878. },
  25879. "deliverygoodsname": {
  25880. "description": "交割商品名称",
  25881. "type": "string"
  25882. },
  25883. "factoryitemjson": {
  25884. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  25885. "type": "string"
  25886. },
  25887. "isvalid": {
  25888. "description": "是否有效 - 0:无效 1:有效",
  25889. "type": "integer"
  25890. },
  25891. "minivalue": {
  25892. "description": "最小变动值",
  25893. "type": "integer"
  25894. },
  25895. "minivaluedp": {
  25896. "description": "最小变动值小数位",
  25897. "type": "integer"
  25898. },
  25899. "realminivalue": {
  25900. "description": "实际最小变动值",
  25901. "type": "integer"
  25902. },
  25903. "realminivaluedp": {
  25904. "description": "实际最小变动值小数位",
  25905. "type": "integer"
  25906. },
  25907. "remark": {
  25908. "description": "备注",
  25909. "type": "string"
  25910. },
  25911. "unitid": {
  25912. "description": "单位ID",
  25913. "type": "integer"
  25914. },
  25915. "unitname": {
  25916. "description": "单位",
  25917. "type": "string"
  25918. },
  25919. "updatetime": {
  25920. "description": "更新时间",
  25921. "type": "string"
  25922. },
  25923. "updatorid": {
  25924. "description": "更新人",
  25925. "type": "integer"
  25926. },
  25927. "wrsstatus": {
  25928. "description": "状态 - 作废 - 0:未激活 1:正常",
  25929. "type": "integer"
  25930. },
  25931. "wrstandardcode": {
  25932. "description": "现货品类代码",
  25933. "type": "string"
  25934. },
  25935. "wrstandardid": {
  25936. "description": "现货品类ID(SEQ_WRSTANDARD)",
  25937. "type": "integer"
  25938. },
  25939. "wrstandardname": {
  25940. "description": "现货品类名称",
  25941. "type": "string"
  25942. }
  25943. }
  25944. },
  25945. "models.Warehouseinfo": {
  25946. "type": "object",
  25947. "required": [
  25948. "autoid",
  25949. "warehousecode"
  25950. ],
  25951. "properties": {
  25952. "address": {
  25953. "description": "详细地址",
  25954. "type": "string"
  25955. },
  25956. "areauserid": {
  25957. "description": "所属机构",
  25958. "type": "integer"
  25959. },
  25960. "autoid": {
  25961. "description": "自增ID",
  25962. "type": "integer"
  25963. },
  25964. "cityid": {
  25965. "description": "市",
  25966. "type": "integer"
  25967. },
  25968. "contactname": {
  25969. "description": "联系人",
  25970. "type": "string"
  25971. },
  25972. "contactnum": {
  25973. "description": "联系电话",
  25974. "type": "string"
  25975. },
  25976. "countryid": {
  25977. "description": "国家",
  25978. "type": "integer"
  25979. },
  25980. "createtime": {
  25981. "description": "创建时间",
  25982. "type": "string"
  25983. },
  25984. "districtid": {
  25985. "description": "区",
  25986. "type": "integer"
  25987. },
  25988. "hasvideo": {
  25989. "description": "是否有视频 - 0:无 1:有",
  25990. "type": "integer"
  25991. },
  25992. "provinceid": {
  25993. "description": "省",
  25994. "type": "integer"
  25995. },
  25996. "remark": {
  25997. "description": "审核备注",
  25998. "type": "string"
  25999. },
  26000. "videourl": {
  26001. "description": "视频地址",
  26002. "type": "string"
  26003. },
  26004. "warehousecode": {
  26005. "description": "仓库代码",
  26006. "type": "string"
  26007. },
  26008. "warehousename": {
  26009. "description": "仓库名称",
  26010. "type": "string"
  26011. },
  26012. "warehousestatus": {
  26013. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  26014. "type": "integer"
  26015. },
  26016. "warehousetype": {
  26017. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26018. "type": "integer"
  26019. }
  26020. }
  26021. },
  26022. "order.QueryHisTradeDetailRsp": {
  26023. "type": "object",
  26024. "required": [
  26025. "accountid",
  26026. "buyorsell",
  26027. "goodsid",
  26028. "histradedate",
  26029. "marketid",
  26030. "memberuserid",
  26031. "orderid",
  26032. "tradeamount",
  26033. "tradedate",
  26034. "tradeid",
  26035. "tradeprice",
  26036. "tradeqty",
  26037. "tradetime"
  26038. ],
  26039. "properties": {
  26040. "accountid": {
  26041. "description": "账户ID[报价币种]",
  26042. "type": "integer"
  26043. },
  26044. "advanceratio": {
  26045. "description": "首付比率",
  26046. "type": "number"
  26047. },
  26048. "buildtype": {
  26049. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  26050. "type": "integer"
  26051. },
  26052. "buyorsell": {
  26053. "description": "方向 - 0:买 1:卖",
  26054. "type": "integer"
  26055. },
  26056. "charge": {
  26057. "description": "手续费",
  26058. "type": "number"
  26059. },
  26060. "closecharge": {
  26061. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26062. "type": "number"
  26063. },
  26064. "closeexchagechargevalue": {
  26065. "description": "平仓交易所手续费设置值",
  26066. "type": "number"
  26067. },
  26068. "closefeealgorithm": {
  26069. "description": "平仓手续费收取方式 1:比率 2:固定",
  26070. "type": "integer"
  26071. },
  26072. "closememberchargevalue": {
  26073. "description": "平仓会员手续费设置值",
  26074. "type": "number"
  26075. },
  26076. "closepl": {
  26077. "description": "平仓盈亏",
  26078. "type": "number"
  26079. },
  26080. "closepl2": {
  26081. "description": "平仓盈亏[逐笔]",
  26082. "type": "number"
  26083. },
  26084. "closeqty": {
  26085. "description": "平仓数量(先建后平操作 需要记录)",
  26086. "type": "number"
  26087. },
  26088. "creditamount": {
  26089. "description": "授信金额",
  26090. "type": "number"
  26091. },
  26092. "decimalplace": {
  26093. "description": "商品报价小数位",
  26094. "type": "integer"
  26095. },
  26096. "enumdicname": {
  26097. "description": "单位名称",
  26098. "type": "string"
  26099. },
  26100. "gcaccountid": {
  26101. "description": "账户ID[合约币种]",
  26102. "type": "integer"
  26103. },
  26104. "goodscode": {
  26105. "description": "商品代码",
  26106. "type": "string"
  26107. },
  26108. "goodsid": {
  26109. "description": "商品ID",
  26110. "type": "integer"
  26111. },
  26112. "goodsname": {
  26113. "description": "商品名称",
  26114. "type": "string"
  26115. },
  26116. "goodunitid": {
  26117. "description": "商品单位id",
  26118. "type": "integer"
  26119. },
  26120. "histradedate": {
  26121. "description": "历史交易日",
  26122. "type": "string"
  26123. },
  26124. "intclosepl": {
  26125. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  26126. "type": "integer"
  26127. },
  26128. "isconfirmexercise": {
  26129. "description": "是否确认行权- 0:否 1:是",
  26130. "type": "integer"
  26131. },
  26132. "ismain": {
  26133. "description": "是否主单 - 0:不是 1:是",
  26134. "type": "integer"
  26135. },
  26136. "ispreexercise": {
  26137. "description": "是否预申报- 0:否 1:是",
  26138. "type": "integer"
  26139. },
  26140. "isreckoned": {
  26141. "description": "是否结算 - 0:未结算 1:已结算",
  26142. "type": "integer"
  26143. },
  26144. "isvaliddata": {
  26145. "description": "是否有效 - 0:无效 1:有效",
  26146. "type": "integer"
  26147. },
  26148. "listingselecttype": {
  26149. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26150. "type": "integer"
  26151. },
  26152. "marketid": {
  26153. "description": "市场ID",
  26154. "type": "integer"
  26155. },
  26156. "marketname": {
  26157. "description": "市场名称",
  26158. "type": "string"
  26159. },
  26160. "matchaccountid": {
  26161. "description": "对手账号id",
  26162. "type": "integer"
  26163. },
  26164. "memberuserid": {
  26165. "description": "会员id 个人投资者 需要填写",
  26166. "type": "integer"
  26167. },
  26168. "opencharge": {
  26169. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26170. "type": "number"
  26171. },
  26172. "openexchagechargevalue": {
  26173. "description": "建仓交易所手续费设置值",
  26174. "type": "number"
  26175. },
  26176. "openfeealgorithm": {
  26177. "description": "建仓手续费收取方式 1:比率 2:固定",
  26178. "type": "integer"
  26179. },
  26180. "openmemberchargevalue": {
  26181. "description": "建仓会员手续费设置值",
  26182. "type": "number"
  26183. },
  26184. "openqty": {
  26185. "description": "开仓数量(先建后平操作 需要记录)",
  26186. "type": "number"
  26187. },
  26188. "optiontype": {
  26189. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26190. "type": "integer"
  26191. },
  26192. "orderid": {
  26193. "description": "委托单号",
  26194. "type": "string"
  26195. },
  26196. "payamount": {
  26197. "description": "支付金额(付款金额)",
  26198. "type": "number"
  26199. },
  26200. "performanceplanid": {
  26201. "description": "履约计划ID[期权]",
  26202. "type": "integer"
  26203. },
  26204. "performancestatus": {
  26205. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  26206. "type": "integer"
  26207. },
  26208. "preexerciseprice": {
  26209. "description": "预申报价格",
  26210. "type": "number"
  26211. },
  26212. "premium": {
  26213. "description": "权利金 - [持仓单的权利金]",
  26214. "type": "number"
  26215. },
  26216. "qtydecimalplace": {
  26217. "description": "商品报价小数位",
  26218. "type": "integer"
  26219. },
  26220. "recvamount": {
  26221. "description": "到账金额 = 成交金额 - 手续费",
  26222. "type": "number"
  26223. },
  26224. "relatedouttradeid": {
  26225. "description": "关联外部成交单ID",
  26226. "type": "integer"
  26227. },
  26228. "status": {
  26229. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  26230. "type": "integer"
  26231. },
  26232. "totalamount": {
  26233. "description": "订单总额 = 成交金额 + 手续费",
  26234. "type": "number"
  26235. },
  26236. "tradeamount": {
  26237. "description": "成交金额[账户币种,用于所有权]",
  26238. "type": "number"
  26239. },
  26240. "tradedate": {
  26241. "description": "交易日(yyyyMMdd)",
  26242. "type": "string"
  26243. },
  26244. "tradeid": {
  26245. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26246. "type": "string"
  26247. },
  26248. "trademode": {
  26249. "description": "交易模式",
  26250. "type": "integer"
  26251. },
  26252. "tradeprice": {
  26253. "description": "成交价格",
  26254. "type": "number"
  26255. },
  26256. "tradeproperty": {
  26257. "description": "交易属性",
  26258. "type": "integer"
  26259. },
  26260. "tradeqty": {
  26261. "description": "成交数量",
  26262. "type": "number"
  26263. },
  26264. "tradetime": {
  26265. "description": "成交时间",
  26266. "type": "string"
  26267. },
  26268. "tradetype": {
  26269. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  26270. "type": "integer"
  26271. }
  26272. }
  26273. },
  26274. "order.QueryHisTradeOrderDetailRsp": {
  26275. "type": "object",
  26276. "required": [
  26277. "accountid",
  26278. "buildtype",
  26279. "buyorsell",
  26280. "goodsid",
  26281. "histradedate",
  26282. "marketid",
  26283. "memberuserid",
  26284. "operatetype",
  26285. "orderid",
  26286. "orderqty",
  26287. "ordertime",
  26288. "pricemode",
  26289. "tradedate",
  26290. "validtype"
  26291. ],
  26292. "properties": {
  26293. "accountid": {
  26294. "description": "账户ID[报价币种]",
  26295. "type": "integer"
  26296. },
  26297. "buildtype": {
  26298. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  26299. "type": "integer"
  26300. },
  26301. "buyorsell": {
  26302. "description": "买卖 - 0:买 1:卖",
  26303. "type": "integer"
  26304. },
  26305. "cancelorderid": {
  26306. "description": "撤单单号(撤单时填写)",
  26307. "type": "string"
  26308. },
  26309. "cancelqty": {
  26310. "description": "撤单数量",
  26311. "type": "number"
  26312. },
  26313. "clientordertime": {
  26314. "description": "客户端委托时间",
  26315. "type": "string"
  26316. },
  26317. "clientticket": {
  26318. "description": "客户端流水号",
  26319. "type": "string"
  26320. },
  26321. "clienttype": {
  26322. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26323. "type": "integer"
  26324. },
  26325. "closeexchagechargevalue": {
  26326. "description": "平仓交易所手续费设置值",
  26327. "type": "number"
  26328. },
  26329. "closefeealgorithm": {
  26330. "description": "平仓手续费收取方式 1:比率 2:固定",
  26331. "type": "integer"
  26332. },
  26333. "closefreezecharge": {
  26334. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  26335. "type": "number"
  26336. },
  26337. "closememberchargevalue": {
  26338. "description": "平仓会员手续费设置值",
  26339. "type": "number"
  26340. },
  26341. "closeqty": {
  26342. "description": "平仓数量(先建后平操作 需要记录)",
  26343. "type": "number"
  26344. },
  26345. "closetradeqty": {
  26346. "description": "平仓成交数量(先建后平操作,需要记录)",
  26347. "type": "number"
  26348. },
  26349. "closeunfreezecharge": {
  26350. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  26351. "type": "number"
  26352. },
  26353. "decimalplace": {
  26354. "description": "商品报价小数位",
  26355. "type": "integer"
  26356. },
  26357. "delistingtype": {
  26358. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  26359. "type": "integer"
  26360. },
  26361. "enumdicname": {
  26362. "description": "单位名称",
  26363. "type": "string"
  26364. },
  26365. "freezecharge": {
  26366. "description": "冻结手续费",
  26367. "type": "number"
  26368. },
  26369. "freezemargin": {
  26370. "description": "冻结保证金(冻结交易金额)",
  26371. "type": "number"
  26372. },
  26373. "gcaccountid": {
  26374. "description": "账户ID[合约币种]",
  26375. "type": "integer"
  26376. },
  26377. "goodscode": {
  26378. "description": "商品代码",
  26379. "type": "string"
  26380. },
  26381. "goodsid": {
  26382. "description": "商品ID",
  26383. "type": "integer"
  26384. },
  26385. "goodsname": {
  26386. "description": "商品名称",
  26387. "type": "string"
  26388. },
  26389. "goodunitid": {
  26390. "description": "商品单位id",
  26391. "type": "integer"
  26392. },
  26393. "histradedate": {
  26394. "description": "历史交易日",
  26395. "type": "string"
  26396. },
  26397. "isconfirmexercise": {
  26398. "description": "是否确认行权- 0:否 1:是",
  26399. "type": "integer"
  26400. },
  26401. "ispreexercise": {
  26402. "description": "是否预申报- 0:否 1:是",
  26403. "type": "integer"
  26404. },
  26405. "isvaliddata": {
  26406. "description": "是否有效 - 0:无效 1:有效",
  26407. "type": "integer"
  26408. },
  26409. "listingselecttype": {
  26410. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26411. "type": "integer"
  26412. },
  26413. "marginalgorithm": {
  26414. "description": "保证金收取方式 1:比率 2:固定",
  26415. "type": "integer"
  26416. },
  26417. "marginvalue": {
  26418. "description": "即市保证金设置值",
  26419. "type": "number"
  26420. },
  26421. "marketid": {
  26422. "description": "市场ID",
  26423. "type": "integer"
  26424. },
  26425. "marketmaxsub": {
  26426. "description": "市价最大偏移范围",
  26427. "type": "number"
  26428. },
  26429. "marketname": {
  26430. "description": "市场名称",
  26431. "type": "string"
  26432. },
  26433. "memberuserid": {
  26434. "description": "所属会员UserID",
  26435. "type": "integer"
  26436. },
  26437. "openexchagechargevalue": {
  26438. "description": "建仓交易所手续费设置值",
  26439. "type": "number"
  26440. },
  26441. "openfeealgorithm": {
  26442. "description": "建仓手续费收取方式 1:比率 2:固定",
  26443. "type": "integer"
  26444. },
  26445. "openfreezecharge": {
  26446. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  26447. "type": "number"
  26448. },
  26449. "openmemberchargevalue": {
  26450. "description": "建仓会员手续费设置值",
  26451. "type": "number"
  26452. },
  26453. "openqty": {
  26454. "description": "开仓数量(先建后平操作,需要记录)",
  26455. "type": "number"
  26456. },
  26457. "opentradeqty": {
  26458. "description": "开仓成交数量(先建后平操作,需要记录)",
  26459. "type": "number"
  26460. },
  26461. "openunfreezecharge": {
  26462. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  26463. "type": "number"
  26464. },
  26465. "operatetype": {
  26466. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  26467. "type": "integer"
  26468. },
  26469. "operatorid": {
  26470. "description": "登录账号(LoginID)",
  26471. "type": "integer"
  26472. },
  26473. "optiontype": {
  26474. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26475. "type": "integer"
  26476. },
  26477. "orderid": {
  26478. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26479. "type": "string"
  26480. },
  26481. "orderprice": {
  26482. "description": "委托价格",
  26483. "type": "number"
  26484. },
  26485. "orderqty": {
  26486. "description": "委托数量",
  26487. "type": "number"
  26488. },
  26489. "ordersrc": {
  26490. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  26491. "type": "integer"
  26492. },
  26493. "orderstatus": {
  26494. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26495. "type": "integer"
  26496. },
  26497. "ordertime": {
  26498. "description": "委托时间",
  26499. "type": "string"
  26500. },
  26501. "preexerciseprice": {
  26502. "description": "预申报价格",
  26503. "type": "number"
  26504. },
  26505. "premium": {
  26506. "description": "权利金",
  26507. "type": "number"
  26508. },
  26509. "preorderid": {
  26510. "description": "关联预埋单号(止盈止损单时填写)",
  26511. "type": "string"
  26512. },
  26513. "pricemode": {
  26514. "description": "取价方式 - 1:市价 2: 限价",
  26515. "type": "integer"
  26516. },
  26517. "qtydecimalplace": {
  26518. "description": "成交量小数位",
  26519. "type": "integer"
  26520. },
  26521. "quoteid": {
  26522. "description": "报价单ID",
  26523. "type": "integer"
  26524. },
  26525. "relatedid": {
  26526. "description": "关联单号(交割单)",
  26527. "type": "string"
  26528. },
  26529. "retcode": {
  26530. "description": "错误代码",
  26531. "type": "integer"
  26532. },
  26533. "sessionid": {
  26534. "description": "会话ID",
  26535. "type": "integer"
  26536. },
  26537. "tradedate": {
  26538. "description": "交易日(yyyyMMdd)",
  26539. "type": "string"
  26540. },
  26541. "trademode": {
  26542. "description": "交易模式",
  26543. "type": "integer"
  26544. },
  26545. "tradeproperty": {
  26546. "description": "交易属性",
  26547. "type": "integer"
  26548. },
  26549. "tradeqty": {
  26550. "description": "成交数量",
  26551. "type": "number"
  26552. },
  26553. "unfreezecharge": {
  26554. "description": "解冻手续费",
  26555. "type": "number"
  26556. },
  26557. "unfreezemargin": {
  26558. "description": "解冻保证金",
  26559. "type": "number"
  26560. },
  26561. "updatetime": {
  26562. "description": "更新时间",
  26563. "type": "string"
  26564. },
  26565. "uuid": {
  26566. "description": "发起端唯一id",
  26567. "type": "string"
  26568. },
  26569. "validtime": {
  26570. "description": "有效期限",
  26571. "type": "string"
  26572. },
  26573. "validtype": {
  26574. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  26575. "type": "integer"
  26576. },
  26577. "volumetype": {
  26578. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  26579. "type": "integer"
  26580. }
  26581. }
  26582. },
  26583. "order.QueryTradeDetailRsp": {
  26584. "type": "object",
  26585. "required": [
  26586. "accountid",
  26587. "buyorsell",
  26588. "goodsid",
  26589. "marketid",
  26590. "memberuserid",
  26591. "orderid",
  26592. "tradeamount",
  26593. "tradedate",
  26594. "tradeid",
  26595. "tradeprice",
  26596. "tradeqty",
  26597. "tradetime"
  26598. ],
  26599. "properties": {
  26600. "accountid": {
  26601. "description": "账户ID[报价币种]",
  26602. "type": "integer"
  26603. },
  26604. "advanceratio": {
  26605. "description": "首付比率",
  26606. "type": "number"
  26607. },
  26608. "buildtype": {
  26609. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  26610. "type": "integer"
  26611. },
  26612. "buyorsell": {
  26613. "description": "方向 - 0:买 1:卖",
  26614. "type": "integer"
  26615. },
  26616. "charge": {
  26617. "description": "手续费",
  26618. "type": "number"
  26619. },
  26620. "closecharge": {
  26621. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26622. "type": "number"
  26623. },
  26624. "closeexchagechargevalue": {
  26625. "description": "平仓交易所手续费设置值",
  26626. "type": "number"
  26627. },
  26628. "closefeealgorithm": {
  26629. "description": "平仓手续费收取方式 1:比率 2:固定",
  26630. "type": "integer"
  26631. },
  26632. "closememberchargevalue": {
  26633. "description": "平仓会员手续费设置值",
  26634. "type": "number"
  26635. },
  26636. "closepl": {
  26637. "description": "平仓盈亏",
  26638. "type": "number"
  26639. },
  26640. "closepl2": {
  26641. "description": "平仓盈亏[逐笔]",
  26642. "type": "number"
  26643. },
  26644. "closeqty": {
  26645. "description": "平仓数量(先建后平操作 需要记录)",
  26646. "type": "number"
  26647. },
  26648. "creditamount": {
  26649. "description": "授信金额",
  26650. "type": "number"
  26651. },
  26652. "decimalplace": {
  26653. "description": "商品报价小数位",
  26654. "type": "integer"
  26655. },
  26656. "enumdicname": {
  26657. "description": "单位名称",
  26658. "type": "string"
  26659. },
  26660. "gcaccountid": {
  26661. "description": "账户ID[合约币种]",
  26662. "type": "integer"
  26663. },
  26664. "goodscode": {
  26665. "description": "商品代码",
  26666. "type": "string"
  26667. },
  26668. "goodsid": {
  26669. "description": "商品ID",
  26670. "type": "integer"
  26671. },
  26672. "goodsname": {
  26673. "description": "商品名称",
  26674. "type": "string"
  26675. },
  26676. "goodunitid": {
  26677. "description": "商品单位id",
  26678. "type": "integer"
  26679. },
  26680. "intclosepl": {
  26681. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  26682. "type": "integer"
  26683. },
  26684. "isconfirmexercise": {
  26685. "description": "是否确认行权- 0:否 1:是",
  26686. "type": "integer"
  26687. },
  26688. "ismain": {
  26689. "description": "是否主单 - 0:不是 1:是",
  26690. "type": "integer"
  26691. },
  26692. "ispreexercise": {
  26693. "description": "是否预申报- 0:否 1:是",
  26694. "type": "integer"
  26695. },
  26696. "isreckoned": {
  26697. "description": "是否结算 - 0:未结算 1:已结算",
  26698. "type": "integer"
  26699. },
  26700. "listingselecttype": {
  26701. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26702. "type": "integer"
  26703. },
  26704. "marketid": {
  26705. "description": "市场ID",
  26706. "type": "integer"
  26707. },
  26708. "marketname": {
  26709. "description": "市场名称",
  26710. "type": "string"
  26711. },
  26712. "matchaccountid": {
  26713. "description": "对手账号id",
  26714. "type": "integer"
  26715. },
  26716. "memberuserid": {
  26717. "description": "会员id 个人投资者 需要填写",
  26718. "type": "integer"
  26719. },
  26720. "opencharge": {
  26721. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26722. "type": "number"
  26723. },
  26724. "openexchagechargevalue": {
  26725. "description": "建仓交易所手续费设置值",
  26726. "type": "number"
  26727. },
  26728. "openfeealgorithm": {
  26729. "description": "建仓手续费收取方式 1:比率 2:固定",
  26730. "type": "integer"
  26731. },
  26732. "openmemberchargevalue": {
  26733. "description": "建仓会员手续费设置值",
  26734. "type": "number"
  26735. },
  26736. "openqty": {
  26737. "description": "开仓数量(先建后平操作 需要记录)",
  26738. "type": "number"
  26739. },
  26740. "optiontype": {
  26741. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26742. "type": "integer"
  26743. },
  26744. "orderid": {
  26745. "description": "委托单号",
  26746. "type": "string"
  26747. },
  26748. "payamount": {
  26749. "description": "支付金额(付款金额)",
  26750. "type": "number"
  26751. },
  26752. "performanceplanid": {
  26753. "description": "履约计划ID[期权]",
  26754. "type": "integer"
  26755. },
  26756. "performancestatus": {
  26757. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  26758. "type": "integer"
  26759. },
  26760. "preexerciseprice": {
  26761. "description": "预申报价格",
  26762. "type": "number"
  26763. },
  26764. "premium": {
  26765. "description": "权利金 - [持仓单的权利金]",
  26766. "type": "number"
  26767. },
  26768. "qtydecimalplace": {
  26769. "description": "商品报价小数位",
  26770. "type": "integer"
  26771. },
  26772. "recvamount": {
  26773. "description": "到账金额 = 成交金额 - 手续费",
  26774. "type": "number"
  26775. },
  26776. "relatedouttradeid": {
  26777. "description": "关联外部成交单ID",
  26778. "type": "integer"
  26779. },
  26780. "status": {
  26781. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  26782. "type": "integer"
  26783. },
  26784. "totalamount": {
  26785. "description": "订单总额 = 成交金额 + 手续费",
  26786. "type": "number"
  26787. },
  26788. "tradeamount": {
  26789. "description": "成交金额[账户币种,用于所有权]",
  26790. "type": "number"
  26791. },
  26792. "tradedate": {
  26793. "description": "交易日(yyyyMMdd)",
  26794. "type": "string"
  26795. },
  26796. "tradeid": {
  26797. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26798. "type": "string"
  26799. },
  26800. "trademode": {
  26801. "description": "交易模式",
  26802. "type": "integer"
  26803. },
  26804. "tradeprice": {
  26805. "description": "成交价格",
  26806. "type": "number"
  26807. },
  26808. "tradeproperty": {
  26809. "description": "交易属性",
  26810. "type": "integer"
  26811. },
  26812. "tradeqty": {
  26813. "description": "成交数量",
  26814. "type": "number"
  26815. },
  26816. "tradetime": {
  26817. "description": "成交时间",
  26818. "type": "string"
  26819. },
  26820. "tradetype": {
  26821. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  26822. "type": "integer"
  26823. }
  26824. }
  26825. },
  26826. "order.QueryTradeOrderDetailRsp": {
  26827. "type": "object",
  26828. "required": [
  26829. "accountid",
  26830. "buildtype",
  26831. "buyorsell",
  26832. "goodsid",
  26833. "marketid",
  26834. "operatetype",
  26835. "orderqty",
  26836. "ordertime",
  26837. "pricemode",
  26838. "tradedate",
  26839. "validtype"
  26840. ],
  26841. "properties": {
  26842. "accountid": {
  26843. "description": "账户ID[报价币种]",
  26844. "type": "integer"
  26845. },
  26846. "buildtype": {
  26847. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  26848. "type": "integer"
  26849. },
  26850. "buyorsell": {
  26851. "description": "买卖 - 0:买 1:卖",
  26852. "type": "integer"
  26853. },
  26854. "cancelorderid": {
  26855. "description": "撤单单号(撤单时填写)",
  26856. "type": "string"
  26857. },
  26858. "cancelqty": {
  26859. "description": "撤单数量",
  26860. "type": "number"
  26861. },
  26862. "clienttype": {
  26863. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26864. "type": "integer"
  26865. },
  26866. "closefreezecharge": {
  26867. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  26868. "type": "number"
  26869. },
  26870. "closeqty": {
  26871. "description": "平仓数量(先建后平操作 需要记录)",
  26872. "type": "number"
  26873. },
  26874. "closetradeqty": {
  26875. "description": "平仓成交数量(先建后平操作,需要记录)",
  26876. "type": "number"
  26877. },
  26878. "closeunfreezecharge": {
  26879. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  26880. "type": "number"
  26881. },
  26882. "decimalplace": {
  26883. "description": "商品报价小数位",
  26884. "type": "integer"
  26885. },
  26886. "delistingtype": {
  26887. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  26888. "type": "integer"
  26889. },
  26890. "enableqty": {
  26891. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  26892. "type": "number"
  26893. },
  26894. "enumdicname": {
  26895. "description": "单位名称",
  26896. "type": "string"
  26897. },
  26898. "freezecharge": {
  26899. "description": "冻结手续费",
  26900. "type": "number"
  26901. },
  26902. "freezemargin": {
  26903. "description": "冻结保证金(冻结交易金额)",
  26904. "type": "number"
  26905. },
  26906. "goodscode": {
  26907. "description": "商品代码",
  26908. "type": "string"
  26909. },
  26910. "goodsid": {
  26911. "description": "商品ID",
  26912. "type": "integer"
  26913. },
  26914. "goodsname": {
  26915. "description": "商品名称",
  26916. "type": "string"
  26917. },
  26918. "goodunitid": {
  26919. "description": "商品单位id",
  26920. "type": "integer"
  26921. },
  26922. "listingselecttype": {
  26923. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26924. "type": "integer"
  26925. },
  26926. "marketid": {
  26927. "description": "市场ID",
  26928. "type": "integer"
  26929. },
  26930. "marketname": {
  26931. "description": "市场名称",
  26932. "type": "string"
  26933. },
  26934. "openfreezecharge": {
  26935. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  26936. "type": "number"
  26937. },
  26938. "openqty": {
  26939. "description": "开仓数量(先建后平操作,需要记录)",
  26940. "type": "number"
  26941. },
  26942. "opentradeqty": {
  26943. "description": "开仓成交数量(先建后平操作,需要记录)",
  26944. "type": "number"
  26945. },
  26946. "openunfreezecharge": {
  26947. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  26948. "type": "number"
  26949. },
  26950. "operatetype": {
  26951. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  26952. "type": "integer"
  26953. },
  26954. "operatorid": {
  26955. "description": "登录账号(LoginID)",
  26956. "type": "integer"
  26957. },
  26958. "orderid": {
  26959. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26960. "type": "string"
  26961. },
  26962. "orderprice": {
  26963. "description": "委托价格",
  26964. "type": "number"
  26965. },
  26966. "orderqty": {
  26967. "description": "委托数量",
  26968. "type": "number"
  26969. },
  26970. "ordersrc": {
  26971. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  26972. "type": "integer"
  26973. },
  26974. "orderstatus": {
  26975. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26976. "type": "integer"
  26977. },
  26978. "ordertime": {
  26979. "description": "委托时间",
  26980. "type": "string"
  26981. },
  26982. "preorderid": {
  26983. "description": "关联预埋单号(止盈止损单时填写)",
  26984. "type": "string"
  26985. },
  26986. "pricemode": {
  26987. "description": "取价方式 - 1:市价 2: 限价",
  26988. "type": "integer"
  26989. },
  26990. "qtydecimalplace": {
  26991. "description": "商品报价小数位",
  26992. "type": "integer"
  26993. },
  26994. "relatedid": {
  26995. "description": "关联单号(交割单)",
  26996. "type": "string"
  26997. },
  26998. "tradedate": {
  26999. "description": "交易日(yyyyMMdd)",
  27000. "type": "string"
  27001. },
  27002. "trademode": {
  27003. "description": "交易模式",
  27004. "type": "integer"
  27005. },
  27006. "tradeqty": {
  27007. "description": "成交数量",
  27008. "type": "number"
  27009. },
  27010. "unfreezecharge": {
  27011. "description": "解冻手续费",
  27012. "type": "number"
  27013. },
  27014. "unfreezemargin": {
  27015. "description": "解冻保证金",
  27016. "type": "number"
  27017. },
  27018. "validtime": {
  27019. "description": "有效期限",
  27020. "type": "string"
  27021. },
  27022. "validtype": {
  27023. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  27024. "type": "integer"
  27025. },
  27026. "volumetype": {
  27027. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  27028. "type": "integer"
  27029. }
  27030. }
  27031. },
  27032. "order.QueryTradePositionRsp": {
  27033. "type": "object",
  27034. "required": [
  27035. "goodsid"
  27036. ],
  27037. "properties": {
  27038. "accountid": {
  27039. "description": "资金账户",
  27040. "type": "integer"
  27041. },
  27042. "agreeunit": {
  27043. "description": "合约单位",
  27044. "type": "number"
  27045. },
  27046. "averageprice": {
  27047. "description": "持仓均价",
  27048. "type": "number"
  27049. },
  27050. "buyorsell": {
  27051. "description": "方向 - 0:买 1:卖",
  27052. "type": "integer"
  27053. },
  27054. "closetotalqty": {
  27055. "description": "平仓总数量",
  27056. "type": "number"
  27057. },
  27058. "curholderamount": {
  27059. "description": "当前持仓总金额[商品币种]",
  27060. "type": "number"
  27061. },
  27062. "curpositionqty": {
  27063. "description": "当前持仓总数量",
  27064. "type": "number"
  27065. },
  27066. "currencyid": {
  27067. "description": "报价货币ID",
  27068. "type": "integer"
  27069. },
  27070. "curtdposition": {
  27071. "description": "期末今日头寸",
  27072. "type": "number"
  27073. },
  27074. "decimalplace": {
  27075. "description": "报价小数位",
  27076. "type": "integer"
  27077. },
  27078. "enableqty": {
  27079. "description": "可用量",
  27080. "type": "number"
  27081. },
  27082. "fretdposition": {
  27083. "description": "冻结今日头寸",
  27084. "type": "number"
  27085. },
  27086. "frozenqty": {
  27087. "description": "持仓冻结数量",
  27088. "type": "number"
  27089. },
  27090. "goodscode": {
  27091. "description": "商品代码",
  27092. "type": "string"
  27093. },
  27094. "goodsid": {
  27095. "description": "商品Id",
  27096. "type": "integer"
  27097. },
  27098. "goodsname": {
  27099. "description": "商品名称",
  27100. "type": "string"
  27101. },
  27102. "goodunit": {
  27103. "description": "报价单位",
  27104. "type": "string"
  27105. },
  27106. "goodunitid": {
  27107. "description": "报价单位ID",
  27108. "type": "integer"
  27109. },
  27110. "holderamount": {
  27111. "description": "期初持仓总金额[商品币种]",
  27112. "type": "number"
  27113. },
  27114. "marketid": {
  27115. "description": "所属市场ID",
  27116. "type": "integer"
  27117. },
  27118. "openreqqty": {
  27119. "description": "开仓申请数量(用于比较最大持仓数量)",
  27120. "type": "number"
  27121. },
  27122. "opentotalqty": {
  27123. "description": "开仓总数量",
  27124. "type": "number"
  27125. },
  27126. "otherfrozenqty": {
  27127. "description": "持仓其他冻结数量(交割冻结)",
  27128. "type": "number"
  27129. },
  27130. "positionqty": {
  27131. "description": "期初持仓数量",
  27132. "type": "number"
  27133. },
  27134. "qtydecimalplace": {
  27135. "description": "成交量小数位",
  27136. "type": "integer"
  27137. },
  27138. "tnqty": {
  27139. "description": "T+N冻结总量",
  27140. "type": "number"
  27141. },
  27142. "tnusedqty": {
  27143. "description": "T+N使用量(可以使用T+N的冻结数量)",
  27144. "type": "number"
  27145. },
  27146. "trademode": {
  27147. "description": "交易模式",
  27148. "type": "integer"
  27149. },
  27150. "usedmargin": {
  27151. "description": "占用保证金[商品币种]",
  27152. "type": "number"
  27153. }
  27154. }
  27155. },
  27156. "quote.HistoryData": {
  27157. "type": "object",
  27158. "properties": {
  27159. "c": {
  27160. "description": "收盘价",
  27161. "type": "number"
  27162. },
  27163. "f": {
  27164. "description": "是否补充数据",
  27165. "type": "boolean"
  27166. },
  27167. "h": {
  27168. "description": "最高价",
  27169. "type": "number"
  27170. },
  27171. "hv": {
  27172. "description": "持仓量",
  27173. "type": "integer"
  27174. },
  27175. "l": {
  27176. "description": "最低价",
  27177. "type": "number"
  27178. },
  27179. "o": {
  27180. "description": "开盘价",
  27181. "type": "number"
  27182. },
  27183. "s": {
  27184. "description": "结算价,日线周期(包括)以上才有",
  27185. "type": "number"
  27186. },
  27187. "ts": {
  27188. "description": "时间",
  27189. "type": "string"
  27190. },
  27191. "tt": {
  27192. "description": "总金额",
  27193. "type": "number"
  27194. },
  27195. "tv": {
  27196. "description": "总量",
  27197. "type": "integer"
  27198. }
  27199. }
  27200. },
  27201. "quote.HistoryTikData": {
  27202. "type": "object",
  27203. "properties": {
  27204. "AV": {
  27205. "description": "卖量",
  27206. "type": "integer"
  27207. },
  27208. "Ask": {
  27209. "description": "卖价",
  27210. "type": "number"
  27211. },
  27212. "BV": {
  27213. "description": "买量",
  27214. "type": "integer"
  27215. },
  27216. "Bid": {
  27217. "description": "买价",
  27218. "type": "number"
  27219. },
  27220. "HI": {
  27221. "description": "单笔持仓",
  27222. "type": "integer"
  27223. },
  27224. "HV": {
  27225. "description": "持仓量",
  27226. "type": "integer"
  27227. },
  27228. "PE": {
  27229. "description": "现价",
  27230. "type": "number"
  27231. },
  27232. "TDR": {
  27233. "description": "交易方向,0:买 1:卖",
  27234. "type": "integer"
  27235. },
  27236. "TK": {
  27237. "description": "交易类型",
  27238. "type": "integer"
  27239. },
  27240. "TS": {
  27241. "description": "行情时间文本",
  27242. "type": "string"
  27243. },
  27244. "TT": {
  27245. "description": "现金额",
  27246. "type": "number"
  27247. },
  27248. "Vol": {
  27249. "description": "现量",
  27250. "type": "integer"
  27251. }
  27252. }
  27253. },
  27254. "quote.QueryQuoteDayRsp": {
  27255. "type": "object",
  27256. "properties": {
  27257. "ask": {
  27258. "description": "卖1",
  27259. "type": "number"
  27260. },
  27261. "ask10": {
  27262. "description": "卖10",
  27263. "type": "number"
  27264. },
  27265. "ask2": {
  27266. "description": "卖2",
  27267. "type": "number"
  27268. },
  27269. "ask3": {
  27270. "description": "卖3",
  27271. "type": "number"
  27272. },
  27273. "ask4": {
  27274. "description": "卖4",
  27275. "type": "number"
  27276. },
  27277. "ask5": {
  27278. "description": "卖5",
  27279. "type": "number"
  27280. },
  27281. "ask6": {
  27282. "description": "卖6",
  27283. "type": "number"
  27284. },
  27285. "ask7": {
  27286. "description": "卖7",
  27287. "type": "number"
  27288. },
  27289. "ask8": {
  27290. "description": "卖8",
  27291. "type": "number"
  27292. },
  27293. "ask9": {
  27294. "description": "卖9",
  27295. "type": "number"
  27296. },
  27297. "askorderid": {
  27298. "description": "卖单号1",
  27299. "type": "integer"
  27300. },
  27301. "askorderid2": {
  27302. "description": "卖单号2",
  27303. "type": "integer"
  27304. },
  27305. "askorderid3": {
  27306. "description": "卖单号3",
  27307. "type": "integer"
  27308. },
  27309. "askorderid4": {
  27310. "description": "卖单号4",
  27311. "type": "integer"
  27312. },
  27313. "askorderid5": {
  27314. "description": "卖单号5",
  27315. "type": "integer"
  27316. },
  27317. "askordervolume": {
  27318. "description": "卖单量1",
  27319. "type": "integer"
  27320. },
  27321. "askordervolume10": {
  27322. "description": "卖单量10",
  27323. "type": "integer"
  27324. },
  27325. "askordervolume2": {
  27326. "description": "卖单量2",
  27327. "type": "integer"
  27328. },
  27329. "askordervolume3": {
  27330. "description": "卖单量3",
  27331. "type": "integer"
  27332. },
  27333. "askordervolume4": {
  27334. "description": "卖单量4",
  27335. "type": "integer"
  27336. },
  27337. "askordervolume5": {
  27338. "description": "卖单量5",
  27339. "type": "integer"
  27340. },
  27341. "askordervolume6": {
  27342. "description": "卖单量6",
  27343. "type": "integer"
  27344. },
  27345. "askordervolume7": {
  27346. "description": "卖单量7",
  27347. "type": "integer"
  27348. },
  27349. "askordervolume8": {
  27350. "description": "卖单量8",
  27351. "type": "integer"
  27352. },
  27353. "askordervolume9": {
  27354. "description": "卖单量9",
  27355. "type": "integer"
  27356. },
  27357. "askqueueinfo": {
  27358. "description": "大利市卖港股用",
  27359. "type": "string"
  27360. },
  27361. "askvolume": {
  27362. "description": "卖量1",
  27363. "type": "integer"
  27364. },
  27365. "askvolume10": {
  27366. "description": "卖量10",
  27367. "type": "integer"
  27368. },
  27369. "askvolume2": {
  27370. "description": "卖量2",
  27371. "type": "integer"
  27372. },
  27373. "askvolume3": {
  27374. "description": "卖量3",
  27375. "type": "integer"
  27376. },
  27377. "askvolume4": {
  27378. "description": "卖量4",
  27379. "type": "integer"
  27380. },
  27381. "askvolume5": {
  27382. "description": "卖量5",
  27383. "type": "integer"
  27384. },
  27385. "askvolume6": {
  27386. "description": "卖量6",
  27387. "type": "integer"
  27388. },
  27389. "askvolume7": {
  27390. "description": "卖量7",
  27391. "type": "integer"
  27392. },
  27393. "askvolume8": {
  27394. "description": "卖量8",
  27395. "type": "integer"
  27396. },
  27397. "askvolume9": {
  27398. "description": "卖量9",
  27399. "type": "integer"
  27400. },
  27401. "averageprice": {
  27402. "description": "均价",
  27403. "type": "number"
  27404. },
  27405. "bid": {
  27406. "description": "买1",
  27407. "type": "number"
  27408. },
  27409. "bid10": {
  27410. "description": "买10",
  27411. "type": "number"
  27412. },
  27413. "bid2": {
  27414. "description": "买2",
  27415. "type": "number"
  27416. },
  27417. "bid3": {
  27418. "description": "买3",
  27419. "type": "number"
  27420. },
  27421. "bid4": {
  27422. "description": "买4",
  27423. "type": "number"
  27424. },
  27425. "bid5": {
  27426. "description": "买5",
  27427. "type": "number"
  27428. },
  27429. "bid6": {
  27430. "description": "买6",
  27431. "type": "number"
  27432. },
  27433. "bid7": {
  27434. "description": "买7",
  27435. "type": "number"
  27436. },
  27437. "bid8": {
  27438. "description": "买8",
  27439. "type": "number"
  27440. },
  27441. "bid9": {
  27442. "description": "买9",
  27443. "type": "number"
  27444. },
  27445. "bidorderid": {
  27446. "description": "买单号1",
  27447. "type": "integer"
  27448. },
  27449. "bidorderid2": {
  27450. "description": "买单号2",
  27451. "type": "integer"
  27452. },
  27453. "bidorderid3": {
  27454. "description": "买单号3",
  27455. "type": "integer"
  27456. },
  27457. "bidorderid4": {
  27458. "description": "买单号4",
  27459. "type": "integer"
  27460. },
  27461. "bidorderid5": {
  27462. "description": "买单号5",
  27463. "type": "integer"
  27464. },
  27465. "bidordervolume": {
  27466. "description": "买单量1",
  27467. "type": "integer"
  27468. },
  27469. "bidordervolume10": {
  27470. "description": "买单量10",
  27471. "type": "integer"
  27472. },
  27473. "bidordervolume2": {
  27474. "description": "买单量2",
  27475. "type": "integer"
  27476. },
  27477. "bidordervolume3": {
  27478. "description": "买单量3",
  27479. "type": "integer"
  27480. },
  27481. "bidordervolume4": {
  27482. "description": "买单量4",
  27483. "type": "integer"
  27484. },
  27485. "bidordervolume5": {
  27486. "description": "买单量5",
  27487. "type": "integer"
  27488. },
  27489. "bidordervolume6": {
  27490. "description": "买单量6",
  27491. "type": "integer"
  27492. },
  27493. "bidordervolume7": {
  27494. "description": "买单量7",
  27495. "type": "integer"
  27496. },
  27497. "bidordervolume8": {
  27498. "description": "买单量8",
  27499. "type": "integer"
  27500. },
  27501. "bidordervolume9": {
  27502. "description": "买单量9",
  27503. "type": "integer"
  27504. },
  27505. "bidqueueinfo": {
  27506. "description": "大利市买港股用",
  27507. "type": "string"
  27508. },
  27509. "bidvolume": {
  27510. "description": "买量1",
  27511. "type": "integer"
  27512. },
  27513. "bidvolume10": {
  27514. "description": "买量10",
  27515. "type": "integer"
  27516. },
  27517. "bidvolume2": {
  27518. "description": "买量2",
  27519. "type": "integer"
  27520. },
  27521. "bidvolume3": {
  27522. "description": "买量3",
  27523. "type": "integer"
  27524. },
  27525. "bidvolume4": {
  27526. "description": "买量4",
  27527. "type": "integer"
  27528. },
  27529. "bidvolume5": {
  27530. "description": "买量5",
  27531. "type": "integer"
  27532. },
  27533. "bidvolume6": {
  27534. "description": "买量6",
  27535. "type": "integer"
  27536. },
  27537. "bidvolume7": {
  27538. "description": "买量7",
  27539. "type": "integer"
  27540. },
  27541. "bidvolume8": {
  27542. "description": "买量8",
  27543. "type": "integer"
  27544. },
  27545. "bidvolume9": {
  27546. "description": "买量9",
  27547. "type": "integer"
  27548. },
  27549. "calloptionpremiums": {
  27550. "description": "认购期权1",
  27551. "type": "integer"
  27552. },
  27553. "calloptionpremiums2": {
  27554. "description": "认购期权2",
  27555. "type": "integer"
  27556. },
  27557. "calloptionpremiums3": {
  27558. "description": "认购期权3",
  27559. "type": "integer"
  27560. },
  27561. "calloptionpremiums4": {
  27562. "description": "认购期权4",
  27563. "type": "integer"
  27564. },
  27565. "calloptionpremiums5": {
  27566. "description": "认购期权5",
  27567. "type": "integer"
  27568. },
  27569. "cleartime": {
  27570. "description": "清盘时间",
  27571. "type": "integer"
  27572. },
  27573. "exchangecode": {
  27574. "description": "交易所代码",
  27575. "type": "integer"
  27576. },
  27577. "exchangedate": {
  27578. "description": "交易日",
  27579. "type": "integer"
  27580. },
  27581. "goodscode": {
  27582. "description": "商品代码",
  27583. "type": "string"
  27584. },
  27585. "grepmarketprice": {
  27586. "description": "暗盘价 港股专用",
  27587. "type": "number"
  27588. },
  27589. "highest": {
  27590. "description": "最高价",
  27591. "type": "number"
  27592. },
  27593. "holdincrement": {
  27594. "description": "单笔持仓",
  27595. "type": "integer"
  27596. },
  27597. "holdvolume": {
  27598. "description": "持仓",
  27599. "type": "integer"
  27600. },
  27601. "iep": {
  27602. "description": "平衡价 港股专用",
  27603. "type": "number"
  27604. },
  27605. "iev": {
  27606. "description": "平衡量 港股专用",
  27607. "type": "number"
  27608. },
  27609. "inventory": {
  27610. "description": "库存",
  27611. "type": "integer"
  27612. },
  27613. "iscleared": {
  27614. "description": "是否清盘标志",
  27615. "type": "integer"
  27616. },
  27617. "issettled": {
  27618. "description": "是否结算标志",
  27619. "type": "integer"
  27620. },
  27621. "last": {
  27622. "description": "最新价",
  27623. "type": "number"
  27624. },
  27625. "lastlot": {
  27626. "description": "最新成交手数",
  27627. "type": "integer"
  27628. },
  27629. "lasttime": {
  27630. "description": "行情时间(只有现价变化行情时间才变化)",
  27631. "type": "string"
  27632. },
  27633. "lastturnover": {
  27634. "description": "最新成交金额",
  27635. "type": "number"
  27636. },
  27637. "lastvolume": {
  27638. "description": "最新成交量",
  27639. "type": "integer"
  27640. },
  27641. "limitdown": {
  27642. "description": "跌停价",
  27643. "type": "number"
  27644. },
  27645. "limitup": {
  27646. "description": "涨停价",
  27647. "type": "number"
  27648. },
  27649. "lowest": {
  27650. "description": "最低价",
  27651. "type": "number"
  27652. },
  27653. "nontotalholdervolume": {
  27654. "description": "非交易持仓量",
  27655. "type": "integer"
  27656. },
  27657. "nontotallot": {
  27658. "description": "非交易总手数",
  27659. "type": "integer"
  27660. },
  27661. "nontotalturnover": {
  27662. "description": "非交易总金额",
  27663. "type": "integer"
  27664. },
  27665. "nontotalvolume": {
  27666. "description": "非交易总量",
  27667. "type": "integer"
  27668. },
  27669. "opened": {
  27670. "description": "开盘价",
  27671. "type": "number"
  27672. },
  27673. "opentime": {
  27674. "description": "开盘时间",
  27675. "type": "string"
  27676. },
  27677. "orderid": {
  27678. "description": "序号",
  27679. "type": "integer"
  27680. },
  27681. "preclose": {
  27682. "description": "昨收",
  27683. "type": "number"
  27684. },
  27685. "preholdvolume": {
  27686. "description": "昨持仓",
  27687. "type": "integer"
  27688. },
  27689. "presettle": {
  27690. "description": "昨结价",
  27691. "type": "number"
  27692. },
  27693. "publictradetype": {
  27694. "description": "公共交易标志类型 港股专用",
  27695. "type": "string"
  27696. },
  27697. "putoptionpremiums": {
  27698. "description": "认沽期权1",
  27699. "type": "integer"
  27700. },
  27701. "putoptionpremiums2": {
  27702. "description": "认沽期权2",
  27703. "type": "integer"
  27704. },
  27705. "putoptionpremiums3": {
  27706. "description": "认沽期权3",
  27707. "type": "integer"
  27708. },
  27709. "putoptionpremiums4": {
  27710. "description": "认沽期权4",
  27711. "type": "integer"
  27712. },
  27713. "putoptionpremiums5": {
  27714. "description": "认沽期权5",
  27715. "type": "integer"
  27716. },
  27717. "settle": {
  27718. "description": "结算价",
  27719. "type": "number"
  27720. },
  27721. "strikeprice": {
  27722. "description": "发行价",
  27723. "type": "number"
  27724. },
  27725. "totalaskvolume": {
  27726. "description": "内盘",
  27727. "type": "integer"
  27728. },
  27729. "totalbidvolume": {
  27730. "description": "外盘",
  27731. "type": "integer"
  27732. },
  27733. "totallot": {
  27734. "description": "总手数",
  27735. "type": "integer"
  27736. },
  27737. "totalturnover": {
  27738. "description": "总金额",
  27739. "type": "number"
  27740. },
  27741. "totalvolume": {
  27742. "description": "总量",
  27743. "type": "integer"
  27744. },
  27745. "utclasttime": {
  27746. "description": "utc的行情时间",
  27747. "type": "string"
  27748. }
  27749. }
  27750. },
  27751. "quote.QueryTSDataRsp": {
  27752. "type": "object",
  27753. "properties": {
  27754. "Count": {
  27755. "description": "交易日应有数据个数",
  27756. "type": "integer"
  27757. },
  27758. "decimalPlace": {
  27759. "description": "小数位",
  27760. "type": "integer"
  27761. },
  27762. "endTime": {
  27763. "description": "结束时间",
  27764. "type": "string"
  27765. },
  27766. "goodsCode": {
  27767. "description": "商品代码",
  27768. "type": "string"
  27769. },
  27770. "historyDatas": {
  27771. "description": "历史数据",
  27772. "type": "array",
  27773. "items": {
  27774. "$ref": "#/definitions/quote.HistoryData"
  27775. }
  27776. },
  27777. "outGoodsCode": {
  27778. "description": "外部商品代码",
  27779. "type": "string"
  27780. },
  27781. "preSettle": {
  27782. "description": "昨结价",
  27783. "type": "number"
  27784. },
  27785. "runSteps": {
  27786. "description": "交易日开休市计划",
  27787. "type": "array",
  27788. "items": {
  27789. "$ref": "#/definitions/quote.TSDataRunStep"
  27790. }
  27791. },
  27792. "startTime": {
  27793. "description": "开始时间",
  27794. "type": "string"
  27795. },
  27796. "tradeDate": {
  27797. "description": "交易日",
  27798. "type": "string"
  27799. }
  27800. }
  27801. },
  27802. "quote.TSDataRunStep": {
  27803. "type": "object",
  27804. "properties": {
  27805. "end": {
  27806. "description": "真实结束时间",
  27807. "type": "string"
  27808. },
  27809. "endflag": {
  27810. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  27811. "type": "integer"
  27812. },
  27813. "endtime": {
  27814. "description": "结束时间(HH:mm)",
  27815. "type": "string"
  27816. },
  27817. "endweekday": {
  27818. "description": "结束周几",
  27819. "type": "integer"
  27820. },
  27821. "groupid": {
  27822. "description": "分组ID",
  27823. "type": "integer"
  27824. },
  27825. "runstep": {
  27826. "description": "运行阶段 - 2:连续交易",
  27827. "type": "integer"
  27828. },
  27829. "sectionid": {
  27830. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  27831. "type": "integer"
  27832. },
  27833. "start": {
  27834. "description": "真实开始时间",
  27835. "type": "string"
  27836. },
  27837. "startflag": {
  27838. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  27839. "type": "integer"
  27840. },
  27841. "starttime": {
  27842. "description": "起始时间(HH:mm)",
  27843. "type": "string"
  27844. },
  27845. "startweekday": {
  27846. "description": "起始周几",
  27847. "type": "integer"
  27848. },
  27849. "tradeweekday": {
  27850. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  27851. "type": "integer"
  27852. }
  27853. }
  27854. },
  27855. "szdz.QueryConvertLogRsp": {
  27856. "type": "object",
  27857. "required": [
  27858. "logid"
  27859. ],
  27860. "properties": {
  27861. "accountid": {
  27862. "description": "资金账户ID",
  27863. "type": "integer"
  27864. },
  27865. "clientticket": {
  27866. "description": "客户端流水号",
  27867. "type": "string"
  27868. },
  27869. "converttype": {
  27870. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  27871. "type": "integer"
  27872. },
  27873. "createtime": {
  27874. "description": "记账时间",
  27875. "type": "string"
  27876. },
  27877. "daymaxvalue": {
  27878. "description": "配置当日最大转入限制",
  27879. "type": "number"
  27880. },
  27881. "daymaxvalue2": {
  27882. "description": "配置当日最大转入限制(转入)",
  27883. "type": "number"
  27884. },
  27885. "goodscode": {
  27886. "description": "商品代码",
  27887. "type": "string"
  27888. },
  27889. "goodsname": {
  27890. "description": "商品名称",
  27891. "type": "string"
  27892. },
  27893. "handlestatus": {
  27894. "description": "处理状态",
  27895. "type": "integer"
  27896. },
  27897. "innergoodsid": {
  27898. "description": "内部商品ID",
  27899. "type": "integer"
  27900. },
  27901. "inratio": {
  27902. "description": "配置转入比值",
  27903. "type": "integer"
  27904. },
  27905. "invalue": {
  27906. "description": "目标值",
  27907. "type": "number"
  27908. },
  27909. "logid": {
  27910. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27911. "type": "integer"
  27912. },
  27913. "mobile": {
  27914. "description": "手机号码(加密存储)",
  27915. "type": "string"
  27916. },
  27917. "outergoodscode": {
  27918. "description": "外部商品代码[JD\\PD]",
  27919. "type": "string"
  27920. },
  27921. "outratio": {
  27922. "description": "配置转出比值",
  27923. "type": "integer"
  27924. },
  27925. "outvalue": {
  27926. "description": "源值",
  27927. "type": "number"
  27928. },
  27929. "pddecimalplace": {
  27930. "description": "PD小数位",
  27931. "type": "integer"
  27932. },
  27933. "qty": {
  27934. "description": "数量",
  27935. "type": "string"
  27936. },
  27937. "remark": {
  27938. "description": "备注",
  27939. "type": "string"
  27940. },
  27941. "sessionid": {
  27942. "description": "会话ID",
  27943. "type": "integer"
  27944. },
  27945. "timemaxvalue": {
  27946. "description": "配置单次最大转入限制",
  27947. "type": "number"
  27948. },
  27949. "timemaxvalue2": {
  27950. "description": "配置单次最大转入限制(转入)",
  27951. "type": "number"
  27952. },
  27953. "timeminvalue": {
  27954. "description": "配置单次最小数量限制",
  27955. "type": "number"
  27956. },
  27957. "timeminvalue2": {
  27958. "description": "配置单次最小数量限制(转入)",
  27959. "type": "number"
  27960. },
  27961. "tradedate": {
  27962. "description": "交易日(yyyyMMdd)",
  27963. "type": "string"
  27964. },
  27965. "userid": {
  27966. "description": "用户ID",
  27967. "type": "integer"
  27968. }
  27969. }
  27970. },
  27971. "szdz.QueryGoodsPickupRsp": {
  27972. "type": "object",
  27973. "required": [
  27974. "takeorderid"
  27975. ],
  27976. "properties": {
  27977. "accountid": {
  27978. "description": "账户ID",
  27979. "type": "integer"
  27980. },
  27981. "address": {
  27982. "description": "提货人详细地址",
  27983. "type": "string"
  27984. },
  27985. "auditer": {
  27986. "description": "审核人",
  27987. "type": "integer"
  27988. },
  27989. "audittime": {
  27990. "description": "审核时间",
  27991. "type": "string"
  27992. },
  27993. "cardnum": {
  27994. "description": "提货人证件号码",
  27995. "type": "string"
  27996. },
  27997. "cardtypeid": {
  27998. "description": "提货人证件类型",
  27999. "type": "integer"
  28000. },
  28001. "checkremark": {
  28002. "description": "审核备注",
  28003. "type": "string"
  28004. },
  28005. "goodscode": {
  28006. "description": "商品代码",
  28007. "type": "string"
  28008. },
  28009. "goodsid": {
  28010. "description": "商品ID",
  28011. "type": "integer"
  28012. },
  28013. "goodsname": {
  28014. "description": "商品名称",
  28015. "type": "string"
  28016. },
  28017. "handlestatus": {
  28018. "description": "处理状态",
  28019. "type": "integer"
  28020. },
  28021. "marketid": {
  28022. "description": "市场ID",
  28023. "type": "integer"
  28024. },
  28025. "phonenum": {
  28026. "description": "提货人联系方式",
  28027. "type": "string"
  28028. },
  28029. "qty": {
  28030. "description": "提货数量",
  28031. "type": "number"
  28032. },
  28033. "recivername": {
  28034. "description": "提货人姓名",
  28035. "type": "string"
  28036. },
  28037. "reqtime": {
  28038. "description": "更新时间",
  28039. "type": "string"
  28040. },
  28041. "takemode": {
  28042. "description": "提货方式 - 2:自提 3:配送",
  28043. "type": "integer"
  28044. },
  28045. "takeorderid": {
  28046. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28047. "type": "string"
  28048. },
  28049. "takeorderstatus": {
  28050. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  28051. "type": "integer"
  28052. },
  28053. "takeremark": {
  28054. "description": "提货备注",
  28055. "type": "string"
  28056. },
  28057. "tradedate": {
  28058. "description": "交易日(yyyyMMdd)",
  28059. "type": "string"
  28060. },
  28061. "userid": {
  28062. "description": "用户ID",
  28063. "type": "integer"
  28064. }
  28065. }
  28066. },
  28067. "szdz.QueryRecieptOrderRsp": {
  28068. "type": "object",
  28069. "required": [
  28070. "ordertime"
  28071. ],
  28072. "properties": {
  28073. "accountName": {
  28074. "description": "所属账号名称(已脱敏)",
  28075. "type": "string"
  28076. },
  28077. "accountid": {
  28078. "description": "资金账号",
  28079. "type": "integer"
  28080. },
  28081. "buyorsell": {
  28082. "description": "方向 - 0:买 1:卖",
  28083. "type": "integer"
  28084. },
  28085. "enableqty": {
  28086. "description": "可摘数量",
  28087. "type": "integer"
  28088. },
  28089. "goodscode": {
  28090. "description": "商品代码",
  28091. "type": "string"
  28092. },
  28093. "goodsid": {
  28094. "description": "商品ID",
  28095. "type": "integer"
  28096. },
  28097. "goodsname": {
  28098. "description": "商品名称",
  28099. "type": "string"
  28100. },
  28101. "orderid": {
  28102. "description": "委托单号",
  28103. "type": "string"
  28104. },
  28105. "orderprice": {
  28106. "description": "委托价格",
  28107. "type": "number"
  28108. },
  28109. "ordertime": {
  28110. "description": "委托时间",
  28111. "type": "string"
  28112. },
  28113. "tradedate": {
  28114. "description": "交易日(yyyyMMdd)",
  28115. "type": "string"
  28116. }
  28117. }
  28118. },
  28119. "szdz.QuerySZDZTradePositionRsp": {
  28120. "type": "object",
  28121. "properties": {
  28122. "accountid": {
  28123. "description": "账号Id",
  28124. "type": "integer"
  28125. },
  28126. "agreeunit": {
  28127. "description": "合约单位",
  28128. "type": "number"
  28129. },
  28130. "averageprice": {
  28131. "description": "持仓均价",
  28132. "type": "number"
  28133. },
  28134. "buyorsell": {
  28135. "description": "方向 - 0:买 1:卖",
  28136. "type": "integer"
  28137. },
  28138. "closetotalqty": {
  28139. "description": "平仓总数量",
  28140. "type": "integer"
  28141. },
  28142. "curholderamount": {
  28143. "description": "当前持仓总金额",
  28144. "type": "number"
  28145. },
  28146. "curpositionqty": {
  28147. "description": "当前持仓总数量",
  28148. "type": "integer"
  28149. },
  28150. "currencyid": {
  28151. "description": "报价货币ID",
  28152. "type": "integer"
  28153. },
  28154. "curtdposition": {
  28155. "description": "期末今日头寸",
  28156. "type": "integer"
  28157. },
  28158. "decimalplace": {
  28159. "description": "报价小数位",
  28160. "type": "integer"
  28161. },
  28162. "enableqty": {
  28163. "description": "可用量",
  28164. "type": "integer"
  28165. },
  28166. "fretdposition": {
  28167. "description": "冻结今日头寸",
  28168. "type": "integer"
  28169. },
  28170. "frozenqty": {
  28171. "description": "持仓冻结数量",
  28172. "type": "integer"
  28173. },
  28174. "goodscode": {
  28175. "description": "商品代码(内部)",
  28176. "type": "string"
  28177. },
  28178. "goodsid": {
  28179. "description": "商品Id",
  28180. "type": "integer"
  28181. },
  28182. "goodsname": {
  28183. "description": "商品名称",
  28184. "type": "string"
  28185. },
  28186. "goodunit": {
  28187. "description": "报价单位",
  28188. "type": "string"
  28189. },
  28190. "goodunitid": {
  28191. "description": "报价单位ID",
  28192. "type": "integer"
  28193. },
  28194. "holderamount": {
  28195. "description": "期初持仓总金额",
  28196. "type": "number"
  28197. },
  28198. "marketid": {
  28199. "description": "市场ID",
  28200. "type": "integer"
  28201. },
  28202. "openreqqty": {
  28203. "description": "开仓申请数量",
  28204. "type": "integer"
  28205. },
  28206. "opentotalqty": {
  28207. "description": "开仓总数量",
  28208. "type": "integer"
  28209. },
  28210. "otherfrozenqty": {
  28211. "description": "持仓其他冻结数量(交割冻结)",
  28212. "type": "integer"
  28213. },
  28214. "positionqty": {
  28215. "description": "期初持仓数量",
  28216. "type": "integer"
  28217. },
  28218. "szdz3freezqty": {
  28219. "description": "尚志大宗转换冻结总数量",
  28220. "type": "integer"
  28221. },
  28222. "tnqty": {
  28223. "description": "T+N冻结总量",
  28224. "type": "integer"
  28225. },
  28226. "tnusedqty": {
  28227. "description": "T+N使用量",
  28228. "type": "integer"
  28229. },
  28230. "trademode": {
  28231. "description": "交易模式",
  28232. "type": "integer"
  28233. },
  28234. "usedmargin": {
  28235. "description": "占用保证金",
  28236. "type": "number"
  28237. }
  28238. }
  28239. },
  28240. "taaccount.QueryAmountLogRsp": {
  28241. "type": "object",
  28242. "required": [
  28243. "accountid",
  28244. "amount",
  28245. "amountadjusttype",
  28246. "autoid",
  28247. "balance",
  28248. "createtime",
  28249. "currentbalance",
  28250. "operatetype"
  28251. ],
  28252. "properties": {
  28253. "OPERATETYPENAME": {
  28254. "description": "资金操作类型名称",
  28255. "type": "string"
  28256. },
  28257. "accountid": {
  28258. "description": "资金账户ID",
  28259. "type": "integer"
  28260. },
  28261. "agoodscode": {
  28262. "description": "竞拍商品代码",
  28263. "type": "string"
  28264. },
  28265. "agoodsname": {
  28266. "description": "竞拍商品名称",
  28267. "type": "string"
  28268. },
  28269. "amount": {
  28270. "description": "资金金额",
  28271. "type": "number"
  28272. },
  28273. "amountadjusttype": {
  28274. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  28275. "type": "integer"
  28276. },
  28277. "autoid": {
  28278. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  28279. "type": "integer"
  28280. },
  28281. "balance": {
  28282. "description": "期初余额",
  28283. "type": "number"
  28284. },
  28285. "businesscode": {
  28286. "description": "业务编号",
  28287. "type": "integer"
  28288. },
  28289. "createtime": {
  28290. "description": "发生时间",
  28291. "type": "string"
  28292. },
  28293. "currencyid": {
  28294. "description": "币种ID",
  28295. "type": "integer"
  28296. },
  28297. "currentbalance": {
  28298. "description": "期末余额(变动后金额)",
  28299. "type": "number"
  28300. },
  28301. "dgoodscode": {
  28302. "description": "交割商品代码",
  28303. "type": "string"
  28304. },
  28305. "dgoodsname": {
  28306. "description": "交割商品名称",
  28307. "type": "string"
  28308. },
  28309. "goodscode": {
  28310. "description": "商品代码",
  28311. "type": "string"
  28312. },
  28313. "goodsid": {
  28314. "description": "商品ID",
  28315. "type": "integer"
  28316. },
  28317. "goodsname": {
  28318. "description": "商品名称",
  28319. "type": "string"
  28320. },
  28321. "marketid": {
  28322. "description": "市场ID",
  28323. "type": "integer"
  28324. },
  28325. "marketname": {
  28326. "description": "市场名称",
  28327. "type": "string"
  28328. },
  28329. "moneyticket": {
  28330. "description": "资金流水号:银行端流水号",
  28331. "type": "integer"
  28332. },
  28333. "operatetype": {
  28334. "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:营销收款",
  28335. "type": "integer"
  28336. },
  28337. "relationorderid": {
  28338. "description": "关联单号",
  28339. "type": "string"
  28340. },
  28341. "remark": {
  28342. "description": "备注",
  28343. "type": "string"
  28344. },
  28345. "trademode": {
  28346. "description": "交易模式",
  28347. "type": "integer"
  28348. }
  28349. }
  28350. },
  28351. "taaccount.QueryHisAmountLogRsp": {
  28352. "type": "object",
  28353. "required": [
  28354. "accountid",
  28355. "amount",
  28356. "amountadjusttype",
  28357. "autoid",
  28358. "balance",
  28359. "createtime",
  28360. "currentbalance",
  28361. "histradedate",
  28362. "operatetype"
  28363. ],
  28364. "properties": {
  28365. "OPERATETYPENAME": {
  28366. "description": "资金操作类型名称",
  28367. "type": "string"
  28368. },
  28369. "accountid": {
  28370. "description": "资金账户ID",
  28371. "type": "integer"
  28372. },
  28373. "agoodscode": {
  28374. "description": "竞拍商品代码",
  28375. "type": "string"
  28376. },
  28377. "agoodsname": {
  28378. "description": "竞拍商品名称",
  28379. "type": "string"
  28380. },
  28381. "amount": {
  28382. "description": "资金金额",
  28383. "type": "number"
  28384. },
  28385. "amountadjusttype": {
  28386. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  28387. "type": "integer"
  28388. },
  28389. "autoid": {
  28390. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  28391. "type": "integer"
  28392. },
  28393. "balance": {
  28394. "description": "期初余额",
  28395. "type": "number"
  28396. },
  28397. "businesscode": {
  28398. "description": "业务编号",
  28399. "type": "integer"
  28400. },
  28401. "createtime": {
  28402. "description": "发生时间",
  28403. "type": "string"
  28404. },
  28405. "currencyid": {
  28406. "description": "币种ID",
  28407. "type": "integer"
  28408. },
  28409. "currentbalance": {
  28410. "description": "期末余额(变动后金额)",
  28411. "type": "number"
  28412. },
  28413. "dgoodscode": {
  28414. "description": "交割商品代码",
  28415. "type": "string"
  28416. },
  28417. "dgoodsname": {
  28418. "description": "交割商品名称",
  28419. "type": "string"
  28420. },
  28421. "goodscode": {
  28422. "description": "商品代码",
  28423. "type": "string"
  28424. },
  28425. "goodsid": {
  28426. "description": "商品ID",
  28427. "type": "integer"
  28428. },
  28429. "goodsname": {
  28430. "description": "商品名称",
  28431. "type": "string"
  28432. },
  28433. "histradedate": {
  28434. "description": "历史交易日",
  28435. "type": "string"
  28436. },
  28437. "isvaliddata": {
  28438. "description": "是否有效 - 0:无效 1:有效",
  28439. "type": "integer"
  28440. },
  28441. "marketid": {
  28442. "description": "市场ID",
  28443. "type": "integer"
  28444. },
  28445. "marketname": {
  28446. "description": "市场名称",
  28447. "type": "string"
  28448. },
  28449. "moneyticket": {
  28450. "description": "资金流水号:银行端流水号",
  28451. "type": "integer"
  28452. },
  28453. "operatetype": {
  28454. "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:营销收款",
  28455. "type": "integer"
  28456. },
  28457. "relationorderid": {
  28458. "description": "关联单号",
  28459. "type": "string"
  28460. },
  28461. "remark": {
  28462. "description": "备注",
  28463. "type": "string"
  28464. },
  28465. "trademode": {
  28466. "description": "交易模式",
  28467. "type": "integer"
  28468. }
  28469. }
  28470. },
  28471. "trade.QueryRecieptOrderRsp": {
  28472. "type": "object",
  28473. "required": [
  28474. "ordertime"
  28475. ],
  28476. "properties": {
  28477. "accountName": {
  28478. "description": "所属账号名称(已脱敏)",
  28479. "type": "string"
  28480. },
  28481. "accountid": {
  28482. "description": "资金账号",
  28483. "type": "integer"
  28484. },
  28485. "buyorsell": {
  28486. "description": "方向 - 0:买 1:卖",
  28487. "type": "integer"
  28488. },
  28489. "enableqty": {
  28490. "description": "可摘数量",
  28491. "type": "integer"
  28492. },
  28493. "goodscode": {
  28494. "description": "商品代码",
  28495. "type": "string"
  28496. },
  28497. "goodsid": {
  28498. "description": "商品ID",
  28499. "type": "integer"
  28500. },
  28501. "goodsname": {
  28502. "description": "商品名称",
  28503. "type": "string"
  28504. },
  28505. "orderid": {
  28506. "description": "委托单号",
  28507. "type": "string"
  28508. },
  28509. "orderprice": {
  28510. "description": "委托价格",
  28511. "type": "number"
  28512. },
  28513. "ordertime": {
  28514. "description": "委托时间",
  28515. "type": "string"
  28516. },
  28517. "tradedate": {
  28518. "description": "交易日(yyyyMMdd)",
  28519. "type": "string"
  28520. }
  28521. }
  28522. },
  28523. "user.LoginQueryRsp": {
  28524. "type": "object",
  28525. "properties": {
  28526. "areaRoles": {
  28527. "description": "所属角色信息",
  28528. "type": "array",
  28529. "items": {
  28530. "$ref": "#/definitions/models.Arearole"
  28531. }
  28532. },
  28533. "externalExchanges": {
  28534. "description": "外部交易所",
  28535. "type": "array",
  28536. "items": {
  28537. "$ref": "#/definitions/models.Externalexchange"
  28538. }
  28539. },
  28540. "goodsgroups": {
  28541. "description": "商品组",
  28542. "type": "array",
  28543. "items": {
  28544. "$ref": "#/definitions/models.Goodsgroup"
  28545. }
  28546. },
  28547. "loginAccount": {
  28548. "description": "登录账号",
  28549. "type": "object",
  28550. "$ref": "#/definitions/models.Loginaccount"
  28551. },
  28552. "markets": {
  28553. "description": "市场",
  28554. "type": "array",
  28555. "items": {
  28556. "$ref": "#/definitions/models.Market"
  28557. }
  28558. },
  28559. "systemParams": {
  28560. "description": "系统参数",
  28561. "type": "array",
  28562. "items": {
  28563. "$ref": "#/definitions/models.Systemparam"
  28564. }
  28565. },
  28566. "userAccount": {
  28567. "description": "用户账号",
  28568. "type": "object",
  28569. "$ref": "#/definitions/models.Useraccount"
  28570. },
  28571. "userInfo": {
  28572. "description": "用户信息",
  28573. "type": "object",
  28574. "$ref": "#/definitions/models.Userinfo"
  28575. },
  28576. "username": {
  28577. "description": "用户姓名",
  28578. "type": "string"
  28579. }
  28580. }
  28581. }
  28582. },
  28583. "securityDefinitions": {
  28584. "ApiKeyAuth": {
  28585. "type": "apiKey",
  28586. "name": "Authorization",
  28587. "in": "header"
  28588. }
  28589. }
  28590. }`
  28591. type swaggerInfo struct {
  28592. Version string
  28593. Host string
  28594. BasePath string
  28595. Schemes []string
  28596. Title string
  28597. Description string
  28598. }
  28599. // SwaggerInfo holds exported Swagger Info so clients can modify it
  28600. var SwaggerInfo = swaggerInfo{
  28601. Version: "1.0",
  28602. Host: "",
  28603. BasePath: "/api",
  28604. Schemes: []string{},
  28605. Title: "MTP2.0 查询服务 API",
  28606. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  28607. }
  28608. type s struct{}
  28609. func (s *s) ReadDoc() string {
  28610. sInfo := SwaggerInfo
  28611. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  28612. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  28613. "marshal": func(v interface{}) string {
  28614. a, _ := json.Marshal(v)
  28615. return string(a)
  28616. },
  28617. }).Parse(doc)
  28618. if err != nil {
  28619. return doc
  28620. }
  28621. var tpl bytes.Buffer
  28622. if err := t.Execute(&tpl, sInfo); err != nil {
  28623. return doc
  28624. }
  28625. return tpl.String()
  28626. }
  28627. func init() {
  28628. swag.Register(swag.Name, &s{})
  28629. }