docs.go 1.0 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870
  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. "type": "integer",
  7644. "description": "商品id",
  7645. "name": "goodsid",
  7646. "in": "query"
  7647. },
  7648. {
  7649. "type": "string",
  7650. "description": "开始交易日(yyyymmdd)",
  7651. "name": "begindate",
  7652. "in": "query"
  7653. },
  7654. {
  7655. "type": "string",
  7656. "description": "结束交易日(yyyymmdd)",
  7657. "name": "enddate",
  7658. "in": "query"
  7659. },
  7660. {
  7661. "type": "string",
  7662. "description": "名称(模糊搜索账户)",
  7663. "name": "filtername",
  7664. "in": "query"
  7665. }
  7666. ],
  7667. "responses": {
  7668. "200": {
  7669. "description": "OK",
  7670. "schema": {
  7671. "type": "array",
  7672. "items": {
  7673. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7674. }
  7675. }
  7676. },
  7677. "500": {
  7678. "description": "Internal Server Error",
  7679. "schema": {
  7680. "$ref": "#/definitions/app.Response"
  7681. }
  7682. }
  7683. }
  7684. }
  7685. },
  7686. "/Qhj/QueryRStrategy": {
  7687. "get": {
  7688. "security": [
  7689. {
  7690. "ApiKeyAuth": []
  7691. }
  7692. ],
  7693. "produces": [
  7694. "application/json"
  7695. ],
  7696. "tags": [
  7697. "大连千海金"
  7698. ],
  7699. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7700. "parameters": [
  7701. {
  7702. "type": "integer",
  7703. "description": "用户ID",
  7704. "name": "userid",
  7705. "in": "query"
  7706. },
  7707. {
  7708. "type": "integer",
  7709. "description": "商品id",
  7710. "name": "goodsid",
  7711. "in": "query"
  7712. },
  7713. {
  7714. "type": "string",
  7715. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7716. "name": "status",
  7717. "in": "query"
  7718. },
  7719. {
  7720. "type": "string",
  7721. "description": "名称(模糊搜索账户)",
  7722. "name": "filtername",
  7723. "in": "query"
  7724. }
  7725. ],
  7726. "responses": {
  7727. "200": {
  7728. "description": "OK",
  7729. "schema": {
  7730. "type": "array",
  7731. "items": {
  7732. "$ref": "#/definitions/models.QhjRStrategy"
  7733. }
  7734. }
  7735. },
  7736. "500": {
  7737. "description": "Internal Server Error",
  7738. "schema": {
  7739. "$ref": "#/definitions/app.Response"
  7740. }
  7741. }
  7742. }
  7743. }
  7744. },
  7745. "/Qhj/QueryReckonPriceLog": {
  7746. "get": {
  7747. "security": [
  7748. {
  7749. "ApiKeyAuth": []
  7750. }
  7751. ],
  7752. "produces": [
  7753. "application/json"
  7754. ],
  7755. "tags": [
  7756. "大连千海金"
  7757. ],
  7758. "summary": "查询定投价(结算价)",
  7759. "parameters": [
  7760. {
  7761. "type": "integer",
  7762. "description": "商品ID",
  7763. "name": "goodsid",
  7764. "in": "query"
  7765. },
  7766. {
  7767. "type": "string",
  7768. "description": "交易日 格式(yyyymmdd)",
  7769. "name": "tradedate",
  7770. "in": "query"
  7771. }
  7772. ],
  7773. "responses": {
  7774. "200": {
  7775. "description": "OK",
  7776. "schema": {
  7777. "type": "array",
  7778. "items": {
  7779. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7780. }
  7781. }
  7782. },
  7783. "500": {
  7784. "description": "Internal Server Error",
  7785. "schema": {
  7786. "$ref": "#/definitions/app.Response"
  7787. }
  7788. }
  7789. }
  7790. }
  7791. },
  7792. "/Qhj/QuerySiteColumnDetail": {
  7793. "get": {
  7794. "security": [
  7795. {
  7796. "ApiKeyAuth": []
  7797. }
  7798. ],
  7799. "produces": [
  7800. "application/json"
  7801. ],
  7802. "tags": [
  7803. "大连千海金"
  7804. ],
  7805. "summary": "查询资讯",
  7806. "parameters": [
  7807. {
  7808. "type": "integer",
  7809. "description": "用户ID",
  7810. "name": "userid",
  7811. "in": "query",
  7812. "required": true
  7813. }
  7814. ],
  7815. "responses": {
  7816. "200": {
  7817. "description": "OK",
  7818. "schema": {
  7819. "type": "array",
  7820. "items": {
  7821. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7822. }
  7823. }
  7824. },
  7825. "500": {
  7826. "description": "Internal Server Error",
  7827. "schema": {
  7828. "$ref": "#/definitions/app.Response"
  7829. }
  7830. }
  7831. }
  7832. }
  7833. },
  7834. "/Qhj/QueryTradeGoodsPickup": {
  7835. "get": {
  7836. "security": [
  7837. {
  7838. "ApiKeyAuth": []
  7839. }
  7840. ],
  7841. "produces": [
  7842. "application/json"
  7843. ],
  7844. "tags": [
  7845. "大连千海金"
  7846. ],
  7847. "summary": "查询提货",
  7848. "parameters": [
  7849. {
  7850. "type": "integer",
  7851. "description": "用户ID",
  7852. "name": "userid",
  7853. "in": "query",
  7854. "required": true
  7855. },
  7856. {
  7857. "type": "integer",
  7858. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  7859. "name": "takeorderstatus",
  7860. "in": "query"
  7861. }
  7862. ],
  7863. "responses": {
  7864. "200": {
  7865. "description": "OK",
  7866. "schema": {
  7867. "type": "array",
  7868. "items": {
  7869. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7870. }
  7871. }
  7872. },
  7873. "500": {
  7874. "description": "Internal Server Error",
  7875. "schema": {
  7876. "$ref": "#/definitions/app.Response"
  7877. }
  7878. }
  7879. }
  7880. }
  7881. },
  7882. "/Qhj/QueryUserCollectConfig": {
  7883. "get": {
  7884. "security": [
  7885. {
  7886. "ApiKeyAuth": []
  7887. }
  7888. ],
  7889. "produces": [
  7890. "application/json"
  7891. ],
  7892. "tags": [
  7893. "大连千海金"
  7894. ],
  7895. "summary": "查询提现账户设置",
  7896. "parameters": [
  7897. {
  7898. "type": "integer",
  7899. "description": "用户ID",
  7900. "name": "userid",
  7901. "in": "query",
  7902. "required": true
  7903. }
  7904. ],
  7905. "responses": {
  7906. "200": {
  7907. "description": "OK",
  7908. "schema": {
  7909. "type": "array",
  7910. "items": {
  7911. "$ref": "#/definitions/models.UserCollectConfig"
  7912. }
  7913. }
  7914. },
  7915. "500": {
  7916. "description": "Internal Server Error",
  7917. "schema": {
  7918. "$ref": "#/definitions/app.Response"
  7919. }
  7920. }
  7921. }
  7922. }
  7923. },
  7924. "/Qhj/QueryUserReceiveInfo": {
  7925. "get": {
  7926. "security": [
  7927. {
  7928. "ApiKeyAuth": []
  7929. }
  7930. ],
  7931. "produces": [
  7932. "application/json"
  7933. ],
  7934. "tags": [
  7935. "大连千海金"
  7936. ],
  7937. "summary": "查询收货地址信息",
  7938. "parameters": [
  7939. {
  7940. "type": "integer",
  7941. "description": "用户ID",
  7942. "name": "userid",
  7943. "in": "query",
  7944. "required": true
  7945. }
  7946. ],
  7947. "responses": {
  7948. "200": {
  7949. "description": "OK",
  7950. "schema": {
  7951. "type": "array",
  7952. "items": {
  7953. "$ref": "#/definitions/models.UserReceiveInfo"
  7954. }
  7955. }
  7956. },
  7957. "500": {
  7958. "description": "Internal Server Error",
  7959. "schema": {
  7960. "$ref": "#/definitions/app.Response"
  7961. }
  7962. }
  7963. }
  7964. }
  7965. },
  7966. "/QhjMgr/QueryAccountInOutApply": {
  7967. "get": {
  7968. "security": [
  7969. {
  7970. "ApiKeyAuth": []
  7971. }
  7972. ],
  7973. "produces": [
  7974. "application/json"
  7975. ],
  7976. "tags": [
  7977. "大连千海金(PCWeb)"
  7978. ],
  7979. "summary": "查询充值提现",
  7980. "parameters": [
  7981. {
  7982. "type": "integer",
  7983. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  7984. "name": "querytype",
  7985. "in": "query",
  7986. "required": true
  7987. },
  7988. {
  7989. "type": "integer",
  7990. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  7991. "name": "applystatus",
  7992. "in": "query"
  7993. },
  7994. {
  7995. "type": "string",
  7996. "description": "申请起始日期(格式yyyymmdd)",
  7997. "name": "begindate",
  7998. "in": "query"
  7999. },
  8000. {
  8001. "type": "string",
  8002. "description": "申请截止日期(格式yyyymmdd)",
  8003. "name": "enddate",
  8004. "in": "query"
  8005. },
  8006. {
  8007. "type": "string",
  8008. "description": "模糊搜索名称",
  8009. "name": "likename",
  8010. "in": "query"
  8011. }
  8012. ],
  8013. "responses": {
  8014. "200": {
  8015. "description": "OK",
  8016. "schema": {
  8017. "type": "array",
  8018. "items": {
  8019. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8020. }
  8021. }
  8022. },
  8023. "500": {
  8024. "description": "Internal Server Error",
  8025. "schema": {
  8026. "$ref": "#/definitions/app.Response"
  8027. }
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "/QhjMgr/QueryContract": {
  8033. "get": {
  8034. "security": [
  8035. {
  8036. "ApiKeyAuth": []
  8037. }
  8038. ],
  8039. "produces": [
  8040. "application/json"
  8041. ],
  8042. "tags": [
  8043. "大连千海金(PCWeb)"
  8044. ],
  8045. "summary": "查询融资信息(合同)",
  8046. "parameters": [
  8047. {
  8048. "type": "integer",
  8049. "description": "用户ID",
  8050. "name": "userid",
  8051. "in": "query"
  8052. },
  8053. {
  8054. "type": "integer",
  8055. "description": "商品id",
  8056. "name": "goodsid",
  8057. "in": "query"
  8058. },
  8059. {
  8060. "type": "string",
  8061. "description": "名称(模糊搜索账户)",
  8062. "name": "filtername",
  8063. "in": "query"
  8064. },
  8065. {
  8066. "type": "string",
  8067. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8068. "name": "risklevel",
  8069. "in": "query"
  8070. },
  8071. {
  8072. "type": "string",
  8073. "description": "开始交易日(yyyymmdd)",
  8074. "name": "begindate",
  8075. "in": "query"
  8076. },
  8077. {
  8078. "type": "string",
  8079. "description": "结束交易日(yyyymmdd)",
  8080. "name": "enddate",
  8081. "in": "query"
  8082. }
  8083. ],
  8084. "responses": {
  8085. "200": {
  8086. "description": "OK",
  8087. "schema": {
  8088. "type": "array",
  8089. "items": {
  8090. "$ref": "#/definitions/models.QhjMgrContract"
  8091. }
  8092. }
  8093. },
  8094. "500": {
  8095. "description": "Internal Server Error",
  8096. "schema": {
  8097. "$ref": "#/definitions/app.Response"
  8098. }
  8099. }
  8100. }
  8101. }
  8102. },
  8103. "/QhjMgr/QueryCustomerInfo": {
  8104. "get": {
  8105. "security": [
  8106. {
  8107. "ApiKeyAuth": []
  8108. }
  8109. ],
  8110. "produces": [
  8111. "application/json"
  8112. ],
  8113. "tags": [
  8114. "大连千海金(PCWeb)"
  8115. ],
  8116. "summary": "查询客户资料",
  8117. "parameters": [
  8118. {
  8119. "type": "integer",
  8120. "description": "用户ID",
  8121. "name": "userid",
  8122. "in": "query",
  8123. "required": true
  8124. },
  8125. {
  8126. "type": "integer",
  8127. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8128. "name": "querytype",
  8129. "in": "query",
  8130. "required": true
  8131. },
  8132. {
  8133. "type": "integer",
  8134. "description": "客户类型 1-个人 2-企业",
  8135. "name": "userinfotype",
  8136. "in": "query"
  8137. },
  8138. {
  8139. "type": "string",
  8140. "description": "客户名称(模糊匹配)",
  8141. "name": "customername",
  8142. "in": "query"
  8143. },
  8144. {
  8145. "type": "string",
  8146. "description": "昵称(模糊匹配)",
  8147. "name": "nickname",
  8148. "in": "query"
  8149. },
  8150. {
  8151. "type": "integer",
  8152. "description": "是否包含子级 1-包含",
  8153. "name": "includesub",
  8154. "in": "query"
  8155. }
  8156. ],
  8157. "responses": {
  8158. "200": {
  8159. "description": "OK",
  8160. "schema": {
  8161. "type": "array",
  8162. "items": {
  8163. "$ref": "#/definitions/models.QhjCustomer"
  8164. }
  8165. }
  8166. },
  8167. "500": {
  8168. "description": "Internal Server Error",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. }
  8173. }
  8174. }
  8175. },
  8176. "/QhjMgr/QuerySubArea": {
  8177. "get": {
  8178. "security": [
  8179. {
  8180. "ApiKeyAuth": []
  8181. }
  8182. ],
  8183. "produces": [
  8184. "application/json"
  8185. ],
  8186. "tags": [
  8187. "大连千海金(PCWeb)"
  8188. ],
  8189. "summary": "查询子机构列表",
  8190. "parameters": [
  8191. {
  8192. "type": "integer",
  8193. "description": "用户ID",
  8194. "name": "userid",
  8195. "in": "query",
  8196. "required": true
  8197. }
  8198. ],
  8199. "responses": {
  8200. "200": {
  8201. "description": "OK",
  8202. "schema": {
  8203. "type": "array",
  8204. "items": {
  8205. "$ref": "#/definitions/models.QhjMgrSubArea"
  8206. }
  8207. }
  8208. },
  8209. "500": {
  8210. "description": "Internal Server Error",
  8211. "schema": {
  8212. "$ref": "#/definitions/app.Response"
  8213. }
  8214. }
  8215. }
  8216. }
  8217. },
  8218. "/QhjMgr/QueryTradeDetail": {
  8219. "get": {
  8220. "security": [
  8221. {
  8222. "ApiKeyAuth": []
  8223. }
  8224. ],
  8225. "produces": [
  8226. "application/json"
  8227. ],
  8228. "tags": [
  8229. "大连千海金(PCWeb)"
  8230. ],
  8231. "summary": "查询成交明细",
  8232. "parameters": [
  8233. {
  8234. "type": "integer",
  8235. "description": "用户ID",
  8236. "name": "userid",
  8237. "in": "query",
  8238. "required": true
  8239. },
  8240. {
  8241. "type": "integer",
  8242. "description": "用户类型 1-个人 2-企业",
  8243. "name": "userinfotype",
  8244. "in": "query"
  8245. },
  8246. {
  8247. "type": "integer",
  8248. "description": "交易模式",
  8249. "name": "trademode",
  8250. "in": "query"
  8251. },
  8252. {
  8253. "type": "integer",
  8254. "description": "商品id",
  8255. "name": "goodsid",
  8256. "in": "query"
  8257. },
  8258. {
  8259. "type": "string",
  8260. "description": "名称(模糊搜索账户)",
  8261. "name": "filtername",
  8262. "in": "query"
  8263. },
  8264. {
  8265. "type": "string",
  8266. "description": "开始交易日(yyyymmdd)",
  8267. "name": "begindate",
  8268. "in": "query"
  8269. },
  8270. {
  8271. "type": "string",
  8272. "description": "结束交易日(yyyymmdd)",
  8273. "name": "enddate",
  8274. "in": "query"
  8275. },
  8276. {
  8277. "type": "integer",
  8278. "description": "是否包含子级 1-包含",
  8279. "name": "includesub",
  8280. "in": "query"
  8281. }
  8282. ],
  8283. "responses": {
  8284. "200": {
  8285. "description": "OK",
  8286. "schema": {
  8287. "type": "array",
  8288. "items": {
  8289. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8290. }
  8291. }
  8292. },
  8293. "500": {
  8294. "description": "Internal Server Error",
  8295. "schema": {
  8296. "$ref": "#/definitions/app.Response"
  8297. }
  8298. }
  8299. }
  8300. }
  8301. },
  8302. "/QhjMgr/QueryTradeOrderDetail": {
  8303. "get": {
  8304. "security": [
  8305. {
  8306. "ApiKeyAuth": []
  8307. }
  8308. ],
  8309. "produces": [
  8310. "application/json"
  8311. ],
  8312. "tags": [
  8313. "大连千海金(PCWeb)"
  8314. ],
  8315. "summary": "查询委托明细",
  8316. "parameters": [
  8317. {
  8318. "type": "integer",
  8319. "description": "用户ID",
  8320. "name": "userid",
  8321. "in": "query",
  8322. "required": true
  8323. },
  8324. {
  8325. "type": "integer",
  8326. "description": "用户类型 1-个人 2-企业",
  8327. "name": "userinfotype",
  8328. "in": "query"
  8329. },
  8330. {
  8331. "type": "integer",
  8332. "description": "交易模式",
  8333. "name": "trademode",
  8334. "in": "query"
  8335. },
  8336. {
  8337. "type": "integer",
  8338. "description": "商品id",
  8339. "name": "goodsid",
  8340. "in": "query"
  8341. },
  8342. {
  8343. "type": "string",
  8344. "description": "名称(模糊搜索账户)",
  8345. "name": "filtername",
  8346. "in": "query"
  8347. },
  8348. {
  8349. "type": "string",
  8350. "description": "开始交易日(yyyymmdd)",
  8351. "name": "begindate",
  8352. "in": "query"
  8353. },
  8354. {
  8355. "type": "string",
  8356. "description": "结束交易日(yyyymmdd)",
  8357. "name": "enddate",
  8358. "in": "query"
  8359. },
  8360. {
  8361. "type": "integer",
  8362. "description": "是否包含子级 1-包含",
  8363. "name": "includesub",
  8364. "in": "query"
  8365. }
  8366. ],
  8367. "responses": {
  8368. "200": {
  8369. "description": "OK",
  8370. "schema": {
  8371. "type": "array",
  8372. "items": {
  8373. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8374. }
  8375. }
  8376. },
  8377. "500": {
  8378. "description": "Internal Server Error",
  8379. "schema": {
  8380. "$ref": "#/definitions/app.Response"
  8381. }
  8382. }
  8383. }
  8384. }
  8385. },
  8386. "/QhjMgr/QueryTradePayOrder": {
  8387. "get": {
  8388. "security": [
  8389. {
  8390. "ApiKeyAuth": []
  8391. }
  8392. ],
  8393. "produces": [
  8394. "application/json"
  8395. ],
  8396. "tags": [
  8397. "大连千海金(PCWeb)"
  8398. ],
  8399. "summary": "查询待付款单",
  8400. "parameters": [
  8401. {
  8402. "type": "integer",
  8403. "description": "用户ID",
  8404. "name": "userid",
  8405. "in": "query",
  8406. "required": true
  8407. },
  8408. {
  8409. "type": "string",
  8410. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8411. "name": "payflag",
  8412. "in": "query"
  8413. },
  8414. {
  8415. "type": "integer",
  8416. "description": "用户类型 1-个人 2-企业",
  8417. "name": "userinfotype",
  8418. "in": "query"
  8419. },
  8420. {
  8421. "type": "integer",
  8422. "description": "交易模式",
  8423. "name": "trademode",
  8424. "in": "query"
  8425. },
  8426. {
  8427. "type": "integer",
  8428. "description": "商品id",
  8429. "name": "goodsid",
  8430. "in": "query"
  8431. },
  8432. {
  8433. "type": "string",
  8434. "description": "名称(模糊搜索账户)",
  8435. "name": "filtername",
  8436. "in": "query"
  8437. },
  8438. {
  8439. "type": "string",
  8440. "description": "开始交易日(yyyymmdd)",
  8441. "name": "begindate",
  8442. "in": "query"
  8443. },
  8444. {
  8445. "type": "string",
  8446. "description": "结束交易日(yyyymmdd)",
  8447. "name": "enddate",
  8448. "in": "query"
  8449. },
  8450. {
  8451. "type": "integer",
  8452. "description": "是否包含子级 1-包含",
  8453. "name": "includesub",
  8454. "in": "query"
  8455. }
  8456. ],
  8457. "responses": {
  8458. "200": {
  8459. "description": "OK",
  8460. "schema": {
  8461. "type": "array",
  8462. "items": {
  8463. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8464. }
  8465. }
  8466. },
  8467. "500": {
  8468. "description": "Internal Server Error",
  8469. "schema": {
  8470. "$ref": "#/definitions/app.Response"
  8471. }
  8472. }
  8473. }
  8474. }
  8475. },
  8476. "/QhjMgr/QueryTradePosition": {
  8477. "get": {
  8478. "security": [
  8479. {
  8480. "ApiKeyAuth": []
  8481. }
  8482. ],
  8483. "produces": [
  8484. "application/json"
  8485. ],
  8486. "tags": [
  8487. "大连千海金(PCWeb)"
  8488. ],
  8489. "summary": "查询持仓汇总",
  8490. "parameters": [
  8491. {
  8492. "type": "integer",
  8493. "description": "用户ID",
  8494. "name": "userid",
  8495. "in": "query",
  8496. "required": true
  8497. },
  8498. {
  8499. "type": "integer",
  8500. "description": "用户类型 1-个人 2-企业",
  8501. "name": "userinfotype",
  8502. "in": "query"
  8503. },
  8504. {
  8505. "type": "integer",
  8506. "description": "交易模式",
  8507. "name": "trademode",
  8508. "in": "query"
  8509. },
  8510. {
  8511. "type": "integer",
  8512. "description": "商品id",
  8513. "name": "goodsid",
  8514. "in": "query"
  8515. },
  8516. {
  8517. "type": "string",
  8518. "description": "名称(模糊搜索账户)",
  8519. "name": "filtername",
  8520. "in": "query"
  8521. },
  8522. {
  8523. "type": "integer",
  8524. "description": "是否包含子级 1-包含",
  8525. "name": "includesub",
  8526. "in": "query"
  8527. }
  8528. ],
  8529. "responses": {
  8530. "200": {
  8531. "description": "OK",
  8532. "schema": {
  8533. "type": "array",
  8534. "items": {
  8535. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  8536. }
  8537. }
  8538. },
  8539. "500": {
  8540. "description": "Internal Server Error",
  8541. "schema": {
  8542. "$ref": "#/definitions/app.Response"
  8543. }
  8544. }
  8545. }
  8546. }
  8547. },
  8548. "/Quote/QueryHistoryDatas": {
  8549. "get": {
  8550. "security": [
  8551. {
  8552. "ApiKeyAuth": []
  8553. }
  8554. ],
  8555. "produces": [
  8556. "application/json"
  8557. ],
  8558. "tags": [
  8559. "行情服务"
  8560. ],
  8561. "summary": "查询行情历史数据",
  8562. "parameters": [
  8563. {
  8564. "type": "integer",
  8565. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  8566. "name": "cycleType",
  8567. "in": "query",
  8568. "required": true
  8569. },
  8570. {
  8571. "type": "string",
  8572. "description": "商品代码",
  8573. "name": "goodsCode",
  8574. "in": "query",
  8575. "required": true
  8576. },
  8577. {
  8578. "type": "string",
  8579. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8580. "name": "startTime",
  8581. "in": "query"
  8582. },
  8583. {
  8584. "type": "string",
  8585. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8586. "name": "endTime",
  8587. "in": "query"
  8588. },
  8589. {
  8590. "type": "integer",
  8591. "description": "条数",
  8592. "name": "count",
  8593. "in": "query"
  8594. },
  8595. {
  8596. "type": "boolean",
  8597. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8598. "name": "isAsc",
  8599. "in": "query"
  8600. }
  8601. ],
  8602. "responses": {
  8603. "200": {
  8604. "description": "OK",
  8605. "schema": {
  8606. "$ref": "#/definitions/quote.HistoryData"
  8607. }
  8608. },
  8609. "500": {
  8610. "description": "Internal Server Error",
  8611. "schema": {
  8612. "$ref": "#/definitions/app.Response"
  8613. }
  8614. }
  8615. }
  8616. }
  8617. },
  8618. "/Quote/QueryHistoryTikDatas": {
  8619. "get": {
  8620. "security": [
  8621. {
  8622. "ApiKeyAuth": []
  8623. }
  8624. ],
  8625. "produces": [
  8626. "application/json"
  8627. ],
  8628. "tags": [
  8629. "行情服务"
  8630. ],
  8631. "summary": "查询行情Tik数据",
  8632. "parameters": [
  8633. {
  8634. "type": "string",
  8635. "description": "商品代码",
  8636. "name": "goodsCode",
  8637. "in": "query",
  8638. "required": true
  8639. },
  8640. {
  8641. "type": "string",
  8642. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8643. "name": "startTime",
  8644. "in": "query"
  8645. },
  8646. {
  8647. "type": "string",
  8648. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8649. "name": "endTime",
  8650. "in": "query"
  8651. },
  8652. {
  8653. "type": "integer",
  8654. "description": "条数",
  8655. "name": "count",
  8656. "in": "query"
  8657. },
  8658. {
  8659. "type": "boolean",
  8660. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8661. "name": "isAsc",
  8662. "in": "query"
  8663. }
  8664. ],
  8665. "responses": {
  8666. "200": {
  8667. "description": "OK",
  8668. "schema": {
  8669. "$ref": "#/definitions/quote.HistoryTikData"
  8670. }
  8671. },
  8672. "500": {
  8673. "description": "Internal Server Error",
  8674. "schema": {
  8675. "$ref": "#/definitions/app.Response"
  8676. }
  8677. }
  8678. }
  8679. }
  8680. },
  8681. "/Quote/QueryQuoteDay": {
  8682. "get": {
  8683. "security": [
  8684. {
  8685. "ApiKeyAuth": []
  8686. }
  8687. ],
  8688. "produces": [
  8689. "application/json"
  8690. ],
  8691. "tags": [
  8692. "行情服务"
  8693. ],
  8694. "summary": "获取商品盘面信息",
  8695. "parameters": [
  8696. {
  8697. "type": "string",
  8698. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8699. "name": "goodsCodes",
  8700. "in": "query",
  8701. "required": true
  8702. }
  8703. ],
  8704. "responses": {
  8705. "200": {
  8706. "description": "OK",
  8707. "schema": {
  8708. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8709. }
  8710. },
  8711. "500": {
  8712. "description": "Internal Server Error",
  8713. "schema": {
  8714. "$ref": "#/definitions/app.Response"
  8715. }
  8716. }
  8717. }
  8718. }
  8719. },
  8720. "/Quote/QueryTSData": {
  8721. "get": {
  8722. "security": [
  8723. {
  8724. "ApiKeyAuth": []
  8725. }
  8726. ],
  8727. "produces": [
  8728. "application/json"
  8729. ],
  8730. "tags": [
  8731. "行情服务"
  8732. ],
  8733. "summary": "分时图数据查询",
  8734. "parameters": [
  8735. {
  8736. "type": "string",
  8737. "description": "商品代码",
  8738. "name": "goodsCode",
  8739. "in": "query",
  8740. "required": true
  8741. }
  8742. ],
  8743. "responses": {
  8744. "200": {
  8745. "description": "OK",
  8746. "schema": {
  8747. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8748. }
  8749. },
  8750. "500": {
  8751. "description": "Internal Server Error",
  8752. "schema": {
  8753. "$ref": "#/definitions/app.Response"
  8754. }
  8755. }
  8756. }
  8757. }
  8758. },
  8759. "/SZDZ/QueryConvertConfig": {
  8760. "get": {
  8761. "security": [
  8762. {
  8763. "ApiKeyAuth": []
  8764. }
  8765. ],
  8766. "produces": [
  8767. "application/json"
  8768. ],
  8769. "tags": [
  8770. "定制【尚志大宗】"
  8771. ],
  8772. "summary": "查询交易系统转换设置",
  8773. "parameters": [
  8774. {
  8775. "type": "integer",
  8776. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8777. "name": "convertType",
  8778. "in": "query"
  8779. },
  8780. {
  8781. "type": "string",
  8782. "description": "外部商品代码[JD\\PD]",
  8783. "name": "outerGoodsCode",
  8784. "in": "query"
  8785. },
  8786. {
  8787. "type": "string",
  8788. "description": "内部商品ID列表[交易],格式:1,2,3",
  8789. "name": "innerGoodsIDs",
  8790. "in": "query"
  8791. }
  8792. ],
  8793. "responses": {
  8794. "200": {
  8795. "description": "OK",
  8796. "schema": {
  8797. "$ref": "#/definitions/models.Szdz3convertconfig"
  8798. }
  8799. },
  8800. "500": {
  8801. "description": "Internal Server Error",
  8802. "schema": {
  8803. "$ref": "#/definitions/app.Response"
  8804. }
  8805. }
  8806. }
  8807. }
  8808. },
  8809. "/SZDZ/QueryConvertLog": {
  8810. "get": {
  8811. "security": [
  8812. {
  8813. "ApiKeyAuth": []
  8814. }
  8815. ],
  8816. "produces": [
  8817. "application/json"
  8818. ],
  8819. "tags": [
  8820. "定制【尚志大宗】"
  8821. ],
  8822. "summary": "交易系统转换流水查询",
  8823. "parameters": [
  8824. {
  8825. "type": "string",
  8826. "description": "资金账户 - 格式:1,2,3",
  8827. "name": "accountID",
  8828. "in": "query",
  8829. "required": true
  8830. },
  8831. {
  8832. "type": "string",
  8833. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8834. "name": "startDate",
  8835. "in": "query"
  8836. },
  8837. {
  8838. "type": "string",
  8839. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8840. "name": "endDate",
  8841. "in": "query"
  8842. }
  8843. ],
  8844. "responses": {
  8845. "200": {
  8846. "description": "OK",
  8847. "schema": {
  8848. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8849. }
  8850. },
  8851. "500": {
  8852. "description": "Internal Server Error",
  8853. "schema": {
  8854. "$ref": "#/definitions/app.Response"
  8855. }
  8856. }
  8857. }
  8858. }
  8859. },
  8860. "/SZDZ/QueryGoodsPickup": {
  8861. "get": {
  8862. "security": [
  8863. {
  8864. "ApiKeyAuth": []
  8865. }
  8866. ],
  8867. "produces": [
  8868. "application/json"
  8869. ],
  8870. "tags": [
  8871. "定制【尚志大宗】"
  8872. ],
  8873. "summary": "商品提货单查询",
  8874. "parameters": [
  8875. {
  8876. "type": "string",
  8877. "description": "资金账户 - 格式:1,2,3",
  8878. "name": "accountID",
  8879. "in": "query",
  8880. "required": true
  8881. },
  8882. {
  8883. "type": "integer",
  8884. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8885. "name": "takeOrderStatus",
  8886. "in": "query"
  8887. }
  8888. ],
  8889. "responses": {
  8890. "200": {
  8891. "description": "OK",
  8892. "schema": {
  8893. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8894. }
  8895. },
  8896. "500": {
  8897. "description": "Internal Server Error",
  8898. "schema": {
  8899. "$ref": "#/definitions/app.Response"
  8900. }
  8901. }
  8902. }
  8903. }
  8904. },
  8905. "/SZDZ/QueryRecieptOrder": {
  8906. "get": {
  8907. "security": [
  8908. {
  8909. "ApiKeyAuth": []
  8910. }
  8911. ],
  8912. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8913. "produces": [
  8914. "application/json"
  8915. ],
  8916. "tags": [
  8917. "定制【尚志大宗】"
  8918. ],
  8919. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8920. "parameters": [
  8921. {
  8922. "type": "integer",
  8923. "description": "页码",
  8924. "name": "page",
  8925. "in": "query"
  8926. },
  8927. {
  8928. "type": "integer",
  8929. "description": "每页条数",
  8930. "name": "pagesize",
  8931. "in": "query"
  8932. },
  8933. {
  8934. "type": "integer",
  8935. "description": "商品ID",
  8936. "name": "goodsID",
  8937. "in": "query",
  8938. "required": true
  8939. },
  8940. {
  8941. "type": "string",
  8942. "description": "所属账户名称",
  8943. "name": "accountName",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "integer",
  8948. "description": "市场ID",
  8949. "name": "marketID",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "integer",
  8954. "description": "方向 - 0:买 1:卖",
  8955. "name": "buyorsell",
  8956. "in": "query",
  8957. "required": true
  8958. }
  8959. ],
  8960. "responses": {
  8961. "200": {
  8962. "description": "OK",
  8963. "schema": {
  8964. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8965. }
  8966. },
  8967. "500": {
  8968. "description": "Internal Server Error",
  8969. "schema": {
  8970. "$ref": "#/definitions/app.Response"
  8971. }
  8972. }
  8973. }
  8974. }
  8975. },
  8976. "/SZDZ/QuerySZDZTradePosition": {
  8977. "get": {
  8978. "security": [
  8979. {
  8980. "ApiKeyAuth": []
  8981. }
  8982. ],
  8983. "produces": [
  8984. "application/json"
  8985. ],
  8986. "tags": [
  8987. "定制【尚志大宗】"
  8988. ],
  8989. "summary": "持仓汇总查询(尚志大宗)",
  8990. "parameters": [
  8991. {
  8992. "type": "integer",
  8993. "description": "资金账户",
  8994. "name": "accountID",
  8995. "in": "query",
  8996. "required": true
  8997. }
  8998. ],
  8999. "responses": {
  9000. "200": {
  9001. "description": "OK",
  9002. "schema": {
  9003. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9004. }
  9005. },
  9006. "500": {
  9007. "description": "Internal Server Error",
  9008. "schema": {
  9009. "$ref": "#/definitions/app.Response"
  9010. }
  9011. }
  9012. }
  9013. }
  9014. },
  9015. "/SZDZ/SearchWhite": {
  9016. "get": {
  9017. "security": [
  9018. {
  9019. "ApiKeyAuth": []
  9020. }
  9021. ],
  9022. "produces": [
  9023. "application/json"
  9024. ],
  9025. "tags": [
  9026. "定制【尚志大宗】"
  9027. ],
  9028. "summary": "搜索白名单",
  9029. "parameters": [
  9030. {
  9031. "type": "integer",
  9032. "description": "用户ID",
  9033. "name": "userID",
  9034. "in": "query",
  9035. "required": true
  9036. }
  9037. ],
  9038. "responses": {
  9039. "200": {
  9040. "description": "OK",
  9041. "schema": {
  9042. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9043. }
  9044. },
  9045. "500": {
  9046. "description": "Internal Server Error",
  9047. "schema": {
  9048. "$ref": "#/definitions/app.Response"
  9049. }
  9050. }
  9051. }
  9052. }
  9053. },
  9054. "/Search/SearchGoodses": {
  9055. "get": {
  9056. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9057. "produces": [
  9058. "application/json"
  9059. ],
  9060. "tags": [
  9061. "检索服务"
  9062. ],
  9063. "summary": "检索商品信息",
  9064. "parameters": [
  9065. {
  9066. "type": "string",
  9067. "description": "检索内容",
  9068. "name": "content",
  9069. "in": "query",
  9070. "required": true
  9071. },
  9072. {
  9073. "type": "string",
  9074. "description": "交易模式,格式:1,2,3",
  9075. "name": "tradeModes",
  9076. "in": "query"
  9077. }
  9078. ],
  9079. "responses": {
  9080. "200": {
  9081. "description": "OK",
  9082. "schema": {
  9083. "$ref": "#/definitions/models.SearchGoods"
  9084. }
  9085. },
  9086. "500": {
  9087. "description": "Internal Server Error",
  9088. "schema": {
  9089. "$ref": "#/definitions/app.Response"
  9090. }
  9091. }
  9092. }
  9093. }
  9094. },
  9095. "/TaAccount/GetTaAccounts": {
  9096. "get": {
  9097. "security": [
  9098. {
  9099. "ApiKeyAuth": []
  9100. }
  9101. ],
  9102. "produces": [
  9103. "application/json"
  9104. ],
  9105. "tags": [
  9106. "资金账户"
  9107. ],
  9108. "summary": "获取资金账户信息",
  9109. "parameters": [
  9110. {
  9111. "type": "integer",
  9112. "description": "登录账户",
  9113. "name": "loginID",
  9114. "in": "query",
  9115. "required": true
  9116. },
  9117. {
  9118. "type": "integer",
  9119. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9120. "name": "taAccountType",
  9121. "in": "query"
  9122. }
  9123. ],
  9124. "responses": {
  9125. "200": {
  9126. "description": "OK",
  9127. "schema": {
  9128. "$ref": "#/definitions/models.Taaccount"
  9129. }
  9130. },
  9131. "500": {
  9132. "description": "Internal Server Error",
  9133. "schema": {
  9134. "$ref": "#/definitions/app.Response"
  9135. }
  9136. }
  9137. }
  9138. }
  9139. },
  9140. "/TaAccount/QueryAmountLog": {
  9141. "get": {
  9142. "security": [
  9143. {
  9144. "ApiKeyAuth": []
  9145. }
  9146. ],
  9147. "produces": [
  9148. "application/json"
  9149. ],
  9150. "tags": [
  9151. "资金账户"
  9152. ],
  9153. "summary": "资金流水查询(当前)",
  9154. "parameters": [
  9155. {
  9156. "type": "integer",
  9157. "description": "页码",
  9158. "name": "page",
  9159. "in": "query"
  9160. },
  9161. {
  9162. "type": "integer",
  9163. "description": "每页条数",
  9164. "name": "pagesize",
  9165. "in": "query"
  9166. },
  9167. {
  9168. "type": "string",
  9169. "description": "资金账户 - 格式:1,2,3",
  9170. "name": "accountID",
  9171. "in": "query",
  9172. "required": true
  9173. },
  9174. {
  9175. "type": "string",
  9176. "description": "资金操作类型 - 格式:1,2,3",
  9177. "name": "OperateType",
  9178. "in": "query"
  9179. }
  9180. ],
  9181. "responses": {
  9182. "200": {
  9183. "description": "OK",
  9184. "schema": {
  9185. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9186. }
  9187. },
  9188. "500": {
  9189. "description": "Internal Server Error",
  9190. "schema": {
  9191. "$ref": "#/definitions/app.Response"
  9192. }
  9193. }
  9194. }
  9195. }
  9196. },
  9197. "/TaAccount/QueryHisAmountLog": {
  9198. "get": {
  9199. "security": [
  9200. {
  9201. "ApiKeyAuth": []
  9202. }
  9203. ],
  9204. "produces": [
  9205. "application/json"
  9206. ],
  9207. "tags": [
  9208. "资金账户"
  9209. ],
  9210. "summary": "资金流水查询(历史)",
  9211. "parameters": [
  9212. {
  9213. "type": "integer",
  9214. "description": "页码",
  9215. "name": "page",
  9216. "in": "query"
  9217. },
  9218. {
  9219. "type": "integer",
  9220. "description": "每页条数",
  9221. "name": "pagesize",
  9222. "in": "query"
  9223. },
  9224. {
  9225. "type": "string",
  9226. "description": "资金账户 - 格式:1,2,3",
  9227. "name": "accountID",
  9228. "in": "query",
  9229. "required": true
  9230. },
  9231. {
  9232. "type": "string",
  9233. "description": "资金操作类型 - 格式:1,2,3",
  9234. "name": "OperateType",
  9235. "in": "query"
  9236. },
  9237. {
  9238. "type": "string",
  9239. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9240. "name": "startDate",
  9241. "in": "query"
  9242. },
  9243. {
  9244. "type": "string",
  9245. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9246. "name": "endDate",
  9247. "in": "query"
  9248. }
  9249. ],
  9250. "responses": {
  9251. "200": {
  9252. "description": "OK",
  9253. "schema": {
  9254. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9255. }
  9256. },
  9257. "500": {
  9258. "description": "Internal Server Error",
  9259. "schema": {
  9260. "$ref": "#/definitions/app.Response"
  9261. }
  9262. }
  9263. }
  9264. }
  9265. },
  9266. "/Trade/QueryRecieptOrder": {
  9267. "get": {
  9268. "security": [
  9269. {
  9270. "ApiKeyAuth": []
  9271. }
  9272. ],
  9273. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9274. "produces": [
  9275. "application/json"
  9276. ],
  9277. "tags": [
  9278. "通用交易"
  9279. ],
  9280. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  9281. "parameters": [
  9282. {
  9283. "type": "integer",
  9284. "description": "页码",
  9285. "name": "page",
  9286. "in": "query"
  9287. },
  9288. {
  9289. "type": "integer",
  9290. "description": "每页条数",
  9291. "name": "pagesize",
  9292. "in": "query"
  9293. },
  9294. {
  9295. "type": "integer",
  9296. "description": "商品ID",
  9297. "name": "goodsID",
  9298. "in": "query",
  9299. "required": true
  9300. },
  9301. {
  9302. "type": "string",
  9303. "description": "所属账户名称",
  9304. "name": "accountName",
  9305. "in": "query"
  9306. },
  9307. {
  9308. "type": "integer",
  9309. "description": "市场ID",
  9310. "name": "marketID",
  9311. "in": "query"
  9312. },
  9313. {
  9314. "type": "integer",
  9315. "description": "方向 - 0:买 1:卖",
  9316. "name": "buyorsell",
  9317. "in": "query",
  9318. "required": true
  9319. }
  9320. ],
  9321. "responses": {
  9322. "200": {
  9323. "description": "OK",
  9324. "schema": {
  9325. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  9326. }
  9327. },
  9328. "500": {
  9329. "description": "Internal Server Error",
  9330. "schema": {
  9331. "$ref": "#/definitions/app.Response"
  9332. }
  9333. }
  9334. }
  9335. }
  9336. },
  9337. "/User/AddMessageBoard": {
  9338. "post": {
  9339. "security": [
  9340. {
  9341. "ApiKeyAuth": []
  9342. }
  9343. ],
  9344. "produces": [
  9345. "application/json"
  9346. ],
  9347. "tags": [
  9348. "用户信息"
  9349. ],
  9350. "summary": "添加用户留言板信息",
  9351. "parameters": [
  9352. {
  9353. "type": "integer",
  9354. "description": "用户ID",
  9355. "name": "userID",
  9356. "in": "query",
  9357. "required": true
  9358. },
  9359. {
  9360. "type": "string",
  9361. "description": "留言信息",
  9362. "name": "message",
  9363. "in": "query",
  9364. "required": true
  9365. },
  9366. {
  9367. "type": "string",
  9368. "description": "联系电话",
  9369. "name": "contactNum",
  9370. "in": "query",
  9371. "required": true
  9372. }
  9373. ],
  9374. "responses": {
  9375. "200": {
  9376. "description": "OK",
  9377. "schema": {
  9378. "$ref": "#/definitions/app.Response"
  9379. }
  9380. },
  9381. "500": {
  9382. "description": "Internal Server Error",
  9383. "schema": {
  9384. "$ref": "#/definitions/app.Response"
  9385. }
  9386. }
  9387. }
  9388. }
  9389. },
  9390. "/User/AddUserFavoriteGoods": {
  9391. "post": {
  9392. "security": [
  9393. {
  9394. "ApiKeyAuth": []
  9395. }
  9396. ],
  9397. "produces": [
  9398. "application/json"
  9399. ],
  9400. "tags": [
  9401. "用户信息"
  9402. ],
  9403. "summary": "添加用户商品收藏信息",
  9404. "parameters": [
  9405. {
  9406. "type": "integer",
  9407. "description": "用户ID",
  9408. "name": "userID",
  9409. "in": "query",
  9410. "required": true
  9411. },
  9412. {
  9413. "type": "integer",
  9414. "description": "商品ID",
  9415. "name": "goodsID",
  9416. "in": "query",
  9417. "required": true
  9418. }
  9419. ],
  9420. "responses": {
  9421. "200": {
  9422. "description": "OK",
  9423. "schema": {
  9424. "$ref": "#/definitions/app.Response"
  9425. }
  9426. },
  9427. "500": {
  9428. "description": "Internal Server Error",
  9429. "schema": {
  9430. "$ref": "#/definitions/app.Response"
  9431. }
  9432. }
  9433. }
  9434. }
  9435. },
  9436. "/User/GetLoginID": {
  9437. "get": {
  9438. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  9439. "produces": [
  9440. "application/json"
  9441. ],
  9442. "tags": [
  9443. "用户信息"
  9444. ],
  9445. "summary": "获取登录ID",
  9446. "parameters": [
  9447. {
  9448. "type": "string",
  9449. "description": "登录代码",
  9450. "name": "username",
  9451. "in": "query",
  9452. "required": true
  9453. }
  9454. ],
  9455. "responses": {
  9456. "200": {
  9457. "description": "OK",
  9458. "schema": {
  9459. "$ref": "#/definitions/app.Response"
  9460. }
  9461. },
  9462. "500": {
  9463. "description": "Internal Server Error",
  9464. "schema": {
  9465. "$ref": "#/definitions/app.Response"
  9466. }
  9467. }
  9468. }
  9469. }
  9470. },
  9471. "/User/GetUserAccount": {
  9472. "get": {
  9473. "security": [
  9474. {
  9475. "ApiKeyAuth": []
  9476. }
  9477. ],
  9478. "produces": [
  9479. "application/json"
  9480. ],
  9481. "tags": [
  9482. "用户信息"
  9483. ],
  9484. "summary": "获取用户账号信息",
  9485. "parameters": [
  9486. {
  9487. "type": "integer",
  9488. "description": "用户ID",
  9489. "name": "userID",
  9490. "in": "query",
  9491. "required": true
  9492. }
  9493. ],
  9494. "responses": {
  9495. "200": {
  9496. "description": "OK",
  9497. "schema": {
  9498. "$ref": "#/definitions/models.Useraccount"
  9499. }
  9500. },
  9501. "500": {
  9502. "description": "Internal Server Error",
  9503. "schema": {
  9504. "$ref": "#/definitions/app.Response"
  9505. }
  9506. }
  9507. }
  9508. }
  9509. },
  9510. "/User/GetUserAuthStatus": {
  9511. "get": {
  9512. "security": [
  9513. {
  9514. "ApiKeyAuth": []
  9515. }
  9516. ],
  9517. "produces": [
  9518. "application/json"
  9519. ],
  9520. "tags": [
  9521. "用户信息"
  9522. ],
  9523. "summary": "获取用户实名认证状态",
  9524. "parameters": [
  9525. {
  9526. "type": "integer",
  9527. "description": "用户ID",
  9528. "name": "userID",
  9529. "in": "query",
  9530. "required": true
  9531. }
  9532. ],
  9533. "responses": {
  9534. "200": {
  9535. "description": "OK",
  9536. "schema": {
  9537. "$ref": "#/definitions/app.Response"
  9538. }
  9539. },
  9540. "500": {
  9541. "description": "Internal Server Error",
  9542. "schema": {
  9543. "$ref": "#/definitions/app.Response"
  9544. }
  9545. }
  9546. }
  9547. }
  9548. },
  9549. "/User/LoginQuery": {
  9550. "get": {
  9551. "security": [
  9552. {
  9553. "ApiKeyAuth": []
  9554. }
  9555. ],
  9556. "produces": [
  9557. "application/json"
  9558. ],
  9559. "tags": [
  9560. "用户信息"
  9561. ],
  9562. "summary": "账户登录后信息查询",
  9563. "parameters": [
  9564. {
  9565. "type": "integer",
  9566. "description": "登录账号",
  9567. "name": "loginID",
  9568. "in": "query",
  9569. "required": true
  9570. }
  9571. ],
  9572. "responses": {
  9573. "200": {
  9574. "description": "OK",
  9575. "schema": {
  9576. "$ref": "#/definitions/user.LoginQueryRsp"
  9577. }
  9578. },
  9579. "500": {
  9580. "description": "Internal Server Error",
  9581. "schema": {
  9582. "$ref": "#/definitions/app.Response"
  9583. }
  9584. }
  9585. }
  9586. }
  9587. },
  9588. "/User/QueryMessageBoard": {
  9589. "get": {
  9590. "security": [
  9591. {
  9592. "ApiKeyAuth": []
  9593. }
  9594. ],
  9595. "produces": [
  9596. "application/json"
  9597. ],
  9598. "tags": [
  9599. "用户信息"
  9600. ],
  9601. "summary": "获取用户留言板信息",
  9602. "parameters": [
  9603. {
  9604. "type": "integer",
  9605. "description": "用户ID",
  9606. "name": "userID",
  9607. "in": "query",
  9608. "required": true
  9609. }
  9610. ],
  9611. "responses": {
  9612. "200": {
  9613. "description": "OK",
  9614. "schema": {
  9615. "$ref": "#/definitions/models.Messageboard"
  9616. }
  9617. },
  9618. "500": {
  9619. "description": "Internal Server Error",
  9620. "schema": {
  9621. "$ref": "#/definitions/app.Response"
  9622. }
  9623. }
  9624. }
  9625. }
  9626. },
  9627. "/User/QueryUserFavoriteGoodses": {
  9628. "get": {
  9629. "security": [
  9630. {
  9631. "ApiKeyAuth": []
  9632. }
  9633. ],
  9634. "produces": [
  9635. "application/json"
  9636. ],
  9637. "tags": [
  9638. "用户信息"
  9639. ],
  9640. "summary": "获取用户商品收藏信息",
  9641. "parameters": [
  9642. {
  9643. "type": "integer",
  9644. "description": "用户ID",
  9645. "name": "userID",
  9646. "in": "query",
  9647. "required": true
  9648. }
  9649. ],
  9650. "responses": {
  9651. "200": {
  9652. "description": "OK",
  9653. "schema": {
  9654. "$ref": "#/definitions/models.Userfavoritegoods"
  9655. }
  9656. },
  9657. "500": {
  9658. "description": "Internal Server Error",
  9659. "schema": {
  9660. "$ref": "#/definitions/app.Response"
  9661. }
  9662. }
  9663. }
  9664. }
  9665. },
  9666. "/User/QueryUserInfo": {
  9667. "get": {
  9668. "security": [
  9669. {
  9670. "ApiKeyAuth": []
  9671. }
  9672. ],
  9673. "produces": [
  9674. "application/json"
  9675. ],
  9676. "tags": [
  9677. "用户信息"
  9678. ],
  9679. "summary": "获取用户信息",
  9680. "parameters": [
  9681. {
  9682. "type": "integer",
  9683. "description": "用户ID",
  9684. "name": "userID",
  9685. "in": "query",
  9686. "required": true
  9687. },
  9688. {
  9689. "type": "boolean",
  9690. "description": "是否解密",
  9691. "name": "isDecrypt",
  9692. "in": "query"
  9693. }
  9694. ],
  9695. "responses": {
  9696. "200": {
  9697. "description": "OK",
  9698. "schema": {
  9699. "$ref": "#/definitions/models.Userinfo"
  9700. }
  9701. },
  9702. "500": {
  9703. "description": "Internal Server Error",
  9704. "schema": {
  9705. "$ref": "#/definitions/app.Response"
  9706. }
  9707. }
  9708. }
  9709. }
  9710. },
  9711. "/User/QueryUserReferNum": {
  9712. "get": {
  9713. "produces": [
  9714. "application/json"
  9715. ],
  9716. "tags": [
  9717. "用户信息"
  9718. ],
  9719. "summary": "获取用户邀请码",
  9720. "parameters": [
  9721. {
  9722. "type": "integer",
  9723. "description": "用户ID",
  9724. "name": "userID",
  9725. "in": "query",
  9726. "required": true
  9727. }
  9728. ],
  9729. "responses": {
  9730. "200": {
  9731. "description": "OK",
  9732. "schema": {
  9733. "$ref": "#/definitions/app.Response"
  9734. }
  9735. },
  9736. "500": {
  9737. "description": "Internal Server Error",
  9738. "schema": {
  9739. "$ref": "#/definitions/app.Response"
  9740. }
  9741. }
  9742. }
  9743. }
  9744. },
  9745. "/User/RemoveUserFavoriteGoods": {
  9746. "post": {
  9747. "security": [
  9748. {
  9749. "ApiKeyAuth": []
  9750. }
  9751. ],
  9752. "produces": [
  9753. "application/json"
  9754. ],
  9755. "tags": [
  9756. "用户信息"
  9757. ],
  9758. "summary": "移除用户商品收藏信息",
  9759. "parameters": [
  9760. {
  9761. "type": "integer",
  9762. "description": "用户ID",
  9763. "name": "userID",
  9764. "in": "query",
  9765. "required": true
  9766. },
  9767. {
  9768. "type": "integer",
  9769. "description": "商品ID",
  9770. "name": "goodsID",
  9771. "in": "query",
  9772. "required": true
  9773. }
  9774. ],
  9775. "responses": {
  9776. "200": {
  9777. "description": "OK",
  9778. "schema": {
  9779. "$ref": "#/definitions/app.Response"
  9780. }
  9781. },
  9782. "500": {
  9783. "description": "Internal Server Error",
  9784. "schema": {
  9785. "$ref": "#/definitions/app.Response"
  9786. }
  9787. }
  9788. }
  9789. }
  9790. },
  9791. "/User/UpdateUserAccountStatus": {
  9792. "post": {
  9793. "security": [
  9794. {
  9795. "ApiKeyAuth": []
  9796. }
  9797. ],
  9798. "produces": [
  9799. "application/json"
  9800. ],
  9801. "tags": [
  9802. "用户信息"
  9803. ],
  9804. "summary": "更新用户状态",
  9805. "parameters": [
  9806. {
  9807. "type": "integer",
  9808. "description": "用户ID",
  9809. "name": "userID",
  9810. "in": "query",
  9811. "required": true
  9812. },
  9813. {
  9814. "type": "integer",
  9815. "description": "账户状态 - 4:正常 6:注销(停用)",
  9816. "name": "accountStatus",
  9817. "in": "query",
  9818. "required": true
  9819. }
  9820. ],
  9821. "responses": {
  9822. "200": {
  9823. "description": "OK",
  9824. "schema": {
  9825. "$ref": "#/definitions/app.Response"
  9826. }
  9827. },
  9828. "500": {
  9829. "description": "Internal Server Error",
  9830. "schema": {
  9831. "$ref": "#/definitions/app.Response"
  9832. }
  9833. }
  9834. }
  9835. }
  9836. },
  9837. "/WRTrade/GetAllDeliveryGoods": {
  9838. "get": {
  9839. "security": [
  9840. {
  9841. "ApiKeyAuth": []
  9842. },
  9843. {
  9844. "ApiKeyAuth": []
  9845. }
  9846. ],
  9847. "produces": [
  9848. "application/json",
  9849. "application/json"
  9850. ],
  9851. "tags": [
  9852. "仓单贸易",
  9853. "仓单贸易"
  9854. ],
  9855. "summary": "获取带仓单分类的种类信息",
  9856. "responses": {
  9857. "200": {
  9858. "description": "OK",
  9859. "schema": {
  9860. "$ref": "#/definitions/app.Response"
  9861. }
  9862. },
  9863. "500": {
  9864. "description": "Internal Server Error",
  9865. "schema": {
  9866. "$ref": "#/definitions/app.Response"
  9867. }
  9868. }
  9869. }
  9870. }
  9871. }
  9872. },
  9873. "definitions": {
  9874. "app.Response": {
  9875. "type": "object",
  9876. "properties": {
  9877. "code": {
  9878. "type": "integer"
  9879. },
  9880. "data": {
  9881. "type": "object"
  9882. },
  9883. "msg": {
  9884. "type": "string"
  9885. },
  9886. "page": {
  9887. "description": "页码",
  9888. "type": "integer"
  9889. },
  9890. "pagesize": {
  9891. "description": "每页条数",
  9892. "type": "integer"
  9893. },
  9894. "total": {
  9895. "description": "总条数",
  9896. "type": "integer"
  9897. }
  9898. }
  9899. },
  9900. "common.ClientMenu": {
  9901. "type": "object",
  9902. "properties": {
  9903. "children": {
  9904. "description": "子菜单列表",
  9905. "type": "array",
  9906. "items": {
  9907. "$ref": "#/definitions/common.ClientMenu"
  9908. }
  9909. },
  9910. "code": {
  9911. "description": "ID",
  9912. "type": "string"
  9913. },
  9914. "isshow": {
  9915. "description": "是否显示",
  9916. "type": "boolean"
  9917. },
  9918. "rulekey": {
  9919. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9920. "type": "string"
  9921. },
  9922. "sort": {
  9923. "description": "排序",
  9924. "type": "integer"
  9925. },
  9926. "title": {
  9927. "description": "标题",
  9928. "type": "string"
  9929. },
  9930. "type": {
  9931. "description": "类型,1:菜单 2:按钮",
  9932. "type": "integer"
  9933. }
  9934. }
  9935. },
  9936. "common.QueryImageConfigsRsp": {
  9937. "type": "object",
  9938. "required": [
  9939. "configid"
  9940. ],
  9941. "properties": {
  9942. "areauserid": {
  9943. "description": "所属机构ID",
  9944. "type": "integer"
  9945. },
  9946. "configid": {
  9947. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9948. "type": "integer"
  9949. },
  9950. "createdate": {
  9951. "description": "创建时间",
  9952. "type": "string"
  9953. },
  9954. "creatorid": {
  9955. "description": "创建人",
  9956. "type": "integer"
  9957. },
  9958. "imagepath": {
  9959. "description": "图片",
  9960. "type": "string"
  9961. },
  9962. "imagetype": {
  9963. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9964. "type": "integer"
  9965. },
  9966. "isshow": {
  9967. "description": "是否展示 - 0:不展示 1:展示",
  9968. "type": "integer"
  9969. },
  9970. "marketid": {
  9971. "description": "市场ID",
  9972. "type": "integer"
  9973. },
  9974. "modifierid": {
  9975. "description": "操作人",
  9976. "type": "integer"
  9977. },
  9978. "sort": {
  9979. "description": "排序",
  9980. "type": "integer"
  9981. },
  9982. "title": {
  9983. "description": "标题",
  9984. "type": "string"
  9985. },
  9986. "trademode": {
  9987. "description": "交易模式",
  9988. "type": "integer"
  9989. },
  9990. "updatedate": {
  9991. "description": "修改时间",
  9992. "type": "string"
  9993. },
  9994. "url": {
  9995. "description": "链接(地址或商品ID)",
  9996. "type": "string"
  9997. },
  9998. "urltype": {
  9999. "description": "链接类型 - 1:直接地址 2:商品ID",
  10000. "type": "integer"
  10001. }
  10002. }
  10003. },
  10004. "common.QueryNoticeRsp": {
  10005. "type": "object",
  10006. "required": [
  10007. "autoid"
  10008. ],
  10009. "properties": {
  10010. "auditoruserid": {
  10011. "description": "审核人",
  10012. "type": "integer"
  10013. },
  10014. "auditremark": {
  10015. "description": "审核备注",
  10016. "type": "string"
  10017. },
  10018. "audittime": {
  10019. "description": "审核日期",
  10020. "type": "string"
  10021. },
  10022. "autoid": {
  10023. "description": "自增ID",
  10024. "type": "integer"
  10025. },
  10026. "content": {
  10027. "description": "内容",
  10028. "type": "string"
  10029. },
  10030. "createtime": {
  10031. "description": "创建时间",
  10032. "type": "string"
  10033. },
  10034. "creatorid": {
  10035. "description": "建仓人",
  10036. "type": "integer"
  10037. },
  10038. "endtime": {
  10039. "description": "结束时间",
  10040. "type": "string"
  10041. },
  10042. "istop": {
  10043. "description": "是否置顶 - 0:不置顶 1:置顶",
  10044. "type": "integer"
  10045. },
  10046. "msgiconurl": {
  10047. "description": "消息图标Url",
  10048. "type": "string"
  10049. },
  10050. "msgtype": {
  10051. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  10052. "type": "integer"
  10053. },
  10054. "publisher": {
  10055. "description": "消息发布者",
  10056. "type": "string"
  10057. },
  10058. "readed": {
  10059. "description": "是否已读",
  10060. "type": "boolean"
  10061. },
  10062. "scheduletime": {
  10063. "description": "计划发送时间",
  10064. "type": "string"
  10065. },
  10066. "sendtype": {
  10067. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  10068. "type": "integer"
  10069. },
  10070. "sentstatus": {
  10071. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  10072. "type": "integer"
  10073. },
  10074. "title": {
  10075. "description": "标题",
  10076. "type": "string"
  10077. },
  10078. "userid": {
  10079. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  10080. "type": "integer"
  10081. }
  10082. }
  10083. },
  10084. "common.QueryProvincesAndCitiesRsp": {
  10085. "type": "object",
  10086. "properties": {
  10087. "cities": {
  10088. "description": "市",
  10089. "type": "array",
  10090. "items": {
  10091. "$ref": "#/definitions/models.Division"
  10092. }
  10093. },
  10094. "province": {
  10095. "description": "省",
  10096. "type": "object",
  10097. "$ref": "#/definitions/models.Division"
  10098. }
  10099. }
  10100. },
  10101. "common.QueryTableDefineRsp": {
  10102. "type": "object",
  10103. "required": [
  10104. "tablekey"
  10105. ],
  10106. "properties": {
  10107. "columns": {
  10108. "description": "列头信息数组",
  10109. "type": "array",
  10110. "items": {
  10111. "$ref": "#/definitions/models.Tablecolumnconfig"
  10112. }
  10113. },
  10114. "remark": {
  10115. "description": "Remark",
  10116. "type": "string"
  10117. },
  10118. "tabelmenu": {
  10119. "description": "列表菜单",
  10120. "type": "string"
  10121. },
  10122. "tablekey": {
  10123. "description": "列表Key",
  10124. "type": "string"
  10125. },
  10126. "tablename": {
  10127. "description": "列表名称",
  10128. "type": "string"
  10129. },
  10130. "tabletype": {
  10131. "description": "列表类型 - 1:管理端 2:终端",
  10132. "type": "integer"
  10133. }
  10134. }
  10135. },
  10136. "common.QueryTraderMenuRsp": {
  10137. "type": "object",
  10138. "properties": {
  10139. "OperationMenu": {
  10140. "description": "功能菜单",
  10141. "type": "array",
  10142. "items": {
  10143. "$ref": "#/definitions/models.OperationPrimaryMenu"
  10144. }
  10145. },
  10146. "QuoteMenu": {
  10147. "description": "报价牌分类菜单",
  10148. "type": "array",
  10149. "items": {
  10150. "$ref": "#/definitions/models.QuotePrimaryMenu"
  10151. }
  10152. }
  10153. }
  10154. },
  10155. "cptrade.Cptradepositioncancel": {
  10156. "type": "object",
  10157. "required": [
  10158. "cancelid"
  10159. ],
  10160. "properties": {
  10161. "accountid": {
  10162. "description": "申请人账户ID",
  10163. "type": "integer"
  10164. },
  10165. "applystatus": {
  10166. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10167. "type": "integer"
  10168. },
  10169. "applytime": {
  10170. "description": "申请时间",
  10171. "type": "string"
  10172. },
  10173. "cancelid": {
  10174. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  10175. "type": "integer"
  10176. },
  10177. "cancelqty": {
  10178. "description": "注销数量",
  10179. "type": "integer"
  10180. },
  10181. "createtime": {
  10182. "description": "创建时间",
  10183. "type": "string"
  10184. },
  10185. "creatorid": {
  10186. "description": "创建人ID",
  10187. "type": "integer"
  10188. },
  10189. "creatorname": {
  10190. "description": "创建人",
  10191. "type": "string"
  10192. },
  10193. "goodscode": {
  10194. "description": "订单商品代码",
  10195. "type": "string"
  10196. },
  10197. "goodsid": {
  10198. "description": "商品ID",
  10199. "type": "integer"
  10200. },
  10201. "goodsname": {
  10202. "description": "订单商品名称",
  10203. "type": "string"
  10204. },
  10205. "goodunit": {
  10206. "description": "报价单位",
  10207. "type": "string"
  10208. },
  10209. "handlestatus": {
  10210. "description": "处理状态",
  10211. "type": "integer"
  10212. },
  10213. "marketid": {
  10214. "description": "市场ID",
  10215. "type": "integer"
  10216. },
  10217. "marketname": {
  10218. "description": "市场名称",
  10219. "type": "string"
  10220. },
  10221. "tradedate": {
  10222. "description": "交易日(yyyyMMdd)",
  10223. "type": "string"
  10224. },
  10225. "userid": {
  10226. "description": "申请人ID",
  10227. "type": "integer"
  10228. }
  10229. }
  10230. },
  10231. "cptrade.Cptradepresaleapply": {
  10232. "type": "object",
  10233. "required": [
  10234. "applyid"
  10235. ],
  10236. "properties": {
  10237. "accountid": {
  10238. "description": "申请人账户ID",
  10239. "type": "integer"
  10240. },
  10241. "applyid": {
  10242. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  10243. "type": "integer"
  10244. },
  10245. "applyremark": {
  10246. "description": "申请备注",
  10247. "type": "string"
  10248. },
  10249. "applystatus": {
  10250. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10251. "type": "integer"
  10252. },
  10253. "applytime": {
  10254. "description": "申请时间",
  10255. "type": "string"
  10256. },
  10257. "attachmenturl": {
  10258. "description": "附件地址",
  10259. "type": "string"
  10260. },
  10261. "endtime": {
  10262. "description": "预售结束时间",
  10263. "type": "string"
  10264. },
  10265. "goodscode": {
  10266. "description": "商品代码",
  10267. "type": "string"
  10268. },
  10269. "goodsid": {
  10270. "description": "商品ID",
  10271. "type": "integer"
  10272. },
  10273. "goodsname": {
  10274. "description": "商品名称",
  10275. "type": "string"
  10276. },
  10277. "goodunit": {
  10278. "description": "报价单位",
  10279. "type": "string"
  10280. },
  10281. "handlestatus": {
  10282. "description": "处理状态",
  10283. "type": "integer"
  10284. },
  10285. "marketid": {
  10286. "description": "预售市场ID",
  10287. "type": "integer"
  10288. },
  10289. "marketname": {
  10290. "description": "预售市场名称",
  10291. "type": "string"
  10292. },
  10293. "presaleqty": {
  10294. "description": "预售数量",
  10295. "type": "integer"
  10296. },
  10297. "relatedgoodscode": {
  10298. "description": "关联交易合约代码",
  10299. "type": "string"
  10300. },
  10301. "relatedgoodsid": {
  10302. "description": "关联交易合约ID",
  10303. "type": "integer"
  10304. },
  10305. "relatedgoodsname": {
  10306. "description": "关联交易合约名称",
  10307. "type": "string"
  10308. },
  10309. "starttime": {
  10310. "description": "预售开始时间",
  10311. "type": "string"
  10312. },
  10313. "tradedate": {
  10314. "description": "交易日(yyyyMMdd)",
  10315. "type": "string"
  10316. },
  10317. "trademode": {
  10318. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  10319. "type": "integer"
  10320. },
  10321. "userid": {
  10322. "description": "申请人ID",
  10323. "type": "integer"
  10324. }
  10325. }
  10326. },
  10327. "cptrade.Cptradeusergoodsdata": {
  10328. "type": "object",
  10329. "required": [
  10330. "accountid",
  10331. "goodsid"
  10332. ],
  10333. "properties": {
  10334. "EnabledQty": {
  10335. "description": "可用量",
  10336. "type": "integer"
  10337. },
  10338. "GoodsCode": {
  10339. "description": "订单商品代码",
  10340. "type": "string"
  10341. },
  10342. "GoodsName": {
  10343. "description": "订单商品名称",
  10344. "type": "string"
  10345. },
  10346. "WRStandardCode": {
  10347. "description": "仓单标准代码",
  10348. "type": "string"
  10349. },
  10350. "WRStandardName": {
  10351. "description": "仓单标准名称",
  10352. "type": "string"
  10353. },
  10354. "accountid": {
  10355. "description": "账户ID",
  10356. "type": "integer"
  10357. },
  10358. "cancelqty": {
  10359. "description": "注销量",
  10360. "type": "integer"
  10361. },
  10362. "curpresaleqty": {
  10363. "description": "当前预售量",
  10364. "type": "integer"
  10365. },
  10366. "deliveryqty": {
  10367. "description": "交割量",
  10368. "type": "integer"
  10369. },
  10370. "freezeamount": {
  10371. "description": "冻结金额",
  10372. "type": "number"
  10373. },
  10374. "goodsid": {
  10375. "description": "商品ID",
  10376. "type": "integer"
  10377. },
  10378. "goodunit": {
  10379. "description": "报价单位",
  10380. "type": "string"
  10381. },
  10382. "hasspotfreeze": {
  10383. "description": "是否有现货冻结 - 0:否 1:有",
  10384. "type": "integer"
  10385. },
  10386. "inqty": {
  10387. "description": "转入量(总数量)",
  10388. "type": "integer"
  10389. },
  10390. "marketid": {
  10391. "description": "市场ID",
  10392. "type": "integer"
  10393. },
  10394. "presaledamount": {
  10395. "description": "已预售总金额",
  10396. "type": "integer"
  10397. },
  10398. "presaledqty": {
  10399. "description": "已预售量",
  10400. "type": "integer"
  10401. },
  10402. "userid": {
  10403. "description": "用户ID",
  10404. "type": "integer"
  10405. },
  10406. "wrstandardid": {
  10407. "description": "仓单标准ID",
  10408. "type": "integer"
  10409. }
  10410. }
  10411. },
  10412. "cptrade.QueryCPTradeMyBidRsp": {
  10413. "type": "object",
  10414. "required": [
  10415. "accountid",
  10416. "goodsid",
  10417. "marketid",
  10418. "orderid",
  10419. "orderqty",
  10420. "ordertime",
  10421. "tradeprice",
  10422. "tradeqty"
  10423. ],
  10424. "properties": {
  10425. "accountid": {
  10426. "description": "账户ID[报价币种]",
  10427. "type": "integer"
  10428. },
  10429. "goodsid": {
  10430. "description": "商品ID",
  10431. "type": "integer"
  10432. },
  10433. "goodunit": {
  10434. "description": "报价单位",
  10435. "type": "string"
  10436. },
  10437. "marketid": {
  10438. "description": "市场ID",
  10439. "type": "integer"
  10440. },
  10441. "orderid": {
  10442. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10443. "type": "integer"
  10444. },
  10445. "orderprice": {
  10446. "description": "委托价格",
  10447. "type": "number"
  10448. },
  10449. "orderqty": {
  10450. "description": "委托数量",
  10451. "type": "integer"
  10452. },
  10453. "ordertime": {
  10454. "description": "委托时间",
  10455. "type": "string"
  10456. },
  10457. "ordertotalprice": {
  10458. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  10459. "type": "number"
  10460. },
  10461. "ordertotalweight": {
  10462. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  10463. "type": "integer"
  10464. },
  10465. "totaltotalprice": {
  10466. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  10467. "type": "number"
  10468. },
  10469. "tradeprice": {
  10470. "description": "成交价格",
  10471. "type": "number"
  10472. },
  10473. "tradeqty": {
  10474. "description": "成交数量",
  10475. "type": "integer"
  10476. }
  10477. }
  10478. },
  10479. "cptrade.QueryCPTradeOrderDetailRsq": {
  10480. "type": "object",
  10481. "required": [
  10482. "accountid",
  10483. "buildtype",
  10484. "buyorsell",
  10485. "goodsid",
  10486. "marketid",
  10487. "memberuserid",
  10488. "operatetype",
  10489. "orderqty",
  10490. "ordertime",
  10491. "pricemode",
  10492. "strorderid",
  10493. "tradedate",
  10494. "validtype"
  10495. ],
  10496. "properties": {
  10497. "accountid": {
  10498. "description": "账户ID[报价币种]",
  10499. "type": "integer"
  10500. },
  10501. "buildtype": {
  10502. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10503. "type": "integer"
  10504. },
  10505. "buyorsell": {
  10506. "description": "买卖 - 0:买 1:卖",
  10507. "type": "integer"
  10508. },
  10509. "cancelorderid": {
  10510. "description": "撤单单号(撤单时填写)",
  10511. "type": "integer"
  10512. },
  10513. "cancelqty": {
  10514. "description": "撤单数量",
  10515. "type": "integer"
  10516. },
  10517. "clientordertime": {
  10518. "description": "客户端委托时间",
  10519. "type": "string"
  10520. },
  10521. "clientticket": {
  10522. "description": "客户端流水号",
  10523. "type": "string"
  10524. },
  10525. "clienttype": {
  10526. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10527. "type": "integer"
  10528. },
  10529. "closeexchagechargevalue": {
  10530. "description": "平仓交易所手续费设置值",
  10531. "type": "number"
  10532. },
  10533. "closefeealgorithm": {
  10534. "description": "平仓手续费收取方式 1:比率 2:固定",
  10535. "type": "integer"
  10536. },
  10537. "closefreezecharge": {
  10538. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10539. "type": "number"
  10540. },
  10541. "closememberchargevalue": {
  10542. "description": "平仓会员手续费设置值",
  10543. "type": "number"
  10544. },
  10545. "closeqty": {
  10546. "description": "平仓数量(先建后平操作 需要记录)",
  10547. "type": "integer"
  10548. },
  10549. "closetradeqty": {
  10550. "description": "平仓成交数量(先建后平操作,需要记录)",
  10551. "type": "integer"
  10552. },
  10553. "closeunfreezecharge": {
  10554. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10555. "type": "number"
  10556. },
  10557. "delistingtype": {
  10558. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10559. "type": "integer"
  10560. },
  10561. "freezecharge": {
  10562. "description": "冻结手续费",
  10563. "type": "number"
  10564. },
  10565. "freezemargin": {
  10566. "description": "冻结保证金(冻结交易金额)",
  10567. "type": "number"
  10568. },
  10569. "gcaccountid": {
  10570. "description": "账户ID[合约币种]",
  10571. "type": "integer"
  10572. },
  10573. "goodsid": {
  10574. "description": "商品ID",
  10575. "type": "integer"
  10576. },
  10577. "isconfirmexercise": {
  10578. "description": "是否确认行权- 0:否 1:是",
  10579. "type": "integer"
  10580. },
  10581. "ispreexercise": {
  10582. "description": "是否预申报- 0:否 1:是",
  10583. "type": "integer"
  10584. },
  10585. "listingselecttype": {
  10586. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10587. "type": "integer"
  10588. },
  10589. "marginalgorithm": {
  10590. "description": "保证金收取方式 1:比率 2:固定",
  10591. "type": "integer"
  10592. },
  10593. "marginvalue": {
  10594. "description": "即市保证金设置值",
  10595. "type": "number"
  10596. },
  10597. "marketid": {
  10598. "description": "市场ID",
  10599. "type": "integer"
  10600. },
  10601. "marketmaxsub": {
  10602. "description": "市价最大偏移范围",
  10603. "type": "number"
  10604. },
  10605. "memberuserid": {
  10606. "description": "所属会员UserID",
  10607. "type": "integer"
  10608. },
  10609. "openexchagechargevalue": {
  10610. "description": "建仓交易所手续费设置值",
  10611. "type": "number"
  10612. },
  10613. "openfeealgorithm": {
  10614. "description": "建仓手续费收取方式 1:比率 2:固定",
  10615. "type": "integer"
  10616. },
  10617. "openfreezecharge": {
  10618. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10619. "type": "number"
  10620. },
  10621. "openmemberchargevalue": {
  10622. "description": "建仓会员手续费设置值",
  10623. "type": "number"
  10624. },
  10625. "openqty": {
  10626. "description": "开仓数量(先建后平操作,需要记录)",
  10627. "type": "integer"
  10628. },
  10629. "opentradeqty": {
  10630. "description": "开仓成交数量(先建后平操作,需要记录)",
  10631. "type": "integer"
  10632. },
  10633. "openunfreezecharge": {
  10634. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10635. "type": "number"
  10636. },
  10637. "operatetype": {
  10638. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10639. "type": "integer"
  10640. },
  10641. "operatorid": {
  10642. "description": "登录账号(LoginID)",
  10643. "type": "integer"
  10644. },
  10645. "optiontype": {
  10646. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10647. "type": "integer"
  10648. },
  10649. "orderprice": {
  10650. "description": "委托价格",
  10651. "type": "number"
  10652. },
  10653. "orderqty": {
  10654. "description": "委托数量",
  10655. "type": "integer"
  10656. },
  10657. "ordersrc": {
  10658. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10659. "type": "integer"
  10660. },
  10661. "orderstatus": {
  10662. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10663. "type": "integer"
  10664. },
  10665. "ordertime": {
  10666. "description": "委托时间",
  10667. "type": "string"
  10668. },
  10669. "preexerciseprice": {
  10670. "description": "预申报价格",
  10671. "type": "number"
  10672. },
  10673. "premium": {
  10674. "description": "权利金",
  10675. "type": "number"
  10676. },
  10677. "preorderid": {
  10678. "description": "关联预埋单号(止盈止损单时填写)",
  10679. "type": "integer"
  10680. },
  10681. "pricemode": {
  10682. "description": "取价方式 - 1:市价 2: 限价",
  10683. "type": "integer"
  10684. },
  10685. "quoteid": {
  10686. "description": "报价单ID",
  10687. "type": "integer"
  10688. },
  10689. "relatedid": {
  10690. "description": "关联单号(交割单)",
  10691. "type": "integer"
  10692. },
  10693. "retcode": {
  10694. "description": "错误代码",
  10695. "type": "integer"
  10696. },
  10697. "sessionid": {
  10698. "description": "会话ID",
  10699. "type": "integer"
  10700. },
  10701. "strorderid": {
  10702. "description": "委托单号",
  10703. "type": "string"
  10704. },
  10705. "tradedate": {
  10706. "description": "交易日(yyyyMMdd)",
  10707. "type": "string"
  10708. },
  10709. "tradeproperty": {
  10710. "description": "交易属性",
  10711. "type": "integer"
  10712. },
  10713. "tradeqty": {
  10714. "description": "成交数量",
  10715. "type": "integer"
  10716. },
  10717. "unfreezecharge": {
  10718. "description": "解冻手续费",
  10719. "type": "number"
  10720. },
  10721. "unfreezemargin": {
  10722. "description": "解冻保证金",
  10723. "type": "number"
  10724. },
  10725. "updatetime": {
  10726. "description": "更新时间",
  10727. "type": "string"
  10728. },
  10729. "uuid": {
  10730. "description": "发起端唯一id",
  10731. "type": "string"
  10732. },
  10733. "validtime": {
  10734. "description": "有效期限",
  10735. "type": "string"
  10736. },
  10737. "validtype": {
  10738. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10739. "type": "integer"
  10740. },
  10741. "volumetype": {
  10742. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10743. "type": "integer"
  10744. }
  10745. }
  10746. },
  10747. "cptrade.QueryMyCPTradeGoodsRsp": {
  10748. "type": "object",
  10749. "required": [
  10750. "goodscode",
  10751. "goodsid",
  10752. "goodsname",
  10753. "marketid",
  10754. "relatedgoodscode",
  10755. "relatedgoodsname"
  10756. ],
  10757. "properties": {
  10758. "accountid": {
  10759. "description": "卖方账户ID",
  10760. "type": "integer"
  10761. },
  10762. "agreeunit": {
  10763. "description": "合约单位",
  10764. "type": "number"
  10765. },
  10766. "applyid": {
  10767. "description": "关联申请ID",
  10768. "type": "integer"
  10769. },
  10770. "attachmenturl": {
  10771. "description": "附件地址",
  10772. "type": "string"
  10773. },
  10774. "createtime": {
  10775. "description": "创建时间",
  10776. "type": "string"
  10777. },
  10778. "currencyid": {
  10779. "description": "报价货币ID",
  10780. "type": "integer"
  10781. },
  10782. "decimalplace": {
  10783. "description": "报价小数位",
  10784. "type": "integer"
  10785. },
  10786. "endtime": {
  10787. "description": "预售结束时间",
  10788. "type": "string"
  10789. },
  10790. "floorprice": {
  10791. "description": "底价[大宗式竞拍]",
  10792. "type": "number"
  10793. },
  10794. "goodscode": {
  10795. "description": "商品代码(预售)",
  10796. "type": "string"
  10797. },
  10798. "goodsdetail": {
  10799. "description": "详情[大宗]",
  10800. "type": "string"
  10801. },
  10802. "goodsid": {
  10803. "description": "商品ID(自增ID SEQ_GOODS)",
  10804. "type": "integer"
  10805. },
  10806. "goodsname": {
  10807. "description": "商品名称(预售)",
  10808. "type": "string"
  10809. },
  10810. "goodunit": {
  10811. "description": "报价单位",
  10812. "type": "string"
  10813. },
  10814. "goodunitid": {
  10815. "description": "报价单位ID",
  10816. "type": "integer"
  10817. },
  10818. "marketid": {
  10819. "description": "所属市场ID",
  10820. "type": "integer"
  10821. },
  10822. "marketname": {
  10823. "description": "预售市场名称",
  10824. "type": "string"
  10825. },
  10826. "presaledamount": {
  10827. "description": "已预售总金额(预售结束时更新)",
  10828. "type": "number"
  10829. },
  10830. "presaledqty": {
  10831. "description": "已预售量(预售结束时更新)",
  10832. "type": "integer"
  10833. },
  10834. "presalemode": {
  10835. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10836. "type": "integer"
  10837. },
  10838. "presaleqty": {
  10839. "description": "预售数量",
  10840. "type": "integer"
  10841. },
  10842. "refprice": {
  10843. "description": "参考价格[一口价]",
  10844. "type": "number"
  10845. },
  10846. "relatedgoodscode": {
  10847. "description": "商品代码(订单)",
  10848. "type": "string"
  10849. },
  10850. "relatedgoodsid": {
  10851. "description": "关联交易合约ID",
  10852. "type": "integer"
  10853. },
  10854. "relatedgoodsname": {
  10855. "description": "商品名称(订单)",
  10856. "type": "string"
  10857. },
  10858. "relatedmarketid": {
  10859. "description": "关联交易合约市场ID",
  10860. "type": "integer"
  10861. },
  10862. "sellstatus": {
  10863. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10864. "type": "integer"
  10865. },
  10866. "startprice": {
  10867. "description": "起拍价[大宗式竞拍]",
  10868. "type": "number"
  10869. },
  10870. "starttime": {
  10871. "description": "预售开始时间",
  10872. "type": "string"
  10873. },
  10874. "tradedate": {
  10875. "description": "交易日(yyyyMMdd)",
  10876. "type": "string"
  10877. },
  10878. "tradeprice": {
  10879. "description": "成交价[大宗]",
  10880. "type": "number"
  10881. },
  10882. "userid": {
  10883. "description": "卖方用户ID",
  10884. "type": "integer"
  10885. }
  10886. }
  10887. },
  10888. "cptrade.QueryPresaleGoodsExRsp": {
  10889. "type": "object",
  10890. "required": [
  10891. "goodsid"
  10892. ],
  10893. "properties": {
  10894. "attachmenturl": {
  10895. "description": "附件地址",
  10896. "type": "string"
  10897. },
  10898. "createtime": {
  10899. "description": "创建时间",
  10900. "type": "string"
  10901. },
  10902. "endtime": {
  10903. "description": "预售结束时间",
  10904. "type": "string"
  10905. },
  10906. "floorprice": {
  10907. "description": "底价[大宗式竞拍]",
  10908. "type": "number"
  10909. },
  10910. "goodsdetail": {
  10911. "description": "详情[大宗]",
  10912. "type": "string"
  10913. },
  10914. "goodsid": {
  10915. "description": "商品ID(预售)",
  10916. "type": "integer"
  10917. },
  10918. "goodunit": {
  10919. "description": "报价单位",
  10920. "type": "string"
  10921. },
  10922. "marketid": {
  10923. "description": "预售市场ID - 根据预售模式选择市场",
  10924. "type": "integer"
  10925. },
  10926. "presaledamount": {
  10927. "description": "已预售总金额(预售结束时更新)",
  10928. "type": "number"
  10929. },
  10930. "presaledqty": {
  10931. "description": "已预售量(预售结束时更新)",
  10932. "type": "integer"
  10933. },
  10934. "presalemode": {
  10935. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10936. "type": "integer"
  10937. },
  10938. "presaleqty": {
  10939. "description": "预售数量",
  10940. "type": "integer"
  10941. },
  10942. "refprice": {
  10943. "description": "参考价格[一口价]",
  10944. "type": "number"
  10945. },
  10946. "relatedgoodsid": {
  10947. "description": "关联交易合约ID",
  10948. "type": "integer"
  10949. },
  10950. "relatedmarketid": {
  10951. "description": "关联交易合约市场ID",
  10952. "type": "integer"
  10953. },
  10954. "sellstatus": {
  10955. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10956. "type": "integer"
  10957. },
  10958. "startprice": {
  10959. "description": "起拍价[大宗式竞拍]",
  10960. "type": "number"
  10961. },
  10962. "starttime": {
  10963. "description": "预售开始时间",
  10964. "type": "string"
  10965. },
  10966. "tradedate": {
  10967. "description": "交易日(yyyyMMdd)",
  10968. "type": "string"
  10969. },
  10970. "tradeprice": {
  10971. "description": "成交价[大宗]",
  10972. "type": "number"
  10973. }
  10974. }
  10975. },
  10976. "delivery.QueryDeliveryRelationRsp": {
  10977. "type": "object",
  10978. "required": [
  10979. "begindate",
  10980. "enddate",
  10981. "goodsid",
  10982. "mindeliveryqty",
  10983. "xdeliveryratio"
  10984. ],
  10985. "properties": {
  10986. "begindate": {
  10987. "description": "起始日期(yyyyMMdd)",
  10988. "type": "string"
  10989. },
  10990. "buytemplateid": {
  10991. "description": "买履约计划模板ID",
  10992. "type": "integer"
  10993. },
  10994. "deliverygoodscode": {
  10995. "description": "品种代码",
  10996. "type": "string"
  10997. },
  10998. "deliverygoodsid": {
  10999. "description": "交割商品",
  11000. "type": "integer"
  11001. },
  11002. "deliverygoodsname": {
  11003. "description": "品种名称",
  11004. "type": "string"
  11005. },
  11006. "deliverymode": {
  11007. "description": "交割方式 - 1:点选式 2:申报式",
  11008. "type": "integer"
  11009. },
  11010. "deliverypricerule": {
  11011. "description": "交割价规则- 1:行情价 2:建仓价",
  11012. "type": "integer"
  11013. },
  11014. "deliverytype": {
  11015. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  11016. "type": "integer"
  11017. },
  11018. "enddate": {
  11019. "description": "结束日期(yyyyMMdd)",
  11020. "type": "string"
  11021. },
  11022. "goodscode": {
  11023. "description": "商品代码",
  11024. "type": "string"
  11025. },
  11026. "goodsid": {
  11027. "description": "交易合约ID",
  11028. "type": "integer"
  11029. },
  11030. "goodsname": {
  11031. "description": "商品名称",
  11032. "type": "string"
  11033. },
  11034. "marketid": {
  11035. "description": "市场ID",
  11036. "type": "integer"
  11037. },
  11038. "mindeliveryqty": {
  11039. "description": "最小交割系数(K)",
  11040. "type": "integer"
  11041. },
  11042. "p2deliveryprice": {
  11043. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  11044. "type": "number"
  11045. },
  11046. "p2deliveryratio": {
  11047. "description": "P2合约系数(p)",
  11048. "type": "integer"
  11049. },
  11050. "p2goodsid": {
  11051. "description": "P2合约ID",
  11052. "type": "integer"
  11053. },
  11054. "p2pricemode": {
  11055. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  11056. "type": "integer"
  11057. },
  11058. "pdeliveryprice": {
  11059. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  11060. "type": "number"
  11061. },
  11062. "pdeliveryratio": {
  11063. "description": "P合约系数(n)",
  11064. "type": "integer"
  11065. },
  11066. "pgoodsid": {
  11067. "description": "P合约ID",
  11068. "type": "integer"
  11069. },
  11070. "ppricemode": {
  11071. "description": "P合约价格方式 - 1:商品价 2:固定值",
  11072. "type": "integer"
  11073. },
  11074. "rratio": {
  11075. "description": "兑换系数(R)",
  11076. "type": "integer"
  11077. },
  11078. "rratio1": {
  11079. "description": "兑换系数(交易合约)(R1)",
  11080. "type": "integer"
  11081. },
  11082. "rratio2": {
  11083. "description": "兑换系数(仓单标准)(R2)",
  11084. "type": "integer"
  11085. },
  11086. "selltemplateid": {
  11087. "description": "卖履约计划模板ID",
  11088. "type": "integer"
  11089. },
  11090. "wrstandardid": {
  11091. "description": "仓单标准ID",
  11092. "type": "integer"
  11093. },
  11094. "xdeliveryratio": {
  11095. "description": "交易合约系数(m)",
  11096. "type": "integer"
  11097. }
  11098. }
  11099. },
  11100. "ermcp.ExposureDetailRsp": {
  11101. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  11102. },
  11103. "ermcp.ExposureHedgePosDetailRsp": {
  11104. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  11105. },
  11106. "ermcp.ExposureHedgePositionRsp": {
  11107. "$ref": "#/definitions/models.ErmcpHedgePosition"
  11108. },
  11109. "ermcp.ExposureSpotDetailRsp": {
  11110. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  11111. },
  11112. "ermcp.ExposureSpotRsp": {
  11113. "$ref": "#/definitions/models.AreaSpotModel"
  11114. },
  11115. "ermcp.HisExposureRsp": {
  11116. "$ref": "#/definitions/models.ErmcpHisExposureS"
  11117. },
  11118. "ermcp.PendingAuditCntRsp": {
  11119. "$ref": "#/definitions/models.ErmcpPendingAudit"
  11120. },
  11121. "ermcp.QryAvalidGPRsp": {
  11122. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  11123. },
  11124. "ermcp.QryBusinessDjRsp": {
  11125. "type": "object",
  11126. "properties": {
  11127. "amount": {
  11128. "description": "点价金额=(点价价格+升贴水)*点价数量",
  11129. "type": "number"
  11130. },
  11131. "applyid": {
  11132. "description": "申请人",
  11133. "type": "string"
  11134. },
  11135. "applyname": {
  11136. "description": "申请人名称",
  11137. "type": "string"
  11138. },
  11139. "applystatus": {
  11140. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11141. "type": "integer"
  11142. },
  11143. "applytime": {
  11144. "description": "申请时间",
  11145. "type": "string"
  11146. },
  11147. "attachurl": {
  11148. "description": "附件",
  11149. "type": "string"
  11150. },
  11151. "auditid": {
  11152. "description": "审核人ID",
  11153. "type": "string"
  11154. },
  11155. "auditname": {
  11156. "description": "审核人名称",
  11157. "type": "string"
  11158. },
  11159. "audittime": {
  11160. "description": "审核时间",
  11161. "type": "string"
  11162. },
  11163. "buyusername": {
  11164. "description": "采购方名称",
  11165. "type": "string"
  11166. },
  11167. "contractno": {
  11168. "description": "合同编号",
  11169. "type": "string"
  11170. },
  11171. "contractstatus": {
  11172. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11173. "type": "integer"
  11174. },
  11175. "contracttype": {
  11176. "description": "现货合同类型 - 1:采购 -1:销售",
  11177. "type": "integer"
  11178. },
  11179. "deliverygoodscode": {
  11180. "description": "现货品种代码",
  11181. "type": "string"
  11182. },
  11183. "deliverygoodsid": {
  11184. "description": "现货商品ID",
  11185. "type": "integer"
  11186. },
  11187. "deliverygoodsname": {
  11188. "description": "现货品种名称",
  11189. "type": "string"
  11190. },
  11191. "enumdicname": {
  11192. "description": "单位名称",
  11193. "type": "string"
  11194. },
  11195. "goodscode": {
  11196. "description": "点价合约",
  11197. "type": "string"
  11198. },
  11199. "goodsname": {
  11200. "description": "商品名称",
  11201. "type": "string"
  11202. },
  11203. "operateapplyid": {
  11204. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11205. "type": "string"
  11206. },
  11207. "operateapplytype": {
  11208. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11209. "type": "integer"
  11210. },
  11211. "pricedPrice": {
  11212. "description": "点价价格(非必填)",
  11213. "type": "number"
  11214. },
  11215. "pricedQty": {
  11216. "description": "点价数量(非必填)",
  11217. "type": "number"
  11218. },
  11219. "pricemove": {
  11220. "description": "升贴水",
  11221. "type": "number"
  11222. },
  11223. "pricetype": {
  11224. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11225. "type": "integer"
  11226. },
  11227. "relatedid": {
  11228. "description": "现货合同ID",
  11229. "type": "string"
  11230. },
  11231. "sellusername": {
  11232. "description": "销售方名字",
  11233. "type": "string"
  11234. },
  11235. "userid": {
  11236. "description": "用户ID",
  11237. "type": "integer"
  11238. },
  11239. "wrstandardcode": {
  11240. "description": "品类代码",
  11241. "type": "string"
  11242. },
  11243. "wrstandardid": {
  11244. "description": "品类id",
  11245. "type": "integer"
  11246. },
  11247. "wrstandardname": {
  11248. "description": "品类名称",
  11249. "type": "string"
  11250. }
  11251. }
  11252. },
  11253. "ermcp.QryBussinessFpRsp": {
  11254. "type": "object",
  11255. "properties": {
  11256. "applyid": {
  11257. "description": "申请人",
  11258. "type": "string"
  11259. },
  11260. "applyname": {
  11261. "description": "申请人名称",
  11262. "type": "string"
  11263. },
  11264. "applystatus": {
  11265. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11266. "type": "integer"
  11267. },
  11268. "applytime": {
  11269. "description": "申请时间",
  11270. "type": "string"
  11271. },
  11272. "attachurl": {
  11273. "description": "附件",
  11274. "type": "string"
  11275. },
  11276. "auditid": {
  11277. "description": "审核人ID",
  11278. "type": "string"
  11279. },
  11280. "auditname": {
  11281. "description": "审核人名称",
  11282. "type": "string"
  11283. },
  11284. "audittime": {
  11285. "description": "审核时间",
  11286. "type": "string"
  11287. },
  11288. "buyusername": {
  11289. "description": "采购方名称",
  11290. "type": "string"
  11291. },
  11292. "contractno": {
  11293. "description": "合同编号",
  11294. "type": "string"
  11295. },
  11296. "contractstatus": {
  11297. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11298. "type": "integer"
  11299. },
  11300. "contracttype": {
  11301. "description": "现货合同类型 - 1:采购 -1:销售",
  11302. "type": "integer"
  11303. },
  11304. "deliverygoodscode": {
  11305. "description": "现货品种代码",
  11306. "type": "string"
  11307. },
  11308. "deliverygoodsid": {
  11309. "description": "现货商品ID",
  11310. "type": "integer"
  11311. },
  11312. "deliverygoodsname": {
  11313. "description": "现货品种名称",
  11314. "type": "string"
  11315. },
  11316. "enumdicname": {
  11317. "description": "单位名称",
  11318. "type": "string"
  11319. },
  11320. "goodscode": {
  11321. "description": "点价合约",
  11322. "type": "string"
  11323. },
  11324. "goodsname": {
  11325. "description": "商品名称",
  11326. "type": "string"
  11327. },
  11328. "invoiceAmount": {
  11329. "description": "已开收票金额(销售为开票,采购为收票)",
  11330. "type": "number"
  11331. },
  11332. "operateapplyid": {
  11333. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11334. "type": "string"
  11335. },
  11336. "operateapplytype": {
  11337. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11338. "type": "integer"
  11339. },
  11340. "pricemove": {
  11341. "description": "升贴水",
  11342. "type": "number"
  11343. },
  11344. "pricetype": {
  11345. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11346. "type": "integer"
  11347. },
  11348. "relatedid": {
  11349. "description": "现货合同ID",
  11350. "type": "string"
  11351. },
  11352. "sellusername": {
  11353. "description": "销售方名字",
  11354. "type": "string"
  11355. },
  11356. "userid": {
  11357. "description": "用户ID",
  11358. "type": "integer"
  11359. },
  11360. "wrstandardcode": {
  11361. "description": "品类代码",
  11362. "type": "string"
  11363. },
  11364. "wrstandardid": {
  11365. "description": "品类id",
  11366. "type": "integer"
  11367. },
  11368. "wrstandardname": {
  11369. "description": "品类名称",
  11370. "type": "string"
  11371. }
  11372. }
  11373. },
  11374. "ermcp.QryBussinessJsExRsp": {
  11375. "type": "object",
  11376. "properties": {
  11377. "applyid": {
  11378. "description": "申请人",
  11379. "type": "string"
  11380. },
  11381. "applyname": {
  11382. "description": "申请人名称",
  11383. "type": "string"
  11384. },
  11385. "applystatus": {
  11386. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11387. "type": "integer"
  11388. },
  11389. "applytime": {
  11390. "description": "申请时间",
  11391. "type": "string"
  11392. },
  11393. "attachurl": {
  11394. "description": "附件",
  11395. "type": "string"
  11396. },
  11397. "auditid": {
  11398. "description": "审核人ID",
  11399. "type": "string"
  11400. },
  11401. "auditname": {
  11402. "description": "审核人名称",
  11403. "type": "string"
  11404. },
  11405. "audittime": {
  11406. "description": "审核时间",
  11407. "type": "string"
  11408. },
  11409. "buyusername": {
  11410. "description": "采购方名称",
  11411. "type": "string"
  11412. },
  11413. "contractno": {
  11414. "description": "合同编号",
  11415. "type": "string"
  11416. },
  11417. "contractstatus": {
  11418. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11419. "type": "integer"
  11420. },
  11421. "contracttype": {
  11422. "description": "现货合同类型 - 1:采购 -1:销售",
  11423. "type": "integer"
  11424. },
  11425. "deliverygoodscode": {
  11426. "description": "现货品种代码",
  11427. "type": "string"
  11428. },
  11429. "deliverygoodsid": {
  11430. "description": "现货商品ID",
  11431. "type": "integer"
  11432. },
  11433. "deliverygoodsname": {
  11434. "description": "现货品种名称",
  11435. "type": "string"
  11436. },
  11437. "enumdicname": {
  11438. "description": "单位名称",
  11439. "type": "string"
  11440. },
  11441. "goodscode": {
  11442. "description": "点价合约",
  11443. "type": "string"
  11444. },
  11445. "goodsname": {
  11446. "description": "商品名称",
  11447. "type": "string"
  11448. },
  11449. "operateapplyid": {
  11450. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11451. "type": "string"
  11452. },
  11453. "operateapplytype": {
  11454. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11455. "type": "integer"
  11456. },
  11457. "pricemove": {
  11458. "description": "升贴水",
  11459. "type": "number"
  11460. },
  11461. "pricetype": {
  11462. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11463. "type": "integer"
  11464. },
  11465. "reckontype": {
  11466. "description": "结算类型",
  11467. "type": "string"
  11468. },
  11469. "reckonvalue": {
  11470. "description": "值",
  11471. "type": "number"
  11472. },
  11473. "relatedid": {
  11474. "description": "现货合同ID",
  11475. "type": "string"
  11476. },
  11477. "sellusername": {
  11478. "description": "销售方名字",
  11479. "type": "string"
  11480. },
  11481. "userid": {
  11482. "description": "用户ID",
  11483. "type": "integer"
  11484. },
  11485. "wrstandardcode": {
  11486. "description": "品类代码",
  11487. "type": "string"
  11488. },
  11489. "wrstandardid": {
  11490. "description": "品类id",
  11491. "type": "integer"
  11492. },
  11493. "wrstandardname": {
  11494. "description": "品类名称",
  11495. "type": "string"
  11496. }
  11497. }
  11498. },
  11499. "ermcp.QryBussinessJsRsp": {
  11500. "type": "object",
  11501. "properties": {
  11502. "addmargin": {
  11503. "description": "追加保证金(非必填)",
  11504. "type": "number"
  11505. },
  11506. "applyid": {
  11507. "description": "申请人",
  11508. "type": "string"
  11509. },
  11510. "applyname": {
  11511. "description": "申请人名称",
  11512. "type": "string"
  11513. },
  11514. "applystatus": {
  11515. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11516. "type": "integer"
  11517. },
  11518. "applytime": {
  11519. "description": "申请时间",
  11520. "type": "string"
  11521. },
  11522. "attachurl": {
  11523. "description": "附件",
  11524. "type": "string"
  11525. },
  11526. "auditid": {
  11527. "description": "审核人ID",
  11528. "type": "string"
  11529. },
  11530. "auditname": {
  11531. "description": "审核人名称",
  11532. "type": "string"
  11533. },
  11534. "audittime": {
  11535. "description": "审核时间",
  11536. "type": "string"
  11537. },
  11538. "buyusername": {
  11539. "description": "采购方名称",
  11540. "type": "string"
  11541. },
  11542. "contractno": {
  11543. "description": "合同编号",
  11544. "type": "string"
  11545. },
  11546. "contractstatus": {
  11547. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11548. "type": "integer"
  11549. },
  11550. "contracttype": {
  11551. "description": "现货合同类型 - 1:采购 -1:销售",
  11552. "type": "integer"
  11553. },
  11554. "decmargin": {
  11555. "description": "减少保证金(非必填)",
  11556. "type": "number"
  11557. },
  11558. "deliverygoodscode": {
  11559. "description": "现货品种代码",
  11560. "type": "string"
  11561. },
  11562. "deliverygoodsid": {
  11563. "description": "现货商品ID",
  11564. "type": "integer"
  11565. },
  11566. "deliverygoodsname": {
  11567. "description": "现货品种名称",
  11568. "type": "string"
  11569. },
  11570. "enumdicname": {
  11571. "description": "单位名称",
  11572. "type": "string"
  11573. },
  11574. "goodscode": {
  11575. "description": "点价合约",
  11576. "type": "string"
  11577. },
  11578. "goodsname": {
  11579. "description": "商品名称",
  11580. "type": "string"
  11581. },
  11582. "operateapplyid": {
  11583. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11584. "type": "string"
  11585. },
  11586. "operateapplytype": {
  11587. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11588. "type": "integer"
  11589. },
  11590. "pricemove": {
  11591. "description": "升贴水",
  11592. "type": "number"
  11593. },
  11594. "pricetype": {
  11595. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11596. "type": "integer"
  11597. },
  11598. "reckonadjustamount": {
  11599. "description": "结算调整金额(非必填)",
  11600. "type": "number"
  11601. },
  11602. "reckonosamount": {
  11603. "description": "结算溢短金额(非必填)",
  11604. "type": "number"
  11605. },
  11606. "reckonotheramount": {
  11607. "description": "结算其他费用(非必填)",
  11608. "type": "number"
  11609. },
  11610. "reckonrealqty": {
  11611. "description": "结算实际数量(非必填)",
  11612. "type": "number"
  11613. },
  11614. "relatedid": {
  11615. "description": "现货合同ID",
  11616. "type": "string"
  11617. },
  11618. "sellusername": {
  11619. "description": "销售方名字",
  11620. "type": "string"
  11621. },
  11622. "userid": {
  11623. "description": "用户ID",
  11624. "type": "integer"
  11625. },
  11626. "wrstandardcode": {
  11627. "description": "品类代码",
  11628. "type": "string"
  11629. },
  11630. "wrstandardid": {
  11631. "description": "品类id",
  11632. "type": "integer"
  11633. },
  11634. "wrstandardname": {
  11635. "description": "品类名称",
  11636. "type": "string"
  11637. }
  11638. }
  11639. },
  11640. "ermcp.QryBussinessKxRsp": {
  11641. "type": "object",
  11642. "properties": {
  11643. "applyid": {
  11644. "description": "申请人",
  11645. "type": "string"
  11646. },
  11647. "applyname": {
  11648. "description": "申请人名称",
  11649. "type": "string"
  11650. },
  11651. "applystatus": {
  11652. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11653. "type": "integer"
  11654. },
  11655. "applytime": {
  11656. "description": "申请时间",
  11657. "type": "string"
  11658. },
  11659. "attachurl": {
  11660. "description": "附件",
  11661. "type": "string"
  11662. },
  11663. "auditid": {
  11664. "description": "审核人ID",
  11665. "type": "string"
  11666. },
  11667. "auditname": {
  11668. "description": "审核人名称",
  11669. "type": "string"
  11670. },
  11671. "audittime": {
  11672. "description": "审核时间",
  11673. "type": "string"
  11674. },
  11675. "buyusername": {
  11676. "description": "采购方名称",
  11677. "type": "string"
  11678. },
  11679. "contractno": {
  11680. "description": "合同编号",
  11681. "type": "string"
  11682. },
  11683. "contractstatus": {
  11684. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11685. "type": "integer"
  11686. },
  11687. "contracttype": {
  11688. "description": "现货合同类型 - 1:采购 -1:销售",
  11689. "type": "integer"
  11690. },
  11691. "deductamount": {
  11692. "description": "退款(非必填)",
  11693. "type": "number"
  11694. },
  11695. "deliverygoodscode": {
  11696. "description": "现货品种代码",
  11697. "type": "string"
  11698. },
  11699. "deliverygoodsid": {
  11700. "description": "现货商品ID",
  11701. "type": "integer"
  11702. },
  11703. "deliverygoodsname": {
  11704. "description": "现货品种名称",
  11705. "type": "string"
  11706. },
  11707. "enumdicname": {
  11708. "description": "单位名称",
  11709. "type": "string"
  11710. },
  11711. "goodscode": {
  11712. "description": "点价合约",
  11713. "type": "string"
  11714. },
  11715. "goodsname": {
  11716. "description": "商品名称",
  11717. "type": "string"
  11718. },
  11719. "kxtype": {
  11720. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11721. "type": "integer"
  11722. },
  11723. "operateapplyid": {
  11724. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11725. "type": "string"
  11726. },
  11727. "operateapplytype": {
  11728. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11729. "type": "integer"
  11730. },
  11731. "payamount": {
  11732. "description": "收付款(非必填)",
  11733. "type": "number"
  11734. },
  11735. "pricemove": {
  11736. "description": "升贴水",
  11737. "type": "number"
  11738. },
  11739. "pricetype": {
  11740. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11741. "type": "integer"
  11742. },
  11743. "relatedid": {
  11744. "description": "现货合同ID",
  11745. "type": "string"
  11746. },
  11747. "sellusername": {
  11748. "description": "销售方名字",
  11749. "type": "string"
  11750. },
  11751. "userid": {
  11752. "description": "用户ID",
  11753. "type": "integer"
  11754. },
  11755. "wrstandardcode": {
  11756. "description": "品类代码",
  11757. "type": "string"
  11758. },
  11759. "wrstandardid": {
  11760. "description": "品类id",
  11761. "type": "integer"
  11762. },
  11763. "wrstandardname": {
  11764. "description": "品类名称",
  11765. "type": "string"
  11766. }
  11767. }
  11768. },
  11769. "ermcp.QryGGCovertCfgRsp": {
  11770. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11771. },
  11772. "ermcp.QryMGChangeLogRsp": {
  11773. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11774. },
  11775. "ermcp.QryMiddleGoodsDetailRsp": {
  11776. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11777. },
  11778. "ermcp.QryMiddleGoodsRsp": {
  11779. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11780. },
  11781. "ermcp.QryOPLogRsp": {
  11782. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11783. },
  11784. "ermcp.QryUserInfoRsp": {
  11785. "$ref": "#/definitions/models.ErmcpUserModel"
  11786. },
  11787. "ermcp.QryWarehouseRsp": {
  11788. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11789. },
  11790. "ermcp.QueryErmcpTradePositionRsp": {
  11791. "type": "object",
  11792. "properties": {
  11793. "agreeunit": {
  11794. "description": "合约单位",
  11795. "type": "number"
  11796. },
  11797. "buyorsell": {
  11798. "description": "方向 - 0:买 1:卖",
  11799. "type": "integer"
  11800. },
  11801. "curpositionqty": {
  11802. "description": "持仓(总仓数量, 期末头寸)",
  11803. "type": "integer"
  11804. },
  11805. "curtdposition": {
  11806. "description": "今仓数量(期末今日头寸)",
  11807. "type": "integer"
  11808. },
  11809. "curtdpositionenabled": {
  11810. "description": "今仓可用",
  11811. "type": "integer"
  11812. },
  11813. "decimalplace": {
  11814. "description": "报价小数位",
  11815. "type": "integer"
  11816. },
  11817. "enableqty": {
  11818. "description": "可用(总仓可用)",
  11819. "type": "integer"
  11820. },
  11821. "exexchangename": {
  11822. "description": "外部交易所名称",
  11823. "type": "string"
  11824. },
  11825. "goodscode": {
  11826. "description": "商品代码(内部)",
  11827. "type": "string"
  11828. },
  11829. "goodsid": {
  11830. "description": "商品ID(自增ID SEQ_GOODS)",
  11831. "type": "integer"
  11832. },
  11833. "goodsname": {
  11834. "description": "商品名称",
  11835. "type": "string"
  11836. },
  11837. "last": {
  11838. "description": "现价",
  11839. "type": "number"
  11840. },
  11841. "marketid": {
  11842. "description": "所属市场ID",
  11843. "type": "integer"
  11844. },
  11845. "openaverageprice": {
  11846. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11847. "type": "number"
  11848. },
  11849. "opencost": {
  11850. "description": "开仓成本",
  11851. "type": "number"
  11852. },
  11853. "openpl": {
  11854. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11855. "type": "number"
  11856. },
  11857. "outgoodscode": {
  11858. "description": "商品代码(外部)",
  11859. "type": "string"
  11860. },
  11861. "positionaverageprice": {
  11862. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11863. "type": "number"
  11864. },
  11865. "positioncost": {
  11866. "description": "持仓成本",
  11867. "type": "number"
  11868. },
  11869. "positionpl": {
  11870. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11871. "type": "number"
  11872. },
  11873. "positionplrate": {
  11874. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11875. "type": "number"
  11876. },
  11877. "usedmargin": {
  11878. "description": "占用保证金",
  11879. "type": "number"
  11880. }
  11881. }
  11882. },
  11883. "ermcp.RealtimeExposurePositionRsp": {
  11884. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11885. },
  11886. "ermcp.RealtimeExposureRsp": {
  11887. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11888. },
  11889. "erms2.QueryArbitrageStrategyRsp": {
  11890. "type": "object",
  11891. "required": [
  11892. "asapplyid"
  11893. ],
  11894. "properties": {
  11895. "applybasis": {
  11896. "description": "申请基差",
  11897. "type": "number"
  11898. },
  11899. "asapplyid": {
  11900. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11901. "type": "string"
  11902. },
  11903. "asname": {
  11904. "description": "策略名称",
  11905. "type": "string"
  11906. },
  11907. "asno": {
  11908. "description": "策略编号",
  11909. "type": "string"
  11910. },
  11911. "basischangepl": {
  11912. "description": "基差变动损益[结算更新]",
  11913. "type": "number"
  11914. },
  11915. "biztype": {
  11916. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11917. "type": "integer"
  11918. },
  11919. "closetradedate": {
  11920. "description": "完结交易日(yyyyMMdd)",
  11921. "type": "string"
  11922. },
  11923. "curbasis": {
  11924. "description": "当前基差[结算更新]",
  11925. "type": "number"
  11926. },
  11927. "deliverygoodsid": {
  11928. "description": "现货品种ID",
  11929. "type": "integer"
  11930. },
  11931. "futureavgprice": {
  11932. "description": "期货建仓均价",
  11933. "type": "number"
  11934. },
  11935. "futurecloseamount": {
  11936. "description": "期货平仓金额",
  11937. "type": "number"
  11938. },
  11939. "futurecloseqty": {
  11940. "description": "期货平仓数量",
  11941. "type": "number"
  11942. },
  11943. "futureopenamount": {
  11944. "description": "期货开仓金额",
  11945. "type": "number"
  11946. },
  11947. "futureopenqty": {
  11948. "description": "期货开仓数量",
  11949. "type": "number"
  11950. },
  11951. "futurepl": {
  11952. "description": "期货总盈亏[结算更新]",
  11953. "type": "number"
  11954. },
  11955. "futureqty": {
  11956. "description": "期货持仓数量",
  11957. "type": "number"
  11958. },
  11959. "futurequote": {
  11960. "description": "期货额度",
  11961. "type": "number"
  11962. },
  11963. "goodsgroupid": {
  11964. "description": "期货品种ID",
  11965. "type": "integer"
  11966. },
  11967. "marketid": {
  11968. "description": "市场ID",
  11969. "type": "integer"
  11970. },
  11971. "netexposure": {
  11972. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11973. "type": "number"
  11974. },
  11975. "netexposurepl": {
  11976. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11977. "type": "number"
  11978. },
  11979. "netexposurerate": {
  11980. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11981. "type": "number"
  11982. },
  11983. "openbasis": {
  11984. "description": "建仓基差",
  11985. "type": "number"
  11986. },
  11987. "pricedspotqty": {
  11988. "description": "已定价现货数量",
  11989. "type": "number"
  11990. },
  11991. "pricedspotqtynotax": {
  11992. "description": "已定价现货不含税数量",
  11993. "type": "number"
  11994. },
  11995. "remark": {
  11996. "description": "备注",
  11997. "type": "string"
  11998. },
  11999. "spotavgprice": {
  12000. "description": "现货均价",
  12001. "type": "number"
  12002. },
  12003. "spotbuyamount": {
  12004. "description": "现货采购金额",
  12005. "type": "number"
  12006. },
  12007. "spotbuyqty": {
  12008. "description": "现货采购数量",
  12009. "type": "number"
  12010. },
  12011. "spotpl": {
  12012. "description": "现货总盈亏[结算更新]",
  12013. "type": "number"
  12014. },
  12015. "spotquota": {
  12016. "description": "现货额度",
  12017. "type": "number"
  12018. },
  12019. "spotsellamount": {
  12020. "description": "现货销售金额",
  12021. "type": "number"
  12022. },
  12023. "spotsellqty": {
  12024. "description": "现货销售数量",
  12025. "type": "number"
  12026. },
  12027. "spotusedquota": {
  12028. "description": "现货占用资金",
  12029. "type": "number"
  12030. },
  12031. "strategystatus": {
  12032. "description": "策略状态 - 0:未结束 1:已结束",
  12033. "type": "integer"
  12034. },
  12035. "totalpl": {
  12036. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12037. "type": "number"
  12038. },
  12039. "tradedate": {
  12040. "description": "交易日(yyyyMMdd)",
  12041. "type": "string"
  12042. },
  12043. "updatetime": {
  12044. "description": "更新时间",
  12045. "type": "string"
  12046. },
  12047. "usedquota": {
  12048. "description": "已占用资金",
  12049. "type": "number"
  12050. },
  12051. "userid": {
  12052. "description": "所属机构",
  12053. "type": "integer"
  12054. }
  12055. }
  12056. },
  12057. "erms2.QueryInnerTradeDetailRsp": {
  12058. "type": "object",
  12059. "required": [
  12060. "asapplyid",
  12061. "buyorsell",
  12062. "goodscode",
  12063. "goodsgroupid",
  12064. "goodsgroupname",
  12065. "goodsname",
  12066. "tradeid"
  12067. ],
  12068. "properties": {
  12069. "accountid": {
  12070. "description": "账号ID",
  12071. "type": "integer"
  12072. },
  12073. "agreeunit": {
  12074. "description": "合约单位",
  12075. "type": "number"
  12076. },
  12077. "asapplyid": {
  12078. "description": "策略申请ID",
  12079. "type": "integer"
  12080. },
  12081. "asname": {
  12082. "description": "策略名称",
  12083. "type": "string"
  12084. },
  12085. "asno": {
  12086. "description": "策略编号",
  12087. "type": "string"
  12088. },
  12089. "buyorsell": {
  12090. "description": "方向 - 0:买 1:卖",
  12091. "type": "integer"
  12092. },
  12093. "channelbuildtype": {
  12094. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  12095. "type": "integer"
  12096. },
  12097. "closetype": {
  12098. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  12099. "type": "integer"
  12100. },
  12101. "decimalplace": {
  12102. "description": "报价小数位",
  12103. "type": "integer"
  12104. },
  12105. "detailtype": {
  12106. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  12107. "type": "integer"
  12108. },
  12109. "exexchangecode": {
  12110. "description": "外部交易所代码",
  12111. "type": "string"
  12112. },
  12113. "exexchangename": {
  12114. "description": "外部交易所名称",
  12115. "type": "string"
  12116. },
  12117. "goodscode": {
  12118. "description": "商品代码(合约)",
  12119. "type": "string"
  12120. },
  12121. "goodsgroupid": {
  12122. "description": "商品组ID(品种ID)",
  12123. "type": "integer"
  12124. },
  12125. "goodsgroupname": {
  12126. "description": "商品组名称(品种)",
  12127. "type": "string"
  12128. },
  12129. "goodsid": {
  12130. "description": "商品ID",
  12131. "type": "integer"
  12132. },
  12133. "goodsname": {
  12134. "description": "商品名称(合约)",
  12135. "type": "string"
  12136. },
  12137. "goodunit": {
  12138. "description": "报价单位",
  12139. "type": "string"
  12140. },
  12141. "marketid": {
  12142. "description": "市场ID",
  12143. "type": "integer"
  12144. },
  12145. "orderid": {
  12146. "description": "委托单号",
  12147. "type": "string"
  12148. },
  12149. "outgoodscode": {
  12150. "description": "商品代码(外部)",
  12151. "type": "string"
  12152. },
  12153. "relatedouttradeid": {
  12154. "description": "关联外部成交单ID",
  12155. "type": "string"
  12156. },
  12157. "remark": {
  12158. "description": "备注",
  12159. "type": "string"
  12160. },
  12161. "spotcontractid": {
  12162. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12163. "type": "integer"
  12164. },
  12165. "spotcontractno": {
  12166. "description": "现货合同编号",
  12167. "type": "string"
  12168. },
  12169. "tradeid": {
  12170. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12171. "type": "string"
  12172. },
  12173. "tradeprice": {
  12174. "description": "成交价格",
  12175. "type": "number"
  12176. },
  12177. "tradeqty": {
  12178. "description": "成交数量",
  12179. "type": "integer"
  12180. },
  12181. "tradetime": {
  12182. "description": "成交时间",
  12183. "type": "string"
  12184. },
  12185. "updatetime": {
  12186. "description": "更新时间",
  12187. "type": "string"
  12188. }
  12189. }
  12190. },
  12191. "erms2.QuerySpotContractRsp": {
  12192. "type": "object",
  12193. "required": [
  12194. "spotcontractid"
  12195. ],
  12196. "properties": {
  12197. "accountid": {
  12198. "description": "资金账户ID",
  12199. "type": "integer"
  12200. },
  12201. "areauserid": {
  12202. "description": "所属机构",
  12203. "type": "integer"
  12204. },
  12205. "closedate": {
  12206. "description": "终止日期",
  12207. "type": "string"
  12208. },
  12209. "closeremark": {
  12210. "description": "结束备注",
  12211. "type": "string"
  12212. },
  12213. "closetradedate": {
  12214. "description": "完结交易日(yyyyMMdd)",
  12215. "type": "string"
  12216. },
  12217. "closetype": {
  12218. "description": "终止类型 - 1:违约 2:提前终止",
  12219. "type": "integer"
  12220. },
  12221. "contractamount": {
  12222. "description": "合同金额",
  12223. "type": "number"
  12224. },
  12225. "contractattachment": {
  12226. "description": "合同附件",
  12227. "type": "string"
  12228. },
  12229. "contractno": {
  12230. "description": "现货合同编号",
  12231. "type": "string"
  12232. },
  12233. "contractqty": {
  12234. "description": "合同数量(数值) (用于计算)",
  12235. "type": "number"
  12236. },
  12237. "contractqtychar": {
  12238. "description": "合同数量\\已订价数量 (用于显示)",
  12239. "type": "string"
  12240. },
  12241. "contractstatus": {
  12242. "description": "合同状态 - 0:未结束 1:已结束",
  12243. "type": "integer"
  12244. },
  12245. "contracttype": {
  12246. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  12247. "type": "integer"
  12248. },
  12249. "customeraccountid": {
  12250. "description": "客户资金账户ID",
  12251. "type": "integer"
  12252. },
  12253. "customeruserid": {
  12254. "description": "客户ID",
  12255. "type": "integer"
  12256. },
  12257. "deliverygoodsdesc": {
  12258. "description": "品种说明",
  12259. "type": "string"
  12260. },
  12261. "deliverygoodsid": {
  12262. "description": "现货品种ID",
  12263. "type": "integer"
  12264. },
  12265. "handlestatus": {
  12266. "description": "处理状态",
  12267. "type": "integer"
  12268. },
  12269. "invoiceatt": {
  12270. "description": "发票附件",
  12271. "type": "string"
  12272. },
  12273. "invoicedatetime": {
  12274. "description": "开收票更新时间",
  12275. "type": "string"
  12276. },
  12277. "invoiceopentime": {
  12278. "description": "开票时间",
  12279. "type": "string"
  12280. },
  12281. "invoiceremark": {
  12282. "description": "发票备注",
  12283. "type": "string"
  12284. },
  12285. "invoicestatus": {
  12286. "description": "开收票状态 - 0:未开票 1:已开票",
  12287. "type": "integer"
  12288. },
  12289. "lastdate": {
  12290. "description": "交货时间",
  12291. "type": "string"
  12292. },
  12293. "marketid": {
  12294. "description": "市场ID",
  12295. "type": "integer"
  12296. },
  12297. "paydatetime": {
  12298. "description": "收付款更新时间",
  12299. "type": "string"
  12300. },
  12301. "payremark": {
  12302. "description": "收付款备注",
  12303. "type": "string"
  12304. },
  12305. "paystatus": {
  12306. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  12307. "type": "integer"
  12308. },
  12309. "positionqty": {
  12310. "description": "头寸数量 - 合同数量去小数部分",
  12311. "type": "integer"
  12312. },
  12313. "producttype": {
  12314. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12315. "type": "integer"
  12316. },
  12317. "relatedqty": {
  12318. "description": "已关联数量",
  12319. "type": "number"
  12320. },
  12321. "relatedstatus": {
  12322. "description": "关联完结状态 - 0:未结束 1:已结束",
  12323. "type": "integer"
  12324. },
  12325. "remark": {
  12326. "description": "备注",
  12327. "type": "string"
  12328. },
  12329. "signdate": {
  12330. "description": "签订日期",
  12331. "type": "string"
  12332. },
  12333. "spotcontractid": {
  12334. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  12335. "type": "string"
  12336. },
  12337. "spotdatetime": {
  12338. "description": "收发货更新时间",
  12339. "type": "string"
  12340. },
  12341. "spotprice": {
  12342. "description": "价格",
  12343. "type": "number"
  12344. },
  12345. "spotremark": {
  12346. "description": "收发货备注",
  12347. "type": "string"
  12348. },
  12349. "spotstatus": {
  12350. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  12351. "type": "integer"
  12352. },
  12353. "tradedate": {
  12354. "description": "交易日(yyyyMMdd)",
  12355. "type": "string"
  12356. },
  12357. "userid": {
  12358. "description": "业务员用户ID",
  12359. "type": "integer"
  12360. },
  12361. "warehouseid": {
  12362. "description": "仓库ID",
  12363. "type": "integer"
  12364. },
  12365. "wrfactortypeid": {
  12366. "description": "仓单要素类型ID",
  12367. "type": "integer"
  12368. },
  12369. "wrstandardid": {
  12370. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12371. "type": "integer"
  12372. }
  12373. }
  12374. },
  12375. "erms3.AddErms2ASApplyReq": {
  12376. "type": "object",
  12377. "required": [
  12378. "asapplyid"
  12379. ],
  12380. "properties": {
  12381. "applybasis": {
  12382. "description": "申请基差",
  12383. "type": "number"
  12384. },
  12385. "applystatus": {
  12386. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12387. "type": "integer"
  12388. },
  12389. "asapplyid": {
  12390. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12391. "type": "integer"
  12392. },
  12393. "asname": {
  12394. "description": "策略名称",
  12395. "type": "string"
  12396. },
  12397. "asno": {
  12398. "description": "策略编号",
  12399. "type": "string"
  12400. },
  12401. "auditid": {
  12402. "description": "审核人",
  12403. "type": "integer"
  12404. },
  12405. "auditremark": {
  12406. "description": "审核备注",
  12407. "type": "string"
  12408. },
  12409. "audittime": {
  12410. "description": "审核时间",
  12411. "type": "string"
  12412. },
  12413. "biztype": {
  12414. "description": "业务类型 - 1:正向套利 2:反向套利",
  12415. "type": "integer"
  12416. },
  12417. "createtime": {
  12418. "description": "创建时间",
  12419. "type": "string"
  12420. },
  12421. "creatorid": {
  12422. "description": "创建人",
  12423. "type": "integer"
  12424. },
  12425. "deliverygoodsid": {
  12426. "description": "现货品种ID",
  12427. "type": "integer"
  12428. },
  12429. "futurequote": {
  12430. "description": "期货额度",
  12431. "type": "number"
  12432. },
  12433. "goodsgroupid": {
  12434. "description": "期货品种ID",
  12435. "type": "integer"
  12436. },
  12437. "marketid": {
  12438. "description": "市场ID",
  12439. "type": "integer"
  12440. },
  12441. "remark": {
  12442. "description": "备注",
  12443. "type": "string"
  12444. },
  12445. "spotquota": {
  12446. "description": "现货额度",
  12447. "type": "number"
  12448. },
  12449. "tradedate": {
  12450. "description": "交易日(yyyyMMdd)",
  12451. "type": "string"
  12452. },
  12453. "userid": {
  12454. "description": "所属机构",
  12455. "type": "integer"
  12456. }
  12457. }
  12458. },
  12459. "erms3.AddErms2SpotTradeApplyReq": {
  12460. "type": "object",
  12461. "required": [
  12462. "spottradeid"
  12463. ],
  12464. "properties": {
  12465. "applyjsondetail": {
  12466. "description": "申请明细(JSON)",
  12467. "type": "string"
  12468. },
  12469. "applystatus": {
  12470. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12471. "type": "integer"
  12472. },
  12473. "areauserid": {
  12474. "description": "所属机构",
  12475. "type": "integer"
  12476. },
  12477. "auditid": {
  12478. "description": "审核人",
  12479. "type": "integer"
  12480. },
  12481. "auditremark": {
  12482. "description": "审核备注",
  12483. "type": "string"
  12484. },
  12485. "audittime": {
  12486. "description": "审核时间",
  12487. "type": "string"
  12488. },
  12489. "createtime": {
  12490. "description": "创建时间",
  12491. "type": "string"
  12492. },
  12493. "creatorid": {
  12494. "description": "创建人",
  12495. "type": "integer"
  12496. },
  12497. "deliverygoodsid": {
  12498. "description": "现货品种ID",
  12499. "type": "integer"
  12500. },
  12501. "futureaccountid": {
  12502. "description": "期货资金账户",
  12503. "type": "integer"
  12504. },
  12505. "goodsgroupid": {
  12506. "description": "期货品种",
  12507. "type": "integer"
  12508. },
  12509. "marketid": {
  12510. "description": "市场ID",
  12511. "type": "integer"
  12512. },
  12513. "remark": {
  12514. "description": "备注",
  12515. "type": "string"
  12516. },
  12517. "spotaccountid": {
  12518. "description": "现货资金账户",
  12519. "type": "integer"
  12520. },
  12521. "spottradeid": {
  12522. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  12523. "type": "integer"
  12524. },
  12525. "spottradename": {
  12526. "description": "业务名称",
  12527. "type": "string"
  12528. },
  12529. "spottradeno": {
  12530. "description": "业务编号",
  12531. "type": "string"
  12532. },
  12533. "tradedate": {
  12534. "description": "交易日(yyyyMMdd)",
  12535. "type": "string"
  12536. },
  12537. "wrstandardid": {
  12538. "description": "仓单标准ID",
  12539. "type": "integer"
  12540. }
  12541. }
  12542. },
  12543. "erms3.AddSpotContractApplyReq": {
  12544. "type": "object",
  12545. "required": [
  12546. "accountid",
  12547. "areauserid",
  12548. "contractno",
  12549. "contracttype",
  12550. "customeraccountid",
  12551. "customeruserid",
  12552. "details",
  12553. "orimargin",
  12554. "signdate"
  12555. ],
  12556. "properties": {
  12557. "accountid": {
  12558. "description": "资金账户ID",
  12559. "type": "integer"
  12560. },
  12561. "areauserid": {
  12562. "description": "所属机构",
  12563. "type": "integer"
  12564. },
  12565. "contractattachment": {
  12566. "description": "合同附件",
  12567. "type": "string"
  12568. },
  12569. "contractno": {
  12570. "description": "现货合同编号",
  12571. "type": "string"
  12572. },
  12573. "contracttype": {
  12574. "description": "现货合同类型 - 1:采购 -1:销售",
  12575. "type": "integer"
  12576. },
  12577. "creatorid": {
  12578. "description": "申请人",
  12579. "type": "integer"
  12580. },
  12581. "customeraccountid": {
  12582. "description": "客户资金账户ID",
  12583. "type": "integer"
  12584. },
  12585. "customeruserid": {
  12586. "description": "客户ID",
  12587. "type": "integer"
  12588. },
  12589. "details": {
  12590. "description": "明细",
  12591. "type": "array",
  12592. "items": {
  12593. "$ref": "#/definitions/erms3.SoptContractDetail"
  12594. }
  12595. },
  12596. "orimargin": {
  12597. "description": "初始保证金",
  12598. "type": "number"
  12599. },
  12600. "remark": {
  12601. "description": "备注",
  12602. "type": "string"
  12603. },
  12604. "signdate": {
  12605. "description": "签订日期",
  12606. "type": "string"
  12607. }
  12608. }
  12609. },
  12610. "erms3.AddSpotContractApplyRsp": {
  12611. "type": "object",
  12612. "required": [
  12613. "contractno"
  12614. ],
  12615. "properties": {
  12616. "contractno": {
  12617. "description": "现货合同编号",
  12618. "type": "string"
  12619. },
  12620. "spotcontractid": {
  12621. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12622. "type": "integer"
  12623. }
  12624. }
  12625. },
  12626. "erms3.AddUserInfoApplyReq": {
  12627. "type": "object",
  12628. "required": [
  12629. "userid"
  12630. ],
  12631. "properties": {
  12632. "accountid": {
  12633. "description": "交易系统帐号Id (加密存储)",
  12634. "type": "integer"
  12635. },
  12636. "areacode": {
  12637. "description": "机构代码",
  12638. "type": "string"
  12639. },
  12640. "areaid": {
  12641. "description": "机构Id",
  12642. "type": "integer"
  12643. },
  12644. "attachment1": {
  12645. "description": "附件1",
  12646. "type": "string"
  12647. },
  12648. "attachment2": {
  12649. "description": "附件2",
  12650. "type": "string"
  12651. },
  12652. "attachment3": {
  12653. "description": "附件3",
  12654. "type": "string"
  12655. },
  12656. "attachment4": {
  12657. "description": "附件4",
  12658. "type": "string"
  12659. },
  12660. "attachment5": {
  12661. "description": "附件5",
  12662. "type": "string"
  12663. },
  12664. "auditedby": {
  12665. "description": "审核人",
  12666. "type": "string"
  12667. },
  12668. "auditime": {
  12669. "description": "审核时间",
  12670. "type": "string"
  12671. },
  12672. "auditsrc": {
  12673. "description": "审核来源 - 1:管理端 2:终端",
  12674. "type": "integer"
  12675. },
  12676. "bankaccount": {
  12677. "description": "银行帐号 (加密存储)",
  12678. "type": "string"
  12679. },
  12680. "bankaccountname": {
  12681. "description": "收款人名称",
  12682. "type": "string"
  12683. },
  12684. "bankcardbackphotourl": {
  12685. "description": "银行卡背面照地址",
  12686. "type": "string"
  12687. },
  12688. "bankcardfrontphotourl": {
  12689. "description": "银行卡正面照地址",
  12690. "type": "string"
  12691. },
  12692. "bankid": {
  12693. "description": "银行编码",
  12694. "type": "string"
  12695. },
  12696. "bankname": {
  12697. "description": "银行名称",
  12698. "type": "string"
  12699. },
  12700. "bankpictureurl": {
  12701. "description": "银行卡正面地址",
  12702. "type": "string"
  12703. },
  12704. "biznature": {
  12705. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12706. "type": "integer"
  12707. },
  12708. "bizscope": {
  12709. "description": "企业经营范围(企业)",
  12710. "type": "string"
  12711. },
  12712. "biztype": {
  12713. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12714. "type": "integer"
  12715. },
  12716. "brokerid": {
  12717. "description": "经纪人ID(加密存储)",
  12718. "type": "string"
  12719. },
  12720. "cardaddress": {
  12721. "description": "证件地址 (加密存储)",
  12722. "type": "string"
  12723. },
  12724. "cardbackphotourl": {
  12725. "description": "背面证件照地址",
  12726. "type": "string"
  12727. },
  12728. "cardfrontphotourl": {
  12729. "description": "正面证件照地址",
  12730. "type": "string"
  12731. },
  12732. "cardnum": {
  12733. "description": "证件号码 (加密存储)",
  12734. "type": "string"
  12735. },
  12736. "cardtype": {
  12737. "description": "证件类型",
  12738. "type": "integer"
  12739. },
  12740. "cityid": {
  12741. "description": "市",
  12742. "type": "integer"
  12743. },
  12744. "company": {
  12745. "description": "公司(个人)",
  12746. "type": "string"
  12747. },
  12748. "contactcardbackphotourl": {
  12749. "description": "联系人证件背面图片地址",
  12750. "type": "string"
  12751. },
  12752. "contactcardfrontphotourl": {
  12753. "description": "联系人证件正面图片地址",
  12754. "type": "string"
  12755. },
  12756. "contactname": {
  12757. "description": "联系人",
  12758. "type": "string"
  12759. },
  12760. "countryid": {
  12761. "description": "国家",
  12762. "type": "integer"
  12763. },
  12764. "createtime": {
  12765. "description": "开户申请时间",
  12766. "type": "string"
  12767. },
  12768. "cusbankid": {
  12769. "description": "签约类型",
  12770. "type": "string"
  12771. },
  12772. "cusbankname": {
  12773. "description": "签约类型名称",
  12774. "type": "string"
  12775. },
  12776. "customername": {
  12777. "description": "客户名称(企业名称)",
  12778. "type": "string"
  12779. },
  12780. "districtid": {
  12781. "description": "地区",
  12782. "type": "integer"
  12783. },
  12784. "email": {
  12785. "description": "Email地址(加密存储)",
  12786. "type": "string"
  12787. },
  12788. "halfbodyphotourl": {
  12789. "description": "半身照地址",
  12790. "type": "string"
  12791. },
  12792. "headurl": {
  12793. "description": "头像地址",
  12794. "type": "string"
  12795. },
  12796. "ipaddress": {
  12797. "description": "IP地址",
  12798. "type": "string"
  12799. },
  12800. "isvalidate": {
  12801. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12802. "type": "string"
  12803. },
  12804. "legalcardbackphotourl": {
  12805. "description": "法人身份证背面照地址",
  12806. "type": "string"
  12807. },
  12808. "legalcardfrontphotourl": {
  12809. "description": "法人身份证正面照地址",
  12810. "type": "string"
  12811. },
  12812. "legalpersonname": {
  12813. "description": "法人姓名(企业)",
  12814. "type": "string"
  12815. },
  12816. "logincode": {
  12817. "description": "登录帐号 (加密存储)",
  12818. "type": "string"
  12819. },
  12820. "memberareaid": {
  12821. "description": "所属会员ID",
  12822. "type": "integer"
  12823. },
  12824. "mobile2": {
  12825. "description": "手机号码[明文-尚志]",
  12826. "type": "string"
  12827. },
  12828. "mobilephone": {
  12829. "description": "手机号码 (加密存储)",
  12830. "type": "string"
  12831. },
  12832. "modifiedby": {
  12833. "description": "修改人帐号",
  12834. "type": "integer"
  12835. },
  12836. "modifiedtime": {
  12837. "description": "修改时间",
  12838. "type": "string"
  12839. },
  12840. "nickname": {
  12841. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12842. "type": "string"
  12843. },
  12844. "openmode": {
  12845. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12846. "type": "integer"
  12847. },
  12848. "otherurl": {
  12849. "description": "其它图片地址[使用分号分隔]",
  12850. "type": "string"
  12851. },
  12852. "postalcode": {
  12853. "description": "邮政编码",
  12854. "type": "string"
  12855. },
  12856. "provinceid": {
  12857. "description": "省",
  12858. "type": "integer"
  12859. },
  12860. "proxystatementurl": {
  12861. "description": "授权委托书",
  12862. "type": "string"
  12863. },
  12864. "qq": {
  12865. "description": "QQ(加密存储",
  12866. "type": "string"
  12867. },
  12868. "referral": {
  12869. "description": "推荐人编码",
  12870. "type": "string"
  12871. },
  12872. "remark": {
  12873. "description": "备注",
  12874. "type": "string"
  12875. },
  12876. "removebeforestatus": {
  12877. "description": "REMOVEBEFORESTATUS",
  12878. "type": "integer"
  12879. },
  12880. "sex": {
  12881. "description": "性别 - 0:女 1:男",
  12882. "type": "integer"
  12883. },
  12884. "signedstatus": {
  12885. "description": "账户一号签签约状态",
  12886. "type": "integer"
  12887. },
  12888. "signpdfurl": {
  12889. "description": "签约pdf文件",
  12890. "type": "string"
  12891. },
  12892. "subbranch": {
  12893. "description": "开户支行",
  12894. "type": "string"
  12895. },
  12896. "taxpayernum": {
  12897. "description": "纳税人识别号",
  12898. "type": "string"
  12899. },
  12900. "telphone": {
  12901. "description": "联系电话(加密存储)",
  12902. "type": "string"
  12903. },
  12904. "userid": {
  12905. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12906. "type": "integer"
  12907. },
  12908. "userinfotype": {
  12909. "description": "用户信息类型 - 1:个人 2:企业",
  12910. "type": "integer"
  12911. },
  12912. "username": {
  12913. "description": "用户姓名",
  12914. "type": "string"
  12915. },
  12916. "userstate": {
  12917. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12918. "type": "integer"
  12919. },
  12920. "usertype": {
  12921. "description": "用户类型 - 1:投资者 2:机构",
  12922. "type": "integer"
  12923. },
  12924. "videourl": {
  12925. "description": "视频地址",
  12926. "type": "string"
  12927. },
  12928. "wechat": {
  12929. "description": "微信号 (加密存储)",
  12930. "type": "string"
  12931. }
  12932. }
  12933. },
  12934. "erms3.CustomerInfo": {
  12935. "type": "object",
  12936. "required": [
  12937. "userid"
  12938. ],
  12939. "properties": {
  12940. "accountids": {
  12941. "description": "资金账户ID列表",
  12942. "type": "array",
  12943. "items": {
  12944. "type": "integer"
  12945. }
  12946. },
  12947. "customername": {
  12948. "description": "名称(企业名称)",
  12949. "type": "string"
  12950. },
  12951. "mobile": {
  12952. "description": "手机号码",
  12953. "type": "string"
  12954. },
  12955. "userid": {
  12956. "description": "用户ID",
  12957. "type": "integer"
  12958. }
  12959. }
  12960. },
  12961. "erms3.ModifyUserInfoApplyReq": {
  12962. "type": "object",
  12963. "required": [
  12964. "userid"
  12965. ],
  12966. "properties": {
  12967. "accountid": {
  12968. "description": "交易系统帐号Id (加密存储)",
  12969. "type": "integer"
  12970. },
  12971. "areacode": {
  12972. "description": "机构代码",
  12973. "type": "string"
  12974. },
  12975. "areaid": {
  12976. "description": "机构Id",
  12977. "type": "integer"
  12978. },
  12979. "attachment1": {
  12980. "description": "附件1",
  12981. "type": "string"
  12982. },
  12983. "attachment2": {
  12984. "description": "附件2",
  12985. "type": "string"
  12986. },
  12987. "attachment3": {
  12988. "description": "附件3",
  12989. "type": "string"
  12990. },
  12991. "attachment4": {
  12992. "description": "附件4",
  12993. "type": "string"
  12994. },
  12995. "attachment5": {
  12996. "description": "附件5",
  12997. "type": "string"
  12998. },
  12999. "auditedby": {
  13000. "description": "审核人",
  13001. "type": "string"
  13002. },
  13003. "auditime": {
  13004. "description": "审核时间",
  13005. "type": "string"
  13006. },
  13007. "auditsrc": {
  13008. "description": "审核来源 - 1:管理端 2:终端",
  13009. "type": "integer"
  13010. },
  13011. "bankaccount": {
  13012. "description": "银行帐号 (加密存储)",
  13013. "type": "string"
  13014. },
  13015. "bankaccountname": {
  13016. "description": "收款人名称",
  13017. "type": "string"
  13018. },
  13019. "bankcardbackphotourl": {
  13020. "description": "银行卡背面照地址",
  13021. "type": "string"
  13022. },
  13023. "bankcardfrontphotourl": {
  13024. "description": "银行卡正面照地址",
  13025. "type": "string"
  13026. },
  13027. "bankid": {
  13028. "description": "银行编码",
  13029. "type": "string"
  13030. },
  13031. "bankname": {
  13032. "description": "银行名称",
  13033. "type": "string"
  13034. },
  13035. "bankpictureurl": {
  13036. "description": "银行卡正面地址",
  13037. "type": "string"
  13038. },
  13039. "biznature": {
  13040. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13041. "type": "integer"
  13042. },
  13043. "bizscope": {
  13044. "description": "企业经营范围(企业)",
  13045. "type": "string"
  13046. },
  13047. "biztype": {
  13048. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13049. "type": "integer"
  13050. },
  13051. "brokerid": {
  13052. "description": "经纪人ID(加密存储)",
  13053. "type": "string"
  13054. },
  13055. "cardaddress": {
  13056. "description": "证件地址 (加密存储)",
  13057. "type": "string"
  13058. },
  13059. "cardbackphotourl": {
  13060. "description": "背面证件照地址",
  13061. "type": "string"
  13062. },
  13063. "cardfrontphotourl": {
  13064. "description": "正面证件照地址",
  13065. "type": "string"
  13066. },
  13067. "cardnum": {
  13068. "description": "证件号码 (加密存储)",
  13069. "type": "string"
  13070. },
  13071. "cardtype": {
  13072. "description": "证件类型",
  13073. "type": "integer"
  13074. },
  13075. "cityid": {
  13076. "description": "市",
  13077. "type": "integer"
  13078. },
  13079. "company": {
  13080. "description": "公司(个人)",
  13081. "type": "string"
  13082. },
  13083. "contactcardbackphotourl": {
  13084. "description": "联系人证件背面图片地址",
  13085. "type": "string"
  13086. },
  13087. "contactcardfrontphotourl": {
  13088. "description": "联系人证件正面图片地址",
  13089. "type": "string"
  13090. },
  13091. "contactname": {
  13092. "description": "联系人",
  13093. "type": "string"
  13094. },
  13095. "countryid": {
  13096. "description": "国家",
  13097. "type": "integer"
  13098. },
  13099. "createtime": {
  13100. "description": "开户申请时间",
  13101. "type": "string"
  13102. },
  13103. "cusbankid": {
  13104. "description": "签约类型",
  13105. "type": "string"
  13106. },
  13107. "cusbankname": {
  13108. "description": "签约类型名称",
  13109. "type": "string"
  13110. },
  13111. "customername": {
  13112. "description": "客户名称(企业名称)",
  13113. "type": "string"
  13114. },
  13115. "districtid": {
  13116. "description": "地区",
  13117. "type": "integer"
  13118. },
  13119. "email": {
  13120. "description": "Email地址(加密存储)",
  13121. "type": "string"
  13122. },
  13123. "halfbodyphotourl": {
  13124. "description": "半身照地址",
  13125. "type": "string"
  13126. },
  13127. "headurl": {
  13128. "description": "头像地址",
  13129. "type": "string"
  13130. },
  13131. "ipaddress": {
  13132. "description": "IP地址",
  13133. "type": "string"
  13134. },
  13135. "isvalidate": {
  13136. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13137. "type": "string"
  13138. },
  13139. "legalcardbackphotourl": {
  13140. "description": "法人身份证背面照地址",
  13141. "type": "string"
  13142. },
  13143. "legalcardfrontphotourl": {
  13144. "description": "法人身份证正面照地址",
  13145. "type": "string"
  13146. },
  13147. "legalpersonname": {
  13148. "description": "法人姓名(企业)",
  13149. "type": "string"
  13150. },
  13151. "logincode": {
  13152. "description": "登录帐号 (加密存储)",
  13153. "type": "string"
  13154. },
  13155. "memberareaid": {
  13156. "description": "所属会员ID",
  13157. "type": "integer"
  13158. },
  13159. "mobile2": {
  13160. "description": "手机号码[明文-尚志]",
  13161. "type": "string"
  13162. },
  13163. "mobilephone": {
  13164. "description": "手机号码 (加密存储)",
  13165. "type": "string"
  13166. },
  13167. "modifiedby": {
  13168. "description": "修改人帐号",
  13169. "type": "integer"
  13170. },
  13171. "modifiedtime": {
  13172. "description": "修改时间",
  13173. "type": "string"
  13174. },
  13175. "nickname": {
  13176. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13177. "type": "string"
  13178. },
  13179. "openmode": {
  13180. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13181. "type": "integer"
  13182. },
  13183. "otherurl": {
  13184. "description": "其它图片地址[使用分号分隔]",
  13185. "type": "string"
  13186. },
  13187. "postalcode": {
  13188. "description": "邮政编码",
  13189. "type": "string"
  13190. },
  13191. "provinceid": {
  13192. "description": "省",
  13193. "type": "integer"
  13194. },
  13195. "proxystatementurl": {
  13196. "description": "授权委托书",
  13197. "type": "string"
  13198. },
  13199. "qq": {
  13200. "description": "QQ(加密存储",
  13201. "type": "string"
  13202. },
  13203. "referral": {
  13204. "description": "推荐人编码",
  13205. "type": "string"
  13206. },
  13207. "remark": {
  13208. "description": "备注",
  13209. "type": "string"
  13210. },
  13211. "removebeforestatus": {
  13212. "description": "REMOVEBEFORESTATUS",
  13213. "type": "integer"
  13214. },
  13215. "sex": {
  13216. "description": "性别 - 0:女 1:男",
  13217. "type": "integer"
  13218. },
  13219. "signedstatus": {
  13220. "description": "账户一号签签约状态",
  13221. "type": "integer"
  13222. },
  13223. "signpdfurl": {
  13224. "description": "签约pdf文件",
  13225. "type": "string"
  13226. },
  13227. "subbranch": {
  13228. "description": "开户支行",
  13229. "type": "string"
  13230. },
  13231. "taxpayernum": {
  13232. "description": "纳税人识别号",
  13233. "type": "string"
  13234. },
  13235. "telphone": {
  13236. "description": "联系电话(加密存储)",
  13237. "type": "string"
  13238. },
  13239. "userid": {
  13240. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13241. "type": "integer"
  13242. },
  13243. "userinfotype": {
  13244. "description": "用户信息类型 - 1:个人 2:企业",
  13245. "type": "integer"
  13246. },
  13247. "username": {
  13248. "description": "用户姓名",
  13249. "type": "string"
  13250. },
  13251. "userstate": {
  13252. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13253. "type": "integer"
  13254. },
  13255. "usertype": {
  13256. "description": "用户类型 - 1:投资者 2:机构",
  13257. "type": "integer"
  13258. },
  13259. "videourl": {
  13260. "description": "视频地址",
  13261. "type": "string"
  13262. },
  13263. "wechat": {
  13264. "description": "微信号 (加密存储)",
  13265. "type": "string"
  13266. }
  13267. }
  13268. },
  13269. "erms3.QryAuditContractRsp": {
  13270. "type": "object",
  13271. "required": [
  13272. "matchcustomername",
  13273. "spotcontractid"
  13274. ],
  13275. "properties": {
  13276. "accountid": {
  13277. "description": "交易员ID",
  13278. "type": "string"
  13279. },
  13280. "applystatus": {
  13281. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13282. "type": "integer"
  13283. },
  13284. "curdeliveryqty": {
  13285. "description": "未交收量",
  13286. "type": "integer"
  13287. },
  13288. "customername": {
  13289. "description": "采购方ID",
  13290. "type": "string"
  13291. },
  13292. "deliverygoodsid": {
  13293. "description": "品种ID",
  13294. "type": "string"
  13295. },
  13296. "deliveryqty": {
  13297. "description": "交收量",
  13298. "type": "integer"
  13299. },
  13300. "enumdicname": {
  13301. "description": "单位名称",
  13302. "type": "string"
  13303. },
  13304. "matchaccountid": {
  13305. "description": "业务员ID",
  13306. "type": "string"
  13307. },
  13308. "matchcustomername": {
  13309. "description": "销售方ID",
  13310. "type": "string"
  13311. },
  13312. "pricedqty": {
  13313. "description": "定价量",
  13314. "type": "number"
  13315. },
  13316. "signdate": {
  13317. "description": "签订日期",
  13318. "type": "string"
  13319. },
  13320. "spotcontractid": {
  13321. "description": "合同ID",
  13322. "type": "string"
  13323. },
  13324. "totaldqty": {
  13325. "description": "合同量",
  13326. "type": "number"
  13327. },
  13328. "unpricedqty": {
  13329. "description": "未定价量",
  13330. "type": "number"
  13331. },
  13332. "wrstandardname": {
  13333. "description": "商品名称",
  13334. "type": "string"
  13335. }
  13336. }
  13337. },
  13338. "erms3.QryPendingBizRsp": {
  13339. "$ref": "#/definitions/models.PendingAuditBizModel"
  13340. },
  13341. "erms3.QueryBusinessInfoRsp": {
  13342. "type": "object",
  13343. "properties": {
  13344. "businessid": {
  13345. "description": "业务ID.",
  13346. "type": "integer"
  13347. },
  13348. "buyamount": {
  13349. "description": "采购额.",
  13350. "type": "number"
  13351. },
  13352. "buyqty": {
  13353. "description": "采购量.",
  13354. "type": "string"
  13355. },
  13356. "futurepl": {
  13357. "description": "期货盈亏.",
  13358. "type": "number"
  13359. },
  13360. "futureqty": {
  13361. "description": "期货敞口.",
  13362. "type": "string"
  13363. },
  13364. "goodsid": {
  13365. "description": "商品名称/商品代码.",
  13366. "type": "string"
  13367. },
  13368. "hedgingqty": {
  13369. "description": "套保量.",
  13370. "type": "string"
  13371. },
  13372. "sellamount": {
  13373. "description": "销售额.",
  13374. "type": "number"
  13375. },
  13376. "sellqty": {
  13377. "description": "销售量.",
  13378. "type": "string"
  13379. },
  13380. "spotmarketvalue": {
  13381. "description": "现货市值.",
  13382. "type": "number"
  13383. },
  13384. "spotpl": {
  13385. "description": "浮动权益.",
  13386. "type": "number"
  13387. },
  13388. "spotqty": {
  13389. "description": "现货量.",
  13390. "type": "string"
  13391. },
  13392. "statu": {
  13393. "description": "状态,0-未结束 1-已结束.",
  13394. "type": "integer"
  13395. },
  13396. "totalpl": {
  13397. "description": "总盈亏.",
  13398. "type": "number"
  13399. },
  13400. "totalqty": {
  13401. "description": "总敞口.",
  13402. "type": "string"
  13403. },
  13404. "type": {
  13405. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  13406. "type": "integer"
  13407. }
  13408. }
  13409. },
  13410. "erms3.QuerySpotContractAppleFormRsp": {
  13411. "type": "object",
  13412. "properties": {
  13413. "goodses": {
  13414. "description": "合约列表",
  13415. "type": "array",
  13416. "items": {
  13417. "$ref": "#/definitions/models.GoodsIDAndName"
  13418. }
  13419. },
  13420. "oppositeusers": {
  13421. "description": "对方账号列表",
  13422. "type": "array",
  13423. "items": {
  13424. "$ref": "#/definitions/erms3.CustomerInfo"
  13425. }
  13426. },
  13427. "ouruser": {
  13428. "description": "我方账号",
  13429. "type": "object",
  13430. "$ref": "#/definitions/erms3.CustomerInfo"
  13431. },
  13432. "warehouseinfos": {
  13433. "description": "仓库信息列表",
  13434. "type": "array",
  13435. "items": {
  13436. "$ref": "#/definitions/models.Warehouseinfo"
  13437. }
  13438. },
  13439. "wrstandards": {
  13440. "description": "仓单标准列表",
  13441. "type": "array",
  13442. "items": {
  13443. "$ref": "#/definitions/models.WRStandardInfo"
  13444. }
  13445. }
  13446. }
  13447. },
  13448. "erms3.QuerySpotContractInfoRsp": {
  13449. "type": "object",
  13450. "properties": {
  13451. "accountid": {
  13452. "description": "表示交易员ID.",
  13453. "type": "integer"
  13454. },
  13455. "curdeliveryqty": {
  13456. "description": "表示未交收量.",
  13457. "type": "number"
  13458. },
  13459. "customername": {
  13460. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  13461. "type": "string"
  13462. },
  13463. "deliverygoodsid": {
  13464. "description": "表示品种ID.",
  13465. "type": "string"
  13466. },
  13467. "deliveryqty": {
  13468. "description": "表示交收量.",
  13469. "type": "number"
  13470. },
  13471. "matchaccountid": {
  13472. "description": "表示业务员ID.",
  13473. "type": "integer"
  13474. },
  13475. "matchcustomername": {
  13476. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  13477. "type": "string"
  13478. },
  13479. "priceqty": {
  13480. "description": "表示定价量.",
  13481. "type": "number"
  13482. },
  13483. "relatedbizid": {
  13484. "description": "表示业务ID.",
  13485. "type": "string"
  13486. },
  13487. "signdate": {
  13488. "description": "表示签订日期.",
  13489. "type": "string"
  13490. },
  13491. "spotcontractid": {
  13492. "description": "合同ID",
  13493. "type": "string"
  13494. },
  13495. "status": {
  13496. "description": "表示状态,0-履约中 1-已完成.",
  13497. "type": "integer"
  13498. },
  13499. "totalqty": {
  13500. "description": "表示合同量.",
  13501. "type": "number"
  13502. },
  13503. "unpricedqty": {
  13504. "description": "表示未定价量.",
  13505. "type": "number"
  13506. },
  13507. "wrstandardname": {
  13508. "description": "表示商品ID.",
  13509. "type": "string"
  13510. }
  13511. }
  13512. },
  13513. "erms3.QueryUserInfoAppliesRsp": {
  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. "createtime": {
  13528. "description": "开户申请时间",
  13529. "type": "string"
  13530. },
  13531. "userid": {
  13532. "description": "用户ID(自增ID)",
  13533. "type": "integer"
  13534. },
  13535. "userinfotype": {
  13536. "description": "用户信息类型 - 1:个人 2:企业",
  13537. "type": "integer"
  13538. },
  13539. "username": {
  13540. "description": "用户姓名",
  13541. "type": "string"
  13542. },
  13543. "userstate": {
  13544. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13545. "type": "integer"
  13546. }
  13547. }
  13548. },
  13549. "erms3.QueryUserInfosRsp": {
  13550. "type": "object",
  13551. "required": [
  13552. "userid"
  13553. ],
  13554. "properties": {
  13555. "biznature": {
  13556. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13557. "type": "integer"
  13558. },
  13559. "contactname": {
  13560. "description": "联系人",
  13561. "type": "string"
  13562. },
  13563. "customername": {
  13564. "description": "客户名称(企业名称)",
  13565. "type": "string"
  13566. },
  13567. "userid": {
  13568. "description": "用户ID",
  13569. "type": "integer"
  13570. },
  13571. "userinfotype": {
  13572. "description": "用户信息类型 - 1:个人 2:企业",
  13573. "type": "integer"
  13574. },
  13575. "userstatus": {
  13576. "description": "用户状态 - 1:正常 2:注销",
  13577. "type": "integer"
  13578. }
  13579. }
  13580. },
  13581. "erms3.SoptContractDetail": {
  13582. "type": "object",
  13583. "required": [
  13584. "deliverygoodsid",
  13585. "producttype",
  13586. "unitname",
  13587. "warehouseid",
  13588. "wrstandardid",
  13589. "wrstandardname"
  13590. ],
  13591. "properties": {
  13592. "deliverygoodsdesc": {
  13593. "description": "现货品种说明",
  13594. "type": "string"
  13595. },
  13596. "deliverygoodsid": {
  13597. "description": "现货品种ID",
  13598. "type": "integer"
  13599. },
  13600. "deliverygoodsname": {
  13601. "description": "现货品种名称",
  13602. "type": "string"
  13603. },
  13604. "pointdesc": {
  13605. "description": "点价描述",
  13606. "type": "string"
  13607. },
  13608. "producttype": {
  13609. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13610. "type": "integer"
  13611. },
  13612. "producttypename": {
  13613. "description": "产品类型名称",
  13614. "type": "string"
  13615. },
  13616. "spotPointOrderVoList": {
  13617. "description": "点价列表",
  13618. "type": "array",
  13619. "items": {
  13620. "$ref": "#/definitions/erms3.SpotPointOrder"
  13621. }
  13622. },
  13623. "spotPriceOrderList": {
  13624. "description": "定价列表",
  13625. "type": "array",
  13626. "items": {
  13627. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13628. }
  13629. },
  13630. "unitname": {
  13631. "description": "单位名称",
  13632. "type": "string"
  13633. },
  13634. "warehouseid": {
  13635. "description": "仓库ID",
  13636. "type": "integer"
  13637. },
  13638. "warehousename": {
  13639. "description": "仓库名称",
  13640. "type": "string"
  13641. },
  13642. "wrstandardid": {
  13643. "description": "交易标的ID",
  13644. "type": "integer"
  13645. },
  13646. "wrstandardname": {
  13647. "description": "交易标的名称",
  13648. "type": "string"
  13649. }
  13650. }
  13651. },
  13652. "erms3.SpotPointOrder": {
  13653. "type": "object",
  13654. "required": [
  13655. "basic",
  13656. "goodsid",
  13657. "qty"
  13658. ],
  13659. "properties": {
  13660. "basic": {
  13661. "description": "基差",
  13662. "type": "number"
  13663. },
  13664. "deliveryenddate": {
  13665. "description": "交收结束日期",
  13666. "type": "string"
  13667. },
  13668. "deliverystartdate": {
  13669. "description": "交收开始日期",
  13670. "type": "string"
  13671. },
  13672. "enddate": {
  13673. "description": "点价结束日期",
  13674. "type": "string"
  13675. },
  13676. "goodsid": {
  13677. "description": "商品ID",
  13678. "type": "integer"
  13679. },
  13680. "goodsname": {
  13681. "description": "商品名称",
  13682. "type": "string"
  13683. },
  13684. "qty": {
  13685. "description": "数量",
  13686. "type": "number"
  13687. },
  13688. "startdate": {
  13689. "description": "点价开始日期",
  13690. "type": "string"
  13691. }
  13692. }
  13693. },
  13694. "erms3.SpotPriceOrder": {
  13695. "type": "object",
  13696. "required": [
  13697. "amount",
  13698. "price",
  13699. "qty"
  13700. ],
  13701. "properties": {
  13702. "amount": {
  13703. "description": "金额",
  13704. "type": "number"
  13705. },
  13706. "deliveryenddate": {
  13707. "description": "交收结束日期",
  13708. "type": "string"
  13709. },
  13710. "deliverystartdate": {
  13711. "description": "交收开始日期",
  13712. "type": "string"
  13713. },
  13714. "price": {
  13715. "description": "价格",
  13716. "type": "number"
  13717. },
  13718. "qty": {
  13719. "description": "数量",
  13720. "type": "number"
  13721. }
  13722. }
  13723. },
  13724. "hsby.GetHsbyMyCountRsp": {
  13725. "type": "object",
  13726. "properties": {
  13727. "myCouponCount": {
  13728. "description": "我的优惠卷数量",
  13729. "type": "integer"
  13730. },
  13731. "myOrderDetailListingCount": {
  13732. "description": "我的订单求购中数量",
  13733. "type": "integer"
  13734. },
  13735. "myOrderDetailPreCount": {
  13736. "description": "我的订单抢购中数量",
  13737. "type": "integer"
  13738. },
  13739. "myPackageUnReceiveCount": {
  13740. "description": "我的包裹待收货数量",
  13741. "type": "integer"
  13742. },
  13743. "myPackageUnSendCount": {
  13744. "description": "我的包裹待发货数量",
  13745. "type": "integer"
  13746. },
  13747. "myPayOrderCount": {
  13748. "description": "我的订单待付款数量",
  13749. "type": "integer"
  13750. }
  13751. }
  13752. },
  13753. "hsby.QueryProvincesAndCitiesRsp": {
  13754. "type": "object",
  13755. "properties": {
  13756. "cities": {
  13757. "description": "市",
  13758. "type": "array",
  13759. "items": {
  13760. "$ref": "#/definitions/models.Division"
  13761. }
  13762. },
  13763. "province": {
  13764. "description": "省",
  13765. "type": "object",
  13766. "$ref": "#/definitions/models.Division"
  13767. }
  13768. }
  13769. },
  13770. "models.AreaSpotModel": {
  13771. "type": "object",
  13772. "properties": {
  13773. "areauserid": {
  13774. "description": "所属机构",
  13775. "type": "integer"
  13776. },
  13777. "decreaseqty": {
  13778. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13779. "type": "number"
  13780. },
  13781. "increaseqty": {
  13782. "description": "增加数量=销售计划数量+采购已定价数量",
  13783. "type": "number"
  13784. },
  13785. "oritoalspotqty": {
  13786. "description": "昨日数量",
  13787. "type": "number"
  13788. },
  13789. "totalspotqty": {
  13790. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13791. "type": "number"
  13792. },
  13793. "updatetime": {
  13794. "description": "更新时间",
  13795. "type": "string"
  13796. },
  13797. "wrstandardcode": {
  13798. "description": "现货品种代码",
  13799. "type": "string"
  13800. },
  13801. "wrstandardid": {
  13802. "description": "现货商品ID",
  13803. "type": "integer"
  13804. },
  13805. "wrstandardname": {
  13806. "description": "现货品种",
  13807. "type": "string"
  13808. }
  13809. }
  13810. },
  13811. "models.Arearole": {
  13812. "type": "object",
  13813. "required": [
  13814. "roletype",
  13815. "userid"
  13816. ],
  13817. "properties": {
  13818. "createtime": {
  13819. "description": "创建时间",
  13820. "type": "string"
  13821. },
  13822. "creatorid": {
  13823. "description": "创建人ID",
  13824. "type": "integer"
  13825. },
  13826. "fromuserid": {
  13827. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  13828. "type": "integer"
  13829. },
  13830. "isreturnscore": {
  13831. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13832. "type": "integer"
  13833. },
  13834. "modifierid": {
  13835. "description": "修改人ID",
  13836. "type": "integer"
  13837. },
  13838. "modifytime": {
  13839. "description": "修改时间",
  13840. "type": "string"
  13841. },
  13842. "orgtype": {
  13843. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  13844. "type": "integer"
  13845. },
  13846. "outuserid": {
  13847. "description": "外部账户[场外期权做市商]",
  13848. "type": "string"
  13849. },
  13850. "parentuserid": {
  13851. "description": "上级组织机构(组织机构)",
  13852. "type": "integer"
  13853. },
  13854. "roletype": {
  13855. "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:门店",
  13856. "type": "integer"
  13857. },
  13858. "rootuserid": {
  13859. "description": "顶级组织机构用户ID(组织机构)",
  13860. "type": "integer"
  13861. },
  13862. "shoppassword": {
  13863. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13864. "type": "string"
  13865. },
  13866. "sublevelpath": {
  13867. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13868. "type": "string"
  13869. },
  13870. "suborgtype": {
  13871. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  13872. "type": "integer"
  13873. },
  13874. "tradeaccountid": {
  13875. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13876. "type": "integer"
  13877. },
  13878. "transurl": {
  13879. "description": "物流地址(物流机构)",
  13880. "type": "string"
  13881. },
  13882. "userid": {
  13883. "description": "机构用户ID其他做市关系,都设置为 1",
  13884. "type": "integer"
  13885. }
  13886. }
  13887. },
  13888. "models.Clientfixedadconfig": {
  13889. "type": "object",
  13890. "required": [
  13891. "adsort",
  13892. "adtype"
  13893. ],
  13894. "properties": {
  13895. "adsort": {
  13896. "description": "排序",
  13897. "type": "integer"
  13898. },
  13899. "adtype": {
  13900. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13901. "type": "integer"
  13902. },
  13903. "areauserid": {
  13904. "description": "所属机构ID",
  13905. "type": "integer"
  13906. },
  13907. "createdate": {
  13908. "description": "创建时间",
  13909. "type": "string"
  13910. },
  13911. "creatorid": {
  13912. "description": "创建人",
  13913. "type": "integer"
  13914. },
  13915. "imagepath": {
  13916. "description": "图片",
  13917. "type": "string"
  13918. },
  13919. "isshow": {
  13920. "description": "是否展示 - 0:不展示 1:展示",
  13921. "type": "integer"
  13922. },
  13923. "modifierid": {
  13924. "description": "操作人",
  13925. "type": "integer"
  13926. },
  13927. "recsize": {
  13928. "description": "推荐尺寸",
  13929. "type": "string"
  13930. },
  13931. "title": {
  13932. "description": "标题",
  13933. "type": "string"
  13934. },
  13935. "updatedate": {
  13936. "description": "更新时间",
  13937. "type": "string"
  13938. },
  13939. "urlcontent": {
  13940. "description": "链接(地址或商品ID)",
  13941. "type": "string"
  13942. },
  13943. "urltype": {
  13944. "description": "链接类型 - 1:直接地址 2:商品ID",
  13945. "type": "integer"
  13946. }
  13947. }
  13948. },
  13949. "models.Division": {
  13950. "type": "object",
  13951. "required": [
  13952. "autoid",
  13953. "divisioncode"
  13954. ],
  13955. "properties": {
  13956. "autoid": {
  13957. "description": "自增ID",
  13958. "type": "integer"
  13959. },
  13960. "divisioncode": {
  13961. "description": "行政代码",
  13962. "type": "string"
  13963. },
  13964. "divisionlevel": {
  13965. "description": "行政级别",
  13966. "type": "string"
  13967. },
  13968. "divisionname": {
  13969. "description": "行政名称",
  13970. "type": "string"
  13971. },
  13972. "modifierid": {
  13973. "description": "修改人",
  13974. "type": "integer"
  13975. },
  13976. "modifytime": {
  13977. "description": "修改时间",
  13978. "type": "string"
  13979. },
  13980. "parentcode": {
  13981. "description": "上级行政代码",
  13982. "type": "string"
  13983. },
  13984. "pathname": {
  13985. "description": "路径名称",
  13986. "type": "string"
  13987. },
  13988. "postcode": {
  13989. "description": "邮政编码",
  13990. "type": "string"
  13991. },
  13992. "separablename": {
  13993. "description": "可拆分的全称",
  13994. "type": "string"
  13995. },
  13996. "shortcode": {
  13997. "description": "地区简码",
  13998. "type": "string"
  13999. }
  14000. }
  14001. },
  14002. "models.Enumdicitem": {
  14003. "type": "object",
  14004. "required": [
  14005. "autoid",
  14006. "enumdiccode",
  14007. "enumdicid",
  14008. "enumitemname"
  14009. ],
  14010. "properties": {
  14011. "autoid": {
  14012. "description": "自增ID",
  14013. "type": "integer"
  14014. },
  14015. "bankmappedvalue": {
  14016. "description": "银行服务对应值",
  14017. "type": "string"
  14018. },
  14019. "enumdiccode": {
  14020. "description": "所属枚举代码",
  14021. "type": "string"
  14022. },
  14023. "enumdicid": {
  14024. "description": "所属枚举ID",
  14025. "type": "integer"
  14026. },
  14027. "enumdicname": {
  14028. "description": "枚举项名称",
  14029. "type": "string"
  14030. },
  14031. "enumitemname": {
  14032. "description": "枚举项值",
  14033. "type": "integer"
  14034. },
  14035. "enumitemstatus": {
  14036. "description": "枚举项状态 - 1.启用 2.不启用",
  14037. "type": "integer"
  14038. },
  14039. "enumitemvalue": {
  14040. "description": "通用值 - [币种通用简写]",
  14041. "type": "string"
  14042. },
  14043. "param1": {
  14044. "description": "参数1[币种:币种小数位]",
  14045. "type": "string"
  14046. },
  14047. "param2": {
  14048. "description": "参数1[币种:币种显示单位]",
  14049. "type": "string"
  14050. },
  14051. "remark": {
  14052. "description": "备注",
  14053. "type": "string"
  14054. }
  14055. }
  14056. },
  14057. "models.Ermcp3AreaSpot": {
  14058. "type": "object",
  14059. "properties": {
  14060. "areauserid": {
  14061. "description": "所属机构",
  14062. "type": "integer"
  14063. },
  14064. "decreaseqty": {
  14065. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14066. "type": "number"
  14067. },
  14068. "deliverygoodscode": {
  14069. "description": "现货品种代码",
  14070. "type": "string"
  14071. },
  14072. "deliverygoodsid": {
  14073. "description": "现货品种id",
  14074. "type": "integer"
  14075. },
  14076. "deliverygoodsname": {
  14077. "description": "现货品种名称",
  14078. "type": "string"
  14079. },
  14080. "enumdicname": {
  14081. "description": "单位名称",
  14082. "type": "string"
  14083. },
  14084. "goodsunitid": {
  14085. "description": "现货品种单位id",
  14086. "type": "integer"
  14087. },
  14088. "increaseqty": {
  14089. "description": "增加数量=销售计划数量+采购已定价数量",
  14090. "type": "number"
  14091. },
  14092. "oritoalspotqty": {
  14093. "description": "昨日数量",
  14094. "type": "number"
  14095. },
  14096. "totalspotqty": {
  14097. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14098. "type": "number"
  14099. },
  14100. "updatetime": {
  14101. "description": "更新时间",
  14102. "type": "string"
  14103. }
  14104. }
  14105. },
  14106. "models.Ermcp3AreaSpotDetail": {
  14107. "type": "object",
  14108. "properties": {
  14109. "contracttype": {
  14110. "description": "合同类型 1-采购 -1-销售",
  14111. "type": "integer"
  14112. },
  14113. "createtime": {
  14114. "description": "创建时间",
  14115. "type": "string"
  14116. },
  14117. "deliverygoodscode": {
  14118. "description": "现货品种代码",
  14119. "type": "string"
  14120. },
  14121. "deliverygoodsid": {
  14122. "description": "现货品种id",
  14123. "type": "integer"
  14124. },
  14125. "deliverygoodsname": {
  14126. "description": "现货品种名称",
  14127. "type": "string"
  14128. },
  14129. "enumdicname": {
  14130. "description": "现货商品单位名称",
  14131. "type": "string"
  14132. },
  14133. "logtype": {
  14134. "description": "记录类型 1-套保 2-现货合同",
  14135. "type": "integer"
  14136. },
  14137. "qty": {
  14138. "description": "数量",
  14139. "type": "number"
  14140. },
  14141. "recordname": {
  14142. "description": "类型名称",
  14143. "type": "string"
  14144. },
  14145. "relatedid": {
  14146. "description": "套保计划ID/现货合同ID",
  14147. "type": "string"
  14148. },
  14149. "relatedno": {
  14150. "description": "编号",
  14151. "type": "string"
  14152. },
  14153. "strtime": {
  14154. "description": "时间",
  14155. "type": "string"
  14156. }
  14157. }
  14158. },
  14159. "models.Ermcp3AreaSpotPLReport": {
  14160. "type": "object",
  14161. "properties": {
  14162. "accountid": {
  14163. "description": "期货账户ID (作废, 默认为0)",
  14164. "type": "integer"
  14165. },
  14166. "accountname": {
  14167. "description": "机构名称",
  14168. "type": "string"
  14169. },
  14170. "actualpl": {
  14171. "description": "现货损益",
  14172. "type": "number"
  14173. },
  14174. "areauserid": {
  14175. "description": "所属机构\\交易用户ID",
  14176. "type": "integer"
  14177. },
  14178. "begindate": {
  14179. "description": "开始交易日",
  14180. "type": "string"
  14181. },
  14182. "biztype": {
  14183. "description": "业务类型 - 1:套保 2:套利",
  14184. "type": "integer"
  14185. },
  14186. "brandname": {
  14187. "description": "品牌名称",
  14188. "type": "string"
  14189. },
  14190. "curamount": {
  14191. "description": "期末额",
  14192. "type": "number"
  14193. },
  14194. "curaverageprice": {
  14195. "description": "期末均价",
  14196. "type": "number"
  14197. },
  14198. "curbuyamount": {
  14199. "description": "期末采购总额",
  14200. "type": "number"
  14201. },
  14202. "curbuyqty": {
  14203. "description": "期末采购总量",
  14204. "type": "number"
  14205. },
  14206. "curmarketvalue": {
  14207. "description": "参考市值(期末市值)",
  14208. "type": "number"
  14209. },
  14210. "curqty": {
  14211. "description": "期末量",
  14212. "type": "number"
  14213. },
  14214. "currencyid": {
  14215. "description": "结算币种ID【原值】",
  14216. "type": "integer"
  14217. },
  14218. "currencyname": {
  14219. "description": "币种名称",
  14220. "type": "string"
  14221. },
  14222. "cursellamount": {
  14223. "description": "期末销售总额",
  14224. "type": "number"
  14225. },
  14226. "cursellqty": {
  14227. "description": "期末销售总量",
  14228. "type": "number"
  14229. },
  14230. "curspotprice": {
  14231. "description": "参考市价(最新价)",
  14232. "type": "number"
  14233. },
  14234. "cycletime": {
  14235. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14236. "type": "string"
  14237. },
  14238. "cycletype": {
  14239. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14240. "type": "integer"
  14241. },
  14242. "deliverygoodscode": {
  14243. "description": "现货商品代码",
  14244. "type": "string"
  14245. },
  14246. "deliverygoodsid": {
  14247. "description": "现货品种ID",
  14248. "type": "integer"
  14249. },
  14250. "deliverygoodsname": {
  14251. "description": "现货商品名称",
  14252. "type": "string"
  14253. },
  14254. "enddate": {
  14255. "description": "结束交易日",
  14256. "type": "string"
  14257. },
  14258. "enumdicname": {
  14259. "description": "现货商品单位名称",
  14260. "type": "string"
  14261. },
  14262. "floatpl": {
  14263. "description": "浮动损益",
  14264. "type": "number"
  14265. },
  14266. "goodsunitid": {
  14267. "description": "现货商品单位id",
  14268. "type": "integer"
  14269. },
  14270. "oriamount": {
  14271. "description": "期初额",
  14272. "type": "number"
  14273. },
  14274. "oriaverageprice": {
  14275. "description": "期初均价",
  14276. "type": "number"
  14277. },
  14278. "oribuyamount": {
  14279. "description": "期初采购总额",
  14280. "type": "number"
  14281. },
  14282. "oribuyqty": {
  14283. "description": "期初采购总量",
  14284. "type": "number"
  14285. },
  14286. "oriqty": {
  14287. "description": "期初量",
  14288. "type": "number"
  14289. },
  14290. "orisellamount": {
  14291. "description": "期初销售总额",
  14292. "type": "number"
  14293. },
  14294. "orisellqty": {
  14295. "description": "期初销售总量",
  14296. "type": "number"
  14297. },
  14298. "reckondate": {
  14299. "description": "日照时期(yyyyMMdd)",
  14300. "type": "string"
  14301. },
  14302. "spotgoodsbrandid": {
  14303. "description": "现货品牌ID",
  14304. "type": "integer"
  14305. },
  14306. "todaybuyamount": {
  14307. "description": "今日采购额(今采购额)",
  14308. "type": "number"
  14309. },
  14310. "todaybuyaverageprice": {
  14311. "description": "今日采购均价",
  14312. "type": "number"
  14313. },
  14314. "todaybuyqty": {
  14315. "description": "今日采购量(今采购量)",
  14316. "type": "number"
  14317. },
  14318. "todayinqty": {
  14319. "description": "今日入库量(今入库量)",
  14320. "type": "number"
  14321. },
  14322. "todayoutqty": {
  14323. "description": "今日出库量(今出库量)",
  14324. "type": "number"
  14325. },
  14326. "todaysellamount": {
  14327. "description": "今日销售额(今销售额)",
  14328. "type": "number"
  14329. },
  14330. "todaysellaverageprice": {
  14331. "description": "今日销售均价",
  14332. "type": "number"
  14333. },
  14334. "todaysellqty": {
  14335. "description": "今日销售量(今销售量)",
  14336. "type": "number"
  14337. },
  14338. "unitid": {
  14339. "description": "品类单位id",
  14340. "type": "integer"
  14341. },
  14342. "unitidname": {
  14343. "description": "品类单位名称",
  14344. "type": "string"
  14345. },
  14346. "updatetime": {
  14347. "description": "更新时间",
  14348. "type": "string"
  14349. },
  14350. "wrfactortypeid": {
  14351. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14352. "type": "integer"
  14353. },
  14354. "wrstandardcode": {
  14355. "description": "品类代码",
  14356. "type": "string"
  14357. },
  14358. "wrstandardid": {
  14359. "description": "现货品类ID",
  14360. "type": "integer"
  14361. },
  14362. "wrstandardname": {
  14363. "description": "品类名称",
  14364. "type": "string"
  14365. }
  14366. }
  14367. },
  14368. "models.Ermcp3AreaStock": {
  14369. "type": "object",
  14370. "required": [
  14371. "userid"
  14372. ],
  14373. "properties": {
  14374. "brandname": {
  14375. "description": "品牌名称",
  14376. "type": "string"
  14377. },
  14378. "curstock": {
  14379. "description": "期末库存量(今日量)",
  14380. "type": "number"
  14381. },
  14382. "deliverygoodscode": {
  14383. "description": "现货品种代码",
  14384. "type": "string"
  14385. },
  14386. "deliverygoodsid": {
  14387. "description": "现货品种id",
  14388. "type": "integer"
  14389. },
  14390. "deliverygoodsname": {
  14391. "description": "现货品种名称",
  14392. "type": "string"
  14393. },
  14394. "enumdicname": {
  14395. "description": "单位名称",
  14396. "type": "string"
  14397. },
  14398. "goodsunitid": {
  14399. "description": "现货商品单位id",
  14400. "type": "integer"
  14401. },
  14402. "oristock": {
  14403. "description": "期初库存量(昨日量)",
  14404. "type": "number"
  14405. },
  14406. "spotgoodsbrandid": {
  14407. "description": "现货品牌ID",
  14408. "type": "integer"
  14409. },
  14410. "todaybuyinqty": {
  14411. "description": "今日采购入库量",
  14412. "type": "number"
  14413. },
  14414. "todayproduceinqty": {
  14415. "description": "今日生产入库量",
  14416. "type": "number"
  14417. },
  14418. "todayproduceoutqty": {
  14419. "description": "今日生产出库量",
  14420. "type": "number"
  14421. },
  14422. "todayselloutqty": {
  14423. "description": "今日销售出库量",
  14424. "type": "number"
  14425. },
  14426. "unitid": {
  14427. "description": "单位id",
  14428. "type": "integer"
  14429. },
  14430. "updatetime": {
  14431. "description": "更新时间",
  14432. "type": "string"
  14433. },
  14434. "userid": {
  14435. "description": "机构ID",
  14436. "type": "integer"
  14437. },
  14438. "username": {
  14439. "description": "机构名称",
  14440. "type": "string"
  14441. },
  14442. "warehousecode": {
  14443. "description": "仓库代码",
  14444. "type": "string"
  14445. },
  14446. "warehouseinfoid": {
  14447. "description": "仓库ID",
  14448. "type": "string"
  14449. },
  14450. "warehousename": {
  14451. "description": "仓库名称",
  14452. "type": "string"
  14453. },
  14454. "warehousetype": {
  14455. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14456. "type": "integer"
  14457. },
  14458. "wrstandardcode": {
  14459. "description": "品类代码",
  14460. "type": "string"
  14461. },
  14462. "wrstandardid": {
  14463. "description": "品类ID",
  14464. "type": "string"
  14465. },
  14466. "wrstandardname": {
  14467. "description": "品类名称",
  14468. "type": "string"
  14469. }
  14470. }
  14471. },
  14472. "models.Ermcp3AreaStockApply": {
  14473. "type": "object",
  14474. "properties": {
  14475. "applyid": {
  14476. "description": "申请人",
  14477. "type": "integer"
  14478. },
  14479. "applyname": {
  14480. "description": "申请人名称",
  14481. "type": "string"
  14482. },
  14483. "applyremark": {
  14484. "description": "申请备注",
  14485. "type": "string"
  14486. },
  14487. "applysrc": {
  14488. "description": "申请来源 - 1:管理端 2:终端",
  14489. "type": "integer"
  14490. },
  14491. "applystatus": {
  14492. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14493. "type": "integer"
  14494. },
  14495. "applytime": {
  14496. "description": "申请时间",
  14497. "type": "string"
  14498. },
  14499. "auditid": {
  14500. "description": "审核人",
  14501. "type": "integer"
  14502. },
  14503. "auditname": {
  14504. "description": "审核人名称",
  14505. "type": "string"
  14506. },
  14507. "auditremark": {
  14508. "description": "审核备注",
  14509. "type": "string"
  14510. },
  14511. "auditsrc": {
  14512. "description": "审核来源 - 1:管理端 2:终端",
  14513. "type": "integer"
  14514. },
  14515. "audittime": {
  14516. "description": "审核时间",
  14517. "type": "string"
  14518. },
  14519. "audittradedate": {
  14520. "description": "审核交易日(yyyyMMdd)",
  14521. "type": "string"
  14522. },
  14523. "brandname": {
  14524. "description": "品牌名称",
  14525. "type": "string"
  14526. },
  14527. "buynickname": {
  14528. "description": "采购方昵称",
  14529. "type": "string"
  14530. },
  14531. "buyuserid": {
  14532. "description": "采购方userid",
  14533. "type": "integer"
  14534. },
  14535. "buyusername": {
  14536. "description": "采购方名称",
  14537. "type": "string"
  14538. },
  14539. "contractno": {
  14540. "description": "合同编号",
  14541. "type": "string"
  14542. },
  14543. "contractqty": {
  14544. "description": "合同量",
  14545. "type": "number"
  14546. },
  14547. "contracttype": {
  14548. "description": "现货合同类型 - 1:采购 -1:销售",
  14549. "type": "integer"
  14550. },
  14551. "deliverygoodscode": {
  14552. "description": "现货品种代码",
  14553. "type": "string"
  14554. },
  14555. "deliverygoodsid": {
  14556. "description": "现货品种id",
  14557. "type": "integer"
  14558. },
  14559. "deliverygoodsname": {
  14560. "description": "现货品种名称",
  14561. "type": "string"
  14562. },
  14563. "detailjson": {
  14564. "description": "明细数据",
  14565. "type": "string"
  14566. },
  14567. "enumdicname": {
  14568. "description": "现货商品单位名称",
  14569. "type": "string"
  14570. },
  14571. "inoutapplyid": {
  14572. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14573. "type": "string"
  14574. },
  14575. "inouttype": {
  14576. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  14577. "type": "integer"
  14578. },
  14579. "pricetype": {
  14580. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14581. "type": "integer"
  14582. },
  14583. "qty": {
  14584. "description": "数量",
  14585. "type": "number"
  14586. },
  14587. "sellnickname": {
  14588. "description": "销售方昵称",
  14589. "type": "string"
  14590. },
  14591. "selluserid": {
  14592. "description": "销售方userid",
  14593. "type": "integer"
  14594. },
  14595. "sellusername": {
  14596. "description": "销售方名称",
  14597. "type": "string"
  14598. },
  14599. "spotcontractid": {
  14600. "description": "关联现货合同ID",
  14601. "type": "string"
  14602. },
  14603. "spotgoodsbrandid": {
  14604. "description": "现货品牌ID",
  14605. "type": "integer"
  14606. },
  14607. "unitid": {
  14608. "description": "单位id",
  14609. "type": "integer"
  14610. },
  14611. "userid": {
  14612. "description": "机构ID",
  14613. "type": "integer"
  14614. },
  14615. "warehousecode": {
  14616. "description": "仓库代码",
  14617. "type": "string"
  14618. },
  14619. "warehouseinfoid": {
  14620. "description": "现货仓库ID",
  14621. "type": "string"
  14622. },
  14623. "warehousename": {
  14624. "description": "仓库名称",
  14625. "type": "string"
  14626. },
  14627. "warehousetype": {
  14628. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14629. "type": "integer"
  14630. },
  14631. "wrstandardcode": {
  14632. "description": "品类代码",
  14633. "type": "string"
  14634. },
  14635. "wrstandardid": {
  14636. "description": "品类ID",
  14637. "type": "integer"
  14638. },
  14639. "wrstandardname": {
  14640. "description": "品类名称",
  14641. "type": "string"
  14642. }
  14643. }
  14644. },
  14645. "models.Ermcp3AreaStockApplySum": {
  14646. "type": "object",
  14647. "properties": {
  14648. "brandname": {
  14649. "description": "品牌名称",
  14650. "type": "string"
  14651. },
  14652. "inouttype": {
  14653. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14654. "type": "integer"
  14655. },
  14656. "spotcontractid": {
  14657. "description": "关联现货合同ID",
  14658. "type": "string"
  14659. },
  14660. "spotgoodsbrandid": {
  14661. "description": "品牌id",
  14662. "type": "integer"
  14663. },
  14664. "totalqty": {
  14665. "description": "总数量",
  14666. "type": "number"
  14667. },
  14668. "wrstandardid": {
  14669. "description": "品类id",
  14670. "type": "integer"
  14671. },
  14672. "wrstandardname": {
  14673. "description": "品类名称",
  14674. "type": "string"
  14675. }
  14676. }
  14677. },
  14678. "models.Ermcp3AreaStockReportEx": {
  14679. "type": "object",
  14680. "properties": {
  14681. "begindate": {
  14682. "description": "开始交易日",
  14683. "type": "string"
  14684. },
  14685. "brandname": {
  14686. "description": "品牌名称",
  14687. "type": "string"
  14688. },
  14689. "curstock": {
  14690. "description": "期末库存量",
  14691. "type": "number"
  14692. },
  14693. "cycletime": {
  14694. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14695. "type": "string"
  14696. },
  14697. "cycletype": {
  14698. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14699. "type": "integer"
  14700. },
  14701. "deliverygoodscode": {
  14702. "description": "现货品种代码",
  14703. "type": "string"
  14704. },
  14705. "deliverygoodsid": {
  14706. "description": "现货品种id",
  14707. "type": "integer"
  14708. },
  14709. "deliverygoodsname": {
  14710. "description": "现货品种名称",
  14711. "type": "string"
  14712. },
  14713. "diffqty": {
  14714. "description": "库存变化量 = 期末 - 期初",
  14715. "type": "number"
  14716. },
  14717. "enddate": {
  14718. "description": "结束交易日",
  14719. "type": "string"
  14720. },
  14721. "enumdicname": {
  14722. "description": "单位名称",
  14723. "type": "string"
  14724. },
  14725. "goodsunitid": {
  14726. "description": "现货单位id",
  14727. "type": "integer"
  14728. },
  14729. "oristock": {
  14730. "description": "期初库存量",
  14731. "type": "number"
  14732. },
  14733. "reckondate": {
  14734. "description": "日照时期(yyyyMMdd)",
  14735. "type": "string"
  14736. },
  14737. "spotgoodsbrandid": {
  14738. "description": "现货品牌ID",
  14739. "type": "integer"
  14740. },
  14741. "todaybuyinqty": {
  14742. "description": "今采购入库量",
  14743. "type": "number"
  14744. },
  14745. "todayproduceinqty": {
  14746. "description": "今内部入库量",
  14747. "type": "number"
  14748. },
  14749. "todayproduceoutqty": {
  14750. "description": "今内部出库量",
  14751. "type": "number"
  14752. },
  14753. "todayselloutqty": {
  14754. "description": "今销售出库量",
  14755. "type": "number"
  14756. },
  14757. "unbuyinqty": {
  14758. "description": "采购未入库量(数据库未找到相关字段?)",
  14759. "type": "number"
  14760. },
  14761. "unitid": {
  14762. "description": "品类单位id",
  14763. "type": "integer"
  14764. },
  14765. "unselloutqty": {
  14766. "description": "销售未出库量(数据库未找到相关字段?)",
  14767. "type": "number"
  14768. },
  14769. "updatetime": {
  14770. "description": "更新时间",
  14771. "type": "string"
  14772. },
  14773. "userid": {
  14774. "description": "机构ID",
  14775. "type": "integer"
  14776. },
  14777. "username": {
  14778. "description": "机构名称",
  14779. "type": "string"
  14780. },
  14781. "warehousecode": {
  14782. "description": "仓库代码",
  14783. "type": "string"
  14784. },
  14785. "warehouseinfoid": {
  14786. "description": "仓库ID",
  14787. "type": "string"
  14788. },
  14789. "warehousename": {
  14790. "description": "仓库名称",
  14791. "type": "string"
  14792. },
  14793. "warehousetype": {
  14794. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14795. "type": "integer"
  14796. },
  14797. "wrstandardcode": {
  14798. "description": "品类代码",
  14799. "type": "string"
  14800. },
  14801. "wrstandardid": {
  14802. "description": "品类ID",
  14803. "type": "integer"
  14804. },
  14805. "wrstandardname": {
  14806. "description": "品类名称",
  14807. "type": "string"
  14808. }
  14809. }
  14810. },
  14811. "models.Ermcp3ArealSumPL": {
  14812. "type": "object",
  14813. "properties": {
  14814. "accountname": {
  14815. "description": "机构名称",
  14816. "type": "string"
  14817. },
  14818. "areauserid": {
  14819. "description": "所属机构\\交易用户ID",
  14820. "type": "integer"
  14821. },
  14822. "begindate": {
  14823. "description": "开始交易日",
  14824. "type": "string"
  14825. },
  14826. "currencyid": {
  14827. "description": "结算币种ID",
  14828. "type": "integer"
  14829. },
  14830. "currencyname": {
  14831. "description": "币种名称",
  14832. "type": "string"
  14833. },
  14834. "cycletime": {
  14835. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14836. "type": "string"
  14837. },
  14838. "cycletype": {
  14839. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14840. "type": "integer"
  14841. },
  14842. "enddate": {
  14843. "description": "结束交易日",
  14844. "type": "string"
  14845. },
  14846. "enumdicname": {
  14847. "description": "单位名称(套保品种)",
  14848. "type": "string"
  14849. },
  14850. "futureactualpl": {
  14851. "description": "期货损益",
  14852. "type": "number"
  14853. },
  14854. "futurefloatpl": {
  14855. "description": "期货浮动损益",
  14856. "type": "number"
  14857. },
  14858. "goodsunitid": {
  14859. "description": "套保品种单位id",
  14860. "type": "integer"
  14861. },
  14862. "middlegoodscode": {
  14863. "description": "套保品种代码",
  14864. "type": "string"
  14865. },
  14866. "middlegoodsid": {
  14867. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14868. "type": "integer"
  14869. },
  14870. "middlegoodsname": {
  14871. "description": "套保品种名称",
  14872. "type": "string"
  14873. },
  14874. "reckondate": {
  14875. "description": "日照时期(yyyyMMdd)",
  14876. "type": "string"
  14877. },
  14878. "spotactualpl": {
  14879. "description": "现货损益",
  14880. "type": "number"
  14881. },
  14882. "spotfloatpl": {
  14883. "description": "现货浮动损益",
  14884. "type": "number"
  14885. },
  14886. "sumactualpl": {
  14887. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14888. "type": "number"
  14889. },
  14890. "sumpl": {
  14891. "description": "汇总损益",
  14892. "type": "number"
  14893. },
  14894. "updatetime": {
  14895. "description": "更新时间",
  14896. "type": "string"
  14897. }
  14898. }
  14899. },
  14900. "models.Ermcp3Brand": {
  14901. "type": "object",
  14902. "properties": {
  14903. "areauserid": {
  14904. "description": "用户id",
  14905. "type": "integer"
  14906. },
  14907. "brandid": {
  14908. "description": "品牌id",
  14909. "type": "integer"
  14910. },
  14911. "brandname": {
  14912. "description": "品牌名称",
  14913. "type": "string"
  14914. },
  14915. "deliverygoodsid": {
  14916. "description": "品种ID",
  14917. "type": "integer"
  14918. }
  14919. }
  14920. },
  14921. "models.Ermcp3Contract": {
  14922. "type": "object",
  14923. "properties": {
  14924. "accountid": {
  14925. "description": "期货账户id",
  14926. "type": "string"
  14927. },
  14928. "amount": {
  14929. "description": "金额 [1:一口价、3:暂定价]",
  14930. "type": "number"
  14931. },
  14932. "attachment": {
  14933. "description": "附件",
  14934. "type": "string"
  14935. },
  14936. "auditremark": {
  14937. "description": "审核意见",
  14938. "type": "string"
  14939. },
  14940. "audittime": {
  14941. "description": "审核时间",
  14942. "type": "string"
  14943. },
  14944. "biztype": {
  14945. "description": "业务类型 1-套保 2-套利",
  14946. "type": "integer"
  14947. },
  14948. "brandname": {
  14949. "description": "品牌名称",
  14950. "type": "string"
  14951. },
  14952. "buynickname": {
  14953. "description": "销售方昵称",
  14954. "type": "string"
  14955. },
  14956. "buyuserid": {
  14957. "description": "采购方ID",
  14958. "type": "integer"
  14959. },
  14960. "buyusername": {
  14961. "description": "采购方名称",
  14962. "type": "string"
  14963. },
  14964. "contracctstatus": {
  14965. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14966. "type": "integer"
  14967. },
  14968. "contractmargin": {
  14969. "description": "合同保证金",
  14970. "type": "number"
  14971. },
  14972. "contractno": {
  14973. "description": "现货合同编号",
  14974. "type": "string"
  14975. },
  14976. "contracttype": {
  14977. "description": "现货合同类型 - 1:采购 -1:销售",
  14978. "type": "integer"
  14979. },
  14980. "convertfactor": {
  14981. "description": "标仓系数(品类)",
  14982. "type": "number"
  14983. },
  14984. "createtime": {
  14985. "description": "创建时间",
  14986. "type": "string"
  14987. },
  14988. "currencyid": {
  14989. "description": "币种id",
  14990. "type": "integer"
  14991. },
  14992. "currencyname": {
  14993. "description": "币种名称",
  14994. "type": "string"
  14995. },
  14996. "deliveryenddate": {
  14997. "description": "交收期(结束)",
  14998. "type": "string"
  14999. },
  15000. "deliverygoodscode": {
  15001. "description": "现货品种代码",
  15002. "type": "string"
  15003. },
  15004. "deliverygoodsid": {
  15005. "description": "现货品种ID",
  15006. "type": "integer"
  15007. },
  15008. "deliverygoodsname": {
  15009. "description": "现货品种名称",
  15010. "type": "string"
  15011. },
  15012. "deliverystartdate": {
  15013. "description": "交收期(开始)",
  15014. "type": "string"
  15015. },
  15016. "enddate": {
  15017. "description": "点价结束日期 [2:点价 3:暂定价]",
  15018. "type": "string"
  15019. },
  15020. "enumdicname": {
  15021. "description": "单位名称",
  15022. "type": "string"
  15023. },
  15024. "goodscode": {
  15025. "description": "点价合约代码",
  15026. "type": "string"
  15027. },
  15028. "goodsid": {
  15029. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15030. "type": "integer"
  15031. },
  15032. "goodsname": {
  15033. "description": "点价商品名称",
  15034. "type": "string"
  15035. },
  15036. "margin": {
  15037. "description": "当前保证金",
  15038. "type": "number"
  15039. },
  15040. "meruserid": {
  15041. "description": "跟单员id",
  15042. "type": "integer"
  15043. },
  15044. "meruserlogincode": {
  15045. "description": "跟单员登录代码",
  15046. "type": "string"
  15047. },
  15048. "price": {
  15049. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15050. "type": "number"
  15051. },
  15052. "pricemove": {
  15053. "description": "升贴水 [2:点价 3:暂定价]",
  15054. "type": "number"
  15055. },
  15056. "pricetype": {
  15057. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15058. "type": "integer"
  15059. },
  15060. "producttype": {
  15061. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15062. "type": "integer"
  15063. },
  15064. "qty": {
  15065. "description": "数量",
  15066. "type": "number"
  15067. },
  15068. "remark": {
  15069. "description": "备注",
  15070. "type": "string"
  15071. },
  15072. "saleuserid": {
  15073. "description": "业务员id",
  15074. "type": "integer"
  15075. },
  15076. "saleuserlogincode": {
  15077. "description": "业务员登录代码",
  15078. "type": "string"
  15079. },
  15080. "sellnickname": {
  15081. "description": "采购方昵称",
  15082. "type": "string"
  15083. },
  15084. "selluserid": {
  15085. "description": "销售方ID",
  15086. "type": "integer"
  15087. },
  15088. "sellusername": {
  15089. "description": "销售方名称",
  15090. "type": "string"
  15091. },
  15092. "spotcontractid": {
  15093. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15094. "type": "string"
  15095. },
  15096. "spotgoodsbrandid": {
  15097. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15098. "type": "integer"
  15099. },
  15100. "spotgoodsdesc": {
  15101. "description": "商品型号",
  15102. "type": "string"
  15103. },
  15104. "startdate": {
  15105. "description": "点价开始日期 [2:点价 3:暂定价]",
  15106. "type": "string"
  15107. },
  15108. "tradeuserid": {
  15109. "description": "交易员id",
  15110. "type": "integer"
  15111. },
  15112. "tradeuserlogincode": {
  15113. "description": "交易员登录代码",
  15114. "type": "string"
  15115. },
  15116. "tradeusername": {
  15117. "description": "交易员名称",
  15118. "type": "string"
  15119. },
  15120. "unitid": {
  15121. "description": "单位id(取品类上的单位id)",
  15122. "type": "integer"
  15123. },
  15124. "updatetime": {
  15125. "description": "更新时间",
  15126. "type": "string"
  15127. },
  15128. "userid": {
  15129. "description": "所属机构ID",
  15130. "type": "integer"
  15131. },
  15132. "wrstandardcode": {
  15133. "description": "品类代码",
  15134. "type": "string"
  15135. },
  15136. "wrstandardid": {
  15137. "description": "品类ID",
  15138. "type": "integer"
  15139. },
  15140. "wrstandardname": {
  15141. "description": "品类名称",
  15142. "type": "string"
  15143. }
  15144. }
  15145. },
  15146. "models.Ermcp3ExposureContractDetail": {
  15147. "type": "object",
  15148. "properties": {
  15149. "biztype": {
  15150. "description": "业务类型 1-套保 2-套利",
  15151. "type": "integer"
  15152. },
  15153. "brandname": {
  15154. "description": "品牌名称",
  15155. "type": "string"
  15156. },
  15157. "buyuserid": {
  15158. "description": "采购方id",
  15159. "type": "integer"
  15160. },
  15161. "buyusername": {
  15162. "description": "采购方名称",
  15163. "type": "string"
  15164. },
  15165. "contractno": {
  15166. "description": "合同编号",
  15167. "type": "string"
  15168. },
  15169. "contracttype": {
  15170. "description": "现货合同类型 - 1:采购 -1:销售",
  15171. "type": "integer"
  15172. },
  15173. "convertfactor": {
  15174. "description": "标仓系数",
  15175. "type": "number"
  15176. },
  15177. "convertratio": {
  15178. "description": "折算系数(套保品种)",
  15179. "type": "number"
  15180. },
  15181. "curqty": {
  15182. "description": "今定价量",
  15183. "type": "number"
  15184. },
  15185. "deliverygoodscode": {
  15186. "description": "现货商品代码",
  15187. "type": "string"
  15188. },
  15189. "deliverygoodsid": {
  15190. "description": "现货商品id",
  15191. "type": "integer"
  15192. },
  15193. "deliverygoodsname": {
  15194. "description": "现货商品名称",
  15195. "type": "string"
  15196. },
  15197. "diffhedgeqty": {
  15198. "description": "套保变动量",
  15199. "type": "number"
  15200. },
  15201. "diffneedhedgeqty": {
  15202. "description": "应套保变动量",
  15203. "type": "number"
  15204. },
  15205. "diffqty": {
  15206. "description": "套保品种今变动量",
  15207. "type": "number"
  15208. },
  15209. "enumdicname": {
  15210. "description": "单位名称",
  15211. "type": "string"
  15212. },
  15213. "middlegoodscode": {
  15214. "description": "套保品种代码",
  15215. "type": "string"
  15216. },
  15217. "middlegoodsid": {
  15218. "description": "套保品种id",
  15219. "type": "integer"
  15220. },
  15221. "middlegoodsname": {
  15222. "description": "套保品种名称",
  15223. "type": "string"
  15224. },
  15225. "needarbitrageratio": {
  15226. "description": "应套利比例",
  15227. "type": "number"
  15228. },
  15229. "needhedgeratio": {
  15230. "description": "应套保比例",
  15231. "type": "number"
  15232. },
  15233. "pricedqty": {
  15234. "description": "已定价量",
  15235. "type": "number"
  15236. },
  15237. "qty": {
  15238. "description": "合同量",
  15239. "type": "number"
  15240. },
  15241. "selluserid": {
  15242. "description": "销售方id",
  15243. "type": "integer"
  15244. },
  15245. "sellusername": {
  15246. "description": "销售方名称",
  15247. "type": "string"
  15248. },
  15249. "spotcontractid": {
  15250. "description": "合同id",
  15251. "type": "string"
  15252. },
  15253. "todaypricedqty": {
  15254. "description": "今定价量",
  15255. "type": "number"
  15256. },
  15257. "tradedate": {
  15258. "description": "交易日",
  15259. "type": "string"
  15260. },
  15261. "unitid": {
  15262. "description": "品类单位id",
  15263. "type": "integer"
  15264. },
  15265. "userid": {
  15266. "description": "机构id",
  15267. "type": "integer"
  15268. },
  15269. "wrstandardcode": {
  15270. "description": "品类代码",
  15271. "type": "string"
  15272. },
  15273. "wrstandardid": {
  15274. "description": "品类id",
  15275. "type": "integer"
  15276. },
  15277. "wrstandardname": {
  15278. "description": "品类名称",
  15279. "type": "string"
  15280. }
  15281. }
  15282. },
  15283. "models.Ermcp3ExposureDetail": {
  15284. "type": "object",
  15285. "properties": {
  15286. "areauserid": {
  15287. "description": "机构ID",
  15288. "type": "integer"
  15289. },
  15290. "changeQty": {
  15291. "description": "套保变动量",
  15292. "type": "number"
  15293. },
  15294. "contracttype": {
  15295. "description": "现货合同类型 - 1:采购 -1:销售",
  15296. "type": "integer"
  15297. },
  15298. "convertfactor": {
  15299. "description": "标仓系数",
  15300. "type": "number"
  15301. },
  15302. "convertratio": {
  15303. "description": "套保系数",
  15304. "type": "number"
  15305. },
  15306. "createtime": {
  15307. "description": "时间",
  15308. "type": "string"
  15309. },
  15310. "deliverygoodscode": {
  15311. "description": "现货品种代码",
  15312. "type": "string"
  15313. },
  15314. "deliverygoodsid": {
  15315. "description": "现货品种id",
  15316. "type": "integer"
  15317. },
  15318. "deliverygoodsname": {
  15319. "description": "现货品种名称",
  15320. "type": "string"
  15321. },
  15322. "enumdicname": {
  15323. "description": "现货商品单位名称",
  15324. "type": "string"
  15325. },
  15326. "logtype": {
  15327. "description": "类型 - 1:套保计划 2:现货合同",
  15328. "type": "integer"
  15329. },
  15330. "mgunitid": {
  15331. "description": "套保品种单位id",
  15332. "type": "integer"
  15333. },
  15334. "mgunitidname": {
  15335. "description": "套保品种单位名称",
  15336. "type": "string"
  15337. },
  15338. "middlegoodsId": {
  15339. "description": "套保商品id",
  15340. "type": "integer"
  15341. },
  15342. "middlegoodscode": {
  15343. "description": "套保商品代码",
  15344. "type": "string"
  15345. },
  15346. "middlegoodsname": {
  15347. "description": "套保商品名称",
  15348. "type": "string"
  15349. },
  15350. "qty": {
  15351. "description": "数量",
  15352. "type": "number"
  15353. },
  15354. "relateNo": {
  15355. "description": "现货合同/套保计划编号",
  15356. "type": "string"
  15357. }
  15358. }
  15359. },
  15360. "models.Ermcp3ExposureFutuDetail": {
  15361. "type": "object",
  15362. "properties": {
  15363. "accountid": {
  15364. "description": "交易账户id",
  15365. "type": "integer"
  15366. },
  15367. "accountname": {
  15368. "description": "交易账户",
  15369. "type": "string"
  15370. },
  15371. "begindate": {
  15372. "description": "开始交易日",
  15373. "type": "string"
  15374. },
  15375. "buyorsell": {
  15376. "description": "方向 0-买 1-卖",
  15377. "type": "integer"
  15378. },
  15379. "diffmgqty": {
  15380. "description": "套保品种今变化量",
  15381. "type": "number"
  15382. },
  15383. "diffneedqty": {
  15384. "description": "应套保总量变化量",
  15385. "type": "number"
  15386. },
  15387. "difftradeqty": {
  15388. "description": "交易品种今变化量",
  15389. "type": "number"
  15390. },
  15391. "enddate": {
  15392. "description": "结束交易日",
  15393. "type": "string"
  15394. },
  15395. "enumdicname": {
  15396. "description": "单位名称",
  15397. "type": "string"
  15398. },
  15399. "goodscode": {
  15400. "description": "商品代码",
  15401. "type": "string"
  15402. },
  15403. "goodsid": {
  15404. "description": "商品id",
  15405. "type": "integer"
  15406. },
  15407. "goodsname": {
  15408. "description": "商品名称",
  15409. "type": "string"
  15410. },
  15411. "holdqty": {
  15412. "description": "期末持仓量",
  15413. "type": "number"
  15414. },
  15415. "middlegoodscode": {
  15416. "description": "套保商品代码",
  15417. "type": "string"
  15418. },
  15419. "middlegoodsid": {
  15420. "description": "套保商品id",
  15421. "type": "integer"
  15422. },
  15423. "middlegoodsname": {
  15424. "description": "套保商品名称",
  15425. "type": "string"
  15426. },
  15427. "oriholdqty": {
  15428. "description": "期初持仓量",
  15429. "type": "number"
  15430. },
  15431. "todaycloseqty": {
  15432. "description": "今平仓量",
  15433. "type": "number"
  15434. },
  15435. "todayopenqty": {
  15436. "description": "今开仓量",
  15437. "type": "number"
  15438. },
  15439. "tradedate": {
  15440. "description": "交易日",
  15441. "type": "string"
  15442. }
  15443. }
  15444. },
  15445. "models.Ermcp3ExposureHedgeplanDetail": {
  15446. "type": "object",
  15447. "properties": {
  15448. "biztype": {
  15449. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  15450. "type": "integer"
  15451. },
  15452. "changqty": {
  15453. "description": "应套保总量变化量",
  15454. "type": "number"
  15455. },
  15456. "contracttype": {
  15457. "description": "计划类型 - 1:采购 -1:销售",
  15458. "type": "integer"
  15459. },
  15460. "convertratio": {
  15461. "description": "折算系数(套保品种)",
  15462. "type": "number"
  15463. },
  15464. "deliverygoodscode": {
  15465. "description": "现货商品代码",
  15466. "type": "string"
  15467. },
  15468. "deliverygoodsid": {
  15469. "description": "现货商品id",
  15470. "type": "integer"
  15471. },
  15472. "deliverygoodsname": {
  15473. "description": "现货商吕名称",
  15474. "type": "string"
  15475. },
  15476. "dgunitid": {
  15477. "description": "现货商品单位id",
  15478. "type": "integer"
  15479. },
  15480. "dgunitidname": {
  15481. "description": "单位名称(现货商品)",
  15482. "type": "string"
  15483. },
  15484. "diffqty": {
  15485. "description": "套保品种今变动量",
  15486. "type": "number"
  15487. },
  15488. "enumdicname": {
  15489. "description": "单位名称(品类)",
  15490. "type": "string"
  15491. },
  15492. "hedgeplanid": {
  15493. "description": "套保计划id",
  15494. "type": "string"
  15495. },
  15496. "hedgeplanno": {
  15497. "description": "套保计划名称",
  15498. "type": "string"
  15499. },
  15500. "hedgeplanstatus": {
  15501. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15502. "type": "integer"
  15503. },
  15504. "mgunitidname": {
  15505. "description": "单位名称(套保商品)",
  15506. "type": "string"
  15507. },
  15508. "middlegoodscode": {
  15509. "description": "套保品种代码",
  15510. "type": "string"
  15511. },
  15512. "middlegoodsid": {
  15513. "description": "套保品种id",
  15514. "type": "integer"
  15515. },
  15516. "middlegoodsname": {
  15517. "description": "套保品种名称",
  15518. "type": "string"
  15519. },
  15520. "needarbitrageratio": {
  15521. "description": "应套利比例",
  15522. "type": "number"
  15523. },
  15524. "needhedgeratio": {
  15525. "description": "应套保比例",
  15526. "type": "number"
  15527. },
  15528. "pricedqty": {
  15529. "description": "已定价量",
  15530. "type": "number"
  15531. },
  15532. "qty": {
  15533. "description": "合同量",
  15534. "type": "number"
  15535. },
  15536. "tradedate": {
  15537. "description": "交易日(登记日)",
  15538. "type": "string"
  15539. },
  15540. "unitid": {
  15541. "description": "品类单位id",
  15542. "type": "integer"
  15543. },
  15544. "userid": {
  15545. "description": "机构id",
  15546. "type": "integer"
  15547. },
  15548. "wrstandardcode": {
  15549. "description": "品类代码",
  15550. "type": "string"
  15551. },
  15552. "wrstandardid": {
  15553. "description": "品类id",
  15554. "type": "integer"
  15555. },
  15556. "wrstandardname": {
  15557. "description": "品类名称",
  15558. "type": "string"
  15559. }
  15560. }
  15561. },
  15562. "models.Ermcp3ExpourseReport": {
  15563. "type": "object",
  15564. "properties": {
  15565. "accountid": {
  15566. "description": "期货账户ID (作废, 默认为0)",
  15567. "type": "integer"
  15568. },
  15569. "accountname": {
  15570. "description": "机构名称",
  15571. "type": "string"
  15572. },
  15573. "arbitrageqty": {
  15574. "description": "套利量",
  15575. "type": "number"
  15576. },
  15577. "areauserid": {
  15578. "description": "所属机构\\交易用户ID",
  15579. "type": "integer"
  15580. },
  15581. "begindate": {
  15582. "description": "开始交易日",
  15583. "type": "string"
  15584. },
  15585. "buyfutureqty": {
  15586. "description": "买入期货数量",
  15587. "type": "number"
  15588. },
  15589. "buyplanqty": {
  15590. "description": "采购计划数量",
  15591. "type": "number"
  15592. },
  15593. "buypricedqty": {
  15594. "description": "采购合同已定价数量",
  15595. "type": "number"
  15596. },
  15597. "cycletime": {
  15598. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15599. "type": "string"
  15600. },
  15601. "cycletype": {
  15602. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15603. "type": "integer"
  15604. },
  15605. "diffexposure": {
  15606. "description": "变动量(套保敞口)",
  15607. "type": "number"
  15608. },
  15609. "difffutuqty": {
  15610. "description": "变动量(期货)",
  15611. "type": "number"
  15612. },
  15613. "diffhedgeqty": {
  15614. "description": "变动量(现货应套保总量)",
  15615. "type": "number"
  15616. },
  15617. "diffmgqtya": {
  15618. "description": "套保变动量",
  15619. "type": "number"
  15620. },
  15621. "diffmgqtyb": {
  15622. "description": "套利变动量",
  15623. "type": "number"
  15624. },
  15625. "diffqty": {
  15626. "description": "变动量(总敞口)",
  15627. "type": "number"
  15628. },
  15629. "diffspotqty": {
  15630. "description": "变动量(现货)",
  15631. "type": "number"
  15632. },
  15633. "enddate": {
  15634. "description": "结束交易日",
  15635. "type": "string"
  15636. },
  15637. "enumdicname": {
  15638. "description": "单位名称",
  15639. "type": "string"
  15640. },
  15641. "hedgeqty": {
  15642. "description": "套保量",
  15643. "type": "number"
  15644. },
  15645. "mgneedhedgeratio": {
  15646. "description": "套保比例(套保品的)",
  15647. "type": "number"
  15648. },
  15649. "middlegoodsid": {
  15650. "description": "套保品种ID",
  15651. "type": "integer"
  15652. },
  15653. "middlegoodsname": {
  15654. "description": "套保商品名称",
  15655. "type": "string"
  15656. },
  15657. "middlgoodscode": {
  15658. "description": "套保商品代码",
  15659. "type": "string"
  15660. },
  15661. "needarbitrageqty": {
  15662. "description": "应套利量",
  15663. "type": "number"
  15664. },
  15665. "needarbitrageratio": {
  15666. "description": "套利比例(套保品的)",
  15667. "type": "number"
  15668. },
  15669. "needhedgeexposoure": {
  15670. "description": "应套保敞口(套保敞口)",
  15671. "type": "number"
  15672. },
  15673. "needhedgeqty": {
  15674. "description": "应套保量",
  15675. "type": "number"
  15676. },
  15677. "needhedgeratio": {
  15678. "description": "应套保敞口比例",
  15679. "type": "number"
  15680. },
  15681. "oriarbitrageqty": {
  15682. "description": "期初套利量",
  15683. "type": "number"
  15684. },
  15685. "oribuyfutureqty": {
  15686. "description": "期初买入期货数量",
  15687. "type": "number"
  15688. },
  15689. "oribuyplanqty": {
  15690. "description": "期初采购计划数量",
  15691. "type": "number"
  15692. },
  15693. "oribuypricedqty": {
  15694. "description": "期初采购合同已定价数量",
  15695. "type": "number"
  15696. },
  15697. "orihedgeqty": {
  15698. "description": "期初套保量",
  15699. "type": "number"
  15700. },
  15701. "orineedarbitrageqty": {
  15702. "description": "期初应套利量",
  15703. "type": "number"
  15704. },
  15705. "orineedhedgeexposoure": {
  15706. "description": "期初应套保敞口",
  15707. "type": "number"
  15708. },
  15709. "orineedhedgeqty": {
  15710. "description": "期初应套保量",
  15711. "type": "number"
  15712. },
  15713. "orisellfutureqty": {
  15714. "description": "期初卖出期货数量",
  15715. "type": "number"
  15716. },
  15717. "orisellplanqty": {
  15718. "description": "期初销售计划数量",
  15719. "type": "number"
  15720. },
  15721. "orisellpricedqty": {
  15722. "description": "期初销售合同已定价数量",
  15723. "type": "number"
  15724. },
  15725. "oritotalexposure": {
  15726. "description": "期初实时总敞口",
  15727. "type": "number"
  15728. },
  15729. "oritotalfutureqty": {
  15730. "description": "期初期货头寸总量",
  15731. "type": "number"
  15732. },
  15733. "oritotalneedhedgeqty": {
  15734. "description": "期初应套保总量",
  15735. "type": "number"
  15736. },
  15737. "oritotalspotqty": {
  15738. "description": "期初现货头寸总量",
  15739. "type": "number"
  15740. },
  15741. "reckondate": {
  15742. "description": "日照时期(yyyyMMdd)",
  15743. "type": "string"
  15744. },
  15745. "sellfutureqty": {
  15746. "description": "卖出期货数量",
  15747. "type": "number"
  15748. },
  15749. "sellplanqty": {
  15750. "description": "销售计划数量",
  15751. "type": "number"
  15752. },
  15753. "sellpricedqty": {
  15754. "description": "销售合同已定价数量",
  15755. "type": "number"
  15756. },
  15757. "totalexposure": {
  15758. "description": "实时总敞口(总敞口)",
  15759. "type": "number"
  15760. },
  15761. "totalfutureqty": {
  15762. "description": "期货头寸总量(期货总量)",
  15763. "type": "number"
  15764. },
  15765. "totalhedgeratio": {
  15766. "description": "敞口比例",
  15767. "type": "number"
  15768. },
  15769. "totalneedhedgeqty": {
  15770. "description": "应套保总量(现货应套保总量)",
  15771. "type": "number"
  15772. },
  15773. "totalspotqty": {
  15774. "description": "现货头寸总量",
  15775. "type": "number"
  15776. },
  15777. "unitid": {
  15778. "description": "单位id",
  15779. "type": "integer"
  15780. },
  15781. "updatetime": {
  15782. "description": "更新时间",
  15783. "type": "string"
  15784. }
  15785. }
  15786. },
  15787. "models.Ermcp3FinanceReport": {
  15788. "type": "object",
  15789. "properties": {
  15790. "accountname": {
  15791. "description": "机构名称",
  15792. "type": "string"
  15793. },
  15794. "areauserid": {
  15795. "description": "所属机构\\交易用户ID",
  15796. "type": "integer"
  15797. },
  15798. "begindate": {
  15799. "description": "开始交易日",
  15800. "type": "string"
  15801. },
  15802. "biztype": {
  15803. "description": "业务类型 - 1:套保 2:套利",
  15804. "type": "integer"
  15805. },
  15806. "brandname": {
  15807. "description": "品牌名称",
  15808. "type": "string"
  15809. },
  15810. "buypreinvoicedamount": {
  15811. "description": "采购预收票额(预收票额)",
  15812. "type": "number"
  15813. },
  15814. "buyprepaidamount": {
  15815. "description": "采购预付款额(预付货款额)",
  15816. "type": "number"
  15817. },
  15818. "buytodayinvoiceamount": {
  15819. "description": "采购今收票额(今收票额)",
  15820. "type": "number"
  15821. },
  15822. "buytodayrefundamount": {
  15823. "description": "采购今收退款额(今收退款额)",
  15824. "type": "number"
  15825. },
  15826. "buytodaysettleamount": {
  15827. "description": "采购今付款额(今付货款额)",
  15828. "type": "number"
  15829. },
  15830. "buyuninvoicedamount": {
  15831. "description": "采购应收票额(应收票额)",
  15832. "type": "number"
  15833. },
  15834. "buyunpaidamount": {
  15835. "description": "采购应付款额(应付货款额)",
  15836. "type": "number"
  15837. },
  15838. "currencyid": {
  15839. "description": "结算币种ID",
  15840. "type": "integer"
  15841. },
  15842. "currencyname": {
  15843. "description": "币种名称",
  15844. "type": "string"
  15845. },
  15846. "cycletime": {
  15847. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15848. "type": "string"
  15849. },
  15850. "cycletype": {
  15851. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15852. "type": "integer"
  15853. },
  15854. "deliverygoodscode": {
  15855. "description": "现货品种代码",
  15856. "type": "string"
  15857. },
  15858. "deliverygoodsid": {
  15859. "description": "现货品种ID",
  15860. "type": "integer"
  15861. },
  15862. "deliverygoodsname": {
  15863. "description": "现货品种名称",
  15864. "type": "string"
  15865. },
  15866. "enddate": {
  15867. "description": "结束交易日",
  15868. "type": "string"
  15869. },
  15870. "reckondate": {
  15871. "description": "日照时期(yyyyMMdd)",
  15872. "type": "string"
  15873. },
  15874. "sellpreinvoicedamount": {
  15875. "description": "销售预开票额(预开票额)",
  15876. "type": "number"
  15877. },
  15878. "sellprepaidamount": {
  15879. "description": "销售预收款额(预收货款额)",
  15880. "type": "number"
  15881. },
  15882. "selltodayinvoiceamount": {
  15883. "description": "销售今开票额(今开票额)",
  15884. "type": "number"
  15885. },
  15886. "selltodayrefundamount": {
  15887. "description": "销售今付退款额(今付退款额)",
  15888. "type": "number"
  15889. },
  15890. "selltodaysettleamount": {
  15891. "description": "销售今收款额(今收货款额)",
  15892. "type": "number"
  15893. },
  15894. "selluninvoicedamount": {
  15895. "description": "销售应开票额(应开票额)",
  15896. "type": "number"
  15897. },
  15898. "sellunpaidamount": {
  15899. "description": "销售应收款额(应收货款额)",
  15900. "type": "number"
  15901. },
  15902. "spotgoodsbrandid": {
  15903. "description": "现货品牌ID",
  15904. "type": "integer"
  15905. },
  15906. "todaypaysum": {
  15907. "description": "今付款合计",
  15908. "type": "number"
  15909. },
  15910. "todayreceivesum": {
  15911. "description": "今收款合计",
  15912. "type": "number"
  15913. },
  15914. "updatetime": {
  15915. "description": "更新时间",
  15916. "type": "string"
  15917. },
  15918. "wrfactortypeid": {
  15919. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15920. "type": "integer"
  15921. },
  15922. "wrstandardcode": {
  15923. "description": "品类代码",
  15924. "type": "string"
  15925. },
  15926. "wrstandardid": {
  15927. "description": "现货商品ID",
  15928. "type": "integer"
  15929. },
  15930. "wrstandardname": {
  15931. "description": "品类名称",
  15932. "type": "string"
  15933. }
  15934. }
  15935. },
  15936. "models.Ermcp3Goods": {
  15937. "type": "object",
  15938. "properties": {
  15939. "agreeunit": {
  15940. "description": "合约单位(合约乘数)",
  15941. "type": "number"
  15942. },
  15943. "enumdicname": {
  15944. "description": "单位名称",
  15945. "type": "string"
  15946. },
  15947. "exexchangecode": {
  15948. "description": "交易所代码",
  15949. "type": "string"
  15950. },
  15951. "goodscode": {
  15952. "description": "期货商品代码",
  15953. "type": "string"
  15954. },
  15955. "goodsid": {
  15956. "description": "期货商品id",
  15957. "type": "integer"
  15958. },
  15959. "goodsname": {
  15960. "description": "期货商品名称",
  15961. "type": "string"
  15962. }
  15963. }
  15964. },
  15965. "models.Ermcp3GoodsGroup": {
  15966. "type": "object",
  15967. "required": [
  15968. "areauserid"
  15969. ],
  15970. "properties": {
  15971. "agreeunit": {
  15972. "description": "合约单位",
  15973. "type": "number"
  15974. },
  15975. "areauserid": {
  15976. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15977. "type": "integer"
  15978. },
  15979. "canshort": {
  15980. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15981. "type": "integer"
  15982. },
  15983. "closepricemode": {
  15984. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15985. "type": "integer"
  15986. },
  15987. "createtime": {
  15988. "description": "创建时间",
  15989. "type": "string"
  15990. },
  15991. "creatorid": {
  15992. "description": "创建人",
  15993. "type": "integer"
  15994. },
  15995. "currencyid": {
  15996. "description": "报价货币ID",
  15997. "type": "integer"
  15998. },
  15999. "decimalplace": {
  16000. "description": "报价小数位",
  16001. "type": "integer"
  16002. },
  16003. "enumdicname": {
  16004. "description": "单位名称",
  16005. "type": "string"
  16006. },
  16007. "exchangefullname": {
  16008. "description": "交易所全称",
  16009. "type": "string"
  16010. },
  16011. "excludecfg": {
  16012. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  16013. "type": "integer"
  16014. },
  16015. "exexchangecode": {
  16016. "description": "交易所代码",
  16017. "type": "string"
  16018. },
  16019. "exexchangeid": {
  16020. "description": "外部交易所ID[通道交易]",
  16021. "type": "integer"
  16022. },
  16023. "exexchangename": {
  16024. "description": "交易所名称",
  16025. "type": "string"
  16026. },
  16027. "goodsgroupid": {
  16028. "description": "商品组ID(自增ID)",
  16029. "type": "integer"
  16030. },
  16031. "goodsgroupname": {
  16032. "description": "商品组名称",
  16033. "type": "string"
  16034. },
  16035. "goodsgroupstatus": {
  16036. "description": "商品组状态 - 1:正常 2:注销",
  16037. "type": "integer"
  16038. },
  16039. "goodunitid": {
  16040. "description": "报价单位ID",
  16041. "type": "integer"
  16042. },
  16043. "groupcategroyid": {
  16044. "description": "品种分类ID",
  16045. "type": "integer"
  16046. },
  16047. "innerdealmode": {
  16048. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16049. "type": "integer"
  16050. },
  16051. "marketid": {
  16052. "description": "所属市场ID",
  16053. "type": "integer"
  16054. },
  16055. "modifierid": {
  16056. "description": "修改人",
  16057. "type": "integer"
  16058. },
  16059. "modifytime": {
  16060. "description": "修改时间",
  16061. "type": "string"
  16062. },
  16063. "outerdealmode": {
  16064. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16065. "type": "integer"
  16066. },
  16067. "outergroupcode": {
  16068. "description": "外部商品组代码[通道交易]",
  16069. "type": "string"
  16070. },
  16071. "quoteminunit": {
  16072. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16073. "type": "integer"
  16074. },
  16075. "quotesourcegroupid": {
  16076. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16077. "type": "integer"
  16078. },
  16079. "syncgoodsqty": {
  16080. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16081. "type": "integer"
  16082. }
  16083. }
  16084. },
  16085. "models.Ermcp3GoodsGroupEx": {
  16086. "type": "object",
  16087. "properties": {
  16088. "convertratio": {
  16089. "description": "折算系数(品种系数)",
  16090. "type": "number"
  16091. },
  16092. "enumdicname": {
  16093. "description": "单位名称",
  16094. "type": "string"
  16095. },
  16096. "exexchangecode": {
  16097. "description": "交易所代码",
  16098. "type": "string"
  16099. },
  16100. "glist": {
  16101. "description": "合约列表",
  16102. "type": "array",
  16103. "items": {
  16104. "$ref": "#/definitions/models.Ermcp3Goods"
  16105. }
  16106. },
  16107. "goodsgroupid": {
  16108. "description": "商品组id",
  16109. "type": "integer"
  16110. },
  16111. "goodsgroupname": {
  16112. "description": "商品组名称",
  16113. "type": "string"
  16114. },
  16115. "goodsunitid": {
  16116. "description": "单位id",
  16117. "type": "integer"
  16118. },
  16119. "middlegoodsid": {
  16120. "description": "套保商品id",
  16121. "type": "integer"
  16122. }
  16123. }
  16124. },
  16125. "models.Ermcp3HedgePlan": {
  16126. "type": "object",
  16127. "properties": {
  16128. "accountid": {
  16129. "description": "资金账号",
  16130. "type": "integer"
  16131. },
  16132. "areauserid": {
  16133. "description": "用户ID",
  16134. "type": "integer"
  16135. },
  16136. "audittime": {
  16137. "description": "审核时间",
  16138. "type": "string"
  16139. },
  16140. "contracttype": {
  16141. "description": "计划类型 - 1:采购 -1:销售",
  16142. "type": "integer"
  16143. },
  16144. "convertfactor": {
  16145. "description": "标仓系数",
  16146. "type": "number"
  16147. },
  16148. "createtime": {
  16149. "description": "创建时间",
  16150. "type": "string"
  16151. },
  16152. "currencyid": {
  16153. "description": "币种id",
  16154. "type": "integer"
  16155. },
  16156. "currencyname": {
  16157. "description": "币种名称",
  16158. "type": "string"
  16159. },
  16160. "deliverygoodscode": {
  16161. "description": "现货品种代码",
  16162. "type": "string"
  16163. },
  16164. "deliverygoodsid": {
  16165. "description": "现货品种ID",
  16166. "type": "integer"
  16167. },
  16168. "deliverygoodsname": {
  16169. "description": "现货品种名称",
  16170. "type": "string"
  16171. },
  16172. "enumdicname": {
  16173. "description": "单位名称(现货商品)",
  16174. "type": "string"
  16175. },
  16176. "hedgeplanid": {
  16177. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16178. "type": "string"
  16179. },
  16180. "hedgeplanno": {
  16181. "description": "套保计划编号(名称)",
  16182. "type": "string"
  16183. },
  16184. "hedgeplanstatus": {
  16185. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16186. "type": "integer"
  16187. },
  16188. "planqty": {
  16189. "description": "计划数量",
  16190. "type": "number"
  16191. },
  16192. "plantime": {
  16193. "description": "计划时间",
  16194. "type": "string"
  16195. },
  16196. "producttype": {
  16197. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16198. "type": "integer"
  16199. },
  16200. "remark": {
  16201. "description": "备注",
  16202. "type": "string"
  16203. },
  16204. "spotgoodsdesc": {
  16205. "description": "商品型号",
  16206. "type": "string"
  16207. },
  16208. "taaccountname": {
  16209. "description": "资金账号名称",
  16210. "type": "string"
  16211. },
  16212. "tradeuserid": {
  16213. "description": "交易用户id",
  16214. "type": "integer"
  16215. },
  16216. "tradeusername": {
  16217. "description": "交易用户名称",
  16218. "type": "string"
  16219. },
  16220. "unitid": {
  16221. "description": "单位id(现货商品)",
  16222. "type": "integer"
  16223. },
  16224. "updatetime": {
  16225. "description": "更新时间",
  16226. "type": "string"
  16227. },
  16228. "wrstandardcode": {
  16229. "description": "品类代码",
  16230. "type": "string"
  16231. },
  16232. "wrstandardid": {
  16233. "description": "品类id",
  16234. "type": "integer"
  16235. },
  16236. "wrstandardname": {
  16237. "description": "品类名称",
  16238. "type": "string"
  16239. },
  16240. "wrunitid": {
  16241. "description": "品类单位id",
  16242. "type": "integer"
  16243. },
  16244. "wrunitidame": {
  16245. "description": "品类单位名称",
  16246. "type": "string"
  16247. }
  16248. }
  16249. },
  16250. "models.Ermcp3MiddleGoodsDetail2": {
  16251. "type": "object",
  16252. "properties": {
  16253. "convertratio": {
  16254. "description": "套保系数(折算系数)",
  16255. "type": "number"
  16256. },
  16257. "gplist": {
  16258. "description": "关联商品组列表",
  16259. "type": "array",
  16260. "items": {
  16261. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16262. }
  16263. },
  16264. "mg": {
  16265. "description": "套保商品信息",
  16266. "type": "object",
  16267. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16268. }
  16269. }
  16270. },
  16271. "models.Ermcp3MiddleGoodsDetailEx": {
  16272. "type": "object",
  16273. "properties": {
  16274. "dglist": {
  16275. "description": "关联的现货品种列表",
  16276. "type": "array",
  16277. "items": {
  16278. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  16279. }
  16280. },
  16281. "gplist": {
  16282. "description": "关联商品组列表",
  16283. "type": "array",
  16284. "items": {
  16285. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16286. }
  16287. },
  16288. "mg": {
  16289. "description": "套保商品信息",
  16290. "type": "object",
  16291. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16292. }
  16293. }
  16294. },
  16295. "models.Ermcp3RootUserAccount": {
  16296. "type": "object",
  16297. "properties": {
  16298. "accountname": {
  16299. "description": "账户名称(机构名称)",
  16300. "type": "string"
  16301. },
  16302. "accountstatus": {
  16303. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16304. "type": "integer"
  16305. },
  16306. "applysrc": {
  16307. "description": "申请来源 - 1:管理端 2:终端",
  16308. "type": "integer"
  16309. },
  16310. "auditremark": {
  16311. "description": "审核备注",
  16312. "type": "string"
  16313. },
  16314. "auditsrc": {
  16315. "description": "审核来源 - 1:管理端 2:终端",
  16316. "type": "integer"
  16317. },
  16318. "audittime": {
  16319. "description": "审核时间",
  16320. "type": "string"
  16321. },
  16322. "audituserid": {
  16323. "description": "审核人",
  16324. "type": "integer"
  16325. },
  16326. "broker": {
  16327. "description": "所属经纪人ID",
  16328. "type": "integer"
  16329. },
  16330. "canceltime": {
  16331. "description": "销户时间",
  16332. "type": "string"
  16333. },
  16334. "canceluserid": {
  16335. "description": "销户人",
  16336. "type": "integer"
  16337. },
  16338. "canrecommend": {
  16339. "description": "是否可推荐 - 0:不可 1;可",
  16340. "type": "integer"
  16341. },
  16342. "createtime": {
  16343. "description": "创建时间",
  16344. "type": "string"
  16345. },
  16346. "creatorid": {
  16347. "description": "创建人",
  16348. "type": "integer"
  16349. },
  16350. "hasauth": {
  16351. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16352. "type": "integer"
  16353. },
  16354. "isanonymous": {
  16355. "description": "是否匿名下单 - 0:否 1:是",
  16356. "type": "integer"
  16357. },
  16358. "maxinvestornum": {
  16359. "description": "最大用户数(经纪会员下投资者个数)",
  16360. "type": "integer"
  16361. },
  16362. "memberuserid": {
  16363. "description": "所属会员ID",
  16364. "type": "integer"
  16365. },
  16366. "modifierid": {
  16367. "description": "修改人",
  16368. "type": "integer"
  16369. },
  16370. "modifyremark": {
  16371. "description": "变更备注",
  16372. "type": "string"
  16373. },
  16374. "modifystatus": {
  16375. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16376. "type": "integer"
  16377. },
  16378. "modifytime": {
  16379. "description": "修改时间",
  16380. "type": "string"
  16381. },
  16382. "parenttopuser": {
  16383. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  16384. "type": "string"
  16385. },
  16386. "parentuserid": {
  16387. "description": "所属机构ID",
  16388. "type": "integer"
  16389. },
  16390. "reckonaccountid": {
  16391. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16392. "type": "integer"
  16393. },
  16394. "refercount": {
  16395. "description": "推荐总人数",
  16396. "type": "integer"
  16397. },
  16398. "refereeuserid": {
  16399. "description": "推荐人ID",
  16400. "type": "integer"
  16401. },
  16402. "refernum": {
  16403. "description": "推荐码",
  16404. "type": "string"
  16405. },
  16406. "rootuserid": {
  16407. "description": "根用户ID",
  16408. "type": "integer"
  16409. },
  16410. "subaccountlevel": {
  16411. "description": "子账户层数",
  16412. "type": "integer"
  16413. },
  16414. "subarealevelpath": {
  16415. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16416. "type": "string"
  16417. },
  16418. "userid": {
  16419. "description": "用户ID",
  16420. "type": "integer"
  16421. },
  16422. "usertype": {
  16423. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16424. "type": "integer"
  16425. }
  16426. }
  16427. },
  16428. "models.Ermcp3SellBuyContract": {
  16429. "type": "object",
  16430. "properties": {
  16431. "accountid": {
  16432. "description": "期货账户id",
  16433. "type": "string"
  16434. },
  16435. "accountname": {
  16436. "description": "账户名称",
  16437. "type": "string"
  16438. },
  16439. "attachment": {
  16440. "description": "附件",
  16441. "type": "string"
  16442. },
  16443. "audittime": {
  16444. "description": "审核时间",
  16445. "type": "string"
  16446. },
  16447. "biztype": {
  16448. "description": "业务类型 1-套保 2-套利",
  16449. "type": "integer"
  16450. },
  16451. "brandname": {
  16452. "description": "品牌名称",
  16453. "type": "string"
  16454. },
  16455. "contracctstatus": {
  16456. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16457. "type": "integer"
  16458. },
  16459. "contractmargin": {
  16460. "description": "合同保证金",
  16461. "type": "number"
  16462. },
  16463. "contractno": {
  16464. "description": "合同编号",
  16465. "type": "string"
  16466. },
  16467. "contracttype": {
  16468. "description": "合同类型 1-采购, -1-销售",
  16469. "type": "integer"
  16470. },
  16471. "convertfactor": {
  16472. "description": "标仓系数(品类)",
  16473. "type": "number"
  16474. },
  16475. "createtime": {
  16476. "description": "创建时间",
  16477. "type": "string"
  16478. },
  16479. "currencyid": {
  16480. "description": "币种id",
  16481. "type": "integer"
  16482. },
  16483. "currencyname": {
  16484. "description": "币种名称",
  16485. "type": "string"
  16486. },
  16487. "daikaiamount": {
  16488. "description": "应收(开)票额",
  16489. "type": "number"
  16490. },
  16491. "deliveryenddate": {
  16492. "description": "交割结束日",
  16493. "type": "string"
  16494. },
  16495. "deliverygoodscode": {
  16496. "description": "现货品种代码",
  16497. "type": "string"
  16498. },
  16499. "deliverygoodsid": {
  16500. "description": "现货商品ID",
  16501. "type": "integer"
  16502. },
  16503. "deliverygoodsname": {
  16504. "description": "现货品种名称",
  16505. "type": "string"
  16506. },
  16507. "deliverystartdate": {
  16508. "description": "交割开始日",
  16509. "type": "string"
  16510. },
  16511. "enddate": {
  16512. "description": "点价结束日",
  16513. "type": "string"
  16514. },
  16515. "enumdicname": {
  16516. "description": "单位名称",
  16517. "type": "string"
  16518. },
  16519. "goodscode": {
  16520. "description": "点价商品代码",
  16521. "type": "string"
  16522. },
  16523. "goodsid": {
  16524. "description": "点价商品ID",
  16525. "type": "integer"
  16526. },
  16527. "goodsname": {
  16528. "description": "点价商品名称",
  16529. "type": "string"
  16530. },
  16531. "invoiceamount": {
  16532. "description": "已开票额",
  16533. "type": "number"
  16534. },
  16535. "loanamount": {
  16536. "description": "贷款总额=已定价额+调整金额",
  16537. "type": "number"
  16538. },
  16539. "margin": {
  16540. "description": "保证金",
  16541. "type": "number"
  16542. },
  16543. "meruserid": {
  16544. "description": "跟单员id",
  16545. "type": "integer"
  16546. },
  16547. "meruserlogincode": {
  16548. "description": "跟单员登录代码",
  16549. "type": "string"
  16550. },
  16551. "nickname": {
  16552. "description": "账户昵称",
  16553. "type": "string"
  16554. },
  16555. "payamount": {
  16556. "description": "已收付额(收款或付款)",
  16557. "type": "number"
  16558. },
  16559. "preinvoiceamount": {
  16560. "description": "预收(开)票额",
  16561. "type": "number"
  16562. },
  16563. "prepayamount": {
  16564. "description": "预收付额",
  16565. "type": "number"
  16566. },
  16567. "price": {
  16568. "description": "价格",
  16569. "type": "number"
  16570. },
  16571. "pricedamount": {
  16572. "description": "已定价额",
  16573. "type": "number"
  16574. },
  16575. "pricedavg": {
  16576. "description": "已点均价",
  16577. "type": "number"
  16578. },
  16579. "pricedqty": {
  16580. "description": "已定价量",
  16581. "type": "number"
  16582. },
  16583. "pricemove": {
  16584. "description": "升贴水",
  16585. "type": "number"
  16586. },
  16587. "pricetype": {
  16588. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16589. "type": "integer"
  16590. },
  16591. "producttype": {
  16592. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16593. "type": "integer"
  16594. },
  16595. "qty": {
  16596. "description": "合同量",
  16597. "type": "number"
  16598. },
  16599. "reckonadjustamount": {
  16600. "description": "调整金额",
  16601. "type": "number"
  16602. },
  16603. "reckonedamount": {
  16604. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16605. "type": "number"
  16606. },
  16607. "reckonotheramount": {
  16608. "description": "其它费用",
  16609. "type": "number"
  16610. },
  16611. "reckonrealqty": {
  16612. "description": "已确定量",
  16613. "type": "number"
  16614. },
  16615. "remark": {
  16616. "description": "备注",
  16617. "type": "string"
  16618. },
  16619. "saleuserid": {
  16620. "description": "业务员id",
  16621. "type": "integer"
  16622. },
  16623. "saleuserlogincode": {
  16624. "description": "业务员登录代码",
  16625. "type": "string"
  16626. },
  16627. "spotcontractid": {
  16628. "description": "合同ID",
  16629. "type": "string"
  16630. },
  16631. "spotgoodsbrandid": {
  16632. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16633. "type": "integer"
  16634. },
  16635. "spotgoodsdesc": {
  16636. "description": "商品型号(商品规格)",
  16637. "type": "string"
  16638. },
  16639. "startdate": {
  16640. "description": "点价开始日",
  16641. "type": "string"
  16642. },
  16643. "totalamount": {
  16644. "description": "合计总额",
  16645. "type": "number"
  16646. },
  16647. "tradeuserid": {
  16648. "description": "交易员id",
  16649. "type": "integer"
  16650. },
  16651. "tradeuserlogincode": {
  16652. "description": "交易员登录代码",
  16653. "type": "string"
  16654. },
  16655. "tradeusername": {
  16656. "description": "交易员名称",
  16657. "type": "string"
  16658. },
  16659. "unpayamount": {
  16660. "description": "应收付款额(应支付或应收款)",
  16661. "type": "number"
  16662. },
  16663. "unpricedqty": {
  16664. "description": "未定价量",
  16665. "type": "number"
  16666. },
  16667. "unsureqty": {
  16668. "description": "未确定量",
  16669. "type": "number"
  16670. },
  16671. "userid": {
  16672. "description": "机构ID",
  16673. "type": "integer"
  16674. },
  16675. "wrstandardcode": {
  16676. "description": "品类代码",
  16677. "type": "string"
  16678. },
  16679. "wrstandardid": {
  16680. "description": "品类ID",
  16681. "type": "integer"
  16682. },
  16683. "wrstandardname": {
  16684. "description": "品类名称",
  16685. "type": "string"
  16686. }
  16687. }
  16688. },
  16689. "models.Ermcp3SpotGoodsPrice": {
  16690. "type": "object",
  16691. "properties": {
  16692. "areauserid": {
  16693. "description": "所属机构id",
  16694. "type": "integer"
  16695. },
  16696. "brandname": {
  16697. "description": "品牌名称",
  16698. "type": "string"
  16699. },
  16700. "currencyid": {
  16701. "description": "报价货币ID",
  16702. "type": "integer"
  16703. },
  16704. "currencyname": {
  16705. "description": "币种名称",
  16706. "type": "string"
  16707. },
  16708. "deliverygoodscode": {
  16709. "description": "现货商品代码",
  16710. "type": "string"
  16711. },
  16712. "deliverygoodsid": {
  16713. "description": "现货商品id",
  16714. "type": "integer"
  16715. },
  16716. "deliverygoodsname": {
  16717. "description": "现货商品名称",
  16718. "type": "string"
  16719. },
  16720. "enumdicname": {
  16721. "description": "现货商品单位名称",
  16722. "type": "string"
  16723. },
  16724. "gbenumdicname": {
  16725. "description": "品类单位名称",
  16726. "type": "string"
  16727. },
  16728. "gmunitid": {
  16729. "description": "品类单位id",
  16730. "type": "integer"
  16731. },
  16732. "isvalid": {
  16733. "description": "是否有效 - 0:无效 1:有效",
  16734. "type": "integer"
  16735. },
  16736. "operateid": {
  16737. "description": "最后操作人",
  16738. "type": "integer"
  16739. },
  16740. "operatesrc": {
  16741. "description": "最后操作来源 - 1:管理端 2:终端",
  16742. "type": "integer"
  16743. },
  16744. "operatetime": {
  16745. "description": "最后操作时间",
  16746. "type": "string"
  16747. },
  16748. "operatorname": {
  16749. "description": "操作人名称",
  16750. "type": "string"
  16751. },
  16752. "spotgoodsbrandid": {
  16753. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16754. "type": "integer"
  16755. },
  16756. "spotgoodsprice": {
  16757. "description": "现货价格",
  16758. "type": "number"
  16759. },
  16760. "tradedate": {
  16761. "description": "交易日(yyyyMMdd)",
  16762. "type": "string"
  16763. },
  16764. "unitid": {
  16765. "description": "现货商品单位id",
  16766. "type": "integer"
  16767. },
  16768. "wrstandardcode": {
  16769. "description": "品类代码",
  16770. "type": "string"
  16771. },
  16772. "wrstandardid": {
  16773. "description": "现货品类ID(通用则为0)",
  16774. "type": "integer"
  16775. },
  16776. "wrstandardname": {
  16777. "description": "品类名称",
  16778. "type": "string"
  16779. }
  16780. }
  16781. },
  16782. "models.Ermcp3SpotGoodsPriceLog": {
  16783. "type": "object",
  16784. "properties": {
  16785. "areauserid": {
  16786. "description": "所属机构id",
  16787. "type": "integer"
  16788. },
  16789. "brandname": {
  16790. "description": "品牌名称",
  16791. "type": "string"
  16792. },
  16793. "currencyid": {
  16794. "description": "报价货币ID",
  16795. "type": "integer"
  16796. },
  16797. "deliverygoodscode": {
  16798. "description": "现货商品代码",
  16799. "type": "string"
  16800. },
  16801. "deliverygoodsid": {
  16802. "description": "现货商品id",
  16803. "type": "integer"
  16804. },
  16805. "deliverygoodsname": {
  16806. "description": "现货商品名称",
  16807. "type": "string"
  16808. },
  16809. "enumdicname": {
  16810. "description": "现货商品单位名称",
  16811. "type": "string"
  16812. },
  16813. "gbenumdicname": {
  16814. "description": "品类单位名称",
  16815. "type": "string"
  16816. },
  16817. "gmunitid": {
  16818. "description": "品类单位id",
  16819. "type": "integer"
  16820. },
  16821. "logid": {
  16822. "description": "日志id",
  16823. "type": "integer"
  16824. },
  16825. "operateid": {
  16826. "description": "最后操作人",
  16827. "type": "integer"
  16828. },
  16829. "operatesrc": {
  16830. "description": "最后操作来源 - 1:管理端 2:终端",
  16831. "type": "integer"
  16832. },
  16833. "operatetime": {
  16834. "description": "最后操作时间",
  16835. "type": "string"
  16836. },
  16837. "operatorname": {
  16838. "description": "操作人名称",
  16839. "type": "string"
  16840. },
  16841. "spotgoodsbrandid": {
  16842. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16843. "type": "integer"
  16844. },
  16845. "spotgoodsprice": {
  16846. "description": "现货价格",
  16847. "type": "number"
  16848. },
  16849. "tradedate": {
  16850. "description": "交易日(yyyyMMdd)",
  16851. "type": "string"
  16852. },
  16853. "unitid": {
  16854. "description": "现货商品单位id",
  16855. "type": "integer"
  16856. },
  16857. "wrstandardcode": {
  16858. "description": "品类代码",
  16859. "type": "string"
  16860. },
  16861. "wrstandardid": {
  16862. "description": "现货品类ID(通用则为0)",
  16863. "type": "integer"
  16864. },
  16865. "wrstandardname": {
  16866. "description": "品类名称",
  16867. "type": "string"
  16868. }
  16869. }
  16870. },
  16871. "models.Ermcp3TaFutuReDataReport": {
  16872. "type": "object",
  16873. "properties": {
  16874. "accountid": {
  16875. "description": "交易账户",
  16876. "type": "integer"
  16877. },
  16878. "accountname": {
  16879. "description": "交易账号名称",
  16880. "type": "string"
  16881. },
  16882. "begindate": {
  16883. "description": "开始交易日",
  16884. "type": "string"
  16885. },
  16886. "buyorsell": {
  16887. "description": "持仓方向",
  16888. "type": "integer"
  16889. },
  16890. "charge": {
  16891. "description": "手续费",
  16892. "type": "number"
  16893. },
  16894. "closeavgprice": {
  16895. "description": "平仓均价",
  16896. "type": "number"
  16897. },
  16898. "closepl": {
  16899. "description": "平仓损益",
  16900. "type": "number"
  16901. },
  16902. "currencyid": {
  16903. "description": "结算币种ID",
  16904. "type": "integer"
  16905. },
  16906. "cycletime": {
  16907. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16908. "type": "string"
  16909. },
  16910. "cycletype": {
  16911. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16912. "type": "integer"
  16913. },
  16914. "enddate": {
  16915. "description": "结束交易日",
  16916. "type": "string"
  16917. },
  16918. "enumdicname": {
  16919. "description": "单位名称(现货商品)",
  16920. "type": "string"
  16921. },
  16922. "floatpl": {
  16923. "description": "浮动损益",
  16924. "type": "number"
  16925. },
  16926. "goodscode": {
  16927. "description": "交易合约代码",
  16928. "type": "string"
  16929. },
  16930. "goodsgroupid": {
  16931. "description": "交易品种",
  16932. "type": "integer"
  16933. },
  16934. "goodsgroupname": {
  16935. "description": "交易品种名称",
  16936. "type": "string"
  16937. },
  16938. "goodsgroupspotqty": {
  16939. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  16940. "type": "number"
  16941. },
  16942. "goodsid": {
  16943. "description": "交易合约",
  16944. "type": "integer"
  16945. },
  16946. "goodsname": {
  16947. "description": "交易合约名称",
  16948. "type": "string"
  16949. },
  16950. "goodunitid": {
  16951. "description": "交易合约单位id",
  16952. "type": "integer"
  16953. },
  16954. "holdamount": {
  16955. "description": "期末持仓额",
  16956. "type": "number"
  16957. },
  16958. "holdqty": {
  16959. "description": "期末持仓量",
  16960. "type": "number"
  16961. },
  16962. "lastholdamount": {
  16963. "description": "当前持仓额",
  16964. "type": "number"
  16965. },
  16966. "lastprice": {
  16967. "description": "最新价",
  16968. "type": "number"
  16969. },
  16970. "middlegoodsqty": {
  16971. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  16972. "type": "number"
  16973. },
  16974. "openamount": {
  16975. "description": "期末开仓额",
  16976. "type": "number"
  16977. },
  16978. "openavgprice": {
  16979. "description": "开仓均价",
  16980. "type": "number"
  16981. },
  16982. "oriholdamount": {
  16983. "description": "期初持仓额",
  16984. "type": "number"
  16985. },
  16986. "oriholdqty": {
  16987. "description": "期初持仓量",
  16988. "type": "number"
  16989. },
  16990. "oriopenamount": {
  16991. "description": "期初开仓额",
  16992. "type": "number"
  16993. },
  16994. "outergroupcode": {
  16995. "description": "交易品种代码",
  16996. "type": "string"
  16997. },
  16998. "reckondate": {
  16999. "description": "日照时期(yyyyMMdd)",
  17000. "type": "string"
  17001. },
  17002. "reckonholdamount": {
  17003. "description": "结算持仓额",
  17004. "type": "number"
  17005. },
  17006. "reckonpl": {
  17007. "description": "结算损益",
  17008. "type": "number"
  17009. },
  17010. "reckonpl2": {
  17011. "description": "结算逐笔盈亏",
  17012. "type": "number"
  17013. },
  17014. "reckonprice": {
  17015. "description": "结算价",
  17016. "type": "number"
  17017. },
  17018. "relateduserid": {
  17019. "description": "账户关联用户ID",
  17020. "type": "integer"
  17021. },
  17022. "todaycloseamount": {
  17023. "description": "今平仓额",
  17024. "type": "number"
  17025. },
  17026. "todaycloseqty": {
  17027. "description": "今平仓量",
  17028. "type": "number"
  17029. },
  17030. "todaygoodsgroupspotqty": {
  17031. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  17032. "type": "number"
  17033. },
  17034. "todaymiddlegoodsqty": {
  17035. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  17036. "type": "number"
  17037. },
  17038. "todayopenamount": {
  17039. "description": "今开仓额",
  17040. "type": "number"
  17041. },
  17042. "todayopenqty": {
  17043. "description": "今开仓量",
  17044. "type": "number"
  17045. },
  17046. "userid": {
  17047. "description": "账户所属用户ID",
  17048. "type": "integer"
  17049. }
  17050. }
  17051. },
  17052. "models.Ermcp3Wrstandard": {
  17053. "type": "object",
  17054. "properties": {
  17055. "areauserid": {
  17056. "description": "所属机构",
  17057. "type": "integer"
  17058. },
  17059. "convertfactor": {
  17060. "description": "标仓系数",
  17061. "type": "number"
  17062. },
  17063. "createtime": {
  17064. "description": "创建时间",
  17065. "type": "string"
  17066. },
  17067. "creatorid": {
  17068. "description": "创建人",
  17069. "type": "integer"
  17070. },
  17071. "deliverygoodsid": {
  17072. "description": "现货品种ID",
  17073. "type": "integer"
  17074. },
  17075. "enumdicname": {
  17076. "description": "品类单位名称",
  17077. "type": "string"
  17078. },
  17079. "isvalid": {
  17080. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  17081. "type": "integer"
  17082. },
  17083. "minivalue": {
  17084. "description": "最小变动值",
  17085. "type": "integer"
  17086. },
  17087. "minivaluedp": {
  17088. "description": "最小变动值小数位",
  17089. "type": "integer"
  17090. },
  17091. "realminivalue": {
  17092. "description": "实际最小变动值",
  17093. "type": "integer"
  17094. },
  17095. "realminivaluedp": {
  17096. "description": "实际最小变动值小数位",
  17097. "type": "integer"
  17098. },
  17099. "remark": {
  17100. "description": "备注",
  17101. "type": "string"
  17102. },
  17103. "unitid": {
  17104. "description": "品类单位ID",
  17105. "type": "integer"
  17106. },
  17107. "updatetime": {
  17108. "description": "更新时间",
  17109. "type": "string"
  17110. },
  17111. "wrstandardcode": {
  17112. "description": "品类代码",
  17113. "type": "string"
  17114. },
  17115. "wrstandardid": {
  17116. "description": "品类ID(SEQ_WRSTANDARD)",
  17117. "type": "integer"
  17118. },
  17119. "wrstandardname": {
  17120. "description": "品类名称",
  17121. "type": "string"
  17122. }
  17123. }
  17124. },
  17125. "models.ErmcpAreaSpotDetailModel": {
  17126. "type": "object",
  17127. "properties": {
  17128. "contracttype": {
  17129. "description": "合同类型 1-采购 -1-销售",
  17130. "type": "integer"
  17131. },
  17132. "createtime": {
  17133. "description": "创建时间",
  17134. "type": "string"
  17135. },
  17136. "enumdicname": {
  17137. "description": "现货商品单位名称",
  17138. "type": "string"
  17139. },
  17140. "logtype": {
  17141. "description": "记录类型 1-套保 2-现货合同",
  17142. "type": "integer"
  17143. },
  17144. "qty": {
  17145. "description": "数量",
  17146. "type": "number"
  17147. },
  17148. "recordname": {
  17149. "description": "类型名称",
  17150. "type": "string"
  17151. },
  17152. "relatedid": {
  17153. "description": "套保计划ID/现货合同ID",
  17154. "type": "string"
  17155. },
  17156. "relatedno": {
  17157. "description": "编号",
  17158. "type": "string"
  17159. },
  17160. "strtime": {
  17161. "description": "时间",
  17162. "type": "string"
  17163. },
  17164. "wrstandardcode": {
  17165. "description": "现货商品代码",
  17166. "type": "string"
  17167. },
  17168. "wrstandardname": {
  17169. "description": "现货商品名称",
  17170. "type": "string"
  17171. }
  17172. }
  17173. },
  17174. "models.ErmcpAvalidGoodsGroupModel": {
  17175. "type": "object",
  17176. "properties": {
  17177. "goodsgroupid": {
  17178. "description": "期货品种id",
  17179. "type": "integer"
  17180. },
  17181. "goodsgroupname": {
  17182. "description": "期货品种名称",
  17183. "type": "string"
  17184. },
  17185. "goodunitid": {
  17186. "description": "品种单位id",
  17187. "type": "integer"
  17188. },
  17189. "goodunitname": {
  17190. "description": "品种单位名称",
  17191. "type": "string"
  17192. },
  17193. "outergroupcode": {
  17194. "description": "期货品种代码",
  17195. "type": "string"
  17196. }
  17197. }
  17198. },
  17199. "models.ErmcpBizGroupEx": {
  17200. "type": "object",
  17201. "properties": {
  17202. "acclist": {
  17203. "description": "账号列表",
  17204. "type": "array",
  17205. "items": {
  17206. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  17207. }
  17208. },
  17209. "bizgroupid": {
  17210. "description": "业务分组id",
  17211. "type": "integer"
  17212. },
  17213. "biztype": {
  17214. "description": "业务类型 1-套保 2-套利",
  17215. "type": "integer"
  17216. },
  17217. "wrlist": {
  17218. "description": "现货商品表",
  17219. "type": "array",
  17220. "items": {
  17221. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  17222. }
  17223. }
  17224. }
  17225. },
  17226. "models.ErmcpBizGroupSpotGoods": {
  17227. "type": "object",
  17228. "properties": {
  17229. "areauserid": {
  17230. "description": "所属机构id",
  17231. "type": "integer"
  17232. },
  17233. "bizgroupid": {
  17234. "description": "分组id",
  17235. "type": "integer"
  17236. },
  17237. "biztype": {
  17238. "description": "业务类型 1-套保 2-套利",
  17239. "type": "integer"
  17240. },
  17241. "deliverygoodscode": {
  17242. "description": "现货商品代码",
  17243. "type": "string"
  17244. },
  17245. "deliverygoodsid": {
  17246. "description": "现货商品id",
  17247. "type": "integer"
  17248. },
  17249. "deliverygoodsname": {
  17250. "description": "现货商品名称",
  17251. "type": "string"
  17252. },
  17253. "unitid": {
  17254. "description": "现货商品单位id",
  17255. "type": "integer"
  17256. }
  17257. }
  17258. },
  17259. "models.ErmcpBizGroupTaAccount": {
  17260. "type": "object",
  17261. "properties": {
  17262. "accountid": {
  17263. "description": "账号id",
  17264. "type": "integer"
  17265. },
  17266. "accountname": {
  17267. "description": "账号名称",
  17268. "type": "string"
  17269. },
  17270. "areauserid": {
  17271. "description": "所属机构id",
  17272. "type": "integer"
  17273. },
  17274. "bizgroupid": {
  17275. "description": "业务分组id",
  17276. "type": "integer"
  17277. },
  17278. "ismain": {
  17279. "description": "是否主账号 1-是 0-否",
  17280. "type": "integer"
  17281. }
  17282. }
  17283. },
  17284. "models.ErmcpDGFactoryItem": {
  17285. "type": "object",
  17286. "properties": {
  17287. "areauserid": {
  17288. "description": "用户id",
  17289. "type": "integer"
  17290. },
  17291. "deliverygoodsid": {
  17292. "description": "现货品种ID",
  17293. "type": "integer"
  17294. },
  17295. "dgfactoryitemid": {
  17296. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  17297. "type": "integer"
  17298. },
  17299. "dgfactoryitemtypeid": {
  17300. "description": "要素项类型",
  17301. "type": "integer"
  17302. },
  17303. "dgfactoryitemvalue": {
  17304. "description": "要素项值(类型为仓库时填写仓库名称)",
  17305. "type": "string"
  17306. },
  17307. "isvalid": {
  17308. "description": "是否有效 - 0:无效 1:有效",
  17309. "type": "integer"
  17310. },
  17311. "orderindex": {
  17312. "description": "顺序",
  17313. "type": "integer"
  17314. },
  17315. "warehouseid": {
  17316. "description": "仓库ID(类型为仓库时填写)",
  17317. "type": "integer"
  17318. }
  17319. }
  17320. },
  17321. "models.ErmcpDeliveryGoods": {
  17322. "type": "object",
  17323. "properties": {
  17324. "agreeunit": {
  17325. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  17326. "type": "integer"
  17327. },
  17328. "areauserid": {
  17329. "description": "所属机构",
  17330. "type": "integer"
  17331. },
  17332. "auditflag": {
  17333. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  17334. "type": "integer"
  17335. },
  17336. "categoryid": {
  17337. "description": "类别ID(SEQ_WRCATEGORY)",
  17338. "type": "integer"
  17339. },
  17340. "deliverygoodscode": {
  17341. "description": "现货品种代码",
  17342. "type": "string"
  17343. },
  17344. "deliverygoodsid": {
  17345. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  17346. "type": "integer"
  17347. },
  17348. "deliverygoodsname": {
  17349. "description": "现货品种名称",
  17350. "type": "string"
  17351. },
  17352. "deliverygoodstype": {
  17353. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  17354. "type": "integer"
  17355. },
  17356. "dgstatus": {
  17357. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  17358. "type": "integer"
  17359. },
  17360. "enumdicname": {
  17361. "description": "现货品种单位名称",
  17362. "type": "string"
  17363. },
  17364. "goodsunitid": {
  17365. "description": "现货品种单位ID",
  17366. "type": "integer"
  17367. },
  17368. "isvalid": {
  17369. "description": "是否有效 - 0:无效 1:有效",
  17370. "type": "integer"
  17371. },
  17372. "qtydecimalplace": {
  17373. "description": "成交量小数位",
  17374. "type": "integer"
  17375. },
  17376. "remark": {
  17377. "description": "备注",
  17378. "type": "string"
  17379. },
  17380. "standardqty": {
  17381. "description": "标准数量(库位数量) [标准品特有]",
  17382. "type": "integer"
  17383. },
  17384. "standardqtyrange": {
  17385. "description": "标准数量偏差范围 [标准品特有]",
  17386. "type": "integer"
  17387. }
  17388. }
  17389. },
  17390. "models.ErmcpDeliveryGoodsDetail2": {
  17391. "type": "object",
  17392. "properties": {
  17393. "convertratio": {
  17394. "description": "套保系数(折算系数)",
  17395. "type": "number"
  17396. },
  17397. "data": {
  17398. "description": "现货商品基本信息(交割品种)",
  17399. "type": "object",
  17400. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17401. },
  17402. "gblist": {
  17403. "description": "品牌列表",
  17404. "type": "array",
  17405. "items": {
  17406. "$ref": "#/definitions/models.Ermcp3Brand"
  17407. }
  17408. },
  17409. "gmlist": {
  17410. "description": "品类列表(仓单标准)",
  17411. "type": "array",
  17412. "items": {
  17413. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17414. }
  17415. }
  17416. }
  17417. },
  17418. "models.ErmcpDeliveryGoodsDetailEx": {
  17419. "type": "object",
  17420. "properties": {
  17421. "data": {
  17422. "description": "现货商品基本信息(交割品种)",
  17423. "type": "object",
  17424. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17425. },
  17426. "gblist": {
  17427. "description": "品牌列表",
  17428. "type": "array",
  17429. "items": {
  17430. "$ref": "#/definitions/models.Ermcp3Brand"
  17431. }
  17432. },
  17433. "gmlist": {
  17434. "description": "品类列表(仓单标准)",
  17435. "type": "array",
  17436. "items": {
  17437. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17438. }
  17439. },
  17440. "mgList": {
  17441. "description": "套保列表",
  17442. "type": "array",
  17443. "items": {
  17444. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  17445. }
  17446. }
  17447. }
  17448. },
  17449. "models.ErmcpExposureDetailModel": {
  17450. "type": "object",
  17451. "properties": {
  17452. "areauserid": {
  17453. "description": "机构ID",
  17454. "type": "integer"
  17455. },
  17456. "changeQty": {
  17457. "description": "套保变动量",
  17458. "type": "number"
  17459. },
  17460. "contracttype": {
  17461. "description": "现货合同类型 - 1:采购 -1:销售",
  17462. "type": "integer"
  17463. },
  17464. "convertfactor": {
  17465. "description": "标仓系数",
  17466. "type": "number"
  17467. },
  17468. "convertratio": {
  17469. "description": "套保系数",
  17470. "type": "number"
  17471. },
  17472. "createtime": {
  17473. "description": "时间",
  17474. "type": "string"
  17475. },
  17476. "enumdicname": {
  17477. "description": "现货商品单位名称",
  17478. "type": "string"
  17479. },
  17480. "logtype": {
  17481. "description": "类型 - 1:套保计划 2:现货合同",
  17482. "type": "integer"
  17483. },
  17484. "middlegoodsId": {
  17485. "description": "套保商品id",
  17486. "type": "integer"
  17487. },
  17488. "middlegoodscode": {
  17489. "description": "套保商品代码",
  17490. "type": "string"
  17491. },
  17492. "middlegoodsname": {
  17493. "description": "套保商品名称",
  17494. "type": "string"
  17495. },
  17496. "qty": {
  17497. "description": "数量",
  17498. "type": "number"
  17499. },
  17500. "relateNo": {
  17501. "description": "现货合同/套保计划编号",
  17502. "type": "string"
  17503. },
  17504. "wrstandardcode": {
  17505. "description": "现货商品代码",
  17506. "type": "string"
  17507. },
  17508. "wrstandardid": {
  17509. "description": "现货商品ID",
  17510. "type": "integer"
  17511. },
  17512. "wrstandardname": {
  17513. "description": "现货商品名称",
  17514. "type": "string"
  17515. }
  17516. }
  17517. },
  17518. "models.ErmcpExposurePostion": {
  17519. "type": "object",
  17520. "properties": {
  17521. "agreeunit": {
  17522. "description": "合约单位",
  17523. "type": "string"
  17524. },
  17525. "areauserid": {
  17526. "description": "所属机构id",
  17527. "type": "integer"
  17528. },
  17529. "convertratio": {
  17530. "description": "期货品种系数(折算系数)",
  17531. "type": "number"
  17532. },
  17533. "curqty": {
  17534. "description": "当前持仓",
  17535. "type": "integer"
  17536. },
  17537. "diffhedgeqty": {
  17538. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17539. "type": "number"
  17540. },
  17541. "diffqty": {
  17542. "description": "持仓变动量=当前持仓-昨日持仓",
  17543. "type": "integer"
  17544. },
  17545. "goodscode": {
  17546. "description": "商品代码",
  17547. "type": "string"
  17548. },
  17549. "goodsid": {
  17550. "description": "商品id",
  17551. "type": "integer"
  17552. },
  17553. "goodsname": {
  17554. "description": "商品名称",
  17555. "type": "string"
  17556. },
  17557. "middlegoodsid": {
  17558. "description": "套保商品id",
  17559. "type": "integer"
  17560. },
  17561. "ydqty": {
  17562. "description": "昨日持仓",
  17563. "type": "integer"
  17564. }
  17565. }
  17566. },
  17567. "models.ErmcpFuturesCompany": {
  17568. "type": "object",
  17569. "properties": {
  17570. "brokerid": {
  17571. "description": "经纪公司代码",
  17572. "type": "string"
  17573. },
  17574. "channeladdress": {
  17575. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  17576. "type": "string"
  17577. },
  17578. "channelid": {
  17579. "description": "对冲渠道ID",
  17580. "type": "string"
  17581. },
  17582. "createtime": {
  17583. "description": "创建时间",
  17584. "type": "string"
  17585. },
  17586. "creatorid": {
  17587. "description": "创建人",
  17588. "type": "string"
  17589. },
  17590. "fcid": {
  17591. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  17592. "type": "integer"
  17593. },
  17594. "fcname": {
  17595. "description": "期货公司名称",
  17596. "type": "string"
  17597. },
  17598. "isvalid": {
  17599. "description": "是否有效 - 0:无效 1:有效",
  17600. "type": "integer"
  17601. },
  17602. "mhpaddress": {
  17603. "description": "MHP服务地址(IP:Port)",
  17604. "type": "string"
  17605. },
  17606. "riskrulegroupid": {
  17607. "description": "风控规则组ID",
  17608. "type": "string"
  17609. },
  17610. "tradefeetmpid": {
  17611. "description": "手续费模板ID[TradeConfigTmpType为2]",
  17612. "type": "string"
  17613. },
  17614. "trademargintmpid": {
  17615. "description": "保证金模板ID [TradeConfigTmpType为1]",
  17616. "type": "string"
  17617. },
  17618. "traderatetmpid": {
  17619. "description": "汇率模板ID[TradeConfigTmpType为3]",
  17620. "type": "string"
  17621. },
  17622. "updatetime": {
  17623. "description": "更新时间",
  17624. "type": "string"
  17625. },
  17626. "updatorid": {
  17627. "description": "更新人",
  17628. "type": "string"
  17629. }
  17630. }
  17631. },
  17632. "models.ErmcpGGConvertCfg": {
  17633. "type": "object",
  17634. "properties": {
  17635. "convertratio": {
  17636. "description": "折算系数",
  17637. "type": "number"
  17638. },
  17639. "destgoodsgroupid": {
  17640. "description": "目标品种ID",
  17641. "type": "integer"
  17642. },
  17643. "dstcode": {
  17644. "description": "目录品种代码",
  17645. "type": "string"
  17646. },
  17647. "dstexchangecode": {
  17648. "description": "目标期货交易所",
  17649. "type": "string"
  17650. },
  17651. "dstname": {
  17652. "description": "目标品种名称",
  17653. "type": "string"
  17654. },
  17655. "dstunitid": {
  17656. "description": "目标品种单位ID",
  17657. "type": "integer"
  17658. },
  17659. "dstunitidname": {
  17660. "description": "目标品种单位名称",
  17661. "type": "string"
  17662. },
  17663. "modifytime": {
  17664. "description": "修改时间",
  17665. "type": "string"
  17666. },
  17667. "srccode": {
  17668. "description": "源品种代码",
  17669. "type": "string"
  17670. },
  17671. "srcexchangecode": {
  17672. "description": "源期货交易所",
  17673. "type": "string"
  17674. },
  17675. "srcgoodsgroupid": {
  17676. "description": "源品种ID",
  17677. "type": "integer"
  17678. },
  17679. "srcname": {
  17680. "description": "源品种名称",
  17681. "type": "string"
  17682. },
  17683. "srcunitid": {
  17684. "description": "源品种单位ID",
  17685. "type": "integer"
  17686. },
  17687. "srcunitidname": {
  17688. "description": "源品种单位名称",
  17689. "type": "string"
  17690. }
  17691. }
  17692. },
  17693. "models.ErmcpGoods": {
  17694. "type": "object",
  17695. "required": [
  17696. "goodscode",
  17697. "goodsid",
  17698. "goodsname",
  17699. "marketid"
  17700. ],
  17701. "properties": {
  17702. "agreeunit": {
  17703. "description": "合约单位",
  17704. "type": "number"
  17705. },
  17706. "areauserid": {
  17707. "description": "所属机构",
  17708. "type": "integer"
  17709. },
  17710. "auditaccountid": {
  17711. "description": "审核操作员账号",
  17712. "type": "integer"
  17713. },
  17714. "audittime": {
  17715. "description": "审核时间",
  17716. "type": "string"
  17717. },
  17718. "cancelaccountid": {
  17719. "description": "注销操作员账号",
  17720. "type": "integer"
  17721. },
  17722. "canceltime": {
  17723. "description": "注销时间",
  17724. "type": "string"
  17725. },
  17726. "closepricemode": {
  17727. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17728. "type": "integer"
  17729. },
  17730. "closepriceparam": {
  17731. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17732. "type": "number"
  17733. },
  17734. "createtime": {
  17735. "description": "创建时间",
  17736. "type": "string"
  17737. },
  17738. "creatorid": {
  17739. "description": "创建人",
  17740. "type": "integer"
  17741. },
  17742. "currencyid": {
  17743. "description": "报价货币ID",
  17744. "type": "integer"
  17745. },
  17746. "cutmode": {
  17747. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17748. "type": "integer"
  17749. },
  17750. "decimalplace": {
  17751. "description": "报价小数位",
  17752. "type": "integer"
  17753. },
  17754. "delistingdate": {
  17755. "description": "商品退市时间(状态:退市) -- 已作废",
  17756. "type": "string"
  17757. },
  17758. "delistingmode": {
  17759. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17760. "type": "integer"
  17761. },
  17762. "deliveryflag": {
  17763. "description": "交割标志 - 0:不可交割 1:可交割",
  17764. "type": "integer"
  17765. },
  17766. "enumdicname": {
  17767. "description": "单位名称",
  17768. "type": "string"
  17769. },
  17770. "forceclosemode": {
  17771. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17772. "type": "integer"
  17773. },
  17774. "forceclosevalue": {
  17775. "description": "定期强平参数 [收益权]",
  17776. "type": "integer"
  17777. },
  17778. "goodscode": {
  17779. "description": "商品代码(内部)",
  17780. "type": "string"
  17781. },
  17782. "goodscurrencyid": {
  17783. "description": "合约货币ID",
  17784. "type": "integer"
  17785. },
  17786. "goodsgroupid": {
  17787. "description": "所属商品组ID",
  17788. "type": "integer"
  17789. },
  17790. "goodsid": {
  17791. "description": "商品ID(自增ID SEQ_GOODS)",
  17792. "type": "integer"
  17793. },
  17794. "goodsname": {
  17795. "description": "商品名称",
  17796. "type": "string"
  17797. },
  17798. "goodsquotetype": {
  17799. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17800. "type": "integer"
  17801. },
  17802. "goodsstatus": {
  17803. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17804. "type": "integer"
  17805. },
  17806. "goodstradetype": {
  17807. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17808. "type": "integer"
  17809. },
  17810. "goodunitid": {
  17811. "description": "报价单位ID",
  17812. "type": "integer"
  17813. },
  17814. "hasquoter": {
  17815. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17816. "type": "integer"
  17817. },
  17818. "hqprotecttime": {
  17819. "description": "行情保护时间(秒)",
  17820. "type": "integer"
  17821. },
  17822. "innerdealmode": {
  17823. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17824. "type": "integer"
  17825. },
  17826. "isbuylimited": {
  17827. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17828. "type": "integer"
  17829. },
  17830. "isvisible": {
  17831. "description": "游客是否可见 - 0:不可见 1:可见",
  17832. "type": "integer"
  17833. },
  17834. "lasttradedate": {
  17835. "description": "最后交易日期(状态:待退市)",
  17836. "type": "string"
  17837. },
  17838. "listingdate": {
  17839. "description": "交易开始日期",
  17840. "type": "string"
  17841. },
  17842. "marketid": {
  17843. "description": "所属市场ID",
  17844. "type": "integer"
  17845. },
  17846. "modifierid": {
  17847. "description": "修改人",
  17848. "type": "integer"
  17849. },
  17850. "modifystatus": {
  17851. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17852. "type": "integer"
  17853. },
  17854. "modifytime": {
  17855. "description": "修改时间",
  17856. "type": "string"
  17857. },
  17858. "outerdealmode": {
  17859. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17860. "type": "integer"
  17861. },
  17862. "outgoodscode": {
  17863. "description": "商品代码(外部)",
  17864. "type": "string"
  17865. },
  17866. "pictureurl": {
  17867. "description": "商品图片",
  17868. "type": "string"
  17869. },
  17870. "qtydecimalplace": {
  17871. "description": "成交量小数位",
  17872. "type": "integer"
  17873. },
  17874. "quotegear": {
  17875. "description": "行情档位(1-10)",
  17876. "type": "integer"
  17877. },
  17878. "quoteminunit": {
  17879. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17880. "type": "integer"
  17881. },
  17882. "quoteshowtype": {
  17883. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17884. "type": "integer"
  17885. },
  17886. "quoteshowtypeinterval": {
  17887. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17888. "type": "integer"
  17889. },
  17890. "relatedgoodsid": {
  17891. "description": "关联参考商品ID",
  17892. "type": "integer"
  17893. },
  17894. "remark": {
  17895. "description": "备注",
  17896. "type": "string"
  17897. },
  17898. "trademode": {
  17899. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17900. "type": "integer"
  17901. }
  17902. }
  17903. },
  17904. "models.ErmcpGoodsBrand": {
  17905. "type": "object",
  17906. "properties": {
  17907. "areauserid": {
  17908. "description": "所属机构",
  17909. "type": "integer"
  17910. },
  17911. "brandid": {
  17912. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  17913. "type": "integer"
  17914. },
  17915. "brandname": {
  17916. "description": "品牌名称",
  17917. "type": "string"
  17918. },
  17919. "createtime": {
  17920. "description": "创建时间",
  17921. "type": "string"
  17922. },
  17923. "creatorid": {
  17924. "description": "创建人",
  17925. "type": "integer"
  17926. },
  17927. "creatorsrc": {
  17928. "description": "创建人来源 - 1:管理端 2:终端",
  17929. "type": "integer"
  17930. },
  17931. "deliverygoodsid": {
  17932. "description": "现货品种ID",
  17933. "type": "integer"
  17934. },
  17935. "isvalid": {
  17936. "description": "是否有效 - 0:无效 1:有效",
  17937. "type": "integer"
  17938. },
  17939. "updatetime": {
  17940. "description": "更新时间",
  17941. "type": "string"
  17942. },
  17943. "updatorid": {
  17944. "description": "更新人",
  17945. "type": "integer"
  17946. },
  17947. "updatorsrc": {
  17948. "description": "更新人来源 - 1:管理端 2:终端",
  17949. "type": "integer"
  17950. },
  17951. "wrstandardid": {
  17952. "description": "现货商品ID",
  17953. "type": "integer"
  17954. }
  17955. }
  17956. },
  17957. "models.ErmcpGoodsModel": {
  17958. "type": "object",
  17959. "properties": {
  17960. "areauserid": {
  17961. "description": "所属机构",
  17962. "type": "integer"
  17963. },
  17964. "convertfactor": {
  17965. "description": "标仓系数",
  17966. "type": "number"
  17967. },
  17968. "createtime": {
  17969. "description": "创建时间",
  17970. "type": "string"
  17971. },
  17972. "creatorid": {
  17973. "description": "创建人",
  17974. "type": "integer"
  17975. },
  17976. "creatorsrc": {
  17977. "description": "创建人来源 - 1:管理端 2:终端",
  17978. "type": "integer"
  17979. },
  17980. "deliverygoodsid": {
  17981. "description": "现货品种ID",
  17982. "type": "integer"
  17983. },
  17984. "isvalid": {
  17985. "description": "是否有效 - 0:无效 1:有效",
  17986. "type": "integer"
  17987. },
  17988. "modelid": {
  17989. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17990. "type": "integer"
  17991. },
  17992. "modelname": {
  17993. "description": "型号名称",
  17994. "type": "string"
  17995. },
  17996. "updatetime": {
  17997. "description": "更新时间",
  17998. "type": "string"
  17999. },
  18000. "updatorid": {
  18001. "description": "更新人",
  18002. "type": "integer"
  18003. },
  18004. "updatorsrc": {
  18005. "description": "更新人来源 - 1:管理端 2:终端",
  18006. "type": "integer"
  18007. },
  18008. "wrstandardid": {
  18009. "description": "现货商品ID",
  18010. "type": "integer"
  18011. }
  18012. }
  18013. },
  18014. "models.ErmcpHedgePosition": {
  18015. "type": "object",
  18016. "properties": {
  18017. "accountid": {
  18018. "description": "资金账号[外部母账户]",
  18019. "type": "integer"
  18020. },
  18021. "curbuyposition": {
  18022. "description": "期末买头寸",
  18023. "type": "integer"
  18024. },
  18025. "cursellposition": {
  18026. "description": "期末卖头寸",
  18027. "type": "integer"
  18028. },
  18029. "curtdbuyposition": {
  18030. "description": "期末今日买头寸",
  18031. "type": "integer"
  18032. },
  18033. "curtdsellposition": {
  18034. "description": "期末今日卖头寸",
  18035. "type": "integer"
  18036. },
  18037. "curydbuyposition": {
  18038. "description": "期末上日买头寸",
  18039. "type": "integer"
  18040. },
  18041. "curydsellposition": {
  18042. "description": "期末上日卖头寸",
  18043. "type": "integer"
  18044. },
  18045. "decreaseqty": {
  18046. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18047. "type": "integer"
  18048. },
  18049. "fretdbuyposition": {
  18050. "description": "冻结今日买头寸",
  18051. "type": "integer"
  18052. },
  18053. "fretdsellposition": {
  18054. "description": "冻结今日卖头寸",
  18055. "type": "integer"
  18056. },
  18057. "freydbuyposition": {
  18058. "description": "冻结上日买头寸",
  18059. "type": "integer"
  18060. },
  18061. "freydsellposition": {
  18062. "description": "冻结上日卖头寸",
  18063. "type": "integer"
  18064. },
  18065. "goodscode": {
  18066. "description": "商品代码",
  18067. "type": "string"
  18068. },
  18069. "goodsid": {
  18070. "description": "商品id",
  18071. "type": "integer"
  18072. },
  18073. "goodsname": {
  18074. "description": "商品名称",
  18075. "type": "string"
  18076. },
  18077. "hedgeaccountcode": {
  18078. "description": "对冲账号",
  18079. "type": "string"
  18080. },
  18081. "hedgegoodsid": {
  18082. "description": "对冲合约ID",
  18083. "type": "integer"
  18084. },
  18085. "increaseqty": {
  18086. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18087. "type": "integer"
  18088. },
  18089. "marketid": {
  18090. "description": "市场ID",
  18091. "type": "integer"
  18092. },
  18093. "relateduserid": {
  18094. "description": "关联用户id",
  18095. "type": "integer"
  18096. },
  18097. "totalcurqty": {
  18098. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18099. "type": "integer"
  18100. },
  18101. "totalydqty": {
  18102. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18103. "type": "integer"
  18104. },
  18105. "tradedate": {
  18106. "description": "交易日(yyyyMMdd)",
  18107. "type": "string"
  18108. },
  18109. "ydbuyposition": {
  18110. "description": "期初买头寸",
  18111. "type": "integer"
  18112. },
  18113. "ydsellposition": {
  18114. "description": "期初卖头寸",
  18115. "type": "integer"
  18116. }
  18117. }
  18118. },
  18119. "models.ErmcpHedgePositionDetail": {
  18120. "type": "object",
  18121. "properties": {
  18122. "buyorsell": {
  18123. "description": "买卖方向 0-买 1-卖",
  18124. "type": "integer"
  18125. },
  18126. "channelbuildtype": {
  18127. "description": "开平方向 1-建仓 2-平仓",
  18128. "type": "integer"
  18129. },
  18130. "goodscode": {
  18131. "description": "商品代码",
  18132. "type": "string"
  18133. },
  18134. "goodsname": {
  18135. "description": "商品名称",
  18136. "type": "string"
  18137. },
  18138. "hedgegoodsid": {
  18139. "description": "商品id",
  18140. "type": "integer"
  18141. },
  18142. "tradeqty": {
  18143. "description": "数量(成交数量)",
  18144. "type": "integer"
  18145. },
  18146. "tradetime": {
  18147. "description": "时间(成交时间)",
  18148. "type": "string"
  18149. }
  18150. }
  18151. },
  18152. "models.ErmcpHisExposure": {
  18153. "type": "object",
  18154. "properties": {
  18155. "needhedgeexposoure": {
  18156. "description": "应套保敞口",
  18157. "type": "number"
  18158. },
  18159. "reckondate": {
  18160. "description": "日照时期(yyyyMMdd)",
  18161. "type": "string"
  18162. },
  18163. "totalexposure": {
  18164. "description": "总敞口",
  18165. "type": "number"
  18166. }
  18167. }
  18168. },
  18169. "models.ErmcpHisExposureS": {
  18170. "type": "object",
  18171. "properties": {
  18172. "data": {
  18173. "description": "历史敞口",
  18174. "type": "array",
  18175. "items": {
  18176. "$ref": "#/definitions/models.ErmcpHisExposure"
  18177. }
  18178. },
  18179. "enumdicname": {
  18180. "description": "单位名称",
  18181. "type": "string"
  18182. },
  18183. "middlegoodscode": {
  18184. "description": "套保品种代码",
  18185. "type": "string"
  18186. },
  18187. "middlegoodsid": {
  18188. "description": "套保品种ID",
  18189. "type": "integer"
  18190. },
  18191. "middlegoodsname": {
  18192. "description": "套保品种名称",
  18193. "type": "string"
  18194. }
  18195. }
  18196. },
  18197. "models.ErmcpLoginTaAccount": {
  18198. "type": "object",
  18199. "properties": {
  18200. "accountid": {
  18201. "description": "账号id",
  18202. "type": "integer"
  18203. },
  18204. "accountname": {
  18205. "description": "账号名称",
  18206. "type": "string"
  18207. }
  18208. }
  18209. },
  18210. "models.ErmcpLoginUser": {
  18211. "type": "object",
  18212. "properties": {
  18213. "acclist": {
  18214. "description": "关联资金账号",
  18215. "type": "array",
  18216. "items": {
  18217. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  18218. }
  18219. },
  18220. "accountname": {
  18221. "description": "用户名称",
  18222. "type": "string"
  18223. },
  18224. "clientroleid": {
  18225. "description": "角色id(usertype=2)",
  18226. "type": "integer"
  18227. },
  18228. "createtime": {
  18229. "description": "创建时间",
  18230. "type": "string"
  18231. },
  18232. "logincode": {
  18233. "description": "登录代码",
  18234. "type": "string"
  18235. },
  18236. "loginid": {
  18237. "description": "登录id(LOGINID)",
  18238. "type": "integer"
  18239. },
  18240. "loginname": {
  18241. "description": "登录名称(loginaccount表中的accountname字段)",
  18242. "type": "string"
  18243. },
  18244. "loginstatus": {
  18245. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  18246. "type": "integer"
  18247. },
  18248. "memberuserid": {
  18249. "description": "所属会员id",
  18250. "type": "integer"
  18251. },
  18252. "mobile": {
  18253. "description": "手机号",
  18254. "type": "string"
  18255. },
  18256. "modifytime": {
  18257. "description": "修改时间",
  18258. "type": "string"
  18259. },
  18260. "password": {
  18261. "description": "密码(不可解密)",
  18262. "type": "string"
  18263. },
  18264. "rolename": {
  18265. "description": "角色名称",
  18266. "type": "string"
  18267. },
  18268. "rolestatus": {
  18269. "description": "角色状态 1-启用 2-停用",
  18270. "type": "integer"
  18271. },
  18272. "roletype": {
  18273. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  18274. "type": "string"
  18275. },
  18276. "userid": {
  18277. "description": "用户id",
  18278. "type": "integer"
  18279. },
  18280. "usertype": {
  18281. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18282. "type": "integer"
  18283. }
  18284. }
  18285. },
  18286. "models.ErmcpLoginUserEx": {
  18287. "type": "object",
  18288. "properties": {
  18289. "accountstatus": {
  18290. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18291. "type": "integer"
  18292. },
  18293. "mobile": {
  18294. "description": "手机号",
  18295. "type": "string"
  18296. },
  18297. "querytype": {
  18298. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  18299. "type": "integer"
  18300. },
  18301. "roleid": {
  18302. "description": "角色id(交易账户-\u003e用户id)",
  18303. "type": "integer"
  18304. },
  18305. "rolename": {
  18306. "description": "角色名称(交易账户-\u003e用户名称)",
  18307. "type": "string"
  18308. },
  18309. "userlist": {
  18310. "description": "用户列表",
  18311. "type": "array",
  18312. "items": {
  18313. "$ref": "#/definitions/models.ErmcpLoginUser"
  18314. }
  18315. },
  18316. "usertype": {
  18317. "description": "用户类型 2-机构 7-企业成员(云平台)",
  18318. "type": "integer"
  18319. }
  18320. }
  18321. },
  18322. "models.ErmcpMiddleGoodsChangeLog": {
  18323. "type": "object",
  18324. "properties": {
  18325. "aftervalue": {
  18326. "description": "变更后",
  18327. "type": "number"
  18328. },
  18329. "applyid": {
  18330. "description": "操作人",
  18331. "type": "integer"
  18332. },
  18333. "applyname": {
  18334. "description": "操作人名称",
  18335. "type": "string"
  18336. },
  18337. "applysrc": {
  18338. "description": "操作来源 - 1:管理端 2:终端",
  18339. "type": "integer"
  18340. },
  18341. "beforevalue": {
  18342. "description": "变更前",
  18343. "type": "number"
  18344. },
  18345. "changelogtype": {
  18346. "description": "变更流水类型 - 1:套保比率变更",
  18347. "type": "integer"
  18348. },
  18349. "handlestatus": {
  18350. "description": "处理状态",
  18351. "type": "integer"
  18352. },
  18353. "logdatetime": {
  18354. "description": "流水日期",
  18355. "type": "string"
  18356. },
  18357. "logid": {
  18358. "description": "流水ID",
  18359. "type": "integer"
  18360. },
  18361. "logremark": {
  18362. "description": "流水备注",
  18363. "type": "string"
  18364. },
  18365. "middlegoodsid": {
  18366. "description": "套保品种ID",
  18367. "type": "integer"
  18368. },
  18369. "tradedate": {
  18370. "description": "交易日(yyyyMMdd)",
  18371. "type": "string"
  18372. },
  18373. "updatetime": {
  18374. "description": "更新时间",
  18375. "type": "string"
  18376. }
  18377. }
  18378. },
  18379. "models.ErmcpMiddleGoodsDetail": {
  18380. "type": "object",
  18381. "properties": {
  18382. "cvList": {
  18383. "description": "期货品种折算列表",
  18384. "type": "array",
  18385. "items": {
  18386. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18387. }
  18388. },
  18389. "mg": {
  18390. "description": "套保品种基本信息",
  18391. "type": "object",
  18392. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18393. },
  18394. "wrcList": {
  18395. "description": "现货品种列表(现货商品折算配置)",
  18396. "type": "array",
  18397. "items": {
  18398. "$ref": "#/definitions/models.WRSConverTDetail"
  18399. }
  18400. }
  18401. }
  18402. },
  18403. "models.ErmcpMiddleGoodsModel": {
  18404. "type": "object",
  18405. "properties": {
  18406. "areauserid": {
  18407. "description": "机构用户ID",
  18408. "type": "integer"
  18409. },
  18410. "createtime": {
  18411. "description": "修改时间",
  18412. "type": "string"
  18413. },
  18414. "enumdicname": {
  18415. "description": "单位名称",
  18416. "type": "string"
  18417. },
  18418. "evaluateratio": {
  18419. "description": "估价系数",
  18420. "type": "number"
  18421. },
  18422. "goodsgroupid": {
  18423. "description": "关联期货品种ID",
  18424. "type": "integer"
  18425. },
  18426. "goodsunitid": {
  18427. "description": "单位ID",
  18428. "type": "integer"
  18429. },
  18430. "isvalid": {
  18431. "description": "状态 0-无效(停用) 1-有效(正常)",
  18432. "type": "integer"
  18433. },
  18434. "middlegoodscode": {
  18435. "description": "套保品种代码",
  18436. "type": "string"
  18437. },
  18438. "middlegoodsid": {
  18439. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18440. "type": "integer"
  18441. },
  18442. "middlegoodsname": {
  18443. "description": "套保品种名称",
  18444. "type": "string"
  18445. },
  18446. "modifytime": {
  18447. "description": "修改时间",
  18448. "type": "string"
  18449. },
  18450. "needarbitrageratio": {
  18451. "description": "套利比例",
  18452. "type": "number"
  18453. },
  18454. "needhedgeratio": {
  18455. "description": "套保比率",
  18456. "type": "number"
  18457. },
  18458. "qtydecimalplace": {
  18459. "description": "数量小数位",
  18460. "type": "integer"
  18461. },
  18462. "relatedgoodsid": {
  18463. "description": "关联交易商品ID",
  18464. "type": "integer"
  18465. },
  18466. "relatedgoodstype": {
  18467. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18468. "type": "integer"
  18469. },
  18470. "remark": {
  18471. "description": "备注",
  18472. "type": "string"
  18473. }
  18474. }
  18475. },
  18476. "models.ErmcpMiddlegoodsRelateGoods": {
  18477. "type": "object",
  18478. "properties": {
  18479. "agreeunit": {
  18480. "description": "合约乘数",
  18481. "type": "number"
  18482. },
  18483. "convertratio": {
  18484. "description": "折算系数",
  18485. "type": "number"
  18486. },
  18487. "enumdicname": {
  18488. "description": "单位名称(交易商品)",
  18489. "type": "string"
  18490. },
  18491. "goodscode": {
  18492. "description": "交易商品代码",
  18493. "type": "string"
  18494. },
  18495. "goodsgroupid": {
  18496. "description": "交易品种id",
  18497. "type": "integer"
  18498. },
  18499. "goodsid": {
  18500. "description": "商品Id",
  18501. "type": "integer"
  18502. },
  18503. "goodsname": {
  18504. "description": "交易商品名称",
  18505. "type": "string"
  18506. },
  18507. "goodunitid": {
  18508. "description": "交易商品单位id",
  18509. "type": "integer"
  18510. },
  18511. "middlegoodsid": {
  18512. "description": "套保商品id",
  18513. "type": "integer"
  18514. },
  18515. "middlegoodsname": {
  18516. "description": "套保商品名称",
  18517. "type": "string"
  18518. },
  18519. "middlegoodsswcode": {
  18520. "description": "套保商品代码",
  18521. "type": "string"
  18522. },
  18523. "needarbitrageratio": {
  18524. "description": "应套利比例",
  18525. "type": "number"
  18526. },
  18527. "needhedgeratio": {
  18528. "description": "应套保比例",
  18529. "type": "number"
  18530. }
  18531. }
  18532. },
  18533. "models.ErmcpOPLogModel": {
  18534. "type": "object",
  18535. "properties": {
  18536. "aftervalue": {
  18537. "description": "变更后",
  18538. "type": "number"
  18539. },
  18540. "applyid": {
  18541. "description": "操作人ID",
  18542. "type": "string"
  18543. },
  18544. "applyname": {
  18545. "description": "操作人名称",
  18546. "type": "string"
  18547. },
  18548. "beforevalue": {
  18549. "description": "变更前",
  18550. "type": "number"
  18551. },
  18552. "biztype": {
  18553. "description": "业务类型 - 1:套保计划 2:现货合同",
  18554. "type": "integer"
  18555. },
  18556. "contracttype": {
  18557. "description": "现货合同类型 - 1:采购 -1:销售",
  18558. "type": "integer"
  18559. },
  18560. "logvalue": {
  18561. "description": "数值",
  18562. "type": "number"
  18563. },
  18564. "operatelogtype": {
  18565. "description": "操作流水类型",
  18566. "type": "integer"
  18567. },
  18568. "operatelogtypedesc": {
  18569. "description": "操作流水类型名称",
  18570. "type": "string"
  18571. },
  18572. "relatedid": {
  18573. "description": "现货合同ID\\套保计划",
  18574. "type": "string"
  18575. },
  18576. "updatetime": {
  18577. "description": "更新时间",
  18578. "type": "string"
  18579. }
  18580. }
  18581. },
  18582. "models.ErmcpPendingAudit": {
  18583. "type": "object",
  18584. "properties": {
  18585. "areastockqty": {
  18586. "description": "待审核数量: 库存申请",
  18587. "type": "integer"
  18588. },
  18589. "businessdjqty": {
  18590. "description": "待审核数量: 点价",
  18591. "type": "integer"
  18592. },
  18593. "businessfpqty": {
  18594. "description": "待审核数量: 发票",
  18595. "type": "integer"
  18596. },
  18597. "businessjsqty": {
  18598. "description": "待审核数量: 结算",
  18599. "type": "integer"
  18600. },
  18601. "businesskxqty": {
  18602. "description": "待审核数量: 款项",
  18603. "type": "integer"
  18604. },
  18605. "hedgeplanqty": {
  18606. "description": "待审核数量: 套保计划",
  18607. "type": "integer"
  18608. },
  18609. "spotcontractqty": {
  18610. "description": "待审核数量: 现货合同",
  18611. "type": "integer"
  18612. },
  18613. "userqty": {
  18614. "description": "待审核数量: 用户",
  18615. "type": "integer"
  18616. }
  18617. }
  18618. },
  18619. "models.ErmcpRealExposureModel": {
  18620. "type": "object",
  18621. "properties": {
  18622. "AreaUserID": {
  18623. "description": "所属机构",
  18624. "type": "integer"
  18625. },
  18626. "BuyFutureQty": {
  18627. "description": "买入期货数量",
  18628. "type": "number"
  18629. },
  18630. "BuyPlanQty": {
  18631. "description": "采购计划数量",
  18632. "type": "number"
  18633. },
  18634. "BuyPricedQty": {
  18635. "description": "采购合同已定价数量",
  18636. "type": "number"
  18637. },
  18638. "MiddleGoodsCode": {
  18639. "description": "套保品种代码",
  18640. "type": "string"
  18641. },
  18642. "MiddleGoodsHedgeRatio": {
  18643. "description": "套保比例",
  18644. "type": "number"
  18645. },
  18646. "MiddleGoodsID": {
  18647. "description": "套保品种",
  18648. "type": "integer"
  18649. },
  18650. "MiddleGoodsName": {
  18651. "description": "套保品种名称",
  18652. "type": "string"
  18653. },
  18654. "NeedHedgeExposoure": {
  18655. "description": "应套保敞口(套保敞口)",
  18656. "type": "number"
  18657. },
  18658. "NeedHedgeRatio": {
  18659. "description": "应套保敞口比例",
  18660. "type": "number"
  18661. },
  18662. "OriBuyFutureQty": {
  18663. "description": "期初买入期货数量",
  18664. "type": "number"
  18665. },
  18666. "OriBuyPlanQty": {
  18667. "description": "期初采购计划数量",
  18668. "type": "number"
  18669. },
  18670. "OriBuyPricedQty": {
  18671. "description": "期初采购合同已定价数量",
  18672. "type": "number"
  18673. },
  18674. "OriSellFutureQty": {
  18675. "description": "期初卖出期货数量",
  18676. "type": "number"
  18677. },
  18678. "OriSellPlanQty": {
  18679. "description": "期初销售计划数量",
  18680. "type": "number"
  18681. },
  18682. "OriSellPricedQty": {
  18683. "description": "期初销售合同已定价数量",
  18684. "type": "number"
  18685. },
  18686. "SellFutureQty": {
  18687. "description": "卖出期货数量",
  18688. "type": "number"
  18689. },
  18690. "SellPlanQty": {
  18691. "description": "销售计划数量",
  18692. "type": "number"
  18693. },
  18694. "SellPricedQty": {
  18695. "description": "销售合同已定价数量",
  18696. "type": "number"
  18697. },
  18698. "TotalExposure": {
  18699. "description": "总敞口",
  18700. "type": "number"
  18701. },
  18702. "TotalFutureQty": {
  18703. "description": "期货总量",
  18704. "type": "number"
  18705. },
  18706. "TotalHedgeRatio": {
  18707. "description": "敞口比例",
  18708. "type": "number"
  18709. },
  18710. "TotalNeedHedgeQty": {
  18711. "description": "应套保总量(现货应套保总量)",
  18712. "type": "number"
  18713. },
  18714. "TotalSpotQty": {
  18715. "description": "现货总量",
  18716. "type": "number"
  18717. },
  18718. "arbitrageqty": {
  18719. "description": "套利量",
  18720. "type": "number"
  18721. },
  18722. "diffArbitrageQty": {
  18723. "description": "套利变动量",
  18724. "type": "number"
  18725. },
  18726. "diffExposoureQty": {
  18727. "description": "变动量(套保敞口)",
  18728. "type": "number"
  18729. },
  18730. "diffFutuQty": {
  18731. "description": "变动量(期货总量)",
  18732. "type": "number"
  18733. },
  18734. "diffHedgeQty": {
  18735. "description": "套保变动量",
  18736. "type": "number"
  18737. },
  18738. "diffQty": {
  18739. "description": "变动量(总敞口)",
  18740. "type": "number"
  18741. },
  18742. "diffSpotHedgeQty": {
  18743. "description": "变动量(现货应套保总量)",
  18744. "type": "number"
  18745. },
  18746. "diffSpotQty": {
  18747. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  18748. "type": "number"
  18749. },
  18750. "enumdicname": {
  18751. "description": "单位名称",
  18752. "type": "string"
  18753. },
  18754. "hedgeqty": {
  18755. "description": "套保量",
  18756. "type": "number"
  18757. },
  18758. "needarbitrageqty": {
  18759. "description": "应套利量",
  18760. "type": "number"
  18761. },
  18762. "needarbitrageratio": {
  18763. "description": "套利比例",
  18764. "type": "number"
  18765. },
  18766. "needhedgeqty": {
  18767. "description": "应套保量",
  18768. "type": "number"
  18769. },
  18770. "oriTotalFutuQty": {
  18771. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  18772. "type": "number"
  18773. },
  18774. "oriTotalSpotQty": {
  18775. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  18776. "type": "number"
  18777. },
  18778. "oriarbitrageqty": {
  18779. "description": "期初套利量",
  18780. "type": "number"
  18781. },
  18782. "orihedgeqty": {
  18783. "description": "期初套保量",
  18784. "type": "number"
  18785. },
  18786. "orineedhedgeexposoure": {
  18787. "description": "期初套保敞口",
  18788. "type": "number"
  18789. },
  18790. "oritotalexposure": {
  18791. "description": "期初总敞口",
  18792. "type": "number"
  18793. },
  18794. "oritotalfutureqty": {
  18795. "description": "期初期货总量",
  18796. "type": "number"
  18797. },
  18798. "oritotalneedhedgeqty": {
  18799. "description": "期初现货应套保量",
  18800. "type": "number"
  18801. }
  18802. }
  18803. },
  18804. "models.ErmcpRole": {
  18805. "type": "object",
  18806. "properties": {
  18807. "areauserid": {
  18808. "description": "所属机构",
  18809. "type": "integer"
  18810. },
  18811. "autoid": {
  18812. "description": "角色ID(自增ID)",
  18813. "type": "integer"
  18814. },
  18815. "modifierid": {
  18816. "description": "修改人(创建人)",
  18817. "type": "integer"
  18818. },
  18819. "modifiername": {
  18820. "description": "修改人名称",
  18821. "type": "string"
  18822. },
  18823. "modifytime": {
  18824. "description": "修改时间(创建时间)",
  18825. "type": "string"
  18826. },
  18827. "rolename": {
  18828. "description": "角色名称",
  18829. "type": "string"
  18830. },
  18831. "rolestatus": {
  18832. "description": "角色状态 - 1:启用 2:停用",
  18833. "type": "integer"
  18834. },
  18835. "roletype": {
  18836. "description": "角色类型 - 1- 管理端 2- 交易端",
  18837. "type": "integer"
  18838. }
  18839. }
  18840. },
  18841. "models.ErmcpRoleMenu": {
  18842. "type": "object",
  18843. "properties": {
  18844. "iconame": {
  18845. "description": "菜单图标",
  18846. "type": "string"
  18847. },
  18848. "ishadrole": {
  18849. "description": "是否有权限",
  18850. "type": "boolean"
  18851. },
  18852. "menutype": {
  18853. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18854. "type": "integer"
  18855. },
  18856. "parentcode": {
  18857. "description": "上级资源代码",
  18858. "type": "string"
  18859. },
  18860. "remark": {
  18861. "description": "菜单备注",
  18862. "type": "string"
  18863. },
  18864. "resourcecode": {
  18865. "description": "菜单代码",
  18866. "type": "string"
  18867. },
  18868. "resourcelevel": {
  18869. "description": "级别",
  18870. "type": "integer"
  18871. },
  18872. "resourcename": {
  18873. "description": "菜单名称",
  18874. "type": "string"
  18875. },
  18876. "roleid": {
  18877. "description": "角色id",
  18878. "type": "integer"
  18879. },
  18880. "sort": {
  18881. "description": "排序",
  18882. "type": "integer"
  18883. },
  18884. "url": {
  18885. "description": "URL",
  18886. "type": "string"
  18887. },
  18888. "userid": {
  18889. "description": "用户id",
  18890. "type": "integer"
  18891. }
  18892. }
  18893. },
  18894. "models.ErmcpRoleMenuEx": {
  18895. "type": "object",
  18896. "properties": {
  18897. "menu": {
  18898. "description": "父级菜单",
  18899. "type": "object",
  18900. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18901. },
  18902. "subMenu": {
  18903. "description": "子级菜单",
  18904. "type": "array",
  18905. "items": {
  18906. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  18907. }
  18908. }
  18909. }
  18910. },
  18911. "models.ErmcpTaAccount": {
  18912. "type": "object",
  18913. "properties": {
  18914. "accountid": {
  18915. "description": "账户id",
  18916. "type": "integer"
  18917. },
  18918. "accountname": {
  18919. "description": "账户名称",
  18920. "type": "string"
  18921. },
  18922. "currencyid": {
  18923. "description": "币种id",
  18924. "type": "integer"
  18925. },
  18926. "hedgeaccountcode": {
  18927. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18928. "type": "string"
  18929. },
  18930. "ismain": {
  18931. "description": "是否主账户 0-否 1-是",
  18932. "type": "integer"
  18933. },
  18934. "parentaccountid": {
  18935. "description": "父账户id",
  18936. "type": "integer"
  18937. },
  18938. "relateduserid": {
  18939. "description": "关联userid",
  18940. "type": "integer"
  18941. },
  18942. "tradefeetmpid": {
  18943. "description": "手续费模板id",
  18944. "type": "integer"
  18945. },
  18946. "tradefeetmpname": {
  18947. "description": "手续费模板名称",
  18948. "type": "string"
  18949. },
  18950. "trademargintmpid": {
  18951. "description": "保证金模板id",
  18952. "type": "integer"
  18953. },
  18954. "trademargintmpname": {
  18955. "description": "保证金模板名称",
  18956. "type": "string"
  18957. },
  18958. "traderatetmpid": {
  18959. "description": "汇率模板id",
  18960. "type": "integer"
  18961. },
  18962. "traderatetmpname": {
  18963. "description": "汇率模板名称",
  18964. "type": "string"
  18965. },
  18966. "tradestatus": {
  18967. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18968. "type": "integer"
  18969. },
  18970. "userid": {
  18971. "description": "用户id",
  18972. "type": "integer"
  18973. }
  18974. }
  18975. },
  18976. "models.ErmcpTaAccountEx": {
  18977. "type": "object",
  18978. "properties": {
  18979. "mainAcc": {
  18980. "description": "主账号",
  18981. "type": "object",
  18982. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18983. },
  18984. "subacclist": {
  18985. "description": "子账号列表",
  18986. "type": "array",
  18987. "items": {
  18988. "$ref": "#/definitions/models.ErmcpTaAccount"
  18989. }
  18990. }
  18991. }
  18992. },
  18993. "models.ErmcpTaAccountInfo": {
  18994. "type": "object",
  18995. "properties": {
  18996. "accountid": {
  18997. "description": "资金账户ID",
  18998. "type": "integer"
  18999. },
  19000. "accountname": {
  19001. "description": "账户名称",
  19002. "type": "string"
  19003. },
  19004. "balance": {
  19005. "description": "期初余额",
  19006. "type": "number"
  19007. },
  19008. "capitalbalance": {
  19009. "description": "本金余额[外部子账户实际出入金余额]",
  19010. "type": "number"
  19011. },
  19012. "closepl": {
  19013. "description": "今日平仓盈亏",
  19014. "type": "number"
  19015. },
  19016. "creditdecrease": {
  19017. "description": "今日授信减少",
  19018. "type": "number"
  19019. },
  19020. "creditincrease": {
  19021. "description": "今日授信增加",
  19022. "type": "number"
  19023. },
  19024. "curdebt": {
  19025. "description": "期末欠款",
  19026. "type": "number"
  19027. },
  19028. "currencyid": {
  19029. "description": "货币ID",
  19030. "type": "integer"
  19031. },
  19032. "currentbalance": {
  19033. "description": "期末余额",
  19034. "type": "number"
  19035. },
  19036. "freezecharge": {
  19037. "description": "手续费冻结",
  19038. "type": "number"
  19039. },
  19040. "freezemargin": {
  19041. "description": "冻结保证金",
  19042. "type": "number"
  19043. },
  19044. "fromaccountid": {
  19045. "description": "所属上级账户",
  19046. "type": "integer"
  19047. },
  19048. "inamount": {
  19049. "description": "今日入金金额(包括三方入金)",
  19050. "type": "number"
  19051. },
  19052. "ismain": {
  19053. "description": "是否母账号 0:不是母账户 1:是母账户",
  19054. "type": "integer"
  19055. },
  19056. "mortgagecredit": {
  19057. "description": "授信金额",
  19058. "type": "number"
  19059. },
  19060. "oridebt": {
  19061. "description": "期初欠款",
  19062. "type": "number"
  19063. },
  19064. "orifreezecharge": {
  19065. "description": "期初手续费冻结",
  19066. "type": "number"
  19067. },
  19068. "orifreezemargin": {
  19069. "description": "期初冻结保证金",
  19070. "type": "number"
  19071. },
  19072. "orimortgagecredit": {
  19073. "description": "期初授信金额",
  19074. "type": "number"
  19075. },
  19076. "oriothercredit": {
  19077. "description": "期初其它授信金额",
  19078. "type": "number"
  19079. },
  19080. "oriotherfreezemargin": {
  19081. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19082. "type": "number"
  19083. },
  19084. "orioutamountfreeze": {
  19085. "description": "期初出金冻结",
  19086. "type": "number"
  19087. },
  19088. "oriusedmargin": {
  19089. "description": "期初占用保证金",
  19090. "type": "number"
  19091. },
  19092. "othercredit": {
  19093. "description": "其它授信金额",
  19094. "type": "number"
  19095. },
  19096. "othercreditdecrease": {
  19097. "description": "今日其它授信减少",
  19098. "type": "number"
  19099. },
  19100. "othercreditincrease": {
  19101. "description": "今日其它授信增加",
  19102. "type": "number"
  19103. },
  19104. "otherfreezemargin": {
  19105. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19106. "type": "number"
  19107. },
  19108. "outamount": {
  19109. "description": "今日出金金额(包括三方出金)",
  19110. "type": "number"
  19111. },
  19112. "outamountfreeze": {
  19113. "description": "出金冻结",
  19114. "type": "number"
  19115. },
  19116. "outthreshold": {
  19117. "description": "出金阈值",
  19118. "type": "number"
  19119. },
  19120. "parentaccountid": {
  19121. "description": "所属根账号",
  19122. "type": "integer"
  19123. },
  19124. "paycharge": {
  19125. "description": "今日手续费支出",
  19126. "type": "number"
  19127. },
  19128. "relateduserid": {
  19129. "description": "关联用户",
  19130. "type": "integer"
  19131. },
  19132. "signstatus": {
  19133. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19134. "type": "integer"
  19135. },
  19136. "sublevelpath": {
  19137. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19138. "type": "string"
  19139. },
  19140. "taaccounttype": {
  19141. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19142. "type": "integer"
  19143. },
  19144. "thirdinamount": {
  19145. "description": "今日三方入金",
  19146. "type": "number"
  19147. },
  19148. "thirdoutamount": {
  19149. "description": "今日三方出金",
  19150. "type": "number"
  19151. },
  19152. "tradestatus": {
  19153. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19154. "type": "integer"
  19155. },
  19156. "transferamount": {
  19157. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19158. "type": "number"
  19159. },
  19160. "usedmargin": {
  19161. "description": "占用保证金",
  19162. "type": "number"
  19163. },
  19164. "userid": {
  19165. "description": "用户ID",
  19166. "type": "integer"
  19167. }
  19168. }
  19169. },
  19170. "models.ErmcpTaAccountM": {
  19171. "type": "object",
  19172. "properties": {
  19173. "accountid": {
  19174. "description": "账户id",
  19175. "type": "integer"
  19176. },
  19177. "accountname": {
  19178. "description": "账户名称",
  19179. "type": "string"
  19180. },
  19181. "currencyid": {
  19182. "description": "币种id",
  19183. "type": "integer"
  19184. },
  19185. "fcid": {
  19186. "description": "期货公司id",
  19187. "type": "integer"
  19188. },
  19189. "fcname": {
  19190. "description": "期货公司代码",
  19191. "type": "string"
  19192. },
  19193. "hedgeaccountcode": {
  19194. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19195. "type": "string"
  19196. },
  19197. "ismain": {
  19198. "description": "是否主账户 0-否 1-是",
  19199. "type": "integer"
  19200. },
  19201. "parentaccountid": {
  19202. "description": "父账户id",
  19203. "type": "integer"
  19204. },
  19205. "relateduserid": {
  19206. "description": "关联userid",
  19207. "type": "integer"
  19208. },
  19209. "tradefeetmpid": {
  19210. "description": "手续费模板id",
  19211. "type": "integer"
  19212. },
  19213. "tradefeetmpname": {
  19214. "description": "手续费模板名称",
  19215. "type": "string"
  19216. },
  19217. "trademargintmpid": {
  19218. "description": "保证金模板id",
  19219. "type": "integer"
  19220. },
  19221. "trademargintmpname": {
  19222. "description": "保证金模板名称",
  19223. "type": "string"
  19224. },
  19225. "traderatetmpid": {
  19226. "description": "汇率模板id",
  19227. "type": "integer"
  19228. },
  19229. "traderatetmpname": {
  19230. "description": "汇率模板名称",
  19231. "type": "string"
  19232. },
  19233. "tradestatus": {
  19234. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19235. "type": "integer"
  19236. },
  19237. "userid": {
  19238. "description": "用户id",
  19239. "type": "integer"
  19240. }
  19241. }
  19242. },
  19243. "models.ErmcpTradeConfigTMP": {
  19244. "type": "object",
  19245. "properties": {
  19246. "areauserid": {
  19247. "description": "所属机构",
  19248. "type": "integer"
  19249. },
  19250. "basiccurrencyid": {
  19251. "description": "基本币种ID[汇率] - 目标币种",
  19252. "type": "integer"
  19253. },
  19254. "mainaccountid": {
  19255. "description": "主账户ID",
  19256. "type": "integer"
  19257. },
  19258. "modifierid": {
  19259. "description": "修改人",
  19260. "type": "integer"
  19261. },
  19262. "remark": {
  19263. "description": "备注",
  19264. "type": "string"
  19265. },
  19266. "tradeconfigtmpid": {
  19267. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19268. "type": "integer"
  19269. },
  19270. "tradeconfigtmpname": {
  19271. "description": "交易配置模板名称",
  19272. "type": "string"
  19273. },
  19274. "tradeconfigtmptype": {
  19275. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19276. "type": "integer"
  19277. },
  19278. "updatetime": {
  19279. "description": "更新时间",
  19280. "type": "string"
  19281. }
  19282. }
  19283. },
  19284. "models.ErmcpUserModel": {
  19285. "type": "object",
  19286. "properties": {
  19287. "address": {
  19288. "description": "通讯地址",
  19289. "type": "string"
  19290. },
  19291. "attachment1": {
  19292. "description": "附件1",
  19293. "type": "string"
  19294. },
  19295. "audittime": {
  19296. "description": "审核时间",
  19297. "type": "string"
  19298. },
  19299. "cardbackphotourl": {
  19300. "description": "证件反面图片地址",
  19301. "type": "string"
  19302. },
  19303. "cardfrontphotourl": {
  19304. "description": "证件正面图片地址",
  19305. "type": "string"
  19306. },
  19307. "cardnum": {
  19308. "description": "证件号码",
  19309. "type": "string"
  19310. },
  19311. "cardtype": {
  19312. "description": "证件类型",
  19313. "type": "integer"
  19314. },
  19315. "cardtypename": {
  19316. "description": "证件类型名称",
  19317. "type": "string"
  19318. },
  19319. "cityid": {
  19320. "description": "市",
  19321. "type": "integer"
  19322. },
  19323. "contactname": {
  19324. "description": "联系人",
  19325. "type": "string"
  19326. },
  19327. "countryid": {
  19328. "description": "国家",
  19329. "type": "integer"
  19330. },
  19331. "createtime": {
  19332. "description": "创建时间",
  19333. "type": "string"
  19334. },
  19335. "customername": {
  19336. "description": "企业名称",
  19337. "type": "string"
  19338. },
  19339. "districtid": {
  19340. "description": "区域",
  19341. "type": "integer"
  19342. },
  19343. "email": {
  19344. "description": "邮件",
  19345. "type": "string"
  19346. },
  19347. "legalpersonname": {
  19348. "description": "法人姓名(企业)",
  19349. "type": "string"
  19350. },
  19351. "memberuserid": {
  19352. "description": "所属机构ID",
  19353. "type": "integer"
  19354. },
  19355. "mobile": {
  19356. "description": "手机号码",
  19357. "type": "string"
  19358. },
  19359. "modifytime": {
  19360. "description": "修改时间",
  19361. "type": "string"
  19362. },
  19363. "nickname": {
  19364. "description": "昵称",
  19365. "type": "string"
  19366. },
  19367. "provinceid": {
  19368. "description": "省",
  19369. "type": "integer"
  19370. },
  19371. "remark": {
  19372. "description": "备注",
  19373. "type": "string"
  19374. },
  19375. "status": {
  19376. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19377. "type": "integer"
  19378. },
  19379. "statusdesc": {
  19380. "description": "账户状态中文描述",
  19381. "type": "string"
  19382. },
  19383. "taxpayernum": {
  19384. "description": "纳税人识别号",
  19385. "type": "string"
  19386. },
  19387. "telphone": {
  19388. "description": "联系电话",
  19389. "type": "string"
  19390. },
  19391. "userid": {
  19392. "description": "用户ID",
  19393. "type": "integer"
  19394. },
  19395. "userinfotype": {
  19396. "description": "客户类型",
  19397. "type": "string"
  19398. }
  19399. }
  19400. },
  19401. "models.ErmcpWareHouseInfo": {
  19402. "type": "object",
  19403. "properties": {
  19404. "address": {
  19405. "description": "详细地址",
  19406. "type": "string"
  19407. },
  19408. "areauserid": {
  19409. "description": "所属机构",
  19410. "type": "integer"
  19411. },
  19412. "autoid": {
  19413. "description": "自增ID(仓库ID)",
  19414. "type": "integer"
  19415. },
  19416. "cityid": {
  19417. "description": "市",
  19418. "type": "integer"
  19419. },
  19420. "contactname": {
  19421. "description": "联系人",
  19422. "type": "string"
  19423. },
  19424. "contactnum": {
  19425. "description": "联系电话",
  19426. "type": "string"
  19427. },
  19428. "countryid": {
  19429. "description": "国家",
  19430. "type": "integer"
  19431. },
  19432. "createtime": {
  19433. "description": "创建时间",
  19434. "type": "string"
  19435. },
  19436. "districtid": {
  19437. "description": "区",
  19438. "type": "integer"
  19439. },
  19440. "hasvideo": {
  19441. "description": "是否有视频 - 0:无 1:有",
  19442. "type": "integer"
  19443. },
  19444. "provinceid": {
  19445. "description": "省",
  19446. "type": "integer"
  19447. },
  19448. "remark": {
  19449. "description": "审核备注",
  19450. "type": "string"
  19451. },
  19452. "videourl": {
  19453. "description": "视频地址",
  19454. "type": "string"
  19455. },
  19456. "warehousecode": {
  19457. "description": "仓库代码",
  19458. "type": "string"
  19459. },
  19460. "warehousename": {
  19461. "description": "仓库名称",
  19462. "type": "string"
  19463. },
  19464. "warehousestatus": {
  19465. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19466. "type": "integer"
  19467. },
  19468. "warehousetype": {
  19469. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19470. "type": "integer"
  19471. }
  19472. }
  19473. },
  19474. "models.Externalexchange": {
  19475. "type": "object",
  19476. "required": [
  19477. "autoid"
  19478. ],
  19479. "properties": {
  19480. "autoid": {
  19481. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19482. "type": "integer"
  19483. },
  19484. "exchangefullname": {
  19485. "description": "外部交易所全称",
  19486. "type": "string"
  19487. },
  19488. "exexchangecode": {
  19489. "description": "外部交易所代码",
  19490. "type": "string"
  19491. },
  19492. "exexchangename": {
  19493. "description": "外部交易所名称(简称)",
  19494. "type": "string"
  19495. },
  19496. "ismarketprice": {
  19497. "description": "是否支持市价 - 0:不支持 1:支持",
  19498. "type": "integer"
  19499. },
  19500. "quotegear": {
  19501. "description": "行情档位(1-10)",
  19502. "type": "integer"
  19503. },
  19504. "showbrokerflag": {
  19505. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19506. "type": "integer"
  19507. },
  19508. "updatetime": {
  19509. "description": "更新时间",
  19510. "type": "string"
  19511. }
  19512. }
  19513. },
  19514. "models.Funcmenulist": {
  19515. "type": "object",
  19516. "required": [
  19517. "resourcecode"
  19518. ],
  19519. "properties": {
  19520. "iconame": {
  19521. "description": "菜单图标",
  19522. "type": "string"
  19523. },
  19524. "menutype": {
  19525. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  19526. "type": "integer"
  19527. },
  19528. "parentcode": {
  19529. "description": "上级资源代码",
  19530. "type": "string"
  19531. },
  19532. "remark": {
  19533. "description": "备注",
  19534. "type": "string"
  19535. },
  19536. "resourcecode": {
  19537. "description": "资源代码",
  19538. "type": "string"
  19539. },
  19540. "resourcelevel": {
  19541. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  19542. "type": "integer"
  19543. },
  19544. "resourcename": {
  19545. "description": "资源名",
  19546. "type": "string"
  19547. },
  19548. "sort": {
  19549. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  19550. "type": "integer"
  19551. },
  19552. "url": {
  19553. "description": "URL",
  19554. "type": "string"
  19555. }
  19556. }
  19557. },
  19558. "models.Goods": {
  19559. "type": "object",
  19560. "required": [
  19561. "goodscode",
  19562. "goodsid",
  19563. "goodsname",
  19564. "marketid"
  19565. ],
  19566. "properties": {
  19567. "agreeunit": {
  19568. "description": "合约单位",
  19569. "type": "number"
  19570. },
  19571. "areauserid": {
  19572. "description": "所属机构",
  19573. "type": "integer"
  19574. },
  19575. "auditaccountid": {
  19576. "description": "审核操作员账号",
  19577. "type": "integer"
  19578. },
  19579. "audittime": {
  19580. "description": "审核时间",
  19581. "type": "string"
  19582. },
  19583. "cancelaccountid": {
  19584. "description": "注销操作员账号",
  19585. "type": "integer"
  19586. },
  19587. "canceltime": {
  19588. "description": "注销时间",
  19589. "type": "string"
  19590. },
  19591. "closepricemode": {
  19592. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19593. "type": "integer"
  19594. },
  19595. "closepriceparam": {
  19596. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19597. "type": "number"
  19598. },
  19599. "createtime": {
  19600. "description": "创建时间",
  19601. "type": "string"
  19602. },
  19603. "creatorid": {
  19604. "description": "创建人",
  19605. "type": "integer"
  19606. },
  19607. "currencyid": {
  19608. "description": "报价货币ID",
  19609. "type": "integer"
  19610. },
  19611. "cutmode": {
  19612. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19613. "type": "integer"
  19614. },
  19615. "decimalplace": {
  19616. "description": "报价小数位",
  19617. "type": "integer"
  19618. },
  19619. "delistingdate": {
  19620. "description": "商品退市时间(状态:退市) -- 已作废",
  19621. "type": "string"
  19622. },
  19623. "delistingmode": {
  19624. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19625. "type": "integer"
  19626. },
  19627. "deliveryflag": {
  19628. "description": "交割标志 - 0:不可交割 1:可交割",
  19629. "type": "integer"
  19630. },
  19631. "forceclosemode": {
  19632. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19633. "type": "integer"
  19634. },
  19635. "forceclosevalue": {
  19636. "description": "定期强平参数 [收益权]",
  19637. "type": "integer"
  19638. },
  19639. "goodscode": {
  19640. "description": "商品代码(内部)",
  19641. "type": "string"
  19642. },
  19643. "goodscurrencyid": {
  19644. "description": "合约货币ID",
  19645. "type": "integer"
  19646. },
  19647. "goodsgroupid": {
  19648. "description": "所属商品组ID",
  19649. "type": "integer"
  19650. },
  19651. "goodsid": {
  19652. "description": "商品ID(自增ID SEQ_GOODS)",
  19653. "type": "integer"
  19654. },
  19655. "goodsname": {
  19656. "description": "商品名称",
  19657. "type": "string"
  19658. },
  19659. "goodsquotetype": {
  19660. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19661. "type": "integer"
  19662. },
  19663. "goodsstatus": {
  19664. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19665. "type": "integer"
  19666. },
  19667. "goodstradetype": {
  19668. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19669. "type": "integer"
  19670. },
  19671. "goodunitid": {
  19672. "description": "报价单位ID",
  19673. "type": "integer"
  19674. },
  19675. "hasquoter": {
  19676. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19677. "type": "integer"
  19678. },
  19679. "hqprotecttime": {
  19680. "description": "行情保护时间(秒)",
  19681. "type": "integer"
  19682. },
  19683. "innerdealmode": {
  19684. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19685. "type": "integer"
  19686. },
  19687. "isbuylimited": {
  19688. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19689. "type": "integer"
  19690. },
  19691. "isvisible": {
  19692. "description": "游客是否可见 - 0:不可见 1:可见",
  19693. "type": "integer"
  19694. },
  19695. "lasttradedate": {
  19696. "description": "最后交易日期(状态:待退市)",
  19697. "type": "string"
  19698. },
  19699. "listingdate": {
  19700. "description": "交易开始日期",
  19701. "type": "string"
  19702. },
  19703. "marketid": {
  19704. "description": "所属市场ID",
  19705. "type": "integer"
  19706. },
  19707. "modifierid": {
  19708. "description": "修改人",
  19709. "type": "integer"
  19710. },
  19711. "modifystatus": {
  19712. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19713. "type": "integer"
  19714. },
  19715. "modifytime": {
  19716. "description": "修改时间",
  19717. "type": "string"
  19718. },
  19719. "outerdealmode": {
  19720. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19721. "type": "integer"
  19722. },
  19723. "outgoodscode": {
  19724. "description": "商品代码(外部)",
  19725. "type": "string"
  19726. },
  19727. "pictureurl": {
  19728. "description": "商品图片",
  19729. "type": "string"
  19730. },
  19731. "qtydecimalplace": {
  19732. "description": "成交量小数位",
  19733. "type": "integer"
  19734. },
  19735. "quotegear": {
  19736. "description": "行情档位(1-10)",
  19737. "type": "integer"
  19738. },
  19739. "quoteminunit": {
  19740. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19741. "type": "integer"
  19742. },
  19743. "quoteshowtype": {
  19744. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19745. "type": "integer"
  19746. },
  19747. "quoteshowtypeinterval": {
  19748. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19749. "type": "integer"
  19750. },
  19751. "remark": {
  19752. "description": "备注",
  19753. "type": "string"
  19754. }
  19755. }
  19756. },
  19757. "models.GoodsIDAndName": {
  19758. "type": "object",
  19759. "required": [
  19760. "goodscode",
  19761. "goodsid",
  19762. "goodsname",
  19763. "marketid"
  19764. ],
  19765. "properties": {
  19766. "goodscode": {
  19767. "description": "商品代码(内部)",
  19768. "type": "string"
  19769. },
  19770. "goodsid": {
  19771. "description": "商品ID(自增ID SEQ_GOODS)",
  19772. "type": "integer"
  19773. },
  19774. "goodsname": {
  19775. "description": "商品名称",
  19776. "type": "string"
  19777. },
  19778. "marketid": {
  19779. "description": "所属市场ID",
  19780. "type": "integer"
  19781. }
  19782. }
  19783. },
  19784. "models.Goodsgroup": {
  19785. "type": "object",
  19786. "required": [
  19787. "goodsgroupid",
  19788. "goodsgroupname",
  19789. "goodsgroupstatus",
  19790. "marketid"
  19791. ],
  19792. "properties": {
  19793. "agreeunit": {
  19794. "description": "合约单位",
  19795. "type": "number"
  19796. },
  19797. "canshort": {
  19798. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19799. "type": "integer"
  19800. },
  19801. "closepricemode": {
  19802. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19803. "type": "integer"
  19804. },
  19805. "closepriceparam": {
  19806. "description": "强平最新价浮动比例 - 方式为2时使用",
  19807. "type": "number"
  19808. },
  19809. "createtime": {
  19810. "description": "创建时间",
  19811. "type": "string"
  19812. },
  19813. "creatorid": {
  19814. "description": "创建人",
  19815. "type": "integer"
  19816. },
  19817. "currencyid": {
  19818. "description": "报价货币ID",
  19819. "type": "integer"
  19820. },
  19821. "decimalplace": {
  19822. "description": "报价小数位",
  19823. "type": "integer"
  19824. },
  19825. "exercisetype": {
  19826. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19827. "type": "integer"
  19828. },
  19829. "exexchangeid": {
  19830. "description": "外部交易所ID[通道交易]",
  19831. "type": "integer"
  19832. },
  19833. "goodsgroupid": {
  19834. "description": "商品组ID(自增ID)",
  19835. "type": "integer"
  19836. },
  19837. "goodsgroupname": {
  19838. "description": "商品组名称",
  19839. "type": "string"
  19840. },
  19841. "goodsgroupstatus": {
  19842. "description": "商品组状态 - 1:正常 2:注销",
  19843. "type": "integer"
  19844. },
  19845. "goodunitid": {
  19846. "description": "报价单位ID",
  19847. "type": "integer"
  19848. },
  19849. "innerdealmode": {
  19850. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19851. "type": "integer"
  19852. },
  19853. "isbuylimited": {
  19854. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19855. "type": "integer"
  19856. },
  19857. "marketid": {
  19858. "description": "所属市场ID",
  19859. "type": "integer"
  19860. },
  19861. "modifierid": {
  19862. "description": "修改人",
  19863. "type": "integer"
  19864. },
  19865. "modifytime": {
  19866. "description": "修改时间",
  19867. "type": "string"
  19868. },
  19869. "outerdealmode": {
  19870. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19871. "type": "integer"
  19872. },
  19873. "outergroupcode": {
  19874. "description": "外部商品组代码[通道交易]",
  19875. "type": "string"
  19876. },
  19877. "premiumdecimalplace": {
  19878. "description": "权利金小数位[场外期权]",
  19879. "type": "integer"
  19880. },
  19881. "premiumspreadalgorithm": {
  19882. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19883. "type": "integer"
  19884. },
  19885. "premiumspreadvalue": {
  19886. "description": "权利金点差值[场外期权]",
  19887. "type": "number"
  19888. },
  19889. "qtydecimalplace": {
  19890. "description": "成交量小数位",
  19891. "type": "integer"
  19892. },
  19893. "quotegear": {
  19894. "description": "行情档位(1-10)",
  19895. "type": "integer"
  19896. },
  19897. "quoteminunit": {
  19898. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19899. "type": "integer"
  19900. },
  19901. "quoterid": {
  19902. "description": "报价商ID[场外期权]",
  19903. "type": "integer"
  19904. },
  19905. "quotesourcegroupid": {
  19906. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19907. "type": "integer"
  19908. },
  19909. "syncgoodsqty": {
  19910. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19911. "type": "integer"
  19912. }
  19913. }
  19914. },
  19915. "models.Goodssortbypreposition": {
  19916. "type": "object",
  19917. "required": [
  19918. "goodscode",
  19919. "tradedate"
  19920. ],
  19921. "properties": {
  19922. "goodscode": {
  19923. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19924. "type": "string"
  19925. },
  19926. "goodsgroupcode": {
  19927. "description": "品种代码",
  19928. "type": "string"
  19929. },
  19930. "prepositionqty": {
  19931. "description": "昨持仓量",
  19932. "type": "integer"
  19933. },
  19934. "sortindex": {
  19935. "description": "排序",
  19936. "type": "integer"
  19937. },
  19938. "tradedate": {
  19939. "description": "交易日",
  19940. "type": "string"
  19941. },
  19942. "updatetime": {
  19943. "description": "更新时间",
  19944. "type": "string"
  19945. }
  19946. }
  19947. },
  19948. "models.Hedgeinnerholderdetail": {
  19949. "type": "object",
  19950. "required": [
  19951. "buyorsell",
  19952. "tradeid"
  19953. ],
  19954. "properties": {
  19955. "accountid": {
  19956. "description": "账号ID",
  19957. "type": "integer"
  19958. },
  19959. "buyorsell": {
  19960. "description": "方向 - 0:买 1:卖",
  19961. "type": "integer"
  19962. },
  19963. "freezeqty": {
  19964. "description": "冻结数量 - 按单平使用",
  19965. "type": "integer"
  19966. },
  19967. "goodsid": {
  19968. "description": "商品ID",
  19969. "type": "integer"
  19970. },
  19971. "holderamount": {
  19972. "description": "持仓金额 [商品币种]",
  19973. "type": "number"
  19974. },
  19975. "holderdays": {
  19976. "description": "剩余冻结天数",
  19977. "type": "integer"
  19978. },
  19979. "holderprice": {
  19980. "description": "持仓价格",
  19981. "type": "number"
  19982. },
  19983. "holderqty": {
  19984. "description": "持仓数量",
  19985. "type": "integer"
  19986. },
  19987. "marketid": {
  19988. "description": "市场ID",
  19989. "type": "integer"
  19990. },
  19991. "openprice": {
  19992. "description": "建仓价格",
  19993. "type": "number"
  19994. },
  19995. "openqty": {
  19996. "description": "建仓数量",
  19997. "type": "integer"
  19998. },
  19999. "parentaccountid": {
  20000. "description": "所属母账户",
  20001. "type": "integer"
  20002. },
  20003. "releaseamount": {
  20004. "description": "释放持仓金额[商品币种]",
  20005. "type": "number"
  20006. },
  20007. "tradeamount": {
  20008. "description": "成交金额[账户]",
  20009. "type": "number"
  20010. },
  20011. "tradedate": {
  20012. "description": "交易日(yyyyMMdd)",
  20013. "type": "string"
  20014. },
  20015. "tradeid": {
  20016. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20017. "type": "string"
  20018. },
  20019. "tradetime": {
  20020. "description": "交易时间",
  20021. "type": "string"
  20022. }
  20023. }
  20024. },
  20025. "models.Hedgemarketopenlog": {
  20026. "type": "object",
  20027. "required": [
  20028. "accountid"
  20029. ],
  20030. "properties": {
  20031. "accountid": {
  20032. "description": "资金账号[外部母账户]",
  20033. "type": "integer"
  20034. },
  20035. "fcname": {
  20036. "description": "期货公司名称",
  20037. "type": "string"
  20038. },
  20039. "handlestatus": {
  20040. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  20041. "type": "integer"
  20042. },
  20043. "marketid": {
  20044. "description": "市场ID",
  20045. "type": "integer"
  20046. },
  20047. "status": {
  20048. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  20049. "type": "integer"
  20050. },
  20051. "tradedate": {
  20052. "description": "交易日(yyyyMMdd)",
  20053. "type": "string"
  20054. },
  20055. "updatetime": {
  20056. "description": "更新时间",
  20057. "type": "string"
  20058. }
  20059. }
  20060. },
  20061. "models.HsbyBuyMyPayOrder": {
  20062. "type": "object",
  20063. "required": [
  20064. "goodscode",
  20065. "goodsname",
  20066. "tradeid",
  20067. "trademode"
  20068. ],
  20069. "properties": {
  20070. "agreeunit": {
  20071. "description": "合约单位",
  20072. "type": "number"
  20073. },
  20074. "buyaccountid": {
  20075. "description": "买方账号ID[报价币种]",
  20076. "type": "integer"
  20077. },
  20078. "buyorderid": {
  20079. "description": "买方委托单号",
  20080. "type": "string"
  20081. },
  20082. "createtime": {
  20083. "description": "创建时间",
  20084. "type": "string"
  20085. },
  20086. "currencysign": {
  20087. "description": "货币符号",
  20088. "type": "string"
  20089. },
  20090. "decimalplace": {
  20091. "description": "报价小数位",
  20092. "type": "integer"
  20093. },
  20094. "goodscode": {
  20095. "description": "商品代码(内部)",
  20096. "type": "string"
  20097. },
  20098. "goodsid": {
  20099. "description": "商品ID",
  20100. "type": "integer"
  20101. },
  20102. "goodsname": {
  20103. "description": "商品名称",
  20104. "type": "string"
  20105. },
  20106. "marketid": {
  20107. "description": "市场ID",
  20108. "type": "integer"
  20109. },
  20110. "offamount": {
  20111. "description": "优惠金额",
  20112. "type": "number"
  20113. },
  20114. "originalamount": {
  20115. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20116. "type": "number"
  20117. },
  20118. "payamount": {
  20119. "description": "支付金额 = TradeAmount + TradeCharge",
  20120. "type": "number"
  20121. },
  20122. "payflag": {
  20123. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20124. "type": "integer"
  20125. },
  20126. "paylimitedtime": {
  20127. "description": "支付期限",
  20128. "type": "string"
  20129. },
  20130. "paytime": {
  20131. "description": "付款时间",
  20132. "type": "string"
  20133. },
  20134. "picurls1": {
  20135. "description": "预售商品介绍图片[多张用逗号分隔]",
  20136. "type": "string"
  20137. },
  20138. "picurls2": {
  20139. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20140. "type": "string"
  20141. },
  20142. "sellaccountid": {
  20143. "description": "卖方账号ID[报价币种]",
  20144. "type": "integer"
  20145. },
  20146. "sellorderid": {
  20147. "description": "卖方委托单号",
  20148. "type": "string"
  20149. },
  20150. "tradeamount": {
  20151. "description": "成交金额",
  20152. "type": "number"
  20153. },
  20154. "tradecharge": {
  20155. "description": "成交手续费(买方)",
  20156. "type": "number"
  20157. },
  20158. "tradedate": {
  20159. "description": "交易日(yyyyMMdd)",
  20160. "type": "string"
  20161. },
  20162. "tradeid": {
  20163. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20164. "type": "string"
  20165. },
  20166. "trademode": {
  20167. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20168. "type": "integer"
  20169. },
  20170. "tradeprice": {
  20171. "description": "成交价格",
  20172. "type": "number"
  20173. },
  20174. "tradeqty": {
  20175. "description": "成交数量",
  20176. "type": "integer"
  20177. },
  20178. "vendorname1": {
  20179. "description": "预售商品供应商名称",
  20180. "type": "string"
  20181. },
  20182. "vendorname2": {
  20183. "description": "挂牌商品供应商名称",
  20184. "type": "string"
  20185. }
  20186. }
  20187. },
  20188. "models.HsbyBuyMyTradeDetail": {
  20189. "type": "object",
  20190. "required": [
  20191. "accountid",
  20192. "buyorsell",
  20193. "goodscode",
  20194. "goodsid",
  20195. "goodsname",
  20196. "marketid",
  20197. "orderid",
  20198. "qty",
  20199. "time",
  20200. "trademode"
  20201. ],
  20202. "properties": {
  20203. "accountid": {
  20204. "description": "账户ID[报价币种]",
  20205. "type": "integer"
  20206. },
  20207. "agreeunit": {
  20208. "description": "合约单位",
  20209. "type": "number"
  20210. },
  20211. "amount": {
  20212. "description": "金额 = 价格 * 数量 * 合约单位",
  20213. "type": "number"
  20214. },
  20215. "buyorsell": {
  20216. "description": "买卖 - 0:买 1:卖",
  20217. "type": "integer"
  20218. },
  20219. "currencysign": {
  20220. "description": "货币符号",
  20221. "type": "string"
  20222. },
  20223. "decimalplace": {
  20224. "description": "报价小数位",
  20225. "type": "integer"
  20226. },
  20227. "goodscode": {
  20228. "description": "商品代码(内部)",
  20229. "type": "string"
  20230. },
  20231. "goodsid": {
  20232. "description": "商品ID",
  20233. "type": "integer"
  20234. },
  20235. "goodsname": {
  20236. "description": "商品名称",
  20237. "type": "string"
  20238. },
  20239. "marketid": {
  20240. "description": "市场ID",
  20241. "type": "integer"
  20242. },
  20243. "orderamount": {
  20244. "description": "委托金额",
  20245. "type": "number"
  20246. },
  20247. "orderid": {
  20248. "description": "单号(成交单号)",
  20249. "type": "string"
  20250. },
  20251. "picurls1": {
  20252. "description": "预售商品介绍图片[多张用逗号分隔]",
  20253. "type": "string"
  20254. },
  20255. "picurls2": {
  20256. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20257. "type": "string"
  20258. },
  20259. "price": {
  20260. "description": "价格",
  20261. "type": "number"
  20262. },
  20263. "qty": {
  20264. "description": "数量",
  20265. "type": "integer"
  20266. },
  20267. "time": {
  20268. "description": "时间",
  20269. "type": "string"
  20270. },
  20271. "trademode": {
  20272. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20273. "type": "integer"
  20274. },
  20275. "vendorname1": {
  20276. "description": "预售商品供应商名称",
  20277. "type": "string"
  20278. },
  20279. "vendorname2": {
  20280. "description": "挂牌商品供应商名称",
  20281. "type": "string"
  20282. }
  20283. }
  20284. },
  20285. "models.HsbyGoodsOrderDetail": {
  20286. "type": "object",
  20287. "required": [
  20288. "buyorsell",
  20289. "orderid",
  20290. "ordertime"
  20291. ],
  20292. "properties": {
  20293. "buyorsell": {
  20294. "description": "买卖 - 0:买 1:卖",
  20295. "type": "integer"
  20296. },
  20297. "currencysign": {
  20298. "description": "货币符号",
  20299. "type": "string"
  20300. },
  20301. "customername": {
  20302. "description": "客户名称(企业名称),已脱敏",
  20303. "type": "string"
  20304. },
  20305. "enableqty": {
  20306. "description": "可用数量",
  20307. "type": "integer"
  20308. },
  20309. "goodunit": {
  20310. "description": "报价单位",
  20311. "type": "string"
  20312. },
  20313. "orderid": {
  20314. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20315. "type": "string"
  20316. },
  20317. "orderprice": {
  20318. "description": "委托价格",
  20319. "type": "number"
  20320. },
  20321. "ordertime": {
  20322. "description": "委托时间",
  20323. "type": "string"
  20324. }
  20325. }
  20326. },
  20327. "models.HsbyListingGoodsDetail": {
  20328. "type": "object",
  20329. "required": [
  20330. "goodscode",
  20331. "goodsid",
  20332. "goodsname",
  20333. "marketid",
  20334. "trademode"
  20335. ],
  20336. "properties": {
  20337. "agreeunit": {
  20338. "description": "合约单位",
  20339. "type": "number"
  20340. },
  20341. "buymaxqty": {
  20342. "description": "购买上限 [71] - 0为不限",
  20343. "type": "integer"
  20344. },
  20345. "currency": {
  20346. "description": "货币",
  20347. "type": "string"
  20348. },
  20349. "currencysign": {
  20350. "description": "货币符号",
  20351. "type": "string"
  20352. },
  20353. "decimalplace": {
  20354. "description": "报价小数位",
  20355. "type": "integer"
  20356. },
  20357. "desccityid": {
  20358. "description": "目的地(市)ID",
  20359. "type": "integer"
  20360. },
  20361. "descprovinceid": {
  20362. "description": "目的地(省)ID",
  20363. "type": "integer"
  20364. },
  20365. "goodscode": {
  20366. "description": "商品代码(内部)",
  20367. "type": "string"
  20368. },
  20369. "goodsdesc": {
  20370. "description": "商品详情",
  20371. "type": "string"
  20372. },
  20373. "goodsid": {
  20374. "description": "商品ID(自增ID SEQ_GOODS)",
  20375. "type": "integer"
  20376. },
  20377. "goodsname": {
  20378. "description": "商品名称",
  20379. "type": "string"
  20380. },
  20381. "goodsprice": {
  20382. "description": "商品价格",
  20383. "type": "number"
  20384. },
  20385. "hotindex": {
  20386. "description": "景点热度",
  20387. "type": "integer"
  20388. },
  20389. "last": {
  20390. "description": "现价",
  20391. "type": "number"
  20392. },
  20393. "limitdown": {
  20394. "description": "跌停价",
  20395. "type": "number"
  20396. },
  20397. "limitup": {
  20398. "description": "涨停价",
  20399. "type": "number"
  20400. },
  20401. "lotsize": {
  20402. "description": "手数最小变动单位",
  20403. "type": "integer"
  20404. },
  20405. "marketid": {
  20406. "description": "所属市场ID",
  20407. "type": "integer"
  20408. },
  20409. "picurls": {
  20410. "description": "介绍图片[多张用逗号分隔]",
  20411. "type": "string"
  20412. },
  20413. "quoteminunit": {
  20414. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20415. "type": "integer"
  20416. },
  20417. "stepvalue": {
  20418. "description": "价格最小变动单位",
  20419. "type": "number"
  20420. },
  20421. "trademode": {
  20422. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20423. "type": "integer"
  20424. },
  20425. "vendorattr": {
  20426. "description": "供应商附件(多张,逗号分隔)",
  20427. "type": "string"
  20428. },
  20429. "vendorname": {
  20430. "description": "供应商名称",
  20431. "type": "string"
  20432. },
  20433. "vendorphone": {
  20434. "description": "供应商客服电话",
  20435. "type": "string"
  20436. },
  20437. "videourls": {
  20438. "description": "介绍视频[多张用逗号分隔]",
  20439. "type": "string"
  20440. }
  20441. }
  20442. },
  20443. "models.HsbyMarketGoods": {
  20444. "type": "object",
  20445. "required": [
  20446. "accountid",
  20447. "buyorsell",
  20448. "goodscode",
  20449. "goodsid",
  20450. "goodsname",
  20451. "marketid",
  20452. "orderid",
  20453. "trademode"
  20454. ],
  20455. "properties": {
  20456. "accountid": {
  20457. "description": "账户ID[报价币种]",
  20458. "type": "integer"
  20459. },
  20460. "agreeunit": {
  20461. "description": "合约单位",
  20462. "type": "number"
  20463. },
  20464. "buyorsell": {
  20465. "description": "买卖 - 0:买 1:卖",
  20466. "type": "integer"
  20467. },
  20468. "categoryid": {
  20469. "description": "类别ID(WRCATEGORY)",
  20470. "type": "integer"
  20471. },
  20472. "currency": {
  20473. "description": "货币",
  20474. "type": "string"
  20475. },
  20476. "currencysign": {
  20477. "description": "货币符号",
  20478. "type": "string"
  20479. },
  20480. "customername": {
  20481. "description": "卖家名称",
  20482. "type": "string"
  20483. },
  20484. "decimalplace": {
  20485. "description": "报价小数位",
  20486. "type": "integer"
  20487. },
  20488. "goodscode": {
  20489. "description": "商品代码(内部)",
  20490. "type": "string"
  20491. },
  20492. "goodsid": {
  20493. "description": "商品ID",
  20494. "type": "integer"
  20495. },
  20496. "goodsname": {
  20497. "description": "商品名称",
  20498. "type": "string"
  20499. },
  20500. "goodsprice": {
  20501. "description": "商品价格",
  20502. "type": "number"
  20503. },
  20504. "hascoupon": {
  20505. "description": "是否可用优惠卷",
  20506. "type": "boolean"
  20507. },
  20508. "hotindex": {
  20509. "description": "景点热度",
  20510. "type": "integer"
  20511. },
  20512. "marketid": {
  20513. "description": "市场ID",
  20514. "type": "integer"
  20515. },
  20516. "orderid": {
  20517. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20518. "type": "string"
  20519. },
  20520. "orderprice": {
  20521. "description": "委托价格",
  20522. "type": "number"
  20523. },
  20524. "orderstatus": {
  20525. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20526. "type": "integer"
  20527. },
  20528. "picurls": {
  20529. "description": "介绍图片[多张用逗号分隔]",
  20530. "type": "string"
  20531. },
  20532. "quoteminunit": {
  20533. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20534. "type": "integer"
  20535. },
  20536. "sellUserID": {
  20537. "description": "卖方UserID",
  20538. "type": "integer"
  20539. },
  20540. "trademode": {
  20541. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20542. "type": "integer"
  20543. },
  20544. "videourls": {
  20545. "description": "介绍视频[多张用逗号分隔]",
  20546. "type": "string"
  20547. }
  20548. }
  20549. },
  20550. "models.HsbyMarketGoodsDetail": {
  20551. "type": "object",
  20552. "required": [
  20553. "accountid",
  20554. "buyorsell",
  20555. "goodscode",
  20556. "goodsid",
  20557. "goodsname",
  20558. "marketid",
  20559. "orderid",
  20560. "orderqty",
  20561. "trademode"
  20562. ],
  20563. "properties": {
  20564. "accountid": {
  20565. "description": "账户ID[报价币种]",
  20566. "type": "integer"
  20567. },
  20568. "agreeunit": {
  20569. "description": "合约单位",
  20570. "type": "number"
  20571. },
  20572. "buymaxqty": {
  20573. "description": "购买上限 [71] - 0为不限",
  20574. "type": "integer"
  20575. },
  20576. "buyorsell": {
  20577. "description": "买卖 - 0:买 1:卖",
  20578. "type": "integer"
  20579. },
  20580. "cancelqty": {
  20581. "description": "撤单数量",
  20582. "type": "integer"
  20583. },
  20584. "categoryid": {
  20585. "description": "类别ID(WRCATEGORY)",
  20586. "type": "integer"
  20587. },
  20588. "currency": {
  20589. "description": "货币",
  20590. "type": "string"
  20591. },
  20592. "currencysign": {
  20593. "description": "货币符号",
  20594. "type": "string"
  20595. },
  20596. "customername": {
  20597. "description": "卖家名称",
  20598. "type": "string"
  20599. },
  20600. "decimalplace": {
  20601. "description": "报价小数位",
  20602. "type": "integer"
  20603. },
  20604. "goodscode": {
  20605. "description": "商品代码(内部)",
  20606. "type": "string"
  20607. },
  20608. "goodsdesc": {
  20609. "description": "商品详情",
  20610. "type": "string"
  20611. },
  20612. "goodsid": {
  20613. "description": "商品ID",
  20614. "type": "integer"
  20615. },
  20616. "goodsname": {
  20617. "description": "商品名称",
  20618. "type": "string"
  20619. },
  20620. "goodsprice": {
  20621. "description": "商品价格",
  20622. "type": "number"
  20623. },
  20624. "hotindex": {
  20625. "description": "景点热度",
  20626. "type": "integer"
  20627. },
  20628. "lotsize": {
  20629. "description": "手数最小变动单位",
  20630. "type": "integer"
  20631. },
  20632. "marketid": {
  20633. "description": "市场ID",
  20634. "type": "integer"
  20635. },
  20636. "orderid": {
  20637. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20638. "type": "string"
  20639. },
  20640. "orderprice": {
  20641. "description": "委托价格",
  20642. "type": "number"
  20643. },
  20644. "orderqty": {
  20645. "description": "委托数量",
  20646. "type": "integer"
  20647. },
  20648. "orderstatus": {
  20649. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20650. "type": "integer"
  20651. },
  20652. "picurls": {
  20653. "description": "介绍图片[多张用逗号分隔]",
  20654. "type": "string"
  20655. },
  20656. "quoteminunit": {
  20657. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20658. "type": "integer"
  20659. },
  20660. "sellUserID": {
  20661. "description": "卖方UserID",
  20662. "type": "integer"
  20663. },
  20664. "trademode": {
  20665. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20666. "type": "integer"
  20667. },
  20668. "tradeqty": {
  20669. "description": "成交数量",
  20670. "type": "integer"
  20671. },
  20672. "vendorattr": {
  20673. "description": "供应商附件(多张,逗号分隔)",
  20674. "type": "string"
  20675. },
  20676. "vendorname": {
  20677. "description": "供应商名称",
  20678. "type": "string"
  20679. },
  20680. "vendorphone": {
  20681. "description": "供应商客服电话",
  20682. "type": "string"
  20683. },
  20684. "videourls": {
  20685. "description": "介绍视频[多张用逗号分隔]",
  20686. "type": "string"
  20687. }
  20688. }
  20689. },
  20690. "models.HsbyMarketInfo": {
  20691. "type": "object",
  20692. "required": [
  20693. "marketid",
  20694. "marketstatus",
  20695. "trademode"
  20696. ],
  20697. "properties": {
  20698. "marketid": {
  20699. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20700. "type": "integer"
  20701. },
  20702. "marketname": {
  20703. "description": "市场名称",
  20704. "type": "string"
  20705. },
  20706. "marketstatus": {
  20707. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20708. "type": "integer"
  20709. },
  20710. "trademode": {
  20711. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20712. "type": "integer"
  20713. }
  20714. }
  20715. },
  20716. "models.HsbyMyGoods": {
  20717. "type": "object",
  20718. "required": [
  20719. "accountid",
  20720. "goodscode",
  20721. "goodsid",
  20722. "goodsname",
  20723. "marketid",
  20724. "trademode"
  20725. ],
  20726. "properties": {
  20727. "accountid": {
  20728. "description": "账号Id",
  20729. "type": "integer"
  20730. },
  20731. "agreeunit": {
  20732. "description": "合约单位",
  20733. "type": "number"
  20734. },
  20735. "buyaverageprice": {
  20736. "description": "持仓均价",
  20737. "type": "number"
  20738. },
  20739. "buycurholderamount": {
  20740. "description": "买当前持仓总金额[商品币种]",
  20741. "type": "number"
  20742. },
  20743. "buycurpositionqty": {
  20744. "description": "买当前持仓总数量",
  20745. "type": "integer"
  20746. },
  20747. "buymaxqty": {
  20748. "description": "购买上限 [71] - 0为不限",
  20749. "type": "integer"
  20750. },
  20751. "currencysign": {
  20752. "description": "货币符号",
  20753. "type": "string"
  20754. },
  20755. "decimalplace": {
  20756. "description": "报价小数位",
  20757. "type": "integer"
  20758. },
  20759. "enableqty": {
  20760. "description": "可用数量",
  20761. "type": "integer"
  20762. },
  20763. "goodscode": {
  20764. "description": "商品代码(内部)",
  20765. "type": "string"
  20766. },
  20767. "goodsid": {
  20768. "description": "商品Id",
  20769. "type": "integer"
  20770. },
  20771. "goodsname": {
  20772. "description": "商品名称",
  20773. "type": "string"
  20774. },
  20775. "goodsprice": {
  20776. "description": "商品价格",
  20777. "type": "number"
  20778. },
  20779. "goodsstatus": {
  20780. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20781. "type": "integer"
  20782. },
  20783. "last": {
  20784. "description": "现价(仅使用于挂牌点选)",
  20785. "type": "number"
  20786. },
  20787. "limitdown": {
  20788. "description": "跌停价(仅使用于挂牌点选)",
  20789. "type": "number"
  20790. },
  20791. "limitup": {
  20792. "description": "涨停价(仅使用于挂牌点选)",
  20793. "type": "number"
  20794. },
  20795. "lotsize": {
  20796. "description": "手数最小变动单位",
  20797. "type": "integer"
  20798. },
  20799. "marketid": {
  20800. "description": "所属市场ID",
  20801. "type": "integer"
  20802. },
  20803. "picurls": {
  20804. "description": "介绍图片[多张用逗号分隔]",
  20805. "type": "string"
  20806. },
  20807. "quoteminunit": {
  20808. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20809. "type": "integer"
  20810. },
  20811. "stepvalue": {
  20812. "description": "价格最小变动单位",
  20813. "type": "number"
  20814. },
  20815. "trademode": {
  20816. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20817. "type": "integer"
  20818. }
  20819. }
  20820. },
  20821. "models.HsbyMyPackage": {
  20822. "type": "object",
  20823. "required": [
  20824. "goodscode",
  20825. "goodsname",
  20826. "takeorderid",
  20827. "trademode"
  20828. ],
  20829. "properties": {
  20830. "accountid": {
  20831. "description": "账户ID",
  20832. "type": "integer"
  20833. },
  20834. "address": {
  20835. "description": "提货人详细地址",
  20836. "type": "string"
  20837. },
  20838. "agreeunit": {
  20839. "description": "合约单位",
  20840. "type": "number"
  20841. },
  20842. "amount": {
  20843. "description": "提货金额",
  20844. "type": "number"
  20845. },
  20846. "auditer": {
  20847. "description": "审核人",
  20848. "type": "integer"
  20849. },
  20850. "audittime": {
  20851. "description": "审核时间",
  20852. "type": "string"
  20853. },
  20854. "averageprice": {
  20855. "description": "均价",
  20856. "type": "number"
  20857. },
  20858. "cardnum": {
  20859. "description": "提货人证件号码",
  20860. "type": "string"
  20861. },
  20862. "cardtypeid": {
  20863. "description": "提货人证件类型",
  20864. "type": "integer"
  20865. },
  20866. "checkremark": {
  20867. "description": "审核备注",
  20868. "type": "string"
  20869. },
  20870. "currencysign": {
  20871. "description": "货币符号",
  20872. "type": "string"
  20873. },
  20874. "decimalplace": {
  20875. "description": "报价小数位",
  20876. "type": "integer"
  20877. },
  20878. "goodscode": {
  20879. "description": "商品代码(内部)",
  20880. "type": "string"
  20881. },
  20882. "goodsid": {
  20883. "description": "商品ID",
  20884. "type": "integer"
  20885. },
  20886. "goodsname": {
  20887. "description": "商品名称",
  20888. "type": "string"
  20889. },
  20890. "handlestatus": {
  20891. "description": "处理状态",
  20892. "type": "integer"
  20893. },
  20894. "marketid": {
  20895. "description": "市场ID",
  20896. "type": "integer"
  20897. },
  20898. "phonenum": {
  20899. "description": "提货人联系方式",
  20900. "type": "string"
  20901. },
  20902. "picurls": {
  20903. "description": "介绍图片[多张用逗号分隔]",
  20904. "type": "string"
  20905. },
  20906. "qty": {
  20907. "description": "提货数量",
  20908. "type": "number"
  20909. },
  20910. "recivername": {
  20911. "description": "提货人姓名",
  20912. "type": "string"
  20913. },
  20914. "reqtime": {
  20915. "description": "更新时间",
  20916. "type": "string"
  20917. },
  20918. "takemode": {
  20919. "description": "提货方式 - 2:自提 3:配送",
  20920. "type": "integer"
  20921. },
  20922. "takeorderid": {
  20923. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20924. "type": "string"
  20925. },
  20926. "takeorderstatus": {
  20927. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20928. "type": "integer"
  20929. },
  20930. "takeremark": {
  20931. "description": "提货备注",
  20932. "type": "string"
  20933. },
  20934. "tradedate": {
  20935. "description": "交易日(yyyyMMdd)",
  20936. "type": "string"
  20937. },
  20938. "trademode": {
  20939. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20940. "type": "integer"
  20941. },
  20942. "userid": {
  20943. "description": "用户ID",
  20944. "type": "integer"
  20945. },
  20946. "vendorname": {
  20947. "description": "供应商名称",
  20948. "type": "string"
  20949. }
  20950. }
  20951. },
  20952. "models.HsbyPreGoods": {
  20953. "type": "object",
  20954. "required": [
  20955. "goodscode",
  20956. "goodsid",
  20957. "goodsname",
  20958. "marketid",
  20959. "trademode"
  20960. ],
  20961. "properties": {
  20962. "agreeunit": {
  20963. "description": "合约单位",
  20964. "type": "number"
  20965. },
  20966. "currency": {
  20967. "description": "货币",
  20968. "type": "string"
  20969. },
  20970. "currencysign": {
  20971. "description": "货币符号",
  20972. "type": "string"
  20973. },
  20974. "decimalplace": {
  20975. "description": "报价小数位",
  20976. "type": "integer"
  20977. },
  20978. "desccityid": {
  20979. "description": "目的地(市)",
  20980. "type": "integer"
  20981. },
  20982. "descprovinceid": {
  20983. "description": "目的地(省)",
  20984. "type": "integer"
  20985. },
  20986. "enableqty": {
  20987. "description": "剩余数量",
  20988. "type": "integer"
  20989. },
  20990. "goodscode": {
  20991. "description": "商品代码(内部)",
  20992. "type": "string"
  20993. },
  20994. "goodsid": {
  20995. "description": "商品ID(自增ID SEQ_GOODS)",
  20996. "type": "integer"
  20997. },
  20998. "goodsname": {
  20999. "description": "商品名称",
  21000. "type": "string"
  21001. },
  21002. "goodsstatus": {
  21003. "description": "商品状态- 2:未上市 3:上市",
  21004. "type": "integer"
  21005. },
  21006. "lasttradedate": {
  21007. "description": "最后交易日期(状态:待退市)",
  21008. "type": "string"
  21009. },
  21010. "listingdate": {
  21011. "description": "交易开始日期",
  21012. "type": "string"
  21013. },
  21014. "marketid": {
  21015. "description": "所属市场ID",
  21016. "type": "integer"
  21017. },
  21018. "picurls": {
  21019. "description": "介绍图片[多张用逗号分隔]",
  21020. "type": "string"
  21021. },
  21022. "presaledqty": {
  21023. "description": "已预售量(预售结束时更新)",
  21024. "type": "integer"
  21025. },
  21026. "presaleqty": {
  21027. "description": "预售数量",
  21028. "type": "integer"
  21029. },
  21030. "quoteminunit": {
  21031. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21032. "type": "integer"
  21033. },
  21034. "refprice": {
  21035. "description": "参考价格[一口价]",
  21036. "type": "number"
  21037. },
  21038. "relatedgoodsid": {
  21039. "description": "关联交易合约ID",
  21040. "type": "integer"
  21041. },
  21042. "trademode": {
  21043. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21044. "type": "integer"
  21045. },
  21046. "videourls": {
  21047. "description": "介绍视频[多张用逗号分隔]",
  21048. "type": "string"
  21049. }
  21050. }
  21051. },
  21052. "models.HsbyPreGoodsDetail": {
  21053. "type": "object",
  21054. "required": [
  21055. "goodscode",
  21056. "goodsid",
  21057. "goodsname",
  21058. "marketid",
  21059. "trademode"
  21060. ],
  21061. "properties": {
  21062. "agreeunit": {
  21063. "description": "合约单位",
  21064. "type": "number"
  21065. },
  21066. "buymaxqty": {
  21067. "description": "购买上限 [71] - 0为不限",
  21068. "type": "integer"
  21069. },
  21070. "currency": {
  21071. "description": "货币",
  21072. "type": "string"
  21073. },
  21074. "currencysign": {
  21075. "description": "货币符号",
  21076. "type": "string"
  21077. },
  21078. "customername": {
  21079. "description": "发行单位",
  21080. "type": "string"
  21081. },
  21082. "decimalplace": {
  21083. "description": "报价小数位",
  21084. "type": "integer"
  21085. },
  21086. "desccityid": {
  21087. "description": "目的地(市)ID",
  21088. "type": "integer"
  21089. },
  21090. "descprovinceid": {
  21091. "description": "目的地(省)ID",
  21092. "type": "integer"
  21093. },
  21094. "enableqty": {
  21095. "description": "剩余数量",
  21096. "type": "integer"
  21097. },
  21098. "goodscode": {
  21099. "description": "商品代码(内部)",
  21100. "type": "string"
  21101. },
  21102. "goodsdesc": {
  21103. "description": "商品详情",
  21104. "type": "string"
  21105. },
  21106. "goodsid": {
  21107. "description": "商品ID(自增ID SEQ_GOODS)",
  21108. "type": "integer"
  21109. },
  21110. "goodsname": {
  21111. "description": "商品名称",
  21112. "type": "string"
  21113. },
  21114. "goodsstatus": {
  21115. "description": "商品状态- 2:未上市 3:上市",
  21116. "type": "integer"
  21117. },
  21118. "goodunit": {
  21119. "description": "报价单位",
  21120. "type": "string"
  21121. },
  21122. "lasttradedate": {
  21123. "description": "最后交易日期(状态:待退市)",
  21124. "type": "string"
  21125. },
  21126. "listingdate": {
  21127. "description": "交易开始日期",
  21128. "type": "string"
  21129. },
  21130. "lotsize": {
  21131. "description": "手数最小变动单位",
  21132. "type": "integer"
  21133. },
  21134. "marketid": {
  21135. "description": "所属市场ID",
  21136. "type": "integer"
  21137. },
  21138. "picurls": {
  21139. "description": "介绍图片[多张用逗号分隔]",
  21140. "type": "string"
  21141. },
  21142. "presaledqty": {
  21143. "description": "已预售量(预售结束时更新)",
  21144. "type": "integer"
  21145. },
  21146. "presaleqty": {
  21147. "description": "预售数量",
  21148. "type": "integer"
  21149. },
  21150. "quoteminunit": {
  21151. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21152. "type": "integer"
  21153. },
  21154. "refprice": {
  21155. "description": "参考价格[一口价]",
  21156. "type": "number"
  21157. },
  21158. "relatedgoodsid": {
  21159. "description": "关联交易合约ID",
  21160. "type": "integer"
  21161. },
  21162. "stepvalue": {
  21163. "description": "价格最小变动单位",
  21164. "type": "number"
  21165. },
  21166. "trademode": {
  21167. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21168. "type": "integer"
  21169. },
  21170. "vendorattr": {
  21171. "description": "供应商附件(多张,逗号分隔)",
  21172. "type": "string"
  21173. },
  21174. "vendorname": {
  21175. "description": "供应商名称",
  21176. "type": "string"
  21177. },
  21178. "vendorphone": {
  21179. "description": "供应商客服电话",
  21180. "type": "string"
  21181. },
  21182. "videourls": {
  21183. "description": "介绍视频[多张用逗号分隔]",
  21184. "type": "string"
  21185. }
  21186. }
  21187. },
  21188. "models.HsbySellCollectionOrder": {
  21189. "type": "object",
  21190. "required": [
  21191. "goodscode",
  21192. "goodsname",
  21193. "tradeid",
  21194. "trademode"
  21195. ],
  21196. "properties": {
  21197. "agreeunit": {
  21198. "description": "合约单位",
  21199. "type": "number"
  21200. },
  21201. "buyaccountid": {
  21202. "description": "买方账号ID[报价币种]",
  21203. "type": "integer"
  21204. },
  21205. "buyorderid": {
  21206. "description": "买方委托单号",
  21207. "type": "string"
  21208. },
  21209. "createtime": {
  21210. "description": "创建时间",
  21211. "type": "string"
  21212. },
  21213. "currencysign": {
  21214. "description": "货币符号",
  21215. "type": "string"
  21216. },
  21217. "decimalplace": {
  21218. "description": "报价小数位",
  21219. "type": "integer"
  21220. },
  21221. "goodscode": {
  21222. "description": "商品代码(内部)",
  21223. "type": "string"
  21224. },
  21225. "goodsid": {
  21226. "description": "商品ID",
  21227. "type": "integer"
  21228. },
  21229. "goodsname": {
  21230. "description": "商品名称",
  21231. "type": "string"
  21232. },
  21233. "marketid": {
  21234. "description": "市场ID",
  21235. "type": "integer"
  21236. },
  21237. "offamount": {
  21238. "description": "优惠金额",
  21239. "type": "number"
  21240. },
  21241. "payamount": {
  21242. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21243. "type": "number"
  21244. },
  21245. "payflag": {
  21246. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21247. "type": "integer"
  21248. },
  21249. "paylimitedtime": {
  21250. "description": "支付期限",
  21251. "type": "string"
  21252. },
  21253. "paytime": {
  21254. "description": "付款时间",
  21255. "type": "string"
  21256. },
  21257. "picurls": {
  21258. "description": "商品介绍图片[多张用逗号分隔]",
  21259. "type": "string"
  21260. },
  21261. "sellaccountid": {
  21262. "description": "卖方账号ID[报价币种]",
  21263. "type": "integer"
  21264. },
  21265. "sellorderid": {
  21266. "description": "卖方委托单号",
  21267. "type": "string"
  21268. },
  21269. "tradeamount": {
  21270. "description": "成交金额",
  21271. "type": "number"
  21272. },
  21273. "tradecharge": {
  21274. "description": "成交手续费(买方)",
  21275. "type": "number"
  21276. },
  21277. "tradedate": {
  21278. "description": "交易日(yyyyMMdd)",
  21279. "type": "string"
  21280. },
  21281. "tradeid": {
  21282. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21283. "type": "string"
  21284. },
  21285. "trademode": {
  21286. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21287. "type": "integer"
  21288. },
  21289. "tradeprice": {
  21290. "description": "成交价格",
  21291. "type": "number"
  21292. },
  21293. "tradeqty": {
  21294. "description": "成交数量",
  21295. "type": "integer"
  21296. }
  21297. }
  21298. },
  21299. "models.HsbySellMyDetail": {
  21300. "type": "object",
  21301. "required": [
  21302. "accountid",
  21303. "buyorsell",
  21304. "goodscode",
  21305. "goodsid",
  21306. "goodsname",
  21307. "marketid",
  21308. "orderid",
  21309. "time",
  21310. "trademode"
  21311. ],
  21312. "properties": {
  21313. "accountid": {
  21314. "description": "账户ID[报价币种]",
  21315. "type": "integer"
  21316. },
  21317. "agreeunit": {
  21318. "description": "合约单位",
  21319. "type": "number"
  21320. },
  21321. "buyorsell": {
  21322. "description": "买卖 - 0:买 1:卖",
  21323. "type": "integer"
  21324. },
  21325. "currencysign": {
  21326. "description": "货币符号",
  21327. "type": "string"
  21328. },
  21329. "decimalplace": {
  21330. "description": "报价小数位",
  21331. "type": "integer"
  21332. },
  21333. "goodscode": {
  21334. "description": "商品代码(内部)",
  21335. "type": "string"
  21336. },
  21337. "goodsid": {
  21338. "description": "商品ID",
  21339. "type": "integer"
  21340. },
  21341. "goodsname": {
  21342. "description": "商品名称",
  21343. "type": "string"
  21344. },
  21345. "marketid": {
  21346. "description": "市场ID",
  21347. "type": "integer"
  21348. },
  21349. "orderid": {
  21350. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21351. "type": "string"
  21352. },
  21353. "ordertype": {
  21354. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21355. "type": "integer"
  21356. },
  21357. "picurls": {
  21358. "description": "介绍图片[多张用逗号分隔]",
  21359. "type": "string"
  21360. },
  21361. "price": {
  21362. "description": "价格",
  21363. "type": "number"
  21364. },
  21365. "qty": {
  21366. "description": "数量",
  21367. "type": "integer"
  21368. },
  21369. "time": {
  21370. "description": "时间",
  21371. "type": "string"
  21372. },
  21373. "trademode": {
  21374. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21375. "type": "integer"
  21376. },
  21377. "vendorname": {
  21378. "description": "供应商名称",
  21379. "type": "string"
  21380. }
  21381. }
  21382. },
  21383. "models.HsbyTopGoods": {
  21384. "type": "object",
  21385. "required": [
  21386. "goodscode",
  21387. "goodsid",
  21388. "goodsname",
  21389. "marketid",
  21390. "trademode"
  21391. ],
  21392. "properties": {
  21393. "agreeunit": {
  21394. "description": "合约单位",
  21395. "type": "number"
  21396. },
  21397. "currency": {
  21398. "description": "货币",
  21399. "type": "string"
  21400. },
  21401. "currencysign": {
  21402. "description": "货币符号",
  21403. "type": "string"
  21404. },
  21405. "decimalplace": {
  21406. "description": "报价小数位",
  21407. "type": "integer"
  21408. },
  21409. "desccityid": {
  21410. "description": "目的地(市)",
  21411. "type": "integer"
  21412. },
  21413. "descprovinceid": {
  21414. "description": "目的地(省)",
  21415. "type": "integer"
  21416. },
  21417. "goodscode": {
  21418. "description": "商品代码(内部)",
  21419. "type": "string"
  21420. },
  21421. "goodsid": {
  21422. "description": "商品ID(自增ID SEQ_GOODS)",
  21423. "type": "integer"
  21424. },
  21425. "goodsname": {
  21426. "description": "商品名称",
  21427. "type": "string"
  21428. },
  21429. "hotindex": {
  21430. "description": "景点热度",
  21431. "type": "integer"
  21432. },
  21433. "last": {
  21434. "description": "现价",
  21435. "type": "number"
  21436. },
  21437. "marketid": {
  21438. "description": "所属市场ID",
  21439. "type": "integer"
  21440. },
  21441. "picurls": {
  21442. "description": "介绍图片[多张用逗号分隔]",
  21443. "type": "string"
  21444. },
  21445. "quoteminunit": {
  21446. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21447. "type": "integer"
  21448. },
  21449. "trademode": {
  21450. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21451. "type": "integer"
  21452. },
  21453. "videourls": {
  21454. "description": "介绍视频[多张用逗号分隔]",
  21455. "type": "string"
  21456. }
  21457. }
  21458. },
  21459. "models.HybsMyBuyOrderDetail": {
  21460. "type": "object",
  21461. "required": [
  21462. "accountid",
  21463. "buyorsell",
  21464. "goodscode",
  21465. "goodsid",
  21466. "goodsname",
  21467. "marketid",
  21468. "orderid",
  21469. "orderqty",
  21470. "ordertime",
  21471. "trademode"
  21472. ],
  21473. "properties": {
  21474. "accountid": {
  21475. "description": "账户ID[报价币种]",
  21476. "type": "integer"
  21477. },
  21478. "agreeunit": {
  21479. "description": "合约单位",
  21480. "type": "number"
  21481. },
  21482. "buyorsell": {
  21483. "description": "买卖 - 0:买 1:卖",
  21484. "type": "integer"
  21485. },
  21486. "cancelqty": {
  21487. "description": "撤单数量",
  21488. "type": "integer"
  21489. },
  21490. "currencysign": {
  21491. "description": "货币符号",
  21492. "type": "string"
  21493. },
  21494. "decimalplace": {
  21495. "description": "报价小数位",
  21496. "type": "integer"
  21497. },
  21498. "goodscode": {
  21499. "description": "商品代码(内部)",
  21500. "type": "string"
  21501. },
  21502. "goodsid": {
  21503. "description": "商品ID",
  21504. "type": "integer"
  21505. },
  21506. "goodsname": {
  21507. "description": "商品名称",
  21508. "type": "string"
  21509. },
  21510. "listingselecttype": {
  21511. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21512. "type": "integer"
  21513. },
  21514. "marketid": {
  21515. "description": "市场ID",
  21516. "type": "integer"
  21517. },
  21518. "mybuystatus": {
  21519. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  21520. "type": "integer"
  21521. },
  21522. "orderamount": {
  21523. "description": "委托金额",
  21524. "type": "number"
  21525. },
  21526. "orderid": {
  21527. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21528. "type": "string"
  21529. },
  21530. "orderprice": {
  21531. "description": "委托价格",
  21532. "type": "number"
  21533. },
  21534. "orderqty": {
  21535. "description": "委托数量",
  21536. "type": "integer"
  21537. },
  21538. "orderstatus": {
  21539. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21540. "type": "integer"
  21541. },
  21542. "ordertime": {
  21543. "description": "委托时间",
  21544. "type": "string"
  21545. },
  21546. "picurls1": {
  21547. "description": "预售商品介绍图片[多张用逗号分隔]",
  21548. "type": "string"
  21549. },
  21550. "picurls2": {
  21551. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21552. "type": "string"
  21553. },
  21554. "trademode": {
  21555. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21556. "type": "integer"
  21557. },
  21558. "tradeqty": {
  21559. "description": "成交数量",
  21560. "type": "integer"
  21561. },
  21562. "vendorname1": {
  21563. "description": "预售商品供应商名称",
  21564. "type": "string"
  21565. },
  21566. "vendorname2": {
  21567. "description": "挂牌商品供应商名称",
  21568. "type": "string"
  21569. }
  21570. }
  21571. },
  21572. "models.Loginaccount": {
  21573. "type": "object",
  21574. "required": [
  21575. "loginid"
  21576. ],
  21577. "properties": {
  21578. "canoutin": {
  21579. "description": "是否可出入金 - 0:不可 1:可",
  21580. "type": "integer"
  21581. },
  21582. "clientroleid": {
  21583. "description": "终端角色ID",
  21584. "type": "integer"
  21585. },
  21586. "haslogined": {
  21587. "description": "是否已登录 - 0:未登录 1:已登录",
  21588. "type": "integer"
  21589. },
  21590. "hasupdatedpwd": {
  21591. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21592. "type": "integer"
  21593. },
  21594. "lastloginip": {
  21595. "description": "最新登录地址",
  21596. "type": "string"
  21597. },
  21598. "lastloginmode": {
  21599. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21600. "type": "integer"
  21601. },
  21602. "lastloginremark": {
  21603. "description": "最新登录描述",
  21604. "type": "string"
  21605. },
  21606. "lastlogintime": {
  21607. "description": "最新登录时间",
  21608. "type": "string"
  21609. },
  21610. "logincode": {
  21611. "description": "登录代码",
  21612. "type": "string"
  21613. },
  21614. "loginfailnum": {
  21615. "description": "连续登录失败次数(登录成功时清零)",
  21616. "type": "integer"
  21617. },
  21618. "loginid": {
  21619. "description": "登陆账号",
  21620. "type": "integer"
  21621. },
  21622. "loginport": {
  21623. "description": "最新登录端口",
  21624. "type": "integer"
  21625. },
  21626. "loginstatus": {
  21627. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21628. "type": "integer"
  21629. },
  21630. "loginusertype": {
  21631. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21632. "type": "integer"
  21633. },
  21634. "modifierid": {
  21635. "description": "修改人",
  21636. "type": "integer"
  21637. },
  21638. "modifytime": {
  21639. "description": "修改时间",
  21640. "type": "string"
  21641. },
  21642. "pwdwrongcount": {
  21643. "description": "密码错误次数",
  21644. "type": "integer"
  21645. },
  21646. "taaccountrighttype": {
  21647. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21648. "type": "integer"
  21649. },
  21650. "unfreezetime": {
  21651. "description": "账户解冻时间",
  21652. "type": "string"
  21653. },
  21654. "userid": {
  21655. "description": "用户ID",
  21656. "type": "integer"
  21657. }
  21658. }
  21659. },
  21660. "models.MainAccountInfo": {
  21661. "type": "object",
  21662. "properties": {
  21663. "accountid": {
  21664. "description": "账号id",
  21665. "type": "integer"
  21666. },
  21667. "accountname": {
  21668. "description": "账号名称(taaccount表中的名称)",
  21669. "type": "string"
  21670. },
  21671. "appid": {
  21672. "description": "AppID",
  21673. "type": "string"
  21674. },
  21675. "authcode": {
  21676. "description": "授权码",
  21677. "type": "string"
  21678. },
  21679. "brokerid": {
  21680. "description": "经纪商id",
  21681. "type": "string"
  21682. },
  21683. "fcid": {
  21684. "description": "期货公司id",
  21685. "type": "integer"
  21686. },
  21687. "fcname": {
  21688. "description": "期货公司代码",
  21689. "type": "string"
  21690. },
  21691. "hedgeaccountcode": {
  21692. "description": "外部账号代码(主账号登录代码)",
  21693. "type": "string"
  21694. },
  21695. "hedgeaccountpwd": {
  21696. "description": "密码",
  21697. "type": "string"
  21698. },
  21699. "ismain": {
  21700. "description": "是否主账号",
  21701. "type": "integer"
  21702. },
  21703. "relateduserid": {
  21704. "description": "关联用户id",
  21705. "type": "integer"
  21706. },
  21707. "userid": {
  21708. "description": "关联用户id",
  21709. "type": "integer"
  21710. }
  21711. }
  21712. },
  21713. "models.Market": {
  21714. "type": "object",
  21715. "required": [
  21716. "marketid",
  21717. "marketstatus",
  21718. "openmethod",
  21719. "reckonpricealgorithm",
  21720. "trademode",
  21721. "tradeproperty"
  21722. ],
  21723. "properties": {
  21724. "auctionwrtype": {
  21725. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21726. "type": "integer"
  21727. },
  21728. "canacceptquote": {
  21729. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21730. "type": "integer"
  21731. },
  21732. "cangoodsexercise": {
  21733. "description": "[期权]是否可现货行权- 0:否 1:是",
  21734. "type": "integer"
  21735. },
  21736. "cangoodsexercisetype": {
  21737. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21738. "type": "integer"
  21739. },
  21740. "canmanualquotestrike": {
  21741. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21742. "type": "integer"
  21743. },
  21744. "canmutistage": {
  21745. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21746. "type": "integer"
  21747. },
  21748. "canpreexercise": {
  21749. "description": "[期权]是否可预申报- 0:否 1:是",
  21750. "type": "integer"
  21751. },
  21752. "clearinterval": {
  21753. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21754. "type": "integer"
  21755. },
  21756. "contracttmp": {
  21757. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21758. "type": "string"
  21759. },
  21760. "exchareaid": {
  21761. "description": "所属交易所,可以没有",
  21762. "type": "integer"
  21763. },
  21764. "goodstype": {
  21765. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21766. "type": "integer"
  21767. },
  21768. "hasrebate": {
  21769. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21770. "type": "integer"
  21771. },
  21772. "hastradecredit": {
  21773. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21774. "type": "integer"
  21775. },
  21776. "haswr": {
  21777. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21778. "type": "integer"
  21779. },
  21780. "isdeductmargin": {
  21781. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21782. "type": "integer"
  21783. },
  21784. "isrecordsource": {
  21785. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21786. "type": "integer"
  21787. },
  21788. "isreleasemargin": {
  21789. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21790. "type": "integer"
  21791. },
  21792. "marginformula": {
  21793. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21794. "type": "integer"
  21795. },
  21796. "marginformula2": {
  21797. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21798. "type": "integer"
  21799. },
  21800. "marketid": {
  21801. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21802. "type": "integer"
  21803. },
  21804. "marketname": {
  21805. "description": "市场名称",
  21806. "type": "string"
  21807. },
  21808. "marketserviceid": {
  21809. "description": "市场服务ID",
  21810. "type": "integer"
  21811. },
  21812. "marketstatus": {
  21813. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21814. "type": "integer"
  21815. },
  21816. "markettype": {
  21817. "description": "市场类型- 1:非交易服务 2:交易服务",
  21818. "type": "integer"
  21819. },
  21820. "matchermode": {
  21821. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21822. "type": "integer"
  21823. },
  21824. "openmethod": {
  21825. "description": "开盘模式 - 0 自动 1手动",
  21826. "type": "integer"
  21827. },
  21828. "otcuserid": {
  21829. "description": "场外期权做市商[场外期权]",
  21830. "type": "integer"
  21831. },
  21832. "outersynctime": {
  21833. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21834. "type": "string"
  21835. },
  21836. "pendingflag": {
  21837. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21838. "type": "integer"
  21839. },
  21840. "pendingtime": {
  21841. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21842. "type": "string"
  21843. },
  21844. "performancetempid": {
  21845. "description": "履约计划模板ID - 作废",
  21846. "type": "integer"
  21847. },
  21848. "premiumquotemode": {
  21849. "description": "权利金报价方式 - 1:自动 2:手动",
  21850. "type": "integer"
  21851. },
  21852. "rebateratio": {
  21853. "description": "返利比率[竞价式]",
  21854. "type": "number"
  21855. },
  21856. "reckonorder": {
  21857. "description": "结算顺序",
  21858. "type": "integer"
  21859. },
  21860. "reckonpricealgorithm": {
  21861. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21862. "type": "integer"
  21863. },
  21864. "reckonpriceparam": {
  21865. "description": "结算价参数",
  21866. "type": "integer"
  21867. },
  21868. "reckontime": {
  21869. "description": "结算时间[通道交易-对冲](HH:mm)",
  21870. "type": "string"
  21871. },
  21872. "roleprioritytype": {
  21873. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21874. "type": "integer"
  21875. },
  21876. "selllistingauditflag": {
  21877. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21878. "type": "integer"
  21879. },
  21880. "trademarkettype": {
  21881. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21882. "type": "integer"
  21883. },
  21884. "trademode": {
  21885. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21886. "type": "integer"
  21887. },
  21888. "tradeproperty": {
  21889. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21890. "type": "integer"
  21891. },
  21892. "tradetype": {
  21893. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21894. "type": "integer"
  21895. }
  21896. }
  21897. },
  21898. "models.Marketrun": {
  21899. "type": "object",
  21900. "required": [
  21901. "marketid",
  21902. "nexttradedate",
  21903. "reckonflag",
  21904. "runstatus",
  21905. "tradedate",
  21906. "tradedate2"
  21907. ],
  21908. "properties": {
  21909. "afternexttradedate": {
  21910. "description": "下下交易日",
  21911. "type": "string"
  21912. },
  21913. "clearquoteflag": {
  21914. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21915. "type": "integer"
  21916. },
  21917. "lastreckondate": {
  21918. "description": "最新交易日(结算成功)",
  21919. "type": "string"
  21920. },
  21921. "machinedate": {
  21922. "description": "机器时间",
  21923. "type": "string"
  21924. },
  21925. "manualflag": {
  21926. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21927. "type": "integer"
  21928. },
  21929. "marketid": {
  21930. "description": "市场ID",
  21931. "type": "integer"
  21932. },
  21933. "nexttradedate": {
  21934. "description": "下一交易日",
  21935. "type": "string"
  21936. },
  21937. "pretradedate": {
  21938. "description": "上一交易日",
  21939. "type": "string"
  21940. },
  21941. "reckonflag": {
  21942. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21943. "type": "integer"
  21944. },
  21945. "runstatus": {
  21946. "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.今日免清算",
  21947. "type": "integer"
  21948. },
  21949. "sectionid": {
  21950. "description": "时间段号[多时段时用]",
  21951. "type": "integer"
  21952. },
  21953. "tradedate": {
  21954. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21955. "type": "string"
  21956. },
  21957. "tradedate2": {
  21958. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21959. "type": "string"
  21960. },
  21961. "updatetime": {
  21962. "description": "更新时间",
  21963. "type": "string"
  21964. }
  21965. }
  21966. },
  21967. "models.Messageboard": {
  21968. "type": "object",
  21969. "required": [
  21970. "messageboardid"
  21971. ],
  21972. "properties": {
  21973. "contactnum": {
  21974. "description": "联系电话",
  21975. "type": "string"
  21976. },
  21977. "createtime": {
  21978. "description": "创建时间",
  21979. "type": "string"
  21980. },
  21981. "message": {
  21982. "description": "留言信息",
  21983. "type": "string"
  21984. },
  21985. "messageboardid": {
  21986. "description": "留言簿ID(SEQ_MessageBoard)",
  21987. "type": "integer"
  21988. },
  21989. "userid": {
  21990. "description": "用户ID",
  21991. "type": "integer"
  21992. }
  21993. }
  21994. },
  21995. "models.MyCoupon": {
  21996. "type": "object",
  21997. "required": [
  21998. "accountid",
  21999. "coupontypeid"
  22000. ],
  22001. "properties": {
  22002. "accountid": {
  22003. "description": "资金账户ID",
  22004. "type": "integer"
  22005. },
  22006. "areauserid": {
  22007. "description": "所属机构",
  22008. "type": "integer"
  22009. },
  22010. "conditionvalue": {
  22011. "description": "条件阈值(可为0)",
  22012. "type": "number"
  22013. },
  22014. "couponcategroy": {
  22015. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  22016. "type": "integer"
  22017. },
  22018. "couponname": {
  22019. "description": "优惠券名称",
  22020. "type": "string"
  22021. },
  22022. "coupontypeid": {
  22023. "description": "优惠券类型ID",
  22024. "type": "string"
  22025. },
  22026. "couponvalue": {
  22027. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22028. "type": "number"
  22029. },
  22030. "curfreezeqty": {
  22031. "description": "期末冻结数量",
  22032. "type": "integer"
  22033. },
  22034. "curqty": {
  22035. "description": "期末数量",
  22036. "type": "integer"
  22037. },
  22038. "isgeneral": {
  22039. "description": "是否通用券 - 0:否 1:是",
  22040. "type": "integer"
  22041. },
  22042. "isunusable": {
  22043. "description": "是否不可用",
  22044. "type": "boolean"
  22045. },
  22046. "limitedflag": {
  22047. "description": "是否指定商品 - 0:不限 1:限制",
  22048. "type": "integer"
  22049. },
  22050. "limitedgoodsids": {
  22051. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  22052. "type": "string"
  22053. },
  22054. "orifreezeqty": {
  22055. "description": "期初冻结数量",
  22056. "type": "integer"
  22057. },
  22058. "oriqty": {
  22059. "description": "期初数量",
  22060. "type": "integer"
  22061. },
  22062. "reasontype": {
  22063. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  22064. "type": "integer"
  22065. },
  22066. "todaydecrease": {
  22067. "description": "今日减少",
  22068. "type": "integer"
  22069. },
  22070. "todayincrease": {
  22071. "description": "今日增加",
  22072. "type": "integer"
  22073. },
  22074. "userid": {
  22075. "description": "用户ID",
  22076. "type": "integer"
  22077. },
  22078. "userscope": {
  22079. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  22080. "type": "string"
  22081. }
  22082. }
  22083. },
  22084. "models.MyCouponHold": {
  22085. "type": "object",
  22086. "required": [
  22087. "couponholdid"
  22088. ],
  22089. "properties": {
  22090. "accountid": {
  22091. "description": "资金账户ID",
  22092. "type": "integer"
  22093. },
  22094. "conditionvalue": {
  22095. "description": "条件阈值(可为0)",
  22096. "type": "number"
  22097. },
  22098. "couponcategroy": {
  22099. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  22100. "type": "integer"
  22101. },
  22102. "couponholdid": {
  22103. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  22104. "type": "string"
  22105. },
  22106. "couponname": {
  22107. "description": "优惠券名称",
  22108. "type": "string"
  22109. },
  22110. "coupontypeid": {
  22111. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22112. "type": "string"
  22113. },
  22114. "couponvalue": {
  22115. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22116. "type": "number"
  22117. },
  22118. "createtime": {
  22119. "description": "创建时间",
  22120. "type": "string"
  22121. },
  22122. "enddate": {
  22123. "description": "结束日期",
  22124. "type": "string"
  22125. },
  22126. "giveapplyid": {
  22127. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22128. "type": "integer"
  22129. },
  22130. "holdstatus": {
  22131. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22132. "type": "integer"
  22133. },
  22134. "isgeneral": {
  22135. "description": "是否通用券 - 0:否 1:是",
  22136. "type": "integer"
  22137. },
  22138. "limitedflag": {
  22139. "description": "是否指定商品 - 0:不限 1:限制",
  22140. "type": "integer"
  22141. },
  22142. "limitedgoodsids": {
  22143. "description": "指定商品IDs[逗号分隔]",
  22144. "type": "string"
  22145. },
  22146. "qty": {
  22147. "description": "数量(按1平铺)",
  22148. "type": "integer"
  22149. },
  22150. "startdate": {
  22151. "description": "开始日期",
  22152. "type": "string"
  22153. },
  22154. "userid": {
  22155. "description": "用户ID",
  22156. "type": "integer"
  22157. },
  22158. "userscope": {
  22159. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22160. "type": "string"
  22161. }
  22162. }
  22163. },
  22164. "models.MyUsedCoupon": {
  22165. "type": "object",
  22166. "required": [
  22167. "coupontypeid",
  22168. "orderid"
  22169. ],
  22170. "properties": {
  22171. "accountid": {
  22172. "description": "资金账户ID(买方)",
  22173. "type": "integer"
  22174. },
  22175. "conditionvalue": {
  22176. "description": "条件阈值(可为0)",
  22177. "type": "number"
  22178. },
  22179. "couponcategroy": {
  22180. "description": "种类 - 1:现金券 2:折扣券",
  22181. "type": "integer"
  22182. },
  22183. "couponname": {
  22184. "description": "优惠券名称",
  22185. "type": "string"
  22186. },
  22187. "coupontypeid": {
  22188. "description": "优惠券类型ID(买方)",
  22189. "type": "string"
  22190. },
  22191. "couponvalue": {
  22192. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22193. "type": "number"
  22194. },
  22195. "createtime": {
  22196. "description": "创建时间",
  22197. "type": "string"
  22198. },
  22199. "goodsid": {
  22200. "description": "商品ID",
  22201. "type": "integer"
  22202. },
  22203. "handlestatus": {
  22204. "description": "处理状态",
  22205. "type": "integer"
  22206. },
  22207. "marketid": {
  22208. "description": "市场ID",
  22209. "type": "integer"
  22210. },
  22211. "offamount": {
  22212. "description": "优惠金额",
  22213. "type": "number"
  22214. },
  22215. "orderid": {
  22216. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22217. "type": "string"
  22218. },
  22219. "sellaccountid": {
  22220. "description": "资金账户ID(卖方)",
  22221. "type": "integer"
  22222. },
  22223. "tradeamount": {
  22224. "description": "成交金额",
  22225. "type": "number"
  22226. },
  22227. "tradeid": {
  22228. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22229. "type": "string"
  22230. },
  22231. "usedqty": {
  22232. "description": "使用数量",
  22233. "type": "integer"
  22234. }
  22235. }
  22236. },
  22237. "models.OperationPrimaryMenu": {
  22238. "type": "object",
  22239. "properties": {
  22240. "Children": {
  22241. "description": "二级功能菜单",
  22242. "type": "array",
  22243. "items": {
  22244. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22245. }
  22246. },
  22247. "Key": {
  22248. "description": "菜单KEY",
  22249. "type": "string"
  22250. },
  22251. "Label": {
  22252. "description": "菜单标题",
  22253. "type": "string"
  22254. }
  22255. }
  22256. },
  22257. "models.OperationSecondaryMenu": {
  22258. "type": "object",
  22259. "properties": {
  22260. "Key": {
  22261. "description": "菜单KEY",
  22262. "type": "string"
  22263. },
  22264. "Label": {
  22265. "description": "菜单标题",
  22266. "type": "string"
  22267. },
  22268. "TabList": {
  22269. "description": "三级功能菜单",
  22270. "type": "array",
  22271. "items": {
  22272. "$ref": "#/definitions/models.OperationTabMenu"
  22273. }
  22274. }
  22275. }
  22276. },
  22277. "models.OperationTabMenu": {
  22278. "type": "object",
  22279. "properties": {
  22280. "Key": {
  22281. "description": "菜单KEY",
  22282. "type": "string"
  22283. },
  22284. "Label": {
  22285. "description": "菜单标题",
  22286. "type": "string"
  22287. }
  22288. }
  22289. },
  22290. "models.PendingAuditBizModel": {
  22291. "type": "object",
  22292. "properties": {
  22293. "accountid": {
  22294. "description": "现货账户",
  22295. "type": "string"
  22296. },
  22297. "areaname": {
  22298. "description": "所属部门",
  22299. "type": "string"
  22300. },
  22301. "bizid": {
  22302. "description": "业务ID",
  22303. "type": "string"
  22304. },
  22305. "bizname": {
  22306. "description": "业务名称",
  22307. "type": "string"
  22308. },
  22309. "status": {
  22310. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22311. "type": "integer"
  22312. },
  22313. "type": {
  22314. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22315. "type": "integer"
  22316. }
  22317. }
  22318. },
  22319. "models.QhjAccountOutInApply": {
  22320. "type": "object",
  22321. "properties": {
  22322. "accountcode": {
  22323. "description": "资金账号",
  22324. "type": "string"
  22325. },
  22326. "accountname": {
  22327. "description": "用户名称(名称)",
  22328. "type": "string"
  22329. },
  22330. "accountpwd": {
  22331. "description": "资金密码",
  22332. "type": "string"
  22333. },
  22334. "accountticket": {
  22335. "description": "最新账户服务流水号",
  22336. "type": "string"
  22337. },
  22338. "amount": {
  22339. "description": "金额",
  22340. "type": "number"
  22341. },
  22342. "applyremark": {
  22343. "description": "申请备注",
  22344. "type": "string"
  22345. },
  22346. "applystatus": {
  22347. "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: 复审通过,账户冻结金额检查中;",
  22348. "type": "integer"
  22349. },
  22350. "auditid": {
  22351. "description": "审核人",
  22352. "type": "integer"
  22353. },
  22354. "audittime": {
  22355. "description": "审核时间",
  22356. "type": "string"
  22357. },
  22358. "bank_apply_ticket": {
  22359. "description": "银行申请流水",
  22360. "type": "string"
  22361. },
  22362. "bankaccountname": {
  22363. "description": "银行账户名",
  22364. "type": "string"
  22365. },
  22366. "bankaccountno": {
  22367. "description": "银行卡号",
  22368. "type": "string"
  22369. },
  22370. "bankid": {
  22371. "description": "银行编号",
  22372. "type": "string"
  22373. },
  22374. "bankticket": {
  22375. "description": "银行流水",
  22376. "type": "string"
  22377. },
  22378. "branchbankid": {
  22379. "description": "银行支行号",
  22380. "type": "string"
  22381. },
  22382. "branchbankname": {
  22383. "description": "银行支行名称",
  22384. "type": "string"
  22385. },
  22386. "capamountout": {
  22387. "description": "出金(劣后本金) - 外部子账户",
  22388. "type": "number"
  22389. },
  22390. "certificatephotourl": {
  22391. "description": "凭证地址",
  22392. "type": "string"
  22393. },
  22394. "charge": {
  22395. "description": "手续费",
  22396. "type": "number"
  22397. },
  22398. "checkerrorflag": {
  22399. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  22400. "type": "integer"
  22401. },
  22402. "currency": {
  22403. "description": "币种",
  22404. "type": "string"
  22405. },
  22406. "cusbankid": {
  22407. "description": "托管银行编号",
  22408. "type": "string"
  22409. },
  22410. "exchticket": {
  22411. "description": "银行服务流水号",
  22412. "type": "string"
  22413. },
  22414. "executetype": {
  22415. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  22416. "type": "integer"
  22417. },
  22418. "extendinfo": {
  22419. "description": "扩展信息",
  22420. "type": "string"
  22421. },
  22422. "extoperateid": {
  22423. "description": "交易服务流水号",
  22424. "type": "integer"
  22425. },
  22426. "infamount": {
  22427. "description": "劣后金额(自有)",
  22428. "type": "number"
  22429. },
  22430. "logincode": {
  22431. "description": "登录账号(账号)",
  22432. "type": "string"
  22433. },
  22434. "netaddr": {
  22435. "description": "调转网址",
  22436. "type": "string"
  22437. },
  22438. "priamount": {
  22439. "description": "优先金额(授信)",
  22440. "type": "number"
  22441. },
  22442. "reauditid": {
  22443. "description": "复审人",
  22444. "type": "integer"
  22445. },
  22446. "reauditremark": {
  22447. "description": "复审备注",
  22448. "type": "string"
  22449. },
  22450. "reaudittime": {
  22451. "description": "复审时间",
  22452. "type": "string"
  22453. },
  22454. "relatedorderid": {
  22455. "description": "三方关联ID",
  22456. "type": "string"
  22457. },
  22458. "remark": {
  22459. "description": "备注",
  22460. "type": "string"
  22461. },
  22462. "remark2": {
  22463. "description": "备注(失败原因)",
  22464. "type": "string"
  22465. },
  22466. "soucreamount": {
  22467. "description": "原始出入金金额",
  22468. "type": "number"
  22469. },
  22470. "soucrecurrencyid": {
  22471. "description": "原始出入金币种",
  22472. "type": "integer"
  22473. },
  22474. "tradedate": {
  22475. "description": "交易日(yyyyMMdd)",
  22476. "type": "string"
  22477. },
  22478. "updatetime": {
  22479. "description": "更新时间(申请时间)",
  22480. "type": "string"
  22481. },
  22482. "userid": {
  22483. "description": "用户id",
  22484. "type": "integer"
  22485. },
  22486. "userinfotype": {
  22487. "description": "账户类型 1-个人 2-企业",
  22488. "type": "integer"
  22489. }
  22490. }
  22491. },
  22492. "models.QhjBankAccountSign": {
  22493. "type": "object",
  22494. "properties": {
  22495. "accountcode": {
  22496. "description": "资金账号",
  22497. "type": "string"
  22498. },
  22499. "accountname": {
  22500. "description": "资金账号对应的账号名(UserName)",
  22501. "type": "string"
  22502. },
  22503. "accountname2": {
  22504. "description": "资金账号对应的账号名(UserName) - 密文",
  22505. "type": "string"
  22506. },
  22507. "accounttype": {
  22508. "description": "账户类型(UserType)",
  22509. "type": "integer"
  22510. },
  22511. "applicationtime": {
  22512. "description": "最后一次更新的时间",
  22513. "type": "string"
  22514. },
  22515. "applyexchticket": {
  22516. "description": "申请流水",
  22517. "type": "string"
  22518. },
  22519. "auditid": {
  22520. "description": "审核人",
  22521. "type": "integer"
  22522. },
  22523. "audittime": {
  22524. "description": "审核时间",
  22525. "type": "string"
  22526. },
  22527. "bankaccountname": {
  22528. "description": "签约银行卡账号名",
  22529. "type": "string"
  22530. },
  22531. "bankaccountname2": {
  22532. "description": "签约银行卡账号名 - 密文",
  22533. "type": "string"
  22534. },
  22535. "bankaccountno": {
  22536. "description": "银行卡号",
  22537. "type": "string"
  22538. },
  22539. "bankaccountno2": {
  22540. "description": "银行卡号 - 密文",
  22541. "type": "string"
  22542. },
  22543. "bankaccounttype": {
  22544. "description": "银行账户类型 - 1-对私; 2-对公",
  22545. "type": "integer"
  22546. },
  22547. "bankcardtype": {
  22548. "description": "银行卡类型",
  22549. "type": "integer"
  22550. },
  22551. "bankchildaccount": {
  22552. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  22553. "type": "string"
  22554. },
  22555. "bankcity": {
  22556. "description": "开户行城市",
  22557. "type": "string"
  22558. },
  22559. "bankid": {
  22560. "description": "签约银行ID",
  22561. "type": "string"
  22562. },
  22563. "bankname": {
  22564. "description": "签约银行名称",
  22565. "type": "string"
  22566. },
  22567. "bankprovince": {
  22568. "description": "开户行省份",
  22569. "type": "string"
  22570. },
  22571. "branchbankid": {
  22572. "description": "签约银行支行号",
  22573. "type": "string"
  22574. },
  22575. "branchbankname": {
  22576. "description": "签约银行支行名称",
  22577. "type": "string"
  22578. },
  22579. "cardno": {
  22580. "description": "证件号码",
  22581. "type": "string"
  22582. },
  22583. "cardno2": {
  22584. "description": "证件号码 - 密文",
  22585. "type": "string"
  22586. },
  22587. "cardtype": {
  22588. "description": "证件类型",
  22589. "type": "string"
  22590. },
  22591. "currency": {
  22592. "description": "币种",
  22593. "type": "string"
  22594. },
  22595. "cusbankid": {
  22596. "description": "托管银行编号",
  22597. "type": "string"
  22598. },
  22599. "direct": {
  22600. "description": "方向(可以判断那方先发起的签约)",
  22601. "type": "integer"
  22602. },
  22603. "exchticket": {
  22604. "description": "最后一次签约成功的流水号",
  22605. "type": "string"
  22606. },
  22607. "extendinfo": {
  22608. "description": "扩展信息(JSON字符串)",
  22609. "type": "string"
  22610. },
  22611. "mobilephone": {
  22612. "description": "手机号",
  22613. "type": "string"
  22614. },
  22615. "mobilephone2": {
  22616. "description": "手机号 - 密文",
  22617. "type": "string"
  22618. },
  22619. "netaddr": {
  22620. "description": "调转网址",
  22621. "type": "string"
  22622. },
  22623. "relateduserid": {
  22624. "description": "关联使用者userid",
  22625. "type": "integer"
  22626. },
  22627. "signstatus": {
  22628. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  22629. "type": "integer"
  22630. },
  22631. "updatetime": {
  22632. "description": "更新时间(签解约更新时间)",
  22633. "type": "string"
  22634. }
  22635. }
  22636. },
  22637. "models.QhjBankInfo": {
  22638. "type": "object",
  22639. "properties": {
  22640. "bankid": {
  22641. "description": "银行ID",
  22642. "type": "string"
  22643. },
  22644. "bankname": {
  22645. "description": "银行名称",
  22646. "type": "string"
  22647. },
  22648. "clearbankno": {
  22649. "description": "清算系统银行编号",
  22650. "type": "string"
  22651. },
  22652. "orderindex": {
  22653. "description": "排序顺序",
  22654. "type": "integer"
  22655. },
  22656. "status": {
  22657. "description": "状态 - 0:正常 1:注销",
  22658. "type": "integer"
  22659. }
  22660. }
  22661. },
  22662. "models.QhjContract": {
  22663. "type": "object",
  22664. "properties": {
  22665. "contractconfirmtime": {
  22666. "description": "合同确认时间(时间)",
  22667. "type": "string"
  22668. },
  22669. "currisklevel": {
  22670. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  22671. "type": "integer"
  22672. },
  22673. "decimalplace": {
  22674. "description": "商品报价小数位",
  22675. "type": "integer"
  22676. },
  22677. "enumdicname": {
  22678. "description": "单位名称",
  22679. "type": "string"
  22680. },
  22681. "goodscode": {
  22682. "description": "商品代码",
  22683. "type": "string"
  22684. },
  22685. "goodsid": {
  22686. "description": "商品ID [5:融资单]",
  22687. "type": "integer"
  22688. },
  22689. "goodsname": {
  22690. "description": "商品名称",
  22691. "type": "string"
  22692. },
  22693. "goodunitid": {
  22694. "description": "商品单位id",
  22695. "type": "integer"
  22696. },
  22697. "initmargin": {
  22698. "description": "初始保证金(首付款)",
  22699. "type": "number"
  22700. },
  22701. "lenderamount": {
  22702. "description": "贷款金额(总额|订单总额)",
  22703. "type": "number"
  22704. },
  22705. "marginratio": {
  22706. "description": "保证金比率(首付比例)",
  22707. "type": "number"
  22708. },
  22709. "payamount": {
  22710. "description": "已付(已付货款)",
  22711. "type": "number"
  22712. },
  22713. "reckonrecovermargin": {
  22714. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  22715. "type": "number"
  22716. },
  22717. "recoveredmargin": {
  22718. "description": "已追缴保证金",
  22719. "type": "number"
  22720. },
  22721. "remainamount": {
  22722. "description": "合同剩余金额(融资额)",
  22723. "type": "number"
  22724. },
  22725. "scfcontractid": {
  22726. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22727. "type": "string"
  22728. },
  22729. "scfcontractstatus": {
  22730. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  22731. "type": "integer"
  22732. },
  22733. "scfcontracttype": {
  22734. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  22735. "type": "integer"
  22736. },
  22737. "totalinterest": {
  22738. "description": "已计总利息(利息)",
  22739. "type": "number"
  22740. },
  22741. "tradeprice": {
  22742. "description": "成交价格(成本价格)",
  22743. "type": "number"
  22744. },
  22745. "userid": {
  22746. "description": "用户ID",
  22747. "type": "integer"
  22748. },
  22749. "username": {
  22750. "description": "用户名称",
  22751. "type": "string"
  22752. },
  22753. "wrqty": {
  22754. "description": "仓单数量(数量)",
  22755. "type": "number"
  22756. }
  22757. }
  22758. },
  22759. "models.QhjContractLog": {
  22760. "type": "object",
  22761. "properties": {
  22762. "amount": {
  22763. "description": "支付金额",
  22764. "type": "number"
  22765. },
  22766. "amounttype": {
  22767. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  22768. "type": "integer"
  22769. },
  22770. "logid": {
  22771. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22772. "type": "string"
  22773. },
  22774. "remainamount": {
  22775. "description": "剩余货款",
  22776. "type": "number"
  22777. },
  22778. "scfcontractid": {
  22779. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22780. "type": "integer"
  22781. },
  22782. "updatetime": {
  22783. "description": "更新时间",
  22784. "type": "string"
  22785. }
  22786. }
  22787. },
  22788. "models.QhjCusBankSignBankEx": {
  22789. "type": "object",
  22790. "properties": {
  22791. "banklst": {
  22792. "description": "银行列表",
  22793. "type": "array",
  22794. "items": {
  22795. "$ref": "#/definitions/models.QhjBankInfo"
  22796. }
  22797. },
  22798. "canallot": {
  22799. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  22800. "type": "integer"
  22801. },
  22802. "canallotquery": {
  22803. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  22804. "type": "integer"
  22805. },
  22806. "canbindcard": {
  22807. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  22808. "type": "integer"
  22809. },
  22810. "caninamount": {
  22811. "description": "是否可入金 - 0:不可 1:可以",
  22812. "type": "integer"
  22813. },
  22814. "caninamount2": {
  22815. "description": "是否可入金(网银端) - 0:不可 1:可以",
  22816. "type": "integer"
  22817. },
  22818. "canmodifybankcard": {
  22819. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  22820. "type": "integer"
  22821. },
  22822. "canmodifyphone": {
  22823. "description": "是否可修改手机号 - 0:不可 1:可以",
  22824. "type": "integer"
  22825. },
  22826. "canmodifysigninfo": {
  22827. "description": "是否可修改签约信息 - 0:不可 1:可以",
  22828. "type": "integer"
  22829. },
  22830. "canoutamount": {
  22831. "description": "是否可出金 - 0:不可 1:可以",
  22832. "type": "integer"
  22833. },
  22834. "canoutamount2": {
  22835. "description": "是否可出金(网银端) - 0:不可 1:可以",
  22836. "type": "integer"
  22837. },
  22838. "canrelease": {
  22839. "description": "是否可解约 - 0:不可 1:可以",
  22840. "type": "integer"
  22841. },
  22842. "canrelease2": {
  22843. "description": "是否可解约(网银端) - 0:不可 1:可以",
  22844. "type": "integer"
  22845. },
  22846. "cansign": {
  22847. "description": "是否可签约 - 0:不可 1:可以",
  22848. "type": "integer"
  22849. },
  22850. "cansign2": {
  22851. "description": "是否可签约(网银端) - 0:不可 1:可以",
  22852. "type": "integer"
  22853. },
  22854. "currency": {
  22855. "description": "币种",
  22856. "type": "string"
  22857. },
  22858. "cusbankid": {
  22859. "description": "托管银行编号(对应清算中心TRAN_NO)",
  22860. "type": "string"
  22861. },
  22862. "cusbankname": {
  22863. "description": "银行业务名称",
  22864. "type": "string"
  22865. },
  22866. "cusbankshortname": {
  22867. "description": "银行业务简称",
  22868. "type": "string"
  22869. },
  22870. "exchbankid": {
  22871. "description": "交易所开户银行ID",
  22872. "type": "string"
  22873. },
  22874. "exchpaybankaccname": {
  22875. "description": "交易所支出结算账户户名",
  22876. "type": "string"
  22877. },
  22878. "exchpaybankaccno": {
  22879. "description": "交易所支出结算账户",
  22880. "type": "string"
  22881. },
  22882. "isneedcheck": {
  22883. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  22884. "type": "integer"
  22885. },
  22886. "isneedclear": {
  22887. "description": "是否需要清算 - 0:不需要 1:需要",
  22888. "type": "integer"
  22889. },
  22890. "lastcheckstatus": {
  22891. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  22892. "type": "integer"
  22893. },
  22894. "lastchecktime": {
  22895. "description": "最后对账时间",
  22896. "type": "string"
  22897. },
  22898. "lastclearstatus": {
  22899. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  22900. "type": "integer"
  22901. },
  22902. "lastcleartime": {
  22903. "description": "最后清算时间",
  22904. "type": "string"
  22905. },
  22906. "lastsignintime": {
  22907. "description": "最后签到时间",
  22908. "type": "string"
  22909. },
  22910. "lastsignouttime": {
  22911. "description": "最后签退时间",
  22912. "type": "string"
  22913. },
  22914. "riskinfo": {
  22915. "description": "签约风险提示书",
  22916. "type": "string"
  22917. },
  22918. "signstatus": {
  22919. "description": "当前签到/签退状态 - 1:签到 2:签退",
  22920. "type": "integer"
  22921. },
  22922. "tradedate": {
  22923. "description": "交易日(yyyyMMdd)",
  22924. "type": "string"
  22925. },
  22926. "updatetime": {
  22927. "description": "当前签到/签退更新时间",
  22928. "type": "string"
  22929. }
  22930. }
  22931. },
  22932. "models.QhjCustomer": {
  22933. "type": "object",
  22934. "properties": {
  22935. "address": {
  22936. "description": "通讯地址",
  22937. "type": "string"
  22938. },
  22939. "attachment1": {
  22940. "description": "附件1",
  22941. "type": "string"
  22942. },
  22943. "audittime": {
  22944. "description": "审核时间",
  22945. "type": "string"
  22946. },
  22947. "cardbackphotourl": {
  22948. "description": "证件反面图片地址",
  22949. "type": "string"
  22950. },
  22951. "cardfrontphotourl": {
  22952. "description": "证件正面图片地址",
  22953. "type": "string"
  22954. },
  22955. "cardnum": {
  22956. "description": "证件号码",
  22957. "type": "string"
  22958. },
  22959. "cardtype": {
  22960. "description": "证件类型",
  22961. "type": "integer"
  22962. },
  22963. "cardtypename": {
  22964. "description": "证件类型名称",
  22965. "type": "string"
  22966. },
  22967. "cityid": {
  22968. "description": "市",
  22969. "type": "integer"
  22970. },
  22971. "cityname": {
  22972. "description": "城市名称",
  22973. "type": "string"
  22974. },
  22975. "contactname": {
  22976. "description": "联系人",
  22977. "type": "string"
  22978. },
  22979. "countryid": {
  22980. "description": "国家",
  22981. "type": "integer"
  22982. },
  22983. "countryname": {
  22984. "description": "国家名称",
  22985. "type": "string"
  22986. },
  22987. "createtime": {
  22988. "description": "创建时间",
  22989. "type": "string"
  22990. },
  22991. "customername": {
  22992. "description": "客户名称",
  22993. "type": "string"
  22994. },
  22995. "districtid": {
  22996. "description": "区域",
  22997. "type": "integer"
  22998. },
  22999. "districtname": {
  23000. "description": "地区名称",
  23001. "type": "string"
  23002. },
  23003. "email": {
  23004. "description": "邮件",
  23005. "type": "string"
  23006. },
  23007. "legalpersonname": {
  23008. "description": "法人姓名(企业)",
  23009. "type": "string"
  23010. },
  23011. "logincode": {
  23012. "description": "登录账号(代码)",
  23013. "type": "string"
  23014. },
  23015. "memberuserid": {
  23016. "description": "所属机构ID(所属会员)",
  23017. "type": "integer"
  23018. },
  23019. "memberusername": {
  23020. "description": "所属会员名称",
  23021. "type": "string"
  23022. },
  23023. "mobile": {
  23024. "description": "手机号码",
  23025. "type": "string"
  23026. },
  23027. "modifytime": {
  23028. "description": "修改时间",
  23029. "type": "string"
  23030. },
  23031. "nickname": {
  23032. "description": "昵称",
  23033. "type": "string"
  23034. },
  23035. "parentuserid": {
  23036. "description": "上级机构(所属机构)",
  23037. "type": "integer"
  23038. },
  23039. "parentusername": {
  23040. "description": "所属机构名称",
  23041. "type": "string"
  23042. },
  23043. "provinceid": {
  23044. "description": "省",
  23045. "type": "integer"
  23046. },
  23047. "provincename": {
  23048. "description": "省名称",
  23049. "type": "string"
  23050. },
  23051. "proxystatementurl": {
  23052. "description": "授权委托书",
  23053. "type": "string"
  23054. },
  23055. "remark": {
  23056. "description": "备注",
  23057. "type": "string"
  23058. },
  23059. "status": {
  23060. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  23061. "type": "integer"
  23062. },
  23063. "statusdesc": {
  23064. "description": "账户状态中文描述",
  23065. "type": "string"
  23066. },
  23067. "taxpayernum": {
  23068. "description": "纳税人识别号",
  23069. "type": "string"
  23070. },
  23071. "telphone": {
  23072. "description": "联系电话",
  23073. "type": "string"
  23074. },
  23075. "userid": {
  23076. "description": "用户ID",
  23077. "type": "integer"
  23078. },
  23079. "userinfotype": {
  23080. "description": "客户类型 1-个人 2-企业",
  23081. "type": "integer"
  23082. },
  23083. "username": {
  23084. "description": "用户名称",
  23085. "type": "string"
  23086. }
  23087. }
  23088. },
  23089. "models.QhjMgrAccountOutInApply": {
  23090. "type": "object",
  23091. "properties": {
  23092. "accountcode": {
  23093. "description": "资金账号",
  23094. "type": "string"
  23095. },
  23096. "accountname": {
  23097. "description": "用户名称(名称)",
  23098. "type": "string"
  23099. },
  23100. "accountpwd": {
  23101. "description": "资金密码",
  23102. "type": "string"
  23103. },
  23104. "accountticket": {
  23105. "description": "最新账户服务流水号",
  23106. "type": "string"
  23107. },
  23108. "amount": {
  23109. "description": "金额",
  23110. "type": "number"
  23111. },
  23112. "applyremark": {
  23113. "description": "申请备注",
  23114. "type": "string"
  23115. },
  23116. "applystatus": {
  23117. "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: 复审通过,账户冻结金额检查中;",
  23118. "type": "integer"
  23119. },
  23120. "auditid": {
  23121. "description": "审核人",
  23122. "type": "integer"
  23123. },
  23124. "audittime": {
  23125. "description": "审核时间",
  23126. "type": "string"
  23127. },
  23128. "bank_apply_ticket": {
  23129. "description": "银行申请流水",
  23130. "type": "string"
  23131. },
  23132. "bankaccountname": {
  23133. "description": "银行账户名",
  23134. "type": "string"
  23135. },
  23136. "bankaccountno": {
  23137. "description": "银行卡号",
  23138. "type": "string"
  23139. },
  23140. "bankid": {
  23141. "description": "银行编号",
  23142. "type": "string"
  23143. },
  23144. "bankname": {
  23145. "description": "银行名称",
  23146. "type": "string"
  23147. },
  23148. "bankticket": {
  23149. "description": "银行流水",
  23150. "type": "string"
  23151. },
  23152. "branchbankid": {
  23153. "description": "银行支行号",
  23154. "type": "string"
  23155. },
  23156. "branchbankname": {
  23157. "description": "银行支行名称",
  23158. "type": "string"
  23159. },
  23160. "capamountout": {
  23161. "description": "出金(劣后本金) - 外部子账户",
  23162. "type": "number"
  23163. },
  23164. "certificatephotourl": {
  23165. "description": "凭证地址",
  23166. "type": "string"
  23167. },
  23168. "charge": {
  23169. "description": "手续费",
  23170. "type": "number"
  23171. },
  23172. "checkerrorflag": {
  23173. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  23174. "type": "integer"
  23175. },
  23176. "currency": {
  23177. "description": "币种",
  23178. "type": "string"
  23179. },
  23180. "cusbankid": {
  23181. "description": "托管银行编号",
  23182. "type": "string"
  23183. },
  23184. "exchticket": {
  23185. "description": "银行服务流水号",
  23186. "type": "string"
  23187. },
  23188. "executetype": {
  23189. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  23190. "type": "integer"
  23191. },
  23192. "extendinfo": {
  23193. "description": "扩展信息",
  23194. "type": "string"
  23195. },
  23196. "extoperateid": {
  23197. "description": "交易服务流水号",
  23198. "type": "integer"
  23199. },
  23200. "infamount": {
  23201. "description": "劣后金额(自有)",
  23202. "type": "number"
  23203. },
  23204. "logincode": {
  23205. "description": "登录账号(账号)",
  23206. "type": "string"
  23207. },
  23208. "netaddr": {
  23209. "description": "调转网址",
  23210. "type": "string"
  23211. },
  23212. "priamount": {
  23213. "description": "优先金额(授信)",
  23214. "type": "number"
  23215. },
  23216. "reauditid": {
  23217. "description": "复审人",
  23218. "type": "integer"
  23219. },
  23220. "reauditremark": {
  23221. "description": "复审备注",
  23222. "type": "string"
  23223. },
  23224. "reaudittime": {
  23225. "description": "复审时间",
  23226. "type": "string"
  23227. },
  23228. "relatedorderid": {
  23229. "description": "三方关联ID",
  23230. "type": "string"
  23231. },
  23232. "remark": {
  23233. "description": "备注",
  23234. "type": "string"
  23235. },
  23236. "remark2": {
  23237. "description": "备注(失败原因)",
  23238. "type": "string"
  23239. },
  23240. "soucreamount": {
  23241. "description": "原始出入金金额",
  23242. "type": "number"
  23243. },
  23244. "soucrecurrencyid": {
  23245. "description": "原始出入金币种",
  23246. "type": "integer"
  23247. },
  23248. "tradedate": {
  23249. "description": "交易日(yyyyMMdd)",
  23250. "type": "string"
  23251. },
  23252. "updatetime": {
  23253. "description": "更新时间(申请时间)",
  23254. "type": "string"
  23255. },
  23256. "userid": {
  23257. "description": "用户id",
  23258. "type": "integer"
  23259. },
  23260. "userinfotype": {
  23261. "description": "账户类型 1-个人 2-企业",
  23262. "type": "integer"
  23263. }
  23264. }
  23265. },
  23266. "models.QhjMgrContract": {
  23267. "type": "object",
  23268. "properties": {
  23269. "contractconfirmtime": {
  23270. "description": "合同确认时间(时间)",
  23271. "type": "string"
  23272. },
  23273. "currisklevel": {
  23274. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  23275. "type": "integer"
  23276. },
  23277. "decimalplace": {
  23278. "description": "商品报价小数位",
  23279. "type": "integer"
  23280. },
  23281. "enumdicname": {
  23282. "description": "单位名称",
  23283. "type": "string"
  23284. },
  23285. "goodscode": {
  23286. "description": "商品代码",
  23287. "type": "string"
  23288. },
  23289. "goodsid": {
  23290. "description": "商品ID [5:融资单]",
  23291. "type": "integer"
  23292. },
  23293. "goodsname": {
  23294. "description": "商品名称",
  23295. "type": "string"
  23296. },
  23297. "goodunitid": {
  23298. "description": "商品单位id",
  23299. "type": "integer"
  23300. },
  23301. "initmargin": {
  23302. "description": "初始保证金(首付款)",
  23303. "type": "number"
  23304. },
  23305. "lenderamount": {
  23306. "description": "贷款金额(总额|订单总额)",
  23307. "type": "number"
  23308. },
  23309. "logincode": {
  23310. "description": "账号(登录代码)",
  23311. "type": "string"
  23312. },
  23313. "marginratio": {
  23314. "description": "保证金比率(首付比例)",
  23315. "type": "number"
  23316. },
  23317. "mobile": {
  23318. "description": "电话号码(用户资料里的电话)",
  23319. "type": "string"
  23320. },
  23321. "payamount": {
  23322. "description": "已付(已付货款)",
  23323. "type": "number"
  23324. },
  23325. "reckonrecovermargin": {
  23326. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  23327. "type": "number"
  23328. },
  23329. "recoveredmargin": {
  23330. "description": "已追缴保证金",
  23331. "type": "number"
  23332. },
  23333. "remainamount": {
  23334. "description": "合同剩余金额(融资额)",
  23335. "type": "number"
  23336. },
  23337. "scfcontractid": {
  23338. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23339. "type": "string"
  23340. },
  23341. "scfcontractstatus": {
  23342. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  23343. "type": "integer"
  23344. },
  23345. "scfcontracttype": {
  23346. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  23347. "type": "integer"
  23348. },
  23349. "totalinterest": {
  23350. "description": "已计总利息(利息)",
  23351. "type": "number"
  23352. },
  23353. "tradedate": {
  23354. "description": "交易日",
  23355. "type": "string"
  23356. },
  23357. "tradeprice": {
  23358. "description": "成交价格(成本价格)",
  23359. "type": "number"
  23360. },
  23361. "userid": {
  23362. "description": "用户ID",
  23363. "type": "integer"
  23364. },
  23365. "userinfotype": {
  23366. "description": "用户类型 1-个人 2-企业",
  23367. "type": "integer"
  23368. },
  23369. "username": {
  23370. "description": "用户名称",
  23371. "type": "string"
  23372. },
  23373. "wrqty": {
  23374. "description": "仓单数量(数量)",
  23375. "type": "number"
  23376. }
  23377. }
  23378. },
  23379. "models.QhjMgrPositionRsp": {
  23380. "type": "object",
  23381. "properties": {
  23382. "accountid": {
  23383. "description": "账号Id",
  23384. "type": "integer"
  23385. },
  23386. "accountname": {
  23387. "description": "用户名称",
  23388. "type": "string"
  23389. },
  23390. "agreeunit": {
  23391. "description": "合约乘数",
  23392. "type": "number"
  23393. },
  23394. "averageprice": {
  23395. "description": "均价",
  23396. "type": "number"
  23397. },
  23398. "avialqty": {
  23399. "description": "可用数量",
  23400. "type": "number"
  23401. },
  23402. "decimalplace": {
  23403. "description": "报价小数位",
  23404. "type": "integer"
  23405. },
  23406. "enumdicname": {
  23407. "description": "单位名称(商品)",
  23408. "type": "string"
  23409. },
  23410. "frozenqty": {
  23411. "description": "冻结数量",
  23412. "type": "number"
  23413. },
  23414. "goodscode": {
  23415. "description": "商品代码(内部)",
  23416. "type": "string"
  23417. },
  23418. "goodsid": {
  23419. "description": "商品Id",
  23420. "type": "integer"
  23421. },
  23422. "goodsname": {
  23423. "description": "商品名称",
  23424. "type": "string"
  23425. },
  23426. "goodunitid": {
  23427. "description": "报价单位ID",
  23428. "type": "integer"
  23429. },
  23430. "holderamount": {
  23431. "description": "金额",
  23432. "type": "number"
  23433. },
  23434. "holderqty": {
  23435. "description": "持有数量",
  23436. "type": "number"
  23437. },
  23438. "holdertype": {
  23439. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  23440. "type": "integer"
  23441. },
  23442. "logincode": {
  23443. "description": "登录代码(账户)",
  23444. "type": "string"
  23445. },
  23446. "marketid": {
  23447. "description": "市场id",
  23448. "type": "integer"
  23449. },
  23450. "qtydecimalplace": {
  23451. "description": "成交量小数位",
  23452. "type": "integer"
  23453. },
  23454. "trademode": {
  23455. "description": "交易模式",
  23456. "type": "integer"
  23457. },
  23458. "userid": {
  23459. "description": "用户id",
  23460. "type": "integer"
  23461. },
  23462. "userinfotype": {
  23463. "description": "账户类型 1-个人 2-企业",
  23464. "type": "integer"
  23465. }
  23466. }
  23467. },
  23468. "models.QhjMgrSubArea": {
  23469. "type": "object",
  23470. "properties": {
  23471. "accountname": {
  23472. "description": "账户名称(机构名称)",
  23473. "type": "string"
  23474. },
  23475. "memberuserid": {
  23476. "description": "所属会员ID",
  23477. "type": "integer"
  23478. },
  23479. "parenttopuser": {
  23480. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23481. "type": "string"
  23482. },
  23483. "parentuserid": {
  23484. "description": "所属机构ID",
  23485. "type": "integer"
  23486. },
  23487. "rootuserid": {
  23488. "description": "根用户ID",
  23489. "type": "string"
  23490. },
  23491. "subaccountlevel": {
  23492. "description": "子账户层数",
  23493. "type": "integer"
  23494. },
  23495. "subarealevelpath": {
  23496. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23497. "type": "string"
  23498. },
  23499. "userid": {
  23500. "description": "用户ID",
  23501. "type": "integer"
  23502. },
  23503. "usertype": {
  23504. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23505. "type": "integer"
  23506. }
  23507. }
  23508. },
  23509. "models.QhjMgrTradeDetailRsp": {
  23510. "type": "object",
  23511. "properties": {
  23512. "accountid": {
  23513. "description": "资金账号",
  23514. "type": "integer"
  23515. },
  23516. "accountname": {
  23517. "description": "用户名称",
  23518. "type": "string"
  23519. },
  23520. "agreeunit": {
  23521. "description": "合约乘数",
  23522. "type": "number"
  23523. },
  23524. "buyorsell": {
  23525. "description": "成交类型(方向) 0:买 1:卖",
  23526. "type": "integer"
  23527. },
  23528. "decimalplace": {
  23529. "description": "报价小数位",
  23530. "type": "integer"
  23531. },
  23532. "enumdicname": {
  23533. "description": "单位名称(商品)",
  23534. "type": "string"
  23535. },
  23536. "goodscode": {
  23537. "description": "商品代码(内部)",
  23538. "type": "string"
  23539. },
  23540. "goodsid": {
  23541. "description": "商品id",
  23542. "type": "integer"
  23543. },
  23544. "goodsname": {
  23545. "description": "商品名称",
  23546. "type": "string"
  23547. },
  23548. "goodunitid": {
  23549. "description": "报价单位ID",
  23550. "type": "integer"
  23551. },
  23552. "logincode": {
  23553. "description": "登录代码(账户)",
  23554. "type": "string"
  23555. },
  23556. "marketid": {
  23557. "description": "市场id",
  23558. "type": "integer"
  23559. },
  23560. "orderid": {
  23561. "description": "关联委托单号",
  23562. "type": "string"
  23563. },
  23564. "qtydecimalplace": {
  23565. "description": "成交量小数位",
  23566. "type": "integer"
  23567. },
  23568. "tradeamount": {
  23569. "description": "金额",
  23570. "type": "number"
  23571. },
  23572. "tradedate": {
  23573. "description": "交易日",
  23574. "type": "string"
  23575. },
  23576. "tradeid": {
  23577. "description": "成交单号",
  23578. "type": "string"
  23579. },
  23580. "trademode": {
  23581. "description": "交易模式",
  23582. "type": "integer"
  23583. },
  23584. "tradeprice": {
  23585. "description": "价格",
  23586. "type": "number"
  23587. },
  23588. "tradeqty": {
  23589. "description": "数量",
  23590. "type": "number"
  23591. },
  23592. "tradetime": {
  23593. "description": "成交时间",
  23594. "type": "string"
  23595. },
  23596. "userid": {
  23597. "description": "用户id",
  23598. "type": "integer"
  23599. },
  23600. "userinfotype": {
  23601. "description": "账户类型 1-个人 2-企业",
  23602. "type": "integer"
  23603. }
  23604. }
  23605. },
  23606. "models.QhjMgrTradeOrderDetailRsp": {
  23607. "type": "object",
  23608. "properties": {
  23609. "accountid": {
  23610. "description": "资金账号",
  23611. "type": "integer"
  23612. },
  23613. "accountname": {
  23614. "description": "用户名称",
  23615. "type": "string"
  23616. },
  23617. "agreeunit": {
  23618. "description": "合约乘数",
  23619. "type": "number"
  23620. },
  23621. "amount": {
  23622. "description": "金额",
  23623. "type": "number"
  23624. },
  23625. "decimalplace": {
  23626. "description": "报价小数位",
  23627. "type": "integer"
  23628. },
  23629. "enumdicname": {
  23630. "description": "单位名称(商品)",
  23631. "type": "string"
  23632. },
  23633. "goodscode": {
  23634. "description": "商品代码(内部)",
  23635. "type": "string"
  23636. },
  23637. "goodsid": {
  23638. "description": "商品id",
  23639. "type": "integer"
  23640. },
  23641. "goodsname": {
  23642. "description": "商品名称",
  23643. "type": "string"
  23644. },
  23645. "goodunitid": {
  23646. "description": "报价单位ID",
  23647. "type": "integer"
  23648. },
  23649. "logincode": {
  23650. "description": "登录代码(账户)",
  23651. "type": "string"
  23652. },
  23653. "marketid": {
  23654. "description": "市场id",
  23655. "type": "integer"
  23656. },
  23657. "orderid": {
  23658. "description": "关联委托单号",
  23659. "type": "string"
  23660. },
  23661. "orderprice": {
  23662. "description": "价格",
  23663. "type": "number"
  23664. },
  23665. "orderqty": {
  23666. "description": "数量",
  23667. "type": "number"
  23668. },
  23669. "orderstatus": {
  23670. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23671. "type": "integer"
  23672. },
  23673. "ordertime": {
  23674. "description": "委托时间",
  23675. "type": "string"
  23676. },
  23677. "qtydecimalplace": {
  23678. "description": "成交量小数位",
  23679. "type": "integer"
  23680. },
  23681. "tradedate": {
  23682. "description": "交易日",
  23683. "type": "string"
  23684. },
  23685. "trademode": {
  23686. "description": "交易模式",
  23687. "type": "integer"
  23688. },
  23689. "userid": {
  23690. "description": "用户id",
  23691. "type": "integer"
  23692. },
  23693. "userinfotype": {
  23694. "description": "账户类型 1-个人 2-企业",
  23695. "type": "integer"
  23696. }
  23697. }
  23698. },
  23699. "models.QhjMgrTradePayOrder": {
  23700. "type": "object",
  23701. "properties": {
  23702. "accountname": {
  23703. "description": "用户名称",
  23704. "type": "string"
  23705. },
  23706. "advanceratio": {
  23707. "description": "首付比率",
  23708. "type": "number"
  23709. },
  23710. "agreeunit": {
  23711. "description": "合约乘数",
  23712. "type": "number"
  23713. },
  23714. "buyaccountid": {
  23715. "description": "买方账号ID[报价币种]",
  23716. "type": "integer"
  23717. },
  23718. "buyorderid": {
  23719. "description": "买方委托单号(关联单号)",
  23720. "type": "string"
  23721. },
  23722. "createtime": {
  23723. "description": "创建时间",
  23724. "type": "string"
  23725. },
  23726. "decimalplace": {
  23727. "description": "报价小数位",
  23728. "type": "integer"
  23729. },
  23730. "enumdicname": {
  23731. "description": "单位名称(商品)",
  23732. "type": "string"
  23733. },
  23734. "goodscode": {
  23735. "description": "商品代码(内部)",
  23736. "type": "string"
  23737. },
  23738. "goodsid": {
  23739. "description": "商品ID",
  23740. "type": "integer"
  23741. },
  23742. "goodsname": {
  23743. "description": "商品名称",
  23744. "type": "string"
  23745. },
  23746. "goodunitid": {
  23747. "description": "报价单位ID",
  23748. "type": "integer"
  23749. },
  23750. "logincode": {
  23751. "description": "登录代码(账户)",
  23752. "type": "string"
  23753. },
  23754. "marketid": {
  23755. "description": "市场id",
  23756. "type": "integer"
  23757. },
  23758. "offamount": {
  23759. "description": "优惠金额",
  23760. "type": "number"
  23761. },
  23762. "operatetype": {
  23763. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  23764. "type": "integer"
  23765. },
  23766. "payamount": {
  23767. "description": "支付金额(金额)",
  23768. "type": "number"
  23769. },
  23770. "payflag": {
  23771. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23772. "type": "integer"
  23773. },
  23774. "paylimitedtime": {
  23775. "description": "支付期限",
  23776. "type": "string"
  23777. },
  23778. "paytime": {
  23779. "description": "付款时间",
  23780. "type": "string"
  23781. },
  23782. "qtydecimalplace": {
  23783. "description": "成交量小数位",
  23784. "type": "integer"
  23785. },
  23786. "sellaccountid": {
  23787. "description": "卖方账号ID[报价币种]",
  23788. "type": "integer"
  23789. },
  23790. "sellorderid": {
  23791. "description": "卖方委托单号",
  23792. "type": "string"
  23793. },
  23794. "tradeamount": {
  23795. "description": "成交金额(优惠后金额)",
  23796. "type": "number"
  23797. },
  23798. "tradecharge": {
  23799. "description": "成交手续费(买方)",
  23800. "type": "number"
  23801. },
  23802. "tradedate": {
  23803. "description": "交易日(yyyyMMdd)",
  23804. "type": "string"
  23805. },
  23806. "tradeid": {
  23807. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23808. "type": "string"
  23809. },
  23810. "trademode": {
  23811. "description": "交易模式",
  23812. "type": "integer"
  23813. },
  23814. "tradeprice": {
  23815. "description": "成交价格(价格)",
  23816. "type": "number"
  23817. },
  23818. "tradeqty": {
  23819. "description": "成交数量(数量)",
  23820. "type": "number"
  23821. },
  23822. "tradetime": {
  23823. "description": "成交时间",
  23824. "type": "string"
  23825. },
  23826. "userid": {
  23827. "description": "用户id",
  23828. "type": "integer"
  23829. },
  23830. "userinfotype": {
  23831. "description": "账户类型 1-个人 2-企业",
  23832. "type": "integer"
  23833. }
  23834. }
  23835. },
  23836. "models.QhjParentAreaList": {
  23837. "type": "object",
  23838. "properties": {
  23839. "accountname": {
  23840. "description": "账户名称(机构名称)",
  23841. "type": "string"
  23842. },
  23843. "userid": {
  23844. "description": "用户ID",
  23845. "type": "integer"
  23846. },
  23847. "usertype": {
  23848. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23849. "type": "integer"
  23850. }
  23851. }
  23852. },
  23853. "models.QhjPayOrder": {
  23854. "type": "object",
  23855. "properties": {
  23856. "advanceratio": {
  23857. "description": "首付比率",
  23858. "type": "number"
  23859. },
  23860. "buyaccountid": {
  23861. "description": "买方账号ID[报价币种]",
  23862. "type": "integer"
  23863. },
  23864. "buyorderid": {
  23865. "description": "买方委托单号",
  23866. "type": "string"
  23867. },
  23868. "createtime": {
  23869. "description": "创建时间",
  23870. "type": "string"
  23871. },
  23872. "decimalplace": {
  23873. "description": "商品报价小数位",
  23874. "type": "integer"
  23875. },
  23876. "enumdicname": {
  23877. "description": "单位名称",
  23878. "type": "string"
  23879. },
  23880. "goodscode": {
  23881. "description": "商品代码",
  23882. "type": "string"
  23883. },
  23884. "goodsid": {
  23885. "description": "商品ID",
  23886. "type": "integer"
  23887. },
  23888. "goodsname": {
  23889. "description": "商品名称",
  23890. "type": "string"
  23891. },
  23892. "goodunitid": {
  23893. "description": "商品单位id",
  23894. "type": "integer"
  23895. },
  23896. "marketid": {
  23897. "description": "市场ID",
  23898. "type": "integer"
  23899. },
  23900. "offamount": {
  23901. "description": "优惠金额",
  23902. "type": "number"
  23903. },
  23904. "operatetype": {
  23905. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  23906. "type": "integer"
  23907. },
  23908. "payamount": {
  23909. "description": "支付金额",
  23910. "type": "number"
  23911. },
  23912. "payflag": {
  23913. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23914. "type": "integer"
  23915. },
  23916. "paylimitedtime": {
  23917. "description": "支付期限",
  23918. "type": "string"
  23919. },
  23920. "paytime": {
  23921. "description": "付款时间",
  23922. "type": "string"
  23923. },
  23924. "qtydecimalplace": {
  23925. "description": "成交量小数位",
  23926. "type": "integer"
  23927. },
  23928. "sellaccountid": {
  23929. "description": "卖方账号ID[报价币种]",
  23930. "type": "integer"
  23931. },
  23932. "sellorderid": {
  23933. "description": "卖方委托单号",
  23934. "type": "string"
  23935. },
  23936. "tradeamount": {
  23937. "description": "成交金额(优惠后金额)",
  23938. "type": "number"
  23939. },
  23940. "tradecharge": {
  23941. "description": "成交手续费(买方)",
  23942. "type": "number"
  23943. },
  23944. "tradedate": {
  23945. "description": "交易日(yyyyMMdd)",
  23946. "type": "string"
  23947. },
  23948. "tradeid": {
  23949. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23950. "type": "string"
  23951. },
  23952. "tradeprice": {
  23953. "description": "成交价格",
  23954. "type": "number"
  23955. },
  23956. "tradeqty": {
  23957. "description": "成交数量",
  23958. "type": "number"
  23959. }
  23960. }
  23961. },
  23962. "models.QhjPickArea": {
  23963. "type": "object",
  23964. "properties": {
  23965. "address": {
  23966. "description": "详细地址",
  23967. "type": "string"
  23968. },
  23969. "cityid": {
  23970. "description": "市",
  23971. "type": "integer"
  23972. },
  23973. "cityname": {
  23974. "description": "城市名称",
  23975. "type": "string"
  23976. },
  23977. "countryid": {
  23978. "description": "国家",
  23979. "type": "integer"
  23980. },
  23981. "countryname": {
  23982. "description": "国家名称",
  23983. "type": "string"
  23984. },
  23985. "districtid": {
  23986. "description": "地区",
  23987. "type": "integer"
  23988. },
  23989. "districtname": {
  23990. "description": "地区名称",
  23991. "type": "string"
  23992. },
  23993. "fromuserid": {
  23994. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  23995. "type": "integer"
  23996. },
  23997. "fromusername": {
  23998. "description": "所属机构名称",
  23999. "type": "string"
  24000. },
  24001. "provinceid": {
  24002. "description": "省",
  24003. "type": "integer"
  24004. },
  24005. "provincename": {
  24006. "description": "省名称",
  24007. "type": "string"
  24008. },
  24009. "suborgtype": {
  24010. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  24011. "type": "integer"
  24012. },
  24013. "userid": {
  24014. "description": "机构用户ID 其他做市关系,都设置为 1",
  24015. "type": "integer"
  24016. },
  24017. "username": {
  24018. "description": "机构用户名称(门店门称)",
  24019. "type": "string"
  24020. }
  24021. }
  24022. },
  24023. "models.QhjPickGoods": {
  24024. "type": "object",
  24025. "properties": {
  24026. "enumdicname": {
  24027. "description": "单位名称(提货商品)",
  24028. "type": "string"
  24029. },
  24030. "goodsid": {
  24031. "description": "商品id",
  24032. "type": "integer"
  24033. },
  24034. "imageaddress": {
  24035. "description": "图片",
  24036. "type": "string"
  24037. },
  24038. "modifierid": {
  24039. "description": "修改人",
  24040. "type": "integer"
  24041. },
  24042. "modifiername": {
  24043. "description": "修改人名称",
  24044. "type": "string"
  24045. },
  24046. "modifysrc": {
  24047. "description": "修改来源 - 1:管理端 2:终端",
  24048. "type": "integer"
  24049. },
  24050. "pickupgoodsagreeunit": {
  24051. "description": "合约乘数",
  24052. "type": "number"
  24053. },
  24054. "pickupgoodsdesc": {
  24055. "description": "描述",
  24056. "type": "string"
  24057. },
  24058. "pickupgoodsid": {
  24059. "description": "提货商品ID",
  24060. "type": "string"
  24061. },
  24062. "pickupgoodsname": {
  24063. "description": "提货商品名称",
  24064. "type": "string"
  24065. },
  24066. "pickupgoodsstatus": {
  24067. "description": "状态 - 1:正常 2:停用 3:注销",
  24068. "type": "integer"
  24069. },
  24070. "pickupgoodsunitid": {
  24071. "description": "单位ID",
  24072. "type": "integer"
  24073. },
  24074. "pickupratio": {
  24075. "description": "提货系数",
  24076. "type": "number"
  24077. },
  24078. "preparedays": {
  24079. "description": "备货期(天)",
  24080. "type": "integer"
  24081. },
  24082. "remark": {
  24083. "description": "备注",
  24084. "type": "string"
  24085. },
  24086. "updatetime": {
  24087. "description": "更新时间",
  24088. "type": "string"
  24089. }
  24090. }
  24091. },
  24092. "models.QhjRSTriggerLog": {
  24093. "type": "object",
  24094. "properties": {
  24095. "accountid": {
  24096. "description": "用户资金账户",
  24097. "type": "integer"
  24098. },
  24099. "accountname": {
  24100. "description": "账号名称(ACCOUNTID对应的名称)",
  24101. "type": "string"
  24102. },
  24103. "currencyid": {
  24104. "description": "币种id",
  24105. "type": "integer"
  24106. },
  24107. "currencyname": {
  24108. "description": "币种名称",
  24109. "type": "string"
  24110. },
  24111. "decimalplace": {
  24112. "description": "商品报价小数位",
  24113. "type": "integer"
  24114. },
  24115. "enumdicname": {
  24116. "description": "单位名称",
  24117. "type": "string"
  24118. },
  24119. "goodscode": {
  24120. "description": "定投商品代码",
  24121. "type": "string"
  24122. },
  24123. "goodsid": {
  24124. "description": "定投商品ID",
  24125. "type": "integer"
  24126. },
  24127. "goodsname": {
  24128. "description": "定投商品名称",
  24129. "type": "string"
  24130. },
  24131. "goodunitid": {
  24132. "description": "定投商品单位id",
  24133. "type": "integer"
  24134. },
  24135. "logid": {
  24136. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  24137. "type": "string"
  24138. },
  24139. "logincode": {
  24140. "description": "账号(登录代码)",
  24141. "type": "string"
  24142. },
  24143. "qtydecimalplace": {
  24144. "description": "成交量小数位",
  24145. "type": "integer"
  24146. },
  24147. "regularlycycle": {
  24148. "description": "定投频率 - 1:每周 2:每月",
  24149. "type": "integer"
  24150. },
  24151. "regularlycyclevalue": {
  24152. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  24153. "type": "string"
  24154. },
  24155. "regularlymode": {
  24156. "description": "定投方式 - 1:按数量 2:按金额",
  24157. "type": "integer"
  24158. },
  24159. "regularlymodevalue": {
  24160. "description": "定投方式值 - 数量或金额",
  24161. "type": "number"
  24162. },
  24163. "regularlystrategyid": {
  24164. "description": "定投策略ID",
  24165. "type": "integer"
  24166. },
  24167. "retcode": {
  24168. "description": "错误码",
  24169. "type": "string"
  24170. },
  24171. "tradeid": {
  24172. "description": "成交单ID",
  24173. "type": "string"
  24174. },
  24175. "triggeramount": {
  24176. "description": "触发金额",
  24177. "type": "number"
  24178. },
  24179. "triggerqty": {
  24180. "description": "触发数量",
  24181. "type": "number"
  24182. },
  24183. "triggerstatus": {
  24184. "description": "触发状态 - 1:成功 2:失败",
  24185. "type": "integer"
  24186. },
  24187. "triggertime": {
  24188. "description": "触发时间",
  24189. "type": "string"
  24190. },
  24191. "triggertradedate": {
  24192. "description": "触发交易日",
  24193. "type": "string"
  24194. },
  24195. "userid": {
  24196. "description": "所属用户ID",
  24197. "type": "integer"
  24198. },
  24199. "userinfotype": {
  24200. "description": "用户类型 1-个人 2-企业",
  24201. "type": "integer"
  24202. },
  24203. "username": {
  24204. "description": "用户名称(userid对应的名称)",
  24205. "type": "string"
  24206. }
  24207. }
  24208. },
  24209. "models.QhjRStrategy": {
  24210. "type": "object",
  24211. "properties": {
  24212. "accountid": {
  24213. "description": "用户资金账户",
  24214. "type": "integer"
  24215. },
  24216. "accountname": {
  24217. "description": "账号名称(ACCOUNTID对应的名称)",
  24218. "type": "string"
  24219. },
  24220. "currencyid": {
  24221. "description": "币种id",
  24222. "type": "integer"
  24223. },
  24224. "currencyname": {
  24225. "description": "币种名称",
  24226. "type": "string"
  24227. },
  24228. "decimalplace": {
  24229. "description": "商品报价小数位",
  24230. "type": "integer"
  24231. },
  24232. "enumdicname": {
  24233. "description": "单位名称",
  24234. "type": "string"
  24235. },
  24236. "goodscode": {
  24237. "description": "定投商品代码",
  24238. "type": "string"
  24239. },
  24240. "goodsid": {
  24241. "description": "定投商品ID",
  24242. "type": "integer"
  24243. },
  24244. "goodsname": {
  24245. "description": "定投商品名称",
  24246. "type": "string"
  24247. },
  24248. "goodunitid": {
  24249. "description": "定投商品单位id",
  24250. "type": "integer"
  24251. },
  24252. "lasteffecttradedate": {
  24253. "description": "最新生效交易日",
  24254. "type": "string"
  24255. },
  24256. "laststoptradedate": {
  24257. "description": "最新暂停交易日",
  24258. "type": "string"
  24259. },
  24260. "lasttriggertradedate": {
  24261. "description": "最新触发交易日",
  24262. "type": "string"
  24263. },
  24264. "logincode": {
  24265. "description": "账号(登录代码)",
  24266. "type": "string"
  24267. },
  24268. "nexttriggeramount": {
  24269. "description": "下次触发金额",
  24270. "type": "number"
  24271. },
  24272. "nexttriggerdate": {
  24273. "description": "下次触发日期",
  24274. "type": "string"
  24275. },
  24276. "nexttriggerqty": {
  24277. "description": "下次触发数量 [按小数位放大值]",
  24278. "type": "number"
  24279. },
  24280. "qtydecimalplace": {
  24281. "description": "成交量小数位",
  24282. "type": "integer"
  24283. },
  24284. "regularlycycle": {
  24285. "description": "定投频率 - 1:每周 2:每月",
  24286. "type": "integer"
  24287. },
  24288. "regularlycyclevalue": {
  24289. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  24290. "type": "string"
  24291. },
  24292. "regularlymode": {
  24293. "description": "定投方式 - 1:按数量 2:按金额",
  24294. "type": "integer"
  24295. },
  24296. "regularlymodevalue": {
  24297. "description": "定投方式值 - 数量或金额",
  24298. "type": "number"
  24299. },
  24300. "regularlystrategyid": {
  24301. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  24302. "type": "integer"
  24303. },
  24304. "regularlystrategystatus": {
  24305. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  24306. "type": "integer"
  24307. },
  24308. "remark": {
  24309. "description": "备注",
  24310. "type": "string"
  24311. },
  24312. "triggersuccesstimes": {
  24313. "description": "累计定投成功次数",
  24314. "type": "string"
  24315. },
  24316. "triggertotalamount": {
  24317. "description": "累计定投金额(成功)",
  24318. "type": "number"
  24319. },
  24320. "triggertotalqty": {
  24321. "description": "累计定投数量(成功) [按小数位放大值]",
  24322. "type": "number"
  24323. },
  24324. "triggertotaltimes": {
  24325. "description": "累计定投总次数",
  24326. "type": "string"
  24327. },
  24328. "updatesrc": {
  24329. "description": "更新来源 - 1:管理端 2:终端",
  24330. "type": "integer"
  24331. },
  24332. "updatetime": {
  24333. "description": "更新时间",
  24334. "type": "string"
  24335. },
  24336. "updatorid": {
  24337. "description": "更新人",
  24338. "type": "string"
  24339. },
  24340. "userid": {
  24341. "description": "所属用户ID",
  24342. "type": "integer"
  24343. },
  24344. "userinfotype": {
  24345. "description": "用户类型 1-个人 2-企业",
  24346. "type": "integer"
  24347. },
  24348. "username": {
  24349. "description": "用户名称(userid对应的名称)",
  24350. "type": "string"
  24351. }
  24352. }
  24353. },
  24354. "models.QhjReckonPriceLog": {
  24355. "type": "object",
  24356. "properties": {
  24357. "decimalplace": {
  24358. "description": "商品报价小数位",
  24359. "type": "integer"
  24360. },
  24361. "goodscode": {
  24362. "description": "商品代码",
  24363. "type": "string"
  24364. },
  24365. "goodsid": {
  24366. "description": "商品ID",
  24367. "type": "integer"
  24368. },
  24369. "goodsname": {
  24370. "description": "商品名称",
  24371. "type": "string"
  24372. },
  24373. "lastreckonprice": {
  24374. "description": "上日结算价",
  24375. "type": "number"
  24376. },
  24377. "nextdnlimitprice": {
  24378. "description": "下个交易日跌停价",
  24379. "type": "number"
  24380. },
  24381. "nexttrade": {
  24382. "description": "下个交易日",
  24383. "type": "string"
  24384. },
  24385. "nextuplimitprice": {
  24386. "description": "下个交易日涨停价",
  24387. "type": "number"
  24388. },
  24389. "reckonprice": {
  24390. "description": "今日结算价(定投价)",
  24391. "type": "number"
  24392. },
  24393. "reckontime": {
  24394. "description": "结算时间",
  24395. "type": "string"
  24396. },
  24397. "totalholderqty": {
  24398. "description": "总持仓数",
  24399. "type": "integer"
  24400. },
  24401. "totalstock": {
  24402. "description": "总库存",
  24403. "type": "integer"
  24404. },
  24405. "tradedate": {
  24406. "description": "交易日",
  24407. "type": "string"
  24408. },
  24409. "updowncount": {
  24410. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  24411. "type": "integer"
  24412. },
  24413. "updownflag": {
  24414. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  24415. "type": "integer"
  24416. },
  24417. "updownrate": {
  24418. "description": "今日涨跌幅",
  24419. "type": "number"
  24420. },
  24421. "updownrate_2d": {
  24422. "description": "连续两日涨跌幅",
  24423. "type": "number"
  24424. },
  24425. "updownrate_3d": {
  24426. "description": "连续三日涨跌幅",
  24427. "type": "number"
  24428. }
  24429. }
  24430. },
  24431. "models.QhjSiteColumnDetail": {
  24432. "type": "object",
  24433. "properties": {
  24434. "author": {
  24435. "description": "作者",
  24436. "type": "string"
  24437. },
  24438. "brief": {
  24439. "description": "简介",
  24440. "type": "string"
  24441. },
  24442. "columnid": {
  24443. "description": "所属栏目",
  24444. "type": "integer"
  24445. },
  24446. "context": {
  24447. "description": "内容",
  24448. "type": "string"
  24449. },
  24450. "coverimage": {
  24451. "description": "封面图片",
  24452. "type": "string"
  24453. },
  24454. "creaedate": {
  24455. "description": "创建时间",
  24456. "type": "string"
  24457. },
  24458. "creatorid": {
  24459. "description": "创建人",
  24460. "type": "integer"
  24461. },
  24462. "hits": {
  24463. "description": "点击数",
  24464. "type": "integer"
  24465. },
  24466. "id": {
  24467. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  24468. "type": "integer"
  24469. },
  24470. "isshow": {
  24471. "description": "是否展示 - 0:不展示 1:展示",
  24472. "type": "integer"
  24473. },
  24474. "istop": {
  24475. "description": "是否置顶 - 0:不置 1:置顶",
  24476. "type": "integer"
  24477. },
  24478. "modifierid": {
  24479. "description": "操作人",
  24480. "type": "integer"
  24481. },
  24482. "publishdate": {
  24483. "description": "发布日期",
  24484. "type": "string"
  24485. },
  24486. "status": {
  24487. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  24488. "type": "integer"
  24489. },
  24490. "title": {
  24491. "description": "标题",
  24492. "type": "string"
  24493. },
  24494. "updatedate": {
  24495. "description": "修改时间",
  24496. "type": "string"
  24497. },
  24498. "userid": {
  24499. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  24500. "type": "integer"
  24501. },
  24502. "username": {
  24503. "description": "用户名称",
  24504. "type": "string"
  24505. }
  24506. }
  24507. },
  24508. "models.QhjTradeGoodsPickup": {
  24509. "type": "object",
  24510. "properties": {
  24511. "accountid": {
  24512. "description": "账户ID",
  24513. "type": "integer"
  24514. },
  24515. "address": {
  24516. "description": "提货人详细地址",
  24517. "type": "string"
  24518. },
  24519. "amount": {
  24520. "description": "提货金额",
  24521. "type": "number"
  24522. },
  24523. "artradedate": {
  24524. "description": "自动收货交易日(yyyyMMdd)",
  24525. "type": "string"
  24526. },
  24527. "auditer": {
  24528. "description": "审核人",
  24529. "type": "integer"
  24530. },
  24531. "auditsrc": {
  24532. "description": "更新来源 - 1:管理端 2:终端",
  24533. "type": "integer"
  24534. },
  24535. "audittime": {
  24536. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  24537. "type": "string"
  24538. },
  24539. "audittradedate": {
  24540. "description": "审核交易日(yyyyMMdd)",
  24541. "type": "string"
  24542. },
  24543. "cardnum": {
  24544. "description": "提货人证件号码",
  24545. "type": "string"
  24546. },
  24547. "cardtypeid": {
  24548. "description": "提货人证件类型",
  24549. "type": "integer"
  24550. },
  24551. "checkremark": {
  24552. "description": "审核备注",
  24553. "type": "string"
  24554. },
  24555. "cityid": {
  24556. "description": "市",
  24557. "type": "integer"
  24558. },
  24559. "cityname": {
  24560. "description": "城市名称",
  24561. "type": "string"
  24562. },
  24563. "confirmtime": {
  24564. "description": "取货时间 或 收货时间",
  24565. "type": "string"
  24566. },
  24567. "countryid": {
  24568. "description": "国家",
  24569. "type": "integer"
  24570. },
  24571. "countryname": {
  24572. "description": "国家名称",
  24573. "type": "string"
  24574. },
  24575. "decimalplace": {
  24576. "description": "商品报价小数位",
  24577. "type": "integer"
  24578. },
  24579. "districtid": {
  24580. "description": "地区",
  24581. "type": "integer"
  24582. },
  24583. "districtname": {
  24584. "description": "地区名称",
  24585. "type": "string"
  24586. },
  24587. "enumdicname": {
  24588. "description": "单位名称(提货商品)",
  24589. "type": "string"
  24590. },
  24591. "expresscompany": {
  24592. "description": "物流公司",
  24593. "type": "string"
  24594. },
  24595. "expressnum": {
  24596. "description": "物流单号",
  24597. "type": "string"
  24598. },
  24599. "goodsagreeunit": {
  24600. "description": "交易商品乘数",
  24601. "type": "number"
  24602. },
  24603. "goodscode": {
  24604. "description": "商品代码",
  24605. "type": "string"
  24606. },
  24607. "goodsid": {
  24608. "description": "商品ID",
  24609. "type": "integer"
  24610. },
  24611. "goodsname": {
  24612. "description": "商品名称",
  24613. "type": "string"
  24614. },
  24615. "goodsqty": {
  24616. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  24617. "type": "number"
  24618. },
  24619. "handlestatus": {
  24620. "description": "处理状态",
  24621. "type": "integer"
  24622. },
  24623. "logincode": {
  24624. "description": "账号(登录代码, 有可能为空)",
  24625. "type": "string"
  24626. },
  24627. "marketid": {
  24628. "description": "市场ID",
  24629. "type": "integer"
  24630. },
  24631. "phonenum": {
  24632. "description": "提货人联系方式",
  24633. "type": "string"
  24634. },
  24635. "pickupgoodsagreeunit": {
  24636. "description": "提货商品合约乘数",
  24637. "type": "number"
  24638. },
  24639. "pickupgoodsid": {
  24640. "description": "提货商品ID",
  24641. "type": "string"
  24642. },
  24643. "pickupgoodsname": {
  24644. "description": "提货商品名称",
  24645. "type": "string"
  24646. },
  24647. "pickupgoodsqty": {
  24648. "description": "提货商品手数(数量)",
  24649. "type": "number"
  24650. },
  24651. "pickupgoodsunitid": {
  24652. "description": "单位ID(提货商品)",
  24653. "type": "integer"
  24654. },
  24655. "pickupratio": {
  24656. "description": "提货系数",
  24657. "type": "number"
  24658. },
  24659. "preparedays": {
  24660. "description": "备货期(天)-提货单明细表",
  24661. "type": "integer"
  24662. },
  24663. "provinceid": {
  24664. "description": "省",
  24665. "type": "integer"
  24666. },
  24667. "provincename": {
  24668. "description": "省名称",
  24669. "type": "string"
  24670. },
  24671. "qty": {
  24672. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  24673. "type": "number"
  24674. },
  24675. "qtydecimalplace": {
  24676. "description": "商品数量小数位",
  24677. "type": "integer"
  24678. },
  24679. "recivername": {
  24680. "description": "提货人姓名",
  24681. "type": "string"
  24682. },
  24683. "reqtime": {
  24684. "description": "提货申请时间",
  24685. "type": "string"
  24686. },
  24687. "storeuserid": {
  24688. "description": "门店用户ID (千海金)",
  24689. "type": "integer"
  24690. },
  24691. "storeusername": {
  24692. "description": "门店用户名称",
  24693. "type": "string"
  24694. },
  24695. "takemode": {
  24696. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  24697. "type": "integer"
  24698. },
  24699. "takeorderid": {
  24700. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24701. "type": "string"
  24702. },
  24703. "takeorderstatus": {
  24704. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  24705. "type": "integer"
  24706. },
  24707. "takeremark": {
  24708. "description": "提货备注",
  24709. "type": "string"
  24710. },
  24711. "tradedate": {
  24712. "description": "交易日(yyyyMMdd)",
  24713. "type": "string"
  24714. },
  24715. "updatetime": {
  24716. "description": "更新时间",
  24717. "type": "string"
  24718. },
  24719. "userid": {
  24720. "description": "用户ID",
  24721. "type": "integer"
  24722. },
  24723. "userinfotype": {
  24724. "description": "客户类型 1-个人 2-企业",
  24725. "type": "integer"
  24726. },
  24727. "username": {
  24728. "description": "用户名称",
  24729. "type": "string"
  24730. }
  24731. }
  24732. },
  24733. "models.Qhjgoodsex": {
  24734. "type": "object",
  24735. "properties": {
  24736. "canfinance": {
  24737. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  24738. "type": "integer"
  24739. },
  24740. "canregularlybuy": {
  24741. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  24742. "type": "integer"
  24743. },
  24744. "defaulttradeuserid": {
  24745. "description": "默认交易用户ID",
  24746. "type": "integer"
  24747. },
  24748. "deliverygoodsid": {
  24749. "description": "现货品种ID",
  24750. "type": "integer"
  24751. },
  24752. "goodsid": {
  24753. "description": "商品ID(自增ID SEQ_GOODS)",
  24754. "type": "integer"
  24755. },
  24756. "minamount": {
  24757. "description": "最小购买金额",
  24758. "type": "number"
  24759. },
  24760. "regularlybuyminamount": {
  24761. "description": "定投最小金额",
  24762. "type": "number"
  24763. },
  24764. "regularlybuyminqty": {
  24765. "description": "定投最小数量",
  24766. "type": "number"
  24767. },
  24768. "spotgoodsbrandid": {
  24769. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  24770. "type": "integer"
  24771. },
  24772. "wrstandardid": {
  24773. "description": "现货商品ID",
  24774. "type": "integer"
  24775. }
  24776. }
  24777. },
  24778. "models.QueryErrorInfosRsp": {
  24779. "type": "object",
  24780. "required": [
  24781. "errorid"
  24782. ],
  24783. "properties": {
  24784. "description": {
  24785. "description": "异常描述",
  24786. "type": "string"
  24787. },
  24788. "errorcode": {
  24789. "description": "异常代码",
  24790. "type": "string"
  24791. },
  24792. "errorid": {
  24793. "description": "异常ID",
  24794. "type": "integer"
  24795. },
  24796. "modulecode": {
  24797. "description": "所属模块",
  24798. "type": "string"
  24799. },
  24800. "operatecode": {
  24801. "description": "所属操作",
  24802. "type": "string"
  24803. },
  24804. "rownumber": {
  24805. "description": "行号",
  24806. "type": "string"
  24807. }
  24808. }
  24809. },
  24810. "models.QueryHedgeOrderDetailRsp": {
  24811. "type": "object",
  24812. "properties": {
  24813. "accountid": {
  24814. "description": "账户ID",
  24815. "type": "integer"
  24816. },
  24817. "buyorsell": {
  24818. "description": "买卖 - 0:买 1:卖",
  24819. "type": "integer"
  24820. },
  24821. "cancellogincode": {
  24822. "description": "撤单人",
  24823. "type": "string"
  24824. },
  24825. "channelbuildtype": {
  24826. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  24827. "type": "integer"
  24828. },
  24829. "channelinnerorderstatus": {
  24830. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  24831. "type": "integer"
  24832. },
  24833. "channeloperatetype": {
  24834. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  24835. "type": "integer"
  24836. },
  24837. "closetype": {
  24838. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24839. "type": "integer"
  24840. },
  24841. "curexchangerate": {
  24842. "description": "当前汇率",
  24843. "type": "number"
  24844. },
  24845. "exchangefullname": {
  24846. "description": "外部交易所全称",
  24847. "type": "string"
  24848. },
  24849. "goodscode": {
  24850. "description": "商品代码(内部)",
  24851. "type": "string"
  24852. },
  24853. "goodsid": {
  24854. "description": "商品ID",
  24855. "type": "integer"
  24856. },
  24857. "goodsname": {
  24858. "description": "商品名称",
  24859. "type": "string"
  24860. },
  24861. "marketid": {
  24862. "description": "市场ID",
  24863. "type": "integer"
  24864. },
  24865. "openfreezemargin": {
  24866. "description": "冻结保证金(冻结交易金额)",
  24867. "type": "number"
  24868. },
  24869. "orderid": {
  24870. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24871. "type": "string"
  24872. },
  24873. "orderlogincode": {
  24874. "description": "委托人",
  24875. "type": "string"
  24876. },
  24877. "orderprice": {
  24878. "description": "委托价格(账户)",
  24879. "type": "number"
  24880. },
  24881. "orderqty": {
  24882. "description": "委托数量",
  24883. "type": "integer"
  24884. },
  24885. "ordertime": {
  24886. "description": "委托时间",
  24887. "type": "string"
  24888. },
  24889. "pricemode": {
  24890. "description": "取价方式 - 1:市价 2: 限价",
  24891. "type": "integer"
  24892. },
  24893. "tradedate": {
  24894. "description": "交易日(yyyyMMdd)",
  24895. "type": "string"
  24896. },
  24897. "tradeqty": {
  24898. "description": "成交数量",
  24899. "type": "integer"
  24900. }
  24901. }
  24902. },
  24903. "models.QueryHedgeTradeDetailRsp": {
  24904. "type": "object",
  24905. "properties": {
  24906. "accountid": {
  24907. "description": "账号ID",
  24908. "type": "integer"
  24909. },
  24910. "buyorsell": {
  24911. "description": "方向 - 0:买 1:卖",
  24912. "type": "integer"
  24913. },
  24914. "channelbuildtype": {
  24915. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24916. "type": "integer"
  24917. },
  24918. "closecharge": {
  24919. "description": "平仓手续费(账户)",
  24920. "type": "number"
  24921. },
  24922. "closecharge2": {
  24923. "description": "平仓手续费(商品)",
  24924. "type": "number"
  24925. },
  24926. "closepl": {
  24927. "description": "平仓盈亏(账户)",
  24928. "type": "number"
  24929. },
  24930. "closepl2": {
  24931. "description": "平仓盈亏(商品)",
  24932. "type": "number"
  24933. },
  24934. "closepl3": {
  24935. "description": "平仓盈亏(账户)(逐笔)",
  24936. "type": "number"
  24937. },
  24938. "closepl4": {
  24939. "description": "平仓盈亏(商品)(逐笔)",
  24940. "type": "number"
  24941. },
  24942. "closetype": {
  24943. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24944. "type": "integer"
  24945. },
  24946. "curexchangerate": {
  24947. "description": "当前汇率",
  24948. "type": "number"
  24949. },
  24950. "exchangefullname": {
  24951. "description": "外部交易所全称",
  24952. "type": "string"
  24953. },
  24954. "goodscode": {
  24955. "description": "商品代码(内部)",
  24956. "type": "string"
  24957. },
  24958. "goodsid": {
  24959. "description": "商品ID",
  24960. "type": "integer"
  24961. },
  24962. "goodsname": {
  24963. "description": "商品名称",
  24964. "type": "string"
  24965. },
  24966. "marketid": {
  24967. "description": "市场ID",
  24968. "type": "integer"
  24969. },
  24970. "opencharge": {
  24971. "description": "建仓手续费(账户)",
  24972. "type": "number"
  24973. },
  24974. "opencharge2": {
  24975. "description": "建仓手续费(商品)",
  24976. "type": "number"
  24977. },
  24978. "orderid": {
  24979. "description": "委托单号",
  24980. "type": "string"
  24981. },
  24982. "orderlogincode": {
  24983. "description": "委托人",
  24984. "type": "string"
  24985. },
  24986. "tradeamount": {
  24987. "description": "成交金额(账户)",
  24988. "type": "number"
  24989. },
  24990. "tradedate": {
  24991. "description": "交易日(yyyyMMdd)",
  24992. "type": "string"
  24993. },
  24994. "tradeid": {
  24995. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24996. "type": "string"
  24997. },
  24998. "tradeprice": {
  24999. "description": "成交价格",
  25000. "type": "number"
  25001. },
  25002. "tradeqty": {
  25003. "description": "成交数量",
  25004. "type": "integer"
  25005. },
  25006. "tradetime": {
  25007. "description": "成交时间",
  25008. "type": "string"
  25009. },
  25010. "tradetype": {
  25011. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25012. "type": "integer"
  25013. }
  25014. }
  25015. },
  25016. "models.QuotePrimaryMenu": {
  25017. "type": "object",
  25018. "properties": {
  25019. "Index": {
  25020. "description": "序号",
  25021. "type": "integer"
  25022. },
  25023. "Key": {
  25024. "description": "键名",
  25025. "type": "string"
  25026. },
  25027. "Name": {
  25028. "description": "菜单名称",
  25029. "type": "string"
  25030. },
  25031. "SubMenus": {
  25032. "description": "子菜单",
  25033. "type": "array",
  25034. "items": {
  25035. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  25036. }
  25037. },
  25038. "SubTitleType": {
  25039. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  25040. "type": "integer"
  25041. },
  25042. "TradeModes": {
  25043. "description": "包含市场交易类型",
  25044. "type": "string"
  25045. }
  25046. }
  25047. },
  25048. "models.QuoteSecondaryMenu": {
  25049. "type": "object",
  25050. "properties": {
  25051. "ExExchangeCode": {
  25052. "description": "外部交易所代码",
  25053. "type": "string"
  25054. },
  25055. "ExExchangeID": {
  25056. "description": "外部交易所ID",
  25057. "type": "integer"
  25058. },
  25059. "GoodsGroupIDs": {
  25060. "description": "商品组ID列表",
  25061. "type": "array",
  25062. "items": {
  25063. "type": "integer"
  25064. }
  25065. },
  25066. "Index": {
  25067. "description": "序号",
  25068. "type": "integer"
  25069. },
  25070. "MarketID": {
  25071. "description": "市场ID",
  25072. "type": "integer"
  25073. },
  25074. "MenuTitle": {
  25075. "description": "菜单标题(市场名称或外部交易所名称)",
  25076. "type": "string"
  25077. },
  25078. "TradeMode": {
  25079. "description": "交易模式",
  25080. "type": "integer"
  25081. }
  25082. }
  25083. },
  25084. "models.SearchGoods": {
  25085. "type": "object",
  25086. "required": [
  25087. "goodscode",
  25088. "goodsid",
  25089. "goodsname",
  25090. "marketid",
  25091. "trademode"
  25092. ],
  25093. "properties": {
  25094. "goodscode": {
  25095. "description": "商品代码(内部)",
  25096. "type": "string"
  25097. },
  25098. "goodsid": {
  25099. "description": "商品ID(自增ID SEQ_GOODS)",
  25100. "type": "integer"
  25101. },
  25102. "goodsname": {
  25103. "description": "商品名称",
  25104. "type": "string"
  25105. },
  25106. "marketid": {
  25107. "description": "所属市场ID",
  25108. "type": "integer"
  25109. },
  25110. "marketname": {
  25111. "description": "市场名称",
  25112. "type": "string"
  25113. },
  25114. "trademode": {
  25115. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25116. "type": "integer"
  25117. }
  25118. }
  25119. },
  25120. "models.Systemparam": {
  25121. "type": "object",
  25122. "required": [
  25123. "paramcode"
  25124. ],
  25125. "properties": {
  25126. "loginid": {
  25127. "description": "更新用户账号,登录账号",
  25128. "type": "string"
  25129. },
  25130. "modifyflag": {
  25131. "description": "修改标志0 不允许修改 1 允许修改",
  25132. "type": "integer"
  25133. },
  25134. "paramcode": {
  25135. "description": "参数代码",
  25136. "type": "string"
  25137. },
  25138. "paramname": {
  25139. "description": "参数名",
  25140. "type": "string"
  25141. },
  25142. "paramtype": {
  25143. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  25144. "type": "integer"
  25145. },
  25146. "paramvalue": {
  25147. "description": "参数值",
  25148. "type": "string"
  25149. },
  25150. "paramvalue2": {
  25151. "description": "参数值(CLOB)",
  25152. "type": "string"
  25153. },
  25154. "regexpress": {
  25155. "description": "正则表达式",
  25156. "type": "string"
  25157. },
  25158. "remark": {
  25159. "description": "备注",
  25160. "type": "string"
  25161. },
  25162. "serverip": {
  25163. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  25164. "type": "string"
  25165. },
  25166. "showflag": {
  25167. "description": "是否显示0 不显示 1 显示",
  25168. "type": "integer"
  25169. },
  25170. "updatetime": {
  25171. "description": "更新时间",
  25172. "type": "string"
  25173. },
  25174. "userid": {
  25175. "description": "更新用户ID",
  25176. "type": "integer"
  25177. }
  25178. }
  25179. },
  25180. "models.Szdz3convertconfig": {
  25181. "type": "object",
  25182. "required": [
  25183. "converttype",
  25184. "innergoodsid",
  25185. "outergoodscode"
  25186. ],
  25187. "properties": {
  25188. "canin": {
  25189. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  25190. "type": "integer"
  25191. },
  25192. "canout": {
  25193. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  25194. "type": "integer"
  25195. },
  25196. "converttype": {
  25197. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  25198. "type": "integer"
  25199. },
  25200. "createtime": {
  25201. "description": "创建时间",
  25202. "type": "string"
  25203. },
  25204. "creatorid": {
  25205. "description": "创建人",
  25206. "type": "integer"
  25207. },
  25208. "daymaxvalue": {
  25209. "description": "当日最大转入限制",
  25210. "type": "number"
  25211. },
  25212. "freezedays": {
  25213. "description": "冻结天数 [5:花生米转交易]",
  25214. "type": "integer"
  25215. },
  25216. "innergoodsid": {
  25217. "description": "内部商品ID[交易]",
  25218. "type": "integer"
  25219. },
  25220. "inratio": {
  25221. "description": "目标值",
  25222. "type": "integer"
  25223. },
  25224. "modifierid": {
  25225. "description": "修改人",
  25226. "type": "integer"
  25227. },
  25228. "modifytime": {
  25229. "description": "修改时间",
  25230. "type": "string"
  25231. },
  25232. "outergoodscode": {
  25233. "description": "外部商品代码[JD\\PD]",
  25234. "type": "string"
  25235. },
  25236. "outratio": {
  25237. "description": "源值",
  25238. "type": "integer"
  25239. },
  25240. "pddecimalplace": {
  25241. "description": "PD小数位",
  25242. "type": "integer"
  25243. },
  25244. "timemaxvalue": {
  25245. "description": "单次最大转入限制",
  25246. "type": "number"
  25247. },
  25248. "timeminvalue": {
  25249. "description": "单次最小转入限制",
  25250. "type": "number"
  25251. }
  25252. }
  25253. },
  25254. "models.Szdz3searchwhitelist": {
  25255. "type": "object",
  25256. "required": [
  25257. "userid"
  25258. ],
  25259. "properties": {
  25260. "createtime": {
  25261. "description": "创建时间",
  25262. "type": "string"
  25263. },
  25264. "creatorid": {
  25265. "description": "创建人",
  25266. "type": "integer"
  25267. },
  25268. "modifierid": {
  25269. "description": "修改人",
  25270. "type": "integer"
  25271. },
  25272. "modifytime": {
  25273. "description": "修改时间",
  25274. "type": "string"
  25275. },
  25276. "userid": {
  25277. "description": "用户ID",
  25278. "type": "integer"
  25279. }
  25280. }
  25281. },
  25282. "models.Taaccount": {
  25283. "type": "object",
  25284. "required": [
  25285. "accountid",
  25286. "userid"
  25287. ],
  25288. "properties": {
  25289. "accountflag": {
  25290. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  25291. "type": "integer"
  25292. },
  25293. "accountid": {
  25294. "description": "资金账户ID",
  25295. "type": "integer"
  25296. },
  25297. "accountname": {
  25298. "description": "账户名称",
  25299. "type": "string"
  25300. },
  25301. "balance": {
  25302. "description": "期初余额",
  25303. "type": "number"
  25304. },
  25305. "capitalbalance": {
  25306. "description": "本金余额[外部子账户实际出入金余额]",
  25307. "type": "number"
  25308. },
  25309. "changeflag": {
  25310. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  25311. "type": "integer"
  25312. },
  25313. "changetime": {
  25314. "description": "账户状态变更时间",
  25315. "type": "string"
  25316. },
  25317. "closepl": {
  25318. "description": "今日平仓盈亏",
  25319. "type": "number"
  25320. },
  25321. "creditdecrease": {
  25322. "description": "今日授信减少",
  25323. "type": "number"
  25324. },
  25325. "creditincrease": {
  25326. "description": "今日授信增加",
  25327. "type": "number"
  25328. },
  25329. "currencyid": {
  25330. "description": "货币ID",
  25331. "type": "integer"
  25332. },
  25333. "currentbalance": {
  25334. "description": "期末余额",
  25335. "type": "number"
  25336. },
  25337. "freezecharge": {
  25338. "description": "手续费冻结",
  25339. "type": "number"
  25340. },
  25341. "freezemargin": {
  25342. "description": "冻结保证金",
  25343. "type": "number"
  25344. },
  25345. "fromaccountid": {
  25346. "description": "所属上级账户",
  25347. "type": "integer"
  25348. },
  25349. "inamount": {
  25350. "description": "今日入金金额(包括三方入金)",
  25351. "type": "number"
  25352. },
  25353. "ismain": {
  25354. "description": "是否母账号 0:不是母账户 1:是母账户",
  25355. "type": "integer"
  25356. },
  25357. "ismarketaccount": {
  25358. "description": "是否机构接单账号 0:不是 1:是",
  25359. "type": "integer"
  25360. },
  25361. "isreckonaccount": {
  25362. "description": "是否机构分润账号 0:不是 1:是",
  25363. "type": "integer"
  25364. },
  25365. "mortgagecredit": {
  25366. "description": "授信金额",
  25367. "type": "number"
  25368. },
  25369. "orifreezecharge": {
  25370. "description": "期初手续费冻结",
  25371. "type": "number"
  25372. },
  25373. "orifreezemargin": {
  25374. "description": "期初冻结保证金",
  25375. "type": "number"
  25376. },
  25377. "orimortgagecredit": {
  25378. "description": "期初授信金额",
  25379. "type": "number"
  25380. },
  25381. "oriothercredit": {
  25382. "description": "期初其它授信金额",
  25383. "type": "number"
  25384. },
  25385. "oriotherfreezemargin": {
  25386. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25387. "type": "number"
  25388. },
  25389. "orioutamountfreeze": {
  25390. "description": "期初出金冻结",
  25391. "type": "number"
  25392. },
  25393. "oriusedmargin": {
  25394. "description": "期初占用保证金",
  25395. "type": "number"
  25396. },
  25397. "othercredit": {
  25398. "description": "其它授信金额",
  25399. "type": "number"
  25400. },
  25401. "othercreditdecrease": {
  25402. "description": "今日其它授信减少",
  25403. "type": "number"
  25404. },
  25405. "othercreditincrease": {
  25406. "description": "今日其它授信增加",
  25407. "type": "number"
  25408. },
  25409. "otherfreezemargin": {
  25410. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25411. "type": "number"
  25412. },
  25413. "otherincome": {
  25414. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  25415. "type": "number"
  25416. },
  25417. "otherpay": {
  25418. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  25419. "type": "number"
  25420. },
  25421. "outamount": {
  25422. "description": "今日出金金额(包括三方出金)",
  25423. "type": "number"
  25424. },
  25425. "outamountfreeze": {
  25426. "description": "出金冻结",
  25427. "type": "number"
  25428. },
  25429. "outthreshold": {
  25430. "description": "出金阈值",
  25431. "type": "number"
  25432. },
  25433. "parentaccountid": {
  25434. "description": "所属根账号",
  25435. "type": "integer"
  25436. },
  25437. "paycharge": {
  25438. "description": "今日手续费支出",
  25439. "type": "number"
  25440. },
  25441. "relatedaccountstatus": {
  25442. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  25443. "type": "integer"
  25444. },
  25445. "relateduserid": {
  25446. "description": "关联用户",
  25447. "type": "integer"
  25448. },
  25449. "serivcegroup": {
  25450. "description": "服务分组",
  25451. "type": "integer"
  25452. },
  25453. "signstatus": {
  25454. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25455. "type": "integer"
  25456. },
  25457. "sublevelpath": {
  25458. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25459. "type": "string"
  25460. },
  25461. "taaccounttype": {
  25462. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25463. "type": "integer"
  25464. },
  25465. "thirdinamount": {
  25466. "description": "今日三方入金",
  25467. "type": "number"
  25468. },
  25469. "thirdoutamount": {
  25470. "description": "今日三方出金",
  25471. "type": "number"
  25472. },
  25473. "tradestatus": {
  25474. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25475. "type": "integer"
  25476. },
  25477. "tradestatuschangetime": {
  25478. "description": "激活时间",
  25479. "type": "string"
  25480. },
  25481. "transferamount": {
  25482. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25483. "type": "number"
  25484. },
  25485. "usedmargin": {
  25486. "description": "占用保证金",
  25487. "type": "number"
  25488. },
  25489. "userid": {
  25490. "description": "用户ID",
  25491. "type": "integer"
  25492. }
  25493. }
  25494. },
  25495. "models.Tablecolumnconfig": {
  25496. "type": "object",
  25497. "required": [
  25498. "autoid"
  25499. ],
  25500. "properties": {
  25501. "aligntype": {
  25502. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  25503. "type": "integer"
  25504. },
  25505. "autoid": {
  25506. "description": "AutoID",
  25507. "type": "integer"
  25508. },
  25509. "columnfield": {
  25510. "description": "列字段",
  25511. "type": "string"
  25512. },
  25513. "columntitle": {
  25514. "description": "列Title",
  25515. "type": "string"
  25516. },
  25517. "columnwidth": {
  25518. "description": "列宽",
  25519. "type": "string"
  25520. },
  25521. "formatterstring": {
  25522. "description": "格式化字符",
  25523. "type": "string"
  25524. },
  25525. "formattertype": {
  25526. "description": "格式化类型",
  25527. "type": "string"
  25528. },
  25529. "groupname": {
  25530. "description": "表头分组名称",
  25531. "type": "string"
  25532. },
  25533. "isshow": {
  25534. "description": "是否显示 - 0:不显示 1:显示",
  25535. "type": "integer"
  25536. },
  25537. "needsummary": {
  25538. "description": "是否需要汇总 - 0:不需要 1:需要",
  25539. "type": "integer"
  25540. },
  25541. "orderindex": {
  25542. "description": "顺序",
  25543. "type": "integer"
  25544. },
  25545. "remark": {
  25546. "description": "备注",
  25547. "type": "string"
  25548. },
  25549. "summarytype": {
  25550. "description": "汇总类型 - 1:加总 2:最后一个",
  25551. "type": "integer"
  25552. },
  25553. "tablekey": {
  25554. "description": "列表Key",
  25555. "type": "string"
  25556. }
  25557. }
  25558. },
  25559. "models.UserCollectConfig": {
  25560. "type": "object",
  25561. "properties": {
  25562. "accountstatus": {
  25563. "description": "账户状态 - 1:正常 2:停用 3:注销",
  25564. "type": "integer"
  25565. },
  25566. "collectaccountname": {
  25567. "description": "收款人账户名称",
  25568. "type": "string"
  25569. },
  25570. "collectaccountno": {
  25571. "description": "收款人账户",
  25572. "type": "string"
  25573. },
  25574. "collectbankname": {
  25575. "description": "收款人开户行",
  25576. "type": "string"
  25577. },
  25578. "collectbranchbankname": {
  25579. "description": "收款人开户支行",
  25580. "type": "string"
  25581. },
  25582. "collectconfigid": {
  25583. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  25584. "type": "string"
  25585. },
  25586. "remark": {
  25587. "description": "备注",
  25588. "type": "string"
  25589. },
  25590. "userid": {
  25591. "description": "收款人用户ID",
  25592. "type": "integer"
  25593. }
  25594. }
  25595. },
  25596. "models.UserReceiveInfo": {
  25597. "type": "object",
  25598. "properties": {
  25599. "address": {
  25600. "description": "提货人详细地址",
  25601. "type": "string"
  25602. },
  25603. "autoid": {
  25604. "description": "AutoID",
  25605. "type": "integer"
  25606. },
  25607. "cardnum": {
  25608. "description": "证件号码(加密存储)",
  25609. "type": "string"
  25610. },
  25611. "cardtypeid": {
  25612. "description": "证件类型",
  25613. "type": "integer"
  25614. },
  25615. "cityid": {
  25616. "description": "市",
  25617. "type": "integer"
  25618. },
  25619. "cityname": {
  25620. "description": "城市名称",
  25621. "type": "string"
  25622. },
  25623. "countryid": {
  25624. "description": "国家",
  25625. "type": "integer"
  25626. },
  25627. "countryname": {
  25628. "description": "国家名称",
  25629. "type": "string"
  25630. },
  25631. "districtid": {
  25632. "description": "地区",
  25633. "type": "integer"
  25634. },
  25635. "districtname": {
  25636. "description": "地区名称",
  25637. "type": "string"
  25638. },
  25639. "hasencrypt": {
  25640. "description": "数据是否已加密 - 0:未加密 1:已加密",
  25641. "type": "integer"
  25642. },
  25643. "isdefault": {
  25644. "description": "是否默认地址 - 0:否 1:是",
  25645. "type": "integer"
  25646. },
  25647. "phonenum": {
  25648. "description": "提货人联系方式(加密存储)",
  25649. "type": "string"
  25650. },
  25651. "provinceid": {
  25652. "description": "省",
  25653. "type": "integer"
  25654. },
  25655. "provincename": {
  25656. "description": "省名称",
  25657. "type": "string"
  25658. },
  25659. "receivername": {
  25660. "description": "提货人姓名",
  25661. "type": "string"
  25662. },
  25663. "takeremark": {
  25664. "description": "提货备注",
  25665. "type": "string"
  25666. },
  25667. "userid": {
  25668. "description": "用户ID",
  25669. "type": "integer"
  25670. }
  25671. }
  25672. },
  25673. "models.Useraccount": {
  25674. "type": "object",
  25675. "required": [
  25676. "userid"
  25677. ],
  25678. "properties": {
  25679. "accountname": {
  25680. "description": "账户名称(机构名称)",
  25681. "type": "string"
  25682. },
  25683. "accountstatus": {
  25684. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25685. "type": "integer"
  25686. },
  25687. "applysrc": {
  25688. "description": "申请来源 - 1:管理端 2:终端",
  25689. "type": "integer"
  25690. },
  25691. "auditremark": {
  25692. "description": "审核备注",
  25693. "type": "string"
  25694. },
  25695. "auditsrc": {
  25696. "description": "审核来源 - 1:管理端 2:终端",
  25697. "type": "integer"
  25698. },
  25699. "audittime": {
  25700. "description": "审核时间",
  25701. "type": "string"
  25702. },
  25703. "audituserid": {
  25704. "description": "审核人",
  25705. "type": "integer"
  25706. },
  25707. "broker": {
  25708. "description": "所属经纪人ID",
  25709. "type": "integer"
  25710. },
  25711. "canceltime": {
  25712. "description": "销户时间",
  25713. "type": "string"
  25714. },
  25715. "canceluserid": {
  25716. "description": "销户人",
  25717. "type": "integer"
  25718. },
  25719. "canrecommend": {
  25720. "description": "是否可推荐 - 0:不可 1;可",
  25721. "type": "integer"
  25722. },
  25723. "createtime": {
  25724. "description": "创建时间",
  25725. "type": "string"
  25726. },
  25727. "creatorid": {
  25728. "description": "创建人",
  25729. "type": "integer"
  25730. },
  25731. "hasauth": {
  25732. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25733. "type": "integer"
  25734. },
  25735. "isanonymous": {
  25736. "description": "是否匿名下单 - 0:否 1:是",
  25737. "type": "integer"
  25738. },
  25739. "maxinvestornum": {
  25740. "description": "最大用户数(经纪会员下投资者个数)",
  25741. "type": "integer"
  25742. },
  25743. "memberuserid": {
  25744. "description": "所属会员ID",
  25745. "type": "integer"
  25746. },
  25747. "modifierid": {
  25748. "description": "修改人",
  25749. "type": "integer"
  25750. },
  25751. "modifyremark": {
  25752. "description": "变更备注",
  25753. "type": "string"
  25754. },
  25755. "modifystatus": {
  25756. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25757. "type": "integer"
  25758. },
  25759. "modifytime": {
  25760. "description": "修改时间",
  25761. "type": "string"
  25762. },
  25763. "parenttopuser": {
  25764. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25765. "type": "string"
  25766. },
  25767. "parentuserid": {
  25768. "description": "所属机构ID",
  25769. "type": "integer"
  25770. },
  25771. "reckonaccountid": {
  25772. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25773. "type": "integer"
  25774. },
  25775. "refercount": {
  25776. "description": "推荐总人数",
  25777. "type": "integer"
  25778. },
  25779. "refereeuserid": {
  25780. "description": "推荐人ID",
  25781. "type": "integer"
  25782. },
  25783. "refernum": {
  25784. "description": "推荐码",
  25785. "type": "string"
  25786. },
  25787. "rootuserid": {
  25788. "description": "根用户ID",
  25789. "type": "integer"
  25790. },
  25791. "subaccountlevel": {
  25792. "description": "子账户层数",
  25793. "type": "integer"
  25794. },
  25795. "subarealevelpath": {
  25796. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25797. "type": "string"
  25798. },
  25799. "userid": {
  25800. "description": "用户ID",
  25801. "type": "integer"
  25802. },
  25803. "usertype": {
  25804. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25805. "type": "integer"
  25806. }
  25807. }
  25808. },
  25809. "models.Userfavoritegoods": {
  25810. "type": "object",
  25811. "required": [
  25812. "goodsid"
  25813. ],
  25814. "properties": {
  25815. "goodsid": {
  25816. "description": "商品ID",
  25817. "type": "integer"
  25818. }
  25819. }
  25820. },
  25821. "models.Userinfo": {
  25822. "type": "object",
  25823. "required": [
  25824. "userid"
  25825. ],
  25826. "properties": {
  25827. "address": {
  25828. "description": "地址",
  25829. "type": "string"
  25830. },
  25831. "attachment1": {
  25832. "description": "附件1",
  25833. "type": "string"
  25834. },
  25835. "attachment2": {
  25836. "description": "附件2",
  25837. "type": "string"
  25838. },
  25839. "bankaccount": {
  25840. "description": "银行帐号 (加密存储)",
  25841. "type": "string"
  25842. },
  25843. "bankaccountname": {
  25844. "description": "收款人名称",
  25845. "type": "string"
  25846. },
  25847. "bankcardfrontphotourl": {
  25848. "description": "银行卡正面照地址",
  25849. "type": "string"
  25850. },
  25851. "bankid": {
  25852. "description": "银行编码",
  25853. "type": "string"
  25854. },
  25855. "bankname": {
  25856. "description": "银行名称",
  25857. "type": "string"
  25858. },
  25859. "biznature": {
  25860. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  25861. "type": "integer"
  25862. },
  25863. "bizscope": {
  25864. "description": "企业经营范围(企业)",
  25865. "type": "string"
  25866. },
  25867. "cardbackphotourl": {
  25868. "description": "证件背面图片地址",
  25869. "type": "string"
  25870. },
  25871. "cardfrontphotourl": {
  25872. "description": "证件正面图片地址",
  25873. "type": "string"
  25874. },
  25875. "cardnum": {
  25876. "description": "证件号码(加密存储)",
  25877. "type": "string"
  25878. },
  25879. "cardtypeid": {
  25880. "description": "证件类型ID",
  25881. "type": "integer"
  25882. },
  25883. "cityid": {
  25884. "description": "市",
  25885. "type": "integer"
  25886. },
  25887. "company": {
  25888. "description": "公司(个人)",
  25889. "type": "string"
  25890. },
  25891. "contactname": {
  25892. "description": "联系人",
  25893. "type": "string"
  25894. },
  25895. "countryid": {
  25896. "description": "国家",
  25897. "type": "integer"
  25898. },
  25899. "createtime": {
  25900. "description": "创建时间",
  25901. "type": "string"
  25902. },
  25903. "creatorid": {
  25904. "description": "创建人",
  25905. "type": "integer"
  25906. },
  25907. "customername": {
  25908. "description": "客户名称(企业名称)",
  25909. "type": "string"
  25910. },
  25911. "districtid": {
  25912. "description": "地区",
  25913. "type": "integer"
  25914. },
  25915. "email": {
  25916. "description": "邮件(加密存储)",
  25917. "type": "string"
  25918. },
  25919. "fax": {
  25920. "description": "传真(加密存储)",
  25921. "type": "string"
  25922. },
  25923. "halfbodyphotourl": {
  25924. "description": "半身照地址",
  25925. "type": "string"
  25926. },
  25927. "hasencrypt": {
  25928. "description": "数据是否已加密 - 0:未加密 1:已加密",
  25929. "type": "integer"
  25930. },
  25931. "headurl": {
  25932. "description": "头像地址",
  25933. "type": "string"
  25934. },
  25935. "legalcardbackphotourl": {
  25936. "description": "法人身份证背面照地址",
  25937. "type": "string"
  25938. },
  25939. "legalcardfrontphotourl": {
  25940. "description": "法人身份证正面照地址",
  25941. "type": "string"
  25942. },
  25943. "legalpersonname": {
  25944. "description": "法人姓名(企业)",
  25945. "type": "string"
  25946. },
  25947. "mobile": {
  25948. "description": "手机号码(加密存储)",
  25949. "type": "string"
  25950. },
  25951. "mobile2": {
  25952. "description": "手机号码[明文-尚志]",
  25953. "type": "string"
  25954. },
  25955. "modifierid": {
  25956. "description": "修改人",
  25957. "type": "integer"
  25958. },
  25959. "modifiertime": {
  25960. "description": "修改时间",
  25961. "type": "string"
  25962. },
  25963. "needinvoice": {
  25964. "description": "是否需要发票 - 0:不需要 1:需要",
  25965. "type": "integer"
  25966. },
  25967. "nickname": {
  25968. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  25969. "type": "string"
  25970. },
  25971. "openmode": {
  25972. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  25973. "type": "integer"
  25974. },
  25975. "otherurl": {
  25976. "description": "其它图片地址[使用分号分隔]",
  25977. "type": "string"
  25978. },
  25979. "postalcode": {
  25980. "description": "邮政编码",
  25981. "type": "string"
  25982. },
  25983. "provinceid": {
  25984. "description": "省",
  25985. "type": "integer"
  25986. },
  25987. "qq": {
  25988. "description": "QQ(加密存储",
  25989. "type": "string"
  25990. },
  25991. "remark": {
  25992. "description": "备注",
  25993. "type": "string"
  25994. },
  25995. "sex": {
  25996. "description": "用户性别 0: 女 1: 男",
  25997. "type": "integer"
  25998. },
  25999. "signpdfurl": {
  26000. "description": "签约pdf文件",
  26001. "type": "string"
  26002. },
  26003. "telphone": {
  26004. "description": "联系电话(加密存储)",
  26005. "type": "string"
  26006. },
  26007. "userid": {
  26008. "description": "用户ID",
  26009. "type": "integer"
  26010. },
  26011. "userinfotype": {
  26012. "description": "用户信息类型 - 1:个人 2:企业",
  26013. "type": "integer"
  26014. },
  26015. "userstatus": {
  26016. "description": "用户状态 - 1:正常 2:注销",
  26017. "type": "integer"
  26018. },
  26019. "usertype": {
  26020. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  26021. "type": "integer"
  26022. },
  26023. "wechat": {
  26024. "description": "微信(加密存储)",
  26025. "type": "string"
  26026. },
  26027. "wskhinfo": {
  26028. "description": "开户申请信息(JSON)",
  26029. "type": "string"
  26030. }
  26031. }
  26032. },
  26033. "models.WRSConverTDetail": {
  26034. "type": "object",
  26035. "properties": {
  26036. "convertratio": {
  26037. "description": "套保系数",
  26038. "type": "number"
  26039. },
  26040. "deliverygoodscode": {
  26041. "description": "现货商品代码",
  26042. "type": "string"
  26043. },
  26044. "deliverygoodsid": {
  26045. "description": "现货品种ID",
  26046. "type": "integer"
  26047. },
  26048. "deliverygoodsname": {
  26049. "description": "现货商品名称",
  26050. "type": "string"
  26051. },
  26052. "enumdicname": {
  26053. "description": "单位名称",
  26054. "type": "string"
  26055. },
  26056. "goodsunitid": {
  26057. "description": "套保品种单位id",
  26058. "type": "integer"
  26059. },
  26060. "middlegoodscode": {
  26061. "description": "套保品种代码",
  26062. "type": "string"
  26063. },
  26064. "middlegoodsid": {
  26065. "description": "套保品种ID",
  26066. "type": "integer"
  26067. },
  26068. "middlegoodsname": {
  26069. "description": "套保品种名称",
  26070. "type": "string"
  26071. },
  26072. "modifytime": {
  26073. "description": "修改时间",
  26074. "type": "string"
  26075. },
  26076. "wrstandardid": {
  26077. "description": "品类ID",
  26078. "type": "integer"
  26079. }
  26080. }
  26081. },
  26082. "models.WRStandardInfo": {
  26083. "type": "object",
  26084. "required": [
  26085. "wrstandardid"
  26086. ],
  26087. "properties": {
  26088. "areauserid": {
  26089. "description": "所属机构",
  26090. "type": "integer"
  26091. },
  26092. "convertfactor": {
  26093. "description": "标仓系数",
  26094. "type": "number"
  26095. },
  26096. "createtime": {
  26097. "description": "创建时间",
  26098. "type": "string"
  26099. },
  26100. "creatorid": {
  26101. "description": "创建人",
  26102. "type": "integer"
  26103. },
  26104. "deliverygoodsid": {
  26105. "description": "品种ID",
  26106. "type": "integer"
  26107. },
  26108. "deliverygoodsname": {
  26109. "description": "交割商品名称",
  26110. "type": "string"
  26111. },
  26112. "factoryitemjson": {
  26113. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  26114. "type": "string"
  26115. },
  26116. "isvalid": {
  26117. "description": "是否有效 - 0:无效 1:有效",
  26118. "type": "integer"
  26119. },
  26120. "minivalue": {
  26121. "description": "最小变动值",
  26122. "type": "integer"
  26123. },
  26124. "minivaluedp": {
  26125. "description": "最小变动值小数位",
  26126. "type": "integer"
  26127. },
  26128. "realminivalue": {
  26129. "description": "实际最小变动值",
  26130. "type": "integer"
  26131. },
  26132. "realminivaluedp": {
  26133. "description": "实际最小变动值小数位",
  26134. "type": "integer"
  26135. },
  26136. "remark": {
  26137. "description": "备注",
  26138. "type": "string"
  26139. },
  26140. "unitid": {
  26141. "description": "单位ID",
  26142. "type": "integer"
  26143. },
  26144. "unitname": {
  26145. "description": "单位",
  26146. "type": "string"
  26147. },
  26148. "updatetime": {
  26149. "description": "更新时间",
  26150. "type": "string"
  26151. },
  26152. "updatorid": {
  26153. "description": "更新人",
  26154. "type": "integer"
  26155. },
  26156. "wrsstatus": {
  26157. "description": "状态 - 作废 - 0:未激活 1:正常",
  26158. "type": "integer"
  26159. },
  26160. "wrstandardcode": {
  26161. "description": "现货品类代码",
  26162. "type": "string"
  26163. },
  26164. "wrstandardid": {
  26165. "description": "现货品类ID(SEQ_WRSTANDARD)",
  26166. "type": "integer"
  26167. },
  26168. "wrstandardname": {
  26169. "description": "现货品类名称",
  26170. "type": "string"
  26171. }
  26172. }
  26173. },
  26174. "models.Warehouseinfo": {
  26175. "type": "object",
  26176. "required": [
  26177. "autoid",
  26178. "warehousecode"
  26179. ],
  26180. "properties": {
  26181. "address": {
  26182. "description": "详细地址",
  26183. "type": "string"
  26184. },
  26185. "areauserid": {
  26186. "description": "所属机构",
  26187. "type": "integer"
  26188. },
  26189. "autoid": {
  26190. "description": "自增ID",
  26191. "type": "integer"
  26192. },
  26193. "cityid": {
  26194. "description": "市",
  26195. "type": "integer"
  26196. },
  26197. "contactname": {
  26198. "description": "联系人",
  26199. "type": "string"
  26200. },
  26201. "contactnum": {
  26202. "description": "联系电话",
  26203. "type": "string"
  26204. },
  26205. "countryid": {
  26206. "description": "国家",
  26207. "type": "integer"
  26208. },
  26209. "createtime": {
  26210. "description": "创建时间",
  26211. "type": "string"
  26212. },
  26213. "districtid": {
  26214. "description": "区",
  26215. "type": "integer"
  26216. },
  26217. "hasvideo": {
  26218. "description": "是否有视频 - 0:无 1:有",
  26219. "type": "integer"
  26220. },
  26221. "provinceid": {
  26222. "description": "省",
  26223. "type": "integer"
  26224. },
  26225. "remark": {
  26226. "description": "审核备注",
  26227. "type": "string"
  26228. },
  26229. "videourl": {
  26230. "description": "视频地址",
  26231. "type": "string"
  26232. },
  26233. "warehousecode": {
  26234. "description": "仓库代码",
  26235. "type": "string"
  26236. },
  26237. "warehousename": {
  26238. "description": "仓库名称",
  26239. "type": "string"
  26240. },
  26241. "warehousestatus": {
  26242. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  26243. "type": "integer"
  26244. },
  26245. "warehousetype": {
  26246. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26247. "type": "integer"
  26248. }
  26249. }
  26250. },
  26251. "order.QueryHisTradeDetailRsp": {
  26252. "type": "object",
  26253. "required": [
  26254. "accountid",
  26255. "buyorsell",
  26256. "goodsid",
  26257. "histradedate",
  26258. "marketid",
  26259. "memberuserid",
  26260. "orderid",
  26261. "tradeamount",
  26262. "tradedate",
  26263. "tradeid",
  26264. "tradeprice",
  26265. "tradeqty",
  26266. "tradetime"
  26267. ],
  26268. "properties": {
  26269. "accountid": {
  26270. "description": "账户ID[报价币种]",
  26271. "type": "integer"
  26272. },
  26273. "advanceratio": {
  26274. "description": "首付比率",
  26275. "type": "number"
  26276. },
  26277. "buildtype": {
  26278. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  26279. "type": "integer"
  26280. },
  26281. "buyorsell": {
  26282. "description": "方向 - 0:买 1:卖",
  26283. "type": "integer"
  26284. },
  26285. "charge": {
  26286. "description": "手续费",
  26287. "type": "number"
  26288. },
  26289. "closecharge": {
  26290. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26291. "type": "number"
  26292. },
  26293. "closeexchagechargevalue": {
  26294. "description": "平仓交易所手续费设置值",
  26295. "type": "number"
  26296. },
  26297. "closefeealgorithm": {
  26298. "description": "平仓手续费收取方式 1:比率 2:固定",
  26299. "type": "integer"
  26300. },
  26301. "closememberchargevalue": {
  26302. "description": "平仓会员手续费设置值",
  26303. "type": "number"
  26304. },
  26305. "closepl": {
  26306. "description": "平仓盈亏",
  26307. "type": "number"
  26308. },
  26309. "closepl2": {
  26310. "description": "平仓盈亏[逐笔]",
  26311. "type": "number"
  26312. },
  26313. "closeqty": {
  26314. "description": "平仓数量(先建后平操作 需要记录)",
  26315. "type": "number"
  26316. },
  26317. "creditamount": {
  26318. "description": "授信金额",
  26319. "type": "number"
  26320. },
  26321. "decimalplace": {
  26322. "description": "商品报价小数位",
  26323. "type": "integer"
  26324. },
  26325. "enumdicname": {
  26326. "description": "单位名称",
  26327. "type": "string"
  26328. },
  26329. "gcaccountid": {
  26330. "description": "账户ID[合约币种]",
  26331. "type": "integer"
  26332. },
  26333. "goodscode": {
  26334. "description": "商品代码",
  26335. "type": "string"
  26336. },
  26337. "goodsid": {
  26338. "description": "商品ID",
  26339. "type": "integer"
  26340. },
  26341. "goodsname": {
  26342. "description": "商品名称",
  26343. "type": "string"
  26344. },
  26345. "goodunitid": {
  26346. "description": "商品单位id",
  26347. "type": "integer"
  26348. },
  26349. "histradedate": {
  26350. "description": "历史交易日",
  26351. "type": "string"
  26352. },
  26353. "intclosepl": {
  26354. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  26355. "type": "integer"
  26356. },
  26357. "isconfirmexercise": {
  26358. "description": "是否确认行权- 0:否 1:是",
  26359. "type": "integer"
  26360. },
  26361. "ismain": {
  26362. "description": "是否主单 - 0:不是 1:是",
  26363. "type": "integer"
  26364. },
  26365. "ispreexercise": {
  26366. "description": "是否预申报- 0:否 1:是",
  26367. "type": "integer"
  26368. },
  26369. "isreckoned": {
  26370. "description": "是否结算 - 0:未结算 1:已结算",
  26371. "type": "integer"
  26372. },
  26373. "isvaliddata": {
  26374. "description": "是否有效 - 0:无效 1:有效",
  26375. "type": "integer"
  26376. },
  26377. "listingselecttype": {
  26378. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26379. "type": "integer"
  26380. },
  26381. "marketid": {
  26382. "description": "市场ID",
  26383. "type": "integer"
  26384. },
  26385. "marketname": {
  26386. "description": "市场名称",
  26387. "type": "string"
  26388. },
  26389. "matchaccountid": {
  26390. "description": "对手账号id",
  26391. "type": "integer"
  26392. },
  26393. "memberuserid": {
  26394. "description": "会员id 个人投资者 需要填写",
  26395. "type": "integer"
  26396. },
  26397. "opencharge": {
  26398. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26399. "type": "number"
  26400. },
  26401. "openexchagechargevalue": {
  26402. "description": "建仓交易所手续费设置值",
  26403. "type": "number"
  26404. },
  26405. "openfeealgorithm": {
  26406. "description": "建仓手续费收取方式 1:比率 2:固定",
  26407. "type": "integer"
  26408. },
  26409. "openmemberchargevalue": {
  26410. "description": "建仓会员手续费设置值",
  26411. "type": "number"
  26412. },
  26413. "openqty": {
  26414. "description": "开仓数量(先建后平操作 需要记录)",
  26415. "type": "number"
  26416. },
  26417. "optiontype": {
  26418. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26419. "type": "integer"
  26420. },
  26421. "orderid": {
  26422. "description": "委托单号",
  26423. "type": "string"
  26424. },
  26425. "payamount": {
  26426. "description": "支付金额(付款金额)",
  26427. "type": "number"
  26428. },
  26429. "performanceplanid": {
  26430. "description": "履约计划ID[期权]",
  26431. "type": "integer"
  26432. },
  26433. "performancestatus": {
  26434. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  26435. "type": "integer"
  26436. },
  26437. "preexerciseprice": {
  26438. "description": "预申报价格",
  26439. "type": "number"
  26440. },
  26441. "premium": {
  26442. "description": "权利金 - [持仓单的权利金]",
  26443. "type": "number"
  26444. },
  26445. "qtydecimalplace": {
  26446. "description": "商品报价小数位",
  26447. "type": "integer"
  26448. },
  26449. "recvamount": {
  26450. "description": "到账金额 = 成交金额 - 手续费",
  26451. "type": "number"
  26452. },
  26453. "relatedouttradeid": {
  26454. "description": "关联外部成交单ID",
  26455. "type": "integer"
  26456. },
  26457. "status": {
  26458. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  26459. "type": "integer"
  26460. },
  26461. "totalamount": {
  26462. "description": "订单总额 = 成交金额 + 手续费",
  26463. "type": "number"
  26464. },
  26465. "tradeamount": {
  26466. "description": "成交金额[账户币种,用于所有权]",
  26467. "type": "number"
  26468. },
  26469. "tradedate": {
  26470. "description": "交易日(yyyyMMdd)",
  26471. "type": "string"
  26472. },
  26473. "tradeid": {
  26474. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26475. "type": "string"
  26476. },
  26477. "trademode": {
  26478. "description": "交易模式",
  26479. "type": "integer"
  26480. },
  26481. "tradeprice": {
  26482. "description": "成交价格",
  26483. "type": "number"
  26484. },
  26485. "tradeproperty": {
  26486. "description": "交易属性",
  26487. "type": "integer"
  26488. },
  26489. "tradeqty": {
  26490. "description": "成交数量",
  26491. "type": "number"
  26492. },
  26493. "tradetime": {
  26494. "description": "成交时间",
  26495. "type": "string"
  26496. },
  26497. "tradetype": {
  26498. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  26499. "type": "integer"
  26500. }
  26501. }
  26502. },
  26503. "order.QueryHisTradeOrderDetailRsp": {
  26504. "type": "object",
  26505. "required": [
  26506. "accountid",
  26507. "buildtype",
  26508. "buyorsell",
  26509. "goodsid",
  26510. "histradedate",
  26511. "marketid",
  26512. "memberuserid",
  26513. "operatetype",
  26514. "orderid",
  26515. "orderqty",
  26516. "ordertime",
  26517. "pricemode",
  26518. "tradedate",
  26519. "validtype"
  26520. ],
  26521. "properties": {
  26522. "accountid": {
  26523. "description": "账户ID[报价币种]",
  26524. "type": "integer"
  26525. },
  26526. "buildtype": {
  26527. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  26528. "type": "integer"
  26529. },
  26530. "buyorsell": {
  26531. "description": "买卖 - 0:买 1:卖",
  26532. "type": "integer"
  26533. },
  26534. "cancelorderid": {
  26535. "description": "撤单单号(撤单时填写)",
  26536. "type": "string"
  26537. },
  26538. "cancelqty": {
  26539. "description": "撤单数量",
  26540. "type": "number"
  26541. },
  26542. "clientordertime": {
  26543. "description": "客户端委托时间",
  26544. "type": "string"
  26545. },
  26546. "clientticket": {
  26547. "description": "客户端流水号",
  26548. "type": "string"
  26549. },
  26550. "clienttype": {
  26551. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26552. "type": "integer"
  26553. },
  26554. "closeexchagechargevalue": {
  26555. "description": "平仓交易所手续费设置值",
  26556. "type": "number"
  26557. },
  26558. "closefeealgorithm": {
  26559. "description": "平仓手续费收取方式 1:比率 2:固定",
  26560. "type": "integer"
  26561. },
  26562. "closefreezecharge": {
  26563. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  26564. "type": "number"
  26565. },
  26566. "closememberchargevalue": {
  26567. "description": "平仓会员手续费设置值",
  26568. "type": "number"
  26569. },
  26570. "closeqty": {
  26571. "description": "平仓数量(先建后平操作 需要记录)",
  26572. "type": "number"
  26573. },
  26574. "closetradeqty": {
  26575. "description": "平仓成交数量(先建后平操作,需要记录)",
  26576. "type": "number"
  26577. },
  26578. "closeunfreezecharge": {
  26579. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  26580. "type": "number"
  26581. },
  26582. "decimalplace": {
  26583. "description": "商品报价小数位",
  26584. "type": "integer"
  26585. },
  26586. "delistingtype": {
  26587. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  26588. "type": "integer"
  26589. },
  26590. "enumdicname": {
  26591. "description": "单位名称",
  26592. "type": "string"
  26593. },
  26594. "freezecharge": {
  26595. "description": "冻结手续费",
  26596. "type": "number"
  26597. },
  26598. "freezemargin": {
  26599. "description": "冻结保证金(冻结交易金额)",
  26600. "type": "number"
  26601. },
  26602. "gcaccountid": {
  26603. "description": "账户ID[合约币种]",
  26604. "type": "integer"
  26605. },
  26606. "goodscode": {
  26607. "description": "商品代码",
  26608. "type": "string"
  26609. },
  26610. "goodsid": {
  26611. "description": "商品ID",
  26612. "type": "integer"
  26613. },
  26614. "goodsname": {
  26615. "description": "商品名称",
  26616. "type": "string"
  26617. },
  26618. "goodunitid": {
  26619. "description": "商品单位id",
  26620. "type": "integer"
  26621. },
  26622. "histradedate": {
  26623. "description": "历史交易日",
  26624. "type": "string"
  26625. },
  26626. "isconfirmexercise": {
  26627. "description": "是否确认行权- 0:否 1:是",
  26628. "type": "integer"
  26629. },
  26630. "ispreexercise": {
  26631. "description": "是否预申报- 0:否 1:是",
  26632. "type": "integer"
  26633. },
  26634. "isvaliddata": {
  26635. "description": "是否有效 - 0:无效 1:有效",
  26636. "type": "integer"
  26637. },
  26638. "listingselecttype": {
  26639. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26640. "type": "integer"
  26641. },
  26642. "marginalgorithm": {
  26643. "description": "保证金收取方式 1:比率 2:固定",
  26644. "type": "integer"
  26645. },
  26646. "marginvalue": {
  26647. "description": "即市保证金设置值",
  26648. "type": "number"
  26649. },
  26650. "marketid": {
  26651. "description": "市场ID",
  26652. "type": "integer"
  26653. },
  26654. "marketmaxsub": {
  26655. "description": "市价最大偏移范围",
  26656. "type": "number"
  26657. },
  26658. "marketname": {
  26659. "description": "市场名称",
  26660. "type": "string"
  26661. },
  26662. "memberuserid": {
  26663. "description": "所属会员UserID",
  26664. "type": "integer"
  26665. },
  26666. "openexchagechargevalue": {
  26667. "description": "建仓交易所手续费设置值",
  26668. "type": "number"
  26669. },
  26670. "openfeealgorithm": {
  26671. "description": "建仓手续费收取方式 1:比率 2:固定",
  26672. "type": "integer"
  26673. },
  26674. "openfreezecharge": {
  26675. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  26676. "type": "number"
  26677. },
  26678. "openmemberchargevalue": {
  26679. "description": "建仓会员手续费设置值",
  26680. "type": "number"
  26681. },
  26682. "openqty": {
  26683. "description": "开仓数量(先建后平操作,需要记录)",
  26684. "type": "number"
  26685. },
  26686. "opentradeqty": {
  26687. "description": "开仓成交数量(先建后平操作,需要记录)",
  26688. "type": "number"
  26689. },
  26690. "openunfreezecharge": {
  26691. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  26692. "type": "number"
  26693. },
  26694. "operatetype": {
  26695. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  26696. "type": "integer"
  26697. },
  26698. "operatorid": {
  26699. "description": "登录账号(LoginID)",
  26700. "type": "integer"
  26701. },
  26702. "optiontype": {
  26703. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26704. "type": "integer"
  26705. },
  26706. "orderid": {
  26707. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26708. "type": "string"
  26709. },
  26710. "orderprice": {
  26711. "description": "委托价格",
  26712. "type": "number"
  26713. },
  26714. "orderqty": {
  26715. "description": "委托数量",
  26716. "type": "number"
  26717. },
  26718. "ordersrc": {
  26719. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  26720. "type": "integer"
  26721. },
  26722. "orderstatus": {
  26723. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26724. "type": "integer"
  26725. },
  26726. "ordertime": {
  26727. "description": "委托时间",
  26728. "type": "string"
  26729. },
  26730. "preexerciseprice": {
  26731. "description": "预申报价格",
  26732. "type": "number"
  26733. },
  26734. "premium": {
  26735. "description": "权利金",
  26736. "type": "number"
  26737. },
  26738. "preorderid": {
  26739. "description": "关联预埋单号(止盈止损单时填写)",
  26740. "type": "string"
  26741. },
  26742. "pricemode": {
  26743. "description": "取价方式 - 1:市价 2: 限价",
  26744. "type": "integer"
  26745. },
  26746. "qtydecimalplace": {
  26747. "description": "成交量小数位",
  26748. "type": "integer"
  26749. },
  26750. "quoteid": {
  26751. "description": "报价单ID",
  26752. "type": "integer"
  26753. },
  26754. "relatedid": {
  26755. "description": "关联单号(交割单)",
  26756. "type": "string"
  26757. },
  26758. "retcode": {
  26759. "description": "错误代码",
  26760. "type": "integer"
  26761. },
  26762. "sessionid": {
  26763. "description": "会话ID",
  26764. "type": "integer"
  26765. },
  26766. "tradedate": {
  26767. "description": "交易日(yyyyMMdd)",
  26768. "type": "string"
  26769. },
  26770. "trademode": {
  26771. "description": "交易模式",
  26772. "type": "integer"
  26773. },
  26774. "tradeproperty": {
  26775. "description": "交易属性",
  26776. "type": "integer"
  26777. },
  26778. "tradeqty": {
  26779. "description": "成交数量",
  26780. "type": "number"
  26781. },
  26782. "unfreezecharge": {
  26783. "description": "解冻手续费",
  26784. "type": "number"
  26785. },
  26786. "unfreezemargin": {
  26787. "description": "解冻保证金",
  26788. "type": "number"
  26789. },
  26790. "updatetime": {
  26791. "description": "更新时间",
  26792. "type": "string"
  26793. },
  26794. "uuid": {
  26795. "description": "发起端唯一id",
  26796. "type": "string"
  26797. },
  26798. "validtime": {
  26799. "description": "有效期限",
  26800. "type": "string"
  26801. },
  26802. "validtype": {
  26803. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  26804. "type": "integer"
  26805. },
  26806. "volumetype": {
  26807. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  26808. "type": "integer"
  26809. }
  26810. }
  26811. },
  26812. "order.QueryTradeDetailRsp": {
  26813. "type": "object",
  26814. "required": [
  26815. "accountid",
  26816. "buyorsell",
  26817. "goodsid",
  26818. "marketid",
  26819. "memberuserid",
  26820. "orderid",
  26821. "tradeamount",
  26822. "tradedate",
  26823. "tradeid",
  26824. "tradeprice",
  26825. "tradeqty",
  26826. "tradetime"
  26827. ],
  26828. "properties": {
  26829. "accountid": {
  26830. "description": "账户ID[报价币种]",
  26831. "type": "integer"
  26832. },
  26833. "advanceratio": {
  26834. "description": "首付比率",
  26835. "type": "number"
  26836. },
  26837. "buildtype": {
  26838. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  26839. "type": "integer"
  26840. },
  26841. "buyorsell": {
  26842. "description": "方向 - 0:买 1:卖",
  26843. "type": "integer"
  26844. },
  26845. "charge": {
  26846. "description": "手续费",
  26847. "type": "number"
  26848. },
  26849. "closecharge": {
  26850. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26851. "type": "number"
  26852. },
  26853. "closeexchagechargevalue": {
  26854. "description": "平仓交易所手续费设置值",
  26855. "type": "number"
  26856. },
  26857. "closefeealgorithm": {
  26858. "description": "平仓手续费收取方式 1:比率 2:固定",
  26859. "type": "integer"
  26860. },
  26861. "closememberchargevalue": {
  26862. "description": "平仓会员手续费设置值",
  26863. "type": "number"
  26864. },
  26865. "closepl": {
  26866. "description": "平仓盈亏",
  26867. "type": "number"
  26868. },
  26869. "closepl2": {
  26870. "description": "平仓盈亏[逐笔]",
  26871. "type": "number"
  26872. },
  26873. "closeqty": {
  26874. "description": "平仓数量(先建后平操作 需要记录)",
  26875. "type": "number"
  26876. },
  26877. "creditamount": {
  26878. "description": "授信金额",
  26879. "type": "number"
  26880. },
  26881. "decimalplace": {
  26882. "description": "商品报价小数位",
  26883. "type": "integer"
  26884. },
  26885. "enumdicname": {
  26886. "description": "单位名称",
  26887. "type": "string"
  26888. },
  26889. "gcaccountid": {
  26890. "description": "账户ID[合约币种]",
  26891. "type": "integer"
  26892. },
  26893. "goodscode": {
  26894. "description": "商品代码",
  26895. "type": "string"
  26896. },
  26897. "goodsid": {
  26898. "description": "商品ID",
  26899. "type": "integer"
  26900. },
  26901. "goodsname": {
  26902. "description": "商品名称",
  26903. "type": "string"
  26904. },
  26905. "goodunitid": {
  26906. "description": "商品单位id",
  26907. "type": "integer"
  26908. },
  26909. "intclosepl": {
  26910. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  26911. "type": "integer"
  26912. },
  26913. "isconfirmexercise": {
  26914. "description": "是否确认行权- 0:否 1:是",
  26915. "type": "integer"
  26916. },
  26917. "ismain": {
  26918. "description": "是否主单 - 0:不是 1:是",
  26919. "type": "integer"
  26920. },
  26921. "ispreexercise": {
  26922. "description": "是否预申报- 0:否 1:是",
  26923. "type": "integer"
  26924. },
  26925. "isreckoned": {
  26926. "description": "是否结算 - 0:未结算 1:已结算",
  26927. "type": "integer"
  26928. },
  26929. "listingselecttype": {
  26930. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26931. "type": "integer"
  26932. },
  26933. "marketid": {
  26934. "description": "市场ID",
  26935. "type": "integer"
  26936. },
  26937. "marketname": {
  26938. "description": "市场名称",
  26939. "type": "string"
  26940. },
  26941. "matchaccountid": {
  26942. "description": "对手账号id",
  26943. "type": "integer"
  26944. },
  26945. "memberuserid": {
  26946. "description": "会员id 个人投资者 需要填写",
  26947. "type": "integer"
  26948. },
  26949. "opencharge": {
  26950. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26951. "type": "number"
  26952. },
  26953. "openexchagechargevalue": {
  26954. "description": "建仓交易所手续费设置值",
  26955. "type": "number"
  26956. },
  26957. "openfeealgorithm": {
  26958. "description": "建仓手续费收取方式 1:比率 2:固定",
  26959. "type": "integer"
  26960. },
  26961. "openmemberchargevalue": {
  26962. "description": "建仓会员手续费设置值",
  26963. "type": "number"
  26964. },
  26965. "openqty": {
  26966. "description": "开仓数量(先建后平操作 需要记录)",
  26967. "type": "number"
  26968. },
  26969. "optiontype": {
  26970. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26971. "type": "integer"
  26972. },
  26973. "orderid": {
  26974. "description": "委托单号",
  26975. "type": "string"
  26976. },
  26977. "payamount": {
  26978. "description": "支付金额(付款金额)",
  26979. "type": "number"
  26980. },
  26981. "performanceplanid": {
  26982. "description": "履约计划ID[期权]",
  26983. "type": "integer"
  26984. },
  26985. "performancestatus": {
  26986. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  26987. "type": "integer"
  26988. },
  26989. "preexerciseprice": {
  26990. "description": "预申报价格",
  26991. "type": "number"
  26992. },
  26993. "premium": {
  26994. "description": "权利金 - [持仓单的权利金]",
  26995. "type": "number"
  26996. },
  26997. "qtydecimalplace": {
  26998. "description": "商品报价小数位",
  26999. "type": "integer"
  27000. },
  27001. "recvamount": {
  27002. "description": "到账金额 = 成交金额 - 手续费",
  27003. "type": "number"
  27004. },
  27005. "relatedouttradeid": {
  27006. "description": "关联外部成交单ID",
  27007. "type": "integer"
  27008. },
  27009. "status": {
  27010. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  27011. "type": "integer"
  27012. },
  27013. "totalamount": {
  27014. "description": "订单总额 = 成交金额 + 手续费",
  27015. "type": "number"
  27016. },
  27017. "tradeamount": {
  27018. "description": "成交金额[账户币种,用于所有权]",
  27019. "type": "number"
  27020. },
  27021. "tradedate": {
  27022. "description": "交易日(yyyyMMdd)",
  27023. "type": "string"
  27024. },
  27025. "tradeid": {
  27026. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27027. "type": "string"
  27028. },
  27029. "trademode": {
  27030. "description": "交易模式",
  27031. "type": "integer"
  27032. },
  27033. "tradeprice": {
  27034. "description": "成交价格",
  27035. "type": "number"
  27036. },
  27037. "tradeproperty": {
  27038. "description": "交易属性",
  27039. "type": "integer"
  27040. },
  27041. "tradeqty": {
  27042. "description": "成交数量",
  27043. "type": "number"
  27044. },
  27045. "tradetime": {
  27046. "description": "成交时间",
  27047. "type": "string"
  27048. },
  27049. "tradetype": {
  27050. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  27051. "type": "integer"
  27052. }
  27053. }
  27054. },
  27055. "order.QueryTradeOrderDetailRsp": {
  27056. "type": "object",
  27057. "required": [
  27058. "accountid",
  27059. "buildtype",
  27060. "buyorsell",
  27061. "goodsid",
  27062. "marketid",
  27063. "operatetype",
  27064. "orderqty",
  27065. "ordertime",
  27066. "pricemode",
  27067. "tradedate",
  27068. "validtype"
  27069. ],
  27070. "properties": {
  27071. "accountid": {
  27072. "description": "账户ID[报价币种]",
  27073. "type": "integer"
  27074. },
  27075. "buildtype": {
  27076. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  27077. "type": "integer"
  27078. },
  27079. "buyorsell": {
  27080. "description": "买卖 - 0:买 1:卖",
  27081. "type": "integer"
  27082. },
  27083. "cancelorderid": {
  27084. "description": "撤单单号(撤单时填写)",
  27085. "type": "string"
  27086. },
  27087. "cancelqty": {
  27088. "description": "撤单数量",
  27089. "type": "number"
  27090. },
  27091. "clienttype": {
  27092. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27093. "type": "integer"
  27094. },
  27095. "closefreezecharge": {
  27096. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  27097. "type": "number"
  27098. },
  27099. "closeqty": {
  27100. "description": "平仓数量(先建后平操作 需要记录)",
  27101. "type": "number"
  27102. },
  27103. "closetradeqty": {
  27104. "description": "平仓成交数量(先建后平操作,需要记录)",
  27105. "type": "number"
  27106. },
  27107. "closeunfreezecharge": {
  27108. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  27109. "type": "number"
  27110. },
  27111. "decimalplace": {
  27112. "description": "商品报价小数位",
  27113. "type": "integer"
  27114. },
  27115. "delistingtype": {
  27116. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  27117. "type": "integer"
  27118. },
  27119. "enableqty": {
  27120. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  27121. "type": "number"
  27122. },
  27123. "enumdicname": {
  27124. "description": "单位名称",
  27125. "type": "string"
  27126. },
  27127. "freezecharge": {
  27128. "description": "冻结手续费",
  27129. "type": "number"
  27130. },
  27131. "freezemargin": {
  27132. "description": "冻结保证金(冻结交易金额)",
  27133. "type": "number"
  27134. },
  27135. "goodscode": {
  27136. "description": "商品代码",
  27137. "type": "string"
  27138. },
  27139. "goodsid": {
  27140. "description": "商品ID",
  27141. "type": "integer"
  27142. },
  27143. "goodsname": {
  27144. "description": "商品名称",
  27145. "type": "string"
  27146. },
  27147. "goodunitid": {
  27148. "description": "商品单位id",
  27149. "type": "integer"
  27150. },
  27151. "listingselecttype": {
  27152. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27153. "type": "integer"
  27154. },
  27155. "marketid": {
  27156. "description": "市场ID",
  27157. "type": "integer"
  27158. },
  27159. "marketname": {
  27160. "description": "市场名称",
  27161. "type": "string"
  27162. },
  27163. "openfreezecharge": {
  27164. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  27165. "type": "number"
  27166. },
  27167. "openqty": {
  27168. "description": "开仓数量(先建后平操作,需要记录)",
  27169. "type": "number"
  27170. },
  27171. "opentradeqty": {
  27172. "description": "开仓成交数量(先建后平操作,需要记录)",
  27173. "type": "number"
  27174. },
  27175. "openunfreezecharge": {
  27176. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  27177. "type": "number"
  27178. },
  27179. "operatetype": {
  27180. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  27181. "type": "integer"
  27182. },
  27183. "operatorid": {
  27184. "description": "登录账号(LoginID)",
  27185. "type": "integer"
  27186. },
  27187. "orderid": {
  27188. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27189. "type": "string"
  27190. },
  27191. "orderprice": {
  27192. "description": "委托价格",
  27193. "type": "number"
  27194. },
  27195. "orderqty": {
  27196. "description": "委托数量",
  27197. "type": "number"
  27198. },
  27199. "ordersrc": {
  27200. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  27201. "type": "integer"
  27202. },
  27203. "orderstatus": {
  27204. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27205. "type": "integer"
  27206. },
  27207. "ordertime": {
  27208. "description": "委托时间",
  27209. "type": "string"
  27210. },
  27211. "preorderid": {
  27212. "description": "关联预埋单号(止盈止损单时填写)",
  27213. "type": "string"
  27214. },
  27215. "pricemode": {
  27216. "description": "取价方式 - 1:市价 2: 限价",
  27217. "type": "integer"
  27218. },
  27219. "qtydecimalplace": {
  27220. "description": "商品报价小数位",
  27221. "type": "integer"
  27222. },
  27223. "relatedid": {
  27224. "description": "关联单号(交割单)",
  27225. "type": "string"
  27226. },
  27227. "tradedate": {
  27228. "description": "交易日(yyyyMMdd)",
  27229. "type": "string"
  27230. },
  27231. "trademode": {
  27232. "description": "交易模式",
  27233. "type": "integer"
  27234. },
  27235. "tradeqty": {
  27236. "description": "成交数量",
  27237. "type": "number"
  27238. },
  27239. "unfreezecharge": {
  27240. "description": "解冻手续费",
  27241. "type": "number"
  27242. },
  27243. "unfreezemargin": {
  27244. "description": "解冻保证金",
  27245. "type": "number"
  27246. },
  27247. "validtime": {
  27248. "description": "有效期限",
  27249. "type": "string"
  27250. },
  27251. "validtype": {
  27252. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  27253. "type": "integer"
  27254. },
  27255. "volumetype": {
  27256. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  27257. "type": "integer"
  27258. }
  27259. }
  27260. },
  27261. "order.QueryTradePositionRsp": {
  27262. "type": "object",
  27263. "required": [
  27264. "goodsid"
  27265. ],
  27266. "properties": {
  27267. "accountid": {
  27268. "description": "资金账户",
  27269. "type": "integer"
  27270. },
  27271. "agreeunit": {
  27272. "description": "合约单位",
  27273. "type": "number"
  27274. },
  27275. "averageprice": {
  27276. "description": "持仓均价",
  27277. "type": "number"
  27278. },
  27279. "buyorsell": {
  27280. "description": "方向 - 0:买 1:卖",
  27281. "type": "integer"
  27282. },
  27283. "closetotalqty": {
  27284. "description": "平仓总数量",
  27285. "type": "number"
  27286. },
  27287. "curholderamount": {
  27288. "description": "当前持仓总金额[商品币种]",
  27289. "type": "number"
  27290. },
  27291. "curpositionqty": {
  27292. "description": "当前持仓总数量",
  27293. "type": "number"
  27294. },
  27295. "currencyid": {
  27296. "description": "报价货币ID",
  27297. "type": "integer"
  27298. },
  27299. "curtdposition": {
  27300. "description": "期末今日头寸",
  27301. "type": "number"
  27302. },
  27303. "decimalplace": {
  27304. "description": "报价小数位",
  27305. "type": "integer"
  27306. },
  27307. "enableqty": {
  27308. "description": "可用量",
  27309. "type": "number"
  27310. },
  27311. "fretdposition": {
  27312. "description": "冻结今日头寸",
  27313. "type": "number"
  27314. },
  27315. "frozenqty": {
  27316. "description": "持仓冻结数量",
  27317. "type": "number"
  27318. },
  27319. "goodscode": {
  27320. "description": "商品代码",
  27321. "type": "string"
  27322. },
  27323. "goodsid": {
  27324. "description": "商品Id",
  27325. "type": "integer"
  27326. },
  27327. "goodsname": {
  27328. "description": "商品名称",
  27329. "type": "string"
  27330. },
  27331. "goodunit": {
  27332. "description": "报价单位",
  27333. "type": "string"
  27334. },
  27335. "goodunitid": {
  27336. "description": "报价单位ID",
  27337. "type": "integer"
  27338. },
  27339. "holderamount": {
  27340. "description": "期初持仓总金额[商品币种]",
  27341. "type": "number"
  27342. },
  27343. "marketid": {
  27344. "description": "所属市场ID",
  27345. "type": "integer"
  27346. },
  27347. "openreqqty": {
  27348. "description": "开仓申请数量(用于比较最大持仓数量)",
  27349. "type": "number"
  27350. },
  27351. "opentotalqty": {
  27352. "description": "开仓总数量",
  27353. "type": "number"
  27354. },
  27355. "otherfrozenqty": {
  27356. "description": "持仓其他冻结数量(交割冻结)",
  27357. "type": "number"
  27358. },
  27359. "positionqty": {
  27360. "description": "期初持仓数量",
  27361. "type": "number"
  27362. },
  27363. "qtydecimalplace": {
  27364. "description": "成交量小数位",
  27365. "type": "integer"
  27366. },
  27367. "tnqty": {
  27368. "description": "T+N冻结总量",
  27369. "type": "number"
  27370. },
  27371. "tnusedqty": {
  27372. "description": "T+N使用量(可以使用T+N的冻结数量)",
  27373. "type": "number"
  27374. },
  27375. "trademode": {
  27376. "description": "交易模式",
  27377. "type": "integer"
  27378. },
  27379. "usedmargin": {
  27380. "description": "占用保证金[商品币种]",
  27381. "type": "number"
  27382. }
  27383. }
  27384. },
  27385. "quote.HistoryData": {
  27386. "type": "object",
  27387. "properties": {
  27388. "c": {
  27389. "description": "收盘价",
  27390. "type": "number"
  27391. },
  27392. "f": {
  27393. "description": "是否补充数据",
  27394. "type": "boolean"
  27395. },
  27396. "h": {
  27397. "description": "最高价",
  27398. "type": "number"
  27399. },
  27400. "hv": {
  27401. "description": "持仓量",
  27402. "type": "integer"
  27403. },
  27404. "l": {
  27405. "description": "最低价",
  27406. "type": "number"
  27407. },
  27408. "o": {
  27409. "description": "开盘价",
  27410. "type": "number"
  27411. },
  27412. "s": {
  27413. "description": "结算价,日线周期(包括)以上才有",
  27414. "type": "number"
  27415. },
  27416. "ts": {
  27417. "description": "时间",
  27418. "type": "string"
  27419. },
  27420. "tt": {
  27421. "description": "总金额",
  27422. "type": "number"
  27423. },
  27424. "tv": {
  27425. "description": "总量",
  27426. "type": "integer"
  27427. }
  27428. }
  27429. },
  27430. "quote.HistoryTikData": {
  27431. "type": "object",
  27432. "properties": {
  27433. "AV": {
  27434. "description": "卖量",
  27435. "type": "integer"
  27436. },
  27437. "Ask": {
  27438. "description": "卖价",
  27439. "type": "number"
  27440. },
  27441. "BV": {
  27442. "description": "买量",
  27443. "type": "integer"
  27444. },
  27445. "Bid": {
  27446. "description": "买价",
  27447. "type": "number"
  27448. },
  27449. "HI": {
  27450. "description": "单笔持仓",
  27451. "type": "integer"
  27452. },
  27453. "HV": {
  27454. "description": "持仓量",
  27455. "type": "integer"
  27456. },
  27457. "PE": {
  27458. "description": "现价",
  27459. "type": "number"
  27460. },
  27461. "TDR": {
  27462. "description": "交易方向,0:买 1:卖",
  27463. "type": "integer"
  27464. },
  27465. "TK": {
  27466. "description": "交易类型",
  27467. "type": "integer"
  27468. },
  27469. "TS": {
  27470. "description": "行情时间文本",
  27471. "type": "string"
  27472. },
  27473. "TT": {
  27474. "description": "现金额",
  27475. "type": "number"
  27476. },
  27477. "Vol": {
  27478. "description": "现量",
  27479. "type": "integer"
  27480. }
  27481. }
  27482. },
  27483. "quote.QueryQuoteDayRsp": {
  27484. "type": "object",
  27485. "properties": {
  27486. "ask": {
  27487. "description": "卖1",
  27488. "type": "number"
  27489. },
  27490. "ask10": {
  27491. "description": "卖10",
  27492. "type": "number"
  27493. },
  27494. "ask2": {
  27495. "description": "卖2",
  27496. "type": "number"
  27497. },
  27498. "ask3": {
  27499. "description": "卖3",
  27500. "type": "number"
  27501. },
  27502. "ask4": {
  27503. "description": "卖4",
  27504. "type": "number"
  27505. },
  27506. "ask5": {
  27507. "description": "卖5",
  27508. "type": "number"
  27509. },
  27510. "ask6": {
  27511. "description": "卖6",
  27512. "type": "number"
  27513. },
  27514. "ask7": {
  27515. "description": "卖7",
  27516. "type": "number"
  27517. },
  27518. "ask8": {
  27519. "description": "卖8",
  27520. "type": "number"
  27521. },
  27522. "ask9": {
  27523. "description": "卖9",
  27524. "type": "number"
  27525. },
  27526. "askorderid": {
  27527. "description": "卖单号1",
  27528. "type": "integer"
  27529. },
  27530. "askorderid2": {
  27531. "description": "卖单号2",
  27532. "type": "integer"
  27533. },
  27534. "askorderid3": {
  27535. "description": "卖单号3",
  27536. "type": "integer"
  27537. },
  27538. "askorderid4": {
  27539. "description": "卖单号4",
  27540. "type": "integer"
  27541. },
  27542. "askorderid5": {
  27543. "description": "卖单号5",
  27544. "type": "integer"
  27545. },
  27546. "askordervolume": {
  27547. "description": "卖单量1",
  27548. "type": "integer"
  27549. },
  27550. "askordervolume10": {
  27551. "description": "卖单量10",
  27552. "type": "integer"
  27553. },
  27554. "askordervolume2": {
  27555. "description": "卖单量2",
  27556. "type": "integer"
  27557. },
  27558. "askordervolume3": {
  27559. "description": "卖单量3",
  27560. "type": "integer"
  27561. },
  27562. "askordervolume4": {
  27563. "description": "卖单量4",
  27564. "type": "integer"
  27565. },
  27566. "askordervolume5": {
  27567. "description": "卖单量5",
  27568. "type": "integer"
  27569. },
  27570. "askordervolume6": {
  27571. "description": "卖单量6",
  27572. "type": "integer"
  27573. },
  27574. "askordervolume7": {
  27575. "description": "卖单量7",
  27576. "type": "integer"
  27577. },
  27578. "askordervolume8": {
  27579. "description": "卖单量8",
  27580. "type": "integer"
  27581. },
  27582. "askordervolume9": {
  27583. "description": "卖单量9",
  27584. "type": "integer"
  27585. },
  27586. "askqueueinfo": {
  27587. "description": "大利市卖港股用",
  27588. "type": "string"
  27589. },
  27590. "askvolume": {
  27591. "description": "卖量1",
  27592. "type": "integer"
  27593. },
  27594. "askvolume10": {
  27595. "description": "卖量10",
  27596. "type": "integer"
  27597. },
  27598. "askvolume2": {
  27599. "description": "卖量2",
  27600. "type": "integer"
  27601. },
  27602. "askvolume3": {
  27603. "description": "卖量3",
  27604. "type": "integer"
  27605. },
  27606. "askvolume4": {
  27607. "description": "卖量4",
  27608. "type": "integer"
  27609. },
  27610. "askvolume5": {
  27611. "description": "卖量5",
  27612. "type": "integer"
  27613. },
  27614. "askvolume6": {
  27615. "description": "卖量6",
  27616. "type": "integer"
  27617. },
  27618. "askvolume7": {
  27619. "description": "卖量7",
  27620. "type": "integer"
  27621. },
  27622. "askvolume8": {
  27623. "description": "卖量8",
  27624. "type": "integer"
  27625. },
  27626. "askvolume9": {
  27627. "description": "卖量9",
  27628. "type": "integer"
  27629. },
  27630. "averageprice": {
  27631. "description": "均价",
  27632. "type": "number"
  27633. },
  27634. "bid": {
  27635. "description": "买1",
  27636. "type": "number"
  27637. },
  27638. "bid10": {
  27639. "description": "买10",
  27640. "type": "number"
  27641. },
  27642. "bid2": {
  27643. "description": "买2",
  27644. "type": "number"
  27645. },
  27646. "bid3": {
  27647. "description": "买3",
  27648. "type": "number"
  27649. },
  27650. "bid4": {
  27651. "description": "买4",
  27652. "type": "number"
  27653. },
  27654. "bid5": {
  27655. "description": "买5",
  27656. "type": "number"
  27657. },
  27658. "bid6": {
  27659. "description": "买6",
  27660. "type": "number"
  27661. },
  27662. "bid7": {
  27663. "description": "买7",
  27664. "type": "number"
  27665. },
  27666. "bid8": {
  27667. "description": "买8",
  27668. "type": "number"
  27669. },
  27670. "bid9": {
  27671. "description": "买9",
  27672. "type": "number"
  27673. },
  27674. "bidorderid": {
  27675. "description": "买单号1",
  27676. "type": "integer"
  27677. },
  27678. "bidorderid2": {
  27679. "description": "买单号2",
  27680. "type": "integer"
  27681. },
  27682. "bidorderid3": {
  27683. "description": "买单号3",
  27684. "type": "integer"
  27685. },
  27686. "bidorderid4": {
  27687. "description": "买单号4",
  27688. "type": "integer"
  27689. },
  27690. "bidorderid5": {
  27691. "description": "买单号5",
  27692. "type": "integer"
  27693. },
  27694. "bidordervolume": {
  27695. "description": "买单量1",
  27696. "type": "integer"
  27697. },
  27698. "bidordervolume10": {
  27699. "description": "买单量10",
  27700. "type": "integer"
  27701. },
  27702. "bidordervolume2": {
  27703. "description": "买单量2",
  27704. "type": "integer"
  27705. },
  27706. "bidordervolume3": {
  27707. "description": "买单量3",
  27708. "type": "integer"
  27709. },
  27710. "bidordervolume4": {
  27711. "description": "买单量4",
  27712. "type": "integer"
  27713. },
  27714. "bidordervolume5": {
  27715. "description": "买单量5",
  27716. "type": "integer"
  27717. },
  27718. "bidordervolume6": {
  27719. "description": "买单量6",
  27720. "type": "integer"
  27721. },
  27722. "bidordervolume7": {
  27723. "description": "买单量7",
  27724. "type": "integer"
  27725. },
  27726. "bidordervolume8": {
  27727. "description": "买单量8",
  27728. "type": "integer"
  27729. },
  27730. "bidordervolume9": {
  27731. "description": "买单量9",
  27732. "type": "integer"
  27733. },
  27734. "bidqueueinfo": {
  27735. "description": "大利市买港股用",
  27736. "type": "string"
  27737. },
  27738. "bidvolume": {
  27739. "description": "买量1",
  27740. "type": "integer"
  27741. },
  27742. "bidvolume10": {
  27743. "description": "买量10",
  27744. "type": "integer"
  27745. },
  27746. "bidvolume2": {
  27747. "description": "买量2",
  27748. "type": "integer"
  27749. },
  27750. "bidvolume3": {
  27751. "description": "买量3",
  27752. "type": "integer"
  27753. },
  27754. "bidvolume4": {
  27755. "description": "买量4",
  27756. "type": "integer"
  27757. },
  27758. "bidvolume5": {
  27759. "description": "买量5",
  27760. "type": "integer"
  27761. },
  27762. "bidvolume6": {
  27763. "description": "买量6",
  27764. "type": "integer"
  27765. },
  27766. "bidvolume7": {
  27767. "description": "买量7",
  27768. "type": "integer"
  27769. },
  27770. "bidvolume8": {
  27771. "description": "买量8",
  27772. "type": "integer"
  27773. },
  27774. "bidvolume9": {
  27775. "description": "买量9",
  27776. "type": "integer"
  27777. },
  27778. "calloptionpremiums": {
  27779. "description": "认购期权1",
  27780. "type": "integer"
  27781. },
  27782. "calloptionpremiums2": {
  27783. "description": "认购期权2",
  27784. "type": "integer"
  27785. },
  27786. "calloptionpremiums3": {
  27787. "description": "认购期权3",
  27788. "type": "integer"
  27789. },
  27790. "calloptionpremiums4": {
  27791. "description": "认购期权4",
  27792. "type": "integer"
  27793. },
  27794. "calloptionpremiums5": {
  27795. "description": "认购期权5",
  27796. "type": "integer"
  27797. },
  27798. "cleartime": {
  27799. "description": "清盘时间",
  27800. "type": "integer"
  27801. },
  27802. "exchangecode": {
  27803. "description": "交易所代码",
  27804. "type": "integer"
  27805. },
  27806. "exchangedate": {
  27807. "description": "交易日",
  27808. "type": "integer"
  27809. },
  27810. "goodscode": {
  27811. "description": "商品代码",
  27812. "type": "string"
  27813. },
  27814. "grepmarketprice": {
  27815. "description": "暗盘价 港股专用",
  27816. "type": "number"
  27817. },
  27818. "highest": {
  27819. "description": "最高价",
  27820. "type": "number"
  27821. },
  27822. "holdincrement": {
  27823. "description": "单笔持仓",
  27824. "type": "integer"
  27825. },
  27826. "holdvolume": {
  27827. "description": "持仓",
  27828. "type": "integer"
  27829. },
  27830. "iep": {
  27831. "description": "平衡价 港股专用",
  27832. "type": "number"
  27833. },
  27834. "iev": {
  27835. "description": "平衡量 港股专用",
  27836. "type": "number"
  27837. },
  27838. "inventory": {
  27839. "description": "库存",
  27840. "type": "integer"
  27841. },
  27842. "iscleared": {
  27843. "description": "是否清盘标志",
  27844. "type": "integer"
  27845. },
  27846. "issettled": {
  27847. "description": "是否结算标志",
  27848. "type": "integer"
  27849. },
  27850. "last": {
  27851. "description": "最新价",
  27852. "type": "number"
  27853. },
  27854. "lastlot": {
  27855. "description": "最新成交手数",
  27856. "type": "integer"
  27857. },
  27858. "lasttime": {
  27859. "description": "行情时间(只有现价变化行情时间才变化)",
  27860. "type": "string"
  27861. },
  27862. "lastturnover": {
  27863. "description": "最新成交金额",
  27864. "type": "number"
  27865. },
  27866. "lastvolume": {
  27867. "description": "最新成交量",
  27868. "type": "integer"
  27869. },
  27870. "limitdown": {
  27871. "description": "跌停价",
  27872. "type": "number"
  27873. },
  27874. "limitup": {
  27875. "description": "涨停价",
  27876. "type": "number"
  27877. },
  27878. "lowest": {
  27879. "description": "最低价",
  27880. "type": "number"
  27881. },
  27882. "nontotalholdervolume": {
  27883. "description": "非交易持仓量",
  27884. "type": "integer"
  27885. },
  27886. "nontotallot": {
  27887. "description": "非交易总手数",
  27888. "type": "integer"
  27889. },
  27890. "nontotalturnover": {
  27891. "description": "非交易总金额",
  27892. "type": "integer"
  27893. },
  27894. "nontotalvolume": {
  27895. "description": "非交易总量",
  27896. "type": "integer"
  27897. },
  27898. "opened": {
  27899. "description": "开盘价",
  27900. "type": "number"
  27901. },
  27902. "opentime": {
  27903. "description": "开盘时间",
  27904. "type": "string"
  27905. },
  27906. "orderid": {
  27907. "description": "序号",
  27908. "type": "integer"
  27909. },
  27910. "preclose": {
  27911. "description": "昨收",
  27912. "type": "number"
  27913. },
  27914. "preholdvolume": {
  27915. "description": "昨持仓",
  27916. "type": "integer"
  27917. },
  27918. "presettle": {
  27919. "description": "昨结价",
  27920. "type": "number"
  27921. },
  27922. "publictradetype": {
  27923. "description": "公共交易标志类型 港股专用",
  27924. "type": "string"
  27925. },
  27926. "putoptionpremiums": {
  27927. "description": "认沽期权1",
  27928. "type": "integer"
  27929. },
  27930. "putoptionpremiums2": {
  27931. "description": "认沽期权2",
  27932. "type": "integer"
  27933. },
  27934. "putoptionpremiums3": {
  27935. "description": "认沽期权3",
  27936. "type": "integer"
  27937. },
  27938. "putoptionpremiums4": {
  27939. "description": "认沽期权4",
  27940. "type": "integer"
  27941. },
  27942. "putoptionpremiums5": {
  27943. "description": "认沽期权5",
  27944. "type": "integer"
  27945. },
  27946. "settle": {
  27947. "description": "结算价",
  27948. "type": "number"
  27949. },
  27950. "strikeprice": {
  27951. "description": "发行价",
  27952. "type": "number"
  27953. },
  27954. "totalaskvolume": {
  27955. "description": "内盘",
  27956. "type": "integer"
  27957. },
  27958. "totalbidvolume": {
  27959. "description": "外盘",
  27960. "type": "integer"
  27961. },
  27962. "totallot": {
  27963. "description": "总手数",
  27964. "type": "integer"
  27965. },
  27966. "totalturnover": {
  27967. "description": "总金额",
  27968. "type": "number"
  27969. },
  27970. "totalvolume": {
  27971. "description": "总量",
  27972. "type": "integer"
  27973. },
  27974. "utclasttime": {
  27975. "description": "utc的行情时间",
  27976. "type": "string"
  27977. }
  27978. }
  27979. },
  27980. "quote.QueryTSDataRsp": {
  27981. "type": "object",
  27982. "properties": {
  27983. "Count": {
  27984. "description": "交易日应有数据个数",
  27985. "type": "integer"
  27986. },
  27987. "decimalPlace": {
  27988. "description": "小数位",
  27989. "type": "integer"
  27990. },
  27991. "endTime": {
  27992. "description": "结束时间",
  27993. "type": "string"
  27994. },
  27995. "goodsCode": {
  27996. "description": "商品代码",
  27997. "type": "string"
  27998. },
  27999. "historyDatas": {
  28000. "description": "历史数据",
  28001. "type": "array",
  28002. "items": {
  28003. "$ref": "#/definitions/quote.HistoryData"
  28004. }
  28005. },
  28006. "outGoodsCode": {
  28007. "description": "外部商品代码",
  28008. "type": "string"
  28009. },
  28010. "preSettle": {
  28011. "description": "昨结价",
  28012. "type": "number"
  28013. },
  28014. "runSteps": {
  28015. "description": "交易日开休市计划",
  28016. "type": "array",
  28017. "items": {
  28018. "$ref": "#/definitions/quote.TSDataRunStep"
  28019. }
  28020. },
  28021. "startTime": {
  28022. "description": "开始时间",
  28023. "type": "string"
  28024. },
  28025. "tradeDate": {
  28026. "description": "交易日",
  28027. "type": "string"
  28028. }
  28029. }
  28030. },
  28031. "quote.TSDataRunStep": {
  28032. "type": "object",
  28033. "properties": {
  28034. "end": {
  28035. "description": "真实结束时间",
  28036. "type": "string"
  28037. },
  28038. "endflag": {
  28039. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  28040. "type": "integer"
  28041. },
  28042. "endtime": {
  28043. "description": "结束时间(HH:mm)",
  28044. "type": "string"
  28045. },
  28046. "endweekday": {
  28047. "description": "结束周几",
  28048. "type": "integer"
  28049. },
  28050. "groupid": {
  28051. "description": "分组ID",
  28052. "type": "integer"
  28053. },
  28054. "runstep": {
  28055. "description": "运行阶段 - 2:连续交易",
  28056. "type": "integer"
  28057. },
  28058. "sectionid": {
  28059. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  28060. "type": "integer"
  28061. },
  28062. "start": {
  28063. "description": "真实开始时间",
  28064. "type": "string"
  28065. },
  28066. "startflag": {
  28067. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  28068. "type": "integer"
  28069. },
  28070. "starttime": {
  28071. "description": "起始时间(HH:mm)",
  28072. "type": "string"
  28073. },
  28074. "startweekday": {
  28075. "description": "起始周几",
  28076. "type": "integer"
  28077. },
  28078. "tradeweekday": {
  28079. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  28080. "type": "integer"
  28081. }
  28082. }
  28083. },
  28084. "szdz.QueryConvertLogRsp": {
  28085. "type": "object",
  28086. "required": [
  28087. "logid"
  28088. ],
  28089. "properties": {
  28090. "accountid": {
  28091. "description": "资金账户ID",
  28092. "type": "integer"
  28093. },
  28094. "clientticket": {
  28095. "description": "客户端流水号",
  28096. "type": "string"
  28097. },
  28098. "converttype": {
  28099. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  28100. "type": "integer"
  28101. },
  28102. "createtime": {
  28103. "description": "记账时间",
  28104. "type": "string"
  28105. },
  28106. "daymaxvalue": {
  28107. "description": "配置当日最大转入限制",
  28108. "type": "number"
  28109. },
  28110. "daymaxvalue2": {
  28111. "description": "配置当日最大转入限制(转入)",
  28112. "type": "number"
  28113. },
  28114. "goodscode": {
  28115. "description": "商品代码",
  28116. "type": "string"
  28117. },
  28118. "goodsname": {
  28119. "description": "商品名称",
  28120. "type": "string"
  28121. },
  28122. "handlestatus": {
  28123. "description": "处理状态",
  28124. "type": "integer"
  28125. },
  28126. "innergoodsid": {
  28127. "description": "内部商品ID",
  28128. "type": "integer"
  28129. },
  28130. "inratio": {
  28131. "description": "配置转入比值",
  28132. "type": "integer"
  28133. },
  28134. "invalue": {
  28135. "description": "目标值",
  28136. "type": "number"
  28137. },
  28138. "logid": {
  28139. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28140. "type": "integer"
  28141. },
  28142. "mobile": {
  28143. "description": "手机号码(加密存储)",
  28144. "type": "string"
  28145. },
  28146. "outergoodscode": {
  28147. "description": "外部商品代码[JD\\PD]",
  28148. "type": "string"
  28149. },
  28150. "outratio": {
  28151. "description": "配置转出比值",
  28152. "type": "integer"
  28153. },
  28154. "outvalue": {
  28155. "description": "源值",
  28156. "type": "number"
  28157. },
  28158. "pddecimalplace": {
  28159. "description": "PD小数位",
  28160. "type": "integer"
  28161. },
  28162. "qty": {
  28163. "description": "数量",
  28164. "type": "string"
  28165. },
  28166. "remark": {
  28167. "description": "备注",
  28168. "type": "string"
  28169. },
  28170. "sessionid": {
  28171. "description": "会话ID",
  28172. "type": "integer"
  28173. },
  28174. "timemaxvalue": {
  28175. "description": "配置单次最大转入限制",
  28176. "type": "number"
  28177. },
  28178. "timemaxvalue2": {
  28179. "description": "配置单次最大转入限制(转入)",
  28180. "type": "number"
  28181. },
  28182. "timeminvalue": {
  28183. "description": "配置单次最小数量限制",
  28184. "type": "number"
  28185. },
  28186. "timeminvalue2": {
  28187. "description": "配置单次最小数量限制(转入)",
  28188. "type": "number"
  28189. },
  28190. "tradedate": {
  28191. "description": "交易日(yyyyMMdd)",
  28192. "type": "string"
  28193. },
  28194. "userid": {
  28195. "description": "用户ID",
  28196. "type": "integer"
  28197. }
  28198. }
  28199. },
  28200. "szdz.QueryGoodsPickupRsp": {
  28201. "type": "object",
  28202. "required": [
  28203. "takeorderid"
  28204. ],
  28205. "properties": {
  28206. "accountid": {
  28207. "description": "账户ID",
  28208. "type": "integer"
  28209. },
  28210. "address": {
  28211. "description": "提货人详细地址",
  28212. "type": "string"
  28213. },
  28214. "auditer": {
  28215. "description": "审核人",
  28216. "type": "integer"
  28217. },
  28218. "audittime": {
  28219. "description": "审核时间",
  28220. "type": "string"
  28221. },
  28222. "cardnum": {
  28223. "description": "提货人证件号码",
  28224. "type": "string"
  28225. },
  28226. "cardtypeid": {
  28227. "description": "提货人证件类型",
  28228. "type": "integer"
  28229. },
  28230. "checkremark": {
  28231. "description": "审核备注",
  28232. "type": "string"
  28233. },
  28234. "goodscode": {
  28235. "description": "商品代码",
  28236. "type": "string"
  28237. },
  28238. "goodsid": {
  28239. "description": "商品ID",
  28240. "type": "integer"
  28241. },
  28242. "goodsname": {
  28243. "description": "商品名称",
  28244. "type": "string"
  28245. },
  28246. "handlestatus": {
  28247. "description": "处理状态",
  28248. "type": "integer"
  28249. },
  28250. "marketid": {
  28251. "description": "市场ID",
  28252. "type": "integer"
  28253. },
  28254. "phonenum": {
  28255. "description": "提货人联系方式",
  28256. "type": "string"
  28257. },
  28258. "qty": {
  28259. "description": "提货数量",
  28260. "type": "number"
  28261. },
  28262. "recivername": {
  28263. "description": "提货人姓名",
  28264. "type": "string"
  28265. },
  28266. "reqtime": {
  28267. "description": "更新时间",
  28268. "type": "string"
  28269. },
  28270. "takemode": {
  28271. "description": "提货方式 - 2:自提 3:配送",
  28272. "type": "integer"
  28273. },
  28274. "takeorderid": {
  28275. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28276. "type": "string"
  28277. },
  28278. "takeorderstatus": {
  28279. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  28280. "type": "integer"
  28281. },
  28282. "takeremark": {
  28283. "description": "提货备注",
  28284. "type": "string"
  28285. },
  28286. "tradedate": {
  28287. "description": "交易日(yyyyMMdd)",
  28288. "type": "string"
  28289. },
  28290. "userid": {
  28291. "description": "用户ID",
  28292. "type": "integer"
  28293. }
  28294. }
  28295. },
  28296. "szdz.QueryRecieptOrderRsp": {
  28297. "type": "object",
  28298. "required": [
  28299. "ordertime"
  28300. ],
  28301. "properties": {
  28302. "accountName": {
  28303. "description": "所属账号名称(已脱敏)",
  28304. "type": "string"
  28305. },
  28306. "accountid": {
  28307. "description": "资金账号",
  28308. "type": "integer"
  28309. },
  28310. "buyorsell": {
  28311. "description": "方向 - 0:买 1:卖",
  28312. "type": "integer"
  28313. },
  28314. "enableqty": {
  28315. "description": "可摘数量",
  28316. "type": "integer"
  28317. },
  28318. "goodscode": {
  28319. "description": "商品代码",
  28320. "type": "string"
  28321. },
  28322. "goodsid": {
  28323. "description": "商品ID",
  28324. "type": "integer"
  28325. },
  28326. "goodsname": {
  28327. "description": "商品名称",
  28328. "type": "string"
  28329. },
  28330. "orderid": {
  28331. "description": "委托单号",
  28332. "type": "string"
  28333. },
  28334. "orderprice": {
  28335. "description": "委托价格",
  28336. "type": "number"
  28337. },
  28338. "ordertime": {
  28339. "description": "委托时间",
  28340. "type": "string"
  28341. },
  28342. "tradedate": {
  28343. "description": "交易日(yyyyMMdd)",
  28344. "type": "string"
  28345. }
  28346. }
  28347. },
  28348. "szdz.QuerySZDZTradePositionRsp": {
  28349. "type": "object",
  28350. "properties": {
  28351. "accountid": {
  28352. "description": "账号Id",
  28353. "type": "integer"
  28354. },
  28355. "agreeunit": {
  28356. "description": "合约单位",
  28357. "type": "number"
  28358. },
  28359. "averageprice": {
  28360. "description": "持仓均价",
  28361. "type": "number"
  28362. },
  28363. "buyorsell": {
  28364. "description": "方向 - 0:买 1:卖",
  28365. "type": "integer"
  28366. },
  28367. "closetotalqty": {
  28368. "description": "平仓总数量",
  28369. "type": "integer"
  28370. },
  28371. "curholderamount": {
  28372. "description": "当前持仓总金额",
  28373. "type": "number"
  28374. },
  28375. "curpositionqty": {
  28376. "description": "当前持仓总数量",
  28377. "type": "integer"
  28378. },
  28379. "currencyid": {
  28380. "description": "报价货币ID",
  28381. "type": "integer"
  28382. },
  28383. "curtdposition": {
  28384. "description": "期末今日头寸",
  28385. "type": "integer"
  28386. },
  28387. "decimalplace": {
  28388. "description": "报价小数位",
  28389. "type": "integer"
  28390. },
  28391. "enableqty": {
  28392. "description": "可用量",
  28393. "type": "integer"
  28394. },
  28395. "fretdposition": {
  28396. "description": "冻结今日头寸",
  28397. "type": "integer"
  28398. },
  28399. "frozenqty": {
  28400. "description": "持仓冻结数量",
  28401. "type": "integer"
  28402. },
  28403. "goodscode": {
  28404. "description": "商品代码(内部)",
  28405. "type": "string"
  28406. },
  28407. "goodsid": {
  28408. "description": "商品Id",
  28409. "type": "integer"
  28410. },
  28411. "goodsname": {
  28412. "description": "商品名称",
  28413. "type": "string"
  28414. },
  28415. "goodunit": {
  28416. "description": "报价单位",
  28417. "type": "string"
  28418. },
  28419. "goodunitid": {
  28420. "description": "报价单位ID",
  28421. "type": "integer"
  28422. },
  28423. "holderamount": {
  28424. "description": "期初持仓总金额",
  28425. "type": "number"
  28426. },
  28427. "marketid": {
  28428. "description": "市场ID",
  28429. "type": "integer"
  28430. },
  28431. "openreqqty": {
  28432. "description": "开仓申请数量",
  28433. "type": "integer"
  28434. },
  28435. "opentotalqty": {
  28436. "description": "开仓总数量",
  28437. "type": "integer"
  28438. },
  28439. "otherfrozenqty": {
  28440. "description": "持仓其他冻结数量(交割冻结)",
  28441. "type": "integer"
  28442. },
  28443. "positionqty": {
  28444. "description": "期初持仓数量",
  28445. "type": "integer"
  28446. },
  28447. "szdz3freezqty": {
  28448. "description": "尚志大宗转换冻结总数量",
  28449. "type": "integer"
  28450. },
  28451. "tnqty": {
  28452. "description": "T+N冻结总量",
  28453. "type": "integer"
  28454. },
  28455. "tnusedqty": {
  28456. "description": "T+N使用量",
  28457. "type": "integer"
  28458. },
  28459. "trademode": {
  28460. "description": "交易模式",
  28461. "type": "integer"
  28462. },
  28463. "usedmargin": {
  28464. "description": "占用保证金",
  28465. "type": "number"
  28466. }
  28467. }
  28468. },
  28469. "taaccount.QueryAmountLogRsp": {
  28470. "type": "object",
  28471. "required": [
  28472. "accountid",
  28473. "amount",
  28474. "amountadjusttype",
  28475. "autoid",
  28476. "balance",
  28477. "createtime",
  28478. "currentbalance",
  28479. "operatetype"
  28480. ],
  28481. "properties": {
  28482. "OPERATETYPENAME": {
  28483. "description": "资金操作类型名称",
  28484. "type": "string"
  28485. },
  28486. "accountid": {
  28487. "description": "资金账户ID",
  28488. "type": "integer"
  28489. },
  28490. "agoodscode": {
  28491. "description": "竞拍商品代码",
  28492. "type": "string"
  28493. },
  28494. "agoodsname": {
  28495. "description": "竞拍商品名称",
  28496. "type": "string"
  28497. },
  28498. "amount": {
  28499. "description": "资金金额",
  28500. "type": "number"
  28501. },
  28502. "amountadjusttype": {
  28503. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  28504. "type": "integer"
  28505. },
  28506. "autoid": {
  28507. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  28508. "type": "integer"
  28509. },
  28510. "balance": {
  28511. "description": "期初余额",
  28512. "type": "number"
  28513. },
  28514. "businesscode": {
  28515. "description": "业务编号",
  28516. "type": "integer"
  28517. },
  28518. "createtime": {
  28519. "description": "发生时间",
  28520. "type": "string"
  28521. },
  28522. "currencyid": {
  28523. "description": "币种ID",
  28524. "type": "integer"
  28525. },
  28526. "currentbalance": {
  28527. "description": "期末余额(变动后金额)",
  28528. "type": "number"
  28529. },
  28530. "dgoodscode": {
  28531. "description": "交割商品代码",
  28532. "type": "string"
  28533. },
  28534. "dgoodsname": {
  28535. "description": "交割商品名称",
  28536. "type": "string"
  28537. },
  28538. "goodscode": {
  28539. "description": "商品代码",
  28540. "type": "string"
  28541. },
  28542. "goodsid": {
  28543. "description": "商品ID",
  28544. "type": "integer"
  28545. },
  28546. "goodsname": {
  28547. "description": "商品名称",
  28548. "type": "string"
  28549. },
  28550. "marketid": {
  28551. "description": "市场ID",
  28552. "type": "integer"
  28553. },
  28554. "marketname": {
  28555. "description": "市场名称",
  28556. "type": "string"
  28557. },
  28558. "moneyticket": {
  28559. "description": "资金流水号:银行端流水号",
  28560. "type": "integer"
  28561. },
  28562. "operatetype": {
  28563. "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:营销收款",
  28564. "type": "integer"
  28565. },
  28566. "relationorderid": {
  28567. "description": "关联单号",
  28568. "type": "string"
  28569. },
  28570. "remark": {
  28571. "description": "备注",
  28572. "type": "string"
  28573. },
  28574. "trademode": {
  28575. "description": "交易模式",
  28576. "type": "integer"
  28577. }
  28578. }
  28579. },
  28580. "taaccount.QueryHisAmountLogRsp": {
  28581. "type": "object",
  28582. "required": [
  28583. "accountid",
  28584. "amount",
  28585. "amountadjusttype",
  28586. "autoid",
  28587. "balance",
  28588. "createtime",
  28589. "currentbalance",
  28590. "histradedate",
  28591. "operatetype"
  28592. ],
  28593. "properties": {
  28594. "OPERATETYPENAME": {
  28595. "description": "资金操作类型名称",
  28596. "type": "string"
  28597. },
  28598. "accountid": {
  28599. "description": "资金账户ID",
  28600. "type": "integer"
  28601. },
  28602. "agoodscode": {
  28603. "description": "竞拍商品代码",
  28604. "type": "string"
  28605. },
  28606. "agoodsname": {
  28607. "description": "竞拍商品名称",
  28608. "type": "string"
  28609. },
  28610. "amount": {
  28611. "description": "资金金额",
  28612. "type": "number"
  28613. },
  28614. "amountadjusttype": {
  28615. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  28616. "type": "integer"
  28617. },
  28618. "autoid": {
  28619. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  28620. "type": "integer"
  28621. },
  28622. "balance": {
  28623. "description": "期初余额",
  28624. "type": "number"
  28625. },
  28626. "businesscode": {
  28627. "description": "业务编号",
  28628. "type": "integer"
  28629. },
  28630. "createtime": {
  28631. "description": "发生时间",
  28632. "type": "string"
  28633. },
  28634. "currencyid": {
  28635. "description": "币种ID",
  28636. "type": "integer"
  28637. },
  28638. "currentbalance": {
  28639. "description": "期末余额(变动后金额)",
  28640. "type": "number"
  28641. },
  28642. "dgoodscode": {
  28643. "description": "交割商品代码",
  28644. "type": "string"
  28645. },
  28646. "dgoodsname": {
  28647. "description": "交割商品名称",
  28648. "type": "string"
  28649. },
  28650. "goodscode": {
  28651. "description": "商品代码",
  28652. "type": "string"
  28653. },
  28654. "goodsid": {
  28655. "description": "商品ID",
  28656. "type": "integer"
  28657. },
  28658. "goodsname": {
  28659. "description": "商品名称",
  28660. "type": "string"
  28661. },
  28662. "histradedate": {
  28663. "description": "历史交易日",
  28664. "type": "string"
  28665. },
  28666. "isvaliddata": {
  28667. "description": "是否有效 - 0:无效 1:有效",
  28668. "type": "integer"
  28669. },
  28670. "marketid": {
  28671. "description": "市场ID",
  28672. "type": "integer"
  28673. },
  28674. "marketname": {
  28675. "description": "市场名称",
  28676. "type": "string"
  28677. },
  28678. "moneyticket": {
  28679. "description": "资金流水号:银行端流水号",
  28680. "type": "integer"
  28681. },
  28682. "operatetype": {
  28683. "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:营销收款",
  28684. "type": "integer"
  28685. },
  28686. "relationorderid": {
  28687. "description": "关联单号",
  28688. "type": "string"
  28689. },
  28690. "remark": {
  28691. "description": "备注",
  28692. "type": "string"
  28693. },
  28694. "trademode": {
  28695. "description": "交易模式",
  28696. "type": "integer"
  28697. }
  28698. }
  28699. },
  28700. "trade.QueryRecieptOrderRsp": {
  28701. "type": "object",
  28702. "required": [
  28703. "ordertime"
  28704. ],
  28705. "properties": {
  28706. "accountName": {
  28707. "description": "所属账号名称(已脱敏)",
  28708. "type": "string"
  28709. },
  28710. "accountid": {
  28711. "description": "资金账号",
  28712. "type": "integer"
  28713. },
  28714. "buyorsell": {
  28715. "description": "方向 - 0:买 1:卖",
  28716. "type": "integer"
  28717. },
  28718. "enableqty": {
  28719. "description": "可摘数量",
  28720. "type": "integer"
  28721. },
  28722. "goodscode": {
  28723. "description": "商品代码",
  28724. "type": "string"
  28725. },
  28726. "goodsid": {
  28727. "description": "商品ID",
  28728. "type": "integer"
  28729. },
  28730. "goodsname": {
  28731. "description": "商品名称",
  28732. "type": "string"
  28733. },
  28734. "orderid": {
  28735. "description": "委托单号",
  28736. "type": "string"
  28737. },
  28738. "orderprice": {
  28739. "description": "委托价格",
  28740. "type": "number"
  28741. },
  28742. "ordertime": {
  28743. "description": "委托时间",
  28744. "type": "string"
  28745. },
  28746. "tradedate": {
  28747. "description": "交易日(yyyyMMdd)",
  28748. "type": "string"
  28749. }
  28750. }
  28751. },
  28752. "user.LoginQueryRsp": {
  28753. "type": "object",
  28754. "properties": {
  28755. "areaRoles": {
  28756. "description": "所属角色信息",
  28757. "type": "array",
  28758. "items": {
  28759. "$ref": "#/definitions/models.Arearole"
  28760. }
  28761. },
  28762. "externalExchanges": {
  28763. "description": "外部交易所",
  28764. "type": "array",
  28765. "items": {
  28766. "$ref": "#/definitions/models.Externalexchange"
  28767. }
  28768. },
  28769. "goodsgroups": {
  28770. "description": "商品组",
  28771. "type": "array",
  28772. "items": {
  28773. "$ref": "#/definitions/models.Goodsgroup"
  28774. }
  28775. },
  28776. "loginAccount": {
  28777. "description": "登录账号",
  28778. "type": "object",
  28779. "$ref": "#/definitions/models.Loginaccount"
  28780. },
  28781. "markets": {
  28782. "description": "市场",
  28783. "type": "array",
  28784. "items": {
  28785. "$ref": "#/definitions/models.Market"
  28786. }
  28787. },
  28788. "systemParams": {
  28789. "description": "系统参数",
  28790. "type": "array",
  28791. "items": {
  28792. "$ref": "#/definitions/models.Systemparam"
  28793. }
  28794. },
  28795. "userAccount": {
  28796. "description": "用户账号",
  28797. "type": "object",
  28798. "$ref": "#/definitions/models.Useraccount"
  28799. },
  28800. "userInfo": {
  28801. "description": "用户信息",
  28802. "type": "object",
  28803. "$ref": "#/definitions/models.Userinfo"
  28804. },
  28805. "username": {
  28806. "description": "用户姓名",
  28807. "type": "string"
  28808. }
  28809. }
  28810. }
  28811. },
  28812. "securityDefinitions": {
  28813. "ApiKeyAuth": {
  28814. "type": "apiKey",
  28815. "name": "Authorization",
  28816. "in": "header"
  28817. }
  28818. }
  28819. }`
  28820. type swaggerInfo struct {
  28821. Version string
  28822. Host string
  28823. BasePath string
  28824. Schemes []string
  28825. Title string
  28826. Description string
  28827. }
  28828. // SwaggerInfo holds exported Swagger Info so clients can modify it
  28829. var SwaggerInfo = swaggerInfo{
  28830. Version: "1.0",
  28831. Host: "",
  28832. BasePath: "/api",
  28833. Schemes: []string{},
  28834. Title: "MTP2.0 查询服务 API",
  28835. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  28836. }
  28837. type s struct{}
  28838. func (s *s) ReadDoc() string {
  28839. sInfo := SwaggerInfo
  28840. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  28841. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  28842. "marshal": func(v interface{}) string {
  28843. a, _ := json.Marshal(v)
  28844. return string(a)
  28845. },
  28846. }).Parse(doc)
  28847. if err != nil {
  28848. return doc
  28849. }
  28850. var tpl bytes.Buffer
  28851. if err := t.Execute(&tpl, sInfo); err != nil {
  28852. return doc
  28853. }
  28854. return tpl.String()
  28855. }
  28856. func init() {
  28857. swag.Register(swag.Name, &s{})
  28858. }